:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --paper: #ffffff;
  --ink: #1f2a2e;
  --muted: #5d6a70;
  --line: #dce3df;
  --accent: #2f6f73;
  --accent-2: #8a6f37;
  --soft: #eef5f1;
  --warn: #fff6df;
  --shadow: 0 18px 50px rgba(31, 42, 46, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  line-height: 1.8;
  color: var(--ink);
  background: radial-gradient(circle at 15% 0%, #edf7f2 0, transparent 30rem), var(--bg);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); min-width: 180px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #465e82);
  font-weight: 800;
  letter-spacing: 0;
}
.brand strong, .brand small { display: block; line-height: 1.25; }
.brand small { color: var(--muted); font-size: 12px; }
.global-nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.global-nav a { padding: 7px 10px; border-radius: 8px; color: var(--ink); font-size: 14px; }
.global-nav a:hover { background: var(--soft); text-decoration: none; }
main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
  padding: clamp(36px, 7vw, 78px) 0 30px;
}
.eyebrow { margin: 0 0 8px; color: var(--accent-2); font-weight: 700; font-size: 13px; letter-spacing: 0; }
h1 { margin: 0; font-size: clamp(30px, 5vw, 54px); line-height: 1.18; letter-spacing: 0; }
.lead { max-width: 760px; color: var(--muted); font-size: clamp(16px, 2vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
}
.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.button:hover { text-decoration: none; transform: translateY(-1px); }
.note-link { margin-top: 14px; color: var(--muted); }
.signal-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.signal-ring {
  width: 150px;
  height: 150px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border: 12px solid #d5e7df;
  border-top-color: var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 800;
}
.signal-panel ul { margin: 0; padding-left: 20px; }
.notice, .section {
  margin: 22px 0;
  padding: clamp(18px, 3vw, 28px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31, 42, 46, .04);
}
.notice { background: var(--warn); }
.red-eye-alert {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: 22px 0;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid #f0c7c7;
  border-radius: 8px;
  background: linear-gradient(135deg, #fffafa, #fff);
  box-shadow: 0 10px 28px rgba(142, 38, 38, .08);
}
.red-eye-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #ff6a6a 0 18%, #c51f2f 19% 34%, #4f141a 35% 39%, #f8e5e5 40% 58%, #f4b6b6 59% 100%);
  box-shadow: 0 0 0 6px #fff, 0 0 26px rgba(197, 31, 47, .28);
}
.red-eye-icon::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  transform: translate(-8px, -12px) rotate(-18deg);
}
.red-eye-icon span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px rgba(255,255,255,.9);
}
.red-eye-balloon {
  position: relative;
  padding: 12px 14px;
  border: 1px solid #f0c7c7;
  border-radius: 8px;
  background: #fff;
}
.red-eye-title {
  margin-bottom: 4px;
  color: #a51d2a;
  font-weight: 800;
}
.red-eye-balloon p:last-of-type { margin-bottom: 6px; }
h2 { margin: 0 0 12px; font-size: clamp(21px, 3vw, 30px); line-height: 1.35; letter-spacing: 0; }
p { margin: 0 0 12px; }
.check-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.check-list li {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.related-card {
  display: grid;
  gap: 4px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  color: var(--ink);
}
.related-card span { font-weight: 800; }
.related-card small { color: var(--muted); overflow-wrap: anywhere; }
.external-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.external-list li {
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.external-list span { color: var(--muted); font-size: 14px; }
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fbfcfa;
}
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 800; }
.site-footer {
  margin-top: 44px;
  padding: 30px clamp(16px, 4vw, 48px);
  background: #1f2a2e;
  color: #eaf0ed;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.footer-title { font-weight: 800; color: #fff; }
.guide-links { display: flex; flex-wrap: wrap; gap: 8px; }
.guide-links a {
  display: inline-flex;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  color: #eaf0ed;
  font-size: 13px;
}
.copyright { max-width: 1120px; margin: 20px auto 0; color: #bac7c3; font-size: 13px; }
@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .global-nav { justify-content: flex-start; }
  .hero { grid-template-columns: 1fr; padding-top: 28px; }
  .signal-panel { order: -1; }
  .signal-ring { width: 116px; height: 116px; }
  .red-eye-alert { grid-template-columns: 1fr; }
  .red-eye-icon { margin: 0 auto; }
  .related-grid, .external-list, .footer-grid { grid-template-columns: 1fr; }
  .button { width: 100%; }
}
