:root {
  --bg: #f6f4ef;
  --ink: #23211f;
  --muted: #5c574f;
  --line: #ddd5c8;
  --panel: #fffdf8;
  --accent: #27736c;
  --accent-dark: #174f4a;
  --soft: #e6f1ee;
  --shadow: 0 18px 44px rgba(42, 36, 28, 0.13);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.9;
}
.wrap {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}
.breadcrumb {
  margin-bottom: 18px;
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumb a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: clamp(20px, 5vw, 44px);
}
h1 {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 4vw, 1.6rem);
  line-height: 1.5;
  color: var(--accent-dark);
}
.lead {
  margin: 0 0 26px;
  color: var(--muted);
}
.updated {
  margin: 0 0 22px;
  font-size: 0.8rem;
  color: var(--muted);
}
h2 {
  margin: 36px 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 1.12rem;
  color: var(--accent-dark);
}
h2:first-of-type { border-top: none; padding-top: 0; }
h3 {
  margin: 24px 0 8px;
  font-size: 1rem;
  color: var(--ink);
}
p { margin: 0 0 15px; }
ul, ol { margin: 0 0 15px; padding-left: 1.4em; }
li { margin-bottom: 6px; }
.facility {
  margin: 0 0 16px;
  padding: 14px 16px;
  background: #f3efe6;
  border-radius: 8px;
}
.facility strong { color: var(--accent-dark); }
.facility .meta {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--muted);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.tag {
  padding: 2px 9px;
  background: var(--soft);
  border: 1px solid rgba(39, 115, 108, 0.25);
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 700;
}
.note {
  margin: 18px 0;
  padding: 12px 15px;
  background: var(--soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
}
.map-cta {
  display: block;
  margin: 28px 0 8px;
  padding: 14px 18px;
  background: var(--accent-dark);
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.map-cta:hover { background: var(--accent); }
.guide-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.guide-list li {
  padding: 14px 16px;
  background: #f3efe6;
  border-radius: 8px;
}
.guide-list a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}
.guide-list a:hover { text-decoration: underline; }
.guide-list .desc {
  display: block;
  margin-top: 3px;
  font-size: 0.85rem;
  color: var(--muted);
}
.related {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.related a { color: var(--accent-dark); font-weight: 700; }
details {
  margin-bottom: 10px;
  padding: 10px 14px;
  background: #f3efe6;
  border-radius: 8px;
}
details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--accent-dark);
}
details p { margin: 10px 0 4px; }

/* 23区比較表。列が多いので横スクロールさせる */
.table-scroll {
  overflow-x: auto;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.compare {
  border-collapse: collapse;
  width: 100%;
  min-width: 720px;
  font-size: 0.84rem;
  line-height: 1.6;
}

.compare th,
.compare td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare thead th {
  position: sticky;
  top: 0;
  background: var(--soft);
  color: var(--accent-dark);
  font-weight: 800;
  white-space: nowrap;
}

.compare tbody th {
  white-space: nowrap;
  font-weight: 800;
}

.compare tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.015);
}

.compare .unknown {
  color: var(--muted);
}

.compare .none {
  color: #a33;
  font-weight: 700;
}

.compare .limit {
  color: var(--muted);
  font-size: 0.92em;
}

/* --- エリアページ：「まず行くならここ」と折りたたみ --- */
.facility.pick {
  background: var(--soft);
  border-left: 4px solid var(--accent);
}
.facility .why {
  margin: 6px 0 4px;
  font-weight: 700;
  color: var(--accent-dark);
}
details.more {
  margin-top: 6px;
  padding: 0;
  background: none;
}
details.more > summary {
  padding: 12px 14px;
  background: #f3efe6;
  border-radius: 8px;
}
details.more[open] > summary { margin-bottom: 12px; }

/* 施設名は地図で開く共有URLへのリンク。色は見出しのまま、下線だけで示す */
.facility strong a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted rgba(23, 79, 74, 0.5);
}
.facility strong a:hover { border-bottom-style: solid; }

/* --- 訪日ファミリー向け予約・アフィリエイト推奨カード --- */
.booking-section {
  margin: 32px 0 24px;
  padding: 24px 20px;
  background: #fdfaf5;
  border: 1px solid #e8decb;
  border-left: 5px solid #d97706;
  border-radius: 12px;
}
.booking-section h2, .booking-section h3 {
  margin: 0 0 12px;
  color: #78350f;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.booking-section .section-lead {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}
.booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.booking-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.booking-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.booking-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  align-self: flex-start;
}
.booking-card h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #1f2937;
  line-height: 1.4;
}
.booking-card p {
  font-size: 0.88rem;
  color: #4b5563;
  margin: 0 0 16px;
  line-height: 1.5;
  flex-grow: 1;
}
.booking-btn {
  display: block;
  text-align: center;
  background: #ff5722;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background 0.2s ease;
}
.booking-btn:hover {
  background: #e64a19;
}
.booking-disclosure {
  font-size: 0.78rem;
  color: #888;
  margin-top: 16px;
  text-align: right;
  line-height: 1.4;
}

.res-link-p {
  margin: 8px 0 6px;
}
.res-link-btn {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff !important;
  background: #d97706;
  padding: 5px 12px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background 0.15s ease;
}
.res-link-btn:hover {
  background: #b45309;
}
.area-ikyu-callout {
  margin: 20px 0 28px;
  padding: 16px 18px;
  background: #fdfaf5;
  border: 1px solid #e8decb;
  border-left: 4px solid #d97706;
  border-radius: 8px;
}
.area-ikyu-callout p {
  margin: 0 0 12px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #4b5563;
}
.area-ikyu-callout strong {
  color: #78350f;
  font-size: 1rem;
}


