/* =============================================
   1. リセット・基本
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  background: #f3f8fb;
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  text-decoration: none;
}



/* =============================================
   3. メインエリア
   ============================================= */
.index-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

/* =============================================
   4. カードグリッド
   ============================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* =============================================
   5. カード
   ============================================= */
.card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

/* =============================================
   6. カード画像エリア
   ============================================= */
.card-image-wrap {
  position: relative;
  overflow: hidden;
}

.card-image-wrap img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* =============================================
   7. バッジ
   ============================================= */
.badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.58rem;
  font-weight: bold;
  color: #fff;
  line-height: 1.4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* =============================================
   8. カード本文
   ============================================= */
.card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.prefecture {
  font-size: 0.78rem;
  color: #666;
}

.hotel-name {
  font-size: 0.95rem;
  font-weight: bold;
  line-height: 1.45;
  min-height: 2.9em;
}

.conditions {
  font-size: 0.78rem;
  color: #666;
}

/* =============================================
   9. 割引表示
   ============================================= */
.discount {
  margin: 2px 0 4px;
}

.discount-value {
  font-size: 1.9rem;
  font-weight: bold;
  color: #cc0000;
  line-height: 1;
}

.discount-unit {
  font-size: 0.95rem;
  font-weight: bold;
  color: #cc0000;
}

.discount-prefix {
  font-size: 0.95rem;
  font-weight: bold;
  color: #cc0000;
  margin-right: 2px;
}

/* =============================================
   10. タグ
   ============================================= */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 4px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: bold;
  white-space: nowrap;
}

.tag--stay {
  background: #ffd6d6;
  color: #666;
  border: none;
}

.tag--tour {
  background: #c1f2f9;
  color: #666;
  border: none;
}

.tag--store {
  background: #eceff1;
  color: #666;
  border: none;
}

/* =============================================
   11. ボタンエリア
   ============================================= */
.card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.btn-primary {
  display: block;
  text-align: center;
  padding: 11px;
  background: #dc3545;
  color: #fff;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: #b02a37;
}

.btn-secondary {
  display: block;
  text-align: center;
  padding: 9px;
  background: #fff;
  color: #696969;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: bold;
  border: 1px solid #a9a9a9;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
  background: #d3d3d3;
  color: #fff;
}

/* =============================================
   12. ローディング・空・エラー
   ============================================= */
.loading {
  text-align: center;
  padding: 60px 0;
  color: #999;
  font-size: 0.95rem;
}

.empty {
  text-align: center;
  padding: 60px 0;
  color: #999;
  font-size: 0.95rem;
}

.error {
  text-align: center;
  padding: 60px 0;
  color: #cc0000;
  font-size: 0.95rem;
}


/* =============================================
   14. レスポンシブ
   ============================================= */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .discount-value {
    font-size: 1.6rem;
  }
  .site-header__inner {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .card-image-wrap img {
    height: 200px;
  }
  .hotel-name {
    font-size: 1rem;
    min-height: unset;
  }
  .discount-value {
    font-size: 1.8rem;
  }
  .site-header__title {
    font-size: 1.1rem;
  }
  .site-header__sub {
    font-size: 0.85rem;
  }
  .btn-primary {
    font-size: 1rem;
    padding: 13px;
  }
  .btn-secondary {
    font-size: 0.9rem;
    padding: 11px;
  }
}

/* =============================================
   15. 絞り込みパネル
   ============================================= */
.filter-panel {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.filter-divider {
  border-top: 1px solid #eee;
  margin: 16px 0;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.filter-row__label {
  font-size: 0.9rem;
  font-weight: bold;
  color: #333;
  min-width: 72px;
  flex-shrink: 0;
  padding-top: 0;
}

/* 旅行形態ラジオ */
.filter-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.filter-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.9rem;
}

.filter-radio input[type="radio"] {
  display: none;
}

.filter-radio__mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background: #fff;
  display: inline-block;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.filter-radio input[type="radio"]:checked + .filter-radio__mark {
  background: #dc3545;
  border-color: #dc3545;
}

.filter-radio__label {
  color: #333;
}

/* その他チェックボックス */
.filter-other-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.9rem;
}

.filter-checkbox input[type="checkbox"] {
  display: none;
}

.filter-checkbox__mark {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  border: 2px solid #ccc;
  background: #fff;
  display: inline-block;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
}

.filter-checkbox input[type="checkbox"]:checked + .filter-checkbox__mark {
  background: #dc3545;
  border-color: #dc3545;
}

.filter-checkbox input[type="checkbox"]:checked + .filter-checkbox__mark::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 0px;
  width: 5px;
  height: 10px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.filter-checkbox__label {
  color: #333;
}

