/*
Theme Name: WILD BASE
Theme URI: https://example.com/wildbase
Author: WILD BASE
Description: キャンプ情報メディアのためのWordPressテーマ
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: wildbase
*/

/* ============================================================
   カスタムプロパティ
   ============================================================ */
:root {
  --forest:   #1a2e1a;
  --moss:     #3d5c2e;
  --sage:     #7a9e6a;
  --bark:     #5c3d2e;
  --amber:    #d4852a;
  --cream:    #f5f0e8;
  --sand:     #e8dfc8;
  --smoke:    #c8c0b0;
  --charcoal: #2c2820;
  --ember:    #e85c2a;
  --px:       16px;
  --header-h: 60px;
}
@media (min-width: 768px)  { :root { --px: 40px; --header-h: 70px; } }
@media (min-width: 1024px) { :root { --px: 60px; } }

/* ============================================================
   リセット・ベース
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ============================================================
   ヘッダー・ナビゲーション
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--px);
}
.site-header::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(26,46,26,0.95), rgba(26,46,26,0.6));
  backdrop-filter: blur(4px);
  z-index: -1;
  transition: background 0.3s;
}
.site-header.is-scrolled::before { background: rgba(26,46,26,0.98); }
.site-branding a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: var(--cream);
  letter-spacing: 4px;
}
@media (min-width: 768px) { .site-branding a { font-size: 28px; } }
.site-branding a span { color: var(--amber); }

/* デスクトップナビ */
.main-navigation { display: none; }
@media (min-width: 900px) {
  .main-navigation { display: flex; }
  .main-navigation ul { display: flex; gap: 32px; }
  .main-navigation ul li a {
    font-size: 11px; font-weight: 500; color: var(--smoke);
    letter-spacing: 2px; text-transform: uppercase; transition: color 0.3s;
  }
  .main-navigation ul li a:hover,
  .main-navigation ul li.current-menu-item > a { color: var(--amber); }
}

/* ハンバーガーボタン */
.nav-toggle {
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: 5px;
  width: 40px; height: 40px;
  background: transparent; border: none; cursor: pointer;
  padding: 4px; z-index: 210; flex-shrink: 0;
}
@media (min-width: 900px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--cream);
  transition: transform 0.3s, opacity 0.3s; transform-origin: center;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルドロワー */
.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: min(300px, 80vw); height: 100vh;
  background: var(--forest);
  z-index: 205;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: calc(var(--header-h) + 24px) 32px 32px;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav ul li a {
  display: block; padding: 14px 0;
  font-size: 15px; font-weight: 500; color: var(--smoke);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.3s, padding-left 0.3s; letter-spacing: 1px;
}
.mobile-nav ul li a:hover { color: var(--amber); padding-left: 8px; }
.mobile-nav ul li.current-menu-item > a { color: var(--amber); }
.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); z-index: 204;
}
.nav-overlay.is-open { display: block; }

/* ============================================================
   ボタン
   ============================================================ */
.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: var(--ember); color: white;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px; font-weight: 500; letter-spacing: 2px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.3s, transform 0.3s; white-space: nowrap;
}
@media (min-width: 768px) { .btn-primary { padding: 16px 40px; } }
.btn-primary:hover { background: var(--amber); transform: translateY(-2px); }
.btn-secondary {
  display: inline-block; padding: 14px 28px;
  border: 1px solid rgba(255,255,255,0.3); color: var(--cream);
  font-size: 13px; letter-spacing: 2px;
  transition: border-color 0.3s, color 0.3s; white-space: nowrap;
}
@media (min-width: 768px) { .btn-secondary { padding: 16px 40px; } }
.btn-secondary:hover { border-color: var(--amber); color: var(--amber); }

/* ============================================================
   セクション共通
   ============================================================ */
