/* ============================================================
   RUN JOURNEY — COMMON STYLES
   Design tokens, header / hamburger menu, footer, shared components
   ============================================================ */

/* ライセンス版の DIN を使う場合は、Webフォントを配置してこの2ブロックを有効にしてください。
@font-face { font-family: 'RJ DIN'; src: url('fonts/DINNext-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'RJ DIN'; src: url('fonts/DINNext-Bold.woff2')    format('woff2'); font-weight: 700; font-display: swap; }
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── RUN JOURNEY ブランドカラー（2022 更新版に準拠） ──
     PRIMARY : RJ Yellow #DAA900 / Black #191919 / Dark Gray #757575
               Med Gray #BABABA / Light Gray #E8E8E8
     EC      : Beige #E6DEC9 ほか
     ※ --orange 系の変数名は既存コードとの互換のため据え置き。
        実際の値は RJ Yellow とその濃淡です。 */
  --orange: #DAA900;        /* RJ Yellow（面・アイコン・ボタン） */
  --orange-deep: #A67F00;   /* 小さい文字・リンク用の濃いイエロー */
  --orange-mid: #C29300;    /* ボタンホバー */
  --orange-light: #FBF3D6;  /* 淡いイエロー背景 */
  --black: #191919;         /* Black */
  --dark-gray: #474747;     /* Dark Gray 2（本文） */
  --gray: #F5F5F5;          /* 面（白と馴染む淡いグレー） */
  --light-gray: #E8E8E8;    /* Light Gray（罫・境界） */
  --gray-2: #D1D1D1;        /* Light Gray 2（点線） */
  --med-gray: #BABABA;      /* Med Gray */
  --mid-gray: #757575;      /* Dark Gray（副次テキスト） */
  --beige: #E6DEC9;         /* EC Beige */
  --white: #FFFFFF;
  --font-display: 'Noto Sans JP', sans-serif;  /* 旧: Bebas Neue。和欧混植のズレを避けて Noto に統一 */
  --font-body: 'Noto Sans JP', sans-serif;
  --font-en: 'Inter', sans-serif;
  /* 数字用。ライセンス版 DIN があれば下の @font-face を有効にすると自動で優先されます。
     未導入の環境では Barlow（DIN 系のグロテスク）にフォールバックします。
     和文グリフを持たないので、混在テキストでは日本語だけ Noto Sans JP に落ちます。 */
  --font-num: 'RJ DIN', 'DIN Next LT Pro', 'DIN Next', 'DIN Alternate', 'D-DIN',
              'Barlow', 'Noto Sans JP', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--black); overflow-x: hidden; }

a { color: inherit; }

/* ── HEADER ── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 64px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
}
.logo {
  font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--black);
  letter-spacing: 2px; text-decoration: none; z-index: 201; position: relative;
  display: flex; align-items: center;
}
.logo span { color: var(--orange); }
.logo img { height: 26px; width: auto; display: block; }

/* Emoji-as-image helper: wrap an <img> inside any icon span to keep it sized */
.cat-icon img, .subcat-icon img, .feat-thumb img, .product-thumb img,
.hero-content img, .fb-visual img, .access-icon img {
  max-width: 100%; max-height: 100%; object-fit: contain;
}

/* Desktop nav (hidden on mobile) */
nav.main-nav { display: flex; gap: 22px; align-items: center; }
nav.main-nav a {
  font-family: var(--font-en); font-size: 12px; font-weight: 600;
  color: rgba(25,25,25,0.75); text-decoration: none; letter-spacing: 1px;
  transition: color 0.2s;
}
nav.main-nav a:hover { color: var(--orange); }

.header-right { display: flex; align-items: center; gap: 16px; }
.header-store-btn {
  background: var(--orange); color: var(--white);
  font-family: var(--font-en); font-size: 11px; font-weight: 800;
  padding: 8px 16px; border-radius: 2px; text-decoration: none;
  letter-spacing: 1px; transition: background 0.2s; white-space: nowrap;
}
.header-store-btn:hover { background: var(--orange-mid); }

/* ── HAMBURGER BUTTON ── */
.hamburger-btn {
  width: 32px; height: 32px; position: relative; z-index: 201;
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.hamburger-btn span {
  display: block; width: 24px; height: 2px; background: var(--black);
  border-radius: 2px; transition: all 0.3s ease;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--orange); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--orange); }

