/* ==========================================================================
   Altimare — style.css
   コンセプト「上演前の静けさ」— 客電が落ちる直前、舞台だけが仄かに明るい時間。
   紙の白に墨で組み、松葉（ピーコックグリーン）を舞台の色、金を細罫と序数にだけ灯す。
   均一なカードの羅列をやめ、細罫と余白で「編集された誌面」をつくる。

   目次
   ---------------------------------------------------------------
   0. カスタムプロパティ
   1. リセット / ベース
   2. タイポグラフィ共通（.en / .eyebrow / 見出し）
   3. ヘッダー / ナビゲーション
   4. ヒーロー（ホーム）
   5. 共通コンポーネント（ボタン / テキストリンク / セクション / news-strip）
   6. ホーム各セクション（intro / spotlight / feature / values / focus / cta）
   7. フッター
   8. 下層ページ共通（page-hero / simple-page-head）
   9. ページ固有（公演情報 / 会社概要 / ニュース / お問い合わせ / カンパニー / 作品）
   10. モーション（reveal / page-fade / hero入場）
   11. レスポンシブ
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. カスタムプロパティ
   -------------------------------------------------------------------------- */
:root {
    /* 色 */
    --paper: #faf8f3;
    --paper-strong: #f0ece2;
    --white: #ffffff;
    --ink: #191b1c;
    --ink-soft: #575d5e;
    --ink-mute: #8a8f8f;
    --line: rgba(25, 27, 28, 0.14);
    --pine: #0e5f63;
    --pine-deep: #083c40;
    --pine-tint: rgba(14, 95, 99, 0.09);
    --gold: #ae8b4d;
    --gold-text: #8a6a3b;
    --gold-line: rgba(174, 139, 77, 0.5);
    --gold-tint: rgba(174, 139, 77, 0.14);
    --night: #121616;
    --night-soft: rgba(250, 248, 243, 0.74);
    --night-mute: rgba(250, 248, 243, 0.48);
    --night-line: rgba(250, 248, 243, 0.16);

    /* 書体 */
    --serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
    --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, sans-serif;
    --en: "Marcellus", "Times New Roman", serif;

    /* 余白 */
    --section-pad: clamp(4.5rem, 10vw, 7.5rem);
    --container-pad: clamp(1.25rem, 5vw, 2.5rem);
    --header-h: 76px;

    /* 動き */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --dur: 0.9s;
}

/* --------------------------------------------------------------------------
   1. リセット / ベース
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html {
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    min-height: 100svh;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.95;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
    overflow-wrap: anywhere;
    line-break: strict;
}

/* 紙の質感（全面に極薄のノイズ） */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 300;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
    letter-spacing: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

ul,
ol {
    padding: 0;
}

::selection {
    background: var(--pine);
    color: var(--paper);
}

:focus-visible {
    outline: 2px solid var(--pine);
    outline-offset: 3px;
}

.site-footer :focus-visible,
.contact-cta :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.global-nav.is-open :focus-visible {
    outline-color: var(--gold);
}

.container {
    width: min(1140px, calc(100% - var(--container-pad) * 2));
    margin-inline: auto;
}

.narrow {
    width: min(880px, calc(100% - var(--container-pad) * 2));
}

/* --------------------------------------------------------------------------
   2. タイポグラフィ共通
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.05em;
    font-feature-settings: "palt";
}

.en {
    font-family: var(--en);
    font-weight: 400;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

/* 序文ラベル: 金の短罫 + 英字 + 和文 */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.9em;
    margin: 0 0 18px;
    color: var(--ink-soft);
    font-size: 13px;
    letter-spacing: 0.16em;
}

.eyebrow::before {
    content: "";
    flex: 0 0 auto;
    width: 36px;
    height: 1px;
    background: var(--gold);
}

.eyebrow .en {
    color: var(--gold-text);
    font-size: 12px;
}

.hero .eyebrow,
.page-hero .eyebrow,
.contact-cta .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.hero .eyebrow .en,
.page-hero .eyebrow .en,
.contact-cta .eyebrow .en {
    color: var(--gold);
}

.section-heading h2,
.section-heading-center h2,
.section-body h2,
.contact-cta h2,
.company-intro h2 {
    margin: 0;
    font-size: clamp(28px, 3.6vw, 46px);
    line-height: 1.4;
}

.section-heading-center {
    text-align: center;
    margin-bottom: clamp(44px, 6vw, 72px);
}

/* ラベルだけの見出し（本文を持たないセクション） */
.section-heading-center.is-label-only {
    margin-bottom: clamp(26px, 3.2vw, 40px);
}

.section-heading-center .eyebrow {
    justify-content: center;
}

.section-heading-center .eyebrow::before {
    display: none;
}

.section-lead {
    max-width: 640px;
    margin: 20px auto 0;
    color: var(--ink-soft);
    font-size: 15px;
}

