@charset "utf-8";
/*
Template: jstork19
Theme Name: stork19_custom
Theme URI:http://open-cage.com/stork19/
Version: 1.3.0
Author: opencage
Author URI: https://open-cage.com/
*/

/* =========================================================
   車中泊しるべ UI
   STORK19の基本レイアウトを尊重し、専用部品だけをスコープして上書き
   ========================================================= */
:root {
  --sh-ink: #18231d;
  --sh-muted: #4d5b52;
  --sh-line: #dce5df;
  --sh-surface: #ffffff;
  --sh-soft: #f4f8f5;
  --sh-green: #176b45;
  --sh-green-dark: #0f5034;
  --sh-sand: #f5efe2;
  --sh-amber: #b86414;
  --sh-red: #a63d40;
  --sh-blue: #1f5f8b;
  --sh-radius: 14px;
  --sh-shadow: 0 8px 28px rgba(22, 54, 39, .08);
  --header-bg: #0f5034;
  --header-bg-overlay: #0b3d28;
  --header-text-color: #ffffff;
  --header-logo-color: #ffffff;
  --footer-bg: #183127;
  --footer-text-color: #e8f0eb;
  --footer-link-color: #ffffff;
}

.shirube-db-view #inner-content.sh-spot-wrap,
.shirube-db-view #inner-content.sh-archive-wrap {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  margin-inline: auto;
}

.shirube-db-view .sh-spot-main,
.shirube-db-view .sh-archive-main {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.sh-spot-article,
.sh-archive-shell {
  min-width: 0;
}

.sh-spot-hero {
  margin: 0 0 clamp(20px, 4vw, 36px);
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid var(--sh-line);
  border-radius: clamp(14px, 2vw, 22px);
  background:
    radial-gradient(circle at 100% 0%, rgba(23,107,69,.10), transparent 36%),
    linear-gradient(135deg, #fff 0%, #f7faf8 100%);
  box-shadow: var(--sh-shadow);
}

.sh-spot-kicker,
.sh-archive-kicker {
  margin: 0 0 8px;
  color: var(--sh-green);
  font-size: clamp(.78rem, 1.5vw, .9rem);
  font-weight: 700;
  letter-spacing: .08em;
}

.sh-spot-title,
.sh-archive-title {
  margin: 0;
  color: var(--sh-ink);
  font-size: clamp(1.6rem, 4vw, 2.65rem);
  line-height: 1.25;
  letter-spacing: .01em;
  overflow-wrap: anywhere;
}

.sh-spot-submeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
  color: var(--sh-muted);
  font-size: clamp(.86rem, 1.5vw, .96rem);
}

.sh-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.sh-business-badge,
.sh-status-badge,
.sh-freshness-badge,
.sh-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.2;
}

.sh-status-badge.official-overnight { background: #e5f4ec; color: #0e6540; }
.sh-status-badge.rest-only { background: #e8f1f8; color: #1d567e; }
.sh-status-badge.prohibited { background: #f8e8e8; color: #96363a; }
.sh-status-badge.unknown { background: #f3f0e9; color: #6c5c3f; }
.sh-freshness-badge.fresh { background: #edf7f1; color: #176b45; }
.sh-freshness-badge.review { background: #fff2dd; color: #9a5512; }
.sh-freshness-badge.stale { background: #fbe8e8; color: #9c3438; }
.sh-freshness-badge.unknown { background: #f1f1ef; color: #54544f; }

.sh-business-badge.open { background: #e7f5ec; color: #0c5d3b; }
.sh-business-badge.seasonal { background: #fff0cf; color: #75420b; }
.sh-business-badge.temporary-closed { background: #fde7d5; color: #7d3300; }
.sh-business-badge.permanently-closed { background: #f6dfdf; color: #7d272b; }
.sh-business-badge.unknown { background: #ececeb; color: #4f4f4a; }

.sh-operating-alert {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 13px 15px;
  border: 1px solid #e3d7bd;
  border-radius: 12px;
  background: #fff8e9;
  color: #51360d;
  font-size: .92rem;
  line-height: 1.65;
}

.sh-operating-alert strong {
  color: inherit;
  font-size: .94rem;
}

.sh-operating-alert.temporary-closed,
.sh-operating-alert.permanently-closed {
  border-color: #e9c6c6;
  background: #fff0f0;
  color: #6d292d;
}

.sh-operating-alert.unknown {
  border-color: #d7d7d4;
  background: #f7f7f5;
  color: #474743;
}

.sh-summary-grid,
.sh-detail-grid,
.sh-map-grid,
.sh-spot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(10px, 2vw, 16px);
}

.sh-summary-grid {
  margin: clamp(18px, 3vw, 28px) 0 0;
}

.sh-summary-card,
.sh-detail-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--sh-line);
  border-radius: var(--sh-radius);
  background: var(--sh-surface);
}

.sh-summary-label,
.sh-detail-label {
  display: block;
  margin-bottom: 5px;
  color: var(--sh-muted);
  font-size: .78rem;
  font-weight: 700;
}

.sh-summary-value {
  color: var(--sh-ink);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.sh-section {
  margin: clamp(30px, 6vw, 54px) 0;
}

.sh-section-title {
  margin: 0 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--sh-green);
  color: var(--sh-ink);
  font-size: clamp(1.2rem, 2.7vw, 1.65rem);
  line-height: 1.4;
}

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

.sh-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sh-chip {
  min-height: 34px;
  background: var(--sh-soft);
  color: var(--sh-green-dark);
  border: 1px solid #d5e6db;
}

.sh-map-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--sh-line);
  border-radius: var(--sh-radius);
  background: var(--sh-surface);
  box-shadow: 0 6px 22px rgba(22,54,39,.06);
}

.sh-map-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 260px;
  border: 0;
  background: #eef2ef;
}

.sh-map-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  padding: 12px;
}

.sh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid var(--sh-green);
  border-radius: 10px;
  background: var(--sh-green);
  color: #fff !important;
  font-size: .92rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  transition: transform .18s ease, background .18s ease;
}

.sh-button:hover,
.sh-button:focus-visible {
  background: var(--sh-green-dark);
  transform: translateY(-1px);
}

.sh-button.is-secondary {
  background: #fff;
  color: var(--sh-green) !important;
}

.sh-source-box {
  padding: clamp(16px, 3vw, 22px);
  border: 1px solid #d6e1da;
  border-radius: var(--sh-radius);
  background: var(--sh-soft);
}

.sh-source-box a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* 一覧・検索 */
.sh-archive-head {
  margin-bottom: clamp(18px, 4vw, 30px);
}

.sh-filter-panel {
  margin-bottom: 26px;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid var(--sh-line);
  border-radius: var(--sh-radius);
  background: var(--sh-surface);
  box-shadow: var(--sh-shadow);
}

.sh-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 12px;
}

.sh-filter-field {
  min-width: 0;
}

.sh-filter-field label {
  display: block;
  margin-bottom: 5px;
  color: var(--sh-ink);
  font-size: .8rem;
  font-weight: 700;
}

.sh-filter-field select,
.sh-filter-field input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid #cad8cf;
  border-radius: 9px;
  background: #fff;
  color: var(--sh-ink);
  font-size: 16px; /* iOSの入力ズーム防止 */
}

.sh-filter-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
}

.sh-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  margin: 0;
  cursor: pointer;
}

.sh-check input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.sh-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.sh-filter-actions .sh-button {
  min-width: 140px;
}

.sh-spot-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.sh-spot-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--sh-line);
  border-radius: var(--sh-radius);
  background: #fff;
  box-shadow: 0 6px 22px rgba(22,54,39,.06);
}

.sh-spot-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit !important;
  text-decoration: none !important;
}

.sh-spot-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.sh-spot-card__title {
  margin: 0;
  color: var(--sh-ink);
  font-size: 1.05rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.sh-spot-card__meta {
  color: var(--sh-muted);
  font-size: .86rem;
}

.sh-spot-card__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.sh-mini-fact {
  min-width: 0;
  padding: 9px;
  border-radius: 9px;
  background: var(--sh-soft);
}

.sh-mini-fact span {
  display: block;
  color: var(--sh-muted);
  font-size: .7rem;
}

.sh-mini-fact strong {
  display: block;
  margin-top: 2px;
  color: var(--sh-ink);
  font-size: .88rem;
  overflow-wrap: anywhere;
}

.sh-empty {
  padding: 28px;
  border: 1px dashed #c7d4cb;
  border-radius: var(--sh-radius);
  background: var(--sh-soft);
  text-align: center;
}

/* STORK19本文と共存するレスポンシブ保護 */
.shirube-db-view img,
.shirube-db-view iframe,
.shirube-db-view video {
  max-width: 100%;
}

.shirube-db-view .entry-content table {
  width: 100%;
}

@media (max-width: 767px) {
  .shirube-db-view #inner-content.sh-spot-wrap,
  .shirube-db-view #inner-content.sh-archive-wrap {
    width: min(100% - 20px, 1180px);
  }

  .sh-spot-hero {
    padding: 18px 15px;
    border-radius: 14px;
  }

  .sh-summary-grid,
  .sh-detail-grid,
  .sh-map-grid,
  .sh-spot-grid {
    grid-template-columns: 1fr;
  }

  .sh-summary-card,
  .sh-detail-card {
    padding: 14px;
  }

  .sh-map-frame {
    min-height: 230px;
    aspect-ratio: 4 / 3;
  }

  .sh-filter-grid {
    grid-template-columns: 1fr;
  }

  .sh-filter-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sh-filter-actions .sh-button {
    width: 100%;
  }

  .sh-spot-card__facts {
    grid-template-columns: 1fr 1fr;
  }

  .shirube-db-view .entry-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .shirube-db-view #inner-content.sh-spot-wrap,
  .shirube-db-view #inner-content.sh-archive-wrap {
    width: min(100% - 40px, 1180px);
  }

  .sh-map-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sh-spot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .sh-map-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  }

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

