:root {
  --ink: #08234a;
  --muted: #5a6675;
  --line: #dbe3ea;
  --green: #057a48;
  --green-soft: #edf8f1;
  --yellow: #f4b63c;
  --blue: #2566a8;
  --coral: #e4594f;
  --white: #fff;
  --bg: #f8faf7;
  --shadow: 0 18px 42px rgba(8,35,74,.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff, var(--bg));
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
  letter-spacing: 0;
}
a { color: inherit; }

.site-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-weight: 950;
  text-decoration: none;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.top-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  font-weight: 850;
}

.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 24px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.hero-main,
.list-panel { min-width: 0; }

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 1.25rem;
  font-weight: 950;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 6.2vw, 5.8rem);
  line-height: 1.05;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 850px;
  margin: 14px 0 0;
  font-size: clamp(1.18rem, 2.3vw, 1.65rem);
  line-height: 1.55;
  font-weight: 900;
}

.answer-tiles {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.answer-tiles div {
  min-height: 156px;
  padding: 18px;
  border: 2px solid rgba(5,122,72,.35);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(8,35,74,.06);
}

.answer-tiles span,
.answer-tiles p {
  display: block;
  margin: 0;
  font-weight: 850;
}

.answer-tiles strong {
  display: block;
  margin: 4px 0;
  color: var(--green);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
  font-weight: 950;
}

.answer-tiles .priority {
  border-color: rgba(228,89,79,.5);
}

.answer-tiles .priority strong {
  color: var(--coral);
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.list-panel {
  border: 2px solid rgba(5,122,72,.65);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.list-panel h2 {
  margin: 0;
  padding: 18px 20px;
  color: var(--green);
  background: linear-gradient(90deg, #ecf8f0, #fff);
  font-size: 1.55rem;
}

.list-panel label {
  min-height: 62px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 0 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 850;
}

.list-panel input {
  width: 22px;
  height: 22px;
}

.list-panel label span {
  color: var(--muted);
  font-weight: 800;
}

.panel-note {
  margin: 18px;
  padding: 14px;
  border: 1px solid rgba(228,89,79,.35);
  border-radius: 8px;
  background: #fff7f2;
  color: #873529;
  font-weight: 850;
}

.content-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.content-main,
.side-column { min-width: 0; }

.section,
.answer-card,
.side-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 10px 25px rgba(8,35,74,.06);
}

.section,
.answer-card {
  margin-bottom: 18px;
  padding: 28px;
}

.answer-card {
  border-color: rgba(5,122,72,.35);
  background: linear-gradient(120deg, #effaf2, #fff);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 4px solid var(--ink);
}

.section-head p {
  margin: 0;
  color: var(--green);
  font-weight: 950;
}

.section h2,
.answer-card h2,
.side-card h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.9vw, 2.05rem);
  line-height: 1.28;
}

.section p,
.answer-card p {
  margin: 12px 0 0;
  font-size: 1.03rem;
}

.prep-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
}

.prep-table th,
.prep-table td {
  border: 1px solid #dce4eb;
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.prep-table th {
  background: var(--ink);
  color: #fff;
}

.item-grid,
.name-layout,
.check-list,
.source-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.item-grid div,
.name-layout div,
.check-list label,
.source-links a {
  min-height: 86px;
  padding: 16px;
  border: 1px solid #dce4eb;
  border-radius: 8px;
  background: #fff;
}

.item-grid strong,
.name-layout strong {
  display: block;
  font-size: 1.08rem;
}

.name-layout span {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-weight: 950;
}

.check-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.check-list input {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.rotation {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.rotation div {
  min-height: 100px;
  padding: 16px;
  border: 1px solid #dce4eb;
  border-radius: 8px;
  background: #fff;
}

.rotation b,
.rotation span {
  display: block;
}

.rotation b {
  color: var(--green);
  font-size: 1.4rem;
}

.rotation span {
  margin-top: 8px;
  font-weight: 850;
  line-height: 1.5;
}

.caution {
  border-color: rgba(228,89,79,.35);
  background: linear-gradient(135deg, #fff8ee, #fff);
}

.caution .section-head {
  border-color: var(--coral);
}

.caution .section-head p {
  color: var(--coral);
}

.source-links a {
  min-height: 66px;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 850;
  line-height: 1.45;
}

.side-column {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 14px;
}

.side-card {
  padding: 18px;
}

.side-card h2 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.side-card a {
  display: block;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #dce4eb;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  font-weight: 850;
  line-height: 1.45;
}

.ad-slot {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border: 1px dashed #cdd7e1;
  border-radius: 8px;
  background: rgba(255,255,255,.7);
}

.footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer a {
  color: var(--ink);
  font-weight: 950;
  text-decoration: none;
}

@media (max-width: 1020px) {
  .hero,
  .content-grid { grid-template-columns: 1fr; }
  .side-column { position: static; }
  .answer-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
  }

  .top-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-nav a { justify-content: center; }
  .hero,
  .content-grid {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 { font-size: clamp(2.4rem, 13vw, 3.25rem); }
  .lead { font-size: 1.13rem; }

  .answer-tiles,
  .item-grid,
  .name-layout,
  .check-list,
  .source-links,
  .rotation {
    grid-template-columns: 1fr;
  }

  .section,
  .answer-card { padding: 20px 16px; }
  .section-head { display: block; }
  .prep-table {
    display: block;
    overflow-x: auto;
  }
}
