/* AI活用 無料特典 ─ Threads Studio と同じ「近未来」テーマ（画面はダーク、PDF・印刷は白地）
   スマホを先に作り、広い画面で整える */
:root {
  --bg: #04050c;
  --panel: rgba(14, 18, 36, 0.72);
  --panel-solid: #0c1022;
  --panel-2: rgba(24, 30, 58, 0.6);
  --line: rgba(130, 150, 255, 0.14);
  --line-2: rgba(130, 150, 255, 0.26);
  --text: #e9edff;
  --text-2: #a9b3d8;
  --text-3: #7680a8;
  --accent: #5ee7ff;
  --accent-2: #a98bff;
  --accent-soft: rgba(94, 231, 255, 0.1);
  --grad: linear-gradient(120deg, #5ee7ff 0%, #7c8bff 50%, #c46bff 100%);
  --glow: 0 0 0 1px rgba(94, 231, 255, 0.35), 0 0 22px rgba(94, 231, 255, 0.22);
  --ok: #3df5a7;
  --warn: #ffc857;
  --warn-soft: rgba(255, 200, 87, 0.1);
  --bad: #ff5c7a;
  --on-accent: #04050c;
  --line-green: #06c755;
  --line-green-ink: #05b14b;
  --radius: 16px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(94, 231, 255, 0.08);
  --font: "Inter", "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", "Meiryo", system-ui, sans-serif;
  --display: "Orbitron", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", "Consolas", "BIZ UDGothic", "MS Gothic", monospace;
  --bg-image:
    radial-gradient(900px 600px at 12% -10%, rgba(124, 92, 255, 0.22), transparent 60%),
    radial-gradient(800px 600px at 105% 10%, rgba(94, 231, 255, 0.14), transparent 60%),
    radial-gradient(700px 500px at 50% 120%, rgba(196, 107, 255, 0.12), transparent 60%),
    linear-gradient(rgba(130, 150, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 150, 255, 0.045) 1px, transparent 1px);
  --bg-size: auto, auto, auto, 44px 44px, 44px 44px;
  --c: var(--accent);
  --c-soft: var(--accent-soft);
  --c-line: rgba(94, 231, 255, 0.4);
  --header-h: 60px;
  color-scheme: dark;
}
/* テーマ色：暗い背景で光って見える色（文字にしても読みやすい明るさ） */
.theme--chatgpt { --c: #3df5a7; --c-soft: rgba(61, 245, 167, 0.1); --c-line: rgba(61, 245, 167, 0.4); }
.theme--automation { --c: #5ea8ff; --c-soft: rgba(94, 168, 255, 0.11); --c-line: rgba(94, 168, 255, 0.42); }
.theme--sns { --c: #ff7d93; --c-soft: rgba(255, 125, 147, 0.1); --c-line: rgba(255, 125, 147, 0.42); }
.theme--work { --c: #ffc857; --c-soft: rgba(255, 200, 87, 0.1); --c-line: rgba(255, 200, 87, 0.42); }
.theme--new-tools { --c: #b79bff; --c-soft: rgba(183, 155, 255, 0.12); --c-line: rgba(183, 155, 255, 0.45); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: var(--bg-image);
  background-size: var(--bg-size);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
img, svg { display: block; }
h1, h2, h3 { color: var(--text); line-height: 1.45; margin: 0; }
p { margin: 0 0 1em; }
::selection { background: rgba(94, 231, 255, 0.3); }
code { font-family: var(--mono); font-size: 0.9em; background: var(--panel-2); border: 1px solid var(--line); padding: 0.05em 0.4em; border-radius: 5px; }
.sp { display: inline; }
.pc { display: none; }
@media (min-width: 720px) { .sp { display: none; } .pc { display: inline; } }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ガラスのカード（共通） */
.glass, .merit, .worries li, .theme-card, .inside__list li, .step, .promise li, .faq details, .last,
.gift-card, .gift-hero, .prompt, .tpl, .pager a, .next-links a, .adm-month, .adm-check, .next-box, .compare__col, .flow-list li {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* ── ヘッダー・フッター ── */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(6, 8, 20, 0.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(94, 231, 255, 0.5), transparent); pointer-events: none; }
.site-header__inner { max-width: 1120px; margin: 0 auto; min-height: var(--header-h); padding: 8px 16px; display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; font-size: 15px; letter-spacing: 0.04em; margin-right: auto; }
.brand__logo { width: 32px; height: 32px; border-radius: 10px; background: var(--grad); color: var(--on-accent); display: grid; place-items: center; flex: none; box-shadow: 0 0 20px rgba(94, 231, 255, 0.45); }
.brand__logo svg { width: 18px; height: 18px; }
.site-nav { display: none; }
@media (min-width: 900px) {
  .site-nav { display: block; }
  .site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
  .site-nav a { display: block; color: var(--text-2); text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: 9px; transition: all 0.15s; }
  .site-nav a:hover { background: var(--accent-soft); color: var(--text); }
}
.btn-mini {
  display: inline-flex; align-items: center; min-height: 38px; padding: 6px 16px; border-radius: 10px;
  background: var(--line-green); color: #fff; font-weight: 800; font-size: 14px; text-decoration: none; flex: none;
  box-shadow: 0 0 18px rgba(6, 199, 85, 0.35);
}
.btn-mini:hover { background: var(--line-green-ink); }
.site-header__back { font-size: 13px; color: var(--text-2); flex: none; }

.site-footer { position: relative; margin-top: 56px; padding: 40px 16px 110px; background: rgba(6, 8, 20, 0.8); border-top: 1px solid var(--line); color: var(--text-3); text-align: center; font-size: 13px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(169, 139, 255, 0.6), transparent); }
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--accent); }
.site-footer__brand { font-weight: 700; color: var(--text); font-size: 16px; margin-bottom: 4px; }
.site-footer__catch { margin-bottom: 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-bottom: 16px; }
.site-footer__small { font-size: 12px; margin: 0 auto 8px; max-width: 40em; }
.site-footer__copy { font: 600 11px var(--display); letter-spacing: 0.12em; margin: 0; }
.preview-bar { background: var(--warn-soft); color: var(--warn); border-bottom: 1px solid rgba(255, 200, 87, 0.3); text-align: center; font-size: 13px; padding: 6px 12px; font-weight: 700; }
.preview-bar a { margin-left: 12px; color: inherit; }
.print-head { display: none; }

/* ── ボタン ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--panel-2); color: var(--text);
  font: inherit; font-weight: 700; font-size: 15px; line-height: 1.3; text-decoration: none; cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { border-color: var(--accent); box-shadow: var(--glow); }
.btn:active { transform: translateY(1px); }
.btn--block { width: 100%; max-width: 460px; }
.btn--line { position: relative; overflow: hidden; background: var(--line-green); border-color: transparent; color: #fff; box-shadow: 0 0 0 1px rgba(6, 199, 85, 0.5), 0 0 28px rgba(6, 199, 85, 0.35); }
.btn--line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.6s; }
.btn--line:hover { background: var(--line-green-ink); border-color: transparent; box-shadow: 0 0 0 1px rgba(6, 199, 85, 0.6), 0 0 36px rgba(6, 199, 85, 0.5); }
.btn--line:hover::after { transform: translateX(120%); }
.btn--line.is-disabled { background: var(--panel-2); color: var(--text-2); border: 1px dashed var(--line-2); box-shadow: none; cursor: not-allowed; font-size: 15px; }
.btn--line.is-disabled::after { display: none; }
.btn--lg { min-height: 64px; padding: 10px 18px 10px 12px; font-size: 18px; gap: 12px; border-radius: 16px; }
.btn__badge { position: relative; z-index: 1; flex: none; background: #fff; color: var(--line-green-ink); font-size: 12px; font-weight: 900; letter-spacing: 0.04em; border-radius: 8px; padding: 6px 9px; }
.btn__text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; flex: 1; text-align: left; }
.btn__text small { font-size: 12px; font-weight: 700; opacity: 0.92; }
.btn__arrow { position: relative; z-index: 1; width: 22px; height: 22px; flex: none; }
.btn--primary { position: relative; overflow: hidden; background: var(--grad); border-color: transparent; color: var(--on-accent); box-shadow: 0 0 18px rgba(94, 231, 255, 0.3); }
.btn--primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.6s; }
.btn--primary:hover { border-color: transparent; box-shadow: 0 0 28px rgba(94, 231, 255, 0.55); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { background: transparent; }
.btn--small { min-height: 42px; padding: 8px 16px; font-size: 14px; background: var(--c); border-color: transparent; color: var(--on-accent); }
.btn--small:hover { border-color: transparent; box-shadow: 0 0 20px var(--c-line); }
.cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 4px; }
.cta__note { font-size: 13px; color: var(--text-3); margin: 0; max-width: 30em; text-align: center; }

/* ── LP ── */
.lp { overflow: hidden; }
.section { position: relative; padding: 72px 16px; }
.section > * { max-width: 1040px; margin-left: auto; margin-right: auto; }
.section--tint { background: linear-gradient(180deg, rgba(130, 150, 255, 0.05), rgba(130, 150, 255, 0.02)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; font: 700 12px var(--display); color: var(--accent); letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 10px; }
.eyebrow::before, .eyebrow::after { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent); transform: rotate(45deg); }
.title { font-size: clamp(23px, 5.8vw, 32px); font-weight: 800; text-align: center; margin-bottom: 14px; letter-spacing: 0.02em; }
.title::after { content: ""; display: block; width: 56px; height: 3px; border-radius: 3px; margin: 16px auto 0; background: var(--grad); box-shadow: 0 0 14px rgba(94, 231, 255, 0.6); }
.lead { text-align: center; color: var(--text-2); max-width: 36em; margin: 0 auto 32px; }

/* ファーストビュー */
.hero {
  position: relative; display: grid; gap: 40px; align-items: center;
  max-width: 1120px; margin: 0 auto; padding: 40px 16px 64px;
}
@media (min-width: 900px) { .hero { grid-template-columns: 1.15fr 0.85fr; padding: 72px 24px 88px; } }
.hero__body { text-align: center; }
@media (min-width: 900px) { .hero__body { text-align: left; } .hero .cta { align-items: flex-start; } .hero .cta__note { text-align: left; } }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--text-2); background: var(--panel-2); border: 1px solid var(--line-2); padding: 4px 14px 4px 4px; border-radius: 999px; margin-bottom: 22px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hero__eyebrow span { background: var(--grad); color: var(--on-accent); border-radius: 999px; padding: 2px 10px; font: 800 11px var(--display); letter-spacing: 0.1em; }
.hero__title {
  font-size: clamp(31px, 8.6vw, 58px); font-weight: 900; letter-spacing: 0.01em; line-height: 1.28; margin-bottom: 16px;
  background: linear-gradient(100deg, #ffffff 0%, #dff3ff 45%, #7fe9ff 75%, #c9a2ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 24px rgba(94, 231, 255, 0.18));
}
.hero__sub { font-size: clamp(19px, 4.8vw, 24px); font-weight: 800; color: var(--text); line-height: 1.6; margin-bottom: 18px; }
.hero__sub span { background: linear-gradient(transparent 70%, rgba(94, 231, 255, 0.35) 70%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 2px; }
.hero__lead { color: var(--text-2); margin-bottom: 28px; }
.points { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
@media (min-width: 900px) { .points { justify-content: flex-start; } }
.points li { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px 4px 8px; color: var(--text-2); }
.points li::before { content: ""; width: 7px; height: 7px; margin: 0 3px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }

/* 画面イメージ */
.mock { position: relative; display: grid; place-items: center; padding: 8px 0 24px; }
.mock::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(94, 231, 255, 0.28), rgba(169, 139, 255, 0.12) 45%, transparent 70%); filter: blur(10px); }
.mock__phone {
  position: relative; width: min(290px, 82vw); padding: 34px 16px 18px; border-radius: 34px;
  background: var(--panel-solid); border: 1px solid var(--line-2);
  box-shadow: 0 0 0 7px #0a0e20, 0 0 0 8px rgba(130, 150, 255, 0.3), var(--shadow-lg);
  transform: rotate(2deg);
}
.mock__notch { position: absolute; top: 10px; left: 50%; width: 72px; height: 7px; border-radius: 8px; background: rgba(130, 150, 255, 0.22); transform: translateX(-50%); }
.mock__chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--c); background: var(--c-soft); border: 1px solid var(--c-line); border-radius: 999px; padding: 2px 10px 2px 6px; margin-bottom: 10px; }
.mock__chip-icon { width: 16px; height: 16px; }
.mock__title { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.5; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mock__prompt { position: relative; background: rgba(61, 245, 167, 0.07); border: 1px solid rgba(61, 245, 167, 0.25); border-radius: 12px; padding: 12px 12px 30px; font-size: 11.5px; line-height: 1.7; color: var(--text-2); }
.mock__prompt p { margin: 6px 0 0; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.mock__tag { display: inline-block; font-size: 10px; font-weight: 800; color: var(--on-accent); background: #3df5a7; border-radius: 6px; padding: 1px 8px; }
.mock__copy { position: absolute; right: 10px; bottom: -14px; display: inline-flex; align-items: center; gap: 6px; background: var(--grad); color: var(--on-accent); font-size: 12px; font-weight: 800; border-radius: 10px; padding: 6px 14px; box-shadow: 0 0 22px rgba(94, 231, 255, 0.5); }
.mock__copy-icon { width: 14px; height: 14px; }
.mock__files { display: flex; gap: 6px; margin-top: 26px; }
.mock__files span { flex: 1; text-align: center; font: 700 11px var(--mono); color: var(--text-2); border: 1px solid var(--line-2); background: var(--panel-2); border-radius: 8px; padding: 6px 0; }
.mock__badges { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.mock__badges li { position: absolute; width: 44px; height: 44px; border-radius: 14px; background: var(--panel-solid); border: 1px solid var(--c-line); color: var(--c); box-shadow: 0 0 18px var(--c-soft), var(--shadow); display: grid; place-items: center; }
.mock__badge-icon { width: 24px; height: 24px; }
.mock__badges li:nth-child(1) { left: 2%; top: 12%; }
.mock__badges li:nth-child(2) { right: 0; top: 4%; }
.mock__badges li:nth-child(3) { left: 0; bottom: 30%; }
.mock__badges li:nth-child(4) { right: 2%; bottom: 22%; }
.mock__badges li:nth-child(5) { left: 16%; bottom: 0; }
@media (max-width: 380px) { .mock__badges { display: none; } }

/* LINEに登録すると */
.merits { list-style: none; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .merits { grid-template-columns: repeat(3, 1fr); } }
.merit { border-radius: 18px; padding: 24px 20px; text-align: center; transition: border-color 0.15s, box-shadow 0.15s; }
.merit:hover, .step:hover, .theme-card:hover { border-color: var(--line-2); box-shadow: var(--shadow), 0 0 24px rgba(94, 231, 255, 0.08); }
.merit__icon { width: 52px; height: 52px; margin: 0 auto 12px; padding: 12px; border-radius: 14px; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(94, 231, 255, 0.3); filter: drop-shadow(0 0 8px rgba(94, 231, 255, 0.25)); }
.merit h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.merit p { font-size: 14.5px; color: var(--text-2); margin: 0; text-align: left; }

/* こんなことありませんか */
.worries { list-style: none; padding: 0; display: grid; gap: 10px; max-width: 760px; margin-bottom: 32px; }
@media (min-width: 760px) { .worries { grid-template-columns: 1fr 1fr; } }
.worries li { position: relative; border-radius: 14px; padding: 14px 16px 14px 46px; font-weight: 600; color: var(--text); }
.worries li::before { content: ""; position: absolute; left: 16px; top: 19px; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--accent); box-shadow: 0 0 10px rgba(94, 231, 255, 0.35); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235ee7ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.8 8.4l2.6 2.6 5.8-6'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* 今月の5特典 */
.theme-grid { list-style: none; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 40px; }
@media (min-width: 640px) { .theme-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .theme-grid { grid-template-columns: repeat(3, 1fr); } }
.theme-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); padding: 20px; overflow: hidden; transition: border-color 0.15s, box-shadow 0.15s; }
.theme-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--c); box-shadow: 0 0 14px var(--c); }
.theme-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.theme-card__icon { width: 40px; height: 40px; color: var(--c); background: var(--c-soft); border: 1px solid var(--c-line); border-radius: 12px; padding: 7px; }
.theme-card__no { font: 800 28px var(--display); color: var(--c); opacity: 0.45; letter-spacing: 0.06em; line-height: 1; }
.theme-card__label { font-size: 12.5px; font-weight: 700; color: var(--c); margin-bottom: 4px; }
.theme-card__title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.theme-card__catch { font-size: 14px; color: var(--text-2); margin: 0 0 14px; }
.theme-card__meta { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.theme-card__meta li { font-size: 11.5px; font-weight: 600; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text-2); padding: 1px 10px; border-radius: 999px; }

/* 中身の見本 */
.inside { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .inside { grid-template-columns: 0.9fr 1.1fr; } }
.inside__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: inside; }
.inside__list li { position: relative; display: grid; gap: 2px; padding: 14px 16px 14px 54px; border-radius: 14px; counter-increment: inside; }
.inside__list li::before { content: counter(inside, decimal-leading-zero); position: absolute; left: 14px; top: 15px; font: 800 13px var(--display); color: var(--accent); letter-spacing: 0.06em; text-shadow: 0 0 10px rgba(94, 231, 255, 0.5); }
.inside__list b { color: var(--text); }
.inside__list span { font-size: 14px; color: var(--text-2); }
.sample { margin: 0; }
.sample__cap { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 10px; }
.sample__label { background: var(--warn-soft); color: var(--warn); border: 1px solid rgba(255, 200, 87, 0.35); font-weight: 800; border-radius: 999px; padding: 1px 10px; }
.prompt--sample .prompt__body { position: relative; max-height: 270px; overflow: hidden; }
.prompt--sample .prompt__body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(transparent, rgba(12, 16, 34, 0.96)); }
.copy-btn--demo { cursor: default; }
.sample__note { font-size: 13px; color: var(--text-3); margin: 10px 0 0; }

