/* Nuvéa 素肌 — 便箋のような問い合わせ欄。
   椿色 #9C3040 は手紙の一筆。セージ #1F4D42 は施術室の静けさ。
   背景はページの色を活かし、欄だけを白く置く。 */

.nuvea-sf-wrap {
    --nuvea-ink: #1a2421;
    --nuvea-muted: #5c6b66;
    --nuvea-line: #d5ded9;
    --nuvea-line-strong: #c9d4cf;
    --nuvea-camellia: #9c3040;
    --nuvea-camellia-dark: #7a2432;
    --nuvea-sage: #1f4d42;
    --nuvea-paper: #f4f7f5;
    --nuvea-white: #ffffff;
    container-type: inline-size;
    container-name: nuvea;
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
    color: var(--nuvea-ink);
    font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.nuvea-sf-wrap *,
.nuvea-sf-wrap *::before,
.nuvea-sf-wrap *::after {
    box-sizing: border-box;
}

.nuvea-sf-wrap [hidden] {
    display: none !important;
}

.nuvea-sf {
    position: relative;
    margin: 0;
    padding: 1.6rem 1.5rem 1.75rem;
    background: var(--nuvea-white);
    border: 1px solid #e2e8e5;
}

.nuvea-sf__hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.nuvea-sf__intro {
    margin: 0 0 1.35rem;
}

.nuvea-sf__title {
    margin: 0 0 0.35rem;
    color: var(--nuvea-ink);
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.12em;
}

.nuvea-sf__lead {
    margin: 0;
    color: var(--nuvea-muted);
    font-size: 0.92rem;
}

.nuvea-sf__alert {
    margin: 0 0 1.15rem;
    padding: 0.85rem 1rem;
    background: #f8f1f2;
    border: 1px solid #e7c5cb;
    border-left: 4px solid var(--nuvea-camellia);
    color: var(--nuvea-camellia-dark);
    font-size: 0.92rem;
}

.nuvea-sf__alert-title {
    margin: 0;
    font-weight: 500;
}

.nuvea-sf-wrap .nuvea-sf__alert ul {
    margin: 0.45rem 0 0;
    padding-left: 1.15rem;
}

.nuvea-sf-wrap .nuvea-sf__alert li + li {
    margin-top: 0.2rem;
}

.nuvea-sf__field {
    margin: 0 0 1.15rem;
}

.nuvea-sf__field--break {
    margin-top: 1.45rem;
    padding-top: 1.35rem;
    border-top: 1px solid var(--nuvea-line);
}

.nuvea-sf__label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.4rem;
    color: var(--nuvea-ink);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.4;
}

.nuvea-sf__req {
    display: inline-block;
    padding: 0.05rem 0.4rem 0.08rem;
    background: var(--nuvea-camellia);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.08em;
}

.nuvea-sf-wrap .nuvea-sf__control {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0.72rem 0.85rem;
    border: 1px solid var(--nuvea-line-strong);
    border-radius: 0;
    background-color: var(--nuvea-white);
    background-image: none;
    box-shadow: none;
    color: var(--nuvea-ink);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.01em;
    appearance: none;
    -webkit-appearance: none;
}

.nuvea-sf-wrap .nuvea-sf__control::placeholder {
    color: #8d9c97;
    opacity: 1;
}

.nuvea-sf-wrap .nuvea-sf__control:focus {
    outline: none;
    border-color: var(--nuvea-sage);
    box-shadow: 0 0 0 3px rgba(31, 77, 66, 0.14);
}

.nuvea-sf-wrap select.nuvea-sf__control {
    padding-right: 2.2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%231F4D42' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 0.65rem;
    cursor: pointer;
}

.nuvea-sf-wrap textarea.nuvea-sf__control {
    min-height: 4.5rem;
    resize: vertical;
    overflow-wrap: anywhere;
}

.nuvea-sf-wrap textarea.nuvea-sf__message {
    min-height: 8.5rem;
}

.nuvea-sf__field.is-invalid .nuvea-sf__control,
.nuvea-sf__field.is-invalid .nuvea-sf__control:focus {
    border-color: var(--nuvea-camellia);
    background-color: #fdf8f8;
    box-shadow: 0 0 0 3px rgba(156, 48, 64, 0.14);
}

