/* ================================================================
   レイアウト — BOBOJYU デリバリー
   ブレークポイント: sm 600px / md 750px / lg 1025px / xl 1441px
================================================================ */

/* ================================================================
   1. ベースリセット
================================================================ */

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

html {
  scroll-behavior: smooth;
  /* prefers-reduced-motion: tokens.css の全体ルールが scroll-behavior: auto !important で上書き */

  /* ページ内リンクのジャンプ先が固定ヘッダーに隠れないよう余白を確保
     〜1024px: 固定ヘッダー（--header-h-sp）分 */
  scroll-padding-top: calc(var(--header-h-sp) + 16px);
}
@media (min-width: 1025px) {
  /* 1025px〜: 情報バーは追従しないため、sticky ヘッダー（--header-h-pc）分のみ */
  html {
    scroll-padding-top: calc(var(--header-h-pc) + 16px);
  }
}

body {
  font-family: var(--font-family-base);
  font-size: 1rem;
  color: var(--color-font);
  background: var(--color-white);
  line-height: var(--line-height-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* prefers-reduced-motion: スムーススクロール・アニメーション軽減 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  /* transition / animation の軽減は tokens.css の全体ルールで処理 */
}

/* ================================================================
   1b. 電話番号リンク（全ページ共通）
   SP（〜599px）のみ tel: リンクとして機能させ、sm（600px〜）以上では
   クリック不可の単なるテキスト表示にする。
================================================================ */
@media (min-width: 600px) {
  .tel-link {
    pointer-events: none;
  }
}

/* ================================================================
   2. ページ構造
================================================================ */

.page-contents {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: clip; /* bento-carousel のネガティブマージンがページ横スクロールに漏れるのを防止 */
}

.main-contents {
  flex: 1;
  padding-top: var(--header-h-sp);
}
@media (min-width: 1025px) {
  .main-contents {
    padding-top: var(--header-h-pc);
  }
}

/* ================================================================
   3. コンテナ
================================================================ */

/*
 * Usage:
 *   <div class="container">...</div>
 *   <div class="container container--narrow">...</div>
 */
/* 左右余白は --container-gutter に一本化（SP 20px / タブレット 50px / PC 40px）*/
.container {
  max-width: var(--contents-maxwidth);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}

/* ナロー幅（記事・フォーム等）*/
.container--narrow {
  max-width: 800px;
}

/* 後方互換: .inner は .container のエイリアス（padding は .container に揃える） */
.inner {
  max-width: var(--contents-maxwidth);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}

/* ================================================================
   4. セクション
================================================================ */

/*
 * Usage:
 *   <section class="section">...</section>
 *   <section class="section section--washi">...</section>
 *   <section class="section section--sumi">...</section>
 */
.section {
  padding-block: var(--space-section);
}

/* 和紙（クリーム）背景 */
.section--washi {
  background: var(--color-cream);
}

/* 墨（ダーク）背景 */
.section--sumi {
  background: var(--color-sumi);
  color: var(--color-white);
}
.section--sumi a {
  color: var(--color-white);
}
@media (hover: hover) and (pointer: fine) {
  .section--sumi a:hover {
    color: var(--color-gray-lighter);
  }
}

/* 後方互換: .section-area */
.section-area {
  padding-block: var(--space-section);
}
.section-area > .inner > .title-area {
  margin-bottom: var(--space-title);
}
.section-more {
  margin-top: 40px;
  text-align: center;
}

/* ================================================================
   5. 商品グリッド
================================================================ */

/*
 * .grid-bento: SP 1col → md 2col → lg 3col
 * Usage:
 *   <ul class="grid-bento">
 *     <li><article class="bento-card">...</article></li>
 *   </ul>
 */
.grid-bento {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 750px) {
  /* md: タブレット 2カラム */
  .grid-bento {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (min-width: 1025px) {
  /* lg: デスクトップ 3カラム */
  .grid-bento {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* 後方互換: .bento-grid（SP 2col → md 3col）*/
.bento-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 750px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* ================================================================
   6. ヘッダー
================================================================ */

/* .header-site はグローバルナビ専用バー（PC のみ表示）。
   ロゴ・ログイン・カートは .top-infobar 側（6b）に配置している。
   SP では .top-infobar が固定ヘッダーを兼ねるため .header-site は非表示。 */
.header-site {
  display: none;
  z-index: 100;
  background: var(--color-sumi); /* PC の .top-infobar と同色に揃える */
  transition: box-shadow 0.2s;
}
.header-site.-scrolled,
.top-infobar.-scrolled {
  box-shadow: var(--shadow-header);
}

/* ロゴ */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo > .image {
  height: 32px;
  width: auto;
}

/* ヘッダーアクション（ログイン・カート・バーガー） */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.header-actions > .cart-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* SP: マイページアイコンと並べるため横幅を抑える。
     画像比 400:90 を高さ26pxで換算した実寸を親に持たせておくこと（下の #cart-btn 参照）*/
  width: 116px;
  height: 26px;
  flex-shrink: 0;
  text-decoration: none;
}
.header-actions > .cart-link > .cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.625rem;
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-actions > .cart-link > .cart-count.-hidden {
  display: none;
}

/* カートボタン画像（id="cart-btn" はデリカート必須 — HTML変更禁止） */
/* デリカートの jquery.insertCart.css が #cart-btn { width:100% } を持ち、
   読み込み順が layout.css より後（inc/ は functions.php 末尾で require）のため
   同特異度では向こうが後勝ちする。ここは ID + class で特異度を上げて確実に勝たせる。

   ※ width:auto に戻さないこと。
     親（#open）が幅 auto のまま width:100% を受けると % の基準が循環し、
     Chrome は比率から算出するが Safari は画像の実寸（400px）を採用して
     ヘッダーからはみ出す。親に実寸を与え、幅基準で比率から高さを出す形に統一する。
   ※ aspect-ratio は必須。SP では delicart の JS（inc/delicart.php）が img を
     差し替えるため width/height 属性が失われ、読み込み前の比率が不明になる。 */
.header-actions #cart-btn {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 90;
}

/* ── デリカートのカートパネル位置補正 ─────────────────────────
   delicart の JS が #open の直下に #delicart-button-frame を生成し、
   inline style で position:absolute / top:0 / right:0 を付与する。
   （DOM・ID は変更禁止のため CSS 側だけで補正する）
   #open をヘッダー内へ移動したことで発生した2点を修正:
     ① パネルがカートボタン自身に重なる      → top をボタンの下へ
     ② sticky ナビ（.header-site z-index:100）の背面に潜り上部が隠れる
                                             → #open を前面に出す
   inline style の上書きが必要な top のみ !important を使用。 */
#open {
  z-index: 120; /* .header-site（100）より前面。position:relative は .cart-link 側 */
}

/* ── カートボタンのみ追従（PC）─────────────────────────────
   情報バーが画面外に出たら nav.js が -floating を付与し、
   カートボタンだけを sticky ナビの下に固定表示する。
   SP は .top-infobar 自体が固定ヘッダーなので対象外。 */
@media (min-width: 1025px) {
  /* 追従時に #open が抜けても情報バーの高さが変わらないよう領域を確保
     （ログインボタン 40px + gap 8px + カート画像 ≒ 40px）*/
  .top-infobar .header-actions {
    min-height: 88px;
  }
  #open.-floating {
    position: fixed;
    top: calc(var(--header-h-pc) + 16px);
    right: clamp(16px, 3vw, 40px);
    width: var(
      --header-btn-w
    ); /* fixed 化で % 基準が親から外れるため実寸を指定 */
    filter: drop-shadow(
      0 2px 8px rgba(0, 0, 0, 0.25)
    ); /* 本文の上でも視認できるよう */
  }
}
#delicart-button-frame {
  top: calc(100% + 10px) !important; /* カートボタンの真下に展開 */
  max-width: calc(100vw - 24px); /* 狭い画面で横にはみ出さない */

  /* パネルは #open 直下＝情報バー内に生成されるため、ヘッダーの文字色（白）を
     継承して白背景のパネル上で商品名・価格が読めなくなる。
     delicart 側 CSS は本文の色指定を持たないので、ここで本文基準に戻す。 */
  color: var(--color-main);
  font-family: var(--font-family-base);
  letter-spacing: normal;
  text-align: left;
}
/* 商品名リンク（デリカート管理画面の cart_link 有効時に出力される） */
#cartbtn_contents a {
  color: var(--color-main);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* バーガーボタン */
.burger-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.burger-bars > .bar {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-white);
  transition:
    transform 0.25s,
    opacity 0.25s;
  transform-origin: center;
}
.burger-bars.-open > .bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.burger-bars.-open > .bar:nth-child(2) {
  opacity: 0;
}
.burger-bars.-open > .bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* グローバルナビ（モバイル: 非表示）*/
.global-menu {
  display: none;
}

@media (min-width: 1025px) {
  /* 情報バーは通常フロー（追従しない）。ナビバーだけ sticky で追従させる */
  .header-site {
    display: flex;
    position: sticky;
    top: 0;
    height: var(--header-h-pc);
    align-items: center;
    justify-content: center;
    padding-inline: clamp(20px, 3vw, 40px);
  }
  .burger-bars {
    display: none;
  }
  /* グローバルナビはバー内で中央寄せ */
  .global-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }
  .global-menu > .list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .global-menu > .list > .item > .link {
    display: flex;
    align-items: center;
    height: var(--header-h-pc);
    padding-inline: clamp(8px, 1.2vw, 14px);
    color: rgba(255, 255, 255, 0.8);
    color: color-mix(in srgb, var(--color-white) 80%, transparent);
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    transition: color 0.2s;
  }
  @media (hover: hover) and (pointer: fine) {
    .global-menu > .list > .item > .link:hover {
      color: var(--color-white);
    }
  }
}

/* ================================================================
   6b. トップ情報バー
       PC : ロゴ / 補助ナビ / 電話受付・配達時間・定休日 / ログイン・カート
       SP : このバーが固定ヘッダーを兼ねる（ロゴ・カート・バーガーのみ）
================================================================ */
.top-infobar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h-sp);
  display: flex;
  align-items: center;
  background: var(--color-main);
  padding-inline: var(--container-gutter); /* 本文と左右位置を揃える */
  transition: box-shadow 0.2s;
}
.top-infobar__inner {
  width: 100%;
}
/* SP では情報テキストを出さない（ヘッダーバーとして機能させる） */
.top-infobar__row,
.top-infobar__contact {
  display: none;
}
.top-infobar__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (min-width: 1025px) {
  .top-infobar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: static; /* 追従しない：通常フローでスクロールと共に流れる */
    height: auto;
    min-height: var(--infobar-h-pc);
    padding-inline: 0;
    background: var(--color-sumi);
    color: var(--color-white);
  }
  /* PC では情報バーは追従しないのでスクロール影は不要（影は .header-site 側） */
  .top-infobar.-scrolled {
    box-shadow: none;
  }
  .top-infobar__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    width: 100%;
    max-width: var(--contents-maxwidth);
    padding-inline: clamp(20px, 3vw, 40px);
    padding-block: 8px;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
  }
  .top-infobar__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .top-infobar__tagline {
    margin: 0;
    opacity: 0.85;
  }
  .top-infobar__tagline > a {
    color: var(--color-white);
    text-decoration: none;
  }
  @media (hover: hover) and (pointer: fine) {
    .top-infobar__tagline > a:hover {
      text-decoration: underline;
      text-underline-offset: 3px;
    }
  }
  .top-infobar__links {
    display: flex;
    justify-content: flex-end;
  }
  /* 下段: [ロゴ] ………… [電話・営業時間][ログイン・カート]
     ロゴは左端、電話ブロックとボタンは右側にまとめる */
  .top-infobar__info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(16px, 2.5vw, 40px);
    min-width: 0;
  }
  .top-infobar__info > .logo {
    margin-right: auto;
  }
  /* 電話・営業時間ブロック（電話番号を上、営業時間を下に縦積み）*/
  .top-infobar__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
  }
  .top-infobar__hours-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 28px; /* 電話アイコン(18px)+gap(10px) ぶん字下げして番号と左を揃える */
  }
  .top-infobar__hours {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
  }
  .top-infobar__note {
    opacity: 0.7;
  }
  .top-infobar__closed {
    margin: 0;
    opacity: 0.85;
  }
  .top-infobar__tel {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    text-decoration: none;
    font-size: clamp(1.125rem, 1.7vw, 1.5rem);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.02em;
    line-height: 1.2;
    /* クリック可否は共通ルール .tel-link（1b）に一本化 */
  }
  .top-infobar__tel svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  /* ログイン・カートは縦積みで同じ幅に揃える */
  .top-infobar .header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: var(--header-btn-w);
  }
  .top-infobar .header-actions > .cart-link {
    height: auto;
    width: 100%;
  }

  .top-infobar__links-list {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .top-infobar__links-list > li > a {
    color: rgba(255, 255, 255, 0.8);
    color: color-mix(in srgb, var(--color-white) 80%, transparent);
    text-decoration: none;
    transition: color 0.2s;
  }
  @media (hover: hover) and (pointer: fine) {
    .top-infobar__links-list > li > a:hover {
      color: var(--color-white);
      text-decoration: underline;
      text-underline-offset: 3px;
    }
  }

  /* 情報バー → ナビバーの順に通常フローで積むため本文の押し下げは不要
     （sticky 指定は上の .header-site ルールに集約） */
  .main-contents {
    padding-top: 0;
  }
}

/* ================================================================
   7. アーカイブページレイアウト
================================================================ */

.archive-header {
  margin-bottom: 32px;
}
.archive-header > .archive-title {
  font-family: var(--font-family-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: var(--font-weight-bold);
}
.archive-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 1025px) {
  .archive-layout {
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: start;
  }
  .archive-layout > .filter-col {
    position: sticky;
    top: calc(var(--header-h-pc) + 24px);
  }
}
.no-results {
  color: var(--color-gray);
  padding: 40px 0;
  text-align: center;
}

/* ================================================================
   8. 商品詳細レイアウト
================================================================ */

