
.contact_inner {
    width: 52.161vw;
    min-width: 51.282vw;
    margin: auto;
    padding: 10.476vw 0;
}

.link_card_wrap {
    display: none;
}

.contents_wrap {
    position: relative;
    background: url(../img/contact/contact_bg2.png);
    background-size: 100%;
    padding: 10.989vw;
    margin-top: -5.989vw;
}

.contents_wrap:before {
    position: absolute;
    content: "";
    top: 2.07vw;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/contact/contact_bg.png);
    background-size: 100%;
    background-repeat: no-repeat;
}

p.form_ttl {
    text-align: center;
    padding-bottom: 50px;
    border-bottom: solid 1px;
}

footer {
    padding-top: 10px;
}

.rsv_txt_box {
    width: 55.764706vw;
    margin: auto;
    padding: 2vw 3vw;
    text-align: left;
    background: #707aa0;
}

.line_wrap.menu_cat_wrap {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5vw 0;
}

select.birth {
    width: 9vw;
    height: 3.088235294117647vw;
}

.line_wrap.menu_cat_wrap .form_th {
    width: 100%;
    margin-bottom: 1.1764705882352942vw;
}

.line_wrap.menu_cat_wrap .form_td {
    flex-direction: column;
    align-items: baseline;
}

.menu_cat {
    margin-bottom: 1.1764705882352942vw;
    display: flex;
    flex-direction: column;
}

span.wpcf7-form-control.wpcf7-checkbox.sub_cat span {
    width: 17.37vw;
    font-size: 1vw;
    padding-left: 8px;
}

.sub_cat .wpcf7-list-item {
    border: solid 1px;
    padding: 10px;
    margin: 8px !important;
    border-radius: 5px;
}

.sub_cat .wpcf7-list-item:first-child,
.sub_cat .wpcf7-list-item:nth-of-type(4),
.sub_cat .wpcf7-list-item:nth-of-type(7),
.sub_cat .wpcf7-list-item:nth-of-type(10) {
    margin-left: 0 !important;
}

.sub_cat input[type="checkbox"]+.wpcf7-list-item-label:before {
    left: auto !important;
    right: 8px !important;;
}

@media(max-width:767px) {

    .contact_mv {
        background-image: url(../img/contact/sp/contact_mv.jpg);
    }

    .sns_wrap {
        bottom: 0 !important;
        top: 119.48717948717949vw;
        left: 5.897435897435897vw;
    }

}

/* LEAD_TOP */

.lead_description p {
    text-align: left;
    width: 61.76470588235294vw;
    margin: 0 auto 1.4705882352941175vw;
}

.lead_description p:last-of-type {
    margin-bottom: 0;
}

@media(max-width:767px) {

    .lead_description p {
        width: 72.82051282051282vw;
        margin: 0 auto 5.128205128205128vw;
    }

    .lead_description p:last-of-type {
        margin-bottom: 0;
    }


}

/* ------------------------------------FORM--------------------------------- */

.form_wrap {
    padding: 100px 0;
}

.form {
    text-align: left;
    border-top: #707AA0 solid 1px;
    margin: 4.411764705882353vw auto 0;
    width: 61.76470588235294vw;
    padding-bottom: 11.029411764705882vw;
}

form.wpcf7-form.init {
    z-index: 3;
    position: relative;
}

.line_wrap {
    display: flex;
    padding: 1.5vw 0;
    align-items: center;
    border-bottom: dotted 1px #9DB5B2;
}

span.havto {
    color: #FCFCFC;
    font-family: "Noto Sans JP";
    font-size: 14px;
    height: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0.56px;
    background: #C70C0C;
    padding: 2px 10px;
}

span.any {
    color: #FCFCFC;
    font-family: "Noto Sans JP";
    font-size: 14px;
    height: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0.56px;
    background: #757575;
    padding: 2px 10px;
}

div#referrer-field span.any,
div#other-field span.any,
div#referrer2-field span.any,
div#referrer3-field span.any {
    margin-right: 10px;
    display: block;
    position: relative;
}

