@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* カラーパレット */
  --color-primary: #0891b2;
  --color-primary-light: #06b6d4;
  --color-primary-dark: #0e7490;
  --color-accent: #f59e0b;
  --color-accent-light: #fbbf24;
  --color-nature: #10b981;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-700: #374151;
  --color-gray-900: #111827;
  /* スペーシング */
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
}

body {
  font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-gray-900);
  background: var(--color-gray-50);
  overflow-x: hidden;
}

/* ===================================
   シンプルヘッダー（ハンバーガー対応版）
   (1rem = 16px 前提)
   =================================== */
.simple-header {
  width: 100%;
  padding: 1rem 2rem; /* 16px 32px（元の1.6rem 3.2remを換算） */
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  background-size: 50%;
  background-attachment: fixed;
  background-position: center 49.9%;
  position: relative; /* 追加 */
  z-index: 1100; /* 追加 */
}

.simple-header-container {
  max-width: 80rem; /* 1280px */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.simple-header-logo {
  flex-shrink: 0;
  z-index: 1001;
}

.simple-header-logo a {
  display: block;
}

.simple-header-logo img {
  height: 1.75rem; /* 28px */
  width: auto;
}

/* ハンバーガーボタン */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem; /* 8px */
  z-index: 1001;
}

.menu-toggle svg {
  width: 1.5rem; /* 24px */
  height: 1.5rem; /* 24px */
  color: #0F766E;
}

/* ナビゲーション（PC） */
.simple-header-nav {
  display: flex;
  align-items: center;
}

.simple-header-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.3125rem; /* 5px */
  list-style: none;
  margin: 0;
  padding: 0;
}

.simple-header-list .nav-link {
  display: block;
  padding: 0.375rem 0.75rem; /* 6px 12px */
  color: #0F766E;
  text-decoration: none;
  font-size: 0.875rem; /* 14px */
  font-weight: 500;
  background-color: #F3F4F6;
  border-radius: 0.375rem; /* 6px */
  transition: all 0.2s ease;
  white-space: nowrap;
}

.simple-header-list .nav-link:hover {
  background-color: #E5E7EB;
}

/* モバイル対応 */
@media (max-width: 992px) {
  .simple-header {
    padding: 16px 0.4rem;
  }
  .simple-header-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    z-index: 1050; /* 1000 → 1050 に変更 */
    overflow-x: hidden;
  }
  .menu-toggle {
    display: block;
  }
  .simple-header-nav {
    position: fixed;
    top: 60px; /* ヘッダー高さ分（padding + ロゴ高さ = 約60px）*/
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    z-index: 1000;
  }
  .simple-header-nav.active {
    transform: translateX(0);
  }
  .simple-header-list {
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
    width: 100%;
  }
  .simple-header-list .nav-item {
    width: 100%;
  }
  .simple-header-list .nav-link {
    padding: 0.875rem 1.5rem; /* 14px 24px */
    border-bottom: 1px solid #E5E7EB;
    border-radius: 0;
    background-color: transparent;
    font-size: 1rem; /* 16px */
  }
  .simple-header-list .nav-link:hover {
    background-color: #F9FAFB;
  }
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.hero-content {
  text-align: center;
  padding: var(--space-6) var(--space-4) var(--space-4);
}
.hero-content h1 {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--color-gray-700);
  margin-bottom: var(--space-3);
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.hero-meta-item .count {
  color: var(--color-primary);
  font-weight: 600;
}

.hero-meta-separator {
  color: var(--color-gray-300);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  font-size: 0.8125rem;
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-gray-700);
  padding: 0.25rem 0.5rem;
  background: var(--color-gray-50);
  border-radius: 0.375rem;
  font-weight: 500;
}

@media (max-width: 640px) {
  .hero-content h1 {
    font-size: 1.125rem;
  }
  .hero-meta,
  .hero-stats {
    font-size: 0.75rem;
  }
  .stat-badge {
    padding: 0.2rem 0.4rem;
  }
}
/* パンくずナビ */
.breadcrumb-card {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  background: white;
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  list-style: none;
  flex-wrap: wrap;
  font-size: 0.8125rem;
}
.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.breadcrumb-list a {
  color: #0F766E;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.breadcrumb-list a:hover {
  color: #047857;
}

