:root {
  --ink: #18202a;
  --muted: #66717d;
  --line: #dfe4e8;
  --paper: #ffffff;
  --soft: #f3f6f5;
  --accent: #087f78;
  --accent-dark: #075f5a;
  --warm: #c89225;
  --red: #e34848;
  --yellow: #d7a500;
  --green: #159450;
  --blue: #1596c6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  letter-spacing: 0;
  line-height: 1.7;
}

a {
  color: inherit;
}

.page-width {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 62px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-wordmark {
  color: #111820;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.header-map-link,
.source-link,
.section-heading-row > a {
  color: var(--accent-dark);
  font-weight: 800;
  text-underline-offset: 4px;
}

.store-identity {
  padding-block: 32px 38px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.identity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
}

.store-kicker,
.section-label {
  margin: 0 0 7px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 58px;
  line-height: 1.18;
}

h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.35;
}

.store-location {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.source-rating {
  min-width: 126px;
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 0 8px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.source-rating strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1;
}

.source-rating span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.source-rating .review-count {
  grid-column: 1 / -1;
  margin-top: 7px;
}

.primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: #192027;
  color: #fff;
}

.button-primary:hover {
  background: #000;
}

.button-secondary {
  border-color: #cfd6da;
  background: #fff;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: #87939d;
  background: #f7f8f8;
}

.forecast-band {
  padding-block: 38px;
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.forecast-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  gap: 72px;
  align-items: center;
}

.forecast-status-line {
  display: flex;
  align-items: center;
  gap: 22px;
}

.forecast-status-line h2 {
  font-size: 32px;
}

.forecast-status-line p {
  margin: 5px 0 0;
  color: var(--muted);
}

.forecast-glow {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: #919aa3;
  box-shadow: 0 0 0 10px rgba(99, 110, 120, 0.12), 0 0 26px rgba(99, 110, 120, 0.4);
}

.forecast-glow.status-red {
  background: var(--red);
  box-shadow: 0 0 0 10px rgba(227, 72, 72, 0.14), 0 0 28px rgba(227, 72, 72, 0.66);
}

.forecast-glow.status-yellow {
  background: var(--yellow);
  box-shadow: 0 0 0 10px rgba(215, 165, 0, 0.15), 0 0 28px rgba(215, 165, 0, 0.62);
}

.forecast-glow.status-green {
  background: var(--green);
  box-shadow: 0 0 0 10px rgba(21, 148, 80, 0.14), 0 0 28px rgba(21, 148, 80, 0.56);
}

.forecast-glow.status-blue {
  background: var(--blue);
  box-shadow: 0 0 0 10px rgba(21, 150, 198, 0.15), 0 0 28px rgba(21, 150, 198, 0.58);
}

.forecast-glow.status-closed {
  background: #16191c;
  box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.11), 0 0 28px rgba(0, 0, 0, 0.5);
}

.forecast-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.forecast-reasons span {
  padding: 5px 9px;
  border: 1px solid #d5dcdb;
  border-radius: 999px;
  background: #fff;
  color: #344149;
  font-size: 12px;
  font-weight: 800;
}

.forecast-metrics {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #cfd7d5;
  border-left: 1px solid #cfd7d5;
}

.forecast-metrics > div {
  min-height: 102px;
  padding: 18px;
  border-right: 1px solid #cfd7d5;
  border-bottom: 1px solid #cfd7d5;
}

.forecast-metrics > div:last-child {
  grid-column: 1 / -1;
}

.forecast-metrics dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.forecast-metrics dd {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.4;
}

