@charset "utf-8";

/* ここから全体 */

h3 {
    padding-top: initial;
}

/* ここからサブヘッダー */
.subheader_secondtext {
    font-size: 4.0rem;
}

.spanpadding {
    padding-left: 5px;
}

.telandmail {
    display: flex;
    justify-content: center;
    padding: 10px;
    gap: 5%;
}

.tel {
    /* background-color: aqua; */
    padding: 5px 20px; 
    width: 260px;
    height: 100px;
}

.tel p {
    font-weight: 700;
    color: white;
    text-align: center;
    text-shadow: 3px 3px 3px rgba(75, 75, 75, 0.7);
}

.telnumber {
    font-size: 2.4rem;
}

.tel_icon {
    width: 20px;
    height: auto;
    margin: 0 6px 11px 6px;
    filter: drop-shadow(3px 3px 3px rgba(75, 75, 75, 0.7));
}

.mail {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2px 20px; 
    width: 260px;
    height: 100px;
    padding: 5px 20px;
    transition: 0.5s;
}

.mail:hover {
    background-color: rgba(255, 251, 190, 0.8);
    box-shadow: 3px 3px 3px rgba(75, 75, 75, 0.7);
    transform: translate(-3px, -3px);
    transition: 0.5s;
}

.mail p {
    font-weight: 700;
    text-align: center;
    padding: 2px 0;
}

.bymail {
    font-size: 2.2rem;
}

.toform {
    font-size: 1.4rem;
}

.mail_icon {
    width: 20px;
    height: auto;
    margin: 0 3px 11px 3px;
}

@media screen and (max-width:768px) {
    .subheader {
        height: 400px;
    }

    .subheader_secondtext {
        font-size: 2.4rem;
    }

    .telandmail {
        display: block;
    }

    .telandmail div {
        margin: 0 auto;
    }

}

/* ここからご相談の流れ */

.paddingbox {
    padding: 20px 10%px 0 0;
}

.textbox {
    padding: 30px 30px;
}

.textcolor_blue {
    color: #8BACD7;
}

.smalltext {
    font-size: 1.2rem;
}

.narrowblack {
    width: 24px;
    height: auto;
    margin: 0 80px;
}

.nagare {
    display: flex;
    padding: 20px;
}

.maintopic {
    padding-bottom: 40px;
    border-bottom: 2px dotted #5C5C5C;
}

.number {
    background-color: #8BACD7;
    padding: 1px 10px 3px;
    color: white;
    margin-right: 8px;
    border-radius: 3px;
}

@media screen and (max-width:768px) {

    h2 {
        padding-top: 0;
        padding-bottom: 20px;
    }

    .icon {
        width: 75px;
        height: auto;
        margin: 5px;
    }

    .textbox {
    padding: 0 10px;
    }

    .textbox p {
        font-size: 1.2rem;
    }

    .narrowblack {
    width: 24px;
    height: auto;
    margin: 5px 50px;
}
}

/* ここから問い合わせフォーム */
.mailform {
    width: 100%;
    height: 2500px;
    margin-top: 80px;
}

@media screen and (max-width:768px) {

    .formtopic {
        padding-top: 5px;
    }
}