.section-body p {
    margin: 0 0 1.4em;
    color: var(--ink-soft);
}

.section-body p:last-child {
    margin-bottom: 0;
}

.lead {
    color: var(--ink);
    font-size: 18px;
    line-height: 2.05;
}

/* --------------------------------------------------------------------------
   3. ヘッダー / ナビゲーション
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 80;
    background: transparent;
    transition: background-color 0.45s var(--ease-out);
}

.site-header::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: var(--line);
    opacity: 0;
    transition: opacity 0.45s var(--ease-out);
}

.site-header.is-scrolled {
    background: rgba(250, 248, 243, 0.92);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    backdrop-filter: blur(14px) saturate(1.1);
}

.site-header.is-scrolled::after {
    opacity: 1;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--header-h);
    width: min(1360px, calc(100% - var(--container-pad) * 2));
    margin-inline: auto;
}

.brand {
    position: relative;
    z-index: 91;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    min-height: 44px;
    line-height: 1.2;
}

.brand-en {
    font-family: var(--en);
    font-size: 19px;
    letter-spacing: 0.3em;
    color: var(--ink);
    transition: color 0.35s var(--ease-out);
}

.brand-text {
    margin-top: 2px;
    font-size: 10px;
    letter-spacing: 0.42em;
    color: var(--ink-soft);
    transition: color 0.35s var(--ease-out);
}

/* 暗いヒーローに重ねるページ（スクロール前のみ白抜き） */
.site-header-invert:not(.is-scrolled) .brand-en {
    color: var(--paper);
}

.site-header-invert:not(.is-scrolled) .brand-text {
    color: rgba(250, 248, 243, 0.7);
}

.site-header-invert:not(.is-scrolled) .nav-link {
    color: rgba(250, 248, 243, 0.88);
}

.site-header-invert:not(.is-scrolled) .nav-link-accent {
    border-color: rgba(250, 248, 243, 0.5);
}

.site-header-invert:not(.is-scrolled) .menu-button span {
    background: var(--paper);
}

/* ナビ本体 — デスクトップ: インライン */
.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.2vw, 34px);
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.9em;
    padding: 14px 2px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.12em;
    transition: color 0.35s var(--ease-out);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 2px;
    right: 2px;
    bottom: 8px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-en {
    display: none;
}

.nav-link-accent {
    border: 1px solid var(--line);
    padding: 10px 20px;
}

.nav-link-accent::after {
    left: 20px;
    right: 20px;
    bottom: 6px;
}

.nav-tagline {
    display: none;
}

/* ハンバーガー（〜1079px） */
.menu-button {
    position: relative;
    z-index: 91;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 48px;
    height: 48px;
    margin-right: -8px;
    padding: 0;
    border: 0;
    background: transparent;
}

.menu-button span {
    width: 26px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.4s var(--ease-out), background-color 0.35s var(--ease-out);
}

body.nav-open .menu-button span {
    background: var(--paper);
}

body.nav-open .menu-button span:nth-child(1) {
    transform: translateY(4.75px) rotate(-20deg);
}

body.nav-open .menu-button span:nth-child(2) {
    transform: translateY(-4.75px) rotate(20deg);
}