div#other-field,
div#referrer-field,
div#referrer2-field,
div#referrer3-field {
    align-items: center;
}

.line_wrap.radio_wrap {
    display: block;
    height: 9.632352941176471vw;
    display: table-cell;
    vertical-align: middle;
    width: 100vw;
}

.form-tabs {
  max-width: 58.824vw;
  margin: 0 auto;
}
.tab-buttons {
  display: flex;
  gap: 0.735vw;
  margin-bottom: 1.471vw;
}
.tab-buttons .tab-btn {
    flex: 1;
    padding: 0.735vw;
    font-size: 1.471vw;
    color: #fff;
    border: 1px solid #ccc;
    background: #BDBDBD;
    cursor: pointer;
}
.tab-buttons .tab-btn.active {
    background: #004370;
    color: #fff;
    position: relative;
}
.tab-content { display: none; }
.tab-content.active { display: block; }

button.tab-btn.active:before {
    content: "";
    position: absolute;
    width: 5.882vw;
    height: 0.221vw;
    bottom: -0.956vw;
    left: 50%;
    transform: translate(-50%, 0);
    background: #0362a2;
}

.form_td.line_2.flx {
    display: flex;
    flex-direction: row;
}

button.add_btn {
    margin-left: 0.588vw;
    padding: 0.735vw 1.471vw;
    color: #fff;
    background: #FFA04D;
}

.form_th {
    width: 36.794118vw;
    align-items: center;
    display: flex;
    color: #212121;
    font-family: "Noto Sans JP";
    font-size: 1.324vw;
    font-style: normal;
    font-weight: 500;
    line-height: 2.206vw;
    letter-spacing: 0.053vw;
    padding-left: 2.941vw;
}

.form_inquiry.any {
    width: 22.794117647058822vw;
    display: flex;
    color: #212121;
    font-family: "Noto Sans JP";
    font-size: 1.324vw;
    font-style: normal;
    font-weight: 500;
    line-height: 2.206vw;
    letter-spacing: 0.053vw;
    padding-left: 2.941vw;
}

.radio_wrap .form_th {
    width: 100%;
    margin-bottom: 1.1764705882352942vw;
}

.form_th div {
    margin-right: 0.8088235294117648vw;
    font-size: 1.3235294117647058vw;
    font-weight: 500;
    max-width: 15.2vw;
}

.form_td {
    display: flex;
    width: 100%;
    align-items: center;
}

.form_td.wrap {
    flex-wrap: wrap;
}

.form_td.radio_ver {
    flex-direction: column;
    align-items: baseline;
}

.form_td.form_add {
    display: block;
}

.block_p {
    width: 75%;
    padding-left: 0;
}

/* span.wpcf7-list-item-label,
.block_p {
} */

.line_wrap .block_p {
    display: block;
    width: 100%;
}

.form span.havto {
    color: #fcfcfc;
    background-color: #E94709;
    padding: 0.14705882352941177vw 0.9558823529411765vw;
}

input {
    background: #FAFAFA;
    border: none;
    height: 3.088235294117647vw;
}

input#myouzi-kana,
input#mei-kana,
input#myouzi,
input#mei,
input#myouzi_2,
input#mei_2,
input#myouzi_3,
input#mei_3,
input#myouzi_jp,
input#mei_jp {
    width: 13.750000000000002vw;
}

input#myouzi-kana,
input#myouzi,
input#myouzi_jp,
input#myouzi_2,
input#myouzi_3 {
    margin-right: 1.3235294117647058vw;
}

.wpcf7-form-control-wrap[data-name="zipcode"] {
    width: 65%;
}

input#old {
    width: 4.705882352941177vw;
}

.birth_txx {
    margin: 0 30px 0 10px;
}

.add_txx {
    font-size: 1.4rem;
}

/* file_button */

.wpcf7 input[type="file"] {
    background: initial;
    transform: translate(0, 20%);
}

