/* =========================================================
   LIB Holiday Gift LP「Warm Wishes」（Figma「11/26最新」版）
   - 数値は Figma（スマホ 390px / PC 1512px）の値をそのまま使う
   - --u = Figma 上の 1px
     スマホ（〜767px）：画面幅に合わせて全体を比率どおり拡大縮小する（--u = 幅 / 390）
     PC（768px〜）：Figma の大きさで固定（--u = 1px）。中身（幅 896）を中央に置き、背景の帯・KV の写真だけ画面いっぱいに広げる。
       幅 1000px より狭いとき（タブレットなど）だけ、中身が入るように比率で縮める（--u = 幅 / 1000）
   - クラス名・変数名はすべて lph- で始める（WordPress のテーマとぶつからないように）

   目次
   1. 共通ルール（フォント・色・余白）  ← フォントの差し替えはここだけ
   2. ベース
   3. セクション：KV
   4. セクション：導入文・Gift Guide・お届け案内
   5. セクション：01 あの人を思い浮かべて。
   6. セクション：02 その想いを、色に込めて。
   7. セクション：03 刻印で特別なひと品に。（How to Order Online を含む）
   8. セクション：04 お好みのアイテムから。
   9. セクション：05 ご予算に合わせた贈り物を。
   10. セクション：ギフトラッピング
   11. セクション：STORE
   ========================================================= */


/* =========================================================
   1. 共通ルール
   ========================================================= */
.lph-lp {
  /* ---- フォント（差し替えはこのブロックだけで行う） ----
     Figma の指定：
       英字（KV）                    Classico URW               … Adobe Fonts
       数字（見出し番号）              Optima
       価格の数字                    Neue Haas Grotesk Text Pro … Adobe Fonts
       和文（KVコピー）               Shippori Mincho            … Google Fonts
       和文（本文・見出し・ボタン）     DNP 秀英角ゴシック銀 Std（L / M） … Adobe Fonts
     Adobe Fonts の Web プロジェクト「qeb2zue」で読み込む（src/index.html の <head>）。
     CSS で使うフォント名は Adobe Fonts の表示どおり。読み込めないときは後ろの代わりの書体で表示される */
  --lph-font-en:     "classico-urw", "Classico URW", "Optima", "Candara", serif;
  --lph-font-num:    "Optima", "Candara", "classico-urw", serif;
  --lph-font-price:  "neue-haas-grotesk-text", "Neue Haas Grotesk Text Pro", "Helvetica Neue", "Arial", sans-serif;
  --lph-font-mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --lph-font-gothic: "dnp-shuei-gothic-gin-std", "DNP ShueiGoGinStd", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  --lph-fw-light:  400;   /* 秀英角ゴシック銀 L（Adobe Fonts の font-weight: 400） */
  --lph-fw-medium: 500;   /* 秀英角ゴシック銀 M（同 500） */
  --lph-fw-bold:   600;   /* 秀英角ゴシック銀 B（同 600） */

  /* ---- 色（Figma の変数名を右に記載）。セクションを作るたびに追加する ---- */
  --lph-color-text:         #484847;               /* text/primary スケナシ（基本の文字色） */
  --lph-color-text-primary: rgba(26, 26, 25, 0.8); /* Text/Primary（#1a1a19cc） */
  --lph-color-dark:         #48494d;               /* Border/Dark・アイコンの色 */
  --lph-color-green-text:   #1a5b51;               /* green_typo（見出しの文字） */
  --lph-color-green-back-50: rgba(197, 211, 202, 0.5); /* green_back 50%（お届け案内の枠） */
  --lph-color-line:         #000000;               /* Gift Guide などの下線（0.5px） */
  --lph-color-beige-final:  #f2f1ef;               /* Fill/final beige */
  --lph-color-green:        #17453e;               /* green_A（選択中のボタン） */
  --lph-color-green-back:   #c5d3ca;               /* green_back（01 の背景） */
  --lph-color-text-secondary: #66666a;             /* Text/Secondary（商品はこちら） */
  --lph-color-white:        #ffffff;               /* Fill/White */
  --lph-color-border:       #929294;               /* Border/Default（選んだ色見本の枠） */
  --lph-color-gold:         #cfb996;               /* gold（03 の見出し・ボタン） */
  --lph-color-hi-dark:      #161619;               /* Fill/Hi-Dark(Hover)（金色ボタンの文字） */
  --lph-color-line-light:   #e2e2e2;               /* How to Order の区切り線 */
  --lph-color-text-tertiary: #9d9d9f;              /* Text/Tertiary */
  --lph-color-beige:        #f8f5f0;               /* Fill/Base_Beige（ギフトラッピング・STORE） */
  --lph-color-beige-dark:   #eeebe6;               /* Fill/Base_BeigeDark（SP の価格の枠） */
  --lph-color-gray:         #f8f8f8;               /* Fill/Gray（PC の価格の枠） */
  --lph-color-kv-back:      #003034;               /* PC KV の写真の下地（写真が読み込まれるまでの色） */
}

.lph-lp {
  container-type: inline-size;   /* 100cqw = LP の横幅 */
  --u: calc(100cqw / 390);
}

@media (min-width: 768px) {
  .lph-lp {
    --u: min(1px, calc(100cqw / 1000));                     /* PC は縮めない（幅 1000px 未満だけ縮める） */
    --lph-side: calc((100cqw - 896 * var(--u)) / 2);        /* 中身（幅 896）を中央に置くための左右の余白 */
  }
}


/* =========================================================
   2. ベース（LP の中だけに効かせる。body などサイト共通には触れない）
   ========================================================= */
.lph-lp,
.lph-lp *,
.lph-lp *::before,
.lph-lp *::after {
  box-sizing: border-box;
}

.lph-lp {
  color: var(--lph-color-text);
  font-family: var(--lph-font-gothic);
  font-weight: var(--lph-fw-light);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

/* 下のリセットは :where() で優先度を 0 にして、各部品の指定が必ず勝つようにする */
.lph-lp :where(h1, h2, h3, h4, p, ul, ol, figure) {
  margin: 0;
  padding: 0;
  font-weight: inherit;
}

.lph-lp :where(ul, ol) {
  list-style: none;
}

.lph-lp img {
  display: block;
  max-width: 100%;
  height: auto;
}

:where(.lph-lp) a {
  color: inherit;
}

:where(.lph-lp) button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

/* Gift Guide で移動したときの止まる位置。WordPress のヘッダーが画面上に固定される場合は、
   --lph-scroll-offset にヘッダーの高さ（例：80px）を入れると見出しが隠れない */
.lph-lp [id^="lph-sec-"] {
  scroll-margin-top: var(--lph-scroll-offset, 0px);
}

/* 画面読み上げ用（見た目には出さない） */
.lph-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* PC だけ・SP だけで改行する <br> */
.lph-pc-only {
  display: none;
}

@media (min-width: 768px) {
  .lph-pc-only {
    display: inline;
  }

  .lph-sp-only {
    display: none;
  }
}


/* =========================================================
   3. セクション：KV（Figma「11/26最新」 SP: 4396:2589 / PC: 4396:1455）
   ========================================================= */
.lph-kv {
  position: relative;
  overflow: hidden;
  aspect-ratio: 390 / 520;       /* SP KV：390 × 520 */
}

.lph-kv__photo,
.lph-kv__photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.lph-lp .lph-kv__photo img {
  height: 100%;
  object-fit: cover;
}

/* 文字のかたまり（SP：幅 274・上から 40・中央） */
.lph-kv__heading {
  position: absolute;
  top: calc(40 * var(--u));
  left: 50%;
  width: calc(274 * var(--u));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(4 * var(--u));
  text-align: center;
  color: var(--lph-color-text);
}

.lph-kv__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(10 * var(--u));
  width: 100%;
  font-family: var(--lph-font-en);
  font-weight: 400;
  line-height: 1;
}