/* 受け取り方 */
.steps { list-style: none; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; border-radius: 18px; padding: 22px 20px; transition: border-color 0.15s, box-shadow 0.15s; }
.step__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); border: 1px solid rgba(94, 231, 255, 0.3); color: var(--accent); margin-bottom: 12px; }
.step__svg { width: 28px; height: 28px; }
.step:first-child .step__icon { background: var(--line-green); border-color: transparent; color: #fff; box-shadow: 0 0 20px rgba(6, 199, 85, 0.4); }
.step:first-child .step__svg { fill: currentColor; stroke: none; }
.step__label { font: 800 11px var(--display); letter-spacing: 0.2em; color: var(--accent); margin-bottom: 2px; }
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.step p:last-child { font-size: 14.5px; color: var(--text-2); margin: 0; }

/* 大切にしていること */
.promise { list-style: none; padding: 0; display: grid; gap: 10px; max-width: 760px; }
.promise li { display: flex; gap: 12px; align-items: flex-start; border-radius: 14px; padding: 14px 16px; }
.promise__icon { width: 22px; height: 22px; flex: none; color: var(--ok); margin-top: 3px; filter: drop-shadow(0 0 6px rgba(61, 245, 167, 0.5)); }

/* よくある質問 */
.faq { max-width: 760px; display: grid; gap: 10px; }
.faq details { border-radius: 14px; overflow: hidden; transition: border-color 0.15s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 700; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); border: 1px solid rgba(94, 231, 255, 0.35); color: var(--accent); font: 800 13px var(--display); display: grid; place-items: center; }
.faq summary span { flex: 1; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg); transition: transform 0.15s ease; margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); border-color: var(--accent); }
.faq__a { padding: 0 18px 16px 58px; color: var(--text-2); }
.faq__a p { margin: 0; font-size: 15px; }

