@charset "utf-8";

/* #contact_wrap {
    margin-bottom: 50px;
} */

/* .mw_wp_form_complete #contact_wrap {
    margin-bottom: 130px;
} */

.input_txt,
.preview_txt {
    text-align: center;
}

.preview_txt {
    display: none;
}

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

.mw_wp_form_preview .preview_txt {
    display: block !important;
}

.tel_box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 65px;
    padding: 7% 12%;
    background: #F1F1F3;
}

.tel_box_head {
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    text-align: left;
    width: 50%;
}

.tel_box_content {
    width: 50%;
    padding-left: 4.5%;
}

.tel_box_content a {
    display: block;
    font-family: 'Oswald', 'Roboto', sans-serif;
    font-size: 4.5rem;
    text-align: left;
}

.tel_box_content span {
    display: block;
    font-size: 1.9rem;
    text-align: left;
}

.red {
    color: #E30613;
}

#contact_wrap .req {
    color: #E30613;
    padding: 0 1px;
    position: relative;
}

#contact_wrap table .req {
    float: right;

}

#contact_wrap table .req:after {
    content: "";
    clear: both;
}

#contact_wrap table {
    border-collapse: collapse;
    border-spacing: 0;
    max-width: 100%;
    /* margin: 0 auto 120px; */
    margin: 0 auto 70px;
    border-top: 1px solid #cccccc;
    border-left: none;
}


#contact_wrap table th {
    text-align: left;
    width: 24.5454%;
    padding: 25px 15px 25px 20px;
    border-bottom: 1px solid #ccc;
    border-right: none;
    background: #F1F1F3;
    vertical-align: middle;
}

#contact_wrap table td:before {
    content: none;
}

#contact_wrap .text_area_bottom input {
    margin-bottom: 15px;
}

#contact_wrap .form_table textarea {
    display: block;
    font-family: 'Noto Sans JP', 'Open Sans', sans-serif, "游ゴシック", "Yu Gothic", Yu Gothic, "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;
}

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

#contact_wrap .mwform-checkbox-field {
    white-space: nowrap;
}

.mw_wp_form #contact_wrap .horizontal-item {
    margin-left: 0 !important;
    margin-right: 10px !important;
}

#contact_wrap #form_btn {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    max-width: 680px !important;
    width: 100%;
    margin: auto;
    justify-content: center;
    position: relative;
}

#contact_wrap .button_wrap {
    position: relative;
    width: 210px;
    max-width: 100%;
}

#contact_wrap .button_wrap::after {
    position: absolute;
    content: '';
    width: 9px;
    height: 9px;
    border-top: 2px solid #3A3F53;
    border-right: 2px solid #3A3F53;
    transform: rotate(45deg);
    top: calc(50% - 5px);
    right: 12px;
    margin-left: auto;
    transition: border-color .3s;
    z-index: 5;
    pointer-events: none;
}

#contact_wrap .button_wrap:hover::after {
    border-color: #FFF;
}

#contact_wrap .submit_btn {
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 6px;
    font-size: 1.4rem;
    font-weight: 500;
    color: #3A3F53;
    border: 1px solid #3A3F53;
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s ease;
    position: relative;
}

#contact_wrap .submit_btn:hover {
    color: #FFF;
    background: #222;
}

.mw_wp_form_preview #contact_wrap table {
    margin: 0 auto 50px;
}

#contact_wrap .back_btn {
    font-family: 'Noto Sans JP', 'Open Sans', sans-serif, "游ゴシック", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック";
    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;
}

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

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


@media screen and (max-width: 767px) {
    /* #contact_wrap {
        margin-bottom: 0;
    } */

    /* .mw_wp_form_complete #contact_wrap {
        margin-bottom: 60px;
    } */

    .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;
    }


    #contact_wrap table {
        margin: 22px auto 35px;
        border-top: none;
    }

    #contact_wrap table th,
    .content_area table td {
        padding: 13px !important;
        display: block;
        margin-bottom: 0px;
    }

    #contact_wrap table th {
        width: 100%;
        border-bottom: none;
    }

    #contact_wrap table tr:not(:last-child) td {
        border-bottom: none;
    }

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

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

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

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

    #contact_wrap #form_btn {
        max-width: none;
        flex-direction: column-reverse;
        align-items: center;
    }

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

    #contact_wrap .back_btn {
        margin-right: 0;
        margin-top: 20px;
        margin-bottom: 30px;
        height: auto;
    }

    #contact_wrap .link_btn a {
        display: block;
        width: auto;
        min-width: auto;
    }


}