/* ==========================================================================
   WINX 2026 - メインスタイル
   ========================================================================== */

:root {
  --color-primary: #B3272D;   /* レッド */
  --color-primary-dark: #7a1a1f;
  --color-accent: #C9A227;    /* ゴールド */
  --color-bg: #FAF8F4;        /* 生成りに近いオフホワイト */
  --color-bg-pure: #FFFFFF;
  --color-text: #17130F;      /* 墨に近い黒 */
  --color-text-sub: #5C5850;
  --color-line: rgba(23, 19, 15, 0.12);
  --color-manifesto-idle: #E2DDD0;
  /* タイプシステム（役割を固定し、これ以上増やさない）
     --font-display: 見出し専用
     --font-jp:      本文専用
     --font-en:      英字eyebrow・小さいラベル・装飾的な背景文字のみ（本文・見出しには使わない）
     We Play To Win.の署名はフォントではなくSVG Path（.ww-word）で描画。詳細は該当CSSブロック参照 */
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-display: "Zen Kaku Gothic New", var(--font-jp);
  --font-en: "EB Garamond", "Times New Roman", serif;
  --section-padding: clamp(4rem, 10vw, 10rem);
  --content-max: 1400px;
  --radius-card: 1rem;
  --radius-control: 0.5rem;

  /* ==========================================================================
     Motion Design System
     全てのスクロール演出・視差・リビールはここのトークンを参照する。
     個別のセクションでイージング/durationの値をその場で決め打ちしない。
     ========================================================================== */
  --ease-reveal: power3.out;              /* 通常のフェード・スケールイン・リビール全般 */
  --ease-signature: back.out(2.2);        /* 完了ポップ・強調の一発演出（We Play To Win.等） */
  --duration-reveal-s: 0.8;
  --duration-reveal-l: 1.2;
  /* パララックス速度層。scrollTrigger(scrub)で動かす量は、要素の基準サイズにこの倍率を掛けて決める
     bg(背景・実質静止) 0 → far 0.35 → mid 0.6 → photo(写真) 1 → fg(前景装飾・UI) 1.3 */

  /* ==========================================================================
     Visual Design System: 写真グレード
     素材ごとに色味がバラバラな実写・プレースホルダーを、CSSフィルタ一枚で
     「一本のブランドムービー」のトーンに統一する。個別画像編集ではなくシステムとして
     適用するため、将来写真が差し替わっても自動追従する。
     ========================================================================== */
  --photo-grade-filter: contrast(1.08) saturate(0.82) brightness(0.96) sepia(0.12) hue-rotate(-6deg);
}

* {
  box-sizing: border-box;
}

/* 写真グレード共通ユーティリティ。トーン・色温度・彩度をサイト全体で統一する */
.graded {
  filter: var(--photo-grade-filter);
}

/* サイト全体のフィルムグレイン。hero-noiseと同じSVG feTurbulenceパターンをbody直下に
   固定表示し、ページのどこにいても「同じ空気」の中にいる感触を作る */
.site-grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  opacity: 0.045;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%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");
}

/* サイトを時々飛び回るワカモノラボの蝶々ロゴ。固定位置(fixed)にして
   ページ・スクロール位置に関わらず画面上を横切るように演出する（main.jsのinitFlyingButterfly） */
.site-butterfly {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 91;
  width: clamp(30px, 3.6vw, 52px);
  height: auto;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}

.site-butterfly img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.3));
}

/* スムーズスクロールはLenisが担当するため、ネイティブのscroll-behaviorとは併用しない */
html.lenis,
html.lenis body {
  height: auto;
}

html.lenis-smooth {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-jp);
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
}

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

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

/* キーボード操作時のフォーカス表示（マウス操作では出さない） */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.floating-cta:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ヘッダー
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0));
  transition: background 0.3s ease;
}

.site-header .logo img {
  height: clamp(36px, 5vw, 56px);
  width: auto;
}

.site-header nav ul {
  list-style: none;
  display: flex;
  gap: clamp(1rem, 2vw, 2.5rem);
  margin: 0;
  padding: 0;
}

.site-header nav a {
  font-family: var(--font-jp);
  font-weight: 500;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  position: relative;
}

.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.site-header nav a:hover::after {
  width: 100%;
}

/* ハンバーガーメニュー: PCでは非表示。モバイルのみ表示するトグルボタン */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 101;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 780px) {
  .nav-toggle {
    display: flex;
  }

  .site-header nav {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-pure);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-open .site-header nav {
    opacity: 1;
    visibility: visible;
  }

  .site-header nav ul {
    flex-direction: column;
    align-items: center;
    gap: clamp(1.5rem, 6vw, 2.5rem);
  }

  .site-header nav a {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* ヒーローセクション
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background: #000;
  perspective: 1200px;
}

/* トップビュー: 光・粒子・ノイズ・ガラス層による空間の奥行き
   ========================================================================== */
.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%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");
}

/* Hero開幕演出: 暗闇（幕）が明けて、光が流れ込み、奥から文字が現れる。
   JS(initHeroOpening)が読み込み直後に一度だけ再生し、その後は不透明度0のまま残す */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #000;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  z-index: 1;
  width: min(50vw, 640px);
  height: min(50vw, 640px);
  left: -8%;
  bottom: -20%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.35), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  will-change: transform, opacity;
}

.hero-glow--red {
  left: auto;
  right: -12%;
  top: -15%;
  bottom: auto;
  width: min(38vw, 460px);
  height: min(38vw, 460px);
  background: radial-gradient(circle, rgba(179, 39, 45, 0.4), transparent 70%);
  filter: blur(80px);
}

.hero-orb {
  position: absolute;
  z-index: 1;
  top: 32%;
  right: 18%;
  width: clamp(60px, 8vw, 120px);
  height: clamp(60px, 8vw, 120px);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.25), rgba(201, 162, 39, 0.08) 60%, transparent 80%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  filter: blur(1px);
  pointer-events: none;
  will-change: transform;
}

.hero-marquee {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 40%;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-marquee .marquee__track span {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: #fff;
  opacity: 0.07;
  margin-right: clamp(2rem, 5vw, 4rem);
}

@media (max-width: 780px) {
  .hero-orb,
  .hero-noise,
  .hero-shine,
  .hero-marquee {
    display: none;
  }
}

.hero video,
.hero .hero-fallback-img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  opacity: 0.75;
}

/* 横長動画を縦長のスマホ画面にcoverで敷くと、画面いっぱいにするため映像のごく一部しか
   映らないほど拡大されてしまう。モバイルではcontainに切り替え、必ず映像全体を見せる
   （.heroはbackground:#000のため、余白は黒背景に自然になじむ） */
@media (max-width: 780px) {
  .hero video,
  .hero .hero-fallback-img {
    object-fit: contain;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 42%, rgba(0,0,0,0.58) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  color: #fff;
  padding: 2.5rem clamp(1.5rem, 6vw, 4.5rem) clamp(4.5rem, 12vw, 7rem);
  max-width: min(1100px, 92vw);
}

.hero-glow {
  position: absolute;
  z-index: 1;
  width: min(50vw, 640px);
  height: min(50vw, 640px);
  left: -8%;
  bottom: -20%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.35), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  will-change: transform, opacity;
}

.hero-content .en-sub {
  display: block;
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: clamp(0.95rem, 1.8vw, 1.3rem);
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.hero-content h1 {
  position: relative;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 7rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
}

.hero-content h1 .line {
  display: block;
}

/* SplitTypeで生成される文字単位のspan。マスク(clip-path)で隠し、
   文字自体はほぼ動かさずマスクだけが開いていく印象にする */
.hero-content h1 .char {
  display: inline-block;
  will-change: clip-path, filter, opacity, transform;
}

.hero-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 42%, rgba(255, 255, 255, 0.55) 50%, transparent 58%);
  mix-blend-mode: overlay;
  transform: translateX(-130%);
  pointer-events: none;
}

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  right: clamp(1.5rem, 6vw, 3rem);
  z-index: 2;
  color: #fff;
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 40px;
  background: var(--color-accent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* マニフェストセクション（企業理念）
   ========================================================================== */
.manifesto-section {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  min-height: 62vh;
  perspective: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
  padding: clamp(5rem, 12vw, 9rem) clamp(1.5rem, 6vw, 6rem);
}

.manifesto-glow {
  position: absolute;
  z-index: 0;
  width: min(60vw, 900px);
  height: min(60vw, 900px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(179, 39, 45, 0.1), rgba(201, 162, 39, 0.14) 45%, transparent 72%);
  filter: blur(70px);
  pointer-events: none;
  will-change: transform;
}

.manifesto-watermark {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}

.manifesto-watermark::after {
  content: "WINX";
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: clamp(8rem, 38vw, 46rem);
  line-height: 1;
  color: rgba(23, 19, 15, 0.05);
  white-space: nowrap;
}

.manifesto-text {
  position: relative;
  z-index: 1;
  margin: 0;
  transform-style: preserve-3d;
}

.manifesto-desc {
  position: relative;
  z-index: 1;
  font-family: var(--font-jp);
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  line-height: 1.9;
  max-width: clamp(46ch, 62vw, 82ch);
  margin: 0 auto;
  color: var(--color-text-sub);
}

.manifesto-text .line {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 4.2vw, 7rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--color-manifesto-idle);
}

