* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f4f8fc;
  color: #10243a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid #d8e4ef;
  background: #062a55;
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, .7);
  border-radius: 8px;
  color: #fff;
  font-size: 22px;
  font-weight: 950;
}

.brand b,
.brand small {
  display: block;
}

.brand b {
  font-size: 20px;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  color: #c8d8ea;
  font-size: 13px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
  gap: 28px;
  max-width: 1540px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 76px) clamp(18px, 4vw, 58px) 34px;
  background:
    radial-gradient(circle at 72% 28%, rgba(0, 90, 180, .13) 0 13%, transparent 14%),
    linear-gradient(112deg, #ffffff 0 54%, #eef7ff 54% 78%, #fff6e4 78%);
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(360px, 30vw, 470px);
  top: 104px;
  width: 238px;
  height: 298px;
  border: 5px solid #0c4f95;
  border-radius: 22px 22px 12px 12px;
  background:
    linear-gradient(#dff0ff, #fff) padding-box,
    radial-gradient(circle at 50% 28%, rgba(18, 92, 166, .25) 0 24%, transparent 25%),
    linear-gradient(90deg, transparent 0 42%, rgba(18, 92, 166, .17) 42% 58%, transparent 58%);
  box-shadow:
    -72px 70px 0 -62px #0c4f95,
    72px 70px 0 -62px #0c4f95,
    24px 20px 0 rgba(5, 54, 102, .08);
  opacity: .23;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  margin-bottom: 20px;
  color: #61758a;
  font-size: 14px;
  font-weight: 800;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #e8f2ff;
  color: #075fb5;
  font-size: 15px;
  font-weight: 950;
}

h1 {
  max-width: 860px;
  margin-bottom: 16px;
  color: #062a55;
  font-size: clamp(44px, 5.4vw, 84px);
  line-height: 1.08;
}

.lead {
  max-width: 820px;
  margin-bottom: 24px;
  color: #203b55;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 760;
  line-height: 1.75;
}

.branch-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 880px;
}

.branch-card {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 10px 16px;
  min-height: 164px;
  padding: 20px;
  border: 2px solid #0b5ab0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 34px rgba(13, 60, 104, .1);
  text-decoration: none;
}

.branch-stop {
  border-color: #d12c2c;
}

.branch-card::after {
  content: "詳しく見る";
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  background: #0b5ab0;
  color: #fff;
  font-size: 16px;
  font-weight: 950;
}

.branch-stop::after {
  background: #d12c2c;
}

.branch-icon {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 14px;
  background: #e7f1ff;
  color: #0b5ab0;
  font-size: 30px;
  font-weight: 950;
}

.branch-stop .branch-icon {
  background: #fff0ef;
  color: #d12c2c;
}

.branch-label {
  color: #0b5ab0;
  font-size: 28px;
  font-weight: 950;
}

.branch-stop .branch-label {
  color: #d12c2c;
}

.branch-card b {
  color: #132a42;
  font-size: 19px;
}

.branch-card small {
  color: #506478;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
}

.today-panel,
.cause-card,
.table-section,
.prevention-grid article,
.tool-bridge,
.sources-section,
.related-section {
  border: 1px solid #d5e3ee;
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 34px rgba(13, 60, 104, .08);
}

.today-panel {
  position: relative;
  z-index: 1;
  padding: 20px;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0b5ab0, #06386c);
  color: #fff;
}

.panel-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 950;
}

.panel-head h2 {
  margin: 0;
  font-size: 28px;
}

.today-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.today-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 11px 0;
  border-bottom: 1px solid #dbe8f2;
  color: #18314b;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
}

.today-list span,
.cause-card > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0b5ab0;
  color: #fff;
  font-weight: 950;
}

.danger-mini {
  margin-top: 18px;
  padding: 16px;
  border: 2px solid #ed9c21;
  border-radius: 8px;
  background: #fff8ea;
}

.danger-mini b {
  display: block;
  margin-bottom: 8px;
  color: #b96600;
  font-size: 22px;
}

.danger-mini p {
  margin-bottom: 0;
  color: #4a3822;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.65;
}

.quick-answer,
.diagnosis-grid,
.table-section,
.danger-section,
.prevention-section,
.tool-bridge,
.related-section,
.sources-section {
  max-width: 1280px;
  margin: 28px auto 0;
  padding-inline: clamp(18px, 4vw, 36px);
}

.quick-answer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.quick-answer article {
  padding: 24px;
  border-radius: 8px;
  background: #062a55;
  color: #fff;
}

.quick-answer span,
.section-head p,
.tool-kicker,
.danger-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: #0b5ab0;
  font-size: 15px;
  font-weight: 950;
}