.lph-kv__sub {
  display: block;
  font-size: calc(20 * var(--u));
  line-height: 1;
}

.lph-kv__main {
  display: block;
  font-size: calc(46 * var(--u));
  line-height: 1;
  white-space: nowrap;
}

.lph-kv__copy {
  font-family: var(--lph-font-mincho);
  font-weight: 400;
  font-size: calc(20 * var(--u));
  line-height: 1;
  letter-spacing: calc(0.6 * var(--u));
  white-space: pre;
}

/* 約物の詰め（SP のみ。Figma の字間指定どおり） */
.lph-kv__comma {
  letter-spacing: calc(-10.72 * var(--u));
}

.lph-kv__ko {
  letter-spacing: calc(-2.08 * var(--u));
}

@media (min-width: 768px) {
  /* PC KV：写真と文字の位置関係を保つため、KV だけは幅 1512px より狭いと全体を比率で縮める（--lph-uk）。
     1512px 以上では高さ 606 で固定し、写真は画面幅いっぱいに切り抜いて表示（中央基準） */
  .lph-kv {
    --lph-uk: min(1px, calc(100cqw / 1512));
    aspect-ratio: auto;
    height: calc(606 * var(--lph-uk));
    background: var(--lph-color-kv-back);
  }

  /* Heading 1：幅 390、上 232。左は Figma の 940（＝中央から右へ 184） */
  .lph-kv__heading {
    top: calc(232 * var(--lph-uk));
    left: calc(50% + 184 * var(--lph-uk));
    width: calc(390 * var(--lph-uk));
    transform: none;
    gap: calc(8 * var(--lph-uk));
  }

  .lph-kv__title {
    width: calc(340 * var(--lph-uk));
    gap: calc(12 * var(--lph-uk));
  }

  .lph-kv__sub {
    font-size: calc(22 * var(--lph-uk));
  }

  .lph-kv__main {
    font-size: calc(56 * var(--lph-uk));
  }

  .lph-kv__copy {
    font-size: calc(22 * var(--lph-uk));
    letter-spacing: calc(0.66 * var(--lph-uk));
  }

  /* PC 版は約物の詰め指定なし */
  .lph-kv__comma,
  .lph-kv__ko {
    letter-spacing: inherit;
  }
}


/* =========================================================
   4. セクション：導入文・Gift Guide・お届け案内
      Figma「11/26最新」 SP: 4396:2596（開いた状態 4396:3927）
                         PC: 4396:1463（開いた状態 4396:2164）
   ========================================================= */
.lph-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(56 * var(--u));                       /* 導入文 → Gift Guide */
  padding: calc(40 * var(--u)) calc(24 * var(--u)) calc(80 * var(--u));
  background: var(--lph-color-beige-final);
}

/* ---------- 導入文 ---------- */
.lph-intro__lead {
  width: 100%;
  color: var(--lph-color-text-primary);
  font-size: calc(16 * var(--u));
  line-height: 2;
  letter-spacing: calc(0.48 * var(--u));
  text-align: center;
}

/* Gift Guide とお届け案内のかたまり */
.lph-intro__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(40 * var(--u));                       /* Gift Guide → お届け案内 */
  width: 100%;
}

/* ---------- Gift Guide ---------- */
.lph-guide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(16 * var(--u));
  width: 100%;
}

.lph-guide__title {
  color: var(--lph-color-green-text);
  font-family: var(--lph-font-en);
  font-weight: 400;
  font-size: calc(28 * var(--u));
  line-height: 1.2;
  letter-spacing: calc(-1.12 * var(--u));
  text-align: center;
}

.lph-guide__list {
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--u));
  width: calc(298 * var(--u));
}

.lph-guide__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(37 * var(--u));
  border-bottom: 0.5px solid var(--lph-color-line);
  color: var(--lph-color-green-text);
  text-decoration: none;
}

.lph-guide__text {
  font-size: calc(14 * var(--u));
  line-height: 2.62;
  letter-spacing: calc(0.42 * var(--u));
  white-space: nowrap;
}

.lph-guide__num {
  font-family: var(--lph-font-en);                /* Figma：番号は Classico URW */
  font-size: calc(15 * var(--u));
}

.lph-guide__icon {
  flex-shrink: 0;
  width: calc(24 * var(--u));
  height: calc(24 * var(--u));
  fill: none;
  stroke: var(--lph-color-text-primary);
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- お届け案内 ---------- */
.lph-delivery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(8 * var(--u));
  width: calc(298 * var(--u));
  padding: calc(16 * var(--u)) calc(20 * var(--u)) calc(20 * var(--u));
  border-radius: 2px;
  background: var(--lph-color-green-back-50);
  color: var(--lph-color-text-primary);
  text-align: center;
}

.lph-delivery__truck {
  width: calc(24 * var(--u));
  height: calc(24 * var(--u));
  fill: var(--lph-color-dark);
}

.lph-delivery__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(8 * var(--u));
}

.lph-delivery__text {
  font-size: calc(12 * var(--u));
  line-height: 1.5;
}

.lph-delivery__toggle {
  display: inline-flex;
  align-items: flex-start;
  gap: calc(4 * var(--u));
  height: calc(21 * var(--u));
  border-bottom: 0.5px solid var(--lph-color-line);
}

.lph-delivery__label {
  font-size: calc(12 * var(--u));
  line-height: 1.7;
  letter-spacing: calc(0.36 * var(--u));
  white-space: nowrap;
}

.lph-delivery__icon {
  width: calc(20 * var(--u));
  height: calc(20 * var(--u));
  fill: none;
  stroke: var(--lph-color-dark);
  stroke-width: 0.833;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}

/* 開いているときは矢印を上向きに */
.lph-delivery__toggle[aria-expanded="true"] .lph-delivery__icon {
  transform: scaleY(-1);
}

/* 開いた中身（見出しとのあいだ 32） */
.lph-delivery__detail {
  width: 100%;
  margin-top: calc(24 * var(--u));                /* 枠の gap 8 ＋ 24 ＝ 32 */
  font-size: calc(12 * var(--u));
  line-height: 1.7;
  letter-spacing: calc(0.36 * var(--u));
}

.lph-delivery__detail[hidden] {
  display: none;
}

.lph-delivery__intro {
  line-height: 1.5;
  letter-spacing: calc(-0.12 * var(--u));
}

.lph-delivery__subtitle {
  margin-top: calc(25.2 * var(--u));              /* Figma の空行（14px × 1.8） */
  font-size: inherit;
  font-weight: var(--lph-fw-bold);
}

.lph-delivery__list + .lph-delivery__subtitle {
  margin-top: calc(20.4 * var(--u));              /* 空行（12px × 1.7） */
}

.lph-delivery__subtitle--note,
.lph-delivery__list + .lph-delivery__subtitle--note {
  margin-top: calc(21.6 * var(--u));              /* 空行（12px × 1.8） */
  line-height: 1.6;
  letter-spacing: calc(0.24 * var(--u));
}

/* 日付の行は「・」の印なし・中央そろえ（2026-11-27 指示） */
.lph-delivery__list {
  list-style: none;
}

