/* ============================================================
   北海道 旅のしおり ─ 個別ページ用デザイン
   最新ルールに合わせて、ページごとの調整OK
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: "palt";
  color: #333;
  background: #FFFAF5;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 56px; /* 固定ナビの高さ分 */
}
img { max-width: 100%; height: auto; display: block; }
a { color: #E8793B; }
ul { list-style: none; }

:root {
  --orange: #E8793B;
  --orange-light: #FFF0E6;
  --orange-deep: #D4622A;
  --yellow-light: #FFF8E1;
  --green: #4CAF93;
  --green-light: #E8F5F0;
  --ink: #333333;
  --ink-soft: #666666;
  --ink-muted: #999999;
  --bg-white: #FFFFFF;
  --line: #F0E6DC;
  --radius: 16px;
}

/* ===== 上部ナビ（旅のしおりトップに戻る） ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255, 250, 245, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(240, 230, 220, 0.6);
}
.nav__inner {
  max-width: 760px; margin: 0 auto;
  padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav__back {
  font-size: 14px; font-weight: 700; color: var(--orange);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: opacity 0.2s ease;
}
.nav__back:hover { opacity: 0.65; }
.nav__badge {
  font-size: 11px; font-weight: 700; color: var(--orange);
  background: var(--orange-light);
  padding: 5px 12px; border-radius: 999px;
  letter-spacing: 0.04em; white-space: nowrap;
}

/* ===== レイアウト ===== */
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ===== ページ見出し（ヒーロー） ===== */
.hero {
  padding-top: 48px;
  padding-bottom: 36px;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  color: var(--orange); background: var(--orange-light);
  padding: 7px 15px; border-radius: 999px;
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 900; line-height: 1.35;
  color: var(--ink); margin-bottom: 18px;
}
.hero__lead {
  font-size: 16px; color: var(--ink-soft); line-height: 2;
}
.hero__photo { margin-top: 28px; }
.hero__photo img { border-radius: var(--radius); width: 100%; }

/* ===== このページでわかること ===== */
.need-box {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: 12px;
  padding: 22px;
  margin: 0 0 22px;
}
.need-box__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--orange-deep);
  background: var(--orange-light);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 10px;
}
.need-box__title {
  font-size: 20px;
  line-height: 1.55;
  margin-bottom: 10px;
}
.need-box__title strong {
  color: var(--orange-deep);
  font-weight: 900;
}
.need-box__lead {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 16px;
}
.need-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.need-grid div {
  background: #F8FBFA;
  border: 1px solid #E5F0EC;
  border-radius: 10px;
  padding: 14px;
}
.need-grid strong {
  display: block;
  color: #2E7D6A;
  font-size: 14px;
  margin-bottom: 4px;
}
.need-grid span {
  display: block;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.7;
}