.nuvea-sf__hint,
.nuvea-sf__status {
    margin: 0.35rem 0 0;
    color: var(--nuvea-muted);
    font-size: 0.78rem;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.nuvea-sf__status {
    color: var(--nuvea-sage);
}

.nuvea-sf__error {
    display: none;
    margin: 0.45rem 0 0;
    color: var(--nuvea-camellia-dark);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.55;
}

.nuvea-sf-wrap .nuvea-sf__field.is-invalid .nuvea-sf__error {
    display: block !important;
    padding: 0.5rem 0.7rem;
    background: #f8f1f2;
    border-left: 4px solid var(--nuvea-camellia);
}

.nuvea-sf__ziprow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
    align-items: stretch;
}

.nuvea-sf__ziprow .nuvea-sf__control {
    width: 100%;
    min-width: 0;
}

.nuvea-sf-wrap button.nuvea-sf__zipbtn {
    flex: 0 0 auto;
    margin: 0;
    padding: 0.72rem 0.95rem;
    border: 1px solid var(--nuvea-sage);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--nuvea-sage);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.06em;
    white-space: nowrap;
    cursor: pointer;
}

.nuvea-sf-wrap button.nuvea-sf__zipbtn:hover,
.nuvea-sf-wrap button.nuvea-sf__zipbtn:focus-visible {
    background: var(--nuvea-sage);
    color: #fff;
}

.nuvea-sf-wrap button.nuvea-sf__zipbtn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.nuvea-sf__choices {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.nuvea-sf-wrap .nuvea-sf__choices button {
    margin: 0;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--nuvea-line);
    border-radius: 0;
    background: var(--nuvea-paper);
    box-shadow: none;
    color: var(--nuvea-ink);
    font-family: inherit;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;
}

.nuvea-sf-wrap .nuvea-sf__choices button:hover,
.nuvea-sf-wrap .nuvea-sf__choices button:focus-visible {
    border-color: var(--nuvea-sage);
}

.nuvea-sf__consent {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin: 0;
    color: var(--nuvea-ink);
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.6;
}

.nuvea-sf-wrap .nuvea-sf__consent input {
    flex: 0 0 auto;
    width: 1.05rem;
    height: 1.05rem;
    margin: 0.28rem 0 0;
    accent-color: var(--nuvea-camellia);
}

.nuvea-sf-wrap .nuvea-sf__consent a {
    color: var(--nuvea-camellia);
    text-underline-offset: 0.15em;
}

.nuvea-sf__actions {
    margin-top: 0.4rem;
}

.nuvea-sf-wrap button.nuvea-sf__submit {
    display: block;
    width: 100%;
    min-height: 3.35rem;
    margin: 0;
    padding: 0.9rem 1.5rem;
    border: 0;
    border-radius: 0;
    background: var(--nuvea-camellia);
    box-shadow: none;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.22em;
    text-indent: 0.22em;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.nuvea-sf-wrap button.nuvea-sf__submit:hover,
.nuvea-sf-wrap button.nuvea-sf__submit:focus-visible {
    background: var(--nuvea-camellia-dark);
    color: #fff;
}

.nuvea-sf-wrap button.nuvea-sf__submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.nuvea-sf-wrap button.nuvea-sf__submit:focus-visible,
.nuvea-sf-wrap button.nuvea-sf__zipbtn:focus-visible,
.nuvea-sf-wrap .nuvea-sf__choices button:focus-visible {
    outline: 2px solid var(--nuvea-ink);
    outline-offset: 3px;
}

.nuvea-sf__done {
    margin: 0;
    padding: 1.85rem 1.5rem;
    background: var(--nuvea-white);
    border: 1px solid #e2e8e5;
}

.nuvea-sf__done-text {
    margin: 0;
    color: var(--nuvea-ink);
    line-height: 1.85;
    letter-spacing: 0.04em;
    white-space: pre-wrap;
}

@media (max-width: 480px) {
    .nuvea-sf,
    .nuvea-sf__done {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .nuvea-sf__title {
        font-size: 1.35rem;
        letter-spacing: 0.08em;
    }
}

@container nuvea (max-width: 32rem) {
    .nuvea-sf__ziprow {
        grid-template-columns: 1fr;
    }

    .nuvea-sf-wrap button.nuvea-sf__zipbtn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nuvea-sf-wrap *,
    .nuvea-sf-wrap *::before,
    .nuvea-sf-wrap *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
