@charset "utf-8";

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

#contact_wrap h2 {
/*     padding: 80px 0 0; */
    font-size: 3.6rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0;
	text-align: center;
/*     margin-bottom: 30px; */
	margin-bottom:50px;
	border-bottom:none;
}

/* #contact_wrap .form_wrap {
    background: #d2d4d026;
    margin-top: 100px;
    padding-bottom: 100px;
} */

/* #contact_wrap .form_wrap p {
    margin-bottom: 0px;
} */

#contact_wrap .req {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background: #C5131F;
    padding: 1px 8px;
    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;
    width: 950px;
    max-width: 100%;
    margin: 0 auto 45px;
    border-top: 1px solid #cccccc;
    border-left: none;
}

/* #contact_wrap table th,
#contact_wrap table td {
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
} */

#contact_wrap table th {
    font-weight: 500;
    text-align: left;
    width: 29.5%;
    padding: 25px 15px 25px 20px;
	border-bottom: 1px solid #1D50A2;
    border-right: none;
    background: none;
}

#contact_wrap table tr:first-child th {
    border-top: 1px solid #1D50A2;
}

#contact_wrap table td {
    padding: 8px 20px;
    border-right: none;
	vertical-align:inherit;
    /* width: 70.5%; */
    /* border-bottom: 1px solid #ccc; */
}

#contact_wrap table tr:first-child td {
    /* border-top: 1px solid #ccc; */
}

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

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

#contact_wrap .form_table textarea {
    font-family: "游ゴシック", "Yu Gothic", Yu Gothic, 'Open Sans', 'Noto Sans JP', sans-serif, "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;
    background: rgb(29 80 162 / 6%);
    resize: vertical;
    box-sizing: border-box;
}

#contact_wrap .form_table input {
    background: rgb(29 80 162 / 6%);
}

#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 {
    height: 60px;
    width: 460px;
    max-width: 100%;
    margin-bottom: 20px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    font-weight: 700;
    position: relative;
}

#contact_wrap .button_wrap:after {
    content: "";
    position: absolute;
    background: url(../img/arrow_r_w.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 39px;
    height: 7px;
    top: calc(50% - 3.5px);
    left: calc(55% + 50px);
    transition: all .3s ease;
}

#contact_wrap .button_wrap:hover:after {
    left: calc(55% + 55px);
}

#contact_wrap .submit_btn {
    position: absolute;
    color: #fff;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 10px 65px 10px 15px;
    background: #1D50A2;
    cursor: pointer;
    transition: all .3s ease;
}

#contact_wrap .submit_btn:hover {
    opacity: .7;
}

/* #contact_wrap .form-preview-dl-child {
    max-width: calc(100vw - 10px);
}

#contact_wrap .form-preview-dl-child {
    margin: 0;
    margin-bottom: 15px;
    overflow: hidden;
}

#contact_wrap .form-preview-dl-child dt {
    width: 100px;
    float: left;
    line-height: 47px;
}

#contact_wrap .form-preview-dl-child dd {
    margin-left: 120px;
    line-height: 47px;
}

#contact_wrap .form-preview-dl-child input.form-preview-input01 {
    box-sizing: border-box;
    margin: 0 10px;
}*/
#contact_wrap .back_btn {
    font-weight: 700;
    max-width: 200px;
    width: 100%;
    height: 60px;
    background: #f7f7f7;
    display: inline-block;
    padding: 0 23px;
    line-height: 40px;
    color: #7f7f7f;
    transition: background 0.3s;
    text-decoration: none;
    position: relative;
    text-align: center;
    margin-right: 20px;
    margin-bottom: 20px;
    border: 1px solid #e6e6e6;
    font-size: 100%;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

/* #contact_wrap .submit_btn:hover,#content_wrap .back_btn:hover {
    opacity: .7;
} */
#contact_wrap .back_btn:hover {
    background: #fff;
    border: 1px solid #e6e6e6;
    cursor: pointer;
}

/* .link_btn_c {
    margin-bottom: 100px;
} */

/* .back {
    margin-bottom: 30px;
} */

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


@media screen and (max-width: 767px) {
/*     #contact_wrap .form_wrap {
        margin-top: 50px;
        padding-bottom: 50px;
    } */

    #contact_wrap h2 {
/*         padding: 40px 0 0; */
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    #contact_wrap table {
        margin: 22px auto;
        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-top: 1px solid #1D50A2;
        border-bottom: 1px solid #ddd;
		background: rgba(29,80,162,0.05);
    }

    #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 input {
        box-sizing: border-box;
    }

    #contact_wrap .form-preview-dl-child dd {
        margin-left: 0px;
    }

    #contact_wrap .form-preview-dl-child dd {
        line-height: 22px;
    }

    #contact_wrap .form-preview-dl-child input.form-preview-input01 {
        margin: 0 0 10px;
    }

    #contact_wrap .form-preview-dl-child dt {
        padding: 0;
        float: none;
    }

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

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

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

    #contact_wrap .back_btn {
        max-width: 280px;
        margin-right: 0;
        height: auto;

    }

    #contact_wrap .button_wrap:after {
        left: auto;
        right: 15px;
    }

    #contact_wrap .button_wrap:hover:after {
        left: auto;
        right: 10px;
    }

    #contact_wrap .submit_btn {
        width: 100%;
        /* min-width: 200px; */
        font-size: 1.3rem;
        padding: 15px;
    }

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


}