@media (max-width: 1079px) {
    .menu-button {
        display: flex;
    }

    /* ナビ本体 — モバイル: 全画面「夜」オーバーレイ */
    .global-nav {
        position: fixed;
        inset: 0;
        z-index: 90;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: calc(var(--header-h) + 24px) var(--container-pad) 40px;
        background: var(--night);
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.5s var(--ease-out), visibility 0s linear 0.5s;
    }

    .global-nav.is-open {
        visibility: visible;
        opacity: 1;
        transition: opacity 0.5s var(--ease-out);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-list > li {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
    }

    .global-nav.is-open .nav-list > li {
        opacity: 1;
        transform: none;
    }

    .global-nav.is-open .nav-list > li:nth-child(1) { transition-delay: 0.08s; }
    .global-nav.is-open .nav-list > li:nth-child(2) { transition-delay: 0.13s; }
    .global-nav.is-open .nav-list > li:nth-child(3) { transition-delay: 0.18s; }
    .global-nav.is-open .nav-list > li:nth-child(4) { transition-delay: 0.23s; }
    .global-nav.is-open .nav-list > li:nth-child(5) { transition-delay: 0.28s; }
    .global-nav.is-open .nav-list > li:nth-child(6) { transition-delay: 0.33s; }
    .global-nav.is-open .nav-list > li:nth-child(7) { transition-delay: 0.38s; }

    .nav-link {
        display: flex;
        align-items: baseline;
        width: 100%;
        padding: 0.55em 0;
        border-bottom: 1px solid var(--night-line);
        color: var(--paper);
        font-family: var(--serif);
        font-weight: 500;
        font-size: clamp(24px, 5.6vw, 32px);
        letter-spacing: 0.12em;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link[aria-current="page"] {
        color: var(--gold);
    }

    .nav-en {
        display: inline;
        font-family: var(--en);
        font-size: 12px;
        letter-spacing: 0.22em;
        color: var(--gold);
    }

    .nav-link-accent {
        border: 0;
        border-bottom: 1px solid var(--night-line);
        padding: 0.55em 0;
    }

    .nav-tagline {
        display: block;
        margin-top: 36px;
        font-family: var(--en);
        font-size: 13px;
        letter-spacing: 0.3em;
        text-transform: uppercase;
        color: var(--night-mute);
    }

    body.nav-open {
        overflow: hidden;
    }

    body.nav-open .site-header {
        background: transparent;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    body.nav-open .site-header::after {
        opacity: 0;
    }

    body.nav-open .brand-en {
        color: var(--paper);
    }

    body.nav-open .brand-text {
        color: rgba(250, 248, 243, 0.7);
    }
}

/* --------------------------------------------------------------------------
   4. ヒーロー（ホーム）
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 92svh;
    padding: calc(var(--header-h) + 60px) 0 110px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--night);
}

.hero-slides,
.hero-slide,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-slide {
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.6s ease, transform 9s linear;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1.055);
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(10, 16, 17, 0.82), rgba(10, 16, 17, 0.42) 55%, rgba(10, 16, 17, 0.12)),
        linear-gradient(0deg, rgba(10, 16, 17, 0.55), rgba(10, 16, 17, 0.05) 45%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    max-width: 800px;
    font-size: clamp(44px, 7.4vw, 96px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: 0.06em;
}

.hero h1 span {
    display: block;
}

.hero-copy {
    max-width: 600px;
    margin: 30px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    line-height: 2.1;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 42px;
}

/* 縦書きの英字ワードマーク（右端） */
.hero-side {
    position: absolute;
    top: 50%;
    right: clamp(16px, 3vw, 40px);
    z-index: 1;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    font-family: var(--en);
    font-size: 12px;
    letter-spacing: 0.62em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.44);
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 1;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.66);
    font-family: var(--en);
    font-size: 10px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
}

.scroll-cue::after {
    content: "";
    width: 1px;
    height: 68px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
    animation: cue-drop 2.4s var(--ease-out) infinite;
}

@keyframes cue-drop {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    45% {
        transform: scaleY(1);
        transform-origin: top;
    }

    55% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* --------------------------------------------------------------------------
   5. 共通コンポーネント
   -------------------------------------------------------------------------- */
.section {
    padding-block: var(--section-pad);
}

.section-tight {
    padding-top: calc(var(--section-pad) * 0.62);
}

.split {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: start;
}

.split-reverse {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
}

/* ボタン */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.4em;
    min-height: 54px;
    padding: 0 26px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    transition: background-color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), color 0.35s var(--ease-out);
}

.button::after {
    content: "\2192";
    font-family: var(--en);
    font-size: 15px;
    transition: transform 0.35s var(--ease-out);
}

.button:hover::after {
    transform: translateX(6px);
}

.button-primary {
    background: var(--pine);
    border-color: var(--pine);
    color: var(--white);
}

.button-primary:hover {
    background: var(--pine-deep);
    border-color: var(--pine-deep);
}

.button-ghost {
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--white);
}

.button-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* 販売前の待機表示（押せないボタン） */
.button-standby {
    border-color: var(--line);
    color: var(--ink-mute);
    background: var(--paper);
    cursor: default;
}

.button-standby::after {
    content: none;
}

.button-light {
    background: var(--paper);
    border-color: var(--paper);
    color: var(--ink);
}

.button-light:hover {
    background: var(--white);
}

/* テキストリンク（金の下線がスライド） */
.text-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.8em;
    padding-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
}

.text-link::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: currentColor;
    opacity: 0.4;
}

.text-link::after {
    content: "\2192";
    font-family: var(--en);
    transition: transform 0.35s var(--ease-out);
}

a:hover .text-link::after,
.text-link:hover::after {
    transform: translateX(6px);
}

/* News ストリップ */
.news-strip {
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.news-strip-inner {
    display: flex;
    align-items: center;
    gap: clamp(20px, 4vw, 48px);
    min-height: 84px;
}

.strip-label {
    flex: 0 0 auto;
    color: var(--gold-text);
    font-size: 13px;
}

.strip-link {
    display: flex;
    align-items: baseline;
    gap: 22px;
    min-width: 0;
    color: var(--ink);
    transition: color 0.3s var(--ease-out);
}

.strip-link:hover {
    color: var(--pine);
}

.strip-link time {
    flex: 0 0 auto;
    font-family: var(--en);
    font-size: 13px;
    letter-spacing: 0.14em;
    color: var(--ink-mute);
}

.strip-more {
    flex: 0 0 auto;
    margin-left: auto;
    color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   6. ホーム各セクション
   -------------------------------------------------------------------------- */
/* 私たちについて — 背景に英字の透かし */
.intro-section {
    position: relative;
    overflow: hidden;
}

.intro-section::before {
    content: "ALTIMARE";
    position: absolute;
    top: clamp(20px, 4vw, 56px);
    right: -0.14em;
    font-family: var(--en);
    font-size: clamp(90px, 14vw, 200px);
    letter-spacing: 0.08em;
    line-height: 1;
    color: rgba(25, 27, 28, 0.045);
    pointer-events: none;
}

.intro-section .container {
    position: relative;
}

/* カンパニー / 作品への導線 */
.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 36px);
}

