/* ==================================================
 * サイト詳細ページ共通スタイル
 * 火の山ブランドガイドライン ver1.1 準拠
 * 方針: 余白とヘアラインで区切る静かなエディトリアル。
 *       カード影・丸み・アイコンの多用を避ける
 * ================================================== */
:root {
  --red: #C23800;
  --red-dark: #A62F00;
  --navy: #001E43;
  --night-700: #33475E;
  --sky: #A0CFEE;
  --sky-050: #EAF4FB;
  --gray: #AAA5A4;
  --gray-700: #7E7977;
  --hairline: #E5E1DC;
  --bg: #FAF9F6;
  --ink: #1A2433;
  --muted: #5B6B7E;
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Plus Jakarta Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--ink);
  line-height: 2;
  letter-spacing: 0.01em;
  font-size: 15px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 { color: var(--navy); font-feature-settings: "palt" 1; line-height: 1.4; }

/* ---------- header / footer ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--hairline);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header img { height: 38px; width: auto; max-width: 58vw; object-fit: contain; }

.site-header .reserve {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: var(--red);
  text-decoration: none;
  padding: 9px 22px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-header .reserve:hover { background: var(--red-dark); }

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 40px 28px 60px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.9;
}

.site-footer a { color: var(--navy); font-weight: 600; text-decoration: none; }

/* ---------- layout ---------- */
.wrap { max-width: 920px; margin: 0 auto; padding: 0 28px; }

.crumb {
  font-size: 0.76rem;
  color: var(--muted);
  padding: 26px 0 0;
}
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--red); }

/* ---------- page hero ---------- */
.page-hero { padding: 44px 0 0; }

.eyebrow {
  font-family: var(--font-en);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--red);
  text-transform: uppercase;
}

.page-hero h1 {
  font-size: 2.1rem;
  font-weight: 800;
  margin: 10px 0 4px;
}

.page-hero .en-sub {
  font-family: var(--font-en);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: var(--gray-700);
  text-transform: uppercase;
}

.page-hero .lead {
  margin: 26px 0 0;
  max-width: 640px;
  color: var(--night-700);
}

.hero-visual { margin: 40px 0 0; }
.hero-visual img { width: 100%; border-radius: 4px; }
.hero-visual figcaption {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 8px;
  text-align: right;
}

/* ---------- sections ---------- */
section { padding: 72px 0 0; }
section:last-of-type { padding-bottom: 88px; }

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 14px;
  margin-bottom: 34px;
}

.sec-head .num {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
}

.sec-head h2 { font-size: 1.35rem; font-weight: 800; }

/* ---------- spec table ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}

.spec-cell {
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 18px 22px 16px;
}

.spec-cell dt {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.spec-cell dd {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2px;
}

.spec-cell dd small { font-size: 0.76rem; font-weight: 500; color: var(--muted); }

.spec-note { font-size: 0.76rem; color: var(--muted); margin-top: 14px; }

/* ---------- layout diagram ---------- */
.diagram-block { background: #fff; border: 1px solid var(--hairline); border-radius: 4px; padding: 34px 34px 26px; }
.diagram-block svg { width: 100%; height: auto; }
.diagram-caption { font-size: 0.78rem; color: var(--muted); margin-top: 14px; line-height: 1.9; }

/* ---------- recommend list ---------- */
.reco-list { list-style: none; counter-reset: reco; }

.reco-list li {
  counter-increment: reco;
  display: flex;
  gap: 22px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}

.reco-list li::before {
  content: counter(reco, decimal-leading-zero);
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--red);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.reco-list strong { color: var(--navy); display: block; font-size: 1rem; }
.reco-list p { font-size: 0.88rem; color: var(--muted); margin-top: 2px; }

/* ---------- timeline ---------- */
.timeline { list-style: none; border-left: 2px solid var(--sky); margin-left: 6px; }

.timeline li { position: relative; padding: 0 0 30px 30px; }
.timeline li:last-child { padding-bottom: 4px; }

.timeline li::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--red);
}

.timeline .t {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--red);
  letter-spacing: 0.04em;
}

.timeline strong { color: var(--navy); font-size: 0.98rem; display: block; }
.timeline p { font-size: 0.86rem; color: var(--muted); }

/* ---------- price ---------- */
.price-block { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }

.price-block .yen {
  font-family: var(--font-en);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.price-block .unit { font-size: 0.85rem; color: var(--muted); }

.price-notes { font-size: 0.78rem; color: var(--muted); margin-top: 14px; line-height: 2; }

.rule-chips { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 22px; }

.rule-chips span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--night-700);
  border: 1px solid var(--hairline);
  background: #fff;
  padding: 5px 14px;
  border-radius: 3px;
}

/* ---------- compare table ---------- */
.compare { width: 100%; border-collapse: collapse; font-size: 0.85rem; }

.compare th, .compare td {
  border: 1px solid var(--hairline);
  padding: 12px 10px;
  text-align: center;
  background: #fff;
}

.compare thead th { background: var(--navy); color: #fff; font-weight: 700; font-size: 0.82rem; }
.compare tbody th { background: var(--bg); font-weight: 600; color: var(--muted); font-size: 0.78rem; width: 118px; }
.compare .current { background: var(--sky-050); font-weight: 700; color: var(--navy); }
.compare a { color: var(--red); font-weight: 700; text-decoration: none; }
.compare a:hover { text-decoration: underline; }

/* ---------- faq ---------- */
.mini-faq { border-top: 1px solid var(--hairline); }
.mini-faq div { border-bottom: 1px solid var(--hairline); padding: 20px 4px; }
.mini-faq dt { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.mini-faq dd { font-size: 0.88rem; color: var(--muted); margin-top: 6px; }

/* ---------- cta ---------- */
.detail-cta {
  margin-top: 88px;
  background: var(--sky-050);
  padding: 64px 28px;
  text-align: center;
}

.detail-cta h2 { font-size: 1.4rem; margin-bottom: 8px; }
.detail-cta p { font-size: 0.88rem; color: var(--night-700); }

.detail-cta .actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

.detail-cta .btn-form {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 15px 40px;
  border-radius: 3px;
}

.detail-cta .btn-form:hover { background: var(--red-dark); }

.detail-cta .btn-tel {
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  padding: 15px 32px;
  border-radius: 3px;
  border: 1px solid rgba(0, 30, 67, 0.18);
  font-family: var(--font-en);
}

.detail-cta small { display: block; margin-top: 16px; font-size: 0.74rem; color: var(--muted); }

/* ---------- prev / next ---------- */
.site-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--hairline); }

.site-nav a {
  padding: 26px 28px;
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-nav a strong { display: block; color: var(--navy); font-size: 1rem; margin-top: 2px; }
.site-nav a:hover strong { color: var(--red); }
.site-nav a + a { border-left: 1px solid var(--hairline); text-align: right; }

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .spec-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 1.65rem; }
  .diagram-block { padding: 20px 18px 16px; }
  .compare { font-size: 0.76rem; }
  .compare tbody th { width: 84px; }
  section { padding: 56px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