.breadcrumb-arrow {
  width: 0.75rem;
  height: 0.75rem;
  color: #cbd5e0;
}

.breadcrumb-current {
  color: #718096;
  font-weight: 600;
}

/* 絞り込みパネル */
.filter-panel {
  background: white;
  border-radius: 12px;
  /* ★★★ 修正点 ★★★
   * 親パネルの padding は 0 にする。
   * これで、ヘッダーのボーダーの外側に余白が見えなくなります。
   */
  padding: 0;
  margin-bottom: var(--space-8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4);
  margin-bottom: 0;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  border-radius: 8px;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.filter-header:hover {
  border-color: var(--color-primary);
  background: var(--color-gray-50);
}

.filter-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gray-900);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0;
}

.chevron-icon {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.filter-panel:not(.is-collapsed) .chevron-icon {
  transform: rotate(180deg);
}

.filter-form {
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 var(--space-4) 0;
}

.filter-panel:not(.is-collapsed) .filter-form {
  max-height: 2000px;
  padding-top: var(--space-4);
}

.filter-reset {
  background: none;
  border: 1px solid var(--color-gray-300);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--color-gray-700);
  transition: all 0.2s;
}

.filter-reset:hover {
  background: var(--color-gray-100);
}

.filter-group {
  margin-bottom: var(--space-6);
}

.filter-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-gray-700);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-label .icon {
  font-size: 1.25rem;
}

/* 魚種セレクター */
.species-selector {
  position: relative;
}

.species-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-300);
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s;
}

.species-toggle:hover {
  border-color: var(--color-primary);
  background: white;
}

.species-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: var(--space-2);
  background: white;
  border: 1px solid var(--color-gray-300);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
}

.species-dropdown[hidden] {
  display: none;
}

.species-search {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-bottom: 1px solid var(--color-gray-200);
  font-size: 0.875rem;
}

.species-search:focus {
  outline: none;
  border-bottom-color: var(--color-primary);
}

.species-list {
  padding: var(--space-2);
}

.species-list label {
  display: block;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}

.species-list label:hover {
  background: var(--color-gray-50);
}

.species-list input[type=checkbox] {
  margin-right: var(--space-2);
}

/* エリアチップ */
.area-chips {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.chip {
  position: relative;
}

.chip input[type=radio] {
  position: absolute;
  opacity: 0;
}

.chip span {
  display: block;
  padding: 0.5rem 1rem;
  background: var(--color-gray-100);
  border: 2px solid transparent;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.875rem;
  font-weight: 500;
}

.chip input:checked + span,
.chip.active span {
  background: var(--color-primary-light);
  color: white;
  border-color: var(--color-primary);
}

.chip:hover span {
  background: var(--color-gray-200);
}

.chip input:checked + span:hover,
.chip.active span:hover {
  background: var(--color-primary);
}

/* 都道府県セレクト - カスタムドロップダウン */
.prefecture-select {
  margin-top: var(--space-3);
  position: relative;
}

.prefecture-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-300);
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s;
}

.prefecture-toggle:hover {
  border-color: var(--color-primary);
  background: white;
}

.prefecture-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: var(--space-2);
  background: white;
  border: 1px solid var(--color-gray-300);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
}

.prefecture-dropdown[hidden] {
  display: none;
}

.prefecture-list {
  padding: var(--space-2);
}

.prefecture-list label {
  display: block;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}

.prefecture-list label:hover {
  background: var(--color-gray-50);
}

.prefecture-list input[type=radio] {
  margin-right: var(--space-2);
}

/* チェックボックスグリッド */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-3);
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem;
  background: var(--color-gray-50);
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.checkbox-item:hover {
  background: var(--color-gray-100);
}

.checkbox-item input:checked {
  accent-color: var(--color-primary);
}