.section-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-bottom: 40px;
}
@media (min-width: 768px) { .section-header { align-items: flex-end; margin-bottom: 60px; } }
.section-tag {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px; letter-spacing: 5px; color: var(--amber);
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.section-tag::before { content: ''; display: block; width: 30px; height: 1px; background: var(--amber); }
.section-title {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  font-size: clamp(28px, 5vw, 52px); font-weight: 700;
  color: var(--forest); line-height: 1.15;
}
.section-link {
  font-size: 11px; letter-spacing: 3px; color: var(--bark);
  display: flex; align-items: center; gap: 8px;
  transition: gap 0.3s; flex-shrink: 0; align-self: flex-end;
}
.section-link:hover { gap: 14px; }
.section-link::after { content: '→'; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
  height: 50svh; min-height: 360px;
  position: relative; display: flex; align-items: flex-end;
  padding: 40px var(--px) 32px;
  overflow: hidden; background: var(--forest);
}
@media (min-width: 768px) { .hero { height: 50svh; min-height: 400px; padding-bottom: 48px; } }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stars   { position: absolute; inset: 0; overflow: hidden; }
.star {
  position: absolute; width: 2px; height: 2px; background: white; border-radius: 50%;
  animation: twinkle var(--dur, 3s) ease-in-out infinite; opacity: var(--op, 0.6);
}
@keyframes twinkle {
  0%, 100% { opacity: var(--op, 0.6); transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.5); }
}
@keyframes glow {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.8; }
  50%       { transform: translateX(-50%) scale(1.15); opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.hero-content { position: relative; z-index: 10; max-width: 800px; }
.hero-tag {
  font-family: 'Bebas Neue', sans-serif; font-size: 11px; letter-spacing: 6px; color: var(--amber);
  margin-bottom: 16px; display: flex; align-items: center; gap: 12px;
  animation: fadeUp 1s ease 0.3s both;
}
.hero-tag::before { content: ''; display: block; width: 30px; height: 1px; background: var(--amber); }
.hero-title {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  font-size: clamp(48px, 11vw, 110px); font-weight: 900;
  color: var(--cream); line-height: 0.95;
  letter-spacing: -1px; animation: fadeUp 1s ease 0.5s both;
}
@media (min-width: 768px) { .hero-title { letter-spacing: -2px; } }
.hero-title .accent { color: var(--amber); font-style: italic; }
.hero-title .line2  { display: block; padding-left: clamp(20px, 6vw, 80px); }
.hero-sub {
  font-size: 13px; color: var(--smoke); line-height: 1.9;
  margin-top: 20px; max-width: 480px; font-weight: 300;
  animation: fadeUp 1s ease 0.7s both;
}
@media (min-width: 768px) { .hero-sub { font-size: 15px; margin-top: 30px; } }
.hero-cta {
  margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px;
  animation: fadeUp 1s ease 0.9s both;
}
@media (min-width: 768px) { .hero-cta { margin-top: 40px; gap: 20px; } }
.hero-scroll {
  display: none; position: absolute; bottom: 40px; right: 60px;
  color: var(--smoke); font-size: 11px; letter-spacing: 3px;
  writing-mode: vertical-rl; align-items: center; gap: 12px;
  animation: fadeUp 1s ease 1.2s both;
}
@media (min-width: 900px) { .hero-scroll { display: flex; } }
.hero-scroll::after {
  content: ''; display: block; width: 1px; height: 60px; background: var(--smoke);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ============================================================
   注目記事
   ============================================================ */
.featured { padding: 60px var(--px); background: var(--cream); }
@media (min-width: 768px)  { .featured { padding: 80px var(--px); } }
@media (min-width: 1024px) { .featured { padding: 100px var(--px); } }
.featured-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .featured-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .card-main { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .featured-grid { grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 24px; }
  .card-main { grid-column: auto; grid-row: 1 / 3; }
}
.card { position: relative; overflow: hidden; border-radius: 4px; background: var(--forest); }
.card:hover .card-img { transform: scale(1.04); }
.card-img { width: 100%; min-height: 200px; object-fit: cover; transition: transform 0.6s; display: block; }
@media (min-width: 640px)  { .card-img { min-height: 250px; } }
@media (min-width: 1024px) { .card-main .card-img { height: 100%; min-height: 500px; } }
.card-svg-bg { width: 100%; min-height: 200px; display: block; }
@media (min-width: 1024px) { .card-main .card-svg-bg { min-height: 500px; } }
.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,46,26,0.95) 0%, rgba(26,46,26,0.3) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
}
@media (min-width: 768px)  { .card-overlay { padding: 28px; } }
@media (min-width: 1024px) { .card-overlay { padding: 32px; } }
.card-cat   { font-family: 'Bebas Neue', sans-serif; font-size: 10px; letter-spacing: 4px; color: var(--amber); margin-bottom: 8px; }
.card-title {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  font-size: clamp(15px, 3vw, 24px); font-weight: 700;
  color: var(--cream); line-height: 1.3; margin-bottom: 10px;
}
.card-main .card-title { font-size: clamp(18px, 4vw, 36px); }
.card-meta { font-size: 11px; color: var(--smoke); display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   カテゴリ
   ============================================================ */
.categories { padding: 60px var(--px); background: var(--forest); position: relative; overflow: hidden; }
@media (min-width: 768px) { .categories { padding: 80px var(--px); } }
.categories::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; margin-top: 40px; }
@media (min-width: 480px)  { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px)  { .cat-grid { grid-template-columns: repeat(5, 1fr); margin-top: 60px; } }
.cat-item {
  position: relative; padding: 32px 16px; text-align: center;
  border: 1px solid rgba(255,255,255,0.08); transition: background 0.4s;
  overflow: hidden; display: block;
}
@media (min-width: 768px) { .cat-item { padding: 48px 24px; } }
.cat-item::before {
  content: ''; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%) scaleX(0); width: 60%; height: 2px;
  background: var(--amber); transition: transform 0.4s;
}
.cat-item:hover { background: rgba(255,255,255,0.04); }
.cat-item:hover::before { transform: translateX(-50%) scaleX(1); }
.cat-icon  { font-size: 32px; display: block; margin-bottom: 14px; }
@media (min-width: 768px) { .cat-icon { font-size: 40px; margin-bottom: 20px; } }
.cat-name  { font-family: 'Noto Serif JP', serif; font-size: 13px; font-weight: 700; color: var(--cream); display: block; margin-bottom: 6px; }
@media (min-width: 768px) { .cat-name { font-size: 16px; } }
.cat-count { font-size: 10px; letter-spacing: 2px; color: var(--smoke); }