.spotlight-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(340px, 42vw, 460px);
    padding: clamp(24px, 3.4vw, 40px);
    color: var(--white);
    overflow: hidden;
}

.spotlight-media {
    position: absolute;
    inset: 0;
}

.spotlight-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease-out);
}

.spotlight-card:hover .spotlight-media img {
    transform: scale(1.05);
}

.spotlight-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 16, 17, 0.84), rgba(10, 16, 17, 0.16) 55%);
    transition: background-color 0.5s var(--ease-out);
}

.spotlight-body {
    position: relative;
    z-index: 1;
}

.spotlight-en {
    margin: 0 0 10px;
    font-size: 12px;
    color: var(--gold);
}

.spotlight-card h3 {
    margin: 0 0 10px;
    font-size: clamp(24px, 2.6vw, 30px);
    color: var(--white);
}

.spotlight-card p {
    max-width: 380px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    line-height: 1.9;
}

/* 事業の3本柱 — 細罫のエディトリアルカード */
.feature-band {
    background: var(--paper-strong);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3.4vw, 48px);
}

.feature-item {
    display: flex;
    flex-direction: column;
}

.feature-media {
    overflow: hidden;
}

.feature-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 1.4s var(--ease-out);
}

.feature-item:hover .feature-media img {
    transform: scale(1.04);
}

.feature-body {
    flex: 1;
    padding: 26px 0 0;
    border-bottom: 1px solid var(--line);
}

.feature-kicker {
    margin: 0 0 12px;
    color: var(--gold-text);
    font-size: 12px;
}

.feature-item h3 {
    margin: 0 0 14px;
    font-size: 21px;
}

.feature-item .feature-body p:last-child {
    margin: 0 0 26px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.95;
}

/* 3つの約束 — 箱をやめ、細罫と序数で組む */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 56px);
}

.value-item {
    padding-top: 26px;
    border-top: 1px solid var(--ink);
}

.value-num {
    display: block;
    margin-bottom: 18px;
    font-family: var(--en);
    font-size: 15px;
    letter-spacing: 0.3em;
    color: var(--gold-text);
}

.value-item h3 {
    margin: 0 0 16px;
    font-size: clamp(21px, 2vw, 25px);
}

.value-item p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 2;
}

/* 公演情報フォーカス — 金の罫をずらした額装 */
.performance-focus {
    background: var(--white);
}

.image-panel {
    position: relative;
}

.image-panel::after {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 1px solid var(--gold-line);
    pointer-events: none;
}

.image-panel img {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 420px;
    object-fit: cover;
}

/* お問い合わせCTA — 夜 */
.contact-cta {
    position: relative;
    background: var(--night);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.contact-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 90% at 50% 110%, rgba(174, 139, 77, 0.16), transparent 65%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
}

.contact-cta .eyebrow {
    justify-content: center;
}

.contact-cta .eyebrow::before {
    display: none;
}

.contact-cta h2 {
    margin-bottom: 36px;
    color: var(--white);
}

.contact-cta .button {
    min-width: 280px;
}

/* --------------------------------------------------------------------------
   7. フッター
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--night);
    color: var(--night-soft);
    border-top: 1px solid var(--gold-line);
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: clamp(32px, 5vw, 64px);
    padding-block: clamp(56px, 8vw, 88px) clamp(36px, 5vw, 56px);
}

.footer-wordmark {
    margin: 0 0 18px;
    font-family: var(--en);
    font-size: clamp(34px, 4.6vw, 52px);
    letter-spacing: 0.22em;
    line-height: 1.1;
    color: var(--paper);
}

.footer-name {
    margin: 0 0 6px;
    color: var(--night-soft);
    font-size: 14px;
    letter-spacing: 0.1em;
}

.footer-addr {
    margin: 0;
    color: var(--night-mute);
    font-size: 13px;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 32px;
    align-content: start;
    font-size: 14px;
}

.footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--night-soft);
    letter-spacing: 0.08em;
    transition: color 0.3s var(--ease-out);
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 22px;
    border-top: 1px solid var(--night-line);
}

.copyright {
    margin: 0;
    color: var(--night-mute);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.footer-credit {
    margin: 0;
    font-family: var(--en);
    font-size: 10px;
    letter-spacing: 0.34em;
    color: var(--night-mute);
}

/* --------------------------------------------------------------------------
   8. 下層ページ共通
   -------------------------------------------------------------------------- */
