@charset "utf-8";
/* ============================================================
   ALPHA BRAIN — サイト共通スタイル
   全ページ（index / services / cases / about / contact）がこれ1枚を読む。
   値を変えるときはここだけ。ページ側に <style> を増やさないこと。

   参照デザイン：kona-oc.jp
   - 署名パターン＝ワイドバナー（全幅16:7写真＋左スクリム＋Oswald大文字＋スペック行）
   - タイポは2声：ブランド名＝Raleway 300の広い字間／見出し・英字＝Oswald 500の詰まった大文字
   - 面はカードや影で作らず、罫線と余白で作る
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy: #1A2B4C;
    --navy-light: #243660;
    --gold: #B8973A;
    --gold-light: #D4AE55;
    --teal: #1E7A62;
    --teal-light: #28A07F;
    --white: #FFFFFF;
    --off-white: #F7F6F3;
    --gray: #6B7280;
    --gray-light: #E5E4E1;
    --hairline: #E3E1DC;

    --maxw: 1180px;
    --font-body: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    --font-brand: 'Raleway', 'Noto Sans JP', sans-serif;
    --font-caps: 'Oswald', 'Noto Sans JP', 'Helvetica Neue', sans-serif;
    --font-jp: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
    --track-brand: 0.18em;
    --track-eyebrow: 0.16em;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: #333; background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ===== レイアウト ===== */
.ab-wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
@media (min-width: 768px) { .ab-wrap { padding-inline: 40px; } }
.sec { padding: clamp(56px, 9vw, 96px) 0; }
.sec--tint { background: var(--off-white); }
.sec--tight { padding-top: clamp(32px, 5vw, 56px); }
.sec-head { margin-bottom: clamp(32px, 5vw, 48px); }
.sec-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }

/* ===== タイポグラフィ ===== */
.caps {
    font-family: var(--font-caps); font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.01em; line-height: 1;
}
.eyebrow {
    font-family: var(--font-caps); font-weight: 500; font-size: 12px;
    text-transform: uppercase; letter-spacing: var(--track-eyebrow);
    color: var(--gold);
}
.eyebrow--on-photo { color: #fff; opacity: 0.92; }
.jp-head {
    font-family: var(--font-jp); font-weight: 500;
    letter-spacing: 0.04em; line-height: 1.5; color: var(--navy);
}
.jp-head--section { font-size: clamp(20px, 2.4vw, 28px); margin-top: 6px; }
.lead { margin-top: 16px; max-width: 58em; font-size: 15px; line-height: 2; color: var(--gray); }
.lead--on-photo { color: rgba(255,255,255,0.92); }
.note { margin-top: 20px; font-size: 12.5px; line-height: 1.85; color: var(--gray); }
.more-link { font-family: var(--font-caps); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: var(--track-eyebrow); color: var(--gold); text-decoration: none; white-space: nowrap; }
.more-link:hover { text-decoration: underline; }

/* ===== ピル（CTA）===== */
.pill {
    display: inline-block; font-family: var(--font-caps); font-weight: 500;
    font-size: 13px; text-transform: uppercase; letter-spacing: var(--track-eyebrow);
    padding: 14px 32px; border-radius: 999px; border: 1px solid transparent;
    text-decoration: none; transition: opacity 0.2s; cursor: pointer;
}
.pill:hover { opacity: 0.85; }
/* 金地に白は 2.8:1 しか出ず小さい文字が読めない。紺文字にすると 5.0:1 */
.pill--primary { background: var(--gold); color: var(--navy); }
.pill--ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.pill--outline-light { background: transparent; border-color: rgba(255,255,255,0.75); color: #fff; }

/* ===== ナビゲーション ===== */
#nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 0 2.5rem;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
#nav.scrolled {
    background: rgba(10,18,35,0.95);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
/* 写真の上に乗っているあいだは上端に薄い暗がりを敷く（明るいカットで白ロゴが消えるため） */
#nav:not(.scrolled)::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(6,14,28,0.45) 0%, rgba(6,14,28,0.18) 60%, transparent 100%);
}
.nav-inner { display: flex; align-items: center; height: 68px; max-width: 1400px; margin-inline: auto; }
.nav-logo {
    flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.5); padding: 0.4rem 0.75rem;
    text-decoration: none; transition: border-color 0.25s;
}
.nav-logo:hover { border-color: white; }
#nav.scrolled .nav-logo { border-color: rgba(255,255,255,0.3); }
.nav-links { flex: 1; display: flex; align-items: center; justify-content: center; gap: 2.2rem; }
.nav-links a {
    font-family: var(--font-caps); font-size: 12.5px; font-weight: 500;
    letter-spacing: var(--track-eyebrow); text-decoration: none;
    color: rgba(255,255,255,0.75); text-transform: uppercase; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: white; }