@media (prefers-reduced-motion: reduce) {
  .sh-button {
    transition: none;
  }
}

/* =========================================================
   車中泊しるべ トップページ
   ========================================================= */
.sh-home-wrap {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  margin-inline: auto;
}

.sh-home-main {
  width: 100%;
  max-width: none;
}

.sh-home-hero {
  margin: clamp(14px, 3vw, 28px) 0 clamp(34px, 7vw, 70px);
  overflow: hidden;
  border: 1px solid #dce5df;
  border-radius: clamp(16px, 2.4vw, 28px);
  background:
    radial-gradient(circle at 88% 10%, rgba(23,107,69,.16), transparent 24%),
    radial-gradient(circle at 10% 92%, rgba(184,100,20,.09), transparent 28%),
    linear-gradient(135deg, #f9fcfa 0%, #edf6f0 100%);
  box-shadow: var(--sh-shadow);
}

.sh-home-hero__inner {
  padding: clamp(24px, 6vw, 68px);
}

.sh-home-eyebrow,
.sh-home-section__eyebrow {
  margin: 0 0 8px;
  color: var(--sh-green);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.sh-home-title {
  max-width: 840px;
  margin: 0;
  color: var(--sh-ink);
  font-size: clamp(2rem, 5.6vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.sh-home-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: #4f5e55;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.9;
}

.sh-home-search {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(180px, .65fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: clamp(24px, 5vw, 38px);
  padding: 12px;
  border: 1px solid #d7e4dc;
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
}

.sh-home-search__main,
.sh-home-search__sub {
  min-width: 0;
}

.sh-home-search label {
  display: block;
  margin: 0 0 5px;
  color: var(--sh-muted);
  font-size: .75rem;
  font-weight: 700;
}

.sh-home-search input,
.sh-home-search select {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid #cbd9d0;
  border-radius: 9px;
  background: #fff;
  color: var(--sh-ink);
  font-size: 16px;
}

.sh-home-search__button {
  min-height: 50px;
  padding: 10px 20px;
  border: 0;
  border-radius: 9px;
  background: var(--sh-green);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.sh-home-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.sh-home-quick a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid #cfe0d5;
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  color: var(--sh-green-dark);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
}

.sh-home-section {
  margin: clamp(34px, 7vw, 72px) 0;
}

.sh-home-section--soft {
  padding: clamp(22px, 4vw, 38px);
  border-radius: clamp(14px, 2vw, 22px);
  background: var(--sh-soft);
}

.sh-home-section__head {
  max-width: 740px;
  margin-bottom: 22px;
}

.sh-home-section__head h2,
.sh-home-cta h2 {
  margin: 0;
  color: var(--sh-ink);
  font-size: clamp(1.45rem, 3.3vw, 2.2rem);
  line-height: 1.35;
}

.sh-home-section__head p:last-child,
.sh-home-cta p {
  margin: 9px 0 0;
  color: var(--sh-muted);
  line-height: 1.8;
}

.sh-region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 14px;
}

.sh-region-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--sh-line);
  border-radius: var(--sh-radius);
  background: #fff;
}

.sh-region-card h3 {
  margin: 0 0 11px;
  color: var(--sh-ink);
  font-size: 1rem;
}

.sh-region-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 9px;
}

.sh-region-links a {
  color: var(--sh-green);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}

.sh-condition-grid,
.sh-status-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
}

.sh-condition-card {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 18px;
  border: 1px solid #d3e2d8;
  border-radius: var(--sh-radius);
  background: #fff;
  color: inherit !important;
  text-decoration: none !important;
}

.sh-condition-card strong {
  color: var(--sh-green-dark);
  font-size: 1.02rem;
}

.sh-condition-card span {
  color: var(--sh-muted);
  font-size: .86rem;
  line-height: 1.6;
}

.sh-status-guide-card {
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--sh-line);
  border-radius: var(--sh-radius);
  background: #fff;
}

.sh-status-guide-card p {
  margin: 12px 0 0;
  color: var(--sh-muted);
  font-size: .88rem;
  line-height: 1.7;
}

.sh-home-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid #cadcd0;
  border-radius: clamp(14px, 2vw, 20px);
  background: linear-gradient(135deg, #f5faf7 0%, #fff 100%);
}

.sh-home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.sh-sp-only {
  display: none;
}

@media (max-width: 767px) {
  .sh-home-wrap {
    width: min(100% - 20px, 1180px);
  }

  .sh-home-hero {
    border-radius: 14px;
  }

  .sh-home-hero__inner {
    padding: 22px 15px;
  }

  .sh-home-search {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .sh-home-search__button {
    width: 100%;
  }

  .sh-home-section--soft {
    padding: 18px 14px;
  }

  .sh-region-grid,
  .sh-condition-grid,
  .sh-status-guide-grid {
    grid-template-columns: 1fr;
  }

  .sh-home-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .sh-home-cta__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .sh-home-cta .sh-button {
    width: 100%;
  }

  .sh-sp-only {
    display: block;
  }
}

/* =========================================================
   車中泊しるべ 完成版UI
   ========================================================= */
#header.stk_header {
  box-shadow: 0 1px 0 rgba(255,255,255,.12), 0 8px 24px rgba(9,49,32,.12);
}

#header .text-logo-link,
#header .nav_btn,
#header .nav_btn .text,
#header .stk_svgicon {
  color: #fff !important;
  fill: currentColor;
}

.sh-home-stats {
  flex: 1 0 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.sh-home-stats > div {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #d4e2d8;
  border-radius: 11px;
  background: rgba(255,255,255,.9);
}

.sh-home-stats strong,
.sh-home-stats span {
  display: block;
}

.sh-home-stats strong {
  color: var(--sh-ink);
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.sh-home-stats span {
  margin-top: 3px;
  color: var(--sh-muted);
  font-size: .76rem;
  font-weight: 700;
}

.sh-region-links a,
.sh-region-links .is-empty {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 5px 8px;
  border-radius: 8px;
}

.sh-region-links a {
  background: #f2f8f4;
}

.sh-region-links a span {
  min-width: 20px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #dfeee4;
  color: var(--sh-green-dark);
  font-size: .7rem;
  text-align: center;
}

.sh-region-links .is-empty {
  color: #7a837d;
  background: #f5f5f3;
  font-size: .84rem;
}

.sh-region-links .is-empty small {
  color: #8d948f;
  font-size: .66rem;
}

.sh-home-latest-grid {
  margin-top: 6px;
}

.sh-home-more {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.sh-hub-summary {
  margin: 0 0 20px;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid #d8e4dc;
  border-radius: var(--sh-radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(23,107,69,.08), transparent 34%),
    #f8fbf9;
}

.sh-hub-summary__intro {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.sh-hub-summary__intro strong {
  color: var(--sh-ink);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
}

.sh-hub-summary__intro span,
.sh-hub-summary__updated {
  color: var(--sh-muted);
  font-size: .86rem;
}

.sh-hub-stat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.sh-hub-stat-grid > div {
  min-width: 0;
  padding: 12px 10px;
  border: 1px solid #e1e8e3;
  border-radius: 10px;
  background: #fff;
}

.sh-hub-stat-grid span,
.sh-hub-stat-grid strong {
  display: block;
}

.sh-hub-stat-grid span {
  color: var(--sh-muted);
  font-size: .72rem;
  font-weight: 700;
}

.sh-hub-stat-grid strong {
  margin-top: 3px;
  color: var(--sh-ink);
  font-size: .98rem;
  overflow-wrap: anywhere;
}

.sh-hub-summary__updated {
  margin: 10px 0 0;
}

.sh-filter-heading {
  display: grid;
  gap: 3px;
  margin-bottom: 14px;
}

.sh-filter-heading strong {
  color: var(--sh-ink);
  font-size: 1rem;
}

.sh-filter-heading span {
  color: var(--sh-muted);
  font-size: .82rem;
}

.sh-results-bar {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 14px;
  color: var(--sh-muted);
}

.sh-results-bar strong {
  color: var(--sh-ink);
  font-size: 1.35rem;
}

.sh-empty strong {
  display: block;
  color: var(--sh-ink);
  font-size: 1.05rem;
}

.sh-empty p {
  margin: 8px 0 16px;
  color: var(--sh-muted);
}

.sh-price-note {
  margin: 14px 0 0;
  padding: 11px 13px;
  border-radius: 10px;
  background: #f7f4ed;
  color: #574a34;
  font-size: .88rem;
  line-height: 1.65;
}

.sh-spot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.sh-spot-actions .sh-button {
  min-width: 170px;
}

.sh-related-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.sh-related-head .sh-section-title {
  margin-bottom: 0;
}

.sh-related-head > a {
  flex: 0 0 auto;
  color: var(--sh-green);
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}

.sh-spot-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

@media (hover:hover) {
  .sh-spot-card:hover {
    transform: translateY(-2px);
    border-color: #c6d9cd;
    box-shadow: 0 10px 30px rgba(22,54,39,.10);
  }

  .sh-condition-card:hover,
  .sh-home-quick a:hover,
  .sh-region-links a:hover {
    border-color: #bcd3c4;
    background: #f2f8f4;
  }
}

.shirube-db-view a:focus-visible,
.sh-home a:focus-visible {
  outline: 3px solid #f0b44a;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .sh-home-stats {
    grid-template-columns: 1fr 1fr;
  }

  .sh-home-stats > div:last-child {
    grid-column: 1 / -1;
  }

  .sh-hub-stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sh-spot-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sh-spot-actions .sh-button,
  .sh-home-more .sh-button {
    width: 100%;
  }

  .sh-related-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* 全国車中泊マップ */
.sh-map-page-wrap {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  margin-inline: auto;
}

.sh-map-main {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.sh-map-hero {
  margin: clamp(14px, 3vw, 28px) 0 20px;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--sh-line);
  border-radius: clamp(16px, 2.4vw, 24px);
  background:
    radial-gradient(circle at 92% 5%, rgba(31,95,139,.10), transparent 28%),
    linear-gradient(135deg, #f9fcfa 0%, #eef6f1 100%);
  box-shadow: var(--sh-shadow);
}

.sh-map-hero h1 {
  margin: 0;
  color: var(--sh-ink);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.2;
}

.sh-map-hero > p:not(.sh-home-section__eyebrow):not(.sh-map-privacy) {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--sh-muted);
  line-height: 1.8;
}

.sh-map-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.sh-map-privacy {
  margin: 10px 0 0;
  color: var(--sh-muted);
  font-size: .78rem;
  line-height: 1.6;
}

.sh-map-filter {
  margin-bottom: 18px;
  padding: clamp(16px, 3vw, 22px);
  border: 1px solid var(--sh-line);
  border-radius: var(--sh-radius);
  background: #fff;
  box-shadow: 0 6px 20px rgba(22,54,39,.05);
}

.sh-map-filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(180px, .7fr) minmax(160px, .55fr);
  gap: 12px;
}

.sh-map-filter .sh-filter-field input,
.sh-map-filter .sh-filter-field select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid #cad8cf;
  border-radius: 9px;
  background: #fff;
  color: var(--sh-ink);
  font-size: 16px;
}

.sh-map-filter-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.sh-map-filter-footer p {
  margin: 0;
  color: var(--sh-ink);
  font-weight: 800;
}

.sh-map-shell {
  margin-bottom: clamp(32px, 7vw, 72px);
  overflow: hidden;
  border: 1px solid var(--sh-line);
  border-radius: clamp(14px, 2vw, 20px);
  background: #fff;
  box-shadow: var(--sh-shadow);
}

.sh-map-shell__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--sh-line);
}

