.contact__step {
    display: flex;
    position: relative;
    width: 190px;
    justify-content: space-between;
    margin: 0 auto 60px;
}

.contact__step::after {
    content: "";
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translate(-50%, -50%);
    /* width: 100%; */
    width: 30px;
    height: 1px;
    background-color: #e2c2b0;
    z-index: -1;
}

.contact__step li .num {
    display: block;
    width: 70px;
    height: 70px;
    /* background-color: #dddddd;
    border-radius: 50%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.6rem;
    font-family: Helvetica, Verdana, sans-serif; */
    margin-bottom: 10px;
}

.contact__step li .txt {
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    color: #a3394eb3;
    display: block;
}

/* .contact__step li.active .num {
    background-color: #acd6dd;
    color: #000000;
} */


.contact__step li.active .txt {
    color: #a3394e;
}


.contact__main-txt {
    font-weight: 500;
    font-size: 2.4rem;
    text-align: center;
    line-height: 1.5;
}

.contact__caution-list {
    width: 840px;
    max-width: 100%;
    margin: 35px auto 0;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact__caution-list li {
    position: relative;
    padding-left: 1em;
    font-size: 1.5rem;
    line-height: 2;

    text-align: center;
    width: fit-content;
}

.contact__caution-list li::before {
    content: "※";
    position: absolute;
    left: 0;
    top: 0;
}

@media(max-width:1000px) {
    .contact__caution-list {
        display: flex;
        flex-direction: column;
        align-items: start;
    }

    .contact__caution-list li {
        text-align: start;
        width: 100%;
    }

}

@media(max-width:500px) {
    .contact__caution-list {
        margin: 25px auto 0;
    }
}

/* form */
.contact__form-area {
    background-color: #f7eee8;
    border-radius: 20px;
    padding: 50px 0;
    margin-top: 50px;
}

@media(max-width:500px) {
    .contact__form-area {
        width: 100%;
        padding: 35px 0;
        margin-top: 35px;
    }

}

.contact__table {
    display: flex;
    flex-wrap: wrap;
}

.contact__table dt {
    position: relative;
    width: 370px;
    min-height: 91px;
    padding: 20px 0;
}

@media(max-width:1500px) {
    .contact__table dt {
        width: 300px;
    }
}

.contact__table .contact__dt-w100 {
    width: 100%;
}

.contact__table dt>P {
    font-size: 2.1rem;
    line-height: 1.5;
    font-weight: bold;
    padding-top: 15px;
    padding-left: 60px;
}

/* inner1350 */
@media(max-width:1500px) {
    .contact__table dt>P {
        font-size: 1.8rem;
    }
}

.contact__table dt .require-txt {
    position: absolute;
    top: 40px;
    left: 0px;
    display: inline-block;
    font-size: 1.2rem;
    line-height: 1.4;
    color: #fff;
    background-color: #a3394e;
    border-radius: 5px;
    padding: 2px 8px 1px;
}

.contact__table dt .non-require-txt {
    position: absolute;
    font-size: 1.2rem;
    color: #969696;
    border: 1px solid #969696;
    display: inline-block;
    padding: 8px 12px;
    border-radius: 50px;
    top: 29px;
    right: 20px;
}


.contact__table dd {
    min-height: 91px;
    width: calc(100% - 370px);
    padding: 20px 0;
}

@media(max-width:1500px) {
    .contact__table dd {
        width: calc(100% - 300px);
    }
}

.contact__dd-address01 p {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2.1rem;
}

.contact__dd-address02 {
    margin-top: 25px;
}

.contact__table .contact__dd-textarea {
    width: 100%;
    padding-top: 0;
}

.contact__table dd input[type="text"],
.contact__table dd input[type="email"],
.contact__table dd input[type="tel"],
.contact__table dd textarea {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    background: #fff;
    line-height: 1.6;
    border-radius: 30px;
}

.contact__table dd input[type="text"]:focus,
.contact__table dd input[type="email"]:focus,
.contact__table dd input[type="tel"]:focus,
.contact__table dd textarea:focus {
    outline: none;
    box-shadow: 0px 0px 3px 0px #e4c5c5;
}

.contact__dd-address01 p input[type="tel"] {
    width: 250px;
    max-width: 100%;
}

.contact__table dd textarea {
    height: 300px;
    resize: none;
    padding: 20px 25px;
    border-radius: 20px;
}


input[type="radio"] {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

.wpcf7-list-item.first {
    margin-left: 0;
}

span.wpcf7-list-item-label {
    font-size: 1.6rem;
    font-weight: 400;
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

span.wpcf7-list-item-label::before {
    display: block;
    content: "";
    border-radius: 50%;
    border: 1px solid #debcaa;
    background-color: #fff;
    width: 24px;
    height: 24px;
    margin-right: 15px;
}

/* 選択中 */
span.wpcf7-list-item-label::after {
    display: block;
    position: absolute;
    content: "";
    border-radius: 50%;
    width: 14px;
    height: 14px;
    background-color: #a3394e;
    /* border: 4px solid #3eb1eb; */
    /* border: 4px solid #fff; */
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}

input[type="radio"]:checked+span.wpcf7-list-item-label::after {
    display: block;
}

span[data-name="radio-orf"],
span[data-name="radio-subject"] {
    display: inline-block;
    transform: translateY(-6px);
}

.privacy-slide-bl {
    width: 1100px;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 10px;
    border: 1px solid #debcaa;
    background-color: #faf5f2;
    padding: 50px;
    height: 400px;
    overflow-y: scroll;
    /*はみ出たらスクロールバー表示*/
    margin-top: 60px;
    scrollbar-width: 16px;
    /*スクロールバーFirefox用*/
    scrollbar-color: #eeeeee;
    /*スクロールバーFirefox用*/
}

.privacy-slide-bl p {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.88;

}

.privacy-from {
    margin-top: 40px;
}

.privacy-slide-bl p.privacy-name-txt {
    margin-bottom: 15px;
}

.privacy-slide-bl::-webkit-scrollbar-thumb {
    background-color: #eeeeee;
    /*スクロールバーの移動できる部分*/
    border-radius: 8px;
    /*角丸*/
    border: 5px solid #fff;
    /*スクロールバーの境界線*/
}

.privacy-slide-bl::-webkit-scrollbar-track {
    background-color: #fff;
    /*スクロールバーの背景色*/
}

.privacy-slide-bl::-webkit-scrollbar {
    width: 16px;
    /*スクロールバー全体の太さ*/
}

.privacy-ttl-wrap {
    position: relative;
}

p.privacy-ttl-en {
    text-align: center;
    font-weight: 400;
    color: #f1e8f4;
    font-size: 4.8rem;
    line-height: 1;
    margin-bottom: 50px;
}

.privacy-ttl {
    /* position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%); */
    text-align: center;
    white-space: nowrap;
    font-weight: 500;
    line-height: 1.5;

    font-size: 3.2rem;
    /* margin-top: -30px; */
    margin-bottom: 30px;
}

.privacy-ttl-middle {
    position: relative;
    font-size: 2rem;
    font-weight: 500;
    /* background-color: #f3eef2; */
    line-height: 1.7;
    padding: 5px 0 5px 18px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.privacy-ttl-middle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: #bd717f;
}

.privacy-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.privacy-list li {
    position: relative;
    padding-left: 14px;
}

.privacy-list li::after {
    content: '';
    position: absolute;
    top: 13px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #bd717f;
}

.privacy-list li p {
    margin-bottom: 0;
}

.contact-submit-wrap {
    position: relative;
    /* width: fit-content; */
    width: 100%;
    max-width: 303px;
    height: 64px;
    margin: 80px auto 0;
    transition: all .3s ease-in-out;
    cursor: pointer;
}

.contact-submit-wrap::after {
    font-size: 2rem;
    font-weight: 400;
    font-family: "Material Symbols Outlined";
    content: '\e5c8';
    color: #fff;

    display: inline-block;
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    top: 50%;
    transform: translate(0, -65%);
    right: 15px;
}

.contact-submit-wrap p {
    position: relative;
    width: 100%;
}

.contact-submit-wrap:hover {
    opacity: .6;
    transition: all .3s ease-in-out;
}

input[type="submit"] {
    display: block;
    width: 100%;
    height: 64px;
    line-height: 64px;
    border-radius: 32px;
    font-size: 1.6rem;
    font-weight: 500;
    color: #fff;
    background-color: #a3394e;
    border: none;
    transition: all 0.3s linear;
    text-align: start;
    padding-left: 30px;
}

/* チェックボックス・ラジオボタン */
.cf7__list dd .wpcf7-checkbox,
.cf7__list dd .wpcf7-radio {
    display: block;
    padding: 15px 0 10px;
}

/* 縦並び */
.cf7__list dd .wpcf7-list-item {
    display: block;
    margin: 0;
}

.cf7__list dd .wpcf7-list-item:nth-child(n + 2) {
    margin-top: 18px;
}

.cf7__list dd .wpcf7-list-item label {
    cursor: pointer;
}

input[type="checkbox"],
input[type="radio"] {
    /* position: relative; */
    width: 18px;
    height: 18px;
    margin-right: 8px;
    border: 1px solid #bcbcbc;
    vertical-align: -3px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="checkbox"] {
    width: 24px;
    height: 24px;
    border: 1px solid #debcaa;
    border-radius: 3px;
    background-color: #fff;
}

input[type="checkbox"]:checked {
    /* border: 1px solid #debcaa;
    border-radius: 3px; */
    /* background: #3eb1eb; */
}

input[type="checkbox"]:checked:before {
    content: '';
    position: absolute;
    top: 2px;
    left: 8px;
    transform: rotate(50deg);
    width: 10px;
    height: 14px;
    border-right: 2px solid #a3394e;
    border-bottom: 2px solid #a3394e;
}

#privacy-policy-checkbox span.wpcf7-list-item-label::before {
    display: none;
}

.privacy-label {
    display: flex;
}

span[data-name="privacy-check"] {
    margin: 30px auto 0;
    display: block;
    width: fit-content;
}

span[data-name="privacy-check"] .wpcf7-list-item-label::before {
    display: none;
}

span[data-name="privacy-check"] .wpcf7-list-item {
    label {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }
}

/* //エラーメッセージ調整 */
.wpcf7-form-control-wrap {
    display: block;
}

.wpcf7-not-valid-tip {
    font-size: 12px !important;
    position: absolute;
    bottom: -25px;
}

/* 送信完了ページ */
.thanks__txt {
    text-align: center;
    font-weight: 500;
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 70px;
    line-height: 1.6;
}

.thanks__btn {
    position: relative;
    height: 64px;
    margin-left: auto;
    margin-right: auto;

    /* background: #3eb1eb;
    border: none;
    color: #fff;
    width: 240px;
    height: 60px;
    border-radius: 60px;
    font-size: 17px;
    font-weight: bold;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center; */
}


.thanks__btn::before {
    font-size: 2rem;
    font-weight: 400;
    font-family: "Material Symbols Outlined";
    content: '\e5c8';
    color: #fff;

    display: inline-block;
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    top: 50%;
    transform: translate(0, -50%);
    right: 15px;
}


.wpcf7 form .wpcf7-response-output {
    padding: 0.8em 1em 0.6em;
}

.contact-date-wrap {
    border: 1px solid #ddd;
    padding: 30px 35px;
    margin-top: 30px;
}

.contact-date-ttl {
    margin-bottom: 25px;
}

.contact-date-lead {
    margin-bottom: 15px;
}

.contact-date-txt {
    font-size: 1.6rem;
}

.contact-date-flex {
    display: flex;
    align-items: center;
}

.contact-date-flex:nth-last-of-type(1) {
    margin-top: 20px;
}

.contact__table .wpcf7-list-item {
    width: 50%;
    display: inline-block;
    margin: 10px 0 0 0em;
}

.contact__table .wpcf7-list-item:nth-of-type(1),
.contact__table .wpcf7-list-item:nth-of-type(2) {
    margin-top: 20px;
}

/* .contact__table .wpcf7-list-item:last-child {
    width: 12%;
    display: inline-block;
    margin: 0 0 0 0em;
} */

.contact__table dt {
    font-weight: 700;
}

.require-txt {
    font-family: initial;
}



.contact__table textarea::placeholder {
    font-weight: 400;
    color: #999;
}

.contact-date-wrap .wpcf7-form-control-wrap {
    width: 100px;
    height: 50px;
    font-size: 16px;
    background: #f5f5f2;
    line-height: 1.6;
    border-radius: 3px;
    margin: 0 5px 0 15px;
}

.contact-date-wrap .contact-date-flex.contact-date-txt .wpcf7-form-control-wrap:nth-child(2) {
    width: 140px;
}

.contact-date-wrap .wpcf7-form-control.wpcf7-select {
    font-size: 1.6rem;
    width: 100%;
    height: 100%;
    padding: 15px;
}

.contact-date-wrap .wpcf7-form-control-wrap {
    position: relative;
}

.contact-date-wrap .wpcf7-form-control-wrap::before,
.contact-date-wrap .wpcf7-form-control-wrap::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    width: 2px;
    border-radius: 1px;
    height: 8px;
    background-color: #333;
}

.contact-date-wrap .wpcf7-form-control-wrap::before {
    transform: rotate(-45deg);
    right: 20px;
}

.contact-date-wrap .wpcf7-form-control-wrap::after {
    transform: rotate(45deg);
}

input#file-upload-button {
    font-size: 1.6rem;
    text-align: center;
    width: 200px;
    height: 60px;
    border-radius: 30px;
    background-color: #dbc6e3;
}