.single-bento-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 80px;
}
@media (min-width: 1025px) {
  .single-bento-layout {
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: start;
  }
}
/* 金賞バッジ（.award-badge）の位置基準 */
.gallery-main > .thumbnail-figure {
  position: relative;
}
.gallery-main > .thumbnail-figure > .image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}
.gallery-thumbs {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.gallery-thumbs > .thumb-item > .thumb-btn {
  background: none;
  border: 1.5px solid var(--color-gray-lighter);
  border-radius: var(--radius-sm);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  width: 72px;
  height: 72px;
  transition: border-color 0.15s;
}
@media (hover: hover) and (pointer: fine) {
  .gallery-thumbs > .thumb-item > .thumb-btn:hover {
    border-color: var(--color-accent);
  }
}
.gallery-thumbs > .thumb-item > .thumb-btn.is-active {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
}
.gallery-thumbs > .thumb-item > .thumb-btn > .thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.info-col > .product-title {
  font-family: var(--font-family-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-narrow);
  margin-bottom: 16px;
}
.info-col > .product-desc {
  font-size: 0.9375rem;
  line-height: var(--line-height-wide);
  color: var(--color-font);
  margin-bottom: 20px;
}
.info-col > .product-specs {
  border-top: 1px solid var(--color-gray-lighter);
  margin-bottom: 20px;
  padding-top: 16px;
}
.info-col > .product-specs > .spec-item {
  display: flex;
  gap: 16px;
  padding-block: 8px;
  border-bottom: 1px solid var(--color-gray-lighter);
  font-size: 0.875rem;
}
/* 項目名の列幅。SP 85px / PC 100px（PCは .single-bento-layout が2カラムになる 1025px から） */
.info-col > .product-specs > .spec-item > .label {
  min-width: 85px;
  color: var(--color-gray);
  font-weight: var(--font-weight-medium);
}
@media (min-width: 1025px) {
  .info-col > .product-specs > .spec-item > .label {
    min-width: 100px;
  }
}
.info-col > .product-price {
  margin-bottom: 20px;
}
.info-col > .product-price > .price-value {
  font-size: 1.75rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
}
.info-col > .product-price > .price-tax {
  font-size: 0.8125rem;
  color: var(--color-gray);
  margin-left: 4px;
}
.info-col > .cart-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 関連商品セクション */
.section-related {
  border-top: 1px solid var(--color-gray-lighter);
  padding-top: var(--space-section);
}
.section-related > .title-area {
  margin-bottom: var(--space-title);
}

/* ================================================================
   9. TOPページ固有
================================================================ */

/* ── HERO セクション ──────────────────────────────────────────── */
/* KV（kv-1〜kv-4）はキャッチコピーと受賞バッジを画像に焼き込んでいるため、
   どの幅でも切り取らずに全面を見せる。高さは画像の比率から決める。
     SP 1125x1440 … 375px 幅で 480px（CLAUDE.md の SP 仕様と一致）
     PC 4320x1680 … 1440px 幅で 560px（CLAUDE.md の PC 仕様と一致）
   固定高さ + object-fit: cover では、タブレット幅で下の受賞バッジが、
   1440px 超で上下が切れてしまうため比率指定に変更した。
   画像を差し替えるときは、この比率も新しい寸法に合わせること。 */
.section-hero {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1125 / 1440;
  /* 縦位置画像のため、幅の広い端末（大型スマホ〜小型タブレット）では
     比率どおりだと 700px を超えてしまう。PC と同じ 560px で頭打ちにする。
     一般的なスマホ幅（〜430px）では上限に当たらず、切り取りは発生しない。 */
  max-height: 560px;
  background: var(--color-main);
}
@media (min-width: 750px) {
  .section-hero {
    aspect-ratio: 4320 / 1680;
    max-height: none;
  }
}

/* Splide.js コンテナ・トラック・リスト — 高さを .section-hero に合わせる */
.hero-slider.splide,
.hero-slider .splide__track,
.hero-slider .splide__list {
  height: 100%;
}

/* スライド 1枚（背景画像 + コピーの親）*/
.hero-slide {
  position: relative;
  height: 100%;
}

/* 背景画像 */
.hero-slide__bg {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-slide__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* オーバーレイ（可読性確保）*/
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.45);
  pointer-events: none;
}
/* 文字を焼き込んだKV（kv-1〜kv-4）は画像側で可読性を処理済み。
   共通オーバーレイを重ねると二重に暗くなるため無効化する */
.hero-slide--baked::after {
  content: none;
}

/* SP で上限 560px に当たって切り取られる幅帯（おおよそ 440〜749px）では、
   右下に受賞バッジが入るKV（kv-1・kv-2）のみ下寄せにしてバッジを残す。
   コピーが上半分にあるKV（kv-3・kv-4）に同じ指定をすると見出しが切れるため、
   バッジのあるスライドにだけ --badge を付けて適用する。
   切り取りが起きない幅では指定しても影響しない */
.hero-slide--badge .hero-slide__image {
  object-position: center 85%;
}
@media (min-width: 750px) {
  .hero-slide--badge .hero-slide__image {
    object-position: center;
  }
}

/* コピーコンテナ（縦書きのため右寄せ）*/
.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: row; /* 縦書きテキストと落款を横並び */
  align-items: center;
  justify-content: flex-start; /* 左寄せ */
  gap: 16px;
  padding-inline: var(--space-side);
  padding-block: 40px;
}
@media (min-width: 1025px) {
  .hero-copy {
    gap: 24px;
    padding-inline: calc(var(--space-side) * 1.5);
    padding-block: 60px;
  }
}

/* ── Splide ドットインジケーター（白）────────────────────────── */
.hero-slider .splide__pagination {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  bottom: 20px;
  gap: 6px;
}
.hero-slider .splide__pagination__page {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  border-radius: var(--radius-full);
  opacity: 1;
  transition:
    background 0.2s,
    transform 0.2s;
  padding: 0;
  margin: 0;
}
.hero-slider .splide__pagination__page.is-active {
  background: var(--color-white);
  transform: scale(1.3);
}

/* ── HERO 矢印ボタン（PC のみ表示 — breakpoints で SP 非表示）── */
.hero-slider .splide__arrow {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  opacity: 1;
  z-index: 2;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition:
    background 0.2s,
    border-color 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .hero-slider .splide__arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.65);
    opacity: 1;
  }
}
.hero-slider .splide__arrow:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
}
.hero-slider .splide__arrow svg {
  fill: var(--color-white);
  width: 16px;
  height: 16px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.hero-slider .splide__arrow--prev {
  left: 24px;
}
.hero-slider .splide__arrow--prev svg {
  transform: translate(-50%, -50%) rotate(180deg);
}
.hero-slider .splide__arrow--next {
  right: 24px;
}
@media (min-width: 1025px) {
  .hero-slider .splide__arrow--prev {
    left: 40px;
  }
  .hero-slider .splide__arrow--next {
    right: 40px;
  }
}

/* お知らせリスト */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.news-list > .news-item > .link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--color-gray-lighter);
  text-decoration: none;
  color: var(--color-font);
  font-size: 0.9375rem;
  transition: color 0.15s;
}
@media (hover: hover) and (pointer: fine) {
  .news-list > .news-item > .link:hover {
    color: var(--color-accent);
  }
}
.news-list > .news-item > .link > .date {
  font-size: 0.8125rem;
  color: var(--color-gray);
  white-space: nowrap;
  flex-shrink: 0;
}

/* お知らせ：全文展開カード（カテゴリー「news-detail」付き） */
.news-list.-notice {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news-list.-notice > .news-item.-expanded {
  border: 3px solid var(--notice-color, var(--color-accent));
  /* border-left-width: 6px; */
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}
.news-list.-notice > .news-item.-expanded.-c-kin {
  --notice-color: var(--color-accent);
}
.news-list.-notice > .news-item.-expanded.-c-shu {
  --notice-color: var(--color-red);
}
.news-list.-notice > .news-item.-expanded.-c-sumi {
  --notice-color: var(--color-main);
}
.news-list.-notice > .news-item.-expanded > .news-item__title {
  font-size: 1.0625rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-font);
  line-height: var(--line-height-normal);
  margin: 0 0 10px;
}
.news-list.-notice > .news-item.-expanded > .news-item__body {
  font-size: 0.875rem;
  line-height: var(--line-height-wide);
  color: var(--color-font);
}
.news-list.-notice > .news-item.-expanded > .news-item__body p {
  margin: 0 0 0.5em;
}
.news-list.-notice > .news-item.-expanded > .news-item__body p:last-child {
  margin-bottom: 0;
}

/* 用途グリッド */
.usage-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 750px) {
  .usage-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.usage-grid > .usage-item > .link {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-cream);
  text-decoration: none;
  color: var(--color-font);
  font-size: 0.9375rem;
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-align: center;
  transition:
    background 0.2s,
    color 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .usage-grid > .usage-item > .link:hover {
    background: var(--color-main);
    color: var(--color-white);
  }
}
.usage-grid > .usage-item > .link > .usage-item__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
}
.usage-grid > .usage-item > .link > .usage-item__image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
@media (hover: hover) and (pointer: fine) {
  .usage-grid > .usage-item > .link:hover .usage-item__image img {
    transform: scale(1.05);
  }
}
.usage-grid > .usage-item > .link > .label {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 16px 12px;
}

/* 横長バナーが複数並ぶエリア（用途カテゴリの直前）
   文言・CTAはバナー画像に焼き込み済みのため、CSSは枠と余白のみを担当する */
.banner-strip {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* 横長バナーと用途バナーはリンク・画像の枠組みを共通化する */
.banner-strip__link,
.usage-banner {
  display: block;
  width: 100%;
  overflow: hidden;
  transition:
    opacity 0.2s,
    filter 0.2s;
}
.banner-strip__image,
.usage-banner__image {
  display: block;
  width: 100%;
  height: auto;
}

/* ホバーの「変化量」を揃えるため、バナーの明度で手法を変える。
   ・banner-strip: 暗い写真バナー → opacity で白背景に透かすと十分に変化する
   ・usage-banner: 和紙色の明るいバナー → opacity ではほぼ変化しないため brightness で暗転させる
   数値を触るときは「見た目の変化量が同程度か」で判断すること（同じ値に揃えても揃わない）。 */
@media (hover: hover) and (pointer: fine) {
  .banner-strip__link:hover {
    opacity: 0.85;
  }
  .usage-banner:hover {
    opacity: 0.7;
  }
}

/* 電話バナーは SP 限定。md（750px）以上は電話発信できない端末が多いため非表示にする */
@media (min-width: 750px) {
  .banner-strip__item--sp-only {
    display: none;
  }
}

/* 用途バナーグリッド（SP: 1列 / md〜: 2列） */
.usage-banner-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 750px) {
  .usage-banner-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
/* .usage-banner / .usage-banner__image のスタイルは
   「横長バナーが複数並ぶエリア」の .banner-strip__link と統合済み（上部を参照） */

/* CTA セクション */
.section-cta {
  background: var(--color-main);
}
.section-cta > .inner > .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* 配達エリア表 */
.area-table {
  border-top: 1px solid var(--color-gray-lighter);
  margin-bottom: 24px;
}
.area-table > .area-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--color-gray-lighter);
  align-items: center;
}
.area-table > .area-row > .min-order {
  font-size: 0.9375rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
}
.area-table > .area-row > .zone {
  font-size: 0.9375rem;
  color: var(--color-font);
}

/* ================================================================
   10. 配達エリアページ固有
================================================================ */

.page-header {
  margin-bottom: 40px;
}
.page-header > .page-title {
  font-family: var(--font-family-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: var(--font-weight-bold);
}
.page-header__action {
  margin-top: 16px;
}
.section-title {
  font-family: var(--font-family-serif);
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-main);
}
.table-area {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 48px;
  font-size: 0.9375rem;
}
.table-area thead {
  background: var(--color-main);
  color: var(--color-white);
}
.table-area th,
.table-area td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--color-gray-lighter);
}
.table-area thead th {
  border-color: rgba(255, 255, 255, 0.2);
  border-color: color-mix(in srgb, var(--color-white) 20%, transparent);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.04em;
}
.table-area tbody tr:nth-child(even) {
  background: var(--color-main-lightest);
}
.table-area tbody th {
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
  white-space: nowrap;
}

.corporate-info-list {
  margin: 0;
}
.corporate-info-list > li:not(:last-child) {
  margin-bottom: 4px;
}
.corporate-info-list > li {
  position: relative;
  padding-left: 1.1em;
}
.corporate-info-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  display: block;
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
}

/* 地図埋め込み（会社概要ページ等） */
.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 48px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.map-embed > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* 注文フロー */
.flow-list {
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 750px) {
  .flow-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.flow-list > .flow-item {
  padding: 24px;
  background: var(--color-cream);
  border-radius: var(--radius-md);
}
.flow-list > .flow-item > .step {
  display: block;
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.flow-list > .flow-item > .title {
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 8px;
}
.flow-list > .flow-item > .desc {
  font-size: 0.875rem;
  color: var(--color-gray);
  line-height: var(--line-height-normal);
}

.section-cta-area {
  margin-top: 48px;
}
.section-cta-area > .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ================================================================
   11. フッター
================================================================ */

.footer-site {
  background: var(--color-main);
  color: rgba(255, 255, 255, 0.75); /* フォールバック */
  color: color-mix(in srgb, var(--color-white) 75%, transparent);
}

/* ── フッター上部（ブランド + ナビ）──────────────────────────── */
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-block: 56px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12); /* フォールバック */
  border-bottom-color: color-mix(in srgb, var(--color-white) 12%, transparent);
}
@media (min-width: 1025px) {
  .footer-top {
    grid-template-columns: 240px 1fr;
    gap: 60px;
    align-items: start;
  }
}

/* ── ブランドカラム ───────────────────────────────────────────── */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-white);
}
.footer-brand__logo-image {
  height: 50px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.footer-brand__logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-brand__logo-name {
  font-size: 0.625rem;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.14em;
  opacity: 0.75;
}
.footer-brand__logo-sub {
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.footer-brand__tagline {
  font-family: var(--font-family-serif);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  line-height: var(--line-height-narrow);
  letter-spacing: 0.04em;
}
.footer-brand__desc {
  font-size: 0.8125rem;
  line-height: var(--line-height-wide);
}

/* ── 営業時間・お問い合わせ（top-infobar と同内容）───────────── */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12); /* フォールバック */
  border-top-color: color-mix(in srgb, var(--color-white) 12%, transparent);
  font-size: 0.75rem;
}
.footer-contact__hours {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  opacity: 0.85;
}
.footer-contact__note {
  opacity: 0.7;
}
.footer-contact__closed {
  margin: 0;
  opacity: 0.85;
}
.footer-contact__tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--color-white);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .footer-contact__tel:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

