/******************************************/
/*  middleのヘッダー  */
/******************************************/

#coaching header.header {
    padding: 30px 40px 30px 30px;
}

#coaching header.header .left {
    width: 45%;
    margin: 0;
}

#coaching.middle header.header .left a {
    display: none;
    width: 100%;
}

#coaching header.header .left .logo img {
    width: 40%;
    max-width: 310px;
    aspect-ratio: 311/80;
}

#coaching header.header .right {
    width: 55%;
}


@media (max-width: 1024px) {
    #coaching header.header {
        padding: 20px 10px;
    }
}

@media (max-width: 768px) {
    #coaching.middle header.header .left a {
        display: block;

    }

    #coaching header.header {
        padding: 0 0 0 10px;

    }

    #coaching header.header .left .logo img {
        width: 55vw;
        max-width: 195px;
        aspect-ratio: 195/50;
    }
}



/******************************************/
/*  coachingのお問い合わせ  */
/******************************************/

#coaching.contact .lp_sec_middle {
    width: 100%;
    height: 430px;
    background: linear-gradient(0deg, rgba(112, 200, 255, 0.00) 0%, rgba(112, 200, 255, 0.40) 100%);
    padding: 113px 0;
    margin-bottom: 200px;
}

#coaching.contact .lp_sec_middle .inner {
    max-width: 1537px;
    width: 96%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#coaching.contact .lp_sec_contct .inner {
    max-width: 1200px;
    width: 96%;
    margin: 0 auto;
}

#coaching.contact .lp_sec_middle .inner h2 {
    font-size: clamp(20px, 3vw, 50px);
    color: #0C3388;
    font-weight: 600;
    width: 50%;
}

#coaching.contact .lp_sec_middle .inner figure {
    width: 50%;
    max-width: 752px;
}

#coaching.contact .lp_sec_middle .inner figure img {

    height: auto;
    max-width: 100%;
}

#coaching.contact .lp_sec_contct .inner .catch {
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.8;
    color: #333;
    margin-bottom: 60px;
    text-align: center;
}

#coaching.contact .coaching_contact {
    width: 100%;

}

#coaching.contact .coaching_contact dl>div {
    display: flex;

}

#coaching.contact .coaching_contact dl>div:first-of-type dt {
    border-top: 1px solid #0C3388;
}

#coaching.contact .coaching_contact dl>div:first-of-type dd {
    border-top: 1px solid #CCC;
}

#coaching.contact .coaching_contact dl>div>dt {
    width: 30%;
    font-weight: 600;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #0C3388;
    padding: 20px 10px;
    font-size: clamp(14px, 1.2vw, 18px);
}

#coaching.contact .coaching_contact dl>div>dt span {
    font-size: 12px;
    letter-spacing: 0.04em;
    font-weight: 600;
    line-height: 20px;
    width: 45px;
    text-align: center;
    display: block;
    border-radius: 30px;
}

#coaching.contact .coaching_contact dl>div>dt span.must {
    background: #DF223A;
    color: #fff;
}

#coaching.contact .coaching_contact dl>div>dt span.free {
    background: #F2F9FF;
    color: #333;
}

#coaching.contact .coaching_contact dl>div>dd {
    border-bottom: 1px solid #CCC;
    padding: 20px 10px;
    font-weight: 600;
    font-size: clamp(14px, 1.2vw, 18px);
    width: 70%;

}

#coaching.contact .coaching_contact dl>div>dd input[type=email],
#coaching.contact .coaching_contact dl>div>dd input[type=text],
#coaching.contact .coaching_contact dl>div>dd select {

    appearance: none;
    padding: 6px 10px;
    box-sizing: border-box;

    border: none;
    border: 1px solid #CCC;
    border-radius: 5px;
    background: #F8F8F8;
    max-width: 100%;
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(16px, 1.2vw, 18px);
}

#coaching.contact .coaching_contact dl>div>dd input[size='15'] {
    max-width: 254px;
}

#coaching.contact .coaching_contact dl>div>dd input[size='30'] {
    max-width: 500px;
}

#coaching.contact .coaching_contact dl>div>dd textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 6px 10px;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: clamp(16px, 1.2vw, 18px);
    border: none;
    border: 1px solid #CCC;
    border-radius: 5px;
    background: #F8F8F8;
    font-family: "Noto Sans JP", sans-serif;
}

