* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0a62d0, #0b2f68);
  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 #cdddec;
  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.16fr) minmax(360px, .84fr);
  gap: 28px;
  max-width: 1540px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 76px) clamp(18px, 4vw, 58px) 34px;
  background:
    radial-gradient(circle at 71% 20%, rgba(10, 98, 208, .12) 0 13%, transparent 14%),
    linear-gradient(112deg, #ffffff 0 53%, #edf6ff 53% 78%, #fff6dc 78%);
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(360px, 29vw, 460px);
  top: 80px;
  width: 370px;
  height: 240px;
  background:
    radial-gradient(circle at 20% 74%, #df3434 0 5%, transparent 5.4%),
    radial-gradient(circle at 34% 72%, #f4bd20 0 5%, transparent 5.4%),
    radial-gradient(circle at 48% 74%, #49a44f 0 5%, transparent 5.4%),
    radial-gradient(circle at 62% 72%, #0a62d0 0 5%, transparent 5.4%),
    radial-gradient(circle at 76% 74%, #0c254d 0 5%, transparent 5.4%),
    linear-gradient(90deg, transparent 0 12%, #ffffff 12% 88%, transparent 88%),
    linear-gradient(0deg, transparent 0 68%, rgba(11, 47, 104, .18) 68% 72%, transparent 72%);
  border-radius: 18px;
  box-shadow:
    0 0 0 5px rgba(11, 47, 104, .08),
    0 22px 38px rgba(11, 47, 104, .12);
  opacity: .7;
}

.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: #e7f1ff;
  color: #0a62d0;
  font-size: 15px;
  font-weight: 950;
}

h1 {
  max-width: 940px;
  margin-bottom: 16px;
  color: #071f44;
  font-size: clamp(42px, 5.2vw, 82px);
  line-height: 1.08;
}

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

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

.branch-name {
  border-color: #f4b400;
}

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

.branch-name::after {
  background: #f4b400;
  color: #17233a;
}

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

.branch-name .branch-icon {
  background: #fff4c7;
  color: #ad7600;
}

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

.branch-name .branch-label {
  color: #ad7600;
}

.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,
.item-card,
.table-section,
.tool-bridge,
.sources-section,
.related-section,
.maintenance-grid article {
  border: 1px solid #d5e3f3;
  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, #0a62d0, #0b2f68);
  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: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

.warning-mini {
  margin-top: 18px;
  padding: 16px;
  border: 2px solid #f07872;
  border-radius: 8px;
  background: #fff5f4;
}

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

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

.quick-answer,
.item-grid,
.table-section,
.wait-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: #071f44;
  color: #fff;
}

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

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

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

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

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

.item-card {
  padding: 22px;
}

.item-card span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 11px;
  border-radius: 999px;
  background: #e7f1ff;
  color: #0a62d0;
  font-size: 15px;
  font-weight: 950;
}

.item-card h2 {
  margin-bottom: 10px;
  color: #071f44;
  font-size: 24px;
  line-height: 1.35;
}

.item-card p {
  color: #314b62;
}

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

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

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

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

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

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

.wait-kicker {
  color: #d65045;
}

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

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

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

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

.wait-grid article {
  padding: 18px;
  border: 2px solid #f1b4ac;
  border-radius: 8px;
  background: #fff8f6;
}

.wait-grid b {
  color: #c93c35;
  font-size: 22px;
}

.wait-grid p {
  margin: 8px 0 0;
  color: #493433;
  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: #e7f1ff;
  color: #0a62d0;
  font-size: 14px;
  font-weight: 950;
}

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

.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, #071f44, #0a62d0);
  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,
.source-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

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

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

.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: 1120px) {
  .hero,
  .quick-answer,
  .wait-section,
  .tool-bridge {
    grid-template-columns: 1fr;
  }

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

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

  h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 18px;
  }

  .branch-cards,
  .item-grid,
  .wait-grid,
  .maintenance-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,
  .item-card,
  .table-section,
  .wait-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;
  }
}
