/* 公開ページ（紹介・プライバシーポリシー・利用規約・データ削除の手順）の共通スタイル */
:root {
  --bg: #ffffff;
  --text: #1f2328;
  --muted: #59636e;
  --border: #d1d9e0;
  --accent: #0b5cad;
  --surface: #f6f8fa;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1419;
    --text: #e6edf3;
    --muted: #9198a1;
    --border: #3d444d;
    --accent: #6cb6ff;
    --surface: #161b22;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    'Hiragino Sans',
    'Noto Sans JP',
    'Yu Gothic UI',
    sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

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

.site-header,
.site-footer,
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.site-header .brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

.site-header .company {
  color: var(--muted);
  font-size: 14px;
}

main {
  padding-top: 8px;
  padding-bottom: 40px;
}

h1 {
  font-size: 26px;
  line-height: 1.4;
  margin: 28px 0 16px;
}

h2 {
  font-size: 19px;
  line-height: 1.5;
  margin: 36px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
}

h3 {
  font-size: 16px;
  margin: 20px 0 4px;
}

p,
ul,
ol {
  margin: 8px 0;
}

ul,
ol {
  padding-left: 1.4em;
}

.table-wrap {
  overflow-x: auto;
  margin: 12px 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
}

th,
td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface);
  white-space: nowrap;
}

.note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  margin: 16px 0;
}

.links {
  display: grid;
  gap: 8px;
  padding-left: 0;
  list-style: none;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: 32px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  padding-bottom: 32px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 8px;
}