@media (min-width: 768px) {
  .lph-intro {
    gap: calc(100 * var(--u));
    padding: calc(100 * var(--u)) var(--lph-side) calc(120 * var(--u));
  }

  .lph-intro__lead {
    width: calc(496 * var(--u));
    font-size: calc(18 * var(--u));
    line-height: 1.8;
    letter-spacing: calc(0.54 * var(--u));
  }

  .lph-intro__body {
    gap: calc(48 * var(--u));
  }

  .lph-guide__title {
    font-size: calc(40 * var(--u));
    line-height: 1.5;
    letter-spacing: calc(-1.6 * var(--u));
  }

  /* 2列（列の間 40・行の間 24） */
  .lph-guide__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(24 * var(--u)) calc(40 * var(--u));
    width: calc(652 * var(--u));
  }

  .lph-guide__link {
    height: calc(42 * var(--u));
  }

  .lph-guide__text {
    font-size: calc(16 * var(--u));
    letter-spacing: calc(0.48 * var(--u));
  }

  .lph-guide__num {
    font-size: calc(17 * var(--u));
  }

  .lph-guide__icon {
    stroke: var(--lph-color-dark);
  }

  .lph-delivery {
    gap: calc(24 * var(--u));
    width: calc(652 * var(--u));
    padding: calc(40 * var(--u)) calc(115 * var(--u));
  }

  .lph-delivery__head {
    gap: calc(12 * var(--u));
  }

  .lph-delivery__text {
    font-size: calc(16 * var(--u));
    line-height: 1.8;
    letter-spacing: calc(0.48 * var(--u));
  }

  /* 中身の幅は 334（枠の中 422 の中央） */
  .lph-delivery__detail {
    width: calc(334 * var(--u));
    margin-top: calc(8 * var(--u));               /* 枠の gap 24 ＋ 8 ＝ 32 */
  }

  .lph-delivery__intro {
    letter-spacing: calc(0.36 * var(--u));
  }

  .lph-delivery__subtitle,
  .lph-delivery__list {
    line-height: 1.6;
    letter-spacing: calc(0.24 * var(--u));
  }

  .lph-delivery__list + .lph-delivery__subtitle {
    margin-top: calc(19.2 * var(--u));            /* 空行（12px × 1.6） */
  }

}


/* =========================================================
   5. セクション：01 あの人を思い浮かべて。
      Figma「11/26最新」 SP: 4396:2637（カード 4396:3979 / 4014 / 4048）
                         PC: 4396:1516
   ========================================================= */
.lph-s01 {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(24 * var(--u));                       /* 見出し・選択ボタン → カード */
  padding: calc(64 * var(--u)) calc(20 * var(--u)) calc(80 * var(--u));
  background: var(--lph-color-green-back);
}

.lph-s01:focus {
  outline: none;
}

/* 上のキラキラ（SP 390 × 156.479、PC 1600 × 186 を中央に） */
.lph-s01__garland {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.lph-s01__garland img {
  width: 100%;
  height: auto;
}

.lph-s01__head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(40 * var(--u));
  width: calc(350 * var(--u));
}

.lph-s01__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(40 * var(--u));
  text-align: center;
}

.lph-s01__title {
  color: var(--lph-color-green-text);
  font-size: calc(24 * var(--u));
  line-height: 1.6;
  letter-spacing: calc(0.48 * var(--u));
}

.lph-s01__num {
  font-family: var(--lph-font-en);                /* Figma：番号は Classico URW */
}

.lph-s01__lead {
  width: calc(290 * var(--u));
  color: var(--lph-color-text-primary);
  font-size: calc(16 * var(--u));
  line-height: 1.8;
}

/* ---------- 選択ボタン（SP：2列×2段、PC：4つ横並び） ---------- */
.lph-select {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(8 * var(--u));
  width: 100%;
}

.lph-select__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(44 * var(--u));
  padding: 0 calc(14 * var(--u));
  border-radius: calc(8 * var(--u));
  background: var(--lph-color-white);
  color: var(--lph-color-green-text);
  font-size: calc(14 * var(--u));
  line-height: 1;
  white-space: nowrap;
}

.lph-select__btn[aria-pressed="true"] {
  background: var(--lph-color-green);
  color: var(--lph-color-white);
}

.lph-select__icon {
  flex-shrink: 0;
  width: calc(11 * var(--u));
  height: calc(6 * var(--u));
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (hover: hover) {
  .lph-select__btn[aria-pressed="false"]:hover {
    opacity: 0.7;
  }
}

/* ---------- ギフトカード（白い枠） ---------- */
.lph-giftcard {
  position: relative;
  overflow: hidden;
  width: calc(350 * var(--u));
  padding-bottom: calc(40 * var(--u));
  border-radius: calc(16 * var(--u));
  background: var(--lph-color-white);
}

.lph-giftcard[hidden] {
  display: none;
}

/* 上の帯（SP 高さ 120 / PC 160） */
.lph-giftcard__top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(120 * var(--u));
}

.lph-giftcard__bg,
.lph-giftcard__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lph-lp .lph-giftcard__bg img {
  height: 100%;
  object-fit: cover;
}

.lph-giftcard__title {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(8 * var(--u));
  padding-top: calc(2 * var(--u));
  color: var(--lph-color-text);
  line-height: 1;
  white-space: nowrap;
}

.lph-giftcard__en {
  font-family: var(--lph-font-en);
  font-weight: 400;
  font-size: calc(28 * var(--u));
}

.lph-giftcard__sub {
  font-size: calc(14 * var(--u));
}

.lph-giftcard__body {
  display: flex;
  flex-direction: column;
  gap: calc(40 * var(--u));
  padding: calc(40 * var(--u)) calc(24 * var(--u)) 0;
}

/* 商品の並び：SP は横スクロール（カードの端まで流れる） */
.lph-giftcard__list {
  display: flex;
  gap: calc(12 * var(--u));
  margin: 0 calc(-24 * var(--u));
  padding: 0 calc(24 * var(--u));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 calc(24 * var(--u));
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.lph-giftcard__list::-webkit-scrollbar {
  display: none;
}

/* ---------- 商品カード ---------- */
.lph-product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(16 * var(--u));
  flex: 0 0 calc(180 * var(--u));
  scroll-snap-align: start;
  color: var(--lph-color-text-primary);
}

.lph-lp .lph-product__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: calc(4 * var(--u));
}

.lph-product__title {
  font-size: calc(14 * var(--u));
  line-height: 1.6;
}

.lph-product__text {
  font-size: calc(12 * var(--u));
  line-height: 1.6;
}

.lph-product__link {
  color: var(--lph-color-text-secondary);
  font-size: calc(12 * var(--u));
  line-height: 1.8;
  letter-spacing: calc(0.72 * var(--u));
  text-decoration: underline;
  text-underline-offset: 0.2em;
  white-space: nowrap;
}

@media (hover: hover) {
  .lph-product__link:hover {
    opacity: 0.7;
  }
}

/* ---------- 横スクロールの位置バー（SP のみ。濃い線は全体の 25%） ---------- */
.lph-scrollbar {
  position: relative;
  height: calc(2 * var(--u));
}

.lph-scrollbar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: calc(0.6 * var(--u));
  transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, var(--lph-color-green-text) 0 calc(0.5 * var(--u)), transparent calc(0.5 * var(--u)) calc(2.5 * var(--u)));
  opacity: 0.9;
}

.lph-scrollbar__thumb {
  position: absolute;
  left: 0;
  top: 0;
  width: 25%;
  height: 100%;
  background: var(--lph-color-green-text);
  will-change: transform;
}

