/* CONTACT FORM COPIED FROM OTHERS
---------------------------------------- */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.contact {
    font-family: hiragino-kaku-gothic-pron, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", serif;
    padding-inline: 0.313rem;
    color: #ffffff;
}

.contact__link {
    gap: 1rem;
    display: flex;
    margin-block: 1rem 3rem;
}

@media screen and (min-width: 768px) {
    .contact__link {
        gap: 2.625rem;
        margin: 6.25rem 0.625rem;
    }
}

.contact__link-wrap {
    display: flex;
    flex-basis: 50%;
    flex-direction: column;
    color: #4d4449;
    border-radius: 0.328rem;
    padding: 1rem 0.813rem 0.813rem;
    background-color: #ceb26a;
}

@media screen and (min-width: 768px) {
    .contact__link-wrap {
        border-radius: 0.625rem;
        padding: 1.563rem;
    }
}

.contact__link-wrap--white {
    background-color: #fff;
}

.contact__link-icon {
    width: 2.943rem;
    height: 2.811rem;
    margin-inline: auto;
}

@media screen and (min-width: 768px) {
    .contact__link-icon {
        width: 3.563rem;
        height: 3.313rem;
    }
}

.contact__link-label {
    display: block;
    font-size: 0.75rem;
    line-height: 1.3;
    text-align: center;
    margin-block: 0.938rem 0.625rem;
    letter-spacing: 0.1em;
    font-weight: 600;
}

@media screen and (min-width: 768px) {
    .contact__link-label {
        font-size: 1.563rem;
        margin-block: 1.875rem 1.25rem;
    }
}

.contact__link-text {
    display: block;
    font-size: 0.5rem;
    margin-inline: auto;
    margin-bottom: 0.75rem;
    letter-spacing: 0.12em;
    font-weight: 500;
    line-height: 1.5;
}

@media screen and (min-width: 768px) {
    .contact__link-text {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }
}

.contact__link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1.563rem;
    margin-top: auto;
    font-size: 0.75rem;
    position: relative;
    letter-spacing: 0.14em;
    border-radius: 0.721rem;
    font-weight: 600;
    transition: 0.3s ease;
    border: 1px solid transparent;
    background-color: #fff;
}

@media screen and (min-width: 768px) {
    .contact__link-button {
        height: 3.125rem;
        font-size: 1.375rem;
        padding-left: 0;
        border-radius: 1.563rem;
    }
}

.contact__link-button::after {
    top: 50%;
    right: 0.625rem;
    content: "";
    width: 0.271rem;
    height: 0.479rem;
    position: absolute;
    transform: translateY(-50%);
    transition: 0.3s ease;
    background: url("../images/icon-caret-right.svg") no-repeat center/contain;
}

@media screen and (min-width: 768px) {
    .contact__link-button::after {
        width: 0.5rem;
        height: 0.875rem;
        right: 1.25rem;
    }
}

.contact__link-button:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.contact__link-button--brown {
    font-size: 0.55rem;
    color: #fff;
    background-color: #4d4449;
}

.contact__link-button--brown::after {
    filter: brightness(0) invert(1);
}

.contact__link-button--brown:hover {
    background-color: rgba(77, 68, 73, 0.8);
}

.contact__num {
    margin-bottom: 2rem;
}

@media screen and (min-width: 768px) {
    .contact__link-button--brown {
        font-size: 1.25rem;
    }

    .contact__num {
        margin-bottom: 6.25rem;
    }
}

.contact__num-label {
    display: block;
    width: 100%;
    color: #4d4449;
    font-size: 1.063rem;
    line-height: 1;
    padding: 0.188rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.12em;
    background-color: #ceb26a;
}

@media screen and (min-width: 768px) {
    .contact__num-label {
        font-size: 1.688rem;
        padding: 0.75rem;
        margin-inline: 0.625rem;
    }
}

.contact__num-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    font-size: 1.563rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-top: 0.938rem;
}

@media screen and (min-width: 768px) {
    .contact__num-wrap {
        gap: 1.25rem;
        font-size: 2.188rem;
        margin-top: 1.875rem;
    }
}

.contact__num-wrap::before {
    content: "";
    width: 1.75rem;
    height: 1.75rem;
    background: url("../images/icon-phone.svg") no-repeat center/contain;
}

@media screen and (min-width: 768px) {
    .contact__num-wrap::before {
        width: 3.125rem;
        height: 3.125rem;
    }
}

.contact__num-note {
    display: block;
    text-align: center;
    margin-top: 0.813rem;
    font-size: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.12em;
}

@media screen and (min-width: 768px) {
    .contact__num-note {
        font-size: 1.125rem;
        margin-top: 1.438rem;
    }
}

.contact__form {
    margin-top: 2.188rem;
    padding-inline: 1.25rem;
    scroll-margin-top: 6.25rem;
}

