/*
 * プライスにゃんの公開ページ共通 CSS（LP 以外のページが読む）。
 * 配色は LP（index.html）とアプリ本体にそろえたネイビー基調・差し色オレンジの明るいテーマ。
 *
 * テキスト色のレイヤー設計（重要）
 *   --text       見出し・強調（<strong>、<h3> など）・タイトル類に使う
 *   --text-sub   地の文（<p> / <li> / 本文クラス）に使う。各ページの p/ul/ol
 *                がこれを参照しているため、ここを変えると全ページの
 *                本文読みやすさが変わる
 *   --text-faint 注釈・<small>・.date など、控えめに見せたい補助
 *
 * 変数名は旧テーマ（黒×金）から変えていない。各ページの <style> が
 * --accent-border などを参照しているため。
 */
:root {
  --bg: #f3f5f9;
  --paper: #ffffff;
  --text: #14213d;
  --text-sub: #3a475c;
  --text-faint: #6b7789;
  --navy: #2b4366;
  --navy-deep: #1b2c47;
  --accent: #2b4366;
  --accent-dark: #1b2c47;
  --shu: #e8832a;
  --shu-dark: #c96a18;
  --warn: #b42318;
  --warn-bg: #fef3f2;
  --warn-border: #f5b8b2;
  --accent-border: #d5dce6;
  --accent-border-soft: #e4e9f0;
  --accent-bg: #fff5e6;
  --accent-bg-soft: #ffffff;
  color-scheme: light;
}

html { font-size: 17px; }

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

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: #1f5fa8;
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover {
  text-decoration-thickness: 2px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px;
  background: var(--paper);
  border-left: 1px solid var(--accent-border-soft);
  border-right: 1px solid var(--accent-border-soft);
  min-height: 100vh;
}

h1 {
  color: var(--text);
  font-size: 1.7em;
  font-weight: 900;
  line-height: 1.4;
}

h1::before {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--shu);
  margin-bottom: 16px;
}

h2 {
  color: var(--text);
  font-size: 1.2em;
  font-weight: 700;
}

strong, b {
  color: var(--text);
  font-weight: 700;
}

.back-link a {
  color: var(--text-faint);
}

.notice {
  border: 1px solid #f3c58f;
  background: var(--accent-bg);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 20px 0;
  color: var(--text);
}

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

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.btn-primary {
  background: var(--shu);
  color: #fff;
}
.btn-primary:hover {
  background: var(--shu-dark);
  text-decoration: none;
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-secondary:hover {
  background: #eef2f7;
  text-decoration: none;
}
.btn:focus-visible {
  outline: 3px solid var(--shu);
  outline-offset: 3px;
}

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

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