/* ── FULLSCREEN MENU OVERLAY ── */
.menu-overlay {
  position: fixed; inset: 0; z-index: 190;
  background: var(--beige);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  overflow-y: auto;
  padding: 100px 24px 60px;
}
.menu-overlay.open { transform: translateX(0); }

.menu-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px;
}
.menu-col-title {
  font-family: var(--font-en); font-size: 11px; font-weight: 800;
  color: var(--orange-deep); letter-spacing: 2px; margin-bottom: 16px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(0,0,0,0.15);
  display: block;
}
.menu-col a {
  display: block; font-size: 13px; color: rgba(0,0,0,0.75);
  text-decoration: none; padding: 7px 0; transition: color 0.2s, padding-left 0.2s;
}
.menu-col a:hover { color: var(--orange); padding-left: 4px; }

.menu-footer-row {
  max-width: 1100px; margin: 48px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.15);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.menu-sns-row { display: flex; gap: 14px; }
.menu-sns-row a {
  flex: 0 0 38px; width: 38px; height: 38px; box-sizing: border-box; border-radius: 50%;
  background: transparent; display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 17px; transition: transform 0.2s; overflow: hidden; padding: 0;
}
.menu-sns-row a:hover { transform: translateY(-3px); }
.menu-sns-row a .menu-sns-img { width: 20px; height: 20px; max-width: 20px; max-height: 20px; object-fit: contain; display: block; flex: 0 0 auto; }
.menu-store-cta {
  background: var(--orange); color: var(--white);
  font-family: var(--font-en); font-size: 12px; font-weight: 800;
  padding: 12px 28px; border-radius: 2px; text-decoration: none; letter-spacing: 1px;
}

@media (max-width: 900px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}
@media (max-width: 540px) {
  .menu-overlay { padding: 88px 20px 48px; }
  .menu-grid { grid-template-columns: 1fr; gap: 24px; }
  .menu-footer-row { flex-direction: column; align-items: flex-start; }
}

/* ── PAGE HERO (sub pages) ──
   見出しは本文書体のボールド＋字間で、
   圧迫感を出さずに落ち着いたトーンにしています。
   背景をベージュに戻したい場合は .page-hero の background を var(--beige) に。 */
.page-hero {
  padding: 128px 24px 44px;
  background: var(--white);
  text-align: center;
}
.page-hero-eyebrow {
  font-family: var(--font-en); font-size: 11px; font-weight: 700;
  color: var(--orange-deep); letter-spacing: 4px; display: block; margin-bottom: 14px;
}
.page-hero-title {
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(28px, 5.2vw, 46px);
  color: var(--black); letter-spacing: 0.06em; line-height: 1.3;
}
.page-hero-sub {
  font-size: 14px; color: var(--dark-gray); margin-top: 14px; line-height: 1.9;
}
/* パンくずはヒーロー下端の細い罫の上に左寄せで置く */
.breadcrumb {
  font-family: var(--font-en); font-size: 11px; color: var(--mid-gray);
  letter-spacing: 1px;
}
.breadcrumb a { color: var(--mid-gray); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange-deep); }
/* 文字はコンテンツ幅（1100px）の左端に揃える。画面が狭いときは 24px の余白 */
.page-hero .breadcrumb {
  text-align: left; margin: 26px -24px 0;
  padding: 0 max(24px, calc((100vw - 1100px) / 2));
}
/* パンくずがヒーローの最後にあるときだけ、下端いっぱいまで引き下げて罫を引く。
   products.html のようにカテゴリチップが続く場合は、罫が重なるので引かない。 */
.page-hero .breadcrumb:last-child {
  /* 罫は画面幅いっぱいに、文字はコンテンツ幅（1100px）の左端に揃える */
  margin: 40px -24px -44px;
  padding: 15px max(24px, calc((100vw - 1100px) / 2));
  border-bottom: 1px solid var(--light-gray);
}

