/* ============================================
   ツキワッカ / CxO PLAY! イベント開催代行 提案スライド
   ブランド6色のみ: #5fab8d / #ebe3a5 / #000000 / #ffffff / #cdcdcd / #a6876b
   ============================================ */

:root {
  --green: #5fab8d;
  --green-dk: #3d7d63;
  --green-bg: #edf5f1;
  --green-line: #c4dfd2;
  --cream: #ebe3a5;
  --cream-bg: #faf7e5;
  --cream-line: #e2d894;
  --brown: #a6876b;
  --brown-dk: #7c6349;
  --brown-bg: #f6f0ea;
  --gray: #cdcdcd;
  --gray-bg: #f2f2f0;
  --black: #000000;
  --ink: #1e1f1e;
  --sub: #6b6b64;
  --faint: #9c9c93;
  --bg-dark: #0a0b0a;
  --font: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
  --hud: rgba(235, 227, 165, 0.6);
  --hud-line: rgba(235, 227, 165, 0.45);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--ink);
  overflow: hidden;
  height: 100dvh;
  width: 100vw;
}

/* スキャンライン */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 2;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(235,227,165,0.012) 2px, rgba(235,227,165,0.012) 4px);
}
/* 左上コーナー */
body::before {
  content: ''; position: fixed; top: 16px; left: 16px; width: 40px; height: 40px;
  border-top: 2px solid var(--hud-line); border-left: 2px solid var(--hud-line);
  z-index: 10000; pointer-events: none;
}

/* --- スクロールコンテナ --- */
.scroll-container {
  display: flex; height: 100dvh;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  position: relative; z-index: 1;
}
.scroll-container::-webkit-scrollbar { display: none; }

.slide {
  flex: 0 0 100vw; height: 100dvh; scroll-snap-align: center;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.slide-inner {
  width: min(92vw, 78vh * 16 / 9);
  aspect-ratio: 16 / 9;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 44px 56px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  overflow: hidden;
}

/* --- ダーク --- */
.slide-inner.dark {
  background: rgba(12, 14, 13, 0.92);
  border-color: rgba(255,255,255,0.08);
  color: #f4f2ea;
}
.slide-inner.dark-transparent { background: transparent; border-color: transparent; box-shadow: none; }
.slide-inner.dark .slide-title { color: #ffffff; }
.slide-inner.dark .slide-logo { filter: brightness(0) invert(1); }
.slide-inner.dark .slide-number { color: rgba(255,255,255,0.3); }
.slide-inner.dark .slide-divider { background: linear-gradient(90deg, var(--cream), transparent); }

/* --- 色帯 --- */
.slide-inner.accent-left::before {
  content: ''; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--green);
}
.slide-inner.accent-left-brown::before {
  content: ''; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--brown);
}

/* --- タイトル・リード --- */
.slide-title {
  font-size: 36px; font-weight: 700; color: var(--black);
  margin-bottom: 8px; line-height: 1.4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.slide-title .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; margin-right: 12px; vertical-align: 4px;
  background: var(--green); color: var(--black); font-size: 18px; font-weight: 700;
}
.slide-divider {
  width: 100%; height: 2px; border: none;
  background: linear-gradient(90deg, var(--green), transparent); margin-bottom: 16px;
}
.slide-lead { font-size: 20px; color: var(--sub); line-height: 1.5; margin-bottom: 18px; }
.slide-lead b { color: var(--green-dk); }
.slide-takeaway {
  font-size: 21px; font-weight: 700; color: var(--black);
  margin-top: 16px; padding: 12px 20px;
  border-left: 5px solid var(--green); background: var(--cream-bg);
}
.slide-number {
  position: absolute; bottom: 16px; right: 24px;
  font-size: 16px; color: var(--faint); font-variant-numeric: tabular-nums;
}
.slide-logo { position: absolute; top: 20px; right: 24px; height: 22px; opacity: 0.75; z-index: 10; }
.footnote { font-size: 16px; color: var(--faint); margin-top: 12px; line-height: 1.5; }