/* ── ナビゲーショングループ（4カラム）────────────────────────── */
.footer-nav-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 16px;
}
@media (min-width: 750px) {
  .footer-nav-group {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
}
@media (min-width: 1025px) {
  .footer-nav-group {
    gap: 24px;
  }
}

.footer-nav-col__heading {
  font-size: 0.6875rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 14px;
}

/* wp_nav_menu() の標準クラス出力（.list > .menu-item > a）に対応 */
.footer-nav-col .list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav-col .list .menu-item > a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6); /* フォールバック */
  color: color-mix(in srgb, var(--color-white) 60%, transparent);
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}
.footer-nav-col .list .current-menu-item > a {
  color: var(--color-white);
}

@media (hover: hover) and (pointer: fine) {
  .footer-nav-col .list .menu-item > a:hover {
    color: var(--color-white);
  }
}

/* ── SNS カラム ──────────────────────────────────────────────── */
.footer-sns {
  display: flex;
  gap: 10px;
}
.footer-sns__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25); /* フォールバック */
  border-color: color-mix(in srgb, var(--color-white) 25%, transparent);
  color: rgba(255, 255, 255, 0.7); /* フォールバック */
  color: color-mix(in srgb, var(--color-white) 70%, transparent);
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .footer-sns__link:hover {
    background: rgba(255, 255, 255, 0.1); /* フォールバック */
    background: color-mix(in srgb, var(--color-white) 10%, transparent);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4); /* フォールバック */
    border-color: color-mix(in srgb, var(--color-white) 40%, transparent);
  }
}
.footer-sns__link:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

/* ── フッター下部（会社情報・コピーライト）───────────────────── */
.footer-bottom {
  padding-block: 20px;
}
.footer-company {
  text-align: center;
  font-size: 0.75rem;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.55); /* フォールバック */
  color: color-mix(in srgb, var(--color-white) 55%, transparent);
}
.footer-copyright {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35); /* フォールバック */
  color: color-mix(in srgb, var(--color-white) 35%, transparent);
}

/* ================================================================
   12. 人気のお弁当セクション（section-popular）
================================================================ */

/* .section の padding-block は継承、背景のみ上書き */
.section-popular {
  background: var(--color-white);
}

/* 見出し + 「すべて見る →」の横並び */
.section-popular__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
@media (min-width: 1025px) {
  .section-popular__head {
    margin-bottom: 32px;
  }
}

.section-popular__more {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  color: var(--color-main);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 6px;
  transition: gap 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .section-popular__more:hover {
    gap: 8px;
  }
}
.section-popular__more:focus-visible {
  outline: 2px solid var(--color-main);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ================================================================
   13. お弁当カルーセル（bento-carousel）
   SP: コンテナの左右 padding を打ち消して横スクロール
   PC: 4 カラムグリッド
================================================================ */

.bento-carousel {
  /* .container の padding-inline を打ち消して画面端まで伸ばす */
  margin-inline: -24px;
  padding-inline: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
  /* overflow-x: auto は縦方向も切り取るため、カード外へはみ出す金賞バッジ
     （.award-badge の top: -30px）が入る余白を確保する。
     margin-top で打ち消すのでセクション間の見た目の余白は変わらない。 */
  margin-top: -36px;
  padding-top: 36px;
}
.bento-carousel::-webkit-scrollbar {
  display: none;
}

.bento-carousel__list {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
  /* 最後のカードの右端に余白（次のカードをほのかに見せる） */
  padding-right: 24px;
}

/* SP: 1.5 枚見え */
.bento-carousel__item {
  flex: 0 0 min(280px, 74vw);
  min-width: 0;
}

/* sm 600px: 2 枚並び */
@media (min-width: 600px) {
  .bento-carousel {
    margin-inline: -32px;
    padding-inline: 32px;
  }
  .bento-carousel__list {
    padding-right: 32px;
  }
  .bento-carousel__item {
    flex: 0 0 calc(50% - 6px);
  }
}

/* lg 1025px: スクロール解除 → 4 カラムグリッド */
@media (min-width: 1025px) {
  .bento-carousel {
    overflow-x: visible;
    margin-inline: 0;
    padding-inline: 0;
    padding-bottom: 0;
  }
  .bento-carousel__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-right: 0;
  }
  .bento-carousel__item {
    flex: unset;
    min-width: unset;
  }
}

/* ================================================================
   14. エリア案内セクション（section-area-guide）
   背景: var(--color-sumi)  テキスト: var(--color-white)
================================================================ */

.section-area-guide {
  background: var(--color-sumi);
  color: var(--color-white);
}

/* .section の padding-block を継承しつつ、見出しに下マージンを付与 */
.section-area-guide .title-area {
  margin-bottom: var(--space-title);
}

/* ── 配達エリアマップ（map-202608.png）────────────────────────
   SP/tablet: マップ → 説明文の縦積み
   lg 以上  : マップ（左）と説明文（右）の 2 カラム
   ※ PNG は背景透過・凡例が画像内にあるため、白パネル上に配置する
──────────────────────────────────────────────────────────── */
.area-guide-map {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 40px;
}
@media (min-width: 1025px) {
  .area-guide-map {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 48px;
    margin-bottom: 56px;
  }
}

.area-guide-map__figure {
  margin: 0;
  padding: 16px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2);
}
@media (min-width: 750px) {
  .area-guide-map__figure {
    padding: 24px;
  }
}

.area-guide-map__image {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin-inline: auto;
}
@media (min-width: 1025px) {
  .area-guide-map__image {
    max-width: none;
  }
}

.area-guide-map__title {
  margin: 0 0 var(--space-text);
  font-family: var(--font-family-serif);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-narrow);
  color: var(--color-white);
}

.area-guide-map__text {
  margin: 0;
  font-size: 15px;
  line-height: var(--line-height-wide);
  color: var(--color-white);
}

.area-guide-map__note {
  margin: var(--space-item) 0 0;
  font-size: 13px;
  line-height: var(--line-height-normal);
  color: var(--color-gray-light);
}

/* ── エリアカード 3 カラムグリッド ──────────────────────────── */
.area-guide-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) {
  .area-guide-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center; /* 3枚目が2+1になったとき中央揃え */
  }
}
@media (min-width: 750px) {
  .area-guide-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    justify-items: stretch; /* 3列ではストレッチに戻す */
  }
}

/* ── フォールバックテーブル ────────────────────────────────── */
.area-guide-fallback {
  max-width: 640px;
  margin-inline: auto;
}

.area-fallback-table {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15); /* フォールバック */
  border-top: 1px solid color-mix(in srgb, var(--color-white) 15%, transparent);
}

.area-fallback-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: baseline;
  padding-block: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* フォールバック */
  border-bottom: 1px solid
    color-mix(in srgb, var(--color-white) 15%, transparent);
}

.area-fallback-row dt {
  font-family: var(--font-family-serif);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
  white-space: nowrap;
}

.area-fallback-row dd {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8); /* フォールバック */
  color: color-mix(in srgb, var(--color-white) 80%, transparent);
  line-height: var(--line-height-wide);
}

/* ================================================================
   14c. Instagram セクション（section-instagram）
   お役立ち情報の下・ご注文の流れの上。前後がどちらも和紙背景のため、
   このセクションは白地のまま帯の区切りとして機能させる。
================================================================ */

.insta-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 600px) {
  .insta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* lg〜: 6件を1行に並べる（1200px 幅で1枚あたり約190px）*/
@media (min-width: 1025px) {
  .insta-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
.insta-grid__item {
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.insta-grid__link {
  display: block;
  transition: opacity 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .insta-grid__link:hover {
    opacity: 0.8;
  }
}
.insta-grid__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
/* 投稿画像は正方形。共通プレースホルダー（4:3）を上書きする */
.insta-grid__placeholder {
  aspect-ratio: 1 / 1;
}

/* ================================================================
   14c-2. Instagram プラグイン埋め込み（.insta-embed）
   Smash Balloon「Instagram Feed」のショートコードを
   「設定 > 一般 > Instagram ショートコード」に入れた場合の見た目調整。
   プラグイン既定の float レイアウトを打ち消し、テーマ内蔵の .insta-grid と
   同じ並び（SP2列 / sm3列 / lg6列・正方形・角丸）に揃える。
   ※ プラグイン側の設定は「表示件数 6 / 列数 6」にしておくこと。
   ※ プラグインのDOMを上書きする都合上 !important を使う。
================================================================ */

/* 見出しとフィードの間隔。プラグイン出力には .insta-grid のような
   セクション内マージンが無いため、ラッパー側で余白を持たせる。 */
.insta-embed {
  margin-top: var(--space-title);
}

.insta-embed #sb_instagram {
  width: 100% !important;
  padding: 0 !important;
}

/* プラグイン独自のヘッダー・フォローボタン・もっと見るは非表示。
   セクション下部に共通の「Instagramをフォロー」ボタンがあるため。 */
.insta-embed #sbi_header,
.insta-embed .sb_instagram_header,
.insta-embed #sbi_load {
  display: none !important;
}

.insta-embed #sbi_images {
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 600px) {
  .insta-embed #sbi_images {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* lg〜: 6件を1行に並べる（.insta-grid と同じ） */
@media (min-width: 1025px) {
  .insta-embed #sbi_images {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* float・幅指定・内側paddingを解除してグリッドの子として扱う */
.insta-embed .sbi_item {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.insta-embed .sbi_photo_wrap,
.insta-embed .sbi_photo {
  display: block;
  width: 100%;
  height: auto !important;
  padding: 0 !important;
  aspect-ratio: 1 / 1;
}

.insta-embed .sbi_photo {
  transition: opacity 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .insta-embed .sbi_photo:hover {
    opacity: 0.8;
  }
}

/* 背景画像で描画される版・imgタグ版のどちらでも正方形トリミングにする */
.insta-embed .sbi_photo > div {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
}
.insta-embed .sbi_photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================================================
   14b. お役立ち情報セクション（section-topics）
   エリア案内の下・ご注文の流れの上
================================================================ */

.section-topics {
  background: var(--color-washi);
}

.topics-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
}
@media (min-width: 750px) {
  .topics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.topics-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  height: 100%;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .topics-card:hover {
    box-shadow: var(--shadow-1);
    transform: translateY(-2px);
  }
}
.topics-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--color-font);
  text-decoration: none;
}
.topics-card__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.topics-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.topics-card__body {
  padding: 16px;
}
.topics-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.topics-card__date {
  font-size: 0.75rem;
  color: var(--color-gray);
  letter-spacing: 0.04em;
}
.topics-card__title {
  font-size: 0.9375rem;
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-normal);
}

/* カテゴリーチップ（未指定色の汎用バリエーション） */
.chip--category {
  background: var(--color-cream);
  color: var(--color-main);
  border: 1px solid var(--color-accent);
}

/* ================================================================
   15. ご注文の流れセクション（section-flow）
   背景: var(--color-washi)  ステップ横並び → SP 縦並び
================================================================ */

.section-flow {
  background: var(--color-washi);
}

/* PC（2カラム時）: 直上のセクション（エリア案内／お役立ち情報）も washi 背景のため
   境目が消えてひと続きの帯に見えてしまう。白の余白を挟んで別セクションだと分かるようにする。
   ※ 隣接セクションの margin と相殺されるので二重には空かない。 */
@media (min-width: 1025px) {
  .section-flow {
    margin-top: calc(var(--space-section) / 2);
  }
}

/* 直上が白背景の Instagram セクションのときは、すでに白の帯があるので余白を足さない */
.section-instagram + .section-flow {
  margin-top: 0;
}

.section-flow .title-area {
  margin-bottom: var(--space-title);
}

/* ── ステップリスト（.section-flow 専用スコープ — grid版 .flow-list との競合回避）── */
.section-flow .flow-list {
  list-style: none;
  padding: 0;
  /* 番号バッジがカード上端をはみ出す分の余白 */
  margin: 18px 0 0;
  display: flex;
  align-items: stretch; /* カード高さを揃える */
  gap: 4px;
}

.section-flow .flow-item {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-width: 0;
}

/* 矢印はカード中央の高さに合わせる */
.section-flow .flow-connector {
  align-self: center;
}

/* タブレット（750〜1024px）: 横4列だと窮屈なため 2カラムグリッド、矢印は非表示 */
@media (min-width: 750px) and (max-width: 1024px) {
  .section-flow .flow-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
  .section-flow .flow-connector {
    display: none;
  }
}

/* SP（〜749px）: 縦並びに変更、矢印を 90° 回転して ↓ に */
@media (max-width: 749px) {
  .section-flow .flow-list {
    flex-direction: column;
    gap: 0;
    align-items: center;
  }
  .section-flow .flow-item {
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }
  .section-flow .flow-connector {
    padding: 0;
    transform: rotate(90deg);
    /* 下カードの番号バッジ（-18px）と重ならない間隔 */
    margin-block: 12px 22px;
  }
}

/* ── 「すべて見る」ボタン行 ────────────────────────────────── */
.area-guide-more {
  margin-top: 40px;
  text-align: center;
}
@media (min-width: 750px) {
  .area-guide-more {
    margin-top: 48px;
  }
}

/* ================================================================
   16. 法人・旅行会社向けCTAセクション（section-cta-biz）
   背景: var(--color-sumi)  dark 背景専用
================================================================ */

.section-cta-biz {
  background: var(--color-sumi);
  text-align: center;
}

.section-cta-biz .title-area {
  margin-bottom: var(--space-title);
}

/* 説明テキスト */
.section-cta-biz__desc {
  font-size: 0.9375rem;
  line-height: var(--line-height-wide);
  color: rgba(255, 255, 255, 0.8); /* フォールバック */
  color: color-mix(in srgb, var(--color-white) 80%, transparent);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 40px;
}
@media (min-width: 750px) {
  .section-cta-biz__desc {
    margin-bottom: 48px;
  }
}

