/*
 * テキスト色のレイヤー設計（重要）
 *   --text       見出し・強調（<strong>、<h3> など）・タイトル類に使う
 *   --text-sub   地の文（<p> / <li> / 本文クラス）に使う。各ページの p/ul/ol
 *                がこれを参照しているため、ここを変えると全ページの
 *                本文読みやすさが変わる
 *   --text-faint 注釈・<small>・.date など、控えめに見せたい補助
 *
 * 「本文を明るくしたい」要望が来たら、まず --text-sub を調整すること。
 * --text を触ると <strong> や見出しが白くなりすぎる。
 */
:root {
  --bg: #0a0a0f;
  --text: #f0e4d0;
  --text-sub: #ece0c0;
  --text-faint: #665e4e;
  --accent: #c9a84c;
  --accent-dark: #a0852e;
  --warn: #ff6b6b;
  --warn-bg: rgba(220, 53, 69, 0.12);
  --warn-border: rgba(220, 53, 69, 0.6);
  --accent-border: rgba(201, 168, 76, 0.2);
  --accent-border-soft: rgba(201, 168, 76, 0.1);
}

html { font-size: 20px; }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Serif JP', 'Georgia', serif;
  color: var(--text);
  background: var(--bg);
}

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

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px;
}

h1 {
  color: var(--accent);
  font-size: 1.6em;
}

h2 {
  color: var(--accent);
  font-size: 1.2em;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 0.05em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(201, 168, 76, 0.5);
  transform: translateY(-2px);
  text-decoration: none;
}
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(201, 168, 76, 0.4);
}
.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(201, 168, 76, 0.08);
  text-decoration: none;
}

footer {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid var(--accent-border-soft);
  color: var(--text-faint);
  font-size: 0.85em;
}
footer a {
  color: var(--text-sub);
}
footer a:hover {
  color: var(--accent);
}

@media (max-width: 600px) {
  .container { padding: 40px 16px; }
  .btn { display: block; text-align: center; }
}
