/* =====================================================================
   lineup-baby.css — 商品ラインナップ 詳細「離乳食・幼児食」(C04)
   prefix: p-bb（他ページのマーカーと衝突しない接頭辞）
   2段階レスポンシブ: モバイル(375基準) / デスクトップ(>=1024, 1440基準)
   カルーセルは共通 carousel.js（data-carousel-page / dots）を利用。
   ブランド配色: きらきらステップ=ForBaby(#75bb34/#f3fae5) / きらきらキッズ=ForKids(#e26270/#fff4f2)
   ===================================================================== */
.p-bb {
  background: var(--bg-default);
  --bb-gap: var(--space-24);
}
.p-bb__wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-24);
}

/* ============ Hero ============ */
.p-bb__hero { position: relative; padding-top: var(--space-24); }
@media (max-width: 599px) { .p-bb__hero { padding-top: 0; } }   /* SP: KV上部マージン削除 */
.p-bb__hero-media { position: relative; max-width: 1200px; margin-inline: auto; }
.p-bb__hero-img {
  width: 100%;
  aspect-ratio: 375 / 400;
  overflow: hidden;
  background: var(--container-level1);
}
.p-bb__hero-img img { width: 100%; height: 100%; display: block; }
.p-bb__hero-title {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: min(80%, 600px);
  background: var(--container-white-alfa);
  border-radius: 0 var(--radius-40) var(--radius-40) 0;
  padding: var(--space-24);
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}
.p-bb__hero-h { margin: 0; font-weight: var(--fw-bold); font-size: 28px; line-height: 46px; color: var(--text-secondary); }   /* SP: KV見出し28px固定（PCは40px） */
.p-bb__hero-sub { margin: 0; font-weight: var(--fw-light); font-size: 16px; line-height: 26px; color: var(--text-default); }

/* ============ Intro（3ポイント＋マスコット＋ボタン） ============ */
.p-bb__intro {
  padding-block: var(--space-48);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-40);
}
.p-bb__intro-head { display: flex; flex-direction: column; align-items: center; gap: var(--space-16); text-align: center; }
.p-bb__intro-title { margin: 0; font-weight: var(--fw-bold); font-size: 24px; line-height: 38px; letter-spacing: .04em; color: var(--text-secondary); }
.p-bb__intro-lead { margin: 0; font-weight: var(--fw-light); font-size: 16px; line-height: 26px; color: #000; }
/* SP: リード文のみ左寄せ・見出しは中央のまま20px（PCは24px） */
@media (max-width: 599px) {
  .p-bb__intro-head { align-items: stretch; text-align: left; }
  .p-bb__intro-head .p-bb__intro-title { font-size: 20px; text-align: center; }
}
/* Intro 3ポイント: 冷凍食品(p-frz)と同じ装飾レイアウト（SP=375基準・全幅ブリード） */
.p-bb__points {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 0;
  width: 375px;
  max-width: 100vw;
  align-self: center;   /* SP: 375基準・中央固定（ワイドSPでも左右に散らない） */
  aspect-ratio: 375 / 560;
}
/* ポイント: 白い雲形（ブロブ）＝冷凍食品と同じ吹き出し背景 ＋テキスト（左寄せ） */
.p-bb__point {
  position: absolute;
  z-index: 1;
  width: 270px;
  max-width: none;
  aspect-ratio: 330 / 230;
  background: url(../img/frozen-point-blob.svg) center / 100% 100% no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-8);
  padding: 5% 10% 5% calc(16% - 10px);
  text-align: left;
}
.p-bb__point--1 { left: -2%; top: 0; }
.p-bb__point--2 { left: 28%; top: 27%; }   /* 右端に合わせて+6%移動（元22%） */
.p-bb__point--3 { left: -3%; top: 52%; }
/* 料理写真（切り抜き・散らし配置） */
.p-bb__point-food {
  display: block;
  position: absolute;
  z-index: 2;
  width: 28%;
  height: auto;
}
.p-bb__point-food--1 { left: 6%;  top: 31%; }   /* 野菜おかゆ */
.p-bb__point-food--2 { left: 58%; top: 6%; }   /* 青菜スープ */
.p-bb__point-food--3 { width: 30%; left: 56%; top: 56%; }   /* キューブ */
/* キラキラ装飾（キューブの斜め上） */
.p-bb__point-acc {
  display: block;
  position: absolute;
  z-index: 3;
  width: 8%;
  left: 77%;
  top: 55%;
  height: auto;
}
/* 装飾線 */
.p-bb__point-deco {
  display: block;
  position: absolute;
  z-index: 2;
  left: 7%;   /* 中央吹き出しに合わせて+6%移動（元1%） */
  top: 42%;
  width: 9%;
  height: auto;
  transform: rotate(0deg) scaleY(1);
}
/* マスコット（下部） */
.p-bb__point-mascot {
  position: absolute;
  z-index: 2;
  left: 19%;
  top: 78%;
  width: 55%;
  height: auto;
}
.p-bb__point-title { margin: 0; font-weight: var(--fw-bold); font-size: 14px; line-height: 22px; color: var(--text-default); }
.p-bb__point-text { margin: 0; font-weight: var(--fw-light); font-size: 14px; line-height: 22px; letter-spacing: .04em; color: var(--text-default); }

