/* 夜職ノート 公開サイト — 共通スタイル
   色トークンはアプリ本体 app/src/constants/theme.ts と同一。
   デザイン規則（02_仕様・設計/デザイン規則_AI感を出さない.md）に準拠：
   グラデーション・✨・violet系を使わない／日本語本文にletter-spacingを掛けない／
   全部を同じカードにしない（主役は見出しとCTAの2点だけ）。 */

:root {
  --paper: #faf9f6;
  --card: #ffffff;
  --card-line: #e7e4dc;
  --tx: #1a1c22;
  --tx-muted: #6b6a63;
  --gold: #c6a15b;
  --gold-text: #8a6a2f;
  --on-gold: #1a1c22;
  --max-width: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #131210;
    --card: #1e1c18;
    --card-line: #33302a;
    --tx: #ece9e1;
    --tx-muted: #9d988c;
    --gold: #c6a15b;
    --gold-text: #d9b978;
    --on-gold: #131210;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--tx);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.8;
  font-size: 16px;
}

a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダー：ロゴのみ字間を開ける（意匠として"見る"文字なので例外） */
header.site {
  border-bottom: 1px solid var(--card-line);
  padding: 20px 0;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--tx);
  text-decoration: none;
}
nav.site-nav a {
  margin-left: 20px;
  font-size: 14px;
  color: var(--tx-muted);
  text-decoration: none;
}
nav.site-nav a:hover { color: var(--gold-text); }

main { padding: 56px 0 80px; }

h1 {
  font-size: 28px;
  line-height: 1.5;
  margin: 0 0 16px;
  font-weight: 700;
}
h2 {
  font-size: 20px;
  margin: 40px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--card-line);
  font-weight: 700;
}
h2:first-of-type { border-top: none; padding-top: 0; }

p, li { color: var(--tx); }
.lead {
  font-size: 16px;
  color: var(--tx-muted);
  margin-bottom: 32px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
th, td {
  border: 1px solid var(--card-line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
th { color: var(--tx-muted); font-weight: 700; width: 30%; }

.cta {
  display: inline-block;
  padding: 14px 24px;
  border: 1px solid var(--gold);
  color: var(--gold-text);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  min-height: 44px;
}
.cta:hover { background: var(--gold); color: var(--on-gold); }

.badge {
  display: inline-block;
  font-size: 13px;
  color: var(--gold-text);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.feature-list li {
  padding: 16px 0;
  border-top: 1px solid var(--card-line);
}
.feature-list li:last-child { border-bottom: 1px solid var(--card-line); }
.feature-list .f-title {
  font-weight: 700;
  margin-bottom: 4px;
}
.feature-list .f-desc {
  color: var(--tx-muted);
  font-size: 14px;
}

footer.site {
  border-top: 1px solid var(--card-line);
  padding: 32px 0;
  font-size: 13px;
  color: var(--tx-muted);
}
footer.site a { margin-right: 16px; }

.small-print {
  font-size: 13px;
  color: var(--tx-muted);
}

.checklist { padding-left: 20px; }
.checklist li { margin-bottom: 6px; }