.nav-cta {
    flex: 0 0 auto; padding: 0.5rem 1.4rem;
    font-family: var(--font-caps); font-size: 12.5px; font-weight: 500;
    letter-spacing: var(--track-eyebrow); text-transform: uppercase;
    text-decoration: none; color: white;
    border: 1px solid rgba(255,255,255,0.6); transition: all 0.25s;
}
.nav-cta:hover, .nav-cta.active { background: rgba(255,255,255,0.12); border-color: white; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; margin-left: auto; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: white; transition: all 0.3s; }
#mobile-menu {
    display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 99;
    background: rgba(10,18,35,0.97); padding: 1rem 0;
}
#mobile-menu a {
    display: block; padding: 0.9rem 2.5rem;
    font-family: var(--font-caps); font-size: 13px; font-weight: 500;
    letter-spacing: var(--track-eyebrow); text-transform: uppercase;
    text-decoration: none; color: rgba(255,255,255,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.06); transition: color 0.2s;
}
#mobile-menu a:hover { color: white; }
@media (max-width: 820px) {
    #nav { padding: 0 1.4rem; }
    .nav-links, .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
    #mobile-menu a { padding-inline: 1.4rem; }
}

/* ===== ワイドバナー（署名パターン）=====
   全幅の 16:7 写真＋左からのスクリム。文字はコンテンツ幅に合わせて内側で揃える。 */
/* 写真と文字を同じグリッドセルに重ねる。絶対配置にしないのは、
   文字が写真より背が高くなったとき（スマホの下層ページ見出しなど）に
   バナーごと伸びてほしいため。絶対配置だと写真の下に文字がはみ出す。 */
.wide-head { position: relative; overflow: hidden; display: grid; }
.wide-head__ph { grid-area: 1 / 1; min-width: 0; aspect-ratio: 16 / 7; min-height: 240px; background: var(--navy); }
.wide-head__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
/* 縦長の実写を16:7に切ると顔が切れる。上寄りで切る用 */
.wide-head__ph--top img { object-position: center 22%; }
.wide-head__ov {
    grid-area: 1 / 1; z-index: 1; min-width: 0;
    display: flex; align-items: center;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(8,16,32,0.86) 0%, rgba(8,16,32,0.62) 40%, rgba(8,16,32,0.20) 100%),
        linear-gradient(rgba(8,16,32,0.16), rgba(8,16,32,0.16));
}
.wide-head__inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding: 24px; }
@media (min-width: 768px) { .wide-head__inner { padding: 24px 40px; } }
.wide-head__eyebrow {
    font-family: var(--font-caps); font-weight: 500; font-size: 12px;
    text-transform: uppercase; letter-spacing: var(--track-eyebrow);
    opacity: 0.92; margin-bottom: 4px;
}
.wide-head__name {
    font-family: var(--font-caps); font-weight: 500;
    font-size: clamp(38px, 7.5vw, 72px);
    text-transform: uppercase; letter-spacing: 0.01em; line-height: 1;
}
.wide-head__spec { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: 12.5px; }
.wide-head__spec li { display: flex; align-items: baseline; gap: 6px; }
.wide-head__spec span { font-family: var(--font-caps); font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.85; }
@media (max-width: 600px) {
    .wide-head__ph { aspect-ratio: 4 / 3; min-height: 300px; }
    .wide-head__spec { font-size: 11.5px; gap: 6px 14px; }
}

/* 下層ページの先頭バナー：固定ヘッダーぶん上を空ける＋やや縦長 */
.page-head .wide-head__ph { aspect-ratio: 16 / 6; min-height: 320px; }
.page-head .wide-head__inner { padding-top: calc(68px + 24px); }
.page-head .wide-head__name { font-size: clamp(40px, 7vw, 68px); }
.page-head .lead { margin-top: 14px; max-width: 40em; font-size: 14.5px; line-height: 1.9; }
@media (max-width: 600px) {
    .page-head .wide-head__ph { aspect-ratio: 3 / 4; min-height: 420px; }
}

