/* design-ok-file: ビルドを通らない静的なページなので tokens.css の値の写しを持つ（design-guide §5） */
/* 規約・プライバシーポリシーの見た目（public/privacy.html・terms.html が読む）。
   値はアプリの src/ui/tokens.css と同じ（docs/design-guide.md §2）。静的なページでビルドを通らないので写しを持つ。トークンを変えたらここも直す。
   アプリのページ（.pg-head・.pg-body、src/styles/base.css）と同じ形: 上の帯に「＜」と題名、濃い紺の地、丸ゴシック。角の丸い箱・色の付いた面は使わない（2026-10-15 オーナー）。 */
/* ドットの数字（アプリの tokens.css と同じ。数字だけ） */
@font-face { font-family: 'BoldPixels'; src: url('/fonts/boldpixels/v2/boldpixels.woff2') format('woff2'); font-display: swap; unicode-range: U+0030-0039; }
:root {
  color-scheme: dark;
  --c-bg-page: #0b1119;
  --c-line: rgba(214, 228, 255, .10);
  --c-ink: #eef3fa;
  --c-dim: #9fb0c6;
  --c-coral-2: #ff9277;
  --c-coral: #ff785a;
  --font-px: 'BoldPixels', var(--font);
  --font: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--c-bg-page); color: var(--c-ink); font-family: var(--font); font-size: 15px; line-height: 1.85; }
a { color: var(--c-coral-2); text-decoration: none; }
a:hover { text-decoration: underline; }

/* 上の帯（アプリの .pg-head と同じ高さ・並び） */
.lg-head { position: sticky; top: 0; z-index: 1; background: var(--c-bg-page); border-bottom: 1px solid var(--c-line); }
.lg-head-in { max-width: 680px; margin: 0 auto; height: 52px; display: flex; align-items: center; gap: 4px; padding-right: 16px; }
.lg-back { width: 44px; height: 44px; display: grid; place-items: center; color: var(--c-ink); flex: none; }
.lg-back:hover { text-decoration: none; }
.lg-back svg { width: 24px; height: 24px; }
.lg-head h1 { margin: 0; font-size: 17px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* the other language's page (English in /en/, translated 2026-10-17; the Japanese version prevails) */
.lg-lang { margin-left: auto; flex: none; font-size: 13px; font-weight: 700; padding: 6px 10px; border: 1px solid var(--c-line); border-radius: 999px; color: var(--c-ink); }
.lg-lang:hover { text-decoration: none; }

main { max-width: 680px; margin: 0 auto; padding: 20px 20px 64px; }
.meta { margin: 0 0 20px; color: var(--c-dim); font-size: 13px; }
.lead { margin: 0 0 24px; }

/* 「はじめに」と目次: 箱にせず、細い線で区切るだけ */
.points, .toc { margin: 0 0 8px; padding: 16px 0; border-top: 1px solid var(--c-line); }
.points h2, .toc h2 { margin: 0 0 8px; padding: 0; border: 0; font-size: 13px; font-weight: 800; color: var(--c-dim); text-align: left; }
.points ul { margin: 0; }
.toc ol { margin: 0; padding-left: 1.6em; font-size: 14px; line-height: 2; }

[id] { scroll-margin-top: 52px; } /* 目次・/privacy#ai から飛んだ見出しが上の帯（52px）の裏に隠れない */
/* 大見出し: 上にドットの数字（BoldPixels。にじまないよう 16 px の倍数）、下に見出し。中央揃え（2026-10-15 オーナー） */
h2 { margin: 48px 0 20px; padding-top: 40px; border-top: 1px solid var(--c-line); font-size: 22px; font-weight: 800; line-height: 1.45; text-align: center; }
h2 .no { display: block; margin-bottom: 10px; font-family: var(--font-px); font-size: 48px; font-weight: 400; line-height: 1; color: var(--c-coral); }
h3 { margin: 24px 0 4px; font-size: 15px; font-weight: 800; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 1.4em; }
li { margin: 4px 0; }
b { font-weight: 800; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--c-dim); }

/* 表: 罫線だけ。スマホでは 1 行ずつ縦に並べる */
.tbl { margin: 8px 0 16px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.7; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--c-line); }
th { color: var(--c-dim); font-size: 13px; font-weight: 700; white-space: nowrap; }
/* 見出しと値の 2 列（事業者の情報）。スマホでも縦に崩さない */
.kv td:first-child { width: 6em; color: var(--c-dim); white-space: nowrap; }
@media (max-width: 560px) {
  thead { display: none; }
  tr, td { display: block; }
  tr { padding: 12px 0; border-bottom: 1px solid var(--c-line); }
  td { border: 0; padding: 0; }
  td:first-child { font-weight: 800; margin-bottom: 2px; }
  td:not(:first-child)::before { content: attr(data-label) "　"; color: var(--c-dim); font-size: 13px; }
  .kv tr { display: table-row; padding: 0; }
  .kv td { display: table-cell; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--c-line); }
  .kv td:first-child { font-weight: 400; margin: 0; }
  .kv td:not(:first-child)::before { content: none; }
}

.foot { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--c-line); color: var(--c-dim); font-size: 13px; }
.foot p { margin: 0 0 6px; }
/* 見出しが長い表（特定商取引法に基づく表記）: 見出しも折り返す */
.kv-wrap td:first-child { width: 8.5em; white-space: normal; }