/* 最後のボタン */
.section--last { padding-bottom: 24px; }
.last { text-align: center; border-color: var(--line-2); border-radius: 24px; padding: 44px 20px; box-shadow: var(--shadow-lg); max-width: 760px; position: relative; overflow: hidden; }
.last::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad); box-shadow: 0 0 18px rgba(94, 231, 255, 0.7); }
.last::after { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 80%; background: radial-gradient(closest-side, rgba(124, 92, 255, 0.18), transparent); pointer-events: none; }
.last > * { position: relative; z-index: 1; }

/* スマホでは、アイコンを左に置いて縦の長さをおさえる */
@media (max-width: 759px) {
  .merit { display: grid; grid-template-columns: 48px 1fr; gap: 4px 14px; text-align: left; padding: 18px 16px; }
  .merit__icon { grid-row: span 2; width: 48px; height: 48px; padding: 11px; margin: 0; }
  .merit h3 { margin: 0; font-size: 16px; }
  .step { display: grid; grid-template-columns: 48px 1fr; gap: 0 14px; padding: 18px 16px; }
  .step__icon { grid-row: span 3; width: 48px; height: 48px; margin: 0; }
  .step__svg { width: 26px; height: 26px; }
  .step h3 { font-size: 16px; }
}

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(6, 8, 20, 0.8); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--line);
  display: flex; justify-content: center; transform: translateY(110%); transition: transform 0.2s ease;
}
.dock.is-shown { transform: none; }
.dock .btn--lg { min-height: 56px; }