/* ===== サービス一覧（ワイドバナーの連なり）===== */
.svcs { display: grid; gap: clamp(28px, 4.5vw, 52px); }
.svc__link { display: block; text-decoration: none; color: inherit; }
.svc__link:hover .wide-head__ph img { transform: scale(1.03); }
.svc__body {
    max-width: var(--maxw); margin-inline: auto; padding: 18px 24px 0;
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px;
}
@media (min-width: 768px) { .svc__body { padding-left: 40px; padding-right: 40px; } }
.svc__catch { font-family: var(--font-jp); font-weight: 500; font-size: 16px; letter-spacing: 0.03em; color: var(--navy); line-height: 1.6; }
.svc__desc { margin-top: 8px; max-width: 52em; font-size: 14px; color: var(--gray); line-height: 1.95; }
.svc__more { font-size: 12px; color: var(--gold); letter-spacing: var(--track-eyebrow); white-space: nowrap; }

/* ===== サービス詳細（services.html）===== */
.svc-detail__name {
    font-family: var(--font-caps); font-weight: 500;
    font-size: clamp(32px, 5vw, 52px);
    text-transform: uppercase; letter-spacing: 0.01em; line-height: 1;
    color: var(--navy); margin-top: 6px;
}
.svc-detail__catch { margin-top: 18px; }
.svc-detail__lead { margin-top: 22px; max-width: 56em; font-size: 15px; line-height: 2; color: var(--gray); }
.deliverables { list-style: none; display: grid; gap: 28px; margin-top: 36px; }
@media (min-width: 860px) { .deliverables { grid-template-columns: repeat(2, 1fr); gap: 32px 48px; } }
.deliverable { padding-top: 16px; border-top: 1px solid var(--hairline); }
.deliverable__no { display: block; font-family: var(--font-caps); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 8px; }
.deliverable__title { font-family: var(--font-jp); font-weight: 500; font-size: 15.5px; color: var(--navy); margin-bottom: 8px; line-height: 1.6; }
.deliverable p { font-size: 13.5px; color: var(--gray); line-height: 1.95; }

/* ===== 支援事例（罫線だけで組む）===== */
.cases { list-style: none; border-top: 1px solid var(--hairline); }
.case {
    display: grid; grid-template-columns: auto 1fr auto;
    gap: 4px 32px; align-items: baseline;
    padding: 28px 0; border-bottom: 1px solid var(--hairline);
}
.case__no { font-family: var(--font-caps); font-weight: 500; font-size: 26px; color: rgba(26,43,76,0.25); line-height: 1; }
.case__tag { font-family: var(--font-caps); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); }
.case__title { font-family: var(--font-jp); font-weight: 500; font-size: 16px; color: var(--navy); margin: 6px 0 8px; line-height: 1.6; }
.case__title small { font-family: var(--font-body); font-weight: 400; font-size: 12.5px; color: var(--gray); margin-left: 10px; }
.case__text { font-size: 14px; color: var(--gray); line-height: 1.95; }
.case__result { text-align: right; }
.case__num { font-family: var(--font-caps); font-weight: 500; font-size: 32px; color: var(--navy); line-height: 1; white-space: nowrap; }
.case__num small { font-size: 15px; color: var(--gold); margin-left: 1px; }
.case__num--text { font-family: var(--font-jp); font-weight: 500; font-size: 15px; line-height: 1.5; }
.case__num--text em { color: var(--gold); font-style: normal; }
.case__label { font-size: 11.5px; color: var(--gray); margin-top: 8px; line-height: 1.6; }
@media (max-width: 860px) {
    .case { grid-template-columns: auto 1fr; }
    .case__result { grid-column: 2; text-align: left; margin-top: 14px; }
    .case__num { white-space: normal; }
}