.quick-answer span {
  color: #9bd1ff;
}

.quick-answer h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.35;
}

.quick-answer p,
.cause-card p,
.danger-section p,
.prevention-grid p,
.tool-bridge p {
  color: inherit;
  font-size: 17px;
  line-height: 1.9;
}

.diagnosis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cause-card {
  padding: 22px;
}

.cause-card h2 {
  margin: 14px 0 10px;
  color: #062a55;
  font-size: 30px;
  line-height: 1.3;
}

.cause-card p {
  color: #304a63;
}

.cause-card b {
  display: block;
  margin: 14px 0 8px;
  color: #0b5ab0;
  font-size: 17px;
}

.cause-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cause-card li {
  position: relative;
  padding-left: 24px;
  color: #233b55;
  font-size: 15px;
  font-weight: 820;
  line-height: 1.65;
}

.cause-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #0b5ab0;
}

.table-section,
.related-section,
.sources-section {
  padding: 24px;
}

.section-head h2 {
  margin-bottom: 16px;
  color: #092541;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.32;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #d7e5ef;
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid #d7e5ef;
  text-align: left;
  vertical-align: top;
  font-size: 16px;
  line-height: 1.65;
}

thead th {
  background: #e8f3ff;
  color: #07375b;
  font-size: 15px;
  font-weight: 950;
}

tbody th {
  color: #0b5ab0;
  font-weight: 950;
}

.danger-section {
  display: grid;
  grid-template-columns: minmax(0, .58fr) minmax(0, 1fr);
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-radius: 8px;
  background: #fff;
}

.danger-kicker {
  color: #d92626;
}

.danger-section h2 {
  color: #d92626;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.24;
}

.danger-section > div:first-child {
  padding: 24px;
}

.danger-section > div:first-child p {
  color: #354b61;
}

.danger-grid {
  display: grid;
  gap: 14px;
}

.danger-grid article {
  padding: 18px;
  border: 2px solid #f0b2a8;
  border-radius: 8px;
  background: #fff7f4;
}

.danger-grid b {
  color: #c81f1f;
  font-size: 22px;
}

.danger-grid p {
  margin: 8px 0 0;
  color: #483332;
  font-size: 16px;
}

.prevention-section {
  padding-top: 26px;
}

.prevention-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.prevention-grid article {
  padding: 22px;
}

.prevention-grid span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e8f3ff;
  color: #0b5ab0;
  font-size: 14px;
  font-weight: 950;
}

.prevention-grid h3 {
  margin-bottom: 8px;
  color: #082742;
  font-size: 23px;
}

.prevention-grid p {
  color: #354b61;
}

.tool-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .62fr);
  gap: 22px;
  padding: 26px;
  background: linear-gradient(135deg, #062a55, #0b5ab0);
  color: #fff;
}

.tool-bridge h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.3;
}

.tool-bridge p {
  margin-bottom: 0;
  color: #dcecff;
}

.tool-links {
  display: grid;
  gap: 12px;
}

.tool-links a {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 17px;
  font-weight: 950;
  text-decoration: none;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.related-grid a,
.source-list a {
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #d4e4ee;
  border-radius: 8px;
  background: #f8fcff;
  color: #063556;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

.source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 42px;
  padding: 34px 18px 46px;
  color: #52687b;
}

.site-footer a {
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .hero,
  .quick-answer,
  .danger-section,
  .tool-bridge {
    grid-template-columns: 1fr;
  }

  .hero::after {
    opacity: .08;
    right: 42px;
  }

  .diagnosis-grid,
  .prevention-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .brand b {
    font-size: 17px;
  }

  .brand small {
    display: none;
  }

  .site-nav a {
    font-size: 13px;
  }

  .hero {
    padding-top: 28px;
  }

  h1 {
    font-size: 41px;
  }

  .lead {
    font-size: 18px;
  }

  .branch-cards,
  .quick-answer,
  .diagnosis-grid,
  .prevention-grid,
  .related-grid,
  .source-list {
    grid-template-columns: 1fr;
  }

  .branch-card {
    grid-template-columns: 54px 1fr;
    min-height: 150px;
    padding: 16px;
  }

  .branch-icon {
    width: 54px;
    height: 54px;
  }

  .branch-label {
    font-size: 24px;
  }

  .quick-answer article,
  .cause-card,
  .table-section,
  .danger-section > div:first-child,
  .tool-bridge,
  .related-section,
  .sources-section {
    padding: 18px;
  }

  .quick-answer h2,
  .section-head h2 {
    font-size: 27px;
  }

  table {
    min-width: 680px;
  }
}