/* ===== 長いページで迷わないためのページ内メニュー ===== */
.jump-nav {
  position: sticky;
  top: 68px;
  z-index: 20;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 18px;
  padding: 8px;
  background: rgba(255, 250, 245, 0.94);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.jump-nav a {
  flex: 0 0 auto;
  color: var(--ink-soft);
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 10px 14px;
  text-decoration: none;
}
.jump-nav a:hover {
  color: #FFFFFF;
  background: var(--orange);
  border-color: var(--orange);
}

/* ===== 季節ごとの楽しみ方 ===== */
.season-guide {
  margin: 26px 0 18px;
  padding: 24px 0 6px;
}
.season-guide__label {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.season-guide__title {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.55;
  margin-bottom: 14px;
}
.season-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.season-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
.season-card strong {
  display: block;
  color: var(--orange-deep);
  font-size: 16px;
  margin-bottom: 5px;
}
.season-card span {
  display: block;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

/* ===== 今回行く / 次回行く ===== */
.route-hint {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 22px 0 6px;
}
.route-hint div {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px;
}
.route-hint strong {
  display: block;
  color: var(--orange-deep);
  font-size: 14px;
  margin-bottom: 5px;
}
.route-hint span {
  display: block;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

/* ===== 本文セクション ===== */
.section { padding: 24px 0; }
.section__title {
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 800; color: var(--ink);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--orange);
  display: inline-block;
}
.section p { font-size: 15.5px; color: #444; margin-bottom: 16px; }
.section h3 {
  font-size: 18px; font-weight: 800; color: var(--ink);
  margin: 28px 0 12px;
}
.lead {
  font-size: 16.5px; color: var(--ink-soft);
  line-height: 2; margin-bottom: 20px;
}

/* ===== チェックリスト風のリスト ===== */
.list { margin: 0 0 18px; }
.list li {
  position: relative; padding-left: 26px;
  font-size: 15.5px; color: #444; margin-bottom: 10px;
}
.list li::before {
  content: "\2713"; position: absolute; left: 0;
  color: var(--orange); font-weight: 800;
}

/* ===== 写真 ===== */
.photo { margin: 24px 0; }
.photo img { border-radius: var(--radius); width: 100%; }
.spot .photo img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.photo figcaption {
  font-size: 13px; color: var(--ink-muted);
  text-align: center; margin-top: 8px;
}
/* 写真がまだ無いときの「ここに写真」プレースホルダー */
.photo-ph {
  border: 2px dashed #E5D5C5;
  border-radius: var(--radius);
  background: #FFF7EF;
  color: var(--ink-muted);
  font-size: 13px; font-weight: 700;
  text-align: center;
  padding: 52px 20px;
  margin: 24px 0;
}

/* ===== お店・スポット紹介カード ===== */
.spot {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin: 20px 0;
}
.spot__name {
  font-size: 19px; font-weight: 800; color: var(--ink);
  margin-bottom: 14px;
}
.spot__meta {
  display: grid; grid-template-columns: auto 1fr;
  gap: 6px 16px;
  font-size: 14px;
  margin-bottom: 14px;
}
.spot__meta dt { font-weight: 700; color: var(--orange); }
.spot__meta dd { color: var(--ink-soft); }
.spot__body { font-size: 14.5px; color: #444; }
.local-note {
  background: #F6FBFF;
  border: 1px solid #D7EAF8;
  border-radius: 12px;
  color: #36576B;
  font-size: 14.5px;
  line-height: 1.9;
  margin-top: 14px;
  padding: 14px 16px;
}
.local-note strong { color: #255A77; }

/* ===== コツ・注意のボックス ===== */
.tip, .warn {
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 22px 0;
  font-size: 14.5px; line-height: 1.9;
  color: #444;
}
.tip { background: var(--green-light); border: 1px solid #BFE5D8; }
.warn { background: var(--yellow-light); border: 1px solid #FDE68A; }
.tip__title, .warn__title {
  font-weight: 800; margin-bottom: 6px;
  display: flex; align-items: center; gap: 6px;
}
.tip__title { color: #2E7D6A; }
.warn__title { color: #B8860B; }

/* ===== 季節を変えてまた来たくなるメッセージ ===== */
.season-message {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 12px;
  margin: 34px 0 22px;
  padding: 24px;
}
.season-message__label {
  color: #2E7D6A;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.season-message h2 {
  color: var(--ink);
  font-size: 23px;
  line-height: 1.55;
  margin-bottom: 12px;
}
.season-message p {
  color: #444;
  font-size: 15.5px;
  line-height: 1.95;
}

/* ===== タグ（お店カードにつける目印） ===== */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.tag {
  font-size: 12px; font-weight: 700;
  padding: 5px 13px; border-radius: 999px;
  white-space: nowrap;
}
.tag--spring { color: #2E7D6A; background: #E8F5F0; }
.tag--summer { color: #2F7A9E; background: #E3F0F6; }
.tag--autumn { color: var(--orange-deep); background: var(--orange-light); }
.tag--winter { color: #4C5E82; background: #E8EDF7; }

/* ===== しぼりこみフィルター ===== */
.filter { margin: 4px 0 22px; }
.filter__label {
  font-size: 13px; font-weight: 700; color: var(--ink-soft);
  margin-bottom: 10px;
}
.filter__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter__chip {
  font-family: inherit;
  font-size: 13px; font-weight: 700;
  color: var(--ink-soft); background: var(--bg-white);
  border: 1.5px solid var(--line);
  padding: 8px 16px; border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.filter__chip:hover { border-color: var(--orange); color: var(--orange); }
.filter__chip--active {
  color: #fff; background: var(--orange);
  border-color: var(--orange);
}
.filter__chip--active:hover { color: #fff; }

/* フィルターで隠れたお店カード */
.spot--hidden { display: none; }

/* ===== 担当者プロフィール（このページを書いた人） ===== */
.author {
  margin: 48px 0 36px;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; gap: 20px; align-items: center;
}
.author__avatar {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: contain; flex-shrink: 0;
  background: var(--orange-light);
  padding: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
}
.author__body { flex: 1; }
.author__label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--ink-muted); margin-bottom: 4px;
}
.author__name {
  font-size: 17px; font-weight: 800; color: var(--ink);
  margin-bottom: 6px;
}
.author__bio {
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.8;
  margin-bottom: 8px;
}
.author__link {
  font-size: 13px; font-weight: 700; color: var(--orange);
  text-decoration: none;
}
.author__link:hover { opacity: 0.65; }

/* ===== フッター ===== */
.footer {
  background: #333; color: #999;
  text-align: center; padding: 28px 24px;
  font-size: 13px; line-height: 2;
}
.footer a { color: #FFD9B3; }

/* ===== 画像クレジット ===== */
.credits {
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 12.5px;
  margin: 16px 0 34px;
  padding-top: 14px;
}
.credits summary {
  cursor: pointer;
  font-weight: 700;
}
.credits p,
.credits li {
  color: var(--ink-muted);
  font-size: 12.5px;
  line-height: 1.8;
}
.credits ul { margin-top: 8px; }
.credits li { margin-bottom: 3px; }

/* ===== リベシティ支部リンク ===== */
.branch-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.branch-links a {
  background: var(--orange);
  border-radius: 999px;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  padding: 12px 14px;
  text-align: center;
  text-decoration: none;
}
.branch-links a:hover { background: var(--orange-deep); }

/* ===== スマホ ===== */
@media (max-width: 600px) {
  .need-grid { grid-template-columns: 1fr; }
  .jump-nav {
    top: 58px;
    border-radius: 12px;
    margin-right: -4px;
    margin-left: -4px;
  }
  .season-grid,
  .route-hint,
  .branch-links { grid-template-columns: 1fr; }
  .author { flex-direction: column; text-align: center; }
  .author__avatar { width: 80px; height: 80px; }
  .spot__meta { grid-template-columns: 1fr; gap: 2px 0; }
  .spot__meta dt { margin-top: 8px; }
}
