 @charset "UTF-8";

 .contact_img{
    width: 100%;
    max-width: 400px;
    height: 100%;
    margin: 10px 0;
}

/*===================================
お問い合わせページ
===================================*/

 .contact__text p{
    margin-top: 40px;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.8;
 }

 .privacy-policy_link__text{
    color: #FF6E4A;
    border-bottom: solid 1px #C4C0C0;
 }

 .attention{
    color: #FF0303;
    font-weight: bold;
    margin: 50px 0;
 }

.wpcf7-form p{
    margin: 30px  0;
    border-bottom: solid 1px #FF6E4A;
    padding-bottom: 30px;
}

.wpcf7-form p:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.wpcf7-form p label{
    font-size:16px;
    font-weight: bold;

}

.wpcf7-form-control-wrap{
    margin-left: auto;
}


.wpcf7-form p label{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wpcf7-form p:last-of-type label {
    align-items: flex-start;
  }

.wpcf7-form input {
    border: 1px solid #FF6E4A;
    width: 1070px;
    height: 56px;
    padding: 0 8px;
}

.wpcf7-form-control{
    width: 1070px;
    height: 350px;
    padding: 10px;
    border: solid  1px  #FF6E4A;
    margin-left: auto;
    border-radius:10px;
}

.button_wrap{
    text-align: center;
}

.button_wrap .contact_btn{
    width: 320px;
    padding: 20px 0px;
    background: #FF6E4A;
    color: white;
    border: none;
    height: auto;
    margin-top: 25px;
    cursor: pointer;
    border: solid 1px #FF6E4A;
    transition: 0.5s;
    font-size: 18px;
}

.button_wrap .contact_btn:hover{
    background-color: #fff;
    color: #FF6E4A;
}

.contact__buttons p{
    display: flex;
    justify-content: center;
    gap: 30px;

}

.contact__buttons p .btn--back,.contact__buttons p .btn--submit{
    width: 250px;
    background-color: #FF6E4A;
    color: #fff;
    margin-left: 0;
    cursor: pointer;
    transition: 0.5s;
}

.contact__buttons p .btn--back:hover,.contact__buttons p .btn--submit:hover{
    background-color: #fff;
    color: #FF6E4A;
}

.contact__buttons p .wpcf7-spinner{
    display: none;
}

@media screen and (max-width: 768px) {

    .contact__text p{
        margin-top: 20px;
        font-size: 1.4rem;
    }

    .attention{
        margin: 30px 0;
    }

    .wpcf7-form p label{
        display: block;
    }
    
    .wpcf7-form input,.wpcf7-form-control{
        width: 100%;
        margin-top: 15px;
    }

    .wpcf7-form-control{
        height: 250px;
    }

    .button_wrap p{
        margin-bottom: 0;
    }

    .contact__buttons p{
        display: block;
        width: 250px;
        margin: 0 auto;
    }

}

/*===================================
お問い合わせ完了ページ
===================================*/

.contact-thanks__lead{
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact-thanks__text{
    margin-bottom: 20px;
    line-height: 1.8;
}

.contact-thanks__note{
    line-height: 1.8;
    color: #FF0303;
}

@media screen and (max-width: 768px) {

    .contact-thanks__lead{
        font-size: 1.8rem;
    }
}


/*===================================
お問い合わせページ
===================================*/


/* .contact__inner{
    max-width: 1300px;
    margin: 200px auto 0;
    padding: 0 20px;
}

.ttl-tx{
    font-family: Josefin Sans;
    display: block;
    font-size: 100px;
    font-weight: bold;
    margin-bottom: 0;
}

.contact__title-sub{
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-bottom: 90px;
}

.contact__title-sub:before{
    content: "";
    width: 30px;
    height: 5px;
    margin-right: 23.5px; 
    background: linear-gradient(
        to right,
        #0D2C26,
        #A5BAB5
    );
}

.contact_wrap{
    width: 700px;
    margin: 0 auto;
    font-size: 16px;
}

.attention{
    color: red;
    margin-top: 0;
    margin-bottom: 35px;
    font-size: 16px;
    font-weight: normal;

}

.contact_txt{
    margin-bottom: 0;
    font-size: 16px;
    font-weight: normal;
}

@media (max-width: 768px){

    .contact__inner{
        margin: 140px auto 50px;
    }

    .ttl-tx{
        font-size: 65px;
    }

    .contact__title-sub{
        margin-bottom: 35px;
        font-size: 18px;
    }

    .contact__title-sub::before{
        height: 3px;
        margin-right: 10px;
    }

    .contact_wrap{
        width: 100%;
    }
    
}



.wpcf7-form p label{
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 20px;
}

.wpcf7-form-control-wrap{
    margin-left: auto; 
}

.button_wrap{
    text-align: center;
    width: 320px;
    margin: 0 auto;
}

.button_wrap .contact_btn{
    width: 320px;
    padding: 20px 0px;
    background: #0D2C26;
    color: white;
    border: none;
    height: auto;
    margin-top: 70px;
    cursor: pointer;
    border: solid 1px #0D2C26;
    transition: 0.5s;
    font-size: 18px;
}

.button_wrap .contact_btn:hover{
    background-color: #fff;
    color: #0D2C26;
}

.wpcf7-form textarea{
    border: 1px solid #999;
    width: 450px;
    height: 160px;
    padding: 8px;
}

@media (max-width: 768px){

    .wpcf7-form p label{
        display: block;
    }

    .wpcf7-form input{
        width: 100%;
        margin-top: 10px;
    }

    .wpcf7-form textarea{
        width: 100%;
        margin-top: 10px;
    }

    .button_wrap .contact_btn{
        margin-top: 30px;
    }

}


.btn_inner{
    margin: 30px auto;
    width: 500px;
}

.btn_inner p{
    display: flex;
}

.btn_inner .wpcf7-previous{
    width: 250px;
    padding: 20px;
    height: auto;
    font-size: 16px;
    background: #0D2C26;
    color: white;
    margin-right: 25px;
    cursor: pointer;
    border: solid 1px #0D2C26;
    transition: 0.5s;
}

.btn_inner .wpcf7-previous:hover{
    background-color: #fff;
    color: #0D2C26;
}

.btn_inner .wpcf7-submit{
    width: 250px;
    padding: 20px;
    height: auto;
    font-size: 16px;
    background: #0D2C26;
    color: white;
    cursor: pointer;
    border: solid 1px #0D2C26;
    transition: 0.5s;
}

.btn_inner .wpcf7-submit:hover{
    background-color: #fff;
    color: #0D2C26;
}

.btn_inner .wpcf7-spinner{
    display: none;
}

@media (max-width: 768px){

    .btn_inner{
        width: 250px;
    }

    .btn_inner p{
        display: block;
    }
}

.red{
    color: red;
}

.contact_thanks__wrap{
    font-size: 18px;
    text-align: center;
    line-height: 1.6;
}

.contact_thanks__wrap span{
    font-size: 16px;
}

@media (max-width: 768px){

    .contact_thanks__wrap{
        font-size: 16px;
        text-align: left;
    }

} 


