/* ============ 防災スタジオ ブランドサイト ============ */
:root {
  --bg: #f6f2ea;          /* 生成り */
  --bg-alt: #ece7dc;      /* 少し濃い生成り */
  --ink: #22303c;         /* 墨色 */
  --ink-soft: #4a5866;
  --accent: #c2762a;      /* 琥珀（注意喚起になじむ暖色） */
  --line: #d9d2c4;
  --max: 960px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
}

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

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 242, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none; letter-spacing: 0.06em; }
.nav { display: flex; gap: 1.4em; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.88rem; }
.nav a:hover { color: var(--accent); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 64px; text-align: center; }
.hero-logo { width: min(300px, 60vw); height: auto; margin-bottom: 32px; }
.hero-copy { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 700; letter-spacing: 0.08em; line-height: 1.7; }
.hero-sub { margin-top: 16px; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 {
  font-size: 1.5rem; letter-spacing: 0.1em; margin-bottom: 28px;
  padding-left: 14px; border-left: 4px solid var(--accent);
}
.section p { margin-bottom: 1em; max-width: 46em; }
.lead { color: var(--ink-soft); }
.note { font-size: 0.85rem; color: var(--ink-soft); }
strong { color: var(--accent); font-weight: 700; }

/* ---------- timeline ---------- */
.timeline { list-style: none; margin-top: 8px; }
.timeline li {
  display: flex; gap: 20px; padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: none; }
.tl-year { flex: 0 0 7em; font-weight: 700; color: var(--accent); font-size: 0.92rem; padding-top: 2px; }
.tl-body { flex: 1; font-size: 0.95rem; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 8px 0 20px; }
.card {
  background: #fffdf8; border: 1px solid var(--line); border-radius: 10px;
  padding: 26px 24px;
}
.section-alt .card { background: #faf7f0; }
.card h3 { font-size: 1.05rem; margin-bottom: 10px; letter-spacing: 0.04em; }
.card p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0; }

/* ---------- info table ---------- */
.info-table { width: 100%; border-collapse: collapse; max-width: 640px; }
.info-table th, .info-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); font-size: 0.95rem; vertical-align: top; }
.info-table th { width: 7em; color: var(--ink-soft); font-weight: 600; white-space: nowrap; }

/* ---------- 備蓄のきほん ---------- */
.hero-small { padding: 56px 0 44px; }
.hero-eyebrow { color: var(--accent); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.2em; margin-bottom: 10px; }
.hero-small .hero-copy { font-size: clamp(1.7rem, 5vw, 2.4rem); }
.big-formula {
  font-size: clamp(1.3rem, 3.5vw, 1.8rem); font-weight: 700; color: var(--accent);
  letter-spacing: 0.06em; margin: 18px 0 6px;
}
.stock-table { margin-bottom: 28px; }
.stock-table th { width: 14em; white-space: normal; }
.callouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.tool-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 18px; }
.tool-list li {
  background: #fffdf8; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; font-size: 0.92rem;
}
.cycle { font-weight: 700; color: var(--accent); letter-spacing: 0.05em; margin: 4px 0 20px; }
.check-list { list-style: none; margin-top: 4px; }
.check-list li { padding-left: 1.5em; position: relative; font-size: 0.95rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.text-link { color: var(--accent); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; text-align: center; font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- responsive ---------- */
.sp { display: none; }
@media (max-width: 640px) {
  .nav { display: none; }
  .sp { display: inline; }
  .section { padding: 52px 0; }
  .hero { padding: 52px 0 44px; }
  .timeline li { flex-direction: column; gap: 4px; }
  .tl-year { flex: none; }
}
