/* プライバシーポリシー / 利用規約の共通スタイル。LP と同じトークンを使う。 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #FAF7F2;
  --bg2:        #F3EDE4;
  --card:       #FFFFFF;
  --accent:     #B85C38;
  --border:     #E8E0D8;
  --text:       #2C2018;
  --text-muted: #8A7060;
  --text-faint: #BAA99A;
  --serif:      'Lora', Georgia, serif;
  --sans:       'DM Sans', system-ui, sans-serif;
  --px:         clamp(24px, 6vw, 48px);
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

.doc { max-width: 720px; margin: 0 auto; padding: 56px var(--px) 96px; }

.back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted); text-decoration: none;
  margin-bottom: 40px;
}
.back:hover { color: var(--accent); }

h1 {
  font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.25;
  margin-bottom: 10px;
}
.meta { font-size: 13px; color: var(--text-faint); margin-bottom: 12px; }

.lead {
  font-size: 15px; color: var(--text-muted);
  padding: 18px 20px; margin: 24px 0 40px;
  background: var(--bg2); border-radius: 12px;
}
.lead p + p { margin-top: 10px; }

h2 {
  font-family: var(--serif); font-size: 19px; font-weight: 600;
  margin: 44px 0 12px; padding-top: 20px; border-top: 1px solid var(--border);
}
h3 { font-size: 15px; font-weight: 600; margin: 24px 0 8px; }

p, li { font-size: 15px; color: var(--text-muted); }
p + p { margin-top: 12px; }
strong { color: var(--text); font-weight: 600; }

ul, ol { margin: 12px 0 12px 22px; }
li { margin-bottom: 6px; }
li::marker { color: var(--text-faint); }

table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--text); font-weight: 600; white-space: nowrap; }
td { color: var(--text-muted); }
.table-wrap { overflow-x: auto; }

a { color: var(--accent); }

.todo {
  display: inline-block;
  background: #FDECE6; color: #9A3F1E;
  border: 1px dashed #D89B84; border-radius: 6px;
  padding: 1px 8px; font-size: 13px; font-weight: 600;
}

footer {
  margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-faint);
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