.manifesto-text .line .accent {
  color: var(--color-primary);
}

/* セクション共通
   ========================================================================== */
.section {
  padding: var(--section-padding) clamp(1.5rem, 6vw, 6rem);
  scroll-margin-top: 90px;
}

.section-heading,
.about-grid,
.voice-grid,
.cta-inner {
  max-width: var(--content-max);
  margin-inline: auto;
}

.section-heading {
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.section-heading .en-sub {
  display: block;
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--color-primary);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  margin-bottom: 0.75rem;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.2;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section-heading__desc {
  margin: 1.5rem 0 0;
  max-width: 88ch;
  color: var(--color-text-sub);
  font-size: 0.98rem;
  line-height: 1.95;
}

/* 見出し下の手書き風アンダーライン（JSでSVGを挿入し、スクロールで描画する） */
.heading-mark {
  display: block;
  width: clamp(64px, 7vw, 110px);
  height: auto;
  margin-top: 0.6rem;
  color: var(--color-accent);
}

/* ABOUTセクション
   ========================================================================== */
.about-section {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-pure);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.about-glow {
  position: absolute;
  z-index: 0;
  top: -10%;
  right: -10%;
  width: min(45vw, 620px);
  height: min(45vw, 620px);
  background: radial-gradient(circle, rgba(201, 162, 39, 0.16), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  will-change: transform;
}

.about-grid {
  position: relative;
  z-index: 1;
}

/* 均等2分割の「箱」感を崩し、テキストは控えめに・画像は大胆に大きく、
   右側の余白へ意図的にはみ出させる非対称レイアウトにする */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

@media (min-width: 781px) {
  .about-grid {
    margin-right: clamp(-2rem, -4vw, -3rem);
  }
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.3;
  margin: 0.5rem 0 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about-text p {
  color: var(--color-text-sub);
  max-width: 42ch;
  line-height: 1.9;
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-jp);
  font-weight: 500;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--color-primary);
  color: var(--color-primary);
  padding-bottom: 0.3em;
  padding-right: 0;
  transition: padding-right 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.text-link:hover {
  padding-right: 0.5em;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* 単なる角丸の四角写真ではなく、背後にブランドカラーの色面を覗かせて奥行きと大胆さを出す */
.about-image {
  position: relative;
}

.about-image::before {
  content: "";
  position: absolute;
  top: -6%;
  right: -8%;
  width: 70%;
  height: 60%;
  background: var(--color-accent);
  opacity: 0.16;
  border-radius: var(--radius-card);
  z-index: 0;
}

.about-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-card);
  filter: var(--photo-grade-filter);
}

@media (max-width: 780px) {
  .about-image img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 780px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-image {
    order: -1;
  }
}

/* 事業紹介（スティッキースタック / NEWPEACE「サービス」ページ演出）
   見出し帯を水色、各事業ブロックをダークチャコールで統一。
   見出し帯・各事業ブロックは全て同じsticky位置に固定され、後から追いつくブロックほど
   z-indexが高いため、追いついた瞬間に前のブロックへ完全に重なって覆う。
   手前のブロックは進行度に応じて縮小し、奥へ畳まれていくように見せる
   （JS: assets/js/main.js の initBusinessStack）。
   ========================================================================== */
.business-section {
  --biz-bg: #242220;
  --biz-bg-alt: #29271f;
  --biz-text: #f5f2ea;
  --biz-text-sub: #b0aa9c;
  --biz-accent: var(--color-accent);
  --biz-accent-ink: var(--color-text);
  --biz-heading-bg: var(--biz-bg);
  --biz-heading-ink: #ffffff;
  --biz-outer-bg: #ffffff;
  --biz-radius: 22px;
  --biz-gap: 14px;
  background: var(--biz-outer-bg);
  padding: var(--biz-gap);
}

.biz-heading {
  position: sticky;
  top: var(--biz-gap);
  z-index: 0;
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  background: var(--biz-heading-bg);
  color: var(--biz-heading-ink);
  padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.25rem, 5vw, 4rem);
  border-radius: var(--biz-radius);
  margin-bottom: var(--biz-gap);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.35);
  transform-origin: center top;
  will-change: transform;
}

.biz-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--biz-heading-ink);
}

.biz-heading .en {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--color-accent);
}

.business-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--biz-gap);
}

.business-row {
  position: sticky;
  top: var(--biz-gap);
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 5vw, 4rem) clamp(2.5rem, 6vw, 4rem);
  border-radius: var(--biz-radius);
  box-shadow: 0 -40px 60px -30px rgba(0, 0, 0, 0.5);
  transform-origin: center top;
  will-change: transform;
  color: var(--biz-text);
}

.business-row:nth-child(odd) { background: var(--biz-bg); }
.business-row:nth-child(even) { background: var(--biz-bg-alt); }
/* $businesses配列の件数が増えた場合はここに追記すること（CSSのnth-of-typeでは自動採番できないため） */
.business-row:nth-of-type(1) { z-index: 1; }
.business-row:nth-of-type(2) { z-index: 2; }
.business-row:nth-of-type(3) { z-index: 3; }
.business-row:nth-of-type(4) { z-index: 4; }
.business-row:nth-of-type(5) { z-index: 5; }
.business-row:nth-of-type(6) { z-index: 6; }
.business-row:nth-of-type(7) { z-index: 7; }
.business-row:nth-of-type(8) { z-index: 8; }

.business-row__deco {
  position: absolute;
  top: clamp(1.5rem, 4vw, 2.75rem);
  left: 0;
  right: 0;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.business-row__deco .marquee__track span {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(6rem, 16vw, 13rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--biz-text);
  opacity: 0.08;
  margin-right: clamp(2rem, 5vw, 4rem);
}

.business-row__hero {
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
}

.business-row__content {
  order: 0;
}

.business-row__image {
  order: 1;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.business-row.is-reverse .business-row__content {
  order: 1;
}

.business-row.is-reverse .business-row__image {
  order: 0;
}

.business-row__num {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-en);
  font-style: italic;
  color: var(--biz-accent);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.1rem;
}

.business-row__num::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--biz-accent);
  display: inline-block;
}

.business-row__content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 1rem;
  color: var(--biz-text);
}

.business-row__content p {
  color: var(--biz-text-sub);
  max-width: clamp(34ch, 46vw, 60ch);
  margin: 0 0 1.5rem;
  line-height: 1.85;
  font-size: 0.92rem;
}

.business-row__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--biz-accent);
  color: var(--biz-accent-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  padding: 0.3rem 0.35rem 0.3rem 1.15rem;
  border-radius: 999px;
  transition: filter 0.25s ease;
}

.business-row:hover .business-row__cta {
  filter: brightness(1.08);
}

.business-row__cta .arrow {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--biz-accent-ink);
  color: var(--biz-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}

.business-row:hover .business-row__cta .arrow {
  transform: translateX(3px) rotate(-45deg);
}

.business-row__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: var(--photo-grade-filter);
  transition: transform 0.7s ease;
}

.business-row:hover .business-row__image img {
  transform: scale(1.05);
}

/* ロゴ素材（透過PNG）用: 写真グレードを適用せず、色面の上に等倍で浮かせて見せる */
.business-row__image--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 45%, rgba(201, 162, 39, 0.16), transparent 72%);
}

.business-row__image--logo img {
  width: auto;
  height: 92%;
  max-width: 88%;
  object-fit: contain;
  filter: none;
}