input[type="file"] {
    display: flex;
    margin-bottom: 10px;
}

.file_wrap {
    padding: 8px 15px;
    border: #574E3B 1px solid;
    background-color: #DEDEDE;
    cursor: pointer;
}

.file_tex {
    margin-left: 20px;
}

.textarea_wrap {
    display: flex;
    padding: 2.5vw 0;
    border-bottom: solid 1px #707AA0;
}

.form_inquiry.any {
    text-align: left;
    margin-right: 0.8088235294117648vw;
    width: 22.794118vw;
    font-size: 1.3235294117647058vw;
    font-weight: 500;
}

textarea#inquiry {
    width: 35.647059vw;
    background: #FAFAFA;
    border: none;
    padding: 0.7352941176470588vw;
}

textarea#inquiry2 {
    width: 35.647059vw;
    background: #FAFAFA;
    border: none;
    padding: 0.7352941176470588vw;
}

input[type="text" i] {
    padding-left: 0.7352941176470588vw;
    width: 100%;
}

select {
    border-radius: 1px;
    border: unset;
    margin: 0 15px;
}

input::-webkit-input-placeholder,
::-webkit-input-placeholder {
    color: #BDBDBD;
    font-weight: 400;
}

#inquiry::placeholder {
    color: #BDBDBD;
    font-weight: 400;
}

h4.contact_h4 {
    font-size: 1.6176470588235297vw;
    line-height: 1.5;
    margin: 3.6764705882352944vw 0 1.4705882352941175vw;
    text-align: center;
}

h4.contact_h4 a {
    color: #fff;

}

p.p_p {
    width: 54.41176470588235vw;
    margin: 0 auto 20px;
    line-height: 1.5;
    text-align: center;
}


.acceptance {
    margin: 20px 0 0 20px;
    text-align: center;
    border-bottom: none;
}

.btn_wrap {
    text-align: center;
    border-bottom: none;
}

/* 送信ボタン */

.send_btn_input {
    background-color: initial;
    width: 19.411764705882355vw;
    height: auto;
}


.wpcf7-response-output {
    color: red;
    margin-top: 20px;
}

.screen-reader-response {
    color: red;
    margin-bottom: 20px;
}

.screen-reader-response ul {
    display: none;
}

span.wpcf7-not-valid-tip {
    color: red;
}

/* details_radio */

/* デフォルトのボタン */
input[type="radio"] {
    opacity: 0;
    /* デフォルトのボタンを非表示 */
    position: absolute;
}

.wpcf7-list-item-label:before {
    content: '';
    background: #fff;
    border-radius: 100%;
    border: 1px solid #333333;
    display: inline-block;
    width: 19px;
    height: 19px;
    position: relative;
    top: -0.15em;
    margin-right: 10px;
    vertical-align: middle;
    cursor: pointer;
    text-align: center;
    -webkit-transition: all 250ms ease;
    transition: all 250ms ease;
}

/* チェック後のボタン */
input[type="radio"]:checked+.wpcf7-list-item-label::before {
    background-color: #212121;
    /* チェック後の中心の色 */
    box-shadow: inset 0 0 0 5px #fff;
    /* 中心の色のスタイル */
}

span.wpcf7-list-item-label,
.block_p {
    margin-right: 37px;
}

/* visit */

.visit .wpcf7-list-item-label:before {
    content: '';
    background: #fff;
    border-radius: 100%;
    border: 1px solid #333333;
    display: inline-block;
    width: 24px;
    height: 24px;
    position: relative;
    top: -0.2em;
    margin-right: 10px;
    vertical-align: middle;
    cursor: pointer;
    text-align: center;
    -webkit-transition: all 250ms ease;
    transition: all 250ms ease;
}

/* Checkboxes styles */

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"]+.wpcf7-list-item-label {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    font-size: 1rem;
}

input[type="checkbox"]+.wpcf7-list-item-label:last-child {
    margin-bottom: 0;
}