/* ============ カタログ見出し ============ */
.p-bb__catalog { padding-bottom: var(--space-48); }
/* カタログ全体を白枠で囲う（クリーム背景 #fbf7f2 に浮かせる） */
.p-bb__catalog-box {
  margin-top: var(--space-64);
  background: var(--container-white);
  border-radius: var(--radius-24);
  padding: var(--space-24) var(--space-16);
  display: flex;
  flex-direction: column;
  gap: var(--space-40);
}
.p-bb__catalog-title { margin: 0; font-weight: var(--fw-bold); font-size: 24px; line-height: 38px; color: var(--text-default); text-align: center; text-decoration: underline; text-decoration-color: var(--container-green); text-decoration-thickness: 8px; text-underline-offset: -2px; text-decoration-skip-ink: none; }

/* ============ ブランドパネル（きらきらステップ / きらきらキッズ） ============ */
.p-bb__brand {
  border-radius: var(--radius-24);
  padding: var(--space-48) var(--space-24);
  display: flex;
  flex-direction: column;
  gap: var(--space-48);
}
/* アクセント色はブランド単位（きらきらステップ=緑 / きらきらキッズ=桃）。
   ステップ内の for-kids も緑になるよう、セクションではなくブランドで --accent を定義 */
.p-bb__brand--baby { background: #f3fae5; --brand: #75bb34; --accent: #75bb34; }
.p-bb__brand--kids { background: #fff4f2; --brand: #e26270; --accent: #e26270; }
.p-bb__brand-head { display: flex; flex-direction: column; align-items: center; gap: var(--space-8); text-align: center; }
/* ロゴの上半分をブランドボックスの上辺からはみ出させる（上辺＝ロゴ中央）。
   上げ幅 = 上パディング(48/64) + ロゴ高さ95pxの半分(約48px) */
.p-bb__brand-logo { width: 150px; height: auto; margin-top: calc(-1 * (var(--space-48) + 48px)); margin-bottom: var(--space-8); }
.p-bb__brand-title { margin: 0; font-weight: var(--fw-bold); font-size: 20px; line-height: 34px; letter-spacing: .04em; color: var(--brand); }
.p-bb__brand-sub { margin: 0; font-weight: var(--fw-light); font-size: 14px; line-height: 22px; letter-spacing: .04em; color: var(--text-default); }
/* SP専用: きらきらステップ カタログ調整（見出し-ロゴ間40px / brand-title 16px / 白・緑をブラウザ幅100%フルブリード） */
@media (max-width: 599px) {
  /* SP: 3ポイントの装飾（料理写真・装飾線・マスコット）の位置/サイズ微調整
     ※ベース定義より後方＝同一詳細度でも上書き */
  .p-bb__point-food--1 { left: 11%; top: 31%; }
  .p-bb__point-food--2 { left: 59%; top: 2%; }
  .p-bb__point-deco { left: 4%; }
  .p-bb__point-mascot { top: 83%; width: 74%; }

  /* SP: おためしセットボタン下の余白を40pxに（intro下padding40 ＋ catalog-box上margin0） */
  .p-bb__intro { padding-bottom: var(--space-40); }
  /* 白背景(catalog-box)・緑背景(brand)をともにブラウザ幅100%に */
  .p-bb__catalog { padding-inline: 0; padding-bottom: 0; }
  .p-bb__catalog-box { border-radius: 0; padding-inline: 0; padding-top: var(--space-48); margin-top: 0; }
  .p-bb__catalog-title { padding-inline: var(--space-24); }
  .p-bb__brand { border-radius: 0; }
  /* 見出しとロゴの間を40pxに（ロゴのはみ出し分＋gapを加味して+48px） */
  .p-bb__brand--baby { margin-top: var(--space-48); }
  /* 緑(きらきらステップ)→ピンク(きらきらキッズ)のセクション間を95pxに（catalog-box gap40 + margin55） */
  .p-bb__brand--kids { margin-top: 55px; }
  /* ブランド見出しのフォントサイズ */
  .p-bb__brand-title { font-size: 16px; }
  /* ちょこっとアレンジレシピ 見出し（base定義が後方にあるため詳細度を上げる） */
  .p-bb__recipe-head .p-bb__recipe-title { font-size: 20px; }
  /* スライダーを緑の左右パディングから外に出してブラウザ幅100%に */
  .p-bb__slider { margin-inline: calc(-1 * var(--space-24)); }
}

/* ============ サブセクション（for-baby / for-kids） ============ */
.p-bb__sec { display: flex; flex-direction: column; gap: var(--space-40); }
/* --accent はブランド（.p-bb__brand--*）から継承する */
.p-bb__sec-head { display: flex; flex-direction: column; align-items: center; gap: var(--space-16); text-align: center; }
.p-bb__badge {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4) var(--space-16);
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--text-white);
  font-weight: var(--fw-bold);
  font-size: 20px;
  line-height: 34px;
  letter-spacing: .04em;
}
.p-bb__sec-title { margin: 0; font-weight: var(--fw-bold); font-size: 24px; line-height: 38px; letter-spacing: .04em; color: var(--accent); }
/* SP専用改行（PCでは1行に） */
@media (min-width: 600px) { .p-bb__sp-br { display: none; } }
.p-bb__sec-sub { margin: 0; font-weight: var(--fw-bold); font-size: 16px; line-height: 24px; color: var(--text-default); }