.sh-map-shell__head h2 {
  margin: 0;
  color: var(--sh-ink);
  font-size: clamp(1.15rem, 2.7vw, 1.55rem);
}

.sh-map-shell__head p {
  margin: 4px 0 0;
  color: var(--sh-muted);
  font-size: .84rem;
}

.sh-map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 12px;
  color: var(--sh-muted);
  font-size: .76rem;
}

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

.sh-map-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #dce5df;
}

.sh-map-legend .is-open { background: #176b45; }
.sh-map-legend .is-seasonal { background: #b86414; }
.sh-map-legend .is-closed { background: #a63d40; }

.sh-national-map {
  width: 100%;
  height: clamp(480px, 68vh, 760px);
  min-height: 480px;
  background: #edf2ee;
  z-index: 1;
}

.sh-map-popup {
  display: grid;
  gap: 5px;
  min-width: 190px;
  color: var(--sh-ink);
}

.sh-map-popup strong {
  font-size: .96rem;
  line-height: 1.4;
}

.sh-map-popup span {
  color: var(--sh-muted);
  font-size: .78rem;
  line-height: 1.45;
}

.sh-map-popup__state {
  font-weight: 700;
}

.sh-map-popup a {
  margin-top: 3px;
  color: var(--sh-green-dark) !important;
  font-size: .82rem;
  font-weight: 800;
}

.sh-map-error,
.sh-map-noscript {
  margin: 0;
  padding: 22px;
  color: var(--sh-muted);
  text-align: center;
}

@media (max-width: 767px) {
  .sh-map-page-wrap {
    width: min(100% - 20px, 1180px);
  }

  .sh-map-hero {
    padding: 20px 15px;
    border-radius: 14px;
  }

  .sh-map-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sh-map-hero__actions .sh-button {
    width: 100%;
  }

  .sh-map-filter-grid {
    grid-template-columns: 1fr;
  }

  .sh-map-filter-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .sh-map-filter-footer .sh-button {
    width: 100%;
  }

  .sh-map-shell__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .sh-map-legend {
    justify-content: flex-start;
  }

  .sh-national-map {
    height: 62vh;
    min-height: 420px;
  }
}

/* お問い合わせ */
.sh-contact-wrap {
  width: min(860px, calc(100% - 32px));
  max-width: 860px;
  margin-inline: auto;
}

.sh-contact-main {
  width: 100%;
  max-width: none;
}

.sh-contact-card {
  margin: clamp(18px, 4vw, 42px) 0 clamp(40px, 8vw, 80px);
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--sh-line);
  border-radius: clamp(14px, 2vw, 22px);
  background: #fff;
  box-shadow: var(--sh-shadow);
}

.sh-contact-head h1 {
  margin: 0;
  color: var(--sh-ink);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.25;
}

.sh-contact-head > p:last-child {
  margin: 12px 0 0;
  color: var(--sh-muted);
  line-height: 1.8;
}

.sh-contact-note,
.sh-contact-success,
.sh-contact-errors {
  margin-top: 22px;
  padding: 15px 16px;
  border-radius: 12px;
  line-height: 1.7;
}

.sh-contact-note {
  border: 1px solid #d8e4dc;
  background: #f5f9f6;
  color: var(--sh-ink);
}

.sh-contact-note p,
.sh-contact-success p {
  margin: 5px 0 0;
}

.sh-contact-success {
  border: 1px solid #cce3d4;
  background: #edf8f1;
  color: #11583a;
}

.sh-contact-errors {
  border: 1px solid #e7c3c5;
  background: #fff1f1;
  color: #762f34;
}

.sh-contact-errors ul {
  margin: 8px 0 0 20px;
}

.sh-contact-form {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.sh-contact-field {
  min-width: 0;
}

.sh-contact-field label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: var(--sh-ink);
  font-weight: 800;
}

.sh-contact-field label span {
  padding: 2px 7px;
  border-radius: 999px;
  background: #f3e7e7;
  color: #83373c;
  font-size: .68rem;
}

.sh-contact-field input,
.sh-contact-field textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid #c6d5cb;
  border-radius: 10px;
  background: #fff;
  color: var(--sh-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
}

.sh-contact-field textarea {
  resize: vertical;
}

.sh-contact-field input:focus,
.sh-contact-field textarea:focus {
  outline: 3px solid rgba(240,180,74,.38);
  outline-offset: 1px;
  border-color: var(--sh-green);
}

.sh-contact-field small {
  display: block;
  margin-top: 6px;
  color: var(--sh-muted);
  font-size: .75rem;
}

.sh-contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  color: var(--sh-muted);
  font-size: .88rem;
  line-height: 1.6;
}

.sh-contact-consent input {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  flex: 0 0 auto;
}

.sh-contact-consent a {
  color: var(--sh-green-dark);
  font-weight: 800;
}

.sh-contact-submit {
  justify-self: start;
  min-width: 240px;
}

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

@media (max-width: 767px) {
  .sh-contact-wrap {
    width: min(100% - 20px, 860px);
  }

  .sh-contact-card {
    padding: 18px 14px;
  }

  .sh-contact-submit {
    width: 100%;
    min-width: 0;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .sh-home-wrap {
    width: min(100% - 40px, 1180px);
  }

  .sh-home-search {
    grid-template-columns: minmax(0, 1fr) minmax(180px, .55fr);
  }

  .sh-home-search__button {
    grid-column: 1 / -1;
  }
}

/* =========================================================
   車中泊しるべ トップページ v2
   目的：検索・再訪・比較を最短距離にする機能優先UI
   ========================================================= */
#header .text-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  font-weight: 800;
  letter-spacing: .02em;
}

#header .text-logo-link::before {
  content: "";
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  background: url("assets/shirube-logo-mark.svg") center / contain no-repeat;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.12));
}

.sh-home-v2 {
  --sh-v2-bg: #f2f6f3;
  --sh-v2-card: #ffffff;
  --sh-v2-deep: #103f2d;
  --sh-v2-accent: #d58a2a;
}

.sh-home-v2 .sh-home-wrap {
  width: min(1220px, calc(100% - 36px));
  max-width: 1220px;
}

