/* 規約・プライバシー・特商法（読むためのページ。動きは目次の追従だけ） */
.doc-head { position: relative; padding: 150px 0 56px; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.doc-head::before { content: ""; position: absolute; inset: -40% -10% 20%; z-index: -1; filter: blur(80px); opacity: .55;
  background: radial-gradient(40% 50% at 15% 40%, #3b2a8f, transparent 70%), radial-gradient(35% 45% at 85% 20%, #1f5fc0, transparent 70%); }
.doc-head .kicker { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--gold); margin-bottom: 14px; }
.doc-head h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1.2; font-weight: 900; letter-spacing: -.01em; margin: 0 0 18px; opacity: 0; animation: fade .9s var(--ease) .1s forwards; }
.doc-head .meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14px; }
.draft { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 16px 20px; border-radius: 16px; background: rgba(255, 174, 107, .08); border: 1px solid rgba(255, 174, 107, .35); color: #f3dcc8; font-size: 14.5px; max-width: 760px; }
.draft b { flex: none; font-family: var(--display); padding: 2px 10px; border-radius: 999px; background: linear-gradient(90deg, var(--dawn), var(--gold)); color: #2a1406; font-size: 12px; margin-top: 2px; }

.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding-top: 56px; padding-bottom: 120px; }
.toc { position: sticky; top: 100px; align-self: start; font-size: 14px; }
.toc p { margin: 0 0 12px; color: var(--muted); font-weight: 700; font-size: 13px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); line-height: 1.5; transition: color .2s, border-color .2s; }
.toc a:hover { color: #fff; }
.toc a.on { color: #fff; border-color: var(--gold); }

.body { max-width: 760px; font-size: 16px; line-height: 1.95; color: #d6dcec; }
.body section { padding-top: 12px; margin-bottom: 52px; scroll-margin-top: 90px; }
.body h2 { font-size: 23px; font-weight: 900; color: #fff; margin: 0 0 16px; line-height: 1.5; display: flex; gap: 14px; align-items: baseline; }
.body h2 .no { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--gold); min-width: 2em; }
.body p { margin: 0 0 14px; }
.body ol, .body ul { margin: 0 0 14px; padding-left: 1.4em; }
.body li { margin-bottom: 8px; }
.body li::marker { color: var(--muted); }
.body a { color: var(--blue-hi); text-decoration: underline; text-underline-offset: 3px; }
/* 未確定の印 */
.tbd { display: inline; padding: 1px 8px; border-radius: 6px; background: rgba(255, 174, 107, .14); color: var(--gold); font-size: .92em; font-weight: 700; white-space: normal; }
.memo { margin: 6px 0 16px; padding: 12px 16px; border-left: 3px solid var(--gold); background: rgba(255, 211, 122, .05); border-radius: 0 10px 10px 0; color: #e8d9b8; font-size: 14px; line-height: 1.8; }
.memo::before { content: "作成メモ（公開時に消す）"; display: block; font-weight: 700; font-size: 12px; color: var(--gold); margin-bottom: 2px; }

/* 表（特商法・委託先） */
.facts { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 15px; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 16px 12px; border-bottom: 1px solid var(--line); }
.facts td { overflow-wrap: anywhere; }
.facts th { width: 30%; color: var(--muted); font-weight: 700; }
.facts td small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; line-height: 1.7; }
.facts thead th { color: #fff; font-size: 14px; }

@media (max-width: 900px) {
  .doc-head { padding: 120px 0 40px; }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 32px; }
  .toc { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 6px; border: 0; }
  .toc a { padding: 6px 12px; margin: 0; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
  .toc a.on { border-color: var(--gold); }
  .facts th { width: 36%; }
}
@media print {
  .bar, .toc, footer, .draft, .memo { display: none !important; }
  body { background: #fff; color: #000; }
  .body { color: #000; } .body h2 { color: #000; }
}
