/* =========================================================
   如水会アプリ 提案書 - スタイルシート（ライトテーマ）
   ========================================================= */

/* ---------------------------------------------------------
   1. CSS変数（カラーパレット・共通値）
   --------------------------------------------------------- */
:root {
  --primary: #1B2E4B;        /* ダークネイビー - メインアクセント */
  --primary-dark: #0F1D32;   /* より暗いネイビー */
  --primary-light: #EEF1F5;  /* ネイビーの超薄い背景 */
  --dark: #1A202C;
  --surface: #FFFFFF;
  --elevated: #F8F9FB;       /* 少し青みがかったグレー */
  --accent: #2C5282;         /* アクセントブルー（やや落ち着いた青） */
  --accent-light: #EBF4FF;
  --gray-mid: #6B7280;       /* ミディアムグレー */
  --info: #2B6CB0;
  --info-light: #EBF4FF;
  --success: #276749;
  --success-light: #F0FFF4;
  --warning: #975A16;
  --warning-light: #FFFFF0;
  --error: #C53030;
  --text: #1A202C;           /* ほぼ黒 */
  --text-sub: #64748B;       /* スレートグレー */
  --border-color: #E2E8F0;   /* 薄いグレーボーダー */
  --bg: #FFFFFF;             /* 純白 */
  --bg-section: #F8F9FB;     /* ほぼ白のグレー */
  --sidebar-bg: #FAFBFC;
  --sidebar-width: 220px;
}

/* ---------------------------------------------------------
   2. リセット + ベーススタイル
   --------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  height: 100%;
}

body {
  font-family: 'Noto Sans JP', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

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

ul,
ol {
  list-style: none;
}

/* ---------------------------------------------------------
   3. サイドメニュー
   --------------------------------------------------------- */
#sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background-color: var(--sidebar-bg);
  border-right: 1px solid var(--border-color);
  box-shadow: 2px 0 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow-y: auto;
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

/* サイドバー ロゴ/タイトル */
.sidebar-logo {
  padding: 24px 20px 20px;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

.sidebar-logo .logo-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.sidebar-logo .logo-sub {
  font-size: 0.7rem;
  color: var(--text-sub);
  margin-top: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* サイドバー 目次 */
.sidebar-nav {
  flex: 1;
  padding: 16px 0;
  overflow-y: auto;
}

.sidebar-nav li {
  position: relative;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 20px;
  font-size: 0.78rem;
  color: var(--text-sub);
  font-weight: 400;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  line-height: 1.4;
  word-break: keep-all;
}

.sidebar-nav li a .nav-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--border-color);
  color: var(--text-sub);
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.sidebar-nav li a:hover {
  color: var(--primary);
  background: var(--elevated);
}

.sidebar-nav li a:hover .nav-num {
  background: var(--primary);
  color: #fff;
}

/* アクティブ項目 */
.sidebar-nav li a.active {
  border-left-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
  background: var(--primary-light);
}

.sidebar-nav li a.active .nav-num {
  background: var(--primary);
  color: #fff;
}

/* サイドバー グループヘッダー */
.nav-group-header {
  padding: 12px 20px 6px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-top: 1px solid var(--border-color);
  margin-top: 8px;
  list-style: none;
}

.nav-group-header:empty {
  padding: 4px;
  border-top: 1px solid var(--border-color);
  margin-top: 8px;
}

/* PDFダウンロードFABボタン */
.fab-pdf-btn {
  position: sticky;
  top: 16px;
  float: right;
  margin-right: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 24px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(27, 46, 75, 0.3);
}

.fab-pdf-btn:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 16px rgba(27, 46, 75, 0.35);
}

/* ---------------------------------------------------------
   4. メインコンテンツ
   --------------------------------------------------------- */
main {
  margin-left: var(--sidebar-width);
  overflow-y: auto;
  overflow-x: auto;
  position: relative;
  background: var(--bg-section);
  height: 100vh;
}

section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-section);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
  min-height: 715px;
}

/* スマホブロック画面（PC時は非表示） */
#mobile-pdf-screen {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.mobile-pdf-inner {
  text-align: center;
  padding: 40px 24px;
}
.mobile-pdf-logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
.mobile-pdf-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}
.mobile-pdf-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ページ番号カウンター */
main {
  counter-reset: slide-page;
}