.business-row:hover .business-row__image--logo img {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .business-row__hero {
    grid-template-columns: 1fr;
  }
  .business-row__content,
  .business-row.is-reverse .business-row__content {
    order: 0;
  }
  .business-row__image,
  .business-row.is-reverse .business-row__image {
    order: 1;
  }
  .business-row__deco .marquee__track span {
    font-size: 4.2rem;
  }
  .business-row {
    position: static;
    min-height: auto;
    overflow: visible;
    padding-bottom: clamp(3rem, 10vw, 4.5rem);
    transform: none !important;
  }

  /* モバイルはposition:stickyの積み重ね演出をやめ、通常の縦積みに戻す。
     これでどの事業も画像・ボタンまで含めて確実にスクロールで最後まで見える */
  .biz-heading {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .biz-heading,
  .business-row {
    transition: none;
  }
}

/* CULTURE（社内の雰囲気） NEWPEACE型: 全面モザイク＋オーバーレイコピー
   ========================================================================== */
.office-section {
  background: var(--color-bg-pure);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: 0;
}

/* 流れるテキスト（マーキー）共通
   ========================================================================== */
.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  width: max-content;
  will-change: transform;
}

.marquee__track span {
  flex: 0 0 auto;
  display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    transform: none !important;
  }
}

.mosaic-bleed {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #0c0c0c;
  overflow: hidden;
}

.mosaic-inner {
  position: relative;
  padding: 0 clamp(1.25rem, 4.5vw, 4.5rem);
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 0.9vw, 18px);
}

.mosaic-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.mosaic-photo:nth-child(-n+4) {
  aspect-ratio: 3 / 2;
}

.mosaic-photo:nth-child(n+5):nth-child(-n+8) {
  aspect-ratio: 3 / 4.4;
}

.mosaic-photo:nth-child(n+9) {
  aspect-ratio: 3 / 3.6;
}

.mosaic-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: var(--photo-grade-filter);
  transition: transform 0.8s ease;
}

/* 上から2番目・右から2番目（2行目・3列目）の写真だけ、トリミング位置を少し左寄りに */
.mosaic-photo:nth-child(7) img {
  object-position: 25% center;
}

.mosaic-photo:hover img {
  transform: scale(1.04);
}

/* 手前レイヤーに浮かせる3枚: We Play To Win.のブラシ文字がこのカードの背後を通過して見える。
   傾き(rotate)はdata-base-rotate属性で指定し、initMouseParallax()がマウス追従のtranslateと
   合成してtransformに書き込む（CSSのtransformとJSのtransformが競合しないようにするため） */
.mosaic-photo--front {
  z-index: 10;
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.6);
}

@media (max-width: 720px) {
  .mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mosaic-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 5;
  overflow: visible;
}

/* We Play To Win.: ブランドシグネチャー。
   ブラシスクリプト書体(Kaushan Script)のアウトラインをSVG Pathに変換した一点物。
   main.jsのinitWinSignature()が、ストローク描画→塗り→仕上げのスケールポップの順で
   スクロールイン時に一度だけ再生する。 */
.ww-signature-wrap {
  position: relative;
  width: min(92vw, 1700px);
  aspect-ratio: 1900 / 950;
}

.ww-glow {
  position: absolute;
  inset: -12%;
  z-index: 0;
  background: radial-gradient(ellipse at 45% 55%, rgba(201, 162, 39, 0.4), transparent 65%);
  filter: blur(48px);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

/* 副次的な光源: 主光源より小さく・強めのコアを少しずらして重ね、単調な単一楕円ではなく
   「本物の光源が空間にある」深みを出す */
.ww-glow::after {
  content: "";
  position: absolute;
  inset: 18% 30% 40% 8%;
  background: radial-gradient(ellipse at 60% 40%, rgba(255, 226, 150, 0.35), transparent 70%);
  filter: blur(30px);
}

.ww-scroll,
.ww-float {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ww-signature {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform-origin: 50% 50%;
}

.ww-word {
  fill: var(--color-accent);
  fill-opacity: 1;
  stroke: var(--color-accent);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  paint-order: stroke fill;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5));
}

.ww-signature-wrap .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* セクション間の「せり上がって被さる」共通演出
   ========================================================================== */
.overlap-panel {
  position: relative;
  z-index: 2;
  margin-top: clamp(-120px, -10vw, -50px);
  border-radius: 50% 50% 0 0 / clamp(36px, 5vw, 90px) clamp(36px, 5vw, 90px) 0 0;
  box-shadow: 0 -26px 55px rgba(0, 0, 0, 0.18);
}

/* 継ぎ目の光（seam-glow）: 各セクションが持つゴールドの光（hero-glow/manifesto-glow等）と
   同じ色の光を、次のセクションが被さってくる継ぎ目そのものに置くことで、
   「新しいページが始まる」断絶感ではなく、同じ光が奥へ続いている感触を作る。
   JS側(initSeamGlowParallax)でスクロールに応じてゆっくり明滅・上下させる */
.overlap-panel {
  --seam-opacity: 0.4;
}

.overlap-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(70vw, 900px);
  height: clamp(140px, 20vw, 300px);
  transform: translate(-50%, -12%);
  background: radial-gradient(ellipse, rgba(201, 162, 39, 0.4), transparent 72%);
  filter: blur(50px);
  opacity: var(--seam-opacity);
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
}

/* 事業紹介・お客様の声・CTAは「凸」の丸みをやめて通常の直角に戻す */
.business-section.overlap-panel,
.voice-section.overlap-panel,
.cta-section.overlap-panel {
  border-radius: 0;
}

/* ABOUTは「凸」の弧ではなく、事業カードと同じ半径の小さな角丸に統一する */
.about-section.overlap-panel {
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

/* WORKS（挑戦の軌跡） NEWPEACE型: 画像にテキストを重ねず下部の黒帯に配置
   overflow:hiddenは意図的に付けない。子のcinema-chapter-innerがposition:stickyで
   ビューポート全体を基準に固定される必要があり、祖先にoverflow:hiddenがあると
   （たとえ実際には縦方向にはみ出していなくても）ブラウザがそこをスクロールコンテナと
   みなしてstickyの基準がビューポートからそのコンテナ内に変わってしまい機能しなくなるため
   ========================================================================== */
.works-section {
  position: relative;
  background: var(--color-bg);
  margin-top: clamp(-140px, -12vw, -60px);
  padding-top: clamp(2rem, 4vw, 3.5rem);
  border-radius: 50% 50% 0 0 / clamp(40px, 6vw, 110px) clamp(40px, 6vw, 110px) 0 0;
  box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.18);
}

.works-glow {
  position: absolute;
  z-index: 0;
  left: -12%;
  bottom: -15%;
  width: min(42vw, 560px);
  height: min(42vw, 560px);
  background: radial-gradient(circle, rgba(201, 162, 39, 0.14), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  will-change: transform;
}

/* シネマティック・チャプター演出: 「2つの実績」ではなく「1本のブランドムービー」として
   体験させるため、各事例をposition:stickyで同一画面に重ね、スクロールに連動して
   ゆっくりズームアウトしながら次のチャプターへクロスフェードする構成にする。
   JS(initCinemaScroll)がスクロール位置から進行度を計算し、opacity/scaleを更新する。
   prefers-reduced-motionの場合はJSがスクロール連動処理そのものを行わず、
   下記メディアクエリで通常のドキュメントフローに戻して全チャプターを静止表示する */
.cinema-section {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}

.cinema-section .section-heading {
  position: relative;
  z-index: 3;
  padding: 0 clamp(1.5rem, 6vw, 6rem);
}

.cinema-stage {
  position: relative;
  z-index: 1;
}

.cinema-chapter {
  position: relative;
  height: 260vh;
}

.cinema-chapter-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  perspective: 1400px;
  will-change: opacity;
}

.cinema-chapter:nth-of-type(1) .cinema-chapter-inner { z-index: 1; }
.cinema-chapter:nth-of-type(2) .cinema-chapter-inner { z-index: 2; }
.cinema-chapter:nth-of-type(3) .cinema-chapter-inner { z-index: 3; }
.cinema-chapter:nth-of-type(4) .cinema-chapter-inner { z-index: 4; }

.cinema-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0c0a08;
  will-change: transform, opacity, filter, clip-path;
}

.cinema-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--photo-grade-filter);
  transform: scale(1.05);
  will-change: transform;
}