.checkbox-item input[type=checkbox]:checked + span,
.checkbox-item:has(input:checked) {
  background: var(--color-primary-light);
  color: white;
  border-color: var(--color-primary);
}

/* 検索ボタン */
.filter-actions {
  margin-top: var(--space-6);
}

.btn-primary {
  width: 100%;
  padding: 1rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(8, 145, 178, 0.2);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(8, 145, 178, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

/* 検索結果 */
/* ===================================
   ローディング表示用
   =================================== */
/* ローディングオーバーレイ */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7); /* 白い半透明の膜 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* スピナー本体 */
.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3; /* スピナーの薄い円 */
  border-top: 5px solid #ff6600; /* スピナーの濃い色 (あなたのサイトのテーマ色) */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* スピナーのアニメーション */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* 表示/非表示の切り替えクラス */
.loading-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.results-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.results-count {
  color: var(--color-gray-700);
  font-size: 0.875rem;
}

/* カードグリッド */
.camp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

/* カード */
.camp-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.camp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
}

.card-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.card-badges {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  display: flex;
  gap: var(--space-2);
}

.card-badges .badge {
  background: rgba(255, 255, 255, 0.95);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.badge-fishing {
  color: var(--color-primary);
}

.badge-power {
  color: var(--color-accent);
}

.card-content {
  padding: var(--space-6);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.card-title a {
  color: var(--color-gray-900);
  text-decoration: none;
  transition: color 0.2s;
}

.card-title a:hover {
  color: var(--color-primary);
}

.card-location {
  color: var(--color-gray-700);
  font-size: 0.875rem;
  margin-bottom: var(--space-4);
}

.card-fishing-info {
  padding: var(--space-4);
  background: var(--color-gray-50);
  border-radius: 8px;
  margin-bottom: var(--space-4);
}

.fishing-species {
  margin-bottom: var(--space-2);
}

.fishing-species .label {
  font-size: 0.75rem;
  color: var(--color-gray-700);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.species-tags {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

.species-tags .tag {
  background: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  color: var(--color-primary);
  border: 1px solid var(--color-gray-200);
}

.fishing-location {
  font-size: 0.875rem;
  color: var(--color-gray-700);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.card-amenities {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-gray-200);
}

.amenity {
  font-size: 0.75rem;
  color: var(--color-gray-700);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price .label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-gray-700);
  margin-bottom: 0.25rem;
}

.price .amount {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.btn-detail {
  padding: 0.5rem 1.25rem;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-detail:hover {
  background: var(--color-primary-dark);
  transform: translateX(2px);
}

.ad_wrapper {
  grid-column: 1/-1;
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}
.ad_wrapper .ad_container {
  width: 100%;
  max-width: 100%;
  min-width: 250px;
  height: auto;
  overflow: hidden;
}
.ad_wrapper .ad_container.yokonaga {
  min-height: 90px;
}

/* 広告スタイル */
.ad-wrapper {
  grid-column: 1/-1; /* 全幅を使う */
  width: 100%; /* 明示的に幅を指定 */
  max-width: 100%; /* 親要素を超えない */
  margin: var(--space-lg) 0;
  display: flex;
  justify-content: center;
  overflow: hidden; /* はみ出しを防ぐ */
}

.ad-container {
  width: 100%;
  max-width: 100%;
  min-width: 250px; /* Google AdSenseの最小幅 */
  min-height: 100px;
  background: #f8f9fa;
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* iframe のはみ出しを防ぐ */
}

.ad-container.yokonaga {
  /* 横長広告用 */
  min-height: 90px;
}

/* AdSenseの要素に幅を確保 */
.ad-container ins.adsbygoogle {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 250px;
}

/* iframeも制御 */
.ad-container ins.adsbygoogle iframe,
.ad-container ins.adsbygoogle > div {
  max-width: 100% !important;
  width: 100% !important;
}

/* 関連ピラー */
.related-pillars {
  background: white;
  padding: var(--space-12) 0;
  margin-top: var(--space-12);
}

.related-pillars h2 {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-8);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.pillar-card {
  background: var(--color-gray-50);
  padding: var(--space-6);
  border-radius: 12px;
}

.pillar-header {
  display: flex;
  align-items: center; /* 上下中央揃え */
  gap: var(--space-3); /* アイコンとタイトルの隙間 */
  /* h3からマージンをこちらに移動 */
  margin-bottom: var(--space-4);
}

.pillar-icon {
  font-size: 2.5rem; /* 3remだとデカすぎるので少し小さく */
  margin-bottom: 0; /* マージンを削除 */
  flex-shrink: 0; /* アイコンが潰れないように */
}

.pillar-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0; /* マージンを削除 (親の .pillar-header に移動) */
}

.pillar-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: flex-start;
  /* text-align: left; /* リンクは左揃えに */
}

.pillar-links a {
  padding: 0.5rem;
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
  /* text-align: left; /* リンクは左揃えに */
}

.pillar-links a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem; /* 旧 0.8rem (8px) → 0.5rem (8px) */
  margin-top: 1.5rem; /* 旧 2.4rem (24px) → 1.5rem (24px) */
}

.pagination-btn {
  padding: 0.5rem 1rem; /* 旧 0.8rem 1.6rem (8px 16px) → 0.5rem 1rem (8px 16px) */
  border: 2px solid var(--color-gray-300);
  background: white;
  color: var(--color-gray-700);
  border-radius: 0.5rem; /* 旧 0.8rem (8px) → 0.5rem (8px) */
  font-size: 0.875rem; /* 旧 1.4rem (14px) → 0.875rem (14px) */
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 2.5rem; /* 旧 4rem (40px) → 2.5rem (40px) */
  text-decoration: none;
}

.pagination-btn:hover:not(:disabled):not(.active) {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-gray-50);
}

.pagination-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--color-gray-100);
}