/* ── 特典一覧 ── */
.giftlist { max-width: 1040px; margin: 0 auto; padding: 8px 16px 0; }
.giftlist__hero { text-align: center; padding: 32px 4px 24px; }
.giftlist__eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--ok); background: rgba(61, 245, 167, 0.08); border: 1px solid rgba(61, 245, 167, 0.3); border-radius: 999px; padding: 2px 12px; margin-bottom: 12px; }
.giftlist__title { font-size: clamp(24px, 6.4vw, 36px); font-weight: 800; margin-bottom: 10px; background: linear-gradient(90deg, var(--text), #b9d8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.giftlist__lead { color: var(--text-2); max-width: 34em; margin: 0 auto; }
.gift-grid { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .gift-grid { grid-template-columns: repeat(2, 1fr); } }
.gift-card { position: relative; border-radius: var(--radius); overflow: hidden; transition: transform 0.15s ease, border-color 0.15s, box-shadow 0.15s; }
.gift-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); box-shadow: 0 0 14px var(--c); }
.gift-card:hover { transform: translateY(-2px); border-color: var(--c-line); box-shadow: var(--shadow), 0 0 26px var(--c-soft); }
.gift-card__link { display: block; padding: 18px 18px 16px 22px; color: inherit; text-decoration: none; height: 100%; }
.gift-card__top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.gift-card__icon { width: 34px; height: 34px; color: var(--c); background: var(--c-soft); border: 1px solid var(--c-line); border-radius: 10px; padding: 6px; flex: none; }
.gift-card__no { font: 800 14px var(--display); color: var(--c); letter-spacing: 0.06em; }
.gift-card__label { font-size: 12.5px; font-weight: 700; color: var(--c); }
.gift-card__title { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.gift-card__catch { font-size: 14px; color: var(--text-2); margin-bottom: 10px; }
.gift-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.gift-card__meta span { font-size: 11.5px; font-weight: 600; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text-2); padding: 1px 10px; border-radius: 999px; }
.gift-card__go { font-weight: 700; color: var(--c); font-size: 14.5px; display: inline-flex; gap: 6px; }