.page-main {
    padding-top: var(--header-h);
}

/* 写真ヒーロー（カンパニー / 作品 / 公演情報） */
.page-hero {
    position: relative;
    min-height: clamp(420px, 56vh, 560px);
    margin-top: calc(var(--header-h) * -1);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: var(--white);
    background: var(--night);
}

.page-hero-image,
.page-hero-shade {
    position: absolute;
    inset: 0;
}

.page-hero-image {
    background-position: center;
    background-size: cover;
    animation: hero-settle 2.4s var(--ease-out) both;
}

@keyframes hero-settle {
    from {
        transform: scale(1.06);
    }

    to {
        transform: scale(1);
    }
}

.page-hero-shade {
    background:
        linear-gradient(90deg, rgba(10, 16, 17, 0.78), rgba(10, 16, 17, 0.3) 60%),
        linear-gradient(0deg, rgba(10, 16, 17, 0.6), rgba(10, 16, 17, 0.04) 50%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    padding-block: 0 clamp(44px, 6vw, 72px);
}

.page-hero h1 {
    font-size: clamp(38px, 5.6vw, 68px);
    line-height: 1.24;
}

.page-hero p:not(.eyebrow) {
    max-width: 640px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 2;
}

/* 静かなページ頭（会社概要 / ニュース / お問い合わせ） */
.simple-page-head {
    position: relative;
    padding: calc(var(--section-pad) * 0.9) 0 calc(var(--section-pad) * 0.55);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.simple-page-head::before {
    content: attr(data-en);
    position: absolute;
    right: -0.12em;
    bottom: -0.18em;
    font-family: var(--en);
    font-size: clamp(80px, 13vw, 180px);
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
    color: rgba(25, 27, 28, 0.045);
    pointer-events: none;
}

.simple-page-head .container {
    position: relative;
}

.simple-page-head h1 {
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.3;
}

.simple-page-head p:not(.eyebrow) {
    max-width: 640px;
    margin: 18px 0 0;
    color: var(--ink-soft);
    font-size: 15px;
}

/* --------------------------------------------------------------------------
   9. ページ固有
   -------------------------------------------------------------------------- */
/* 公演情報 — 上演予定パネル */
.performance-card {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: clamp(32px, 5vw, 64px);
    padding: clamp(32px, 5vw, 60px);
    border: 1px solid var(--line);
    background: var(--white);
}

.performance-card + .performance-card {
    margin-top: clamp(24px, 3.4vw, 44px);
}

.performance-status h2 {
    margin: 0 0 22px;
    font-size: clamp(26px, 2.8vw, 34px);
    line-height: 1.4;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 18px;
    border: 1px solid var(--gold-line);
    color: var(--gold-text);
    font-size: 13px;
    letter-spacing: 0.22em;
}

.performance-detail h3 {
    margin: 0 0 14px;
    font-size: clamp(20px, 2.2vw, 25px);
}

.performance-detail > p {
    margin: 0 0 22px;
    color: var(--ink-soft);
}

.info-list {
    margin: 30px 0 36px;
    border-top: 1px solid var(--line);
}

.info-list div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
}

.info-list dt {
    color: var(--ink);
    font-weight: 500;
    letter-spacing: 0.08em;
}

.info-list dd {
    margin: 0;
    color: var(--ink-soft);
}

.info-sub {
    display: inline-block;
    margin-top: 4px;
    color: var(--ink-mute);
    font-size: 13px;
    letter-spacing: 0.04em;
}

/* 公演キービジュアル */
.performance-media {
    margin: 28px 0 0;
    overflow: hidden;
    border: 1px solid var(--line);
}

.performance-media img {
    display: block;
    width: 100%;
    height: auto;
}

/* チケット券種表 */
.ticket-heading {
    margin: 38px 0 16px;
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.14em;
}

.ticket-heading::after {
    content: "";
    display: block;
    width: 34px;
    margin-top: 10px;
    border-top: 1px solid var(--gold-line);
}

.ticket-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.ticket-table th,
.ticket-table td {
    padding: 15px 4px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.ticket-table thead th {
    padding-bottom: 11px;
    color: var(--ink-mute);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.2em;
    border-bottom-color: var(--ink);
}

.ticket-table tbody th {
    width: 52%;
    color: var(--ink);
    font-weight: 400;
}

.ticket-table td {
    color: var(--ink);
}

.ticket-support {
    display: inline-block;
    margin-left: 10px;
    padding: 2px 9px;
    background: var(--pine-tint);
    color: var(--pine);
    font-size: 11.5px;
    letter-spacing: 0.1em;
    vertical-align: 1px;
}

.ticket-small {
    display: block;
    margin-top: 5px;
    color: var(--ink-mute);
    font-size: 12.5px;
}

.ticket-period {
    margin: 16px 0 0;
    color: var(--ink-soft);
    font-size: 13.5px;
    letter-spacing: 0.04em;
}

.performance-actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* 入場時のご案内（子供無料席・同伴者半額席の本人確認） */
.entry-note {
    margin-top: 22px;
    padding: 16px clamp(16px, 2vw, 22px);
    background: var(--pine-tint);
    border-left: 2px solid var(--pine);
}

.entry-note-title {
    margin: 0 0 6px;
    font-family: var(--serif);
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--pine-deep);
}

.entry-note-body {
    margin: 0;
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.9;
}

/* 文化庁補助事業のクレジット */
.subsidy-program {
    margin-top: 34px;
    padding: 26px clamp(20px, 3vw, 30px);
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold-line);
}

