:root {
  --green: #6fa252;
  --green-dark: #4f7c37;
  --brown: #463323;
  --ink: #2c3328;
  --sky: #e8f4f8;
  --coral: #d76f52;
  --yellow: #f3c85a;
  --cream: #FEF9F0;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(61, 79, 45, 0.18);
  --max-width: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--brown);
  background: #FEF9F0;
  /* 本文は自然な改行に任せる。極端に長い英単語はどこでも折返し可。 */
  overflow-wrap: anywhere;
}

/* CJK 賢い折返しは見出しだけに適用（本文は自然改行に） */
h1, h2, h3, h4 {
  word-break: keep-all;
  line-break: strict;
}

a { color: inherit; }
button,
select { font: inherit; }

.site { min-height: 100vh; }

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg-wrap {
  display: block;
}
.hero__bg {
  display: block;
  width: 100%;
  height: auto;
}

.hero__overlay {
  display: none;
}

.hero__header {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 96px, 1180px);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero__header .brand { margin-left: -40px; }

.hero__count {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 26px 12px 24px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(70, 51, 35, 0.12);
  white-space: nowrap;
  font-family: inherit;
  font-feature-settings: "tnum" 1;
}
.hero__count-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  line-height: 1;
}
.hero__count-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--coral);
  letter-spacing: 0.01em;
  line-height: 1;
  margin-left: 2px;
}
.hero__count-unit {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-left: -2px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--brown);
  text-decoration: none;
}

.brand__logo {
  width: 58px;
  height: 58px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(70, 51, 35, 0.14));
}

.brand__text { display: grid; gap: 5.5px; }
.brand__sub { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; line-height: 1.2; }
.brand__name { font-size: 27px; font-weight: 600; letter-spacing: 0.03em; line-height: 1.14; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.2vw, 52px);
  padding-top: 18px;
}

.nav__item {
  color: var(--brown);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.2;
}

.hero__content {
  width: min(100% - 96px, 1180px);
  margin: 0 auto;
  padding-top: 118px;
}

.hero__copy { max-width: 760px; }

.hero__eyebrow {
  display: inline-block;
  position: relative;
  margin: 0 0 28px;
  padding: 18px 52px 20px;
  color: var(--green-dark);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(70, 51, 35, 0.75);
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-2deg);
}

.hero__eyebrow::after {
  content: "🐾";
  border: 0;
  inset: auto -2px 16px auto;
  color: #9abd7a;
  font-size: 26px;
  transform: rotate(8deg);
}

.hero__title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(48px, 5.2vw, 68px);
  line-height: 1.28;
  font-weight: 700 !important;   /* 4294行の汎用h1ルール(!important)に勝つため */
  letter-spacing: 0.02em;
  text-shadow: 0 3px 18px rgba(255,255,255,0.85);
}

.hero__title-accent { color: var(--green); }

.hero__lead {
  margin: 28px 0 44px;
  font-size: 18px;
  line-height: 2;
  font-weight: 600;
  color: rgba(70, 51, 35, 0.92);
  text-shadow: 0 2px 14px rgba(255,255,255,0.7);
}

.section-shell {
  width: min(100% - 96px, 1180px);
  margin: 0 auto;
}

.section {
  padding: 92px 0;
  background: #FEF9F0;
}

.section--soft {
  background: linear-gradient(180deg, var(--sky), #FEF9F0);
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.section-heading h2,
.map-section h2,
.favorite-strip h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.28;
  font-weight: 600;
}

.section-heading--side {
  display: block;
  margin: 0;
}

.section-heading--side p:last-child,
.favorite-strip p {
  margin: 18px 0 0;
  color: rgba(44, 51, 40, 0.72);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 600;
}

.favorite-strip__button {
  height: 52px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 0 24px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.map-section {
  position: relative;
  padding: 86px 0 96px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(232, 244, 248, 0.92), rgba(255, 253, 248, 0.88) 54%, rgba(238, 247, 232, 0.92)),
    #FEF9F0;
}

.map-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 124, 55, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 124, 55, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  pointer-events: none;
}

.map-section__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(420px, 1.26fr);
  gap: 52px;
  align-items: center;
}

.map-copy p:not(.section-kicker) {
  margin: 22px 0 0;
  color: rgba(44, 51, 40, 0.72);
  font-size: 16px;
  line-height: 1.95;
  font-weight: 600;
}

.map-stats {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.map-stats span {
  min-width: 136px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 30px rgba(44, 51, 40, 0.08);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.map-stats strong {
  display: block;
  color: var(--green-dark);
  font-size: 31px;
  line-height: 1;
}

.osaka-map-card {
  position: relative;
  padding: clamp(18px, 3vw, 36px);
  border: 1px solid rgba(79, 124, 55, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 16%, rgba(243, 200, 90, 0.2), transparent 28%),
    radial-gradient(circle at 88% 72%, rgba(116, 178, 202, 0.22), transparent 30%),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 26px 70px rgba(44, 51, 40, 0.14);
}

.osaka-map-card::before,
.osaka-map-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(111, 162, 82, 0.12);
  pointer-events: none;
}

.osaka-map-card::before {
  width: 170px;
  height: 170px;
  left: 28px;
  bottom: 34px;
}

.osaka-map-card::after {
  width: 92px;
  height: 92px;
  right: 72px;
  top: 46px;
}

.osaka-map {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 620px);
  margin: 0 auto;
}

.map-sea {
  fill: rgba(116, 178, 202, 0.18);
}

.map-shape {
  fill: url("#mapFill");
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 10;
  stroke-linejoin: round;
}

.map-river,
.map-road {
  fill: none;
  stroke: rgba(255, 255, 255, 0.74);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 12 18;
}

.map-road {
  stroke: rgba(70, 51, 35, 0.16);
  stroke-width: 6;
  stroke-dasharray: none;
}

.map-road--lower {
  stroke-width: 5;
}

.map-labels text {
  fill: rgba(44, 51, 40, 0.58);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.map-pin path {
  fill: var(--coral);
  stroke: var(--white);
  stroke-width: 6;
  filter: drop-shadow(0 9px 10px rgba(70, 51, 35, 0.2));
}

.map-pin circle {
  fill: var(--white);
}

.map-pin text {
  fill: var(--ink);
  font-size: 17px;
  font-weight: 600;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.86);
  stroke-width: 6;
  stroke-linejoin: round;
}

