/*
Theme Name: PLAYGROUND
Theme URI: https://example.com/
Author: PLAYGROUND
Description: 47都道府県の旅と移住のメディア「PLAYGROUND」専用テーマ。日本中を、遊びつくす。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: playground
*/

/* =========================================================================
   デザイントークン
   FigmaのカラーVariablesと同じ値。色を変えるときはここだけ触る。
   ========================================================================= */
:root {
  --bg-base:   #FBF7F0;  /* 生成りの地 */
  --bg-card:   #FFFFFF;
  --bg-sub:    #F3EDE1;  /* ひとつ沈んだ面 */
  --bg-dark:   #2E2A24;
  --ink:       #2E2A24;
  --ink-mute:  #8A8072;
  --ink-inv:   #FBF7F0;
  --terracotta:#C15B3B;
  --green:     #4B5E3F;
  --mustard:   #D8A034;
  --navy:      #35506B;
  --skyblue:   #6C97A8;
  --sand:      #C9B899;
  --rule:      #E4DCCB;

  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;

  /* PCの余白・モバイルはメディアクエリで上書き */
  --gutter: 64px;
  --maxw:   1440px;
  --readw:  760px;   /* 本文の読みやすい幅 */
}

/* =========================================================================
   リセットと土台
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* 横スクロールの事故を防ぐ */
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { opacity: .78; }

button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }

:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }

h1, h2, h3, h4 { margin: 0; font-weight: 900; line-height: 1.35; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.pg-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* スキップリンク */
.pg-skip {
  position: absolute; left: -9999px; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px;
}
.pg-skip:focus { left: 12px; top: 12px; }

/* =========================================================================
   レイアウト部品
   ========================================================================= */
.pg-wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.pg-inner { max-width: var(--maxw); margin: 0 auto; }
.pg-read { max-width: var(--readw); margin: 0 auto; }

.pg-section { padding-top: 72px; padding-bottom: 72px; }
.pg-section--tight { padding-top: 44px; padding-bottom: 44px; }
.pg-section--sub   { background: var(--bg-sub); }
.pg-section--card  { background: var(--bg-card); }
.pg-section--dark  { background: var(--bg-dark); color: var(--ink-inv); }

/* セクション見出し */
.pg-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  color: var(--terracotta); margin-bottom: 6px;
}
.pg-h2 { font-size: 34px; }
.pg-h3 { font-size: 26px; }
.pg-section--dark .pg-h2 { color: var(--ink-inv); }

.pg-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 28px;
}
.pg-more-link { font-size: 14px; font-weight: 700; white-space: nowrap; }

/* =========================================================================
   ボタン
   ========================================================================= */
.pg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 28px; border-radius: 999px;
  font-size: 14px; font-weight: 700; text-align: center;
  transition: opacity .18s ease;
}
.pg-btn--primary { background: var(--terracotta); color: #fff; }
.pg-btn--green   { background: var(--green); color: #fff; }
.pg-btn--white   { background: #fff; color: var(--terracotta); }
.pg-btn--outline { background: #fff; color: var(--ink); border: 1px solid var(--rule); }
.pg-btn--ghost   { background: transparent; color: #fff; border: 1.5px solid #fff; }
.pg-btn--wide    { width: 100%; }

/* =========================================================================
   ヘッダー
   ========================================================================= */
.pg-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-card); border-bottom: 1px solid var(--rule);
}
.pg-header-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 20px var(--gutter);
  max-width: var(--maxw); margin: 0 auto;
}
.pg-logo { display: block; }
.pg-logo-mark { font-size: 26px; font-weight: 900; letter-spacing: .02em; }
.pg-logo-sub  { font-size: 11px; letter-spacing: .04em; color: var(--ink-mute); }

.pg-nav { display: flex; gap: 26px; align-items: center; }
.pg-nav a { font-size: 13px; font-weight: 500; }

.pg-header-actions { display: flex; align-items: center; gap: 4px; }
.pg-icon-btn {
  width: 44px; height: 44px; display: inline-flex;
  align-items: center; justify-content: center;
}
.pg-icon-btn svg { width: 20px; height: 20px; }
.pg-burger { display: none; }

/* =========================================================================
   ドロワー（モバイルナビ）
   ========================================================================= */
.pg-drawer {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg-base); overflow-y: auto;
  transform: translateX(100%); transition: transform .28s ease;
  visibility: hidden;
}
.pg-drawer.is-open { transform: translateX(0); visibility: visible; }
.pg-drawer-top {
  position: sticky; top: 0; background: var(--bg-card);
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 16px 8px 20px; border-bottom: 1px solid var(--rule);
}
.pg-drawer-body { padding: 20px 20px 40px; }
.pg-drawer-block { margin-bottom: 28px; }
.pg-drawer-h { font-size: 17px; margin-bottom: 12px; }

.pg-drawer-links { border-top: 1px solid var(--rule); }
.pg-drawer-links a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 54px; padding: 8px 0; border-bottom: 1px solid var(--rule);
  font-size: 15px; font-weight: 500;
}
.pg-drawer-links a.is-accent { color: var(--terracotta); font-weight: 700; }
.pg-drawer-links a::after {
  content: ""; width: 8px; height: 8px; flex: 0 0 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); opacity: .5;
}