/* ── ボタン群（PC: 横並び、SP: 縦並び）────────────────────── */
.section-cta-biz__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* SP（〜599px）: 縦並び */
@media (max-width: 599px) {
  .section-cta-biz__buttons {
    flex-direction: column;
    align-items: center;
  }
  .section-cta-biz__buttons .btn-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

/* dark 背景上の hover: 黒 on 黒 を防ぐため cream に差し替え */
@media (hover: hover) and (pointer: fine) {
  .section-cta-biz .btn-secondary:hover {
    background: var(--color-cream);
    border-color: var(--color-cream);
    color: var(--color-main);
  }
}

/* ================================================================
   17. 選ばれる理由セクション（section-reasons）
   背景: var(--color-washi)  グリッド: SP 1col → sm 2col → lg 5col
================================================================ */

.section-reasons {
  background: var(--color-washi);
}

.section-reasons .title-area {
  margin-bottom: 16px;
}

.section-reasons__lead {
  text-align: center;
  font-family: var(--font-family-serif);
  font-size: 0.9375rem;
  color: var(--color-main-lighter);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-title);
}

/* ── 5項目フレックス（中央寄せ対応）──────────────────────────── */
/* justify-content: center により最終行が端数になっても自動センタリング */
.reasons-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: reasons;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
@media (min-width: 600px) {
  .reasons-list {
    gap: 20px;
  }
}
@media (min-width: 1025px) {
  .reasons-list {
    gap: 24px;
  }
}

/* ── 各カード ────────────────────────────────────────────────── */
/* 写真をカード幅いっぱいに出すため、カード自身の左右paddingは持たせず
   テキスト側（title / desc）で内側の余白を取る。 */
.reasons-item {
  flex: 0 0 100%; /* SP: 1列 */
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden; /* 角丸で写真を切り抜く */
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  box-shadow: 0 1px 4px rgba(10, 10, 10, 0.06);
}
@media (min-width: 600px) {
  .reasons-item {
    flex: 0 0 calc((100% - 20px) / 2); /* sm: 2列 */
  }
}
@media (min-width: 1025px) {
  .reasons-item {
    flex: 0 0 calc((100% - 4 * 24px) / 5); /* lg: 5列 */
  }
}

/* 写真（/about/「五つ星のり弁ができるまで」と共用の about_bloc02_ph0*.jpg）*/
.reasons-item__media {
  width: 100%;
  margin-bottom: 6px;
}
.reasons-item__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 801 / 508;
  object-fit: cover;
}
.reasons-item__media .photo-placeholder {
  aspect-ratio: 801 / 508;
  border-radius: 0;
}

/* タイトル（数字バッジ＋見出し）*/
.reasons-item__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-inline: 20px;
  font-family: var(--font-family-serif);
  font-size: 1.0625rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-sumi);
  letter-spacing: 0.06em;
}

/* 数字（一〜五）— 順序は <ol> が伝えるため支援技術には読ませない。
   明朝の漢数字は横画が細く小さいと沈むため、円を大きめ・文字も明るい琥珀にする */
.reasons-item__title-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--color-sumi);
  color: var(--color-accent-light);
  font-family: var(--font-family-base);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  letter-spacing: 0;
  flex-shrink: 0;
}

/* 説明文 */
.reasons-item__desc {
  padding-inline: 20px;
  font-size: 0.8125rem;
  line-height: var(--line-height-wide);
  color: var(--color-gray);
  margin-top: 2px;
}

/* ================================================================
   18. 一押し商品セクション（section-featured）
   背景: var(--color-washi)  グリッド: SP 2col → md 3col → lg 4col
================================================================ */

.section-featured {
  background: var(--color-washi);
}

.section-featured .title-area {
  margin-bottom: var(--space-title);
}

.grid-featured {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 750px) {
  .grid-featured {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (min-width: 1025px) {
  .grid-featured {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* ================================================================
   19. 2カラムレイアウト（front-2col）
   PC(1025px〜): 左サイドバー(260px) + 右メイン(1fr)
   SP〜md(〜1024px): 縦並び（メイン先 → サイドバー後）
================================================================ */

/* 2カラムページの縦余白は右メインカラム(.sub-main)と左サイドバー(.front-sidebar)
   の padding-block に統一する。個別ページで .front-2col に上下paddingを足すと
   二重掛けになるため付与しない（archive-bento も他ページと同一挙動）。 */

/* 下層ページの右メインカラム（front-main はフロントページ専用） */
.sub-main {
  padding-block: var(--space-section);
}

.front-2col__inner {
  max-width: var(--contents-maxwidth);
  margin-inline: auto;
}

/* 全ページ共通の左右余白: SP 20px / タブレット(750〜1024px) 50px
   （未指定だとコンテンツがビューポート端まで達してしまうため）
   ※ front-page は内部の各セクションが .container/.inner で余白を持つため、
     二重余白にならないよう front-2col__inner への付与から除外する */
.main-contents:not(.-front-page) .front-2col__inner {
  padding-inline: 20px;
}
@media (min-width: 750px) and (max-width: 1024px) {
  .main-contents:not(.-front-page) .front-2col__inner {
    padding-inline: 50px;
  }
}

/* SP〜md: flex 縦並び（order でメイン先・サイドバー後）*/
@media (max-width: 1024px) {
  .front-2col__inner {
    display: flex;
    flex-direction: column;
  }
  .front-main,
  .sub-main {
    order: 1;
  }
  /* 縦積み時は上下に同じ余白を取る（PC の padding-block と揃える）*/
  .front-sidebar {
    order: 2;
    padding-block: var(--space-section);
  }
  /* front-page は .front-2col__inner に左右余白を付けていない（内部の各セクションが
     .container/.inner で余白を持つため）ので、サイドバー自身にガターを付与する。
     下層ページは親側で付与済み → 二重掛けを避けるため front-page 限定にする。 */
  .main-contents.-front-page .front-sidebar {
    padding-inline: var(--container-gutter);
  }
}

/* lg〜: 2カラムグリッド */
@media (min-width: 1025px) {
  .front-2col__inner {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 0 48px;
    align-items: start;
  }
  .front-sidebar {
    /* padding-inline: 40px 0; */
    padding-block: var(--space-section);
    position: relative;
    /* top: calc(var(--header-h-pc) + 24px); */
    /* top: 112px; */
  }
  /* カラム幅が狭くなるため列数を最適化 */
  .front-main .bento-carousel__list {
    grid-template-columns: repeat(3, 1fr);
  }
  .front-main .grid-featured {
    grid-template-columns: repeat(3, 1fr);
  }
  .front-main .reasons-item {
    flex: 0 0 calc((100% - 2 * 24px) / 3); /* front-main内: 3列 */
  }
}

/* ================================================================
   20. サイドバーウィジェット
================================================================ */

.sidebar-widget {
  background: var(--color-white);
  border: 1px solid var(--color-gray-lighter);
  border-radius: var(--radius-md);
  padding: 20px;
}
.sidebar-widget + .sidebar-widget {
  margin-top: 20px;
}

.sidebar-widget__title {
  font-family: var(--font-family-serif);
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  color: var(--color-sumi);
  border-bottom: 1px solid var(--color-gray-lighter);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

/* バナープレースホルダー */
.sidebar-banner {
  aspect-ratio: 3 / 2;
  background: var(--color-washi);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

/* リンク付きバナー（例: ブログ導線） */
a.sidebar-banner {
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  a.sidebar-banner:hover {
    background: var(--color-main);
    color: var(--color-white);
  }
}

/* 画像バナー（用途バナー）: 画像本来の比率で表示する */
.sidebar-banner--image {
  display: block;
  aspect-ratio: auto;
  background: none;
  border-radius: 0;
  overflow: hidden;
  transition: filter 0.2s;
}
.sidebar-banner--image picture {
  display: block;
}
.sidebar-banner__image {
  display: block;
  width: 100%;
  height: auto;
}
/* TOPの .usage-banner と同じ用途バナー画像のため、ホバー表現も揃える（明色バナー → 暗転） */
@media (hover: hover) and (pointer: fine) {
  .sidebar-banner--image:hover {
    /* background: none;
    filter: brightness(0.9); */
    opacity: 0.7;
  }
}

.sidebar-banner + .sidebar-banner {
  margin-top: 12px;
}

/* ── タブレット（750〜1024px）のバナー ─────────────────────────
   1024px以下ではサイドバーが本文の下に回り込んで全幅になる（19. 2カラム
   レイアウト）。1列のままだと1枚あたり280〜620pxの高さになって大きすぎるため、
   横長のSP用画像（sidebar.php の <source> を 1024px まで効かせている）に
   切り替えたうえで2列に並べ、PC（260pxカラム）と同程度の見え方に揃える。 */
@media (min-width: 750px) and (max-width: 1024px) {
  .sidebar-widget--banner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    /* ブログ(3.35:1)と用途バナー(4.19:1)は比率が違うため、同じ行の背の低い方が
       引き伸ばされないよう上揃えにする */
    align-items: start;
  }
  /* 余白は grid の gap に一本化する（隣接セレクタの margin と二重掛けしない）*/
  .sidebar-widget--banner .sidebar-banner + .sidebar-banner {
    margin-top: 0;
  }
}

/* お知らせリスト */
.sidebar-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-news-item__link {
  display: block;
  text-decoration: none;
  color: var(--color-font);
  padding-block: 10px;
  border-bottom: 1px solid var(--color-gray-lighter);
  transition: color 0.15s;
}
@media (hover: hover) and (pointer: fine) {
  .sidebar-news-item__link:hover {
    color: var(--color-accent);
  }
}
.sidebar-news-item__date {
  display: block;
  font-size: 0.75rem;
  color: var(--color-gray);
  margin-bottom: 4px;
}
.sidebar-news-item__title {
  display: block;
  font-size: 0.875rem;
  line-height: var(--line-height-normal);
}
.sidebar-more {
  margin-top: 12px;
  text-align: right;
}
.sidebar-more__link {
  font-size: 0.75rem;
  color: var(--color-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: gap 0.15s;
}
@media (hover: hover) and (pointer: fine) {
  .sidebar-more__link:hover {
    gap: 6px;
  }
}
.sidebar-empty {
  font-size: 0.875rem;
  color: var(--color-gray);
}

/* 料理長ご挨拶 */
.sidebar-greeting {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar-greeting__image-wrap {
  text-align: center;
}
.sidebar-greeting__avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: var(--color-washi);
  border: 2px solid var(--color-gray-lighter);
  margin-inline: auto;
}
.sidebar-greeting__text {
  font-size: 0.8125rem;
  line-height: var(--line-height-wide);
  color: var(--color-gray);
}
.sidebar-greeting__name {
  font-family: var(--font-family-serif);
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-sumi);
  text-align: right;
}

/* ================================================================
   21. サイドバー カテゴリーナビ（sidebar-widget--catnav）
================================================================ */

/* ウィジェット本体: padding なし・overflow hidden（角丸との整合）*/
.sidebar-widget--catnav {
  padding: 0;
  overflow: hidden;
}

/* グループ区切り */
.sidebar-catnav + .sidebar-catnav {
  border-top: 1px solid var(--color-gray-lighter);
}

/* グループ見出し */
.sidebar-catnav__head {
  background: var(--color-sumi);
  color: var(--color-white);
  font-family: var(--font-family-serif);
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  padding: 10px 16px;
  margin: 0;
}

/* リスト */
.sidebar-catnav__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-catnav__item {
  border-bottom: 1px solid var(--color-gray-lighter);
}
.sidebar-catnav__item:last-child {
  border-bottom: none;
}

/* リンク */
.sidebar-catnav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 0.875rem;
  color: var(--color-font);
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s;
}
.sidebar-catnav__link::after {
  content: "›";
  font-size: 1.125rem;
  color: var(--color-gray);
  flex-shrink: 0;
  line-height: 1;
}
@media (hover: hover) and (pointer: fine) {
  .sidebar-catnav__link:hover {
    background: var(--color-washi);
    color: var(--color-sumi);
  }
}

/* ================================================================
   22. お弁当一覧アーカイブ（archive-bento）
================================================================ */

/* ── ページビジュアル ────────────────────────────────────────── */
.archive-page-visual {
  padding-block: 40px 28px;
  border-bottom: 1px solid var(--color-gray-lighter);
}

.archive-page-title {
  font-family: var(--font-family-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-narrow);
  margin-top: 12px;
}

/* ── フィルターエリア ─────────────────────────────────────────── */
.archive-filter-area {
  padding-block: 20px;
  border-bottom: 1px solid var(--color-gray-lighter);
}

/* カテゴリータブ */
.archive-cat-nav > .cat-tab-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  border-bottom: 1px solid var(--color-gray-lighter);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.archive-cat-nav > .cat-tab-list::-webkit-scrollbar {
  display: none;
}
.archive-cat-nav .cat-tab-item {
  display: block;
  padding: 12px 20px;
  font-family: var(--font-family-base);
  font-size: 0.875rem;
  font-weight: var(--font-weight-regular);
  color: var(--color-main-lighter);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  text-decoration: none;
  transition:
    color 0.15s,
    border-color 0.15s;
}
@media (hover: hover) and (pointer: fine) {
  .archive-cat-nav .cat-tab-item:hover {
    color: var(--color-main);
  }
}
.archive-cat-nav .cat-tab-item.is-active {
  color: var(--color-main);
  border-bottom-color: var(--color-main);
  font-weight: var(--font-weight-medium);
}

/* サブフィルター（価格帯・用途）*/
.archive-sub-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.sub-filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sub-filter-item__label {
  font-size: 0.8125rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-gray);
  white-space: nowrap;
}
.sub-filter-item__select {
  padding: 7px 36px 7px 12px;
  font-family: var(--font-family-base);
  font-size: 0.875rem;
  color: var(--color-main);
  border: 1px solid var(--color-gray-lighter);
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231A1A1A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s;
}
.sub-filter-item__select:focus {
  outline: 2px solid var(--color-main);
  outline-offset: 2px;
  border-color: var(--color-main);
}

/* ── 商品グリッドセクション ──────────────────────────────────── */
.archive-products-area {
  padding-block: 40px;
}
.archive-products-area > .inner > .grid-bento {
  margin-bottom: 48px;
}

/* ── bento-card — アーカイブ拡張 ────────────────────────────── */

/* チップ位置の基準（components.css の display:block を保持しつつ追加）*/
.bento-card__media {
  position: relative;
}

/* サムネイルリンクラッパー */
.bento-card__media-link {
  display: block;
  overflow: hidden;
}

/* チップオーバーレイ */
.bento-card__chips {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  pointer-events: none;
  z-index: 1;
}

/* 画像なしプレースホルダー */
.bento-card__noimg {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--color-main-lightest);
}

/* アクションゾーン */
.bento-card__actions {
  padding: 12px;
  border-top: 1px solid var(--color-gray-lighter);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* デリカートラッパーの上マージンをリセット */
.bento-card__actions .set-a {
  margin-top: 0;
}

/* カートボタン・詳細ボタン: 全幅 */
.bento-card__actions .add,
.bento-card__actions .bento-card__detail {
  width: 100%;
  justify-content: center;
}

/* ── paginate_links() 出力 .page-numbers に対応 ───────────────── */
.pagination > .list > .item > .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 1.5px solid var(--color-gray-lighter);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--color-font);
  transition:
    background 0.15s,
    border-color 0.15s;
}
@media (hover: hover) and (pointer: fine) {
  .pagination > .list > .item > .page-numbers:hover {
    background: var(--color-main-lightest);
    border-color: var(--color-main-lighter);
  }
}
.pagination > .list > .item > .page-numbers.current {
  background: var(--color-main);
  color: var(--color-white);
  border-color: var(--color-main);
}
.pagination > .list > .item > .page-numbers.dots {
  border: none;
  cursor: default;
}

/* ── .pagination-nav: paginate_links(type:list) 出力に対応 ─────── */
.pagination-nav {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.pagination-nav ul.page-numbers {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.pagination-nav .page-numbers li {
  display: flex;
}
.pagination-nav .page-numbers a.page-numbers,
.pagination-nav .page-numbers span.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--btn-radius);
  font-size: 0.875rem;
  font-family: var(--font-gothic);
  text-decoration: none;
  color: var(--color-sumi);
  transition:
    background 0.15s,
    border-color 0.15s;
}
@media (hover: hover) and (pointer: fine) {
  .pagination-nav .page-numbers a.page-numbers:hover {
    background: var(--color-washi);
    border-color: var(--color-sumi);
  }
}
.pagination-nav .page-numbers span.current {
  background: var(--color-sumi);
  color: var(--color-white);
  border-color: var(--color-sumi);
}
.pagination-nav .page-numbers span.dots {
  border: none;
  pointer-events: none;
}

/* archive-bento: front-sidebar の top オフセット（front-page 用の 112px）をリセット */
.-archive-bento .front-sidebar {
  top: 0;
}
.pagination-nav .page-numbers a.prev.page-numbers,
.pagination-nav .page-numbers a.next.page-numbers {
  font-size: 0.8125rem;
  padding: 0 14px;
  letter-spacing: 0.02em;
}

/* アクティブなカテゴリーナビリンク */
.sidebar-catnav__link[aria-current="page"] {
  background: var(--color-main);
  color: var(--color-white);
}

@media (hover: hover) and (pointer: fine) {
  .sidebar-catnav__link[aria-current="page"]:hover {
    background: var(--color-main);
    color: var(--color-white);
  }
}

/* ================================================================
   23. 本文コンテンツ（entry-content）
   固定ページ・投稿の the_content() 出力用タイポグラフィ
   例: privacy / terms / legal 等、ブロックエディタで入稿した本文
================================================================ */

.entry-content > * + * {
  margin-top: var(--space-item);
}

.entry-content p {
  line-height: var(--line-height-wide);
}

.entry-content h1 {
  font-family: var(--font-family-serif);
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.02em;
  line-height: var(--line-height-narrow);
  color: var(--color-sumi);
}
.entry-content > h1 {
  margin-top: var(--space-title);
}
.entry-content > h1:first-child {
  margin-top: 0;
}

.entry-content h2 {
  font-family: var(--font-family-serif);
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-sumi);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-main);
}
.entry-content > h2 {
  margin-top: var(--space-title);
}
.entry-content > h2:first-child {
  margin-top: 0;
}

