/* Tsukuyomi 公式サイトの共通の見た目（2026-09-29 Claude Code（Opus 5.5））
   値は見本帖 Tsukuyomi（tokens.json・アプリ main の tk-*）をそのまま使い、新しい色は足さない。
   月夜（dark）が既定。朝の書斎（light）は OS の設定か、切替で html[data-theme="light"]（localStorage tsukuyomi:theme）。
   月光 tk-moon は「選択・トピックセンテンス・引用タグ・主ボタン」にだけ。カードに影を付けない。ロゴの藍 #312E81 はテーマで変えない。 */

:root {
  color-scheme: dark;
  --tk-ink: oklch(0.13 0.018 262);
  --tk-ink2: oklch(0.165 0.02 262);
  --tk-panel: oklch(0.19 0.022 262);
  --tk-panel-hi: oklch(0.235 0.024 262);
  --tk-line: oklch(0.30 0.02 262);
  --tk-line-soft: oklch(0.26 0.018 262);
  --tk-fg: oklch(0.93 0.012 85);
  --tk-fg2: oklch(0.72 0.014 85);
  --tk-fg3: oklch(0.56 0.014 262);
  --tk-moon: oklch(0.90 0.055 88);
  --tk-on-moon: oklch(0.16 0.02 262);
  --tk-indigo: oklch(0.55 0.14 275);
  --tk-indigo-fg: oklch(0.82 0.09 275);
  --tk-ok: oklch(0.78 0.13 155);
  --tk-warn: oklch(0.80 0.14 75);
  --tk-danger: oklch(0.68 0.17 25);
  --tk-track: oklch(0.28 0.02 262);
  --tk-grad-a: oklch(0.21 0.03 265);
  --tk-grad-b: oklch(0.175 0.022 262);
  --tk-pro-a: oklch(0.215 0.03 268);
  --tk-pro-b: oklch(0.185 0.022 262);
  --tk-moon-select: oklch(0.90 0.055 88 / 0.1);
  --tk-moon-select-line: oklch(0.90 0.055 88 / 0.35);
  --tk-moon-topic: oklch(0.90 0.055 88 / 0.05);
  --tk-moon-topic-line: oklch(0.90 0.055 88 / 0.3);
  --shadow-paper: 0 20px 60px oklch(0.05 0 0 / .5);
  --moon-show: 1;
  --brand-indigo: #312e81;
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", -apple-system, "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1120px;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --tk-ink: oklch(0.975 0.006 85);
    --tk-ink2: oklch(0.955 0.008 85);
    --tk-panel: oklch(0.99 0.004 85);
    --tk-panel-hi: oklch(0.93 0.01 85);
    --tk-line: oklch(0.82 0.012 85);
    --tk-line-soft: oklch(0.885 0.01 85);
    --tk-fg: oklch(0.22 0.02 262);
    --tk-fg2: oklch(0.40 0.02 262);
    --tk-fg3: oklch(0.55 0.02 262);
    --tk-moon: oklch(0.58 0.11 80);
    --tk-on-moon: oklch(0.99 0.004 85);
    --tk-indigo: oklch(0.50 0.15 275);
    --tk-indigo-fg: oklch(0.42 0.14 275);
    --tk-ok: oklch(0.55 0.13 155);
    --tk-warn: oklch(0.60 0.14 75);
    --tk-danger: oklch(0.55 0.18 25);
    --tk-track: oklch(0.88 0.01 85);
    --tk-grad-a: oklch(0.94 0.02 85);
    --tk-grad-b: oklch(0.985 0.006 85);
    --tk-pro-a: oklch(0.95 0.025 85);
    --tk-pro-b: oklch(0.985 0.006 85);
    --tk-moon-select: oklch(0.58 0.11 80 / 0.1);
    --tk-moon-select-line: oklch(0.58 0.11 80 / 0.35);
    --tk-moon-topic: oklch(0.58 0.11 80 / 0.05);
    --tk-moon-topic-line: oklch(0.58 0.11 80 / 0.3);
    --shadow-paper: 0 20px 50px oklch(0.3 0.02 262 / .14);
    --moon-show: 0;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --tk-ink: oklch(0.975 0.006 85);
  --tk-ink2: oklch(0.955 0.008 85);
  --tk-panel: oklch(0.99 0.004 85);
  --tk-panel-hi: oklch(0.93 0.01 85);
  --tk-line: oklch(0.82 0.012 85);
  --tk-line-soft: oklch(0.885 0.01 85);
  --tk-fg: oklch(0.22 0.02 262);
  --tk-fg2: oklch(0.40 0.02 262);
  --tk-fg3: oklch(0.55 0.02 262);
  --tk-moon: oklch(0.58 0.11 80);
  --tk-on-moon: oklch(0.99 0.004 85);
  --tk-indigo: oklch(0.50 0.15 275);
  --tk-indigo-fg: oklch(0.42 0.14 275);
  --tk-ok: oklch(0.55 0.13 155);
  --tk-warn: oklch(0.60 0.14 75);
  --tk-danger: oklch(0.55 0.18 25);
  --tk-track: oklch(0.88 0.01 85);
  --tk-grad-a: oklch(0.94 0.02 85);
  --tk-grad-b: oklch(0.985 0.006 85);
  --tk-pro-a: oklch(0.95 0.025 85);
  --tk-pro-b: oklch(0.985 0.006 85);
  --tk-moon-select: oklch(0.58 0.11 80 / 0.1);
  --tk-moon-select-line: oklch(0.58 0.11 80 / 0.35);
  --tk-moon-topic: oklch(0.58 0.11 80 / 0.05);
  --tk-moon-topic-line: oklch(0.58 0.11 80 / 0.3);
  --shadow-paper: 0 20px 50px oklch(0.3 0.02 262 / .14);
  --moon-show: 0;
}

