/* ═══════════════════════════════════════════
   ホテル比較ナビ - メインスタイル
   SEO強化 / レスポンシブ / アクセシビリティ対応
═══════════════════════════════════════════ */

:root {
  --blue:     #0057B7;
  --blue-d:   #003f8a;
  --blue-l:   #e8f0ff;
  --accent:   #e8483b;
  --ink:      #1a1a2e;
  --slate:    #6b7280;
  --mist:     #f5f7fa;
  --border:   #e2e8f0;
  --white:    #ffffff;
  --sh-sm:    0 1px 4px rgba(0,0,0,.08);
  --sh-md:    0 4px 16px rgba(0,0,0,.12);
  --sh-lg:    0 8px 32px rgba(0,0,0,.16);
  --r:        12px;
  --hdr:      56px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  background: var(--mist);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ── ヘッダー ─────────────────────────────── */
.site-header {
  background: var(--blue-d);
  height: var(--hdr);
  position: sticky;
  top: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  padding: 0 20px;
  box-shadow: var(--sh-md);
}
.header-inner {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon { font-size: 1.3rem; }
.header-nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.header-nav::-webkit-scrollbar { display: none; }
.header-nav a {
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  padding: 4px 10px;
  border-radius: 20px;
  transition: background .15s;
}
.header-nav a:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
  text-decoration: none;
}

/* ── 検索バー ─────────────────────────────── */
.search-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  position: sticky;
  top: var(--hdr);
  z-index: 200;
}
.search-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.search-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.search-field label {
  font-size: .94rem;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.search-field input,
.search-field select {
  font-family: inherit;
  font-size: 1.23rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 13px 18px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s;
  background: var(--white);
  height: 62px;
}
.search-field input:focus,
.search-field select:focus {
  border-color: var(--blue);
}
.sf-date { width: 208px; }
.sf-num  { width: 117px; }
.btn-search {
  font-family: inherit;
  font-size: 1.14rem;
  font-weight: 700;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 26px;
  height: 62px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
  margin-top: 28px;
}
.btn-search:hover { background: var(--blue-d); }

/* ── 地図 ─────────────────────────────────── */
#map {
  width: 100%;
  height: 380px;
  z-index: 0;
  border-bottom: 1px solid var(--border);
}

/* カスタムマーカー */
/* ── 地図ピン（価格バッジ型） ───────────────── */
.map-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #111;
  font-size: .78rem;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,.22), 0 0 0 1.5px rgba(0,0,0,.12);
  cursor: pointer;
  transition: transform .1s, box-shadow .1s, background .1s, color .1s;
  position: relative;
  line-height: 1;
  letter-spacing: -.01em;
}
.map-pin::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #fff;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.15));
}
.map-pin__icon { display: none; }
.map-pin__label {
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: .72rem;
  color: #555;
}
.map-pin:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0,0,0,.28), 0 0 0 1.5px rgba(0,0,0,.2);
  z-index: 9999;
}
.map-pin.active {
  background: #111;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
  transform: scale(1.1);
  z-index: 9999;
}
.map-pin.active::after { border-top-color: #111; }

/* 価格ピン — シンプルに価格のみ表示 */
.map-pin--priced {
  background: #fff;
  color: #111;
  font-size: .82rem;
  padding: 5px 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.25), 0 0 0 1.5px rgba(0,0,0,.15);
}
.map-pin--priced::after { border-top-color: #fff; }
.map-pin--priced:hover {
  background: #111;
  color: #fff;
}
.map-pin--priced:hover::after { border-top-color: #111; }
.map-pin--priced.active {
  background: #111;
  color: #fff;
}
.map-pin--priced.active::after { border-top-color: #111; }

/* ── メインレイアウト ─────────────────────── */
.main-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px;
}

/* ── ホテルグリッド ───────────────────────── */
.hotel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* ── ホテルカード ─────────────────────────── */
.hotel-card {
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.hotel-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}
.hotel-card.is-active {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue), var(--sh-md);
}

/* カード画像 */
.card-img {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: var(--mist);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.hotel-card:hover .card-img img { transform: scale(1.04); }

.card-star {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,.55);
  color: #fbbf24;
  font-size: .7rem;
  padding: 2px 7px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  letter-spacing: .02em;
}
.card-discount {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}

/* カード本文 */
.card-body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-name {
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}
.card-name a { color: inherit; }
.card-name a:hover { color: var(--blue); text-decoration: none; }

.card-addr {
  font-size: .75rem;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-review {
  display: flex;
  align-items: center;
  gap: 8px;
}
.review-badge {
  background: var(--blue);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}
.review-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink);
}
.review-count {
  font-size: .72rem;
  color: var(--slate);
}