.subsidy-program-main {
    display: flex;
    align-items: flex-start;
    gap: clamp(18px, 2.6vw, 28px);
}

.subsidy-program-mark {
    flex: none;
    width: clamp(120px, 15vw, 158px);
    height: auto;
    margin-top: 2px;
}

.subsidy-program-name {
    margin: 0;
    font-family: var(--serif);
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: 0.04em;
}

.subsidy-program-description {
    margin: 8px 0 0;
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.8;
}

.subsidy-program-note {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--ink-mute);
    font-size: 12.5px;
    line-height: 1.9;
}

@media (max-width: 599px) {
    .ticket-table tbody th {
        width: 46%;
    }

    .ticket-support {
        margin-left: 0;
        margin-top: 5px;
    }

    .subsidy-program-main {
        flex-direction: column;
        gap: 14px;
    }
}

/* 公演アーカイブ（年表） */
.timeline {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--ink);
}

.timeline li {
    display: grid;
    grid-template-columns: 92px minmax(200px, 260px) 210px 1fr;
    gap: 28px;
    align-items: center;
    padding: 20px 6px;
    border-bottom: 1px solid var(--line);
    transition: background-color 0.3s var(--ease-out);
}

.timeline .t-poster {
    display: block;
    border: 1px solid var(--line);
    background: var(--white);
}

.timeline .t-poster img {
    display: block;
    width: 100%;
    height: auto;
}

.timeline .t-when {
    font-family: var(--en);
    font-size: 15px;
    letter-spacing: 0.06em;
    color: var(--gold-text);
}

.timeline li:hover {
    background: rgba(255, 255, 255, 0.66);
}

.timeline .t-year {
    font-family: var(--en);
    font-size: 21px;
    letter-spacing: 0.14em;
    color: var(--gold-text);
}

.timeline .t-date {
    display: block;
    margin-top: 3px;
    color: var(--ink-mute);
    font-size: 13px;
    letter-spacing: 0.1em;
}

.timeline .t-title {
    font-weight: 500;
    letter-spacing: 0.06em;
}

.timeline .t-title span {
    display: block;
    margin-top: 4px;
    color: var(--ink-mute);
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.04em;
}

.timeline .t-venue {
    color: var(--ink-soft);
    font-size: 13px;
}

.archive-note {
    margin: 24px 0 0;
    color: var(--ink-mute);
    font-size: 13px;
}

.archive-note a {
    color: var(--pine);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* 公演ができるまで */
.process-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 40px);
}

.process-item {
    padding-top: 24px;
    border-top: 1px solid var(--ink);
}

.process-num {
    display: block;
    margin-bottom: 16px;
    font-family: var(--en);
    font-size: 15px;
    letter-spacing: 0.3em;
    color: var(--gold-text);
}

.process-item h3 {
    margin: 0 0 12px;
    font-size: 19px;
}

.process-item p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.95;
}

/* 会社概要 */
.company-intro {
    margin-bottom: clamp(48px, 7vw, 72px);
}

.company-intro h2 {
    margin: 0 0 26px;
}

.company-intro p {
    margin: 0 0 1.4em;
    color: var(--ink-soft);
}

.company-intro p:last-child {
    margin-bottom: 0;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid var(--ink);
}

.company-table th,
.company-table td {
    padding: 24px 8px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    text-align: left;
}

.company-table th {
    width: 200px;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: 0.1em;
}

.company-table td {
    color: var(--ink-soft);
}

.purpose-section {
    background: var(--paper-strong);
}

.purpose-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: purpose;
    border-top: 1px solid var(--line);
}

.purpose-list li {
    counter-increment: purpose;
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
}

.purpose-list li::before {
    content: counter(purpose, decimal-leading-zero);
    flex: 0 0 auto;
    font-family: var(--en);
    font-size: 13px;
    letter-spacing: 0.2em;
    color: var(--gold-text);
}

/* ニュース */
.news-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--ink);
}

.news-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 24px;
    align-items: baseline;
    padding: 26px 6px;
    border-bottom: 1px solid var(--line);
}

.news-item time {
    font-family: var(--en);
    font-size: 14px;
    letter-spacing: 0.14em;
    color: var(--gold-text);
}