/* .slide-card: 固定サイズカードラッパー */
.slide-card {
  width: 1200px;
  height: 675px;
  flex-shrink: 0;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  overflow: hidden;
  padding: 28px 44px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  counter-increment: slide-page;
}

.slide-card::after {
  content: counter(slide-page);
  position: absolute;
  bottom: 16px;
  right: 24px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-sub);
  font-family: 'Noto Sans JP', sans-serif;
}

/* ---------------------------------------------------------
   5. ヒーローセクション（表紙）
   --------------------------------------------------------- */
#hero {
  background: var(--bg-section);
}

#hero .slide-card {
  background: #FFFFFF;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

#hero::before {
  content: none;
}

.hero-inner {
  position: relative;
  max-width: 800px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: var(--primary-light);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  padding: 6px 20px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: var(--primary);
}

#hero h1 {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  color: var(--primary);
}

#hero .hero-subtitle {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 32px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

#hero .hero-meta {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}

/* ---------------------------------------------------------
   6. セクションヘッダー（番号+タイトル+説明）
   --------------------------------------------------------- */
.section-header {
  margin-bottom: 10px;
  flex-shrink: 0;
}

.section-header h2 {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  color: var(--text);
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--primary);
  margin: 0;
  gap: 10px;
  line-height: 1.3;
}

h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--primary);
  margin-bottom: 6px;
}

.section-num {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

/* コンテンツエリアは残りスペースを使う */
.section-body {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-sub);
  margin-top: 4px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  margin-top: 20px;
}

h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  margin-top: 14px;
}

p {
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

li {
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

/* ---------------------------------------------------------
   7. カードグリッド & カード
   --------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.card {
  background: var(--surface);
  border-radius: 10px;
  padding: 20px 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid var(--border-color);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  line-height: 1;
}

.card h3 {
  margin-top: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.card p {
  font-size: 0.78rem;
  color: var(--text-sub);
  margin-bottom: 0;
  line-height: 1.6;
}

.card svg {
  max-height: 56px;
  margin-bottom: 8px;
}

/* カードアクセントカラー */
.card.accent-red {
  border-top: 4px solid var(--primary);
}

.card.accent-red h3 {
  color: var(--primary);
}

.card.accent-gold {
  border-top: 4px solid var(--accent);
}

.card.accent-gold h3 {
  color: var(--accent);
}

.card.accent-blue {
  border-top: 4px solid var(--info);
}

.card.accent-blue h3 {
  color: var(--info);
}

.card.accent-orange {
  border-top: 4px solid var(--warning);
}

.card.accent-orange h3 {
  color: var(--warning);
}

.card.accent-green {
  border-top: 4px solid var(--success);
}

.card.accent-green h3 {
  color: var(--success);
}

/* ---------------------------------------------------------
   8. フローステップ
   --------------------------------------------------------- */
.flow-steps {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.flow-step {
  flex: 1;
  min-width: 120px;
  max-width: 180px;
  text-align: center;
}

.flow-step-num {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 auto 8px;
}

.flow-step-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.flow-step-desc {
  font-size: 0.68rem;
  color: var(--text-sub);
  line-height: 1.4;
}

.flow-arrow {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  color: var(--primary);
  padding-top: 32px;
  flex-shrink: 0;
  opacity: 0.7;
}

/* ===== リッチフローステップ ===== */
.rich-flow-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.rich-flow-step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 0 8px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
}

.rich-flow-illustration {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.rich-flow-illustration svg {
  width: 100%;
  max-width: 200px;
  max-height: 150px;
  height: auto;
}

.rich-flow-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}

.rich-flow-number {
  display: flex;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
  margin-bottom: 0;
}

.rich-flow-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0;
  letter-spacing: 0.02em;
  text-align: left;
}

.rich-flow-desc {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-sub);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.rich-flow-connector {
  display: flex;
  align-items: center;
  padding-top: 35px;
  flex-shrink: 0;
}

.rich-flow-connector svg {
  width: 32px;
  height: 32px;
}

.rich-flow-down-arrow {
  display: flex;
  justify-content: center;
  margin: 6px 0;
}

.rich-flow-down-arrow svg {
  width: 36px;
  height: 28px;
}

/* ---------------------------------------------------------
   9. スマホモック
   --------------------------------------------------------- */
.phone-mock {
  width: 200px;
  height: 400px;
  border: 3px solid var(--border-color);
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  padding: 8px;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  position: relative;
}

.phone-mock::before {
  content: '';
  display: block;
  width: 60px;
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  margin: 0 auto 6px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--elevated);
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------------------------------------------------
   10. iPadモック
   --------------------------------------------------------- */
.ipad-mock {
  width: 460px;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  border: 3px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  padding: 10px;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.ipad-screen {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--elevated);
}

.ipad-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------------------------------------------------
   11. タイムライン（ロードマップ）
   --------------------------------------------------------- */
.timeline {
  display: flex;
  gap: 0;
  position: relative;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  z-index: 0;
}

.timeline-phase {
  flex: 1;
  min-width: 160px;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 8px;
}

.timeline-dot {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 12px;
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--primary);
  position: relative;
}

