@charset "UTF-8";
/* 共通設定 ---------------------------------- */
section{
    scroll-margin-top: 170px;
}

/* ボタン */
.btn{
    display: block;
    width: 100%;
    height: 50px;
    background-color: #154783;
    border-radius: 3px;
    border: 1px solid #154783;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.4s ease;
}
.btn:hover{
    background-color: #fff;
    color: #154783;
}

/* page-title ------------------------------ */
.contact #page-title::after{
    background-image: url(../img/contact/title.webp);
}

/* main-wrap ------------------------------- */
.main-wrap{
    width: 100%;
    display: flex;
    gap: 3%;
    padding: 0 5%;
    margin-bottom: 70px;
}

/* フォームエリア */
.main-wrap .card-wrap{
    width: 72%;
    padding: 45px 5%;
}
.main-wrap .card-wrap > h2{
    margin-bottom: 40px;
}

/* フォーム */
.Form{
    width: 100%;
    max-width: 665px;
    margin: 0 auto 15px auto;
}

.Form .Form-Item{
    width: 100%;
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.Form-Item:first-of-type,
.Form-Item:nth-of-type(7){
    flex-direction: column;
}

/* 必須 */
.Form-Item .Form-Item-Label-Required{
    display: inline-block;
    width: 38px;
    height: 22px;
    color: #fff;
    background-color: #AC8241;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1em;
    padding: 3px 5px;
    margin-left: 5px;
}
/* 任意 */
.Form-Item .Form-Item-Label-Selected{
    display: inline-block;
    width: 38px;
    height: 22px;
    color: #fff;
    background-color: #C3C3C2;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1em;
    padding: 3px 5px;
    margin-left: 5px;
}

.Form-Item .Form-Item-Label{
    width: 200px;
    padding-top: 15px;
    font-weight: 600;
}

.Form-Item .wpcf7-form-control-wrap{
    width: calc(100% - 200px - 20px);
}

.Form-Item input[type="text"],
.Form-Item input[type="email"],
.Form-Item input[type="tel"],
.Form-Item textarea{
    width: 100%;
    border: 1px solid #D2B07B;
    border-radius: 3px;
    padding: 15px;    
}
.Form-Item textarea{
    height: 120px;
}
.Form-Item input[type="text"]:focus,
.Form-Item input[type="email"]:focus,
.Form-Item input[type="tel"]:focus,
.Form-Item textarea:focus{
    border: 2px solid #AC8241;
    outline: none;
}

/* お問い合わせ種別 */
.Form-Item:first-of-type .Form-Item-Label{
    width: 100%;
}
.Form-Item:first-of-type .wpcf7-form-control-wrap{
    width: 100%;
}

.Form-Item:first-of-type .wpcf7-form-control-wrap .wpcf7-radio{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.Form-Item:first-of-type .wpcf7-form-control-wrap .wpcf7-radio .wpcf7-list-item{
    width: 100%;
    height: 100px;
    border: 1px solid #D2B07B;
    border-radius: 3px;
    display: flex;
    align-items: center;
    padding: 15px;
    margin-left: 0;
}
/* 選択中の項目のborderを濃くする */
.Form-Item:first-of-type .wpcf7-form-control-wrap .wpcf7-radio .wpcf7-list-item:has(input:checked){
    border: 2px solid #AC8241;
}

/* label全体 */
.Form-Item:first-of-type .wpcf7-form-control-wrap .wpcf7-radio .wpcf7-list-item label{
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.Form-Item:first-of-type .wpcf7-form-control-wrap .wpcf7-radio .wpcf7-list-item input[type="radio"]{
    flex-shrink: 0;
    margin: 0 10px 0 0;
}
.Form-Item:first-of-type .wpcf7-form-control-wrap .wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label{
    display: block;
    flex: 1;
    min-width: 0;
    padding-left: 60px;
    position: relative;
    line-height: 1.3em;
    box-sizing: border-box;
}
.Form-Item:first-of-type .wpcf7-form-control-wrap .wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label::before{
    content: "";
    display: block;
    width: 50px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.Form-Item:first-of-type .wpcf7-form-control-wrap .wpcf7-radio .wpcf7-list-item:nth-of-type(1) .wpcf7-list-item-label::before{
    background-image: url(../img/contact/user1.webp);
}
.Form-Item:first-of-type .wpcf7-form-control-wrap .wpcf7-radio .wpcf7-list-item:nth-of-type(2) .wpcf7-list-item-label::before{
    background-image: url(../img/contact/user2.webp);
}
.Form-Item:first-of-type .wpcf7-form-control-wrap .wpcf7-radio .wpcf7-list-item:nth-of-type(3) .wpcf7-list-item-label::before{
    background-image: url(../img/contact/user3.webp);
}
.Form-Item:first-of-type .wpcf7-form-control-wrap .wpcf7-radio .wpcf7-list-item:nth-of-type(4) .wpcf7-list-item-label::before{
    background-image: url(../img/contact/user4.webp);
}

/* 個人情報保護への同意 */
.Form-Item:nth-of-type(7){
    flex-direction: column;
    margin-bottom: 40px;
}

.Form-Item:nth-of-type(7) .Form-Item-Label{
    width: 100%;
}
.Form-Item:nth-of-type(7) .wpcf7-form-control-wrap{
    width: 100%;
}
.Form-Item:nth-of-type(7) .wpcf7-form-control-wrap .privacy-policy-link{
    color: #AC8241;
    text-decoration: underline;
}

/* cloudflera turnstyleのバナー表示を中央揃え */
.wpcf7 .wpcf7-turnstile{
    width: fit-content;
    margin: 0 auto 20px;
}

/* 確認画面ここから */
.confirm_area{
    width: 100%;
    max-width: 665px;
    margin: 0 auto 15px auto;
}

.confirm_area .Form-Item{
    width: 100%;
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.confirm_area .Form-Item:nth-child(8){
    flex-direction: column;
    gap: 10px;
}
.confirm_area .confirm-text{
    margin-bottom: 40px;
}

.confirm_area .Form-Item{
    padding-bottom: 20px;
    border-bottom: 1px solid #D2B07B;
    margin-bottom: 20px;
}
.confirm_area .Form-Item:nth-child(8){
    border-bottom: 0;
}
.confirm_area .Form-Item .Form-Item-Label{
    padding-top: 0;
}

.confirm_area .button-wrap .back_button{
        display: block;
        width: 100%;
        height: 50px;
        background-color: #666;
        border-radius: 3px;
        border: 1px solid #666;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        transition: all 0.4s ease;
}
.confirm_area .button-wrap .back_button:hover{
        background-color: #fff;
        color: #666;
}

/*確認画面と完了画面を非表示*/
.confirm_area{
    display: none;
}

/*デフォルトのサンクスメッセージを非表示*/
.wpcf7-response-output{
    display: none;
}
/* 確認画面ここまで */

/* ご案内 */
.main-wrap .info-wrap{
    width: 25%;
    padding: 45px 20px;
}

.main-wrap .info-wrap > h2{
    width: 100%;
    font-size: 20px;
    letter-spacing: -0.02em;
    line-height: 1.3em;
    text-align: center;
    margin-bottom: 55px;
}
.main-wrap .info-wrap > h2 .small{
    font-size: 18px;
}

.main-wrap .info-wrap > .info{
    width: 100%;
    margin-bottom: 50px;
}
.main-wrap .info-wrap > .info:last-of-type{
    margin-bottom: 0;
}
.main-wrap .info-wrap > .info > h3{
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #AC8241;
    margin-bottom: 30px;
}

/* thanks ---------------------------------- */
.thanks-main > p{
    margin-bottom: 30px;
}
.thanks-main > p:last-of-type{
    margin-bottom: 70px;
}

/*-------------------------------------------
メインメニュー調整用
-------------------------------------------*/
@media screen and (max-width: 1277px) {

    /* 共通設定 ---------------------------------- */
    section{
        scroll-margin-top: calc(90px + 40px);
    }

}


/*-------------------------------------------
タブレット
-------------------------------------------*/
@media screen and (max-width: 960px) {

    /* main-wrap ------------------------------- */
    .main-wrap{
        flex-direction: column;
        gap: 20px;
    }

    /* フォームエリア */
    .main-wrap .card-wrap{
        width: 100%;
    }

    /* ご案内 */
    .main-wrap .info-wrap{
        width: 100%;
        padding: 45px 5%;
    }


}

/*-------------------------------------------
スマホ
-------------------------------------------*/
@media screen and (max-width: 767px) {

    /* 共通設定 ---------------------------------- */
    section{
        scroll-margin-top: calc(60px + 40px);
    }

    /* page-title ------------------------------ */
    .contact #page-title{
        height: 380px;
    }    
    .contact #page-title::after{
        background-image: url(../img/contact/titleSP.webp);
    }
    .contact #page-title .text-wrap .introduction-s > br{
        display: none;
    }

    /* main-wrap ------------------------------- */
    /* フォームエリア */
    .main-wrap .card-wrap > h2{
        text-align: center;
    }

    /* フォーム */
    .Form-Item{
        flex-direction: column;
    }

    .Form-Item .Form-Item-Label{
        width: 100%;
    }

    .Form-Item .wpcf7-form-control-wrap{
        width: 100%;
    }

    /* お問い合わせ種別 */
    .Form-Item:first-of-type .wpcf7-form-control-wrap .wpcf7-radio{
        grid-template-columns: repeat(1, 1fr);
    }

    /* ご案内 */
    .main-wrap .info-wrap{
        width: 100%;
        padding: 45px 5%;
    }


}