.news-item span {
    color: var(--ink-soft);
}

.news-item a {
    color: var(--pine);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* お問い合わせ */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.contact-form {
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid var(--line);
    background: var(--white);
}

.contact-form label {
    display: block;
    margin-bottom: 24px;
}

.contact-form label > span {
    display: block;
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 14px 16px;
    color: var(--ink);
    transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--pine);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(14, 95, 99, 0.12);
}

.contact-form .button {
    min-width: 240px;
}

.form-message {
    margin: 0 0 26px;
    color: var(--gold-text);
    font-size: 14px;
}

/* 差し戻しの一文 */
.form-message.is-error {
    padding: 14px 18px;
    background: rgba(174, 139, 77, 0.09);
    border-left: 2px solid var(--gold);
    color: var(--ink);
    line-height: 1.8;
}

.form-note {
    margin: 2px 0 12px;
    color: var(--ink-mute);
    font-size: 12.5px;
}

/* 自動投稿よけ（人には見せない） */
.form-hp {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* 送信完了ページ */
.thanks-note {
    margin: 0 0 clamp(30px, 4vw, 44px);
    padding-bottom: clamp(28px, 3.4vw, 40px);
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 15px;
}

.thanks-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
}

.contact-side {
    padding: 34px 0 0;
    border-top: 1px solid var(--ink);
}

.contact-side h2 {
    margin: 0 0 16px;
    font-size: clamp(22px, 2.4vw, 27px);
}

.contact-side p {
    margin: 0 0 1.2em;
    color: var(--ink-soft);
    font-size: 14px;
}

/* カンパニー */
.leader-portrait {
    position: relative;
}

.leader-portrait::after {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 1px solid var(--gold-line);
    pointer-events: none;
}

.leader-portrait img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.leader-sign {
    margin: 28px 0 0;
    font-family: var(--serif);
    font-size: 21px;
    letter-spacing: 0.14em;
    color: var(--ink);
}

.leader-sign span {
    display: block;
    margin-top: 4px;
    color: var(--ink-mute);
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0.1em;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 36px);
}

.member-card {
    display: flex;
    flex-direction: column;
}

.member-media {
    overflow: hidden;
}

.member-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 1.4s var(--ease-out);
}

.member-card:hover img {
    transform: scale(1.04);
}

.member-body {
    padding: 20px 0 0;
}

.member-en {
    margin: 0 0 6px;
    color: var(--gold-text);
    font-size: 11px;
}

.member-name {
    margin: 0 0 4px;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 21px;
    letter-spacing: 0.1em;
}

.member-role {
    margin: 0 0 12px;
    color: var(--pine);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
}

.member-bio {
    margin: 0;
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.95;
}

/* 座組（責任者のクレジット） */
.credit-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 clamp(24px, 3.4vw, 48px);
    margin: 0 0 clamp(34px, 4.2vw, 52px);
}

.credit-list div {
    padding: 22px 4px 24px;
    border-top: 1px solid var(--ink);
}

.credit-list dt {
    color: var(--gold-text);
    font-size: 12px;
    letter-spacing: 0.2em;
}

.credit-list dd {
    margin: 10px 0 0;
    font-family: var(--serif);
    font-size: clamp(19px, 2vw, 22px);
    letter-spacing: 0.1em;
}

.credit-list dd span {
    display: block;
    margin-top: 8px;
    color: var(--ink-mute);
    font-family: var(--sans);
    font-size: 13px;
    letter-spacing: 0.04em;
}

@media (max-width: 599px) {
    .credit-list {
        grid-template-columns: 1fr;
    }
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 3.4vw, 44px);
}

.staff-item {
    padding-top: 22px;
    border-top: 1px solid var(--ink);
}

.staff-item h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.staff-item p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.95;
}

/* 作品 */
.works-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 3.4vw, 44px);
}

.work-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    background: var(--white);
    overflow: hidden;
}

.work-media {
    overflow: hidden;
}

.work-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 1.4s var(--ease-out);
}

.work-card:hover img {
    transform: scale(1.04);
}

.work-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(24px, 3vw, 36px);
}

.work-tag {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0 13px;
    margin-bottom: 16px;
    font-size: 11px;
    letter-spacing: 0.18em;
}

.work-tag.is-original {
    background: var(--pine-tint);
    color: var(--pine);
}

.work-tag.is-commissioned {
    background: var(--gold-tint);
    color: var(--gold-text);
}

.section-lead .work-tag {
    margin-bottom: 0;
    vertical-align: middle;
}

.work-card h3 {
    margin: 0 0 6px;
    font-size: clamp(22px, 2.2vw, 26px);
}

.work-meta {
    margin: 0 0 14px;
    font-family: var(--en);
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--ink-mute);
}

.work-card p.work-desc {
    margin: 0 0 20px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.95;
}

.work-credit {
    width: 100%;
    margin: auto 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--ink-mute);
    font-size: 12px;
    line-height: 1.8;
}