#coaching.contact .coaching_contact dl>div>dd input[type='radio'] {
    padding-left: 30px;
    position: relative;
    border: none;
    font-family: "Noto Sans JP", sans-serif;
    margin: -2px 0 0 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

#coaching.contact .coaching_contact dl>div>dd input[type='radio']::before {
    content: '';
    display: block;
    position: absolute;
    background: #F8F8F8;
    border: 1px solid #CCC;
    width: 16px;
    height: 16px;
    margin: auto;
    inset: 0 0 auto 0;
    border-radius: 50%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

#coaching.contact .coaching_contact dl>div>dd input[type='radio']::after {
    content: '';
    display: block;
    position: absolute;
    width: 8px;
    height: 8px;
    opacity: 0;
    margin: auto;
    inset: 0 0 auto 0;
    border: 4px solid #0C3388;
    border-radius: 50%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    background: transparent;
}

#coaching.contact .coaching_contact dl>div>dd input[type='radio']:checked::after {
    opacity: 1;
}


#coaching.contact .coaching_contact .btn_area {
    margin: auto;
    position: relative;
    margin: 60px auto 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 30px;
}

#coaching.contact .coaching_contact .btn_area button.form_btn {
    border: none;
    cursor: pointer;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 6px;
    background: #DF223A;
    box-shadow: 0 0 12px 0 rgba(0, 58, 107, 0.40);
    font-family: "Noto Sans JP", sans-serif;
    padding: 34px 0;
    color: #fff;
    width: 90%;
    max-width: 540px;
    font-weight: 600;
    font-size: clamp(18px, 2vw, 26px);
    letter-spacing: 0.08em;
    position: relative;
}


#coaching.contact .coaching_contact .btn_area button.form_btn::after,
#coaching.contact .coaching_contact .btn_area button.form_btn::before {
    position: absolute;
    content: "";
    margin: auto;
    top: 0;
    bottom: 0;
    right: 40px;
}

#coaching.contact .coaching_contact .btn_area button.form_btn::before {
    background: #fff;
    width: 23px;
    height: 1px;
}

#coaching.contact .coaching_contact .btn_area button.form_btn::after {
    width: 15px;
    height: 15px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);

}

#coaching.contact .coaching_contact .btn_area button.form_btn.back {
    background: #0C3388;

}

#coaching.contact .coaching_contact .btn_area button.form_btn.back:before {
    right: inherit;
    left: 40px;
}

#coaching.contact .coaching_contact .btn_area button.form_btn.back:after {
    right: inherit;
    left: 40px;
    transform: rotate(-135deg);
}

#coaching.contact .coaching_contact .btn_area button.form_btn.back:hover {
    opacity: 0.7
}

#coaching.contact .coaching_contact .btn_area button:hover {
    background: #fe324e;
}

#coaching.contact .thanks_area {
    margin-bottom: 200px;
}

#coaching.contact .thanks_area p {
    font-size: clamp(14px, 1.2vw, 18px);
}

@media (max-width: 768px) {
    #coaching.contact .lp_sec_middle {
        height: 200px;
        margin-bottom: 0;
    }

    #coaching.contact .thanks_area {
        margin-bottom: 100px;
    }


    #coaching.contact .coaching_contact dl>div:first-of-type dd {
        border-top: none;
    }

    #coaching.contact .lp_sec_middle .inner {
        width: 92%;
    }

    #coaching.contact .coaching_contact dl>div {
        flex-direction: column;
    }

    #coaching.contact .coaching_contact dl>div>dt,
    #coaching.contact .coaching_contact dl>div>dd {
        width: auto;
        padding: 10px;
        box-sizing: content-box;
    }

    #coaching.contact .coaching_contact dl>div>dt {
        border-bottom: none;
    }

    #coaching.contact .coaching_contact dl>div>dd {
        border-bottom: 1px solid #0C3388;
    }

    #coaching.contact .coaching_contact dl>div>dd:has(input[type='radio']) {
        display: flex;
        flex-direction: column;
    }

    .mw_wp_form .horizontal-item+.horizontal-item {
        margin: 0;
    }

    #coaching.contact .coaching_contact dl>div>dd input[type=email],
    #coaching.contact .coaching_contact dl>div>dd input[type=text],
    #coaching.contact .coaching_contact dl>div>dd select {
        width: 100%;
    }

    #coaching.contact .coaching_contact .btn_area button.form_btn {
        padding: 17px 0;
    }
}