.timeline-phase.completed .timeline-dot {
  background: var(--primary-dark);
}

.timeline-phase.upcoming .timeline-dot {
  background: var(--border-color);
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--border-color);
}

.timeline-period {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.timeline-items {
  font-size: 0.76rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ---------------------------------------------------------
   12. 統計カード
   --------------------------------------------------------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.stat-card {
  text-align: center;
  padding: 16px;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
}

.stat-number {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.stat-number span.unit {
  font-size: 1.1rem;
  font-weight: 600;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.4;
}

/* ---------------------------------------------------------
   13. テーブル（data-table）
   --------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
}

table,
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
}

thead {
  background: var(--primary);
  color: #fff;
}

thead th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

tbody tr:nth-child(odd) {
  background: #fff;
}

tbody tr:nth-child(even) {
  background: var(--elevated);
}

tbody tr:hover {
  background: var(--primary-light);
}

tbody td {
  padding: 12px 20px;
  color: var(--text);
  border-bottom: 1px solid var(--border-color);
}

tbody tr:last-child td {
  border-bottom: none;
}

/* ---------------------------------------------------------
   14. バッジ & タグ
   --------------------------------------------------------- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
}

.badge.blue {
  background: var(--info-light);
  color: var(--info);
}

.badge.green {
  background: var(--success-light);
  color: var(--success);
}

.badge.orange {
  background: var(--warning-light);
  color: var(--warning);
}

.badge.coral {
  background: #FEF2F2;
  color: var(--error);
}

.badge.red {
  background: var(--primary-light);
  color: var(--primary);
}

.badge.gold {
  background: var(--accent-light);
  color: var(--gray-mid);
}

.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--elevated);
  color: var(--text-sub);
  border: 1px solid var(--border-color);
  letter-spacing: 0.03em;
}

/* ---------------------------------------------------------
   15. ハイライトボックス & 情報ボックス
   --------------------------------------------------------- */
.highlight-box {
  background: var(--elevated);
  border-left: 4px solid var(--primary);
  padding: 24px 28px;
  border-radius: 0 8px 8px 0;
  margin: 10px 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text);
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

.highlight-box.warning {
  background: var(--warning-light);
  border-left-color: var(--warning);
}

.highlight-box.success {
  background: var(--success-light);
  border-left-color: var(--success);
}

.highlight-box.gold {
  border-left-color: var(--gray-mid);
  background: var(--elevated);
}

.info-box {
  background: var(--info-light);
  border-left: 4px solid var(--info);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 10px 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text);
}

.info-box p:last-child {
  margin-bottom: 0;
}

.warning-box {
  background: var(--warning-light);
  border-left: 4px solid var(--warning);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 10px 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text);
}

.warning-box p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------
   16. SVG共通
   --------------------------------------------------------- */
svg {
  max-width: 100%;
  height: auto;
}

/* SVGのmax-heightはインラインスタイルで個別に指定するため、グローバルルールは設けない */

/* two-col内のSVG */
section .two-col svg:not(.hero-wave) {
  height: auto;
}

/* ---------------------------------------------------------
   17. アニメーション（スクロールリビール）
   --------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ディレイバリエーション */
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* ---------------------------------------------------------
   18. ユーティリティ
   --------------------------------------------------------- */
.text-center { text-align: center; }
.text-right  { text-align: right; }

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }

.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-16       { gap: 16px; }
.gap-24       { gap: 24px; }
.gap-32       { gap: 32px; }
.flex-wrap    { flex-wrap: wrap; }

.color-primary { color: var(--primary); }
.color-deep    { color: var(--primary-dark); }
.color-gold    { color: var(--gray-mid); }
.color-orange  { color: var(--warning); }
.color-coral   { color: var(--error); }
.color-green   { color: var(--success); }
.color-sub     { color: var(--text-sub); }

.font-bold { font-weight: 700; }
.font-sm   { font-size: 0.875rem; }
.font-xs   { font-size: 0.78rem; }
.font-lg   { font-size: 1.125rem; }

/* CTA ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(27, 46, 75, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 12px rgba(27, 46, 75, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

/* 区切り線 */
.divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 40px 0;
}

/* アイコン付きリスト */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  padding: 2px 0;
}

.check-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------------------------------------------------------
   19. 2カラム・3カラムレイアウト
   --------------------------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  margin-top: 12px;
}

.two-col .col-left,
.two-col .col-right {
  min-width: 0;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 12px;
}

/* ---------------------------------------------------------
   20. 価格テーブル
   --------------------------------------------------------- */
.price-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  text-align: center;
  position: relative;
  border: 1px solid var(--border-color);
}

.price-card.featured {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  transform: scale(1.04);
  z-index: 1;
  box-shadow: 0 4px 16px rgba(27, 46, 75, 0.25);
  border-color: var(--primary);
}

.price-card .price-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-bottom: 12px;
}

.price-card.featured .price-label {
  color: rgba(255, 255, 255, 0.85);
}

.price-card .price-amount {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.price-card.featured .price-amount {
  color: #fff;
}

.price-card .price-unit {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 24px;
}

.price-card.featured .price-unit {
  color: rgba(255, 255, 255, 0.8);
}

/* おすすめバッジ */
.recommended-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------------------------------------------------------
   21. 追加コンポーネントスタイル
   --------------------------------------------------------- */

/* 波アニメーション */
.hero-wave { animation: waveMove 4s ease-in-out infinite alternate; }
@keyframes waveMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-30px); }
}

/* サンセットセクション */
.sunset-section { background: var(--bg-section); }
.sunset-section .slide-card { background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 50%, var(--info-light) 100%); color: var(--text); }
.sunset-section h2 { color: var(--text); border-bottom-color: var(--primary); }
.sunset-section h2 .section-num { background: var(--primary); }
.sunset-section .section-desc { color: var(--text-sub); }
.sunset-section .card { background: var(--surface); border: 1px solid var(--border-color); color: var(--text); }
.sunset-section .card h3 { color: var(--text); }
.sunset-section .card p { color: var(--text-sub); }
.sunset-section .highlight-box { background: var(--elevated); border-left-color: var(--primary); }
.sunset-section .highlight-box p { color: var(--text); }
.sunset-catchcopy { font-size: 1.4rem; font-weight: 800; color: var(--text); text-align: center; margin: 16px 0; line-height: 1.4; }

