:root {
  --bg: #f6f4ef;
  --ink: #23211f;
  --muted: #726d66;
  --line: #ddd5c8;
  --panel: #fffdf8;
  --accent: #27736c;
  --accent-dark: #174f4a;
  --diaper: #a7681f;
  --unknown: #6d7280;
  --soft: #e6f1ee;
  --shadow: 0 18px 44px rgba(42, 36, 28, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(39, 115, 108, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(167, 104, 31, 0.05) 1px, transparent 1px),
    linear-gradient(145deg, #fbfaf6 0%, #f3efe7 52%, #edf4f1 100%);
  background-size: 40px 40px, 40px 40px, auto;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

button,
input,
select {
  font: inherit;
}

.app-shell {
  width: min(1360px, calc(100% - 28px));
  margin: 0 auto;
  padding: 12px 0 36px;
}

h1,
h2,
p {
  margin-top: 0;
}

.app-header {
  margin-bottom: 8px;
}

h1 {
  margin-bottom: 0;
  color: var(--accent-dark);
  font-size: 1.5rem;
  line-height: 1.35;
  font-weight: 900;
}

.lead {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.mode-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  overflow-x: auto;
}

.mode-tab {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.mode-tab.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.mode-note {
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff4ec;
  color: #8a4a1f;
  font-size: 0.82rem;
  line-height: 1.6;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
  color: white;
}

.rating-badge.rating-s {
  background: #c1440e;
}

.rating-badge.rating-a {
  background: #d97a2b;
}

.rating-badge.rating-b {
  background: #6d7280;
}

.call-script {
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff7e8;
  border: 1px dashed #e7c982;
  color: #6b4b16;
  font-size: 0.84rem;
  line-height: 1.6;
}

.controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(42, 36, 28, 0.08);
}

.location-search {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  min-width: 0;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.search-box input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  grid-column: 1 / -1;
}

.filter-row label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.filter-row input {
  accent-color: var(--accent);
}

select,
button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

select {
  padding: 0 12px;
}

#areaSelect {
  min-width: 0;
  width: 100%;
}

button {
  padding: 0 14px;
  font-weight: 800;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.location-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-color: rgba(39, 115, 108, 0.28);
  background: var(--soft);
  color: var(--accent-dark);
  white-space: nowrap;
  min-width: 84px;
}

.location-icon {
  position: relative;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.location-icon::before,
.location-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  opacity: 0.85;
}

.location-icon::before {
  left: 50%;
  top: -5px;
  width: 2px;
  height: 22px;
  transform: translateX(-50%);
}

.location-icon::after {
  left: -5px;
  top: 50%;
  width: 22px;
  height: 2px;
  transform: translateY(-50%);
}

.location-button.is-active {
  border-color: rgba(39, 115, 108, 0.6);
  background: var(--accent);
  color: #fff;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 16px;
  align-items: start;
}

.map-panel,
.list-panel,
.source-panel,
.faq-panel,
.guide-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.map-panel {
  overflow: hidden;
}

#map {
  width: 100%;
  height: 680px;
  background: #e9ece8;
}

.map-note {
  margin: 0;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.map-layer-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  cursor: pointer;
}

.map-layer-toggle input {
  accent-color: #1f5f9e;
}

.elevator-marker {
  background: transparent;
  border: none;
}

.elevator-marker-inner {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #1f5f9e;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.26);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.popup-note {
  margin-top: 4px;
  color: #a7681f;
  font-size: 0.82rem;
}

.popup-source {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.76rem;
}

.cluster-marker {
  background: transparent;
  border: 0;
}

.cluster-marker-inner {
  display: grid;
  place-items: center;
  align-content: center;
  border: 4px solid #fff;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #55a99e, #27736c 68%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(35, 33, 31, 0.32);
  font-weight: 900;
  line-height: 1;
}

.cluster-marker-inner span {
  font-size: 0.72rem;
}

.cluster-marker-inner strong {
  margin-top: 2px;
  font-size: 1.08rem;
}

.list-panel {
  max-height: 760px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.list-header h2 {
  margin-bottom: 3px;
  font-size: 1.15rem;
}

.list-header p {
  margin-bottom: 0;
  color: var(--muted);
}

.facility-list {
  overflow: auto;
  padding: 10px;
}

.facility-card {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.ad-card {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  padding: 12px 13px;
  border: 1px dashed rgba(39, 115, 108, 0.28);
  border-radius: 8px;
  background: rgba(230, 241, 238, 0.56);
  color: var(--muted);
}

.ad-label {
  width: max-content;
  padding: 2px 7px;
  border: 1px solid rgba(39, 115, 108, 0.22);
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 0.66rem;
  font-weight: 900;
}

.ad-card strong {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.4;
}

.ad-card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
}

.ad-card a {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.ad-card-adsense {
  min-height: 118px;
}

.ad-card-adsense .adsbygoogle {
  min-width: 250px;
  min-height: 90px;
}

.ad-card-admax {
  min-height: 118px;
  align-items: center;
}

.ad-card-admax .admax-unit {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.facility-card.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(39, 115, 108, 0.16);
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.card-heading {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.facility-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.like-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  min-width: 48px;
  min-height: 30px;
  padding: 0 9px;
  border-color: rgba(167, 104, 31, 0.28);
  background: #fff9f0;
  color: #8a5316;
  line-height: 1;
}

.like-button span {
  font-size: 1rem;
}

.like-button strong {
  font-size: 0.78rem;
}

.like-button[aria-pressed="true"] {
  border-color: rgba(168, 61, 73, 0.32);
  background: #fff0f1;
  color: #9a3340;
}

.area-badge,
.distance-badge,
.status-badge,
.confidence-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.area-badge {
  background: #f7ead5;
  color: #785016;
}

.card-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.distance-badge {
  background: var(--soft);
  color: var(--accent-dark);
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.status-badge {
  background: #eef0f3;
  color: var(--unknown);
}

.status-badge.yes {
  background: var(--soft);
  color: var(--accent-dark);
}

.status-badge.no {
  background: #f8eadc;
  color: var(--diaper);
}

.location-text,
.note-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

.source-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.source-row a {
  color: var(--accent-dark);
  font-weight: 900;
  text-decoration: none;
}

.confidence-badge {
  background: #eef0f3;
  color: var(--muted);
}

.confidence-badge.high {
  background: var(--soft);
  color: var(--accent-dark);
}

.leaflet-popup-content-wrapper {
  border-radius: 8px;
}

.popup-title {
  margin: 0 0 6px;
  font-weight: 900;
}

.popup-location {
  margin: 0 0 8px;
  color: #555;
  line-height: 1.45;
}

.popup-like {
  margin-top: 8px;
  color: #8a5316;
  font-weight: 900;
}

.source-panel {
  margin-top: 16px;
  padding: 16px;
}

.guide-panel {
  margin-top: 16px;
  padding: 16px;
}

.guide-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.guide-links {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
}

.guide-links a {
  display: block;
  padding: 10px 12px;
  background: var(--soft);
  border: 1px solid rgba(39, 115, 108, 0.2);
  border-radius: 8px;
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.guide-links a:hover {
  border-color: var(--accent);
}

.guide-panel a.notice-link {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
  text-decoration: underline;
}

.faq-panel {
  margin-top: 16px;
  padding: 16px;
}

.faq-panel details {
  border-bottom: 1px solid var(--line);
  padding: 10px 2px;
}

.faq-panel details:last-of-type {
  border-bottom: none;
}

.faq-panel summary {
  color: var(--accent-dark);
  font-weight: 700;
  cursor: pointer;
  line-height: 1.6;
}

.faq-panel details p {
  margin: 8px 0 2px;
  color: var(--muted);
  line-height: 1.7;
}

.source-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.source-panel a.notice-link {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
  text-decoration: underline;
}

.empty-state {
  padding: 28px 16px;
  color: var(--muted);
  text-align: center;
}

.load-more-button {
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--accent-dark);
  font-weight: 700;
  cursor: pointer;
}

.load-more-button:hover {
  border-color: var(--accent);
}

.footer-ad {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px dashed rgba(39, 115, 108, 0.28);
  border-radius: 8px;
  background: rgba(230, 241, 238, 0.56);
  color: var(--muted);
  text-align: center;
}

.footer-ad:empty {
  display: none;
}

.footer-ad p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
}

.footer-ad a {
  color: var(--accent-dark);
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
}

.footer-ad-adsense {
  min-height: 100px;
  justify-items: stretch;
}

.footer-ad-admax {
  min-height: 100px;
  justify-items: center;
}

.footer-ad-admax .admax-unit {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.footer-ad-adsense .adsbygoogle {
  min-width: 250px;
  min-height: 90px;
}

.site-tagline {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.no-login-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(39, 115, 108, 0.12);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  h1 {
    font-size: 1.25rem;
  }

  .app-header,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .filter-row {
    overflow: visible;
    flex-wrap: wrap;
  }

  #map {
    height: 460px;
  }

  .list-panel {
    max-height: none;
  }
}

@media (max-width: 620px) {
  .app-shell {
    width: 100%;
    padding: 6px 8px 24px;
  }

  h1 {
    padding-inline: 2px;
    font-size: 1.1rem;
  }

  .controls {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 8px;
    padding: 8px;
    border-radius: 8px;
  }

  .mode-tabs {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .location-search {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .search-box {
    min-height: 40px;
  }

  .filter-row {
    grid-column: 1 / -1;
    margin-inline: -2px;
    padding-inline: 2px;
  }

  .filter-row label {
    min-height: 36px;
    padding-inline: 9px;
    font-size: 0.78rem;
  }

  select,
  button {
    min-height: 40px;
  }

  #areaSelect {
    grid-column: 1 / -1;
    width: 100%;
  }

  .location-button {
    width: auto;
    min-width: 78px;
    padding-inline: 10px;
  }

  .content-grid {
    gap: 8px;
  }

  #map {
    height: min(54vh, 420px);
    min-height: 320px;
  }

  .map-note {
    padding: 9px 10px;
    font-size: 0.76rem;
  }

  .list-header {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 11px 12px;
    background: rgba(255, 255, 255, 0.96);
  }

  .list-header h2 {
    font-size: 1rem;
  }

  .facility-list {
    padding: 8px;
  }

  .facility-card {
    gap: 8px;
    margin-bottom: 8px;
    padding: 11px;
  }

  .card-top {
    display: grid;
    gap: 8px;
  }

  .card-heading {
    justify-content: space-between;
  }

  .like-button {
    width: auto;
  }

  .card-badges {
    justify-content: flex-start;
  }

  .facility-card h3 {
    font-size: 0.96rem;
  }

  .status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .status-badge {
    min-width: 0;
    padding-inline: 6px;
    font-size: 0.68rem;
  }

  .location-text,
  .note-text {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .source-row {
    display: grid;
    justify-items: start;
  }

  .source-panel,
  .faq-panel {
    margin-top: 8px;
    padding: 12px;
  }

  .source-panel h2,
  .faq-panel h2 {
    font-size: 1rem;
  }

  .source-panel p,
  .faq-panel summary,
  .faq-panel details p {
    font-size: 0.84rem;
  }

  .leaflet-control-zoom a {
    width: 36px;
    height: 36px;
    line-height: 36px;
  }
}


.app-header {
  position: relative;
}

.lang-switch {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.lang-switch a {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: none;
}

.lang-switch a:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.lang-switch a.is-current {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.guide-lang-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 640px) {
  .lang-switch {
    position: static;
    justify-content: flex-start;
    margin-top: 8px;
  }
}

.no-elevator-marker {
  background: transparent;
  border: none;
}

.no-elevator-marker-inner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #b8341f;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  font-size: 0.95rem;
  font-weight: 900;
}

.popup-warning {
  margin-top: 6px;
  padding: 6px 8px;
  border-radius: 6px;
  background: #fdecea;
  color: #8c2a19;
  font-size: 0.8rem;
  line-height: 1.55;
}

.stairlift-marker {
  background: transparent;
  border: none;
}

.stairlift-marker-inner {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #d97a2b;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.24);
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1;
}

.popup-caution {
  margin-top: 6px;
  padding: 6px 8px;
  border-radius: 6px;
  background: #fff4e8;
  color: #8a4a1f;
  font-size: 0.8rem;
  line-height: 1.55;
}

.reservation-row {
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.reservation-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(39, 115, 108, 0.35);
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.reservation-link:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.klook-res-btn {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #ff7043;
  border-radius: 999px;
  background: #fff5f0;
  color: #d84315;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.klook-res-btn:hover {
  background: #ff5722;
  color: #fff;
}

.reservation-note {
  color: var(--muted);
  font-size: 0.78rem;
}

.fee-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
  color: #fff;
}

.fee-badge.is-free {
  background: #2f7d4f;
}

.fee-badge.is-paid {
  background: #6b4bb8;
}

.status-row.status-rows {
  display: block;
}

.status-line {
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  gap: 8px;
  margin: 0 0 4px;
  font-size: 0.82rem;
  line-height: 1.6;
}

.status-key {
  color: var(--muted);
  font-weight: 800;
}

.status-value {
  color: var(--ink);
  word-break: break-word;
}

/* hidden 属性はクラスの display 指定に負けるため、明示的に打ち消す */
.filter-row[hidden],
.mode-note[hidden] {
  display: none;
}

.rain-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #1f5f9e;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.map-legend {
  margin: 0;
  padding: 10px 14px 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.open-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
  color: #fff;
}

.open-badge.is-open {
  background: #2f7d4f;
}

.open-badge.is-closed {
  background: #8a8580;
}

/* --- サイト説明文（ヘッダー直下、審査・検索エンジン向けの本文） --- */
.site-intro {
  margin: 10px 0 0;
  max-width: 62em;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

/* --- ガイド記事カード（タイトル＋要約） --- */
.guide-cards li {
  padding: 12px 14px;
  background: var(--soft);
  border: 1px solid rgba(39, 115, 108, 0.2);
  border-radius: 8px;
}
.guide-cards li a {
  padding: 0;
  background: none;
  border: 0;
}
.guide-cards .desc {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* --- エリア一覧（23区／多摩） --- */
.guide-panel h3 {
  margin: 14px 0 8px;
  font-size: 0.95rem;
  color: var(--accent-dark);
}
.area-links {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.area-links a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
}
.area-links .count {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 400;
}

/* --- 共有ボタン（カード見出し、保存ボタンの隣） --- */
.share-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  min-width: 48px;
  min-height: 30px;
  padding: 0 9px;
  border-color: rgba(39, 115, 108, 0.28);
  background: var(--soft);
  color: var(--accent-dark);
  line-height: 1;
}
.share-button span { font-size: 0.95rem; }
.share-button strong { font-size: 0.78rem; white-space: nowrap; }
.share-url {
  width: 100%;
  margin: 6px 0 4px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--ink);
  background: #fff;
}

/* --- カード共有アクション（LINEで送る／URLコピー） --- */
.card-share-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(220, 224, 228, 0.9);
}

.btn-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.3;
}

.btn-line-share {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.35);
}

.btn-line-share:hover {
  background: #06c755;
  color: #ffffff;
  border-color: #06c755;
}

.line-icon-badge {
  font-size: 0.65rem;
  font-weight: 800;
  background: #06c755;
  color: #fff;
  padding: 1px 4px;
  border-radius: 3px;
  letter-spacing: -0.02em;
}

.btn-line-share:hover .line-icon-badge {
  background: #fff;
  color: #06c755;
}

.btn-copy-link {
  background: #f8fafc;
  color: var(--ink-light);
  border: 1px solid var(--line);
}

.btn-copy-link:hover {
  background: #e2e8f0;
  color: var(--ink);
}

.copy-icon-badge {
  font-size: 0.85rem;
}

/* --- マップポップアップ内のアクションボタン --- */
.popup-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid #f1f5f9;
}

.popup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
}

.popup-btn-route {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.popup-btn-route:hover {
  background: #2563eb;
  color: #fff;
}

.popup-btn-line {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.3);
}

.popup-btn-line:hover {
  background: #06c755;
  color: #fff;
}

/* --- レストラン・施設画像サムネイル --- */
.card-image-wrap {
  position: relative;
  width: 100%;
  height: 160px;
  margin: 8px 0 6px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.facility-card:hover .card-image {
  transform: scale(1.02);
}

.popup-thumb-wrap {
  width: 100%;
  height: 100px;
  margin-bottom: 6px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.popup-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