input[type="checkbox"]+.wpcf7-list-item-label:before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border: 1px solid #000;
    position: absolute;
    left: 0;
    top: 50%;
    opacity: .6;
    -webkit-transition: all .12s, border-color .08s;
    transition: all .12s, border-color .08s;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    -moz-transition: all .12s, border-color .08s;
    -ms-transition: all .12s, border-color .08s;
    -o-transition: all .12s, border-color .08s;
}

input[type="checkbox"]:checked+.wpcf7-list-item-label:before {
    width: 10px;
    top: -7px;
    left: 5px;
    border: solid 2px;
    border-radius: 0;
    opacity: 1;
    border-top-color: transparent;
    border-left-color: transparent;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.wpcf7-list-item {
    display: inline-block;
    margin: 0 0 0 0 !important;
}

.send_btn_input:hover {
    opacity: 0.5;
    transition: 0.7s;
    -webkit-transition: 0.7s;
    -moz-transition: 0.7s;
    -ms-transition: 0.7s;
    -o-transition: 0.7s;
}

.from_step {
    width: 48.529411764705884vw;
    margin: 0 auto 2.941176470588235vw;
}

.send_btn {
    position: relative;
    display: inline-block;
    margin-top: 50px;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.form_btn {
    position: relative;
    width: 19.411764705882355vw;
    min-width: 264px;
    height: 54px;
    padding-left: 1.4705882352941175vw;
    background: none;
    color: #fff;
    border: 1px solid;
    text-align: left;
    font-family: "Zen Old Mincho";
    transition: all .2s linear;
}

input.wpcf7-form-control.wpcf7-previous.form_btn {
    position: relative;
    width: 9.411765vw;
    min-width: 100px;
    height: 54px;
    padding-left: 1.4705882352941175vw;
    background: none;
    color: #fff;
    border: 1px solid;
    text-align: left;
    font-family: "Zen Old Mincho";
    transition: all .2s linear;
}


@media(max-width:767px) {
    input.wpcf7-form-control.wpcf7-submit.has-spinner.form_btn {
        padding-left: 4.470588vw;
    }
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.form_btn:hover{
    color:#27366D;
    background: #fff;
}

/* .send_btn:hover{
    color:#27366D;
    background: #fff;
} */

.send_btn:hover {
    opacity: .8;
}

span.wpcf7-spinner {
    position: absolute;
    right: 0;
    bottom: 0;
    display: none;
}

.form_td.line_2 {
    flex-direction: column;
    align-items: baseline;
    padding-top: 20px;
}

.add_td {
    padding: 8px 0 0;
}

.hidden_box {
    width: 50vw;
    height: 25vw;
    overflow: scroll;
    margin: 0 auto 25px;
    padding: 24px 20px 24px 20px;
    overflow-x: hidden;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    background: #FAFAFA;
}

.acceptance input[type="checkbox"]+.wpcf7-list-item-label:before {
    border-radius: 0%;
}

@media(max-width:767px) {

    .contents_wrap {
        position: relative;
        background-size: 100%;
        background-color: #FFFCF3;
        background-image: unset;
        margin-bottom: -200px;
        padding: 0 0 200px;
    }

    .contents_wrap:before {
        position: absolute;
        content: "";
        top: -40px;
        left: 0;
        width: 100%;
        height: 40px;
        background: url(../img/contact/sp-contact_bg.png);
        background-size: cover;
    }

    .contact_inner {
        min-width: unset;
        margin: auto;
        padding: 15.128vw 0;
        width: 89.744vw;
        background-size: 100%;
        background-position: top;
        background-repeat: no-repeat;
    }

    .link_card_wrap {
        display: none;
    }

    p.form_ttl {
        text-align: center;
        padding-bottom: 10.256vw;
        border-bottom: solid 1px;
    }

    .form {
        width: 75.64102564102564vw;
        margin: 10.256410256410255vw auto 0;
        padding-bottom: 25.64102564102564vw;
    }

    .line_wrap {
        height: auto;
        display: block;
        padding: 5.128205128205128vw 4.102564102564102vw;
    }

    .line_wrap div.form_th {
        width: 100%;
        /**要確認**/
        margin-bottom: 2.564102564102564vw;
        padding-left: 0;
    }

    .form_th div {
        font-size: 4.102564102564102vw;
    }

    form span.havto {
        margin-right: 0;
        margin-left: 2.564102564102564vw;
        padding: 0.5128205128205128vw 2.564102564102564vw !important;
        font-size: 3.5897435897435894vw;
        line-height: 1;
    }

    .radio_wrap .form_th {
        display: block;
    }

    .radio_wrap .form_name {
        display: inline;
    }

    .radio_wrap .havto {
        display: inline-block;
    }

    input,
    select {
        height: 10.76923076923077vw;
    }

    select {
        width: 65.38461538461539vw;
        padding: 0 3.8461538461538463vw;
    }

    input#myouzi, input#mei, input#myouzi_jp, input#mei_jp, input#myouzi-kana, input#mei-kana {
        width: 39.641026vw;
    }

    input#myouzi,
    input#myouzi_jp,
    input#myouzi-kana {
        margin-right: 2.564102564102564vw;
    }

    select.wpcf7-form-control.wpcf7-select.birth {
        width: 15vw;
        height: 10.76923076923077vw;
        padding: 1vw;
        margin: 0 2.1333333333333333vw 0 0;
    }

    span.birth_span {
        display: flex;
        align-items: center;
        margin-right: 2.1333333333333333vw;
    }

    select.wpcf7-form-control.wpcf7-select {
        height: 10.76923076923077vw;
        width: 61.53846153846154vw;
    }

    input#year {
        width: 14.102564102564102vw;
    }

    input#month,
    input#day {
        width: 8.974358974358974vw;
    }

    .birth_txx {
        margin: 0 5.128205128205128vw 0 1.282051282051282vw;
    }

    input[type="text" i] {
        padding-left: 3.8461538461538463vw;
    }


    .textarea_wrap {
        display: flex;
        padding: 0 4.102564102564102vw 5.128205128205128vw 4.102564102564102vw;
        flex-direction: column;
        margin-bottom: 5.128205128205128vw;
    }

    .form_inquiry.any {
        text-align: left;
        padding: 5.128205128205128vw 0;
        width: 100%;
        font-size: 4.102564102564102vw;
    }

    textarea#inquiry {
        width: 80.692308vw;
        color: #333;
        overflow: scroll;
        margin: auto;
        padding: 3.8461538461538463vw;
    }

    input[type="checkbox"]+.wpcf7-list-item-label:last-child {
        text-align: left;
        line-height: 30px;
    }

    span.wpcf7-form-control.wpcf7-checkbox.sub_cat span {
        width: 95%;
    }

    .sub_cat .wpcf7-list-item {
        margin: 10px 0 0 !important;
    }

    .menu_cat {
        margin-bottom: 25px;
    }

    h4.contact_h4 {
        margin: 5.128205128205128vw auto;
        font-size: 4.615384615384616vw;
    }

    p.p_p {
        width: 100%;
        text-align: left;
        margin-bottom: 5.128205128205128vw;
    }

    span.wpcf7-not-valid-tip {
        font-size: 2.564102564102564vw;
    }

    .send_btn_input {
        width: 67.6923076923077vw;
    }

    .from_step {
        width: 90vw;
        margin-left: 10vw;
        margin-bottom: 7.6923076923076925vw;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .from_step img {
        overflow: scroll;
        width: 580px;
    }

    .hidden_box {
        width: 80.692308vw;
        height: 300px;
    }

    footer {
        position: relative;
        background: url(../img/contact/footer_bg.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top center;
        margin-top: -10.275vw;
        z-index: 2;
    }

    .con_footer {
        width: 87%;
        margin: auto;
        padding-top: 100px;
    }
}