.sh-command {
  position: relative;
  margin: clamp(16px, 3vw, 34px) 0 clamp(34px, 6vw, 64px);
  padding: clamp(22px, 4.5vw, 48px);
  overflow: hidden;
  border: 1px solid #cfded4;
  border-radius: 26px;
  background:
    radial-gradient(circle at 96% 0%, rgba(213,138,42,.14), transparent 26%),
    radial-gradient(circle at 4% 100%, rgba(35,118,84,.12), transparent 31%),
    #f8fbf9;
  box-shadow: 0 18px 46px rgba(18,63,45,.08);
}

.sh-command::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -90px;
  bottom: -120px;
  border: 1px solid rgba(35,118,84,.13);
  border-radius: 50%;
  pointer-events: none;
}

.sh-command__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sh-command__mark {
  width: clamp(58px, 8vw, 78px);
  height: clamp(58px, 8vw, 78px);
  flex: 0 0 auto;
}

.sh-command__brand h1 {
  margin: 0;
  color: var(--sh-ink);
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.sh-command__brand p {
  margin: 8px 0 0;
  color: var(--sh-muted);
  font-size: clamp(.88rem, 1.7vw, 1.02rem);
  font-weight: 700;
  line-height: 1.55;
}

.sh-home-v2 .sh-home-search {
  grid-template-columns: minmax(0, 1.7fr) minmax(150px, .65fr) minmax(145px, .55fr) auto;
  gap: 9px;
  margin-top: 26px;
  padding: 10px;
  border-color: #cadad0;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(24,67,49,.07);
}

.sh-home-v2 .sh-home-search__button {
  min-width: 120px;
  background: var(--sh-v2-deep);
  transition: transform .18s ease, background .18s ease;
}

.sh-home-v2 .sh-home-search__button:hover {
  background: #176b45;
  transform: translateY(-1px);
}

.sh-last-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.sh-last-search[hidden] {
  display: none !important;
}

.sh-last-search__label {
  color: var(--sh-muted);
  font-size: .75rem;
  font-weight: 800;
}

.sh-last-search > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 8px 11px;
  border: 1px solid #cbded1;
  border-radius: 10px;
  background: #fff;
  color: var(--sh-green-dark) !important;
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none !important;
}

.sh-last-search > a span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sh-last-search > a b {
  color: #8a5718;
  white-space: nowrap;
}

.sh-command__actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.sh-command__actions > a {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 1px 9px;
  align-items: center;
  min-width: 0;
  padding: 14px;
  border: 1px solid #d4e1d8;
  border-radius: 13px;
  background: rgba(255,255,255,.88);
  color: var(--sh-ink) !important;
  text-decoration: none !important;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.sh-command__actions > a:hover {
  transform: translateY(-2px);
  border-color: #adc9b6;
  box-shadow: 0 9px 24px rgba(20,65,47,.08);
}

.sh-command__icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #e7f2eb;
  color: var(--sh-green-dark);
  font-size: 1rem;
  font-weight: 900;
}

.sh-command__actions strong {
  min-width: 0;
  font-size: .96rem;
  line-height: 1.35;
}

.sh-command__actions small {
  color: var(--sh-muted);
  font-size: .72rem;
  line-height: 1.35;
}

.sh-home-v2 .sh-home-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 10px;
}

.sh-home-v2 .sh-home-stats > a {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #d7e2da;
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  color: inherit !important;
  text-decoration: none !important;
}

.sh-home-v2 .sh-home-stats > a:hover {
  background: #fff;
  border-color: #b8d0bf;
}

.sh-home-v2 .sh-home-section {
  margin: clamp(38px, 6vw, 70px) 0;
}

.sh-home-section__head--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  max-width: none;
}

.sh-text-link {
  flex: 0 0 auto;
  color: var(--sh-green-dark) !important;
  font-size: .86rem;
  font-weight: 800;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.sh-condition-grid--v2 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sh-condition-card--v2 {
  position: relative;
  min-height: 126px;
  padding: 18px 18px 38px;
  overflow: hidden;
}

.sh-condition-card--v2::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  right: -24px;
  bottom: -24px;
  border: 10px solid #edf5ef;
  border-radius: 50%;
}

.sh-condition-card--v2 em {
  position: absolute;
  left: 18px;
  bottom: 14px;
  color: #78613d;
  font-size: .75rem;
  font-style: normal;
  font-weight: 800;
}

.sh-find-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.sh-find-grid a {
  display: flex;
  min-width: 0;
  min-height: 104px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 17px;
  border: 1px solid #d5e2d9;
  border-radius: 13px;
  background: #fff;
  color: var(--sh-ink) !important;
  text-decoration: none !important;
}

.sh-find-grid a:hover {
  border-color: #afcbb8;
  box-shadow: 0 9px 24px rgba(20,65,47,.06);
}

.sh-find-grid strong {
  color: var(--sh-green-dark);
  font-size: 1rem;
}

.sh-find-grid span {
  color: var(--sh-muted);
  font-size: .8rem;
  line-height: 1.5;
}

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

.sh-revisit-card {
  display: flex;
  min-width: 0;
  min-height: 94px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 16px;
  border: 1px solid #d7e2da;
  border-radius: 13px;
  background: #fff;
  color: var(--sh-ink) !important;
  text-decoration: none !important;
}

.sh-revisit-card strong {
  overflow-wrap: anywhere;
  font-size: .98rem;
  line-height: 1.4;
}

.sh-revisit-card span {
  color: var(--sh-muted);
  font-size: .78rem;
}

.sh-region-grid--v2 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sh-region-card--v2 {
  padding: 16px;
}

.sh-rule-panel {
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid #d6e0d9;
  border-radius: 18px;
  background: #fff;
}

.sh-rule-panel__link {
  margin: 16px 0 0;
}

.sh-rule-panel__link a {
  color: var(--sh-green-dark);
  font-size: .86rem;
  font-weight: 800;
}

.sh-sister-panel {
  padding: clamp(20px, 4vw, 34px);
  border-radius: 20px;
  background: #f4f7f5;
}

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

.sh-sister-card {
  display: flex;
  min-width: 0;
  min-height: 116px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 18px;
  border: 1px solid #d5e0d8;
  border-radius: 14px;
  background: #fff;
  color: var(--sh-ink) !important;
  text-decoration: none !important;
}

.sh-sister-card.is-current {
  border-color: #aac9b5;
  background: #edf6f0;
}

.sh-sister-card strong {
  color: var(--sh-green-dark);
  font-size: 1.02rem;
}

.sh-sister-card span {
  color: var(--sh-muted);
  font-size: .8rem;
  line-height: 1.55;
}

.sh-mobile-dock {
  display: none;
}

@media (max-width: 1023px) {
  .sh-home-v2 .sh-home-search {
    grid-template-columns: 1fr 1fr;
  }

  .sh-home-v2 .sh-home-search__main {
    grid-column: 1 / -1;
  }

  .sh-home-v2 .sh-home-search__button {
    grid-column: 1 / -1;
  }

  .sh-command__actions,
  .sh-condition-grid--v2,
  .sh-find-grid,
  .sh-region-grid--v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #header .text-logo-link {
    gap: 7px;
    font-size: .95rem;
  }

  #header .text-logo-link::before {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
  }

  .sh-home-v2 .sh-home-wrap {
    width: min(100% - 20px, 1220px);
  }

  .sh-command {
    margin-top: 10px;
    padding: 18px 14px;
    border-radius: 17px;
  }

  .sh-command__brand {
    align-items: flex-start;
    gap: 11px;
  }

  .sh-command__mark {
    width: 52px;
    height: 52px;
  }

  .sh-command__brand h1 {
    font-size: 1.85rem;
  }

  .sh-command__brand p {
    margin-top: 5px;
    font-size: .78rem;
  }

  .sh-home-v2 .sh-home-search {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
    padding: 9px;
  }

  .sh-home-v2 .sh-home-search__main,
  .sh-home-v2 .sh-home-search__button {
    grid-column: auto;
  }

  .sh-last-search {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }

  .sh-last-search > a {
    justify-content: space-between;
  }

  .sh-command__actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .sh-command__actions > a {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 11px 10px;
  }

  .sh-command__icon {
    width: 28px;
    height: 28px;
  }

  .sh-command__actions small {
    display: none;
  }

  .sh-home-v2 .sh-home-stats {
    grid-template-columns: 1fr 1fr;
  }

  .sh-home-v2 .sh-home-stats > a:last-child {
    grid-column: 1 / -1;
  }

  .sh-home-section__head--row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .sh-condition-grid--v2,
  .sh-find-grid,
  .sh-region-grid--v2,
  .sh-revisit-grid,
  .sh-sister-grid {
    grid-template-columns: 1fr;
  }

  .sh-condition-card--v2 {
    min-height: 108px;
  }

  .sh-find-grid a {
    min-height: 86px;
  }

  .sh-home-v2 .sh-home-section--soft,
  .sh-rule-panel,
  .sh-sister-panel {
    padding: 18px 13px;
    border-radius: 15px;
  }

  .sh-mobile-dock {
    position: fixed;
    z-index: 9998;
    left: 50%;
    bottom: max(10px, env(safe-area-inset-bottom));
    display: grid;
    width: min(calc(100% - 22px), 430px);
    grid-template-columns: repeat(3, 1fr);
    transform: translateX(-50%);
    overflow: hidden;
    border: 1px solid rgba(199,216,204,.95);
    border-radius: 15px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 12px 34px rgba(12,48,34,.18);
    backdrop-filter: blur(12px);
  }

  .sh-mobile-dock a {
    display: grid;
    place-items: center;
    gap: 2px;
    min-height: 54px;
    padding: 6px 4px;
    color: var(--sh-green-dark) !important;
    font-size: .72rem;
    font-weight: 800;
    text-decoration: none !important;
  }

  .sh-mobile-dock a + a {
    border-left: 1px solid #e0e8e2;
  }

  .sh-mobile-dock span {
    font-size: 1rem;
    line-height: 1;
  }

  body.home {
    padding-bottom: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sh-command__actions > a,
  .sh-home-v2 .sh-home-search__button {
    transition: none;
  }
}