/* 目的地エリア */
.filter-area-group {
  flex: 1;
  width: 100%;
  min-width: 0;
}

.filter-region {
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  margin-bottom: 6px;
  overflow: hidden;
  width: 100%;
}

.filter-region__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f5f8ff;
  cursor: pointer;
}

.filter-region__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.filter-region__label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #dc3545;
  cursor: pointer;
}

.filter-region__toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-icon {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #dc3545;
  border-bottom: 2px solid #dc3545;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-bottom: 3px;
}

.filter-region__prefs {
  display: none;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 12px 16px;
  background: #fff;
}

.filter-region__prefs:not([hidden]) {
  display: flex;
}

.filter-pref {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  color: #333;
  cursor: pointer;
  white-space: nowrap;
}

.filter-pref input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #dc3545;
  cursor: pointer;
}

/* アクションバー */
.filter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.filter-result-count {
  font-size: 0.9rem;
  color: #666;
}

.filter-result-count strong {
  color: #dc3545;
  font-size: 1.1rem;
}

.btn-filter-reset {
  padding: 7px 18px;
  background: #fff;
  color: #666;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-filter-reset:hover {
  background: #f0f0f0;
}


/* =============================================
   16. 絞り込みパネル レスポンシブ
   ============================================= */
@media (max-width: 768px) {
  .filter-panel {
    padding: 16px;
  }
  .filter-row {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .filter-row__label {
    min-width: 56px;
  }
  .filter-row--area {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .filter-radio-group {
    gap: 10px 16px;
  }
}

@media (max-width: 480px) {
  .filter-pref {
    font-size: 0.82rem;
  }
  .filter-region__prefs {
    gap: 6px 12px;
  }
}

/* =============================================
   17. パンくず
   ============================================= */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.breadcrumb::-webkit-scrollbar {
  display: none;
}
.breadcrumb {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  font-size: 0.75rem;
  color: #666;
  white-space: nowrap;
}

.breadcrumb li + li::before {
  content: '>';
  margin-right: 4px;
  color: #999;
}

.breadcrumb a {
  color: #3498db;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
  color: #2176ae;
}



/* =============================================
   19. メインビジュアル
   ============================================= */
.main-visual {
  width: 100%;
  height: 220px;
  background-image: url('https://www.jtb.co.jp/myjtb/campaign/coupon/assets/images/l-mv__bg.png');
  background-size: 80px auto;
  background-repeat: repeat;
  background-position: center center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: -30px;
}

.main-visual__title {
  margin: 0;
  padding: 0;
  line-height: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-visual__title img {
  display: block;
  max-height: 165px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
}



/* =============================================
   20. セクション見出し
   ============================================= */
.section-heading {
  text-align: center;
  margin: 40px 0 24px;
}

.section-heading__title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-heading__title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #dc3545;
  margin: 8px auto 0;
}

/* =============================================
   21. レスポンシブ追加（MV部分）
   ============================================= */
@media (max-width: 768px) {
  .page-title {
    font-size: 1rem;
  }
  .section-heading__title {
    font-size: 1.2rem;
  }
  .main-visual {
    height: 160px;
  }
  .main-visual__title img {
    max-height: 120px;
  }
}

@media (max-width: 480px) {
  .main-visual {
    height: 120px;
  }
  .main-visual__title img {
    max-height: 90px;
  }
}

/* =============================================
   22. 関連リンク（カード一覧下）
   ============================================= */
.related-link-wrap {
  max-width: 480px;
  margin: 40px auto 0;
  padding: 0 16px;
}

.related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 24px;
  border: 2px solid #dc3545;
  border-radius: 50px;
  background: #fff;
  color: #dc3545;
  font-weight: bold;
  font-size: 1.15rem;
  transition: background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.related-link:hover {
  background: #dc3545;
  color: #fff;
}

.related-link__icon {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}

.related-link__text {
  flex: 1;
  text-align: center;
}

.related-link__arrow {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .related-link-wrap {
    max-width: 100%;
  }
  .related-link {
    font-size: 0.88rem;
    padding: 16px 18px;
  }
}
/* =============================================
   23. ページトップへ戻るボタン
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(207, 240, 255, .38);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, background 0.2s ease;
  z-index: 1000;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: rgba(207, 240, 255, .6);
}

.back-to-top__arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #2176ae;
  border-right: 2px solid #2176ae;
  transform: rotate(-45deg);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
}

/* =============================================
   24. クーポン終了時の案内
   ============================================= */
.campaign-ended {
  text-align: center;
  padding: 60px 16px;
  color: #666;
  font-size: 1.1rem;
  font-weight: bold;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.campaign-ended__text {
  line-height: 1.6;
}

