/* =========================================================
   UNIFIT — refined marketing site
   palette: ink / paper / acid / teal / blue
   ========================================================= */
:root {
  --ink: #050403;
  --paper: #eef7f4;
  --soft: #f7fbf8;
  --line: rgba(5, 4, 3, 0.16);
  --muted: rgba(5, 4, 3, 0.6);
  --deep: #050403;
  --acid: #dfff52;
  --teal: #0b6960;
  --blue: #b7d9e4;
  --white: #ffffff;

  /* ── ダーク没入テーマ用 ── */
  --d-text: #eaf3ef;                       /* 明るい本文 */
  --d-muted: rgba(234, 243, 239, 0.62);    /* 補助テキスト */
  --d-line: rgba(234, 243, 239, 0.14);     /* 罫線・境界 */
  --d-glass: rgba(18, 30, 27, 0.55);       /* ガラスカード地 */
  --d-glass-strong: rgba(12, 22, 20, 0.78);/* 濃いガラス */
  --d-teal: #5fe3c4;                        /* ダーク背景で映える明るいティール */
  /* 日本語: 端正で洗練された Zen Kaku Gothic New を採用（フォールバック: Noto Sans JP / OS標準） */
  --font-ja: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  /* 英字: Futura を最優先。無い環境では近似の幾何学サンセリフ(Jost/Century Gothic)へフォールバック */
  --font-en: "Futura", "Futura PT", "Century Gothic", "Jost", "Avenir Next", sans-serif;
  /* 社名(UNIFIT)表記専用フォント。ロゴの世界観を保つため従来書体を維持 */
  --font-brand: "Space Grotesk", "Inter", sans-serif;
  --easing: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1280px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  --pointer-x: 50vw;
  --pointer-y: 50vh;
  overflow-x: clip;
}

body {
  margin: 0;
  /* ダーク没入型：基本文字色を明るく、背景は深い暗色に統一 */
  color: var(--paper);
  background: #050a09;
  font-family: var(--font-ja);
  font-weight: 500;
  line-height: 1.85;
  /* 日本語本文にわずかな字間を与えて読みやすく上品に */
  letter-spacing: 0.018em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt" 1;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

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

/* 見出し: 日本語が詰まって見えないよう、ゆとりのある字間・行間に。 */
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: 0.025em; line-height: 1.36; }
p { margin: 0; line-height: 1.95; }

.u-nowrap { display: inline-block; white-space: nowrap; }

/* ===== 全画面 bokeh 背景 ===== */
.bokeh-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* FVと同じ深い暗背景。コンテンツ部はveilで覆われる */
  background: radial-gradient(ellipse at 50% 30%, #0e1a18 0%, #060c0a 55%, #020604 100%);
}
.bokeh-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s var(--easing);
}
body:not(.is-loading) .bokeh-canvas { opacity: 1; }
/* スクロールに応じて明るいベールでbokehを覆い、コンテンツを読みやすく */
.bokeh-veil {
  position: absolute;
  inset: 0;
  /* 明るいベールではなく、ごく薄い暗色で粒のコントラストを整える程度にとどめる。
     これにより光の粒がページ最後まで常に見え続ける。 */
  background: radial-gradient(ellipse at 50% 40%, rgba(5,10,9,0) 0%, rgba(5,10,9,0.35) 100%);
  opacity: 0;            /* JSでスクロール量に応じて微調整 */
  transition: opacity 0.3s linear;
}

/* コンテンツ本体は背景の上に重ねる。
   明るいセクションは半透明ペーパーで自分の背景を持つ */
.site-header,
main,
.site-footer { position: relative; z-index: 2; }

/* ===== grain ===== */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  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.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== custom cursor ===== */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--acid);
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid rgba(223, 255, 82, 0.7);
  transition: width 0.3s var(--easing), height 0.3s var(--easing),
    background 0.3s var(--easing), border-color 0.3s var(--easing);
}
.cursor-ring.is-active {
  width: 64px; height: 64px;
  background: rgba(223, 255, 82, 0.15);
  border-color: transparent;
}
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ===== progress ===== */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 9500;
  background: linear-gradient(90deg, var(--teal), var(--acid));
}

/* ===== loader ===== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9800;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(13, 45, 39, 0.48), transparent 34%),
    radial-gradient(circle at 24% 72%, rgba(223, 255, 82, 0.06), transparent 32%),
    #030807;
  color: var(--paper);
  display: grid;
  place-items: center;
  transition: opacity 0.72s var(--easing), visibility 0.72s;
}
body:not(.is-loading) .loader { opacity: 0; visibility: hidden; }
.loader::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(95, 227, 196, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 227, 196, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at center, #000, transparent 72%);
  pointer-events: none;
}
.loader-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: opacity 0.65s var(--easing), transform 0.8s var(--easing), filter 0.65s var(--easing);
}
.loader-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(360px, 72vw);
  transition: opacity 0.42s var(--easing), transform 0.62s var(--easing);
}
.loader-mark {
  font-family: var(--font-brand);
  font-weight: 600;
  letter-spacing: 0.48em;
  font-size: 12px;
  display: block;
  opacity: 0.72;
}
.loader-count {
  font-family: var(--font-en);
  font-size: clamp(58px, 11vw, 104px);
  font-weight: 500;
  display: block;
  line-height: 1;
  margin: 18px 0 24px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 34px rgba(95, 227, 196, 0.22);
}
.loader-bar {
  position: relative;
  height: 1px;
  background: rgba(255, 255, 255, 0.13);
}
.loader-bar span {
  display: block;
  position: relative;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--d-teal), var(--acid), #ff7a42, #ef1250);
  box-shadow: 0 0 15px rgba(223, 255, 82, 0.55);
  transition: width 0.2s linear;
}
.loader-bar span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 18px 5px rgba(223, 255, 82, 0.5);
  transform: translateY(-50%);
}
.loader.is-complete .loader-particles {
  opacity: 0;
  transform: scale(1.16);
  filter: blur(5px);
}
.loader.is-complete .loader-inner {
  opacity: 0;
  transform: translateY(-12px) scale(0.97);
}

/* ===== header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 60px);
  /* 帯なし：常に背景透明（Sakura Deeptech参考） */
  background: transparent;
  color: var(--paper);
  transition: padding 0.4s var(--easing);
}
/* スクロールしても帯背景は出さず、透明のまま（わずかにパディングだけ縮める） */
.site-header.scrolled {
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  align-items: center;
}
.header-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
}
.nav a { position: relative; padding: 4px 0; color: var(--paper); }
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--paper);
  transition: width 0.3s var(--easing);
}
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  padding: 9px 20px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 100px;
  transition: transform 0.3s var(--easing), background 0.3s var(--easing);
}
.nav-cta:hover { transform: translateY(-2px); background: var(--acid); }

/* Sakura Deeptech 風 ハンバーガーアイコン */
.menu-icon {
  position: fixed;
  top: 30px;
  right: clamp(20px, 5vw, 60px);
  z-index: 900;
  width: 50px;
  height: 50px;
  background: var(--ink); /* 黒背景 */
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.3s var(--easing), box-shadow 0.3s var(--easing);
}
.menu-icon:hover { background: var(--teal); }
/* 追記：スクロール時は背景を白にし、線を黒にする */
body.is-scrolled .menu-icon {
  background: var(--paper);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
body.is-scrolled .menu-icon-wrap span {
  background: var(--ink);
}
.menu-icon-wrap {
  position: relative;
  width: 24px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.menu-icon-wrap span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--paper); /* 白線 */
  transition: transform 0.4s var(--easing), opacity 0.4s var(--easing);
  transform-origin: left center;
}
.menu-icon[aria-expanded="true"] .menu-icon-wrap span:nth-child(1) { transform: rotate(45deg) translate(1px, -2px); }
.menu-icon[aria-expanded="true"] .menu-icon-wrap span:nth-child(2) { opacity: 0; }
.menu-icon[aria-expanded="true"] .menu-icon-wrap span:nth-child(3) { transform: rotate(-45deg) translate(1px, 2px); }

/* Sakura Deeptech 風 固定CONTACTボタン */
.fixed-contact {
  position: fixed;
  right: 0;
  bottom: 100px;
  z-index: 800;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.fixed-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  padding: 30px 14px;
  text-decoration: none;
  border-radius: 8px 0 0 8px;
  transition: background 0.3s var(--easing), padding 0.3s var(--easing);
}
.fixed-contact a:hover {
  background: var(--teal);
  padding-top: 40px;
}

/* ===== mobile menu ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 700;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path 0.6s var(--easing);
}
.mobile-menu.open { clip-path: circle(150% at calc(100% - 40px) 40px); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu a {
  font-family: var(--font-en);
  font-size: clamp(34px, 11vw, 64px);
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.mobile-menu a span {
  font-size: 14px;
  color: var(--acid);
  font-weight: 500;
}

/* ===== コンテンツフロー（明るいセクション群）===== */
.content-flow {
  position: relative;
  z-index: 2;
  /* ペーパー背景を撤廃し、透明のまま。背後の光の粒が全セクションを貫く。
     可読性は各セクション・カード個別の半透明ダークガラスで確保する */
  background: transparent;
}

/* ===== layout helpers ===== */
section { position: relative; }
.section-label {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--d-teal);
  margin-bottom: 20px;
}
.section-label--light { color: var(--acid); }
.accent-text {
  position: relative;
  /* 親要素に重ならないようスタッキングコンテキストを形成 */
  z-index: 0;
  /* 初期状態でも読めるよう明るいティール寄りの色に */
  color: var(--paper);
  /* ハイライトが次の文字（「と」）に重ならないよう、右側に少し余白を確保 */
  margin-right: 0.18em;
  /* 文字色は、黄色ハイライトが現れるタイミングに合わせて切り替える */
  transition: color 0.4s var(--easing) 0.45s;
}
.accent-text::after {
  content: "";
  position: absolute;
  /* 左右のはみ出しを控えめにして、隣接文字との重なりを防ぐ */
  left: -2%; right: -2%;
  bottom: 4%;
  /* 文字全体を覆う高さにして「黄色マーカーの上に濃い文字」を成立させる */
  height: 92%;
  background: var(--acid);
  border-radius: 4px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--easing) 0.2s;
}
.in-view .accent-text::after { transform: scaleX(1); }
/* ハイライト表示後は、視認性の高い濃いインク色に */
.in-view .accent-text { color: var(--ink); }
/* trouble-bridgeはスクロール検知に依存せず、常にライム背景で見せる */
.trouble-bridge .accent-text {
  color: var(--ink);
  background: var(--acid);
  border-radius: 4px;
  padding: 0.02em 0.16em 0.08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.trouble-bridge .accent-text::after {
  display: none;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px clamp(20px, 5vw, 60px) 80px;
  overflow: hidden;
  /* 背景は全画面 bokeh-bg に任せるため透明 */
  background: transparent;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0 0 0 auto;
  width: 58%;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 10, 9, 0), rgba(5, 10, 9, 0.82) 24%, rgba(5, 10, 9, 0.96) 100%);
}

/* ヒーロー内テキストの色を明るく（暗背景に対応） */
.hero .hero-eyebrow        { color: var(--acid); }
.hero .hero-lead           { color: rgba(238,247,244,0.7); }
.hero .hero-meta           { color: rgba(238,247,244,0.45); }
.hero .hero-marquee        { border-color: rgba(238,247,244,0.14); }
.hero .marquee-track span  { color: rgba(238,247,244,0.55); }
/* ヒーロー内CTAボタン：ガラスモーフィズム */
.hero .btn {
  background: rgba(238, 247, 244, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(238, 247, 244, 0.28);
  color: var(--paper);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.12);
}
.hero .btn::before { display: none; }
.hero .btn:hover {
  background: rgba(238, 247, 244, 0.18);
  border-color: rgba(238, 247, 244, 0.55);
  color: var(--paper);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
/* 「無料で相談する」はライムアクセントを加える */
.hero .btn--solid {
  background: rgba(223, 255, 82, 0.12);
  border-color: rgba(223, 255, 82, 0.45);
  color: var(--acid);
}
.hero .btn--solid:hover {
  background: rgba(223, 255, 82, 0.22);
  border-color: rgba(223, 255, 82, 0.7);
  color: var(--acid);
}
.hero .btn--ghost { border-color: rgba(238,247,244,0.28); color: var(--paper); }
.hero .hero-eyebrow-mark   { color: var(--ink); background: var(--acid); }
.hero .hero-title          { color: var(--paper); }

.hero-eyebrow-mark {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-brand);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: var(--ink);
  background: var(--acid);
  padding: 4px 12px;
  border-radius: 100px;
  margin-right: 14px;
  vertical-align: middle;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(238,247,244,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238,247,244,0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at var(--pointer-x) var(--pointer-y), #000 0%, transparent 38%);
  mask-image: radial-gradient(circle at var(--pointer-x) var(--pointer-y), #000 0%, transparent 38%);
  opacity: 0.8;
}
.hero-meta {
  position: absolute;
  z-index: 3;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-meta--tl { top: 110px; left: clamp(20px, 5vw, 60px); }
.hero-meta--tr { top: 110px; right: clamp(20px, 5vw, 60px); text-align: right; }
.hero-meta--bl { bottom: 200px; left: clamp(20px, 5vw, 60px); }
.hero-meta--br { bottom: 200px; right: clamp(20px, 5vw, 60px); }
.blink {
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  animation: blink 1.4s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-display {
  position: absolute;
  z-index: 2;
  top: clamp(138px, 15vh, 190px);
  left: clamp(20px, 5vw, 72px);
  width: min(52vw, 880px);
  color: var(--paper);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(86px, 10.2vw, 174px);
  font-weight: 600;
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
  pointer-events: none;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.26));
}
.hero-display-line {
  display: block;
  overflow: hidden;
  padding: 0.02em 0 0.05em;
}
.hero-display-word {
  display: inline-block;
  transform: translate3d(0, 112%, 0);
  transition: transform 1.05s var(--easing);
  will-change: transform;
}
.hero-display-line:nth-child(2) .hero-display-word { transition-delay: 0.08s; }
.hero-display-line:nth-child(3) .hero-display-word { transition-delay: 0.16s; }
body:not(.is-loading) .hero-display-word { transform: translate3d(0, 0, 0); }
.hero-display-dot {
  color: var(--acid);
  text-shadow: 0 0 34px rgba(223, 255, 82, 0.46);
}
.hero-type-meta {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: clamp(22px, 3vw, 52px);
  display: grid;
  gap: 6px;
  color: rgba(238, 247, 244, 0.48);
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.hero-inner {
  position: relative;
  z-index: 4;
  max-width: none;
  margin: 0;
  width: 100%;
  padding-left: 58%;
}
.hero-inner::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: clamp(18px, 2vw, 26px);
  background: linear-gradient(90deg, rgba(95, 227, 196, 0.62), rgba(95, 227, 196, 0));
}
.hero-eyebrow {
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(38px, 4.6vw, 70px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .word {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s var(--easing);
}
.hero-title .word.accent {
  color: var(--acid);
  text-shadow: 0 0 40px rgba(223, 255, 82, 0.55), 0 2px 16px rgba(0,0,0,0.7);
}
.hero-title .word.accent::after {
  content: "";
  position: absolute;
}
body:not(.is-loading) .hero-title .word { transform: translateY(0); }
.hero-title .line:nth-child(2) .word { transition-delay: 0.08s; }

.hero-lead {
  max-width: 600px;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted);
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--easing), transform 0.8s var(--easing);
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ===== buttons ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  overflow: hidden;
  transition: transform 0.3s var(--easing);
}
.btn span { position: relative; z-index: 2; }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--acid);
  transform: translateY(101%);
  transition: transform 0.45s var(--easing);
  z-index: 1;
}
.btn--solid:hover { color: var(--ink); transform: translateY(-3px); }
.btn--solid:hover::before { transform: translateY(0); }
.btn--ghost { border: 1px solid var(--ink); }
.btn--ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--easing);
  z-index: 1;
}
.btn--ghost:hover { color: var(--paper); }
.btn--ghost:hover::before { transform: scaleX(1); }
.btn--lg { padding: 20px 44px; font-size: 17px; }