.cinema-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 45%, transparent 32%, rgba(8, 6, 5, 0.55) 100%),
    linear-gradient(180deg, rgba(10, 8, 6, 0.68) 0%, rgba(10, 8, 6, 0.4) 38%, rgba(10, 8, 6, 0.88) 100%);
}

/* エディトリアルデザイン: 数字を「カード内の情報」ではなく、雑誌の表紙のような
   ビジュアルオブジェクトとして画面全体に配置する。均等グリッドは意図的に崩し、
   大きな数字→中サイズの英語ラベル→小さな日本語説明、という階層を明確にする */
.cinema-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  color: #fff;
}

.cinema-bg-type {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.cinema-bg-keyword,
.cinema-bg-number {
  position: absolute;
  left: 50%;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  opacity: 0.07;
}

.cinema-bg-keyword {
  top: 6%;
  transform: translateX(-50%);
  font-size: clamp(5rem, 19vw, 18rem);
}

.cinema-bg-number {
  bottom: 2%;
  transform: translateX(-50%);
  font-size: clamp(6rem, 24vw, 24rem);
}

.cinema-heading {
  position: absolute;
  top: clamp(2rem, 6vw, 4.5rem);
  left: clamp(1.5rem, 6vw, 6rem);
  max-width: 640px;
}

.cinema-chapter-tag {
  display: block;
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  margin-bottom: 0.6rem;
}

.cinema-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 4.6vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
  margin: 0 0 0.6rem;
}

.cinema-tagline {
  font-family: var(--font-jp);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* 「88%」のような、そのチャプターを象徴する最も印象的な数値を
   単なる情報ではなくビジュアルオブジェクトとして画面左下いっぱいに配置する */
.cinema-hero-stat {
  position: absolute;
  left: clamp(1.25rem, 5vw, 5rem);
  bottom: clamp(1.5rem, 5vw, 3rem);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: min(90vw, 760px);
}

.cinema-hero-value {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.04em;
  font-size: clamp(7rem, 28vw, 26rem);
  color: #fff;
  opacity: 0.94;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.cinema-hero-suffix {
  font-family: var(--font-jp);
  font-size: 0.28em;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  margin-left: 0.08em;
}

.cinema-hero-caption {
  margin-top: clamp(0.5rem, 1.8vw, 1rem);
}

.cinema-hero-en {
  display: block;
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  margin-bottom: 0.5rem;
}

.cinema-hero-desc {
  margin: 0;
  font-family: var(--font-jp);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

/* 副次的な数値: 均等グリッドではなく、サイズと縦位置にリズムを付けて配置する */
.cinema-mini-stats {
  position: absolute;
  right: clamp(1.25rem, 5vw, 5rem);
  bottom: clamp(1.75rem, 5vw, 4rem);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(0.9rem, 2vw, 1.5rem);
}

.cinema-mini-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.cinema-mini-stat:nth-child(odd) {
  margin-right: clamp(0.5rem, 3vw, 2.5rem);
}

.cinema-mini-stat:nth-child(2) {
  transform: translateY(-0.3em);
}

.cinema-platform-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  margin-bottom: 0.5rem;
}

.cinema-platform-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.cinema-mini-value {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  font-size: clamp(2.8rem, 6.4vw, 4.6rem);
}

.cinema-mini-stat:nth-child(2) .cinema-mini-value {
  font-size: clamp(3.4rem, 7.6vw, 5.6rem);
}

.cinema-mini-stat:nth-child(4) .cinema-mini-value {
  font-size: clamp(2.4rem, 5.4vw, 3.8rem);
}

.cinema-mini-suffix {
  font-size: 0.5em;
  margin-left: 0.05em;
  color: #fff;
}

.cinema-mini-en {
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.4rem;
}

.cinema-mini-label {
  font-family: var(--font-jp);
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
}

/* SNSチャプター: iPhoneを均等な横並びではなく、中央（YouTube）を主役に
   左右（TikTok/Instagram）を一回り小さく奥へ配置した立体構成にする。3層構造:
   .cinema-phone-slot(位置・奥行きの固定配置) > .cinema-phone(JSが姿勢=回転/マウス追従を担当。
   はじめは無地の状態にしておき、GSAPが姿勢を組み立てる) > .cinema-phone-float(スクロール連動の浮遊) */
.cinema-phone-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1600px;
}

.cinema-phone-slot {
  position: absolute;
}

.cinema-phone-slot--center {
  z-index: 3;
  transform: translateX(16%);
}

.cinema-phone-slot--left {
  z-index: 2;
  transform: translateX(-78%);
}

.cinema-phone-slot--right {
  z-index: 2;
  transform: translateX(108%);
}

.cinema-phone {
  will-change: transform;
}

.cinema-phone-float {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  will-change: transform;
}

.cinema-phone-img {
  width: auto;
  filter: drop-shadow(0 30px 55px rgba(0, 0, 0, 0.55));
}

.cinema-phone-slot--center .cinema-phone-img {
  height: clamp(270px, 36vw, 460px);
}

.cinema-phone-slot--center .cinema-phone-value {
  font-size: clamp(2.8rem, 6vw, 4.4rem);
}

.cinema-phone-slot--left .cinema-phone-img,
.cinema-phone-slot--right .cinema-phone-img {
  height: clamp(225px, 30vw, 390px);
}

.cinema-phone-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cinema-phone-value {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
}

@media (max-width: 780px) {
  .cinema-phone-stage {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding-top: 2rem;
  }

  .cinema-phone-slot {
    position: static;
    transform: none !important;
  }

  .cinema-phone {
    transform: none !important;
  }

  .cinema-phone-slot--left .cinema-phone-img,
  .cinema-phone-slot--right .cinema-phone-img {
    height: clamp(120px, 26vw, 170px);
  }

  .cinema-phone-slot--center .cinema-phone-img {
    height: clamp(150px, 32vw, 210px);
  }
}

@media (max-width: 780px) {
  .cinema-chapter {
    height: 200vh;
  }

  .cinema-content {
    position: static;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    padding: clamp(2rem, 6vw, 3rem) clamp(1.25rem, 5vw, 2rem) clamp(2.5rem, 8vw, 4rem);
  }

  .cinema-heading,
  .cinema-hero-stat,
  .cinema-mini-stats {
    position: static;
    max-width: 100%;
  }

  .cinema-hero-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .cinema-hero-caption {
    padding-bottom: 0;
  }

  .cinema-mini-stats {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .cinema-mini-stat {
    align-items: flex-start;
    text-align: left;
    margin-right: 0 !important;
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cinema-chapter {
    height: auto;
  }

  .cinema-chapter-inner {
    position: relative;
    top: auto;
    height: auto;
    min-height: 90vh;
  }

  .cinema-bg {
    transform: none !important;
  }
}

/* VOICE（お客様の声） 反転セクション
   ========================================================================== */
.voice-section {
  position: relative;
  overflow: hidden;
  background: var(--color-text);
  color: #fff;
  border-radius: 0;
  padding-top: clamp(6rem, 14vw, 14rem);
  padding-bottom: clamp(6rem, 12vw, 12rem);
}

.voice-glow {
  position: absolute;
  z-index: 0;
  right: -10%;
  top: -20%;
  width: min(38vw, 520px);
  height: min(38vw, 520px);
  background: radial-gradient(circle, rgba(201, 162, 39, 0.1), transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  will-change: transform;
}

.voice-grid,
.voice-section .section-heading {
  position: relative;
  z-index: 1;
}

.voice-section .section-heading .en-sub {
  color: var(--color-accent);
}

.voice-section .section-heading h2 {
  color: #fff;
}

.voice-section .empty-notice {
  color: rgba(255, 255, 255, 0.6);
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

/* 横一列に整列したグリッドではなく、1枚おきに少し落として「並べただけ」感を崩す */
@media (min-width: 901px) {
  .voice-card:nth-child(even) {
    margin-top: clamp(1.5rem, 4vw, 3.5rem);
  }
}

.voice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.voice-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.voice-avatar {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.voice-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--photo-grade-filter);
  transition: transform 0.7s ease;
}

.voice-card:hover .voice-avatar img {
  transform: scale(1.05);
}

.voice-content {
  padding: clamp(1.75rem, 3vw, 2.25rem);
}

.voice-quote {
  position: relative;
  color: #fff;
  font-size: 1rem;
  line-height: 1.9;
  margin: 0;
}

.voice-quote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.75rem;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}

.voice-person {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}

.voice-person .name {
  font-weight: 700;
  color: #fff;
}

.voice-person .role {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.empty-notice {
  color: var(--color-text-sub);
  font-size: 0.9rem;
}

/* CTAセクション
   ========================================================================== */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--color-primary);
  border-radius: 0;
  color: #fff;
}

.cta-glow {
  position: absolute;
  z-index: 0;
  width: min(50vw, 700px);
  height: min(50vw, 700px);
  top: -15%;
  right: -10%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.35), transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  will-change: transform;
}

.cta-marquee {
  position: absolute;
  z-index: 0;
  top: clamp(1.25rem, 3.5vw, 2.25rem);
  left: 0;
  right: 0;
  pointer-events: none;
}

.cta-marquee .marquee__track span {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 2.8vw, 2.1rem);
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.45);
  margin-right: clamp(1.5rem, 4vw, 3rem);
}

