/* =============================================
   キャンプ一覧ページ — camps.css
   ============================================= */

/* ===== ① Hero + 検索バー ===== */
.camps-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
.camps-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.camps-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
  animation: heroZoom 10s ease-out forwards;
  transform-origin: center top;
}
.camps-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(0,20,60,0.62) 0%, rgba(0,20,60,0.42) 55%, rgba(0,20,60,0.18) 100%);
  z-index: 1;
}
.camps-hero-content {
  position: relative; z-index: 2;
  width: 100%; padding: 80px 0 80px;
}
.camps-hero-content .container { max-width: 1280px; }
.camps-hero-title {
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 900;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 12px;
  font-family: 'Noto Serif JP', serif;
  text-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.camps-hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* 検索バー */
.camps-search-bar {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 16px;
  padding: 28px 28px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.camps-search-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 120px;
}
.camps-search-field label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}
.camps-search-field select {
  height: 44px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  background: rgba(255,255,255,0.95);
  font-size: 13px;
  color: #333;
  padding: 0 12px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s;
}
.camps-search-field select:focus { border-color: #0077B6; }
.camps-search-btn {
  height: 44px;
  background: #1a4fa8;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 0 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
  align-self: flex-end;
}
.camps-search-btn:hover { background: #0077B6; transform: translateY(-1px); }
.camps-search-reset {
  height: 44px;
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  font-size: 13px;
  padding: 0 16px;
  cursor: pointer;
  white-space: nowrap;
  align-self: flex-end;
  transition: all 0.15s;
}
.camps-search-reset:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ===== ② タグバー（大きく） ===== */
.camps-tags-bar {
  background: #fff;
  border-bottom: 1px solid #e0e6ef;
  padding: 16px 0;
}
.camps-tags-bar .container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.camps-tags-label {
  font-size: 13px;
  font-weight: 700;
  color: #888;
  white-space: nowrap;
  flex-shrink: 0;
}
.camps-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.camps-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0f4fb;
  color: #555;
  border: 1px solid #d8e4f4;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 18px;
  height: auto;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.camps-tag:hover { background: #ddeafd; color: #1a4fa8; border-color: #b0c8f0; }
.camps-tag.active { background: #03045E; color: #fff; border-color: #03045E; font-weight: 700; box-shadow: 0 2px 8px rgba(3,4,94,0.25); }

/* ===== 一覧ヘッダー ===== */
.camps-page .container { max-width: 1280px; }
.camps-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.camps-list-title {
  font-size: 22px; font-weight: 900; color: #03045E;
  font-family: 'Noto Serif JP', serif;
}
.camps-list-controls { display: flex; align-items: center; gap: 16px; }
.camps-list-count { font-size: 14px; color: #888; }
.camps-list-count strong { color: #03045E; font-size: 18px; font-weight: 900; }
.camps-sort-select {
  height: 38px;
  border: 1px solid #d0d8e4;
  border-radius: 8px;
  font-size: 13px;
  padding: 0 12px;
  color: #444;
  background: #fff;
  cursor: pointer;
}

/* ===== カードグリッド ===== */
.camps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===== ③ カード高さ統一 ===== */
.camp-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e0e6ef;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.camp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.camp-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.camp-card-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: saturate(0.88) brightness(0.97);
}
.camp-card:hover .camp-card-img { transform: scale(1.04); filter: saturate(1) brightness(1); }
.camp-card-country {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  font-size: 12px; font-weight: 700; color: #1a2a4a;
  padding: 4px 10px; border-radius: 100px;
}
.camp-card-badge {
  position: absolute; top: 12px; right: 12px;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 100px; color: #fff;
}
.badge-popular   { background: #E63946; }
.badge-recommend { background: #0077B6; }
.badge-beginner  { background: #2ecc71; }
.badge-urban     { background: #9b59b6; }
.badge-nature    { background: #27ae60; }
.badge-junior    { background: #e67e22; }
.badge-high      { background: #2980b9; }
.badge-family    { background: #8e44ad; }

/* カード本体 */
.camp-card-body {
  padding: 16px 20px 20px;
  display: flex; flex-direction: column; flex: 1;
}
/* ⑨ 対象年齢を強調 */
.camp-card-age {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eef4fd;
  border: 1px solid #c8dcf8;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 14px;
  font-weight: 800;
  color: #03045E;
  margin-bottom: 10px;
}
.camp-card-age-label {
  font-size: 11px;
  font-weight: 500;
  color: #888;
}
/* ③ タイトル2行固定 */
.camp-card-name {
  font-size: 17px; font-weight: 800; color: #03045E;
  margin-bottom: 10px; line-height: 1.5;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.2px;
}
.camp-card-meta {
  display: flex; gap: 10px; flex-wrap: wrap;
  font-size: 12px; color: #666;
  margin-bottom: 12px; line-height: 1.8;
}
.camp-card-points {
  list-style: none; padding: 0; margin: 0 0 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.camp-card-points li { font-size: 12px; color: #444; line-height: 1.8; }

/* ⑩ 安心バッジ */
.camp-card-trust {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.trust-badge {
  font-size: 11px; font-weight: 600;
  color: #0077B6; background: #eef4fd;
  border: 1px solid #c8dcf8;
  padding: 3px 8px; border-radius: 100px;
  white-space: nowrap;
}

/* カードフッター */
.camp-card-footer {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid #f0f0f5;
}
.camp-card-price-label {
  display: block; font-size: 11px; color: #999; margin-bottom: 2px;
}
/* ⑥ 価格強化 */
.camp-card-price-num {
  font-size: 24px; font-weight: 900;
  color: #e07b00;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: -0.5px;
}
.camp-card-price-num .price-suffix {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.65;
  letter-spacing: 0;
}
.camp-card-price { margin-bottom: 0; }
/* ⑤ ボタン大型化 */
.camp-card-btn {
  display: inline-flex; align-items: center;
  background: #03045E; color: #fff;
  text-decoration: none; font-size: 13px; font-weight: 700;
  padding: 0 18px; border-radius: 8px;
  height: 46px; white-space: nowrap;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.camp-card-btn:hover {
  background: #0077B6;
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(0,119,182,0.3);
}

/* 件数0のとき */
.camps-empty {
  text-align: center;
  padding: 48px 24px;
  font-size: 15px; color: #888;
  line-height: 1.8;
}
.camps-empty .camps-search-reset {
  margin-top: 16px;
  background: #1a4fa8; color: #fff;
  border-color: #1a4fa8; border-radius: 8px;
  font-size: 14px; font-weight: 700;
  padding: 0 24px; height: 44px; cursor: pointer;
}

/* ===== 安心セクション ===== */
.camps-safety-title {
  font-size: 24px; font-weight: 900; color: #03045E;
  text-align: center; font-family: 'Noto Serif JP', serif; margin-bottom: 8px;
}
.camps-safety-sub {
  text-align: center; font-size: 14px; color: #888; margin-bottom: 36px;
}
.camps-safety-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.camps-safety-item {
  background: #fff; border-radius: 14px; padding: 28px 24px;
  border: 1px solid #e0e6ef; box-shadow: 0 2px 8px rgba(0,0,0,0.04); text-align: center;
}
.camps-safety-icon { font-size: 40px; margin-bottom: 14px; }
.camps-safety-item h3 { font-size: 15px; font-weight: 700; color: #03045E; margin-bottom: 10px; }
.camps-safety-item p { font-size: 13px; color: #666; line-height: 1.8; margin: 0; }

/* ===== 目的別 ⑦ 16:9 ===== */
.camps-purpose { background: #fff; }
.camps-purpose-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px;
}
.camps-purpose-item {
  text-decoration: none; border-radius: 14px; overflow: hidden;
  border: 1px solid #e0e6ef; box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column;
}
.camps-purpose-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.10); }
.camps-purpose-item img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block;
}
.camps-purpose-body { padding: 8px 12px 10px; flex: 1; display: flex; flex-direction: column; }
.camps-purpose-body h3 { font-size: 13px; font-weight: 700; color: #03045E; margin-bottom: 3px; line-height: 1.4; }
.camps-purpose-body p { font-size: 11px; color: #666; line-height: 1.5; margin: 0; flex: 1; }
.camps-purpose-link { display: block; text-align: right; color: #0077B6; font-weight: 700; font-size: 13px; margin-top: 6px; }
.camps-purpose-tag {
  font-size: 10px; font-weight: 700; color: #0077B6;
  background: #eef4fd; padding: 2px 8px; border-radius: 100px;
  display: inline-block; margin-bottom: 6px;
}

/* ===== ⑧ 下部CTA（無料強調） ===== */
.camps-bottom-cta { background: #f0f4fb; padding: 64px 0; }
.camps-cta-inner {
  display: flex; align-items: stretch;
  background: #fff; border-radius: 24px;
  overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); min-height: 240px;
}
.camps-cta-left {
  flex: 0 0 58%; padding: 0 28px 0 52px;
  display: flex; flex-direction: column; justify-content: center;
}
.camps-cta-free-badge {
  display: inline-block; font-size: 13px; font-weight: 700;
  color: #166534; background: #f0fdf4; border: 1px solid #bbf7d0;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 12px;
}
.camps-cta-checklist {
  list-style: none; padding: 0; margin: 0 0 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.camps-cta-checklist li {
  font-size: 13px; color: #444; font-weight: 500;
  display: flex; align-items: center; gap: 8px;
  line-height: 1.5;
}
.camps-cta-left h2 { font-size: 26px; font-weight: 800; color: #1a2a4a; margin-bottom: 10px; line-height: 1.5; }
.camps-cta-left p  { font-size: 14px; color: #666; margin-bottom: 14px; line-height: 1.8; }
.camps-cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.camps-cta-right { flex: 0 0 42%; overflow: hidden; }
.camps-cta-right img { width: 100%; height: 100%; object-fit: cover; object-position: 60% top; display: block; }

/* =============================================
   レスポンシブ
   ============================================= */
@media (max-width: 1024px) {
  .camps-grid { grid-template-columns: repeat(2, 1fr); }
  .camps-purpose-grid { grid-template-columns: repeat(2, 1fr); }
  .camps-search-bar { gap: 8px; }
}
@media (max-width: 768px) {
  .camps-hero { min-height: auto; }
  .camps-hero-content { padding: 32px 0 0; }
  .camps-search-bar { flex-direction: column; padding: 16px; }
  .camps-search-field { min-width: 100%; }
  .camps-search-btn, .camps-search-reset { width: 100%; justify-content: center; }
  .camps-grid { grid-template-columns: 1fr; }
  .camps-safety-grid { grid-template-columns: 1fr; }
  .camps-purpose-grid { grid-template-columns: 1fr 1fr; }
  .camps-cta-inner { flex-direction: column; }
  .camps-cta-left { padding: 32px 24px; }
  .camps-cta-right { flex: none; width: 100%; height: 180px; }
  .camps-cta-btns { flex-direction: column; }
}