:root {
  --ink: #3f4448;
  --muted: #6d7477;
  --deep: #38849c;
  --teal: #38849c;
  --aqua: #6fb5cb;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --line: rgba(56, 132, 156, 0.18);
  --max: 980px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "M PLUS Rounded 1c", system-ui, sans-serif;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
}

a { color: inherit; text-underline-offset: 0.18em; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 42px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--deep);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 160px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  font-size: 14px;
}

.brand-text {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: 100%;
}

.site-nav a {
  text-decoration: none;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.72);
}

.site-nav a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
}

.nav-group { position: relative; }

.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  padding: 12px;
  background: var(--deep);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.nav-group:hover .nav-sub,
.nav-group:focus-within .nav-sub {
  display: grid;
  gap: 8px;
}

.menu-button {
  display: none;
  margin-left: auto;
  color: #fff;
  background: transparent;
  border: 0;
  font-size: 28px;
}

.hero {
  min-height: 770px;
  display: grid;
  place-items: center start;
  padding: 96px max(24px, calc((100vw - var(--max)) / 2));
  color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(rgba(33, 78, 90, 0.76), rgba(33, 78, 90, 0.76)),
    radial-gradient(circle at 74% 34%, rgba(255,255,255,0.22), transparent 25%),
    var(--deep);
}

.hero-inner {
  width: min(460px, 100%);
  text-align: center;
}

.hero h1 {
  margin: 20px 0 10px;
  font-size: clamp(42px, 7vw, 66px);
  line-height: 1.2;
  letter-spacing: 0;
}

.hero h2,
.hero p {
  margin: 14px 0;
}

.hero .rule {
  border-top: 1px dashed rgba(255,255,255,0.52);
  border-bottom: 1px dashed rgba(255,255,255,0.52);
  padding: 18px 0;
}

.section {
  padding: 86px max(24px, calc((100vw - var(--max)) / 2));
}

.section.narrow {
  max-width: 760px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.band {
  color: #fff;
  background: var(--teal);
}

.band-light {
  color: #fff;
  background: var(--aqua);
}

.page-title {
  margin: 0 0 36px;
  font-size: clamp(34px, 5vw, 52px);
  text-align: center;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin: 0 auto 42px;
  text-align: center;
}

.center { text-align: center; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  min-width: 190px;
  padding: 10px 26px;
  border: 1px solid currentColor;
  text-decoration: none;
}

.news-list {
  display: grid;
  gap: 22px;
  max-width: 720px;
  margin: 0 auto 42px;
  padding: 0;
  list-style: none;
}

.news-list--page {
  gap: 0;
  max-width: 100%;
  margin: 0 0 42px;
}

.news-item {
  display: grid;
  gap: 6px;
}

.news-list--page .news-item {
  padding: 42px max(24px, calc((100vw - var(--max)) / 2));
  gap: 10px;
}

.news-list--page .news-item:nth-child(odd) {
  background: #d7e8ec;
}

.news-list--page .news-item:nth-child(even) {
  background: #fff;
}

.news-date {
  color: var(--muted);
}

.news-title {
  font-size: 18px;
}

.news-body {
  white-space: pre-line;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.card h2,
.card h3 {
  margin-top: 0;
  text-align: center;
}

.content {
  display: grid;
  gap: 34px;
}

.content h2,
.content h3 {
  margin-bottom: 4px;
  color: var(--deep);
}

.case,
.machine,
.notice {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.placeholder {
  display: grid;
  place-items: center;
  min-height: 180px;
  margin: 22px 0;
  padding: 24px;
  color: var(--muted);
  border: 2px dashed var(--line);
  background: var(--soft);
  text-align: center;
}

.map-placeholder {
  min-height: 270px;
  color: #fff;
  background: linear-gradient(rgba(0,0,0,0.22), rgba(0,0,0,0.22)), #9ca5a8;
}

.site-footer {
  padding: 96px max(24px, calc((100vw - var(--max)) / 2)) 64px;
  color: #fff;
  background: var(--teal);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.footer-grid section {
  padding: 30px;
  background: var(--aqua);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 70px;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 56px;
    padding: 0 24px;
  }

  .menu-button { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    padding: 18px 24px 26px;
    background: var(--deep);
    align-items: stretch;
    gap: 14px;
  }

  .site-nav.is-open { display: grid; }

  .nav-sub {
    display: grid;
    position: static;
    box-shadow: none;
    padding: 8px 0 0 18px;
  }

  .hero {
    min-height: 560px;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section { padding-top: 64px; padding-bottom: 64px; }

  .cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