@media (min-width: 768px) {
  .lph-s01 {
    gap: calc(48 * var(--u));
    padding: calc(120 * var(--u)) var(--lph-side);
  }

  .lph-s01__garland {
    width: max(calc(1600 * var(--u)), 100%);    /* 画面が広いときも端まで */
  }

  .lph-s01__head {
    gap: calc(48 * var(--u));
    width: 100%;
  }

  .lph-s01__heading {
    gap: calc(24 * var(--u));
  }

  .lph-s01__title {
    font-size: calc(28 * var(--u));
    line-height: 1.5;
  }

  .lph-s01__lead {
    width: auto;
    letter-spacing: calc(0.48 * var(--u));
  }

  .lph-select {
    grid-template-columns: repeat(4, 1fr);
  }

  .lph-select__btn {
    height: calc(59 * var(--u));
  }

  .lph-giftcard {
    width: 100%;
    padding-bottom: calc(48 * var(--u));
  }

  .lph-giftcard__top {
    height: calc(160 * var(--u));
  }

  .lph-giftcard__en {
    font-size: calc(32 * var(--u));
  }

  .lph-giftcard__sub {
    font-size: calc(16 * var(--u));
  }

  .lph-giftcard__body {
    padding: calc(48 * var(--u)) calc(40 * var(--u)) 0;
  }

  /* PC は4つが収まるので横スクロールなし */
  .lph-giftcard__list {
    gap: calc(16 * var(--u));
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .lph-product {
    flex: 1 1 0;
    min-width: 0;
  }

  .lph-scrollbar {
    display: none;
  }
}


/* =========================================================
   6. セクション：02 その想いを、色に込めて。
      Figma「11/26最新」 SP: 4396:2685（10色のカード 4396:3967）
                         PC: 4396:1556（各色の画面 4396:2177 など）
   ========================================================= */
.lph-s02 {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(48 * var(--u));
  padding: calc(64 * var(--u)) calc(24 * var(--u)) calc(80 * var(--u));
  background: var(--lph-color-beige-final);
}

.lph-s02:focus {
  outline: none;
}

/* 上のキラキラ（SP 390 × 156.479、PC 1600 × 186 を中央に） */
.lph-s02__garland {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.lph-s02__garland img {
  width: 100%;
  height: auto;
}

.lph-s02__heading {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(40 * var(--u));
  width: calc(350 * var(--u));
  text-align: center;
}

.lph-s02__title {
  color: var(--lph-color-green-text);
  font-size: calc(24 * var(--u));
  line-height: 1.6;
  letter-spacing: calc(0.48 * var(--u));
}

.lph-s02__num {
  font-family: var(--lph-font-en);
}

.lph-s02__lead {
  color: var(--lph-color-dark);
  font-size: calc(16 * var(--u));
  line-height: 1.8;
  white-space: nowrap;
}

.lph-s02__body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(32 * var(--u));
  width: 100%;
}

.lph-s02__picker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(16 * var(--u));
  width: calc(320 * var(--u));
}

.lph-s02__choose {
  color: var(--lph-color-green-text);
  font-family: var(--lph-font-en);
  font-size: calc(24 * var(--u));
  line-height: 1.2;
  letter-spacing: calc(-0.96 * var(--u));
  white-space: nowrap;
}

/* ---------- 色見本（SP：5つ×2段、PC：10個横並び） ---------- */
.lph-swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: calc(16 * var(--u)) calc(20 * var(--u));
  width: 100%;
}

.lph-swatch {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

.lph-swatch img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* 選んだ色の枠（色見本から 3px 外側に、太さ 2px） */
.lph-swatch[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  inset: calc(-5 * var(--u));
  border: calc(2 * var(--u)) solid var(--lph-color-border);
  border-radius: 50%;
}

@media (hover: hover) {
  .lph-swatch[aria-pressed="false"]:hover {
    opacity: 0.7;
  }
}

/* ---------- カラーカード ---------- */
.lph-colorcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(24 * var(--u));
  width: calc(320 * var(--u));
  color: var(--lph-color-dark);
  text-align: center;
}

.lph-colorcard[hidden] {
  display: none;
}

.lph-lp .lph-colorcard__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: calc(16 * var(--u));
}

.lph-colorcard__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(40 * var(--u));
  width: 100%;
  padding: 0 calc(24 * var(--u));
}

.lph-colorcard__text {
  display: flex;
  flex-direction: column;
  gap: calc(24 * var(--u));
  width: 100%;
}

.lph-colorcard__head {
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
  font-size: calc(20 * var(--u));
}

.lph-colorcard__name {
  line-height: 1.6;
}

.lph-colorcard__catch {
  font-weight: var(--lph-fw-medium);
  line-height: 1.5;
}

.lph-colorcard__desc {
  font-size: calc(14 * var(--u));
  line-height: 1.6;
}

/* ---------- ボタン（緑の塗り・幅 240 × 高さ 40） ---------- */
.lph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(240 * var(--u));
  height: calc(40 * var(--u));
  padding: 0 calc(30 * var(--u));
  border-radius: 2px;
  background: var(--lph-color-green);
  color: var(--lph-color-white);
  font-weight: var(--lph-fw-medium);
  font-size: calc(14 * var(--u));
  line-height: 1;
  letter-spacing: calc(0.42 * var(--u));
  text-decoration: none;
  white-space: nowrap;
}

@media (hover: hover) {
  .lph-btn:hover {
    opacity: 0.8;
  }
}

@media (min-width: 768px) {
  .lph-s02 {
    padding: calc(120 * var(--u)) var(--lph-side);
  }

  .lph-s02__garland {
    width: max(calc(1600 * var(--u)), 100%);    /* 画面が広いときも端まで */
  }

  .lph-s02__heading {
    gap: calc(24 * var(--u));
    width: 100%;
  }

  .lph-s02__title {
    font-size: calc(28 * var(--u));
    letter-spacing: calc(0.56 * var(--u));
  }

  .lph-s02__lead {
    font-size: calc(18 * var(--u));
    letter-spacing: calc(0.54 * var(--u));
  }

  .lph-s02__body {
    gap: calc(24 * var(--u));
  }

  .lph-s02__picker {
    gap: calc(24 * var(--u));
    width: calc(640 * var(--u));
  }

  .lph-s02__choose {
    font-size: calc(32 * var(--u));
    letter-spacing: 0;
  }

  .lph-swatches {
    grid-template-columns: repeat(10, 1fr);
    gap: calc(16 * var(--u));
  }

  .lph-swatch[aria-pressed="true"]::after {
    inset: calc(-5.2 * var(--u));
  }

  /* 写真 448 四方を左、文章を右に */
  .lph-colorcard {
    flex-direction: row;
    gap: calc(48 * var(--u));
    width: 100%;
  }

  .lph-lp .lph-colorcard__img {
    flex-shrink: 0;
    width: calc(448 * var(--u));
    border-radius: calc(22.4 * var(--u));
  }

  .lph-colorcard__body {
    flex: 1 1 0;
    gap: calc(48 * var(--u));
  }

  .lph-colorcard__text {
    align-items: center;
  }

  .lph-colorcard__desc {
    width: calc(400 * var(--u));
    font-size: calc(16 * var(--u));
    line-height: 1.8;
    letter-spacing: calc(0.48 * var(--u));
  }
}


/* =========================================================
   7. セクション：03 刻印で特別なひと品に。（How to Order Online を含む）
      Figma「11/26最新」 SP: 4396:2715（犬・猫 4396:3939）、How to Order 4396:2780
                         PC: 4396:1592（犬猫 4396:2501）、How to Order 4396:1657
   ========================================================= */
.lph-s03 {
  position: relative;
  overflow: hidden;
  padding: calc(64 * var(--u)) calc(24 * var(--u)) calc(80 * var(--u));
  background: var(--lph-color-green);
  color: var(--lph-color-white);
  text-align: center;
}

.lph-s03:focus {
  outline: none;
}

.lph-s03__garland {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  mix-blend-mode: screen;
  opacity: 0.4;
  pointer-events: none;
}

.lph-s03__garland img {
  width: 100%;
  height: auto;
}

.lph-s03__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lph-s03__title {
  font-size: calc(24 * var(--u));
  line-height: 1.6;
}

.lph-s03__num {
  color: var(--lph-color-gold);
  font-family: var(--lph-font-en);
}

