:root {
  --red: #e60012;
  --deep: #b90010;
  --ink: #191416;
  --sub: #6f6266;
  --paper: #fffafa;
  --card: #fff;
  --line: #ead9dd;
  --soft: #fff0f2;
  --green: #147a50;
  --shadow: 0 14px 38px rgba(130, 0, 18, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
}
a { color: var(--red); text-underline-offset: 3px; }
.wrap { width: min(960px, 90vw); margin-inline: auto; }
.topline { height: 6px; background: linear-gradient(90deg, #9d000d, var(--red), #ff6672); }
header { background: var(--red); color: #fff; }
.bar { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { color: #fff; text-decoration: none; font-size: 2rem; font-weight: 900; letter-spacing: -.1em; transform: skew(-3deg); }
.header-nav { margin-left: auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; }
.header-nav a { color: #fff; text-decoration: none; font-size: .88rem; font-weight: 800; }
.hero { padding: 54px 0 42px; background: linear-gradient(180deg, var(--soft), var(--paper)); }
.eyebrow { margin: 0 0 9px; color: var(--red); font-weight: 900; font-size: .9rem; }
h1 { margin: 0; font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1.3; letter-spacing: -.055em; font-weight: 900; }
.lead { max-width: 760px; margin: 18px 0 0; color: #51464a; font-size: 1.05rem; line-height: 1.95; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--sub); font-size: .82rem; }
main { padding: 8px 0 70px; }
.article { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 5vw, 48px); box-shadow: var(--shadow); }
.article h2 { margin: 44px 0 14px; font-size: 1.6rem; line-height: 1.45; letter-spacing: -.035em; font-weight: 900; padding-left: 14px; border-left: 6px solid var(--red); }
.article h2:first-child { margin-top: 0; }
.article h3 { margin: 30px 0 10px; font-size: 1.14rem; line-height: 1.6; font-weight: 900; }
.article p, .article li { color: #463c40; line-height: 2; }
.article ul, .article ol { padding-left: 1.35rem; }
.note { margin: 24px 0; padding: 18px 20px; border-radius: 14px; background: var(--soft); border-left: 5px solid var(--red); }
.note strong { display: block; margin-bottom: 4px; color: var(--ink); }
.checklist { display: grid; gap: 10px; padding: 0; list-style: none; }
.checklist li { position: relative; padding: 13px 15px 13px 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.checklist li::before { content: "✓"; position: absolute; left: 15px; top: 12px; width: 21px; height: 21px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: .75rem; font-weight: 900; }
.table-wrap { overflow-x: auto; margin: 20px 0; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: 13px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.75; }
th { background: var(--soft); font-weight: 900; }
.summary { margin-top: 38px; padding: 24px; border-radius: 16px; background: #21191b; color: #fff; }
.summary h2 { margin: 0 0 10px; padding: 0; border: 0; color: #fff; font-size: 1.35rem; }
.summary p { margin: 0; color: #eee4e7; }
.article-links { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.article-link { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 900; }
.article-link small { display: block; margin-top: 5px; color: var(--sub); font-weight: 500; line-height: 1.6; }
.article-link:hover { border-color: var(--red); color: var(--red); }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.guide-card { display: flex; flex-direction: column; min-height: 230px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.guide-card:hover { border-color: var(--red); transform: translateY(-2px); }
.guide-card span { color: var(--red); font-size: .78rem; font-weight: 900; }
.guide-card h2 { margin: 10px 0; font-size: 1.35rem; line-height: 1.5; }
.guide-card p { margin: 0; color: var(--sub); line-height: 1.8; }
.guide-card strong { margin-top: auto; padding-top: 16px; color: var(--red); }
footer { padding: 30px 0; background: #21191b; color: #cdbfc2; font-size: .8rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.footer-links a { color: #fff; text-decoration: none; font-weight: 700; }
.footer-note { margin-top: 15px; line-height: 1.7; }
@media (max-width: 680px) {
  .bar { align-items: flex-start; padding: 16px 0; }
  .brand { font-size: 1.65rem; }
  .header-nav { gap: 8px 12px; }
  .guide-grid, .article-links { grid-template-columns: 1fr; }
  .article { padding: 24px 18px; }
  .hero { padding-top: 38px; }
}
