* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f4f9fb;
  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 #d7e5ed;
  background: rgba(255, 255, 255, .98);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, #008c8a, #075fb5);
  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: #637589;
  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 #c9dce7;
  border-radius: 999px;
  background: #fff;
  color: #113555;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(350px, .75fr);
  gap: 28px;
  max-width: 1540px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 72px) clamp(18px, 4vw, 58px) 34px;
  background:
    radial-gradient(circle at 8% 12%, rgba(3, 132, 161, .14) 0 10%, transparent 11%),
    radial-gradient(circle at 72% 25%, rgba(6, 104, 185, .14) 0 12%, transparent 13%),
    linear-gradient(115deg, #ffffff 0 54%, #e9f7fb 54% 75%, #fff5dc 75%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 26px auto auto clamp(18px, 3vw, 44px);
  width: 164px;
  height: 164px;
  border: 18px solid rgba(8, 116, 154, .12);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 43%, rgba(8, 116, 154, .22) 44% 46%, transparent 47%),
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(8, 116, 154, .16) 11px 13px);
  opacity: .75;
}

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

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

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

h1 {
  max-width: 910px;
  margin-bottom: 16px;
  color: #061d37;
  font-size: clamp(44px, 5.5vw, 86px);
  line-height: 1.08;
}

.lead {
  max-width: 860px;
  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: 930px;
}

.branch-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px 16px;
  min-height: 164px;
  padding: 20px;
  border: 2px solid #8fd4d0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 16px 34px rgba(15, 76, 106, .1);
  text-decoration: none;
}

.branch-card::after {
  content: "原因と対策をチェック";
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid #9bd6da;
  border-radius: 8px;
  color: #006d85;
  font-size: 16px;
  font-weight: 950;
}

.branch-bath {
  border-color: #8dbff1;
}

.branch-icon {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: #e3f9f6;
  color: #008783;
  font-weight: 950;
}

.branch-bath .branch-icon {
  background: #e7f2ff;
  color: #075fb5;
}

.branch-label {
  color: #00827f;
  font-size: 26px;
  font-weight: 950;
}

.branch-bath .branch-label {
  color: #075fb5;
}

.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,
.panel,
.place-card,
.maintenance-grid article,
.tool-bridge,
.sources-section,
.related-section {
  border: 1px solid #d5e5ed;
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 34px rgba(15, 76, 106, .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, #009a95, #0872bd);
  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 #dbe9ef;
  color: #18314b;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
}

.today-list span,
.place-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #008d88;
  color: #fff;
  font-weight: 950;
}

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

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

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

.quick-answer,
.content-grid,
.place-grid,
.danger-section,
.maintenance-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: #06233f;
  color: #fff;
}

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

.quick-answer span {
  color: #83efe8;
}

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

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

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 360px);
  gap: 20px;
}

.panel {
  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 #d7e5ed;
  border-radius: 8px;
}

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

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

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

tbody th {
  color: #005f77;
  font-weight: 950;
}

.number-list,
.check-list,
.source-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.number-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 16px;
  border-radius: 8px;
  background: #edf8fa;
}

.number-list b {
  color: #06304e;
  font-size: 18px;
}

.number-list span {
  color: #52687b;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
}

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

.place-card {
  padding: 24px;
}

.place-card h2 {
  margin: 14px 0 12px;
  color: #072542;
  font-size: 26px;
  line-height: 1.35;
}

.place-card p {
  color: #2e455c;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #243d56;
  font-size: 16px;
  font-weight: 820;
  line-height: 1.7;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: #008d88;
}

.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;
}

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

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

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

.maintenance-grid span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e4f8f5;
  color: #007b76;
  font-size: 14px;
  font-weight: 950;
}

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

.maintenance-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, #06233f, #075a83);
  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: #d9f2f5;
}

.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-section,
.sources-section {
  padding: 24px;
}

.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 #d4e4ec;
  border-radius: 8px;
  background: #f8fcfd;
  color: #063556;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

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

.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: 980px) {
  .site-header,
  .hero,
  .quick-answer,
  .content-grid,
  .danger-section,
  .tool-bridge {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    padding-top: 28px;
  }

  .hero::before {
    width: 118px;
    height: 118px;
    opacity: .45;
  }

  .today-panel {
    max-width: none;
  }

  .place-grid,
  .maintenance-grid,
  .related-grid,
  .source-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .brand b {
    font-size: 17px;
  }

  .brand small {
    display: none;
  }

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

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 18px;
  }

  .branch-cards {
    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: 23px;
  }

  .quick-answer article,
  .panel,
  .place-card,
  .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;
  }
}