/* カテゴリータイル（ドロワー内・2列） */
.pg-cat-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pg-cat-tile {
  display: flex; align-items: flex-end; min-height: 56px;
  padding: 12px 14px; border-radius: 10px;
  color: #fff; font-size: 14px; font-weight: 700;
}

/* =========================================================================
   検索オーバーレイ
   ========================================================================= */
.pg-search-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(38, 35, 29, .97);
  color: var(--ink-inv); overflow-y: auto;
  padding: 20px var(--gutter) 60px;
  opacity: 0; visibility: hidden; transition: opacity .22s ease;
}
.pg-search-overlay.is-open { opacity: 1; visibility: visible; }
.pg-so-top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1040px; margin: 0 auto 32px;
}
.pg-so-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--sand); }
.pg-so-close svg { width: 26px; height: 26px; }
.pg-so-form { max-width: 1040px; margin: 0 auto 40px; }
.pg-so-field {
  display: flex; align-items: center; gap: 14px;
  border-bottom: 2px solid rgba(255,255,255,.5); padding-bottom: 14px;
}
.pg-so-field svg { width: 26px; height: 26px; flex: 0 0 26px; }
.pg-so-field input {
  flex: 1; min-width: 0; background: none; border: 0; color: #fff;
  font: 700 28px/1.4 var(--font);
}
.pg-so-field input::placeholder { color: rgba(255,255,255,.45); }
.pg-so-groups { max-width: 1040px; margin: 0 auto; display: grid; gap: 32px; }
.pg-so-gh { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #9c9385; margin-bottom: 14px; }
.pg-so-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pg-so-chips a {
  min-height: 44px; display: inline-flex; align-items: center;
  padding: 0 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35); font-size: 14px; font-weight: 500;
}

/* =========================================================================
   ヒーロー
   ========================================================================= */