.map-pin--tsurumi path { fill: #6fa252; }
.map-pin--castle path { fill: #d69a35; }
.map-pin--sakai path { fill: #4f9a76; }
.map-pin--rinku path { fill: #5d8cb8; }

.map-legend {
  position: relative;
  z-index: 1;
  margin-top: -8px;
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  color: rgba(44, 51, 40, 0.72);
  font-size: 13px;
  font-weight: 600;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.map-legend i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(215, 111, 82, 0.16);
}

.dogrun-map-section {
  height: 100vh;
  min-height: 720px;
  max-height: 900px;
  padding: 16px 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 20%, rgba(79, 138, 67, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7faf5 100%);
}

.dogrun-layout {
  display: grid;
  grid-template-columns: minmax(390px, 430px) minmax(0, 1fr);
  gap: 28px;
  max-width: 1440px;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  margin: 0 auto;
  align-items: stretch;
  overflow: hidden;
}

.dogrun-panel {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.panel-card {
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  background: #ffffff;
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow: 0 12px 40px rgba(31, 43, 34, 0.08);
  border: 1px solid rgba(31, 43, 34, 0.06);
}

.panel-label {
  color: #4f8a43;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 18px;
}

.dogrun-main {
  display: block;
}

.title-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.title-row h2 {
  margin: 0 0 16px;
  color: #1f2b22;
  font-size: clamp(25px, 2.1vw, 31px);
  line-height: 1.32;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.favorite {
  margin-left: auto;
  flex: 0 0 auto;
  border: none;
  background: none;
  color: #e65f45;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.address {
  color: #475247;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 22px;
  font-weight: 600;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.tags span {
  background: #eef5eb;
  color: #2f4c31;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.description {
  color: #1f2b22;
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
  font-weight: 600;
}

.basic-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 16px 0 14px;
  gap: 10px;
}

.basic-info div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 64px;
  padding: 11px 12px;
  border-radius: 14px;
  background: #f7faf5;
  border: 1px solid #e7eee4;
}

.basic-info span {
  color: #4f8a43;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.basic-info strong {
  color: #1f2b22;
  font-size: 14px;
  line-height: 1.5;
}

.facility-grid {
  list-style: none;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 4px 0 6px;
}

.facility-grid li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(31, 43, 34, 0.14);
  border-radius: 8px;
  background: #fff;
  color: #1f2b22;
  font-size: 14px;
  font-weight: 600;
}

.key-facts {
  margin: 26px 0 22px;
  padding: 24px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #e7eee4;
  border-bottom: 1px solid #e7eee4;
}

.key-facts__cell {
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-right: 1px solid #e7eee4;
}

.key-facts__cell:last-child {
  border-right: none;
}

.key-facts__cell dt {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #6b7568;
}

.key-facts__cell dd {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  color: #1f2b22;
}

.key-facts__cell.is-positive dd { color: #2f7a35; }

.key-facts__cell.is-negative dd { color: #b13f3f; }

@media (max-width: 700px) {
  .key-facts {
    grid-template-columns: 1fr;
    padding: 6px 0;
  }
  .key-facts__cell {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-right: none;
    border-bottom: 1px solid #e7eee4;
  }
  .key-facts__cell:last-child {
    border-bottom: none;
  }
  .key-facts__cell dt {
    font-size: 13px;
  }
  .key-facts__cell dd {
    font-size: 15px;
  }
}

.detail-block {
  margin-top: 12px;
}

.detail-block h3 {
  color: #4f8a43;
  font-size: 15px;
  margin: 0 0 5px;
}

.detail-block p {
  color: #1f2b22;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  font-weight: 600;
}

.official-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  width: 100%;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4f8a43, #2f6f35);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(79, 138, 67, 0.25);
}

.map-area {
  min-height: 0;
  height: 100%;
  max-height: 100%;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(31, 43, 34, 0.08);
  border: 1px solid rgba(31, 43, 34, 0.08);
  position: relative;
}

.pseudo-map {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #eef4ea;
}

/* Google Maps JavaScript API のマップコンテナ */
.google-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ---- マップピン（DOGPIN ロゴ画像）AdvancedMarkerElement の content として ---- */
.pin {
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 4px 8px rgba(31, 43, 34, 0.28));
  transition: transform .18s ease, filter .18s ease;
}
.pin__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
}
.pin:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 6px 14px rgba(31, 43, 34, 0.38));
}
.pin.active {
  transform: scale(1.28);
  z-index: 7;
  filter: drop-shadow(0 6px 14px rgba(215, 111, 82, 0.55));
}
.pin.active::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--coral);
  opacity: 0;
  animation: pin-pulse 1.6s ease-out infinite;
}
@keyframes pin-pulse {
  0%   { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ---- ホバーツールチップ ---- */
.map-tooltip {
  position: absolute;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(31, 43, 34, 0.08);
  box-shadow: 0 8px 24px rgba(31, 43, 34, 0.15);
  z-index: 7;
  white-space: nowrap;
}
.map-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #fff;
}

/* ===== マップ＋絞り込み統合セクション ===== */
.map-explore {
  position: relative;
  overflow: hidden;
  padding: 84px 0;
  background:
    radial-gradient(circle at 92% 4%, rgba(111, 162, 82, 0.12), transparent 18%),
    radial-gradient(circle at 0% 92%, rgba(111, 162, 82, 0.1), transparent 22%),
    #FEF9F0;
}

.map-explore__layout {
  display: grid;
  grid-template-columns: minmax(380px, 1fr) 1fr;
  gap: 24px;
  align-items: start;
}

.map-explore__filters {
  min-width: 0;
  /* マップと同じ高さに収め、内側だけスクロールさせる */
  height: clamp(640px, 82vh, 820px);
  position: sticky;
  top: 88px;
  align-self: start;
}
.map-explore__filters .filter-board {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.map-explore__filters .filter-board__head { flex: 0 0 auto; }
.map-explore__filters .filter-groups {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 43, 34, 0.18) transparent;
}
.map-explore__filters .filter-groups::-webkit-scrollbar { width: 8px; }
.map-explore__filters .filter-groups::-webkit-scrollbar-thumb {
  background: rgba(31, 43, 34, 0.18);
  border-radius: 999px;
}

/* マップ横の狭いフィルタ列用：アイコン＋見出しを上、チップは下に全幅で並べる
   全7行が縦スクロールなしで収まるよう、要素を一回り小さく */
.map-explore__filters .filter-board {
  padding: 14px 16px;
}
.map-explore__filters .filter-groups { gap: 6px; }
.map-explore__filters .filter-row {
  grid-template-columns: 32px 1fr;
  grid-template-areas: "icon title" "options options";
  gap: 2px 10px;
  padding: 9px 12px;
  min-height: auto;
  align-items: center;
}
.map-explore__filters .filter-row__mark {
  grid-area: icon;
  width: 30px;
  height: 30px;
}
.map-explore__filters .filter-row__mark svg { width: 17px; height: 17px; }
.map-explore__filters .filter-row h3 {
  grid-area: title;
  font-size: 13.5px;
}
.map-explore__filters .filter-row .filter-options {
  grid-area: options;
  gap: 6px 8px;
  margin-top: 2px;
}
/* PC: map-explore はフィルタ列の高さに制約があるためチップを少し小さく（base 52px から縮小） */
.map-explore__filters .filter-row .filter-options button {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
}
@media (max-width: 880px) {
  /* マップ列が縦積みになりスクロールが許容される → チップを base に近づける */
  .map-explore__filters .filter-row .filter-options {
    gap: 8px 10px;
  }
  .map-explore__filters .filter-row .filter-options button {
    min-height: 46px;
    padding: 0 18px;
    font-size: 14px;
  }
}
.map-explore__filters .filter-board__head { margin-bottom: 8px; }
.map-explore__filters .filter-board__head h3 { font-size: 15px; }

.filter-board__head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 14px;
}
.filter-board__head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #1f2b22;
}
.filter-clear {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 8;
  border: 1px solid rgba(31, 43, 34, 0.16);
  background: #fff;
  color: #4f8a43;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(31, 43, 34, 0.13);
}
.filter-clear:hover { background: #eef5ea; border-color: #4f8a43; }

/* 右マップ：左フィルターをスクロールしても追従 */
.map-explore .map-area {
  position: sticky;
  top: 88px;
  height: clamp(640px, 82vh, 820px);
}

/* ピンのコンテナ（空白部分は地図操作を透過） */
.map-pins {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}
.map-pins .pin { pointer-events: auto; }
.map-pins .pin[hidden] { display: none; }

/* 件数バッジ */
.map-result {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 8;
  background: #fff;
  color: #1f2b22;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(31, 43, 34, 0.13);
}
.map-result.is-empty { color: #a13030; }

/* マップ内ポップアップカード */
.map-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(360px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  overflow: auto;
  z-index: 9;
  background: #fff;
  border-radius: 20px;
  padding: 24px 24px 22px;
  box-shadow: 0 24px 60px rgba(31, 43, 34, 0.28);
  border: 1px solid rgba(31, 43, 34, 0.06);
}
.map-popup[hidden] { display: none; }
.map-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #f2efe6;
  color: #5b6c5f;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.map-popup__close:hover { background: #e6e2d4; }
.map-popup__name {
  margin: 6px 0 8px;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  color: #1f2b22;
}
.map-popup .key-facts { margin: 18px 0 16px; }
.map-popup .key-facts__cell { padding: 0 10px; }
.map-popup .key-facts__cell dt { white-space: nowrap; }
.map-popup .facility-grid { margin-bottom: 18px; }
.map-popup .official-button { width: 100%; }

/* Google マップで開くボタン（ポップアップ内） */
.map-jump-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 8px;
  padding: 12px 16px;
  border: 1.5px solid var(--green);
  border-radius: 10px;
  background: #fff;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}
.map-jump-button:hover {
  background: var(--green);
  color: #fff;
}
.map-jump-button svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

@media (max-width: 880px) {
  .map-explore__layout { grid-template-columns: 1fr; }
  .map-explore .map-area {
    position: static;
    height: clamp(420px, 62vh, 560px);
  }
  /* pseudo-map を map-area と同じ高さで埋める（白領域防止） */
  .map-explore .map-area .pseudo-map {
    height: 100%;
    min-height: 0;
  }
  .map-explore__filters {
    position: static;
    height: auto;
  }
  .map-explore__filters .filter-board { height: auto; }
  .map-explore__filters .filter-groups { overflow: visible; padding-right: 0; }
}

/* スマホ：ポップアップをボトムシート風に */
@media (max-width: 720px) {
  .map-popup {
    top: auto;
    bottom: 12px;
    left: 12px;
    right: 12px;
    transform: none;
    width: auto;
    max-width: none;
    max-height: 78%;
    border-radius: 18px;
  }
  /* ポップアップ内の key-facts も縦並び用に padding を上書き */
  .map-popup .key-facts__cell { padding: 12px 0; }
  /* ワクチン証明とボタンの間隔を詰める */
  .map-popup .key-facts { margin: 12px 0 6px; }
  .map-popup .facility-grid { margin-bottom: 12px; padding: 6px 0 0; gap: 8px; }
  .map-popup .facility-grid:empty { display: none; margin: 0; padding: 0; }
}

.feature-filter-section {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background:
    radial-gradient(circle at 92% 4%, rgba(111, 162, 82, 0.12), transparent 18%),
    radial-gradient(circle at 0% 92%, rgba(111, 162, 82, 0.1), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f7faf5 100%);
}

.feature-filter-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
}

.section-kicker__line {
  display: inline-block;
  width: 36px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
  margin-right: 12px;
  vertical-align: middle;
}

.feature-filter-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.25;
  font-weight: 700;
}

.feature-filter-heading__lead {
  margin: 0;
  color: rgba(31, 43, 34, 0.7);
  font-size: 15px;
  line-height: 1.85;
  font-weight: 500;
}

.feature-filter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}

.filter-board,
.selected-filter-card {
  border: 1px solid rgba(31, 43, 34, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 40px rgba(31,43,34,0.08);
}

.filter-board {
  padding: 22px;
}

.selected-filter-search {
  min-height: 58px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.filter-groups {
  display: grid;
  gap: 10px;
}

.filter-row {
  min-height: 92px;
  display: grid;
  grid-template-columns: 56px 172px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(31, 43, 34, 0.06);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(31,43,34,0.04);
}

.filter-row__mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef5eb;
  color: #2f8f3d;
  font-size: 15px;
  font-weight: 600;
}

.filter-row__mark svg {
  width: 26px;
  height: 26px;
  display: block;
}

.filter-row h3 {
  margin: 0;
  color: #1f2b22;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 600;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.filter-options button {
  min-height: 52px;
  padding: 0 22px;
  border: 1.5px solid rgba(31, 43, 34, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #1f2b22;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 100ms ease, box-shadow 160ms ease;
}

.filter-options button:hover {
  border-color: var(--green-dark);
  background: #f6faef;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(79, 138, 67, 0.12);
}

.filter-options button:active {
  transform: translateY(0);
}

.filter-options button.is-selected {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  box-shadow: 0 2px 6px rgba(79, 138, 67, 0.25);
}

.filter-options button.is-selected:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.selected-filter-card {
  min-height: 100%;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}

.selected-filter-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.selected-filter-card__head h3 {
  margin: 0;
  color: #1f2b22;
  font-size: 22px;
  font-weight: 600;
}

.selected-filter-card__head strong {
  min-width: 52px;
  height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eef5eb;
  color: #2f8f3d;
  font-size: 20px;
  font-weight: 600;
}

.selected-filter-empty {
  min-height: 210px;
  margin-bottom: 18px;
  display: grid;
  place-content: center;
  gap: 18px;
  text-align: center;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 24%, rgba(79, 138, 67, 0.08), transparent 35%),
    #f7faf5;
  color: #1f2b22;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 600;
}

.selected-filter-empty span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  background: #fff;
  color: #2f8f3d;
}

.selected-filter-empty p {
  margin: 0;
}

.selected-filter-list {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.selected-filter-list.has-items {
  display: flex;
}

.selected-filter-list span {
  padding: 8px 10px;
  border-radius: 999px;
  background: #eef5eb;
  color: #2f6f35;
  font-size: 12px;
  font-weight: 600;
}

.selected-filter-search {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: linear-gradient(135deg, #4f8a43, #2f7d35);
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  box-shadow: 0 10px 22px rgba(79, 138, 67, 0.22);
}


/* ===== Guide セクション ===== */
.guide {
  position: relative;
  overflow: hidden;
  padding-bottom: 150px;
}

.guide__layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: stretch;
}

/* ---- 左カラム ---- */
.guide__intro {
  position: relative;
  display: flex;
  flex-direction: column;
}

.guide__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
}
.guide__kicker-line {
  display: inline-block;
  width: 42px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.guide__title {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.28;
  font-weight: 700;
}

.guide__subtitle {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 18px;
  font-weight: 700;
}

.guide__lead {
  margin: 0 0 28px;
  max-width: 46ch;
  color: rgba(44, 51, 40, 0.72);
  font-size: 15px;
  line-height: 2;
  font-weight: 500;
}

/* 犬の写真（切り抜き済み・形は画像に焼き込み） */
.guide__photo {
  position: relative;
  margin: 0;
  margin-top: auto;       /* 左カラムを下端に揃える */
  margin-left: -38px;     /* 画像内の透明左余白(38px)を補正、見える左端を GUIDE 文字と揃える */
  width: 100%;
  max-width: 480px;
  transform: translateY(-20px);  /* カード06の下辺と写真の下辺を揃える（layout 不変） */
}
.guide__photo-img {
  display: block;
  width: 100%;
  height: auto;          /* 切り抜き画像の元のアスペクト比で表示（二重マスクしない） */
}
/* 写真未配置のときだけ、波形にマスクした緑のプレースホルダを表示 */
.guide__photo[data-empty="true"] {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 70% 20%, #f4faef 0%, #e6f1da 60%, #dcecc9 100%);
  clip-path: polygon(
    0% 11%, 9% 5%, 19% 10%, 31% 4%, 44% 9%, 57% 3%, 70% 8%, 84% 4%, 100% 9%,
    100% 100%, 0% 100%
  );
}
.guide__photo-caption {
  display: none;
  position: absolute;
  inset: auto 0 18px;
  text-align: center;
  color: rgba(79, 124, 55, 0.7);
  font-size: 13px;
  font-weight: 700;
}
.guide__photo[data-empty="true"] .guide__photo-caption { display: block; }

/* 装飾の肉球 */
.guide__paw {
  position: absolute;
  color: rgba(111, 162, 82, 0.28);
  pointer-events: none;
}
.guide__paw--1 { width: 38px; height: 38px; top: -6px; right: 54px; transform: rotate(18deg); }
.guide__paw--2 { width: 26px; height: 26px; top: 44px; right: 22px; transform: rotate(-12deg); }

/* 手書きアクセント */
.guide__accent {
  position: absolute;
  right: 120px;
  bottom: 96px;
  margin: 0;
  font-family: "Caveat", "Comic Sans MS", cursive;
  font-weight: 600;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.05;
  color: var(--green-dark);
  text-align: center;
  transform: rotate(-7deg);
  pointer-events: none;
  text-shadow:
    0 0 2px rgba(255, 255, 255, 1),
    0 0 4px rgba(255, 255, 255, 1),
    0 0 6px rgba(255, 255, 255, 0.95),
    0 0 12px rgba(255, 255, 255, 0.6);
}

/* ---- 右カラム ---- */
.guide__right { position: relative; }

.guide__cards {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 24px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(44, 51, 40, 0.07);
}
.guide-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.guide-card__num {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}

.guide-card__title {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
}
.guide__cards .guide-card:nth-child(6) .guide-card__title {
  font-size: 15px;
  letter-spacing: -0.02em;
}
.guide-card__rule {
  margin: 0 0 12px;
  border: 0;
  border-top: 1px solid rgba(44, 51, 40, 0.10);
}
.guide-card__desc {
  margin: 0;
  color: rgba(44, 51, 40, 0.66);
  font-size: 13.5px;
  line-height: 1.8;
  font-weight: 500;
}

/* ---- セクション下部の芝生の波 ---- */
.guide-grass {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  line-height: 0;
  pointer-events: none;
}
.guide-grass svg {
  display: block;
  width: 100%;
  height: 90px;
}

/* スマホでは Guide 左カラムの写真＋手書き＋肉球を非表示 */
@media (max-width: 720px) {
  .guide__intro .guide__photo,
  .guide__intro .guide__paw,
  .guide__intro .guide__accent { display: none; }
}

.favorite-strip {
  padding: 72px 0;
  background: var(--ink);
  color: var(--white);
}

.favorite-strip .section-kicker { color: var(--yellow); }
.favorite-strip h2 { color: var(--white); }
.favorite-strip p { color: rgba(255, 255, 255, 0.74); }

.favorite-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.favorite-strip__inner > div {
  max-width: 720px;
}

.favorite-strip__button {
  flex: 0 0 auto;
  background: var(--yellow);
  color: var(--ink);
}

@media (max-width: 980px) {
  .hero { min-height: 820px; }
  .hero__header { width: min(100% - 40px, 1180px); }
  .nav { display: none; }
  .hero__content { width: min(100% - 40px, 1180px); padding-top: 72px; }
  .hero__overlay { background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.68) 42%, rgba(255,255,255,0.08) 100%); }
  .section-shell { width: min(100% - 40px, 1180px); }
  .map-section__inner,
  .feature-filter-layout,
  .guide__layout,
  .favorite-strip__inner {
    grid-template-columns: 1fr;
  }
  .favorite-strip__inner { display: grid; }
  .guide__layout { gap: 36px; }
  .guide__cards { grid-template-columns: repeat(2, 1fr); }
  .guide { padding-bottom: 120px; }
  .map-section { padding: 72px 0 78px; }
  .map-copy { max-width: 680px; }
  .dogrun-map-section {
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 36px 20px;
  }
  .dogrun-layout {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    min-height: 0;
    overflow: visible;
  }
  .map-area,
  .pseudo-map {
    height: auto;
    min-height: 500px;
  }
  .feature-filter-section { padding: 72px 0; }
  .feature-filter-heading { align-items: start; flex-direction: column; gap: 10px; }
  .filter-row {
    grid-template-columns: 50px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    row-gap: 8px;
  }
  .filter-row__mark { grid-row: 1; grid-column: 1; }
  .filter-row h3 { grid-row: 1; grid-column: 2; padding-top: 0; }
  .filter-options { grid-row: 2; grid-column: 2; }
  .selected-filter-card { min-height: 0; }
  .section-heading { align-items: start; flex-direction: column; }
}