/* ===== marquee ===== */
.hero-marquee {
  position: absolute;
  bottom: 48px;
  left: 0;
  width: 100%;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--ink);
  padding-right: 0;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== scroll hint ===== */
.scroll-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: none;
}

/* ===== statement（bokeh暗背景の上の「点→線」舞台）===== */
.statement {
  position: relative;
  z-index: 2;
  background: transparent;
  color: var(--paper);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(120px, 20vw, 260px) clamp(20px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.statement .section-label {
  margin-bottom: clamp(24px, 4vw, 48px);
}
/* 見出しとボディを横並びにするラッパー */
.statement-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.statement-heading {
  font-size: clamp(24px, 4.5vw, 64px);
  line-height: 1.42;
  letter-spacing: 0.05em;
  color: var(--paper);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55);
}
.statement-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: clamp(20px, 3vw, 48px);
}
.statement-body p {
  font-size: clamp(15px, 1.3vw, 17px);
  color: rgba(238, 247, 244, 0.78);
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.6);
}
.statement-body [data-reveal] {
  transform: translate3d(30px, 12px, 0);
  transition-duration: 0.9s;
}
.statement-body [data-reveal]:nth-child(1) {
  transition-delay: 1.05s;
}
.statement-body [data-reveal]:nth-child(2) {
  transition-delay: 1.35s;
}
.statement-body [data-reveal].in {
  transform: translate3d(0, 0, 0);
}

[data-split] .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em) rotate(4deg);
  transition: opacity 0.6s var(--easing), transform 0.6s var(--easing);
}
[data-split].in .char { opacity: 1; transform: none; }