/* .wpcf7-form-control.wpcf7-file {
    font-size: 1.6rem;
    text-align: center;
    width: 200px;
    height: 60px;
    border-radius: 30px;
    background-color: #dbc6e3;
} */

/* label.file {
    display: block;
    font-size: 1.6rem;
    text-align: center;
    width: 200px;
    height: 60px;
    line-height: 60px;
    border-radius: 30px;
    background-color: #dbc6e3;
    cursor: pointer;
} */

/* label.file::before{
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    content: "\f030";
  } */
/* label.file input {
    display: none;
} */

.cotact-input__detail {
    margin-top: 10px;
}

/* contact form 7 のチェックボックスカスタマイズ */

.wpcf7-form-control-wrap:has(.privacy-check) {
    margin: 30px auto 0;
    display: block;
    width: fit-content;
}

.privacy-check .wpcf7-list-item-label {
    font-size: 1.8rem;
    font-weight: 700;
    color: #a3394e;
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.privacy-check .wpcf7-list-item-label::before {
    height: 24px;
    margin-right: 10px;
    top: -1px;
    width: 24px;
}

.privacy-check input[type=checkbox]:checked+.wpcf7-list-item-label::after {
    height: 17px;
    left: 7px;
    top: 1px;
    width: 9px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
}

@media (max-width: 1500px) {
    /* .contact__table dd {
        width: calc(100% - 250px);
    }

    .contact__table dt {
        width: 250px;
    } */
}

@media (max-width: 1100px) {
    .contact__table .wpcf7-list-item {
        width: 33%;
    }

    /* .contact__table .wpcf7-list-item:last-child {
        width: 33%;
    } */


    .contact-date-wrap .wpcf7-form-control-wrap {
        width: 70px;
        height: 50px;
        font-size: 16px;
        background: #f5f5f2;
        line-height: 1.6;
        border-radius: 3px;
        margin: 0 5px 0 15px;
    }

    .contact-date-wrap .contact-date-flex.contact-date-txt .wpcf7-form-control-wrap:nth-child(2) {
        width: 90px;
    }

    .contact-date-wrap .contact-date-flex.contact-date-txt .wpcf7-form-control-wrap:nth-child(5) {
        width: 85px;
    }

    .contact-date-wrap .wpcf7-form-control.wpcf7-select {
        width: 100%;
        height: 100%;
        padding: 15px 10px;
    }
}

@media (max-width: 1000px) {
    .contact__table .wpcf7-list-item {
        width: 50%;
    }

    /* .contact__table .wpcf7-list-item:last-child {
        width: 50%;
    } */
    .contact-date-wrap {
        padding: 30px 25px;
        margin-top: 30px;
    }
}

@media (max-width: 834px) {
    .contact__table .wpcf7-list-item {
        width: 100%;
        margin-top: 10px;
    }

    .contact__table .wpcf7-list-item:nth-of-type(1) {
        margin-top: 15px;
    }

    .contact__table .wpcf7-list-item:nth-of-type(2) {
        margin-top: 10px;
    }

    /* .contact__table .wpcf7-list-item:last-child {
        width: 100%;
    } */

    .contact__table dt {
        width: 100%;
        padding: 20px 0 11px;
        position: relative;
        min-height: auto;
    }

    .contact__table dd {
        min-height: initial;
        width: 100%;
        padding: 0 0 20px;
        /* border-bottom: 1px solid #ccc; */
    }

    .contact__table dt>P {
        padding-top: 0;
        padding-left: 55px;
    }

    .contact__table dt .require-txt {
        top: 21px;
        left: 0;
        font-size: 1.2rem;
        padding: 4px 9px;
        margin-left: 0px;
    }

    .contact__table dt .non-require-txt {
        top: 17px;
        right: auto;
        font-size: 1.2rem;
        padding: 4px 9px;
        margin-left: 11px;
    }

    .privacy-slide-bl {
        padding: 25px 10px 25px 20px;
        margin-top: 30px;
    }

    .privacy-ttl {
        padding: 8px 10px 5px;
        font-size: 1.9rem;
        margin-bottom: 15px;
    }

    .privacy-slide-bl p {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }

    .privacy-ttl-middle {
        font-size: 1.7rem;
    }

    .privacy-ttl-middle::before {
        width: 3px;
    }

    .privacy-check .wpcf7-list-item-label {
        font-size: 1.6rem;
    }

    input[type=submit] {
        margin: 15px auto 0;
    }

    .contact__table dd input[type=text],
    .contact__table dd input[type=email],
    .contact__table dd input[type=tel],
    .contact__table dd textarea {
        margin-top: 3px;
        font-size: 14px;
    }

    input[type="radio"]+.wpcf7-list-item-label {
        font-size: 1.5rem;
    }

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

    .wpcf7-not-valid-tip {
        font-size: 11px !important;
        white-space: nowrap;
    }

    .contact-submit-wrap {
        margin: 40px auto 0;
    }

    .contact__step {
        width: 150px;
        margin: 0 auto 30px;
    }

    .contact__step::after {
        top: 25px;
    }

    .contact__step li .txt {
        font-size: 1.4rem;
    }

    .contact__step li .num {
        width: 50px;
        height: 50px;
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .contact__main-txt {
        font-size: 1.9rem;
    }

    .contact-date-txt {
        font-size: 1.4rem;
    }

    .contact-date-wrap .wpcf7-form-control.wpcf7-select {
        font-size: 1.4rem;
    }
}

@media (max-width: 640px) {
    .contact-date-wrap {
        padding: 30px 15px;
        margin-top: 30px;
    }

    .contact-date-flex {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        row-gap: 10px;
    }

    .contact-date-flex span:first-of-type {
        width: 100%;
    }

    .contact-date-wrap .wpcf7-form-control-wrap {
        width: 48px;
        height: 50px;
        font-size: 14px;
        background: #f5f5f2;
        line-height: 1.6;
        border-radius: 3px;
        margin: 0 4px 0 4px;
    }

    .contact-date-wrap .contact-date-flex.contact-date-txt .wpcf7-form-control-wrap:nth-child(2) {
        width: 64px;
        margin: 0 4px 0 0px;
    }

    .contact-date-wrap .contact-date-flex.contact-date-txt .wpcf7-form-control-wrap:nth-child(5) {
        width: 63px;
        margin: 0 0px 0 4px;
    }

    .contact-date-wrap .wpcf7-form-control-wrap::before,
    .contact-date-wrap .wpcf7-form-control-wrap::after {
        content: '';
        position: absolute;
        top: 50%;
        right: 10px;
        width: 1px;
        border-radius: 1px;
        height: 5px;
        background-color: #333;
    }

    .contact-date-wrap .wpcf7-form-control-wrap::before {
        transform: rotate(-45deg);
        right: 13px;
    }

    .contact-date-wrap .wpcf7-form-control-wrap::after {
        transform: rotate(45deg);
    }
}

@media (max-width: 450px) {}