.cta-logo {
  display: block;
  height: clamp(2rem, 4vw, 2.75rem);
  width: auto;
  margin-bottom: 1.1rem;
  opacity: 0.95;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.cta-section .en-sub {
  display: block;
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--color-accent);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  margin-bottom: 0.75rem;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 14em;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  isolation: isolate;
  padding: 0.9em 2.2em;
  border-radius: var(--radius-control);
  font-family: var(--font-jp);
  font-weight: 500;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  transition: color 0.4s ease, transform 0.2s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

.btn:hover::before {
  transform: scaleX(1);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--color-accent);
  color: #1a1200;
}

.btn-primary::before {
  background: var(--color-primary);
}

.btn-primary:hover {
  color: #fff;
}

.btn-outline {
  border: 1px solid #fff;
  color: #fff;
}

.btn-outline::before {
  background: #fff;
}

.btn-outline:hover {
  color: var(--color-primary);
}

/* スクロールアニメーション用
   初期状態(opacity:0)はJS(main.js)側でGSAP読み込み成功後にのみ付与する。
   ここでopacity:0を固定すると、CDN障害等でGSAPが読み込めない環境で
   .reveal要素（ほぼ全セクション）が永久に非表示のままになってしまう。 */

/* カーソル追従の目マスコット
   ========================================================================== */
.cursor-eye {
  position: fixed;
  left: clamp(1rem, 3vw, 1.5rem);
  bottom: clamp(1rem, 3vw, 1.5rem);
  z-index: 90;
  pointer-events: none;
  filter: drop-shadow(0 6px 16px rgba(23, 19, 15, 0.25));
}

@media (max-width: 780px), (prefers-reduced-motion: reduce) {
  .cursor-eye {
    display: none;
  }
}

/* 常設のお問い合わせ導線（スクロール中いつでも押せるフローティングボタン）
   ========================================================================== */
.floating-cta {
  position: fixed;
  right: clamp(1rem, 3vw, 1.5rem);
  bottom: clamp(1rem, 3vw, 1.5rem);
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9em 1.4em;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 28px -8px rgba(179, 39, 45, 0.5);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease;
}

.floating-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-cta:hover {
  background: var(--color-primary-dark);
}

@media (max-width: 780px) {
  .floating-cta span {
    display: none;
  }
  .floating-cta {
    padding: 0.85em;
  }
}

/* カーソル追従リング（リンク・ボタンにホバーすると拡大）
   ========================================================================== */
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border: 1.5px solid var(--color-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 200;
  opacity: 0;
  transition: width 0.3s ease, height 0.3s ease, margin 0.3s ease,
    background 0.3s ease, opacity 0.3s ease;
}

.cursor-ring.is-active {
  opacity: 1;
}

.cursor-ring.is-hover {
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  background: rgba(201, 162, 39, 0.18);
}

@media (hover: none), (max-width: 780px), (prefers-reduced-motion: reduce) {
  .cursor-ring {
    display: none;
  }
}

/* スクロール進捗インジケーター
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 300;
  pointer-events: none;
}

/* フッター
   ========================================================================== */
.site-footer {
  background: var(--color-text);
  color: #fff;
  padding: 3rem clamp(1.5rem, 6vw, 6rem) 2rem;
  text-align: center;
}

.site-footer .logo img {
  height: 32px;
  margin: 0 auto 1rem;
  filter: brightness(0) invert(1);
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 0 2rem;
  padding: 0;
}

.footer-nav a {
  font-size: 0.85rem;
  color: #ccc;
}

.footer-nav a:hover {
  color: #fff;
}

.site-footer small {
  color: #999;
  font-size: 0.75rem;
}

/* サブページ共通（事業紹介・お問い合わせ・会社概要）
   ========================================================================== */
.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  padding: 8rem clamp(1.5rem, 6vw, 4.5rem) 3rem;
  background-color: #111;
  background-size: cover;
  background-position: center;
}

.page-hero-plain {
  min-height: 28vh;
  background: #111;
}

.page-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.6) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.page-hero-content .en-sub {
  display: block;
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--color-accent);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  margin-bottom: 0.75rem;
}

.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 700;
}

.page-hero-content .tagline {
  margin: 0.75rem 0 0;
  color: #ddd;
}

.page-basic {
  max-width: 860px;
  margin: 0 auto;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 2rem;
  font-weight: 700;
}

.page-content {
  color: var(--color-text);
  line-height: 2;
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-top: 3rem;
}

.page-content p {
  color: var(--color-text-sub);
}

.page-content--center {
  text-align: center;
}

/* お問い合わせフォーム（Contact Form 7）
   ========================================================================== */
.contact-content .wpcf7-form p {
  margin-bottom: 1.25rem;
}

.contact-content .wpcf7-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--color-text);
}

.contact-content .wpcf7-form input[type="text"],
.contact-content .wpcf7-form input[type="email"],
.contact-content .wpcf7-form input[type="tel"],
.contact-content .wpcf7-form select,
.contact-content .wpcf7-form textarea {
  width: 100%;
  padding: 0.8em 1em;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-control);
  background: var(--color-bg-pure);
  font-family: var(--font-jp);
  font-size: 1rem;
}

.contact-content .wpcf7-form textarea {
  min-height: 160px;
}

.contact-content .wpcf7-submit {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-control);
  padding: 0.9em 2.5em;
  font-family: var(--font-jp);
  font-weight: 500;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.contact-content .wpcf7-submit:hover {
  opacity: 0.85;
}

.contact-content .wpcf7-not-valid-tip {
  color: var(--color-primary);
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

.contact-content .wpcf7-response-output {
  margin-top: 1.5rem;
  padding: 1em;
  border-radius: 2px;
}

/* 会社概要ページ（page-about.php）
   ========================================================================== */
.about-hero {
  overflow: hidden;
  background: #111;
}

.about-hero .hero-glow--gold {
  z-index: 0;
}

.about-hero-logo {
  display: block;
  height: clamp(2.5rem, 5vw, 3.5rem);
  width: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 24px rgba(201, 162, 39, 0.35));
}

.about-mission,
.about-facts-section.overlap-panel {
  border-radius: 0;
}

.about-mission .en-sub {
  position: relative;
  z-index: 1;
  font-family: var(--font-jp);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.about-mission .manifesto-text {
  position: relative;
  z-index: 1;
}

.company-facts {
  max-width: var(--content-max);
  margin: 0 auto;
}

.company-facts__row {
  display: grid;
  grid-template-columns: clamp(88px, 14vw, 160px) 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.25rem, 3vw, 1.75rem) 0;
  border-top: 1px solid rgba(23, 19, 15, 0.1);
}

.company-facts__row:last-child {
  border-bottom: 1px solid rgba(23, 19, 15, 0.1);
}

.company-facts dt {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 500;
  color: var(--color-accent);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.company-facts dd {
  margin: 0;
  color: var(--color-text);
  line-height: 1.85;
}

.company-facts__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-facts__list li {
  position: relative;
  padding-left: 1.1em;
}

.company-facts__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

.company-facts__list li + li {
  margin-top: 0.4rem;
}

/* 挑戦の軌跡 詳細ページ（single-case_study.php）
   ========================================================================== */
.case-hero {
  background-color: #111;
  background-size: cover;
  background-position: center;
}

.case-stats-section {
  background: var(--color-bg);
}

.case-stats-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
}

.case-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.case-stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-accent);
}