/* ============ 特長カード（3つ） ============ */
.p-bb__features { display: grid; grid-template-columns: 1fr; gap: var(--space-40); }
.p-bb__feature { display: flex; flex-direction: column; gap: var(--space-24); }
.p-bb__feature-img { width: 100%; aspect-ratio: 304 / 191.5; border-radius: var(--radius-24); overflow: hidden; background: var(--container-white); }
.p-bb__feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-bb__feature-body { display: flex; flex-direction: column; gap: var(--space-8); }
.p-bb__feature-title { margin: 0; font-weight: var(--fw-bold); font-size: 16px; line-height: 24px; color: var(--text-default); }
.p-bb__feature-text { margin: 0; font-weight: var(--fw-light); font-size: 14px; line-height: 22px; letter-spacing: .04em; color: var(--text-default); }

/* ============ カルーセル（共通） ============ */
.p-bb__slider { display: flex; flex-direction: column; gap: var(--space-24); }
.p-bb__viewport { overflow: hidden; touch-action: pan-y; }
.p-bb__track { display: flex; gap: var(--bb-gap); will-change: transform; transition: transform .35s ease; }

/* 白パネル（商品カルーセルの外枠） */
.p-bb__panel { background: var(--container-white); border-radius: var(--radius-24); padding: var(--space-24); }