/* 価格エリア */
.card-price {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}
.price-block {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 6px 10px 7px;
  min-width: 0;
}
.price-label {
  font-size: .62rem;
  color: #92400e;
  font-weight: 500;
  margin-bottom: 1px;
}
.price-crossed {
  font-size: .75rem;
  color: #9ca3af;
  text-decoration: line-through;
}
.price-current {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ea580c;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.price-current span { font-size: .78rem; font-weight: 600; color: #c2410c; }
.price-loading {
  font-size: .75rem;
  color: var(--slate);
  animation: pulse 1.2s ease-in-out infinite;
}
.price-na { font-size: .75rem; color: var(--slate); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

.btn-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background .15s;
  flex-shrink: 0;
}
.btn-book:hover { background: #c0392b; text-decoration: none; color: #fff; }
.btn-book:disabled {
  background: var(--border);
  color: var(--slate);
  cursor: default;
}

/* ── ホテル詳細ページ ─────────────────────── */
.hotel-detail {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px;
  display: grid;
  grid-template-columns: 1fr 340px;
  grid-template-areas: "main booking";
  gap: 28px;
}
.hotel-detail > div   { grid-area: main; }
.hotel-detail > aside { grid-area: booking; }

/* パンくずリスト */
.breadcrumb {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  font-size: .8rem;
  color: var(--slate);
  display: flex;
  gap: 6px;
  align-items: center;
}
.breadcrumb a { color: var(--blue); }
.breadcrumb-sep { color: var(--border); }

/* 画像ギャラリー */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 6px;
  border-radius: var(--r);
  overflow: hidden;
}
.gallery-main {
  grid-row: 1 / 3;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ホテル情報ブロック */
.hotel-info-card {
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  padding: 24px;
}
.hotel-info-card h1 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

/* 予約ウィジェット（サイドバー） */
.booking-widget {
  position: sticky;
  top: calc(var(--hdr) + 16px);
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
  padding: 20px;
}
.booking-widget h2 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--ink);
}
.widget-price-area {
  text-align: center;
  padding: 18px 16px;
  background: #fff7ed;
  border: 1.5px solid #fed7aa;
  border-radius: 12px;
  margin-bottom: 16px;
}
.widget-price-label { font-size: .72rem; color: #92400e; margin-bottom: 4px; font-weight: 500; }
.widget-price-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ea580c;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.widget-price-value span { font-size: .95rem; font-weight: 600; color: #c2410c; }
.widget-price-old {
  font-size: .82rem;
  color: #9ca3af;
  text-decoration: line-through;
}
.widget-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.widget-form label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.widget-form input,
.widget-form select {
  font-family: inherit;
  font-size: .9rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  width: 100%;
  margin-top: 4px;
  outline: none;
  transition: border-color .15s;
}
.widget-form input:focus,
.widget-form select:focus { border-color: var(--blue); }
.btn-book-lg {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s;
  text-align: center;
  display: block;
  text-decoration: none;
}
.btn-book-lg:hover { background: #c0392b; text-decoration: none; color: #fff; }

/* 基本情報テーブル */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.info-table th,
.info-table td {
  padding: 9px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.info-table th {
  width: 35%;
  color: var(--slate);
  font-weight: 600;
  background: var(--mist);
}

/* 説明文 */
.desc-text {
  font-size: .92rem;
  line-height: 1.85;
  color: var(--ink);
  white-space: pre-line;
}

/* ── エリアページ ─────────────────────────── */
.area-header {
  background: var(--blue-d);
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}
.area-header h1 { font-size: 2rem; margin-bottom: 8px; }
.area-header p  { font-size: 1rem; opacity: .8; }

/* ── トップページ ヒーロー ─────────────────── */
.hero {
  background: linear-gradient(135deg, var(--blue-d) 0%, var(--blue) 100%);
  color: #fff;
  text-align: center;
  padding: 64px 20px 48px;
}
.hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}
.hero p { font-size: 1.05rem; opacity: .85; margin-bottom: 32px; }

/* ヒーロー内キーワード検索（モバイルのみ表示） */
.hero-keyword-wrap {
  display: none;
  max-width: 700px;
  margin: 0 auto 12px;
}
.hero-kw-form {
  border: 2px solid rgba(255,255,255,.5) !important;
}
.hero-kw-form .keyword-search-input {
  background: rgba(255,255,255,.95) !important;
}
.hero-kw-form .keyword-search-btn {
  background: rgba(255,255,255,.2) !important;
  color: #fff !important;
}
/* PC用キーワード検索セクション（モバイルでは非表示） */
.keyword-search-pc { display: block; }

/* ヒーロー内フォーム */
.hero-form {
  max-width: 700px;
  margin: 0 auto;
}
.hero-form-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
}
.hero-field-date { flex: 1; min-width: 130px; }
.hero-field-num  { min-width: 90px; }
.hero-label { color: rgba(255,255,255,.8); }
.hero-btn   { height: 62px; margin-top: 0; }

/* ── エリアカード ─────────────────────────── */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  padding: 28px 20px;
  max-width: 1120px;
  margin: 0 auto;
}
.area-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px 14px;
  text-align: center;
  box-shadow: var(--sh-sm);
  transition: box-shadow .2s, transform .2s;
  text-decoration: none;
  color: var(--ink);
  display: block;
}
.area-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
  text-decoration: none;
}
.area-card-name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.area-card-count { font-size: .75rem; color: var(--slate); }

/* ── セクションタイトル ──────────────────── */
.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  padding: 24px 20px 4px;
  max-width: 1120px;
  margin: 0 auto;
}
.section-title span {
  font-size: .85rem;
  font-weight: 400;
  color: var(--slate);
  margin-left: 8px;
}

/* ── ページネーション ─────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 28px 0;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 600;
  transition: all .15s;
  color: var(--ink);
  text-decoration: none;
  background: var(--white);
}
.pagination a:hover { background: var(--blue-l); border-color: var(--blue); text-decoration: none; }
.pagination .current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ── フッター ─────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.6);
  margin-top: 60px;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 20px 24px;
}
.footer-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.footer-copy {
  font-size: .78rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.footer-nav a {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
}
.footer-nav a:hover { color: #fff; }
.footer-small { font-size: .72rem; color: rgba(255,255,255,.3); }

/* ── レスポンシブ（タブレット: ~768px）──────── */
@media (max-width: 768px) {

  /* ヘッダー */
  .header-nav a {
    font-size: .72rem;
    padding: 4px 8px;
  }

  /* キーワード検索: モバイルはヒーロー内表示・PC用セクションは非表示 */
  .hero-keyword-wrap { display: block; }
  .keyword-search-pc { display: none; }

  /* ヒーロー */
  .hero {
    padding: 40px 16px 32px;
  }
  .hero h1 { font-size: 1.6rem; }
  .hero p  { font-size: .95rem; margin-bottom: 24px; }

  /* エリアヘッダー */
  .area-header { padding: 28px 16px; }
  .area-header h1 { font-size: 1.5rem; }

  /* 検索バー: 日付・人数を全幅に */
  .sf-date { width: 100%; }
  .sf-num  { width: 100%; }
  .btn-search { margin-top: 4px; width: 100%; }
  .search-field { width: 100%; }

  /* ヒーローフォーム: チェックイン・アウト横並び / 大人全幅 / ボタン全幅 */
  .hero-form { padding: 0 4px; }
  .hero-form-row {
    flex-wrap: wrap;
    gap: 0;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--sh-md);
  }
  .hero-field-date {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }
  .hero-field-date:nth-child(2) {
    border-right: none;
  }
  .hero-field-num {
    width: 100%;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
  }
  .hero-label {
    color: var(--slate) !important;
    font-size: .68rem;
    font-weight: 700;
    display: block;
    margin-bottom: 3px;
  }
  .hero-form .sf-date,
  .hero-form .sf-num {
    border: none !important;
    padding: 0;
    height: auto;
    font-size: .95rem;
    font-weight: 600;
    color: var(--ink);
    background: transparent;
    width: 100%;
  }
  .hero-btn {
    width: 100%;
    border-radius: 0 0 12px 12px !important;
    height: 52px !important;
    font-size: 1rem !important;
    margin-top: 0 !important;
  }

  /* ホテルグリッド */
  .hotel-grid { grid-template-columns: 1fr; }

  /* ホテル詳細: 予約ウィジェットを先頭に */
  .hotel-detail {
    grid-template-columns: 1fr;
    /* asideを先に表示（左カラム=div、右カラム=aside） */
    grid-template-areas:
      "booking"
      "main";
  }
  .hotel-detail > div   { grid-area: main; }
  .hotel-detail > aside { grid-area: booking; }
  .booking-widget {
    position: static;
  }

  /* ギャラリー: 1列・自然な高さ */
  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery-main { grid-row: auto; }
  .gallery img  { height: 220px; }

  /* 地図 */
  #map { height: 250px; }

  /* テーブル: 縦並び */
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }
  .info-table th {
    border-bottom: none;
    padding-bottom: 4px;
  }
  .info-table td {
    padding-top: 4px;
    padding-bottom: 12px;
  }

  /* フッター */
  .footer-nav {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  /* キーワード検索 */
  .keyword-search-section { padding: 14px 16px; }
  .keyword-search-btn { padding: 0 16px; font-size: .85rem; }

  /* セクションタイトル */
  .section-title { font-size: 1.1rem; padding: 20px 16px 4px; }

  /* エリアグリッド */
  .area-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    padding: 20px 16px;
    gap: 10px;
  }

  /* パンくず */
  .breadcrumb { padding: 10px 16px; font-size: .75rem; }

  /* ホテル情報カード */
  .hotel-info-card { padding: 18px 16px; }
  .hotel-info-card h1 { font-size: 1.25rem; }
}