.entry-content h3 {
  font-family: var(--font-family-serif);
  font-size: 1.0625rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-sumi);
}

.entry-content h4 {
  font-family: var(--font-family-serif);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-sumi);
}

.entry-content h5 {
  font-family: var(--font-family-base);
  font-size: 0.9375rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-sumi);
}

.entry-content h6 {
  font-family: var(--font-family-base);
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
  color: var(--color-main-lighter);
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.4em;
  line-height: var(--line-height-wide);
}
.entry-content li + li {
  margin-top: var(--space-text);
}

.entry-content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .entry-content a:hover {
    color: var(--color-accent-light);
  }
}

.entry-content strong {
  font-weight: var(--font-weight-bold);
}

/* 表（特定商取引法に基づく表示・キャンセルポリシー等）
   .table-area（page-area.php 等の直書きテーブル）と同じ見た目に揃える */
.entry-content .wp-block-table {
  margin: 0;
  overflow-x: auto; /* 狭い画面でページ全体が横スクロールしないよう表内で吸収 */
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: var(--line-height-wide);
}
.entry-content th,
.entry-content td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--color-gray-lighter);
}
.entry-content thead {
  background: var(--color-main);
  color: var(--color-white);
}
.entry-content thead th {
  border-color: rgba(255, 255, 255, 0.2);
  border-color: color-mix(in srgb, var(--color-white) 20%, transparent);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.04em;
}
.entry-content tbody th {
  width: 32%;
  background: var(--color-main-lightest);
  font-weight: var(--font-weight-bold);
}
@media (max-width: 599px) {
  .entry-content th,
  .entry-content td {
    padding: 10px 12px;
  }
  .entry-content tbody th {
    width: 38%;
  }
}

/* ================================================================
   24. Aboutページ固有（page-about.php）
   支給デザイン 1-top.png 準拠。サイドバーを持たない全幅1カラム。
================================================================ */

/* 写真プレースホルダー（実写真の入稿待ち）
   corporate系ページでも使用しているため About 専用にはしない */
.photo-placeholder {
  aspect-ratio: 4 / 3;
  background: var(--color-washi);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

/* ── ページヒーロー ────────────────────────────────────────── */
/* 背景は about_main_ph_{pc|sp}.jpg（未入稿時はアイキャッチ → グレー地）。
   画像URLは page-about.php が --about-hero-pc / --about-hero-sp で渡す */
.about-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(200px, 27vw, 400px);
  background-color: var(--color-gray);
  background-image: var(--about-hero-sp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
@media (min-width: 750px) {
  .about-hero {
    background-image: var(--about-hero-pc);
  }
}
/* 白い見出しの可読性を確保する暗幕（明るい写真でもコントラストを保つ） */
.about-hero.-has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.5) 100%
  );
}
.about-hero .container {
  position: relative; /* 暗幕より前面に見出しを置く */
}
.about-hero__title {
  font-family: var(--font-family-serif);
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-narrow);
  letter-spacing: 0.12em;
  color: var(--color-white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.about-breadcrumb {
  padding-block: 16px 0;
}

/* ── セクション共通 ────────────────────────────────────────── */
.about-badges-section {
  padding-block: var(--space-section) 0;
}
.about-brands-section,
.about-hygiene-section {
  padding-block: var(--space-section);
}
.about-stars-section {
  padding-block: var(--space-section);
  background: var(--color-main);
  color: var(--color-white);
}

/* ── 配達実績（業種別・隅田屋と坊々樹のこだわりの上）──────────── */
.about-records-section {
  /* 直前の実績サークル（.about-badges-section）は下パディングを持たないため、
     背景色付きのこのセクションが接してしまう。白地の余白を margin で確保する。 */
  margin-top: var(--space-section);
  padding-block: var(--space-section);
  background: var(--color-main-lightest);
}
.about-records__lead {
  margin-top: 24px;
  text-align: center;
  line-height: var(--line-height-normal);
}
.about-records {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) {
  .about-records {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1025px) {
  .about-records {
    grid-template-columns: repeat(3, 1fr);
  }
}
.about-record {
  background: var(--color-white);
  border: 1px solid var(--color-gray-lighter);
  border-radius: var(--radius-md);
  padding: 20px;
}
/* 業種名（左に金のライン）*/
.about-record__category {
  font-family: var(--font-family-serif);
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
  padding-left: 12px;
  border-left: 3px solid var(--color-accent);
  margin-bottom: 12px;
}
.about-record__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.about-record__item {
  position: relative;
  padding-left: 1.1em;
  font-size: 0.9375rem;
  line-height: var(--line-height-normal);
}
.about-record__item:not(:last-child) {
  margin-bottom: 4px;
}
.about-record__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  display: block;
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
}
.about-records__note {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--color-gray);
  text-align: center;
}

/* ── 会社概要（五つ星のり弁ができるまでの下）───────────────── */
.about-company-section {
  padding-block: var(--space-section);
}
/* 全幅1カラムのページなので、2〜3行の表が横に間延びしないよう幅を絞る */
.about-company__table {
  max-width: 720px;
  margin-inline: auto;
  margin-top: 32px;
  margin-bottom: 0;
}
.about-company__table tbody th {
  width: 34%;
}

.about-heading {
  font-family: var(--font-family-serif);
  font-size: clamp(1.375rem, 3vw, 2.25rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-align: center;
}
.about-heading.-light {
  color: var(--color-white);
}

/* ── 実績サークル（金の縁取り）────────────────────────────── */
.about-badges {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 4vw, 40px);
  max-width: 560px;
}
@media (min-width: 750px) {
  .about-badges {
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 3vw, 48px);
    max-width: none;
  }
}
.about-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  aspect-ratio: 1 / 1;
  padding: 10%;
  border: 5px solid transparent;
  border-radius: 50%;
  /* 金グラデーションのリング（padding-box に本体色・border-box に金）*/
  background:
    linear-gradient(var(--color-main), var(--color-main)) padding-box,
    linear-gradient(135deg, #e8d6a8 0%, var(--color-accent) 45%, #e8d6a8 100%)
      border-box;
  color: var(--color-white);
  text-align: center;
}
.about-badge__figure {
  font-family: var(--font-family-serif);
  font-size: clamp(0.9375rem, 2.2vw, 1.375rem);
  line-height: 1.45;
  letter-spacing: 0.04em;
}
.about-badge__pre,
.about-badge__note {
  font-size: clamp(0.6875rem, 1.2vw, 0.875rem);
  line-height: 1.6;
}

/* ── 縦書きリード文 ────────────────────────────────────────── */
.about-lead {
  display: flex;
  justify-content: center;
  margin-top: clamp(32px, 5vw, 56px);
}
.about-lead__text {
  writing-mode: vertical-rl;
  /* 半角数字（「老舗2店舗」の 2）が横倒しになるのを防ぎ、和文と同じく正立させる */
  text-orientation: upright;
  height: 18em; /* 縦書きでは height がインライン方向＝1行の長さになる */
  margin: 0;
  font-family: var(--font-family-serif);
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  line-height: 2.4;
  letter-spacing: 0.14em;
  color: var(--color-font);
}
@media (max-width: 749px) {
  /* SPでは縦書きだと縦に長くなりすぎるため横書きへ切り替え */
  .about-lead__text {
    writing-mode: horizontal-tb;
    height: auto;
    line-height: var(--line-height-wide);
    text-align: center;
  }
}

/* ── 写真×本文の左右交互ブロック（写真は画面端まで全幅）──── */
.about-rows {
  display: grid;
  gap: clamp(40px, 6vw, 88px);
  margin-top: clamp(40px, 6vw, 80px);
}
.about-row {
  display: grid;
  gap: 24px;
  --about-row-gap: 80px;
}
.about-row__body {
  padding-inline: var(--container-gutter);
}
.about-row .photo-placeholder {
  aspect-ratio: 3 / 2;
  border-radius: 0;
}
/* 実写真（assets/images/about/）。未入稿時のプレースホルダーと同じ比率で置き換わる */
.about-row__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.about-row__name {
  font-family: var(--font-family-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-narrow);
  letter-spacing: 0.06em;
  color: var(--color-sumi);
  border-left: 4px solid var(--color-accent);
  padding-left: 16px;
}
.about-row__since {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--color-font);
}
.about-row__desc {
  margin-top: clamp(20px, 3vw, 36px);
  font-size: 0.9375rem;
  line-height: var(--line-height-wide);
}
/* 見出しを持たないブロック（製造・衛生管理）では上マージンを打ち消し、
   align-items:center の中央揃えがずれないようにする */
.about-row__desc:first-child {
  margin-top: 0;
}

@media (min-width: 750px) {
  .about-row {
    grid-template-columns: 1fr 1fr;
    column-gap: var(--about-row-gap);
    align-items: center;
  }
  /* 本文の外側パディング＝「画面端からコンテナ内側までの距離」。
     .about-row__body の 100% は自身のグリッド領域（＝行幅の約半分）なので、
     行幅 = 100% * 2 + gap から逆算している。
     コンテナ幅未満のビューポートでは max() により通常のガター値に落ちる。 */
  .about-row__body {
    padding-inline: 0
      max(
        var(--container-gutter),
        calc(
          100% + var(--about-row-gap) / 2 - var(--contents-maxwidth) / 2 +
            var(--container-gutter)
        )
      );
  }
  .about-row.-reverse .about-row__media {
    grid-column: 2;
    grid-row: 1;
  }
  .about-row.-reverse .about-row__body {
    grid-column: 1;
    grid-row: 1;
    padding-inline: max(
        var(--container-gutter),
        calc(
          100% + var(--about-row-gap) / 2 - var(--contents-maxwidth) / 2 +
            var(--container-gutter)
        )
      )
      0;
  }
}

/* ── 五つのこだわり（写真left＋本文right・白い縦線でつながる）── */
.about-stars {
  --about-star-media: 42%;
  position: relative;
  list-style: none;
  margin: clamp(40px, 6vw, 72px) 0 0;
  padding: 0;
  display: grid;
  gap: 60px;
}
.about-star {
  display: grid;
  gap: 20px;
}
.about-star__media {
  position: relative;
  z-index: 1; /* 縦線より前面に置き、写真の区間では線を隠す */
  display: grid; /* 中の写真を領域いっぱいに伸ばす */
}
.about-star .photo-placeholder {
  border-radius: 0;
}
/* 実写真（assets/images/about/）。SPはプレースホルダーと同じ4:3で場所を確保する */
.about-star__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-star__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-family-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  color: var(--color-white);
}
.about-star__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--color-white);
  color: var(--color-sumi);
  font-size: 0.8125rem;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.08em;
}
.about-star__subtitle {
  margin-top: clamp(16px, 2vw, 24px);
  font-family: var(--font-family-serif);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-normal);
  color: var(--color-white);
}
.about-star__desc {
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: var(--line-height-wide);
  color: rgba(255, 255, 255, 0.86);
}
.about-star__desc + .about-star__desc {
  margin-top: 0;
}