.footer {
  padding-bottom: 3rem;
  background: white;
  width: 100%;
  margin: 0 auto;
}
.footer .ad_container {
  width: 100%;
  max-width: 1000px;
  min-width: 250px;
  height: auto;
  margin: 0 auto var(--spacing-md);
}
.footer .footer-content {
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer .footer-content p {
  text-align: center;
  font-size: var(--font-13);
  margin: 0;
  color: #616161;
}

/* ===================================
   レスポンシブ（バグ修正版）
   =================================== */
@media (max-width: 768px) {
  /* ▼ ヒーローやキャンプグリッド（あなたの元のコード）▼ */
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .simple-header {
    background-size: 110%; /* 同じサイズにする */
    background-position: center 49.9%;
    background-attachment: fixed;
  }
  .hero-fishing {
    background-size: 110%;
    background-position: center center;
    background-attachment: fixed;
  }
  .hero-meta {
    font-size: 0.8125rem;
  }
  .hero-stats {
    gap: var(--space-2);
  }
  .hero-stats .stat-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.625rem;
  }
  .camp-grid {
    grid-template-columns: 1fr;
  }
  .area-chips {
    flex-wrap: wrap;
  }
  .filter-group {
    max-width: 100%;
  }
  /* ▲ あなたの元のコード ▲ */
  /* ▼ 以下が、今回の問題を解決する修正コード ▼ */
  /* * 1. 親パネル(.filter-panel)の padding: 0; は触らない！
   * 代わりに「中身」の padding を調整する
   */
  /* ヘッダーの余白を調整 (PC: var(--space-4)) */
  .filter-header {
    padding: var(--space-4) var(--space-3); /* 上下1rem, 左右0.75rem */
  }
  /* フォーム（閉）の左右余白を調整 (PC: var(--space-4)) */
  .filter-form {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
    /* 上下の 0 は維持 */
  }
  /* フォーム（開）の余白を調整 (PC: var(--space-4)) */
  .filter-panel:not(.is-collapsed) .filter-form {
    padding: var(--space-4) var(--space-3); /* 上下1rem, 左右0.75rem */
  }
  /* 2. 「🎣 条件を絞り込む」の文字を小さくする */
  .filter-header h2 {
    font-size: 1.25rem;
  }
  /* 3. エリアチップ（関東など）の余白を減らす */
  .chip span {
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
  }
  /* 4. チェックボックスグリッド（長すぎるスクロール）の修正 */
  .checkbox-grid {
    /* 1fr (1列) を 1fr 1fr (2列) に変更 */
    grid-template-columns: 1fr 1fr;
  }
  /* 5. チェックボックス項目（デカすぎ問題）の修正 */
  .checkbox-item {
    padding: 10px 8px;
    font-size: 0.875rem; /* 14px */
  }
  /* 6. 「この条件で探す」ボタンを小さくする */
  .btn-primary {
    font-size: 1rem;
    padding: 0.875rem;
  }
}
@media (max-width: 480px) {
  /* ▼ ヒーローやカードフッター（あなたの元のコード）▼ */
  .hero-content h1 {
    font-size: 1.25rem;
  }
  .card-footer {
    flex-direction: column;
    gap: var(--space-3);
    align-items: flex-start;
  }
  .btn-detail {
    width: 100%;
    text-align: center;
  }
  /* ▲ あなたの元のコード ▲ */
  /* ▼ 以下が、スマホ用に「さらに」上書きする修正コード ▼ */
  /* ヘッダーの余白をさらに詰める */
  .filter-header {
    padding: var(--space-3);
  }
  /* フォーム（閉）の左右余白をさらに詰める */
  .filter-form {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }
  /* フォーム（開）の余白をさらに詰める */
  .filter-panel:not(.is-collapsed) .filter-form {
    padding: var(--space-3);
  }
  /* H2 (「条件を絞り込む」) の文字を小さく */
  .filter-header h2 {
    font-size: 1.125rem; /* 18px */
    gap: var(--space-2); /* アイコンとの隙間を詰める */
  }
  /* "条件をクリア" ボタンを小さく */
  .filter-reset {
    padding: 0.25rem 0.5rem; /* 余白を詰める */
    font-size: 0.75rem; /* 12px */
  }
}
/* ============================
   検索ページスタイル統合
   （rem値を100%ベース（16px）用に修正）
============================ */
/* ==================== レイアウト構造 ==================== */
.main-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem; /* 2.4rem × 0.625 = 1.5rem */
  align-items: start;
}