/* =========================================================
   車中泊しるべ トップページ v3
   機能優先・再訪優先の検索ダッシュボード
   ========================================================= */
.sh-home-pro {
  --sh-pro-bg: #f5f8f6;
  --sh-pro-panel: #ffffff;
  --sh-pro-deep: #123f2e;
  --sh-pro-green: #176b45;
  --sh-pro-gold: #b9731e;
  --sh-pro-line: #d8e3dc;
}

.sh-home-pro .sh-home-wrap {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
}

.sh-pro-hero {
  margin: clamp(14px, 2.5vw, 28px) 0 clamp(36px, 6vw, 64px);
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid #d3dfd7;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(244,249,246,.98)),
    var(--sh-pro-panel);
  box-shadow: 0 14px 38px rgba(19,63,46,.08);
}

.sh-pro-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sh-pro-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.sh-pro-brand img {
  width: 58px !important;
  height: 58px !important;
  max-width: 58px !important;
  max-height: 58px !important;
  flex: 0 0 58px;
  object-fit: contain;
  display: block;
}

.sh-pro-brand h1 {
  margin: 0;
  color: var(--sh-ink);
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.sh-pro-brand p {
  margin: 7px 0 0;
  color: var(--sh-muted);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.5;
}

.sh-pro-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(104px, 1fr));
  gap: 8px;
  flex: 0 1 440px;
}

.sh-pro-metrics a {
  display: block;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #dae5de;
  border-radius: 11px;
  background: #fff;
  color: inherit !important;
  text-decoration: none !important;
}

.sh-pro-metrics strong,
.sh-pro-metrics span {
  display: block;
}

.sh-pro-metrics strong {
  color: var(--sh-pro-deep);
  font-size: 1.12rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.sh-pro-metrics span {
  margin-top: 4px;
  color: var(--sh-muted);
  font-size: .7rem;
  font-weight: 700;
}

.sh-home-pro .sh-pro-search {
  grid-template-columns: minmax(0, 1.7fr) minmax(145px, .65fr) minmax(140px, .55fr) auto;
  margin-top: 24px;
  padding: 10px;
  border: 1px solid #ccdcd1;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(24,67,49,.06);
}

.sh-home-pro .sh-pro-search .sh-home-search__button {
  min-width: 116px;
  background: var(--sh-pro-deep);
}

.sh-home-pro .sh-pro-search .sh-home-search__button:hover {
  background: var(--sh-pro-green);
}

.sh-pro-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.sh-pro-shortcuts a {
  display: flex;
  min-width: 0;
  min-height: 66px;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 11px 13px;
  border: 1px solid #d8e4dc;
  border-radius: 11px;
  background: #f8fbf9;
  color: var(--sh-ink) !important;
  text-decoration: none !important;
}

.sh-pro-shortcuts a:hover {
  border-color: #b7cfbf;
  background: #fff;
}

.sh-pro-shortcuts strong {
  color: var(--sh-pro-deep);
  font-size: .92rem;
}

.sh-pro-shortcuts span {
  color: var(--sh-muted);
  font-size: .72rem;
}

.sh-home-pro .sh-home-section {
  margin: clamp(36px, 6vw, 68px) 0;
}

.sh-pro-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.sh-pro-section-head > div > span,
.sh-pro-trust > div > span {
  display: block;
  margin-bottom: 5px;
  color: var(--sh-pro-green);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.sh-pro-section-head h2,
.sh-pro-trust h2 {
  margin: 0;
  color: var(--sh-ink);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.3;
}

.sh-pro-section-head > a {
  flex: 0 0 auto;
  color: var(--sh-pro-deep) !important;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.sh-pro-split {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, .8fr);
  gap: 14px;
}

.sh-pro-panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--sh-pro-line);
  border-radius: 16px;
  background: var(--sh-pro-panel);
}

.sh-pro-panel--nav {
  background: #f7faf8;
}

.sh-pro-condition-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.sh-pro-condition-grid a {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 105px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 13px 13px 29px;
  overflow: hidden;
  border: 1px solid #dae5de;
  border-radius: 11px;
  background: #fff;
  color: inherit !important;
  text-decoration: none !important;
}

.sh-pro-condition-grid a:hover {
  border-color: #b8d0c0;
  box-shadow: 0 7px 20px rgba(20,65,47,.06);
}

.sh-pro-condition-grid strong {
  color: var(--sh-pro-deep);
  font-size: .9rem;
}

.sh-pro-condition-grid span {
  color: var(--sh-muted);
  font-size: .72rem;
  line-height: 1.45;
}

.sh-pro-condition-grid em {
  position: absolute;
  left: 13px;
  bottom: 10px;
  color: var(--sh-pro-gold);
  font-size: .68rem;
  font-style: normal;
  font-weight: 900;
}

.sh-pro-way-list {
  display: grid;
  gap: 7px;
}

.sh-pro-way-list a {
  display: grid;
  gap: 3px;
  min-height: 66px;
  padding: 11px 12px;
  border: 1px solid #dbe5df;
  border-radius: 10px;
  background: #fff;
  color: inherit !important;
  text-decoration: none !important;
}

.sh-pro-way-list a:hover {
  border-color: #b8d0c0;
}

.sh-pro-way-list strong {
  color: var(--sh-pro-deep);
  font-size: .88rem;
}

.sh-pro-way-list span {
  color: var(--sh-muted);
  font-size: .72rem;
}

.sh-home-pro .sh-home-latest-grid {
  gap: 12px;
}

.sh-pro-area {
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid #d7e2da;
  border-radius: 18px;
  background: #f4f8f5;
}

.sh-pro-pref-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.sh-pro-pref-grid a {
  display: flex;
  min-width: 0;
  min-height: 70px;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 11px 12px;
  border: 1px solid #d8e3dc;
  border-radius: 10px;
  background: #fff;
  color: inherit !important;
  text-decoration: none !important;
}

.sh-pro-pref-grid a:hover {
  border-color: #afc9b7;
}

.sh-pro-pref-grid strong {
  color: var(--sh-pro-deep);
  font-size: .9rem;
}

.sh-pro-pref-grid span {
  color: var(--sh-muted);
  font-size: .72rem;
}

.sh-pro-area__note {
  margin: 14px 0 0;
  color: var(--sh-muted);
  font-size: .78rem;
  line-height: 1.7;
}

.sh-pro-trust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(19px, 3vw, 27px);
  border: 1px solid #d9e3dc;
  border-radius: 16px;
  background: #fff;
}

.sh-pro-trust p {
  max-width: 800px;
  margin: 8px 0 0;
  color: var(--sh-muted);
  font-size: .84rem;
  line-height: 1.7;
}

.sh-pro-trust > a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 9px;
  background: var(--sh-pro-deep);
  color: #fff !important;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none !important;
}

.sh-home-pro .sh-sister-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sh-home-pro .sh-revisit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sh-home-pro .sh-mobile-dock {
  display: none;
}

