/* WOOOLY お問い合わせページ */

.contact-page {
    width: min(calc(100% - 40px), 1040px);
    margin: 0 auto;
    padding-bottom: 72px;
}

.contact-header {
    max-width: 760px;
    margin: 48px auto 34px;
    text-align: center;
}

.contact-header .page-label {
    margin: 0 0 8px;
    color: var(--woooly-accent-dark);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .18em;
}

.contact-header h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.35;
}

.contact-lead {
    margin: 16px 0 0;
    color: var(--woooly-muted);
}

.product-guide-link {
    max-width: 560px;
    margin: 28px auto 0;
    padding: 18px 22px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 16px;
    align-items: center;
    text-align: left;
    text-decoration: none;
    background: rgba(255,255,255,.86);
    border: 1px solid var(--woooly-border);
    border-radius: 20px;
    box-shadow: var(--woooly-shadow);
    transition: transform .25s var(--woooly-ease), background .25s;
}

.product-guide-link:hover {
    transform: translateY(-2px);
    background: #fff;
}

.product-guide-label {
    grid-column: 1;
    color: var(--woooly-muted);
    font-size: .78rem;
}

.product-guide-link strong {
    grid-column: 1;
    font-size: 1.08rem;
}

.product-guide-link > span:last-child {
    grid-column: 2;
    grid-row: 1 / span 2;
    font-size: 1.4rem;
}

.contact-form-section {
    max-width: 760px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(255,255,255,.86);
    border-radius: var(--woooly-radius);
    box-shadow: var(--woooly-shadow);
    backdrop-filter: blur(8px);
}

.form-heading {
    margin-bottom: 24px;
    text-align: center;
}

.form-kicker {
    margin: 0 0 4px;
    color: var(--woooly-accent-dark);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .18em;
}

.form-heading h2 {
    margin: 0;
    font-size: 1.45rem;
}

.required-note,
.field-help,
.order-note,
.submit-note {
    color: var(--woooly-muted);
    font-size: .8rem;
}

.required-note {
    margin: 8px 0 0;
}

form {
    margin: 0;
}

.form-field {
    margin-top: 20px;
}

.form-field:first-child {
    margin-top: 0;
}

label,
legend {
    font-weight: 700;
}

.required,
.optional {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: .68rem;
    line-height: 1.5;
    vertical-align: middle;
}

.required {
    color: #a33d53;
    background: #fdeaf0;
}

.optional {
    color: var(--woooly-muted);
    background: rgba(117,111,104,.1);
}

input,
textarea,
select {
    width: 100%;
    margin-top: 7px;
    padding: 12px 14px;
    color: var(--woooly-text);
    background: #fff;
    border: 1px solid rgba(92,74,62,.2);
    border-radius: 12px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--woooly-accent);
    box-shadow: 0 0 0 4px rgba(214,127,145,.13);
}

.order-box,
.attachment-box {
    margin: 26px 0 0;
    padding: 22px;
    border: 1px solid var(--woooly-border);
    border-radius: 18px;
    background: rgba(255,250,242,.72);
}

.order-box legend,
.attachment-box legend {
    padding: 0 8px;
}

.order-note,
.field-help {
    margin: 0 0 4px;
}

.file-label {
    display: block;
    margin-top: 14px;
    font-size: .85rem;
}

input[type="file"] {
    padding: 10px;
    background: #fff;
}

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.submit-button {
    width: 100%;
    margin-top: 28px;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
    align-items: center;
    color: #fff;
    background: var(--woooly-accent-dark);
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(169,85,105,.2);
    transition: transform .2s var(--woooly-ease), opacity .2s;
    touch-action: manipulation;
}

.submit-button:hover {
    transform: translateY(-1px);
    opacity: .94;
}

.submit-button:focus-visible {
    outline: 3px solid rgba(214,127,145,.45);
    outline-offset: 3px;
}

.submit-note {
    margin: 12px 0 0;
    text-align: center;
}

.product-return {
    max-width: 760px;
    margin: 28px auto 0;
    padding: 22px 24px;
    text-align: center;
    background: rgba(255,255,255,.66);
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 18px;
}

.product-return p {
    margin: 0 0 12px;
    color: var(--woooly-muted);
}

.product-return a {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 11px 22px;
    color: var(--woooly-accent-dark);
    font-weight: 800;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--woooly-border);
    border-radius: 999px;
}

.product-return a:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.desktop-only {
    display: inline;
}

@media (max-width: 767px) {
    .contact-page {
        width: min(calc(100% - 28px), 1040px);
        padding-bottom: 52px;
    }

    .contact-header {
        margin: 30px auto 24px;
    }

    .contact-lead {
        font-size: .92rem;
    }

    .product-guide-link {
        margin-top: 22px;
        padding: 16px 18px;
        border-radius: 16px;
    }

    .contact-form-section {
        padding: 22px 16px;
        border-radius: 18px;
    }

    .order-box,
    .attachment-box {
        padding: 18px 14px;
        border-radius: 15px;
    }

    input,
    textarea,
    select {
        font-size: 16px;
    }

    .desktop-only {
        display: none;
    }
}