/* 土台 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--tk-ink); color: var(--tk-fg);
  font-family: var(--sans); font-size: 16px; line-height: 1.85;
  -webkit-font-smoothing: antialiased; overflow-wrap: anywhere;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
p, li { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--mincho); font-weight: 500; letter-spacing: .04em; margin: 0; text-wrap: balance; color: var(--tk-fg); }
:focus-visible { outline: 2px solid var(--tk-moon); outline-offset: 3px; border-radius: 5px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--tk-panel); padding: 8px 12px; border-radius: 7px; }
.skip:focus { left: 8px; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }

/* ロゴ（藍の円に白の「月」＋明朝の名＋等幅の添え。名は画像にしない） */
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--tk-fg); flex-shrink: 0; }
.brand svg { width: 32px; height: 32px; flex-shrink: 0; }
.brand-name { display: block; font-family: var(--mincho); font-weight: 500; font-size: 19px; letter-spacing: .12em; line-height: 1; }
.brand-sub { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .2em; color: var(--tk-fg3); margin-top: 6px; line-height: 1; text-transform: uppercase; }

/* 上の帯 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--tk-ink) 90%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tk-line-soft);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.gnav { display: flex; gap: 2px; margin-left: auto; }
.gnav a { position: relative; font-size: 14px; color: var(--tk-fg2); text-decoration: none; padding: 8px 11px; border-radius: 6px; transition: color .15s; }
.gnav a:hover { color: var(--tk-fg); }
.gnav a[aria-current="page"] { color: var(--tk-fg); }
.gnav a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -12px; height: 2px; background: var(--tk-moon); }
.head-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 34px; height: 34px; display: grid; place-items: center; flex-shrink: 0;
  border-radius: 6px; border: 1px solid var(--tk-line-soft); background: transparent; color: var(--tk-fg3); cursor: pointer;
  transition: color .15s, border-color .2s;
}
.icon-btn:hover { color: var(--tk-moon); border-color: var(--tk-line); }
.icon-btn svg { width: 15px; height: 15px; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .i-sun { display: none; }
  :root:not([data-theme="dark"]) .theme-toggle .i-moon { display: block; }
}
.menu-btn { display: none; }
.drawer-cta { display: none; }
.menu-btn .i-close { display: none; }
.site-header.is-open .menu-btn .i-menu { display: none; }
.site-header.is-open .menu-btn .i-close { display: block; }
@media (max-width: 1040px) {
  .site-header .wrap { gap: 12px; }
  .head-actions { margin-left: auto; }
  .head-actions .btn { display: none; }
  .menu-btn { display: grid; }
  .gnav {
    display: none; position: fixed; left: 0; right: 0; top: 64px; bottom: 0; margin: 0; overflow-y: auto;
    flex-direction: column; gap: 0; padding: 8px 16px 32px; background: var(--tk-ink);
  }
  .site-header.is-open .gnav { display: flex; }
  .gnav a { font-size: 17px; padding: 15px 4px; border-radius: 0; border-bottom: 1px solid var(--tk-line-soft); }
  .gnav a[aria-current="page"] { color: var(--tk-moon); }
  .gnav a[aria-current="page"]::after { display: none; }
  .drawer-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
  .drawer-cta .btn { width: 100%; }
}
@media (max-width: 380px) { .brand-sub { display: none; } }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--sans); font-size: 14px; font-weight: 500; line-height: 1.25;
  padding: 10px 16px; border-radius: 7px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: filter .15s, border-color .2s, color .15s;
}
.btn:hover { filter: brightness(1.15); }
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn--primary { background: var(--tk-moon); color: var(--tk-on-moon); font-weight: 600; }
.btn--outline { border-color: var(--tk-line); color: var(--tk-fg); background: transparent; }
.btn--outline:hover { filter: none; border-color: var(--tk-fg3); }
.btn--ghost { color: var(--tk-fg2); background: transparent; padding-left: 6px; padding-right: 6px; }
.btn--ghost:hover { filter: none; color: var(--tk-fg); }
.btn--lg { font-size: 15px; padding: 13px 22px; }
.btn--sm { font-size: 13px; padding: 7px 12px; }

/* 札（色だけで伝えず、必ず言葉を入れる） */
.tag {
  display: inline-flex; align-items: center; gap: 4px; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .04em;
  line-height: 1.5; padding: 1px 7px; border-radius: 4px; background: var(--tk-track); color: var(--tk-fg2);
  vertical-align: 2px; white-space: nowrap;
}
.tag--moon { background: color-mix(in oklch, var(--tk-moon) 15%, transparent); color: var(--tk-moon); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--tk-moon) 30%, transparent); }
.tag--indigo { background: color-mix(in oklch, var(--tk-indigo) 18%, transparent); color: var(--tk-indigo-fg); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--tk-indigo) 32%, transparent); }
.tag--ok { background: color-mix(in oklch, var(--tk-ok) 14%, transparent); color: var(--tk-ok); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--tk-ok) 28%, transparent); }
.tag--warn { background: color-mix(in oklch, var(--tk-warn) 14%, transparent); color: var(--tk-warn); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--tk-warn) 28%, transparent); }

