/* =========================================================
   tukritte 共通スタイル
   レイアウト: スマホファースト / 1カラム→PCで最大1080px。白基調で固定（ダークモード非対応）
   色：メインはロゴの紺。サブはオレンジの単色（--accent）。
   動き：transform と opacity だけ。バネの値は js/motion.js が --spring-* に書き込む
   ========================================================= */
/* 本文の明朝体：サイトで使う文字だけに絞ったもの（scripts/subset-font.py で作る）。
   入っていない字は、次の "BIZ UDPMincho"（Google Fonts）で表示される */
@font-face {
  font-family: "tk-mincho";
  src: url("../assets/fonts/biz-udpmincho-subset.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
/* 見出しのゴシック体も、使う字だけに絞って自前で配る（scripts/subset-font.py） */
@font-face {
  font-family: "tk-gothic";
  src: url("../assets/fonts/zen-kaku-gothic-new-700-subset.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #faf8f6;      /* 白に近い暖かいグレー。写真やサムネイルを引き立てる */
  --ink: #2a3242;
  --ink-sub: #6b7080;
  --line: #ece7e2;
  --navy: #1e3a5f;         /* メイン：ロゴの紺 */
  --navy-soft: #eef2f7;
  --accent: #f39a60;       /* サブ：オレンジの単色。面や印に使い、小さい文字には使わない */
  --accent-soft: #fef1e6;
  --white: #ffffff;

  --font-head: "tk-gothic", "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-body: "tk-mincho", "BIZ UDPMincho", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --radius: 20px;
  --radius-s: 12px;
  --wrap: 1080px;
  --tabbar-h: 64px;

  --spring-default: cubic-bezier(.2, .9, .25, 1);
  --spring-default-dur: 500ms;
  --spring-snappy: cubic-bezier(.2, .9, .25, 1.1);
  --spring-snappy-dur: 450ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--tabbar-h) + 20px + env(safe-area-inset-bottom, 0px)); /* 浮かぶタブの分 */
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; } /* 紺：白地でもオレンジの上でも見える */
.site-footer :focus-visible, .player :focus-visible { outline-color: var(--white); } /* 紺の地の上では白 */
main:focus { outline: none; }
/* 読み上げだけに伝える文（新しいタブで開く、など） */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* キーボードで最初に Tab を押したときだけ出る「本文へ」 */
.skip { position: fixed; left: 12px; top: -100px; z-index: 1000; padding: 10px 16px; border-radius: var(--radius-s); background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 14px; text-decoration: none; }
.skip:focus { top: 12px; outline-color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-head); font-weight: 700;
  line-height: 1.45; letter-spacing: 0.04em;
  text-wrap: balance; margin: 0;
  color: var(--navy);
}

/* ---------- 共通の幅と余白 ---------- */
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.section { padding-block: 48px; }
.page-hero + .section { padding-top: 16px; } /* ページの見出しのすぐ下は詰める */
.section-head { display: grid; gap: 4px; margin-bottom: 20px; }
.section-head h2 { font-size: clamp(22px, 5vw, 28px); }

/* 見出しの印：ロゴの歩く人の頭（紺の丸）と、丸い線端の太い線（サブカラー） */
.head-mark { display: flex; align-items: center; gap: 12px; }
.head-mark::before {
  content: ""; flex: none; width: 34px; height: 12px;
  background:
    radial-gradient(circle at 6px 6px, var(--navy) 5px, transparent 5.5px),
    linear-gradient(var(--accent), var(--accent)) 16px 3px / 18px 6px no-repeat;
  border-radius: 0 3px 3px 0;
}