/* ==================== サイドバー（PC用） ==================== */
.sidebar {
  background: #FFFFFF;
  border-radius: 1rem; /* 1.6rem × 0.625 */
  padding: 1.5rem; /* 2.4rem × 0.625 */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04), 0 2px 6px rgba(0, 0, 0, 0.02);
  position: sticky;
  top: 40px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.sidebar-title {
  font-size: 1.125rem; /* 1.8rem × 0.625 */
  font-weight: 700;
  margin-bottom: 1rem; /* 1.6rem × 0.625 */
  color: #1A202C;
}

.filter-section {
  margin-bottom: 1.5rem; /* 2.4rem × 0.625 */
}

.filter-section:last-child {
  margin-bottom: 0;
}

.filter-section-title {
  font-size: 0.875rem; /* 1.4rem × 0.625 */
  font-weight: 600;
  color: #1A202C;
  margin-bottom: 0.5rem; /* 0.8rem × 0.625 */
  display: flex;
  align-items: center;
  gap: 0.25rem; /* 0.4rem × 0.625 */
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* 0.8rem × 0.625 */
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* 0.8rem × 0.625 */
  cursor: pointer;
}

.filter-option input[type=checkbox],
.filter-option input[type=radio] {
  width: 1.125rem; /* 1.8rem × 0.625 */
  height: 1.125rem;
  cursor: pointer;
  flex-shrink: 0;
}

.filter-option label,
.filter-option span {
  font-size: 0.875rem; /* 1.4rem × 0.625 */
  cursor: pointer;
  color: #1A202C;
}

.divider {
  height: 1px;
  background: #E2E8F0;
  margin: 1rem 0; /* 1.6rem × 0.625 */
}