/* 見出しと節 */
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--tk-fg3); margin: 0 0 12px; }
.section { padding: 88px 0; }
.section + .section { border-top: 1px solid var(--tk-line-soft); }
.section--band { background: var(--tk-ink2); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(24px, 2.6vw, 31px); line-height: 1.45; }
.section-head p { margin: 10px 0 0; color: var(--tk-fg2); max-width: 60ch; }
.more { font-size: 14px; color: var(--tk-fg2); text-decoration: none; white-space: nowrap; }
.more:hover { color: var(--tk-fg); }
.lead { font-size: 17px; line-height: 1.95; color: var(--tk-fg2); margin: 0; max-width: 62ch; }
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 26px; }
  .lead { font-size: 16px; }
}

/* 面（影なし・1px の tk-line-soft） */
.card { background: var(--tk-panel); border: 1px solid var(--tk-line-soft); border-radius: 10px; padding: 22px; }
a.card { display: block; text-decoration: none; color: inherit; transition: border-color .2s; }
a.card:hover { border-color: var(--tk-line); }
.card h3 { font-size: 18px; line-height: 1.5; }
.card p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.85; color: var(--tk-fg2); }
.card .ico { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--tk-panel-hi); color: var(--tk-fg2); margin-bottom: 14px; }
.card .ico svg { width: 17px; height: 17px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }

/* トピックセンテンスの型（左 2px の月光・淡い地）。決め台詞だけに使う */
.topic { border-left: 2px solid var(--tk-moon); background: var(--tk-moon-topic); border-radius: 0 7px 7px 0; padding: 14px 18px; font-family: var(--mincho); font-size: 17px; line-height: 1.85; color: var(--tk-fg); }

/* 1 画面目 */
.hero { position: relative; overflow: hidden; padding: 64px 0 0; }
/* 月（見本帖: moon.png は藍と銀に寄せる filter と screen で重ねる。紹介ページの冒頭と同じ扱い）。月夜で、広い画面だけ */
.hero-moon { position: absolute; top: 28px; right: calc(50% - 600px); width: 460px; aspect-ratio: 1; pointer-events: none; user-select: none; opacity: var(--moon-show); }
.hero-moon .glow { position: absolute; inset: 0; border-radius: 50%; filter: blur(8px); background: radial-gradient(circle, rgba(240, 232, 205, .12) 0%, rgba(240, 232, 205, .035) 38%, transparent 62%); }
.hero-moon img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56%; aspect-ratio: 1; opacity: .9; mix-blend-mode: screen;
  filter: sepia(.15) hue-rotate(180deg) saturate(.5) brightness(1.05) drop-shadow(0 0 60px rgba(240, 232, 205, .3)); }
.hero-moon svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 1040px) { .hero-moon { display: none; } }
.hero-in { position: relative; z-index: 1; max-width: 760px; }
.hero-mark { width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 0 40px rgba(120, 120, 220, .22); margin-bottom: 22px; }
.hero h1 { font-size: clamp(32px, 4.8vw, 56px); line-height: 1.34; }
.hero .lead { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 30px; }
.hero-note { margin: 14px 0 0; font-size: 13px; color: var(--tk-fg3); }
.hero-note + .hero-note { margin-top: 6px; }
/* LINE の合言葉。かぎ括弧で囲むと括弧ごと送る人が出るので、札の見た目で見せる（LINE 担当 knowledge/05・2026-10-01） */
.kw { display: inline-block; padding: 0 .5em; margin: 0 .15em; border: 1px solid var(--tk-line); border-radius: 6px; background: var(--tk-panel-hi); color: var(--tk-fg); font-weight: 700; letter-spacing: .06em; line-height: 1.6; white-space: nowrap; }
.hero-shot { position: relative; z-index: 1; margin-top: 48px; }
.page-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--tk-line-soft); }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.4; }
.page-hero .lead { margin-top: 16px; }
@media (max-width: 640px) {
  .hero { padding-top: 44px; }
  .hero-mark { width: 44px; height: 44px; margin-bottom: 20px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-shot { margin-top: 40px; }
  .page-hero { padding: 44px 0 30px; }
}

/* 画面の写真（テーマに合わせて差し替える。枠は論文の紙と同じ影） */
.shot { margin: 0; border: 1px solid var(--tk-line); border-radius: 12px; overflow: hidden; background: var(--tk-ink2); box-shadow: var(--shadow-paper); }
.shot img { width: 100%; }
.shot--flat { box-shadow: none; }
.shot--top { border-bottom: 0; border-radius: 12px 12px 0 0; }
.shot--phone { max-width: 330px; margin: 0 auto; border-radius: 26px; border-width: 1px; }
figcaption, .caption { font-size: 13px; line-height: 1.7; color: var(--tk-fg3); margin-top: 12px; }
.theme-dark-only { display: block; }
.theme-light-only { display: none; }
:root[data-theme="light"] .theme-dark-only { display: none; }
:root[data-theme="light"] .theme-light-only { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-dark-only { display: none; }
  :root:not([data-theme="dark"]) .theme-light-only { display: block; }
}
.pc-only { display: block; }
.phone-only { display: none; }
@media (max-width: 640px) {
  .pc-only { display: none; }
  .phone-only { display: block; }
}

/* 流れ（番号つきの段） */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: step; }
.steps > li { counter-increment: step; background: var(--tk-panel); border: 1px solid var(--tk-line-soft); border-radius: 10px; padding: 22px; }
.steps > li::before { content: "STEP " counter(step, decimal-leading-zero); display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--tk-fg3); margin-bottom: 12px; }
.steps h3 { font-size: 18px; line-height: 1.5; }
.steps p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.85; color: var(--tk-fg2); }