/* 商品カード */
.p-bb__card { flex: 0 0 100%; display: flex; flex-direction: column; gap: var(--space-24); }
/* 空き枠プレースホルダー: SP(1枚表示)では出さない（carousel.jsが枚数から除外）。PCで空ブロック表示 */
.p-bb__card--placeholder { display: none; }
.p-bb__card-img { width: 100%; aspect-ratio: 327 / 206; border-radius: var(--radius-24); overflow: hidden; background: var(--container-level1); }
.p-bb__card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-bb__card-info { display: flex; flex-direction: column; gap: var(--space-24); }
.p-bb__card-row { display: flex; gap: var(--space-24); align-items: flex-start; }
.p-bb__card-titles { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.p-bb__card-name { margin: 0; font-weight: var(--fw-bold); font-size: 20px; line-height: 34px; letter-spacing: .04em; color: var(--text-default); }
.p-bb__card-vol { margin: 0; font-weight: var(--fw-light); font-size: 14px; line-height: 1.5; color: var(--text-default); }
.p-bb__card-price { margin: 0; display: flex; align-items: flex-end; gap: var(--space-4); }
.p-bb__price-main { font-weight: var(--fw-bold); font-size: 16px; line-height: 24px; color: var(--text-default); }
.p-bb__price-tax { font-weight: var(--fw-light); font-size: 14px; line-height: 22px; letter-spacing: .04em; color: var(--text-default); }
.p-bb__card-thumb { flex: 0 0 100px; width: 100px; height: 100px; }
.p-bb__card-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.p-bb__card-line { width: 100%; height: 1px; margin: 0; border: 0; background: var(--divider-dashed); }
.p-bb__card-desc { margin: 0; font-weight: var(--fw-light); font-size: 14px; line-height: 22px; letter-spacing: .04em; color: var(--text-default); }

/* SP: カード内テキストのフォントサイズ・余白調整 */
@media (max-width: 599px) {
  .p-bb__card-info { gap: var(--space-12); }
  .p-bb__card-name { font-size: 16px; line-height: 150%; }   /* 20px → 16px / line-height 150%（bold据え置き） */
  .p-bb__card-vol { font-size: 12px; }                        /* 14px → 12px */
  .p-bb__price-main { font-size: 14px; }                      /* 16px → 14px（bold据え置き） */
  .p-bb__price-tax { font-size: 14px; }                       /* 14px 据え置き */
  .p-bb__card-desc { font-size: 12px; }                       /* 14px → 12px */
}

/* コントロール（前へ / ドット / 次へ）— パネル外（ブランド地） */
.p-bb__controls { display: flex; align-items: center; justify-content: space-between; gap: var(--space-16); }
.p-bb__nav {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border-primary); background: var(--container-white);
  color: var(--color-primary); display: grid; place-items: center; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, opacity .2s ease;
}
.p-bb__nav:hover:not(:disabled) { border-color: var(--border-primary); background: var(--color-secondary-light); }
.p-bb__nav:focus-visible { outline: 2px solid #0b57d0; outline-offset: 1px; }
.p-bb__nav:disabled { opacity: .35; cursor: default; }
.p-bb__nav svg { width: 16px; height: 16px; }
.p-bb__dots { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-8); }
.p-bb__dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: var(--border-default); cursor: pointer; transition: background-color .2s ease; }
.p-bb__dots button.is-active { background: var(--accent, var(--color-primary)); }

/* ============ ちょこっとアレンジレシピ ============ */
.p-bb__recipe { display: flex; flex-direction: column; gap: var(--space-24); }
.p-bb__recipe-head { display: flex; flex-direction: column; align-items: center; gap: var(--space-8); text-align: center; }
.p-bb__recipe-title {
  margin: 0; display: flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: var(--fw-bold); font-size: 24px; line-height: 38px; letter-spacing: .04em; color: var(--text-secondary);
}
.p-bb__cutlery { width: auto; height: 26px; flex: none; }
.p-bb__recipe-sub { margin: 0; font-weight: var(--fw-light); font-size: 14px; line-height: 22px; letter-spacing: .04em; color: var(--text-default); }

