/* ===========================================================================
   b hotel - Booking セクション (空室検索 + 料金表示)
   既存サイトのデザイン言語に合わせています:
     フォント: Noto Sans JP / Dancing Script(.section-title)
     カラー: #374151 / #4b5563 / #6b7280 / #9ca3af / #111827
   =========================================================================== */

/* 言語切替（ヘッダー右上）: 「🌐 Language ▼」ボタン。
   透明な<select>を上に重ね、クリックでネイティブの一覧が開く */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #111827;
  background: #fff;
  border: 1px solid #111827;
  border-radius: 0.25rem;
  padding: 0.45rem 0.8rem;
  line-height: 1;
  transition: background 0.15s ease;
}
.lang-btn svg { width: 1.05rem; height: 1.05rem; }
.lang-btn .lang-btn-caret { width: 0.85rem; height: 0.85rem; }
.lang-switcher:hover .lang-btn { background: #f3f4f6; }
.lang-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 16px; /* iOSでの自動ズーム防止 */
}

.booking-section {
  padding: 6rem 0;
  background-color: #f9fafb;
  scroll-margin-top: 5rem; /* 固定ヘッダー分のアンカー位置調整 */
}

.booking-section .section-title {
  justify-content: center;
}

.booking-section .section-description {
  text-align: center;
  margin-bottom: 3rem;
}

/* ベストレート保証の一行（現在は非表示・HTML側でコメントアウト中）。
   レートパリティの運用体制が整い次第、HTMLの1行を戻せばこのスタイルで表示される */
