:root {
  --navy: #003f7d;
  --navy-dark: #082f59;
  --ink: #202124;
  --muted: #62666d;
  --line: #e4ddd6;
  --paper: #fffaf5;
  --white: #fff;
  --shadow: 0 18px 42px rgba(20, 31, 45, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  color: var(--white);
  background: #132233;
}

.header-bar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}

.global-nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
}

.global-nav a {
  color: rgba(255, 255, 255, .9);
  text-decoration: none;
}

.hero {
  background:
    linear-gradient(90deg, rgba(8, 27, 45, .92), rgba(17, 48, 72, .82)),
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.15), transparent 28%),
    linear-gradient(135deg, #0e1825 0%, #0e1825 30%, #1c3549 30%, #1c3549 55%, #263f4d 55%, #263f4d 100%);
  border-top: 1px solid rgba(255,255,255,.12);
}

.hero-inner {
  min-height: 390px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 8px;
  color: #b8d6f2;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.14;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255,255,255,.9);
  font-size: 17px;
}

.summary-panel {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
}

.summary-panel div {
  padding: 22px;
  border-bottom: 1px solid rgba(255,255,255,.22);
}

.summary-panel div:last-child {
  border-bottom: 0;
}

.summary-panel strong {
  display: block;
  font-size: 38px;
  line-height: 1;
}

.summary-panel span {
  color: rgba(255,255,255,.82);
  font-size: 13px;
}

main section {
  padding: 48px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.25;
}

.section-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.map-embed {
  height: 430px;
  border: 1px solid var(--line);
  background: #fbf7f1;
  overflow: hidden;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.search-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
}

.search-box span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.search-box input {
  width: 100%;
  height: 48px;
  border: 1px solid #d7cbc2;
  padding: 0 14px;
  font: inherit;
  background: var(--white);
}

.reset-button {
  height: 48px;
  border: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.pref-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pref-chip {
  border: 1px solid #d7cbc2;
  background: var(--white);
  color: var(--ink);
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}

.pref-chip.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.pref-chip span {
  margin-left: 4px;
  opacity: .75;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.store-card {
  min-height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(24, 35, 48, .06);
}

.store-head {
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
  padding-bottom: 12px;
}

.pref {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.store-name {
  margin-top: 2px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
}

.store-list {
  margin: 0;
}

.store-list > div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  margin: 9px 0;
}

.store-list dt {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.store-list dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.map-button {
  display: inline-flex;
  margin-top: 12px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  padding: 9px 13px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 800;
}

.map-button:hover {
  background: var(--navy-dark);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed #cfc4bb;
  background: #fff;
}

.site-footer {
  padding: 34px 0;
  background: #18202a;
  color: var(--white);
}

.site-footer p {
  margin-bottom: 4px;
  font-weight: 800;
}

.site-footer small {
  color: rgba(255,255,255,.7);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 360px;
    padding: 46px 0;
  }

  .summary-panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .summary-panel div {
    border-bottom: 0;
    border-right: 1px solid rgba(255,255,255,.22);
  }

  .summary-panel div:last-child {
    border-right: 0;
  }

  .store-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .header-bar {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .global-nav {
    gap: 16px;
    flex-wrap: wrap;
  }

  h1 {
    font-size: 34px;
  }

  main section {
    padding: 36px 0;
  }

  .section-head,
  .filter-panel {
    display: block;
  }

  .reset-button {
    width: 100%;
    margin-top: 10px;
  }

  .store-grid {
    grid-template-columns: 1fr;
  }

  .store-card {
    padding: 18px;
  }

  .map-embed {
    height: 360px;
  }

  .store-list > div {
    grid-template-columns: 68px 1fr;
    gap: 8px;
  }
}