/* ── SECTION COMMON ── */
section { padding: 80px 32px; }
.section-label {
  font-family: var(--font-en); font-size: 10px; font-weight: 800;
  color: var(--orange-deep); letter-spacing: 4px; margin-bottom: 16px;
  display: block;
}
.section-title {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 3.6vw, 28px);
  color: var(--black); line-height: 1.45; letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.section-title-ja {
  font-size: 13px; color: var(--mid-gray); font-weight: 400;
  margin-bottom: 40px; display: block;
}
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 16px; }
.see-all {
  font-family: var(--font-en); font-size: 12px; font-weight: 800;
  color: var(--orange-deep); text-decoration: none; letter-spacing: 1px;
  border-bottom: 2px solid var(--orange); padding-bottom: 2px;
  transition: opacity 0.2s;
}
.see-all:hover { opacity: 0.7; }

.btn-primary {
  background: var(--orange); color: var(--white);
  font-family: var(--font-en); font-size: 13px; font-weight: 800;
  padding: 14px 32px; border-radius: 2px; text-decoration: none;
  letter-spacing: 2px; transition: all 0.2s; display: inline-block; border: none; cursor: pointer;
  text-align: center; text-indent: 2px; /* text-indent は letter-spacing ぶんの右余りを相殺 */
}
.btn-primary:hover { background: var(--orange-mid); transform: translateY(-2px); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.4); color: var(--white);
  font-family: var(--font-en); font-size: 13px; font-weight: 600;
  padding: 12px 32px; border-radius: 2px; text-decoration: none;
  letter-spacing: 2px; transition: all 0.2s; display: inline-block;
  text-align: center; text-indent: 2px;
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

/* ── TABS (shared) ── */
.tab-group { display: flex; gap: 0; margin-bottom: 32px; border-bottom: 2px solid var(--light-gray); flex-wrap: wrap; }
.tab-btn {
  font-family: var(--font-en); font-size: 12px; font-weight: 800;
  letter-spacing: 1px; padding: 12px 20px;
  background: none; border: none; cursor: pointer;
  color: var(--mid-gray); position: relative; transition: color 0.2s;
}
.tab-btn.active { color: var(--orange); }
.tab-btn.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--orange);
}
.tab-content { display: none; }
.tab-content.active { display: grid; }
/* 商品カテゴリのパネルは、グリッド＋see-allを縦に持つので block 表示 */
.tab-content.cat-pane { display: none; }
.tab-content.cat-pane.active { display: block; }

/* ── PRODUCT / CATEGORY CARDS (shared) ── */
/* 商品一覧など、通常のカテゴリグリッド（幅に応じて折り返す） */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
/* タブの中身が .cat-grid のとき、非アクティブは隠す（.cat-grid の display:grid に勝たせる） */
.tab-content.cat-grid { display: none; }
.tab-content.cat-grid.active { display: grid; }

/* トップページの商品カテゴリ：カード幅固定180px、画面幅に入る枚数だけ1行に並ぶ
   （余白は右でOK・はみ出したカードは隠す）。スマホは折り返して並ぶ。 */
.cat-pane .cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 180px);
  grid-template-rows: auto;
  grid-auto-rows: 0;
  grid-row-gap: 0;
  grid-column-gap: 12px;
  overflow: hidden;
  justify-content: start;
  align-content: start;
}
/* 2行目以降（幅に入りきらない分）は高さ0の行に入り、隠れる */
.cat-pane .cat-grid > .cat-card { align-self: start; }
/* 「全製品を見る →」はグリッドの外（下）に常に表示 */
.cat-see-all-row { margin-top: 16px; text-align: right; }
.cat-card {
  background: var(--gray); border-radius: 4px;
  padding: 24px 16px; text-align: center; cursor: pointer;
  text-decoration: none; display: block;
  transition: all 0.25s; position: relative; overflow: hidden;
}
.cat-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--orange); transform: scaleX(0); transition: transform 0.25s;
}
.cat-card:hover::before { transform: scaleX(1); }
.cat-card:hover { background: var(--orange-light); transform: translateY(-2px); }
.cat-icon { font-size: 36px; display: block; margin-bottom: 10px; transition: transform 0.25s; }
.cat-pane .cat-icon img { width: auto; max-width: 100%; height: 110px; object-fit: contain; margin: 0 auto; }
.cat-card:hover .cat-icon { transform: scale(1.15); }
.cat-name-en {
  font-family: var(--font-en); font-size: 11px; font-weight: 800;
  color: var(--orange); letter-spacing: 1px; display: block; margin-bottom: 4px;
}
.cat-name-ja { font-family: var(--font-body); font-size: 12px; color: var(--black); font-weight: 500; }
/* 「全製品を見る →」リンク */
.cat-see-all {
  display: inline-block;
  font-family: var(--font-en); font-size: 13px; font-weight: 800;
  color: var(--orange); letter-spacing: 1px; text-decoration: none;
  white-space: nowrap; transition: transform 0.2s, color 0.2s;
}
.cat-see-all:hover { color: var(--orange-mid); transform: translateX(4px); }
/* スマホ：トップの商品カテゴリは折り返して並べる（横スクロールなし・全部見える） */
@media (max-width: 768px) {
  .cat-pane .cat-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    grid-auto-columns: auto;
    /* PC では2行目以降を隠すため grid-auto-rows:0 / row-gap:0 にしているが、
       スマホは全件を折り返して見せるので必ず解除する（未解除だとカードが重なる） */
    grid-auto-rows: auto;
    grid-row-gap: 12px;
    overflow: visible;
  }
}