/* ===== trouble（お悩み）===== */
.trouble {
  width: 100%;
  padding: clamp(56px, 8vw, 110px) 0 clamp(78px, 11vw, 150px);
}
.trouble-head {
  max-width: var(--maxw);
  margin: 0 auto clamp(34px, 5vw, 60px);
  padding: 0 clamp(20px, 5vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px clamp(26px, 4vw, 56px);
  align-items: end;
}
.trouble-head .section-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}
.trouble-head::after {
  content: "( Problems Before Growth )";
  grid-column: 2;
  grid-row: 2;
  font-family: var(--font-en);
  font-size: clamp(15px, 2vw, 24px);
  line-height: 1.3;
  letter-spacing: 0.08em;
  color: rgba(234, 243, 239, 0.42);
  text-align: right;
}
.trouble-title {
  grid-column: 1;
  grid-row: 2;
  font-size: clamp(24px, 4.5vw, 56px);
  line-height: 1.34;
  letter-spacing: 0.025em;
}
.trouble-list {
  list-style: none;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  display: block;
  counter-reset: trouble;
}
.trouble-item {
  counter-increment: trouble;
  display: grid;
  grid-template-columns: clamp(44px, 7vw, 86px) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 54px);
  align-items: center;
  min-height: clamp(92px, 11vw, 136px);
  padding: clamp(22px, 3vw, 34px) clamp(10px, 2vw, 18px);
  border-top: 1px solid rgba(234, 243, 239, 0.18);
  border-radius: 0;
  background: transparent;
  transition: background 0.35s var(--easing), padding 0.35s var(--easing);
}
.trouble-item:hover {
  padding-left: clamp(18px, 3vw, 34px);
  background: linear-gradient(90deg, rgba(95, 227, 196, 0.12), rgba(95, 227, 196, 0));
}
.trouble-item:last-child { border-bottom: 1px solid rgba(234, 243, 239, 0.18); }
.trouble-mark {
  width: auto;
  height: auto;
  display: block;
  border-radius: 0;
  background: transparent;
  color: var(--acid);
  font-family: var(--font-en);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
}
.trouble-mark::before { content: "ISSUE " counter(trouble, decimal-leading-zero); }
.trouble-item p {
  max-width: 920px;
  font-size: clamp(18px, 2.4vw, 31px);
  line-height: 1.62;
  letter-spacing: 0.018em;
  color: var(--d-text);
}
.trouble-item strong { font-weight: 700; }
.trouble-bridge {
  max-width: var(--maxw);
  margin: clamp(36px, 5vw, 60px) auto 0;
  padding: 0 clamp(20px, 5vw, 60px);
  text-align: center;
  font-size: clamp(18px, 2.3vw, 30px);
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ===== era（AI時代の接点設計）===== */
.era {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 130px) clamp(20px, 5vw, 60px);
}
.era-head { margin-bottom: clamp(36px, 5vw, 56px); }
.era-title {
  font-size: clamp(24px, 4vw, 52px);
  line-height: 1.45;
  letter-spacing: 0.03em;
  color: var(--d-text);
}
.era-body {
  width: 100%;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.era-body p {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.95;
  color: var(--d-muted);
}
.era-body p strong { color: var(--d-text); font-weight: 700; }
.era-lead {
  font-size: clamp(16px, 1.6vw, 20px) !important;
  color: var(--d-text) !important;
}
.era-message {
  font-size: clamp(18px, 2vw, 26px) !important;
  font-weight: 700;
  line-height: 1.6 !important;
  color: var(--d-text) !important;
  padding: clamp(20px, 3vw, 30px) 0;
}
.era-message .accent-text {
  color: var(--ink);
  background: var(--acid);
  border-radius: 4px;
  padding: 0.02em 0.16em 0.08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.era-message .accent-text::after {
  display: none;
}

.era-scene {
  --scene-progress: 0;
  --story-teal: #5fe3c4;
  --story-acid: #dfff52;
  width: 100vw;
  margin: clamp(64px, 10vw, 128px) calc(50% - 50vw) 0;
  min-height: 430vh;
  position: relative;
  overflow: visible;
  isolation: isolate;
  color: var(--d-text);
  background:
    radial-gradient(80% 70% at 70% 45%, rgba(95, 227, 196, 0.16), transparent 62%),
    radial-gradient(70% 52% at 14% 78%, rgba(223, 255, 82, 0.08), transparent 64%),
    linear-gradient(180deg, rgba(4, 11, 10, 0), rgba(4, 11, 10, 0.94) 12%, #040b0a 82%, rgba(4, 11, 10, 0));
}
.era-scene::before,
.era-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.era-scene::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(95, 227, 196, 0.13) 0 1px, transparent 1px),
    linear-gradient(180deg, rgba(95, 227, 196, 0.09) 0 1px, transparent 1px);
  background-size: 14vw 14vw;
  mask-image: radial-gradient(ellipse at 58% 48%, #000 0 44%, transparent 76%);
  opacity: 0.42;
  transform: translate3d(calc(var(--scene-progress) * -5vw), calc(var(--scene-progress) * -5vw), 0);
}
.era-scene::after {
  z-index: -1;
  background:
    radial-gradient(circle at 16% 22%, rgba(223, 255, 82, 0.62) 0 4px, transparent 5px),
    radial-gradient(circle at 75% 18%, rgba(95, 227, 196, 0.56) 0 4px, transparent 5px),
    radial-gradient(circle at 88% 64%, rgba(223, 255, 82, 0.46) 0 3px, transparent 4px),
    radial-gradient(circle at 24% 84%, rgba(95, 227, 196, 0.44) 0 3px, transparent 4px);
  opacity: 0.75;
  transform: translate3d(0, calc(var(--scene-progress) * -90px), 0);
}
.era-scene-sticky {
  height: 100vh;
  min-height: 0;
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(620px, 1.22fr);
  align-items: center;
  gap: clamp(28px, 4.8vw, 76px);
  max-width: min(1540px, calc(100vw - 44px));
  margin: 0 auto;
  padding: clamp(82px, 8vw, 120px) clamp(20px, 4vw, 70px);
  box-sizing: border-box;
  overflow: hidden;
}
.era-scene.is-scene-fixed .era-scene-sticky,
.era-scene.is-scene-after .era-scene-sticky {
  width: min(1540px, calc(100vw - 44px));
  margin: 0 auto;
  left: auto;
  z-index: 3;
}
.era-scene.is-scene-fixed .era-scene-sticky {
  position: sticky;
  top: 0;
  transform: none;
  background:
    radial-gradient(90% 70% at 70% 45%, rgba(95, 227, 196, 0.12), transparent 64%),
    linear-gradient(180deg, #040b0a, #06120f 54%, #040b0a);
}
.era-scene.is-scene-after .era-scene-sticky {
  position: sticky;
  top: 0;
  bottom: auto;
  transform: none;
}
.era-scene-copy {
  position: relative;
  z-index: 4;
}
.era-scene-kicker,
.era-scene-result-label {
  display: block;
  color: var(--story-acid);
  font-family: var(--font-en);
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 900;
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-transform: uppercase;
  margin-bottom: clamp(16px, 2vw, 26px);
}
.era-scene-copy-stack {
  display: grid;
}
.era-scene-title {
  grid-area: 1 / 1;
  color: var(--d-text);
  font-size: clamp(34px, 5.2vw, 82px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  max-width: 760px;
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}
.era-scene-leads {
  display: grid;
  max-width: 560px;
  margin-top: clamp(24px, 3vw, 40px);
}
.era-scene-lead {
  grid-area: 1 / 1;
  color: var(--d-muted);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 2;
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}
.era-scene-visual {
  height: min(clamp(560px, 58vw, 790px), calc(100vh - clamp(164px, 16vw, 240px)));
  min-height: 0;
  position: relative;
  transform: translate3d(0, calc((0.5 - var(--scene-progress)) * 30px), 0);
}
.era-scene-bgword {
  position: absolute;
  color: transparent;
  -webkit-text-stroke: 1px rgba(95, 227, 196, 0.12);
  font-family: var(--font-en);
  font-size: clamp(58px, 10vw, 168px);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  pointer-events: none;
  opacity: 0.72;
}
.era-scene-bgword--01 {
  left: -6%;
  top: 8%;
  transform: translate3d(calc(var(--scene-progress) * -70px), 0, 0);
}
.era-scene-bgword--02 {
  right: -6%;
  top: 42%;
  transform: translate3d(calc(var(--scene-progress) * 90px), 0, 0);
}
.era-scene-bgword--03 {
  left: 12%;
  bottom: 2%;
  transform: translate3d(0, calc(var(--scene-progress) * -80px), 0);
}
.storyboard-scenes {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(42vw, 560px);
  aspect-ratio: 360 / 280;
  transform:
    translate(-50%, -50%)
    scale(calc(0.98 + var(--scene-progress) * 0.03));
  transform-origin: center;
  z-index: 2;
  pointer-events: none;
}
.storyboard-scenes::before {
  content: "";
  position: absolute;
  inset: 10% 8%;
  border-radius: 48%;
  background:
    radial-gradient(ellipse at center, rgba(95, 227, 196, 0.12), rgba(95, 227, 196, 0.03) 48%, transparent 72%);
  filter: blur(16px);
  opacity: 0.72;
}
.storyboard-copy {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 3.6vw, 44px);
  z-index: 5;
  width: min(520px, 86%);
  transform: translateX(-50%);
  pointer-events: none;
}
.storyboard-step {
  position: absolute;
  inset: auto 0 0;
  padding: 16px 18px 18px;
  border: 1px solid rgba(95, 227, 196, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(8, 22, 18, 0.9), rgba(6, 15, 13, 0.74));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34), inset 0 0 24px rgba(95, 227, 196, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.55s var(--easing), transform 0.55s var(--easing), visibility 0s linear 0.55s;
}
.storyboard-step span {
  display: inline-block;
  color: var(--story-acid);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}
.storyboard-step strong {
  display: block;
  color: var(--d-text);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
  letter-spacing: 0.02em;
}
.storyboard-step p {
  margin-top: 8px;
  color: rgba(234, 243, 239, 0.68);
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.7;
}
.scene-stage-0 .storyboard-step--01,
.scene-stage-1 .storyboard-step--02,
.scene-stage-2 .storyboard-step--03,
.scene-stage-3 .storyboard-step--04,
.scene-stage-4 .storyboard-step--05,
.scene-stage-5 .storyboard-step--06 {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  transition-delay: 0s;
}
.storyboard-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.96);
  filter:
    drop-shadow(0 0 14px rgba(95, 227, 196, 0.2))
    drop-shadow(0 24px 54px rgba(0, 0, 0, 0.34));
  transition:
    opacity 0.72s var(--easing),
    transform 0.9s var(--easing),
    filter 0.72s var(--easing);
  will-change: opacity, transform;
}
.scene-stage-0 .storyboard-scene--01,
.scene-stage-1 .storyboard-scene--02,
.scene-stage-2 .storyboard-scene--03,
.scene-stage-3 .storyboard-scene--04,
.scene-stage-4 .storyboard-scene--05,
.scene-stage-5 .storyboard-scene--06 {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
.scene-stage-3 .storyboard-scene--04,
.scene-stage-5 .storyboard-scene--06 {
  filter:
    drop-shadow(0 0 16px rgba(95, 227, 196, 0.24))
    drop-shadow(0 0 18px rgba(223, 255, 82, 0.12))
    drop-shadow(0 24px 54px rgba(0, 0, 0, 0.34));
}
.line-story {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(70vw, 980px);
  max-width: none;
  height: auto;
  overflow: visible;
  color: var(--story-teal);
  transform:
    translate(-50%, -50%)
    scale(calc(0.84 + var(--scene-progress) * 0.2))
    rotate(calc(-4deg + var(--scene-progress) * 4deg));
  filter: drop-shadow(0 34px 80px rgba(0, 0, 0, 0.52));
  transition: transform 0.12s linear;
}
.line-story {
  display: none;
}
.line-story-image {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(74vw, 1060px);
  max-width: none;
  height: auto;
  transform:
    translate(-50%, -50%)
    scale(calc(0.88 + var(--scene-progress) * 0.18))
    rotate(calc(-2.4deg + var(--scene-progress) * 2.4deg));
  transform-origin: center;
  border-radius: 28px;
  opacity: 0;
  filter:
    saturate(1.05)
    contrast(1.05)
    drop-shadow(0 42px 88px rgba(0, 0, 0, 0.42));
  mask-image: radial-gradient(ellipse at 52% 50%, #000 0 64%, rgba(0,0,0,0.88) 78%, transparent 100%);
  transition:
    opacity 0.85s var(--easing),
    transform 0.12s linear;
}
.scene-play .line-story-image {
  opacity: 0.96;
}
.scene-stage-0 .line-story-image {
  transform: translate(-54%, -50%) scale(0.9) rotate(-2deg);
}
.scene-stage-1 .line-story-image {
  transform: translate(-51%, -50%) scale(0.96) rotate(-1deg);
}
.scene-stage-2 .line-story-image {
  transform: translate(-50%, -50%) scale(1.02) rotate(0deg);
}
.scene-stage-3 .line-story-image {
  transform: translate(-49%, -50%) scale(1.06) rotate(0.8deg);
}
.scene-stage-4 .line-story-image {
  transform: translate(-48%, -50%) scale(1.08) rotate(1.2deg);
}
.story-layer-scene {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(74vw, 1060px);
  aspect-ratio: 1.6;
  transform:
    translate(-50%, -50%)
    scale(calc(0.92 + var(--scene-progress) * 0.1));
  transform-origin: center;
  transition: transform 0.12s linear;
}
.story-layer-scene,
.story-labels {
  display: none;
}
.story-layer-scene::before {
  content: "";
  position: absolute;
  inset: 15% 9% 8%;
  border-radius: 48%;
  border: 1px solid rgba(95, 227, 196, 0.2);
  transform:
    rotate(calc(-18deg + var(--scene-progress) * 62deg))
    scale(calc(0.82 + var(--scene-progress) * 0.28));
  box-shadow: 0 0 80px rgba(95, 227, 196, 0.08);
  opacity: calc(0.24 + var(--scene-progress) * 0.42);
}
.story-art {
  position: absolute;
  display: block;
  height: auto;
  max-width: none;
  opacity: 0;
  filter:
    saturate(1.08)
    contrast(1.08)
    drop-shadow(0 28px 52px rgba(0, 0, 0, 0.36));
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse at center, #000 0 62%, rgba(0,0,0,0.72) 78%, transparent 100%);
  transform-origin: center;
  transition:
    opacity 0.72s var(--easing),
    transform 0.9s var(--easing),
    filter 0.72s var(--easing);
  will-change: transform, opacity;
}
.story-art--person {
  width: 30%;
  left: 49%;
  top: 41%;
  z-index: 4;
}
.story-art--ad {
  width: 40%;
  left: 9%;
  top: 7%;
  z-index: 3;
}
.story-art--search {
  width: 36%;
  left: 10%;
  top: 42%;
  z-index: 5;
}
.story-art--ai {
  width: 39%;
  right: 5%;
  top: 5%;
  z-index: 3;
}
.story-art--sns {
  width: 35%;
  right: 1%;
  top: 38%;
  z-index: 4;
}
.story-art--review {
  width: 40%;
  left: 4%;
  bottom: 4%;
  z-index: 4;
}
.story-art--lp {
  width: 38%;
  right: 2%;
  bottom: 2%;
  z-index: 3;
}
.story-arc {
  position: absolute;
  inset: 17% 15% 10%;
  border: 1px solid rgba(223, 255, 82, 0.38);
  border-radius: 50%;
  opacity: 0;
  transform: rotate(-18deg) scale(0.78);
  filter: drop-shadow(0 0 18px rgba(223, 255, 82, 0.3));
  transition: opacity 0.72s var(--easing), transform 1s var(--easing);
}
.story-arc--02 {
  inset: 25% 25% 18%;
  border-color: rgba(95, 227, 196, 0.28);
  transform: rotate(28deg) scale(0.78);
}
.story-arc--03 {
  inset: 8% 8% 8%;
  border-color: rgba(95, 227, 196, 0.18);
  transform: rotate(70deg) scale(0.78);
}
.scene-stage-0 .story-art--person,
.scene-stage-0 .story-art--ad {
  opacity: 0.98;
}
.scene-stage-0 .story-art--person { transform: translate3d(-4%, 8%, 0) scale(0.92); }
.scene-stage-0 .story-art--ad { transform: translate3d(6%, 16%, 0) scale(1.02) rotate(-4deg); }
.scene-stage-0 .story-art--search,
.scene-stage-0 .story-art--ai,
.scene-stage-0 .story-art--sns,
.scene-stage-0 .story-art--review,
.scene-stage-0 .story-art--lp {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.86);
}

.scene-stage-1 .story-art--person,
.scene-stage-1 .story-art--ad,
.scene-stage-1 .story-art--search {
  opacity: 0.98;
}
.scene-stage-1 .story-art--person { transform: translate3d(-1%, 4%, 0) scale(0.96); }
.scene-stage-1 .story-art--ad { transform: translate3d(-10%, -2%, 0) scale(0.96) rotate(-8deg); opacity: 0.78; }
.scene-stage-1 .story-art--search { transform: translate3d(6%, -8%, 0) scale(1.08) rotate(-2deg); }

.scene-stage-2 .story-art--person,
.scene-stage-2 .story-art--ad,
.scene-stage-2 .story-art--search,
.scene-stage-2 .story-art--ai,
.scene-stage-2 .story-art--sns,
.scene-stage-2 .story-art--review {
  opacity: 0.98;
}
.scene-stage-2 .story-art--person { transform: translate3d(0, 0, 0) scale(1); }
.scene-stage-2 .story-art--ad { transform: translate3d(-12%, -8%, 0) scale(0.9) rotate(-7deg); opacity: 0.7; }
.scene-stage-2 .story-art--search { transform: translate3d(-2%, 2%, 0) scale(0.92); opacity: 0.76; }
.scene-stage-2 .story-art--ai { transform: translate3d(-6%, -4%, 0) scale(1.06) rotate(3deg); }
.scene-stage-2 .story-art--sns { transform: translate3d(-2%, 0, 0) scale(1.02) rotate(2deg); }
.scene-stage-2 .story-art--review { transform: translate3d(2%, -6%, 0) scale(1.02) rotate(-2deg); }

.scene-stage-3 .story-art,
.scene-stage-4 .story-art,
.scene-stage-5 .story-art {
  opacity: 0.96;
}
.scene-stage-3 .story-art--person { transform: translate3d(0, 0, 0) scale(0.98); }
.scene-stage-3 .story-art--ad { transform: translate3d(-14%, -10%, 0) scale(0.9) rotate(-7deg); }
.scene-stage-3 .story-art--search { transform: translate3d(-8%, 0, 0) scale(0.92); }
.scene-stage-3 .story-art--ai { transform: translate3d(-6%, -5%, 0) scale(0.96) rotate(3deg); }
.scene-stage-3 .story-art--sns { transform: translate3d(-2%, 1%, 0) scale(0.95) rotate(2deg); }
.scene-stage-3 .story-art--review { transform: translate3d(1%, -4%, 0) scale(0.94) rotate(-2deg); }
.scene-stage-3 .story-art--lp { transform: translate3d(-10%, -8%, 0) scale(1.03) rotate(2deg); }
.scene-stage-3 .story-arc,
.scene-stage-4 .story-arc,
.scene-stage-5 .story-arc {
  opacity: 1;
  transform: rotate(calc(-18deg + var(--scene-progress) * 80deg)) scale(1);
}
.scene-stage-3 .story-arc--02,
.scene-stage-4 .story-arc--02,
.scene-stage-5 .story-arc--02 {
  transform: rotate(calc(28deg - var(--scene-progress) * 70deg)) scale(1);
}
.scene-stage-3 .story-arc--03,
.scene-stage-4 .story-arc--03,
.scene-stage-5 .story-arc--03 {
  transform: rotate(calc(70deg + var(--scene-progress) * 50deg)) scale(1);
}

.scene-stage-4 .story-art {
  opacity: 0.92;
}
.scene-stage-4 .story-art--person { transform: translate3d(0, -1%, 0) scale(0.96); }
.scene-stage-4 .story-art--ad { transform: translate3d(-11%, -8%, 0) scale(0.82) rotate(-4deg); }
.scene-stage-4 .story-art--search { transform: translate3d(8%, -10%, 0) scale(0.84); }
.scene-stage-4 .story-art--ai { transform: translate3d(-13%, 10%, 0) scale(0.82); }
.scene-stage-4 .story-art--sns { transform: translate3d(10%, 6%, 0) scale(0.82); }
.scene-stage-4 .story-art--review { transform: translate3d(-2%, 15%, 0) scale(0.82); }
.scene-stage-4 .story-art--lp { transform: translate3d(4%, -18%, 0) scale(0.9) rotate(1deg); }

.scene-stage-5 .story-art {
  filter:
    saturate(1.14)
    contrast(1.12)
    drop-shadow(0 36px 76px rgba(0, 0, 0, 0.42));
}
.scene-stage-5 .story-art--person { transform: translate3d(0, -2%, 0) scale(0.92); }
.scene-stage-5 .story-art--ad { transform: translate3d(4%, 12%, 0) scale(0.76) rotate(-1deg); }
.scene-stage-5 .story-art--search { transform: translate3d(22%, -8%, 0) scale(0.72); }
.scene-stage-5 .story-art--ai { transform: translate3d(-18%, 14%, 0) scale(0.72); }
.scene-stage-5 .story-art--sns { transform: translate3d(-18%, -4%, 0) scale(0.72); }
.scene-stage-5 .story-art--review { transform: translate3d(20%, -20%, 0) scale(0.72); }
.scene-stage-5 .story-art--lp { transform: translate3d(-26%, -22%, 0) scale(0.8); }
.line-story * {
  vector-effect: non-scaling-stroke;
}
.line-story path,
.line-story rect,
.line-story circle,
.line-story ellipse {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.line-story rect,
.story-phone rect {
  fill: rgba(7, 24, 21, 0.56);
}
.story-acid {
  stroke: var(--story-acid) !important;
  filter: url(#storyGlow);
}
.story-acid-fill,
.story-dot {
  fill: var(--story-acid) !important;
  stroke: none !important;
  filter: url(#storyGlow);
}
.story-orbit {
  color: rgba(95, 227, 196, 0.34);
  transform-origin: 520px 380px;
  opacity: 0.46;
}
.story-orbit--outer {
  animation: storyOrbit 18s linear infinite;
}
.story-orbit--inner {
  animation: storyOrbit 14s linear reverse infinite;
}
.story-person,
.story-phone,
.story-panel,
.story-flow .flow-path {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.7s var(--easing), transform 0.7s var(--easing);
}
.story-person {
  transform-origin: 505px 410px;
}
.story-signal {
  stroke: var(--story-acid) !important;
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
}
.story-flow .flow-path {
  stroke: var(--story-acid);
  stroke-width: 3;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  filter: url(#storyGlow);
}
.scene-stage-0 .story-person,
.scene-stage-0 .story-phone,
.scene-stage-0 .story-panel--ad,
.scene-stage-1 .story-person,
.scene-stage-1 .story-phone,
.scene-stage-1 .story-panel--ad,
.scene-stage-1 .story-panel--search,
.scene-stage-2 .story-person,
.scene-stage-2 .story-phone,
.scene-stage-2 .story-panel--ad,
.scene-stage-2 .story-panel--search,
.scene-stage-2 .story-panel--ai,
.scene-stage-2 .story-panel--sns,
.scene-stage-2 .story-panel--review,
.scene-stage-3 .story-person,
.scene-stage-3 .story-phone,
.scene-stage-3 .story-panel,
.scene-stage-3 .story-flow .flow-path,
.scene-stage-4 .story-person,
.scene-stage-4 .story-phone,
.scene-stage-4 .story-panel,
.scene-stage-4 .story-flow .flow-path {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.scene-stage-4 .story-person {
  transform: translate3d(0, 0, 0) scale(0.96);
}
.scene-stage-3 .story-flow .flow-path,
.scene-stage-4 .story-flow .flow-path,
.scene-stage-2 .story-signal,
.scene-stage-3 .story-signal,
.scene-stage-4 .story-signal {
  stroke-dashoffset: 0;
}
.story-panel--ad { transition-delay: 0.05s; }
.story-panel--search { transition-delay: 0.1s; }
.story-panel--ai { transition-delay: 0.16s; }
.story-panel--sns { transition-delay: 0.22s; }
.story-panel--review { transition-delay: 0.28s; }
.story-panel--lp { transition-delay: 0.34s; }
.story-flow .flow-path--01 { transition-delay: 0.05s; }
.story-flow .flow-path--02 { transition-delay: 0.13s; }
.story-flow .flow-path--03 { transition-delay: 0.21s; }
.story-flow .flow-path--04 { transition-delay: 0.29s; }
.story-flow .flow-path--05 { transition-delay: 0.37s; }
.story-flow .flow-path--06 { transition-delay: 0.45s; }
.story-labels {
  list-style: none;
  margin: 0;
  padding: 0;
}
.story-label {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(95, 227, 196, 0.46);
  border-radius: 999px;
  color: var(--d-text);
  background: rgba(4, 16, 14, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 22px rgba(95, 227, 196, 0.1);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.55s var(--easing), transform 0.55s var(--easing);
}
.story-label span {
  color: var(--story-acid);
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.story-label--ad { left: 6%; top: 12%; }
.story-label--search { left: 34%; top: 5%; }
.story-label--ai { right: 8%; top: 20%; }
.story-label--sns { right: 5%; bottom: 26%; }
.story-label--review { left: 12%; bottom: 9%; }
.story-label--lp { right: 22%; bottom: 5%; }
.scene-stage-0 .story-label--ad,
.scene-stage-1 .story-label--ad,
.scene-stage-1 .story-label--search,
.scene-stage-2 .story-label--ad,
.scene-stage-2 .story-label--search,
.scene-stage-2 .story-label--ai,
.scene-stage-2 .story-label--sns,
.scene-stage-2 .story-label--review,
.scene-stage-3 .story-label,
.scene-stage-4 .story-label,
.scene-stage-5 .story-label {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.era-scene-result {
  max-width: min(1120px, calc(100vw - 40px));
  margin: 0 auto clamp(80px, 10vw, 140px);
  padding: clamp(24px, 4vw, 46px) 0;
  border-top: 1px solid rgba(95, 227, 196, 0.28);
  border-bottom: 1px solid rgba(95, 227, 196, 0.22);
  display: grid;
  grid-template-columns: minmax(170px, 240px) 1fr;
  gap: clamp(20px, 4vw, 52px);
  align-items: baseline;
}
.era-scene-result-label {
  margin: 0;
}
.era-scene-result-text {
  font-size: clamp(20px, 2.3vw, 34px);
  line-height: 1.6;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.era-scene-result-text strong {
  color: var(--story-acid);
}
@keyframes storyOrbit {
  to { transform: rotate(360deg); }
}

/* 比較表 */
.era-compare { margin-top: clamp(48px, 7vw, 80px); }
.era-compare-title {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--d-text);
  margin-bottom: clamp(20px, 3vw, 32px);
  letter-spacing: 0.02em;
}
/* =========================================================
   era 概念図 ─ 大胆なシーケンシャルアニメーション版
   ・スクロールで画面に入ると 1 回だけ再生（JS: .diagram-play 付与）
   ・各ブロックは下から浮上＋フェード、SVG 線は描画アニメーション
   ・余白を大きく取り、情報の詰まりを解消
   ========================================================= */
.era-diagram {
  margin: clamp(48px, 7vw, 88px) 0;
  padding: clamp(26px, 4.5vw, 60px) clamp(22px, 4vw, 56px);
  border-radius: 24px;
  border: 1px solid var(--d-line);
  position: relative;
  overflow: hidden;
  /* 縦方向にゆとりを持たせた1カラム構成 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(30px, 4.5vw, 52px);
  background:
    radial-gradient(120% 90% at 80% 6%, rgba(95, 227, 196, 0.12), transparent 55%),
    radial-gradient(100% 80% at 8% 94%, rgba(223, 255, 82, 0.07), transparent 55%),
    #07100e;
}

/* SVG 接続線レイヤー（全体に重ねる） */
.diagram-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.diagram-wire {
  fill: none;
  stroke: var(--d-teal);
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: 0.55;
  /* 線が「描かれる」アニメーション用：JSで pathLength を設定 */
  stroke-dasharray: var(--len, 1);
  stroke-dashoffset: var(--len, 1);
  transition: stroke-dashoffset 0.9s var(--easing);
}
.diagram-wire--acid { stroke: var(--acid); opacity: 0.5; }
.diagram-play .diagram-wire { stroke-dashoffset: 0; }

/* 各ブロック共通：初期は伏せておき、再生時に浮上 */
.era-diagram > .diagram-block,
.era-diagram > .diagram-bridge,
.era-diagram > .brand-recall-zone,
.era-diagram > .diagram-result {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  opacity: 0;
  transform: translateY(36px) scale(0.97);
  transition:
    opacity 0.7s var(--easing),
    transform 0.7s var(--easing);
}
/* 再生：data-seq に応じて時間差で登場 */
.diagram-play [data-seq] {
  opacity: 1 !important;
  transform: none !important;
}
.diagram-play [data-seq="1"] { transition-delay: 0.05s; }
.diagram-play [data-seq="2"] { transition-delay: 0.45s; }
.diagram-play [data-seq="3"] { transition-delay: 0.7s; }
.diagram-play [data-seq="4"] { transition-delay: 0.95s; }
.diagram-play [data-seq="6"] { transition-delay: 3.5s; }
.diagram-play [data-seq="7"] { transition-delay: 3.9s; }
.diagram-play [data-seq="8"] { transition-delay: 4.3s; }

/* ── 共通パーツ ── */
.diagram-block {
  border-radius: 18px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--d-line);
  background: rgba(10, 18, 16, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2vw, 22px);
}
.diagram-tag {
  display: inline-block;
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 16px;
  border-radius: 999px;
  background: rgba(234, 243, 239, 0.1);
  color: var(--d-muted);
}
.diagram-tag--now {
  background: rgba(95, 227, 196, 0.16);
  color: var(--d-teal);
}
.diagram-stage-title {
  font-size: clamp(15px, 1.7vw, 21px);
  font-weight: 700;
  color: var(--d-text);
  margin: 0;
  line-height: 1.5;
}

/* ── STEP1：これまで（直線ファネル） ── */
.diagram-old { opacity: 0.92; }
.funnel-line {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.5vw, 14px);
}
.funnel-step {
  position: relative;
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 700;
  color: var(--d-muted);
  padding: 9px 20px;
  border-radius: 11px;
  border: 1px dashed rgba(234, 243, 239, 0.3);
}
/* 打ち消し線（再生時にスッと引かれる） */
.funnel-step::after {
  content: "";
  position: absolute;
  left: 6%;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--acid);
  opacity: 0.8;
  transform: rotate(-6deg);
  transform-origin: left center;
  transition: width 0.5s var(--easing);
}
.diagram-play .diagram-old .funnel-step::after { width: 88%; }
.diagram-play [data-node="old-1"]::after { transition-delay: 0.25s; }
.diagram-play [data-node="old-2"]::after { transition-delay: 0.32s; }
.diagram-play [data-node="old-3"]::after { transition-delay: 0.39s; }
.funnel-arrow {
  color: rgba(234, 243, 239, 0.35);
  font-size: 16px;
}

/* ── 変化のブリッジ ── */
.diagram-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: none !important;
}
.bridge-label {
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--acid);
}
.bridge-arrow {
  display: inline-flex;
  width: 32px;
  height: 46px;
  color: var(--d-teal);
  filter: drop-shadow(0 0 8px rgba(95, 227, 196, 0.6));
}
.diagram-play .bridge-arrow {
  animation: bridgeBounce 3.0s var(--easing) 1.3s infinite;
}
.bridge-arrow svg { width: 100%; height: 100%; }
@keyframes bridgeBounce {
  0%, 100% { transform: translateY(0); opacity: 0.75; }
  50% { transform: translateY(9px); opacity: 1; }
}

/* ── STEP2：いま ── */
.diagram-new {
  border-color: rgba(95, 227, 196, 0.32);
  background: rgba(10, 22, 20, 0.6);
}
.tp-origin {
  padding: 12px 28px;
  border-radius: 12px;
  border: 1px solid rgba(223, 255, 82, 0.4);
  background: rgba(223, 255, 82, 0.08);
}
.tp-origin-label {
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 700;
  color: var(--acid);
}

/* 接点グリッド：ゆとりある3列、1つずつ連鎖登場 */
.touch-nodes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.6vw, 16px);
  width: 100%;
}
.touch-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: clamp(12px, 1.2vw, 14.5px);
  font-weight: 600;
  color: var(--d-text);
  padding: clamp(14px, 1.8vw, 20px) 12px;
  border-radius: 13px;
  border: 1px solid rgba(95, 227, 196, 0.24);
  background: rgba(95, 227, 196, 0.07);
  line-height: 1.35;
  text-align: center;
  /* 連鎖アニメーション初期状態 */
  opacity: 0;
  transform: translateY(20px) scale(0.85);
  transition:
    opacity 0.8s var(--easing),
    transform 0.8s var(--easing),
    background 0.3s var(--easing),
    border-color 0.3s var(--easing);
}
.diagram-play .touch-node {
  opacity: 1;
  transform: none;
}
/* ノードを 0.25s ずつ時間差でゆっくり登場 */
.diagram-play .touch-node:nth-child(1) { transition-delay: 1.30s; }
.diagram-play .touch-node:nth-child(2) { transition-delay: 1.55s; }
.diagram-play .touch-node:nth-child(3) { transition-delay: 1.80s; }
.diagram-play .touch-node:nth-child(4) { transition-delay: 2.05s; }
.diagram-play .touch-node:nth-child(5) { transition-delay: 2.30s; }
.diagram-play .touch-node:nth-child(6) { transition-delay: 2.55s; }
.touch-node:hover {
  transform: translateY(-3px);
  background: rgba(95, 227, 196, 0.16);
  border-color: rgba(95, 227, 196, 0.5);
}
.touch-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 8px;
  color: var(--d-teal);
  background: rgba(95, 227, 196, 0.1);
}
.touch-icon svg { width: 100%; height: 100%; }
.touch-label { display: block; }
.tp-decision {
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid rgba(95, 227, 196, 0.5);
  background: rgba(95, 227, 196, 0.13);
  width: 100%;
}
.tp-decision-label {
  font-size: clamp(12px, 1.3vw, 15px);
  font-weight: 700;
  color: var(--d-teal);
}

/* ── ブランド想起ゾーン ── */
.brand-recall-zone {
  padding: clamp(22px, 3vw, 34px);
  border-radius: 18px;
  border: 1px solid rgba(223, 255, 82, 0.25);
  background: rgba(223, 255, 82, 0.04);
}
.brand-recall-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.brand-recall-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  flex-shrink: 0;
  background: rgba(223, 255, 82, 0.12);
  border: 1px solid rgba(223, 255, 82, 0.28);
  color: var(--acid);
}
.brand-recall-icon svg { width: 55%; height: 55%; }
.brand-recall-title {
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 700;
  color: var(--d-text);
  margin: 0;
  line-height: 1.45;
  text-align: left;
}
.brand-recall-desc {
  font-size: clamp(13.5px, 1.3vw, 16px);
  color: var(--d-muted);
  line-height: 1.95;
  margin: 0 0 18px;
}
.brand-recall-desc strong { color: var(--d-text); font-weight: 700; }
.brand-recall-metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.brand-recall-metrics li {
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 600;
  color: var(--acid);
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(223, 255, 82, 0.3);
  background: rgba(223, 255, 82, 0.06);
  /* チップが弾けるように登場 */
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.4s var(--easing), transform 0.4s var(--easing);
}
.diagram-play .brand-recall-metrics li { opacity: 1; transform: none; }
.diagram-play .brand-recall-metrics li:nth-child(1) { transition-delay: 4.05s; }
.diagram-play .brand-recall-metrics li:nth-child(2) { transition-delay: 4.20s; }
.diagram-play .brand-recall-metrics li:nth-child(3) { transition-delay: 4.35s; }
.diagram-play .brand-recall-metrics li:nth-child(4) { transition-delay: 4.50s; }
.diagram-play .brand-recall-metrics li:nth-child(5) { transition-delay: 4.65s; }
.diagram-play .brand-recall-metrics li:nth-child(6) { transition-delay: 4.80s; }

/* ── 結論 ── */
.diagram-result {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: clamp(20px, 2.6vw, 28px) clamp(22px, 3vw, 34px);
  border-radius: 18px;
  text-align: left;
  background: linear-gradient(135deg, rgba(95, 227, 196, 0.18), rgba(223, 255, 82, 0.07));
  border: 1px solid rgba(95, 227, 196, 0.38);
}
.diagram-result-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(44px, 4.5vw, 52px);
  height: clamp(44px, 4.5vw, 52px);
  border-radius: 13px;
  flex-shrink: 0;
  color: var(--deep);
  background: var(--d-teal);
}
.diagram-result-mark svg { width: 55%; height: 55%; }
.diagram-result-text {
  font-size: clamp(14px, 1.6vw, 19px);
  font-weight: 700;
  color: var(--d-text);
  line-height: 1.6;
}
.diagram-result-text strong { color: var(--d-teal); }