/* ==================== 魚種セレクター ==================== */
.species-selector {
  position: relative;
}

.species-toggle,
.species-toggle-modal {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 0.875rem; /* 1.2rem, 4rem, 1.4rem × 0.625 */
  border: 2px solid #E2E8F0;
  border-radius: 1rem; /* 1.6rem × 0.625 */
  font-size: 0.875rem; /* 1.4rem × 0.625 */
  background: #FFFFFF;
  color: #1A202C;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.species-toggle:hover,
.species-toggle-modal:hover {
  border-color: var(--color-primary);
}

.icon-down {
  position: absolute;
  right: 0.875rem; /* 1.4rem × 0.625 */
  font-size: 0.875rem;
  transition: transform 0.2s ease;
}

.species-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem); /* 0.8rem × 0.625 */
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 1rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  z-index: 100;
  max-height: 300px;
  overflow-y: auto;
}

.species-search {
  width: 100%;
  padding: 0.75rem 0.875rem; /* 1.2rem, 1.4rem × 0.625 */
  border: none;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.875rem;
  outline: none;
}

.species-search:focus {
  background: #F5F7FA;
}

.species-list {
  padding: 0.5rem; /* 0.8rem × 0.625 */
}

.species-list label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem; /* 0.8rem, 1.2rem × 0.625 */
  border-radius: 0.25rem; /* 0.4rem × 0.625 */
  cursor: pointer;
  transition: background 0.2s ease;
}

.species-list label:hover {
  background: #F5F7FA;
}

.species-list input[type=checkbox] {
  width: 1.125rem;
  height: 1.125rem;
  cursor: pointer;
}

/* ==================== 都道府県セレクター ==================== */
.prefecture-select {
  margin-top: 1rem; /* 1.6rem × 0.625 */
}

.prefecture-toggle {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 0.875rem;
  border: 2px solid #E2E8F0;
  border-radius: 1rem;
  font-size: 0.875rem;
  background: #FFFFFF;
  color: #1A202C;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prefecture-toggle:hover {
  border-color: var(--color-primary);
}

.prefecture-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 1rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  z-index: 100;
  max-height: 300px;
  overflow-y: auto;
}

.prefecture-list {
  padding: 0.5rem;
}

.prefecture-list label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.prefecture-list label:hover {
  background: #F5F7FA;
}

.prefecture-list input[type=radio] {
  width: 1.125rem;
  height: 1.125rem;
  cursor: pointer;
}

/* ==================== メインコンテンツ ==================== */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.results-header {
  background: #FFFFFF;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.results-count {
  font-size: 1rem; /* 1.6rem × 0.625 */
  color: #64748B;
}

/* ===== アクティブフィルター：2025年スタイル（釣り用・青基調） ===== */
.active-filters-modern {
  background: #FFFFFF;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.filters-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.filters-title-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-icon {
  font-size: 1.125rem;
}

.filters-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1A202C;
  margin: 0;
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.375rem;
  background: var(--color-primary-dark);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 0.75rem;
}

.clear-all-btn-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #F5F7FA;
  border: 1px solid #E2E8F0;
  border-radius: 0.5rem;
  color: #1A202C;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.clear-all-btn-modern:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(8, 145, 178, 0.2);
}

.clear-icon {
  font-size: 1rem;
  font-weight: 700;
}

/* フィルタータグ */
.filter-tags-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-tag-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.08) 0%, rgba(8, 145, 178, 0.04) 100%);
  border: 1.5px solid rgba(8, 145, 178, 0.3);
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1A202C;
  transition: all 0.2s ease;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.filter-tag-modern:hover {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.12) 0%, rgba(8, 145, 178, 0.08) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.15);
}

.filter-tag-label {
  font-weight: 600;
}

.filter-tag-remove-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 50%;
  color: #64748B;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.filter-tag-remove-modern:hover {
  background: var(--color-primary);
  color: white;
  transform: rotate(90deg) scale(1.1);
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
  .filters-header-modern {
    flex-wrap: wrap;
  }
}
/* ==================== フローティング検索ボタン（スマホ用） ==================== */
.floating-search-btn {
  position: fixed;
  top: 80px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-primary);
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.4);
  transition: all 0.3s ease;
  z-index: 10000;
}