.lph-s03__lead {
  margin-top: calc(40 * var(--u));
  font-size: calc(16 * var(--u));
  line-height: 1.8;
}

.lph-s03__choose {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(16 * var(--u));
  width: 100%;
  margin-top: calc(40 * var(--u));
}

.lph-s03__en {
  color: var(--lph-color-gold);
  font-family: var(--lph-font-en);
  font-size: calc(24 * var(--u));
  line-height: 1.2;
  letter-spacing: calc(-0.96 * var(--u));
  white-space: nowrap;
}

/* 金色の選択ボタン（選択中：金の塗り、それ以外：白地に金の文字） */
.lph-select--gold .lph-select__btn {
  color: var(--lph-color-gold);
}

.lph-select--gold .lph-select__btn[aria-pressed="true"] {
  background: var(--lph-color-gold);
  color: var(--lph-color-text-primary);
}

/* ---------- 星座／犬・猫 ---------- */
.lph-s03__panel {
  width: 100%;
  margin-top: calc(40 * var(--u));
}

.lph-s03__panel[hidden] {
  display: none;
}

.lph-s03__subtitle {
  font-size: calc(20 * var(--u));
  line-height: 1.6;
}

.lph-s03__text {
  margin-top: calc(16 * var(--u));
  font-size: calc(14 * var(--u));
  line-height: 1.6;
}

.lph-motifs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: calc(24 * var(--u)) calc(16 * var(--u));
  width: calc(340 * var(--u));                  /* 162 × 2 ＋ 16 */
  margin: calc(24 * var(--u)) auto 0;
  text-align: left;
}

.lph-motif {
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--u));
}

.lph-lp .lph-motif__img {
  width: 100%;
  aspect-ratio: 162 / 150;
  height: auto;
  object-fit: cover;
  border-radius: calc(8 * var(--u));
}

.lph-motif__label {
  display: flex;
  align-items: baseline;
  gap: calc(6 * var(--u));
  line-height: 1;
  white-space: nowrap;
}

.lph-motif__name {
  font-weight: var(--lph-fw-medium);
  font-size: calc(14 * var(--u));
}

.lph-motif__date {
  color: var(--lph-color-green-back);
  font-size: calc(12 * var(--u));
}

/* ---------- 刻印カラー ---------- */
.lph-s03__colors {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: calc(60 * var(--u));
}

.lph-s03__colors-title {
  color: var(--lph-color-gold);
  font-size: calc(20 * var(--u));
  line-height: 1.5;
}

.lph-s03__colors-text {
  margin-top: calc(16 * var(--u));
  font-size: calc(14 * var(--u));
  line-height: 1.8;
}

.lph-chips {
  display: flex;
  justify-content: center;
  gap: calc(32 * var(--u));
  margin-top: calc(16 * var(--u));
}

.lph-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(8 * var(--u));
  width: calc(74.365 * var(--u));
  font-size: calc(14 * var(--u));
  line-height: 1;
  white-space: nowrap;
}

.lph-lp .lph-chip img {
  width: calc(64 * var(--u));
  height: calc(65.227 * var(--u));
}

.lph-chip small {
  font-size: calc(12 * var(--u));
}

.lph-s03__notes {
  margin-top: calc(32 * var(--u));
  font-size: calc(12 * var(--u));
  line-height: 1.5;
}

/* ---------- シミュレーション ---------- */
.lph-s03__sim {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(16 * var(--u));
  margin-top: calc(60 * var(--u));
}

.lph-btn--gold {
  width: auto;
  padding: 0 calc(8 * var(--u));
  background: var(--lph-color-gold);
  color: var(--lph-color-hi-dark);
  letter-spacing: 0;
}

.lph-s03__sim-note {
  font-size: calc(12 * var(--u));
  line-height: 1.5;
}

/* ---------- How to Order Online ---------- */
.lph-howto {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(24 * var(--u));
  margin-top: calc(128 * var(--u));             /* 03 の下 64 ＋ How to Order の上 64 */
}

.lph-howto__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(8 * var(--u));
}

.lph-howto__title {
  color: var(--lph-color-gold);
  font-family: var(--lph-font-en);
  font-weight: 400;
  font-size: calc(32 * var(--u));
  line-height: 1.18;
  white-space: nowrap;
}

.lph-howto__sub {
  font-size: calc(16 * var(--u));
  line-height: 2;
}

.lph-howto__card {
  display: flex;
  flex-direction: column;
  gap: calc(20 * var(--u));
  width: calc(340 * var(--u));
  padding: calc(30 * var(--u)) calc(20 * var(--u));
  border-radius: calc(10 * var(--u));
  background: var(--lph-color-white);
}