/* --- 大型タイポ --- */
.phrase-slide { justify-content: center; align-items: center; text-align: center; }
.phrase-main { font-size: 48px; font-weight: 700; color: var(--black); line-height: 1.6; }
.phrase-main .highlight { color: var(--green); }
.phrase-main-hero { font-size: 60px; line-height: 1.35; letter-spacing: -1px; color: #ffffff; }
.phrase-main-hero .highlight { display: block; font-size: 80px; margin-top: 10px; color: var(--cream); }
.phrase-sub { font-size: 20px; color: var(--sub); margin-top: 24px; line-height: 1.7; }
.slide-inner.dark .phrase-main { color: #ffffff; }
.slide-inner.dark .phrase-main .highlight { color: var(--cream); }
.slide-inner.dark .phrase-sub { color: rgba(255,255,255,0.6); }
.eyebrow {
  font-family: 'Courier New', monospace; font-size: 16px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--cream); margin-bottom: 22px;
}
.section-break { text-align: center; }
.section-break-main { font-size: 46px; font-weight: 700; color: #ffffff; line-height: 1.6; }
.section-break-main .highlight { color: var(--cream); }
.section-break-sub { font-size: 20px; color: rgba(255,255,255,0.55); margin-top: 22px; }

/* --- Lucide --- */
.lucide-icon { width: 40px; height: 40px; color: var(--green-dk); stroke-width: 1.5; }
.lucide-icon-inline { width: 24px; height: 24px; color: var(--green-dk); stroke-width: 1.8; vertical-align: text-bottom; }
.lucide-arrow { width: 28px; height: 28px; color: var(--green); flex-shrink: 0; }
.lucide-arrow-cream { width: 32px; height: 32px; color: var(--cream); flex-shrink: 0; }

/* --- カード --- */
.cards { display: flex; gap: 16px; align-items: stretch; }
.card {
  flex: 1; background: var(--gray-bg); padding: 22px 20px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border: 2px solid transparent;
}
.card.green { background: var(--green-bg); border-color: var(--green-line); }
.card.cream { background: var(--cream-bg); border-color: var(--cream-line); }
.card.brown { background: var(--brown-bg); border-color: #ddc8b3; }
.card.black { background: var(--black); color: #fff; }
.card.black .card-label { color: var(--cream); }
.card.black .card-desc { color: rgba(255,255,255,0.85); }
.card.black .lucide-icon { color: var(--cream); }
.card-icon { margin-bottom: 10px; }
.card-label { font-size: 23px; font-weight: 700; color: var(--black); margin-bottom: 8px; white-space: nowrap; }
.card-desc { font-size: 18px; color: var(--ink); line-height: 1.6; }
.card-sub { font-size: 16px; color: var(--sub); line-height: 1.6; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(0,0,0,0.08); width: 100%; }
.card-stat { font-size: 40px; font-weight: 700; color: var(--green-dk); line-height: 1.1; margin: 6px 0 4px; }
.card-arrow { display: flex; align-items: center; flex-shrink: 0; }

/* --- ペルソナ帯 --- */
.persona-strip { display: flex; gap: 12px; margin-bottom: 18px; }
.persona {
  flex: 1; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--cream-bg); border: 1px solid var(--cream-line);
  font-size: 18px; font-weight: 700; color: var(--black);
}
.persona span { font-size: 16px; font-weight: 400; color: var(--sub); display: block; }

/* --- 吹き出し（あるある） --- */
.pains { display: flex; flex-direction: column; gap: 12px; }
.pain {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px; background: var(--gray-bg); border-left: 5px solid var(--gray);
  font-size: 21px; color: var(--ink); line-height: 1.5;
}
.pain b { color: var(--black); }
.pain .who { flex: 0 0 auto; font-size: 16px; color: var(--sub); background: #fff; padding: 4px 10px; border: 1px solid var(--gray); white-space: nowrap; }

/* --- タイムライン --- */
.timeline { display: flex; align-items: flex-end; gap: 0; margin: 12px 0 18px; }
.tl-block { flex: 1; text-align: center; padding: 0 4px; }
.tl-bar { height: 14px; background: var(--green); margin-bottom: 8px; }
.tl-block.hot .tl-bar { background: var(--green); }
.tl-block.day .tl-bar { background: var(--black); }
.tl-block.after .tl-bar { background: var(--brown); }
.tl-label { font-size: 17px; font-weight: 700; color: var(--black); white-space: nowrap; }
.tl-sub { font-size: 16px; color: var(--sub); white-space: nowrap; }
.tl-block.wide { flex: 3; }

/* --- 数値タイル --- */
.stats { display: flex; gap: 16px; }
.stat { flex: 1; padding: 22px 20px; background: var(--green-bg); border-top: 5px solid var(--green); }
.stat.dark { background: var(--black); color: #fff; border-top-color: var(--cream); }
.stat.brown { background: var(--brown-bg); border-top-color: var(--brown); }
.stat.cream { background: var(--cream-bg); border-top-color: var(--cream); }
.stat-num { font-size: 52px; font-weight: 700; line-height: 1.1; color: var(--green-dk); letter-spacing: -1px; }
.stat.dark .stat-num { color: var(--cream); }
.stat.brown .stat-num { color: var(--brown-dk); }
.stat.cream .stat-num { color: var(--black); }
.stat-num small { font-size: 22px; font-weight: 700; margin-left: 4px; }
.stat-label { font-size: 19px; font-weight: 700; color: var(--black); margin-top: 8px; }
.stat.dark .stat-label { color: #fff; }
.stat-desc { font-size: 16px; color: var(--sub); line-height: 1.55; margin-top: 6px; }
.stat.dark .stat-desc { color: rgba(255,255,255,0.7); }

/* --- Before / After --- */
.compare { display: flex; gap: 20px; align-items: stretch; }
.compare-col { flex: 1; padding: 22px 26px; display: flex; flex-direction: column; gap: 8px; }
.compare-col.before { background: var(--gray-bg); }
.compare-col.after { background: var(--green-bg); border: 2px solid var(--green-line); }
.compare-label { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.compare-col.before .compare-label { color: var(--sub); }
.compare-col.after .compare-label { color: var(--green-dk); }
.compare-item { font-size: 19px; color: var(--ink); padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.06); line-height: 1.5; display: flex; gap: 10px; align-items: flex-start; }
.compare-item:last-child { border-bottom: none; }
.compare-item i { width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; color: var(--green-dk); }
.compare-col.before .compare-item i { color: var(--faint); }
.compare-arrow { display: flex; align-items: center; flex-shrink: 0; }

/* --- 横フロー（ステップ） --- */
.steps-horizontal { display: flex; align-items: center; gap: 6px; }
.step-card {
  flex: 1; background: var(--green-bg); border: 1px solid var(--green-line);
  padding: 18px 14px; text-align: center; min-width: 0;
}
.step-card.cream { background: var(--cream-bg); border-color: var(--cream-line); }
.step-card.brown { background: var(--brown-bg); border-color: #ddc8b3; }
.step-card.black { background: var(--black); border-color: var(--black); color: #fff; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%; margin: 0 auto 8px;
  background: var(--green); color: var(--black);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px;
}
.step-card.black .step-num { background: var(--cream); }
.step-title { font-size: 19px; font-weight: 700; color: var(--black); white-space: nowrap; }
.step-card.black .step-title { color: #fff; }
.step-desc { font-size: 16px; color: var(--sub); line-height: 1.5; margin-top: 6px; white-space: nowrap; }
.step-card.black .step-desc { color: rgba(255,255,255,0.7); }
.step-when { font-size: 16px; font-weight: 700; color: var(--green-dk); margin-bottom: 4px; letter-spacing: 1px; }
.step-card.black .step-when { color: var(--cream); }

/* --- サイクル図（ナーチャリング） --- */
.cycle { display: flex; align-items: center; gap: 4px; margin: 4px 0 18px; }
.cycle .lucide-arrow { width: 22px; height: 22px; }
.cycle-node {
  flex: 1; min-width: 0; text-align: center; padding: 14px 6px;
  background: var(--green-bg); border: 2px solid var(--green-line);
}
.cycle-node.core { background: var(--black); color: #fff; border-color: var(--black); }
.cycle-node .lucide-icon { width: 34px; height: 34px; margin-bottom: 6px; }
.cycle-node.core .lucide-icon { color: var(--cream); }
.cycle-title { font-size: 18px; font-weight: 700; color: var(--black); white-space: nowrap; }
.cycle-node.core .cycle-title { color: var(--cream); }
.cycle-sub { font-size: 16px; color: var(--sub); white-space: nowrap; margin-top: 4px; }
.cycle-node.core .cycle-sub { color: rgba(255,255,255,0.7); }
.cycle-loop {
  text-align: center; font-size: 17px; color: var(--green-dk); font-weight: 700;
  padding: 8px; border-top: 2px dashed var(--green-line); margin-bottom: 14px;
}

/* --- 事例ストーリー --- */
.story { display: flex; align-items: center; gap: 10px; }
.story-node { flex: 1; padding: 16px 14px; background: var(--cream-bg); border: 1px solid var(--cream-line); text-align: center; }
.story-node.result { background: var(--black); color: #fff; border-color: var(--black); }
.story-big { font-size: 30px; font-weight: 700; color: var(--black); line-height: 1.2; }
.story-node.result .story-big { color: var(--cream); }
.story-text { font-size: 16px; color: var(--sub); margin-top: 4px; line-height: 1.5; }
.story-node.result .story-text { color: rgba(255,255,255,0.75); }

/* --- 区分テーブル --- */
.scope-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.scope-table th, .scope-table td { padding: 9px 12px; border-bottom: 1px solid var(--gray); text-align: left; line-height: 1.4; }
.scope-table th { background: var(--cream-bg); color: var(--black); font-weight: 700; font-size: 16px; }
.scope-table td.c { text-align: center; white-space: nowrap; }
.tag {
  display: inline-block; font-size: 15px; font-weight: 700; padding: 3px 12px; line-height: 1.5; white-space: nowrap;
}
.tag.std { background: var(--green); color: var(--black); }
.tag.pro { background: var(--black); color: #fff; }
.tag.opt { background: var(--brown); color: #fff; }
.tag.cli { background: var(--gray-bg); color: var(--sub); border: 1px solid var(--gray); }
.legend { display: flex; gap: 14px; margin-top: 14px; font-size: 16px; color: var(--sub); align-items: center; flex-wrap: wrap; }

/* --- プラン --- */
.plans { display: flex; gap: 16px; align-items: stretch; }
.plan { flex: 1; padding: 22px 22px 18px; display: flex; flex-direction: column; border: 2px solid var(--green-line); background: var(--green-bg); }
.plan.pro { background: var(--black); color: #fff; border-color: var(--black); }
.plan.opt { background: var(--brown-bg); border-color: #ddc8b3; }
.plan-tag { font-size: 15px; font-weight: 700; letter-spacing: 2px; color: var(--green-dk); }
.plan.pro .plan-tag { color: var(--cream); }
.plan.opt .plan-tag { color: var(--brown-dk); }
.plan-name { font-size: 24px; font-weight: 700; color: var(--black); margin: 4px 0 2px; white-space: nowrap; }
.plan.pro .plan-name { color: #fff; }
.plan-price { font-size: 40px; font-weight: 700; color: var(--black); line-height: 1.2; margin: 6px 0 2px; letter-spacing: -1px; }
.plan-price small { font-size: 17px; font-weight: 700; margin-left: 4px; }
.plan.pro .plan-price { color: var(--cream); }
.plan-role { font-size: 16px; color: var(--sub); margin-bottom: 12px; line-height: 1.5; }
.plan.pro .plan-role { color: rgba(255,255,255,0.7); }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.plan li { font-size: 16px; line-height: 1.5; display: flex; gap: 8px; align-items: flex-start; }
.plan li i { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; color: var(--green-dk); }
.plan.pro li i { color: var(--cream); }
.plan.opt li i { color: var(--brown-dk); }
.plan-fit { margin-top: auto; padding-top: 10px; font-size: 16px; color: var(--sub); border-top: 1px dashed rgba(0,0,0,0.15); line-height: 1.5; }
.plan.pro .plan-fit { color: rgba(255,255,255,0.7); border-top-color: rgba(255,255,255,0.2); }

/* --- ロードマップ --- */
.roadmap { display: flex; gap: 0; align-items: stretch; }
.road { flex: 1; padding: 20px 18px; position: relative; border-top: 6px solid var(--green-line); background: var(--gray-bg); }
.road.r1 { border-top-color: var(--green); background: var(--green-bg); }
.road.r2 { border-top-color: var(--cream); background: var(--cream-bg); }
.road.r3 { border-top-color: var(--black); background: var(--black); color: #fff; }
.road-when { font-size: 16px; font-weight: 700; letter-spacing: 2px; color: var(--green-dk); }
.road.r2 .road-when { color: var(--brown-dk); }
.road.r3 .road-when { color: var(--cream); }
.road-title { font-size: 23px; font-weight: 700; color: var(--black); margin: 6px 0 10px; white-space: nowrap; }
.road.r3 .road-title { color: #fff; }
.road ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.road li { font-size: 17px; line-height: 1.5; display: flex; gap: 8px; align-items: flex-start; }
.road li i { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; color: var(--green-dk); }
.road.r3 li i { color: var(--cream); }
.road-result { margin-top: 12px; padding-top: 10px; border-top: 1px dashed rgba(0,0,0,0.15); font-size: 17px; font-weight: 700; color: var(--black); }
.road.r3 .road-result { color: var(--cream); border-top-color: rgba(255,255,255,0.25); }

/* --- CTA --- */
.cta-box { background: rgba(255,255,255,0.06); border: 1px solid rgba(235,227,165,0.35); padding: 22px 30px; margin-top: 8px; text-align: left; }
.cta-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cta-list li { font-size: 20px; color: #fff; display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.cta-list li i { width: 22px; height: 22px; flex-shrink: 0; margin-top: 4px; color: var(--cream); }
.closing-footer { font-size: 17px; color: rgba(255,255,255,0.5); margin-top: 26px; line-height: 1.7; }

/* --- 2カラム --- */
.two-col { display: flex; gap: 24px; align-items: stretch; }
.two-col > div { flex: 1; min-width: 0; }

/* --- ナビ --- */
.nav-bar {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 9999;
  background: rgba(10, 11, 10, 0.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(235,227,165,0.18); padding: 6px 12px; border-radius: 99px;
}
.nav-dot {
  width: 26px; height: 26px; border-radius: 4px; cursor: pointer; padding: 0;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  font-size: 12px; color: rgba(255,255,255,0.45); font-family: 'Courier New', monospace;
  display: flex; align-items: center; justify-content: center; transition: all .25s;
}
.nav-dot.active { background: rgba(95,171,141,0.35); border-color: var(--green); color: var(--cream); }
.nav-arrow {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 24px;
  background: rgba(95,171,141,0.15); backdrop-filter: blur(8px); color: var(--cream);
  border: 1px solid rgba(235,227,165,0.35); display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: background .3s;
}
.nav-arrow:hover { background: rgba(95,171,141,0.35); }
.nav-prev { left: 20px; } .nav-next { right: 20px; }

/* --- アニメーション --- */
.animate-in { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.animate-in.visible { opacity: 1; transform: translateY(0); }
.animate-in.delay-1 { transition-delay: .15s; }
.animate-in.delay-2 { transition-delay: .30s; }
.animate-in.delay-3 { transition-delay: .45s; }
.animate-in.delay-4 { transition-delay: .60s; }

.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--green), var(--cream)); z-index: 10000; transition: width .3s ease; }

/* --- HUD --- */
.hud-corner { position: fixed; z-index: 10000; pointer-events: none; }
.hud-corner::before { content: ''; position: absolute; width: 40px; height: 40px; }
.hud-corner.top-right { top: 16px; right: 16px; }
.hud-corner.top-right::before { border-top: 2px solid var(--hud-line); border-right: 2px solid var(--hud-line); right: 0; }
.hud-corner.bottom-left { bottom: 46px; left: 16px; }
.hud-corner.bottom-left::before { border-bottom: 2px solid var(--hud-line); border-left: 2px solid var(--hud-line); }
.hud-corner.bottom-right { bottom: 46px; right: 16px; }
.hud-corner.bottom-right::before { border-bottom: 2px solid var(--hud-line); border-right: 2px solid var(--hud-line); right: 0; }
.hud-label {
  position: fixed; font-family: 'Courier New', monospace; font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--hud); z-index: 10000; pointer-events: none;
}
.hud-label.top-left { top: 24px; left: 68px; }
.hud-label.top-right { top: 24px; right: 68px; text-align: right; }
.hud-label.bottom-left { bottom: 52px; left: 24px; }
.hud-label.bottom-right { bottom: 52px; right: 24px; text-align: right; }

#three-bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

@media print {
  body { overflow: visible; height: auto; background: #fff; }
  #three-bg, .hud-corner, .hud-label, .nav-bar, .nav-arrow, .progress-bar, body::before, body::after { display: none !important; }
  .scroll-container { display: block; height: auto; overflow: visible; }
  .slide { height: auto; page-break-after: always; display: block; padding: 0; }
  .slide-inner { width: 100%; box-shadow: none; }
  .slide-inner.dark, .slide-inner.dark-transparent { background: #0a0b0a !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .animate-in { opacity: 1; transform: none; }
}