.product-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.product-card {
  background: #fff; border-radius: 4px; overflow: hidden;
  text-decoration: none; display: block; transition: all 0.25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(217,169,1,0.15); }
.product-thumb {
  aspect-ratio: 1; background: transparent;
  display: flex; align-items: center; justify-content: center;
  font-size: 60px; overflow: hidden;
}
.product-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 10%; }
.product-info { padding: 14px; }
.product-badge {
  background: var(--orange); color: var(--white);
  font-family: var(--font-en); font-size: 9px; font-weight: 800;
  padding: 2px 6px; border-radius: 2px; margin-bottom: 6px;
  display: inline-block; letter-spacing: 1px;
}
.product-name { font-size: 13px; font-weight: 700; color: var(--black); }
.product-price { font-family: var(--font-num); font-size: 12px; font-weight: 600; color: var(--mid-gray); margin-top: 4px; }

/* ── NEWS LIST (shared) ── */
.news-list { list-style: none; }
.news-item {
  display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap;
  padding: 16px 0; border-bottom: 1px solid var(--light-gray);
}
.news-date {
  font-family: var(--font-num); font-size: 12px; font-weight: 600;
  color: var(--mid-gray); white-space: nowrap;
}
.news-item-tag {
  background: var(--orange-light); color: var(--orange-deep);
  font-family: var(--font-en); font-size: 9px; font-weight: 800;
  padding: 2px 8px; border-radius: 2px; white-space: nowrap; letter-spacing: 1px;
}
.news-item a { font-size: 14px; color: var(--black); text-decoration: none; font-weight: 500; }
.news-item a:hover { color: var(--orange); }

/* ── SHOP CARD (shared) ──
   写真をヒーローとして上に大きく敷き、店名は写真の上に重ねる。
   下段は「本文（説明＋詳細）＋ サイドの小さな地図」の2カラム。
   写真が無い店舗は .shop-card--noimg を付けると店名が本文側に出ます。 */
.shop-card {
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: 10px; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.shop-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.09);
  border-color: rgba(218,169,0,0.35);
}

/* ヒーロー写真 */
.shop-hero { position: relative; aspect-ratio: 16 / 9; background: var(--gray); overflow: hidden; }
.shop-hero img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block; transition: transform 0.6s ease;
}
.shop-card:hover .shop-hero img { transform: scale(1.04); }
.shop-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.30) 38%, rgba(0,0,0,0) 66%);
}
.shop-hero-cap { position: absolute; left: 28px; right: 28px; bottom: 20px; z-index: 2; }
.shop-hero-badge {
  display: inline-block; margin-bottom: 9px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--black); background: var(--orange);
  padding: 4px 10px; border-radius: 3px;
}
.shop-hero-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(18px, 2.4vw, 24px); letter-spacing: 0.03em; line-height: 1.35;
  color: var(--white); text-shadow: 0 2px 16px rgba(0,0,0,0.55);
}

/* トップなど、カードを1枚だけ大きく置く場所で写真が主張しすぎないようにする */
.shop-card--compact .shop-hero { aspect-ratio: auto; height: clamp(200px, 22vw, 280px); }
@media (max-width: 768px) {
  .shop-card--compact .shop-hero { height: auto; aspect-ratio: 16 / 9; }
}