.case-stat__label {
  font-family: var(--font-jp);
  font-size: 0.95rem;
  color: var(--color-text-sub);
  letter-spacing: 0.04em;
}


/* Movie Life Academy: ブランド体験ページ（template-movie-academy.php）
   「LPのセクション」ではなく、映画のシーン（.scene）として設計する。
   色・フォント・写真グレード・イージングは既存トークンをそのまま流用し、新しい配色は増やさない。
   詳細情報（料金・比較・FAQ・受講の流れ）だけは、既存コンポーネント（company-facts/step-list/
   compare-table/faq-list）を使い、落ち着いたトーンの「コーダ」として通常の.sectionで扱う
   ========================================================================== */
:root {
  --scene-gap: clamp(4rem, 10vw, 8rem);
  --scene-gap-sm: clamp(2rem, 5vw, 3.5rem);
}

/* シーン共通: 1ビート=1画面。派手な演出より「間」を優先する */
.scene {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--scene-gap-sm);
  overflow: hidden;
  padding: var(--scene-gap) clamp(1.5rem, 6vw, 6rem);
  text-align: center;
}

.scene--dark {
  background: var(--color-text);
  color: #fff;
}

.scene--light {
  background: var(--color-bg-pure);
  color: var(--color-text);
}

.scene-chapter {
  position: relative;
}

/* movie-stage: ヒーロー〜「何も、知らなくていい。」を1本の連続体験にする外殻。
   .scene単位の「セクション」という概念をこの区間だけ廃止し、背景（グラデーション・glow・
   光の筋）をステージ全体で持続させる。個々の.movie-beatは透明な「ビート」として上に乗るだけ。
   各レイヤーの視差速度は、本ファイル38行目のパララックス速度層コメント
   （far 0.35 / mid 0.6 / photo 1 / fg 1.3）をmovie-academy.js側でそのまま数値として使う
   （新しい比率は増やさない） */
.movie-stage {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(
    180deg,
    #050403 0%,
    #0a0705 22%,
    #100b06 46%,
    #171006 68%,
    #201408 86%,
    #2a1a09 100%
  );
}

/* front-page.phpの.heroとクラスを共有しているため、背景色の上書きは
   .movie-stageにネストされている場合だけに限定する（トップページ単独の.heroには影響させない） */
.movie-stage .hero {
  background: transparent;
}

/* このページのヒーロー動画(16:9)はobject-fit:coverで上下が大きく切れるため、
   被写体が収まりやすい位置に寄せる（トップページのヒーロー動画には影響させない） */
.movie-stage .hero video {
  object-position: 30% 30%;
}

/* モバイルは横長動画を縦長画面に敷く関係で横方向の切り取りが大きいため、
   PC向けに寄せた位置ではなく中央寄りに戻して不自然な切り取りを避ける。
   さらにcoverのままだと映像のごく一部しか見えないほど拡大されてしまうため、
   containに切り替えて映像全体を見せる（.movie-stageの背景に自然になじむ） */
@media (max-width: 780px) {
  .movie-stage .hero video {
    object-position: 50% 30%;
    object-fit: contain;
  }
}

/* 「人生を変える挑戦は」が.hero-content h1の最大フォントサイズだと横幅にギリギリ収まらず、
   末尾の1文字だけ意図しない3行目に折り返されてしまう。front-page.phpのヒーローには影響させず、
   このページの見出しだけ折り返し禁止+わずかに縮小して2行(人生を変える挑戦は/ここから始まる。)に収める */
.movie-stage .hero-content h1 {
  font-size: clamp(2.4rem, 7vw, 6rem);
}

.movie-stage .hero-content h1 .line {
  white-space: nowrap;
}

.movie-stage__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.movie-stage__glow {
  position: absolute;
  width: min(60vw, 760px);
  height: min(60vw, 760px);
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
}

.movie-stage__glow--a {
  top: 6%;
  left: -14%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.22), transparent 70%);
}

.movie-stage__glow--b {
  top: 46%;
  right: -16%;
  background: radial-gradient(circle, rgba(179, 39, 45, 0.2), transparent 70%);
}

.movie-stage__glow--c {
  top: 82%;
  left: -10%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.24), transparent 70%);
}

/* 一本の光の筋。ステージ全体の滞在中、上から下へゆっくり伸びていく（他レイヤーとは違う速度で視差する） */
.movie-stage__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  background: linear-gradient(180deg, transparent, rgba(201, 162, 39, 0.4) 8%, rgba(201, 162, 39, 0.4) 92%, transparent);
  will-change: transform;
}

@media (max-width: 780px) {
  .movie-stage__line,
  .movie-stage__glow--c {
    display: none;
  }
}

/* ビート共通: セクション背景色を持たず、movie-stageの連続背景をそのまま見せる */
.movie-beat {
  position: relative;
  z-index: 1;
}

/* つなぎのビート: タイポモーフィングだけを見せる短い間（40〜60dvh、通常ビートより短い） */
.movie-beat--transition {
  min-height: clamp(38vh, 50vw, 60vh);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 「ヒーロー→動画が、武器になる時代。」間のつなぎを短縮 */
.movie-beat--transition-sm {
  min-height: clamp(18vh, 22vw, 28vh);
}

/* ビートを短くした分、.type-wordの既定サイズ(clamp(5rem,20vw,20rem))のままだと
   overflow:hiddenで上下が切れてしまうため、高さに合わせてタイポも縮小する */
.movie-beat--transition-sm .type-word {
  font-size: clamp(3rem, 11vw, 11rem);
}

/* 「動画が、武器になる時代。→AIには絶対に創れないものがある。」間のつなぎは、さらに短く */
.movie-beat--transition-xs {
  min-height: clamp(8vh, 10vw, 14vh);
}

.movie-beat--transition-xs .type-word {
  font-size: clamp(2.2rem, 7vw, 7rem);
}

/* 「AIには絶対に創れないものがある。」ビートだけ、次の70万人+までの距離を詰めるために短縮 */
.movie-beat--copy-sm-tight {
  min-height: 56dvh;
}

.movie-beat--copy-sm,
.movie-beat--copy-md {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--scene-gap-sm);
  padding: var(--scene-gap) clamp(1.5rem, 6vw, 6rem);
  text-align: center;
  overflow: hidden;
}

.movie-beat--photo {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--scene-gap) 0;
}

.movie-beat--numeral {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--scene-gap-sm);
  padding: var(--scene-gap) clamp(1.5rem, 6vw, 6rem);
  overflow: hidden;
}

/* 余白のビート: コピーを置かず、光とラインの変化だけで「間」を作る */
.movie-beat--breath {
  min-height: clamp(16vh, 20vw, 26vh);
}

/* 巨大タイポ・モーフィング語: 背景として奥に沈める。SplitTypeで.charに分割して使う */
.type-word {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(5rem, 20vw, 20rem);
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.14);
  pointer-events: none;
  will-change: transform;
}

.type-word .char {
  display: inline-block;
  will-change: transform, filter, opacity;
}

/* 直後のzero-stageが同じ「FROM ZERO」を.scene-wordの薄さで表示するため、
   モーフィングの着地状態をあらかじめその薄さに合わせて継ぎ目をなくす */
.type-word--dim {
  color: rgba(255, 255, 255, 0.06);
}

/* 小さいコピー: 巨大タイポとの対比を作るために.scene-headingより縮小する */
.scene-heading--sm {
  font-size: clamp(1.6rem, 4.2vw, 2.8rem);
}

/* .scene-copyは本来.scene--dark/.scene--light祖先で色が決まるが、
   movie-beatにはその祖先がないため、この区間専用に地の色を指定する */
.movie-beat .scene-copy {
  color: rgba(255, 255, 255, 0.78);
}

/* CHANGE.チャプター: 「スクール紹介」ではなく「人生が変わる瞬間」を体験させるブランドチャプター。
   .scene-word/.type-wordは背景装飾用に不透明度を低く固定してあるため使わず、
   ここだけ「文字自体が主役」の専用クラスを用意する（フェードインは使わず、常に他の層と同時に動かす）
   ========================================================================== */
.movie-beat--change {
  min-height: 130dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.change-hero-word {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(5rem, 22vw, 22rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  white-space: nowrap;
  will-change: transform, opacity;
}

.change-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  clip-path: inset(50% round 0px);
  opacity: 0;
  will-change: clip-path, opacity;
}

.change-visual img,
.change-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 38%;
  filter: var(--photo-grade-filter) brightness(0.7);
  will-change: transform;
}