@media (max-width: 1023px) {
  .sh-pro-hero__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .sh-pro-metrics {
    width: 100%;
    flex-basis: auto;
  }

  .sh-home-pro .sh-pro-search {
    grid-template-columns: 1fr 1fr;
  }

  .sh-home-pro .sh-pro-search .sh-home-search__main,
  .sh-home-pro .sh-pro-search .sh-home-search__button {
    grid-column: 1 / -1;
  }

  .sh-pro-shortcuts,
  .sh-pro-condition-grid,
  .sh-pro-pref-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sh-pro-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .sh-home-pro .sh-home-wrap {
    width: min(100% - 18px, 1180px);
  }

  .sh-pro-hero {
    margin-top: 8px;
    padding: 16px 12px;
    border-radius: 15px;
  }

  .sh-pro-brand {
    align-items: flex-start;
    gap: 10px;
  }

  .sh-pro-brand img {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    flex-basis: 44px;
  }

  .sh-pro-brand h1 {
    font-size: 1.7rem;
  }

  .sh-pro-brand p {
    margin-top: 4px;
    font-size: .72rem;
  }

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

  .sh-pro-metrics a:last-child {
    grid-column: 1 / -1;
  }

  .sh-home-pro .sh-pro-search {
    grid-template-columns: 1fr;
    margin-top: 16px;
    padding: 8px;
  }

  .sh-home-pro .sh-pro-search .sh-home-search__main,
  .sh-home-pro .sh-pro-search .sh-home-search__button {
    grid-column: auto;
  }

  .sh-pro-shortcuts {
    grid-template-columns: 1fr 1fr;
  }

  .sh-pro-shortcuts a {
    min-height: 60px;
  }

  .sh-pro-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .sh-pro-panel {
    padding: 14px 11px;
    border-radius: 13px;
  }

  .sh-pro-condition-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sh-pro-condition-grid a {
    min-height: 96px;
  }

  .sh-pro-pref-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sh-pro-trust {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .sh-pro-trust > a {
    width: 100%;
    justify-content: center;
  }

  .sh-home-pro .sh-sister-grid,
  .sh-home-pro .sh-revisit-grid {
    grid-template-columns: 1fr;
  }

  .sh-home-pro .sh-mobile-dock {
    position: fixed;
    z-index: 9998;
    left: 50%;
    bottom: max(10px, env(safe-area-inset-bottom));
    display: grid;
    width: min(calc(100% - 20px), 420px);
    grid-template-columns: repeat(3, 1fr);
    transform: translateX(-50%);
    overflow: hidden;
    border: 1px solid #d2dfd6;
    border-radius: 14px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 12px 32px rgba(12,48,34,.16);
    backdrop-filter: blur(10px);
  }

  .sh-home-pro .sh-mobile-dock a {
    display: grid;
    place-items: center;
    min-height: 52px;
    padding: 6px;
    color: var(--sh-pro-deep) !important;
    font-size: .74rem;
    font-weight: 900;
    text-decoration: none !important;
  }

  .sh-home-pro .sh-mobile-dock a + a {
    border-left: 1px solid #e0e8e2;
  }

  body.home {
    padding-bottom: 76px;
  }
}

@media (max-width: 420px) {
  .sh-pro-shortcuts,
  .sh-pro-condition-grid,
  .sh-pro-pref-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   車中泊しるべ トップページ v4
   ブランド重複をなくし、再訪・検索を最優先にした最終UI
   ========================================================= */
.sh-home-final {
  --sh-final-deep: #0f5034;
  --sh-final-green: #176b45;
  --sh-final-green-soft: #eef6f1;
  --sh-final-gold: #b86f18;
  --sh-final-line: #d8e3dc;
  --sh-final-muted: #526158;
  --sh-final-shadow: 0 14px 36px rgba(18, 57, 42, .07);
}

.sh-home-final .sh-home-wrap {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
}

.sh-home-final .sh-home-main {
  padding-top: clamp(16px, 2.8vw, 28px);
}

.sh-toolbox {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #d1ddd5;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(23,107,69,.07), transparent 28%),
    #fff;
  box-shadow: var(--sh-final-shadow);
}

.sh-home-final .sh-toolbox__search {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(145px, .62fr) minmax(140px, .58fr) auto;
  gap: 9px;
  align-items: end;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.sh-home-final .sh-toolbox__search label {
  margin-bottom: 6px;
  color: #59675e;
  font-size: .73rem;
  font-weight: 800;
}

.sh-home-final .sh-toolbox__search input,
.sh-home-final .sh-toolbox__search select {
  min-height: 52px;
  border-color: #cbd9d0;
  border-radius: 10px;
  background: #fff;
}

.sh-home-final .sh-toolbox__search input:focus,
.sh-home-final .sh-toolbox__search select:focus {
  border-color: #7eaa8e;
  outline: 3px solid rgba(23,107,69,.11);
  outline-offset: 0;
}

.sh-home-final .sh-toolbox__search .sh-home-search__button {
  min-width: 118px;
  min-height: 52px;
  border-radius: 10px;
  background: var(--sh-final-deep);
  box-shadow: none;
}

.sh-home-final .sh-toolbox__search .sh-home-search__button:hover {
  background: var(--sh-final-green);
}

.sh-toolbox__resume {
  margin-top: 12px;
}

.sh-toolbox__quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.sh-toolbox__quick a {
  display: flex;
  min-width: 0;
  min-height: 68px;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid #d9e4dc;
  border-radius: 11px;
  background: #f8fbf9;
  color: inherit !important;
  text-decoration: none !important;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.sh-toolbox__quick a:hover {
  transform: translateY(-1px);
  border-color: #b4cdbb;
  background: #fff;
}

.sh-toolbox__quick strong {
  color: var(--sh-final-deep);
  font-size: .94rem;
  line-height: 1.35;
}

.sh-toolbox__quick span {
  color: var(--sh-final-muted);
  font-size: .72rem;
  line-height: 1.4;
}

.sh-toolbox__status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.sh-toolbox__status a {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #e0e8e2;
  border-radius: 10px;
  background: #fff;
  color: inherit !important;
  text-decoration: none !important;
}

.sh-toolbox__status strong {
  color: var(--sh-final-deep);
  font-size: 1rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.sh-toolbox__status span {
  color: var(--sh-final-muted);
  font-size: .7rem;
  font-weight: 700;
}

.sh-home-final .sh-home-section {
  margin: clamp(36px, 5.5vw, 62px) 0;
}

.sh-final-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.sh-final-head h2 {
  margin: 0;
  color: var(--sh-ink);
  font-size: clamp(1.35rem, 2.7vw, 1.9rem);
  line-height: 1.3;
  letter-spacing: -.01em;
}

.sh-final-head > a {
  flex: 0 0 auto;
  color: var(--sh-final-deep) !important;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.sh-final-condition-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.sh-final-condition-grid a {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 15px 15px 34px;
  overflow: hidden;
  border: 1px solid var(--sh-final-line);
  border-radius: 13px;
  background: #fff;
  color: inherit !important;
  text-decoration: none !important;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.sh-final-condition-grid a:hover {
  transform: translateY(-2px);
  border-color: #b6cfbd;
  box-shadow: 0 9px 24px rgba(18,57,42,.07);
}

.sh-final-condition-grid strong {
  color: var(--sh-final-deep);
  font-size: .96rem;
  line-height: 1.35;
}

.sh-final-condition-grid span {
  color: var(--sh-final-muted);
  font-size: .76rem;
  line-height: 1.45;
}

.sh-final-condition-grid em {
  position: absolute;
  left: 15px;
  bottom: 11px;
  color: #8b5b22;
  font-size: .7rem;
  font-style: normal;
  font-weight: 800;
}

.sh-home-final .sh-revisit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sh-final-area {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #d8e3dc;
  border-radius: 18px;
  background: #f4f8f5;
}

.sh-final-pref-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.sh-final-pref-grid a {
  display: flex;
  min-width: 0;
  min-height: 70px;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 11px 12px;
  border: 1px solid #d8e3dc;
  border-radius: 10px;
  background: #fff;
  color: inherit !important;
  text-decoration: none !important;
}

.sh-final-pref-grid a:hover {
  border-color: #afc9b7;
  box-shadow: 0 7px 19px rgba(18,57,42,.05);
}

.sh-final-pref-grid strong {
  color: var(--sh-final-deep);
  font-size: .91rem;
}

.sh-final-pref-grid span {
  color: var(--sh-final-muted);
  font-size: .72rem;
}

.sh-final-policy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 18px;
  border: 1px solid #d9e3dc;
  border-radius: 13px;
  background: #fff;
}

.sh-final-policy p {
  margin: 0;
  color: var(--sh-final-muted);
  font-size: .82rem;
  line-height: 1.65;
}

.sh-final-policy a {
  flex: 0 0 auto;
  color: var(--sh-final-deep) !important;
  font-size: .8rem;
  font-weight: 800;
  white-space: nowrap;
}

.sh-home-final .sh-sister-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sh-home-final .sh-sister-card {
  min-height: 104px;
}

.sh-home-final .sh-mobile-dock {
  display: none;
}

@media (max-width: 1023px) {
  .sh-home-final .sh-toolbox__search {
    grid-template-columns: 1fr 1fr;
  }

  .sh-home-final .sh-toolbox__search .sh-home-search__main,
  .sh-home-final .sh-toolbox__search .sh-home-search__button {
    grid-column: 1 / -1;
  }

  .sh-toolbox__quick,
  .sh-final-condition-grid,
  .sh-final-pref-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .sh-home-final .sh-home-wrap {
    width: min(100% - 18px, 1180px);
  }

  .sh-home-final .sh-home-main {
    padding-top: 10px;
  }

  .sh-toolbox {
    padding: 13px 11px;
    border-radius: 15px;
  }

  .sh-home-final .sh-toolbox__search {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sh-home-final .sh-toolbox__search .sh-home-search__main,
  .sh-home-final .sh-toolbox__search .sh-home-search__button {
    grid-column: auto;
  }

  .sh-toolbox__quick {
    grid-template-columns: 1fr 1fr;
  }

  .sh-toolbox__quick a {
    min-height: 62px;
    padding: 10px 11px;
  }

  .sh-toolbox__quick span {
    display: none;
  }

  .sh-toolbox__status {
    grid-template-columns: 1fr 1fr;
  }

  .sh-toolbox__status a:last-child {
    grid-column: 1 / -1;
  }

  .sh-final-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .sh-final-condition-grid,
  .sh-final-pref-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sh-final-condition-grid a {
    min-height: 104px;
  }

  .sh-home-final .sh-revisit-grid,
  .sh-home-final .sh-sister-grid {
    grid-template-columns: 1fr;
  }

  .sh-final-area {
    padding: 15px 11px;
    border-radius: 14px;
  }

  .sh-final-policy {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .sh-home-final .sh-mobile-dock {
    position: fixed;
    z-index: 9998;
    left: 50%;
    bottom: max(10px, env(safe-area-inset-bottom));
    display: grid;
    width: min(calc(100% - 20px), 420px);
    grid-template-columns: repeat(3, 1fr);
    transform: translateX(-50%);
    overflow: hidden;
    border: 1px solid #d2dfd6;
    border-radius: 14px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 12px 32px rgba(12,48,34,.16);
    backdrop-filter: blur(10px);
  }

  .sh-home-final .sh-mobile-dock a {
    display: grid;
    place-items: center;
    min-height: 52px;
    padding: 6px;
    color: var(--sh-final-deep) !important;
    font-size: .74rem;
    font-weight: 900;
    text-decoration: none !important;
  }

  .sh-home-final .sh-mobile-dock a + a {
    border-left: 1px solid #e0e8e2;
  }

  body.home {
    padding-bottom: 76px;
  }
}

@media (max-width: 430px) {
  .sh-toolbox__quick,
  .sh-final-condition-grid,
  .sh-final-pref-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sh-toolbox__quick a,
  .sh-final-condition-grid a {
    transition: none;
  }
}

/* =========================================================
   サイト全体：ワンカラム統一
   ========================================================= */
#sidebar1,
.sidebar[role="complementary"] {
  display: none !important;
}

#inner-content {
  display: block !important;
}

#inner-content > #main {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.page-template-default #inner-content.wrap {
  width: min(920px, calc(100% - 32px));
  max-width: 920px;
  margin-inline: auto;
}

body.page-template-default #inner-content > #main {
  max-width: 860px !important;
  margin-inline: auto !important;
}

@media (max-width: 767px) {
  body.page-template-default #inner-content.wrap {
    width: min(100% - 20px, 920px);
  }
}

/* =========================================================
   施設詳細：Google Maps / Street View
   ========================================================= */
.sh-location-stack {
  display: grid;
  gap: 14px;
}

.sh-location-card {
  width: 100%;
}

.sh-map-frame--large {
  aspect-ratio: 16 / 7;
  min-height: 360px;
}

.sh-location-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sh-streetview-note {
  margin: 0 0 10px;
  color: var(--sh-muted);
  font-size: .84rem;
  line-height: 1.6;
}

.sh-inline-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid var(--sh-green);
  border-radius: 9px;
  color: var(--sh-green-dark) !important;
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none !important;
}

.sh-inline-map-link:hover {
  background: var(--sh-soft);
}

/* 全国マップ：マーカーからGoogle Maps / Street Viewへ */
.sh-map-popup__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 9px;
}

.sh-map-popup__actions a {
  display: block;
  padding: 7px 9px;
  border: 1px solid #d5e2d9;
  border-radius: 7px;
  background: #fff;
  color: #0f5034 !important;
  font-size: .78rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none !important;
}

.sh-map-popup__actions a:first-child {
  border-color: #176b45;
  background: #176b45;
  color: #fff !important;
}

@media (max-width: 767px) {
  .sh-map-frame--large {
    aspect-ratio: 4 / 3;
    min-height: 280px;
  }

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

/* 施設記事：編集本文 */
.sh-spot-page .entry-content {
  max-width: 920px;
  margin-inline: auto;
}

.sh-spot-page .entry-content > p {
  color: #334139;
  font-size: 1rem;
  line-height: 1.95;
}

.sh-spot-page .entry-content h3 {
  margin: 34px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--sh-green);
  color: var(--sh-ink);
  font-size: clamp(1.08rem, 2.2vw, 1.32rem);
  line-height: 1.5;
}

.sh-guide-summary {
  margin: 24px 0 30px;
  padding: 18px 20px;
  border: 1px solid #cfe0d5;
  border-radius: 14px;
  background: #f4f9f6;
}

.sh-guide-summary__title {
  margin: 0 0 10px !important;
  color: var(--sh-green-dark) !important;
  font-weight: 900;
}

.sh-guide-summary ul {
  margin: 0;
  padding-left: 1.25em;
}

.sh-guide-summary li {
  margin: 6px 0;
  color: #334139;
  line-height: 1.65;
}

.sh-guide-note {
  margin-top: 28px !important;
  padding: 14px 16px;
  border-left: 4px solid #b78038;
  border-radius: 8px;
  background: #fbf7ef;
  color: #4f4638 !important;
  font-size: .88rem !important;
  line-height: 1.75 !important;
}

@media (max-width: 767px) {
  .sh-guide-summary {
    padding: 15px 14px;
  }

  .sh-spot-page .entry-content > p {
    font-size: .95rem;
    line-height: 1.85;
  }
}


/* =========================================================
   車中泊しるべ トップページ v5
   画像素材を活かした検索ファーストUI
   ========================================================= */
body.home {
  overflow-x: clip;
  background: #f6f8f7;
}

body.home #header {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid #e4e9e6;
  background: rgba(255,255,255,.98) !important;
  box-shadow: 0 3px 18px rgba(14,47,34,.05);
}

body.home #header .inner-header {
  min-height: 68px;
}

