/* 公開ページの見た目。色はアプリ・管理コンソールと同じ design token の値 */
:root {
  --color-brand: #3a5d9d;
  --color-navy: #2d3055;
  --color-fg: #2d3055;
  --color-fg-muted: #6b6f8a;
  --color-line: #e3e5ee;
  --color-surface: #ffffff;
  --color-surface-2: #f5f6fa;
  --color-warn-bg: #fff4d6;
  --font-sans: 'Hiragino Sans', 'Noto Sans JP', system-ui, -apple-system, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --color-brand: #7c9bd3;
    --color-fg: #e8e9f2;
    --color-fg-muted: #a3a7bf;
    --color-line: #34385a;
    --color-surface: #1b1d33;
    --color-surface-2: #23264a;
    --color-warn-bg: #4a3d12;
  }
}

* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-fg);
  font-family: var(--font-sans);
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}
.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 16px;
  background: var(--color-navy);
  color: #fff;
}
.brand { font-weight: 700; letter-spacing: 0.08em; }
.langs { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; }
.langs a { color: #fff; opacity: 0.8; }
.langs [aria-current] { font-weight: 700; }
main { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
h1 { font-size: 1.6rem; line-height: 1.4; margin: 0 0 24px; }
h2 { font-size: 1.2rem; margin: 40px 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--color-line); scroll-margin-top: 16px; }
h3 { font-size: 1rem; margin: 24px 0 8px; }
p, li { overflow-wrap: anywhere; }
a { color: var(--color-brand); }
.table { overflow-x: auto; margin: 12px 0; }
table { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
th, td { border: 1px solid var(--color-line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--color-surface-2); }
.note { font-size: 0.85rem; color: var(--color-fg-muted); }
/* 決済ページからアプリへ戻るボタン (checkout/return.html) */
.button { display: inline-block; padding: 12px 24px; border-radius: 999px; background: var(--color-brand); color: #fff; font-weight: 700; text-decoration: none; }
.draft { padding: 8px 12px; background: var(--color-warn-bg); border-radius: 8px; font-size: 0.9rem; }
.links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 8px; }
footer { max-width: 760px; margin: 0 auto; padding: 16px; font-size: 0.8rem; color: var(--color-fg-muted); border-top: 1px solid var(--color-line); }
