@charset "utf-8";

.h1_bg.contact {
    background-image: url(../images/h1_bg_contact.jpg);
}

.h1_title.contact::before {
    content: "Contact";
}

/* Contact form 7 */
.wpcf7 .step_item p,
.submit_btn_box p,
#form_btn_wrap p {
    margin: 0;
    line-height: 2.4rem;
    display: inline;
}

.wpcf7-spinner,
.wpcf7-response-output {
    display: none;
}

.wpcf7-list-item {
    display: block;
}

/* step */

.step {
    display: flex;
    max-width: 100%;
    justify-content: space-between;
    margin: 0 auto 50px;
    padding-left: 0;
}

.step_item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 33%;
    padding: 25px 0;
    margin: 0;
    background: #f2f2f2;
    color: #333333;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 2.4rem;
}

.contact .step_item:nth-child(1),
.contact-confirm .step_item:nth-child(2),
.contact-thanks .step_item:nth-child(3) {
    background: #274C3C;
    color: #fff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/*------------ フォーム表示制御用 ------------*/
.input_txt,
.preview_txt {
    text-align: center;
}

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

.mw_wp_form_preview .preview_txt {
    display: block !important;
    margin-bottom: 30px;
}

/*------------ 電話 ------------*/
.tel_box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 6% 12%;
    background: #F1F1F3;
}

.tel_box_head {
    font-size: 2.2rem;
    width: 50%;
    font-weight: 500;
}

.tel_box_content {
    letter-spacing: 0.1em;
    width: 50%;
    padding-left: 4.5%;
}

.tel_box_content a {
    display: block;
    font-family: 'Noto Sans JP';
    font-weight: 500;
    font-size: 3.2rem;
}

.tel_box_content span {
    display: block;
    font-size: 1.4rem;
}

/*------------ フォーム ------------*/
.red {
    font-size: 1.4rem;
    font-weight: 600;
    color: #E30613;
    padding: 0 1px;
    margin: 0 2px 0;
}

.req {
    font-size: 1.4rem;
    color: #E30613;
    padding: 0 1px;
    margin: 2px 0 0;
    position: relative;
    float: right;
}

/*--- table内 ---*/
table {
    margin: 20px auto 50px;
}

table .req:after {
    content: ".";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}

table th {
    vertical-align: top;
}

table th p {
    margin: 0;
}

.form_table textarea {
    display: block;
    font-family: 'Noto Sans JP', 'Open Sans', sans-serif, "游ゴシック", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック";
    line-height: 1.7;
    letter-spacing: 0.08em;
    width: 100%;
    border: none;
    min-height: 180px;
    padding: 11px 15px;
    resize: vertical;
    box-sizing: border-box;
    border: 1px solid #ccc;
}

.zipcode {
    width: 170px;
    margin: 0 0 10px 8px;
}

#postcode {
    width: 160px;
    margin-left: 15px;
}

td #email_confirm {
    font-size: 2.4rem;
    font-weight: bold;
    letter-spacing: 2.3px;
    margin: 13px 0 8px;
    word-break: break-all;
}

.note {
    margin: 10px 0 5px;
}

.doi {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    background: #F5F5F5;
}

.doi label {
    cursor: pointer;
}

.doi label {
    position: relative;
    display: flex;
    align-items: center;
    letter-spacing: 1.8px;
    text-align: center;
    padding: 35px 0 36px;
}

.wpcf7-list-item-label {
    margin-left: 5px;
}

/*------------ ボタン ------------*/
#form_btn_wrap {
    text-align: center;
    display: flex;
    max-width: 680px !important;
    width: 100%;
    margin: auto;
    padding-top: 50px;
    justify-content: center;
    position: relative;
}

.submit_btn_box {
    position: relative;
    width: 260px;
    max-width: 100%;
    height: 60px;
}

.submit_btn_box p {
    height: 100%;
}

.submit_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 6px;
    font-family: 'Noto Serif JP', serif;
    font-size: 1.6rem;
    letter-spacing: 0.06em;
    color: #FFF;
    background-color: #274C3C;
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s ease;
    max-height: 100%;
    position: relative;
    border: none;
    font-family: 'Noto Sans JP';
}

.submit_btn:hover {
    opacity: .9;
}

.back_btn {
    font-family: 'Noto Sans JP';
    max-width: 140px;
    width: 100%;
    background: #f7f7f7;
    display: inline-block;
    padding: 6px;
    color: #7f7f7f;
    transition: background 0.3s;
    text-decoration: none;
    position: relative;
    text-align: center;
    margin-right: 20px;
    border: 1px solid #e6e6e6;
    font-size: 100%;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    /*     border-radius: 50px; */
}

.back_btn:hover {
    background: #fff;
    border: 1px solid #e6e6e6;
    cursor: pointer;
}

.w100 {
    width: 100%;
    box-sizing: border-box;
}

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

    .step {
        margin-bottom: 20px;
        padding: 0;
    }

    .step_item {
        padding: 15px 0;
        font-size: 1.5rem;
    }

    /*------------ 電話 ------------*/
    .tel_box {
        margin-bottom: 35px;
        padding: 20px;
    }

    .tel_box_head {
        font-size: 1.5rem;
        letter-spacing: 0.05em;
        text-align: center;
        width: 100%;
    }

    .tel_box_content {
        width: 100%;
        padding-left: 0;
    }

    .tel_box_content a {
        display: inline-block;
        font-size: 2.5rem;
        text-align: center;
    }

    .tel_box_content span {
        font-size: 1.3rem;
        text-align: center;
    }

    /*------------ フォーム ------------*/
    .red {
        font-size: 1.2rem;
    }

    .req {
        font-size: 1.2rem;
        margin: 0;
    }

    /*--- table内 ---*/
    table {
        margin: 22px auto 35px;
        border-top: none;
    }

    table th,
    table td {
        display: block;
        width: 100%;
        padding: 13px !important;
        margin-bottom: 0px;
    }

    input[type="text"],
    input[type="email"],
    textarea {
        width: 100%;
    }

    input,
    textarea,
    select {
        font-size: 1.3rem;
    }

    .text_area_bottom input {
        margin-bottom: 10px;
        width: 76%;
    }

    input {
        box-sizing: border-box;
        margin-bottom: 0px;
    }

    /*------------ ボタン ------------*/


    #form_btn_wrap {
        max-width: none;
        padding-top: 30px;
    }

    .submit_btn_box {
        height: 50px;
        width: 200px;
    }

    .submit_btn {
        font-size: 1.4rem;
    }

    .back_btn {
        margin-right: 20px;
        width: 100px;
    }

    /*--- プレビュー時---*/
    .mw_wp_form_preview table {
        margin: 0 auto 35px;
    }

    .mw_wp_form_preview #form_btn_wrap {
        margin-top: 35px;
    }

}