/* scene-finale__scrimと同じ考え方: 写真の上のコピーが必ず読めるコントラストを確保する */
.change-visual__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.8) 100%);
}

.change-copy {
  position: absolute;
  z-index: 2;
  left: clamp(1.5rem, 6vw, 5rem);
  right: clamp(1.5rem, 6vw, 5rem);
  bottom: clamp(2rem, 8vh, 5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}

/* コピーの前に一本の金線を置き、ただの本文ではなく「ブランドの宣言」として演出する */
.change-copy__line {
  width: clamp(32px, 4vw, 56px);
  height: 2px;
  background: var(--color-accent);
  transform-origin: left;
}

.change-copy__text {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}

/* 背景の装飾タイポ(CHANGE/NEXT/CREATE/GROW/YOUR STORY/FUTURE)は.scene-wordをそのまま使い、
   initSceneWordDrift()に自動で拾わせる（追加のJSは書かない）。位置だけ複数散らす。
   .scene-word本体の定義より後方（かつ同等の詳細度）だと順序次第で負けるため、
   .scene-wordと組み合わせた詳細度の高いセレクタで確実に上書きする */
.scene-word.change-bg-word {
  transform: none;
}

.scene-word.change-bg-word--1 { top: 12%; left: 8%; }
.scene-word.change-bg-word--2 { top: 68%; left: -4%; }
.scene-word.change-bg-word--3 { top: 30%; right: -6%; }
.scene-word.change-bg-word--4 { top: 82%; right: 10%; }
.scene-word.change-bg-word--5 { top: 4%; right: 22%; }

/* 微細なパーティクル: 映画館で観ているような空気感を足す控えめな演出。負荷が高い環境では省く */
.change-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.change-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.5);
  filter: blur(1px);
}

@media (max-width: 780px), (prefers-reduced-motion: reduce) {
  .change-particles {
    display: none;
  }
}

/* 背景の巨大タイポグラフィ。空間そのものとして扱うため装飾(aria-hidden)に留める */
.scene-word {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(6rem, 24vw, 24rem);
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: var(--scene-word-color, rgba(255, 255, 255, 0.06));
  pointer-events: none;
  will-change: transform;
}

.scene--light .scene-word {
  --scene-word-color: rgba(23, 19, 15, 0.055);
}

.scene-eyebrow {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-accent);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
}

.scene-heading {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 9vw, 7rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 16em;
}


.scene-heading .accent {
  color: var(--color-primary);
}

.scene--dark .scene-heading .accent {
  color: var(--color-accent);
}

.scene-copy {
  position: relative;
  z-index: 1;
  max-width: 34em;
  font-family: var(--font-jp);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.95;
  margin: 0;
}

.scene-copy + .scene-copy {
  margin-top: var(--scene-gap-sm);
}

.scene--dark .scene-copy {
  color: rgba(255, 255, 255, 0.78);
}

.scene--light .scene-copy {
  color: var(--color-text-sub);
}

/* 数字: 読ませるのではなく見せる。本文とは書体スケールを切り離す */
.scene-count-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 4rem);
}

.scene-count-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scene-count-value {
  display: inline-flex;
  align-items: baseline;
}

.scene-count {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 13vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--color-accent);
}

/* 数字ではなく単語（例: 上場企業）を同じ「見る数字」の並びに置く場合は縮小する */
.scene-count--text {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
}

.scene-count-suffix {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--color-accent);
  margin-left: 0.15em;
}

.scene-count-label {
  font-family: var(--font-jp);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.68);
}

/* 信頼の証（上場企業実績）: ロゴを並べるのではなく、静かに浮かび上がる
   一つの称号として見せる（Appleのプロダクトページのような余白の取り方） */
.trust-band {
  position: relative;
  z-index: 1;
  margin-top: clamp(3rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.trust-band__eyebrow {
  display: block;
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.trust-band__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  letter-spacing: 0.02em;
  color: var(--color-accent);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(201, 162, 39, 0.4);
}

.trust-band__caption {
  font-family: var(--font-jp);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.68);
}

/* 「何も、知らなくていい。」: FROM ZERO。説明ではなく、ゼロから世界が
   立ち上がってくる体験として設計する。巨大な「0」の字形そのものを窓（マスク）にし、
   その内側から写真が見えてくる（movie-academy.jsで焦点を合わせるように開く）
   ========================================================================== */
.zero-section {
  position: relative;
  background: transparent;
  color: #fff;
  overflow: hidden;
}

.zero-stage {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.zero-digit {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(16rem, 58vw, 44rem);
  line-height: 1;
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  will-change: transform, filter;
}

.zero-message {
  position: relative;
  z-index: 1;
  min-height: 60dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--scene-gap-sm);
  text-align: center;
  padding: 0 clamp(1.5rem, 6vw, 6rem) var(--scene-gap);
}

/* モバイルは1ビート=100dvhだと「動画が〜」→「AIには〜」→「0」までのスクロール量が
   長く感じられすぎるため、コピー主体のビートはコンテンツの高さに合わせて大きく詰める。
   （このブロックは対象となる各基本ルールより後に置く必要がある。同じ詳細度のクラスは
   ソース順で後勝ちのため、前に置くと@mediaが付いていても上書きされずに無効化される） */
@media (max-width: 780px) {
  .movie-beat--copy-sm,
  .movie-beat--copy-md,
  .movie-beat--numeral {
    min-height: auto;
    padding-top: clamp(2.5rem, 10vw, 4rem);
    padding-bottom: clamp(2.5rem, 10vw, 4rem);
  }

  .movie-beat--copy-sm-tight {
    min-height: auto;
  }

  .movie-beat--breath {
    min-height: clamp(8vh, 14vw, 16vh);
  }

  .zero-stage {
    min-height: 70dvh;
  }

  .zero-message {
    min-height: auto;
  }
}

/* 映画の字幕のように、左から右へ静かに開いて現れる（movie-academy.jsでclip-pathを操作） */
.zero-copy {
  position: relative;
  z-index: 1;
}

/* 写真: 最初から見せない。画面幅いっぱいのクライマックスとして一度だけ現れる */
/* 写真＋キャプションは1つのグループとして扱い、親.sceneのgapが
   両者の間に不要な余白を作らないようにする（グループ内の間隔は各要素のmarginで制御） */
.scene-photo-group {
  position: relative;
  z-index: 1;
  width: 100%;
}

.scene-photo {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  z-index: 1;
}

@media (max-width: 780px) {
  .scene-photo {
    aspect-ratio: 3 / 4;
  }
}

.scene-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--photo-grade-filter);
}

.scene-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

/* ガラスの反射のような光の筋。写真が現れた直後に一度だけ斜めに通過する（hero-shineと同じ技法） */
.scene-photo__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 42%, rgba(255, 255, 255, 0.45) 50%, transparent 58%);
  mix-blend-mode: overlay;
  transform: translateX(-130%);
  pointer-events: none;
}

.scene-photo-caption {
  position: relative;
  z-index: 1;
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* 「卒業後は、選べる。」: 進路を説明するUIではなく、一本の人生が
   複数の未来へ枝分かれしていく体験として設計する
   ========================================================================== */
.future-section {
  position: relative;
  background: #000;
  color: #fff;
  overflow: hidden;
}

/* 見出しの直後は何も出さず、余白だけで「まだ何も分岐していない一本道」を感じさせる */
.future-lede {
  min-height: 78dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--scene-gap) clamp(1.5rem, 6vw, 6rem) 0;
}

.future-track {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 6vw, 6rem) var(--scene-gap);
}

/* 一本のライン。スクロールに合わせて上から下へ伸びていく（movie-academy.jsでscaleYをscrub） */
.future-spine {
  position: absolute;
  top: 0;
  bottom: var(--scene-gap);
  left: 50%;
  width: 2px;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  background: linear-gradient(180deg, transparent, rgba(201, 162, 39, 0.6) 10%, rgba(201, 162, 39, 0.6) 90%, transparent);
  will-change: transform;
}

.future-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

/* 1つおきに逆側へ分岐させる（一本の線が左右交互に枝分かれして見えるように） */
.future-item:nth-child(even) {
  direction: rtl;
}

.future-item:nth-child(even) > * {
  direction: ltr;
}