/* 事例の詳細版（cases.html）：課題／施策／成果の3カラム */
.case-detail { padding: clamp(36px, 5vw, 52px) 0; border-bottom: 1px solid var(--hairline); }
.case-detail:first-child { border-top: 1px solid var(--hairline); }
.case-detail__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.case-detail__no { font-family: var(--font-caps); font-weight: 500; font-size: 26px; color: rgba(26,43,76,0.25); line-height: 1; }
.case-detail__title { font-family: var(--font-jp); font-weight: 500; font-size: clamp(17px, 2vw, 20px); color: var(--navy); line-height: 1.5; }
.case-detail__title small { font-family: var(--font-body); font-weight: 400; font-size: 12.5px; color: var(--gray); margin-left: 10px; }
.case-detail__tag { margin-left: auto; font-family: var(--font-caps); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); border: 1px solid var(--gold); border-radius: 999px; padding: 4px 12px; }
.case-cols { display: grid; gap: 26px; margin-top: 26px; }
@media (min-width: 860px) { .case-cols { grid-template-columns: 1fr 1fr 0.85fr; gap: 40px; } }
.case-col__label { font-family: var(--font-caps); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gray); margin-bottom: 10px; }
.case-col p { font-size: 13.5px; color: var(--gray); line-height: 1.95; }
.case-col--result { border-left: 2px solid var(--gold); padding-left: 20px; }
.case-col--result .case-col__label { color: var(--gold); }
.case-result__head { font-family: var(--font-jp); font-weight: 500; font-size: 15px; color: var(--navy); line-height: 1.6; margin-bottom: 10px; }
.case-result__head strong { font-family: var(--font-caps); font-weight: 500; font-size: 28px; letter-spacing: 0.01em; }
.case-result__sub { font-size: 12.5px; color: var(--gray); line-height: 1.9; }
.case-point { margin-top: 24px; font-size: 13px; color: var(--gray); line-height: 1.95; }
.case-point b { font-family: var(--font-jp); font-weight: 500; color: var(--navy); }
@media (max-width: 860px) { .case-detail__tag { margin-left: 0; } }

/* ===== 連番＋罫線のリスト（選ばれる理由 / ミッション）===== */
.features { list-style: none; display: grid; gap: 32px; }
@media (min-width: 860px) { .features { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.feature { padding-top: 18px; border-top: 1px solid var(--hairline); }
.feature__no { display: block; font-family: var(--font-caps); font-weight: 500; font-size: 34px; color: var(--gold); line-height: 1; margin-bottom: 12px; }
.feature__title { font-family: var(--font-jp); font-weight: 500; font-size: 17px; letter-spacing: 0.03em; color: var(--navy); margin-bottom: 10px; line-height: 1.6; }
.feature p { font-size: 14.5px; color: var(--gray); line-height: 1.95; }

/* ===== 支援の流れ（4ステップ）===== */
.steps { list-style: none; display: grid; gap: 28px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.step { padding-top: 18px; border-top: 1px solid var(--hairline); }
.step__no { display: block; font-family: var(--font-caps); font-weight: 500; font-size: 13px; letter-spacing: var(--track-eyebrow); color: var(--gold); margin-bottom: 10px; }
.step__title { font-family: var(--font-jp); font-weight: 500; font-size: 15.5px; color: var(--navy); margin-bottom: 8px; line-height: 1.6; }
.step p { font-size: 13.5px; color: var(--gray); line-height: 1.95; }

/* ===== 定義テーブル（会社情報 / 連絡先）===== */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 18px 12px; border-bottom: 1px solid var(--hairline); }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 1px solid var(--hairline); }
.spec-table th {
    width: 12rem; font-family: var(--font-caps); font-weight: 500; font-size: 12px;
    text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray);
    white-space: nowrap; padding-top: 21px;
}
.spec-table td { color: var(--navy); line-height: 1.9; }
.spec-table td a { color: var(--navy); }
.spec-table__jp { font-family: var(--font-jp); font-weight: 500; color: var(--navy); text-transform: none; letter-spacing: 0.04em; font-size: 13.5px; }
@media (max-width: 640px) {
    .spec-table th, .spec-table td { display: block; width: auto; padding: 0; border: none; }
    .spec-table tr { display: block; border-bottom: 1px solid var(--hairline); padding: 16px 0; }
    .spec-table tr:first-child { border-top: 1px solid var(--hairline); }
    .spec-table th { padding-bottom: 6px; }
}

