.contact .main-visual-section .bg-area {
    background: url(../img/CONTACT/main-visual-contact.png) center no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
}

.contact-form-section {
    text-align: center;
}

.contact-form-section .wrapper {
    padding-top: 150px;
}

.contact-info {
    max-width: 530px;
    border-radius: 10px;
    font-weight: 500;
    position: relative;
    padding: 22px 30px;
    margin: 50px auto 100px;
}

.contact-info p {
    position: relative;
    padding-bottom: 10px;
    font-size: 24px;
}

.contact-info p::after {
    content: "";
    display: block;
    width: 2.4em;
    height: 2px;
    background: #fff;
    position: absolute;
    bottom: 0;
    left: 50%;
    translate: -50%;
}

.contact-info.line {
    background: #99CEAE;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.line-content {
    width: 70%;
}

.contact-info.line p {
    color: #547E65;
}

.contact-info.line .btn {
    font-family: "FOT-TsukuMinPro-D", sans-serif;
    background: #fff;
    border-radius: 999px;
    color: #333333;
    padding: 8px 24px;
    padding-right: 42px;
    margin: 0 auto;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 270px;
    width: 100%;
    gap: 12px;
    position: relative;
}

.contact-info.line .btn::after {
    content: "";
    position: absolute;
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    border-top: 2px solid #333333;
    border-right: 2px solid #333333;
    transform: rotate(45deg) translateY(-50%);
    top: 50%;
    right: 24px;
}

.contact-form-section .note {
    margin-bottom: 50px;
}

form {
    color: #D9A8B2;
    text-align: left;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    font-size: 16px;
}

.radio-btn-wrap {
    font-family: "FOT-TsukuMinPro-D", sans-serif;
    margin-bottom: 40px;
    align-items: center;
    padding-left: 12%;
}

.radio-btn-wrap label:first-child {
    margin-right: 50px;
}

span.mwform-radio-field-text {
    vertical-align: middle;
}

/* ラジオボタン全体のリセットと基本スタイル */
.contact-radio {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #D9A8B2;
    /* 外枠の色 */
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    margin-right: 8px;
    vertical-align: middle;
}

/* 選択された状態の中の丸 */
.contact-radio:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 10px;
    height: 10px;
    background-color: #D9A8B2;
    /* 内側の丸の色 */
    border-radius: 50%;
}

.text-form-wrap {
    margin-bottom: 30px;
    color: #333;
}

.text-form-wrap label {
    font-family: "futura-pt", sans-serif;
    display: inline-block;
    width: 12%;
    color: #D9A8B2;
}

.text-form-wrap input,
.text-form-wrap textarea {
    width: 87%;
    height: 2.5em;
    border: 1px solid #C2C2C2;
    border-radius: 4px;
}

.text-form-wrap textarea {
    height: 9em;
}

.text-form-wrap.message label {
    vertical-align: top;
}

.text-form-wrap label.required::after {
    content: "必須";
    display: inline-block;
    background: #DEB4A5;
    color: #fff;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 700;
    vertical-align: middle;
    margin-left: 30px;
    padding: 4px 8px;
}

.privacy-agreement {
    font-family: "FOT-TsukuMinPro-D", sans-serif;
    text-align: center;
}

.mwform-checkbox-field input {
    vertical-align: baseline;
}

.privacy-agreement a {
    color: #777777;
}

form .btn-wrap {
    text-align: center;
}

.contact-form-section .more-btn {
    text-align: center;
    margin-top: 50px;
}

form .btn-wrap .more-btn {
    color: #fff;
    font-family: "FOT-TsukuMinPro-D", sans-serif;
    font-size: 16px;
    letter-spacing: 0.5em;
    width: 197px;
    padding: 10px 0;
    position: relative;
}

.underline {
    text-decoration: underline;
}

.underline:hover {
    text-decoration: none;
}

.more-btn.back {
    color: #fff;
    transition: all .5s ease;
}

@media (any-hover: hover) {
    .more-btn.back:hover {
        color: #D9A8B2;
    }
}

.mw_wp_form .error {
    margin-left: 13%;
}

.privacy-agreement .error {
    margin-left: 0;
}

.contact-form-section.end .note {
    margin-top: 20px;
}

/* お問い合わせ内容確認画面 */
.contact-form-section.confirmation .text-form-wrap {
    display: flex;
}
.contact-form-section.confirmation .btn-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

.contact-form-section.confirmation .btn-wrap-back {
    color: #fff;
}

.contact-form-section.confirmation .privacy-agreement {
    display: none;
}

/* form .btn-wrap .more-btn::after {
    content: "";
    position: absolute;
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: rotate(45deg) translateY(-50%);
    top: 50%;
    right: -1em;
    transition: all .5s ease;
} */

@media (any-hover: hover) {
    form .btn-wrap .more-btn:hover {
        background-color: #fff;
        color: #D9A8B2;
        opacity: 1;
    }

    form .btn-wrap .more-btn:hover::after {
        border-top: 2px solid #D9A8B2;
        border-right: 2px solid #D9A8B2;
        translate: 50%;
    }
}

@media screen and (max-width:1440px) {
    .contact-info-wrap {
        flex-direction: column;
        align-items: center;
        margin: 30px auto 100px;
        gap: 30px;
    }

    .contact-info {
        max-width: 530px;
        width: 100%;
        padding: 20px;
    }

    .contact-info.line {
        flex-direction: column;
    }

    .line-content {
        width: 100%;
    }

    .contact-info.line .btn {
        margin: 10px auto;
    }

    .contact-info.line .btn img {
        height: 30px;
    }
}