/* ---------- ボタン ----------
   サブカラー（単色）に紺の文字（白い文字では読みにくいため） */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border: 0; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: 0.06em;
  text-decoration: none; cursor: pointer;
  background: var(--accent); color: var(--navy);
  box-shadow: 0 6px 16px rgba(243, 154, 96, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform var(--spring-default-dur) var(--spring-default);
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) { .btn:hover { transform: translateY(-1px); will-change: transform; } }
.btn--ghost { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn--block { width: 100%; }
.btn::after { content: "→"; font-weight: 400; }
.btn--noarrow::after { content: none; }
.more { margin-top: 24px; display: flex; justify-content: center; }
.text-link {
  color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: 14px;
  text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.note { font-size: 14px; color: var(--ink-sub); margin: 0; }

/* ---------- ヘッダー ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 10;
  height: env(safe-area-inset-top, 0px); background: var(--bg);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--bg); border-bottom: 1px solid var(--line);
  /* スマホでは backdrop-filter を付けない（下に浮かぶタブの位置の基準が変わってしまうため） */
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.site-logo { display: block; width: 120px; }
.site-logo img { width: 100%; }

/* ---------- 4タブ：リキッドガラス（PC: ヘッダー内 / スマホ: 画面下に浮かぶカプセル） ---------- */
.tabs {
  --glass-bg: rgba(255, 255, 255, 0.6);
  position: fixed; z-index: 30;
  left: max(12px, env(safe-area-inset-left, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  padding: 4px; border-radius: 999px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 30px rgba(30, 58, 95, 0.16), 0 2px 6px rgba(30, 58, 95, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(30, 58, 95, 0.06);
}
.tabs::before { /* 上半分に差し込む光（静止） */
  content: ""; position: absolute; inset: 1px 1px 50% 1px; pointer-events: none;
  border-radius: 999px 999px 40% 40% / 999px 999px 100% 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .tabs { --glass-bg: rgba(255, 255, 255, 0.96); }
}
.tabs ul {
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tabbar-h) - 8px);
}
.tabs li { position: relative; z-index: 1; }
.tabs a {
  height: 100%; border-radius: 999px; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-family: var(--font-head); font-size: 12px; font-weight: 700; color: var(--ink-sub);
  -webkit-tap-highlight-color: transparent;
}
.tabs svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: transform var(--spring-snappy-dur) var(--spring-snappy);
}
.tabs a:active svg { transform: scale(0.86); }
.tabs a[aria-current="page"] { color: var(--navy); }
/* 選択中のタブに乗るガラスのレンズ。位置と大きさは JS が置き、移動は transform だけ */
.tabs__lens {
  position: absolute; z-index: 0; left: 0; top: 0; pointer-events: none;
  border-radius: 999px; transform-origin: 0 50%;
  background: rgba(243, 154, 96, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 -1px 2px rgba(243, 154, 96, 0.25), 0 2px 8px rgba(243, 154, 96, 0.18);
}
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .site-header {
    background: rgba(255, 255, 255, 0.74);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
  }
  .tabs {
    position: relative; left: auto; right: auto; bottom: auto; margin-left: auto; padding: 3px;
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(30, 58, 95, 0.06);
  }
  .tabs ul { display: flex; gap: 2px; height: auto; }
  .tabs a { flex-direction: row; gap: 6px; font-size: 14px; padding: 7px 14px; }
  .tabs a:hover { color: var(--navy); }
  .tabs svg { width: 18px; height: 18px; }
  .site-logo { width: 140px; }
}

/* ---------- 「行きたい」：ロゴの歩く人のアイコン（色は CSS で変える） ---------- */
.walker {
  display: inline-block; flex: none; width: 14px; height: 20px;
  background: currentColor;
  -webkit-mask: url("../assets/icon-walker.png") center / contain no-repeat;
  mask: url("../assets/icon-walker.png") center / contain no-repeat;
}
.fav-open {
  position: relative; flex: none;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px; cursor: pointer;
  border: 0; background: var(--white); color: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--accent);
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
}
.fav-open:hover { background: var(--accent-soft); }
.fav-count {
  position: absolute; right: -6px; top: -7px;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--navy); color: var(--white); font-size: 12px; line-height: 20px; text-align: center;
}
/* サムネイル右上のボタン。押された状態はグラデーションの丸に白い人 */
.fav-btn {
  position: absolute; right: 8px; top: 8px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.94); color: var(--navy);
  box-shadow: 0 2px 8px rgba(30, 58, 95, 0.15);
  transition: transform var(--spring-snappy-dur) var(--spring-snappy);
}
.fav-btn:active { transform: scale(0.9); }
.fav-btn[aria-pressed="true"] { background: var(--accent); color: var(--navy); }

.fav-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.fav-list li { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px 12px 12px 16px; }
.fav-list__shop { flex: 1; min-width: 0; display: grid; text-decoration: none; }
.fav-list__shop strong { font-family: var(--font-head); color: var(--navy); }
.fav-list__shop span { font-size: 14px; color: var(--ink-sub); }
.fav-list__remove { flex: none; border: 1px solid var(--line); background: var(--white); color: var(--ink-sub); border-radius: 999px; padding: 6px 12px; font-size: 12px; cursor: pointer; }
.fav-list__remove:hover { border-color: var(--accent); color: var(--navy); }
.fav-empty { color: var(--ink-sub); text-align: center; padding-block: 16px; margin: 0; }