/* 機能の段（字と写真を左右に） */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.feature + .feature { margin-top: 88px; }
.feature-text h2 { font-size: clamp(23px, 2.4vw, 29px); line-height: 1.45; }
.feature-text > p { margin: 14px 0 0; color: var(--tk-fg2); }
.feature-text ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature-text li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.8; color: var(--tk-fg2); }
.feature-text li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 7px; height: 7px; border-radius: 2px; background: var(--tk-line); }
.feature-text li b { color: var(--tk-fg); font-weight: 500; }
/* 番号つきの手順（使い方の「原稿を作る」の 1 つずつ聞く問い・2026-10-26） */
.feature-text ol { margin: 18px 0 0; padding: 0 0 0 1.5em; display: grid; gap: 10px; }
.feature-text ol li { padding-left: 4px; }
.feature-text ol li::before { content: none; }
.feature-text ol li::marker { color: var(--tk-fg3); font-family: "JetBrains Mono", monospace; font-size: 13px; }
@media (max-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feature + .feature { margin-top: 64px; }
}

/* 目次（ページ内の節へ） */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.toc a { font-size: 13.5px; text-decoration: none; color: var(--tk-fg2); border: 1px solid var(--tk-line-soft); border-radius: 20px; padding: 5px 13px; transition: border-color .2s, color .15s; }
.toc a:hover { color: var(--tk-fg); border-color: var(--tk-line); }

/* 表（料金・比較） */
.table-wrap { overflow-x: auto; border: 1px solid var(--tk-line-soft); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--tk-line-soft); line-height: 1.7; }
thead th { font-family: var(--mincho); font-weight: 500; font-size: 16px; background: var(--tk-ink2); }
tbody th { font-weight: 500; color: var(--tk-fg); width: 32%; }
td { color: var(--tk-fg2); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
.yes { color: var(--tk-fg); }
.no { color: var(--tk-fg3); }
/* くらべる表（スマホでは行ごとに積む。横に送らないと読めない列を作らない） */
@media (max-width: 640px) {
  table.cmp { min-width: 0; }
  table.cmp thead { display: none; }
  table.cmp tr { display: block; padding: 16px; border-bottom: 1px solid var(--tk-line-soft); }
  table.cmp tr:last-child { border-bottom: 0; }
  table.cmp th, table.cmp td { display: block; width: auto; padding: 0; border: 0; }
  table.cmp td::before { content: attr(data-h); display: block; margin-top: 10px; font-size: 12px; color: var(--tk-fg3); }
}

/* プランのカード */
.plans { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.plan { background: var(--tk-panel); border: 1px solid var(--tk-line-soft); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.plan--pro { background: linear-gradient(120deg, var(--tk-pro-a), var(--tk-pro-b)); border-color: var(--tk-line); }
.plan h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.plan .price { font-family: var(--mincho); font-size: 30px; line-height: 1.2; }
.plan .price small { font-family: var(--sans); font-size: 13px; color: var(--tk-fg3); margin-left: 6px; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.plan li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.75; color: var(--tk-fg2); }
.plan li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 5px; border-left: 1.6px solid var(--tk-fg3); border-bottom: 1.6px solid var(--tk-fg3); transform: rotate(-45deg); }
.plan .fine { font-size: 12.5px; color: var(--tk-fg3); margin: 0; }

/* よくある質問（開閉） */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--tk-panel); border: 1px solid var(--tk-line-soft); border-radius: 10px; transition: border-color .2s; }
.faq details[open] { border-color: var(--tk-line); }
.faq summary { list-style: none; cursor: pointer; padding: 17px 52px 17px 20px; position: relative; font-weight: 500; line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 8px; height: 8px; border-right: 1.6px solid var(--tk-fg3); border-bottom: 1.6px solid var(--tk-fg3); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 20px 18px; color: var(--tk-fg2); font-size: 15px; }
.faq .answer p { margin: 0 0 10px; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 22px; margin-bottom: 18px; }