/* レスポンシブ：接点グリッドを段階的に */
@media (max-width: 720px) {
  .touch-nodes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .touch-nodes { grid-template-columns: 1fr; }
  .touch-node { flex-direction: row; justify-content: center; }
}

/* prefers-reduced-motion：アニメ無効でも全要素を表示 */
@media (prefers-reduced-motion: reduce) {
  .era-scene,
  .era-scene::before,
  .era-scene::after,
  .era-scene-copy,
  .era-scene-visual,
  .era-scene-image,
  .journey-chip {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
  .journey-chip {
    opacity: 1 !important;
  }
  .era-diagram > [data-seq],
  .touch-node,
  .brand-recall-metrics li {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .diagram-wire { stroke-dashoffset: 0 !important; transition: none !important; }
  .diagram-old .funnel-step::after { width: 88%; transition: none; }
}

/* 凡例 */
.compare-legend {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 28px);
  margin-bottom: clamp(16px, 2.5vw, 24px);
  padding-left: clamp(0px, 1vw, 4px);
}
.compare-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.compare-legend-them { color: var(--d-muted); }
.compare-legend-us { color: var(--d-teal); }
.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-dot--them { background: rgba(234, 243, 239, 0.32); }
.legend-dot--us {
  background: var(--d-teal);
  box-shadow: 0 0 12px rgba(95, 227, 196, 0.55);
}

/* 比較カードリスト */
.compare-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.5vw, 14px);
}
.compare-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) 2.4fr;
  align-items: stretch;
  gap: clamp(14px, 2vw, 28px);
  padding: clamp(16px, 2vw, 22px) clamp(16px, 2.2vw, 26px);
  border-radius: 16px;
  border: 1px solid var(--d-line);
  background: var(--d-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.4s var(--easing), transform 0.4s var(--easing);
}
.compare-card:hover {
  border-color: rgba(95, 227, 196, 0.4);
  transform: translateY(-2px);
}

/* 左：項目ラベル */
.compare-card-label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.compare-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(38px, 4vw, 46px);
  height: clamp(38px, 4vw, 46px);
  border-radius: 12px;
  background: rgba(95, 227, 196, 0.1);
  border: 1px solid rgba(95, 227, 196, 0.22);
  color: var(--d-teal);
  flex-shrink: 0;
}
.compare-icon svg {
  width: 55%;
  height: 55%;
}
.compare-card-name {
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 700;
  color: var(--d-text);
  line-height: 1.4;
}

/* 右：対比 */
.compare-card-vs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.5vw, 18px);
  align-items: center;
}
.compare-card-vs p {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: clamp(13px, 1.3vw, 15.5px);
  line-height: 1.55;
  margin: 0;
}
.compare-card-vs .compare-them { color: var(--d-muted); }
.compare-card-vs .compare-us {
  color: var(--d-text);
  font-weight: 600;
  padding: clamp(8px, 1vw, 12px) clamp(12px, 1.4vw, 16px);
  border-radius: 12px;
  background: rgba(95, 227, 196, 0.08);
  border: 1px solid rgba(95, 227, 196, 0.2);
}
.vs-mark {
  flex-shrink: 0;
  font-weight: 700;
  line-height: 1.5;
  font-size: 0.95em;
}
.vs-mark--them { color: rgba(234, 243, 239, 0.4); }
.vs-mark--us {
  color: var(--deep);
  background: var(--d-teal);
  width: 1.35em;
  height: 1.35em;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8em;
  margin-top: 1px;
}