/* シンプルフロー */
.flow-simple { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.flow-simple-step { background: var(--primary-light); border: 1px solid rgba(27, 46, 75, 0.25); border-radius: 8px; padding: 8px 14px; font-size: 0.82rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.flow-simple-arrow { color: var(--primary); font-size: 1.2rem; }

/* クロージングボックス */
.closing-box { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border-radius: 12px; padding: 16px 24px; text-align: center; margin-top: 12px; box-shadow: 0 4px 16px rgba(27, 46, 75, 0.25); }
.closing-box h3 { color: #fff; font-size: 1rem; margin-top: 0; }
.closing-box p { color: rgba(255,255,255,0.9); font-size: 0.78rem; }

/* チャプタータイトルセクション */
.chapter-title-section {
  background: var(--bg-section);
}

.chapter-title-section .slide-card {
  background: var(--elevated);
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.chapter-title-content {
  max-width: 600px;
}

.chapter-icon {
  margin-bottom: 16px;
}

.chapter-icon svg {
  width: 90px;
  height: 90px;
}

.chapter-title {
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 12px;
  border: none;
  border-bottom: none;
  padding-bottom: 0;
  display: block;
  justify-content: center;
}

.chapter-subtitle {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* フェーズグリッド */
.phase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.phase-card { background: var(--surface); border-radius: 10px; padding: 12px 14px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); border: 1px solid var(--border-color); border-top: 4px solid var(--primary); }
.phase-card.p2 { border-top-color: var(--accent); }
.phase-card.p3 { border-top-color: var(--success); }
.phase-card.p4 { border-top-color: var(--info); }
.phase-title { font-size: 0.85rem; font-weight: 800; color: var(--text); margin-bottom: 2px; }
.phase-period { font-size: 0.7rem; color: var(--text-sub); margin-bottom: 8px; font-weight: 600; }
.phase-card ul { list-style: none; padding: 0; }
.phase-card ul li { font-size: 0.75rem; color: var(--text); padding: 3px 0; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; gap: 6px; }
.phase-card ul li::before { content: '✓'; background: var(--primary); color: #fff; border-radius: 50%; width: 15px; height: 15px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: bold; flex-shrink: 0; }
.phase-card.p2 ul li::before { background: var(--accent); }
.phase-card.p3 ul li::before { background: var(--success); }

/* 収益シミュレーションカード */
.sim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sim-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.sim-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.sim-card.featured {
  border: 2px solid var(--primary);
}

.featured-badge {
  background: var(--primary);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 12px;
  font-family: 'Noto Sans JP', sans-serif;
}

.sim-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.sim-members {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.sim-members-unit {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-sub);
  margin-left: 4px;
}

.sim-revenue-label {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-top: 16px;
}

.sim-revenue {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gray-mid);
  margin-top: 4px;
}

.sim-breakdown {
  font-size: 0.8rem;
  color: var(--text-sub);
  margin-top: 12px;
  line-height: 1.6;
}

/* 効果グリッド */
.effect-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.effect-card { background: var(--surface); border-radius: 12px; padding: 20px 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); border: 1px solid var(--border-color); }
.effect-number { font-family: 'Noto Sans JP', sans-serif; font-size: 2rem; font-weight: 900; color: var(--primary); line-height: 1; margin: 8px 0; }
.effect-card h3 { margin-top: 0; color: var(--text); }

/* iPadダッシュボード */
.ipad-dashboard { background: var(--surface); border-radius: 12px; padding: 16px; font-family: 'Noto Sans JP', monospace; color: var(--text); font-size: 0.8rem; border: 1px solid var(--border-color); }
.ipad-dashboard .db-header { color: var(--primary); font-weight: bold; border-bottom: 1px solid var(--border-color); padding-bottom: 8px; margin-bottom: 12px; font-size: 0.85rem; }
.ipad-dashboard .db-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.ipad-dashboard .db-stat { background: var(--elevated); border-radius: 8px; padding: 10px; text-align: center; border: 1px solid var(--border-color); }
.ipad-dashboard .db-stat .num { font-size: 1.4rem; font-weight: bold; color: var(--primary); }
.ipad-dashboard .db-stat .label { font-size: 0.65rem; color: var(--text-sub); }
.ipad-dashboard .db-notif { background: var(--elevated); border-radius: 8px; padding: 10px; border: 1px solid var(--border-color); }
.ipad-dashboard .db-notif .notif-title { color: var(--gray-mid); font-size: 0.75rem; margin-bottom: 6px; font-weight: bold; }
.ipad-dashboard .notif-item { padding: 4px 0; border-bottom: 1px solid var(--border-color); font-size: 0.72rem; color: var(--text-sub); }
.notif-item .match { color: var(--success); font-weight: bold; }

/* ---------------------------------------------------------
   22. 概算費用テーブル
   --------------------------------------------------------- */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.cost-table th {
  background: var(--primary);
  color: white;
  padding: 6px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
}

.cost-table th:last-child {
  text-align: right;
  min-width: 140px;
}

.cost-table td {
  padding: 6px 12px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
  line-height: 1.4;
}

.cost-table tbody tr:hover {
  background: var(--primary-light);
}

.cost-category {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.cost-price {
  text-align: right;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  white-space: nowrap;
  font-family: 'Noto Sans JP', sans-serif;
}

.cost-total-label {
  text-align: right;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  padding: 8px 12px;
  border-top: 2px solid var(--primary);
}

.cost-total-price {
  text-align: right;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  padding: 8px 12px;
  border-top: 2px solid var(--primary);
  white-space: nowrap;
  font-family: 'Noto Sans JP', sans-serif;
}

.cost-category-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  padding: 4px 0 4px 12px;
  border-left: 4px solid var(--primary);
  margin-bottom: 4px;
}

/* ---------------------------------------------------------
   23. 相談事項
   --------------------------------------------------------- */
.discuss-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.discuss-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.discuss-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
  font-family: 'Noto Sans JP', sans-serif;
}

.discuss-content {
  flex: 1;
}

.discuss-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.discuss-content p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 8px;
}

.discuss-comparison {
  display: flex;
  gap: 16px;
  margin: 10px 0;
}

.discuss-option {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--elevated);
  border: 1px solid var(--border-color);
}