.lph-steps {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.lph-step {
  display: flex;
  align-items: center;
  gap: calc(16 * var(--u));
  padding: calc(12 * var(--u)) calc(5 * var(--u));
  border-top: 1px solid var(--lph-color-line-light);
}

.lph-step:first-child {
  padding-top: 0;
  border-top: 0;
}

.lph-step:last-child {
  padding-bottom: 0;
}

.lph-lp .lph-step__icon {
  flex-shrink: 0;
  width: calc(40 * var(--u));
  height: calc(40 * var(--u));
}

.lph-step__body {
  display: flex;
  flex-direction: column;
  gap: calc(5 * var(--u));
  font-size: calc(14 * var(--u));
}

.lph-step__num {
  color: var(--lph-color-text-secondary);
  font-family: var(--lph-font-num);              /* Figma：Step の番号は Optima */
  line-height: 1.5;
  letter-spacing: calc(0.42 * var(--u));
}

.lph-step__text {
  color: var(--lph-color-green-text);
  line-height: 1.8;
  letter-spacing: calc(0.42 * var(--u));
}

.lph-step__text small {
  font-size: calc(10 * var(--u));
}

.lph-step__price {
  white-space: nowrap;
}

.lph-howto__note {
  color: var(--lph-color-text-tertiary);
  font-size: calc(12 * var(--u));
  line-height: 1.7;
  letter-spacing: calc(0.6 * var(--u));
}

.lph-howto__store {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(20 * var(--u));
  width: calc(340 * var(--u));
  padding: calc(30 * var(--u)) calc(25 * var(--u));
  border: 0.5px solid var(--lph-color-white);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

.lph-howto__store-title {
  font-size: calc(16 * var(--u));
  line-height: 1.5;
  letter-spacing: calc(0.8 * var(--u));
}

.lph-howto__store-text {
  font-size: calc(14 * var(--u));
  line-height: 1.7;
}

.lph-howto__store-link {
  padding-bottom: calc(5 * var(--u));
  border-bottom: 1px solid var(--lph-color-white);
  font-weight: var(--lph-fw-medium);
  font-size: calc(14 * var(--u));
  line-height: 1.35;
  letter-spacing: calc(0.42 * var(--u));
  text-decoration: none;
}

@media (hover: hover) {
  .lph-howto__store-link:hover {
    opacity: 0.7;
  }
}

@media (min-width: 768px) {
  .lph-s03 {
    padding: calc(120 * var(--u)) var(--lph-side);
  }

  .lph-s03__garland {
    width: max(calc(1600 * var(--u)), 100%);    /* 画面が広いときも端まで */
  }

  .lph-s03__title {
    font-size: calc(28 * var(--u));
    letter-spacing: calc(0.56 * var(--u));
  }

  .lph-s03__lead {
    margin-top: calc(24 * var(--u));
    font-size: calc(18 * var(--u));
    letter-spacing: calc(0.54 * var(--u));
  }

  .lph-s03__choose {
    gap: calc(24 * var(--u));
    margin-top: calc(48 * var(--u));
  }

  .lph-s03__en {
    font-size: calc(32 * var(--u));
    letter-spacing: 0;
  }

  /* PC：幅 312 のボタンを 2 つ中央に */
  .lph-select--gold {
    grid-template-columns: repeat(2, calc(312 * var(--u)));
    justify-content: center;
  }

  .lph-select--gold .lph-select__btn {
    padding: 0 calc(16 * var(--u)) 0 calc(22 * var(--u));
    font-size: calc(16 * var(--u));
    letter-spacing: calc(0.32 * var(--u));
  }

  .lph-s03__panel {
    margin-top: calc(48 * var(--u));
  }

  .lph-s03__text {
    font-size: calc(16 * var(--u));
    line-height: 1.8;
    letter-spacing: calc(0.48 * var(--u));
  }

  .lph-motifs {
    grid-template-columns: repeat(4, 1fr);
    gap: calc(40 * var(--u)) calc(16 * var(--u));
    width: 100%;
    margin-top: calc(48 * var(--u));
  }

  .lph-s03__colors {
    margin-top: calc(80 * var(--u));
  }

  .lph-s03__colors-text {
    margin-top: calc(24 * var(--u));
  }

  .lph-chips {
    gap: calc(40 * var(--u));
    margin-top: calc(32 * var(--u));
  }

  .lph-lp .lph-chip img {
    width: calc(80 * var(--u));
    height: calc(81.534 * var(--u));
  }

  .lph-s03__notes {
    margin-top: calc(40 * var(--u));
    line-height: 1.6;
    letter-spacing: calc(0.36 * var(--u));
  }

  .lph-s03__sim {
    margin-top: calc(80 * var(--u));
  }

  /* How to Order：03 の下 120 のすぐ後に続く（上の余白なし） */
  .lph-howto {
    gap: calc(60 * var(--u));
    margin-top: calc(120 * var(--u));
  }

  .lph-howto__head {
    gap: calc(16 * var(--u));
  }

  .lph-howto__title {
    font-size: calc(40 * var(--u));
    line-height: 1.5;
    letter-spacing: calc(-1.6 * var(--u));
  }

  .lph-howto__sub {
    font-size: calc(20 * var(--u));
    line-height: 1.17;
    letter-spacing: calc(1 * var(--u));
  }

  .lph-howto__card {
    gap: calc(40 * var(--u));
    width: 100%;
    padding: calc(45 * var(--u)) 0;
  }

  /* 3 つの手順を横並び（幅 290・間に縦線） */
  .lph-steps {
    flex-direction: row;
    justify-content: center;
    text-align: center;
  }

  .lph-step,
  .lph-step:first-child,
  .lph-step:last-child {
    flex-direction: column;
    gap: calc(10 * var(--u));
    width: calc(290 * var(--u));
    padding: calc(20 * var(--u)) calc(30 * var(--u));
    border-top: 0;
    border-left: 1px solid var(--lph-color-line-light);
  }

  .lph-step:first-child {
    border-left: 0;
  }

  .lph-lp .lph-step__icon {
    width: calc(50 * var(--u));
    height: calc(50 * var(--u));
  }

  .lph-step__body {
    align-items: center;
    white-space: nowrap;
  }

  .lph-step__text {
    letter-spacing: calc(0.7 * var(--u));
  }

  .lph-howto__note {
    font-size: calc(14 * var(--u));
    letter-spacing: calc(0.42 * var(--u));
  }

  .lph-howto__store {
    width: 100%;
    padding: calc(48 * var(--u)) calc(40 * var(--u));
  }

  .lph-howto__store-title {
    font-size: calc(20 * var(--u));
    line-height: 1.17;
    letter-spacing: calc(1 * var(--u));
  }

  .lph-howto__store-text,
  .lph-howto__store-link {
    font-size: calc(16 * var(--u));
    letter-spacing: calc(0.48 * var(--u));
  }
}


/* =========================================================
   8. セクション：04 お好みのアイテムから。
      Figma「11/26最新」 SP: 4396:2815 / PC: 4396:1689
   ========================================================= */
.lph-s04 {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(40 * var(--u));
  padding: calc(64 * var(--u)) calc(24 * var(--u)) calc(80 * var(--u));
  background: var(--lph-color-green-back);
  text-align: center;
}

.lph-s04:focus {
  outline: none;
}

.lph-s04__garland {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.lph-s04__garland img {
  width: 100%;
  height: auto;
}

.lph-s04__head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(40 * var(--u));
}

.lph-s04__title {
  color: var(--lph-color-green-text);
  font-size: calc(24 * var(--u));
  line-height: 1.6;
  letter-spacing: calc(0.48 * var(--u));
}

.lph-s04__num {
  font-family: var(--lph-font-en);
}

.lph-s04__lead {
  color: var(--lph-color-dark);
  font-size: calc(16 * var(--u));
  line-height: 1.8;
}

/* SP：3 列（107.33 × 3 ＋ 間 10）、PC：5 列 */
.lph-cats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, calc(107.33 * var(--u)));
  gap: calc(16 * var(--u)) calc(10 * var(--u));
  text-align: left;
}

.lph-cat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(8 * var(--u));
  color: var(--lph-color-text-primary);
  text-decoration: none;
}

.lph-lp .lph-cat__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: calc(4 * var(--u));
}

.lph-cat__label {
  font-size: calc(14 * var(--u));
  line-height: 1.8;
  letter-spacing: calc(0.84 * var(--u));
  text-decoration: underline;
  text-decoration-thickness: 0.5px;             /* 細くさりげない下線（2026-11-27 指示） */
  text-underline-offset: 0.3em;
  white-space: nowrap;
}

@media (hover: hover) {
  .lph-cat:hover {
    opacity: 0.7;
  }
}

@media (min-width: 768px) {
  .lph-s04 {
    gap: calc(48 * var(--u));
    padding: calc(120 * var(--u)) var(--lph-side);
  }

  .lph-s04__garland {
    width: max(calc(1600 * var(--u)), 100%);    /* 画面が広いときも端まで */
  }

  .lph-s04__head {
    gap: calc(24 * var(--u));
  }

  .lph-s04__title {
    font-size: calc(28 * var(--u));
    letter-spacing: calc(0.56 * var(--u));
  }

  .lph-s04__lead {
    font-size: calc(18 * var(--u));
    letter-spacing: calc(0.54 * var(--u));
  }

  .lph-cats {
    grid-template-columns: repeat(5, 1fr);
    gap: calc(16 * var(--u));
    width: 100%;
  }

  .lph-cat__label {
    font-size: calc(16 * var(--u));
    letter-spacing: calc(0.96 * var(--u));
  }
}


/* =========================================================
   9. セクション：05 ご予算に合わせた贈り物を。
      Figma「11/26最新」 SP: 4396:2838
                         PC: 4396:1711（〜10,000円 4396:2052、〜20,000円 4396:2068）
   ========================================================= */
.lph-s05 {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(64 * var(--u));
  padding: calc(64 * var(--u)) calc(24 * var(--u)) calc(80 * var(--u));
  background: var(--lph-color-beige-final);
  text-align: center;
}

.lph-s05:focus {
  outline: none;
}

.lph-s05__garland {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.lph-s05__garland img {
  width: 100%;
  height: auto;
}

.lph-s05__head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lph-s05__title {
  color: var(--lph-color-green-text);
  font-size: calc(24 * var(--u));
  line-height: 1.6;
  white-space: nowrap;
}

.lph-s05__num {
  font-family: var(--lph-font-en);
  letter-spacing: calc(0.48 * var(--u));
}

.lph-s05__lead {
  margin-top: calc(24 * var(--u));
  color: var(--lph-color-text-primary);
  font-size: calc(16 * var(--u));
  line-height: 1.8;
}

/* ---------- 予算ボタン（SP：縦に 3 つ、PC：横に 3 つ） ---------- */
.lph-budgets {
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--u));
  margin-top: calc(32 * var(--u));
}

