/* ═══════════════════════════════════════
   Contact Page Styles
   /contact/ - お問い合わせフォーム
   ═══════════════════════════════════════ */

/* ─── Breadcrumb ─── */
.breadcrumb-bar {
    background: var(--bg-cool);
    border-bottom: 1px solid var(--line);
}
.breadcrumb-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 14px var(--pad-x);
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--ink-mute);
    letter-spacing: 0.04em;
}
.breadcrumb-inner a {
    color: var(--ink-soft);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb-inner a:hover {
    color: var(--brand);
}
.breadcrumb-inner .sep {
    margin: 0 10px;
    color: var(--ink-faint);
}
.breadcrumb-inner .current {
    color: var(--ink-mute);
}

/* ─── Page Hero ─── */
.page-hero {
    background: var(--grad-soft);
    border-bottom: 1px solid var(--line);
    padding: 72px 0 88px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-glow);
    pointer-events: none;
}
.page-hero-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad-x);
    position: relative;
}
.page-hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-deep);
    font-weight: 600;
}
.page-hero-meta .num {
    font-weight: 700;
}
.page-hero-meta .div {
    width: 28px;
    height: 1px;
    background: var(--brand);
}
.page-hero-h1 {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: clamp(32px, 5.5vw, 56px);
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}
.page-hero-h1 em {
    font-style: normal;
    color: var(--brand);
    background: linear-gradient(180deg, transparent 60%, rgba(31,85,201,0.16) 60%);
    padding: 0 4px;
}
.page-hero-lead {
    font-size: 16px;
    line-height: 1.85;
    color: var(--ink-soft);
    max-width: 720px;
}
.page-hero-lead strong {
    color: var(--brand-deep);
    font-weight: 700;
}

/* ─── Section Common ─── */
.contact-form-section,
.operating-info {
    padding: 96px 0;
    background: var(--bg);
}
.operating-info {
    background: var(--bg-cool);
    border-top: 1px solid var(--line);
}
.contact-form-section .section-inner,
.operating-info .section-inner {
    max-width: var(--max-w-narrow);
    margin: 0 auto;
    padding: 0 var(--pad-x);
}
.section-head {
    margin-bottom: 56px;
}
.section-head-meta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand);
    font-weight: 600;
}
.section-head-meta .num {
    font-weight: 700;
}
.section-head-meta .div {
    width: 28px;
    height: 1px;
    background: var(--brand);
}
.section-head h2 {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.25;
    color: var(--ink);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.section-head h2 em {
    font-style: normal;
    color: var(--brand);
}
.section-head .lede {
    font-size: 15px;
    line-height: 1.85;
    color: var(--ink-soft);
    max-width: 680px;
}

/* ─── Form ─── */
.contact-form {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 48px;
    box-shadow: var(--shadow-md);
}
.form-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.form-row {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.form-row.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.form-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.01em;
}
.req-mark {
    color: var(--brand);
    font-weight: 700;
    margin-left: 2px;
}
.form-field input,
.form-field select,
.form-field textarea {
    font-family: var(--font-sans);
    font-size: 14.5px;
    color: var(--ink);
    background: var(--bg);
    border: 1.5px solid var(--line-strong);
    border-radius: 10px;
    padding: 14px 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}
.form-field textarea {
    min-height: 160px;
    resize: vertical;
    line-height: 1.7;
}
.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2356627a' stroke-width='1.6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}
.form-hint {
    font-size: 12px;
    color: var(--ink-mute);
    line-height: 1.7;
    margin-top: 4px;
}
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.6;
}
.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--brand);
    flex-shrink: 0;
}
.form-checkbox a {
    color: var(--brand);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}
.form-checkbox a:hover {
    color: var(--brand-deep);
}
.form-submit-row {
    margin-top: 12px;
}
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: var(--brand);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 8px 24px -8px rgba(31,85,201,0.4);
}
.btn-submit:hover {
    background: var(--brand-deep);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -10px rgba(31,85,201,0.5);
}
.btn-submit:active {
    transform: translateY(0);
}
.btn-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.btn-submit svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s;
}
.btn-submit:hover svg {
    transform: translateX(3px);
}
.form-note {
    font-size: 12px;
    color: var(--ink-mute);
    line-height: 1.7;
    margin-top: 8px;
}

/* ─── Operating Info Table ─── */
.info-table {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}
.info-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    padding: 22px 32px;
    border-bottom: 1px solid var(--line-soft);
}
.info-row:last-child {
    border-bottom: none;
}
.info-key {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 600;
    padding-top: 2px;
}
.info-val {
    font-size: 14.5px;
    color: var(--ink);
    line-height: 1.7;
}
.info-val a {
    color: var(--brand);
    text-decoration: none;
    transition: color 0.2s;
}
.info-val a:hover {
    color: var(--brand-deep);
    text-decoration: underline;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .page-hero {
        padding: 48px 0 56px;
    }
    .contact-form-section,
    .operating-info {
        padding: 64px 0;
    }
    .section-head {
        margin-bottom: 36px;
    }
    .contact-form {
        padding: 28px 20px;
        border-radius: 12px;
    }
    .form-row.two {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .info-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 18px 22px;
    }
    .info-key {
        padding-top: 0;
    }
    .btn-submit {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }
    .email-contact-card {
        max-width: none;
        padding: 24px 20px;
    }
    .email-copy-btn {
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }
}

/* ─── Email contact (enterprise) ─── */
.email-contact-section {
    background: var(--bg-cool);
    border-top: 1px solid var(--line);
}
.email-contact-card {
    max-width: 560px;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
}
.email-contact-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 10px;
}
.email-contact-address {
    font-family: var(--font-mono);
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 20px;
    word-break: break-all;
}
.email-copy-btn {
    width: auto;
}

/* ─── Active nav ─── */
.nav-links a.active {
    color: var(--brand);
    font-weight: 700;
}