/* 背景の巨大タイポグラフィ。各未来のテーマを一語で表す（画面には出さず、写真の背後に沈める） */
.future-item__word {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(3.5rem, 13vw, 9rem);
  z-index: 0;
}

/* 幹から分岐する枝。項目がビューポートに入るタイミングで描画する（movie-academy.jsでstroke-dashoffset） */
.future-item__branch {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(90px, 11vw, 150px);
  height: auto;
  transform: translate(-50%, -50%);
  overflow: visible;
  color: var(--color-accent);
  z-index: 1;
}

.future-item:nth-child(even) .future-item__branch {
  transform: translate(-50%, -50%) scaleX(-1);
}

.future-item__branch path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  opacity: 0.75;
}

.future-item__media {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.future-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--photo-grade-filter);
  transition: transform 0.8s ease;
}

/* 光は暖色系のみ。カーソルを乗せた時だけ、映画のライトが差し込むように現れる */
.future-item__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 28% 25%, rgba(201, 162, 39, 0.35), transparent 62%);
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.future-item:hover .future-item__media img {
  transform: scale(1.06);
}

.future-item:hover .future-item__media::after {
  opacity: 1;
}

.future-item__content {
  position: relative;
  z-index: 1;
}

.future-item__label {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  transition: transform 0.4s ease;
}

.future-item:hover .future-item__label {
  transform: translateY(-4px);
}

.future-item__copy {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 1rem;
  line-height: 1.9;
  max-width: 30em;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 780px) {
  .future-item,
  .future-item:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .future-item__branch {
    display: none;
  }

  .future-spine {
    left: 1.75rem;
  }
}

/* こんな方へ: マニフェスト演出(.manifesto-text .line)をそのまま流用し、
   このリストだけ一行に収まるよう文字サイズとwhite-spaceを上書きする */
.scene-recommend.manifesto-text .line {
  font-size: clamp(1.2rem, 3.4vw, 2.1rem);
  white-space: normal;
}

/* 卒業生の声はTOPページと同じ .voice-section/.voice-card をそのまま流用するため、
   このページ専用のスタイルは持たない */

/* フィナーレ: 背景いっぱいの写真＋一行＋ボタンのみ */
.scene-finale {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
  padding: var(--scene-gap) clamp(1.5rem, 6vw, 6rem);
  text-align: center;
}

.scene-finale__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.scene-finale__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--photo-grade-filter) brightness(0.55);
}

.scene-finale__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.72) 100%);
}

.scene-finale__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 5vw, 3rem);
  color: #fff;
}

.scene-finale h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6.5vw, 4.5rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 14em;
}

/* 詳細情報コーダ: 実務判断材料（料金・比較・流れ・FAQ）を落ち着いたトーンで扱う。
   カード意匠は使わず、既存の company-facts / step-list / faq-list をそのまま流用する
   ========================================================================== */
.coda-section {
  background: var(--color-bg-pure);
}

.coda-lede {
  max-width: var(--content-max);
  margin: 0 auto clamp(3rem, 6vw, 4.5rem);
}

.coda-lede .en-sub {
  display: block;
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 500;
  color: var(--color-primary);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  margin-bottom: 0.75rem;
}

.coda-lede h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.coda-block + .coda-block {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  border-top: 1px solid var(--color-line);
}

.coda-block__title {
  max-width: var(--content-max);
  margin: 0 auto 2rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

/* 料金: ボックス化せず、既存の company-facts を流用した数値主体のレイアウト */
.coda-plan {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2.5rem, 5vw, 4rem);
}

.coda-plan__col h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
}

.coda-plan__badge {
  display: inline-block;
  background: var(--color-accent);
  color: #1a1200;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.3em 0.9em;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.plan-figure {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary);
}


/* STEP LIST: 番号つきのステップ（6STEPカリキュラム詳細・受講の流れで共用、非ボックス） */
.step-list {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.step-item {
  display: grid;
  grid-template-columns: clamp(90px, 12vw, 150px) 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: baseline;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-top: 1px solid var(--color-line);
}

.step-list > .step-item:last-child {
  border-bottom: 1px solid var(--color-line);
}

.step-item__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  letter-spacing: -0.01em;
  color: var(--color-accent);
}

.step-item__body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}

.step-item__body p {
  color: var(--color-text-sub);
  font-size: 0.95rem;
  line-height: 1.9;
  margin: 0;
}

.step-list--compact .step-item__num {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

/* 他社比較テーブル */
.compare-wrap {
  max-width: var(--content-max);
  margin: 0 auto;
}

.compare-scroll {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 1em 1.25em;
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.7;
  border-top: 1px solid var(--color-line);
  vertical-align: top;
}

.compare-table thead th {
  font-family: var(--font-jp);
  font-weight: 700;
  color: var(--color-text-sub);
  border-top: none;
}

.compare-table tbody th {
  font-weight: 700;
  white-space: nowrap;
}

.compare-table td.is-highlight,
.compare-table th.is-highlight {
  background: rgba(179, 39, 45, 0.06);
  color: var(--color-primary);
  font-weight: 700;
}

/* FAQ・開閉ディスクロージャー共通 */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border-top: 1px solid var(--color-line);
  padding: clamp(1.1rem, 2vw, 1.5rem) 0;
}

.faq-list > .faq-item:last-child,
.coda-block > .faq-item:last-child {
  border-bottom: 1px solid var(--color-line);
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--color-accent);
  font-family: var(--font-en);
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0.9rem 0 0;
  color: var(--color-text-sub);
  font-size: 0.95rem;
  line-height: 1.9;
}

/* 映像制作事業ページ (template-video-production.php)
   ========================================================================== */
/* 動画読み込み前のフォールバック背景色として維持 */
.page-hero--video {
  background-image: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, var(--color-accent) 130%);
}

.service-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.service-card {
  background: var(--color-bg-pure);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.9rem;
}

.service-card p {
  color: var(--color-text-sub);
  line-height: 1.9;
  margin: 0;
}

.partner-section {
  background: var(--color-bg);
}

.partner-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.partner-inner .en-sub {
  display: block;
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 500;
  color: var(--color-primary);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  margin-bottom: 0.75rem;
}

.partner-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}

.partner-inner p {
  color: var(--color-text-sub);
  line-height: 1.9;
  max-width: 60ch;
  margin: 0 auto 1.2rem;
}

.partner-inner .btn {
  margin-top: 1rem;
}

@media (max-width: 780px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* ワカモノラボページ（template-wakamono-lab.php）専用コンポーネント
   HAIスコアはlab-hai-score.png(レーダーチャート)が未着手のため、
   画像を使わずCSSバーで代替表現する。本画像到着後は差し替え可能な構造にしてある
   ========================================================================== */
.hai-score-panel {
  width: 100%;
  max-width: 640px;
  margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.hai-score-row {
  display: grid;
  grid-template-columns: clamp(90px, 20vw, 130px) 1fr 2.5rem;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.hai-score-row__label {
  font-family: var(--font-jp);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.hai-score-row__bar {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.hai-score-row__bar span {
  position: absolute;
  inset: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
}

.hai-score-row__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-accent);
  text-align: right;
}

.hai-score-caption {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ラボ生の声フォールバック用アバター。voices/配下の実画像が未着手のため、
   写真の代わりにブランドカラーのグラデーション＋頭文字で表現する */
.voice-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.5rem;
  color: #fff;
}

/* SCENE 08フィナーレ: lab素材が未着手のため、写真背景の代わりにブランドカラーの
   グラデーションで代替する。本素材到着後は.scene-finale__bgに通常どおりimgを追加すればよい */
.scene-finale__bg--gradient {
  background-image: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, var(--color-accent) 130%);
}

@media (max-width: 780px) {
  .hai-score-row {
    grid-template-columns: 84px 1fr 2rem;
  }
}

/* ==========================================================================
   モバイル最終上書き（ファイル末尾に置くことで、ソース順による意図しない
   上書き漏れを避ける。このファイル内のどの通常ルールよりも後に読み込まれる）
   ========================================================================== */
@media (max-width: 780px) {
  .change-visual img,
  .change-visual video {
    object-position: 50% 35%;
    object-fit: contain;
  }

  /* 横長動画をcontainで見せる際、100vh/130dvhのままだと上下の黒い余白が大きく
     目立つため、映像の縦横比に近づくようビートの高さ自体を詰める */
  .hero {
    height: 68vh;
  }

  .movie-beat--change {
    min-height: 85dvh;
  }
}
