@charset "utf-8";

/*------------ フォーム用テキスト表示制御 ------------*/
.preview_txt {
    display: none;
}

.mw_wp_form_confirm .input_txt {
    display: none !important;
}

.mw_wp_form_confirm .preview_txt {
    display: block !important;
    text-align: center;
}

.mw_wp_form_complete .input_txt,
.mw_wp_form_complete .preview_txt {
    display: none !important;
}

/*-------------------------------------
	共通
--------------------------------------*/
.req {
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #F44336;
    padding: 3px 10px 2px;
    margin: 0 5px;
    background: #FBD8D6;
    border-radius: 5px;
}

/*-------------------------------------
	content_area
--------------------------------------*/
/* .content_area.contact {
    padding-bottom: 200px;
} */

.content_area.contact .inner {
    max-width: 1040px;
}

.inner>.input_txt:first-child h2 {
    margin-top: 0;
}

/*------------ form ------------*/
.form_wrap {
    margin-bottom: 50px;
}

.form_head {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.6;
    margin: 45px 0 10px;
    display: flex;
    align-items: center;
}

select,
.form_txt,
textarea {
    display: block;
    width: 100%;
    font-family: 'Noto Serif JP', "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    font-size: 1.6rem;
    line-height: 1.8;
    letter-spacing: 0.05em;
    border: none;
    background-color: #F4F7F9;
    padding: 10px 15px;
    box-sizing: border-box;
}

.p-postal-code {
    margin-bottom: 10px;
    width: auto;
    display: inline-block;
}

textarea {
    min-height: 234px;
    resize: vertical;
    overflow: auto;
}

/*------------ btn ------------*/

.content_area.contact #form_btn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 60px 0 0;
}

.content_area.contact .button_wrap {
    max-width: 100%;
}

.content_area.contact .form_btn_single.submit {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
    background: #454545;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;

}

.content_area.contact .form_btn_single.submit .submit_btn {
    display: block;
       font-family: 'Noto Serif JP', "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-align: center;
    text-decoration: none;
    color: #fff !important;
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 19px 35px 19px 15px;
    margin: auto;
    cursor: pointer;
    position: relative;
}

.content_area.contact .form_btn_single.submit:hover {
    background: #222;
}

.content_area.contact .form_btn_single.submit::after {
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    background: url(../img/arrow_white.svg) center center/100% auto no-repeat;
    transform: translateY(-50%);
    top: 50%;
    right: 27px;
    pointer-events: none;
}

.content_area.contact .form_btn_single.goback {
    max-width: 180px;
    width: 100%;
    position: relative;
    margin: 0 20px 0 0;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.content_area.contact .form_btn_single.goback .back_btn {
    font-family: 'Noto Serif JP', "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 66px;
    color: #7f7f7f;
    max-width: 180px;
    width: 100%;
    background: #e6e6e6;
    padding: 0 20px;
    border: 1px solid #e6e6e6;
    transition: all .3s ease;
}

.content_area.contact .form_btn_single.goback .back_btn:hover {
    background: #fff;
    cursor: pointer;
}

@media screen and (max-width: 767px) {
    /*------------ フォーム用テキスト表示制御 ------------*/

    .mw_wp_form_confirm .preview_txt {
        margin-bottom: 25px;
    }

    /*-------------------------------------
        共通
    --------------------------------------*/

    /*-------------------------------------
        content_area
    --------------------------------------*/

    /* .content_area.contact {
        padding-bottom: 65px !important;
    } */

    /*------------ form ------------*/
    .form_wrap {
        margin-bottom: 35px;
    }

    .form_head {
        font-size: 1.6rem;
        margin: 25px 0 10px;
    }

    .form_txt,
    textarea {
        padding: 10px 15px;
        font-size: 1.4rem;
    }

    textarea {
        min-height: 160px;
    }

    /*------------ btn ------------*/

    .content_area.contact #form_btn {
        max-width: none;
        flex-direction: column-reverse;
        align-items: center;
        margin: 35px 0 0;
    }

    .content_area.contact .form_btn_single.goback {
        max-width: none;
        margin: 0;
    }

    .content_area.contact .form_btn_single.goback .back_btn {
        font-size: 1.3rem;
        line-height: 56px;
        width: 200px;
        max-width: 100%;
    }

    .mw_wp_form_confirm .content_area.contact .form_btn_single.submit {
        margin-bottom: 20px;
    }

    .content_area.contact .form_btn_single.submit .submit_btn {
        font-size: 1.5rem;
        line-height: 58px;
        padding: 0 20px;
    }
}