/* ---------- お知らせ（出入りは JS のバネ） ---------- */
.toast {
  position: fixed; left: 50%; z-index: 40;
  bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px) + 22px);
  transform: translate(-50%, 0);
  width: max-content; max-width: calc(100vw - 32px);
  background: var(--navy); color: var(--white);
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
  padding: 10px 18px; border-radius: 999px;
  opacity: 0; pointer-events: none;
}
.toast.is-show { opacity: 1; }
@media (min-width: 768px) { .toast { bottom: 24px; } }

/* ---------- 写真・動画の仮置き（実素材に差し替え） ---------- */
.ph {
  position: relative; overflow: hidden; max-width: 100%;
  background: radial-gradient(120% 80% at 20% 15%, #ffe2cf 0%, transparent 55%), radial-gradient(90% 70% at 85% 90%, #f6c39f 0%, transparent 60%), #f8d5bb;
}
.ph--b { background: radial-gradient(100% 80% at 70% 20%, #fdebc9 0%, transparent 60%), radial-gradient(90% 70% at 10% 90%, #e9b98f 0%, transparent 60%), #f3d4b0; }
.ph--c { background: radial-gradient(100% 80% at 30% 80%, #fff0de 0%, transparent 60%), radial-gradient(90% 70% at 90% 10%, #eab08c 0%, transparent 60%), #f4cdb1; }
.ph--d { background: radial-gradient(100% 80% at 50% 30%, #f7ecdc 0%, transparent 60%), radial-gradient(90% 70% at 20% 90%, #d6b597 0%, transparent 60%), #e9d5c1; }
.ph__label {
  position: absolute; left: 10px; top: 10px;
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  background: rgba(255, 255, 255, 0.85); color: var(--ink-sub); padding: 2px 8px; border-radius: 999px;
}
.ph > img { display: block; width: 100%; height: 100%; object-fit: cover; } /* 実際の写真は枠の大きさに合わせて切り抜く */
.play-mark {
  position: absolute; inset: 0; margin: auto;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); display: grid; place-items: center;
}
.play-mark::before {
  content: ""; margin-left: 5px;
  border-left: 18px solid var(--accent); border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}

/* ---------- ページ切り替えのとき：新しい中身が入る（JS が transform と opacity で動かす） ---------- */
main { display: block; }

/* =========================================================
   ホーム
   ========================================================= */
/* ヒーロー：背景写真はぼかして敷き、その上に透過ロゴだけを置く。
   本番の写真は、あらかじめぼかして小さく書き出した画像を --hero-photo に入れると最も速い */
.hero {
  --hero-photo: radial-gradient(60% 70% at 25% 30%, #f7c9a4 0%, transparent 70%), radial-gradient(55% 65% at 80% 70%, #e9b38f 0%, transparent 70%), linear-gradient(135deg, #f3d9c3, #eed7c6);
  position: relative; overflow: hidden; isolation: isolate;
}
.hero::before { /* ぼかした写真の層（静止画。動かさない） */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--hero-photo) center / cover no-repeat;
  filter: blur(14px); transform: scale(1.1);
}
.hero::after { /* ロゴの紺が読めるよう白をうすく重ねる */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.35));
}
.hero__inner { min-height: clamp(300px, 58vw, 480px); display: grid; place-items: center; padding-block: 40px; }

/* ▼仮の写真（ここから）：ホームのロゴの後ろで、ぼかした写真をフェードアウト・フェードインで切り替える。
   写真はあらかじめぼかして書き出してあるので、動かすのは opacity だけ（ブラウザでぼかしの計算をしない）。
   1枚5秒・5枚で25秒の繰り返し。消すときは index.html の「仮の写真」ブロックと、ここから「ここまで」と assets/demo を削除 */
.hero-demo { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-demo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; will-change: opacity; /* 常に切り替わり続けるので、あらかじめ描画の準備をさせておく */
  animation: hero-demo-fade 25s linear infinite;
}
.hero-demo img:nth-child(2) { animation-delay: 5s; }
.hero-demo img:nth-child(3) { animation-delay: 10s; }
.hero-demo img:nth-child(4) { animation-delay: 15s; }
.hero-demo img:nth-child(5) { animation-delay: 20s; }
@keyframes hero-demo-fade { /* 1.2秒でフェードイン → 表示 → 次の写真と重ねながら1.2秒でフェードアウト */
  0% { opacity: 0; }
  4.8% { opacity: 1; }
  20% { opacity: 1; }
  24.8% { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero-demo img:first-child { opacity: 1; } } /* 動きを減らす設定では1枚目だけ */
/* ▲仮の写真（ここまで） */
.hero h1 { margin: 0; }
.hero__logo { width: min(86vw, 560px); margin-inline: auto; }
/* ロゴの下の2つの入口：写真になじむよう、紺の細い丸枠と文字だけ */
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 0; }
.hero__cta a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 18px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; color: var(--navy); text-decoration: none;
  box-shadow: inset 0 0 0 1.5px var(--navy);
}
.hero__cta a::after { content: "→"; font-weight: 400; }

/* 動画・記事の横スクロール */
.reel {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-top: 6px; padding-bottom: 12px; /* 浮くコマが切れない固定の余白 */
  margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px)));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  scrollbar-width: thin;
}
.reel__item { position: relative; flex: 0 0 auto; width: 148px; scroll-snap-align: start; display: grid; gap: 8px; align-content: start; }
.reel__thumb {
  display: block; aspect-ratio: 9 / 16; width: 100%; border-radius: var(--radius-s);
  border: 0; padding: 0; cursor: pointer;
  transition: transform var(--spring-default-dur) var(--spring-default);
}
.reel__thumb:active { transform: scale(0.97); }
@media (hover: hover) {
  .reel__item:hover .reel__thumb { transform: translateY(-3px); will-change: transform; }
  .reel__item:hover .reel__thumb:active { transform: translateY(-3px) scale(0.97); }
}
.reel__thumb .play-mark { width: 40px; height: 40px; }
.reel__thumb .play-mark::before { border-left-width: 12px; border-top-width: 7px; border-bottom-width: 7px; margin-left: 3px; }
.reel__name { font-family: var(--font-head); font-size: 14px; font-weight: 700; line-height: 1.5; text-decoration: none; color: var(--navy); }
.reel__name:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.reel__area { font-size: 12px; color: var(--ink-sub); margin: -6px 0 0; }
.reel__more-item { flex: 0 0 auto; scroll-snap-align: start; }
.reel__more {
  display: grid; place-items: center; text-align: center;
  width: 148px; aspect-ratio: 9 / 16; padding: 12px;
  border-radius: var(--radius-s); border: 2px dashed var(--accent);
  font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--navy); text-decoration: none;
}
.reel__more:hover { background: var(--accent-soft); }
.badge-new {
  position: absolute; left: 8px; top: 8px; z-index: 1;
  font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: 0.1em;
  line-height: 1; padding: 5px 8px; border-radius: 999px; background: var(--navy); color: var(--white);
}
.reel--articles .reel__item { width: 220px; }
.reel--articles .reel__thumb { aspect-ratio: 4 / 5; }
.reel--articles .reel__more { width: 220px; aspect-ratio: 4 / 5; }
.reel__title { font-family: var(--font-head); font-size: 14px; font-weight: 700; line-height: 1.55; margin: 0; word-break: auto-phrase; } /* 言葉の途中で折り返さない（対応していないブラウザは今まで通り） */
.reel__title a { text-decoration: none; }
.reel__title a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.reel__meta { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 12px; color: var(--ink-sub); margin: -4px 0 0; }
.tag {
  display: inline-block; align-self: center; line-height: 1.6;
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  padding: 1px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--navy);
}
.tag--pr { background: var(--navy); color: var(--white); }