.pg-hero {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 640px; padding: 0 var(--gutter) 56px;
  color: #fff; overflow: hidden;
}
.pg-hero--pref  { min-height: 480px; }
.pg-hero--short { min-height: 360px; justify-content: center; }
.pg-hero-bg { position: absolute; inset: 0; z-index: 0; }
.pg-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.pg-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,26,21,.72), rgba(30,26,21,.12));
}
/* 画像が無いときのグラデーション地 */
.pg-hero-bg--empty {
  background: linear-gradient(150deg, #DBAE78 0%, #9C7A4C 55%, #4A5E3F 100%);
}
.pg-hero-in { position: relative; z-index: 1; max-width: 820px; }
.pg-hero-title { font-size: 68px; line-height: 1.12; margin: 14px 0; }
.pg-hero--pref .pg-hero-title { font-size: 84px; }
.pg-hero-sub { font-size: 17px; line-height: 1.7; max-width: 620px; margin-bottom: 22px; }

.pg-badge {
  display: inline-flex; align-items: center; padding: 6px 14px;
  border-radius: 999px; background: var(--terracotta); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
}
.pg-hero-meta { font-size: 12px; font-weight: 700; opacity: .9; }

/* 県ページのステータス */
.pg-stats { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.pg-stat { display: flex; align-items: center; gap: 5px; }
.pg-stat b { font-size: 18px; font-weight: 900; }
.pg-stat span { font-size: 11px; opacity: .85; }

/* =========================================================================
   都道府県アコーディオン
   ========================================================================= */
.pg-acc-hint { font-size: 13px; color: var(--ink-mute); margin-bottom: 20px; }
.pg-acc-item { border-bottom: 1px solid var(--rule); }
.pg-acc-trigger {
  display: flex; align-items: center; gap: 14px; width: 100%;
  min-height: 64px; padding: 18px 0; text-align: left;
}
.pg-acc-name { font-size: 22px; font-weight: 900; }
.pg-acc-count { font-size: 12px; font-weight: 500; color: var(--ink-mute); }
.pg-acc-icon {
  margin-left: auto; position: relative; width: 22px; height: 22px; flex: 0 0 22px;
}
.pg-acc-icon::before, .pg-acc-icon::after {
  content: ""; position: absolute; background: var(--ink);
  transition: transform .2s ease, background-color .2s ease;
}
.pg-acc-icon::before { top: 10px; left: 0; width: 22px; height: 2.4px; }
.pg-acc-icon::after  { left: 10px; top: 0; width: 2.4px; height: 22px; }

.pg-acc-item.is-open .pg-acc-name { color: var(--terracotta); }
.pg-acc-item.is-open .pg-acc-icon::before { background: var(--terracotta); }
.pg-acc-item.is-open .pg-acc-icon::after { transform: scaleY(0); }

.pg-acc-panel {
  display: none; flex-wrap: wrap; gap: 10px; padding-bottom: 24px;
}
.pg-acc-item.is-open .pg-acc-panel { display: flex; }

.pg-pref-chip {
  min-height: 44px; display: inline-flex; align-items: center;
  padding: 0 18px; border-radius: 999px;
  background: var(--bg-sub); border: 1px solid var(--rule);
  font-size: 14px; font-weight: 500;
}
.pg-pref-chip:hover { border-color: var(--terracotta); color: var(--terracotta); opacity: 1; }

/* ドロワー内のアコーディオンは少し詰める */
.pg-accordion--drawer .pg-acc-trigger { min-height: 56px; padding: 14px 0; }
.pg-accordion--drawer .pg-acc-name { font-size: 16px; font-weight: 700; }
.pg-accordion--drawer .pg-acc-panel { display: none; }
.pg-accordion--drawer .pg-acc-item.is-open .pg-acc-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.pg-accordion--drawer .pg-pref-chip { border-radius: 8px; background: #fff; justify-content: center; padding: 0 6px; font-size: 13px; }

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

.pg-card-thumb { display: block; overflow: hidden; border-radius: 12px; margin-bottom: 12px; }
.pg-thumb { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pg-thumb--empty { display: block; width: 100%; aspect-ratio: 3 / 2; }
.pg-card-meta { font-size: 11px; font-weight: 700; color: var(--ink-mute); margin-bottom: 6px; }
.pg-card-meta .pg-dot { margin: 0 6px; }
.pg-card-title { font-size: 17px; font-weight: 700; line-height: 1.5; }
.pg-card-credit { font-size: 12px; color: var(--ink-mute); margin-top: 8px; }
.pg-tag-genre { font-size: 11px; font-weight: 700; }

/* 横スクロールのカルーセル */
.pg-scroller {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding-bottom: 4px;
}
.pg-scroller::-webkit-scrollbar { display: none; }
.pg-scroller > * { flex: 0 0 auto; scroll-snap-align: start; }

/* 特集カード */
.pg-feature-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  width: 420px; min-height: 420px; padding: 24px; border-radius: 16px;
  overflow: hidden; color: #fff;
}
.pg-feature-card--grid { width: auto; }
.pg-feature-card .pg-fc-bg { position: absolute; inset: 0; z-index: 0; }
.pg-feature-card .pg-fc-bg img { width: 100%; height: 100%; object-fit: cover; }
.pg-feature-card .pg-fc-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,26,21,.75), rgba(30,26,21,.05));
}
.pg-fc-bg--empty { background: linear-gradient(155deg, #D08A4F, #8C5630 70%, #3E3226); }
.pg-feature-card > *:not(.pg-fc-bg) { position: relative; z-index: 1; }
.pg-fc-badge {
  align-self: flex-start; background: rgba(255,255,255,.92); color: var(--ink);
  padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 700;
  margin-bottom: 10px;
}
.pg-fc-title { font-size: 26px; line-height: 1.3; }

/* カテゴリータイル（トップ・7枚） */
.pg-genre-tiles { display: flex; flex-wrap: wrap; gap: 16px; }
.pg-genre-tile {
  display: flex; align-items: flex-end; width: 190px; min-height: 120px;
  padding: 18px; border-radius: 14px; color: #fff;
  font-size: 18px; font-weight: 700;
}

/* =========================================================================
   絞り込みタブ・チップ
   ========================================================================= */
.pg-tabs {
  display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none;
  padding: 4px 0;
}
.pg-tabs::-webkit-scrollbar { display: none; }
.pg-tab {
  flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center;
  padding: 0 18px; border-radius: 999px; border: 1px solid var(--rule);
  background: #fff; font-size: 13px; font-weight: 700; white-space: nowrap;
}
.pg-tab[aria-current="true"], .pg-tab.is-active {
  background: var(--terracotta); color: #fff; border-color: var(--terracotta);
}

.pg-filter-row { display: flex; gap: 16px; align-items: center; padding: 10px 0; }
.pg-filter-label { flex: 0 0 90px; font-size: 13px; font-weight: 700; color: var(--ink-mute); }
.pg-filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pg-chip {
  min-height: 44px; display: inline-flex; align-items: center;
  padding: 0 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--rule);
  font-size: 12px; font-weight: 500; white-space: nowrap;
}
.pg-chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 700; }

