/*
page contact
-------------------------------------------------*/
.p-contact {
    padding: 126px 0 105px;
    background-color: #FFFBF7;
}

.p-contact__inner {
    max-width: 1154px;
    margin: 0 auto;
    padding: 0 31px;
    width: 100%;
}
.p-contact__header {
    margin-bottom: 8.1rem;
}
.p-contact__title {
    display: flex;
    flex-direction: column;
    color: #5B4D46;
    margin: 0;
}

.p-contact__title-ja {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: normal;
    font-size: 1.6rem;
    line-height: 1.8;
}

.p-contact__title-en {
    font-family: "adobe-garamond-pro", serif;
    font-weight: normal;
    font-size: 4rem;
    line-height: 1.35;
    letter-spacing: 0.08em;
}

.p-contact__form {
    max-width: 718px; 
    margin: 0 auto;
    width: 100%;
}
.wpcf7 form br {
    display: none;
}
.contact-form__field {
    margin-bottom: 3.9rem;
}
.contact-form__field p {
    margin: 0;
}

.contact-form__label  {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: normal;
    font-size: 1.6rem;
    line-height: 1.8;
    letter-spacing: 0;
    color: #5B4D46;
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 2.4rem;
}
.contact-form__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    padding: 5px;
    border: 1px solid #5B4D46;
    border-radius: 2px;
    min-width: 40px;
}
.contact-form__input,
.contact-form__textarea {
    width: 100%;
    background-color: #C6C3C11C;
    border: 1px solid #C6C3C1;
    border-radius: 4px;
    padding: 20px 25px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.45;
    color: #5B4D46;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    margin: 0;
    -webkit-appearance: none;
}
.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
    opacity: 0.6;
    color: #5B4D46;
}

.contact-form__textarea {
    min-height: 260px;
    aspect-ratio: 328 / 260;
    resize: vertical;
}

.contact-form__submit {
    max-width: 328px;
    width: 100%;
    margin: 5.1rem auto 0;
    position: relative;
    background-image: url(../../img/sp_reserve_button_frame.png);
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}
.contact-form__submit::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 100px;
    transform: translateY(-50%) rotate(-90deg);
    width: 15px;
    height: 13px;
    background-image: url(../../img/arrow.svg);
}
@media (any-hover: hover) {
    .contact-form__submit:hover {
            background-image: url('../../img/pc_reserve_button_frame_hover.png');
            background-size: 100% 100%;
    }
    .contact-form__submit:hover::after {
        transform: translate(3px, -50%) rotate(-90deg);
    }
}

.contact-form__submit p {
    margin: 0;
}

.contact-form__button {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 328px;
    width: 100%;
    height: initial;
    aspect-ratio: 328 / 88;
    background: none;
    color: #5B4D46;
    text-decoration: none;
    font-size: 1.6rem;
    transition: background-image 0.3s ease;
    border: none;
    cursor: pointer;
    appearance: none;
}
.wpcf7-spinner {
    position: absolute;
}
.wpcf7-not-valid-tip {
    font-size: 1.2rem;
    color: #dc3232;
    margin-top: 8px;
}

@media (min-width: 750px) {
    .p-contact {
        padding: 207px 0 117px;
    }
    .p-contact__header {
        margin-bottom: 7.7rem;
    }
    .contact-form__field {
        margin-bottom: 3.85rem;
    }
    .contact-form__label  {
        gap: 21px;
        margin-bottom: 2.55rem;
    }
    .contact-form__textarea {
        min-height: 260px;
        aspect-ratio: 656 / 260;
    }
    .contact-form__submit {
        max-width: 447px;
        width: 447px;
        aspect-ratio: 447/88;
        background-image: url(../../img/pc_reserve_button_frame.png);
    }
    .contact-form__submit::after {
        right: 150px;
    }
    .contact-form__button {
        max-width: 447px;
        width: 447px;
        aspect-ratio: 447/88;
    }
}


