@charset "utf-8";
.content_area.contact {
    padding-bottom: 143px;
}
.contact .catch_box {
    padding-bottom: 75px;
}

/*------------ フォーム用テキスト表示制御 ------------*/

.input_txt,
.preview_txt {
    text-align: center;
    margin-bottom: 68px;
}

.preview_txt {
    display: none;
}

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

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

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

/*------------ 共通 ------------*/
.mw_wp_form .error {
    font-size: 1.4rem;
    font-weight: bold;
    color: #E30613;
}

/*------------ #flow purchase flow ------------*/
#flow .sec_ttl {
    margin-bottom: 61px;
}

.contact_flow_img {
    margin-bottom: 95px;
}

.contact_flow_img img {
    margin: auto;
}

/*------------ #contact  tel_box ------------*/
#contact .sec_ttl {
    margin-bottom: 40px;
}

.tel_box {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: center;
 flex-direction: column;
 padding: 5px 0 0;
 margin: 52px auto 100px;
 background: #F2F4FA;
 height: 200px;
 max-width: 700px;
}

.tel_box>* {
    white-space: nowrap;
    margin: 0;
}

.tel_box_head {
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    line-height: 1.222;
}

.tel_box_num a {
  display: inline-block;
  font-family: 'Noto Sans JP',
  sans-serif;
  font-size: 3.5rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 0 0 0 45px;
  margin: 7px 0 0;
  background: url(../img/icon_tel.svg) no-repeat left center / 28px auto;
}

.tel_box_num span {
    display: block;
    font-size: 1.9rem;
    letter-spacing: 0.1em;
}

.content_area.contact .mwform-checkbox-field {
    white-space: nowrap;
    margin-left: 40px;
}

/*  */
.contact_bg {
    padding: 96px 0 0;
    position: relative;
}

.contact_bg::before {
    position: absolute;
    content: "";
    width: 100vw;
    min-width: 1300px;
    height: calc(100% + 350px);
    background: #F2F4FA;
    top: 0;
    left: 50%;
    z-index: -10;
    transform: translateX(-50%);
}

/*tabここから*/
.tab-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-label {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #222222;
    font-weight: bold;
    white-space: nowrap;
    text-align: center;
    padding: 17px .5em;
    max-width: 280px;
    height: 80px;
    margin: 0 110px 0 0;
    order: -1;
    position: relative;
    z-index: 1;
    cursor: pointer;
    flex: 1;
    background: #fff;
    transition: all .3s ease;
    /* border: 1px solid #1d5185; */
}

.tab-label:last-of-type {
    margin-right: 0;
}

.tab-content {
    width: 100%;
    height: 0;
    overflow: hidden;
    opacity: 0;
}

/* アクティブなタブ */
.tab-switch:hover+.tab-label,
.tab-switch:checked+.tab-label {
    background: #0E097D;
    color: #fff;
}

.tab-switch:checked+.tab-label+.tab-content {
    height: auto;
    overflow: unset;
    width: 100%;
    opacity: 1;
    transition: .5s opacity;
}

/* ラジオボタン非表示 */
.tab-switch {
    display: none;
}

/*tabここまで*/
/*------------ table内 ------------*/
.content_area.contact table {
    margin: 70px 0;
}

.content_area.contact table th {
    background: none;
    width: 30.167%;
    padding: 28px 29px 26px 25px;
}

.content_area.contact .req {
    color: #E30613;
    float: right;
    position: relative;
}

.content_area.contact .req::after {
    content: "";
    clear: both;
}

.content_area.contact table td {
    padding: 17px 20px 17px 39px;
}

.content_area.contact table td p {
    font-size: 1.4rem;
    text-align: left;
    margin-bottom: 21px;
}

.content_area.contact table td .p-region {
    margin-top: 15px;
}

.content_area.contact .form_txt {
    width: 100%;
    max-width: 670px;
    box-sizing: border-box;
}

.content_area.contact table td .taking_type_list {
    display: flex;
    flex-wrap: wrap;
    padding: 12px 0 13px;
    max-width: calc(670px + 34px);
    margin-right: -34px;
    margin-bottom: -14px !important;
}

.preview .content_area.contact table td .taking_type_list {
    margin: 0 !important;
    padding: 0;
}

.content_area.contact .taking_type_list .mwform-checkbox-field {
    white-space: nowrap;
    margin-right: 31px;
    margin-bottom: 14px;
    margin-left: 0;
}

.content_area.contact textarea {
    display: block;
    min-height: 150px;
    height: 8vw;
    resize: vertical;
    overflow: auto;
}

/*------------ privacy ------------*/
.content_area.contact .privacy_checkbox {
    margin: 0 0 20px;
}

.content_area.contact .privacy_checkbox .mwform-checkbox-field label,
.content_area.contact .privacy_checkbox .mwform-checkbox-field {
    /* display: block; */
    font-size: 1.6rem;
    font-weight: 500 !important;
    margin: 0;
}