body.home #header a,
body.home #header .text-logo-link,
body.home #header .stk_g_nav a,
body.home #header .nav_btn,
body.home #header .nav_btn .text,
body.home #header .stk_svgicon {
  color: #153b2d !important;
  fill: currentColor;
}

body.home #header .stk_g_nav a {
  font-weight: 700;
}

body.home #header .current-menu-item > a {
  color: #0f6a44 !important;
}

body.home .sh-home-final {
  --sh-visual-deep: #113e31;
  --sh-visual-green: #176b45;
  --sh-visual-ink: #17251e;
  --sh-visual-line: #dce5df;
  --sh-visual-shadow: 0 18px 50px rgba(17,55,41,.10);
}

body.home .sh-home-final .sh-home-wrap {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
}

body.home .sh-home-final .sh-home-main {
  padding-top: 0;
}

.sh-visual-hero {
  position: relative;
  left: 50%;
  width: 100vw;
  min-height: clamp(560px, 68vh, 720px);
  margin-left: -50vw;
  overflow: hidden;
  background: #17352a;
  isolation: isolate;
}

.sh-visual-hero__image,
.sh-visual-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sh-visual-hero__image {
  z-index: -3;
  object-fit: cover;
  object-position: center;
}

.sh-visual-hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5,27,21,.78) 0%, rgba(5,27,21,.50) 42%, rgba(5,27,21,.12) 72%, rgba(5,27,21,.18) 100%),
    linear-gradient(0deg, rgba(7,31,24,.56) 0%, transparent 48%);
}

.sh-visual-hero__inner {
  position: relative;
  display: flex;
  width: min(1180px, calc(100% - 32px));
  min-height: inherit;
  margin-inline: auto;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 48px;
}

.sh-visual-hero__copy {
  max-width: 730px;
  margin-bottom: 24px;
}

.sh-visual-hero__copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-shadow: 0 3px 24px rgba(0,0,0,.22);
}

.sh-visual-hero__copy p {
  max-width: 620px;
  margin: 16px 0 0;
  color: rgba(255,255,255,.94);
  font-size: clamp(.98rem, 1.6vw, 1.16rem);
  font-weight: 600;
  line-height: 1.8;
  text-shadow: 0 2px 10px rgba(0,0,0,.2);
}

.sh-visual-search {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(150px, .62fr) minmax(145px, .58fr) auto;
  gap: 9px;
  width: min(100%, 970px);
  align-items: end;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 20px 50px rgba(0,0,0,.20);
  backdrop-filter: blur(12px);
}

.sh-visual-search label {
  display: block;
  margin-bottom: 5px;
  color: #47584f;
  font-size: .72rem;
  font-weight: 800;
}

.sh-visual-search input,
.sh-visual-search select {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 9px 12px;
  border: 1px solid #ccd8d1;
  border-radius: 10px;
  background: #fff;
  color: #17251e;
  font-size: 16px;
}

.sh-visual-search input:focus,
.sh-visual-search select:focus {
  border-color: #6f9e82;
  outline: 3px solid rgba(23,107,69,.12);
  outline-offset: 0;
}

.sh-visual-search .sh-home-search__button {
  min-width: 118px;
  min-height: 50px;
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  background: #176b45;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.sh-visual-search .sh-home-search__button:hover {
  transform: translateY(-1px);
  background: #0f5034;
}