/* ===== scope ===== */
.scope, .flow, .works {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 140px) clamp(20px, 5vw, 60px);
}
.scope-head { margin-bottom: 50px; }
.scope > .scope-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px clamp(24px, 4vw, 54px);
  align-items: end;
}
.scope > .scope-head .section-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}
.scope > .scope-head::after {
  content: "( Services That Grow )";
  grid-column: 2;
  grid-row: 2;
  font-family: var(--font-en);
  font-size: clamp(14px, 1.8vw, 22px);
  letter-spacing: 0.08em;
  color: rgba(234, 243, 239, 0.38);
  white-space: nowrap;
}
.scope-title { font-size: clamp(34px, 6vw, 88px); letter-spacing: 0.04em; line-height: 1.3; }
.scope > .scope-head .scope-title { grid-column: 1; grid-row: 2; }
.scope-sub { margin-top: 22px; max-width: 100%; color: var(--d-muted); }

.scope-list { list-style: none; margin: 0; padding: 0; }
a.scope-item {
  color: inherit;
  text-decoration: none;
}
.scope-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 34px 16px;
  border-top: 1px solid var(--d-line);
  cursor: pointer;
  transition: padding 0.4s var(--easing), background 0.4s var(--easing);
}
.scope-item:last-child { border-bottom: 1px solid var(--d-line); }
.scope-item:hover { padding-left: 30px; padding-right: 30px; background: rgba(255,255,255,0.04); }
.scope-no {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--d-teal);
  font-weight: 600;
}
.scope-text h3 { font-size: clamp(20px, 2.6vw, 32px); margin-bottom: 8px; transition: color 0.3s; color: var(--d-text); }
.scope-text p { color: var(--d-muted); font-size: 15px; max-width: 560px; }
.scope-item:hover .scope-text h3 { color: var(--d-teal); }
.scope-arrow {
  font-family: var(--font-en);
  font-size: 26px;
  color: var(--d-text);
  transform: translateX(-8px);
  opacity: 0.3;
  transition: transform 0.4s var(--easing), opacity 0.4s;
}
.scope-item:hover .scope-arrow { transform: translateX(0); opacity: 1; }

/* リンクのないメニュー項目は、クリックできそうな演出を抑える */
li.scope-item {
  cursor: default;
}
li.scope-item:hover {
  padding-left: 16px;
  padding-right: 16px;
  background: transparent;
}
li.scope-item:hover .scope-text h3 { color: var(--d-text); }

/* featured menu item */
.scope-item--feature {
  background: linear-gradient(135deg, rgba(95,227,196,0.16), rgba(18,30,27,0.7));
  color: var(--paper);
  border: 1px solid rgba(95,227,196,0.4);
  border-radius: 18px;
  border-top-color: rgba(95,227,196,0.4);
  margin: 6px 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.scope-item--feature:last-child,
.scope-item + .scope-item--feature { border-top: 1px solid rgba(95,227,196,0.4); }
.scope-item--feature:hover { background: linear-gradient(135deg, rgba(95,227,196,0.28), rgba(18,30,27,0.8)); }
.scope-item--feature .scope-no { color: var(--acid); }
.scope-item--feature .scope-text p { color: rgba(238, 247, 244, 0.78); }
.scope-item--feature .scope-text p strong { color: var(--acid); font-weight: 700; }
.scope-item--feature:hover .scope-text h3 { color: var(--paper); }
.scope-item--feature .scope-arrow { color: var(--acid); }
.scope-badge {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--acid);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

/* ===== stance / 利益相反のない体制 ===== */
.stance {
  background: rgba(12, 22, 20, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--d-line);
  border-bottom: 1px solid var(--d-line);
}
.stance-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) clamp(20px, 5vw, 60px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.stance-head { position: sticky; top: 110px; }
.stance-title {
  font-size: clamp(24px, 4.2vw, 56px);
  line-height: 1.45;
  letter-spacing: 0.05em;
}
.stance-lead {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--d-muted);
  margin-bottom: 40px;
  max-width: 620px;
}
.stance-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.stance-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 26px 8px;
  border-top: 1px solid var(--d-line);
  transition: padding 0.4s var(--easing);
}
.stance-list li:hover { padding-left: 16px; }
.stance-icon {
  color: var(--d-teal);
  font-size: 20px;
  line-height: 1.4;
}
.stance-list h3 { font-size: clamp(17px, 2vw, 22px); margin-bottom: 8px; color: var(--d-text); }
.stance-list p { color: var(--d-muted); font-size: 15px; }

/* ===== strength / 強み（AI × 作り放題 × 一気通貫）===== */
.strength {
  width: 100%;
  margin: 0;
  padding: clamp(84px, 12vw, 160px) 0;
  background:
    linear-gradient(180deg, rgba(5, 10, 9, 0.86), rgba(5, 10, 9, 0.58)),
    radial-gradient(80% 120% at 15% 0%, rgba(223, 255, 82, 0.11), transparent 56%),
    radial-gradient(80% 100% at 92% 62%, rgba(95, 227, 196, 0.16), transparent 58%);
  border-top: 1px solid rgba(234, 243, 239, 0.12);
  border-bottom: 1px solid rgba(234, 243, 239, 0.12);
}
.strength::before {
  content: "Systems That Grow";
  position: absolute;
  right: max(20px, calc((100vw - var(--maxw)) / 2 + 60px));
  top: clamp(28px, 4vw, 54px);
  font-family: var(--font-en);
  font-size: clamp(28px, 6vw, 92px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(234, 243, 239, 0.055);
  pointer-events: none;
}
.strength-head {
  max-width: var(--maxw);
  margin: 0 auto clamp(42px, 6vw, 76px);
  padding: 0 clamp(20px, 5vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "label"
    "title"
    "lead";
  row-gap: clamp(24px, 3vw, 38px);
  align-items: start;
}
.strength-head .section-label {
  grid-area: label;
}
.strength-title {
  grid-area: title;
  font-size: clamp(24px, 4.2vw, 56px);
  line-height: 1.34;
  letter-spacing: 0.025em;
  color: var(--d-text);
  max-width: 1000px;
}
.strength-lead {
  grid-area: lead;
  margin-top: 0;
  font-size: clamp(15px, 1.5vw, 19px);
  color: var(--d-muted);
  line-height: 1.95;
  max-width: 980px;
}
.strength-lead strong { color: var(--acid); font-weight: 700; }
.strength-list {
  list-style: none;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  display: block;
}
.strength-card {
  position: relative;
  display: grid;
  grid-template-columns: clamp(64px, 7vw, 96px) minmax(330px, 0.9fr) minmax(0, 1.1fr);
  column-gap: clamp(28px, 3.5vw, 52px);
  row-gap: 12px;
  align-items: start;
  min-height: clamp(136px, 15vw, 190px);
  padding: clamp(28px, 4vw, 46px) clamp(4px, 1vw, 10px);
  border-top: 1px solid rgba(234, 243, 239, 0.18);
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
  transition: background 0.35s var(--easing), padding 0.35s var(--easing);
}
.strength-card::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--acid), var(--d-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--easing);
}
.strength-card:last-child { border-bottom: 1px solid rgba(234, 243, 239, 0.18); }
.strength-card:hover {
  padding-left: clamp(16px, 3vw, 32px);
  background: rgba(234, 243, 239, 0.035);
  box-shadow: none;
}
.strength-card:hover::before { transform: scaleX(1); }
.strength-no {
  font-family: var(--font-en);
  font-size: clamp(13px, 1.4vw, 18px);
  letter-spacing: 0.18em;
  color: var(--d-teal);
  font-weight: 600;
}
.strength-icon {
  display: none;
}
.strength-sub {
  font-family: var(--font-en);
  font-size: clamp(12px, 1.25vw, 15px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acid);
  line-height: 1.4;
  opacity: 0.75;
  grid-column: 2;
  margin-top: 0;
}
.strength-card h3 {
  font-size: clamp(22px, 2.8vw, 38px);
  line-height: 1.38;
  letter-spacing: 0.02em;
  margin-bottom: 0;
  color: var(--d-text);
  grid-column: 2;
  max-width: 520px;
  text-wrap: balance;
}
.strength-card p {
  max-width: 640px;
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 2.05;
  color: var(--d-muted);
  grid-column: 3;
  grid-row: 1 / span 2;
}
.strength-card p strong { color: var(--acid); font-weight: 700; }

/* ===== flow ===== */
.flow .scope-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px clamp(24px, 4vw, 54px);
  align-items: end;
}
.flow .scope-head .section-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}
.flow .scope-head .scope-title {
  grid-column: 1;
  grid-row: 2;
}
.flow .scope-head::after {
  content: "( From Hearing To Growth )";
  grid-column: 2;
  grid-row: 2;
  font-family: var(--font-en);
  font-size: clamp(14px, 1.8vw, 22px);
  letter-spacing: 0.08em;
  color: rgba(234, 243, 239, 0.38);
  white-space: nowrap;
}
.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: flow;
  border-top: 1px solid rgba(234, 243, 239, 0.18);
  border-bottom: 1px solid rgba(234, 243, 239, 0.18);
}
.flow-step {
  position: relative;
  min-height: 260px;
  padding: clamp(24px, 3.5vw, 42px) clamp(18px, 2.6vw, 34px);
  border: 0;
  border-right: 1px solid rgba(234, 243, 239, 0.14);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(234, 243, 239, 0.045), rgba(234, 243, 239, 0));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.35s var(--easing), padding 0.35s var(--easing);
}
.flow-step:last-child { border-right: 0; }
.flow-step:hover {
  padding-top: clamp(32px, 4vw, 52px);
  background: linear-gradient(180deg, rgba(95, 227, 196, 0.12), rgba(234, 243, 239, 0));
  box-shadow: none;
}
.flow-no {
  font-family: var(--font-en);
  font-size: clamp(12px, 1.2vw, 15px);
  letter-spacing: 0.14em;
  color: var(--d-teal);
}
.flow-step h3 {
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.38;
  letter-spacing: 0.02em;
  margin: clamp(28px, 5vw, 58px) 0 14px;
  color: var(--d-text);
}
.flow-step p {
  color: var(--d-muted);
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.95;
}

/* ===== works / 具体的な施策例（横スクロール） ===== */

/* ヘッダー：見出し＋矢印ナビを左右に並べる */
.works-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.works-header .scope-head {
  margin-bottom: 0; /* 親で管理するためリセット */
}

/* 矢印ナビ（右上） */
.works-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding-bottom: 6px; /* 見出しベースラインに合わせる */
}
.works-nav-count {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--d-muted);
  min-width: 2.8em;
  text-align: center;
}
.works-nav-count span:first-child {
  color: var(--d-text);
  font-weight: 700;
}
.works-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid rgba(234, 243, 239, 0.45);
  background: rgba(234, 243, 239, 0.12);
  color: var(--d-text);
  cursor: pointer;
  transition:
    background 0.3s var(--easing),
    border-color 0.3s var(--easing),
    transform 0.3s var(--easing),
    opacity 0.3s var(--easing);
}
.works-nav-btn svg { width: 22px; height: 22px; stroke-width: 2.5; }
.works-nav-btn:hover:not(:disabled) {
  background: rgba(95, 227, 196, 0.22);
  border-color: var(--d-teal);
  transform: scale(1.1);
}
.works-nav-btn:disabled {
  opacity: 0.22;
  cursor: default;
}

/* スワイプ・ドラッグヒント */
.works-hint {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 14px;
  overflow: hidden;
}
.works-hint-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--d-muted);
  /* 初期状態：右からスライドイン待機 */
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.7s var(--easing), transform 0.7s var(--easing);
}
.works-hint-inner svg {
  width: 32px;
  height: 22px;
  flex-shrink: 0;
  color: var(--d-teal);
}
/* 矢印を左右にアニメ */
.works-hint-inner svg path:last-child {
  animation: hintArrow 2.8s var(--easing) infinite;
}
@keyframes hintArrow {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(6px); opacity: 1; }
}
/* JS が .is-visible を付与したら表示 */
.works-hint.is-visible .works-hint-inner {
  opacity: 1;
  transform: none;
}
/* スクロール後にフェードアウト */
.works-hint.is-hidden .works-hint-inner {
  opacity: 0;
  transform: translateX(-10px);
}

/* ドットインジケーター */
.works-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}
.works-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(234, 243, 239, 0.22);
  cursor: pointer;
  transition: background 0.35s var(--easing), transform 0.35s var(--easing), width 0.35s var(--easing);
  padding: 0;
}
.works-dot:hover {
  background: rgba(234, 243, 239, 0.5);
  transform: scale(1.2);
}
.works-dot--active {
  background: var(--d-teal);
  width: 24px; /* アクティブは横長のピル形状 */
  border-radius: 999px;
  transform: none;
}

.works-track {
  --works-edge-start: max(clamp(20px, 5vw, 60px), calc((100vw - var(--maxw)) / 2 + clamp(20px, 5vw, 60px)));
  --work-card-width: clamp(300px, 38vw, 480px);
  display: flex;
  gap: 24px;
  width: calc(100vw - var(--works-edge-start));
  overflow-x: auto;
  padding: 6px max(6px, calc(100% - var(--work-card-width) - 6px)) 36px 6px;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 6px;
  -webkit-overflow-scrolling: touch;
}
.works-track::-webkit-scrollbar { height: 5px; }
.works-track::-webkit-scrollbar-thumb { background: var(--d-line); border-radius: 10px; }

/* カード本体：情報量に合わせ幅・高さを拡張 */
.work-card {
  flex: 0 0 var(--work-card-width);
  scroll-snap-align: start;
  padding: clamp(26px, 3vw, 38px) clamp(24px, 2.8vw, 36px);
  border-radius: 22px;
  border: 1px solid var(--d-line);
  background: var(--d-glass-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.5vw, 28px);
  transition: transform 0.4s var(--easing), border-color 0.4s var(--easing), box-shadow 0.4s var(--easing);
}
.work-card:nth-child(even) {
  background: linear-gradient(160deg, rgba(95,227,196,0.15), rgba(12,22,20,0.85));
}
.work-card:hover {
  border-color: var(--d-teal);
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

/* カード上段：タグ・見出し・サマリー */
.work-card-top {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.work-tag {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--acid);
  text-transform: uppercase;
}

/* 「こんな課題に」の状況テキスト */
.work-situation {
  font-size: clamp(13.5px, 1.3vw, 15.5px);
  font-weight: 700;
  color: var(--d-text);
  line-height: 1.65;
  margin: 0;
  padding: clamp(12px, 1.4vw, 16px) clamp(14px, 1.6vw, 18px);
  border-radius: 10px;
  background: rgba(234, 243, 239, 0.05);
  border-left: 3px solid rgba(234, 243, 239, 0.25);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.work-situation-mark {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--d-teal);
  background: rgba(95, 227, 196, 0.12);
  border: 1px solid rgba(95, 227, 196, 0.3);
  border-radius: 4px;
  padding: 2px 8px;
  width: fit-content;
}

.work-card h3 {
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.45;
  letter-spacing: 0.03em;
  margin: 0;
}
.work-summary {
  font-size: clamp(13px, 1.25vw, 15px);
  color: rgba(238, 247, 244, 0.68);
  line-height: 1.85;
  margin: 0;
}

/* 課題・施策・ポイントのリスト */
.work-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid rgba(234, 243, 239, 0.1);
  padding-top: clamp(18px, 2vw, 24px);
}
.work-steps li {
  display: grid;
  grid-template-columns: 3.5em 1fr;
  gap: 10px;
  font-size: clamp(12.5px, 1.2vw, 14.5px);
  line-height: 1.75;
  color: rgba(238, 247, 244, 0.72);
}
.work-step-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--d-teal);
  background: rgba(95, 227, 196, 0.1);
  border: 1px solid rgba(95, 227, 196, 0.25);
  border-radius: 6px;
  padding: 3px 6px;
  text-align: center;
  height: fit-content;
  margin-top: 2px;
  white-space: nowrap;
}
/* 課題ラベルは少し控えめに */
.work-steps li:first-child .work-step-label {
  color: var(--d-muted);
  background: rgba(234, 243, 239, 0.07);
  border-color: rgba(234, 243, 239, 0.15);
}
/* ポイントラベルはアクセントカラー */
.work-steps li:last-child .work-step-label {
  color: var(--acid);
  background: rgba(223, 255, 82, 0.08);
  border-color: rgba(223, 255, 82, 0.25);
}