.lph-budget {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(280 * var(--u));
  height: calc(72 * var(--u));
  padding: 0 calc(16 * var(--u)) 0 calc(46 * var(--u));   /* 中身 221 を右寄せ（Figma：左 13・右 12 ＋ 中の空き） */
  border-radius: 2px;
  background: var(--lph-color-white);
  color: var(--lph-color-green);
}

.lph-budget[aria-pressed="true"] {
  background: var(--lph-color-green);
  color: var(--lph-color-white);
}

.lph-budget__text {
  display: flex;
  flex-direction: column;
  width: calc(173 * var(--u));
  letter-spacing: calc(0.48 * var(--u));
}

.lph-budget__price {
  font-size: calc(18 * var(--u));
  line-height: 1.6;
}

.lph-budget__sub {
  font-size: calc(12 * var(--u));
  line-height: 2;
  letter-spacing: calc(0.36 * var(--u));
  white-space: nowrap;
}

.lph-budget__icon {
  flex-shrink: 0;
  width: calc(24 * var(--u));
  height: calc(24 * var(--u));
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (hover: hover) {
  .lph-budget[aria-pressed="false"]:hover {
    opacity: 0.7;
  }
}

/* ---------- おすすめギフト ---------- */
.lph-s05__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(32 * var(--u));
  width: 100%;
}

.lph-s05__panel[hidden] {
  display: none;
}

.lph-s05__subtitle {
  color: var(--lph-color-dark);
  font-size: calc(20 * var(--u));
  line-height: 1.6;
  letter-spacing: calc(0.4 * var(--u));
}

/* SP：2 列（162 × 2 ＋ 16） */
.lph-items {
  display: grid;
  grid-template-columns: repeat(2, calc(162 * var(--u)));
  gap: calc(16 * var(--u));
  margin-top: calc(-8 * var(--u));              /* 見出しとの間は 24（パネルの間 32 − 8） */
  text-align: left;
}

.lph-item {
  display: flex;
  flex-direction: column;
  min-height: calc(243.114 * var(--u));
  color: var(--lph-color-text-secondary);
  text-decoration: none;
}

.lph-lp .lph-item__img {
  width: 100%;
  aspect-ratio: 162 / 150;
  height: auto;
  object-fit: cover;
}

.lph-lp .lph-item__colors {
  width: calc(127 * var(--u));                  /* 直径 10 × 10 色 ＋ 間 3 × 9 */
  height: auto;
  margin-top: calc(12 * var(--u));
}

.lph-item__name {
  margin-top: calc(8.114 * var(--u));
  font-size: calc(14 * var(--u));
  line-height: 1.3;
  letter-spacing: calc(0.42 * var(--u));
}

.lph-item__price {
  font-family: var(--lph-font-price);
  line-height: 1;
  white-space: nowrap;
}

.lph-item__yen {
  font-size: calc(16.874 * var(--u));
}

.lph-item__num {
  font-size: calc(19.284 * var(--u));
  letter-spacing: calc(0.5785 * var(--u));
}

.lph-item__tax {
  margin-left: calc(4 * var(--u));
  font-family: var(--lph-font-gothic);
  font-size: calc(10 * var(--u));
}

@media (hover: hover) {
  .lph-item:hover {
    opacity: 0.7;
  }
}

@media (min-width: 768px) {
  .lph-s05 {
    gap: calc(80 * var(--u));
    padding: calc(120 * var(--u)) var(--lph-side);
  }

  .lph-s05__garland {
    width: max(calc(1600 * var(--u)), 100%);    /* 画面が広いときも端まで */
  }

  .lph-s05__title {
    font-size: calc(28 * var(--u));
    letter-spacing: calc(0.56 * var(--u));
  }

  .lph-s05__lead {
    font-size: calc(18 * var(--u));
    letter-spacing: calc(0.54 * var(--u));
  }

  .lph-budgets {
    flex-direction: row;
    gap: calc(24 * var(--u));
    margin-top: calc(48 * var(--u));
  }

  .lph-budget {
    width: calc(282.667 * var(--u));
    padding: 0 calc(16 * var(--u)) 0 calc(48 * var(--u));
  }

  .lph-s05__panel {
    gap: calc(48 * var(--u));
  }

  .lph-s05__subtitle {
    font-size: calc(24 * var(--u));
  }

  /* PC：3 列（288 × 3 ＋ 16 × 2）、行の間 64 */
  .lph-items {
    grid-template-columns: repeat(3, 1fr);
    gap: calc(64 * var(--u)) calc(16 * var(--u));
    width: 100%;
    margin-top: calc(-16 * var(--u));           /* 見出しとの間は 32 */
  }

  .lph-item {
    min-height: 0;
  }

  .lph-lp .lph-item__img {
    aspect-ratio: 1 / 1;
  }

  .lph-lp .lph-item__colors {
    width: calc(180.6 * var(--u));              /* 直径 14.463 × 10 色 ＋ 間 4 × 9 */
    margin: calc(24 * var(--u)) calc(5.409 * var(--u)) 0;   /* 写真との間 16 ＋ 上の余白 8 */
  }

  .lph-item__name {
    margin: calc(12 * var(--u)) calc(5.409 * var(--u)) 0;
    font-size: calc(18 * var(--u));
    line-height: 1.6;
    letter-spacing: calc(0.54 * var(--u));
  }

  .lph-item__price {
    margin: 0 calc(5.409 * var(--u));
  }

  .lph-item__tax {
    font-size: calc(12.053 * var(--u));
    letter-spacing: calc(0.3616 * var(--u));
  }
}


/* =========================================================
   10. セクション：ギフトラッピング
       Figma「11/26最新」 SP: 4396:3130 / PC: 4396:1815（上の写真）＋ 4396:1848（説明・価格）
   ========================================================= */
.lph-wrap {
  background: var(--lph-color-white);
  text-align: center;
}

/* 上の写真と見出し（SP 390 × 388） */
.lph-wrap__hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: calc(388 * var(--u));
  padding: calc(64 * var(--u)) 0 calc(32 * var(--u));
  overflow: hidden;
}

.lph-wrap__hero-bg,
.lph-wrap__hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lph-lp .lph-wrap__hero-bg img {
  height: 100%;
  object-fit: cover;
}

/* Figma の 3 つの重ね（下を白に、上を少し暗く、下を薄い灰色に） */
.lph-wrap__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 64.658%, #ffffff 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(255, 255, 255, 0) 25.869%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 28.19%, #ebebeb 85.18%);
  pointer-events: none;
}

.lph-wrap__title {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
  color: var(--lph-color-text-primary);
}

.lph-wrap__en {
  font-size: calc(14 * var(--u));
  line-height: 1.8;
  letter-spacing: calc(0.42 * var(--u));
}

.lph-wrap__catch {
  font-size: calc(28 * var(--u));
  line-height: 1.6;
}

.lph-wrap__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(40 * var(--u));
  padding: 0 calc(50 * var(--u)) calc(80 * var(--u));
}

.lph-wrap__lead {
  color: var(--lph-color-text-primary);
  font-size: calc(14 * var(--u));
  line-height: 1.8;
  letter-spacing: calc(0.42 * var(--u));
}

/* SP：写真 2 枚を横に並べ、その下にベージュの枠で価格を 2 行 */
.lph-wrap__items {
  display: grid;
  grid-template-columns: calc(207.358 * var(--u)) calc(144 * var(--u));
  width: calc(351.358 * var(--u));
}

.lph-wrap__item {
  display: contents;
}