/* 下段 */
.shop-body {
  display: grid; grid-template-columns: 1fr 300px; gap: 32px;
  padding: 26px 28px 28px; align-items: start;
}
.shop-name {
  font-family: var(--font-display); font-weight: 700; font-size: 21px;
  letter-spacing: 0.03em; color: var(--black); margin-bottom: 14px;
}
.shop-note {
  font-size: 12.5px; line-height: 1.95; color: var(--dark-gray);
  margin: 0 0 18px; padding-left: 12px; border-left: 3px solid var(--orange-light);
}
.shop-note strong { color: var(--black); }
.shop-detail { display: flex; flex-direction: column; gap: 11px; }
.shop-row { display: flex; gap: 16px; font-size: 13px; }
.shop-row-label {
  font-family: var(--font-en); font-size: 10px; font-weight: 800;
  color: var(--orange-deep); letter-spacing: 1px; min-width: 74px; padding-top: 3px;
}
.shop-row-val { font-family: var(--font-num); color: var(--dark-gray); line-height: 1.75; }

/* サイド：小さめの地図＋ボタン */
.shop-aside { display: flex; flex-direction: column; gap: 12px; }
.shop-mini-map {
  border: 1px solid var(--light-gray); border-radius: 6px; overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--gray);
}
.shop-mini-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.shop-aside .btn-primary { text-align: center; padding: 12px 18px; font-size: 12px; letter-spacing: 1px; }

@media (max-width: 768px) {
  .shop-hero-cap { left: 18px; right: 18px; bottom: 15px; }
  .shop-body { grid-template-columns: 1fr; gap: 22px; padding: 22px 20px 24px; }
  .shop-mini-map { aspect-ratio: 16 / 9; }
}

/* ── SERVICE CARDS（店舗サービス／店舗でできること）──
   index / shop / cafe / fitting で共用するカードコンポーネント */
/* 4カラム固定（画面が狭くなると 2 → 1 に自動で減ります） */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feat-grid { grid-template-columns: 1fr; } }
.feat-card {
  border-radius: 6px; overflow: hidden; position: relative;
  background: var(--white); cursor: pointer; text-decoration: none; display: block;
  border: 1px solid #eaeaea; box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,0.10); }
/* ▼ 特集画像は「正方形」。今は写真を入れています。
   画像を差し替えるときは、各カードの <img src="..."> を編集してください。
   画像が未設定のときは絵文字（下の font-size）が表示されます。 */
.feat-thumb {
  aspect-ratio: 1 / 1; background: linear-gradient(135deg, #2a2500, var(--black));
  display: flex; align-items: center; justify-content: center; font-size: 60px;
  position: relative; overflow: hidden;
}
.feat-thumb img {
  width: 100%; height: 100%; max-width: none; max-height: none;
  object-fit: cover; display: block;
}
.feat-body { padding: 18px 18px 22px; }
.feat-tag {
  font-family: var(--font-en); font-size: 9px; font-weight: 800;
  color: var(--orange); letter-spacing: 2px; margin-bottom: 8px; display: block;
}
.feat-title { font-size: 15px; font-weight: 700; color: var(--black); line-height: 1.5; }
.feat-desc { font-size: 12px; color: #666; margin-top: 8px; line-height: 1.6; }
/* カードがタップできること・押すと詳細が見られることを示す導線 */
.feat-link { margin-top: 16px; text-align: right; }
.feat-link > span {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-en); font-size: 11px; font-weight: 800;
  letter-spacing: 0.16em; color: var(--orange-deep);
  border-bottom: 1px solid rgba(218,169,0,0.45); padding-bottom: 3px;
  transition: border-color 0.25s, color 0.25s;
}
.feat-arrow { font-style: normal; display: inline-block; transition: transform 0.25s; }
.feat-card:hover .feat-arrow { transform: translateX(4px); }
.feat-card:hover .feat-link > span { border-bottom-color: var(--orange); color: var(--orange-mid); }
/* 右上に小さな「＋」を出して、カード全体が押せることを補強 */
.feat-thumb::after {
  content: '+'; position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.92); color: var(--orange-deep);
  font-size: 18px; font-weight: 700; line-height: 26px; text-align: center;
  opacity: 0; transform: scale(0.8); transition: opacity 0.25s, transform 0.25s;
}
.feat-card:hover .feat-thumb::after { opacity: 1; transform: scale(1); }
@media (hover: none) { .feat-thumb::after { opacity: 1; transform: scale(1); } }

/* ── FOOTER ── */
footer {
  background: var(--beige); padding: 48px 24px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.footer-logo { font-family: var(--font-display); font-weight: 700; font-size: clamp(15px, 2.6vw, 19px); color: var(--black); letter-spacing: 0.16em; text-align: center; }
.footer-logo span { color: var(--orange); }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 12px; color: rgba(0,0,0,0.55); text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--black); }
.footer-copy { font-size: 11px; color: rgba(0,0,0,0.4); }
/* 健康経営優良法人の認定ロゴ。
   支給された PNG は「白抜き（全ピクセルが白＋透過）」なので、
   ベージュ地のフッターにそのまま置くと見えない。
   brightness(0) で同じ形のまま黒のモノクロ版として表示している。
   カラー版のロゴが用意できたら、この filter を外すだけでよい。 */