/* レシピカード（白パネル＝1スライド） */
.p-bb__recipe-card { flex: 0 0 100%; background: var(--container-white); border-radius: var(--radius-24); padding: var(--space-24); display: flex; flex-direction: column; gap: var(--space-24); }
.p-bb__recipe-cardhead { display: flex; flex-direction: column; gap: var(--space-8); }
.p-bb__recipe-name { margin: 0; font-weight: var(--fw-bold); font-size: 24px; line-height: 38px; letter-spacing: .04em; color: var(--text-default); }
.p-bb__recipe-tag { align-self: flex-start; padding: 0 var(--space-8); border-radius: var(--radius-24); background: var(--container-green); font-weight: var(--fw-light); font-size: 16px; line-height: 26px; color: var(--text-default); white-space: nowrap; }
/* SP（縦積みレイアウト <600px）: 料理名と対象月齢を中央寄せ */
@media (max-width: 599px) {
  .p-bb__recipe-cardhead { align-items: center; }
  .p-bb__recipe-name { text-align: center; font-size: 20px; }   /* 24px → 20px（bold据え置き） */
  .p-bb__recipe-tag { align-self: center; font-size: 14px; }    /* 16px → 14px */
}
.p-bb__recipe-grid { display: grid; grid-template-columns: 1fr; grid-template-areas: "img" "detail" "method"; gap: var(--space-24); }
.p-bb__recipe-img { grid-area: img; width: 100%; aspect-ratio: 400 / 252; border-radius: var(--radius-24); overflow: hidden; background: var(--container-level1); }
.p-bb__recipe-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-bb__recipe-detail { grid-area: detail; display: flex; flex-direction: column; gap: var(--space-24); }
.p-bb__recipe-method { grid-area: method; }
.p-bb__recipe-used { display: flex; gap: var(--space-16); align-items: flex-start; }
.p-bb__recipe-used-body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.p-bb__recipe-thumb { flex: 0 0 100px; width: 100px; height: 100px; }
.p-bb__recipe-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.p-bb__recipe-label { margin: 0; font-weight: var(--fw-light); font-size: 16px; line-height: 26px; color: var(--text-default); }
.p-bb__recipe-prod { margin: 0; font-weight: var(--fw-bold); font-size: 16px; line-height: 24px; color: var(--text-default); }
.p-bb__recipe-mats, .p-bb__recipe-steps { margin: 0; padding-left: 1.6em; font-weight: var(--fw-light); font-size: 16px; line-height: 26px; color: var(--text-default); }
.p-bb__recipe-mats { list-style: disc; }
.p-bb__recipe-steps { font-size: 14px; line-height: 22px; letter-spacing: .04em; }
/* つくり方は「数字.」の連番を付与（ぶら下げ揃え・折返しは本文位置に）。※注記のli(.p-bb__recipe-note)は番号を付けない */
.p-bb__recipe-steps { padding-left: 0; counter-reset: step; }
.p-bb__recipe-steps > li { counter-increment: step; padding-left: 1.5em; text-indent: -1.5em; }
.p-bb__recipe-steps > li::before { content: counter(step) ". "; }
.p-bb__recipe-steps > li.p-bb__recipe-note { counter-increment: none; padding-left: 0; text-indent: 0; }
.p-bb__recipe-steps > li.p-bb__recipe-note::before { content: none; }
.p-bb__recipe-block { display: flex; flex-direction: column; gap: var(--space-4); }

/* SP: レシピ本文（材料・つくり方・見出し）を12pxに。ベース定義より後方に置き確実に上書き */
@media (max-width: 599px) {
  .p-bb__recipe-label { font-size: 12px; }   /* 16px → 12px（【材料】【つくり方】【使用商品】見出し） */
  .p-bb__recipe-mats { font-size: 12px; }    /* 16px → 12px（材料リスト） */
  .p-bb__recipe-steps { font-size: 12px; }   /* 14px → 12px（つくり方リスト） */
  /* SP: 使用商品↔材料の間隔を詰める */
  .p-bb__recipe-detail { gap: 0; }
  /* SP: つくり方（method）上の余白を16pxに（grid gap 24px から 8px 詰める） */
  .p-bb__recipe-method { margin-top: calc(var(--space-16) - var(--space-24)); }
}