.past { margin-top: 32px; text-align: center; }
.past__title { font-size: 18px; margin-bottom: 8px; }
.past ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; }

/* ── 安全のお願い ── */
.safety { margin: 32px 0 0; background: var(--warn-soft); border: 1px solid rgba(255, 200, 87, 0.3); border-radius: var(--radius); padding: 20px; }
.safety__title { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 8px; color: var(--warn); }
.safety__title::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--warn); box-shadow: 0 0 10px var(--warn); transform: rotate(45deg); }
.safety ul { margin: 0 0 10px; padding-left: 1.3em; color: var(--text); }
.safety p { margin: 0; font-size: 14px; color: var(--text-2); }

/* ── 特典ページ ── */
.gift { max-width: 820px; margin: 0 auto; padding: 16px 16px 0; }
.gift-hero { position: relative; overflow: hidden; border-radius: 22px; padding: 28px 20px 22px; }
.gift-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--c); box-shadow: 0 0 18px var(--c); }
.gift-hero::after { content: ""; position: absolute; right: -30%; top: -60%; width: 80%; height: 120%; background: radial-gradient(closest-side, var(--c-soft), transparent); pointer-events: none; }
.gift-hero > * { position: relative; z-index: 1; }
.gift-hero__theme { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 700; color: var(--c); font-size: 13.5px; margin-bottom: 12px; }
.gift-hero__icon { width: 32px; height: 32px; background: var(--c-soft); border: 1px solid var(--c-line); border-radius: 9px; padding: 5px; }
.gift-hero__no { font: 800 14px var(--display); letter-spacing: 0.06em; }
.gift-hero__month { margin-left: auto; color: var(--text-3); font-weight: 400; font-size: 13px; }
.gift-hero__title { font-size: clamp(23px, 6vw, 34px); font-weight: 800; margin-bottom: 10px; }
.gift-hero__catch { color: var(--text-2); margin-bottom: 14px; }
.gift-hero__meta { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.gift-hero__meta li { font-size: 12.5px; font-weight: 600; background: var(--c-soft); border: 1px solid var(--c-line); color: var(--text); border-radius: 999px; padding: 1px 12px; }
.gift-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gift-hero__actions .btn--primary { flex: 1 1 100%; }
@media (min-width: 560px) { .gift-hero__actions .btn--primary { flex: 0 0 auto; } }

/* 目次：上に固定した横並びのチップ。いま読んでいる見出しが光る */
.toc {
  position: sticky; top: var(--header-h); z-index: 20; margin: 16px -16px 0; padding: 10px 16px;
  background: rgba(6, 8, 20, 0.78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line);
}
.toc::-webkit-scrollbar { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; width: max-content; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; min-height: 36px; padding: 4px 14px 4px 6px;
  border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text-2); font-size: 13px; font-weight: 600; text-decoration: none;
  transition: all 0.15s;
}
.toc a::before { content: counter(toc); width: 24px; height: 24px; border-radius: 50%; background: var(--c-soft); color: var(--c); font: 800 11px var(--display); display: grid; place-items: center; }
.toc a:hover { color: var(--text); border-color: var(--c-line); }
.toc a[aria-current="true"] { background: var(--c-soft); border-color: var(--c); color: var(--c); box-shadow: 0 0 14px var(--c-soft); }
.toc a[aria-current="true"]::before { background: var(--c); color: var(--on-accent); }