/* =========================================================================
   記事詳細
   ========================================================================= */
.pg-article-head { padding: 48px var(--gutter) 32px; text-align: center; }
.pg-article-head .pg-read { display: grid; gap: 18px; justify-items: center; }
.pg-crumb { font-size: 13px; color: var(--ink-mute); }
.pg-crumb a:hover { color: var(--terracotta); }
.pg-article-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pg-tag {
  min-height: 36px; display: inline-flex; align-items: center;
  padding: 0 14px; border-radius: 999px; border: 1px solid var(--rule);
  background: #fff; font-size: 12px; font-weight: 700;
}
.pg-tag--fill { color: #fff; border-color: transparent; }
.pg-article-title { font-size: 38px; line-height: 1.4; }
.pg-credit { display: flex; align-items: center; gap: 10px; }
.pg-credit-avatar {
  width: 36px; height: 36px; border-radius: 999px; flex: 0 0 36px;
  background: var(--terracotta);
}
.pg-credit-handle { font-size: 13px; font-weight: 700; }
.pg-credit-date { font-size: 11px; color: var(--ink-mute); }

.pg-visual { margin-bottom: 28px; }
.pg-visual img { width: 100%; border-radius: 16px; }
.pg-visual-caption { font-size: 11px; color: var(--ink-mute); text-align: center; margin-top: 12px; }

/* 本文 */
.pg-body { font-size: 16px; line-height: 1.9; }
.pg-body > * + * { margin-top: 1.6em; }
.pg-body h2 { font-size: 26px; margin-top: 2.2em; }
.pg-body h3 { font-size: 20px; margin-top: 2em; }
.pg-body a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }
.pg-body img { border-radius: 12px; }
.pg-body blockquote {
  margin: 2em 0; padding: 4px 0 4px 24px;
  border-left: 3px solid var(--terracotta);
  font-size: 19px; font-weight: 700; line-height: 1.7;
}
.pg-body ul, .pg-body ol { padding-left: 1.4em; }
.pg-body ul li { list-style: disc; }
.pg-body ol li { list-style: decimal; }
.pg-body li + li { margin-top: .5em; }
.pg-body figure { margin: 2em 0; }
.pg-body figcaption { font-size: 12px; color: var(--ink-mute); margin-top: 8px; }

/* PR表記 */
.pg-pr {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: 8px;
  background: #FAF3E0; border: 1px solid var(--mustard);
  margin-bottom: 24px;
}
.pg-pr-badge {
  background: var(--mustard); color: #fff; font-size: 11px; font-weight: 900;
  letter-spacing: .06em; padding: 4px 10px; border-radius: 4px;
}
.pg-pr-text { font-size: 13px; font-weight: 500; }

/* シェア・保存 */
.pg-share {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding: 20px 0; border-top: 1px solid var(--rule); margin-top: 32px;
}
.pg-share-group { display: flex; gap: 10px; flex-wrap: wrap; }
.pg-share-btn {
  min-height: 44px; display: inline-flex; align-items: center;
  padding: 0 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--rule);
  font-size: 12px; font-weight: 700;
}
.pg-save-btn {
  min-height: 46px; display: inline-flex; align-items: center; gap: 9px;
  padding: 0 24px; border-radius: 999px;
  background: var(--terracotta); color: #fff; font-size: 13px; font-weight: 700;
}
.pg-save-btn svg { width: 15px; height: 15px; }
.pg-save-btn.is-saved { background: var(--green); }

/* =========================================================================
   スポット情報カード
   ========================================================================= */
.pg-spot-card {
  background: var(--bg-sub); border: 1px solid var(--rule);
  border-radius: 14px; padding: 24px 28px; margin-bottom: 16px;
}
.pg-spot-head { margin-bottom: 16px; }
.pg-spot-name { font-size: 22px; }
.pg-spot-visited { font-size: 10px; color: var(--ink-mute); margin-top: 4px; }
.pg-spot-table { display: grid; gap: 10px; margin: 0 0 18px; }
.pg-spot-row { display: flex; gap: 16px; }
.pg-spot-row dt {
  flex: 0 0 80px; font-size: 12px; font-weight: 700; color: var(--ink-mute);
  padding-top: 2px;
}
.pg-spot-row dd { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.65; }
.pg-spot-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pg-spot-actions .pg-btn { min-height: 44px; padding: 10px 20px; font-size: 13px; }

/* =========================================================================
   地図
   ========================================================================= */
.pg-map-shell {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--rule); background: #dfe4d6;
}
.pg-map { height: 420px; }
.pg-map--short { height: 280px; }
.pg-map-gate {
  position: absolute; inset: 0; z-index: 500;
  display: none; align-items: center; justify-content: center;
  background: rgba(46,42,36,.28); cursor: pointer;
}
.pg-map-gate span {
  background: rgba(46,42,36,.85); color: #fff; font-size: 14px; font-weight: 700;
  padding: 10px 18px; border-radius: 999px;
}
.pg-map-shell.is-locked .pg-map-gate { display: flex; }