@media (min-width: 750px) {
  .about-star {
    grid-template-columns: var(--about-star-media) 1fr;
    column-gap: clamp(32px, 4vw, 56px);
    align-items: center;
  }
  /* 写真同士をつなぐ縦線。写真列の中央に1本通し、写真の背面に隠す */
  .about-stars::before {
    content: "";
    position: absolute;
    inset-block: 0;
    left: calc(var(--about-star-media) / 2);
    width: 2px;
    transform: translateX(-50%);
    background: var(--color-white);
  }
  /* 行の高さいっぱいに写真を伸ばし、線が写真区間からはみ出さないようにする */
  .about-star__media {
    align-self: stretch;
  }
  .about-star .photo-placeholder {
    aspect-ratio: auto;
    min-height: clamp(220px, 26vw, 375px);
  }
  /* 行の高さいっぱいに伸ばす（縦線が写真区間からはみ出さないようにするため） */
  .about-star__image {
    aspect-ratio: auto;
    height: 100%;
    min-height: clamp(220px, 26vw, 375px);
  }
}

.about-stars__visual {
  margin-top: clamp(40px, 6vw, 64px);
}
.about-stars__visual .photo-placeholder {
  aspect-ratio: 3 / 1;
  border-radius: 0;
}

/* ================================================================
   25. 会社概要ページ固有（page-corporate.php）
================================================================ */

.section-corporate-info,
.section-corporate-story,
.section-corporate-access {
  margin-top: var(--space-section);
}
.section-corporate-info:first-child {
  margin-top: 0;
}

.corporate-story__text {
  font-size: 0.9375rem;
  line-height: var(--line-height-wide);
  margin-bottom: var(--space-item);
}
.corporate-story__text:last-child {
  margin-bottom: 0;
}
.section-corporate-story .corporate-info-list {
  margin-bottom: var(--space-item);
}

/* ================================================================
   26. 記事一覧（article-list / article-card）
   対象: archive-blog.php / archive-news.php / archive-topics.php
   SP: 1カラム / md(750px〜): 2カラム / lg(1025px〜): 3カラム
================================================================ */

.article-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 750px) {
  .article-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}
@media (min-width: 1025px) {
  .article-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .article-card:hover {
    box-shadow: var(--shadow-1);
    transform: translateY(-2px);
  }
}

.article-card__media {
  display: block;
  overflow: hidden;
}
.article-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .article-card:hover .article-card__image {
    transform: scale(1.04);
  }
}

.article-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

.article-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.article-card__date {
  font-size: 0.75rem;
  color: var(--color-main-lighter);
  letter-spacing: 0.02em;
}
.article-card__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.article-card__title {
  font-family: var(--font-family-base);
  font-size: 0.9375rem;
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-narrow);
  color: var(--color-main);
  margin-bottom: 8px;
}
.article-card__title a {
  color: inherit;
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .article-card__title a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
.article-card__title a:focus-visible {
  outline: 2px solid var(--color-main);
  outline-offset: 2px;
  border-radius: 2px;
}

.article-card__excerpt {
  font-size: 0.8125rem;
  line-height: var(--line-height-wide);
  color: var(--color-main-lighter);
  flex: 1;
  margin-bottom: 12px;
}

.article-card__more {
  align-self: flex-start;
  margin-top: auto;
}

.archive-empty {
  padding-block: 40px;
  font-size: 0.9375rem;
  color: var(--color-main-lighter);
  text-align: center;
}

/* ================================================================
   27. 前後の記事ナビゲーション（post-nav）
   対象: single.php / single-blog.php / single-topics.php
   SP: 縦積み1カラム / sm(600px〜): 横並び2カラム
   （どちらか一方しか存在しない場合も post-nav__next は右側に固定表示）
================================================================ */
.post-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: var(--space-title);
  padding-top: var(--space-title);
  border-top: 1px solid var(--color-border);
}
@media (min-width: 600px) {
  .post-nav {
    grid-template-columns: 1fr 1fr;
  }
}

.post-nav__prev,
.post-nav__next {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition:
    border-color 0.2s,
    background 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .post-nav__prev:hover,
  .post-nav__next:hover {
    border-color: var(--color-main);
    background: var(--color-main-lightest);
  }
}
.post-nav__prev:focus-visible,
.post-nav__next:focus-visible {
  outline: 2px solid var(--color-main);
  outline-offset: 2px;
}
@media (min-width: 600px) {
  .post-nav__next {
    grid-column: 2;
    align-items: flex-end;
    text-align: right;
  }
}

.post-nav__label {
  font-family: var(--font-family-base);
  font-size: 0.75rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-main-lighter);
  letter-spacing: 0.02em;
}
.post-nav__title {
  font-family: var(--font-family-base);
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-narrow);
  color: var(--color-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================================================================
   28. 記事詳細ヘッダー（single-article__header）
   対象: single.php / single-blog.php / single-topics.php
================================================================ */
.single-article__header {
  margin-bottom: var(--space-title);
}
.single-article__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--space-text);
}
.single-article__date {
  font-family: var(--font-family-base);
  font-size: 0.8125rem;
  color: var(--color-main-lighter);
  letter-spacing: 0.02em;
}
.single-article__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.single-article__title {
  font-family: var(--font-family-serif);
  font-size: clamp(1.375rem, 3vw, 2rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
  line-height: var(--line-height-narrow);
  color: var(--color-sumi);
}

/* ================================================================
   29. FAQページ固有（page-faq.php）
================================================================ */

/*
 * .faq-group（.section-title + .faq-list）が縦に連続する構造。
 * .faq-list 末尾のアコーディオンは border-bottom で終わるため、余白がないと
 * 次のグループ見出しが前グループの罫線に貼り付いて見える。
 * グループ間に SP 32px / md〜 48px を確保する（md〜は page-area の
 * .table-area margin-bottom: 48px と同じリズム）。
 * 見出しの直前に本文（entry-content）がある場合も同じ間隔を適用。
 */
.faq-group + .faq-group,
.entry-content + .faq-group {
  margin-top: 32px;
}

@media (min-width: 750px) {
  .faq-group + .faq-group,
  .entry-content + .faq-group {
    margin-top: 48px;
  }
}

/* ================================================================
   30. 404ページ（templates/404.php）
================================================================ */

/*
 * 他の下層ページと同じ2カラム（.front-2col）の右カラム（.sub-main）内に置く。
 * 上下パディングは .sub-main が持つため .error-404 側では指定しない。
 * 構成は 見出し→説明→リンク→最近のお知らせ の順。
 * 検索フォームは設置しない方針のため、導線はリンク集とボタンで担保する。
 */
.error-404 {
  text-align: center;
}

/* 404 の数字（装飾。読み上げ対象外） */
.error-404__code {
  font-family: var(--font-family-serif);
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  font-weight: var(--font-weight-light);
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.error-404__title {
  font-family: var(--font-family-serif);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-narrow);
  letter-spacing: 0.04em;
  color: var(--color-sumi);
}
.error-404__lead {
  margin-top: var(--space-title);
  font-size: 0.9375rem;
  line-height: var(--line-height-wide);
  color: var(--color-font);
}

/* トップ／お弁当一覧への主導線 */
.error-404__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}
.error-404__actions > .btn-primary,
.error-404__actions > .btn-secondary {
  width: 100%;
  max-width: 320px;
  justify-content: center;
}
@media (min-width: 600px) {
  .error-404__actions {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }
  .error-404__actions > .btn-primary,
  .error-404__actions > .btn-secondary {
    width: auto;
  }
}

/* 「主なページ」「最近のお知らせ」ブロック */
.error-404__block {
  margin-top: 56px;
  text-align: left;
}
.error-404__subtitle {
  font-family: var(--font-family-serif);
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
  color: var(--color-sumi);
  margin-bottom: var(--space-item);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-main);
}

.error-404__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}
@media (min-width: 600px) {
  .error-404__links {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
  }
}
.error-404__links-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--color-gray-lighter);
  font-size: 0.9375rem;
  color: var(--color-font);
  text-decoration: none;
  transition: color 0.15s;
}
@media (hover: hover) and (pointer: fine) {
  .error-404__links-link:hover {
    color: var(--color-accent);
  }
}

/* ================================================================
   31. お問い合わせ完了ページ（templates/page-thanks.php）
================================================================ */

/*
 * /contact/thanks/。2カラムの右カラム（.sub-main）内に置くため、
 * 上下パディングは .sub-main 側が持つ。文面は本番サイトの同ページに準拠。
 */
.thanks {
  text-align: center;
}
.thanks__lead {
  font-size: 0.9375rem;
  line-height: var(--line-height-wide);
  color: var(--color-font);
}
.thanks__lead + .thanks__lead {
  margin-top: var(--space-item);
}

/* お急ぎの場合の電話導線 */
.thanks__phone {
  margin-top: 40px;
  padding: 32px 24px;
  background: var(--color-cream);
  border-radius: var(--radius-md);
}
.thanks__phone-lead {
  font-size: 0.875rem;
  line-height: var(--line-height-normal);
  color: var(--color-font);
}
.thanks__phone-label {
  margin-top: 20px;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--color-main-lighter);
}
.thanks__phone-number {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--font-family-serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--color-sumi);
  text-decoration: none;
}
.thanks__phone-hours {
  margin-top: 4px;
  font-size: 0.8125rem;
  color: var(--color-main-lighter);
}

.thanks__actions {
  margin-top: 40px;
}
.thanks__actions > .btn-primary {
  width: 100%;
  max-width: 320px;
  justify-content: center;
}

/* ================================================================
   32. 法人向けLP（.lp-* 共通）
   templates/page-corporate-travel.php     … /corporate_travel/（旅行会社向け）
   templates/page-corporate-production.php … /corporate_production/（制作会社向け）
   いずれも 1カラム構成のランディングページで、同一のクラスを共有する。
================================================================ */

/* ── ヒーロー ─────────────────────────────────────────────── */
.lp-hero {
  padding-block: 40px var(--space-section);
  background: var(--color-cream);
}

.lp-hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.12em;
  color: var(--color-accent);
}

.lp-hero__title {
  margin-top: 12px;
  font-family: var(--font-family-serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-narrow);
  color: var(--color-sumi);
}

.lp-hero__lead {
  margin-top: 24px;
  max-width: 720px;
  font-size: 0.9375rem;
  line-height: var(--line-height-wide);
  color: var(--color-font);
}

.lp-hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
@media (max-width: 599px) {
  .lp-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .lp-hero__actions > .btn-primary,
  .lp-hero__actions > .btn-secondary {
    justify-content: center;
  }
}

.lp-hero__note {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--color-main-lighter);
}

/* ── 選ばれる理由（4カード）─────────────────────────────────── */
.lp-points .title-area,
.lp-service .title-area,
.lp-area .title-area,
.lp-flow .title-area,
.lp-cases .title-area,
.lp-form .title-area {
  margin-bottom: var(--space-title);
}

.lp-points__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 750px) {
  .lp-points__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.lp-point {
  padding: 28px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
}
.lp-point__num {
  font-family: var(--font-family-serif);
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  color: var(--color-accent);
}
.lp-point__title {
  margin-top: 12px;
  font-size: 1.0625rem;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-narrow);
  color: var(--color-sumi);
}
.lp-point__desc {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: var(--line-height-wide);
  color: var(--color-font);
}

/* ── 対応内容（本文＋写真）───────────────────────────────────── */
.lp-service__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 1025px) {
  .lp-service__body {
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    align-items: start;
  }
}

.lp-service__desc {
  margin-bottom: 24px;
  font-size: 0.9375rem;
  line-height: var(--line-height-wide);
  color: var(--color-font);
}

/* .table-area の下マージン（48px）は LP 内では不要 */
.lp-service__text > .table-area {
  margin-bottom: 0;
  background: var(--color-white);
}

.lp-service__figure {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 1025px) {
  .lp-service__figure {
    grid-template-columns: 1fr;
  }
}

/* ── 対応エリア（制作会社向けLP）──────────────────────────── */
.lp-area__body {
  max-width: 800px;
  margin-inline: auto;
  padding: 32px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
}
@media (min-width: 750px) {
  .lp-area__body {
    padding: 40px;
  }
}

.lp-area__list > li {
  font-size: 0.9375rem;
  line-height: var(--line-height-wide);
  color: var(--color-font);
}
.lp-area__list > li:not(:last-child) {
  margin-bottom: 12px;
}

.lp-area__note {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  line-height: var(--line-height-wide);
  color: var(--color-font);
}

.lp-area__more {
  margin-top: 20px;
}

/* ── ご相談から当日までの流れ（.flow-list の4カラム版）─────────── */
.lp-flow .flow-list {
  margin-bottom: 0;
}
@media (min-width: 750px) {
  .flow-list.-col4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1025px) {
  .flow-list.-col4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── 納品実績・事例 ───────────────────────────────────────── */
.lp-cases__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 750px) {
  .lp-cases__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lp-case {
  padding: 24px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2);
}
.lp-case__scale {
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  color: var(--color-accent);
}
.lp-case__client {
  margin-top: 8px;
  font-family: var(--font-family-serif);
  font-size: 1.0625rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-sumi);
}
.lp-case__desc {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: var(--line-height-wide);
  color: var(--color-font);
}

/* ── お問い合わせフォーム ─────────────────────────────────── */
.lp-form__lead {
  margin-bottom: 40px;
  font-size: 0.9375rem;
  line-height: var(--line-height-wide);
  color: var(--color-font);
  text-align: center;
}

/* CF7 のスタイルは .entry-content スコープ。LP では中央寄せで配置する */
.lp-form__body .wpcf7 {
  margin-inline: auto;
}

.lp-form__fallback {
  text-align: center;
}

.lp-form__tel {
  margin-top: 48px;
  padding: 32px 24px;
  background: var(--color-cream);
  border-radius: var(--radius-md);
  text-align: center;
}
/* 和紙背景のセクション内では cream 同士で沈むため白背景に差し替える */
.section--washi .lp-form__tel {
  background: var(--color-white);
}
.lp-form__tel-label {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--color-main-lighter);
}
.lp-form__tel-number {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--font-family-serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--color-sumi);
  text-decoration: none;
}
.lp-form__tel-hours {
  margin-top: 4px;
  font-size: 0.8125rem;
  color: var(--color-main-lighter);
}