@media screen and (min-width: 768px) {
    .contact__form {
        margin-top: 4.375rem;
        padding-inline: 2.5rem;
        scroll-margin-top: 11.25rem;
    }
}

.contact__form-item:not(:last-child) {
    margin-bottom: 1.75rem;
}

@media screen and (min-width: 768px) {
    .contact__form-item:not(:last-child) {
        margin-bottom: 3.5rem;
    }
}

.contact__form-label {
    display: block;
    font-size: 0.813rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 0.313rem;
}

@media screen and (min-width: 768px) {
    .contact__form-label {
        font-size: 1.438rem;
        margin-bottom: 0.625rem;
    }
}

.contact__form-label--required::after {
    content: "*";
    color: #ceb26a;
}

.contact__form-input input[type=text],
.contact__form-input input[type=email] {
    width: 100%;
    height: 1.688rem;
    font-size: 0.813rem;
    padding-inline: 0.625rem;
    font-family: inherit;
    border-radius: 1.1px;
    letter-spacing: 0.1em;
    background-color: #fff;
    border: 0.5px solid #dbdbdb;
}

@media screen and (min-width: 768px) {
    .contact__form-input input[type=text],
    .contact__form-input input[type=email] {
        height: 2.938rem;
        font-size: 1rem;
        padding-inline: 1.25rem;
    }
}

.contact__form-input input[type=text]::placeholder,
.contact__form-input input[type=email]::placeholder {
    font-size: 0.625rem;
    font-family: inherit;
    font-weight: 600;
    color: #bcbcbc;
}

@media screen and (min-width: 768px) {
    .contact__form-input input[type=text]::placeholder,
    .contact__form-input input[type=email]::placeholder {
        font-size: 1rem;
    }
}

.contact__form-input input[type=checkbox] {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 0;
    border: 0.5px solid #dbdbdb;
}

@media screen and (min-width: 768px) {
    .contact__form-input input[type=checkbox] {
        width: 1.25rem;
        height: 1.25rem;
    }
}

.contact__form-input textarea {
    width: 100%;
    height: 4.563rem;
    resize: none;
    padding: 0.625rem;
    font-size: 0.813rem;
    font-family: inherit;
    border-radius: 1.1px;
    letter-spacing: 0.1em;
}

@media screen and (min-width: 768px) {
    .contact__form-input textarea {
        height: 5rem;
        padding: 1.25rem;
        font-size: 1rem;
    }
}

.contact__form-input textarea::placeholder {
    font-size: 0.625rem;
    font-family: inherit;
    font-weight: 600;
    color: #bcbcbc;
}

@media screen and (min-width: 768px) {
    .contact__form-input textarea::placeholder {
        font-size: 1.25rem;
    }
}

.contact__form-checkbox {
    gap: 0.438rem;
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    cursor: pointer;
    font-weight: 600;
}

@media screen and (min-width: 768px) {
    .contact__form-checkbox {
        gap: 0.875rem;
    }
}

.contact__form-checkbox:not(:last-child) {
    margin-bottom: 0.438rem;
}

@media screen and (min-width: 768px) {
    .contact__form-checkbox:not(:last-child) {
        margin-bottom: 0.875rem;
    }
}

.contact__form-agree {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 0.625rem;
    cursor: pointer;
    letter-spacing: 0.06em;
    line-height: 1.9;
}

@media screen and (min-width: 768px) {
    .contact__form-agree {
        font-size: 1rem;
    }
}

.contact__form-agree input[type=checkbox] {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 0;
    margin-right: 0.625rem;
    border: 0.5px solid #dbdbdb;
}

@media screen and (min-width: 768px) {
    .contact__form-agree input[type=checkbox] {
        width: 0.938rem;
        height: 0.938rem;
        margin-right: 1.25rem;
    }
}

.contact__form-agree a {
    text-decoration: underline;
    text-underline-offset: 0.313rem;
}

.contact__form-agree a::after {
    content: "";
    width: 0.438rem;
    height: 0.438rem;
    display: inline-block;
    background: url("../images/icon-external.svg") no-repeat center/contain;
}

@media screen and (min-width: 768px) {
    .contact__form-agree a::after {
        width: 0.875rem;
        height: 0.875rem;
    }
}

.contact__form-button {
    margin-bottom: 1.25rem;
    text-align: center;
}

.contact__form-button button {
    border: 0;
    padding: 0.5rem 1.563rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #000;
    letter-spacing: 0.14em;
    background-color: #ceb26a;
}

.contact__form .contact__form--error {
    margin-top: 0.625rem;
    font-weight: 600;
    font-size: 1rem;
    color: #ffb3b3;
}

@media screen and (min-width: 768px) {
    .contact__form-button button {
        font-size: 1.5rem;
    }
}