/* お知らせ */
.news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--tk-line-soft); }
.news li { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--tk-line-soft); }
.news time { font-family: var(--mono); font-size: 13px; color: var(--tk-fg3); padding-top: 3px; }
.news .t { font-weight: 500; line-height: 1.7; }
.news .d { margin: 4px 0 0; font-size: 14.5px; color: var(--tk-fg2); line-height: 1.8; }
.news .t .tag { margin-left: 6px; }
@media (max-width: 640px) { .news li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* まだできていないこと */
.notyet { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.notyet li { background: var(--tk-panel); border: 1px solid var(--tk-line-soft); border-left: 2px solid var(--tk-warn); border-radius: 0 10px 10px 0; padding: 16px 20px; font-size: 15px; line-height: 1.8; color: var(--tk-fg2); }
.notyet li b { color: var(--tk-fg); font-weight: 500; display: block; margin-bottom: 2px; }

/* 本文の読みもの（運営・規約の状況など） */
.prose { max-width: 720px; }
.prose h2 { font-size: 23px; margin: 52px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--tk-fg2); }
.prose a { color: var(--tk-fg); text-decoration: underline; text-decoration-color: var(--tk-line); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--tk-moon); }
.prose dl { display: grid; grid-template-columns: 170px minmax(0, 1fr); margin: 0; border-top: 1px solid var(--tk-line-soft); }
.prose dt, .prose dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--tk-line-soft); }
.prose dt { color: var(--tk-fg3); font-size: 14px; }
.prose dd { color: var(--tk-fg); }
@media (max-width: 640px) { .prose dl { grid-template-columns: minmax(0, 1fr); } .prose dt { border-bottom: 0; padding-bottom: 0; } }

/* 締めの帯 */
.cta-band { background: linear-gradient(120deg, var(--tk-grad-a), var(--tk-grad-b)); border: 1px solid var(--tk-line-soft); border-radius: 12px; padding: 44px 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 32px; }
.cta-band h2 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.5; }
.cta-band p { margin: 8px 0 0; color: var(--tk-fg2); }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) { .cta-band { padding: 30px 20px; } .cta-band .btns, .cta-band .btns .btn { width: 100%; } }