.privacy_link {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 500;
}

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

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

/* .content_area.contact .button_wrap:hover:after {
    left: calc(55% + 55px);
} */

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

.content_area.contact .form_btn_single.submit {
    display: block;
    font-weight: bold;
    letter-spacing: 0.1em;
    /* text-align: center; */
    text-decoration: none;
    width: 280px;
	max-width: 100%;
    height: auto;
    transition: all .3s ease;
    position: relative;
}

.content_area.contact .form_btn_single.submit .submit_btn {
    display: block;
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 80px;
    color: #fff;
    /* text-align: center; */
    text-align: left;
    text-decoration: none;
    width: 100%;
/*     max-width: 100%; */
    height: auto;
    padding: 0 59px 0 36px;
    background: #0E097D url(../img/arrow_r_white.svg) no-repeat top 32px right 27px / 36px 11px;
    border: 1px solid #0E097D;
    transition: all .3s ease;
    position: relative;
    cursor: pointer;
}

.content_area.contact .form_btn_single.submit .submit_btn:hover {
    border-color: #222;
    background-color: #222;
    background-position: top 32px right 20px;
}

.content_area.contact .mw_wp_form_preview .form_btn_single.submit .submit_btn {
    text-align: center;
}

.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', serif;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 80px;
    font-weight: bold;
    max-width: 180px;
    width: 100%;
    /* height: 82px; */
    background: #e6e6e6;
    padding: 0 23px;
    color: #7f7f7f;
    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) {
	.contact .catch_box {
		padding-bottom: 60px;
	}

    /*------------ フォーム用テキスト表示制御 ------------*/
    /*------------ フォーム用テキスト表示制御 ------------*/

    .input_txt,
    .preview_txt {
        margin-bottom: 30px;
    }

    .preview_txt {
        display: none;
    }

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

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

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

    /*------------ 共通 ------------*/
    .mw_wp_form .error {
        font-size: 1.3rem;
    }

    /*------------ #flow purchase flow ------------*/
    #flow .sec_ttl {
        margin-bottom: 20px;
    }

    .contact_flow_img {
        margin-bottom: 60px;
    }

    /*------------ #contact  tel_box ------------*/
    #contact .sec_ttl {
        margin-bottom: 20px;
    }

    .tel_box {
        padding: 35px 10px;
        max-width: 500px;
        margin: 35px auto 60px;
        height: auto;
    }

    .tel_box_head {
        font-size: 1.5rem;
    }

    .tel_box_num a {
        font-size: 2.2rem;
        padding: 0 0 0 29px;
        background-size: 22px auto;

    }


    /*  */
    .contact_bg {
        padding: 50px 0 0;
    }

    .contact_bg::before {
        height: calc(100% + 210px);
    }

    /*tabここから*/
    .tab-wrap {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .tab-label {
        font-size: 1.4rem;
        padding: 15px 5px;
        max-width: 50%;
        height: 60px;
        margin: 0;
    }

    /* アクティブなタブ */


    /* ラジオボタン非表示 */
    .tab-switch {
        display: none;
    }

    /*tabここまで*/

    /*------------ table内 ------------*/
    .content_area.contact table {
        margin: 35px 0 30px;
    }

    .content_area.contact table tr {
        border-bottom: 1px solid #0E097D;
    }

    .content_area.contact table tr:first-child {
        border-top: 1px solid #0E097D;
    }

    .content_area.contact table th,
    .content_area.contact table td {
        display: block;
        width: 100%;
        min-height: 50.8px;
        padding: 15px 10px !important;
    }

    .content_area.contact table th {
        border-bottom: 1px solid #ccc;
    }

    .content_area.contact input[type="text"].form_txt,
    .content_area.contact input[type="email"],
    .content_area.contact textarea {
        width: 100%;
        padding: 9px 10px;
    }

    .content_area.contact input[type="text"].p-postal-code {
        padding: 9px 10px;
    }

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

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

    /*------------ privacy ------------*/
    .content_area.contact .privacy_checkbox {
        margin: 0 0 10px;
    }

    .content_area.contact .privacy_checkbox .mwform-checkbox-field label,
    .content_area.contact .privacy_checkbox .mwform-checkbox-field {
        font-size: 1.4rem;
    }

    .privacy_link {
        font-size: 1.4rem;
    }

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

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

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

	.content_area.contact .form_btn_single.goback .back_btn {
		font-size: 1.5rem;
		line-height: 58px;
		width: 280px;
		max-width: 100%;
    }

/*     .content_area.contact .button_wrap:hover:after {
        left: auto;
        right: 10px;
    } */

    .preview .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 50px 0 40px;
		background-position: top 19px right 14px;
	}
	
	.content_area.contact .form_btn_single.submit .submit_btn:hover {
		background-position: top 19px right 9px;
	}
	
	.content_area.contact .mw_wp_form_preview .form_btn_single.submit .submit_btn {
		padding: 0 50px 0 50px;
	}

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


}