.lph-wrap__item--wrap .lph-wrap__photo { grid-area: 1 / 1; }
.lph-wrap__item--bag  .lph-wrap__photo { grid-area: 1 / 2; }
.lph-wrap__item--wrap .lph-wrap__price { grid-area: 2 / 1 / 3 / 3; padding-top: calc(16 * var(--u)); }
.lph-wrap__item--bag  .lph-wrap__price { grid-area: 3 / 1 / 4 / 3; padding-bottom: calc(16 * var(--u)); }

.lph-lp .lph-wrap__photo img {
  width: 100%;
  height: calc(136 * var(--u));
  object-fit: cover;
}

.lph-wrap__price {
  display: flex;
  align-items: center;
  gap: calc(14 * var(--u));
  padding: 0 calc(17.5 * var(--u));
  background: var(--lph-color-beige-dark);
  color: var(--lph-color-text-primary);
  white-space: nowrap;
}

.lph-wrap__label {
  font-size: calc(14 * var(--u));
  line-height: calc(24 * var(--u));
}

.lph-wrap__item--bag .lph-wrap__label {
  width: calc(112 * var(--u));                  /* Figma：手提げ袋は幅 112 で、線の始まりをそろえる */
  text-align: left;
}

.lph-wrap__line {
  flex: 1;
  border-top: 1px solid var(--lph-color-border);
}

.lph-wrap__yen {
  font-family: var(--lph-font-price);
  font-size: calc(12 * var(--u));
  line-height: 1;
}

.lph-wrap__num {
  font-size: calc(14 * var(--u));
  letter-spacing: calc(0.42 * var(--u));
}

.lph-wrap__tax {
  margin-left: calc(-14 * var(--u));            /* 価格のすぐ後ろに続ける（並びの間 14 を打ち消す） */
  font-size: calc(10 * var(--u));
  line-height: 1;
}

@media (min-width: 768px) {
  .lph-wrap__hero {
    justify-content: center;
    height: calc(347 * var(--u));
    padding: calc(56 * var(--u)) calc(16 * var(--u));
    background: var(--lph-color-beige);
  }

  /* Figma の PC は重ねが 1554 × 1546 の大きな枠（左 -21・上 -130）にかかっている */
  .lph-wrap__hero::after {
    inset: auto;
    top: calc(-130 * var(--u));
    left: calc(-21 * var(--u));
    right: calc(-21 * var(--u));
    height: calc(1546 * var(--u));
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 64.658%, #ffffff 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(255, 255, 255, 0) 25.869%),
      linear-gradient(143.43deg, rgba(255, 255, 255, 0) 29.715%, #ebebeb 65.563%);
  }

  /* PC は写真の上なので白い文字（2026-11-27 指示。「SP が正」の例外） */
  .lph-wrap__title {
    color: var(--lph-color-white);
  }

  .lph-wrap__en {
    font-size: calc(24 * var(--u));
    line-height: 1.6;
    letter-spacing: calc(0.72 * var(--u));
  }

  .lph-wrap__catch {
    font-size: calc(32 * var(--u));
    line-height: 1.5;
  }

  .lph-wrap__body {
    gap: calc(48 * var(--u));
    padding: calc(80 * var(--u)) var(--lph-side);
  }

  .lph-wrap__lead {
    font-size: calc(18 * var(--u));
    letter-spacing: calc(0.54 * var(--u));
  }

  /* PC：2 列（420 × 2 ＋ 間 56）。それぞれ写真・説明・価格 */
  .lph-wrap__items {
    grid-template-columns: 1fr 1fr;
    gap: calc(24 * var(--u)) calc(56 * var(--u));
    width: 100%;
    text-align: left;
  }

  .lph-wrap__item--wrap .lph-wrap__photo { grid-area: 1 / 1; }
  .lph-wrap__item--bag  .lph-wrap__photo { grid-area: 1 / 2; }
  .lph-wrap__item--wrap .lph-wrap__price { grid-area: 2 / 1; }
  .lph-wrap__item--bag  .lph-wrap__price { grid-area: 2 / 2; }

  .lph-lp .lph-wrap__photo img {
    height: calc(225 * var(--u));
  }

  .lph-lp .lph-wrap__item--bag .lph-wrap__photo img {
    border-radius: calc(4 * var(--u));
  }

  .lph-wrap__price,
  .lph-wrap__item--wrap .lph-wrap__price,
  .lph-wrap__item--bag .lph-wrap__price {
    gap: calc(24 * var(--u));
    padding: calc(24 * var(--u)) calc(16 * var(--u));
    background: var(--lph-color-gray);
  }

  .lph-wrap__label,
  .lph-wrap__item--bag .lph-wrap__label {
    width: auto;
    font-size: calc(16 * var(--u));
    line-height: 1.3;
    letter-spacing: calc(0.48 * var(--u));
  }

  .lph-wrap__yen {
    font-size: calc(18.484 * var(--u));
  }

  .lph-wrap__num {
    font-size: calc(20.795 * var(--u));
    letter-spacing: calc(0.6238 * var(--u));
  }

  .lph-wrap__tax {
    margin-left: calc(-16 * var(--u));          /* 価格との間 8 */
    font-size: calc(12 * var(--u));
    line-height: 1.5;
  }
}


/* =========================================================
   11. セクション：STORE
       Figma「11/26最新」 SP: 4396:3156 / PC: 4396:2043
   ========================================================= */
.lph-store {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(24 * var(--u));
  padding: calc(64 * var(--u)) 0 calc(40 * var(--u));
  background: var(--lph-color-beige);
  color: var(--lph-color-text-primary);
  text-align: center;
}

.lph-store__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(16 * var(--u));
}

.lph-store__title {
  font-family: var(--lph-font-en);
  font-weight: 400;
  font-size: calc(48 * var(--u));
  line-height: 1;
  letter-spacing: calc(-1.92 * var(--u));
}

/* Figma の SP は文章の下に空行 1 行（16 × 1.8）＋ 10 の余白があり、写真との間は 24 ではなく 0 */
.lph-store__lead {
  padding-bottom: calc(38.8 * var(--u));
  font-size: calc(16 * var(--u));
  line-height: 1.8;
  letter-spacing: calc(0.48 * var(--u));
}

.lph-store__photo {
  width: 100%;
  margin-top: calc(-24 * var(--u));
}

.lph-lp .lph-store__photo img {
  width: 100%;
  height: calc(286 * var(--u));
  object-fit: cover;
}

.lph-btn--dark {
  background: var(--lph-color-hi-dark);
}

.lph-store__btn--pc {
  display: none;
}

@media (min-width: 768px) {
  .lph-store {
    flex-direction: row;
    justify-content: space-between;
    gap: calc(40 * var(--u));
    padding: calc(56 * var(--u)) max(calc((100cqw - 1136 * var(--u)) / 2), calc(40 * var(--u)));   /* 中身（幅 1136）を中央に */
    text-align: left;
  }

  .lph-store__text {
    align-items: flex-start;
  }

  .lph-store__title {
    font-size: calc(64 * var(--u));
    letter-spacing: calc(-2.56 * var(--u));
  }

  .lph-store__lead {
    padding-bottom: 0;
    font-size: calc(18 * var(--u));
    letter-spacing: calc(0.54 * var(--u));
  }

  /* 写真は幅 740（狭い画面では入るところまで縮める。縦横比 740:358 を保つ） */
  .lph-store__photo {
    flex: 0 1 calc(740 * var(--u));
    min-width: 0;
    margin-top: 0;
  }

  .lph-lp .lph-store__photo img {
    height: auto;
    aspect-ratio: 740 / 358;
  }

  .lph-store__text {
    flex-shrink: 0;
  }

  .lph-store__btn--pc {
    display: inline-flex;
  }

  .lph-store__btn--sp {
    display: none;
  }
}
