/* ============================================================
   OfficeMizuki — Sidebar Slide Template
   Brand: Elegant / Friendly / Professional
   ============================================================ */

@font-face{ font-family:'LINE Seed Sans'; src:url('fonts/LINESeedSans_Rg.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face{ font-family:'LINE Seed Sans'; src:url('fonts/LINESeedSans_Bd.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }
@font-face{ font-family:'LINE Seed Sans'; src:url('fonts/LINESeedSans_XBd.woff2') format('woff2'); font-weight:800; font-style:normal; font-display:swap; }
@font-face{ font-family:'LINE Seed Sans'; src:url('fonts/LINESeedSans_He.woff2') format('woff2'); font-weight:900; font-style:normal; font-display:swap; }

:root{
  /* Brand palette */
  --c-orange:#FF8A00;
  --c-pink:#E83E8C;
  --c-purple:#6B2DA8;
  --c-blue:#0077B6;
  --c-navy:#1B2A6B;

  /* Brand gradient (orange → pink → purple → blue → navy) */
  --grad: linear-gradient(135deg, #FF8A00 0%, #E83E8C 34%, #6B2DA8 62%, #0077B6 86%, #1B2A6B 100%);
  --grad-h: linear-gradient(90deg, #FF8A00 0%, #E83E8C 34%, #6B2DA8 62%, #0077B6 86%, #1B2A6B 100%);
  --grad-v: linear-gradient(180deg, #FF8A00 0%, #E83E8C 32%, #6B2DA8 60%, #0077B6 84%, #1B2A6B 100%);

  /* Tweakable accent (defaults to purple) */
  --accent: #6B2DA8;
  --accent-2: #E83E8C;

  /* Fonts (tweakable) */
  --font-en: 'LINE Seed Sans', 'Noto Sans JP', sans-serif;
  --font-jp: 'LINE Seed Sans', 'Noto Sans JP', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'LINE Seed Sans', 'Noto Sans JP', monospace;

  /* Neutrals */
  --ink: #1c1b22;
  --ink-soft:#55525e;
  --ink-faint:#8b8893;
  --line:#e7e4ec;
  --paper:#ffffff;
  --paper-2:#faf8fc;

  /* Layout */
  --sidebar-w: 320px;
  --pad: 96px;
}

*{ box-sizing:border-box; }

/* ---- Deck frame: content + sidebar ---- */
.frame{
  position:absolute; inset:0; overflow:hidden;
  display:flex;
  background:var(--paper);
  font-family:var(--font-jp);
  color:var(--ink);
  overflow:hidden;
}
/* sidebar side (right default, left when root[data-side=left]) */
.content{ order:1; flex:1 1 auto; min-width:0; }
.sidebar{ order:2; flex:0 0 var(--sidebar-w); }
:root[data-side="left"] .content{ order:2; }
:root[data-side="left"] .sidebar{ order:1; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar{
  position:relative;
  display:flex; flex-direction:column;
  padding:56px 40px;
  color:#fff;
  background:var(--grad-v);
  overflow:hidden;
}
/* fill variants */
:root[data-fill="solid"] .sidebar{ background:var(--navy-fill, #1B2A6B); }
:root[data-fill="white"] .sidebar{
  background:var(--paper);
  color:var(--ink);
  border-inline-start:1px solid var(--line);
}
:root[data-side="left"][data-fill="white"] .sidebar{ border-inline-start:none; border-inline-end:1px solid var(--line); }

/* white-fill accent edge strip */
.sidebar__edge{ display:none; }
:root[data-fill="white"] .sidebar__edge{
  display:block; position:absolute; top:0; bottom:0; width:6px;
  background:var(--grad-v);
  inset-inline-start:0;
}
:root[data-side="left"][data-fill="white"] .sidebar__edge{ inset-inline-start:auto; inset-inline-end:0; }

/* logo at top of sidebar */
.sidebar__logo{ height:auto; margin-bottom:0; }
.sidebar__chip{ display:inline-block; background:#fff; border:1px solid rgba(255,255,255,.55); border-radius:12px; padding:11px 15px; box-shadow:0 10px 24px -12px rgba(20,12,40,.55); }
.sidebar__chip img{ height:40px; width:auto; display:block; }
:root[data-fill="white"] .sidebar__chip{ background:transparent; border:none; box-shadow:none; padding:0; }

/* chapter rail */
.rail{ display:flex; flex-direction:column; gap:18px; margin:40px 0; }
.rail__item{
  display:flex; align-items:baseline; gap:14px;
  font-family:var(--font-en);
  opacity:.42; transition:opacity .3s;
}
.rail__num{ font-size:26px; font-weight:600; letter-spacing:.02em; line-height:1; }
.rail__name{
  font-family:var(--font-jp); font-size:15px; font-weight:500;
  letter-spacing:.04em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.rail__item.is-active{ opacity:1; }
.rail__item.is-active .rail__num{ font-size:34px; font-weight:700; }
.rail__item.is-active .rail__name{ font-weight:700; }
:root[data-fill="white"] .rail__item.is-active .rail__num{
  background:var(--grad-h); -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* big current section block */
.sb-section{ margin-top:auto; }
.sb-section__index{
  font-family:var(--font-en); font-size:15px; letter-spacing:.28em; opacity:.7;
  margin-bottom:10px;
}
.sb-section__name{
  font-size:24px; font-weight:700; line-height:1.45; letter-spacing:.02em;
}
/* vertical writing for section name */
:root[data-orient="vertical"] .sb-section{
  position:absolute; top:120px; bottom:150px;
  inset-inline-end:40px;
  display:flex; flex-direction:column; align-items:flex-end; justify-content:flex-start;
  margin:0;
}
:root[data-side="left"][data-orient="vertical"] .sb-section{ inset-inline-end:auto; inset-inline-start:40px; align-items:flex-start; }
:root[data-orient="vertical"] .sb-section__name{
  writing-mode:vertical-rl; text-orientation:upright;
  letter-spacing:.18em; font-size:26px; line-height:1; height:auto;
}
:root[data-orient="vertical"] .sb-section__index{ writing-mode:vertical-rl; letter-spacing:.4em; margin:0 0 18px 0; }

/* ============================================================
   Nested table-of-contents (JAL-report style)
   ============================================================ */
.toc{ display:flex; flex-direction:column; margin:30px 0 24px; }
.toc-ch{
  display:flex; align-items:baseline; gap:10px;
  font-family:var(--font-jp); font-size:18px; font-weight:700; letter-spacing:.02em;
  padding:13px 0 12px; border-top:1px solid rgba(255,255,255,.28);
  opacity:.6; transition:opacity .3s;
}
.toc-ch__num{ font-family:var(--font-en); font-size:16px; opacity:.85; }
.toc-ch.is-active{ opacity:1; }
.toc-subs{ display:flex; flex-direction:column; padding:2px 0 8px; }
.toc-sub{
  position:relative; font-size:14.5px; line-height:1.35; font-weight:500;
  padding:8px 0 8px 22px; opacity:.78; letter-spacing:.02em;
}
.toc-sub::before{
  content:""; position:absolute; left:6px; top:50%; transform:translateY(-50%);
  width:5px; height:5px; border-radius:50%; background:currentColor; opacity:.5;
}
.toc-sub.is-active{ opacity:1; font-weight:700; }
.toc-sub.is-active::before{ opacity:1; width:7px; height:7px; }
/* white sidebar: borders + active accent */
:root[data-fill="white"] .toc-ch{ border-top-color:var(--line); }
:root[data-fill="white"] .toc-ch.is-active{ color:var(--ink); }
:root[data-fill="white"] .toc-sub.is-active{ color:var(--accent); }
:root[data-fill="white"] .toc-sub.is-active::before{ background:var(--accent); }

/* ============================================================
   LAYOUT: REPORT (密度の高い本文ページ)
   ============================================================ */
.frame.report .content{ justify-content:flex-start; }
.report__intro{
  font-size:20px; line-height:1.9; color:var(--ink); margin:16px 0 6px; max-width:none;
  text-align:justify;
}
.report__intro b{ color:var(--accent); font-weight:700; }
.report__cols{ display:grid; grid-template-columns:1fr 1fr; gap:26px 52px; margin-top:22px; }
.report__cols.with-fig{ grid-template-columns:1fr 1fr; }
.report__col h3{
  font-size:21px; font-weight:700; color:var(--ink); margin:0 0 10px;
  padding-left:14px; position:relative; letter-spacing:.01em;
}
.report__col h3::before{
  content:""; position:absolute; left:0; top:2px; bottom:2px; width:5px;
  border-radius:3px; background:var(--accent);
}
.report__col h3 + h3{ margin-top:20px; }
.report__col p{
  font-size:16.5px; line-height:1.95; color:var(--ink-soft); margin:0 0 14px;
  text-align:justify;
}
.report__col p b{ color:var(--ink); font-weight:700; }
.report__col .report__fig{ margin-top:6px; }
.report__col image-slot{
  display:block; width:100%; height:200px; border:2px dashed rgba(107,45,168,.4);
  border-radius:10px; font-size:14px; color:var(--ink-faint);
}
.report__col image-slot[data-filled],
.cover__cobrand image-slot[data-filled],
.media__fig image-slot[data-filled]{
  border-color:transparent;
}
.report__steps{ list-style:none; margin:6px 0 0; padding:0; display:flex; flex-direction:column; gap:12px; }
.report__steps li{ position:relative; padding-left:40px; font-size:16.5px; line-height:1.7; color:var(--ink-soft); min-height:30px; }
.report__steps li b{ color:var(--ink); }
.report__steps li .n{
  position:absolute; left:0; top:0; width:28px; height:28px; border-radius:8px;
  background:var(--accent); color:#fff; font-family:var(--font-en); font-weight:700;
  font-size:15px; display:grid; place-items:center;
}

/* footer: page + brand */
.sb-foot{
  display:flex; align-items:flex-end; justify-content:space-between;
  margin-top:34px; padding-top:22px;
  border-top:1px solid rgba(255,255,255,.28);
  font-size:13px; letter-spacing:.06em;
}
:root[data-fill="white"] .sb-foot{ border-top-color:var(--line); color:var(--ink-faint); }
.sb-foot__page{ font-family:var(--font-en); font-size:20px; font-weight:600; }
.sb-foot__page b{ font-size:28px; }
.sb-foot__brand{ opacity:.8; text-align:right; line-height:1.4; }

/* Powered by Claude (every page) */
.sb-claude{ display:flex; align-items:center; gap:10px; margin-top:auto; padding-top:26px; }
.sb-claude__label{
  font-family:var(--font-en); font-size:11px; letter-spacing:.16em; text-transform:uppercase;
  opacity:.55; white-space:nowrap;
}
.sb-claude__logo{ height:19px; width:auto; display:block; }
/* dark sidebar fills → render Claude mark in reverse (white) */
:root[data-fill="grad"] .sb-claude__logo,
:root[data-fill="solid"] .sb-claude__logo{ filter:brightness(0) invert(1); }

/* ============================================================
   CONTENT — shared
   ============================================================ */
.content{
  position:relative;
  padding:var(--pad);
  display:flex; flex-direction:column;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:12px; white-space:nowrap;
  font-family:var(--font-en); font-size:22px; letter-spacing:.22em;
  text-transform:uppercase; color:var(--accent); font-weight:600;
  margin-bottom:22px;
}
.ey-bar{
  flex:0 0 auto; width:42px; height:3px; border-radius:2px; background:var(--grad-h);
}
.s-title{
  font-size:60px; line-height:1.18; font-weight:800; letter-spacing:.005em;
  margin:0 0 8px; color:var(--ink); text-wrap:balance;
}
.s-sub{ font-size:24px; line-height:1.6; color:var(--ink-soft); margin:14px 0 0; font-weight:400; }
.rule{ height:4px; width:120px; border-radius:3px; background:var(--grad-h); margin:30px 0; }

/* ============================================================
   LAYOUT: COVER (表紙)
   ============================================================ */
.cover .content{ justify-content:center; padding-right:120px; }
.cover .eyebrow{ font-size:25px; }
.cover__title{
  font-size:84px; line-height:1.12; font-weight:700; letter-spacing:.01em;
  margin:6px 0 0; text-wrap:balance;
}
.cover__title .grad{
  background:var(--grad-h); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.cover__lead{ font-size:26px; color:var(--ink-soft); margin-top:30px; line-height:1.6; max-width:24em; }
.cover__rule{ height:2px; width:520px; max-width:80%; background:linear-gradient(90deg, var(--c-orange), var(--c-purple) 55%, transparent); margin:48px 0 0; opacity:.55; }
.cover__issue{ margin-top:18px; font-family:var(--font-en); font-size:14px; letter-spacing:.08em; color:var(--ink-faint); }
.cover__cobrand{ margin-top:30px; display:flex; align-items:center; gap:16px; }
.cover__cobrand-label{ font-family:var(--font-en); font-size:14px; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-faint); }
.cover__cobrand image-slot{ width:200px; height:52px; border:1px dashed rgba(107,45,168,.35); border-radius:8px; font-size:13px; color:var(--ink-faint); }
.cover__claude{ height:44px; width:auto; display:block; }
.divider-mark{ position:absolute !important; right:48px; bottom:40px; width:300px; height:auto; opacity:.16; pointer-events:none; }
.cover__meta{ margin-top:56px; display:flex; gap:56px; font-size:18px; color:var(--ink-soft); }
.cover__meta dt{ font-family:var(--font-en); letter-spacing:.16em; text-transform:uppercase; font-size:16px; color:var(--ink-faint); }
.cover__meta dd{ margin:8px 0 0; font-weight:700; color:var(--ink); font-size:26px; }
/* cover sidebar shows big logo */
.cover .sidebar{ justify-content:center; align-items:center; }
.cover .sidebar__logo{ height:auto; margin:0; }
.cover .sidebar__chip{ padding:22px 26px; }
.cover .sidebar__chip img{ height:60px; }
.cover .rail, .cover .sb-section, .cover .sb-foot, .cover .sb-claude, .cover .toc{ display:none; }
.cover__brandline{ margin-top:30px; font-family:var(--font-en); letter-spacing:.3em; font-size:14px; opacity:.85; }

/* ============================================================
   LAYOUT: AGENDA (目次)
   ============================================================ */
.agenda__list{ margin-top:14px; display:grid; grid-template-columns:1fr 1fr; gap:26px 70px; }
.agenda__item{ display:flex; gap:24px; align-items:flex-start; padding:22px 0; border-top:1px solid var(--line); }
.agenda__num{
  font-family:var(--font-en); font-size:40px; font-weight:600; line-height:1;
  background:var(--grad-h); -webkit-background-clip:text; background-clip:text; color:transparent;
  flex:0 0 auto; min-width:64px;
}
.agenda__body h3{ font-size:27px; margin:0 0 6px; font-weight:700; }
.agenda__body p{ font-size:20px; color:var(--ink-soft); margin:0; line-height:1.55; }

/* ============================================================
   LAYOUT: SECTION DIVIDER (セクション扉)
   ============================================================ */
.divider .content{ justify-content:center; color:#fff; }
.frame.divider{ background:var(--grad); }
.divider .content::before{
  content:""; position:absolute; inset:0; background:rgba(20,12,40,.12); z-index:0;
}
.divider .content > *{ position:relative; z-index:1; }
.divider .eyebrow{ color:#fff; }
.divider .eyebrow::before{ background:#fff; }
.divider__index{ font-family:var(--font-en); font-size:150px; font-weight:700; line-height:1; opacity:.95; }
.divider__title{ font-size:66px; font-weight:700; margin:8px 0 0; letter-spacing:.02em; }
.divider__desc{ font-size:23px; line-height:1.6; margin-top:24px; max-width:26em; opacity:.92; }
/* divider sidebar reverses to translucent */
.divider .sidebar{ background:rgba(255,255,255,.1); }
.divider .rail__item{ opacity:.5; }
.divider .rail__item.is-active{ opacity:1; }
:root[data-fill="white"] .divider .sidebar{ background:var(--paper); }
:root[data-fill="white"] .divider .content{ color:#fff; }

/* ============================================================
   LAYOUT: STANDARD CONTENT (標準)
   ============================================================ */
.std__lead{ font-size:25px; line-height:1.7; color:var(--ink-soft); max-width:30em; margin:0 0 12px; }
.bullets{ list-style:none; margin:26px 0 0; padding:0; display:flex; flex-direction:column; gap:20px; }
.bullets li{ display:flex; gap:18px; align-items:flex-start; font-size:23px; line-height:1.55; }
.bullets li .dot{
  flex:0 0 auto; width:15px; height:15px; border-radius:50%;
  background:var(--accent); margin-top:10px;
}
.bullets li b{ font-weight:700; color:var(--ink); }
.bullets li span{ color:var(--ink-soft); }

/* ============================================================
   LAYOUT: TWO COLUMN (2カラム)
   ============================================================ */
.cols{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; margin-top:20px; align-items:start; }
.cols.two{ grid-template-columns:1fr 1fr; }
.card{
  background:var(--paper-2); border:1px solid var(--line); border-radius:20px;
  padding:36px 34px; display:flex; flex-direction:column;
  position:relative; overflow:hidden;
}
.card-bar{ position:absolute; top:0; left:0; right:0; height:6px; background:var(--accent); z-index:1; }
.card__tag{
  font-family:var(--font-en); font-size:13px; letter-spacing:.2em; text-transform:uppercase;
  color:var(--accent); font-weight:600; margin-bottom:14px;
}
.card h3{ font-size:28px; margin:0 0 14px; font-weight:700; }
.card p{ font-size:19px; line-height:1.6; color:var(--ink-soft); margin:0; }
.card ul{ margin:10px 0 0; padding-left:0; list-style:none; display:flex; flex-direction:column; gap:10px; }
.card ul li{ font-size:18px; color:var(--ink-soft); padding-left:24px; position:relative; line-height:1.5; }
.card ul li::before{ content:"—"; position:absolute; left:0; color:var(--accent-2); font-weight:700; }

/* ============================================================
   LAYOUT: TIMELINE / 図表 (ロードマップ)
   ============================================================ */
.timeline{ margin-top:36px; position:relative; display:grid; grid-template-columns:repeat(4,1fr); gap:0; }
.tl-line{ position:absolute; left:0; right:120px; top:38px; height:4px; background:var(--grad-h); border-radius:3px; }
.tl-step{ position:relative; padding:0 26px 0 0; }
.tl-step__dot{
  width:22px; height:22px; border-radius:50%; background:#fff;
  border:5px solid var(--accent); position:relative; z-index:1; margin-top:28px;
}
.tl-step__when{ font-family:var(--font-en); font-size:17px; letter-spacing:.12em; color:var(--accent); font-weight:600; margin-top:26px; }
.tl-step h4{ font-size:24px; margin:8px 0 10px; font-weight:700; }
.tl-step p{ font-size:17px; line-height:1.55; color:var(--ink-soft); margin:0; }

/* ============================================================
   LAYOUT: KPI / 数値ハイライト
   ============================================================ */
.kpis{ display:grid; grid-template-columns:repeat(3,1fr); gap:34px; margin-top:30px; }
.kpi{ padding:8px 0; }
.kpi__num{
  font-family:var(--font-en); font-size:96px; font-weight:700; line-height:1; letter-spacing:-.01em;
  background:var(--grad-h); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.kpi__num small{ font-size:42px; font-weight:600; }
.kpi__label{ font-size:21px; font-weight:700; margin-top:12px; }
.kpi__note{ font-size:17px; color:var(--ink-soft); margin-top:6px; line-height:1.5; }
.kpi + .kpi{ border-left:1px solid var(--line); padding-left:34px; }

/* ============================================================
   LAYOUT: BIG IMAGE (画像大きめ)
   ============================================================ */
.media .content{ padding:0; flex-direction:row; }
.media__text{ flex:0 0 42%; padding:var(--pad) 64px var(--pad) var(--pad); display:flex; flex-direction:column; justify-content:center; }
.media__fig{ flex:1 1 auto; position:relative; background:var(--paper-2); }
.media__fig image-slot{ position:absolute; inset:0; width:100%; height:100%; font-size:22px; color:var(--accent); border:2px dashed rgba(107,45,168,.4); border-radius:10px; }
.media__caption{
  position:absolute; left:0; bottom:0; padding:22px 30px; z-index:2;
  background:linear-gradient(180deg, transparent, rgba(20,12,40,.78));
  color:#fff; font-size:18px; right:0;
}
.feat-list{ list-style:none; margin:22px 0 0; padding:0; display:flex; flex-direction:column; gap:16px; }
.feat-list li{ font-size:21px; display:flex; gap:14px; align-items:flex-start; line-height:1.5; }
.feat-list li .fcheck{ color:#fff; font-weight:800; font-size:15px; flex:0 0 auto;
  width:28px; height:28px; border-radius:50%; background:var(--accent); display:grid; place-items:center; margin-top:2px; }

/* ============================================================
   LAYOUT: CLOSING
   ============================================================ */
.closing .content{ justify-content:center; align-items:flex-start; }
.closing__big{ font-size:72px; font-weight:700; line-height:1.2; text-wrap:balance; }
.closing__big .grad{ background:var(--grad-h); -webkit-background-clip:text; background-clip:text; color:transparent; }
.closing__sub{ font-size:25px; color:var(--ink-soft); margin-top:24px; line-height:1.6; max-width:28em; }
.closing__contact{ margin-top:54px; display:flex; align-items:center; gap:22px; }
.closing__contact img{ height:60px; }
.closing__contact .info{ font-size:18px; color:var(--ink-soft); line-height:1.5; }

/* ============================================================
   LAYOUT: TABLE (表組み)
   ============================================================ */
.tbl{ width:100%; border-collapse:collapse; margin-top:26px; table-layout:fixed; }
.tbl thead th{
  font-family:var(--font-en); font-size:16px; font-weight:700; letter-spacing:.12em;
  text-transform:uppercase; text-align:left; color:#fff; padding:16px 24px;
  background:var(--grad-h);
}
.tbl thead th:first-child{ border-top-left-radius:12px; }
.tbl thead th:last-child{ border-top-right-radius:12px; }
.tbl tbody td{
  padding:20px 24px; font-size:21px; line-height:1.5; color:var(--ink-soft);
  border-bottom:1px solid var(--line); vertical-align:top;
}
.tbl tbody tr:nth-child(even){ background:var(--paper-2); }
.tbl tbody td:first-child{ font-weight:700; color:var(--ink); }
.tbl tbody td b{ color:var(--accent); font-weight:700; }
.tbl .tag{
  display:inline-block; font-family:var(--font-en); font-size:14px; font-weight:700;
  letter-spacing:.04em; color:#fff; background:var(--accent); padding:4px 12px; border-radius:999px;
}

/* ============================================================
   LAYOUT: CODE / PROMPT PANEL (フォルダ構成・プロンプト)
   ============================================================ */
.codeslide .content{ padding:var(--pad) var(--pad) 64px; }
.codeslide .s-title{ font-size:46px; }
.codewrap{ display:flex; gap:34px; margin-top:26px; flex:1 1 auto; min-height:0; }
.codepanel{
  flex:2 1 0; position:relative; overflow:hidden;
  background:#171430; border-radius:18px; padding:30px 34px 34px;
  box-shadow:0 24px 60px -30px rgba(27,42,107,.5);
  display:flex; flex-direction:column;
}
.cp-bar{ position:absolute; top:0; left:0; right:0; height:6px; background:var(--grad-h); z-index:1; }
.codepanel .fname{
  font-family:var(--font-mono); font-size:15px; letter-spacing:.04em; color:#b9b2e0;
  display:flex; align-items:center; gap:10px; margin:6px 0 18px; flex:0 0 auto;
}
.codepanel .fname::before{
  content:""; width:11px; height:11px; border-radius:50%;
  background:var(--c-orange); box-shadow:18px 0 0 var(--c-pink), 36px 0 0 var(--c-blue);
  margin-right:34px;
}
.codepanel pre{
  margin:0; font-family:var(--font-mono); font-size:20px; line-height:1.62;
  color:#e9e7f5; white-space:pre; tab-size:2; flex:1 1 auto; min-height:0;
}
.codepanel.doc pre{ white-space:pre-wrap; }
.codepanel .c{ color:#8f88bf; }            /* comment / muted */
.codepanel .h{ color:#ffb37a; font-weight:700; }  /* heading */
.codepanel .a{ color:#ff8ab8; }            /* accent token */
.codepanel .d{ color:#7fd1ff; }            /* dir / path */
.code-notes{ flex:1 1 0; display:flex; flex-direction:column; gap:20px; justify-content:center; }
.code-note{ }
.code-note .k{
  font-family:var(--font-en); font-size:15px; font-weight:700; letter-spacing:.1em;
  text-transform:uppercase; color:var(--accent); margin-bottom:6px;
}
.code-note h4{ font-size:23px; margin:0 0 6px; font-weight:700; }
.code-note p{ font-size:18px; line-height:1.55; color:var(--ink-soft); margin:0; }

/* ============================================================
   LAYOUT: HARNESS (全体図 — 3グループ × 3要素)
   ============================================================ */
.harness-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; margin-top:26px; }
.hgroup{ background:var(--paper-2); border:1px solid var(--line); border-radius:20px; overflow:hidden; display:flex; flex-direction:column; }
.hgroup__head{
  font-size:19px; font-weight:700; color:#fff; background:var(--grad-h);
  padding:16px 24px; letter-spacing:.02em;
}
.hitem{ padding:18px 24px; border-top:1px solid var(--line); flex:1 1 0; }
.hitem h4{ font-size:22px; margin:0 0 5px; font-weight:700; }
.hitem h4 span{ font-family:var(--font-en); font-size:14px; color:var(--accent); font-weight:700; margin-right:10px; }
.hitem p{ font-size:17px; color:var(--ink-soft); margin:0; line-height:1.5; }
.harness__formula{
  margin-top:18px; font-family:var(--font-mono); font-size:18px; color:var(--ink-faint);
  letter-spacing:.02em;
}
.harness__formula b{
  background:var(--grad-h); -webkit-background-clip:text; background-clip:text; color:transparent; font-weight:700;
}

/* ============================================================
   LAYOUT: CHECKLIST (研修当日の進行手順)
   ============================================================ */
.checklist-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; margin-top:26px; align-items:start; }
.clcol{ background:var(--paper-2); border:1px solid var(--line); border-radius:20px; overflow:hidden; }
.clcol__head{ background:var(--grad-h); color:#fff; padding:15px 22px; font-weight:700; font-size:19px; letter-spacing:.02em; }
.clcol__head small{ display:block; font-size:13px; font-weight:500; opacity:.85; margin-top:3px; letter-spacing:.04em; }
.clist{ list-style:none; margin:0; padding:18px 22px 22px; display:flex; flex-direction:column; gap:16px; }
.clist li{ display:flex; gap:13px; align-items:flex-start; font-size:19px; line-height:1.45; color:var(--ink); }
.clist li .cbx{ flex:0 0 auto; width:22px; height:22px; border:2px solid var(--accent); border-radius:6px; margin-top:2px; }
.clist li .t{ font-family:var(--font-en); color:var(--accent); font-weight:700; font-size:14px; margin-right:6px; white-space:nowrap; }

/* ============================================================
   Confidential footer + vertical balance
   ============================================================ */
.confidential{
  position:absolute !important; left:var(--pad); bottom:34px;
  font-family:var(--font-en); font-size:13px; font-weight:500; letter-spacing:.06em;
  color:currentColor; opacity:.4; pointer-events:none; z-index:3;
}
.cover .confidential{ left:var(--pad); }

/* ============================================================
   Watermark + copy guard（抑止策。html[data-guard="off"]で無効化）
   ============================================================ */
.watermark{
  position:absolute; inset:-10%; z-index:2; pointer-events:none; overflow:hidden;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:210px; transform:rotate(-22deg);
}
.watermark span{
  font-family:var(--font-en); font-size:84px; font-weight:700; letter-spacing:.16em;
  white-space:nowrap; color:currentColor; opacity:.04;
  -webkit-user-select:none; user-select:none;
}
html:not([data-guard="off"]) .frame{ -webkit-user-select:none; user-select:none; }
html:not([data-guard="off"]) .frame img{ -webkit-user-drag:none; }
html[data-guard="off"] .watermark{ display:none; }

/* vertical balance: header stays anchored at top, the main body block
   centers in the remaining space (avoids floating titles on sparse slides) */
.frame.std .bullets,
.frame.twocol .cols,
.frame.threecol .cols,
.frame.table .tbl,
.frame.kpi .kpis,
.frame.checklist .checklist-grid,
.frame.agenda .agenda__list{ margin-top:auto; margin-bottom:auto; }
.frame.harness .harness-grid{ margin-top:auto; }
.frame.harness .harness__formula{ margin-bottom:auto; }

/* NG / OK comparison card accents */
.card.ng .card-bar{ background:var(--c-pink); }
.card.ok .card-bar{ background:var(--c-blue); }
.card.ng .card__tag{ color:var(--c-pink); }
.card.ok .card__tag{ color:var(--c-blue); }
.card.rec{ outline:2px solid var(--accent); outline-offset:-2px; }
.card.rec .card__tag{ color:var(--accent); }

/* Plan × feature matrix */
.tbl.matrix th, .tbl.matrix td{ text-align:center; }
.tbl.matrix th:first-child, .tbl.matrix td:first-child{ text-align:left; }
.tbl.matrix tbody td{ font-size:19px; padding:13px 14px; }
.tbl .yes{ color:var(--c-blue); font-weight:700; }
.tbl .ltd{ color:var(--c-orange); font-weight:700; }
.tbl .no{ color:var(--ink-faint); }

/* ============================================================
   Entrance animations (transform only — content never hidden)
   ============================================================ */
@media (prefers-reduced-motion:no-preference){
  [data-deck-active] .anim{ animation:rise .55s cubic-bezier(.2,.7,.2,1) both; }
  [data-deck-active] .anim-2{ animation:rise .55s .07s cubic-bezier(.2,.7,.2,1) both; }
  [data-deck-active] .anim-3{ animation:rise .55s .14s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes rise{ from{ transform:translateY(20px); } to{ transform:none; } }

/* Tweaks panel sits above the deck */
#tweak-root{ position:fixed; inset:0; pointer-events:none; z-index:2147483000; }
#tweak-root > *{ pointer-events:auto; }