.discuss-option.recommend {
  background: var(--primary-light);
  border-color: rgba(27, 46, 75, 0.25);
}

.discuss-option-label {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text);
  margin-bottom: 6px;
}

.discuss-option ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.discuss-option ul li {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text);
  padding-left: 12px;
  position: relative;
}

.discuss-option ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--text-sub);
}

.discuss-note {
  font-weight: 600;
  color: var(--primary) !important;
  font-size: 0.82rem;
}

/* ---------------------------------------------------------
   24. レスポンシブ（モバイル）
   --------------------------------------------------------- */
@media screen and (max-width: 900px) {
  #sidebar {
    display: none;
  }

  #mobile-pdf-screen {
    display: flex;
  }

  main {
    display: none !important;
    margin-left: 0;
    height: auto;
    overflow-y: visible;
    scroll-snap-type: none;
  }

  section {
    height: auto;
    padding: 16px;
    background: var(--bg-section) !important;
    overflow: visible;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  .slide-card {
    width: 100%;
    aspect-ratio: unset;
    max-height: none;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    padding: 24px 20px;
  }

  #hero {
    background: var(--bg-section) !important;
  }

  #hero h1 {
    font-size: 1.8rem;
  }

  #hero .hero-subtitle {
    font-size: 0.95rem;
  }

  .section-header h2 {
    font-size: 1.2rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .section-num {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  /* カードグリッドを1列に */
  .card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* フローを縦並びに */
  .flow-steps {
    flex-direction: column;
    align-items: center;
  }

  .flow-arrow {
    transform: rotate(90deg);
    padding: 0;
  }

  .rich-flow-row {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .rich-flow-step {
    max-width: 100%;
    width: 100%;
  }

  .rich-flow-connector {
    transform: rotate(90deg);
    padding-top: 0;
    margin: 4px 0;
  }

  .rich-flow-down-arrow {
    display: none;
  }

  .rich-flow-illustration svg {
    max-width: 240px;
  }

  /* 2・3カラムレイアウトを1カラムに */
  .two-col {
    grid-template-columns: 1fr;
  }

  .three-col {
    grid-template-columns: 1fr;
  }

  /* デバイスモック */
  .phone-mock {
    width: 180px;
    height: 360px;
    margin: 16px auto;
  }

  .ipad-mock {
    width: 100%;
    max-width: 360px;
    margin: 16px auto;
  }

  /* チャプタータイトル */
  .chapter-title {
    font-size: 1.6rem;
  }

  .chapter-subtitle {
    font-size: 0.9rem;
  }

  /* テーブル横スクロール */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* ハイライトボックス */
  .highlight-box {
    padding: 16px;
    font-size: 0.85rem;
  }

  /* タイムライン縦並び */
  .timeline {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 24px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .timeline-phase {
    display: flex;
    gap: 16px;
    text-align: left;
    min-width: unset;
    width: 100%;
    padding: 0 0 24px 0;
  }

  .timeline-dot {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  /* フェーズグリッド・効果グリッド */
  .phase-grid {
    grid-template-columns: 1fr;
  }

  .effect-grid {
    grid-template-columns: 1fr;
  }

  /* シミュレーショングリッド */
  .sim-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: scale(1);
  }
}

/* さらに小さいスマホ */
@media screen and (max-width: 480px) {
  section {
    padding: 24px 16px;
  }

  #hero {
    min-height: 60vh;
  }

  #hero h1 {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.05rem;
    gap: 8px;
  }

  h2 {
    font-size: 1.05rem;
  }

  .card {
    padding: 16px;
  }

  .rich-flow-illustration svg {
    max-width: 200px;
  }

  .phase-card {
    padding: 12px;
  }
}

/* ---------------------------------------------------------
   PDFローディングオーバーレイ
   --------------------------------------------------------- */
#pdf-loading {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.pdf-loading-inner {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px 56px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.pdf-loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border-color);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

.pdf-loading-text {
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------------------------------------------------------
   印刷用スタイル（最小限）
   --------------------------------------------------------- */
@media print {
  @page {
    size: landscape;
    margin: 0;
  }

  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  #sidebar, .fab-pdf-btn, #mobile-pdf-screen {
    display: none !important;
  }

  html, body {
    height: auto !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  main {
    display: block !important;
    margin-left: 0 !important;
    height: auto !important;
    overflow: visible !important;
    position: static !important;
  }

  section {
    page-break-after: always;
    page-break-inside: avoid;
  }

  section:last-of-type {
    page-break-after: auto;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =========================================================
   追加コンポーネント（HTML側で使用されているクラス）
   ========================================================= */

/* --- work-card（実績カード スライド3）--- */
.work-card {
  background: var(--surface);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}
.work-card-img {
  background: var(--elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 140px;
}
.work-card-body {
  padding: 16px 18px;
  flex: 1;
}
.work-card-body h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.work-card-body p {
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.6;
}
.work-card-body .badge {
  margin-top: 8px;
}

/* --- info-table（情報テーブル）--- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.info-table th {
  text-align: left;
  padding: 8px 12px;
  color: var(--text-sub);
  font-weight: 500;
  width: 120px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
  font-size: 0.78rem;
}
.info-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
  color: var(--text);
  line-height: 1.5;
}

/* --- tech-stack-card（技術スタック スライド7）--- */
.tech-stack-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}
.tech-stack-card:last-child {
  border-bottom: none;
}
.tech-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tech-stack-card h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 0;
  margin-bottom: 2px;
}
.tech-stack-card p {
  font-size: 0.75rem;
  color: var(--text-sub);
  line-height: 1.5;
}

/* --- timeline-item（タイムライン縦型 スライド8）--- */
.timeline-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 8px 0;
  position: relative;
}
.timeline-dot {
  flex-shrink: 0;
}
.timeline-content {
  flex: 1;
}
.timeline-content strong {
  font-size: 0.82rem;
  color: var(--text);
}
.timeline-desc {
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-top: 2px;
  line-height: 1.5;
}

/* --- question-card（質問カード スライド9）--- */
.question-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 18px 20px;
  border-left: 4px solid var(--primary);
}
.q-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.question-card h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.question-card ul {
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.7;
  padding-left: 16px;
  list-style: disc;
}

/* --- step-card（ステップカード スライド10）--- */
.step-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 8px;
  border-left: 4px solid var(--primary);
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.step-content {
  flex: 1;
}
.step-content h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.step-content p {
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* --- row-must / priority（機能要件テーブル スライド6）--- */
.row-must {
  background: var(--primary-light) !important;
}
.priority-must {
  color: var(--primary);
  font-weight: 700;
}
.priority-rec {
  color: var(--gray-mid);
  font-weight: 600;
}
.priority-future {
  color: var(--info);
  font-weight: 500;
}

/* --- accent-primary（カードアクセント）--- */
.card.accent-primary {
  border-top: 4px solid var(--primary);
}
.card.accent-primary h3 {
  color: var(--primary);
}

/* --- highlight-box.info --- */
.highlight-box.info {
  background: var(--info-light);
  border-left-color: var(--info);
}

/* --- table-wrap margin調整 --- */
.table-wrap {
  margin: 8px 0;
  overflow-x: auto;
}