/* tukritteについて */
.about { display: grid; gap: 16px; }
@media (min-width: 900px) { .about { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.about__block--profile { grid-column: 1 / -1; } /* 運営者は横幅いっぱいの帯 */
.about__block { background: var(--white); border: 1.5px solid var(--navy); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.about__block h3 { font-size: 18px; }
/* オレンジの横線：大きな見出しの印（.head-mark）の線と同じ形。小見出しは左に、人の言葉は頭に置く */
.about__block h3 { display: flex; align-items: center; gap: 10px; }
.about__block h3::before, .profile__lead::before, .maker__quote::before { content: ""; flex: none; width: 18px; height: 6px; border-radius: 0 3px 3px 0; background: var(--accent); }
.profile__lead::before, .maker__quote::before { display: block; margin-bottom: 10px; }
.about__block p { margin: 0; }
.profile { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
.profile__photo { display: block; justify-self: center; width: 140px; height: 140px; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 768px) {
  .profile { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: center; }
  .profile__photo { width: 220px; height: 220px; }
}
.profile__text { display: grid; gap: 10px; }
.profile__lead { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--navy); }
.profile__name { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.policy { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }

/* 紹介クーポンへの誘導 */
.coupon-banner {
  position: relative; overflow: hidden;
  display: grid; gap: 16px; align-items: center;
  padding: 28px 24px; border-radius: var(--radius);
  background: var(--accent); color: var(--navy); text-decoration: none;
}
.coupon-banner::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px;
  border-radius: 50%; border: 2px dashed rgba(255, 255, 255, 0.6);
}
.coupon-banner h2 { font-size: clamp(20px, 5vw, 26px); }
.coupon-banner p { margin: 0; font-size: 14px; }
.coupon-banner .btn { background: var(--white); justify-self: start; box-shadow: none; }
@media (min-width: 768px) { .coupon-banner { grid-template-columns: 1fr auto; padding: 36px 40px; } }


/* =========================================================
   各ページの上部
   ========================================================= */
.page-hero { padding-block: 36px 8px; }
.page-hero h1 { font-size: clamp(26px, 6vw, 36px); }
.page-hero--center { text-align: center; }

/* =========================================================
   紹介クーポン
   ========================================================= */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step {
  display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: start;
  background: var(--white); border: 1.5px solid var(--navy); border-radius: var(--radius); padding: 20px;
}
.step__picto { width: 76px; height: 76px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; }
.step__picto svg { width: 44px; height: 44px; fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.step__picto .accent { stroke: var(--accent); }
.step__picto .accent-fill { fill: var(--accent); stroke: none; }
@media (max-width: 480px) {
  .step { grid-template-columns: 56px 1fr; gap: 12px; padding: 18px 16px; }
  .step__picto { width: 56px; height: 56px; }
  .step__picto svg { width: 34px; height: 34px; }
}
.step__label {
  display: inline-block; margin-bottom: 4px; padding: 1px 10px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: 0.14em;
  color: var(--white); background: var(--navy);
}
.step h3 { font-size: 18px; margin-bottom: 4px; }
.step p { margin: 0; }
.step .note { margin-top: 6px; }
.step__note { margin-top: 10px !important; font-size: 14px; color: var(--ink-sub); background: var(--bg-soft); border-radius: var(--radius-s); padding: 8px 12px; }
.cta-box {
  margin-top: 28px; display: grid; gap: 10px; justify-items: center; text-align: center;
  background: var(--white); border: 1.5px solid var(--navy); border-radius: var(--radius); padding: 24px 20px;
}
.cta-box p { margin: 0; font-size: 14px; color: var(--ink-sub); }
.cta-box--top { margin: 0 0 28px; }
.cta-box .btn { width: min(100%, 360px); }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rules li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; background: var(--white); border: 1.5px solid var(--navy); border-radius: var(--radius-s); padding: 14px 16px; }
.rules li::before {
  content: "✓"; width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy-soft); color: var(--navy);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 14px;
}
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--white); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 16px 48px 16px 18px; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q."; color: var(--navy); margin-right: 8px; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--navy); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 18px 18px; }
.terms-link { margin: 24px 0 0; text-align: center; }

/* =========================================================
   問い合わせ：F型（左上の見出し→横に読む行）＋スマホのワンスクロール
   ========================================================= */
.contact-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; padding-block: 28px 16px; }
.contact-top h1 { font-size: clamp(24px, 6vw, 34px); }
.contact-top .btn { min-height: 44px; padding: 10px 20px; font-size: 14px; }