.best-rate {
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.82rem;
  color: #5b6070;
  letter-spacing: 0.02em;
  margin: -2rem auto 2.6rem;
}
.best-rate small { display: block; margin-top: 0.25rem; font-size: 0.72rem; color: #6b7280; }

/* --- 検索フォーム --- */
.booking-form {
  max-width: 56rem;
  margin: 0 auto 3rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  gap: 1rem;
  align-items: end;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.booking-field label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.8rem;
  color: #5b6070;
  letter-spacing: 0.02em;
}

.booking-field input,
.booking-field select {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  color: #374151;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background: #fff;
  transition: border-color 0.2s ease;
}

.booking-field input:focus,
.booking-field select:focus {
  outline: none;
  border-color: #5b6070;
}

.booking-field-area {
  grid-column: 1 / -1;
}

.booking-field select {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  color: #374151;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background: #fff;
}

.booking-guests {
  display: flex;
  gap: 0.5rem;
}

.booking-guests select {
  width: 100%;
}

/* ---- 人数ステッパー（＋/−）（2026-08-18 レビュー反映） ----
   16項目のプルダウンの代わりに＋/−で人数を増減するUI。
   値の保管用<select>は .gs-native で非表示にする。 */
.gs-native { display: none !important; }
.guest-stepper {
  flex: 1;
  display: flex;
  align-items: stretch;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background: #fff;
  overflow: hidden;
  min-height: 2.6rem;
}
.gs-btn {
  width: 2.4rem;
  border: none;
  background: #fff;
  font-size: 1.05rem;
  line-height: 1;
  color: #374151;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: 'Noto Sans JP', sans-serif;
}
.gs-btn:hover:not(:disabled) { background: #f3f4f6; }
.gs-btn:disabled { color: #d1d5db; cursor: default; }
.gs-value {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.92rem;
  color: #374151;
  white-space: nowrap;
  min-width: 4.2em;
  padding: 0 0.15rem;
}
/* ヒーロー検索バー内は入力欄の高さ(2.6rem)・角丸に合わせる */
.hero-search-guests .guest-stepper { height: 2.6rem; min-height: 2.6rem; border-radius: 0.55rem; }

.booking-submit {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  padding: 0.75rem 2rem;
  border: 1px solid #6b7687;
  background: #6b7687;
  color: #fff;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  height: fit-content;
}

.booking-submit:hover {
  background: #565f6d;
  border-color: #565f6d;
}

.booking-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* --- 日付レンジカレンダー（1つのカレンダーでイン→アウトを連続選択） --- */
.drp-anchor { position: relative; }
.drp-input { cursor: pointer; background: #fff; }
.drp {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 60;
  width: 300px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  padding: 0.9rem;
  font-family: 'Noto Sans JP', sans-serif;
}
.drp-guide {
  font-size: 0.78rem;
  color: #5b6070;
  text-align: center;
  margin-bottom: 0.5rem;
}
.drp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}
.drp-month { font-size: 0.9rem; font-weight: 700; color: #111827; }
.drp-nav {
  border: none;
  background: transparent;
  font-size: 1.15rem;
  color: #5b6070;
  cursor: pointer;
  padding: 0.1rem 0.6rem;
  border-radius: 0.4rem;
}
.drp-nav:hover { background: #f3f4f6; }
.drp-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.drp-wd {
  text-align: center;
  font-size: 0.7rem;
  color: #5b6070;
  padding: 0.2rem 0;
}
.drp-day {
  border: none;
  background: transparent;
  font-size: 0.82rem;
  color: #374151;
  padding: 0.42rem 0;
  border-radius: 0.4rem;
  cursor: pointer;
}
.drp-day:hover:not(:disabled) { background: #f3f4f6; }
.drp-day:disabled { color: #d1d5db; cursor: default; }
.drp-day.drp-start,
.drp-day.drp-end { background: #6b7687; color: #fff; font-weight: 700; }
.drp-day.drp-mid { background: #eef1f5; border-radius: 0; }

/* --- 子供の年齢入力（フォーム下部の全幅の行として表示） --- */
.child-ages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
/* 検索フォーム（グリッド）内では全列ぶち抜きの行にする */
.booking-form .child-ages { grid-column: 1 / -1; }
/* ヒーロー検索（flex）内では折り返して全幅の行にする */
.hero-search .child-ages { width: 100%; }
.child-ages-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.75rem;
  color: #5b6070;
  margin-right: 0.3rem;
}
.child-age {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.85rem;
  color: #374151;
  padding: 0.35rem 0.4rem;
  border: 1px solid #d1d5db;
  border-radius: 0.4rem;
  background: #fff;
}

/* --- 絞り込みフィルター（検索結果の上のバー） --- */
.booking-filters {
  max-width: 72rem;
  margin: 0 auto 1.4rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 0.8rem 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  font-family: 'Noto Sans JP', sans-serif;
}
.bk-filter-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #111827;
}
.bk-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #5b6070;
}
.bk-filter select {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.85rem;
  color: #374151;
  padding: 0.35rem 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.4rem;
  background: #fff;
}
.bk-filter-clear {
  font-size: 0.78rem;
  color: #5b6070;
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 0.2rem 0.3rem;
}
.bk-filter-clear:hover { color: #374151; }
.bk-filter-sort { margin-left: auto; }
/* 絞り込みの中身（PC では従来どおり横並び。外枠 .booking-filters の padding/gap をそのまま使う） */
.bk-filter-body { display: contents; }
.bk-filter-toggle { display: none; }
@media (max-width: 768px) {
  /* スマホ: 1行のボタンに折りたたむ（2026-10-06） */
  .booking-filters { padding: 0; gap: 0; display: block; }
  .bk-filter-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #111827;
    cursor: pointer;
    text-align: left;
  }
  .bk-filter-toggle-badge { margin-left: auto; font-weight: 400; font-size: 0.78rem; color: #5b6070; }
  .bk-filter-toggle-arrow { transition: transform 0.2s ease; color: #5b6070; }
  .booking-filters.is-open .bk-filter-toggle-arrow { transform: rotate(180deg); }
  .bk-filter-body {
    display: none;
    padding: 0 1rem 0.9rem;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem 0.9rem;
    border-top: 1px solid #eef0f3;
    padding-top: 0.8rem;
  }
  .booking-filters.is-open .bk-filter-body { display: flex; }
  .bk-filter-body .bk-filter-title { display: none; } /* ボタンに表示済み */
  .bk-filter-body .bk-filter-sort { margin-left: 0; width: 100%; }
}
.bk-filter-count {
  font-size: 0.8rem;
  color: #374151;
}

/* --- 状態表示 (ローディング / 空 / エラー) --- */
.booking-status {
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  color: #5b6070;
  font-size: 0.95rem;
  padding: 2rem 0;
}

.booking-status.error {
  color: #b91c1c;
}

.booking-summary {
  max-width: 72rem;
  margin: 0 auto 1.5rem;
  font-family: 'Noto Sans JP', sans-serif;
  color: #374151;
  font-size: 0.95rem;
}

/* --- 結果グリッド --- */
/* 検索中プログレスバー（不確定・流れるアニメーション） */
.booking-progress {
  max-width: 72rem;
  margin: 0.9rem auto 0;
  height: 4px;
  background: #e5e7eb;
  border-radius: 9999px;
  overflow: hidden;
  display: none;
}
.booking-progress-bar {
  height: 100%;
  width: 40%;
  background: #4b5563;
  border-radius: 9999px;
  animation: bkProgress 1.1s ease-in-out infinite;
}
@keyframes bkProgress {
  0% { margin-left: -40%; }
  100% { margin-left: 100%; }
}

.booking-results {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

/* 「さらに表示」（20件ずつの段階表示） */
.booking-more {
  text-align: center;
  margin: 1.75rem auto 0;
  display: none;
}
.booking-more-count {
  color: #5b6070;
  font-size: 0.82rem;
  margin: 0 0 0.75rem;
}
.booking-more-btn {
  background: #fff;
  border: 1px solid #4b5563;
  color: #374151;
  border-radius: 9999px;
  padding: 0.8rem 2.6rem;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.booking-more-btn:hover { background: #4b5563; color: #fff; }

.booking-card {
  cursor: pointer; /* カード全体で詳細を開く（2026-10-06） */
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.booking-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.booking-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f3f4f6;
}

.booking-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.booking-card:hover .booking-card-image img {
  transform: scale(1.05);
}

.booking-card-rating {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  color: #374151;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.78rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.booking-card-body {
  padding: 1.1rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.booking-card-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: #111827;
  margin: 0 0 0.3rem;
}

.booking-card-meta {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.82rem;
  color: #5b6070;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.booking-card-price {
  margin-top: auto;
  font-family: 'Noto Sans JP', sans-serif;
}

.booking-card-total {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}

.booking-card-total span {
  font-size: 0.8rem;
  font-weight: 400;
  color: #5b6070;
}

.booking-card-nightly {
  font-size: 0.8rem;
  color: #5b6070;
  margin-top: 0.2rem;
}

.booking-card-fxnote {
  font-size: 0.75rem;
  color: #5b6070;
  margin-top: 0.3rem;
}

.booking-card-cta {
  margin-top: 1rem;
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  border: 1px solid #9ca3af;
  color: #374151;
  background: transparent;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.booking-card-cta:hover {
  background: #f3f4f6;
}

/* --- 建物まとめ表示 (2026-08-17追加) ------------------------------------
   検索結果の建物カード（左上の空室数ラベル）と、建物クリックで開く
   部屋一覧ビュー。配色・角丸・余白は既存カードと同一の設計。 */

/* 建物カード左上の空室数（★評価ラベルと同じ白い丸型） */
.booking-card-count {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  color: #374151;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.78rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

/* 部屋一覧ビュー（結果グリッドの位置に差し替え表示） */
.bk-bld {
  display: none;
  scroll-margin-top: 6rem; /* 固定ヘッダー分 */
}

.bk-bld-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.88rem;
  color: #374151;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  margin-bottom: 1.2rem;
  transition: background 0.2s ease;
}
.bk-bld-back:hover { background: #f3f4f6; }

.bk-bld-head { margin-bottom: 1.2rem; }
.bk-bld-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.3rem;
}
.bk-bld-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.85rem;
  color: #5b6070;
  margin: 0;
}

/* 部屋一覧モーダル（建物カードの「お部屋を選ぶ」で開く重ね窓）。
   既存の詳細・予約モーダル(z-index:100)より下に重ねるため、部屋を選ぶと
   予約モーダルがこの上に開き、閉じるとこの一覧に戻れる。 */
.bk-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
  z-index: 95;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 4.5rem 1rem 2rem;
  overflow-y: auto;
}
.bk-modal-overlay.show { display: flex; }
.bk-modal {
  background: #f9fafb;
  border-radius: 0.9rem;
  max-width: 46rem;
  width: 100%;
  padding: 1.4rem 1.4rem 1.6rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}
.bk-modal-head {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 0.3rem;
}
.bk-modal-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}
.bk-modal-close {
  margin-left: auto;
  border: none;
  background: transparent;
  font-size: 1.3rem;
  color: #5b6070;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
}
.bk-modal-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.83rem;
  color: #5b6070;
  margin: 0 0 1rem;
}
@media (max-width: 480px) {
  .bk-modal-overlay { padding: 3.5rem 0.6rem 1.2rem; }
  .bk-modal { padding: 1.1rem 0.9rem 1.2rem; }
}

.bk-rooms {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bk-room {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  transition: box-shadow 0.25s ease;
  cursor: pointer;
}
.bk-room:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07); }

.bk-room-thumb {
  position: relative;
  background: #f3f4f6;
  min-height: 160px;
}
.bk-room-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bk-room-body {
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}
.bk-room-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 0.98rem;
  color: #111827;
  margin: 0;
  line-height: 1.5;
}
.bk-room-meta {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.8rem;
  color: #5b6070;
  margin: 0;
}
.bk-room-foot {
  margin-top: auto;
  padding-top: 0.6rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.bk-room-cta {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.85rem;
  padding: 0.55rem 1.4rem;
  border: 1px solid #6b7687;
  background: #6b7687;
  color: #fff;
  border-radius: 0.5rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.bk-room-cta:hover { background: #565f6d; }

@media (max-width: 640px) {
  .bk-room { grid-template-columns: 1fr; }
  .bk-room-thumb { aspect-ratio: 16 / 9; }
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
  .booking-form {
    grid-template-columns: 1fr 1fr;
  }
  .booking-form .booking-field-guests {
    grid-column: 1 / -1;
  }
  .booking-submit {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .booking-form {
    grid-template-columns: 1fr;
  }
}

/* --- A-3c 物件カード簡素化・案B (2026-09-08 会議後修正) --------------------
   人数・寝室のアイコンと価格を1行に左右配置。align-items:center と
   line-height:1 で、アイコンと価格数字の縦位置を揃える */
.booking-card-row {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}
.booking-card-row .booking-card-price { margin-top: 0; text-align: right; }
.booking-card-row .booking-card-total { line-height: 1; }
.bc-icons {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  color: #5b6070;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
}
.bc-ico { display: inline-flex; align-items: center; position: relative; cursor: default; }
.bc-ico svg {
  width: 20px;
  height: 20px;
  stroke: #9ca3af;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-right: 0.3rem;
  flex: none;
}
/* 寝室アイコンは横長（屋根＋ランプ＋ベッド）。線幅は座標系が広い分やや太めに */
.bc-ico svg.bc-svg-bed { width: 32px; height: 25px; stroke-width: 1.9; }
/* ホバー時のツールチップ（「最大人数」「寝室数」）。data-tip の文言を表示 */
.bc-ico::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%) translateY(3px);
  background: #374151;
  color: #fff;
  font-size: 0.7rem;
  line-height: 1;
  padding: 0.32rem 0.55rem;
  border-radius: 0.35rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 3;
}
.bc-ico::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #374151;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
  z-index: 3;
}
.bc-ico:hover::after, .bc-ico:focus::after { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.bc-ico:hover::before, .bc-ico:focus::before { opacity: 1; visibility: visible; }

/* --- 2026-10-02 レビュー反映（S2 表示名のサブコピー / S5 スマホの条件折りたたみ） --- */
.booking-card-sub,
.bk-room-sub {
  margin: -0.1rem 0 0.4rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #5b6070;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.booking-compact { display: none; }
@media (max-width: 768px) {
  .booking-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 1rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.6rem;
    background: #fff;
  }
  .booking-compact[hidden] { display: none; }
  .booking-compact-text { margin: 0; font-size: 0.9rem; color: #111827; line-height: 1.5; }
  .booking-compact-btn {
    flex: none;
    padding: 0.45rem 0.9rem;
    border: 1px solid #374151;
    border-radius: 999px;
    background: transparent;
    color: #374151;
    font-size: 0.85rem;
    font-family: 'Noto Sans JP', sans-serif;
    cursor: pointer;
  }
  /* 検索後は見出し・説明・フォームを畳んで結果を先頭に出す。「変更」で元に戻る */
  body.booking-collapsed .booking-section .section-title,
  body.booking-collapsed .booking-section .section-description,
  body.booking-collapsed .booking-section .best-rate,
  body.booking-collapsed #bookingForm { display: none; }
}