/* ── レスポンシブ（スマートフォン: ~480px）──── */
@media (max-width: 480px) {

  /* ヘッダー: ナビをコンパクトに */
  .header-nav {
    gap: 2px;
    padding-bottom: 2px;
  }
  .header-nav a {
    font-size: .66rem;
    padding: 4px 5px;
    white-space: nowrap;
  }

  /* ヒーロー */
  .hero { padding: 32px 12px 24px; }
  .hero h1 { font-size: 1.35rem; }

  /* ホテルカード画像を少し低く */
  .card-img { height: 160px; }

  /* 予約ウィジェット */
  .booking-widget { padding: 16px; }
  .btn-book-lg { padding: 12px; font-size: .95rem; }

  /* 価格エリア */
  .widget-price-value { font-size: 1.6rem; }

  /* エリアグリッド: 2列固定 */
  .area-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .area-card { padding: 14px 10px; }
  .area-card-name { font-size: .9rem; }

  /* 検索結果タイトル */
  .search-result-title { font-size: 1rem; }

  /* フッター */
  .footer-inner { padding: 28px 16px 20px; }

  /* パンくず: 折り返し許可 */
  .breadcrumb { flex-wrap: wrap; }
}

/* ── アクセシビリティ ─────────────────────── */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ── キーワード検索セクション（トップページ）────────── */
.keyword-search-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 28px 20px;
}
.keyword-search-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}
.keyword-search-label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--slate);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: .04em;
}
.keyword-search-form {
  display: flex;
  gap: 0;
  border: 2.5px solid var(--blue);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: box-shadow .2s;
}
.keyword-search-form:focus-within {
  box-shadow: 0 0 0 4px rgba(0,87,183,.15);
}
.keyword-search-input {
  flex: 1;
  font-family: inherit;
  font-size: 1.05rem;
  border: none;
  outline: none;
  padding: 16px 20px;
  color: var(--ink);
  background: var(--white);
  min-width: 0;
}
.keyword-search-input::placeholder { color: #aab0bd; }
.keyword-search-btn {
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 0 32px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}
.keyword-search-btn:hover { background: var(--blue-d); }

/* オートコンプリート候補ドロップダウン */
.kw-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1.5px solid var(--blue);
  border-radius: 10px;
  box-shadow: var(--sh-md);
  z-index: 500;
  overflow: hidden;
}
.kw-suggestion-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background .12s;
  text-decoration: none;
  color: var(--ink);
}
.kw-suggestion-item:hover,
.kw-suggestion-item[aria-selected="true"] {
  background: var(--blue-l);
}
.kw-sug-icon { font-size: 1rem; flex-shrink: 0; }
.kw-sug-label { font-size: .9rem; font-weight: 500; }
.kw-sug-sub   { font-size: .75rem; color: var(--slate); margin-left: auto; }

/* ── 検索結果ページ ─────────────────────────── */
.search-result-header {
  margin: 16px 0 24px;
}
.search-result-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.search-keyword {
  color: var(--blue);
}
.search-hit-count {
  font-size: .85rem;
  color: var(--slate);
  font-weight: 400;
}
.search-empty {
  text-align: center;
  padding: 64px 20px;
}
.search-empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.search-empty-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.search-empty-sub {
  font-size: .88rem;
  color: var(--slate);
}

/* ═══════════════════════════════════════════════
   観光スポット ウィジェット
   ═══════════════════════════════════════════════ */

.spots-section {
  margin: 2.5rem 0;
  padding: 0;
}
.spots-heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 .4rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid #e5e7eb;
}
.spots-subhead {
  font-size: .82rem;
  color: #6b7280;
  margin: 0 0 1rem;
}

.spots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem;
}
.spots-grid--sm {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .5rem;
}

.spot-card {
  display: block;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  transition: box-shadow .15s, transform .15s;
  overflow: hidden;
}
.spot-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.spot-card__inner {
  padding: .85rem 1rem;
}
.spot-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .35rem;
}
.spot-name {
  font-size: .95rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 .3rem;
  line-height: 1.3;
}
.spot-desc {
  font-size: .78rem;
  color: #6b7280;
  margin: 0 0 .4rem;
  line-height: 1.5;
}
.spot-dist {
  font-size: .75rem;
  color: #9ca3af;
  white-space: nowrap;
}