.sec { margin-top: 44px; scroll-margin-top: 58px; } /* 上の固定ヘッダーぶんは html の scroll-padding-top で足される */
.sec__title { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); position: relative; }
.sec__title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 2px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.sec__no { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--c); color: var(--on-accent); font: 800 13px var(--display); display: grid; place-items: center; box-shadow: 0 0 14px var(--c-soft); }
.sub { font-size: 17px; margin: 24px 0 8px; }
.list, .olist { padding-left: 1.4em; margin: 0 0 1em; }
.list li, .olist li { margin-bottom: 8px; }
.list li::marker { color: var(--c); }
.olist li::marker { color: var(--c); font-weight: 800; }
.note { font-size: 14px; color: var(--text-2); background: var(--panel-2); border: 1px solid var(--line); border-left: 3px solid var(--accent-2); border-radius: 10px; padding: 10px 14px; }
strong { color: #fff; }
/* 自分で書きかえる部分 */
mark.ph { background: rgba(255, 200, 87, 0.16); color: #ffd98a; border-radius: 4px; padding: 0 2px; font-weight: 700; box-shadow: inset 0 -2px 0 rgba(255, 200, 87, 0.65); }

.tag { display: inline-block; font-size: 11.5px; font-weight: 800; color: var(--on-accent); background: var(--c); padding: 1px 10px; border-radius: 6px; flex: none; }
.tag--example { background: var(--panel-2); color: var(--text-2); border: 1px solid var(--line-2); }
.tag--tpl { background: var(--accent-2); }

.prompt { border-color: var(--c-line); border-radius: var(--radius); margin: 0 0 18px; overflow: hidden; }
.prompt__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px; flex-wrap: wrap; }
.prompt__title { font-size: 16px; font-weight: 700; }
.prompt__body, .example__body, .tpl__body {
  margin: 0; padding: 14px 16px; font-family: var(--font); font-size: 14.5px; line-height: 1.8;
  white-space: pre-wrap; word-break: break-word; color: var(--text);
}
.prompt__body { background: rgba(4, 6, 16, 0.55); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prompt__foot { padding: 12px 16px; display: flex; justify-content: flex-end; }

.copy-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 18px;
  border-radius: 12px; border: 0; background: var(--c); color: var(--on-accent); font: inherit; font-weight: 800; font-size: 14px; cursor: pointer;
  width: 100%; box-shadow: 0 0 18px var(--c-soft); transition: box-shadow 0.15s, background 0.15s;
}
.copy-btn:hover { box-shadow: 0 0 24px var(--c-line); }
@media (min-width: 560px) { .copy-btn { width: auto; } }
.copy-btn::before {
  content: ""; width: 16px; height: 16px; flex: none; background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15V5a2 2 0 0 1 2-2h10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.copy-btn.is-done { background: var(--ok); }
.copy-btn.is-done::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); }
.copy-btn--ghost { background: var(--panel-2); color: var(--text); border: 1px solid var(--line-2); min-height: 42px; width: auto; box-shadow: none; }
.copy-btn--ghost:hover { border-color: var(--accent); box-shadow: var(--glow); }
.copy-btn--ghost.is-done { background: var(--ok); color: var(--on-accent); border-color: var(--ok); }

.example { margin: 0 0 18px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: rgba(255, 255, 255, 0.02); }
.example figcaption { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px 0; font-weight: 700; color: var(--text); }
.example__body { color: var(--text-2); }
.example__note { font-size: 12.5px; color: var(--text-3); padding: 0 16px 14px; margin: 0; }