/* ポップアップ */
.leaflet-popup-content-wrapper { border-radius: 12px; box-shadow: 0 6px 24px rgba(46,42,36,.18); }
.leaflet-popup-content { margin: 14px 16px; font-family: var(--font); }
.pg-pop-cat { font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.pg-pop-name { font-size: 15px; font-weight: 700; margin: 3px 0 6px; line-height: 1.5; }
.pg-pop-meta { font-size: 11px; color: var(--ink-mute); margin: 0 0 10px; }
.pg-pop-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pg-pop-links a { font-size: 11px; font-weight: 700; padding: 8px 12px; border-radius: 999px; }
.pg-pop-read { background: var(--terracotta); color: #fff; }
.pg-pop-gmap { border: 1px solid var(--rule); color: var(--ink); }

/* 地図下のスポットカード */
.pg-spots-head { font-size: 12px; color: var(--ink-mute); margin: 16px 0 10px; }
.pg-spots { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.pg-spots::-webkit-scrollbar { display: none; }
.pg-spot {
  flex: 0 0 230px; display: flex; gap: 12px; align-items: center;
  background: var(--bg-sub); border: 1px solid var(--rule); border-radius: 10px;
  overflow: hidden; text-align: left; padding: 0 14px 0 0;
}
.pg-spot:hover { border-color: var(--terracotta); }
.pg-spot-swatch { width: 82px; height: 82px; flex: 0 0 82px; }
.pg-spot-cat { font-size: 10px; font-weight: 700; }
.pg-spot-name-sm { font-size: 14px; font-weight: 700; line-height: 1.45; }

/* =========================================================================
   特集詳細（番号つきスポット）
   ========================================================================= */
.pg-spotlist { display: grid; gap: 72px; }
.pg-spotlist-item { display: grid; grid-template-columns: 660px 1fr; gap: 48px; align-items: center; }
.pg-spotlist-item:nth-child(even) { grid-template-columns: 1fr 660px; }
.pg-spotlist-item:nth-child(even) .pg-sl-media { order: 2; }
.pg-sl-media img, .pg-sl-media .pg-thumb--empty { border-radius: 16px; aspect-ratio: 3 / 2; }
.pg-sl-num-row { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.pg-sl-num { font-size: 52px; font-weight: 900; color: var(--terracotta); line-height: 1; }
.pg-sl-pref { font-size: 15px; font-weight: 700; letter-spacing: .04em; color: var(--ink-mute); }
.pg-sl-title { font-size: 30px; line-height: 1.4; margin-bottom: 14px; }
.pg-sl-excerpt { font-size: 15px; line-height: 1.85; margin-bottom: 16px; }
.pg-sl-info {
  background: var(--bg-sub); border-radius: 10px; padding: 14px 18px; margin-bottom: 16px;
  font-size: 13px;
}
.pg-sl-info b { font-weight: 700; }
.pg-sl-info span { display: block; color: var(--ink-mute); font-size: 12px; margin-top: 4px; }

/* =========================================================================
   CTA
   ========================================================================= */
.pg-cta-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pg-cta-card { border-radius: 16px; padding: 28px 32px; color: #fff; }
.pg-cta-card--go   { background: var(--terracotta); }
.pg-cta-card--live { background: var(--green); }
.pg-cta-label { font-size: 24px; font-weight: 900; margin-bottom: 10px; }
.pg-cta-desc { font-size: 14px; opacity: .92; margin-bottom: 14px; }

.pg-join {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; background: var(--green); color: #fff;
  padding: 56px var(--gutter);
}
.pg-join-in { max-width: 760px; }
.pg-join-title { font-size: 30px; line-height: 1.4; margin: 10px 0; }
.pg-join-sub { font-size: 15px; line-height: 1.65; opacity: .95; }
.pg-join-btns { display: grid; gap: 12px; }

.pg-bigcta { text-align: center; padding: 64px var(--gutter); background: var(--green); color: #fff; }
.pg-bigcta h2 { font-size: 34px; margin-bottom: 20px; }
.pg-bigcta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =========================================================================
   検索結果
   ========================================================================= */
.pg-searchbar {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 8px 8px 8px 24px;
}
.pg-searchbar svg { width: 22px; height: 22px; flex: 0 0 22px; }
.pg-searchbar input {
  flex: 1; min-width: 0; border: 0; background: none;
  font: 700 20px/1.5 var(--font); color: var(--ink);
}
.pg-searchbar input::placeholder { color: #ada593; font-weight: 500; }
.pg-search-count { font-size: 15px; color: var(--ink-mute); margin-top: 20px; }

.pg-result {
  display: flex; gap: 24px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--rule);
}
.pg-result-thumb { flex: 0 0 200px; border-radius: 10px; overflow: hidden; }
.pg-result-thumb .pg-thumb, .pg-result-thumb .pg-thumb--empty { aspect-ratio: 200 / 130; }
.pg-result-body { min-width: 0; }
.pg-result-badges { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.pg-type-badge {
  font-size: 10px; font-weight: 700; letter-spacing: .04em;
  color: #fff; padding: 3px 8px; border-radius: 4px;
}
.pg-type-badge--post { background: var(--terracotta); }
.pg-type-badge--feature { background: var(--navy); }
.pg-result-title { font-size: 20px; line-height: 1.45; }
.pg-result-meta { font-size: 12px; color: var(--ink-mute); margin-top: 6px; }

/* 0件 */
.pg-empty { text-align: center; padding: 80px 20px; }
.pg-empty-title { font-size: 26px; margin-bottom: 12px; }
.pg-empty-sub { font-size: 15px; color: var(--ink-mute); margin-bottom: 28px; }
.pg-empty-chips { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ページネーション */
.pg-pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pg-pager .page-numbers {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid var(--rule); font-size: 14px; font-weight: 700;
}
.pg-pager .page-numbers.current { background: var(--terracotta); color: #fff; border-color: var(--terracotta); }

/* =========================================================================
   フォーム（お問い合わせ）
   ========================================================================= */
.pg-form { display: grid; gap: 24px; max-width: 720px; margin: 0 auto; }
.pg-field { display: grid; gap: 9px; }
.pg-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.pg-required { background: var(--terracotta); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 3px; }
.pg-input, .pg-textarea, .pg-select {
  width: 100%; padding: 15px 18px; border-radius: 8px;
  border: 1px solid var(--rule); background: #fff;
  font: 400 15px/1.6 var(--font); color: var(--ink);
}
.pg-textarea { min-height: 140px; resize: vertical; }
.pg-consent { display: flex; align-items: center; gap: 11px; font-size: 13px; font-weight: 500; }

.pg-route-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pg-route-card {
  background: var(--bg-sub); border: 1px solid var(--rule);
  border-radius: 16px; padding: 28px;
}
.pg-route-tag {
  display: inline-block; color: #fff; font-size: 10px; font-weight: 700;
  letter-spacing: .04em; padding: 4px 10px; border-radius: 4px; margin-bottom: 12px;
}
.pg-route-title { font-size: 18px; line-height: 1.45; margin-bottom: 10px; }
.pg-route-desc { font-size: 13px; line-height: 1.7; color: var(--ink-mute); }

/* =========================================================================
   Join Us
   ========================================================================= */
.pg-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pg-benefit { background: var(--bg-sub); border-radius: 16px; padding: 28px; }
.pg-benefit-dot { width: 40px; height: 40px; border-radius: 999px; margin-bottom: 12px; }
.pg-benefit h3 { font-size: 18px; margin-bottom: 10px; }
.pg-benefit p { font-size: 14px; line-height: 1.7; color: var(--ink-mute); }

.pg-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pg-step-num { font-size: 30px; font-weight: 900; color: var(--terracotta); line-height: 1.1; }
.pg-step h3 { font-size: 16px; margin: 6px 0; }
.pg-step p { font-size: 13px; line-height: 1.6; color: var(--ink-mute); }

.pg-faq-item { border-bottom: 1px solid var(--rule); }
.pg-faq-q {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 18px 0; text-align: left; font-size: 16px; font-weight: 700; line-height: 1.6;
}
.pg-faq-icon { margin-left: auto; position: relative; width: 18px; height: 18px; flex: 0 0 18px; }
.pg-faq-icon::before, .pg-faq-icon::after {
  content: ""; position: absolute; background: var(--ink-mute); transition: transform .2s ease;
}
.pg-faq-icon::before { top: 8px; left: 0; width: 18px; height: 2.4px; }
.pg-faq-icon::after { left: 8px; top: 0; width: 2.4px; height: 18px; }
.pg-faq-item.is-open .pg-faq-icon::before { background: var(--terracotta); }
.pg-faq-item.is-open .pg-faq-icon::after { transform: scaleY(0); }
.pg-faq-a { display: none; font-size: 14px; line-height: 1.85; color: var(--ink-mute); padding-bottom: 18px; }
.pg-faq-item.is-open .pg-faq-a { display: block; }

/* =========================================================================
   404
   ========================================================================= */
.pg-404 {
  text-align: center; color: #fff; padding: 96px var(--gutter);
  background: linear-gradient(150deg, #C9B899, #4A5E3F);
}
.pg-404-num { font-size: 120px; font-weight: 900; line-height: 1; letter-spacing: .02em; }
.pg-404-title { font-size: 30px; margin: 12px 0; }
.pg-404-sub { font-size: 15px; line-height: 1.8; opacity: .92; margin-bottom: 24px; }
.pg-404-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================================
   フッター
   ========================================================================= */
.pg-footer { background: #2E2A21; color: var(--ink-inv); padding: 56px var(--gutter) 40px; }
.pg-footer-in { max-width: var(--maxw); margin: 0 auto; }
.pg-footer-top {
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding-bottom: 40px;
}
.pg-footer-brand { max-width: 300px; }
.pg-footer-logo { font-size: 24px; font-weight: 900; margin-bottom: 10px; }
.pg-footer-tag { font-size: 12px; line-height: 1.8; color: #b8b0a1; }
.pg-footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.pg-footer-col h3 {
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--sand); margin-bottom: 12px;
}
.pg-footer-col a { display: block; font-size: 13px; font-weight: 500; color: #d9d4c9; padding: 6px 0; }
.pg-footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.15); padding-top: 24px;
}
.pg-copyright { font-size: 12px; color: #99917f; }
.pg-sns { display: flex; gap: 20px; }
.pg-sns a { font-size: 12px; font-weight: 700; color: #d9d4c9; }

/* =========================================================================
   追従アクションバー（記事・特集のみ）
   ========================================================================= */
.pg-sticky-bar { display: none; }

/* =========================================================================
   タブレット
   ========================================================================= */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .pg-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .pg-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .pg-hero-title { font-size: 52px; }
  .pg-hero--pref .pg-hero-title { font-size: 64px; }
  .pg-spotlist-item,
  .pg-spotlist-item:nth-child(even) { grid-template-columns: 1fr; gap: 20px; }
  .pg-spotlist-item:nth-child(even) .pg-sl-media { order: 0; }
  .pg-route-cards, .pg-benefits { grid-template-columns: 1fr; }
  .pg-steps { grid-template-columns: repeat(2, 1fr); }
  .pg-nav { display: none; }
  .pg-burger { display: inline-flex; }
}

/* =========================================================================
   モバイル（768px以下）— Figmaの390px設計に対応
   ========================================================================= */
@media (max-width: 768px) {
  :root { --gutter: 20px; }

  body { font-size: 15px; }

  .pg-section { padding-top: 44px; padding-bottom: 44px; }
  .pg-h2 { font-size: 26px; }
  .pg-h3 { font-size: 20px; }

  .pg-header-in { padding: 8px 16px 8px 20px; }
  .pg-logo-mark { font-size: 19px; }
  .pg-logo-sub { display: none; }

  /* ヒーロー */
  .pg-hero { min-height: 560px; padding-bottom: 32px; }
  .pg-hero--pref { min-height: 380px; }
  .pg-hero--short { min-height: 300px; }
  .pg-hero-title { font-size: 38px; line-height: 1.2; }
  .pg-hero--pref .pg-hero-title { font-size: 56px; }
  .pg-hero-sub { font-size: 14px; }
  .pg-hero .pg-btn { width: 100%; }

  /* グリッドは1カラム。写真主体なので大きく見せる */
  .pg-grid--3, .pg-grid--4 { grid-template-columns: 1fr; gap: 28px; }

  /* アコーディオン */
  .pg-acc-trigger { min-height: 60px; padding: 16px 0; }
  .pg-acc-name { font-size: 18px; }
  .pg-acc-icon { width: 20px; height: 20px; flex-basis: 20px; }
  .pg-acc-icon::before { top: 9px; width: 20px; }
  .pg-acc-icon::after { left: 9px; height: 20px; }
  .pg-acc-panel { display: none; }
  .pg-acc-item.is-open .pg-acc-panel {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; padding-bottom: 18px;
  }
  .pg-pref-chip { border-radius: 8px; justify-content: center; padding: 0 6px; font-size: 13px; }

  /* 特集カード */
  .pg-feature-card { width: 280px; min-height: 360px; padding: 20px; }
  .pg-fc-title { font-size: 22px; }
  .pg-scroller { gap: 14px; padding-left: var(--gutter); padding-right: var(--gutter); margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }

  /* カテゴリータイル 2列 */
  .pg-genre-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .pg-genre-tile { width: auto; min-height: 96px; padding: 14px; font-size: 15px; }

  /* 記事詳細 */
  .pg-article-head { padding: 24px var(--gutter) 20px; text-align: left; }
  .pg-article-head .pg-read { justify-items: start; gap: 14px; }
  .pg-crumb { display: none; } /* モバイルではタグが文脈を担うので省く */
  .pg-article-tags { justify-content: flex-start; }
  .pg-article-title { font-size: 27px; line-height: 1.5; }

  /* メインビジュアルは全幅（フルブリード） */
  .pg-visual { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
  .pg-visual img { border-radius: 0; }

  .pg-body { font-size: 15px; line-height: 1.9; }
  .pg-body h2 { font-size: 21px; }
  .pg-body h3 { font-size: 18px; }
  .pg-body blockquote { font-size: 17px; padding-left: 18px; }

  /* スポットカード：ラベルを値の上に積む（2カラムは390pxで潰れる） */
  .pg-spot-card { padding: 20px 18px; }
  .pg-spot-name { font-size: 20px; }
  .pg-spot-row { flex-direction: column; gap: 3px; }
  .pg-spot-row dt { flex-basis: auto; font-size: 10px; letter-spacing: .04em; }
  .pg-spot-actions { flex-direction: column; }
  .pg-spot-actions .pg-btn { width: 100%; }

  /* 地図は全幅 */
  .pg-map-shell {
    border-radius: 0; border-left: 0; border-right: 0;
    margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1);
  }
  .pg-map { height: 260px; }
  .pg-map--short { height: 240px; }
  .pg-spots { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }

  /* 特集の番号つきリスト */
  .pg-spotlist { gap: 48px; }
  .pg-sl-media {
    margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1);
  }
  .pg-sl-media img, .pg-sl-media .pg-thumb--empty { border-radius: 0; }
  .pg-sl-num { font-size: 40px; }
  .pg-sl-title { font-size: 23px; }

  /* CTA */
  .pg-cta-cards { grid-template-columns: 1fr; }
  .pg-cta-card { padding: 22px; }
  .pg-join { flex-direction: column; align-items: stretch; padding: 48px var(--gutter); }
  .pg-join-title { font-size: 24px; }
  .pg-join-btns .pg-btn { width: 100%; }
  .pg-bigcta { padding: 44px var(--gutter); }
  .pg-bigcta h2 { font-size: 24px; }
  .pg-bigcta-btns { flex-direction: column; }
  .pg-bigcta-btns .pg-btn { width: 100%; }

  /* 検索 */
  .pg-searchbar { padding: 6px 6px 6px 18px; }
  .pg-searchbar input { font-size: 17px; }
  .pg-filter-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .pg-filter-label { flex-basis: auto; font-size: 11px; }
  .pg-filter-chips {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1);
    padding: 0 var(--gutter);
  }
  .pg-filter-chips::-webkit-scrollbar { display: none; }

  .pg-result { gap: 14px; padding: 18px 0; }
  .pg-result-thumb { flex-basis: 110px; }
  .pg-result-thumb .pg-thumb, .pg-result-thumb .pg-thumb--empty { aspect-ratio: 110 / 80; }
  .pg-result-title { font-size: 15px; line-height: 1.52; }

  /* 検索オーバーレイ */
  .pg-search-overlay { padding: 20px var(--gutter) 40px; }
  .pg-so-field input { font-size: 20px; }

  /* フォーム */
  .pg-steps { grid-template-columns: 1fr; }
  .pg-step { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .pg-step-num { font-size: 24px; }

  /* フッター */
  .pg-footer { padding: 40px var(--gutter) 32px; }
  .pg-footer-cols { flex-direction: column; gap: 28px; }
  .pg-footer-col a { min-height: 44px; display: flex; align-items: center; padding: 0; }

  /* 404 */
  .pg-404 { padding: 64px var(--gutter); }
  .pg-404-num { font-size: 76px; }
  .pg-404-title { font-size: 22px; }
  .pg-404-btns { flex-direction: column; }
  .pg-404-btns .pg-btn { width: 100%; }

  /* 追従バー：記事・特集のみ表示 */
  .pg-sticky-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
    display: flex; align-items: center; gap: 10px;
    padding: 11px 16px; background: #fff;
    border-top: 1px solid var(--rule);
    box-shadow: 0 -3px 12px rgba(46,42,36,.10);
    padding-bottom: calc(11px + env(safe-area-inset-bottom));
  }
  .pg-sticky-bar .pg-sb-save { flex: 1; }
  .pg-sticky-bar .pg-sb-map { flex: 1; }
  .pg-sticky-bar .pg-btn { min-height: 46px; padding: 0 14px; font-size: 14px; }
  .pg-sticky-bar .pg-sb-share {
    width: 46px; height: 46px; flex: 0 0 46px; border-radius: 999px;
    border: 1px solid var(--rule); display: inline-flex;
    align-items: center; justify-content: center;
  }
  .pg-sticky-bar .pg-sb-share svg { width: 18px; height: 18px; }
  /* 追従バーがフッターを隠さないよう下に余白を作る */
  body.has-sticky-bar .pg-footer { padding-bottom: 100px; }
}

/* =========================================================================
   印刷・アニメーション配慮
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
