/*
 * SeeLabel プライバシーポリシー 共通スタイル
 * レイアウトは上部バーなしの 1 カラム（h1 の下線・h2 の左罫線・重要の囲み・お問い合わせの囲み・中央寄せのフッター）。
 * 色はアプリのトークン（app/.../ui/theme/Color.kt）から借りる。
 * CSP で style 属性（インライン）は使えないので、体裁はすべてこのファイルに置く。
 * 設計: docs/design/privacy-policy-site-design.md §6-2
 */
:root {
  --text-primary: #15181c;      /* TextPrimary */
  --text-body: #3a4250;         /* TextBody */
  --text-secondary: #5c6470;    /* TextSecondary */
  --brand: #1b4db1;             /* Brand */
  --caution: #dc6803;           /* Caution */
  --caution-container: #fffaeb; /* CautionContainer */
  --surface: #ffffff;           /* White */
  --surface-base: #f6f8fa;      /* SurfaceBase */
  --outline: #e6e9ed;           /* OutlineVariant */
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text-body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

main {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

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

.lang-switch {
  margin: 0 0 8px;
  color: var(--text-secondary);
  font-size: 0.9em;
  text-align: right;
}

.lang-switch span[aria-current] {
  color: var(--text-primary);
  font-weight: 700;
}

h1 {
  margin: 0.67em 0;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--brand);
  color: var(--text-primary);
}

h2 {
  margin-top: 30px;
  padding-left: 10px;
  border-left: 4px solid var(--brand);
  color: var(--text-primary);
}

h3 {
  margin-top: 20px;
  color: var(--text-body);
}

ul {
  padding-left: 25px;
}

li {
  margin-bottom: 8px;
}

.update-date {
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 0.9em;
}

.translation-note {
  padding: 10px 15px;
  border-radius: 5px;
  background: var(--surface-base);
  font-size: 0.9em;
}

.important {
  margin: 15px 0;
  padding: 10px 15px;
  border-left: 4px solid var(--caution);
  background: var(--caution-container);
}

.contact {
  margin-top: 30px;
  padding: 15px;
  border-radius: 5px;
  background: var(--surface-base);
}

.contact h2 {
  margin-top: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

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

th {
  background: var(--surface-base);
  color: var(--text-primary);
}

.footer-rule {
  margin-top: 40px;
  border: none;
  border-top: 1px solid var(--outline);
}

.footer {
  color: var(--text-secondary);
  font-size: 0.9em;
  text-align: center;
}

/* 404 */
.not-found {
  text-align: center;
}

.not-found ul {
  padding: 0;
  list-style: none;
}

@media print {
  .lang-switch {
    display: none;
  }

  a {
    color: inherit;
  }
}