.work-card .text-link {
    margin-top: auto;
    padding-top: 18px;
    color: var(--pine);
}

/* --------------------------------------------------------------------------
   10. モーション
   -------------------------------------------------------------------------- */
/* スクロール入場（JSが動く環境でのみ隠す） */
html.js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out);
}

html.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

html.js [data-reveal][data-reveal-delay="1"] { transition-delay: 0.12s; }
html.js [data-reveal][data-reveal-delay="2"] { transition-delay: 0.24s; }
html.js [data-reveal][data-reveal-delay="3"] { transition-delay: 0.36s; }

/* ヒーロー入場（CSSのみ / JS不要） */
.hero .eyebrow,
.hero h1 span,
.hero-copy,
.hero-actions {
    opacity: 0;
    transform: translateY(30px);
    animation: hero-in 1.1s var(--ease-out) forwards;
}

.hero .eyebrow { animation-delay: 0.25s; }
.hero h1 span:nth-child(1) { animation-delay: 0.45s; }
.hero h1 span:nth-child(2) { animation-delay: 0.6s; }
.hero-copy { animation-delay: 0.85s; }
.hero-actions { animation-delay: 1.05s; }

@keyframes hero-in {
    to {
        opacity: 1;
        transform: none;
    }
}

/* ページ遷移フェード */
html.page-fade body {
    opacity: 0;
    transition: opacity 0.5s ease;
}

html.page-fade.is-page-ready body {
    opacity: 1;
}

html.page-fade.is-page-leaving body {
    opacity: 0;
    transition: opacity 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {

    html.js [data-reveal],
    .hero .eyebrow,
    .hero h1 span,
    .hero-copy,
    .hero-actions {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }

    .hero-slide,
    .page-hero-image,
    .scroll-cue::after {
        animation: none;
        transition: opacity 0.4s ease;
        transform: none;
    }

    html.page-fade body {
        opacity: 1;
        transition: none;
    }
}

/* --------------------------------------------------------------------------
   11. レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 1079px) {
    :root {
        --header-h: 68px;
    }
}

@media (max-width: 900px) {

    .split,
    .split-reverse,
    .feature-grid,
    .values-grid,
    .performance-card,
    .contact-layout,
    .spotlight-grid,
    .works-grid,
    .staff-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .member-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero {
        min-height: 86svh;
        padding-bottom: 96px;
    }

    .hero-side {
        display: none;
    }

    .split-reverse .image-panel {
        order: -1;
    }

    .image-panel img {
        min-height: 300px;
    }

    .timeline li {
        grid-template-columns: 84px 1fr;
        gap: 6px 20px;
        align-items: start;
    }

    .timeline .t-poster {
        grid-row: 1 / span 3;
    }

    .timeline .t-when,
    .timeline .t-venue {
        grid-column: 2;
    }

    .contact-side {
        padding-top: 28px;
    }
}

@media (max-width: 620px) {
    body {
        line-height: 1.85;
    }

    /* 序文ラベルは自然折返しのインライン組みへ */
    .eyebrow {
        display: block;
    }

    .eyebrow::before {
        display: inline-block;
        width: 24px;
        vertical-align: middle;
        margin-right: 10px;
    }

    .eyebrow .en {
        margin-right: 0.9em;
    }

    .section-heading-center .eyebrow,
    .contact-cta .eyebrow {
        text-align: center;
    }

    .scroll-cue {
        display: none;
    }

    .hero {
        min-height: 84svh;
        padding-bottom: 88px;
    }

    .hero-copy {
        font-size: 14px;
        line-height: 1.95;
    }

    .hero-actions {
        display: grid;
        width: min(360px, 100%);
    }

    .news-strip-inner {
        flex-wrap: wrap;
        gap: 6px 24px;
        padding-block: 18px;
    }

    .strip-link {
        flex-wrap: wrap;
        gap: 4px 16px;
    }

    .strip-more {
        display: none;
    }

    .section {
        padding-block: calc(var(--section-pad) * 0.82);
    }

    .member-grid,
    .process-list {
        grid-template-columns: 1fr;
    }

    .info-list div,
    .news-item {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .timeline li {
        grid-template-columns: 1fr;
        gap: 6px;
        padding-inline: 2px;
    }

    .timeline .t-poster {
        grid-row: auto;
        width: 104px;
        margin-bottom: 8px;
    }

    .timeline .t-when,
    .timeline .t-venue {
        grid-column: auto;
    }

    .company-table,
    .company-table tbody,
    .company-table tr,
    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
    }

    .company-table th {
        padding: 18px 4px 2px;
        border-bottom: 0;
        color: var(--gold-text);
        font-size: 13px;
    }

    .company-table td {
        padding: 0 4px 18px;
    }

    .contact-form .button,
    .contact-cta .button {
        width: 100%;
        min-width: 0;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}
