/* きまりん 静的ページ（用途別LP・プライバシーポリシー）共通スタイル。
   アプリ本体（src/theme.css・案B ソフト＆フレンドリー）と同じ配色トークンを使い、
   ビルド不要の素のCSSとして public/ に置く（dist直下へコピーされ、JSなしでクローラが読める）。 */
:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #1d2433;
  --muted: #6b7280;
  --faint: #9aa3b2;
  --border: #e7eaf0;
  --border-strong: #d4d9e3;
  --accent: #2f6df0;
  --accent-soft: #e9f1ff;
  --accent-text: #1a4fc0;
  --success-soft: #e6f6ee;
  --success-text: #0a6b49;
  --radius: 16px;
  --radius-sm: 10px;
  --pill: 999px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', Meiryo, sans-serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 640px; margin: 0 auto; padding: 20px 16px 64px; }

/* 上部ブランド */
.brand { display: inline-block; color: var(--accent-text); font-weight: 700; font-size: 14px; text-decoration: none; margin-bottom: 10px; }
.brand:hover { text-decoration: underline; }

/* ヒーロー */
.hero { background: var(--accent-soft); border-radius: var(--radius); padding: 24px 20px; }
.hero .eyebrow { color: var(--accent-text); font-size: 13px; opacity: .85; }
.hero h1 { color: var(--accent-text); font-size: 25px; line-height: 1.45; margin: 6px 0 10px; }
.hero .lead { color: var(--accent-text); opacity: .9; font-size: 14px; margin: 0 0 16px; }

/* CTA（実利用への導線） */
.cta { display: inline-block; background: var(--accent); color: #fff; border-radius: var(--pill); padding: 13px 26px; font-weight: 700; font-size: 15px; text-decoration: none; }
.cta:hover { opacity: .92; }
.cta-sub { font-size: 12px; color: var(--muted); margin-top: 8px; }
.hero .cta-sub { color: var(--accent-text); opacity: .8; }

/* 本文セクション */
main section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-top: 16px; }
h2 { font-size: 18px; margin: 0 0 12px; }
h3 { font-size: 15px; margin: 18px 0 6px; }
p { margin: 0 0 10px; font-size: 14.5px; }
ul, ol { margin: 0 0 10px; padding-left: 22px; font-size: 14.5px; }
li { margin-bottom: 6px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }

/* 使い方3ステップ */
.steps ol { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.steps li::before {
  content: counter(step); flex: 0 0 auto;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-text); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 14px; margin-top: 3px;
}
.steps b { display: block; }

/* 公平性（provably-fair）の説明枠 */
.fair-box { background: var(--success-soft); color: var(--success-text); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 13.5px; margin-top: 10px; }

/* FAQ */
.faq dt { font-weight: 700; font-size: 14.5px; margin-top: 14px; }
.faq dt::before { content: 'Q. '; color: var(--accent-text); }
.faq dd { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.faq dd::before { content: 'A. '; color: var(--faint); }

/* プラポリの本人記入プレースホルダ（公開前に置き換える箇所を目立たせる） */
.todo { background: #fff3bf; border-radius: 4px; padding: 1px 8px; font-weight: 700; }

/* 定義リスト（運営者情報） */
dl.info { margin: 0; font-size: 14.5px; }
dl.info dt { font-weight: 700; margin-top: 10px; }
dl.info dd { margin: 0; }

/* 共通フッター */
.site-foot { margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--border); text-align: center; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: center; }
.site-foot a { color: var(--faint); font-size: 12px; text-decoration: none; }
.site-foot a:hover { color: var(--muted); text-decoration: underline; }
.site-foot .copy { color: var(--faint); font-size: 11px; margin-top: 10px; }