/* 流れ（左の縦列）とできること（右）を1つにまとめる */
.guide { list-style: none; margin: 0; padding: 0; display: grid; }
.guide__row { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 0 12px; padding-bottom: 14px; }
.guide__row::before { /* 番号をつなぐ線 */
  content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px;
  background: var(--navy); opacity: 0.2;
}
.guide__row:last-child::before { display: none; }
.guide__num { /* 紺の●に白く切り抜いた数字 */
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  box-shadow: 0 4px 10px rgba(30, 58, 95, 0.2);
}
.guide__body { display: grid; gap: 8px; min-width: 0; padding-top: 6px; }
.guide__step { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--navy); margin: 0; line-height: 1.5; }
.guide__text { margin: 0; font-size: 14px; color: var(--ink-sub); line-height: 1.6; }
.guide__cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 768px) {
  .guide__row { grid-template-columns: 48px 180px 1fr; gap: 0 20px; padding-bottom: 20px; align-items: start; }
  .guide__row::before { left: 23px; top: 48px; }
  .guide__num { width: 48px; height: 48px; font-size: 18px; }
  .guide__body { display: contents; }
  .guide__head { padding-top: 10px; }
  .guide__cards, .guide__text { grid-column: 3; padding-top: 6px; }
  .guide__cards { gap: 12px; }
}