.location-section {
  padding-block: 52px 0;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.store-map {
  width: 100%;
  height: min(48vh, 440px);
  min-height: 330px;
  border-block: 1px solid var(--line);
  background: #e8ecea;
}

.map-address {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.store-map-marker {
  width: 34px;
  height: 34px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 9px rgba(8, 127, 120, 0.2), 0 0 24px rgba(8, 127, 120, 0.64);
}

.details-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 72px;
  padding-block: 64px;
}

.detail-list {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}

.detail-list > div {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.detail-list dd {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.data-note,
.signal-summary > p,
.write-intro p {
  color: var(--muted);
  font-size: 13px;
}

.signal-summary {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.signal-summary ul {
  margin: 24px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.signal-summary li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.signal-summary li strong {
  color: var(--accent-dark);
  font-size: 18px;
}

.signal-summary li span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.reviews-section {
  padding-block: 58px;
  background: #f7f7f5;
  border-block: 1px solid var(--line);
}

.review-list {
  margin-top: 24px;
}

.review-empty {
  margin: 0;
  padding: 28px 0;
  border-block: 1px solid #dfe1dc;
  color: var(--muted);
}

.review-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid #dfe1dc;
}

.review-item:last-child {
  border-bottom: 1px solid #dfe1dc;
}

.review-meta {
  color: var(--muted);
  font-size: 12px;
}

.review-meta strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.review-body {
  margin: 0;
  white-space: pre-wrap;
}

.write-review-section {
  padding-block: 64px 76px;
}

.write-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: 72px;
}

.review-form {
  display: grid;
  gap: 18px;
}

.review-form label {
  display: grid;
  gap: 7px;
  color: #2d3740;
  font-size: 13px;
  font-weight: 900;
}

.review-form label > span {
  display: inline;
  margin-left: 6px;
  color: #b43d3d;
  font-size: 11px;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #cfd6da;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  outline: none;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(8, 127, 120, 0.13);
}

.review-form textarea {
  resize: vertical;
}

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

.review-form .button {
  justify-self: start;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.form-message.is-success {
  color: #126837;
}

.form-message.is-error {
  color: #9b2c2c;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.site-footer {
  padding-block: 34px;
  background: #192027;
  color: #fff;
}

.site-footer .brand-wordmark {
  color: #fff;
}

.site-footer p {
  margin: 10px 0 0;
  color: #c4ccd2;
  font-size: 12px;
}

.not-found {
  width: min(560px, calc(100% - 40px));
  margin: 18vh auto 0;
}

@media (max-width: 800px) {
  .page-width,
  .header-inner {
    width: min(100% - 28px, 1120px);
  }

  .store-identity {
    padding-block: 22px 30px;
  }

  .breadcrumbs {
    margin-bottom: 20px;
  }

  .identity-grid,
  .forecast-layout,
  .details-layout,
  .write-layout {
    grid-template-columns: 1fr;
  }

  .identity-grid {
    gap: 22px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 22px;
  }

  .source-rating {
    width: fit-content;
    padding: 0;
    border-left: 0;
  }

  .source-rating strong {
    font-size: 34px;
  }

  .primary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .primary-actions .button-primary {
    grid-column: 1 / -1;
  }

  .forecast-layout,
  .details-layout,
  .write-layout {
    gap: 32px;
  }

  .forecast-band {
    padding-block: 30px;
  }

  .forecast-status-line {
    align-items: flex-start;
    gap: 18px;
  }

  .forecast-status-line h2 {
    font-size: 25px;
  }

  .forecast-glow {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .forecast-metrics {
    grid-template-columns: 1fr;
  }

  .forecast-metrics > div,
  .forecast-metrics > div:last-child {
    grid-column: 1;
    min-height: 0;
    padding: 14px;
  }

  .forecast-metrics dd {
    font-size: 17px;
  }

  .location-section {
    padding-top: 38px;
  }

  .section-heading-row {
    align-items: flex-start;
  }

  .store-map {
    height: 360px;
    min-height: 360px;
  }

  .details-layout {
    padding-block: 48px;
  }

  .signal-summary {
    padding: 30px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .review-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-inner {
    min-height: 56px;
  }

  .brand-wordmark {
    font-size: 20px;
  }

  .header-map-link {
    font-size: 13px;
  }

  .store-identity {
    padding-bottom: 26px;
  }

  h1 {
    font-size: 36px;
  }

  .primary-actions {
    grid-template-columns: 1fr;
  }

  .primary-actions .button-primary {
    grid-column: 1;
  }

  .detail-list > div {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
  }

  .section-heading-row {
    display: grid;
    gap: 10px;
  }

  .store-map {
    height: 330px;
    min-height: 330px;
  }

  .review-form .button {
    width: 100%;
  }
}