@media (max-width: 720px) {
  .hero { min-height: 0; }
  .hero__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: min(100% - 32px, 1180px);
  }
  .hero__header .brand { margin-left: 0; }
  /* スマホ用に縮小して折返しを防ぐ */
  .brand { gap: 0; }
  .brand__logo { width: 44px; height: 44px; }
  .brand__text { gap: 4px; }
  .brand__sub { font-size: 11px; line-height: 1.2; letter-spacing: 0.03em; }
  .brand__name { font-size: 18px; line-height: 1.16; letter-spacing: 0.02em; }
  /* カウントバッジを縮小 */
  .hero__count {
    padding: 7px 14px 7px 12px;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(70, 51, 35, 0.10);
  }
  .hero__count-label,
  .hero__count-unit { font-size: 11.5px; }
  .hero__count-num { font-size: 17px; }
}

@media (max-width: 640px) {
  .hero__bg { background-position: 64% center; }
  .brand { gap: 0; }
  .brand__logo { width: 48px; height: 48px; }
  .brand__text { gap: 5px; }
  .brand__sub { font-size: 11px; line-height: 1.16; }
  .brand__name { font-size: 19px; line-height: 1.14; }
  .hero__content { padding-top: 52px; }
  .hero__eyebrow { font-size: 18px; padding: 12px 34px 14px; margin-bottom: 20px; }
  .hero__title { font-size: 40px; line-height: 1.32; }
  .hero__lead { margin: 22px 0 28px; font-size: 15px; line-height: 1.8; }
  .pc-only { display: none; }
  .section { padding: 64px 0; }
  .feature-filter-section { padding: 58px 0; }
  .feature-filter-heading h2 { font-size: 28px; line-height: 1.3; }
  .feature-filter-heading > p { font-size: 14px; line-height: 1.7; }
  .filter-board,
  .selected-filter-card { border-radius: 16px; }
  .filter-board { padding: 16px; }
  .filter-row {
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 14px;
  }
  .filter-row__mark { width: 40px; height: 40px; font-size: 12px; }
  .filter-row__mark svg { width: 22px; height: 22px; }
  .filter-row h3 { font-size: 17px; }
  .filter-options { gap: 8px 10px; }
  .filter-options button { min-height: 46px; padding: 0 18px; font-size: 14px; }
  .selected-filter-card { padding: 20px; }
  .selected-filter-empty { min-height: 160px; }
  .map-section { padding: 58px 0 68px; }
  .map-section__inner { gap: 30px; }
  .map-copy p:not(.section-kicker) { font-size: 14px; line-height: 1.8; }
  .map-stats span { min-width: 0; flex: 1 1 130px; }
  .osaka-map-card { padding: 12px; }
  .map-pin text { font-size: 15px; }
  .map-legend { margin-top: 8px; justify-content: flex-start; }
  .dogrun-map-section {
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 18px 16px;
  }
  .panel-card { padding: 18px; border-radius: 20px; }
  .title-row h2 { font-size: 25px; }
  .description { font-size: 13.5px; line-height: 1.72; }
  .basic-info { gap: 8px; margin: 20px 0 16px; }
  .basic-info div { min-height: 72px; padding: 12px 10px; }
  .basic-info strong { font-size: 13px; }
  .facility-grid { gap: 8px; padding: 14px 0 16px; }
  .facility-grid li { min-height: 40px; padding: 0 14px; font-size: 13px; }
  .official-button { margin-top: 20px; }
  .map-area,
  .pseudo-map { min-height: 300px; }
  .map-tooltip {
    max-width: 170px;
    white-space: normal;
    font-size: 12px;
    padding: 9px 11px;
  }
  .map-controls {
    right: 14px;
    bottom: 78px;
    gap: 8px;
  }
  .map-controls button {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
  .favorite-strip__button { width: 100%; }
  .guide__cards { grid-template-columns: 1fr; gap: 14px; }
  .guide__layout { gap: 28px; }
  .guide__photo { max-width: 100%; margin-inline: auto; }
  .guide__accent { font-size: 24px; right: 4px; bottom: 52px; }
  .guide__paw--1, .guide__paw--2 { display: none; }
  .guide-grass svg { height: 60px; }
  .guide { padding-bottom: 90px; }
  .favorite-strip { padding: 58px 0; }
}

/* ==========================================================================
   Detail page
   ========================================================================== */

.detail-body { background: #FEF9F0; }

.detail-shell {
  width: min(100% - 64px, 1180px);
  margin: 0 auto;
}

.detail-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 43, 34, 0.06);
}

.detail-topbar__inner {
  width: min(100% - 64px, 1180px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.detail-topbar .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.detail-topbar__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #eef5eb;
  color: #2f6f35;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: background 160ms ease;
}

.detail-topbar__back:hover { background: #dfedd9; }

.detail-breadcrumb {
  padding: 18px 0 0;
  font-size: 13px;
  color: #6b7568;
}

.detail-breadcrumb .detail-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.detail-breadcrumb a {
  color: #4f8a43;
  text-decoration: none;
  font-weight: 600;
}

.detail-breadcrumb a:hover { text-decoration: underline; }

.detail-breadcrumb [aria-current="page"] {
  color: #1f2b22;
  font-weight: 600;
}

.detail-hero {
  position: relative;
  margin: 24px 0 0;
  isolation: isolate;
  border-radius: 28px;
  overflow: hidden;
  min-height: 360px;
}

.detail-hero .detail-shell {
  position: relative;
  z-index: 2;
}

.detail-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  z-index: -2;
}

.detail-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(20, 38, 24, 0.78) 0%, rgba(46, 80, 46, 0.55) 45%, rgba(46, 80, 46, 0.15) 100%),
    linear-gradient(0deg, rgba(20, 38, 24, 0.35), rgba(20, 38, 24, 0.05));
  z-index: -1;
}

.detail-hero__content {
  padding: 64px 0;
  color: #fff;
  max-width: 760px;
}

.detail-hero__kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #c9e2bc;
  text-transform: uppercase;
}

.detail-hero__title {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.detail-hero__lead {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.85;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.detail-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-hero__chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.detail-section {
  padding: 64px 0;
}

.detail-section--alt {
  background: #ffffff;
}

.detail-section__title {
  margin: 0 0 8px;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  color: #1f2b22;
  letter-spacing: 0.01em;
}

.detail-section__lead {
  margin: 0 0 28px;
  font-size: 14.5px;
  color: #5b6c5f;
  line-height: 1.7;
}

.key-facts--large {
  margin: 0;
  padding: 28px 0;
  background: #fff;
  border: 1px solid #e7eee4;
  border-radius: 18px;
}

.key-facts--large .key-facts__cell {
  padding: 0 28px;
  gap: 12px;
}

.key-facts--large .key-facts__cell dt { font-size: 13px; }
.key-facts--large .key-facts__cell dd { font-size: 22px; }

.detail-twocol {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.detail-twocol--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
}

.detail-prose p {
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.95;
  color: #2c3328;
  font-weight: 400;
}

.detail-prose p:last-child { margin-bottom: 0; }

.detail-quick {
  background: #fff;
  border: 1px solid #e7eee4;
  border-radius: 18px;
  padding: 26px 24px;
  position: sticky;
  top: 96px;
}

.detail-quick h3 {
  margin: 0 0 18px;
  color: #4f8a43;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.detail-quick__list {
  margin: 0;
  display: grid;
  gap: 14px;
}

.detail-quick__list > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #e0e7dd;
}

.detail-quick__list > div:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.detail-quick__list dt {
  font-size: 12.5px;
  color: #6b7568;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.detail-quick__list dd {
  margin: 0;
  font-size: 14px;
  color: #1f2b22;
  font-weight: 600;
  line-height: 1.55;
}

.detail-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
}

.detail-features__group h3 {
  margin: 0 0 12px;
  font-size: 13px;
  color: #4f8a43;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.detail-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.detail-chips li {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid rgba(31, 43, 34, 0.14);
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: #1f2b22;
}

.detail-facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.detail-facility-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f8f5ec;
  border: 1px solid #ece7d6;
}

.detail-section--alt .detail-facility-card {
  background: #f6f9f3;
  border-color: #e0eadb;
}

.detail-facility-card__label {
  font-size: 13.5px;
  font-weight: 600;
  color: #4f5a4a;
}

.detail-facility-card__value {
  font-size: 14.5px;
  font-weight: 600;
  color: #1f2b22;
}

