/* オニテル 規約・表記ページ共通（urakata.biz の色・フォントに軽くそろえる） */
:root {
  --ink: #151515;
  --sub: #555555;
  --line: #e6e6e6;
  --surface: #f7f7f5;
  --bg: #ffffff;
  --accent: #ffd400;
  --link: #151515;
  --note-bg: #fff8d6;
  --mark: #ffd400;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f2f2f0;
    --sub: #b8b8b4;
    --line: #333333;
    --surface: #1d1d1c;
    --bg: #121212;
    --link: #f2f2f0;
    --note-bg: #2a2614;
    --mark: rgba(255, 212, 0, 0.38);
  }
}
:root[data-theme="dark"] {
  --ink: #f2f2f0;
  --sub: #b8b8b4;
  --line: #333333;
  --surface: #1d1d1c;
  --bg: #121212;
  --link: #f2f2f0;
  --note-bg: #2a2614;
    --mark: rgba(255, 212, 0, 0.38);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 0;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}

.site-header {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
}
.site-header .inner { max-width: 44rem; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.site-header img { display: block; height: 28px; width: auto; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-header img { filter: invert(1); }
}
:root[data-theme="dark"] .site-header img { filter: invert(1); }
.site-header .app { font-size: 0.875rem; color: var(--sub); }

main { max-width: 44rem; margin: 0 auto; padding: 32px 16px 64px; }

h1 {
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
  text-wrap: balance;
  word-break: auto-phrase;
}
h2, h3 { text-wrap: balance; }
h1 .mark { background: linear-gradient(transparent 62%, var(--mark) 62%); }
.lead { color: var(--sub); margin: 0 0 32px; font-size: 0.9375rem; }
h2 {
  font-size: 1.1875rem;
  line-height: 1.5;
  margin: 40px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
h3 { font-size: 1rem; margin: 24px 0 8px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; margin: 0 0 1em; }
li { margin: 0 0 0.4em; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
code { font-family: ui-monospace, Menlo, monospace; font-size: 0.875em; background: var(--surface); padding: 0.1em 0.35em; border-radius: 4px; }

.note {
  background: var(--note-bg);
  border-left: 4px solid var(--accent);
  padding: 12px 14px;
  margin: 0 0 1.2em;
  font-size: 0.9375rem;
}
.muted { color: var(--sub); font-size: 0.875rem; }

/* 表（特商法など）。狭い幅では縦積み */
.spec { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 0.9375rem; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.spec th { width: 34%; font-weight: 700; background: var(--surface); }
@media (max-width: 560px) {
  .spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; width: 100%; }
  .spec th { border-bottom: 0; padding-bottom: 4px; }
  .spec td { padding-top: 4px; }
}

/* 読みのリスト（3列） */
.table-wrap { width: 100%; overflow-x: auto; }
.names { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.names th, .names td { padding: 6px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.names thead th { background: var(--surface); position: sticky; top: 0; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
details > summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style-position: outside; }
details > div { padding: 0 0 12px; }

.site-footer { border-top: 1px solid var(--line); padding: 24px 16px 40px; font-size: 0.8125rem; color: var(--sub); }
.site-footer .inner { max-width: 44rem; margin: 0 auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 8px; }
.site-footer a { color: var(--sub); }