.tpl { border-radius: var(--radius); margin: 0 0 18px; }
.tpl__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 16px 6px; }
.tpl__title { font-size: 16px; font-weight: 700; }
.tpl__actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 16px 12px; }
.tpl__body { background: rgba(4, 6, 16, 0.55); border-top: 1px solid var(--line); max-height: 260px; overflow: auto; border-radius: 0 0 var(--radius) var(--radius); font-family: var(--mono); font-size: 13px; }

.tpl__table { overflow-x: auto; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); }
.tpl__table table { border-collapse: collapse; font-size: 13px; min-width: 100%; }
.tpl__table th, .tpl__table td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; min-width: 7em; height: 2.2em; }
.tpl__table th { background: var(--c-soft); color: var(--text); font-weight: 700; }
.tpl__table td { background: rgba(4, 6, 16, 0.4); color: var(--text-2); }
.sec#sources .list { font-size: 14px; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; }
.pager a { display: block; border-radius: 14px; padding: 12px 14px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 14px; line-height: 1.5; transition: border-color 0.15s, box-shadow 0.15s; }
.pager a:hover, .next-links a:hover { border-color: var(--accent); box-shadow: var(--glow); }
.pager small { display: block; color: var(--text-3); font: 700 10px var(--display); letter-spacing: 0.14em; margin-bottom: 2px; }
.pager__next { text-align: right; }
.backlink { text-align: center; margin-top: 20px; }

.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translate(-50%, calc(100% + 60px));
  background: var(--panel-solid); color: var(--text); border: 1px solid rgba(61, 245, 167, 0.45); box-shadow: 0 0 22px rgba(61, 245, 167, 0.25), var(--shadow-lg);
  padding: 10px 18px; border-radius: 12px; font-size: 14px; z-index: 40;
  max-width: calc(100% - 32px); text-align: center; transition: transform 0.2s ease, visibility 0.2s; pointer-events: none;
  visibility: hidden;
}
.toast.is-shown { transform: translate(-50%, 0); visibility: visible; }

/* ── 文書・確認ページ ── */
.doc { max-width: 760px; margin: 0 auto; padding: 28px 16px 8px; }
.doc h1 { font-size: 26px; margin: 12px 0 18px; }
.doc h2 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin: 30px 0 8px; }
.doc h2::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent); transform: rotate(45deg); flex: none; }
.doc p { color: var(--text-2); }
.doc__date { color: var(--text-3); font-size: 14px; margin-top: 28px; }
.doc__back { margin-top: 20px; }
.doc--center { text-align: center; padding-top: 56px; }
.doc--center .title { font-size: clamp(22px, 5.4vw, 30px); }
.next-links { list-style: none; padding: 0; margin: 0 auto; max-width: 460px; display: grid; gap: 10px; text-align: left; }
.next-links a { display: block; border-radius: 14px; padding: 14px 18px; font-weight: 700; color: var(--text); text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.next-links small { display: block; font-weight: 400; color: var(--text-3); font-size: 13px; }
.admin { max-width: 1200px; margin: 0 auto; padding: 16px; font-size: 14px; }
.admin h1 { font-size: 22px; margin-bottom: 12px; }
.adm-month { border-radius: 14px; padding: 16px; margin: 16px 0; }
.adm-month h2 { font-size: 18px; margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.adm-scroll { overflow-x: auto; }
.admin table { border-collapse: collapse; width: 100%; min-width: 760px; }
.admin th, .admin td { border: 1px solid var(--line); padding: 8px; vertical-align: top; text-align: left; }
.admin th { background: var(--panel-2); white-space: nowrap; }
.admin td:nth-child(3) { white-space: nowrap; }
.admin ul.ng, .admin ul.wn { margin: 0; padding-left: 1.2em; }
.admin ul.ng { color: var(--bad); }
.admin ul.wn { color: var(--warn); }
.st { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 10px; border-radius: 999px; border: 1px solid; }
.st--ok { background: rgba(61, 245, 167, 0.1); color: var(--ok); border-color: rgba(61, 245, 167, 0.35); }
.st--ng { background: rgba(255, 92, 122, 0.1); color: var(--bad); border-color: rgba(255, 92, 122, 0.35); }
.st--draft { background: var(--warn-soft); color: var(--warn); border-color: rgba(255, 200, 87, 0.35); }
.st--cur { background: var(--accent-soft); color: var(--accent); border-color: rgba(94, 231, 255, 0.4); }
.adm-check { border-radius: 14px; padding: 16px; }
.adm-check h2 { font-size: 18px; margin-bottom: 8px; }

/* ── 合言葉・有料サポートへの案内（特典ページの下） ── */
.gift-hero__welcome { font-size: 13.5px; font-weight: 700; color: var(--ok); margin: 0 0 10px; }
.next-box { margin: 32px 0 0; border-radius: var(--radius); padding: 22px 20px; display: grid; gap: 22px; text-align: center; }
.next-box__kw { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.next-box__eyebrow { font-size: 13px; font-weight: 700; color: var(--accent); margin: 0 0 6px; }
.next-box__title { font-size: clamp(18px, 4.6vw, 22px); line-height: 1.5; margin: 0 0 14px; }
.next-box__text { font-size: 14.5px; color: var(--text-2); margin: 0 auto 12px; max-width: 34em; }
.keyword { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 10px 14px 10px 10px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--c-line, var(--line-2)); box-shadow: var(--glow); }
.keyword__label { font-size: 12px; font-weight: 800; color: var(--on-accent); background: var(--grad); border-radius: 8px; padding: 4px 9px; }
.keyword__word { font-size: 24px; font-weight: 900; letter-spacing: 0.06em; color: var(--text); user-select: all; -webkit-user-select: all; }
.next-box__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(94, 231, 255, 0.4); padding-bottom: 2px; }
.next-box__link:hover { border-bottom-color: var(--accent); }
.next-box__support .btn { margin-top: 16px; }
.next-links--left { margin-top: 4px; }

/* ── 有料サポートについて ── */
.doc__lead { font-size: 16px; color: var(--text); }
.page-doc .eyebrow { justify-content: flex-start; margin-top: 8px; }
.compare { display: grid; gap: 12px; }
@media (min-width: 700px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__col { border-radius: 14px; padding: 16px 18px; }
.compare__col h3 { font-size: 16px; margin: 0 0 8px; }
.compare__col ul { margin: 0; padding-left: 1.2em; color: var(--text-2); font-size: 14.5px; }
.compare__col--accent { border-color: rgba(94, 231, 255, 0.35); box-shadow: var(--glow); }
.compare__col--accent h3 { color: var(--accent); }
.flow-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: flow; }
.flow-list li { position: relative; display: grid; gap: 2px; padding: 14px 16px 14px 56px; border-radius: 14px; counter-increment: flow; }
.flow-list li::before { content: counter(flow); position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); color: var(--on-accent); font: 800 14px var(--display); }
.flow-list b { color: var(--text); }
.flow-list span { font-size: 14px; color: var(--text-2); }
.doc__cta { margin: 32px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 10px; }