/* ============================================================
   テクニック
   ============================================================ */
.tips { padding: 60px var(--px); background: var(--sand); }
@media (min-width: 768px)  { .tips { padding: 80px var(--px); } }
@media (min-width: 1024px) { .tips { padding: 100px var(--px); } }
.tips-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
@media (min-width: 640px)  { .tips-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .tips-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; } }
.tip-card {
  position: relative; padding: 28px 24px; background: var(--cream);
  border-bottom: 3px solid transparent; transition: border-color 0.4s, transform 0.4s; overflow: hidden;
}
@media (min-width: 768px) { .tip-card { padding: 40px; } }
.tip-card::before {
  content: attr(data-num); position: absolute; top: 12px; right: 16px;
  font-family: 'Bebas Neue', sans-serif; font-size: 64px; color: var(--sand);
  line-height: 1; transition: color 0.4s; pointer-events: none;
}
@media (min-width: 768px) { .tip-card::before { font-size: 80px; top: 20px; right: 24px; } }
.tip-card:hover { border-bottom-color: var(--ember); transform: translateY(-4px); }
.tip-card:hover::before { color: rgba(232,92,42,0.1); }
.tip-icon {
  width: 44px; height: 44px; background: var(--forest);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  margin-bottom: 20px; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.tip-title { font-family: 'Noto Serif JP', serif; font-size: 17px; font-weight: 700; color: var(--forest); margin-bottom: 12px; line-height: 1.4; }
@media (min-width: 768px) { .tip-title { font-size: 20px; } }
.tip-text  { font-size: 13px; color: #666; line-height: 1.9; }

/* ============================================================
   おすすめスポット
   ============================================================ */
.spots { padding: 60px 0; background: var(--cream); overflow: hidden; }
@media (min-width: 768px)  { .spots { padding: 80px 0; } }
@media (min-width: 1024px) { .spots { padding: 100px 0; } }
.spots-header { padding: 0 var(--px); margin-bottom: 40px; }
@media (min-width: 768px) { .spots-header { margin-bottom: 60px; } }
.spots-track {
  display: flex; gap: 16px; padding: 0 var(--px) 8px;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; cursor: grab;
}
@media (min-width: 768px) { .spots-track { gap: 24px; } }
.spots-track::-webkit-scrollbar { display: none; }
.spot-card {
  min-width: 260px; border-radius: 4px; overflow: hidden;
  position: relative; flex-shrink: 0; transition: transform 0.4s;
}
@media (min-width: 480px) { .spot-card { min-width: 300px; } }
@media (min-width: 768px) { .spot-card { min-width: 320px; } }
.spot-card:hover { transform: translateY(-4px); }
.spot-card:hover .spot-img { transform: scale(1.06); }
.spot-img { width: 100%; height: 300px; display: block; transition: transform 0.5s; object-fit: cover; }
@media (min-width: 768px) { .spot-img { height: 400px; } }
.spot-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
}
.spot-region { font-size: 10px; letter-spacing: 3px; color: var(--amber); margin-bottom: 6px; }
.spot-name   { font-family: 'Noto Serif JP', serif; font-size: 17px; font-weight: 700; color: white; margin-bottom: 10px; }
@media (min-width: 768px) { .spot-name { font-size: 20px; } }
.spot-tags   { display: flex; gap: 6px; flex-wrap: wrap; }
.spot-tag    { font-size: 9px; padding: 3px 8px; border: 1px solid rgba(255,255,255,0.4); color: rgba(255,255,255,0.8); letter-spacing: 1px; }

/* ============================================================
   ギア
   ============================================================ */
.gear { padding: 60px var(--px); background: var(--charcoal); }
@media (min-width: 768px)  { .gear { padding: 80px var(--px); } }
@media (min-width: 1024px) { .gear { padding: 100px var(--px); } }
.gear-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
@media (min-width: 1024px) { .gear-grid { grid-template-columns: 1fr 1.2fr; gap: 80px; margin-top: 60px; } }
.gear-list { display: flex; flex-direction: column; }
.gear-item { display: flex; align-items: flex-start; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.08); transition: padding-left 0.3s; }
@media (min-width: 768px) { .gear-item { padding: 28px 0; gap: 24px; } }
.gear-item:hover { padding-left: 8px; }
.gear-num  { font-family: 'Bebas Neue', sans-serif; font-size: 30px; color: rgba(255,255,255,0.1); line-height: 1; min-width: 44px; transition: color 0.3s; }
@media (min-width: 768px) { .gear-num { font-size: 36px; min-width: 48px; } }
.gear-item:hover .gear-num { color: var(--amber); }
.gear-name { font-family: 'Noto Serif JP', serif; font-size: 16px; font-weight: 700; color: var(--cream); margin-bottom: 6px; }
@media (min-width: 768px) { .gear-name { font-size: 18px; } }
.gear-desc { font-size: 13px; color: var(--smoke); line-height: 1.7; }
.gear-visual { display: none; }
@media (min-width: 1024px) { .gear-visual { display: block; } .gear-visual svg { width: 100%; height: auto; } }