.detail-facility-card__value.is-yes { color: #2f7a35; }
.detail-facility-card__value.is-no { color: #b13f3f; }

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 180px;
  gap: 14px;
}

.detail-gallery__item {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.detail-gallery__item--lead {
  grid-column: span 2;
  grid-row: span 2;
}

.detail-gallery__image {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background: linear-gradient(160deg, #b6d4a3, #4f8a43);
}

.detail-gallery__image[data-tone="trees"] { background: linear-gradient(160deg, #739f63, #2c5d30); }
.detail-gallery__image[data-tone="sky"]   { background: linear-gradient(160deg, #d6ecc9, #7baa5f); }
.detail-gallery__image[data-tone="sunset"]{ background: linear-gradient(160deg, #e9c98c, #cc7b4f); }
.detail-gallery__image[data-tone="path"]  { background: linear-gradient(160deg, #ddcfb1, #8a7848); }

.detail-gallery__label {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.22);
  background: rgba(0, 0, 0, 0.28);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(2px);
}

.detail-map-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: 0 14px 40px rgba(31, 43, 34, 0.1);
  background: #e8ede3;
}

.detail-map {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.detail-access {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.detail-access li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e7eee4;
  border-radius: 14px;
}

.detail-access__label {
  font-size: 13px;
  font-weight: 600;
  color: #4f8a43;
  letter-spacing: 0.05em;
}

.detail-access__value {
  font-size: 14px;
  color: #1f2b22;
  font-weight: 600;
  line-height: 1.7;
}

.detail-rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detail-rules li {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid #e7eee4;
  border-radius: 16px;
  border-left: 4px solid #4f8a43;
}

.detail-rules strong {
  font-size: 15px;
  font-weight: 600;
  color: #1f2b22;
}

.detail-rules span {
  font-size: 13.5px;
  color: #4f5a4a;
  line-height: 1.75;
  font-weight: 400;
}

.detail-related__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.detail-related__head .detail-section__title { margin-bottom: 6px; }
.detail-related__head .detail-section__lead { margin: 0; }

.detail-related__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #4f8a43;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
}

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

.detail-related-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e7eee4;
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: flex;
  flex-direction: column;
}

.detail-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(31, 43, 34, 0.1);
}

.detail-related-card__image {
  height: 160px;
  background: linear-gradient(135deg, #b6d4a3, #4f8a43);
}

.detail-related-card__image[data-tone="hanazono"] { background: linear-gradient(135deg, #c8e0b3, #6fa252); }
.detail-related-card__image[data-tone="tsurumi"]  { background: linear-gradient(135deg, #ead29c, #c89b50); }
.detail-related-card__image[data-tone="izumi"]    { background: linear-gradient(135deg, #c4dde2, #6f99a8); }

.detail-related-card__body { padding: 18px 20px 20px; }

.detail-related-card__area {
  margin: 0 0 6px;
  font-size: 12px;
  color: #4f8a43;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.detail-related-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: #1f2b22;
}

.detail-related-card__meta {
  margin: 0;
  font-size: 13px;
  color: #6b7568;
  font-weight: 600;
}

.detail-cta {
  background: linear-gradient(135deg, #2f6f35, #4f8a43);
  color: #fff;
  padding: 72px 0;
}

.detail-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.detail-cta__kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
}

.detail-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
}

.detail-cta p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.detail-cta__button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  border-radius: 999px;
  background: #fff;
  color: #2f6f35;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transition: transform 160ms ease;
}

.detail-cta__button:hover { transform: translateY(-2px); }

.detail-footer {
  background: #1f2b22;
  color: rgba(255, 255, 255, 0.82);
  padding: 32px 0;
}

.detail-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.detail-footer .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.detail-footer .brand__sub {
  color: rgba(255, 255, 255, 0.7);
}

.detail-footer__copy {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

@media (max-width: 900px) {
  .detail-twocol,
  .detail-twocol--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .detail-quick { position: static; }
  .detail-features { grid-template-columns: 1fr; gap: 22px; }
  .detail-related { grid-template-columns: 1fr; }
  .detail-rules { grid-template-columns: 1fr; }
  .detail-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }
  .detail-gallery__item--lead {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 640px) {
  .detail-shell { width: min(100% - 32px, 1180px); }
  .detail-topbar__inner { width: min(100% - 32px, 1180px); height: 64px; }
  .detail-topbar__back { padding: 8px 14px; font-size: 12px; }
  .detail-topbar .brand__sub { display: none; }
  .detail-hero { margin: 16px 0 0; border-radius: 20px; min-height: 320px; }
  .detail-hero__content { padding: 44px 0; }
  .detail-hero__title { font-size: clamp(26px, 7vw, 32px); }
  .detail-hero__lead { font-size: 14.5px; }
  .detail-section { padding: 44px 0; }
  .key-facts--large { padding: 8px 0; }
  .key-facts--large .key-facts__cell { padding: 14px 18px; }
  .key-facts--large .key-facts__cell dd { font-size: 18px; }
  .detail-facility-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .detail-facility-card { padding: 12px 14px; }
  .detail-related__head { flex-direction: column; align-items: flex-start; }
  .detail-rules li { padding: 16px 18px; }
  .detail-access li { grid-template-columns: 80px 1fr; padding: 14px 16px; }
  .detail-cta { padding: 48px 0; }
  .detail-cta__inner { flex-direction: column; align-items: flex-start; }
  .detail-cta__button { width: 100%; justify-content: center; }
  .detail-footer__inner { flex-direction: column; align-items: flex-start; }
}

/* Detail page refresh */
.detail-body {
  background:
    radial-gradient(circle at 88% 6%, rgba(199, 224, 187, 0.34), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7faf5 44%, #f3f7ef 100%);
}

.detail {
  padding-bottom: 0;
}

.detail-summary {
  padding: 36px 0 56px;
}

.summary-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr);
  gap: 56px;
  align-items: start;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.summary-card__main {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding-top: 28px;
  border-top: 1px solid #d8e3d2;
}

.summary-card__eyebrow {
  margin: 0 0 14px;
  color: #4f8a43;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.summary-card h1 {
  margin: 0 0 18px;
  color: #1f2b22;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.summary-card__address {
  margin: 0 0 22px;
  color: #6b7568;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.summary-card__lead {
  max-width: 640px;
  margin: 0;
  color: #2c3328;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.95;
}

.summary-card__side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: 28px;
  border-top: 1px solid #d8e3d2;
}

.summary-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}

.summary-facts > div {
  min-height: auto;
  padding: 18px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid #ecefe6;
}

.summary-facts > div:nth-child(odd) {
  padding-right: 22px;
}

.summary-facts > div:nth-child(even) {
  padding-left: 22px;
  border-left: 1px solid #ecefe6;
}

.summary-facts > div:nth-last-child(-n+2) {
  border-bottom: none;
}

.summary-facts dt {
  margin: 0 0 8px;
  color: #6b7568;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.summary-facts dd {
  margin: 0;
  color: #1f2b22;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.summary-facts .is-key dd {
  color: #2f7a35;
}

.detail-section {
  padding: 58px 0;
}

.detail-section--place {
  padding-top: 18px;
}

.detail-section--alt {
  background: rgba(255, 255, 255, 0.72);
}

.section-head {
  margin-bottom: 24px;
}

.section-head__label {
  margin: 0 0 8px;
  color: #e65f45;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.detail-section__title {
  letter-spacing: 0;
}

.detail-section__lead {
  max-width: 680px;
}

.photo-story {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: stretch;
  padding: 24px;
  border: 1px solid rgba(31, 43, 34, 0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(31, 43, 34, 0.08);
}

.photo-story__image,
.support-card__image,
.detail-related-card__image {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
}

.photo-story__image::after,
.support-card__image::after,
.detail-related-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 52%, rgba(31, 43, 34, 0.16)),
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.28), transparent 28%);
}

.photo-story__image--grass {
  background-image: linear-gradient(140deg, rgba(95, 150, 83, 0.2), rgba(31, 43, 34, 0.16));
}

.photo-story__image--parking {
  background-image:
    linear-gradient(135deg, rgba(57, 86, 64, 0.08), rgba(79, 138, 67, 0.28)),
    linear-gradient(160deg, #dce8d2 0 22%, transparent 22% 34%, #a8b7a1 34% 38%, transparent 38% 48%, #e9efe5 48% 100%),
    linear-gradient(90deg, #6d7a70 0 12%, #f6f8f4 12% 18%, #6d7a70 18% 30%, #f6f8f4 30% 36%, #6d7a70 36% 48%, #f6f8f4 48% 54%, #6d7a70 54% 100%);
}

.photo-story__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding: 10px 8px;
}

.photo-story__body h3 {
  margin: 0 0 14px;
  color: #1f2b22;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 600;
  line-height: 1.3;
}

.photo-story__body p {
  margin: 0 0 14px;
  color: #344437;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.9;
}

.inline-facts,
.parking-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
}

.inline-facts div,
.parking-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid #e0eadb;
  border-radius: 13px;
  background: #f8fbf6;
}

.inline-facts dt,
.parking-list dt {
  color: #4f8a43;
  font-size: 12px;
  font-weight: 600;
}

.inline-facts dd,
.parking-list dd {
  margin: 0;
  color: #1f2b22;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.detail-info-grid {
  display: grid;
  gap: 16px;
}

.detail-info-grid--main {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.detail-info-grid--main .detail-info-card:nth-child(5) {
  grid-column: span 1;
}

.detail-info-grid--sub {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.detail-info-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 14px;
  border: 1px solid rgba(31, 43, 34, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(31, 43, 34, 0.06);
}

.detail-info-card h3 {
  position: relative;
  margin: 0 0 12px;
  padding-left: 26px;
  color: #1f2b22;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.detail-info-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 74%, #4f8a43 0 28%, transparent 30%),
    radial-gradient(circle at 25% 42%, #4f8a43 0 16%, transparent 18%),
    radial-gradient(circle at 48% 30%, #4f8a43 0 16%, transparent 18%),
    radial-gradient(circle at 72% 42%, #4f8a43 0 16%, transparent 18%),
    #eef5eb;
}

.detail-info-card__image {
  position: relative;
  min-height: 150px;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 9px;
  background-size: cover;
  background-position: center;
}

.detail-info-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(31, 43, 34, 0.1));
}

.detail-info-card__image[data-tone="grass"],
.detail-info-card__image[data-tone="large-dog"],
.detail-info-card__image[data-tone="small-dog"],
.detail-info-card__image[data-tone="bench"],
.detail-info-card__image[data-tone="fence"] {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(31,43,34,.12));
}

.detail-info-card__image[data-tone="grass"] { background-position: center 50%; }
.detail-info-card__image[data-tone="large-dog"] { background-position: 58% 48%; }
.detail-info-card__image[data-tone="small-dog"] { background-position: 42% 48%; }
.detail-info-card__image[data-tone="bench"] { background-position: left center; }
.detail-info-card__image[data-tone="fence"] { background-position: right center; }

.detail-info-card__image[data-tone="parking"] {
  background:
    linear-gradient(180deg, rgba(255,255,255,.15), rgba(31,43,34,.08)),
    linear-gradient(165deg, #7fb9e8 0 24%, #d9eef8 24% 30%, #7caf62 30% 45%, #636d67 45% 100%);
}

.detail-info-card__image[data-tone="parking"]::before {
  content: "";
  position: absolute;
  inset: 58% -10% 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(255,255,255,.76) 42px 48px),
    #626a66;
  transform: rotate(-2deg);
}

.detail-info-card__image[data-tone="water"],
.detail-info-card__image[data-tone="wash"] {
  background:
    radial-gradient(circle at 42% 52%, rgba(255,255,255,.75) 0 12%, transparent 13%),
    linear-gradient(145deg, #d9edc8, #7cb46e 45%, #a6d6e8 46% 100%);
}

.detail-info-card__image[data-tone="toilet"] {
  background:
    linear-gradient(90deg, transparent 0 36%, rgba(255,255,255,.72) 36% 64%, transparent 64%),
    linear-gradient(145deg, #cfe3bf, #6fa252);
}

.detail-info-card p {
  flex: 1;
  margin: 0 0 14px;
  color: #3f4b3e;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
}

.detail-info-subhead {
  margin: 34px 0 18px;
}

.detail-info-subhead h3 {
  position: relative;
  margin: 0;
  padding-left: 28px;
  color: #1f2b22;
  font-size: 19px;
  font-weight: 600;
}

.detail-info-subhead h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: #4f8a43;
  clip-path: polygon(50% 0, 62% 35%, 100% 35%, 70% 58%, 82% 100%, 50% 74%, 18% 100%, 30% 58%, 0 35%, 38% 35%);
}

.recommend-point-card {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding: 32px;
  border: 1px solid rgba(31, 43, 34, 0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(31, 43, 34, 0.08);
}

.recommend-point-card__image {
  min-height: clamp(320px, 31vw, 500px);
  overflow: hidden;
  border-radius: 18px;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(31, 43, 34, 0.12));
  background-size: cover;
  background-position: center;
}

.recommend-point-card__body {
  min-width: 0;
}

.recommend-point-card__body h3 {
  margin: 0 0 26px;
  color: #1f2b22;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0;
}

.recommend-point-card__body p {
  margin: 0 0 22px;
  color: #2f3f32;
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 600;
  line-height: 1.85;
}


.parking-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.parking-map-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(31, 43, 34, 0.08);
  border-radius: 18px;
  background: #edf4e9;
  box-shadow: 0 12px 40px rgba(31, 43, 34, 0.08);
}

.parking-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.82) contrast(0.92);
}

.parking-map__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 54% 45%, rgba(79, 138, 67, 0.24), transparent 26%),
    linear-gradient(135deg, rgba(247, 250, 245, 0.58), rgba(210, 232, 202, 0.36));
  pointer-events: none;
}

.parking-map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: #e65f45;
  box-shadow: 0 12px 22px rgba(31, 43, 34, 0.22);
  color: #fff;
  cursor: pointer;
  transform: translate(-50%, -100%) rotate(45deg);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.parking-map-pin span,
.parking-map-pin strong {
  grid-area: 1 / 1;
  transform: rotate(-45deg);
}

.parking-map-pin span {
  margin-top: -4px;
  font-size: 23px;
  font-weight: 600;
}

.parking-map-pin strong {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  margin: 42px -34px 0 0;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #e65f45;
  font-size: 12px;
  font-weight: 600;
}

.parking-map-pin:hover,
.parking-map-pin.is-active {
  background: #f06a2a;
  transform: translate(-50%, -100%) rotate(45deg) scale(1.06);
  box-shadow: 0 16px 28px rgba(31, 43, 34, 0.28);
}

.parking-map-pin:focus-visible,
.parking-route-button:focus-visible {
  outline: 3px solid rgba(230, 95, 69, 0.4);
  outline-offset: 4px;
}

.parking-dogrun-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 4px solid #fff;
  border-radius: 999px;
  background: #4f8a43;
  box-shadow: 0 14px 28px rgba(31, 43, 34, 0.18);
  color: #fff;
  font-size: 0;
  transform: translate(-50%, -50%);
}

.parking-dogrun-pin::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 78%, #fff 0 34%, transparent 35%),
    radial-gradient(circle at 18% 34%, #fff 0 18%, transparent 19%),
    radial-gradient(circle at 42% 22%, #fff 0 18%, transparent 19%),
    radial-gradient(circle at 68% 34%, #fff 0 18%, transparent 19%);
}

.parking-dogrun-pin span {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: max-content;
  color: #2f6f35;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-shadow: 0 1px 0 #fff;
  transform: translateX(-50%);
}

.parking-map-legend {
  position: absolute;
  right: 22px;
  bottom: 18px;
  left: 22px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(31, 43, 34, 0.1);
  color: #3f463b;
  font-size: 13px;
  font-weight: 600;
}

.parking-map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.parking-legend-dot {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background: #4f8a43;
}

.parking-legend-dot.parking { background: #e65f45; }
.parking-legend-dot.dogrun { border-radius: 999px; background: #4f8a43; }
.parking-legend-dot.entrance { background: #6fa252; clip-path: polygon(50% 0, 100% 100%, 0 100%); }

.parking-detail-card {
  align-self: start;
  padding: 28px;
  border: 1px solid rgba(31, 43, 34, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(31, 43, 34, 0.08);
}

.parking-detail-card__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.parking-detail-card__number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #e65f45;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}

.parking-detail-card h3 {
  margin: 0 0 10px;
  color: #1f2b22;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.35;
}

.parking-detail-card p {
  margin: 0;
  color: #5b6659;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.75;
}

.parking-detail-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin: 18px 0;
}

.parking-detail-card__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #cfe1c9;
  border-radius: 999px;
  background: #f1f8ed;
  color: #2f7a35;
  font-size: 13px;
  font-weight: 600;
}

.parking-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 16px;
  overflow: hidden;
  border: 1px solid #e5eadf;
  border-radius: 12px;
}

.parking-detail-grid div {
  min-height: 86px;
  padding: 16px 18px;
  border-right: 1px solid #e5eadf;
  border-bottom: 1px solid #e5eadf;
  background: #fff;
}

.parking-detail-grid div:nth-child(even) { border-right: none; }
.parking-detail-grid div:nth-last-child(-n+2) { border-bottom: none; }

.parking-detail-grid dt {
  margin: 0 0 8px;
  color: #4f8a43;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.parking-detail-grid dd {
  margin: 0;
  color: #1f2b22;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.parking-route-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #edf7e9, #dfeeda);
  color: #2f7a35;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}

.parking-choice-board {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(31, 43, 34, 0.08);
  border-radius: 18px;
  background:
    radial-gradient(circle at 86% 22%, rgba(199, 224, 187, 0.5), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #f7faf5 58%, #edf5e8 100%);
  box-shadow: 0 12px 40px rgba(31, 43, 34, 0.08);
}

.parking-choice {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 96px;
  padding: 18px;
  border: 1px solid #dfe9da;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #1f2b22;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(31, 43, 34, 0.04);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.parking-choice:hover,
.parking-choice.is-active {
  border-color: rgba(79, 138, 67, 0.58);
  background: #fff;
  box-shadow: 0 14px 28px rgba(31, 43, 34, 0.10);
  transform: translateY(-2px);
}

.parking-choice:focus-visible {
  outline: 3px solid rgba(230, 95, 69, 0.36);
  outline-offset: 4px;
}

.parking-choice__number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #e65f45;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.parking-choice__body {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.parking-choice__body strong {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
}

.parking-choice__body small {
  color: #667260;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.parking-choice__meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #cfe1c9;
  border-radius: 999px;
  background: #f1f8ed;
  color: #2f7a35;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.parking-list-cards {
  display: grid;
  gap: 14px;
}

.parking-list-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(520px, 1.35fr);
  gap: 34px;
  align-items: stretch;
  padding: 24px;
  border: 1px solid rgba(31, 43, 34, 0.07);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdf9 100%);
  box-shadow: 0 14px 36px rgba(31, 43, 34, 0.06);
}

.parking-list-card__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding-top: 4px;
}

.parking-list-card__title {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.parking-list-card__title h3 {
  margin: 0;
  color: #1f2b22;
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 600;
  line-height: 1.42;
}

.parking-list-card__title span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #cfe1c9;
  border-radius: 999px;
  background: #f1f8ed;
  color: #2f7a35;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.parking-list-card__body p {
  margin: 0;
  color: #465246;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
}

.parking-list-card__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding-left: 34px;
  border-left: 1px solid #e4eadf;
}

.parking-list-card__info dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
  border: 1px solid #dfe7dc;
  border-top: none;
  border-radius: 0 0 14px 14px;
  background: #fff;
}

.parking-list-card__info dl div {
  min-height: 78px;
  padding: 16px 14px;
  border-right: 1px solid #dfe7dc;
  text-align: center;
}

.parking-list-card__info dl div:last-child {
  border-right: none;
}

.parking-list-card__info dt {
  margin: 0 0 6px;
  color: #4f8a43;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.parking-list-card__info dd {
  margin: 0;
  color: #1f2b22;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 600;
  line-height: 1.25;
}

.parking-list-card__note {
  margin: 0;
  padding: 0;
}

.parking-list-card__note strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid #dfe7dc;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, #f7fcf4 0%, #eff8eb 100%);
  color: #2f7a35;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.parking-route-button {
  margin-top: 14px;
  min-height: 46px;
  border: 1px solid rgba(47, 122, 53, 0.12);
  border-radius: 10px;
  background: linear-gradient(180deg, #4f8a43 0%, #35783a 100%);
  color: #fff;
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 600;
  box-shadow: 0 12px 22px rgba(79, 138, 67, 0.20);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.parking-fee-detail {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid #dfe7dc;
  border-radius: 12px;
  background: #fff;
}

.parking-fee-detail[hidden] {
  display: none;
}

.parking-fee-detail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid #dfe7dc;
  color: #2f7a35;
  font-size: 18px;
  font-weight: 600;
}

.parking-fee-detail__grid {
  display: grid;
}

.parking-fee-detail__row {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(0, 2fr);
  border-bottom: 1px solid #e5ebe2;
}

.parking-fee-detail__row:last-child {
  border-bottom: none;
}

.parking-fee-detail__label,
.parking-fee-detail__value {
  padding: 18px 22px;
}

.parking-fee-detail__label {
  background: #f6fbf3;
  color: #2f7a35;
  font-weight: 600;
}

.parking-fee-detail__value {
  color: #1f2b22;
  font-weight: 600;
  line-height: 1.7;
}

.parking-route-button:hover {
  background: linear-gradient(180deg, #467f3b 0%, #2f6f35 100%);
  box-shadow: 0 14px 26px rgba(79, 138, 67, 0.24);
  transform: translateY(-1px);
}

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

.support-card {
  overflow: hidden;
  border: 1px solid rgba(31, 43, 34, 0.08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(31, 43, 34, 0.07);
}

.support-card__image {
  min-height: 190px;
  border-radius: 0;
}

.support-card__image[data-tone="family"] {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(79, 138, 67, 0.26));
}

.support-card__image[data-tone="bbq"] {
  background:
    radial-gradient(circle at 25% 65%, rgba(230, 95, 69, 0.32) 0 9%, transparent 10%),
    radial-gradient(circle at 55% 50%, rgba(255, 255, 255, 0.62) 0 17%, transparent 18%),
    linear-gradient(145deg, #e8dac2, #d5e8ca 56%, #8ab375);
}

.support-card__image[data-tone="walk"] {
  background:
    linear-gradient(120deg, transparent 0 52%, rgba(255, 255, 255, 0.6) 52% 58%, transparent 58%),
    linear-gradient(145deg, #cfe3bf, #78a96a 54%, #496e3f);
}

.support-card__body {
  padding: 22px;
}

.support-card h3 {
  margin: 0 0 10px;
  color: #1f2b22;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
}

.support-card p {
  margin: 0;
  color: #4f5a4a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
}

.detail-rules {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-rules li {
  border-left: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(31, 43, 34, 0.05);
}

.detail-related-card {
  box-shadow: 0 10px 26px rgba(31, 43, 34, 0.06);
}

.detail-related-card__image {
  min-height: 150px;
  border-radius: 0;
}

.detail-related-card__image[data-tone="hanazono"] {
  background: linear-gradient(135deg, #c8e0b3, #6fa252);
}

.detail-related-card__image[data-tone="tsurumi"] {
  background: linear-gradient(135deg, #ead29c, #c89b50);
}

.detail-related-card__image[data-tone="izumi"] {
  background: linear-gradient(135deg, #c4dde2, #6f99a8);
}

@media (max-width: 980px) {
  .summary-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .summary-card__side {
    padding-top: 24px;
  }

  .photo-story {
    grid-template-columns: 1fr;
  }

  .detail-info-grid--main,
  .detail-info-grid--sub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recommend-point-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .detail-rules {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .detail-summary {
    padding: 22px 0 40px;
  }

  .summary-card {
    padding: 0;
    border-radius: 0;
  }

  .summary-card h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .summary-facts {
    grid-template-columns: 1fr;
  }

  .summary-facts > div {
    padding: 16px 0;
    border-bottom: 1px solid #ecefe6;
  }

  .summary-facts > div:nth-child(odd),
  .summary-facts > div:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-left: none;
  }

  .summary-facts > div:nth-last-child(-n+2) {
    border-bottom: 1px solid #ecefe6;
  }

  .summary-facts > div:last-child {
    border-bottom: none;
  }

  .detail-section {
    padding: 42px 0;
  }

  .photo-story {
    padding: 16px;
    gap: 18px;
  }

  .photo-story__image,
  .support-card__image {
    min-height: 220px;
  }

  .photo-story__body h3 {
    font-size: 24px;
  }

  .detail-info-grid--main,
  .detail-info-grid--sub {
    grid-template-columns: 1fr;
  }

  .detail-info-card__image {
    min-height: 170px;
  }

  .recommend-point-card {
    padding: 18px;
    border-radius: 18px;
  }

  .recommend-point-card__image {
    min-height: 230px;
    border-radius: 14px;
  }

  .recommend-point-card__body h3 {
    margin-bottom: 18px;
    font-size: clamp(28px, 9vw, 40px);
  }

  .recommend-point-card__body p {
    font-size: 15px;
    line-height: 1.8;
  }

  .inline-facts div,
  .parking-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .detail-rules {
    grid-template-columns: 1fr;
  }
}

/* Detail gallery hero */
.detail-summary {
  padding: 28px 0 64px;
}

.detail-gallery-hero {
  display: grid;
  gap: 16px;
  margin-bottom: 36px;
}

.detail-gallery-hero__main {
  position: relative;
  min-height: clamp(300px, 34vw, 455px);
  overflow: hidden;
  border-radius: 18px;
  background-image:
    linear-gradient(180deg, rgba(31, 43, 34, 0.06), rgba(31, 43, 34, 0.16));
  background-size: cover;
  background-position: center 44%;
  box-shadow: 0 20px 52px rgba(31, 43, 34, 0.12);
  transition: background-image 180ms ease, background-position 180ms ease;
}

.detail-gallery-hero__main[data-tone="grass"],
.detail-gallery-hero__thumb[data-tone="grass"] {
  background-image:
    linear-gradient(180deg, rgba(31, 43, 34, 0.03), rgba(31, 43, 34, 0.12));
  background-position: 44% 54%;
}

.detail-gallery-hero__main[data-tone="trees"],
.detail-gallery-hero__thumb[data-tone="trees"] {
  background-image:
    linear-gradient(180deg, rgba(31, 43, 34, 0.06), rgba(31, 43, 34, 0.18));
  background-position: left center;
}

.detail-gallery-hero__main[data-tone="walk"],
.detail-gallery-hero__thumb[data-tone="walk"] {
  background-image:
    linear-gradient(180deg, rgba(31, 43, 34, 0.04), rgba(31, 43, 34, 0.16));
  background-position: right center;
}

.detail-gallery-hero__main[data-tone="dogs"],
.detail-gallery-hero__thumb[data-tone="dogs"] {
  background:
    radial-gradient(circle at 34% 54%, rgba(255, 255, 255, 0.66) 0 7%, transparent 8%),
    radial-gradient(circle at 63% 48%, rgba(230, 95, 69, 0.28) 0 9%, transparent 10%),
    linear-gradient(145deg, #c9e4b6, #6fa252);
}

.detail-gallery-hero__main[data-tone="field"],
.detail-gallery-hero__thumb[data-tone="field"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 34%),
    linear-gradient(145deg, #d9edc8, #8dbb66 48%, #4f8a43);
}

.detail-gallery-hero__count {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(31, 43, 34, 0.78);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.detail-gallery-hero__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 38px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: rgba(31, 43, 34, 0.28);
  backdrop-filter: blur(5px);
  cursor: pointer;
  transform: translateY(-50%);
  opacity: 0.72;
  transition: background 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.detail-gallery-hero__nav:hover {
  background: rgba(31, 43, 34, 0.48);
  opacity: 1;
}

.detail-gallery-hero__nav:focus-visible,
.detail-gallery-hero__thumb:focus-visible {
  outline: 3px solid rgba(230, 95, 69, 0.6);
  outline-offset: 3px;
}

.detail-gallery-hero__nav::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  transform: translateY(-50%);
}

.detail-gallery-hero__nav--prev {
  left: 16px;
}

.detail-gallery-hero__nav--prev::before {
  left: 13px;
  border-right: 11px solid rgba(255, 255, 255, 0.92);
}

.detail-gallery-hero__nav--next {
  right: 16px;
}

.detail-gallery-hero__nav--next::before {
  right: 13px;
  border-left: 11px solid rgba(255, 255, 255, 0.92);
}

.detail-gallery-hero__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 18px;
}

.detail-gallery-hero__thumb {
  min-height: 88px;
  border: 0;
  border-radius: 12px;
  background-image:
    linear-gradient(180deg, rgba(31, 43, 34, 0.02), rgba(31, 43, 34, 0.10));
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(31, 43, 34, 0.08);
  cursor: pointer;
  transition: box-shadow 160ms ease, transform 160ms ease, opacity 160ms ease;
  opacity: 0.88;
}

.detail-gallery-hero__thumb:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.detail-gallery-hero__thumb.is-active {
  box-shadow:
    inset 0 0 0 3px #4f8a43,
    0 8px 18px rgba(31, 43, 34, 0.12);
  opacity: 1;
}

.detail-gallery-hero__thumb[data-tone="grass"] { background-position: 45% 52%; }
.detail-gallery-hero__thumb[data-tone="trees"] { background-position: left center; }
.detail-gallery-hero__thumb[data-tone="walk"] { background-position: right center; }

.summary-card {
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.72fr);
  gap: 56px;
}

.summary-card__main {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 10px;
  border-top: 0;
}

.summary-card h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.2;
}

.summary-card__badge {
  display: inline-flex;
  align-items: center;
  height: 36px;
  margin-left: 16px;
  padding: 0 15px;
  border-radius: 999px;
  background: #e99a24;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.summary-card__address {
  flex-basis: 100%;
  margin: 22px 0 0;
  color: #3f463b;
  font-size: 16px;
  font-weight: 600;
}

.summary-card__chips {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.summary-card__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #cfe1c9;
  border-radius: 999px;
  background: #f0f7ed;
  color: #2f7a35;
  font-size: 13px;
  font-weight: 600;
}

.summary-card__lead {
  flex-basis: 100%;
  max-width: 660px;
  margin: 30px 0 0;
  font-size: 16px;
  line-height: 1.95;
}

.summary-card__side {
  gap: 18px;
  padding: 24px;
  border: 1px solid #e5ded0;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(250, 245, 235, 0.9)),
    #fff;
  box-shadow: 0 14px 34px rgba(31, 43, 34, 0.08);
}

.summary-facts {
  display: block;
}

.summary-facts > div,
.summary-facts > div:nth-child(odd),
.summary-facts > div:nth-child(even),
.summary-facts > div:nth-last-child(-n+2) {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 54px;
  padding: 0;
  border-left: 0;
  border-bottom: 1px solid #ece6db;
}

.summary-facts > div:last-child {
  border-bottom: none;
}

.summary-facts dt {
  margin: 0;
  color: #2c3328;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.summary-facts dd {
  margin: 0;
  color: #1f2b22;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.summary-card__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid #d8d0bf;
  border-radius: 8px;
  background: #fff;
  color: #2f7a35;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(31, 43, 34, 0.06);
}

@media (max-width: 980px) {
  .detail-gallery-hero__thumbs {
    gap: 10px;
  }

  .detail-gallery-hero__thumb {
    min-height: 70px;
  }

  .summary-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .parking-panel {
    grid-template-columns: 1fr;
  }

  .parking-list-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .parking-list-card__info {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #e2e8de;
    padding-top: 18px;
  }

  .parking-map-card {
    min-height: 460px;
  }
}

@media (max-width: 640px) {
  .detail-summary {
    padding: 18px 0 42px;
  }

  .detail-gallery-hero {
    gap: 10px;
    margin-bottom: 28px;
  }

  .detail-gallery-hero__main {
    min-height: 230px;
    border-radius: 14px;
  }

  .detail-gallery-hero__thumbs {
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  }

  .detail-gallery-hero__thumb {
    min-height: 58px;
    border-radius: 10px;
  }

  .summary-card h1 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .summary-card__badge {
    height: 32px;
    margin-left: 10px;
    padding: 0 12px;
    font-size: 12px;
  }

  .summary-card__side {
    padding: 18px;
  }

  .summary-facts > div,
  .summary-facts > div:nth-child(odd),
  .summary-facts > div:nth-child(even),
  .summary-facts > div:nth-last-child(-n+2) {
    grid-template-columns: 88px 1fr;
    gap: 12px;
    min-height: 50px;
  }

  .parking-map-card {
    min-height: 360px;
    border-radius: 16px;
  }

  .parking-list-card {
    padding: 14px;
    border-radius: 16px;
  }

  .parking-list-card__title h3 {
    font-size: 22px;
  }

  .parking-list-card__info dl {
    grid-template-columns: 1fr;
    border-bottom: none;
  }

  .parking-list-card__info dl div,
  .parking-list-card__info dl div:last-child {
    min-height: auto;
    padding: 12px 0;
    border-right: none;
    border-bottom: 1px solid #e2e8de;
  }

  .parking-list-card__note {
    margin-bottom: 12px;
  }

  .parking-map-pin {
    width: 44px;
    height: 44px;
    border-width: 3px;
  }

  .parking-map-pin span {
    font-size: 19px;
  }

  .parking-map-pin strong {
    width: 18px;
    height: 18px;
    margin: 36px -30px 0 0;
    font-size: 11px;
  }

  .parking-dogrun-pin {
    width: 52px;
    height: 52px;
  }

  .parking-dogrun-pin span {
    font-size: 12px;
  }

  .parking-map-legend {
    right: 12px;
    bottom: 12px;
    left: 12px;
    gap: 8px 12px;
    padding: 10px 12px;
    font-size: 11px;
  }

  .parking-detail-card {
    padding: 20px;
  }

  .parking-detail-card__head {
    grid-template-columns: 1fr;
  }

  .parking-detail-card__badges {
    justify-content: flex-start;
  }

  .parking-detail-grid {
    grid-template-columns: 1fr;
  }

  .parking-detail-grid div,
  .parking-detail-grid div:nth-child(even),
  .parking-detail-grid div:nth-last-child(-n+2) {
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid #e5eadf;
  }

  .parking-detail-grid div:last-child {
    border-bottom: none;
  }
}

/* Detail page visual polish */
.detail-body {
  --detail-ink: #1f2b22;
  --detail-text: #344237;
  --detail-muted: #58685b;
  --detail-green: #4f8a43;
  --detail-green-dark: #2f6f35;
  --detail-green-soft: #eef7ea;
  --detail-accent: #e65f45;
  --detail-line: rgba(31, 43, 34, 0.1);
  --detail-line-strong: rgba(79, 138, 67, 0.22);
  --detail-card: rgba(255, 255, 255, 0.96);
  --detail-shadow: 0 14px 36px rgba(31, 43, 34, 0.075);
  --detail-shadow-soft: 0 8px 22px rgba(31, 43, 34, 0.055);
  color: var(--detail-ink);
  background:
    radial-gradient(circle at 88% 5%, rgba(199, 224, 187, 0.32), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7faf5 42%, #f3f7ef 100%);
  letter-spacing: 0.05em;
}

.detail-body,
.detail-body * {
  letter-spacing: 0.05em !important;
}

.detail-body :where(p, li, dd, small) {
  color: var(--detail-text);
  font-weight: 600;
  line-height: 1.82;
}

.detail-body :where(h1, h2, h3, strong, dt) {
  color: var(--detail-ink);
}

.detail-topbar {
  border-bottom-color: var(--detail-line);
  background: rgba(255, 255, 255, 0.92);
}

.detail-breadcrumb {
  color: var(--detail-muted);
}

.detail-section {
  padding: 62px 0;
}

.detail-section--place {
  padding-top: 20px;
}

.detail-section--alt {
  background: rgba(255, 255, 255, 0.62);
}

.section-head {
  margin-bottom: 28px;
}

.section-head__label {
  color: var(--detail-accent);
  font-size: 12px;
  font-weight: 600;
}

.detail-section__title {
  color: var(--detail-ink);
  font-weight: 600;
  line-height: 1.28;
}

.detail-section__lead {
  color: var(--detail-muted);
  font-weight: 600;
  line-height: 1.85;
}

.section-head__title-row {
  display: grid;
  grid-template-columns: max-content minmax(360px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.section-head__title-row .detail-section__title {
  margin: 0;
}

.parking-disclaimer {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: 58px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1.5px solid #ef725f;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: #1f2b22;
  font-size: clamp(15px, 1.2vw, 20px);
  font-weight: 600;
  line-height: 1.5;
  box-shadow: none;
}

.parking-disclaimer::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 72px;
  width: 1px;
  background: rgba(230, 95, 69, 0.24);
}

.parking-disclaimer__icon {
  display: grid;
  place-items: center;
  align-self: center;
  justify-self: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #e65f45;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}

.parking-disclaimer__text {
  padding: 14px 22px;
}

.summary-card__address,
.summary-card__lead {
  color: var(--detail-text);
}

.summary-card__badge {
  background: #e99022;
  box-shadow: 0 8px 18px rgba(233, 144, 34, 0.18);
}

.summary-card__side,
.photo-story,
.recommend-point-card,
.detail-info-card,
.parking-list-card,
.detail-rules li,
.detail-related-card {
  border-color: var(--detail-line);
  background: var(--detail-card);
  box-shadow: var(--detail-shadow);
}

.detail-gallery-hero__main {
  box-shadow: 0 18px 42px rgba(31, 43, 34, 0.11);
}

.detail-gallery-hero__thumb {
  box-shadow: inset 0 0 0 1px rgba(31, 43, 34, 0.08), var(--detail-shadow-soft);
}

.detail-gallery-hero__thumb.is-active {
  box-shadow:
    inset 0 0 0 3px var(--detail-green),
    0 10px 22px rgba(31, 43, 34, 0.12);
}

.summary-card__chips span,
.parking-list-card__title span {
  border-color: var(--detail-line-strong);
  background: var(--detail-green-soft);
  color: var(--detail-green-dark);
  font-weight: 600;
}

.summary-facts > div,
.summary-facts > div:nth-child(even),
.summary-facts > div:nth-last-child(-n+2),
.inline-facts div,
.parking-list-card__info,
.parking-list-card__info dl,
.parking-list-card__info dl div,
.parking-list-card__note {
  border-color: rgba(31, 43, 34, 0.11);
}

.summary-facts dt,
.inline-facts dt,
.parking-list-card__info dt,
.detail-info-card h3::before {
  color: var(--detail-green);
}

.summary-facts dd,
.inline-facts dd,
.parking-list-card__info dd {
  color: var(--detail-ink);
}

.photo-story__body h3,
.recommend-point-card__body h3,
.detail-info-card h3,
.parking-list-card__title h3 {
  color: var(--detail-ink);
}

.photo-story__body p,
.recommend-point-card__body p,
.detail-info-card p,
.parking-list-card__body p {
  color: var(--detail-text);
}

.summary-card__button {
  background: linear-gradient(135deg, #eef8ea, #dfeeda);
  color: var(--detail-green-dark);
  box-shadow: var(--detail-shadow-soft);
}

.detail-rules li {
  padding: 22px 24px;
}

.detail-rules strong {
  font-weight: 600;
}

.detail-related__more {
  background: var(--detail-green);
}

@media (max-width: 640px) {
  .detail-section {
    padding: 44px 0;
  }

  .section-head {
    margin-bottom: 22px;
  }

  .detail-body :where(p, li, dd, small) {
    line-height: 1.78;
  }
}

/* Global typography polish */
body,
body * {
  letter-spacing: 0.05em !important;
}

body :where(h1, h2, h3, h4, strong, dt) {
  font-weight: 600 !important;
}

body :where(
  .section-heading h2,
  .map-section h2,
  .favorite-strip h2,
  .detail-section__title,
  .summary-card h1,
  .recommend-point-card__body h3
) {
  font-weight: 600 !important;
}

body :where(
  p,
  li,
  dd,
  small,
  .hero__lead,
  .detail-section__lead,
  .summary-card__lead,
  .photo-story__body p,
  .recommend-point-card__body p,
  .detail-info-card p,
  .parking-list-card__body p,
  .support-card p,
  .description
) {
  font-weight: 400 !important;
}

body :where(
  .brand__name,
  .nav__item,
  button,
  .hero__eyebrow,
  .section-kicker,
  .section-head__label,
  .summary-card__badge,
  .summary-card__chips span,
  .parking-disclaimer,
  .detail-info-card span,
  .parking-list-card__title span,
  .tags span,
  .filter-options button,
  .official-button,
  .summary-card__button,
  .parking-route-button,
  .detail-related__more,
  .favorite-strip__button
) {
  font-weight: 600 !important;
}

body :where(
  .summary-facts dd,
  .inline-facts dd,
  .parking-list-card__info dd,
  .parking-list-card__note strong,
  .detail-info-card h3,
  .parking-list-card__title h3,
  .detail-rules strong,
  .detail-related-card h3
) {
  font-weight: 600 !important;
}

.parking-disclaimer {
  display: grid !important;
  padding: 0 !important;
  border: 1.5px solid #ef725f !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.86) !important;
  color: #1f2b22 !important;
  box-shadow: none !important;
}

@media (max-width: 760px) {
  .section-head__title-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .parking-disclaimer {
    grid-template-columns: 54px minmax(0, 1fr);
    min-height: 58px;
    font-size: 14px;
  }

  .parking-disclaimer::before {
    left: 54px;
  }

  .parking-disclaimer__icon {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }

  .parking-disclaimer__text {
    padding: 12px 14px;
  }
}

/* ==========================================================================
   Detail page — Typography revamp & new components (revision)
   ========================================================================== */

/* Body solid bg to prevent black flash during scroll */
body.detail-body {
  background-color: #FEF9F0;
}

/* Typography hierarchy reset for detail page */
.detail-body { color: #1f2b22; }

.detail-topbar .brand__name { font-weight: 600; letter-spacing: 0.02em; }
.detail-topbar .brand__sub { font-weight: 400; color: #6b7568; }
.detail-topbar__back {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.detail-breadcrumb { font-weight: 400; }
.detail-breadcrumb a { font-weight: 600; }
.detail-breadcrumb [aria-current="page"] { font-weight: 600; }

/* Section head label / titles */
.section-head { margin-bottom: 32px; }
.section-head__label {
  margin: 0 0 10px;
  color: #4f8a43;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
}
.detail-section__title {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

/* Summary */
.summary-card h1 {
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.2;
}
.summary-card__address {
  color: #6b7568;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0 0 22px;
}
.summary-card__lead {
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.95;
  color: #2c3328;
}

/* Summary facts: tabular */
.summary-facts dt {
  font-weight: 400;
  color: #6b7568;
  letter-spacing: 0.04em;
  font-size: 12px;
}
.summary-facts dd {
  font-weight: 600;
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
}
.summary-facts .is-key dd { color: #2f7a35; font-weight: 600; }

/* Photo story */
.photo-story__body h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
}
.photo-story__body p {
  font-weight: 400;
  line-height: 1.95;
  color: #2c3328;
}
.inline-facts dt {
  font-weight: 400;
  color: #6b7568;
  letter-spacing: 0.04em;
}
.inline-facts dd {
  font-weight: 600;
  color: #1f2b22;
}

/* Detail info cards */
.detail-info-card h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.detail-info-card p {
  font-weight: 400;
  line-height: 1.75;
  color: #3a463c;
}
.detail-info-subhead h3 {
  font-size: 15px;
  font-weight: 600;
  color: #4f8a43;
  letter-spacing: 0.04em;
}

/* Detail rules — critical highlighting */
.detail-rules {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.detail-rules li {
  display: grid;
  gap: 6px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #e7eee4;
  border-radius: 14px;
}
.detail-rules li strong {
  font-size: 15px;
  font-weight: 600;
  color: #1f2b22;
  letter-spacing: 0.01em;
}
.detail-rules li.is-critical strong { color: #a13030; }
.detail-rules li.is-critical strong::before {
  content: "重要 ";
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #d46161;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  vertical-align: 1px;
}
.detail-rules li span {
  font-size: 13.5px;
  font-weight: 400;
  color: #4f5a4a;
  line-height: 1.85;
}

/* Related cards */
.detail-related-card h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.detail-related-card__area {
  font-weight: 600;
  letter-spacing: 0.05em;
}
.detail-related-card__meta {
  font-weight: 400;
  color: #6b7568;
}
.detail-related__more {
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Final CTA section */
.detail-cta {
  background: linear-gradient(135deg, #2f6f35, #4f8a43);
  color: #fff;
  padding: 64px 0;
}
.detail-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.detail-cta__kicker {
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.78);
}
.detail-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.detail-cta p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 400;
}
.detail-cta__button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  background: #fff;
  color: #2f6f35;
  font-weight: 600;
  text-decoration: none;
  font-size: 14.5px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transition: transform 160ms ease;
  letter-spacing: 0.03em;
}
.detail-cta__button:hover { transform: translateY(-2px); }

/* Footer typography */
.detail-footer { padding: 28px 0; }
.detail-footer .brand__name { font-weight: 600; letter-spacing: 0.02em; }
.detail-footer .brand__sub { font-weight: 400; }
.detail-footer__copy { font-weight: 400; }

/* Mobile adjustments */
@media (max-width: 640px) {
  .detail-breadcrumb { display: none; }
  .summary-card h1 { font-size: clamp(26px, 7.5vw, 32px); }
  .detail-section { padding: 40px 0; }
  .detail-section__title { font-size: clamp(24px, 6.5vw, 28px); letter-spacing: 0.05em; }
  .detail-rules li { padding: 14px 16px 14px 18px; }
  .detail-cta { padding: 40px 0; }
  .detail-cta__inner { flex-direction: column; align-items: flex-start; }
  .detail-cta__button { width: 100%; justify-content: center; }
}

/* Detail official site button */
.official-site-button {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #edf5ea;
  border: 1px solid #8eb889;
  border-radius: 18px;
  color: #1f6b35;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  box-shadow:
    0 2px 0 rgba(31, 107, 53, 0.12),
    0 10px 20px rgba(31, 107, 53, 0.08);
  transition:
    background 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.official-site-button:hover {
  background: #e3f0df;
  transform: translateY(-1px);
  box-shadow:
    0 3px 0 rgba(31, 107, 53, 0.12),
    0 14px 28px rgba(31, 107, 53, 0.12);
}

.official-site-button:active {
  transform: translateY(0);
  box-shadow:
    0 1px 0 rgba(31, 107, 53, 0.1),
    0 4px 10px rgba(31, 107, 53, 0.08);
}

.official-site-button .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(31, 107, 53, 0.08);
}

.official-site-button svg {
  color: #1f6b35;
}

.official-site-button .text {
  line-height: 1;
}

/* Common site footer */
.site-footer {
  background: #1f2b22;
  color: #ffffff;
  padding: 28px 16px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: #ffffff;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.site-footer__regions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin: 0 0 14px;
}
.site-footer__region {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-decoration: none;
}
a.site-footer__region:hover { text-decoration: underline; } /* 公開後の有効リンク用 */
.site-footer__region.is-soon { color: rgba(255, 255, 255, 0.45); cursor: default; }
.site-footer__soon { font-size: 11px; margin-left: 2px; color: rgba(255, 255, 255, 0.4); }

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  margin: 6px 0 12px;
}
.site-footer__legal-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.site-footer__legal-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   Legal pages (privacy / terms)
   ========================================================================== */
.legal-body { background: #FEF9F0; }
.legal-page {
  padding: 48px 20px 80px;
}
.legal-page__inner {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 56px 56px 48px;
  box-shadow: 0 2px 14px rgba(31, 43, 34, 0.05);
}
.legal-page__head {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(31, 43, 34, 0.08);
}
.legal-page__kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--green-dark, #4f7c37);
}
.legal-page__title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.3;
  font-weight: 800;
  color: var(--ink, #2c3328);
  word-break: keep-all;
  line-break: strict;
}
.legal-page__updated {
  margin: 0;
  font-size: 13px;
  color: rgba(44, 51, 40, 0.6);
}
.legal-page__intro {
  margin: 0 0 32px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--brown, #463323);
}
.legal-page__section {
  margin: 0 0 30px;
}
.legal-page__section h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--ink, #2c3328);
  word-break: keep-all;
  line-break: strict;
}
.legal-page__section p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--brown, #463323);
}
.legal-page__section ul {
  margin: 0 0 12px;
  padding-left: 1.4em;
}
.legal-page__section li {
  margin-bottom: 8px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--brown, #463323);
}
.legal-page__section a {
  color: var(--green-dark, #4f7c37);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-page__contact {
  font-size: 15.5px;
  font-weight: 700;
}
.legal-page__date {
  margin: 40px 0 0;
  text-align: right;
  font-size: 13px;
  color: rgba(44, 51, 40, 0.7);
}

@media (max-width: 720px) {
  .legal-page { padding: 32px 14px 60px; }
  .legal-page__inner { padding: 36px 24px 32px; border-radius: 16px; }
  .legal-page__head { margin-bottom: 28px; padding-bottom: 18px; }
  .legal-page__section { margin-bottom: 26px; }
}

/* ==========================================================================
   Admin page
   ========================================================================== */

body.admin-body { background: #FEF9F0; color: #1f2b22; }

.admin-shell {
  width: min(100% - 48px, 1100px);
  margin: 0 auto;
  padding: 32px 0 80px;
}

.admin-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.admin-header h1 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.admin-header__lead {
  margin: 0;
  font-size: 13.5px;
  color: #5b6c5f;
  font-weight: 400;
  line-height: 1.65;
}

.admin-list__cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.admin-card {
  background: #fff;
  border: 1px solid #e3e0d4;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-card__area {
  margin: 0 0 4px;
  font-size: 12px;
  color: #4f8a43;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.admin-card__name {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
}

.admin-card__addr {
  margin: 0 0 4px;
  font-size: 13px;
  color: #5b6c5f;
  font-weight: 400;
}

.admin-card__id {
  margin: 0;
  font-size: 11.5px;
  color: #8a948a;
}

.admin-card__id code {
  background: #f1ede0;
  padding: 1px 6px;
  border-radius: 4px;
  font-family: ui-monospace, monospace;
}

.admin-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #d8d2c0;
  color: #1f2b22;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.admin-btn:hover { background: #f5f1e3; }

.admin-btn--primary {
  background: #4f8a43;
  border-color: #4f8a43;
  color: #fff;
}
.admin-btn--primary:hover { background: #3f7a37; border-color: #3f7a37; }

.admin-btn--danger {
  background: #fff;
  border-color: #d46161;
  color: #a13030;
}
.admin-btn--danger:hover { background: #fdf1f1; }

.admin-btn--ghost { background: transparent; border-color: transparent; color: #4f8a43; }
.admin-btn--ghost:hover { background: #eef5ea; }

.admin-empty {
  padding: 60px 20px;
  text-align: center;
  color: #6b7568;
  font-weight: 400;
}

/* 編集フォーム */
.admin-form {
  background: #fff;
  border: 1px solid #e3e0d4;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-form__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ecead8;
}

.admin-form__title { font-weight: 600; font-size: 15px; }

.admin-fieldset {
  border: 1px solid #ecead8;
  border-radius: 12px;
  padding: 16px 18px 20px;
  margin: 0;
}

.admin-fieldset legend {
  padding: 0 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #4f8a43;
  letter-spacing: 0.04em;
}

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

.admin-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  color: #5b6c5f;
  font-weight: 600;
}

.admin-field--wide { grid-column: 1 / -1; }

.admin-field > span { letter-spacing: 0.02em; }

/* 緯度経度入力欄のレイアウト */
.admin-latlng {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.admin-latlng input { flex: 1 1 140px; min-width: 0; }
.admin-latlng__sep { color: rgba(31, 43, 34, 0.45); font-weight: 600; }
.admin-latlng a {
  white-space: nowrap;
  text-decoration: none;
  flex: 0 0 auto;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
  border: 1px solid #d6d1c0;
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  font-size: 14px;
  color: #1f2b22;
  background: #fff;
  font-weight: 400;
}

.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus {
  outline: 2px solid #4f8a43;
  outline-offset: -1px;
  border-color: #4f8a43;
}

.admin-toggles {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.admin-toggles label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  color: #2c3328;
}

.admin-dynamic {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-row {
  border: 1px dashed #d6d1c0;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fafaf2;
}

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

.admin-row__remove {
  background: transparent;
  border: none;
  color: #a13030;
  font-size: 12px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  font-weight: 600;
}
.admin-row__remove:hover { background: #fdecec; }

.admin-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 400;
}

.admin-related {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 8px 16px;
}

.admin-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #ecead8;
}

.admin-form__footer > div {
  display: flex;
  gap: 10px;
}

.admin-tools {
  margin-top: 40px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid #e3e0d4;
  border-radius: 14px;
}
.admin-tools h2 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.admin-tools__buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.admin-io {
  width: 100%;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  padding: 12px;
  border: 1px solid #d6d1c0;
  border-radius: 8px;
  resize: vertical;
}

/* ===== 編集フォーム リデザイン ===== */

/* 左ナビ＋本文の2カラム */
.admin-form--cols {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: start;
}

/* 左サイドのセクションナビ */
.admin-formnav {
  position: sticky;
  top: 90px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.admin-formnav__link {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #5b6c5f;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.admin-formnav__link:hover { background: #f5f1e3; }
.admin-formnav__link.is-active {
  color: #4f8a43;
  background: #eef5ea;
  border-left-color: #4f8a43;
}

.admin-formbody {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.admin-section-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
  scroll-margin-top: 90px;
}

.admin-section { scroll-margin-top: 90px; }

/* 見出し（左にタイトル / 右に表示トグル） */
.admin-section__legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.admin-section__body {
  transition: opacity 0.15s;
}
.admin-section.is-off .admin-section__body { opacity: 0.45; }

.admin-vistoggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #5b6c5f;
  cursor: pointer;
}
.admin-vistoggle input { accent-color: #4f8a43; }

/* 繰り返し行のカード化 */
.admin-card-row {
  border-style: solid;
  border-color: #e3e0d4;
  background: #fff;
  padding: 0;
  flex-direction: column;
  gap: 0;
  counter-increment: cardrow;
}
.admin-dynamic { counter-reset: cardrow; }

.admin-card-row__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid #ecead8;
  background: #fafaf2;
  border-radius: 10px 10px 0 0;
}
.admin-card-row__num {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 6px;
  background: #eef5ea;
  color: #4f8a43;
  font-weight: 700;
  font-size: 12px;
}
.admin-card-row__num::before { content: counter(cardrow); }
.admin-card-row__label {
  font-size: 12.5px;
  font-weight: 600;
  color: #5b6c5f;
  margin-right: auto;
}
.admin-card-row__body {
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

.admin-btn--add {
  width: 100%;
  border-style: dashed;
  color: #4f8a43;
  background: #fff;
}
.admin-btn--add:hover { background: #eef5ea; }

.admin-empty-row {
  padding: 18px;
  text-align: center;
  color: #8a948a;
  font-size: 13px;
  font-weight: 400;
  border: 1px dashed #d6d1c0;
  border-radius: 10px;
  background: #fafaf2;
  margin: 0 0 12px;
}

/* 画面下に固定するアクションバー */
.admin-actionbar {
  position: sticky;
  bottom: 0;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  margin: 4px -24px -24px;
  background: #fff;
  border-top: 1px solid #ecead8;
  box-shadow: 0 -6px 18px rgba(31, 43, 34, 0.06);
  border-radius: 0 0 16px 16px;
  z-index: 5;
}
.admin-actionbar__left,
.admin-actionbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 画像トーンの色見本プレビュー */
.admin-tone-pick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.admin-tone-pick select { flex: 1; }
.admin-tone-swatch {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  flex: none;
}

.admin-hint {
  font-size: 11.5px;
  color: #8a948a;
  font-weight: 400;
  margin-top: 2px;
}

/* トースト通知 */
.admin-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(8px);
  background: #1f2b22;
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 1000;
}
.admin-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.admin-toast--ok { background: #4f8a43; }
.admin-toast--error { background: #a13030; }

/* 編集ビュー: フォーム + ライブプレビュー */
.admin-edit__main { min-width: 0; }

.admin-edit__preview {
  display: none;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e3e0d4;
  border-radius: 14px;
  overflow: hidden;
}
.admin-preview__bar {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #ecead8;
  background: #fafaf2;
  flex: none;
}
.admin-preview__title { font-weight: 700; font-size: 13px; color: #1f2b22; }
.admin-preview__note { font-size: 11.5px; color: #8a948a; }
.admin-preview__frame {
  flex: 1;
  width: 100%;
  border: 0;
  background: #fff;
}
#previewToggle[aria-pressed="false"] { opacity: 0.55; }

/* 横幅が十分なときだけ右側にプレビューを並べる */
@media (min-width: 1080px) {
  .admin-edit--split.is-preview-on:not([hidden]) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(360px, 40%, 560px);
    gap: 20px;
    align-items: start;
  }
  .admin-edit--split.is-preview-on .admin-edit__preview {
    display: flex;
    position: sticky;
    top: 90px;
    height: calc(100vh - 104px);
  }
}
@media (max-width: 1079px) {
  #previewToggle { display: none; }
}

/* ===== 編集履歴ビュー ===== */
.admin-history__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.admin-history__title {
  margin: 0;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.admin-history__lead {
  margin: 0 0 20px;
  font-size: 13px;
  color: #5b6c5f;
  line-height: 1.65;
}
.admin-history__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-hentry {
  background: #fff;
  border: 1px solid #e3e0d4;
  border-radius: 14px;
  padding: 16px 18px;
}
.admin-hentry__top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-hentry__target { font-size: 14px; font-weight: 600; color: #1f2b22; }
.admin-hentry__spacer { flex: 1; }
.admin-hentry__time {
  font-size: 12px;
  color: #8a948a;
  font-family: ui-monospace, monospace;
}

/* アクションバッジ */
.admin-hbadge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  color: #fff;
  letter-spacing: 0.04em;
}
.admin-hbadge--save { background: #4f8a43; }
.admin-hbadge--delete { background: #a13030; }
.admin-hbadge--import { background: #6fa252; }
.admin-hbadge--reset { background: #b8a06a; }
.admin-hbadge--restore { background: #3f7a37; }

/* 差分（native <details>） */
.admin-hdiff {
  margin-top: 12px;
  border-top: 1px solid #ecead8;
  padding-top: 10px;
}
.admin-hdiff > summary {
  cursor: pointer;
  font-size: 12.5px;
  color: #5b6c5f;
  font-weight: 600;
}
.admin-diff-record {
  margin: 10px 0 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: #2c3328;
}
.admin-diff-rchip {
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 6px;
  margin-left: 6px;
}
.admin-diff-rchip--added { background: #e7f3e1; color: #2f6a27; }
.admin-diff-rchip--removed { background: #fbe7e7; color: #a13030; }
.admin-diff-rchip--modified { background: #f3ecd6; color: #7a6420; }
.admin-diff-empty { font-size: 12.5px; color: #8a948a; margin: 6px 0 0; }

.admin-diff-row {
  font-size: 12px;
  font-family: ui-monospace, monospace;
  padding: 3px 8px;
  border-radius: 6px;
  margin: 3px 0;
  line-height: 1.5;
  word-break: break-word;
}
.admin-diff-row--added { background: #eef7e9; color: #2f6a27; }
.admin-diff-row--removed { background: #fcefef; color: #a13030; }
.admin-diff-row--changed { background: #fbf4df; color: #7a6420; }
.admin-diff-row__path { font-weight: 700; }

@media (max-width: 700px) {
  .admin-shell { width: min(100% - 24px, 1100px); padding: 20px 0 60px; }
  .admin-header { flex-direction: column; align-items: flex-start; }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-row__grid { grid-template-columns: 1fr; }
  .admin-related { grid-template-columns: 1fr; }

  .admin-form--cols { grid-template-columns: 1fr; }
  .admin-formnav {
    position: sticky;
    top: 64px;
    flex-direction: row;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 6px;
    background: #fff;
    z-index: 6;
  }
  .admin-formnav__link {
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
  }
  .admin-formnav__link.is-active {
    border-left-color: transparent;
    border-bottom-color: #4f8a43;
  }
  .admin-card-row__body { grid-template-columns: 1fr; }
  .admin-actionbar {
    margin-left: -16px;
    margin-right: -16px;
    flex-wrap: wrap;
  }
  @media (prefers-reduced-motion: reduce) {
    .admin-toast { transition: none; }
  }
}