/* 2〜4の中身：1と同じく枠を付けず、小見出し＋本文の文字だけで並べる */
.service { display: grid; gap: 2px; font-size: 14px; color: var(--ink-sub); line-height: 1.6; }
.service__title { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--navy); margin-right: 8px; }
.service__detail ul { margin: 0; padding: 0; list-style: none; display: grid; }
.service__detail li { position: relative; padding-left: 12px; }
.service__detail li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.service__meta { margin: 2px 0 0; font-size: 12px; color: var(--ink-sub); }

/* フォーム */
.form { display: grid; gap: 18px; max-width: 640px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.req, .opt { font-size: 12px; padding: 1px 6px; border-radius: 4px; margin-left: 6px; vertical-align: 1px; }
.req { background: var(--navy); color: var(--white); }
.opt { background: var(--line); color: var(--ink-sub); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; font: inherit; font-size: 16px; line-height: 1.6; color: var(--ink);
  padding: 9px 12px; border: 1px solid #8a8f9c; border-radius: var(--radius-s); background: var(--white); /* 枠は白地と 3:1 以上 */
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--navy); border-color: var(--navy); }
.field input[aria-invalid="true"]:not([type="radio"]), .field textarea[aria-invalid="true"] { border: 2px solid #b42318; } /* 未入力の必須欄（エラーの赤は、この印だけに使う） */
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-weight: 400; font-size: 14px; border: 1px solid #8a8f9c; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.chips input, .agree input { accent-color: var(--accent); }
.chips label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.agree input { margin-top: 6px; }
.form-note { margin: 0; font-size: 14px; color: var(--ink-sub); }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* 機械だけが入力する見えない欄 */
.form-done { border-radius: var(--radius); background: var(--accent-soft); padding: 20px; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.link-list a { position: relative; display: grid; gap: 2px; height: 100%; padding: 16px 40px 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); text-decoration: none; }
.link-list a::after { content: "→"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--accent); }
.link-list a:hover { border-color: var(--accent); }
.link-list strong { font-family: var(--font-head); color: var(--navy); }
.link-list span { font-size: 14px; color: var(--ink-sub); }

/* =========================================================
   動画
   ========================================================= */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filters button { font-family: var(--font-head); font-weight: 700; font-size: 14px; border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
/* 印（pages.js が足す）があるときは、紺の面を印が受け持つ。ボタンは印の上に重ねる */
.filters.has-mark { position: relative; }
.filters__mark { position: absolute; z-index: 0; border-radius: 999px; background: var(--navy); transform-origin: left center; pointer-events: none; }
.filters.has-mark button { position: relative; z-index: 1; background: transparent; }
.filters:has(+ .filters--sort) { margin-bottom: 10px; }
.filters--sort button { padding: 6px 14px; font-size: 12px; }
.video-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.video-grid .reel__item { width: auto; }
@media (min-width: 768px) { .video-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 28px 20px; } }
.article-grid .reel__thumb { aspect-ratio: 4 / 5; } /* 記事の一覧は、ホームの記事と同じ縦長 */
.empty-note { color: var(--ink-sub); text-align: center; padding-block: 24px; }

/* =========================================================
   記事ページ：F型（左上に店名と見出し→本文の列＋右に店舗情報）
   ========================================================= */