/* ================================================================
   33. 制作会社向けLP（templates/page-corporate-production.php）
   支給デザイン figma画像/制作会社向け.png 準拠。
   セクション32（.lp-hero / .lp-points 等）は旅行会社向けLPが使用中のため
   触らず、こちらは新規ブロックとして追加している。
================================================================ */

/* ── ヒーロー ─────────────────────────────────────────────── */
/* 背景画像はテンプレートが --lp-visual-pc / --lp-visual-sp で渡す。
   KV未入稿かつアイキャッチ未設定のときは変数が未定義になり、
   background-image は none に落ちてグレー地のプレースホルダーになる。
   min-height の 27vw は PC画像 2880x776（≒26.9vw）の縦横比に合わせたもの。*/
.lp-visual {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(200px, 27vw, 400px);
  background-color: var(--color-gray);
  background-image: var(--lp-visual-sp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
@media (min-width: 750px) {
  .lp-visual {
    background-image: var(--lp-visual-pc);
  }
}
/* 白い見出しの可読性を確保する暗幕（空・白い被写体の写真でもコントラストを保つ）*/
.lp-visual.-has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.5) 100%
  );
}
.lp-visual .container {
  position: relative; /* 暗幕より前面に見出しを置く */
}
.lp-visual__title {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: var(--font-weight-bold);
  font-family: var(--font-mincho);
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--color-white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.lp-breadcrumb {
  padding-block: 16px 0;
}

/* ── リード文＋CTA ────────────────────────────────────────── */
.lp-intro {
  padding-block: clamp(48px, 8vw, 100px);
  text-align: center;
}
.lp-intro__lead {
  font-size: 0.9375rem;
  line-height: var(--line-height-wide);
}
.lp-intro__action {
  margin-top: 24px;
}

/* ── セクション共通（見出し・サブコピー・本文）──────────── */
.lp-sec {
  padding-block: clamp(36px, 5.5vw, 58px);
}
.lp-sec__title {
  font-size: clamp(1.1875rem, 2.1vw, 1.5rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
}
.lp-sec__sub {
  margin-top: 10px;
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--color-main-lighter);
  text-align: center;
}
/* 各リスト側の margin リセット（.lp-cards 等の margin:0）に後勝ちされないよう、
   詳細度を上げて記述順に依存しないようにしている */
.lp-sec .lp-sec__body {
  margin-top: clamp(24px, 3.5vw, 36px);
}

/* ── カードグリッド（お悩み / 選ばれる理由 / シーン）──────── */
.lp-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: clamp(20px, 2.8vw, 40px);
  row-gap: clamp(16px, 1.6vw, 20px);
}
@media (min-width: 750px) {
  .lp-cards.-col2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .lp-cards.-col3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.lp-card {
  padding: clamp(20px, 2.2vw, 26px);
  background: var(--color-white);
  border: 1px solid var(--color-border);
}
/* お悩みセクションのみ淡いグレー地 */
.lp-cards.-tint .lp-card {
  background: #fafaf8;
}
.lp-card__title {
  font-size: 0.9375rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.7;
  color: var(--color-font);
}
.lp-card__desc {
  margin-top: 14px;
  font-size: 0.8125rem;
  line-height: 1.85;
  color: var(--color-main-lighter);
}
/* シーンのカードは中央揃え。見出しの行数が違っても本文の位置を揃える */
.lp-cards.-center .lp-card {
  text-align: center;
  padding-block: clamp(24px, 3vw, 34px);
}
.lp-cards.-center .lp-card__title {
  min-height: calc(1.7em * 2);
}
.lp-cards.-center .lp-card__desc {
  margin-top: 18px;
}

/* ── 配達エリアと最小注文金額（.table-area の上書き）──────── */
.lp-table {
  margin-bottom: 0;
  border: 1px solid var(--color-border);
  font-size: 0.875rem;
}
.lp-table th,
.lp-table td {
  padding: 18px clamp(16px, 2vw, 28px);
  border: 0;
  vertical-align: top;
}
.lp-table thead th {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}
.lp-table tbody th {
  width: 26%;
}
.lp-table__cell-note {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--color-main-lighter);
}
.lp-table__notes {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  font-size: 0.75rem;
  line-height: 1.9;
  color: var(--color-main-lighter);
}
.lp-table__notes > li::before {
  content: "・";
}

/* ── お弁当ラインナップ ───────────────────────────────────── */
.lp-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 1.5vw, 16px);
}
@media (min-width: 600px) {
  .lp-menu {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1025px) {
  .lp-menu {
    grid-template-columns: repeat(4, 1fr);
  }
}
.lp-menu-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  background: var(--color-white);
}
.lp-menu-card__media .photo-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: 0;
  background: #edede7;
}
.lp-menu-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(14px, 1.6vw, 18px);
}
.lp-menu-card__chip {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 2px;
  font-size: 0.6875rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
}
.lp-menu-card__chip.-flagship {
  background: #f0e4ce;
  color: #8a6b33;
}
.lp-menu-card__chip.-volume {
  background: #e5efe1;
  color: #4e7a46;
}
.lp-menu-card__chip.-variety {
  background: #e4e4e4;
  color: #555555;
}
.lp-menu-card__chip.-limited {
  background: #f5e4e4;
  color: #b04a4a;
}
.lp-menu-card__name {
  margin-top: 10px;
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}
/* 旅行会社向けLPはチップを持たないため、商品名が先頭に来る */
.lp-menu-card__name:first-child {
  margin-top: 0;
}
.lp-menu-card__desc {
  margin-top: 8px;
  font-size: 0.75rem;
  line-height: 1.8;
  color: var(--color-main-lighter);
}
/* 価格はカード下端に揃える（カードの高さが揃うため） */
.lp-menu-card__price {
  margin-top: auto;
  padding-top: 20px;
  font-size: 0.8125rem;
  font-weight: var(--font-weight-medium);
}
.lp-menu__note {
  margin-top: 16px;
  font-size: 0.75rem;
  line-height: 1.8;
  color: var(--color-main-lighter);
}
/* 法人向けLP（旅行会社／制作会社）は実際の商品（.bento-card）を並べ、
   その下に商品一覧への導線を置く */
.lp-menu__more {
  margin-top: clamp(20px, 2.5vw, 28px);
  text-align: center;
}

/* ── ご注文の流れ ─────────────────────────────────────────── */
.lp-steps {
  --lp-step-gap: clamp(24px, 3vw, 44px);
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--lp-step-gap);
}
@media (min-width: 750px) {
  .lp-steps {
    grid-template-columns: repeat(3, 1fr);
  }
  /* カード間のすき間の中央に矢印を置く */
  .lp-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 50%;
    left: calc(100% + var(--lp-step-gap) / 2);
    transform: translate(-50%, -50%);
    font-size: 1rem;
    color: var(--color-main-lighter);
  }
}
.lp-step {
  position: relative;
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--color-cream);
}
.lp-step__num {
  font-size: 0.6875rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.1em;
  color: var(--color-main-lighter);
}
.lp-step__title {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
}
.lp-step__desc {
  margin-top: 14px;
  font-size: 0.8125rem;
  line-height: 1.8;
}
.lp-step__note {
  margin-top: 12px;
  font-size: 0.75rem;
  line-height: 1.8;
  color: var(--color-gray);
}

/* ── 導入実績 ─────────────────────────────────────────────── */
.lp-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 1.5vw, 16px);
}
@media (min-width: 750px) {
  .lp-stats {
    grid-template-columns: repeat(4, 1fr);
  }
  /* 旅行会社向けLPは3タイル構成 */
  .lp-stats.-col3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.lp-stat {
  padding: clamp(20px, 2.4vw, 26px) 16px;
  background: var(--color-main-lightest);
  text-align: center;
}
.lp-stat__figure {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
}
.lp-stat__label {
  margin-top: 8px;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--color-main-lighter);
}

/* 実績タイルの下に並ぶ利用シーンのタグ（旅行会社向けLP）*/
.lp-usecases {
  list-style: none;
  margin: clamp(12px, 1.5vw, 16px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: clamp(12px, 1.5vw, 16px);
}
@media (min-width: 750px) {
  .lp-usecases {
    grid-template-columns: repeat(3, 1fr);
  }
}
.lp-usecase {
  padding: 18px 16px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  text-align: center;
}

/* ── よくある質問 ─────────────────────────────────────────── */
.lp-faq {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.lp-faq-item {
  padding: 18px clamp(16px, 2vw, 26px);
  border: 1px solid var(--color-border);
  background: var(--color-white);
}
.lp-faq-item__q {
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.6;
}
.lp-faq-item__q::before {
  content: "Q. ";
}
.lp-faq-item__a {
  margin-top: 8px;
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--color-main-lighter);
}
.lp-faq-item__a::before {
  content: "A. ";
}

/* ── お見積もり・ご相談フォーム ───────────────────────────── */
.lp-contact {
  max-width: 880px;
  margin-inline: auto;
  padding: clamp(32px, 5vw, 56px) clamp(20px, 5vw, 80px);
  background: #f6f6f6;
  border: 1px solid var(--color-border);
}
.lp-contact__form {
  margin-top: clamp(28px, 4vw, 44px);
}
/* CF7 は .entry-content .wpcf7 で max-width:560px が効くが左寄せになるため、
   囲みボックス内で中央に寄せる */
.lp-contact__form .wpcf7 {
  margin-inline: auto;
}
/* デザインに合わせて送信ボタンのみ幅を詰めて中央寄せ（既定は幅100%）*/
.lp-contact__form .wpcf7-submit {
  display: flex;
  width: auto;
  min-width: 200px;
  margin-inline: auto;
}
.lp-contact__fallback {
  margin-top: clamp(28px, 4vw, 44px);
  text-align: center;
}
.lp-contact__note {
  margin-top: 24px;
  font-size: 0.75rem;
  line-height: 1.9;
  color: var(--color-main-lighter);
  text-align: center;
}

/* =============================================================
   配達エリア・ご注文方法（templates/page-area.php）
   2カラム右カラム（.sub-main / 白背景）に置く前提のスタイル。
   表は .table-area、ステップは .flow-list を流用する。
============================================================= */

/* リード文 */
.area-lead {
  margin: 0 0 clamp(28px, 4vw, 40px);
  font-size: 0.9375rem;
  line-height: var(--line-height-wide);
}

/* セクション内の補足文（表の直前など） */
.area-text {
  margin: 0 0 var(--space-item);
  font-size: 0.9375rem;
  line-height: var(--line-height-wide);
}

/* 配達エリアマップ（白背景版）
   front-page.php の暗背景セクション用に定義した .area-guide-map の
   文字色だけを上書きする。レイアウトは共通のまま。 */
.area-guide-map.-light > .area-guide-map__body > .area-guide-map__title,
.area-guide-map.-light > .area-guide-map__body > .area-guide-map__text {
  color: var(--color-main);
}
.area-guide-map.-light > .area-guide-map__body > .area-guide-map__note {
  color: var(--color-main-lighter);
}
.area-guide-map.-light > .area-guide-map__figure {
  padding: 0;
  box-shadow: none;
  border: 1px solid var(--color-border);
}

/* 区別LP（/area/{slug}/）へのテキストリンク — 配達エリア表のセル内で使う */
.area-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--color-main-lighter);
  transition: color 0.2s, text-decoration-color 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .area-link:hover {
    color: var(--color-accent);
    text-decoration-color: var(--color-accent);
  }
}

/* 表セル内の注記 */
.table-area__cell-note {
  display: block;
  margin-top: 6px;
  font-size: 0.8125rem;
  line-height: var(--line-height-normal);
  color: var(--color-main-lighter);
}

/* 注記リスト（表の下・注意事項） */
.area-note-list {
  list-style: none;
  margin: -32px 0 48px;
  padding: 0;
  font-size: 0.8125rem;
  line-height: 1.9;
  color: var(--color-main-lighter);
}
.area-note-list > li {
  padding-left: 1.1em;
  text-indent: -1.1em;
}
.area-note-list > li::before {
  content: "※ ";
}
/* 独立したセクションとして置く場合は表直下の詰めを解除し、本文と同じ字送りにする */
.area-note-list.-lg {
  margin: 0 0 48px;
  font-size: 0.9375rem;
  color: var(--color-font);
}

/* お支払い方法 */
.area-payment-list {
  list-style: none;
  margin: 0 0 48px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 750px) {
  .area-payment-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.area-payment-item {
  padding: 20px;
  background: var(--color-main-lightest);
  border-radius: var(--radius-md);
}
.area-payment-item__title {
  margin: 0 0 var(--space-text);
  font-size: 0.9375rem;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-narrow);
  color: var(--color-main);
}
.area-payment-item__desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: var(--line-height-wide);
}

/* ================================================================
   34. 規約・法定表記ページ（.terms-*）
       - templates/page-terms.php（利用規約・キャンセルポリシー）
       - templates/page-legal.php（特定商取引法に基づく表記）
   2ページで共用するスタイル。片方だけ変更しないこと。
   2カラム右カラム（.sub-main / 白背景）に置く前提。
   表は .table-area に修飾子 -terms を足して流用する（見出し列を左寄せ・折返し可に）。
================================================================ */

/* 内容未確定の注意書き（確定後にテンプレートごと削除する） */
.terms-notice {
  margin: 0 0 40px;
  padding: 12px 16px;
  background: var(--color-washi);
  border-left: 3px solid var(--color-accent);
  font-size: 0.8125rem;
  line-height: var(--line-height-normal);
  color: var(--color-main-light);
}

/* ── 大見出しブロック（01 利用規約 / 02 キャンセルポリシー）── */
.terms-part + .terms-part {
  margin-top: 64px;
}
.terms-part__label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}
.terms-part__num {
  font-family: var(--font-family-serif);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  color: var(--color-accent);
}
.terms-part__line {
  flex: 1;
  height: 1px;
  background: var(--color-gray-lighter);
}
.terms-part__title {
  margin: 0 0 8px;
  font-family: var(--font-family-serif);
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
  line-height: var(--line-height-narrow);
  color: var(--color-sumi);
}
.terms-part__desc {
  margin: 0 0 30px;
  font-size: 0.875rem;
  line-height: var(--line-height-wide);
  color: var(--color-main-lighter);
}