/* カテゴリバッジ */
.spot-cat {
  font-size: .7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  white-space: nowrap;
}
.spot-cat--museum     { background: #ede9fe; color: #5b21b6; }
.spot-cat--shrine     { background: #fef9c3; color: #92400e; }
.spot-cat--temple     { background: #fef3c7; color: #78350f; }
.spot-cat--castle     { background: #fee2e2; color: #991b1b; }
.spot-cat--nature     { background: #d1fae5; color: #065f46; }
.spot-cat--beach      { background: #dbeafe; color: #1e40af; }
.spot-cat--onsen      { background: #fce7f3; color: #9d174d; }
.spot-cat--landmark   { background: #e0f2fe; color: #0369a1; }
.spot-cat--ruins      { background: #f3f4f6; color: #374151; }
.spot-cat--theme_park { background: #fef3c7; color: #92400e; }
.spot-cat--aquarium   { background: #cffafe; color: #164e63; }
.spot-cat--zoo        { background: #ecfccb; color: #3f6212; }

/* ターゲットタグ */
.spot-targets {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-top: .35rem;
}
.spot-tag {
  font-size: .68rem;
  padding: 2px 7px;
  border-radius: 100px;
  background: #f3f4f6;
  color: #374151;
}

/* スポットグループ（area.php用） */
.spot-group {
  margin-bottom: 1.75rem;
}
.spot-group__label {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 .6rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.spot-group__count {
  font-size: .78rem;
  font-weight: 400;
  color: #9ca3af;
}

@media (max-width: 600px) {
  .spots-grid { grid-template-columns: 1fr 1fr; }
  .spots-grid--sm { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════
   温泉・スキー場 施設ページ
   ═══════════════════════════════════════════════ */

/* ヒーロー */
.facility-hero {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--color-border-tertiary);
  text-align: center;
}
.facility-hero--onsen   { background: linear-gradient(135deg,#7c2d12,#c2410c,#ea580c); color:#fff; }
.facility-hero--ski     { background: linear-gradient(135deg,#1e3a5f,#1d4ed8,#3b82f6); color:#fff; }
.facility-hero--airport { background: linear-gradient(135deg,#0c4a6e,#0369a1,#0284c7); color:#fff; }
.facility-hero--station { background: linear-gradient(135deg,#1e3a5f,#1d56db,#3b82f6); color:#fff; }
.facility-hero--chain   { background: linear-gradient(135deg,#1e1b4b,#4338ca,#6366f1); color:#fff; }
.facility-hero--station .facility-hero__badge { background:rgba(255,255,255,.2); color:#fff; }
.facility-hero--chain   .facility-hero__badge { background:rgba(255,255,255,.2); color:#fff; }

.facility-hero__badge {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  margin-bottom: .8rem;
  letter-spacing: .05em;
}
.facility-hero--onsen .facility-hero__badge { background: rgba(255,255,255,.2); color: #fff; }
.facility-hero--ski   .facility-hero__badge { background: rgba(255,255,255,.2); color: #fff; }
.facility-hero--airport .facility-hero__badge { background: rgba(255,255,255,.2); color: #fff; }

.facility-hero__title { font-size: 2rem; margin: 0 0 .3rem; color: #fff; font-weight: 800; }
@media (max-width: 480px) {
  .facility-hero { padding: 2rem 16px 1.5rem; }
  .facility-hero__title { font-size: 1.5rem; }
  .facility-hero__desc { font-size: .82rem; }
  .facility-hero__pref { font-size: .8rem; }
}
.facility-hero__pref  { color: rgba(255,255,255,.8); font-size: .9rem; margin: 0 0 .8rem; }
.facility-hero__desc  { font-size: .88rem; color: rgba(255,255,255,.85); margin: 0 auto; line-height: 1.8; max-width: 600px; }
.facility-hero__wiki  { color: rgba(255,255,255,.9); text-decoration: underline; }
.facility-hero__wiki:hover { color: #fff; }

/* 検索バー */
.facility-search-bar {
  background: var(--color-background-secondary);
  border-bottom: 1px solid var(--color-border-tertiary);
  padding: .75rem 0;
}
.facility-search-form__fields {
  display: flex;
  align-items: flex-end;
  gap: .75rem;
  flex-wrap: wrap;
}
.facility-search-form__fields label {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  font-size: .78rem;
  color: var(--color-text-secondary);
}
.facility-search-form__fields input,
.facility-search-form__fields select {
  border: 1px solid var(--color-border-secondary);
  border-radius: 6px;
  padding: .4rem .6rem;
  font-size: .9rem;
  background: var(--color-background-primary);
  color: var(--color-text-primary);
}

/* 結果メタ */
.facility-results-meta {
  font-size: .88rem;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}
.facility-results-meta strong { color: var(--color-text-primary); }

/* 距離バッジ（ホテルカード上） */
.hotel-card__dist-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .72rem;
  padding: 2px 8px;
  border-radius: 100px;
}
.hotel-card__img-wrap { position: relative; }

/* 施設一覧グリッド */
.facility-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .6rem;
}
.facility-list-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--color-border-tertiary);
  border-radius: 8px;
  padding: .75rem 1rem;
  background: var(--color-background-primary);
  transition: box-shadow .15s, transform .15s;
}
.facility-list-card:hover {
  box-shadow: 0 3px 12px rgba(0,0,0,.08);
  transform: translateY(-1px);
}
.facility-list-card--onsen { border-left: 3px solid #f87171; }
.facility-list-card--ski   { border-left: 3px solid #60a5fa; }

.facility-list-card__name {
  font-weight: 600;
  font-size: .92rem;
  color: var(--color-text-primary);
  margin-bottom: .25rem;
}
.facility-list-card__desc {
  font-size: .76rem;
  color: var(--color-text-secondary);
  margin-bottom: .3rem;
  line-height: 1.4;
}
.facility-list-card__meta {
  font-size: .7rem;
  color: var(--color-text-tertiary);
}

/* hotel.php の施設バッジ */
.near-facility-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .75rem;
  padding: 3px 10px;
  border-radius: 100px;
  text-decoration: none;
  margin: .2rem .2rem 0 0;
}
.near-facility-badge--onsen { background: #ffe4d6; color: #9d3b1a; }
.near-facility-badge--ski   { background: #dbeafe; color: #1e40af; }

@media (max-width: 600px) {
  .facility-search-form__fields { flex-direction: column; align-items: stretch; }
  .facility-list-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════
   ホテル一覧カード（Agoda風横型レイアウト）
   ═══════════════════════════════════════════════ */

/* ソートバー */
/* ── 共通コンテナ ───────────────────────── */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.hl-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* こだわりタグフィルター */
.hl-tag-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  padding: .8rem 0 .5rem;
  border-bottom: 0.5px solid var(--color-border-tertiary);
  margin-bottom: .5rem;
}
.hl-tag-filter__label {
  font-size: .85rem;
  color: var(--color-text-secondary);
  white-space: nowrap;
  font-weight: 500;
}
.hl-tag-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .4rem 1rem;
  background: var(--color-background-primary);
  border: 1px solid var(--color-border-secondary);
  border-radius: 100px;
  font-size: .82rem;
  cursor: pointer;
  color: var(--color-text-primary);
  transition: border-color .1s, background .1s, color .1s;
  white-space: nowrap;
}
.hl-tag-filter__btn:hover {
  border-color: #1d56db;
  background: #eff6ff;
  color: #1d56db;
}
.hl-tag-filter__btn.active {
  background: #1d56db;
  border-color: #1d56db;
  color: #fff;
}
.hl-tag-filter__btn--all { font-weight: 500; }
@media (max-width: 600px) {
  .hl-tag-filter {
    gap: .3rem;
    padding: .6rem 0 .4rem;
  }
  .hl-tag-filter__btn {
    font-size: .75rem;
    padding: .35rem .7rem;
  }
  .hl-sortbar {
    padding: .6rem 0 .7rem;
  }
  .hl-sortbar__count { font-size: .88rem; }
  .hl-sortbar__label { font-size: .82rem; }
  .hl-sortbar__select { font-size: .82rem; padding: .4rem .7rem; }
}

/* ソートバー（1.5倍） */
.hl-sortbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 0 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.hl-sortbar__count { font-size: 1rem; color: var(--color-text-secondary); }
.hl-sortbar__count strong { color: var(--color-text-primary); font-size: 1.1rem; }
.hl-sortbar__right { display: flex; align-items: center; gap: .6rem; }
.hl-sortbar__label { font-size: .95rem; color: var(--color-text-secondary); white-space: nowrap; font-weight: 500; }
.hl-sortbar__select {
  border: 1.5px solid var(--color-border-secondary);
  border-radius: 8px;
  padding: .5rem 1rem;
  font-size: .95rem;
  background: var(--color-background-primary);
  color: var(--color-text-primary);
  cursor: pointer;
  font-weight: 500;
}

/* カードリスト */
.hl-list {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.hl-empty {
  padding: 2rem;
  text-align: center;
  color: var(--color-text-secondary);
  border: 1px dashed var(--color-border-secondary);
  border-radius: 10px;
}

/* カード本体 */
.hl-card {
  display: grid;
  grid-template-columns: 220px 1fr 200px;
  background: var(--color-background-primary);
  border: 1px solid var(--color-border-tertiary);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow .15s;
}
.hl-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.1); }

/* 画像エリア */
.hl-card__img-wrap {
  position: relative;
  display: block;
  background: var(--color-background-secondary);
  overflow: hidden;
}
.hl-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hl-card__img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 148px;
  background: var(--color-background-tertiary);
}
.hl-card__img-count {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,.5);
  color: #fff;
  font-size: .7rem;
  padding: 2px 7px;
  border-radius: 100px;
}

/* メイン情報エリア */
.hl-card__body {
  padding: .9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-width: 0;
}
.hl-card__name {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}
.hl-card__name a {
  color: var(--color-text-primary);
  text-decoration: none;
}
.hl-card__name a:hover { color: #1d56db; text-decoration: underline; }

/* 星 */
.hl-card__stars { display: flex; gap: 2px; }
.hl-star {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #d1d5db;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.hl-star--full  { background: #f59e0b; }
.hl-star--half  { background: linear-gradient(to right, #f59e0b 50%, #d1d5db 50%); }
.hl-star--empty { background: #d1d5db; }

/* 場所 */
.hl-card__location {
  font-size: .78rem;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: .2rem;
  flex-wrap: wrap;
}
.hl-pin {
  display: inline-block;
  width: 8px;
  height: 10px;
  background: #ef4444;
  clip-path: polygon(50% 0%, 100% 38%, 80% 100%, 20% 100%, 0% 38%);
  flex-shrink: 0;
}

/* バッジ */
.hl-card__badges { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: auto; padding-top: .2rem; }
.hl-badge {
  font-size: .68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}
.hl-badge--preferred { background: #fef3c7; color: #78350f; }
.hl-badge--cancel    { background: #d1fae5; color: #065f46; }
.hl-badge--sale      { background: #dbeafe; color: #1e40af; }

/* 右エリア（価格・評価） */
.hl-card__right {
  padding: .9rem 1rem;
  border-left: 1px solid var(--color-border-tertiary);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  align-items: flex-end;
}

/* スコア */
.hl-card__score-wrap { text-align: right; }
.hl-card__score-label { font-size: .75rem; color: var(--color-text-secondary); margin-bottom: .2rem; }
.hl-card__score-row { display: flex; align-items: center; gap: .4rem; justify-content: flex-end; }
.hl-score-badge {
  font-size: .9rem;
  font-weight: 700;
  padding: .2rem .5rem;
  border-radius: 6px 6px 6px 0;
  color: #fff;
  min-width: 36px;
  text-align: center;
}
.score--high { background: #059669; }
.score--good { background: #0891b2; }
.score--ok   { background: #7c3aed; }
.score--low  { background: #6b7280; }
.hl-score-reviews { font-size: .7rem; color: var(--color-text-secondary); }

/* 価格 */
.hl-card__price-area { width: 100%; text-align: right; }
.hl-price-loading {
  font-size: .75rem;
  color: var(--color-text-tertiary);
  display: block;
  text-align: right;
}
.hl-price-unavailable {
  font-size: .75rem;
  color: var(--color-text-tertiary);
  background: var(--color-background-secondary);
  padding: .3rem .6rem;
  border-radius: 6px;
  display: block;
  text-align: center;
}

.hl-price {
  text-align: right;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 8px 12px;
  min-width: 110px;
}
.hl-price__original {
  font-size: .75rem;
  color: #9ca3af;
  text-decoration: line-through;
  display: block;
}
.hl-price__discount {
  display: inline-block;
  background: #ef4444;
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: .3rem;
}
.hl-price__current {
  font-size: 1.45rem;
  color: #ea580c;
  margin-top: .1rem;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.hl-price__current strong { font-weight: 800; }
.hl-price__unit { font-size: .65rem; color: #92400e; margin-top: 2px; display: block; }

.hl-card__tags { display: flex; flex-direction: column; align-items: flex-end; gap: .2rem; }
.hl-tag {
  font-size: .68rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: #d1fae5;
  color: #065f46;
}

/* 予約ボタン */
.hl-btn-book {
  display: block;
  width: 100%;
  text-align: center;
  background: #1d56db;
  color: #fff;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  padding: .55rem .8rem;
  border-radius: 8px;
  margin-top: auto;
  transition: background .15s;
}
.hl-btn-book:hover { background: #1441a8; }

/* パンくず */
.breadcrumb {
  font-size: .82rem;
  color: var(--color-text-secondary);
  margin-bottom: .75rem;
}
.breadcrumb a { color: #1d56db; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* 検索フォームバー（area / city / facility 共通） */
.search-bar-form {
  background: var(--color-background-secondary);
  border: 1px solid var(--color-border-tertiary);
  border-radius: 10px;
  padding: .85rem 1rem;
  margin-bottom: 1.25rem;
}
.search-bar-fields {
  display: flex;
  align-items: flex-end;
  gap: .75rem;
  flex-wrap: wrap;
}
.search-bar-fields label {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  font-size: .78rem;
  color: var(--color-text-secondary);
}
.search-bar-fields input,
.search-bar-fields select {
  border: 1px solid var(--color-border-secondary);
  border-radius: 6px;
  padding: .4rem .65rem;
  font-size: .88rem;
  background: var(--color-background-primary);
  color: var(--color-text-primary);
}

/* レスポンシブ */
@media (max-width: 700px) {
  .hl-card {
    grid-template-columns: 130px 1fr;
    grid-template-rows: auto auto;
  }
  .hl-card__right {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid var(--color-border-tertiary);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: .65rem 1rem;
  }
  .hl-card__img-wrap { min-height: 110px; }
}
@media (max-width: 480px) {
  .hl-card { grid-template-columns: 1fr; }
  .hl-card__img-wrap { height: 180px; }
  .hl-card__body { padding: .75rem; }
  .hl-card__name a { font-size: .95rem; }
  .hl-card__right { padding: .75rem; }
}

/* ═══════════════════════════════════════════════
   市区町村リンクバー（area.php）
   ═══════════════════════════════════════════════ */

.city-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1rem;
  background: var(--color-background-secondary);
  border-bottom: 1px solid var(--color-border-tertiary);
}
.city-links__label {
  font-size: .78rem;
  color: var(--color-text-secondary);
  white-space: nowrap;
}
.city-links__btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  text-decoration: none;
  font-size: .78rem;
  color: #1d56db;
  padding: .25rem .65rem;
  border: 1px solid #bfdbfe;
  border-radius: 100px;
  background: #eff6ff;
  transition: background .12s, border-color .12s;
}
.city-links__btn:hover {
  background: #dbeafe;
  border-color: #93c5fd;
}
.city-links__count {
  font-size: .68rem;
  color: var(--color-text-tertiary);
}

/* ═══════════════════════════════════════════════
   統一検索バー（area / city / facility 共通）
   .page-search
   ═══════════════════════════════════════════════ */

.page-search {
  background: var(--color-background-primary);
  border-bottom: 1px solid var(--color-border-tertiary);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.page-search__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.page-search__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.page-search__label {
  font-size: .95rem;
  font-weight: 700;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.page-search__input,
.page-search__select {
  font-family: inherit;
  font-size: 1.23rem;
  border: 1.5px solid var(--color-border-secondary);
  border-radius: 8px;
  padding: 0 18px;
  height: 62px;
  color: var(--color-text-primary);
  background: var(--color-background-primary);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.page-search__input:focus,
.page-search__select:focus {
  border-color: #1d56db;
  box-shadow: 0 0 0 3px rgba(29,86,219,.12);
}
.page-search__input--date { width: 211px; }
.page-search__select--num { width: 122px; }
.page-search__btn {
  font-family: inherit;
  font-size: 1.14rem;
  font-weight: 700;
  background: #1d56db;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 32px;
  height: 62px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.page-search__btn:hover { background: #1441a8; }
.page-search__btn-icon {
  width: 16px;
  height: 16px;
  opacity: .9;
}

/* ─── レスポンシブ ─── */
@media (max-width: 640px) {
  .page-search { padding: .75rem 12px; }
  .page-search__inner { gap: 8px; flex-wrap: wrap; }
  .page-search__input--date { width: 100%; }
  .page-search__select--num { width: calc(50% - 4px); }
  .page-search__field { width: calc(50% - 4px); }
  .page-search__btn { width: 100%; justify-content: center; margin-top: 4px; }
}
@media (max-width: 400px) {
  .page-search__field { width: 100%; }
  .page-search__input--date,
  .page-search__select--num { width: 100%; }
}

/* ═══════════════════════════════════════════════
   統一パンくず（全ページ共通）
   .pnav
   ═══════════════════════════════════════════════ */

.pnav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  font-size: .82rem;
  color: var(--color-text-secondary);
}
.pnav__item {
  display: flex;
  align-items: center;
  gap: 2px;
}
.pnav__link {
  color: #1d56db;
  text-decoration: none;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background .12s;
}
.pnav__link:hover {
  background: #eff6ff;
  text-decoration: underline;
}
.pnav__sep {
  color: var(--color-text-tertiary);
  font-size: .75rem;
  padding: 0 3px;
  user-select: none;
}
.pnav__current {
  color: var(--color-text-primary);
  font-weight: 500;
  padding: 2px 4px;
}

@media (max-width: 480px) {
  .pnav { font-size: .76rem; padding: 8px 16px 4px; }
}

/* ═══════════════════════════════════════════════
   hotel.php 周辺ホテル一覧
   ═══════════════════════════════════════════════ */

.similar-hotels {
  background: var(--color-background-secondary);
  border-top: 1px solid var(--color-border-tertiary);
  padding: 2rem 0 3rem;
  margin-top: 2rem;
}
.similar-hotels__heading {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
  color: var(--color-text-primary);
}

/* ═══════════════════════════════════════════════
   ホテル施設タグ
   ═══════════════════════════════════════════════ */

.hotel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-top: .5rem;
}
.hotel-tags--list {
  margin-top: .4rem;
}

.hotel-tag {
  display: inline-flex;
  align-items: center;
  font-size: .7rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
  white-space: nowrap;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

/* カテゴリ別カラー */
.hotel-tag--breakfast,
.hotel-tag--restaurant  { background: #fef9c3; color: #713f12; border-color: #fde68a; }

.hotel-tag--parking     { background: #f0fdf4; color: #14532d; border-color: #bbf7d0; }

.hotel-tag--wifi        { background: #eff6ff; color: #1e3a8a; border-color: #bfdbfe; }

.hotel-tag--convenience,
.hotel-tag--station     { background: #f0f9ff; color: #0c4a6e; border-color: #bae6fd; }

.hotel-tag--onsen       { background: #fff1f2; color: #881337; border-color: #fecdd3; }

.hotel-tag--pool,
.hotel-tag--gym,
.hotel-tag--spa         { background: #f0fdfa; color: #134e4a; border-color: #99f6e4; }

.hotel-tag--nosmoking   { background: #f0fdf4; color: #14532d; border-color: #bbf7d0; }
.hotel-tag--smoking     { background: #fafafa; color: #525252; border-color: #e5e5e5; }

.hotel-tag--pet         { background: #fff7ed; color: #7c2d12; border-color: #fed7aa; }

.hotel-tag--accessible  { background: #eef2ff; color: #312e81; border-color: #c7d2fe; }

.hotel-tag--shuttle     { background: #fdf4ff; color: #581c87; border-color: #e9d5ff; }

.hotel-tag--laundry,
.hotel-tag--roomservice { background: #f8fafc; color: #334155; border-color: #e2e8f0; }

@media (max-width: 600px) {
  .hotel-tag { font-size: .65rem; padding: 2px 7px; }
}

/* ═══════════════════════════════════════════════
   エリア別ホテル数ランキング（area.php 下部）
   ═══════════════════════════════════════════════ */

.area-city-ranking {
  max-width: 960px;
  margin: 2rem auto 1rem;
  padding: 0 20px;
}

.area-city-ranking__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 1rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid #e2e8f0;
}

.area-city-ranking__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .65rem;
  margin-bottom: 1.2rem;
}

.area-city-ranking__item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1rem;
  background: var(--color-background-primary);
  border: 1px solid var(--color-border-tertiary);
  border-radius: 10px;
  text-decoration: none;
  color: var(--color-text-primary);
  font-size: .9rem;
  transition: border-color .12s, background .12s, box-shadow .12s;
}
.area-city-ranking__item:hover {
  border-color: #93c5fd;
  background: #eff6ff;
  box-shadow: 0 2px 8px rgba(29,86,219,.08);
}

.area-city-ranking__rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1d56db;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}
/* 上位3件は金・銀・銅 */
.area-city-ranking__item:nth-child(1) .area-city-ranking__rank { background: #d97706; }
.area-city-ranking__item:nth-child(2) .area-city-ranking__rank { background: #9ca3af; }
.area-city-ranking__item:nth-child(3) .area-city-ranking__rank { background: #92400e; }

.area-city-ranking__name {
  flex: 1;
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.area-city-ranking__count {
  font-size: .8rem;
  color: #1d56db;
  font-weight: 700;
  white-space: nowrap;
}

.area-city-ranking__arrow {
  color: #94a3b8;
  font-size: 1rem;
}

.area-city-ranking__more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: #1d56db;
  text-decoration: none;
  font-weight: 600;
  padding: .4rem 0;
}
.area-city-ranking__more:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .area-city-ranking__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ═══════════════════════════════════════════════
   人気の観光地セクション（index.php）
   ═══════════════════════════════════════════════ */

.popular-spots-section {
  padding: 0 0 2rem;
}

.popular-spots-prefs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0 20px;
  max-width: 1120px;
  margin: 0 auto;
}

.popular-spots-group__heading {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1d56db;
  text-decoration: none;
  margin-bottom: .75rem;
  padding: .2rem 0;
}
.popular-spots-group__heading:hover { text-decoration: underline; }

.popular-spots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
}

.popular-spot-card {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: .85rem 1rem;
  background: var(--color-background-primary);
  border: 1px solid var(--color-border-tertiary);
  border-radius: 10px;
  text-decoration: none;
  color: var(--color-text-primary);
  transition: border-color .12s, box-shadow .12s;
}
.popular-spot-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 2px 10px rgba(29,86,219,.08);
}
.popular-spot-card__icon {
  font-size: 2.52rem;
  line-height: 1;
}
.popular-spot-card__name {
  font-size: 1.66rem;
  font-weight: 700;
  color: var(--color-text-primary);
}
.popular-spot-card__desc {
  font-size: 1.35rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .popular-spots-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .popular-spots-grid { grid-template-columns: 1fr 1fr; }
  .popular-spot-card { padding: .65rem .75rem; }
}

/* ═══════════════════════════════════════════════
   観光スポット詳細ヒーロー（spot.php）
   ═══════════════════════════════════════════════ */
.spot-hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d6a4f 100%);
  color: #fff;
  padding: 2.5rem 0 2rem;
  text-align: center;
}
.spot-hero__icon { font-size: 2.8rem; margin-bottom: .5rem; }
.spot-hero__title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 .4rem;
}
.spot-hero__pref {
  font-size: .92rem;
  opacity: .85;
  margin: 0 0 .8rem;
}
.spot-hero__desc {
  font-size: .88rem;
  opacity: .8;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
.spot-hero__wiki {
  color: #93c5fd;
  font-size: .82rem;
  margin-left: .5rem;
}

/* スポットページの地図ピン（赤） */
.map-spot-pin {
  background: #dc2626 !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(220,38,38,.4), 0 0 0 2px #fff !important;
  font-size: .8rem;
}
.map-spot-pin::after {
  border-top-color: #dc2626 !important;
}

/* ═══════════════════════════════════════════════
   チェーンページ
   ═══════════════════════════════════════════════ */
.chain-hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #1d56db 100%);
  color: #fff;
  padding: 2.2rem 0 1.8rem;
  text-align: center;
}
.chain-hero__badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  border-radius: 100px;
  padding: .25rem .9rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: .6rem;
}
.chain-hero__title {
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0 0 .5rem;
}
.chain-hero__meta {
  font-size: .88rem;
  opacity: .85;
  margin: 0;
}

/* チェーン一覧グリッド */
.chain-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .6rem;
}
.chain-list-card {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1rem;
  background: var(--color-background-primary);
  border: 1px solid var(--color-border-tertiary);
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-text-primary);
  transition: border-color .12s, background .12s;
}
.chain-list-card:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}
.chain-list-card__name {
  flex: 1;
  font-size: .9rem;
  font-weight: 600;
}
.chain-list-card__count {
  font-size: .78rem;
  color: #1d56db;
  font-weight: 700;
}
.chain-list-card__arrow {
  color: #94a3b8;
}

/* ═══════════════════════════════════════════════
   温泉から探すセクション（index.php）
   ═══════════════════════════════════════════════ */

.onsen-section {
  padding: 0 0 2rem;
}

.onsen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: .75rem;
  padding: 0 20px;
  max-width: 1120px;
  margin: 0 auto 0;
}

.onsen-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, #fff7ed 0%, #fff 100%);
  border: 1px solid #fed7aa;
  border-radius: 12px;
  text-decoration: none;
  color: var(--color-text-primary);
  transition: border-color .12s, box-shadow .12s;
}
.onsen-card:hover {
  border-color: #fb923c;
  box-shadow: 0 3px 12px rgba(251,146,60,.15);
}
.onsen-card__icon {
  font-size: 3.6rem;
  line-height: 1;
  flex-shrink: 0;
}
.onsen-card__body {
  flex: 1;
  min-width: 0;
}
.onsen-card__name {
  font-size: 1.71rem;
  font-weight: 700;
  color: #9a3412;
  margin-bottom: .2rem;
}
.onsen-card__pref {
  font-size: 1.35rem;
  color: var(--color-text-secondary);
  margin-bottom: .25rem;
}
.onsen-card__desc {
  font-size: 1.35rem;
  color: var(--color-text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.onsen-card__arrow {
  font-size: 1.1rem;
  color: #fb923c;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .onsen-grid { grid-template-columns: 1fr; }
}

.area-header__desc {
  font-size: .92rem;
  opacity: .85;
  max-width: 680px;
  margin: .5rem auto 0;
  line-height: 1.75;
}

/* ホテル詳細ページ タグ自動紹介文 */
.hotel-feature-summary {
  font-size: .88rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin: .75rem 0 0;
  padding: .7rem .9rem;
  background: var(--color-background-secondary);
  border-left: 3px solid #1d56db;
  border-radius: 0 6px 6px 0;
}
.hotel-feature-summary strong {
  color: var(--color-text-primary);
}

/* ═══════════════════════════════════════════════
   駅周辺ホテルページ（station.php）
   ═══════════════════════════════════════════════ */

.station-hero {
  background: linear-gradient(135deg, #0f2744 0%, #1d4ed8 100%);
  color: #fff;
  padding: 2.2rem 0 1.8rem;
  text-align: center;
}
.station-hero__inner { max-width: 700px; margin: 0 auto; padding: 0 20px; }
.station-hero__icon  { font-size: 2.5rem; margin-bottom: .4rem; }
.station-hero__title { font-size: 1.65rem; font-weight: 700; margin: 0 0 .4rem; }
.station-hero__pref  { font-size: .88rem; opacity: .8; margin: 0 0 .75rem; }
.station-hero__lines { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; }
.station-hero__line  {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 100px;
  padding: .2rem .75rem;
  font-size: .74rem;
  white-space: nowrap;
}

/* 駅ピン（緑） */
.map-station-pin {
  background: #16a34a !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(22,163,74,.4), 0 0 0 2px #fff !important;
  font-size: .75rem;
}
.map-station-pin::after { border-top-color: #16a34a !important; }

/* オートコンプリート 駅アイコン */
.suggest-type--station::before { content: '🚉 '; }
.suggest-type--hotel::before   { content: '🏨 '; }
.suggest-type--area::before    { content: '📍 '; }

/* ═══════════════════════════════════════════════
   エリアページ 観光地・温泉・スキー場セクション
   ═══════════════════════════════════════════════ */

.area-sub-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.area-sub-heading__more {
  font-size: .78rem;
  font-weight: 500;
  color: #1d56db;
  text-decoration: none;
  margin-left: auto;
}
.area-sub-heading__more:hover { text-decoration: underline; }

.area-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .6rem;
}

.area-info-card {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: .75rem .9rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: box-shadow .12s, border-color .12s;
}
.area-info-card:hover {
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.area-info-card__icon { font-size: 1.3rem; line-height: 1; }
.area-info-card__name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--color-text-primary);
}
.area-info-card__desc {
  font-size: .72rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* カテゴリ別テーマ */
.area-info-card--spot {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.area-info-card--spot:hover { border-color: #4ade80; }

.area-info-card--onsen {
  background: #fff7ed;
  border-color: #fed7aa;
}
.area-info-card--onsen:hover { border-color: #fb923c; }

.area-info-card--ski {
  background: #eff6ff;
  border-color: #bfdbfe;
}
.area-info-card--ski:hover { border-color: #60a5fa; }

@media (max-width: 600px) {
  .area-info-grid { grid-template-columns: 1fr 1fr; }
}

/* ── タグ絞り込みバー（area.php） ────────────────────── */
.area-tag-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  padding: .75rem 20px;
  max-width: 1120px;
  margin: 0 auto;
}
.area-tag-filter__label {
  font-size: .78rem;
  color: var(--color-text-secondary);
  white-space: nowrap;
}
.area-tag-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .3rem .8rem;
  background: var(--color-background-primary);
  border: 1px solid var(--color-border-secondary);
  border-radius: 100px;
  font-size: .78rem;
  text-decoration: none;
  color: var(--color-text-primary);
  transition: border-color .1s, background .1s;
  white-space: nowrap;
}
.area-tag-filter__btn:hover {
  border-color: #1d56db;
  background: #eff6ff;
  color: #1d56db;
}

/* 温泉・スキー場ページの地図ピン（オレンジ） */
.map-onsen-pin {
  background: #ea580c !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(234,88,12,.4), 0 0 0 2px #fff !important;
  font-size: .8rem;
}
.map-onsen-pin::after {
  border-top-color: #ea580c !important;
}

/* ═══════════════════════════════════════════════
   一覧ページ共通（chain_list / facility_list / spot_list）
   ═══════════════════════════════════════════════ */

/* ヒーロー */
.list-page-hero {
  color: #fff;
  padding: 2.4rem 20px 2rem;
  text-align: center;
}
.list-page-hero__icon  { font-size: 2.8rem; margin-bottom: .4rem; }
.list-page-hero__title { font-size: 1.7rem; font-weight: 700; margin: 0 0 .4rem; }
.list-page-hero__sub   { font-size: .9rem; opacity: .82; margin: 0; }

/* ラッパー */
.list-page-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 20px 3rem;
}

/* セクション（都道府県ごと） */
.list-page-section { margin-bottom: 2.5rem; }
.list-page-section__heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1d56db;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: .5rem;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.list-page-section__count {
  font-size: .8rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  margin-left: auto;
}

/* グリッド */
.list-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

/* カード */
.list-page-card {
  display: flex;
  align-items: stretch;
  background: var(--color-background-primary);
  border: 1px solid var(--color-border-tertiary);
  border-radius: 12px;
  text-decoration: none;
  color: var(--color-text-primary);
  overflow: hidden;
  transition: box-shadow .14s, border-color .14s;
}
.list-page-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  border-color: #93c5fd;
}

/* カード画像 */
.list-page-card__img {
  width: 90px;
  min-height: 90px;
  flex-shrink: 0;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.list-page-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.list-page-card__img--noimg {
  font-size: 2rem;
  color: #94a3b8;
}

/* カード本文 */
.list-page-card__body {
  flex: 1;
  padding: .75rem .8rem;
  min-width: 0;
}
.list-page-card__name {
  font-size: .97rem;
  font-weight: 700;
  margin-bottom: .3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.list-page-card__meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .3rem;
  flex-wrap: wrap;
}
.list-page-card__pref   { font-size: .75rem; color: var(--color-text-secondary); }
.list-page-card__count  { font-size: .75rem; color: #1d56db; font-weight: 600; }
.list-page-card__score  { font-size: .75rem; color: #d97706; font-weight: 600; }
.list-page-card__desc   {
  font-size: .75rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: .25rem;
}
.list-page-card__sample {
  font-size: .72rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 矢印 */
.list-page-card__arrow {
  display: flex;
  align-items: center;
  padding: 0 .75rem;
  color: #cbd5e1;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.list-page-card:hover .list-page-card__arrow { color: #1d56db; }

@media (max-width: 600px) {
  .list-page-grid { grid-template-columns: 1fr; }
  .list-page-card__img { width: 76px; min-height: 76px; }
}

/* ホテル詳細ページの自ホテルピン（目立つ青） */
.map-hotel-main-pin {
  background: #1d56db !important;
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(29,86,219,.45), 0 0 0 3px #fff !important;
  font-size: .8rem;
  font-weight: 700;
}
.map-hotel-main-pin::after { border-top-color: #1d56db !important; }

/* ═══════════════════════════════════════════════
   地方グループ（index.php エリアセクション）
   ═══════════════════════════════════════════════ */

.region-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0 20px;
  max-width: 1120px;
  margin: 0 auto 1rem;
}

.region-group__header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .6rem;
}
.region-group__icon  { font-size: 1.2rem; }
.region-group__name  {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  text-decoration: none;
}
.region-group__name:hover { color: #1d56db; text-decoration: underline; }
.region-group__total {
  font-size: .78rem;
  color: var(--color-text-secondary);
  margin-left: auto;
}

.area-grid--compact {
  gap: .4rem;
}
.area-grid--compact .area-card {
  padding: .5rem .7rem;
}
.area-grid--compact .area-card-name {
  font-size: .85rem;
}
.area-grid--compact .area-card-count {
  font-size: .7rem;
}

@media (max-width: 600px) {
  .region-list { padding: 0 12px; gap: 1.2rem; }
}

/* ═══════════════════════════════════════════════
   ① 閲覧履歴セクション
   ═══════════════════════════════════════════════ */
.history-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem 20px 2rem;
}
.history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.history-section__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
}
/* 横スクロール */
.history-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.history-scroll::-webkit-scrollbar { display: none; }
/* ホテルカード */
.history-card {
  text-decoration: none;
  background: var(--color-background-primary);
  border: 0.5px solid var(--color-border-tertiary);
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  width: 160px;
  transition: box-shadow .12s, transform .12s;
}
.history-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  transform: translateY(-2px);
}
.history-card__img-wrap {
  width: 100%;
  height: 110px;
  overflow: hidden;
}
.history-card__img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
  transition: transform .2s;
}
.history-card:hover .history-card__img { transform: scale(1.04); }
.history-card__img-wrap--blank {
  background: var(--color-background-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.history-card__body {
  padding: 9px 10px 10px;
}
.history-card__name {
  font-size: .83rem;
  font-weight: 600;
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.history-card__pref {
  font-size: .72rem;
  color: var(--color-text-secondary);
}
.history-card__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 3px;
}
.history-card__score-num {
  font-size: .8rem;
  font-weight: 700;
  color: #1d4ed8;
  background: #eff6ff;
  padding: 1px 5px;
  border-radius: 4px;
}
.history-card__score-label {
  font-size: .72rem;
  color: var(--color-text-secondary);
}
.history-card__stars {
  font-size: .72rem;
  color: #f59e0b;
  letter-spacing: -.5px;
}

/* ═══════════════════════════════════════════════
   ③ トップに戻るボタン
   ═══════════════════════════════════════════════ */
#scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: #1d56db;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 1000;
}
#scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}
#scroll-top-btn:hover { transform: translateY(-2px); }

/* ═══════════════════════════════════════════════
   ④ スケルトンローディング
   ═══════════════════════════════════════════════ */
.hl-skeleton {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0;
}
.hl-skeleton__line {
  background: linear-gradient(90deg, var(--color-background-secondary) 25%, var(--color-background-tertiary) 50%, var(--color-background-secondary) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
  border-radius: 4px;
}
.hl-skeleton__line--price { height: 22px; width: 80px; }
.hl-skeleton__line--sub   { height: 14px; width: 60px; }
@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════
   ⑤ SNSシェアボタン
   ═══════════════════════════════════════════════ */
.share-btns { margin: 12px 0 0; }
.share-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .12s;
  border: none;
}
.share-btn:hover { opacity: .8; }
.share-btn--x    { background: #000; color: #fff; }
.share-btn--line { background: #06c755; color: #fff; }
.share-btn--copy { background: var(--color-background-secondary); color: var(--color-text-primary); border: 1px solid var(--color-border-secondary); }

/* ═══════════════════════════════════════════════
   ⑥ 口コミスコアバー
   ═══════════════════════════════════════════════ */
.hl-score-bar {
  width: 100%;
  height: 4px;
  background: var(--color-border-tertiary);
  border-radius: 2px;
  margin-top: 5px;
  overflow: hidden;
}
.hl-score-bar__fill {
  height: 100%;
  border-radius: 2px;
  transition: width .4s ease;
}
.hl-score-bar__fill.score--high { background: #059669; }
.hl-score-bar__fill.score--good { background: #0284c7; }
.hl-score-bar__fill.score--ok   { background: #d97706; }