/* ============================================================
   ニュースレター
   ============================================================ */
.newsletter { padding: 60px var(--px); background: var(--moss); position: relative; overflow: hidden; text-align: center; }
@media (min-width: 768px)  { .newsletter { padding: 80px var(--px); } }
@media (min-width: 1024px) { .newsletter { padding: 100px var(--px); } }
.newsletter::before {
  content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px; background: radial-gradient(circle, rgba(212,133,42,0.15) 0%, transparent 60%); pointer-events: none;
}
.nl-title { font-family: 'Playfair Display', 'Noto Serif JP', serif; font-size: clamp(28px, 6vw, 60px); font-weight: 900; color: var(--cream); line-height: 1.15; margin-bottom: 16px; }
.nl-sub   { font-size: 14px; color: rgba(245,240,232,0.65); max-width: 480px; margin: 0 auto 32px; line-height: 1.8; }
.nl-form  { display: flex; flex-direction: column; max-width: 480px; margin: 0 auto; }
@media (min-width: 520px) { .nl-form { flex-direction: row; } }
.nl-input {
  flex: 1; padding: 16px 20px; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2); border-bottom: none;
  color: var(--cream); font-size: 14px; outline: none; transition: border-color 0.3s;
}
@media (min-width: 520px) { .nl-input { border-bottom: 1px solid rgba(255,255,255,0.2); border-right: none; } }
.nl-input::placeholder { color: rgba(255,255,255,0.35); }
.nl-input:focus { border-color: var(--amber); }
.nl-btn {
  padding: 16px 28px; background: var(--ember); color: white; border: none;
  font-size: 13px; letter-spacing: 2px; cursor: pointer; transition: background 0.3s; white-space: nowrap;
}
.nl-btn:hover { background: var(--amber); }

/* ============================================================
   フッター
   ============================================================ */