/* ===== closing ===== */
.closing {
  position: relative;
  margin-top: clamp(60px, 8vw, 100px);
  padding: clamp(110px, 16vw, 220px) clamp(20px, 5vw, 60px);
  /* bokeh(暗背景)をより透かし、光の粒を最後まで見せる */
  background: radial-gradient(ellipse at 50% 50%, rgba(5,10,9,0.45) 0%, rgba(5,10,9,0.72) 100%);
  color: var(--paper);
  overflow: hidden;
}
.closing-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}
.closing-heading {
  font-size: clamp(40px, 8vw, 120px);
  line-height: 1.28;
  letter-spacing: 0.04em;
  margin: 12px 0 28px;
}
.closing-heading .accent-text { color: var(--acid); }
.closing-heading .accent-text::after { background: var(--teal); }
/* closingは「濃緑マーカー × ライム文字」でコントラスト十分なため、文字色は維持 */
.in-view .closing-heading .accent-text { color: var(--acid); }
.closing-lead {
  color: rgba(238, 247, 244, 0.72);
  margin-bottom: 40px;
  font-size: clamp(15px, 1.4vw, 18px);
}
.closing .btn--solid { background: var(--acid); color: var(--ink); }
.closing .btn--solid::before { background: var(--paper); }

/* ===== お問い合わせフォーム ===== */
.contact-form-wrap {
  margin-top: clamp(36px, 5vw, 56px);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(10, 20, 18, 0.72);
  border: 1px solid rgba(95, 227, 196, 0.22);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 48px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: left;
}
.contact-form-title {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700;
  color: var(--d-teal);
  text-align: center;
  margin: 0 0 clamp(24px, 3vw, 34px);
  letter-spacing: 0.04em;
}

/* 各行（ラベル＋インプット） */
.cf-row {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 10px 16px;
  align-items: start;
  margin-bottom: clamp(16px, 2vw, 22px);
}
.cf-label {
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 700;
  color: var(--d-text);
  padding-top: 13px;
  line-height: 1.5;
}
.cf-label-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--d-muted);
}
.cf-req {
  color: #f87171;
  margin-left: 4px;
  font-size: 13px;
}
.cf-input-wrap { display: flex; flex-direction: column; gap: 5px; }
.cf-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* 姓・名の横並び */
.cf-name-wrap { gap: 5px; }
.cf-name-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cf-name-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

/* テキスト入力 */
.cf-input {
  width: 100%;
  background: rgba(234, 243, 239, 0.07);
  border: 1px solid rgba(234, 243, 239, 0.18);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: clamp(14px, 1.3vw, 15px);
  color: var(--d-text);
  transition: border-color 0.3s var(--easing), background 0.3s var(--easing), box-shadow 0.3s var(--easing);
  outline: none;
  box-sizing: border-box;
}
.cf-input::placeholder { color: rgba(234, 243, 239, 0.3); }
.cf-input:focus {
  border-color: var(--d-teal);
  background: rgba(95, 227, 196, 0.07);
  box-shadow: 0 0 0 3px rgba(95, 227, 196, 0.15);
}
.cf-input.is-error {
  border-color: #f87171;
  background: rgba(248, 113, 113, 0.06);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}
.cf-input.is-valid {
  border-color: var(--d-teal);
}

/* エラーメッセージ */
.cf-error {
  font-size: 12px;
  color: #f87171;
  min-height: 1.4em;
  display: block;
}

/* 同意チェックボックス行 */
.cf-agree-row {
  margin: clamp(20px, 2.5vw, 28px) 0 clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.cf-agree-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(13px, 1.2vw, 14.5px);
  color: rgba(234, 243, 239, 0.75);
  user-select: none;
}
.cf-checkbox-control {
  display: inline-flex;
  flex-shrink: 0;
  cursor: pointer;
}
.cf-agree-action { cursor: pointer; }
/* ネイティブcheckboxを非表示にしてカスタムに */
.cf-checkbox { position: absolute; opacity: 0; width: 0; height: 0; }
.cf-checkbox-custom {
  display: inline-flex;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1.5px solid rgba(234, 243, 239, 0.35);
  background: rgba(234, 243, 239, 0.06);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  position: relative;
}
.cf-checkbox:checked + .cf-checkbox-custom {
  background: var(--d-teal);
  border-color: var(--d-teal);
  box-shadow: 0 0 0 3px rgba(95, 227, 196, 0.2);
}
.cf-checkbox:checked + .cf-checkbox-custom::after {
  content: "";
  position: absolute;
  left: 5px; top: 2px;
  width: 6px; height: 10px;
  border: 2px solid var(--deep);
  border-top: none; border-left: none;
  transform: rotate(42deg);
}
.cf-checkbox.is-error + .cf-checkbox-custom {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}
.cf-agree-text { line-height: 1.6; }
.cf-privacy-link {
  color: var(--d-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cf-privacy-link:hover { opacity: 0.8; }
.cf-agree-error { font-size: 12px; color: #f87171; }

/* 送信ボタン */
.cf-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px 24px;
  border-radius: 100px;
  border: none;
  background: var(--d-teal);
  color: var(--deep);
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 0.3s var(--easing), box-shadow 0.3s var(--easing), background 0.3s var(--easing), opacity 0.3s;
  position: relative;
  overflow: hidden;
}
.cf-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--acid);
  transform: translateY(101%);
  transition: transform 0.45s var(--easing);
  z-index: 0;
}
.cf-submit:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(95, 227, 196, 0.35); }
.cf-submit:hover::before { transform: translateY(0); }
.cf-submit:disabled { opacity: 0.5; cursor: default; transform: none; box-shadow: none; }
.cf-submit-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.cf-submit-icon svg { width: 100%; height: 100%; }
.cf-submit-text { position: relative; z-index: 1; }
.cf-status {
  min-height: 1.6em;
  margin: 14px 0 0;
  color: #f87171;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}
.cf-status.is-success {
  color: var(--d-teal);
}

/* 送信完了メッセージ */
.cf-thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: clamp(32px, 4vw, 52px) 24px;
  text-align: center;
}
.cf-thanks[hidden] {
  display: none;
}
.cf-thanks-icon {
  display: inline-flex;
  width: 56px; height: 56px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(95, 227, 196, 0.15);
  border: 1.5px solid var(--d-teal);
  color: var(--d-teal);
}
.cf-thanks-icon svg { width: 28px; height: 28px; }
.cf-thanks-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--d-text);
  margin: 0;
}
.cf-thanks-body {
  font-size: clamp(13.5px, 1.3vw, 15px);
  color: var(--d-muted);
  line-height: 1.85;
  margin: 0;
}

/* レスポンシブ */
@media (max-width: 560px) {
  .cf-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .cf-label { padding-top: 0; }
}