/* ============ Section_Flow（注文の流れ）— C02と同パターン ============ */
.p-bb__flow {
  background: var(--container-white);
  margin-top: var(--space-40);
  padding: var(--space-48) var(--space-24);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-40);
}
.p-bb__flow-head { display: flex; flex-direction: column; align-items: center; gap: var(--space-24); text-align: center; }
.p-bb__hl { margin: 0; font-weight: var(--fw-bold); font-size: 24px; line-height: 38px; color: var(--text-default); text-decoration: underline; text-decoration-color: var(--container-green); text-decoration-thickness: 8px; text-underline-offset: -2px; text-decoration-skip-ink: none; }
.p-bb__flow-lead { margin: 0; font-weight: var(--fw-light); font-size: 16px; line-height: 26px; color: var(--text-default); }
/* SP: 「商品を注文するには」のリードのみ左寄せ（見出しは中央のまま） */
@media (max-width: 599px) {
  .p-bb__flow-head { align-items: stretch; text-align: left; }
  .p-bb__flow-head .p-bb__hl { text-align: center; }
}
.p-bb__steps { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 52px; }
.p-bb__step { position: relative; display: flex; align-items: center; gap: var(--space-24); }
.p-bb__step-illust { flex: 0 0 75px; width: 75px; height: 75px; display: grid; place-items: center; }
.p-bb__step-illust img { width: 100%; height: 100%; object-fit: contain; }
.p-bb__step-label { display: flex; flex-direction: column; gap: var(--space-8); align-items: flex-start; }
/* SP: ステップ間の下向き矢印（PCの右矢印を90°回転） */
.p-bb__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: calc(100% + 26px);
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%) rotate(90deg);
  background: url(../img/frozen-step-arrow.webp) center / contain no-repeat;
  pointer-events: none;
}
.p-bb__step-no {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  padding: 0 var(--space-12);
  border-radius: 4px;
  background: var(--text-secondary);
  color: var(--text-white);
  font-weight: var(--fw-bold);
  font-size: 10px;
  line-height: 18px;
  letter-spacing: .04em;
}
.p-bb__step-no span { font-size: 14px; line-height: 22px; }
.p-bb__step-title { font-weight: var(--fw-bold); font-size: 16px; line-height: 24px; color: var(--text-default); }

/* ============ ボタン幅 ============ */
.p-bb__btn { width: 100%; }
.p-bb__btn > svg { width: 24px; height: 24px; flex: none; }
@media (min-width: 600px) { .p-bb__btn { width: 280px; } }

/* SP専用: スライダーの角丸オフ＋矢印を画像に重ねる（冷凍食品と同様）。
   base定義より後方に置くことで確実に上書きする。 */
@media (max-width: 599px) {
  /* 角丸なし（外側の白パネル／レシピカード。画像自体の角丸は維持） */
  .p-bb__panel { border-radius: 0; padding: var(--space-32) var(--space-24); }   /* SP: 上下パディング32px（左右24px維持） */
  .p-bb__recipe-card { border-radius: 0; }
  /* 矢印を画像に重ねる: sliderを基準に絶対配置、縦は画像中央・横は画像端に半分被せ */
  .p-bb__slider { position: relative; }
  .p-bb__nav {
    position: absolute;
    z-index: 3;
    /* 商品スライダー: 画像縦中央 = パネル上padding32 + 画像高さ/2
       画像幅 = 100vw − 左右padding48、縦横比 327/206 → 高さ/2 = 幅 × 103/327 */
    top: calc(32px + (100vw - 48px) * 103 / 327);
  }
  /* レシピスライダー: 画像の上にカード見出し（cardhead 約96px）がある分だけ下げる */
  .p-bb__recipe .p-bb__nav { top: calc(120px + (100vw - 48px) * 103 / 327); }
  /* 横: 画像左右端（スライダー端から24px内側）に矢印中心を合わせて半分被せる */
  .p-bb__nav--prev { left: var(--space-24); right: auto; transform: translate(-50%, -50%); }
  .p-bb__nav--next { right: var(--space-24); left: auto; transform: translate(50%, -50%); }
  /* 矢印を out-of-flow にした分、コントロール列（ドット）は中央寄せ */
  .p-bb__controls { justify-content: center; }
}

/* ---------------------------------------------------------------------
   タブレット（>=600）: 2カラム・3カラム・カード並び
   --------------------------------------------------------------------- */