/* ── 印刷・PDF：読みやすい白地にもどす ── */
@page { size: A4; margin: 14mm 14mm 16mm; }
@media print {
  :root {
    --bg: #fff; --panel: #fff; --panel-solid: #fff; --panel-2: #f3f5fa; --line: #dfe3ea; --line-2: #c9d0dc;
    --text: #16213a; --text-2: #3d4763; --text-3: #6a7390; --accent: #0a7f9c; --accent-2: #5b47c9; --accent-soft: #e6f5f9;
    --warn: #8a5a00; --warn-soft: #fff8ec; --ok: #0c7a52; --on-accent: #fff; --shadow: none; --shadow-lg: none;
    color-scheme: light;
  }
  .theme--chatgpt { --c: #137a60; --c-soft: #e2f3ed; --c-line: #9fd8c4; }
  .theme--automation { --c: #2a5fb8; --c-soft: #e6eefb; --c-line: #a9c2ec; }
  .theme--sns { --c: #b9452f; --c-soft: #fbe9e5; --c-line: #eab3a8; }
  .theme--work { --c: #8f5f05; --c-soft: #f8efdc; --c-line: #e2c58c; }
  .theme--new-tools { --c: #6448c0; --c-soft: #eeeafb; --c-line: #c5b8ef; }
  body { background: #fff; background-image: none; font-size: 10.5pt; line-height: 1.7; }
  strong { color: inherit; }
  .site-header, .site-footer, .skip, .preview-bar, .gift-hero__actions, .toc, .pager, .backlink, .toast, .dock, .next-box, .gift-hero__welcome,
  .prompt__foot, .tpl__actions, .copy-btn { display: none !important; }
  .print-head { display: block; font-size: 9pt; color: #5c6a78; border-bottom: 1px solid #dfe3e0; padding-bottom: 4px; margin: 0 0 10px; }
  .gift { max-width: none; padding: 0; }
  .gift-hero::after, .sec__title::after, .gift-hero::before { box-shadow: none; }
  .gift-hero::after { display: none; }
  .gift-hero { border-radius: 10px; padding: 14px 16px; }
  .sec { margin-top: 18px; }
  .sec__title { font-size: 14pt; break-after: avoid; }
  .sec__no { box-shadow: none; }
  .prompt__body, .tpl__body { background: var(--c-soft); }
  .tpl__table td { background: #fff; }
  mark.ph { background: #fff1b8; color: #5b4300; box-shadow: inset 0 -2px 0 #f2cf4a; }
  .note { border-left-color: var(--line-2); }
  .prompt, .example, .tpl, .safety { break-inside: avoid; }
  .tpl__body { max-height: none; overflow: visible; }
  .tpl__table { overflow: visible; }
  .tpl__table table { width: 100%; font-size: 8pt; }
  .tpl__table th, .tpl__table td { min-width: 0; padding: 3px 4px; }
  .prompt__body, .example__body, .tpl__body { font-size: 9.5pt; }
  a { color: inherit; text-decoration: none; }
  .sec#sources a::after { content: "（" attr(href) "）"; font-size: 8pt; color: #5c6a78; word-break: break-all; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