/* ===== footer（bokeh暗背景に重なるダークテーマ）===== */
.site-footer {
  position: relative;
  z-index: 2;
  color: var(--paper);
  background: rgba(5, 10, 9, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.site-footer > * {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 60px);
  padding-right: clamp(20px, 5vw, 60px);
}
.footer-top {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding-top: clamp(50px, 8vw, 90px);
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(238, 247, 244, 0.16);
  flex-wrap: wrap;
}
.footer-logo {
  height: clamp(32px, 6vw, 60px);
  width: auto;
  object-fit: contain;
}
.footer-top p { color: rgba(238, 247, 244, 0.6); }
.footer-corp {
  padding: 28px 0 0;
  border-top: 1px solid rgba(238, 247, 244, 0.1);
  text-align: center;
}
.footer-corp-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(238, 247, 244, 0.65);
  letter-spacing: 0.06em;
  padding: 12px 28px;
  border: 1px solid rgba(238, 247, 244, 0.2);
  border-radius: 100px;
  background: rgba(238, 247, 244, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s;
}
.footer-corp-link:hover {
  color: var(--acid);
  border-color: rgba(223, 255, 82, 0.5);
  background: rgba(223, 255, 82, 0.08);
  transform: translateY(-2px);
}
.footer-corp-link svg {
  transition: transform 0.3s;
}
.footer-corp-link:hover svg {
  transform: translate(2px, -2px);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 40px;
  font-size: 13px;
  color: rgba(238, 247, 244, 0.5);
  font-family: var(--font-en);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== responsive ===== */
@media (min-width: 901px) and (max-width: 1100px) {
  .strength-title .u-nowrap {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .era-scene {
    min-height: auto;
    overflow: hidden;
  }
  .era-scene-sticky {
    position: relative;
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: clamp(54px, 12vw, 82px);
    padding-bottom: clamp(54px, 12vw, 82px);
  }
  .era-scene-copy {
    max-width: 680px;
    transform: none;
    opacity: 1;
  }
  .era-scene-copy h3 {
    font-size: clamp(27px, 8vw, 48px);
    line-height: 1.28;
  }
  .era-scene-visual {
    min-height: clamp(360px, 88vw, 620px);
    transform: none;
  }
  .era-scene-image {
    width: min(128vw, 760px);
    transform: translate(-50%, -50%);
    border-radius: 20px;
  }
  .journey-chip {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 12px;
  }
  .journey-chip--ad { left: 2%; top: 12%; }
  .journey-chip--search { right: 0; top: 20%; }
  .journey-chip--ai { left: 0; top: 45%; }
  .journey-chip--sns { right: 2%; top: 48%; }
  .journey-chip--review { left: 6%; bottom: 10%; }
  .journey-chip--lp { right: 6%; bottom: 8%; }
  .era-scene-result {
    margin: 0 auto clamp(52px, 12vw, 88px);
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .statement-cols { grid-template-columns: 1fr; gap: 30px; }
  .trouble-head,
  .strength-head,
  .scope > .scope-head,
  .flow .scope-head {
    grid-template-columns: 1fr;
  }
  .strength-head {
    grid-template-areas:
      "label"
      "title"
      "lead";
  }
  .trouble-title,
  .scope > .scope-head .scope-title,
  .flow .scope-head .scope-title,
  .trouble-head::after,
  .scope > .scope-head::after,
  .flow .scope-head::after {
    grid-column: 1;
    grid-row: auto;
  }
  .trouble-head::after,
  .scope > .scope-head::after,
  .flow .scope-head::after {
    text-align: left;
  }
  .stance-inner { grid-template-columns: 1fr; gap: 40px; }
  .stance-head { position: static; }
  .flow-list { grid-template-columns: repeat(2, 1fr); }
  .flow-step:nth-child(2) { border-right: 0; }
  .flow-step:nth-child(n + 3) { border-top: 1px solid rgba(234, 243, 239, 0.14); }
  .strength-card {
    grid-template-columns: clamp(56px, 12vw, 88px) 1fr;
  }
  .strength-card h3,
  .strength-sub,
  .strength-card p {
    grid-column: 2;
  }
  .strength-card p { grid-row: auto; margin-top: 14px; }
  .hero-meta--bl, .hero-meta--br { display: none; }
  .hero-marquee { bottom: 24px; }
  /* 比較カード：対比を縦積みにして読みやすく */
  .compare-card { grid-template-columns: 1fr; gap: 14px; }
  .compare-card-vs { grid-template-columns: 1fr; gap: 8px; }
  /* 概念図：横並び → 縦積み */
  .diagram-cols {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .diagram-shift {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }
  .shift-label {
    writing-mode: horizontal-tb;
    font-size: clamp(10px, 3vw, 13px);
  }
  .shift-arrow { font-size: 20px; }
  .touch-nodes { grid-template-columns: repeat(2, 1fr); }
  .diagram-stage { height: auto; }
}
@media (max-width: 560px) {
  .era {
    padding-left: clamp(18px, 6vw, 28px);
    padding-right: clamp(18px, 6vw, 28px);
  }
  .era-scene-sticky {
    max-width: 100vw;
    padding-left: clamp(18px, 5vw, 24px);
    padding-right: clamp(18px, 5vw, 24px);
  }
  .era-scene-copy p {
    line-height: 1.85;
  }
  .era-scene-visual {
    min-height: 440px;
    margin-left: -18px;
    margin-right: -18px;
  }
  .era-scene-image {
    width: 150vw;
    opacity: 0.82;
  }
  .journey-chip {
    max-width: calc(50vw - 18px);
    min-height: 34px;
    padding: 7px 10px;
    white-space: normal;
    line-height: 1.35;
  }
  .journey-chip::before {
    width: 7px;
    height: 7px;
    margin-right: 7px;
    flex: 0 0 auto;
  }
  .era-scene-result {
    max-width: calc(100vw - 36px);
    padding-left: 0;
    padding-right: 0;
  }
  .trouble-head::after,
  .scope > .scope-head::after,
  .flow .scope-head::after {
    font-size: 13px;
    white-space: normal;
  }
  .trouble-item {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: auto;
  }
  .trouble-item:hover { padding-left: 10px; }
  .trouble-mark { font-size: 12px; }
  .trouble-item p { font-size: clamp(17px, 5.2vw, 22px); }
  .strength::before { display: none; }
  .strength-head { gap: 22px; }
  .strength-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .strength-card h3,
  .strength-sub,
  .strength-card p {
    grid-column: 1;
  }
  .strength-sub { margin-top: 8px; }
  .flow-list { grid-template-columns: 1fr; }
  .flow-step,
  .flow-step:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-top: 1px solid rgba(234, 243, 239, 0.14);
  }
  .flow-step:first-child { border-top: 0; }
  .hero-meta--tr { display: none; }
  .footer-bottom { flex-direction: column; }
  .scope-item { grid-template-columns: auto 1fr; }
  .scope-arrow { display: none; }
  /* SP: 比較カードを縦積みに */
  .era-br { display: none; }
  .era-title .u-nowrap { white-space: normal; }
  /* SP: 概念図の結論ブロックを中央寄せ縦並びに */
  .diagram-result {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .funnel-step { padding: 7px 13px; }
  /* SP: 接点を1列に */
  .touch-nodes { grid-template-columns: repeat(2, 1fr); }
  .compare-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .compare-card-vs {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* SP: hero下部のテキストが隠れないようpaddingを調整 */
  .hero {
    padding-top: 100px;
    padding-bottom: 70px;
    justify-content: flex-end;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 100px clamp(20px, 5vw, 36px) 42px;
  }
  .hero::after {
    inset: auto 0 0;
    width: 100%;
    height: 58%;
    background: linear-gradient(180deg, rgba(5, 10, 9, 0), rgba(5, 10, 9, 0.9) 24%, rgba(5, 10, 9, 0.98) 100%);
  }
  .hero-display {
    top: clamp(104px, 13vh, 132px);
    left: clamp(20px, 5vw, 36px);
    width: calc(100vw - clamp(40px, 10vw, 72px));
    font-size: clamp(72px, 14vw, 112px);
    line-height: 0.84;
  }
  .hero-inner {
    padding-left: 0;
    max-width: 680px;
  }
  .hero-inner::before {
    width: min(100%, 620px);
  }
  .hero-title {
    max-width: 620px;
    font-size: clamp(36px, 7vw, 52px);
  }
  .hero-lead {
    max-width: 580px;
  }
  .hero-type-meta {
    display: none;
  }
}

@media (min-width: 901px) {
  .hero {
    padding: 0;
  }
  .hero::after {
    display: none;
  }
  .hero-display {
    inset: 0;
    width: 100%;
    font-size: clamp(112px, 12.2vw, 250px);
    line-height: 1;
    filter: none;
  }
  .hero-display-line {
    position: absolute;
    left: clamp(28px, 4vw, 82px);
    overflow: visible;
    padding: 0;
  }
  .hero-display-line:nth-child(1) {
    top: 10%;
  }
  .hero-display-line:nth-child(2) {
    top: 40%;
    transform: none;
  }
  .hero-display-line:nth-child(3) {
    top: 70%;
    bottom: auto;
  }
  .hero-meta--tl {
    top: 70px;
    left: clamp(28px, 4vw, 82px);
  }
  .hero-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
  }
  .hero-inner::before {
    position: absolute;
    top: 31%;
    left: 55%;
    width: 40%;
    margin: 0;
  }
  .hero-eyebrow,
  .hero-title,
  .hero-lead,
  .hero-actions {
    position: absolute;
    left: 55%;
    width: 40%;
    max-width: none;
    margin: 0;
  }
  .hero-eyebrow {
    top: 36%;
    width: auto;
    padding: 10px 14px;
    background: rgba(5, 10, 9, 0.66);
  }
  .hero-title {
    top: 46%;
    font-size: clamp(30px, 2.8vw, 54px);
    line-height: 1.22;
  }
  .hero-title .word.accent {
    text-shadow: none;
  }
  .hero-title .line {
    display: inline;
    overflow: visible;
  }
  .hero-title .line:first-child {
    margin-right: 0.24em;
  }
  .hero-lead {
    top: 58%;
    font-size: clamp(13px, 1.15vw, 18px);
    line-height: 1.8;
  }
  .hero-actions {
    right: clamp(46px, 5vw, 96px);
    bottom: 7%;
    left: auto;
    width: auto;
    justify-content: flex-end;
  }
  .hero-actions .btn {
    padding: 12px 20px;
    font-size: 13px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 100svh;
    padding: 92px 18px 28px;
  }
  .hero-meta--tl {
    top: 88px;
    left: 18px;
    font-size: 10px;
  }
  .hero-display {
    top: 120px;
    left: 18px;
    width: calc(100vw - 36px);
    font-size: clamp(62px, 18vw, 78px);
    line-height: 0.84;
  }
  .hero-inner::before {
    margin-bottom: 14px;
  }
  .hero-eyebrow {
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 1.65;
  }
  .hero-eyebrow-mark {
    margin-right: 8px;
    padding: 3px 8px;
    font-size: 10px;
  }
  .hero-title {
    max-width: 100%;
    margin-bottom: 16px;
    font-size: clamp(31px, 9.2vw, 40px);
    line-height: 1.2;
  }
  .hero-lead {
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.75;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero .btn {
    padding: 12px 18px;
    font-size: 13px;
  }
}

@media (max-width: 560px) and (max-height: 740px) {
  .hero-display {
    top: 110px;
    font-size: clamp(58px, 16vw, 70px);
  }
  .hero-eyebrow {
    margin-bottom: 8px;
  }
  .hero-title {
    margin-bottom: 10px;
    font-size: clamp(28px, 8vw, 34px);
  }
  .hero-lead {
    margin-bottom: 12px;
    font-size: 12px;
  }
}

/* 線画ストーリー版のレスポンシブ上書き */
@media (max-width: 900px) {
  .era-scene {
    min-height: 520vh;
    overflow-x: clip;
    overflow-y: visible;
  }
  .era-scene-sticky {
    position: sticky;
    top: 0;
    display: grid;
    grid-template-columns: 1fr;
    max-width: 100vw;
    height: 100svh;
    min-height: 0;
    gap: 32px;
    padding: clamp(58px, 12vw, 88px) clamp(20px, 5vw, 36px);
  }
  .era-scene.is-scene-fixed .era-scene-sticky,
  .era-scene.is-scene-after .era-scene-sticky {
    width: 100vw;
  }
  .era-scene-title {
    font-size: clamp(34px, 9vw, 58px);
    line-height: 1.18;
  }
  .era-scene-lead {
    max-width: 680px;
  }
  .era-scene-visual {
    height: min(clamp(420px, 68svh, 720px), calc(100svh - clamp(220px, 32vw, 300px)));
    min-height: 0;
    transform: none;
  }
  .line-story {
    width: min(122vw, 820px);
  }
  .line-story-image {
    width: min(128vw, 860px);
  }
  .story-layer-scene {
    width: min(124vw, 860px);
  }
  .storyboard-scenes {
    width: min(72vw, 520px);
    aspect-ratio: 360 / 280;
  }
  .story-art--person { width: 34%; left: 45%; top: 38%; }
  .story-art--ad { width: 45%; left: -2%; top: 8%; }
  .story-art--search { width: 44%; left: 0; top: 39%; }
  .story-art--ai { width: 45%; right: 0; top: 13%; }
  .story-art--sns { width: 42%; right: -2%; top: 43%; }
  .story-art--review { width: 46%; left: -2%; bottom: 9%; }
  .story-art--lp { width: 44%; right: -1%; bottom: 4%; }
  .era-scene-bgword {
    font-size: clamp(58px, 16vw, 110px);
  }
  .story-label {
    font-size: 12px;
    max-width: min(260px, 54vw);
    white-space: normal;
  }
  .story-label--ad { left: 2%; top: 10%; }
  .story-label--search { left: auto; right: 0; top: 15%; }
  .story-label--ai { left: 2%; right: auto; top: 42%; }
  .story-label--sns { right: 0; bottom: 30%; }
  .story-label--review { left: 4%; bottom: 13%; }
  .story-label--lp { right: 4%; bottom: 6%; }
  .era-scene-result {
    max-width: calc(100vw - 40px);
    margin: 0 auto clamp(64px, 12vw, 96px);
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .era-scene {
    margin-top: 58px;
    min-height: 620vh;
    background:
      linear-gradient(180deg, rgba(4, 11, 10, 0.96), rgba(4, 11, 10, 0.94) 68%, rgba(4, 11, 10, 0.98)),
      radial-gradient(120% 80% at 70% 42%, rgba(95, 227, 196, 0.12), transparent 62%);
  }
  .era-scene-sticky {
    height: 100svh;
    min-height: 0;
    grid-template-rows: auto 1fr;
    gap: 14px;
    align-items: stretch;
    padding: 92px 18px 18px;
    overflow: hidden;
  }
  .era-scene-copy {
    z-index: 12;
    padding: 0 0 14px;
    background:
      linear-gradient(180deg, rgba(4, 11, 10, 0.96) 0%, rgba(4, 11, 10, 0.88) 76%, rgba(4, 11, 10, 0) 100%);
  }
  .era-scene-kicker {
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }
  .era-scene-title {
    font-size: clamp(24px, 7.4vw, 32px);
    line-height: 1.36;
    letter-spacing: 0.01em;
    max-width: 100%;
    transition: none;
  }
  .era-scene-leads {
    margin-top: 14px;
  }
  .era-scene-lead {
    font-size: 13.5px;
    line-height: 1.85;
    color: rgba(234, 243, 239, 0.72);
    transition: none;
  }
  .era-scene-visual {
    min-height: 0;
    height: min(54svh, 500px);
    margin-left: -18px;
    margin-right: -18px;
    align-self: end;
    transform: none;
  }
  .line-story {
    width: 150vw;
    transform:
      translate(-50%, -50%)
      scale(calc(0.82 + var(--scene-progress) * 0.16))
      rotate(calc(-3deg + var(--scene-progress) * 3deg));
  }
  .line-story-image {
    width: 156vw;
    border-radius: 20px;
    transform:
      translate(-50%, -50%)
      scale(calc(0.84 + var(--scene-progress) * 0.14))
      rotate(calc(-2deg + var(--scene-progress) * 2deg));
  }
  .story-layer-scene {
    width: 130vw;
    transform:
      translate(-50%, -50%)
      scale(calc(0.86 + var(--scene-progress) * 0.12));
  }
  .storyboard-scenes {
    width: 68vw;
    aspect-ratio: 360 / 280;
    transform:
      translate(-50%, -108%)
      scale(calc(0.92 + var(--scene-progress) * 0.06));
  }
  .storyboard-copy {
    top: 10px;
    bottom: auto;
    width: calc(100vw - 36px);
  }
  .storyboard-step {
    padding: 12px 14px 13px;
    border-radius: 14px;
    background:
      linear-gradient(135deg, rgba(8, 22, 18, 0.92), rgba(6, 15, 13, 0.78));
  }
  .storyboard-step span {
    font-size: 10px;
    margin-bottom: 3px;
  }
  .storyboard-step strong {
    font-size: 16px;
    line-height: 1.42;
  }
  .storyboard-step p {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.55;
  }
  .storyboard-scene {
    object-fit: contain;
    object-position: center;
    filter:
      drop-shadow(0 0 12px rgba(95, 227, 196, 0.2))
      drop-shadow(0 20px 44px rgba(0, 0, 0, 0.36));
  }
  .story-layer-scene::before {
    inset: 20% 16% 12%;
  }
  .story-art {
    mask-image: radial-gradient(ellipse at center, #000 0 58%, rgba(0,0,0,0.68) 76%, transparent 100%);
  }
  .story-art--person { width: 38%; left: 40%; top: 36%; }
  .story-art--ad { width: 48%; left: -4%; top: 13%; }
  .story-art--search { width: 48%; left: -8%; top: 38%; }
  .story-art--ai { width: 48%; right: -8%; top: 16%; }
  .story-art--sns { width: 46%; right: -7%; top: 43%; }
  .story-art--review { width: 50%; left: -8%; bottom: 10%; }
  .story-art--lp { width: 48%; right: -9%; bottom: 7%; }
  .story-label {
    min-height: 34px;
    padding: 7px 10px 8px;
    gap: 8px;
    max-width: 43vw;
    font-size: 11px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34), inset 0 0 18px rgba(95, 227, 196, 0.1);
  }
  .story-label--search,
  .story-label--sns,
  .story-label--lp {
    right: 72px;
  }
  .story-label--ad,
  .story-label--ai,
  .story-label--review {
    left: 8px;
  }
  .era-scene-result {
    max-width: calc(100vw - 36px);
    margin-top: 0;
    padding-top: 26px;
    padding-bottom: 26px;
    background: rgba(4, 11, 10, 0.92);
  }
  .era-scene-result-text {
    font-size: clamp(19px, 6vw, 26px);
  }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .hero-title .word { transform: none; }
  [data-reveal] { opacity: 1; transform: none; }
  [data-split] .char { opacity: 1; transform: none; }
  [data-parallax] { transform: none !important; }
  .statement-body [data-reveal] { transition-delay: 0s; }
  .era-scene {
    min-height: auto;
  }
  .era-scene-sticky {
    position: relative;
  }
  .story-person,
  .story-phone,
  .story-panel,
  .story-flow .flow-path,
  .story-label,
  .line-story-image,
  .era-scene-title--06 {
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
}

/* =========================================================
   下層ページ（サービス詳細）— 月額定額制 運用・コンサル
   本サイトのダーク没入トーンに合わせた専用スタイル
   ========================================================= */

/* bokehキャンバスを持たない下層ページ用の自前背景 */
.subpage {
  background:
    radial-gradient(ellipse at 78% -5%, rgba(95, 227, 196, 0.10) 0%, rgba(5, 10, 9, 0) 48%),
    radial-gradient(ellipse at 12% 40%, rgba(223, 255, 82, 0.06) 0%, rgba(5, 10, 9, 0) 42%),
    radial-gradient(ellipse at 50% 30%, #0e1a18 0%, #060c0a 55%, #020604 100%);
  background-attachment: fixed;
}
.subpage .content-flow { position: relative; z-index: 2; }

/* ダーク背景向けの明るいアウトラインボタン */
.btn--ghost-light {
  border: 1px solid rgba(234, 243, 239, 0.34);
  color: var(--d-text);
}
.btn--ghost-light::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--easing);
  z-index: 1;
}
.btn--ghost-light:hover { color: var(--ink); border-color: transparent; transform: translateY(-3px); }
.btn--ghost-light:hover::before { transform: scaleX(1); }

/* ---- セクション共通のラッパ ---- */
.plan-hero,
.plan-problem,
.plan-solution,
.plan-included,
.plan-flow,
.plan-cta {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 60px);
  padding-right: clamp(20px, 5vw, 60px);
}
.plan-sec-head { margin-bottom: clamp(36px, 5vw, 56px); }
.plan-sec-title {
  font-size: clamp(28px, 5.2vw, 52px);
  line-height: 1.32;
  color: var(--d-text);
}
.pc-br { display: none; }

/* ===== FV ===== */
.plan-hero {
  min-height: 82vh;
  display: flex;
  align-items: center;
  padding-top: clamp(130px, 18vh, 200px);
  padding-bottom: clamp(70px, 10vw, 120px);
}
.plan-hero-inner { max-width: 900px; }
.plan-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--d-muted);
  margin-bottom: 34px;
}
.plan-breadcrumb a { transition: color 0.25s; }
.plan-breadcrumb a:hover { color: var(--d-teal); }
.plan-breadcrumb [aria-current] { color: var(--d-text); }
.plan-breadcrumb span[aria-hidden] { opacity: 0.4; }

.plan-badge {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--acid);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 26px;
}
.plan-hero-title {
  font-size: clamp(38px, 8vw, 88px);
  line-height: 1.16;
  letter-spacing: 0.02em;
  color: var(--d-text);
  margin-bottom: 30px;
}
.plan-hero-lead {
  font-size: clamp(15px, 2.1vw, 20px);
  line-height: 2;
  color: var(--d-muted);
  max-width: 640px;
  margin-bottom: 42px;
}
.plan-hero-lead strong { color: var(--d-text); font-weight: 700; }
.plan-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== 問題提起 ===== */
.plan-problem { padding-top: clamp(60px, 9vw, 120px); }
.plan-problem-lead {
  font-size: clamp(15px, 2vw, 19px);
  line-height: 2;
  color: var(--d-muted);
  max-width: 720px;
  margin-bottom: clamp(34px, 5vw, 52px);
}
.plan-problem-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plan-problem-card {
  position: relative;
  padding: 34px 30px 32px;
  border: 1px solid var(--d-line);
  border-radius: 18px;
  background: var(--d-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}
.plan-problem-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, rgba(223, 255, 82, 0.9), rgba(223, 255, 82, 0));
}
/* 問題提起カードのイラスト（ミント線・透過PNG／手描き線画・右上に配置） */
.pp-illust {
  position: absolute;
  top: 16px;
  right: 12px;
  width: clamp(76px, 8.5vw, 100px);
  height: auto;
  pointer-events: none;
  opacity: 0.95;
  filter: drop-shadow(0 3px 12px rgba(95, 227, 196, 0.22));
}
.pp-num {
  display: block;
  font-family: var(--font-en);
  font-size: 34px;
  font-weight: 700;
  color: rgba(223, 255, 82, 0.55);
  line-height: 1;
  margin-bottom: 18px;
}
/* イラストと重ならないよう、見出しの右側に余白を確保 */
.plan-problem-card h3 {
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.5;
  color: var(--d-text);
  margin-bottom: 14px;
  /* イラストと重ならないよう右側に余白を確保 */
  padding-right: 92px;
  min-height: 54px;
}
.plan-problem-card p {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--d-muted);
}
.plan-problem-card p strong { color: var(--d-text); font-weight: 700; }
.plan-problem-bridge {
  margin-top: clamp(38px, 5vw, 56px);
  font-size: clamp(17px, 2.6vw, 24px);
  line-height: 1.85;
  font-weight: 700;
  color: var(--d-text);
  text-align: center;
}

/* ===== 解決策 / 定額制 ===== */
.plan-solution {
  padding-top: clamp(80px, 11vw, 150px);
  padding-bottom: clamp(20px, 4vw, 40px);
  text-align: center;
}
.plan-solution .plan-sec-head { margin-bottom: clamp(44px, 6vw, 64px); }
.plan-solution-lead {
  font-size: clamp(15px, 2vw, 19px);
  line-height: 2;
  color: var(--d-muted);
  max-width: 720px;
  margin: 22px auto 0;
}
.plan-solution-lead strong { color: var(--acid); font-weight: 700; }

/* Before / After */
.plan-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
}
.plan-compare-card {
  padding: 32px 30px;
  border-radius: 18px;
  border: 1px solid var(--d-line);
}
.plan-compare-before {
  background: rgba(18, 30, 27, 0.4);
}
.plan-compare-after {
  background: rgba(95, 227, 196, 0.07);
  border-color: rgba(95, 227, 196, 0.4);
  box-shadow: 0 0 40px rgba(95, 227, 196, 0.08);
}
.pc-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.pc-tag--before { color: var(--d-muted); background: rgba(234, 243, 239, 0.08); }
.pc-tag--after { color: var(--ink); background: var(--d-teal); }
.pc-list { list-style: none; margin: 0; padding: 0; }
.pc-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--d-text);
  padding: 11px 0;
  border-bottom: 1px solid var(--d-line);
}
.pc-list li:last-child { border-bottom: none; }
.plan-compare-before .pc-list li { color: var(--d-muted); }
.pc-list li strong { color: var(--acid); font-weight: 700; }
.pc-x, .pc-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}
.pc-x { background: rgba(234, 243, 239, 0.1); color: var(--d-muted); }
.pc-check { background: var(--d-teal); color: var(--ink); }
.plan-compare-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--acid);
}
.plan-compare-arrow svg { width: 40px; height: 24px; }