@media (min-width: 600px) {
  .p-bb { --bb-gap: var(--space-64); }
  .p-bb__catalog-box { border-radius: var(--radius-40); padding: var(--space-64); gap: var(--space-64); }
  .p-bb__brand { border-radius: var(--radius-40); padding: var(--space-64); gap: var(--space-64); }
  /* PCは上パディング64pxに合わせてはみ出し量を調整 */
  .p-bb__brand-logo { margin-top: calc(-1 * (var(--space-64) + 48px)); }
  .p-bb__features { grid-template-columns: repeat(3, 1fr); }
  .p-bb__panel { padding: var(--space-64); }
  .p-bb__card { flex: 0 0 calc((100% - var(--bb-gap)) / 2); }
  /* PC(2枚表示)では空き枠を1カード分の空ブロックとして表示（最後のページに空白が出る） */
  .p-bb__card--placeholder { display: block; }
  .p-bb__recipe-card { padding: var(--space-64); gap: var(--space-40); }
  .p-bb__recipe-cardhead { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--space-16); }
  .p-bb__recipe-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "img detail" "method method"; column-gap: var(--space-64); row-gap: var(--space-24); }
  /* SP装飾レイアウトはタブレットでは中央寄せの固定幅に */
  .p-bb__points { width: 420px; max-width: 100%; margin-inline: auto; align-self: center; }
  .p-bb__steps { flex-direction: row; justify-content: center; gap: var(--space-40); }
  .p-bb__step { flex: 1 1 0; flex-direction: column; text-align: center; gap: var(--space-24); }
  .p-bb__step-illust { flex-basis: auto; width: 200px; height: 200px; max-width: 100%; }
  .p-bb__step-label { align-items: center; text-align: center; }
  .p-bb__step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 100px;
    left: 100%;
    margin-left: calc(var(--space-40) / 2 - 13px);
    transform: translateY(-50%);
    width: 26px;
    height: 64px;
    background: url(../img/frozen-step-arrow.webp) center / contain no-repeat;
  }
  .p-bb__flow { border-radius: var(--radius-40); padding: var(--space-64); }
}

/* ---------------------------------------------------------------------
   デスクトップ（>=1024 / 1440基準）: PCタイポスケール
   --------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .p-bb__hero { padding-top: var(--space-64); }
  .p-bb__hero-img { aspect-ratio: 1200 / 400; border-radius: var(--radius-40); }
  .p-bb__hero-title { width: 600px; padding: var(--space-32) var(--space-40); }
  .p-bb__hero-h { font-size: 40px; line-height: 58px; }

  .p-bb__intro { padding-top: var(--space-64); padding-bottom: 0; gap: var(--space-40); }
  .p-bb__catalog-box { margin-top: var(--space-40); }   /* PC: 白箱間40px */
  /* おためしボタン: 上のポイントエリアにボタン高さの約半分(30px)重ねる */
  .p-bb__intro .p-bb__btn { position: relative; z-index: 2; margin-top: -70px; }
  /* Intro 3ポイント: デザイン準拠の装飾レイアウト（1200基準・比率で流動） */
  .p-bb__points {
    display: block;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    aspect-ratio: 1200 / 350;
  }
  .p-bb__point {
    position: absolute;
    width: 27.5%;      /* 330 / 1200 */
    height: 65.71%;    /* 230 / 350 */
    aspect-ratio: auto;
    max-width: none;
    align-items: center;
    text-align: center;
    padding: 0 3.4%;
    gap: var(--space-8);
  }
  .p-bb__point-title { font-size: 16px; line-height: 24px; }
  .p-bb__point-text { font-size: 16px; line-height: 26px; letter-spacing: 0; }
  .p-bb__point--1 { left: 11.08%; top: 1.71%; }
  .p-bb__point--2 { left: 36.08%; top: 9.14%; }
  .p-bb__point--3 { left: 61.42%; top: 0; }
  .p-bb__point-food { width: 9%; }
  .p-bb__point-food--1 { width: 9%;  left: 24%; top: 50%; }   /* 野菜おかゆ: ポイント1の下 */
  .p-bb__point-food--2 { width: 9.5%; left: 56%; top: 8%; }   /* 青菜スープ: ポイント2の右上 */
  .p-bb__point-food--3 { width: 8%;  left: 82.5%; top: 6%; }  /* キューブ: ポイント3の右上 */
  .p-bb__point-acc { width: 3%; left: 89%; top: 1.5%; }   /* キラキラ装飾: キューブの斜め上 */
  .p-bb__point-deco { left: 21.5%; top: 70%; width: 2.5%; transform: none; }  /* キラキラ: 右上角 */
  .p-bb__point-mascot { left: 75%; top: 52%; width: 23.08%; }   /* 右下 */

  .p-bb__catalog { padding-bottom: 0; }
  .p-bb__wrap { padding-inline: 0; }
  .p-bb__catalog-title { font-size: 32px; line-height: 52px; }

  .p-bb__sec-title { font-size: 28px; line-height: 46px; }
  .p-bb__card-thumb { flex-basis: 120px; width: 120px; height: 120px; }
  .p-bb__card-desc { font-size: 16px; line-height: 26px; }

  .p-bb__hl { font-size: 32px; line-height: 52px; }
}
