/* 18PEEK の法的文書ページ共通スタイル。
   審査員はPCで、利用者はアプリ内のブラウザ（縦長・小画面）で開く。
   どちらでも読めることだけを目的にしており、装飾は最小限にしている。 */

:root {
  --bg: #ffffff;
  --surface: #f6f6f8;
  --text: #16161a;
  --text-muted: #5a5a66;
  --accent: #b8860b;
  --border: #e3e3e8;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121216;
    --surface: #1c1c22;
    --text: #f2f2f5;
    --text-muted: #a0a0ad;
    --accent: #ffc733;
    --border: #2c2c35;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 44rem; margin: 0 auto; padding: 2.5rem 1.25rem 5rem; }

header.site { border-bottom: 1px solid var(--border); margin-bottom: 2.5rem; padding-bottom: 1.25rem; }
header.site a.brand {
  font-size: 1.5rem; font-weight: 900; color: var(--accent);
  text-decoration: none; letter-spacing: 0.02em;
}
header.site nav { margin-top: 0.5rem; font-size: 0.875rem; }
header.site nav a { color: var(--text-muted); text-decoration: none; margin-right: 1rem; }
header.site nav a:hover, header.site nav a:focus { color: var(--accent); text-decoration: underline; }

h1 { font-size: 1.75rem; line-height: 1.4; margin: 0 0 0.5rem; text-wrap: balance; }
h2 {
  font-size: 1.2rem; margin: 2.75rem 0 0.75rem;
  padding-top: 1.25rem; border-top: 1px solid var(--border);
}
h3 { font-size: 1rem; margin: 1.75rem 0 0.5rem; }
p, li { margin: 0.75rem 0; }
ul, ol { padding-left: 1.35rem; }
strong { font-weight: 700; }
a { color: var(--accent); }

.meta { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 2rem; }

/* 読み飛ばされては困る箇所。位置情報の背景収集や、削除できない旨など、
   あとで「聞いていない」と言われうる部分にだけ使う。多用すると効かなくなる。 */
.callout {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.9375rem; }
th, td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--text-muted); font-weight: 700; }
.scroll-x { overflow-x: auto; }

footer.site {
  margin-top: 4rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.875rem;
}