/* ===== 作り放題の中身 ===== */
.plan-included { padding-top: clamp(80px, 11vw, 150px); }
.plan-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.plan-feature-card {
  display: flex;
  flex-direction: column;
  padding: 34px 32px;
  border: 1px solid var(--d-line);
  border-radius: 18px;
  background: var(--d-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s var(--easing), border-color 0.4s, background 0.4s;
}
.plan-feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(95, 227, 196, 0.4);
  background: rgba(95, 227, 196, 0.06);
}
.pf-icon {
  width: 52px; height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(223, 255, 82, 0.12);
  color: var(--acid);
  margin-bottom: 22px;
}
.pf-icon svg { width: 26px; height: 26px; }
.plan-feature-card h3 {
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--d-text);
  margin-bottom: 12px;
}
.plan-feature-card p {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--d-muted);
}
.plan-included-note {
  margin-top: 28px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--d-muted);
  text-align: center;
}

/* ===== 進め方 ===== */
.plan-flow { padding-top: clamp(80px, 11vw, 150px); }
.plan-flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: plan-step;
}
.plan-flow-step {
  position: relative;
  padding: 30px 26px 32px;
  border: 1px solid var(--d-line);
  border-radius: 16px;
  background: var(--d-glass);
}
.plan-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%; right: -13px;
  width: 8px; height: 8px;
  border-top: 2px solid rgba(95, 227, 196, 0.6);
  border-right: 2px solid rgba(95, 227, 196, 0.6);
  transform: translateY(-50%) rotate(45deg);
}
.pfl-no {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--d-teal);
  margin-bottom: 14px;
}
.plan-flow-step h3 {
  font-size: 17px;
  line-height: 1.5;
  color: var(--d-text);
  margin-bottom: 10px;
}
.plan-flow-step p {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--d-muted);
}

/* ===== CTA ===== */
.plan-cta {
  padding-top: clamp(90px, 12vw, 170px);
  padding-bottom: clamp(90px, 12vw, 170px);
  text-align: center;
}
.plan-cta-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 76px) clamp(28px, 5vw, 60px);
  border-radius: 26px;
  border: 1px solid rgba(95, 227, 196, 0.28);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(95, 227, 196, 0.12) 0%, rgba(5, 10, 9, 0) 60%),
    var(--d-glass-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.plan-cta-title {
  font-size: clamp(26px, 4.6vw, 46px);
  line-height: 1.3;
  color: var(--d-text);
  margin-bottom: 24px;
}
.plan-cta-lead {
  font-size: clamp(14px, 1.9vw, 17px);
  line-height: 1.95;
  color: var(--d-muted);
  margin-bottom: 40px;
}
.plan-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== 料金プラン（note記事制作代行など） ===== */
.note-plans {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 11vw, 150px) clamp(20px, 5vw, 60px) 0;
  text-align: center;
}
.note-plans-lead {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 2;
  color: var(--d-muted);
  max-width: 640px;
  margin: 20px auto 0;
}
.note-plans-lead strong { color: var(--acid); font-weight: 700; }
.note-plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
  text-align: left;
}
.note-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px 32px 36px;
  border: 1px solid var(--d-line);
  border-radius: 20px;
  background: var(--d-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s var(--easing), border-color 0.4s;
}
.note-plan-card:hover { transform: translateY(-6px); border-color: rgba(95, 227, 196, 0.4); }
/* 人気プラン（中央）を強調 */
.note-plan-card--feature {
  border-color: rgba(95, 227, 196, 0.5);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(95, 227, 196, 0.14) 0%, rgba(5, 10, 9, 0) 62%),
    var(--d-glass-strong);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(95, 227, 196, 0.1);
}
.np-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: var(--acid);
  padding: 5px 20px;
  border-radius: 100px;
  white-space: nowrap;
}
.np-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--d-teal);
  border: 1px solid rgba(95, 227, 196, 0.4);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.np-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.np-price-num {
  font-family: var(--font-en);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: var(--d-text);
}
.np-price-unit {
  font-family: var(--font-ja);
  font-size: 18px;
  font-weight: 700;
  margin-left: 2px;
}
.np-price-term { font-size: 13px; color: var(--d-muted); }
.np-count {
  margin: 12px 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--d-line);
}
.np-count-num {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: var(--acid);
  letter-spacing: 0.04em;
}
.np-feature { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.np-feature li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--d-text);
  padding: 8px 0;
}
.np-check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--d-teal);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}
.np-note {
  font-size: 13px;
  line-height: 1.75;
  color: var(--d-muted);
  margin-bottom: 24px;
}
.np-btn { width: 100%; }
.note-plans-foot {
  margin-top: 30px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--d-muted);
  text-align: center;
}

/* ===== 下層ページ レスポンシブ ===== */
@media (max-width: 900px) {
  .plan-problem-list { grid-template-columns: 1fr; }
  .plan-flow-list { grid-template-columns: repeat(2, 1fr); }
  .plan-flow-step:not(:last-child)::after { display: none; }
  /* 1カラム時：イラストを少し大きめに、見出し余白を拡張 */
  .pp-illust { width: clamp(96px, 20vw, 120px); top: 18px; right: 18px; }
  .plan-problem-card h3 { padding-right: 118px; }
  /* 料金プラン：1カラムに縦積み。人気プランを先頭へ */
  .note-plan-list { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; gap: 28px; }
  .note-plan-card--feature { order: -1; }
}
@media (max-width: 640px) {
  .pc-br { display: inline; }
  .plan-hero { min-height: 76vh; }
  .plan-hero-actions .btn,
  .plan-cta-actions .btn { width: 100%; }
  .plan-feature-list { grid-template-columns: 1fr; }
  .plan-compare { grid-template-columns: 1fr; }
  .plan-compare-arrow { transform: rotate(90deg); padding: 4px 0; }
}

/* ===== thanks page ===== */
.thanks-page {
  min-height: 100svh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 40%, rgba(10, 79, 67, 0.32), transparent 34%),
    radial-gradient(circle at 18% 78%, rgba(223, 255, 82, 0.08), transparent 30%),
    #030807;
  color: var(--d-text);
}
.thanks-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(95, 227, 196, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 227, 196, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 60% 45%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 60% 45%, #000, transparent 78%);
  pointer-events: none;
}
.thanks-particle-field {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.thanks-particle-field span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--color);
  box-shadow: 0 0 14px 3px color-mix(in srgb, var(--color) 56%, transparent);
  opacity: var(--opacity);
  animation: thanks-particle-float var(--duration) ease-in-out var(--delay) infinite alternate;
}
@keyframes thanks-particle-float {
  from { transform: translate3d(-8px, 10px, 0) scale(0.78); }
  to { transform: translate3d(12px, -16px, 0) scale(1.12); }
}
.thanks-header {
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  height: 104px;
  padding: 0 clamp(24px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(234, 243, 239, 0.11);
  background: rgba(3, 8, 7, 0.48);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.thanks-header a { display: inline-flex; }
.thanks-logo {
  width: auto;
  height: 38px;
  object-fit: contain;
}
.thanks-header-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--d-teal);
}
.thanks-main {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 74px);
  padding: 144px clamp(24px, 4vw, 64px) 74px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.thanks-display {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  font-family: "Inter", var(--font-en);
  font-size: clamp(112px, 15vw, 250px);
  font-weight: 300;
  line-height: 0.82;
  letter-spacing: 0;
  color: rgba(234, 243, 239, 0.92);
  white-space: nowrap;
}
.thanks-display > span:last-child { margin-left: clamp(24px, 5vw, 80px); }
.thanks-display-dot { color: var(--acid); }
.thanks-content {
  position: relative;
  z-index: 3;
  max-width: 560px;
  padding-top: 22px;
}
.thanks-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--acid);
}
.thanks-kicker span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 18px 5px rgba(223, 255, 82, 0.38);
}
.thanks-content h1 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 66px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.03em;
  color: var(--d-text);
}
.thanks-lead {
  margin-top: 30px;
  max-width: 500px;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 2;
  color: var(--d-muted);
}
.thanks-status {
  margin-top: 40px;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(234, 243, 239, 0.16);
  border-bottom: 1px solid rgba(234, 243, 239, 0.16);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--d-muted);
}
.thanks-status strong {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--d-teal);
  font-weight: 600;
}
.thanks-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--d-teal);
  box-shadow: 0 0 12px rgba(95, 227, 196, 0.7);
}
.thanks-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.thanks-btn {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(234, 243, 239, 0.25);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.3s var(--easing), color 0.3s, background 0.3s, border-color 0.3s;
}
.thanks-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.thanks-btn:hover { transform: translateY(-2px); }
.thanks-btn--primary {
  background: var(--acid);
  border-color: var(--acid);
  color: var(--ink);
}
.thanks-btn--secondary {
  background: rgba(234, 243, 239, 0.05);
  color: var(--d-text);
}
.thanks-btn--secondary:hover {
  border-color: var(--d-teal);
  color: var(--d-teal);
}
.thanks-footer {
  position: relative;
  z-index: 3;
  min-height: 74px;
  padding: 0 clamp(24px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(234, 243, 239, 0.11);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(234, 243, 239, 0.42);
}
@media (max-width: 900px) {
  .thanks-header { height: 82px; }
  .thanks-logo { height: 30px; }
  .thanks-main {
    min-height: calc(100svh - 64px);
    padding-top: 128px;
    grid-template-columns: 1fr;
    gap: 28px;
    align-content: center;
  }
  .thanks-display {
    position: absolute;
    top: 104px;
    left: 18px;
    font-size: clamp(76px, 24vw, 130px);
    color: rgba(234, 243, 239, 0.055);
    pointer-events: none;
  }
  .thanks-display > span:last-child { margin-left: 18px; }
  .thanks-content {
    max-width: 620px;
    padding-top: 50px;
  }
}
@media (max-width: 560px) {
  .thanks-header { padding: 0 20px; }
  .thanks-header-label { font-size: 9px; letter-spacing: 0.14em; }
  .thanks-main { padding: 116px 20px 54px; }
  .thanks-content { padding-top: 40px; }
  .thanks-kicker { margin-bottom: 24px; }
  .thanks-content h1 { font-size: clamp(29px, 8.1vw, 38px); }
  .thanks-lead { margin-top: 24px; }
  .thanks-status { margin-top: 30px; }
  .thanks-actions { flex-direction: column; }
  .thanks-btn { width: 100%; }
  .thanks-footer {
    min-height: 64px;
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .thanks-particle-field span { animation: none; }
}