.footer-cert { display: flex; justify-content: center; }
.footer-cert img {
  height: 92px; width: auto; display: block;
  filter: brightness(0);
  opacity: 0.82;
}
@media (max-width: 560px) {
  .footer-cert img { height: 74px; }
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 99;
  width: 48px; height: 48px; background: var(--orange);
  border-radius: 2px; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 20px; text-decoration: none;
  box-shadow: 0 4px 16px rgba(217,169,1,0.4);
  transition: transform 0.2s;
}
.back-to-top:hover { transform: translateY(-4px); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav.main-nav { display: none; }
}
@media (max-width: 768px) {
  section { padding: 56px 20px; }
  .page-hero { padding: 112px 20px 40px; }
  .page-hero .breadcrumb { margin: 22px -20px 0; padding: 0 20px; }
  .page-hero .breadcrumb:last-child { margin: 32px -20px -40px; padding: 13px 20px; }
}
@media (max-width: 600px) {
  header { padding: 0 16px; }
  .logo img { height: 22px; }
  .header-right { gap: 10px; }
  .header-store-btn { padding: 7px 11px; font-size: 10px; letter-spacing: 0.5px; }
}
@media (max-width: 380px) {
  .logo img { height: 19px; }
  .header-store-btn { padding: 6px 9px; }
}

/* ── ONLINE STORE MODAL ── */
.store-modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.store-modal-overlay.open { opacity: 1; pointer-events: auto; }
.store-modal {
  background: var(--white); border-radius: 6px;
  max-width: 460px; width: 100%; padding: 36px 32px 32px;
  position: relative; transform: translateY(16px);
  transition: transform 0.25s ease;
}
.store-modal-overlay.open .store-modal { transform: translateY(0); }
.store-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border: none; background: none; cursor: pointer;
  font-size: 24px; color: var(--mid-gray); line-height: 1; transition: color 0.2s;
}
.store-modal-close:hover { color: var(--orange); }
.store-modal-title {
  font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--black);
  letter-spacing: 0.04em; margin-bottom: 4px;
}
.store-modal-sub { font-size: 12px; color: var(--mid-gray); margin-bottom: 24px; }
.store-links { display: flex; flex-direction: column; gap: 10px; }
.store-link {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border: 1px solid var(--light-gray); border-radius: 4px;
  text-decoration: none; color: var(--black); transition: all 0.2s;
}
.store-link:hover { border-color: var(--orange); background: var(--orange-light); transform: translateX(3px); }
.store-link-icon {
  width: 40px; height: 40px; border-radius: 6px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-weight: 800; font-size: 13px; color: var(--white);
}
.store-link-text { flex: 1; }
.store-link-name { font-size: 14px; font-weight: 700; }
.store-link-desc { font-size: 11px; color: var(--mid-gray); margin-top: 2px; }
.store-link-arrow { color: var(--orange); font-size: 16px; }

/* ── UTILITY: show <br> only on small screens ── */
.sp-only { display: none; }
@media (max-width: 600px) { .sp-only { display: inline; } }