/* 下の帯 */
.site-footer { border-top: 1px solid var(--tk-line-soft); padding: 56px 0 40px; background: var(--tk-ink); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid p { margin: 16px 0 0; font-size: 14px; color: var(--tk-fg2); line-height: 1.85; max-width: 32ch; }
.foot-col h2 { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--tk-fg3); margin: 4px 0 12px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-col a { font-size: 14px; color: var(--tk-fg2); text-decoration: none; }
.foot-col a:hover { color: var(--tk-fg); }
.foot-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--tk-line-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: 12.5px; color: var(--tk-fg3); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* 動画 */
.video { margin: 0; border: 1px solid var(--tk-line); border-radius: 12px; overflow: hidden; background: #000; }
.video video { width: 100%; aspect-ratio: 16 / 9; }

/* YouTube の解説への入口（2026-10-12）。埋め込みにせず、自前のサムネイルから YouTube へリンクする（外の Cookie を置かない） */
.yt-card { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 28px; padding: 16px; background: var(--tk-panel); border: 1px solid var(--tk-line-soft); border-radius: 12px; text-decoration: none; color: inherit; transition: border-color .2s; }
.yt-card:hover { border-color: var(--tk-line); }
.yt-card:not(.btn) { text-decoration: none; color: inherit; }  /* お知らせの li の中でも、文の中のリンクの下線を付けない */
.yt-thumb { position: relative; display: block; border-radius: 8px; overflow: hidden; background: #000; }
.yt-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 60px; height: 42px; margin: -21px 0 0 -30px; border-radius: 12px; background: oklch(0.13 0.018 262 / .78); color: #fff; display: grid; place-items: center; transition: background .2s; }
.yt-play svg { width: 20px; height: 20px; fill: currentColor; stroke: none; margin-left: 2px; }
.yt-card:hover .yt-play { background: oklch(0.13 0.018 262 / .92); }
.yt-text { display: block; }
.yt-text .eyebrow { display: block; margin-bottom: 8px; }
.yt-title { display: block; font-family: var(--mincho); font-weight: 500; font-size: 21px; line-height: 1.5; letter-spacing: .04em; color: var(--tk-fg); }
.yt-desc { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.85; color: var(--tk-fg2); }
.yt-go { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--tk-moon); }
.yt-card + .video, .video + .yt-card { margin-top: 18px; }
.yt-card--sm { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 18px; padding: 12px; max-width: 640px; margin-top: 26px; }
.yt-card--sm .yt-title { font-size: 17px; }
.yt-card--sm .yt-desc { font-size: 13.5px; }
.yt-card--sm .yt-go { margin-top: 8px; font-size: 13px; }
.yt-card--sm .yt-play { width: 44px; height: 31px; margin: -15.5px 0 0 -22px; border-radius: 9px; }
.yt-card--sm .yt-play svg { width: 15px; height: 15px; }
.yt-card--news { display: block; max-width: 360px; margin-top: 12px; padding: 0; border: 0; background: none; }
@media (max-width: 720px) { .yt-card { grid-template-columns: minmax(0, 1fr); gap: 14px; } .yt-card--sm { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } }
@media (max-width: 440px) { .yt-card--sm { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* 文の中のリンク（ボタン以外） */
main p a:not(.btn):not(.more), main li a:not(.btn), .hero-note a {
  color: var(--tk-fg); text-decoration: underline; text-decoration-color: var(--tk-line); text-decoration-thickness: 1px; text-underline-offset: 3px;
  transition: text-decoration-color .15s;
}
main p a:not(.btn):not(.more):hover, main li a:not(.btn):hover, .hero-note a:hover { text-decoration-color: var(--tk-moon); }

/* 利用規約・プライバシーポリシー（/terms/・/privacy/。legal/render-site.py が作る） */
.legal-toc { margin: 0 0 40px; max-width: 760px; }
.prose.legal h2 { font-size: 21px; margin: 44px 0 12px; }
.prose.legal h3 { font-size: 17px; margin: 26px 0 8px; }
.prose.legal p { margin: 0 0 12px; }
.prose.legal ol, .prose.legal ul { margin: 0 0 14px; padding-left: 1.6em; }
.prose.legal li { margin: 6px 0; }
.prose.legal .table-wrap { margin: 14px 0 18px; }
.prose.legal .enacted { margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--tk-line-soft); font-size: 14px; color: var(--tk-fg3); }
@media (max-width: 640px) {
  /* 狭い幅では表を 1 行ずつのカードに積む（国の列が横に隠れないように） */
  .prose.legal .table-wrap { overflow: visible; border: 0; border-radius: 0; }
  .prose.legal table, .prose.legal tbody, .prose.legal tr, .prose.legal th, .prose.legal td { display: block; width: auto; min-width: 0; }
  .prose.legal thead { display: none; }
  .prose.legal tr { border: 1px solid var(--tk-line-soft); border-radius: 10px; padding: 6px 0; margin-bottom: 10px; }
  .prose.legal tbody th, .prose.legal td { border-bottom: 0; padding: 6px 16px; }
  .prose.legal td::before { content: attr(data-label); display: block; font-size: 12.5px; color: var(--tk-fg3); }
}