.floating-search-btn:hover {
  background: var(--color-primary-dark);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(8, 145, 178, 0.5);
}

.floating-search-btn svg {
  color: white;
  width: 24px;
  height: 24px;
}

/* ==================== 検索モーダル（スマホ用） ==================== */
.search-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 11000;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow-y: auto;
}

.search-modal-overlay.active {
  display: flex;
}

.search-modal-content {
  background: #ffffff;
  border-radius: 1rem;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  animation: searchModalFadeIn 0.3s ease;
}

@keyframes searchModalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.search-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem; /* 20px, 24px → rem */
  border-bottom: 1px solid #dee2e6;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 10;
}

.search-modal-title {
  font-size: 1.125rem; /* 18px → rem */
  font-weight: 600;
  color: #333333;
  margin: 0;
}

.search-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #666666;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
}

.search-modal-close:hover {
  color: #333333;
  background: #f8f9fa;
}

.search-modal-close svg {
  width: 24px;
  height: 24px;
}

.search-modal-body {
  padding: 1.5rem;
}

/* ==================== レスポンシブ対応 ==================== */
/* スマホ：サイドバー非表示、モーダル表示 */
@media (max-width: 767px) {
  .sidebar {
    display: none !important;
  }
  .floating-search-btn {
    display: flex;
  }
  .main-layout {
    grid-template-columns: 1fr;
  }
  .floating-search-btn {
    top: 70px;
    right: 16px;
    width: 46px;
    height: 46px;
  }
  .floating-search-btn svg {
    width: 22px;
    height: 22px;
  }
  .search-modal-content {
    max-width: 100%;
    border-radius: 0.75rem; /* 12px */
    max-height: 85vh;
  }
  .search-modal-header {
    padding: 1rem 1.25rem; /* 16px, 20px */
  }
  .search-modal-title {
    font-size: 1rem; /* 16px */
  }
  .search-modal-body {
    padding: 1.25rem; /* 20px */
  }
}
/* PC：サイドバー表示、モーダル非表示 */
@media (min-width: 768px) {
  .sidebar {
    display: block;
  }
  .floating-search-btn,
  .search-modal-overlay {
    display: none !important;
  }
}
/* タブレット調整 */
@media (max-width: 1024px) and (min-width: 768px) {
  .main-layout {
    grid-template-columns: 250px 1fr;
    gap: 1rem;
  }
  .sidebar {
    padding: 1rem;
  }
}
/* モバイル調整 */
@media (max-width: 480px) {
  .search-modal-content {
    max-height: 70vh;
  }
}
/* ==================== 既存のfilter-panelを無効化 ==================== */
.filter-panel {
  display: none !important;
}

/* ==================== スクロールバーのスタイリング ==================== */
.sidebar::-webkit-scrollbar,
.species-dropdown::-webkit-scrollbar,
.prefecture-dropdown::-webkit-scrollbar,
.search-modal-content::-webkit-scrollbar {
  width: 8px;
}

.sidebar::-webkit-scrollbar-track,
.species-dropdown::-webkit-scrollbar-track,
.prefecture-dropdown::-webkit-scrollbar-track,
.search-modal-content::-webkit-scrollbar-track {
  background: #F5F7FA;
  border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb,
.species-dropdown::-webkit-scrollbar-thumb,
.prefecture-dropdown::-webkit-scrollbar-thumb,
.search-modal-content::-webkit-scrollbar-thumb {
  background: #E2E8F0;
  border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover,
.species-dropdown::-webkit-scrollbar-thumb:hover,
.prefecture-dropdown::-webkit-scrollbar-thumb:hover,
.search-modal-content::-webkit-scrollbar-thumb:hover {
  background: #64748B;
}

.hidden {
  display: none !important;
}/*# sourceMappingURL=fishing.css.map */