.sh-visual-hero__metrics {
  display: grid;
  width: min(100%, 760px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.sh-visual-hero__metrics a {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  background: rgba(7,35,27,.42);
  color: #fff !important;
  text-decoration: none !important;
  backdrop-filter: blur(8px);
}

.sh-visual-hero__metrics strong {
  color: #fff;
  font-size: 1.04rem;
  font-weight: 900;
}

.sh-visual-hero__metrics span {
  color: rgba(255,255,255,.82);
  font-size: .72rem;
  font-weight: 700;
}

.sh-toolbox--visual {
  margin-top: 22px;
  padding: 14px;
  border: 1px solid var(--sh-visual-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17,55,41,.06);
}

.sh-toolbox--visual .sh-toolbox__quick {
  margin-top: 0;
}

.sh-toolbox--visual .sh-toolbox__resume + .sh-toolbox__quick {
  margin-top: 12px;
}

.sh-home-visual .sh-home-section {
  margin: clamp(44px, 6vw, 74px) 0;
}

.sh-home-visual .sh-final-head {
  margin-bottom: 18px;
}

.sh-home-visual .sh-final-head h2 {
  color: var(--sh-visual-ink);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 900;
  letter-spacing: -.02em;
}

.sh-home-visual .sh-final-head > a {
  color: var(--sh-visual-green) !important;
  font-weight: 800;
}

.sh-visual-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sh-visual-card {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px;
  background: #15362a;
  box-shadow: 0 12px 32px rgba(20,52,40,.10);
  color: #fff !important;
  text-decoration: none !important;
  isolation: isolate;
}

.sh-visual-card img,
.sh-visual-card__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sh-visual-card img {
  z-index: -3;
  object-fit: cover;
  transition: transform .45s ease;
}

.sh-visual-card__shade {
  z-index: -2;
  background: linear-gradient(180deg, rgba(0,0,0,.02) 28%, rgba(5,24,19,.76) 100%);
}

.sh-visual-card__body {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 5px;
  padding: 22px;
}

.sh-visual-card__body strong {
  color: #fff;
  font-size: clamp(1.04rem, 1.7vw, 1.3rem);
  font-weight: 900;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.sh-visual-card__body small {
  color: rgba(255,255,255,.86);
  font-size: .78rem;
  line-height: 1.5;
}

.sh-visual-card:hover img {
  transform: scale(1.045);
}

.sh-home-visual .sh-final-condition-grid {
  gap: 12px;
}

.sh-home-visual .sh-final-condition-grid a {
  min-height: 122px;
  border-radius: 15px;
  background: linear-gradient(145deg, #fff 0%, #fbfdfb 100%);
}

.sh-home-visual .sh-home-latest-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sh-home-visual .sh-spot-card {
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(22,54,39,.07);
}

.sh-visual-map-banner {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 22px;
  background: #17352a;
  box-shadow: var(--sh-visual-shadow);
  isolation: isolate;
}

.sh-visual-map-banner > img,
.sh-visual-map-banner__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sh-visual-map-banner > img {
  z-index: -3;
  object-fit: cover;
}

.sh-visual-map-banner__shade {
  z-index: -2;
  background: linear-gradient(90deg, rgba(7,31,24,.76) 0%, rgba(7,31,24,.52) 46%, rgba(7,31,24,.08) 100%);
}

.sh-visual-map-banner__body {
  display: flex;
  min-height: 320px;
  max-width: 620px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 56px);
}

.sh-visual-map-banner__body h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.18;
}

.sh-visual-map-banner__body p {
  margin: 12px 0 0;
  color: rgba(255,255,255,.88);
  line-height: 1.75;
}

.sh-visual-map-banner__body a {
  display: inline-flex;
  width: fit-content;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.84);
  border-radius: 10px;
  background: rgba(255,255,255,.96);
  color: #154e36 !important;
  font-weight: 900;
  text-decoration: none !important;
}

.sh-home-visual .sh-final-area {
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(23,107,69,.08), transparent 30%),
    #f1f6f3;
}

.sh-home-visual .sh-final-pref-grid {
  gap: 10px;
}

.sh-home-visual .sh-final-pref-grid a {
  min-height: 76px;
  border-radius: 12px;
}

.sh-home-visual .sh-final-policy {
  padding: 22px 24px;
  border-radius: 16px;
  background: #fff;
}

.sh-home-visual .sh-final-policy h2 {
  margin: 0 0 6px;
  color: var(--sh-visual-ink);
  font-size: 1.08rem;
}

.sh-home-visual .sh-final-policy p {
  max-width: 860px;
}

body.home > .sh-mobile-dock,
body.home .sh-mobile-dock {
  display: none;
}

@media (max-width: 1023px) {
  .sh-visual-hero__inner { padding-top: 54px; }
  .sh-visual-search { grid-template-columns: 1fr 1fr; }
  .sh-visual-search .sh-home-search__main,
  .sh-visual-search .sh-home-search__button { grid-column: 1 / -1; }
  .sh-visual-card-grid,
  .sh-home-visual .sh-home-latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  body.home #header .inner-header { min-height: 58px; }

  body.home .sh-home-final .sh-home-wrap {
    width: min(100% - 18px, 1180px);
  }

  .sh-visual-hero { min-height: 620px; }

  .sh-visual-hero__inner {
    width: min(100% - 24px, 1180px);
    justify-content: flex-end;
    padding: 58px 0 22px;
  }

  .sh-visual-hero__shade {
    background:
      linear-gradient(0deg, rgba(4,25,19,.78) 0%, rgba(4,25,19,.50) 55%, rgba(4,25,19,.12) 100%),
      linear-gradient(90deg, rgba(4,25,19,.30), transparent 70%);
  }

  .sh-visual-hero__copy { margin-bottom: 16px; }
  .sh-visual-hero__copy h1 { font-size: clamp(2rem, 10vw, 3.1rem); }
  .sh-visual-hero__copy p { margin-top: 10px; font-size: .9rem; line-height: 1.7; }

  .sh-visual-search {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
    border-radius: 14px;
  }

  .sh-visual-search .sh-home-search__main,
  .sh-visual-search .sh-home-search__button { grid-column: auto; }

  .sh-visual-search input,
  .sh-visual-search select,
  .sh-visual-search .sh-home-search__button { min-height: 48px; }

  .sh-visual-hero__metrics {
    grid-template-columns: 1fr 1fr;
    margin-top: 10px;
  }

  .sh-visual-hero__metrics a:last-child { grid-column: 1 / -1; }
  .sh-visual-hero__metrics a { min-height: 46px; padding: 8px 10px; }

  .sh-toolbox--visual { margin-top: 14px; padding: 10px; }
  .sh-home-visual .sh-home-section { margin: 38px 0; }

  .sh-visual-card-grid,
  .sh-home-visual .sh-home-latest-grid { grid-template-columns: 1fr; }

  .sh-visual-card {
    aspect-ratio: 16 / 9;
    border-radius: 15px;
  }

  .sh-visual-card__body { padding: 18px; }

  .sh-visual-map-banner {
    min-height: 360px;
    border-radius: 16px;
  }

  .sh-visual-map-banner__shade {
    background: linear-gradient(0deg, rgba(7,31,24,.78) 0%, rgba(7,31,24,.40) 68%, rgba(7,31,24,.08) 100%);
  }

  .sh-visual-map-banner__body {
    min-height: 360px;
    justify-content: flex-end;
    padding: 22px;
  }

  .sh-home-visual .sh-final-policy { padding: 18px 16px; }

  body.home > .sh-mobile-dock,
  body.home .sh-mobile-dock {
    position: fixed;
    z-index: 9998;
    left: 50%;
    bottom: max(10px, env(safe-area-inset-bottom));
    display: grid;
    width: min(calc(100% - 20px), 420px);
    grid-template-columns: repeat(3, 1fr);
    transform: translateX(-50%);
    overflow: hidden;
    border: 1px solid #d2dfd6;
    border-radius: 14px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 12px 32px rgba(12,48,34,.16);
    backdrop-filter: blur(10px);
  }

  body.home .sh-mobile-dock a {
    display: grid;
    place-items: center;
    min-height: 52px;
    padding: 6px;
    color: #154e36 !important;
    font-size: .74rem;
    font-weight: 900;
    text-decoration: none !important;
  }

  body.home .sh-mobile-dock a + a {
    border-left: 1px solid #e0e8e2;
  }
}

@media (max-width: 430px) {
  .sh-visual-hero { min-height: 660px; }
  .sh-visual-hero__copy h1 { font-size: 2.2rem; }
  .sh-visual-hero__metrics strong { font-size: .92rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sh-visual-card img,
  .sh-visual-search .sh-home-search__button {
    transition: none;
  }
}

/* トップ：100点施設のGoogle Maps付きカード */
.sh-home-map-card {
  overflow: hidden;
}

.sh-home-map-card__map {
  position: relative;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  border-bottom: 1px solid #e1e8e3;
  background: #e8efeb;
}

.sh-home-map-card__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.sh-home-map-card .sh-spot-card__body {
  gap: 9px;
}

.sh-home-map-card .sh-status-row {
  margin-top: 0;
}

.sh-home-map-card .sh-spot-card__title a {
  color: inherit !important;
  text-decoration: none !important;
}

.sh-home-map-card .sh-spot-card__title a:hover {
  color: var(--sh-green) !important;
}

.sh-home-map-card__address {
  margin: -1px 0 2px;
  color: var(--sh-muted);
  font-size: .76rem;
  line-height: 1.55;
}

.sh-home-map-card .sh-spot-card__facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sh-home-map-card__actions {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
  gap: 8px;
  margin-top: 2px;
}

.sh-home-map-card__actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: .78rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none !important;
}

.sh-home-map-card__detail {
  border: 1px solid var(--sh-green);
  background: var(--sh-green);
  color: #fff !important;
}

.sh-home-map-card__detail:hover {
  background: var(--sh-green-dark);
}

.sh-home-map-card__maps {
  border: 1px solid #cddbd2;
  background: #fff;
  color: var(--sh-green-dark) !important;
}

.sh-home-map-card__maps:hover {
  border-color: #9ebbaa;
  background: #f4f8f5;
}

@media (max-width: 767px) {
  .sh-home-map-card__map {
    aspect-ratio: 16 / 9;
  }

  .sh-home-map-card .sh-spot-card__facts {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .sh-home-map-card__actions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 430px) {
  .sh-home-map-card .sh-spot-card__facts,
  .sh-home-map-card__actions {
    grid-template-columns: 1fr;
  }
}