/* ===== 問い合わせフォーム ===== */
.contact-grid { display: grid; gap: clamp(36px, 5vw, 64px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.75fr 1.25fr; } }
.contact-info { list-style: none; }
.contact-info li { padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.contact-info li:first-child { border-top: 1px solid var(--hairline); }
.contact-info__label { font-family: var(--font-caps); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gray); margin-bottom: 8px; }
.contact-info__value { font-size: 14px; color: var(--navy); line-height: 1.9; }
.contact-info__value a { color: var(--navy); }

.form-row { display: grid; gap: 20px; }
@media (min-width: 620px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-family: var(--font-caps); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gray); margin-bottom: 8px; }
.form-label .required { color: var(--gold); margin-left: 4px; }
.form-input, .form-select, .form-textarea {
    width: 100%; font-family: var(--font-body); font-size: 14.5px; color: var(--navy);
    background: #fff; border: none; border-bottom: 1px solid var(--hairline);
    padding: 10px 2px; transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-bottom-color: var(--gold); }
.form-input::placeholder, .form-textarea::placeholder { color: #B4B2AD; }
.form-textarea { min-height: 150px; resize: vertical; line-height: 1.9; }
.form-select { appearance: none; border-radius: 0; cursor: pointer; }
.form-submit { margin-top: 12px; }
.form-note { margin-top: 20px; font-size: 12px; color: var(--gray); line-height: 1.9; }
#form-success, #form-error { display: none; padding: 18px 20px; font-size: 14px; line-height: 1.9; }
#form-success { border-left: 2px solid var(--teal); background: rgba(30,122,98,0.06); color: var(--navy); }
#form-error { margin-top: 16px; border-left: 2px solid #B03A2E; background: rgba(176,58,46,0.06); color: #8C2F26; }

/* ===== CTA ===== */
.cta {
    position: relative; overflow: hidden; text-align: center;
    padding: clamp(72px, 11vw, 120px) 0;
    background: linear-gradient(150deg, var(--teal) 0%, var(--navy) 55%, #0D1929 100%);
    color: #fff;
}
#cta-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.4; }
.cta__inner { position: relative; z-index: 2; }
.cta__title { color: #fff; margin-top: 6px; }
.cta__lead { margin: 16px auto 0; max-width: 640px; font-size: 14.5px; line-height: 1.95; color: rgba(255,255,255,0.9); }
.cta__btns { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== フッター ===== */
footer { background: #060D1A; padding: 4rem 2rem 2rem; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; max-width: var(--maxw); margin: 0 auto; }
.footer-logo-box { display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.2); padding: 0.4rem 0.75rem; margin-bottom: 1rem; }
.footer-logo-main { font-family: var(--font-brand); font-size: 0.75rem; font-weight: 500; letter-spacing: var(--track-brand); color: white; text-transform: uppercase; }
.footer-about { font-size: 0.78rem; color: rgba(255,255,255,0.35); line-height: 1.8; margin-bottom: 1rem; }
.footer-contact { font-size: 0.78rem; color: rgba(255,255,255,0.4); line-height: 1.8; }
.footer-heading { font-family: var(--font-caps); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: var(--track-eyebrow); color: rgba(255,255,255,0.55); margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); margin-top: 3rem; padding-top: 1.5rem; max-width: var(--maxw); margin-left: auto; margin-right: auto; text-align: center; }
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.2); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ===== スクロールで現れる ===== */
.reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ============================================================
   トップページ専用：4分割ヒーロー（有山さん確認済み・触らない）
   ============================================================ */
#hero-flash { display: none; position: absolute; inset: 0; z-index: 5; background: white; opacity: 0; pointer-events: none; transition: opacity 0.35s ease; }
#hero {
    position: relative; height: 100vh; min-height: 600px; padding: 7rem 2rem;
    overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.hero-panels { position: absolute; inset: 0; display: flex; }
.hero-panel { position: relative; overflow: hidden; flex: 1; transition: flex 0.7s cubic-bezier(0.16,1,0.3,1); cursor: default; }
.hero-panels:hover .hero-panel { flex: 0.6; }
.hero-panels:hover .hero-panel:hover { flex: 2.2; }
.hero-panel + .hero-panel { border-left: 1px solid rgba(255,255,255,0.18); }
.hero-panel-bg {
    position: absolute; inset: -4%;
    background-size: cover; background-position: center;
    animation: heroZoom 12s ease-in-out infinite alternate;
    transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.hero-panel:hover .hero-panel-bg { transform: scale(1.06); }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-panel:nth-child(2) .hero-panel-bg { animation-delay: -3s; }
.hero-panel:nth-child(3) .hero-panel-bg { animation-delay: -6s; }
.hero-panel:nth-child(4) .hero-panel-bg { animation-delay: -9s; }
.hero-panel-overlay { position: absolute; inset: 0; background: rgba(8,16,32,0.52); transition: background 0.5s ease; }
.hero-panel:hover .hero-panel-overlay { background: rgba(8,16,32,0.35); }
.hero-panel-label {
    position: absolute; bottom: 4.5rem; left: 50%;
    writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg);
    font-size: 0.95rem; font-weight: 700; letter-spacing: 0.3em;
    color: rgba(255,255,255,0.45); text-transform: uppercase;
    opacity: 0; animation: fadeUp 1s cubic-bezier(0.16,1,0.3,1) 1.4s forwards;
    transition: color 0.4s ease; white-space: nowrap;
}
.hero-panel:hover .hero-panel-label { color: rgba(255,255,255,0.9); }
.hero-content { position: relative; z-index: 10; text-align: center; padding: 0 2rem; margin-top: 4vh; }
.hero-announce {
    display: inline-block; border: 1px solid rgba(255,255,255,0.45);
    padding: 0.45rem 1.4rem; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em;
    color: rgba(255,255,255,0.85); text-transform: uppercase; margin-bottom: 1.6rem;
    opacity: 0; animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.3s forwards;
}
.hero-title {
    font-family: var(--font-brand);
    font-size: clamp(3.5rem, 9vw, 8.5rem);
    font-weight: 300; line-height: 1; letter-spacing: var(--track-brand);
    color: white; text-transform: uppercase; margin-bottom: 1.4rem;
    opacity: 0; transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.16,1,0.3,1) 0.55s forwards;
}
.hero-tagline {
    font-size: clamp(1rem, 1.8vw, 1.3rem); color: rgba(255,255,255,0.9);
    letter-spacing: 0.06em; margin-bottom: 0.8rem; font-weight: 400;
    opacity: 0; transform: translateY(20px);
    animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.8s forwards;
}
.hero-sub {
    font-size: 0.82rem; color: rgba(255,255,255,0.5); letter-spacing: 0.06em;
    opacity: 0; transform: translateY(16px);
    animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 1s forwards;
}
.hero-scroll {
    position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
    font-size: 0.62rem; letter-spacing: 0.35em; color: rgba(255,255,255,0.4);
    text-transform: uppercase; z-index: 10;
    opacity: 0; animation: fadeUp 0.8s ease 1.6s forwards; cursor: pointer;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes mobileZoom { from { transform: scale(1.0); } to { transform: scale(1.14); } }
@media (max-width: 820px) {
    #hero-flash { display: block; }
    .hero-panels { display: block; position: absolute; inset: 0; }
    .hero-panel { position: absolute; inset: 0; flex: none; opacity: 0; transition: opacity 1.1s ease; }
    .hero-panel.active { opacity: 1; }
    .hero-panel.active .hero-panel-bg { animation: mobileZoom 5.5s ease-out forwards; }
    .hero-panel + .hero-panel { border-left: none; }
    .hero-panels:hover .hero-panel,
    .hero-panels:hover .hero-panel:hover { flex: unset; }
    .hero-panel-label { display: none; }
    .hero-content { width: 100%; padding: 0 1.4rem; }
    .hero-title { font-size: clamp(2.6rem, 14vw, 3.8rem); letter-spacing: 0.1em; line-height: 1.05; }
    .hero-tagline { font-size: 0.88rem; }
    .hero-sub { font-size: 0.68rem; }
    .hero-announce { font-size: 0.6rem; padding: 0.3rem 0.9rem; letter-spacing: 0.12em; }
}

/* トップの Concept */
.concept { max-width: 760px; }
.concept__fields { font-family: var(--font-caps); font-weight: 400; font-size: 13px; color: var(--gray); letter-spacing: 0.14em; margin: 18px 0 14px; }
.concept__body { font-size: 15.5px; line-height: 2; color: var(--gray); }
.concept__body + .concept__body { margin-top: 1em; }