/* Z型：上の線（左に見出し → 右に行きたい）、本文は左右交互、下の線（左に店舗情報 → 右にクーポン） */
.article-head { padding-block: 24px 16px; display: grid; gap: 10px; }
.article-head__text { display: grid; gap: 10px; min-width: 0; }
.article-head .article-head__fav { display: none; } /* 後ろにある .btn-walker の display より強くする */
@media (min-width: 768px) {
  .article-head { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 24px; }
  .article-head .article-head__fav { display: inline-flex; padding: 0 22px; }
}
.article-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; color: var(--ink-sub); margin: 0; }
.article-head__shop { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 16px; }
.article-head h1 { font-size: clamp(22px, 5.6vw, 34px); max-width: 24em; }
.article-head__date { font-size: 12px; color: var(--ink-sub); margin: 0; }
.article-photo { aspect-ratio: 21 / 9; border-radius: var(--radius); } /* PC でも下のお店の情報が最初の画面に入る高さ */
@media (max-width: 767px) { .article-photo { aspect-ratio: 4 / 3; } }
/* お店の情報の下に付ける、小さな記事（メディアを小さめにして読み物らしく） */
.article-z { display: grid; gap: 28px; padding-block: 32px 48px; }
.article-z h2 { font-size: clamp(16px, 4.5vw, 18px); } /* スマホでも小見出しが1行に収まる大きさ */
.article-z p { margin: 0; }
.article-z__row { display: grid; gap: 16px; align-items: center; }
.article-z__text { display: grid; gap: 12px; min-width: 0; }
@media (min-width: 768px) {
  .article-z__row { grid-template-columns: 240px minmax(0, 1fr); gap: 12px 32px; }
  .article-z__row > h2 { grid-column: 1 / -1; } /* 小見出しは段の上に横幅いっぱいで1行 */
  .article-z__row:nth-child(even) { grid-template-columns: minmax(0, 1fr) 240px; }
  .article-z__row:nth-child(even) .article-z__media { order: 2; } /* 偶数段は左右を入れ替える */
  .article-z__row--text .article-z__text { grid-column: 1 / -1; max-width: 40em; } /* 写真のない段は文だけ */
}
.article-menu { display: grid; gap: 14px; }
.article-end { display: grid; gap: 20px; padding-block: 20px 0; }
@media (min-width: 768px) {
  .article-end { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
}
.maker .article-z__media { display: grid; justify-items: center; }
.maker .reel__item { width: min(100%, 200px); }
.maker__quote { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.7; color: var(--navy); }
@media (max-width: 480px) { .maker .reel__item { width: 60%; } .maker__quote { font-size: 16px; } }
.article-figure { margin: 0; display: grid; gap: 6px; }
.article-figure .ph { aspect-ratio: 3 / 2; border-radius: var(--radius-s); }
.article-figure figcaption { font-size: 12px; color: var(--ink-sub); }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.menu-list li { display: grid; gap: 6px; }
.menu-list .ph { aspect-ratio: 1; border-radius: var(--radius-s); }
.menu-list strong { font-family: var(--font-head); color: var(--navy); }
.menu-list span { font-size: 14px; color: var(--ink-sub); }
.shop-info { background: var(--white); border: 1.5px solid var(--navy); border-radius: var(--radius); padding: 20px; display: grid; gap: 14px; }
.shop-info h2 { font-size: 18px; }
.shop-info dl { display: grid; grid-template-columns: 5.5em 1fr; margin: 0; font-size: 14px; }
.shop-info dt, .shop-info dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); }
.shop-info dt { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.shop-actions { display: grid; gap: 8px; }
.btn-walker { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; border: 0; cursor: pointer; background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--accent); font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.btn-walker[aria-pressed="true"] { background: var(--accent); box-shadow: none; }
/* スマホ：読みながら押せるよう、タブの上に小さく浮かぶ2つのボタン */
.article-float {
  position: fixed; z-index: 25; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--tabbar-h) + 20px + env(safe-area-inset-bottom, 0px));
  width: max-content; max-width: calc(100vw - 32px); /* left:50% だと幅が半分に縮むので中身の幅にする */
  display: flex; gap: 8px; padding: 6px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.16);
  transition: transform var(--spring-default-dur) var(--spring-default), opacity 0.2s;
}
/* 下へ読み進めている間は隠す（pages.js が付け外し）。隠れている間は押せない・フォーカスも入らない */
.article-float.is-away { transform: translate(-50%, 24px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform var(--spring-default-dur) var(--spring-default), opacity 0.2s, visibility 0s linear 0.2s; }
.article-float .btn, .article-float .btn-walker { min-height: 40px; padding: 8px 16px; font-size: 14px; white-space: nowrap; }
@media (min-width: 900px) { .article-float { display: none; } }

/* =========================================================
   動画の拡大表示（js/player.js）
   ========================================================= */
.is-player-open, .is-player-open body { overflow: hidden; }
.player { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(22, 38, 62, 0.96); color: var(--white); overflow: hidden; }
.player[open] { display: grid; grid-template-rows: auto 1fr; }
.player::backdrop { background: rgba(22, 38, 62, 0.6); }
.player__top { display: flex; align-items: center; justify-content: space-between; padding: calc(10px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); }
.player__count { font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.player__close { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.14); color: var(--white); font-size: 24px; line-height: 1; }
.player__close:hover { background: rgba(255, 255, 255, 0.26); }
.player__track { display: flex; min-height: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.player__track::-webkit-scrollbar { display: none; }
.player__slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; scroll-snap-stop: always; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 0 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
.player__frame { position: relative; transform-origin: 0 0; height: min(100%, calc(100dvh - 210px)); max-height: 100%; aspect-ratio: 9 / 16; max-width: 100%; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; }
.player__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player__pending { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--navy); }
.player__sound { position: absolute; right: 12px; bottom: 12px; border: 0; border-radius: 999px; padding: 8px 14px; cursor: pointer; background: rgba(22, 38, 62, 0.75); color: var(--white); font-family: var(--font-head); font-size: 12px; font-weight: 700; }
.player__info { width: min(100%, 420px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.player__shop { display: grid; min-width: 0; }
.player__shop strong { font-family: var(--font-head); font-size: 18px; }
.player__shop span { font-size: 14px; opacity: 0.8; }
.player__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.player__fav { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid rgba(255, 255, 255, 0.6); border-radius: 999px; background: transparent; color: var(--white); padding: 8px 12px; cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 12px; }
.player__fav[aria-pressed="true"] { background: var(--accent); color: var(--navy); border-color: transparent; }
.player__read { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.player__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.9); color: var(--navy); font-size: 32px; line-height: 1; display: none; }
.player__nav:disabled { opacity: 0.3; cursor: default; }
.player__nav--prev { left: max(24px, env(safe-area-inset-left, 0px)); }
.player__nav--next { right: max(24px, env(safe-area-inset-right, 0px)); }
@media (hover: hover) and (min-width: 768px) { .player__nav { display: grid; place-items: center; } }
@media (max-width: 480px) { .player__shop, .player__actions { flex: 1 0 100%; } .player__read { flex: 1; } }
@media (max-width: 767px) {
  .player[open] { display: block; }
  .player__top { position: absolute; inset: 0 0 auto; z-index: 3; background: linear-gradient(rgba(22, 38, 62, 0.6), transparent); padding-bottom: 24px; }
  .player__track { height: 100%; }
  .player__slide { position: relative; padding: 0; justify-content: flex-end; }
  .player__frame { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; aspect-ratio: auto; border-radius: 0; }
  .player__pending { bottom: auto; top: calc(50% + 48px); }
  .player__sound { bottom: auto; top: calc(72px + env(safe-area-inset-top, 0px)); }
  .player__info { position: relative; z-index: 2; width: 100%; padding: 56px max(16px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: linear-gradient(transparent, rgba(22, 38, 62, 0.8)); }
  .player__fav { background: rgba(22, 38, 62, 0.35); }
}

/* =========================================================
   ポップアップ（規約・行きたいお店・できること）
   ========================================================= */
.modal { width: min(640px, calc(100vw - 32px)); max-height: min(80vh, 720px); padding: 0; border: 0; border-radius: var(--radius); background: var(--white); color: var(--ink); box-shadow: 0 24px 60px rgba(30, 58, 95, 0.25); overflow: hidden; }
.modal[open] { display: flex; flex-direction: column; }
.modal::backdrop { background: rgba(30, 58, 95, 0.45); }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.modal__head h2 { font-size: 18px; }
.modal__close { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 0; background: var(--navy-soft); color: var(--navy); font-size: 22px; line-height: 1; cursor: pointer; }
.modal__close:hover { background: var(--accent-soft); }
.modal__body { padding: 20px; overflow-y: auto; font-size: 16px; }
.modal__body h3 { font-size: 16px; margin: 20px 0 6px; }
.modal__body p { margin: 0 0 10px; }
.modal__body ul { margin: 0 0 10px; padding-left: 1.3em; }
.modal__draft { font-size: 14px; color: var(--navy); background: var(--accent-soft); border-radius: var(--radius-s); padding: 8px 12px; }
.modal__table { display: grid; grid-template-columns: 6.5em 1fr; margin: 0; }
.modal__table dt, .modal__table dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.modal__table dt { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 14px; }
.modal__date { font-size: 14px; color: var(--ink-sub); margin-top: 20px !important; }

/* ---------- フッター（紺の反転ロゴ） ---------- */
.site-footer { background: var(--navy); color: var(--white); padding-block: 44px 32px; font-size: 14px; }
.site-footer .wrap { display: grid; gap: 20px; justify-items: center; text-align: center; }
.footer-logo { width: 180px; }
.footer-sns, .footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.footer-sns { gap: 10px; }
.footer-sns a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px;
  border: 1.5px solid var(--accent); border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--accent); text-decoration: none;
}
.footer-sns a:hover { background: var(--accent); color: var(--navy); }
.footer-sns svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-links a { text-decoration: none; color: rgba(255, 255, 255, 0.82); }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.copyright { margin: 0; color: rgba(255, 255, 255, 0.6); font-size: 12px; }