.site-footer {
  background: var(--forest); padding: 48px var(--px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px;
}
@media (min-width: 640px)  { .site-footer { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; padding: 60px var(--px); } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 1024px) { .footer-brand { grid-column: auto; } }
.footer-logo    { font-family: 'Bebas Neue', sans-serif; font-size: 28px; color: var(--cream); letter-spacing: 4px; display: block; margin-bottom: 12px; }
@media (min-width: 768px) { .footer-logo { font-size: 32px; } }
.footer-logo span   { color: var(--amber); }
.footer-tagline     { font-size: 13px; color: var(--smoke); line-height: 1.8; max-width: 280px; }
.footer-heading     { font-family: 'Bebas Neue', sans-serif; font-size: 13px; letter-spacing: 3px; color: var(--amber); margin-bottom: 20px; }
.footer-nav ul      { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a       { font-size: 13px; color: var(--smoke); transition: color 0.3s; }
.footer-nav a:hover { color: var(--cream); }
.footer-bottom {
  background: var(--charcoal); padding: 16px var(--px);
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-copy    { font-size: 11px; color: var(--smoke); letter-spacing: 1px; }
.social-links   { display: flex; gap: 20px; }
.social-links a { font-size: 11px; letter-spacing: 2px; color: var(--smoke); transition: color 0.3s; }
.social-links a:hover { color: var(--amber); }

/* ============================================================
   WBカードコンポーネント
   ============================================================ */
.wb-card { position: relative; overflow: hidden; border-radius: 4px; transition: transform 0.4s, box-shadow 0.4s; }
.wb-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }
.wb-card__link { display: block; text-decoration: none; color: inherit; }
.wb-card__thumb { position: relative; overflow: hidden; }
.wb-card__img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform 0.5s; }
@media (min-width: 640px) { .wb-card__img { height: 220px; } }
.wb-card--large .wb-card__img { height: 260px; }
@media (min-width: 768px) { .wb-card--large .wb-card__img { height: 380px; } }
.cards-grid--featured .wb-card:first-child .wb-card__img { height: 260px; }
@media (min-width: 1024px) { .cards-grid--featured .wb-card:first-child .wb-card__img { height: 100%; min-height: 480px; } }
.wb-card:hover .wb-card__img { transform: scale(1.04); }
.wb-card__img--placeholder { background: var(--forest); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.wb-card__cat {
  position: absolute; top: 12px; left: 12px; background: var(--ember); color: white;
  font-family: 'Bebas Neue', sans-serif; font-size: 10px; letter-spacing: 3px; padding: 3px 10px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.wb-card--dark  .wb-card__body { background: var(--forest); padding: 18px 20px 20px; }
.wb-card--light .wb-card__body { background: var(--cream); padding: 18px 20px 20px; border: 1px solid var(--sand); border-top: none; }
@media (min-width: 768px) {
  .wb-card--dark  .wb-card__body,
  .wb-card--light .wb-card__body { padding: 22px 24px 24px; }
}
.wb-card__title { font-family: 'Noto Serif JP', 'Playfair Display', serif; font-size: 15px; font-weight: 700; line-height: 1.45; margin-bottom: 8px; }
@media (min-width: 768px) { .wb-card__title { font-size: 18px; } }
.wb-card--large .wb-card__title { font-size: 17px; }
@media (min-width: 768px) { .wb-card--large .wb-card__title { font-size: 22px; } }
.wb-card--dark  .wb-card__title { color: var(--cream); }
.wb-card--light .wb-card__title { color: var(--forest); }
.wb-card:hover  .wb-card__title { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 4px; }
.wb-card__excerpt { font-size: 12px; line-height: 1.8; margin-bottom: 12px; }
@media (min-width: 768px) { .wb-card__excerpt { font-size: 13px; } }
.wb-card--dark  .wb-card__excerpt { color: var(--smoke); }
.wb-card--light .wb-card__excerpt { color: #666; }
.wb-card__meta { display: flex; gap: 12px; font-size: 11px; letter-spacing: 1px; flex-wrap: wrap; }
.wb-card--dark  .wb-card__meta { color: rgba(200,192,176,0.6); }
.wb-card--light .wb-card__meta { color: var(--smoke); }

/* ============================================================
   アーカイブ共通
   ============================================================ */
.archive-hero {
  padding: calc(var(--header-h) + 24px) var(--px) 28px;
  background: var(--forest); position: relative; overflow: hidden;
}
@media (min-width: 768px) { .archive-hero { padding: calc(var(--header-h) + 32px) var(--px) 36px; } }
.archive-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}
.archive-hero__content { position: relative; z-index: 1; }
.archive-hero__count   { font-family: 'Bebas Neue', sans-serif; font-size: 12px; letter-spacing: 4px; color: var(--amber); margin-bottom: 8px; }
.archive-hero__title   { font-family: 'Playfair Display', 'Noto Serif JP', serif; font-size: clamp(32px, 6vw, 72px); font-weight: 900; color: var(--cream); line-height: 1.0; }
.archive-hero__desc    { font-size: 14px; color: var(--smoke); margin-top: 14px; max-width: 540px; line-height: 1.8; }

.cards-grid { display: grid; gap: 16px; padding: 40px var(--px); }
@media (min-width: 768px)  { .cards-grid { gap: 20px; padding: 48px var(--px); } }
@media (min-width: 1024px) { .cards-grid { gap: 24px; padding: 60px var(--px); } }

.cards-grid--3col { grid-template-columns: 1fr; }
@media (min-width: 640px)  { .cards-grid--3col { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid--3col { grid-template-columns: repeat(3, 1fr); } }

.cards-grid--4col { grid-template-columns: 1fr; }
@media (min-width: 480px)  { .cards-grid--4col { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .cards-grid--4col { grid-template-columns: repeat(4, 1fr); } }

.cards-grid--featured { grid-template-columns: 1fr; }

/* キャンプ場一覧カード画像 */
.campsite-list-img { height: 180px !important; }
@media (min-width: 640px)  { .campsite-list-img { height: 160px !important; } }
@media (min-width: 1024px) { .campsite-list-img { height: 170px !important; } }
@media (min-width: 640px)  { .cards-grid--featured { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .cards-grid--featured { grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: auto auto; }
  .cards-grid--featured .wb-card:first-child { grid-row: 1 / 3; }
}

.filter-bar {
  display: flex; gap: 8px; padding: 14px var(--px);
  border-bottom: 1px solid var(--sand); flex-wrap: wrap;
  background: var(--cream); position: sticky; top: var(--header-h); z-index: 100;
  overflow-x: auto; scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-btn {
  padding: 7px 14px; font-size: 11px; letter-spacing: 1px;
  border: 1px solid var(--smoke); background: transparent; color: var(--charcoal);
  cursor: pointer; transition: background 0.3s, border-color 0.3s, color 0.3s;
  text-decoration: none; display: inline-block; white-space: nowrap; flex-shrink: 0;
}
@media (min-width: 768px) { .filter-btn { padding: 8px 20px; font-size: 12px; letter-spacing: 2px; } }
.filter-btn:hover, .filter-btn.is-active { background: var(--forest); border-color: var(--forest); color: var(--cream); }

.wb-pagination { padding: 40px var(--px); display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
@media (min-width: 768px) { .wb-pagination { padding: 60px var(--px); gap: 8px; } }
.wb-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid var(--sand);
  color: var(--charcoal); font-size: 13px; text-decoration: none; transition: background 0.3s, color 0.3s;
}
@media (min-width: 768px) { .wb-pagination .page-numbers { width: 44px; height: 44px; } }
.wb-pagination .page-numbers:hover,
.wb-pagination .page-numbers.current { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.wb-pagination .prev.page-numbers,
.wb-pagination .next.page-numbers { width: auto; padding: 0 16px; letter-spacing: 2px; font-size: 11px; }

/* ============================================================
   個別詳細（キャンプ場・ギア）
   ============================================================ */
.single-detail { padding-top: var(--header-h); }
.single-detail__hero {
  position: relative; height: 40vw; min-height: 220px; max-height: 50vh;
  background: var(--forest); overflow: hidden; display: flex; align-items: flex-end; padding: 20px var(--px);
}
@media (min-width: 768px)  { .single-detail__hero { padding: 32px var(--px); min-height: 260px; } }
@media (min-width: 1024px) { .single-detail__hero { min-height: 320px; padding: 40px var(--px); } }
.single-detail__hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.single-detail__hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,46,26,0.95) 0%, rgba(26,46,26,0.15) 60%, transparent 100%);
}
.single-detail__hero-content { position: relative; z-index: 1; max-width: 800px; }
.single-detail__type {
  font-family: 'Bebas Neue', sans-serif; font-size: 11px; letter-spacing: 5px; color: var(--amber);
  margin-bottom: 10px; display: flex; align-items: center; gap: 10px;
}
.single-detail__type::before { content: ''; display: block; width: 24px; height: 1px; background: var(--amber); }
.single-detail__title {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  font-size: clamp(22px, 5vw, 60px); font-weight: 900; color: var(--cream); line-height: 1.1; margin-bottom: 12px;
}
.single-detail__meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--smoke); margin-top: 14px; }

.single-detail__body { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 40px var(--px); }
@media (min-width: 1024px) { .single-detail__body { grid-template-columns: 1fr 320px; gap: 60px; padding: 60px var(--px); align-items: start; } }

.single-detail__content .entry-content { font-size: 15px; line-height: 1.9; color: var(--charcoal); }
@media (min-width: 768px) { .single-detail__content .entry-content { font-size: 16px; } }
.single-detail__content .entry-content p  { margin-bottom: 1.5em; }
.single-detail__content .entry-content h2 {
  font-family: 'Noto Serif JP', serif; font-size: clamp(18px, 3vw, 24px); color: var(--forest);
  margin: 2.5em 0 1em; padding-bottom: 10px; border-bottom: 2px solid var(--sand); position: relative;
}
.single-detail__content .entry-content h2::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 50px; height: 2px; background: var(--amber); }
.single-detail__content .entry-content h3 { font-size: clamp(16px, 2.5vw, 20px); color: var(--forest); margin: 2em 0 0.8em; padding-left: 14px; border-left: 3px solid var(--amber); }
.single-detail__content .entry-content blockquote { border-left: 4px solid var(--amber); padding: 16px 20px; background: var(--sand); margin: 1.5em 0; font-style: italic; color: #666; font-size: 14px; }
.single-detail__content .entry-content img { border-radius: 4px; margin: 1.5em auto; max-width: 100%; }

@media (min-width: 1024px) { .single-detail__sidebar { position: sticky; top: calc(var(--header-h) + 20px); } }
.info-box { background: var(--forest); padding: 24px; border-radius: 4px; margin-bottom: 20px; }
@media (min-width: 768px) { .info-box { padding: 32px; } }
.info-box__title { font-family: 'Bebas Neue', sans-serif; font-size: 13px; letter-spacing: 4px; color: var(--amber); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.info-row { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 13px; }
.info-row:last-child { border-bottom: none; }
.info-row__label { color: var(--smoke); flex-shrink: 0; }
.info-row__value { color: var(--cream); font-weight: 500; text-align: right; word-break: break-all; padding-left: 8px; }
.tag-box { margin-bottom: 20px; }
.tag-box__title { font-family: 'Bebas Neue', sans-serif; font-size: 12px; letter-spacing: 4px; color: var(--amber); margin-bottom: 10px; }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-list a { padding: 5px 12px; border: 1px solid var(--sand); font-size: 11px; color: var(--charcoal); transition: background 0.3s, color 0.3s; }
.tag-list a:hover { background: var(--forest); border-color: var(--forest); color: var(--cream); }

.related-posts { padding: 48px var(--px); background: var(--sand); }
@media (min-width: 768px) { .related-posts { padding: 60px var(--px); } }
.related-posts__title {
  font-family: 'Playfair Display', 'Noto Serif JP', serif; font-size: clamp(20px, 3vw, 28px);
  color: var(--forest); margin-bottom: 28px; display: flex; align-items: center; gap: 14px;
}
.related-posts__title::before { content: ''; display: block; width: 36px; height: 2px; background: var(--amber); flex-shrink: 0; }
.related-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px)  { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .related-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.pros-cons { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; padding: 24px; background: var(--sand); }
@media (min-width: 640px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.pros-cons__title { font-family: 'Bebas Neue', sans-serif; font-size: 12px; letter-spacing: 3px; margin-bottom: 14px; }
.pros-cons ul { display: flex; flex-direction: column; gap: 10px; }
.pros-cons li { font-size: 13px; line-height: 1.6; padding-left: 18px; position: relative; }

/* ============================================================
   固定ページ・記事ページ
   ============================================================ */
.page-content { padding: calc(var(--header-h) + 32px) var(--px) 60px; max-width: 860px; margin: 0 auto; }
@media (min-width: 768px) { .page-content { padding: calc(var(--header-h) + 48px) var(--px) 80px; } }
.page-content h1 {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  font-size: clamp(24px, 5vw, 52px); color: var(--forest);
  margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--sand);
  position: relative; line-height: 1.2;
}
.page-content h1::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 70px; height: 2px; background: var(--amber); }
.page-content .entry-content { font-size: 15px; line-height: 1.9; }
@media (min-width: 768px) { .page-content .entry-content { font-size: 16px; } }
.page-content .entry-content p  { margin-bottom: 1.5em; }
.page-content .entry-content h2 { font-family: 'Noto Serif JP', serif; font-size: clamp(17px, 3vw, 23px); color: var(--forest); margin: 2.5em 0 1em; border-left: 4px solid var(--amber); padding-left: 14px; }
.page-content .entry-content h3 { font-size: clamp(15px, 2.5vw, 19px); color: var(--forest); margin: 2em 0 0.8em; }
.page-content .entry-content ul,
.page-content .entry-content ol  { padding-left: 1.5em; margin-bottom: 1.5em; }
.page-content .entry-content li  { margin-bottom: 0.5em; line-height: 1.8; }
.page-content .entry-content table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: 13px; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (min-width: 768px) { .page-content .entry-content table { display: table; font-size: 14px; } }
.page-content .entry-content th,
.page-content .entry-content td   { padding: 10px 14px; border: 1px solid var(--sand); text-align: left; min-width: 80px; }
.page-content .entry-content th   { background: var(--forest); color: var(--cream); }
.page-content .entry-content tr:nth-child(even) { background: var(--sand); }

.posts-page { padding: calc(var(--header-h) + 32px) var(--px) 60px; max-width: 1100px; margin: 0 auto; }
@media (min-width: 768px) { .posts-page { padding-top: calc(var(--header-h) + 48px); } }
.post-entry { margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--sand); }
.post-entry h2 { font-family: 'Playfair Display', 'Noto Serif JP', serif; font-size: clamp(17px, 3vw, 25px); color: var(--forest); margin-bottom: 10px; line-height: 1.3; }
.post-entry h2 a { color: inherit; transition: color 0.3s; }
.post-entry h2 a:hover { color: var(--amber); }
.post-meta    { font-size: 11px; color: var(--smoke); letter-spacing: 1px; margin-bottom: 12px; }
.post-excerpt { font-size: 14px; color: #666; line-height: 1.9; }
.read-more    { display: inline-block; margin-top: 16px; font-size: 12px; letter-spacing: 2px; color: var(--bark); transition: color 0.3s; }
.read-more:hover { color: var(--ember); }

.single-post { padding: calc(var(--header-h) + 32px) var(--px) 60px; max-width: 820px; margin: 0 auto; }
@media (min-width: 768px) { .single-post { padding-top: calc(var(--header-h) + 48px); } }
.single-post h1 { font-family: 'Playfair Display', 'Noto Serif JP', serif; font-size: clamp(20px, 4vw, 42px); color: var(--forest); margin-bottom: 16px; line-height: 1.2; }
.single-post .post-meta { margin-bottom: 28px; }
.single-post .entry-content { font-size: 15px; line-height: 1.9; color: var(--charcoal); }
@media (min-width: 768px) { .single-post .entry-content { font-size: 16px; } }
.single-post .entry-content p  { margin-bottom: 1.5em; }
.single-post .entry-content h2 { font-family: 'Noto Serif JP', serif; font-size: clamp(16px, 3vw, 22px); color: var(--forest); margin: 2.5em 0 1em; border-left: 4px solid var(--amber); padding-left: 14px; }
.single-post .entry-content h3 { font-size: clamp(14px, 2.5vw, 18px); color: var(--forest); margin: 2em 0 0.8em; }
.single-post .entry-content blockquote { border-left: 4px solid var(--amber); padding: 16px 20px; background: var(--sand); margin: 1.5em 0; font-style: italic; color: #666; font-size: 14px; }
.single-post .entry-content img { margin: 1.5em auto; border-radius: 4px; max-width: 100%; }

/* ============================================================
   WordPressコア補完
   ============================================================ */
.alignleft  { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto; }
@media (max-width: 480px) { .alignleft, .alignright { float: none; margin: 0 0 1em; } }

.error-page {
  min-height: 80vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 60px var(--px); background: var(--cream);
}
.error-page__num { font-family: 'Bebas Neue', sans-serif; font-size: clamp(100px, 20vw, 180px); color: var(--sand); line-height: 1; }
.error-page h1   { font-family: 'Playfair Display', 'Noto Serif JP', serif; font-size: clamp(20px, 4vw, 30px); color: var(--forest); margin: -10px 0 16px; }
.error-page p    { font-size: 14px; color: #666; line-height: 1.8; max-width: 360px; margin-bottom: 32px; }