/* ── 条文 ────────────────────────────────────── */
.terms-clause {
  padding: 26px 0;
  border-top: 1px solid var(--color-gray-lighter);
}
.terms-clause:first-of-type {
  padding-top: 6px;
  border-top: none;
}
.terms-clause__title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--font-family-serif);
  font-size: 1.0625rem;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-narrow);
  color: var(--color-sumi);
}
.terms-clause__no {
  font-family: var(--font-family-base);
  font-size: 0.75rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: var(--color-accent);
}
.terms-clause p {
  margin: 0 0 10px;
  font-size: 0.9375rem;
  line-height: var(--line-height-wide);
}
.terms-clause__list {
  margin: 0 0 10px;
  padding-left: 1.4em;
  font-size: 0.9375rem;
  line-height: var(--line-height-wide);
}
.terms-clause__list > li + li {
  margin-top: 6px;
}
/* 条文内の最終要素は下マージンを持たない（区切り線までの余白を padding に一本化） */
.terms-clause > *:last-child {
  margin-bottom: 0;
}

/* ── 条文内の表（.table-area の修飾）────────────────── */
.table-area.-terms {
  margin-bottom: 18px;
}
.table-area.-terms tbody th {
  width: 32%;
  white-space: normal; /* 見出し列が長いため折返しを許可（既定は nowrap） */
  color: var(--color-sumi);
}
/* キャンセル料の発生有無など、読み落とすと不利益になる行を強調する */
.table-area.-terms tbody tr.-highlight td {
  font-weight: var(--font-weight-bold);
  color: var(--color-red);
}

@media (max-width: 599px) {
  .table-area.-terms,
  .table-area.-terms tbody,
  .table-area.-terms tr,
  .table-area.-terms th,
  .table-area.-terms td {
    display: block;
    width: auto;
  }
  .table-area.-terms tr + tr {
    margin-top: -1px; /* 縦積み時の罫線の重なりを解消 */
  }
  .table-area.-terms th {
    border-bottom: none;
  }
}

/* ── 未確定箇所のプレースホルダー ──────────────────── */
.terms-fill {
  padding: 0 2px;
  border-bottom: 1px dotted var(--color-red);
  color: var(--color-red);
}

/* ── 本文中のリンク（他ページへの参照）───────────────── */
.terms-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.terms-link:hover,
.terms-link:focus-visible {
  color: var(--color-accent);
}

/* ── 制定日・運営事務局 ─────────────────────────── */
.terms-meta {
  margin: 56px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--color-gray-lighter);
  font-size: 0.78125rem;
  line-height: var(--line-height-wide);
  text-align: center;
  color: var(--color-main-lighter);
}

/* ── 法定表記ページ固有（templates/page-legal.php）───────── */

/* 表の前に置くリード枠 */
.terms-lead-note {
  margin: 0 0 30px;
  padding: 20px 24px;
  border: 1px solid var(--color-gray-lighter);
  font-size: 0.84375rem;
  line-height: var(--line-height-wide);
  color: var(--color-main-light);
}

/* セル内の補足（受付時間・参照先など） */
.terms-note {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  line-height: var(--line-height-normal);
  color: var(--color-main-lighter);
}

/* セル内の箇条書き（支払方法・支払時期）。行頭記号はセル幅を圧迫するため出さない */
.terms-cell-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.terms-cell-list > li + li {
  margin-top: 4px;
}
.terms-cell-list > li::before {
  content: "・";
  color: var(--color-accent);
}

/* ================================================================
   35. 下層LP共通（.pagelp-*）
       - templates/page-area-lp.php（区別エリアLP）
       - templates/taxonomy-scene-lp.php（用途別LP）
   2テンプレートで共用するスタイル。片方だけ変更しないこと。
   ワイヤーフレーム「エリア-◯◯区_LP_wireframe.html」準拠。
   HERO と実績サマリーは全幅、02以降は .front-2col の右カラム（.sub-main）に入る。
   商品カードは .bento-card、FAQは .accordion を流用する。
================================================================ */

.pagelp-breadcrumb {
  padding-top: 16px;
}

/* ── 01 ファーストビュー ─────────────────────────── */
.pagelp-hero {
  padding-block: clamp(24px, 4vw, 48px);
  background: var(--color-washi);
}
.pagelp-hero__inner {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  align-items: center;
}
@media (min-width: 750px) {
  .pagelp-hero__inner {
    grid-template-columns: 1.1fr 1fr;
  }
}
.pagelp-hero__eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  border: 1px solid var(--color-accent);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}
.pagelp-hero__title {
  margin: 0 0 12px;
  font-family: var(--font-family-serif);
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-narrow);
  color: var(--color-sumi);
}
.pagelp-hero__lead {
  margin: 0 0 24px;
  font-size: 0.9375rem;
  line-height: var(--line-height-wide);
}
.pagelp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}
.pagelp-hero__media picture {
  display: block;
}
.pagelp-hero__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}
/* 未入稿時のプレースホルダーは実画像と同じ比率で場所を確保する */
.pagelp-hero__media .photo-placeholder {
  aspect-ratio: 10 / 7;
}

/* ── 実績サマリー ──────────────────────────────── */
.pagelp-statbar {
  padding-block: 20px;
  background: var(--color-main-lightest);
}
/* 項目数に追従して均等割りする（区別LP=3項目 / 用途別LP=2項目） */
.pagelp-statbar__list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pagelp-stat {
  text-align: center;
}
/* 数値の上に置く見出し（例: 配達料金）。'caption' を持つ項目のみ出力される */
.pagelp-stat__caption {
  margin: 0 0 2px;
  font-size: 0.6875rem;
  line-height: var(--line-height-normal);
  color: var(--color-main-lighter);
}
.pagelp-stat__figure {
  margin: 0 0 4px;
  font-family: var(--font-family-serif);
  font-size: clamp(1.125rem, 2.6vw, 1.5rem);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-narrow);
  color: var(--color-sumi);
}
.pagelp-stat__label {
  margin: 0;
  font-size: 0.6875rem;
  line-height: var(--line-height-normal);
  color: var(--color-main-lighter);
}

/* ── セクション共通 ─────────────────────────────── */
.pagelp-sec + .pagelp-sec {
  margin-top: 40px;
}
@media (min-width: 750px) {
  .pagelp-sec + .pagelp-sec {
    margin-top: 56px;
  }
}
.pagelp-note {
  margin: 16px 0 0;
  font-size: 0.8125rem;
  line-height: var(--line-height-wide);
  color: var(--color-main-lighter);
}

/* 未確定の数値（確定後に .pagelp-tbd ごと外す） */
.pagelp-tbd {
  border-bottom: 1px dotted var(--color-red);
  color: var(--color-red);
}

/* ── 02 地域特化コンテンツ ───────────────────────── */
.pagelp-area-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 1025px) {
  .pagelp-area-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}
.pagelp-landmarks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pagelp-landmark {
  padding: 6px 12px;
  border: 1px solid var(--color-gray-lighter);
  font-size: 0.8125rem;
  line-height: 1;
  color: var(--color-main);
}
.pagelp-map {
  margin: 0;
}
.pagelp-map .photo-placeholder {
  aspect-ratio: 4 / 3;
}
/* 区のランドマーク写真（assets/images/area/{slug}/{slug}_mark_*.jpg） */
.pagelp-map__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.pagelp-map__caption {
  margin-top: 8px;
  font-size: 0.75rem;
  text-align: center;
  color: var(--color-main-lighter);
}

/* ── 03 利用シーン事例 ──────────────────────────── */
.pagelp-scenes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 1025px) {
  .pagelp-scenes {
    grid-template-columns: repeat(4, 1fr);
  }
}
.pagelp-scene {
  padding: 16px;
  background: var(--color-main-lightest);
  border-radius: var(--radius-md);
}
.pagelp-scene__title {
  margin: 0 0 6px;
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-narrow);
  color: var(--color-sumi);
}
.pagelp-scene__desc {
  margin: 0;
  font-size: 0.75rem;
  line-height: var(--line-height-wide);
  color: var(--color-main-lighter);
}

/* ── 04 配達料金 ───────────────────────────────── */
.pagelp-rates {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--color-gray-lighter);
  border-radius: var(--radius-md);
  overflow: hidden;
}
@media (min-width: 750px) {
  .pagelp-rates {
    grid-template-columns: repeat(3, 1fr);
  }
}
.pagelp-rate {
  padding: 20px 12px;
  text-align: center;
  border-bottom: 1px solid var(--color-gray-lighter);
}
.pagelp-rate:last-child {
  border-bottom: none;
}
@media (min-width: 750px) {
  .pagelp-rate {
    border-right: 1px solid var(--color-gray-lighter);
    border-bottom: none;
  }
  .pagelp-rate:last-child {
    border-right: none;
  }
}
.pagelp-rate__caption {
  margin: 0 0 6px;
  font-size: 0.6875rem;
  color: var(--color-main-lighter);
}
.pagelp-rate__figure {
  margin: 0;
  font-family: var(--font-family-serif);
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-narrow);
  color: var(--color-sumi);
}

/* ── 05 メニュー・価格帯 ────────────────────────── */
.pagelp-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 1025px) {
  .pagelp-menu {
    grid-template-columns: repeat(3, 1fr);
  }
}
.pagelp-more {
  margin: 24px 0 0;
  text-align: center;
}

/* ── 07 実績・信頼性 ────────────────────────────── */
.pagelp-trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* lg〜: 項目数ぶんだけ列を作る（auto-fit は空トラックを潰すため、
   3項目なら3列・4項目なら4列で均等に伸びる）。
   区別エリアLPは「法人のお取引実績」を非表示にして3項目、
   用途別LPの法人対応リストは4項目と、同じクラスで件数が異なるため固定列にしない。 */
@media (min-width: 1025px) {
  .pagelp-trust {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}
.pagelp-badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 96px;
  padding: 16px 12px;
  text-align: center;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
}
.pagelp-badge__figure {
  margin: 0;
  font-family: var(--font-family-serif);
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-narrow);
  color: var(--color-accent);
}
.pagelp-badge__label {
  margin: 0;
  font-size: 0.6875rem;
  line-height: var(--line-height-normal);
  color: var(--color-main-lighter);
}

/* ── 08 内部リンク ─────────────────────────────── */
.pagelp-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 1025px) {
  .pagelp-links {
    grid-template-columns: repeat(4, 1fr);
  }
}
.pagelp-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 56px;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  font-size: 0.8125rem;
  color: var(--color-main);
  background: var(--color-main-lightest);
  border-radius: var(--radius-md);
  transition:
    background 0.2s,
    color 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .pagelp-link:hover {
    background: var(--color-main);
    color: var(--color-white);
  }
}

/* ── 用途別LP固有（templates/taxonomy-scene-lp.php）──────── */

/* セクション内の小見出し（配達エリア表の直前など） */
.pagelp-subtitle {
  margin: 28px 0 10px;
  font-family: var(--font-family-serif);
  font-size: 0.9375rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-sumi);
}

/* 最低ご注文金額の帯（地図の凡例）
   ワイヤーは色スウォッチ付きだが、地図画像の実配色が未確定のため金額のみ表示している。
   配色が確定したら .pagelp-tier に ::before でスウォッチを足すこと。 */
.pagelp-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.pagelp-tier {
  padding: 4px 10px;
  border: 1px solid var(--color-gray-lighter);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  line-height: 1;
  color: var(--color-main);
}

/* ================================================================
   36. 追従CTAバナー（template-parts/fixed-cta.php）
   〜599px（SP）: 「お電話」＋「ご注文」を画面下部に横並びで固定
   600px〜       : 「ご注文」のみを画面右下にフローティング

   境界を 600px にしているのは「1b. 電話番号リンク」で 600px 以上の
   .tel-link を pointer-events:none にしているため。600px 以上でお電話
   バナーを出すと押せないボタンになってしまう。
================================================================ */

/* SPの固定バーの高さ分だけ本文末尾に余白を作り、フッター最下部が
   バナーに隠れないようにする。PC はフローティングなので余白は不要。
   バーの高さは画面幅で変わる（画像幅 = (100vw − 左右ガター − gap) ÷ 2、
   画像比率 692:200）ため、固定値ではなく実寸を計算して確保する。 */
:root {
  --fixed-cta-space: calc(
    (100vw - var(--container-gutter) * 2 - 8px) / 2 * 200 / 692 + 16px
  );
}
@media (min-width: 600px) {
  :root {
    --fixed-cta-space: 0px;
  }
}
body {
  padding-bottom: var(--fixed-cta-space, 0);
}

.fixed-cta {
  position: fixed;
  z-index: 110; /* .top-infobar（100）より前面、.drawer-nav（200）より背面 */
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px var(--container-gutter);
  background: var(--color-white);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12);
}
.fixed-cta__item {
  flex: 1 1 0;
  min-width: 0; /* flex アイテムが画像の実寸まで広がるのを防ぐ */
  transition: opacity 0.2s;
}
.fixed-cta__image {
  width: 100%;
  height: auto;
}

@media (hover: hover) and (pointer: fine) {
  .fixed-cta__item:hover {
    opacity: 0.85;
  }
}

/* ── 600px〜：ご注文のみを右下にフローティング ───────────────── */
@media (min-width: 600px) {
  .fixed-cta {
    left: auto;
    right: clamp(16px, 3vw, 40px);
    bottom: clamp(16px, 3vw, 32px);
    width: clamp(260px, 22vw, 340px);
    padding: 0;
    background: none;
    box-shadow: none;
  }
  /* お電話はSPのみ（600px以上は .tel-link が押せないため出さない）*/
  .fixed-cta__item.-tel {
    display: none;
  }
  .fixed-cta__item.-order {
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.32));
    transition:
      opacity 0.2s,
      transform 0.2s;
  }
}

/* ── 1025px〜：PC はさらに大きくして注文導線を目立たせる ───────── */
@media (min-width: 1025px) {
  .fixed-cta {
    width: clamp(320px, 24vw, 400px);
  }
}
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
  /* .fixed-cta__item:hover の opacity 0.85 は打ち消し、拡大で反応を返す */
  .fixed-cta__item.-order:hover {
    opacity: 1;
    transform: translateY(-2px) scale(1.03);
    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.38));
  }
}
@media (prefers-reduced-motion: reduce) {
  .fixed-cta__item.-order {
    transition: none;
  }
  .fixed-cta__item.-order:hover {
    transform: none;
  }
}
