/*
Theme Name: ONE JEWELER
Author: SHINMI CREATE
Description: ONE JEWELER オリジナルテーマ。design-v02ベース。
Version: 0.2.0
Text Domain: one-jeweler
*/

/* ============================================================
   ONE JEWELER  TOP PAGE  /  design-v02
   Reference width: 1440px (デザインカンプ基準)
   Breakpoints:
     - desktop : 1024px  以上   (1440基準レイアウト)
     - tablet  :  768-1023px    (2列まで)
     - mobile  :       〜767px  (1列)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.9;
  font-size: 13px;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;       /* レンダリング滑らかに、ブレ防止 */
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* paint-order は -webkit-text-stroke には効かないため削除 */
/* font-feature-settings / letter-spacing は各テキスト要素に個別指定 */
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }

.placeholder { background: #e8e8e8; }
.placeholder-circle { background: linear-gradient(135deg, #f2f2f2, #c9c9c9); border-radius: 50%; }
.placeholder-circle.gold { background: linear-gradient(135deg, #e8cf92, #b89147); }

/* ============ CSS Variables (組織標準) ============ */
:root {
  /* 4段コンテンツ幅システム（tech-notes/web-content-width-2026-05-04.md 準拠）
     ─────────────────────────────────────
     1280  広め      画像グリッド主体 (ITEM / RECOMMEND / REWARD / Header / Breadcrumb)
     1100  中        ブランド世界観   (MOOD / MATERIAL)
      960  中狭      章単位 / 説明     (Craftsmanship / Guide ラッパー / About)
      660  本文専用  日本語38字読了   (規約 / プライバシー / コラム本文)
     ───────────────────────────────────── */
  --w-wide:     1280px;
  --w-brand:    1100px;
  --w-section:   960px;
  --w-reading:   660px;

  /* 旧変数（互換）— 既存箇所が壊れないように残す */
  --content-max: var(--w-wide);
  --reading-max: 38em;          /* 17px時 ≒ 646。日本語38字。--w-reading の em表現版 */

  --content-pad: clamp(16px, 3vw, 40px);  /* セクション横padding。vw連動: 16(SP)〜40(PC大画面) */
  --bp-mobile: 767px;
  --bp-tablet: 1024px;
  --bp-wide: 1440px;
  --hero-bp: 1440px;            /* FVクロップ→アス比キープ切替 */
}

/* container util */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-pad);
}
.reading {
  max-width: var(--reading-max);
  margin-inline: auto;
}

/* ============ 0. Notice bar ============ */
/* ヘッダーは固定値（PCとSPで個別、viewport拡縮しない） */
.notice-bar {
  text-align: center;
  font-size: 12px;
  letter-spacing: 1.0px;
  padding: 8px 16px;
  color: #555;
  background: #fafafa;
  border-bottom: 1px solid #ececec;
}

/* ============ 1. Header ============ */
.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
/* WPログイン時：管理バー(32px / SP 46px)ぶん下げて重ならないようにする */
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 74px;
  padding: 0 60px;          /* .section と同じ横padding（PC基準） */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.logo img {
  display: block;
  height: 30px;
  width: auto;
}
.gnav {
  display: flex;
  gap: 28px;
  justify-self: center;
  align-items: center;
}
.gnav a,
.gnav .gnav-link {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1.0px;
  color: #1a1a1a;
  text-decoration: none;
}

/* ITEM Mega Menu */
.gnav-item-mega { position: static; }
.gnav-item-mega .gnav-link { cursor: pointer; }
.gnav-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  box-shadow: 0 6px 16px rgba(0,0,0,0.04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  z-index: 90;
}
.gnav-item-mega:hover .gnav-mega,
.gnav-item-mega:focus-within .gnav-mega,
.gnav-item-mega.open .gnav-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
}
.gnav-mega-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 60px 32px;
}
.gnav-mega-all {
  display: inline-block;
  font-family: 'Baskervville', serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: #1a1a1a;
  padding: 8px 0;
  margin-bottom: 18px;
  border-bottom: 1px solid #1a1a1a;
}
.gnav-mega-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 一時対応: COLOR列非表示中。復活時 5 に戻す */
  gap: 28px;
}
.gnav-mega-col .gnav-mega-head {
  font-family: 'Baskervville', serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #1a1a1a;
  margin: 0 0 4px;
}
.gnav-mega-col .gnav-mega-sub {
  font-size: 11px;
  color: #888;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}
.gnav-mega-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.gnav-mega-col li { margin: 0 0 6px; }
.gnav-mega-col a {
  display: block;
  font-size: 12.5px;
  color: #1a1a1a;
  text-decoration: none;
  padding: 4px 0;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.gnav-mega-col a span {
  display: inline-block;
  font-size: 11px;
  color: #888;
  margin-left: 6px;
}
.gnav-mega-col a:hover { color: #b0a785; }
.header-icons {
  display: flex;
  gap: 20px;
  justify-self: end;
  align-items: center;
}
.icon-btn { color: #1a1a1a; display: inline-flex; }
.icon-btn svg {
  width: 24px;
  height: 24px;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.hamburger-close { display: none; }
.header.open .hamburger-open { display: none; }
.header.open .hamburger-close { display: inline-block; }

/* メニュー開いてる間、背後のページをスクロールロック */
body.menu-open { overflow: hidden; }

/* SPハンバーガー：右側の黒オーバーレイ（クリックで閉じる）。ヘッダー下から出す。
   top は header.php の JS が --menu-top に「.header の getBoundingClientRect().bottom」を入れる。
   notice-bar が画面上にいるかでヘッダー位置が変わるため、固定値ではズレる。 */
.menu-overlay {
  display: none;
  position: fixed;
  top: var(--menu-top, 56px);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 90;
  cursor: pointer;
}
body.menu-open .menu-overlay { display: block; }
/* WP管理バー(46px) は body.admin-bar 時、--menu-top が getBoundingClientRect().bottom
   で吸収するため、ここでの上書きは不要（JS が動的に正しい値を流す）。 */

/* === Header SP Overrides（固定値、拡縮しない） === */
@media (max-width: 768px) {
  .notice-bar {
    font-size: 9px;
    letter-spacing: 0.8px;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .logo img {
    height: 26px;
  }
  .hamburger {
    padding: 0 10px 0 0;
  }
  .hamburger svg {
    width: 22px;
    height: 22px;
  }
  .icon-btn:not(.hamburger) svg {
    width: 22px;
    height: 22px;
  }
}

/* ============ 2. Hero（4枚自動スライド: FV+Cute+Cool+Elegant） ============
   - フルブリード（100vw）
   - PC画像 2880x1160 (アス比 ≒ 2.48:1) のアス比キープ
   - SPは 780x1080 の縦長画像に切替（picture）
   - テキストはHTML/CSSオーバーレイ（画像は notext版）
   ============================================================ */
.hero {
  width: 100vw;
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
  margin-left: calc(50% - 50vw);  /* セクションがコンテナに包まれた場合の保険 */
}
.hero-slider {
  position: relative;
  width: 100%;
  /* 1100未満では「画像中央1100px分」だけが見えるアスペクト比を採用。
     object-fit:cover と組み合わせると、画面幅に追従して
     常に中央1100幅のクロップがそのまま縮小される。 */
  aspect-ratio: 1100 / 580;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide picture,
.hero-slide picture img,
.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* テキストオーバーレイ
   .hero-text = 画面中央の "0サイズの起点"
   .hero-text-inner = 起点(0,0) からのオフセットで配置
   → left/top の値がそのまま「中央からのずらし px」になる
     left: 0    → 中央
     left: -200 → 中央から左200px
     left:  340 → 中央から右340px */
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  z-index: 2;
  pointer-events: none;
}
.hero-text-inner {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;       /* 子要素(catch/sub/cta)を親の中央に揃える */
  text-align: center;
  width: max-content;        /* 親の幅 = 一番幅広い子(catch)の幅 */
  /* これで sub は catch の中央線に自動的に揃う。各子の独立動かしは margin-left/top で */
}
/* 各スライドの中央からのずらし（編集対象は left/top の px） */
/* ===== FV ===== */
.hero-slide[data-slide="fv"] .hero-text-inner {
  left: -470px;
  top: -64px;
  align-items: center;
}
.hero-slide[data-slide="fv"] .hero-catch {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 1px;
  font-feature-settings: "halt" 1, "pkna" 1, "kern" 1;
  margin-bottom: 19px;
  color: #514447;
  -webkit-text-stroke: 0.10px #ffffff;
}
.hero-slide[data-slide="fv"] .hero-sub {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  font-feature-settings: "halt" 1, "kern" 1;
  letter-spacing: 2px;
  margin-bottom: 0;
}

/* ===== Cute / Cool / Elegant 共通（位置） ===== */
.hero-slide[data-slide="cute"]    .hero-text-inner,
.hero-slide[data-slide="cool"]    .hero-text-inner,
.hero-slide[data-slide="elegant"] .hero-text-inner {
  left: 70px;
  top: -74px;
  align-items: flex-start;
}

/* ===== Cute / Cool / Elegant 共通（en・sub・cta） ===== */
.hero-slide[data-slide="cute"]    .hero-en,
.hero-slide[data-slide="cool"]    .hero-en,
.hero-slide[data-slide="elegant"] .hero-en {
  font-family: 'Baskervville', serif;
  font-weight: 300;
  font-size: 44px;
  letter-spacing: 1px;
  margin-bottom: 0;
  margin-left: -1px;
  -webkit-text-stroke: 0.50px #ffffff;
}
.hero-slide[data-slide="cute"]    .hero-sub,
.hero-slide[data-slide="cool"]    .hero-sub,
.hero-slide[data-slide="elegant"] .hero-sub {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: 17.5px;
  letter-spacing: 0.5px;
  font-weight: 200;
  margin-bottom: 3px;
  margin-left: 1px;
  -webkit-text-stroke: 0.2px #ffffff;
}
.hero-slide[data-slide="cute"]    .hero-cta,
.hero-slide[data-slide="cool"]    .hero-cta,
.hero-slide[data-slide="elegant"] .hero-cta {
  font-family: 'Baskervville', serif;
  font-size: 16px;
  letter-spacing: 0.5px;
  padding: 2px 11px;
  margin-left: 0;
  -webkit-text-stroke: 0.3px #ffffff;
  border-color: #828282;
}

/* ===== Cool 個別上書き ===== */
.hero-slide[data-slide="cool"] .hero-en {
  font-size: 42px;
  letter-spacing: 0;
}
.hero-slide[data-slide="cool"] .hero-sub {
  font-size: 16px;
  letter-spacing: 3px;
}
.hero-catch {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.5;
  margin-bottom: 12px;
  color: #1a1a1a;
}
.hero-sub {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: clamp(11px, 1vw, 14px);
  letter-spacing: 0.16em;
  color: #555;
  margin-bottom: 24px;
}
.hero-en {
  font-family: "Baskervville", serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}
/* Mood 固有色（元画像 hero_text/*.webp からサンプリング） */
.hero-text-cute    .hero-en,
.hero-slide[data-slide="cute"]    .hero-en { color: #d4a0a0; }
.hero-text-cool    .hero-en,
.hero-slide[data-slide="cool"]    .hero-en { color: #204088; }
.hero-text-elegant .hero-en,
.hero-slide[data-slide="elegant"] .hero-en { color: #a48898; }
.hero-text-cute    .hero-sub,
.hero-text-cool    .hero-sub,
.hero-text-elegant .hero-sub { color: #444; }

.hero-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 28px;
  border: 1px solid #555;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #1a1a1a;
  background: transparent;     /* 通常時は透明 */
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.hero-cta:hover {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

/* 矢印ボタン */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.55);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  color: #1a1a1a;
  z-index: 3;
  transition: background 0.2s;
}
.hero-arrow:hover { background: rgba(255,255,255,0.9); }
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

/* ドット */
.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.4);
  background: rgba(255,255,255,0.6);
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}
.hero-dot.is-active {
  background: rgba(0,0,0,0.7);
  border-color: rgba(0,0,0,0.9);
}

/* SPでは縦長画像、テキストは画像中央〜下寄りに重ねる */
@media (max-width: 768px) {
  .hero-slider { aspect-ratio: 780 / 1080; }
  .hero-text-center {
    padding: 0 24px;
    align-items: center;
    text-align: center;
    justify-content: center;  /* FVキャッチは画像中央 */
  }
  .hero-text-right {
    padding: 0 24px 14vh;
    align-items: center;
    text-align: center;
    justify-content: flex-end;  /* Cute/Cool/Elegant は下中央 */
  }
  .hero-arrow { width: 36px; height: 36px; font-size: 20px; }
  .hero-arrow-prev { left: 8px; }
  .hero-arrow-next { right: 8px; }

  /* === SP: テキスト位置・サイズ上書き（FV位置照合ツール出力） === */
  /* SP は left/transform で真の中央寄せ（innerの中心を .hero-text の中心点に重ねる）。
     横ズレ防止のため px オフセットは使わない。上下のみ top で動かす。 */
  /* FV */
  .hero-slide[data-slide="fv"] .hero-text-inner {
    left: 0;
    transform: translateX(-50%);
    top: 146px;
    align-items: center;
  }
  .hero-slide[data-slide="fv"] .hero-catch {
    font-size: 19px;
    letter-spacing: 0.4px;
    margin-bottom: 16px;
  }
  .hero-slide[data-slide="fv"] .hero-sub {
    font-size: 10px;
    letter-spacing: 1px;
  }

  /* Cute / Cool / Elegant 共通（位置・サイズはCuteの調整値を共用） */
  .hero-slide[data-slide="cute"]    .hero-text-inner,
  .hero-slide[data-slide="cool"]    .hero-text-inner,
  .hero-slide[data-slide="elegant"] .hero-text-inner {
    left: 0;
    transform: translateX(-50%);
    top: 92px;
    align-items: center;
  }
  .hero-slide[data-slide="cute"]    .hero-en,
  .hero-slide[data-slide="cool"]    .hero-en,
  .hero-slide[data-slide="elegant"] .hero-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 2px;
    margin-left: 0;
  }
  .hero-slide[data-slide="cute"]    .hero-sub,
  .hero-slide[data-slide="cool"]    .hero-sub,
  .hero-slide[data-slide="elegant"] .hero-sub {
    font-size: 12.5px;
    letter-spacing: 0;
    margin-bottom: 6px;
    margin-left: 1px;
  }
  .hero-slide[data-slide="cute"]    .hero-cta,
  .hero-slide[data-slide="cool"]    .hero-cta,
  .hero-slide[data-slide="elegant"] .hero-cta {
    font-size: 11.5px;
    letter-spacing: 0.4px;
    padding: 2px 10px;
    margin-left: -6px;
    -webkit-text-stroke-width: 0;
  }
}

/* PC：1100〜1440 ではスライダーをデザイン幅(1440px)固定で中央寄せ。
   - hero は 100vw + overflow:hidden なので、その間は左右が削れていく（サイドが消える）
   1100未満では aspect-ratio:1100/580 + cover で「中央1100幅クロップ」を維持したまま縮小。
   ※ margin:auto は子幅>親幅のとき効かないので、絶対中央寄せ(translate)で揃える。 */
@media (min-width: 1100px) {
  .hero-slider {
    width: 1440px;
    aspect-ratio: 2880 / 1160;
    margin-left: 0;
    margin-right: 0;
    left: 50%;
    transform: translateX(-50%);
  }
}
/* 1440以上では viewport いっぱいに画像を拡大（フルブリード復帰） */
@media (min-width: 1440px) {
  .hero-slider {
    width: 100%;
    left: 0;
    transform: none;
  }
}

.hero-img { /* 旧互換（使わない想定） */
  width: 100%;
  height: auto;
  display: block;
}

/* ============ Section 共通 ============ */
.section {
  padding: 88px 60px;
}
/* セクションヘッダー（Figma準拠 / 1440PC・390SP基準）
   - PC基準: タイトル 32px Baskervville Medium #4a4a4a / サブ 17px Noto Sans JP #a8a29e
   - SP基準: タイトル 20px / サブ 12px
   - letter-spacing は em で表現（PC/SP同値: 0.07em / 0.03em）
   - body.home では fluid 連動（後ろの fluid ブロックで上書き） */
.section-title {
  font-family: 'Baskervville', serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1;
  color: #4a4a4a;
  text-align: center;
  margin-bottom: 0.65em;       /* フォント基準: 0.65em (SP 13/20 と同じ比率を PC にも適用) */
}
.section-title.left { text-align: left; }
.section-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
  color: #a8a29e;
  text-align: center;
  margin-bottom: 52px;
}
.section-sub.left { text-align: left; margin-bottom: 0; }

/* ============ 3. MOOD ============ */
.mood { padding: 80px var(--content-pad) 90px; }
.mood .container { padding: 0; max-width: 1100px; }
.mood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mood-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  text-align: left;            /* PCは左寄せ。SPメディアクエリで center に上書き */
  color: inherit;
}
.mood-image {
  display: block;
  width: 100%;
  aspect-ratio: 850 / 1380;
  overflow: hidden;
}
.mood-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.mood-card:hover .mood-image img { transform: scale(1.04); }
.mood-text { padding: 18px 4px 0; }
.mood-en {
  font-family: 'Baskervville', serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.mood-card-cute    .mood-en { color: #d49ba3; }
.mood-card-cool    .mood-en { color: #2c5d8b; }
.mood-card-elegant .mood-en { color: #8a7898; }
.mood-jp {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #555;
  margin-bottom: 14px;
}
/* === 共通ボタン: 枠付き透明ボタン + ホバー暗転 ===
   mood-cta / recommend-viewall / btn-box（Craftsmanship・Guide）で統一使用 */
.mood-cta,
.recommend-viewall,
.btn-box {
  display: inline-block;
  padding: 8px 18px;            /* 小さめpadding */
  border: 1px solid #555;
  font-family: 'Baskervville', serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #1a1a1a;
  background: transparent;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.mood-card:hover .mood-cta,
.recommend-viewall:hover,
.btn-box:hover {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}
.mood-cta { margin-top: 4px; }

/* MOOD SPは1カラム積み + 全幅（横padding=0）+ テキスト中央寄せ */
@media (max-width: 768px) {
  .mood { padding: 56px 0 64px; }
  .mood-grid { grid-template-columns: 1fr; gap: 32px; }
  .mood-image { aspect-ratio: 780 / 400; }  /* SPはSP画像のアス比 */
  .mood-card { text-align: center; }        /* en/jp/cta を中央寄せ */
  .mood-en { font-size: 26px; }
  .mood-jp { font-size: 13px; }
}

/* ============ MOOD Archive Hero (taxonomy.php product_mood) ============ */
.mood-archive-hero {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 48px;
}
.mood-archive-image {
  display: block;
  width: 100%;
  max-width: 300px;          /* ヒーロー画像はこれ以上大きくしない */
  max-height: 250px;
  aspect-ratio: 600 / 500;   /* 300×250 の比率 */
  margin-inline: auto;       /* 列が広い時も中央寄せ */
  overflow: hidden;
}
.mood-archive-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mood-archive-en {
  font-family: 'Baskervville', serif;
  font-size: 56px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 14px;
}
.mood-archive-hero-cute    .mood-archive-en { color: #d49ba3; }
.mood-archive-hero-cool    .mood-archive-en { color: #2c5d8b; }
.mood-archive-hero-elegant .mood-archive-en { color: #8a7898; }
.mood-archive-jp {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: 17px;
  letter-spacing: 0.16em;
  margin-bottom: 24px;
  color: #1a1a1a;
}
.mood-archive-lead {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: 15px;
  line-height: 2.0;
  letter-spacing: 0.06em;
  color: #444;
}
@media (max-width: 1024px) {
  .mood-archive-hero { grid-template-columns: 1fr; gap: 24px; }
  .mood-archive-en { font-size: 40px; }
  .mood-archive-jp { font-size: 15px; }
}

/* ============ Text Hero (taxonomy.php item / material / collection) ============ */
.archive-text-hero {
  margin-bottom: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid #ece8e3;
}
.archive-text-hero-title {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.3;
  color: #1a1a1a;
  margin: 0;
}
.archive-text-hero-intro {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: #777;
  margin-top: 12px;
}
@media (max-width: 1024px) {
  .archive-text-hero-title { font-size: 26px; }
}

/* ============ 4. ITEM ============ */
.item {
  padding: 100px var(--content-pad) 0;     /* full width。max-widthは内側コンテナ（.item-row）で1280にクランプ */
}
.item-row {
  display: grid;
  grid-template-columns: 449px 1fr;
  gap: 28px;                  /* メイン⇔サブ8枚 横方向 */
  margin: 0 auto 70px;        /* 行同士の縦隙間（元の値） */
  max-width: 1280px;          /* コンテナ：内容を1280にクランプ */
}
.item-row:last-child { margin-bottom: 0; }
.item-main {
  position: relative;
  background: #f1f1f1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 308px;
  color: #1a1a1a;
  overflow: hidden;
}
.item-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.item-en {
  font-family: 'Baskervville', serif;
  font-size: 26px;
  letter-spacing: 0.14em;
  text-align: center;
  line-height: 1.15;
}
.item-link {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #333;
  background: rgba(255,255,255,0.85);
  padding: 7px 0;
}
.item-subs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 18px 28px;             /* row-gap 18px / column-gap 28px */
}
.item-sub {
  position: relative;
  background: #dadada;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
  min-height: 150px;
  overflow: hidden;
}
.item-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.item-sub-en {
  font-family: 'Baskervville', serif;
  font-size: 17px;
  letter-spacing: 0.12em;
  line-height: 1.1;
}
.item-sub-jp {
  font-size: 9px;
  letter-spacing: 0.22em;
  margin-top: 5px;
}

/* ===== ITEM Stage（画像にテキストをオーバーレイ）== Figma 仕様準拠 ===== */
.item-stage { position: relative; overflow: hidden; }
.item-stage > img.bg {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.item-stage [class^="item-text-"] {
  position: absolute;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  text-decoration: none;
  text-shadow: none;        /* 影は表示しない */
}
.item-stage h2,
.item-stage .item-cta,
.item-stage .item-rings,
.item-stage .item-heart {
  font-family: 'Baskervville', serif;
  font-weight: 500;
  color: #57534e;            /* Figma カラー */
  margin: 0;
  text-shadow: none;
}
.item-stage .item-cta-arrow,
.item-stage .item-heart-arrow {
  display: inline-block;
  font-family: 'Baskervville', serif;
}

/* ===== メイン（Ring / Necklace 共通）== ユーザー指定値の%換算 ===== */
.item-main.item-stage .item-text-rings {
  /* タイトル位置（画像 435×311 基準）: 140px / 140px */
  left: 32.18%;       /* 140 / 435 */
  top:  45.02%;       /* 140 / 311 */
}
.item-main.item-stage .item-rings {
  font-size: 20px;
  letter-spacing: 1.4px;
}
.item-main.item-stage .item-text-cta {
  /* CTA 位置: 218px / 264px */
  left: 50.11%;       /* 218 / 435 */
  top:  84.89%;       /* 264 / 311 */
}
.item-main.item-stage .item-cta {
  font-size: 16px;
  letter-spacing: 1.12px;
}
.item-main.item-stage .item-cta-arrow {
  margin-left: 7px;
  font-size: 14px;
}

/* ===== サブ（Heart 系・全 cat 共通）== ユーザー指定値の%換算 ===== */
.item-sub.item-stage .item-text-heart {
  /* 95px / 119px (画像 189×147 基準) */
  left: 50.26%;       /* 95 / 189 */
  top:  80.95%;       /* 119 / 147 */
}
.item-sub.item-stage .item-heart {
  font-size: 14px;
  letter-spacing: 0.98px;
}
.item-sub.item-stage .item-heart-arrow {
  margin-left: 5px;
  font-size: 12px;
}

/* サブカードの旧 text-shadow 上書き（item-sub には旧CSSで text-shadow があるので上書き） */
.item-sub.item-stage,
.item-sub.item-stage * { text-shadow: none !important; color: #57534e; }

/* ============ 5. MATERIAL ============ */
.material {
  padding: 90px var(--content-pad) 0;     /* full width。max-widthは内側コンテナ（.material-list）で1100にクランプ */
}
/* MATERIAL 特別対応: 1段目のマテリアル(プラチナ等)が padding-top 30px を持つので、
   サブ下のマージンを 0 にして二重隙間を排除 */
.material .section-sub { margin-bottom: 0; }
body.home .material .section-sub { margin-bottom: 0; }
.material-title {
  font-family: 'Baskervville', 'Baskervville', serif;
  font-weight: 500;
  font-size: 32px;
  color: #161616;
  letter-spacing: 0.07em;
  text-align: center;
  margin: 0 0 14px;
}
.material-subtitle {
  font-family: 'Baskervville', 'Noto Sans JP', sans-serif;
  font-size: 17px;
  color: #a8a29e;
  letter-spacing: 0.03em;
  text-align: center;
  margin: 0 0 60px;
}
.material-list {
  max-width: 1100px;          /* コンテナ：内容を1100にクランプ */
  margin: 0 auto;
}
.material-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid #e7e5e4;
}
.material-row:first-child { border-top: 0; padding-top: 30px; }
.material-name { text-align: center; }
.material-en {
  font-family: 'Baskervville', serif;
  font-size: 21px;
  font-weight: 500;
  color: #161616;
  letter-spacing: 0.07em;
  margin: 0 0 8px;
}
.material-jp {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 17px;
  color: #a8a29e;
  margin: 0;
}
.material-body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #57534e;
}
.material-desc {
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  margin: 0 0 28px;
}
.material-link {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  color: #57534e;
  letter-spacing: 0.07em;
  text-decoration: none;
  cursor: pointer;
}
.material-link::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 14px;
  border-right: 1.4px solid currentColor;
  border-top: 1.4px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}
.material-link--all { margin-bottom: 18px; }
.material-toggle {
  margin: 14px 0 0;
}
.material-toggle[open] { /* keep summary look identical */ }
.material-toggle summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
}
.material-toggle summary::-webkit-details-marker { display: none; }
.material-toggle summary::marker { content: ""; display: none; }
.material-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 8px 0 0;
  padding: 0 0 0 38px;   /* インデント: 矢印幅 + マージン分 */
}
.material-options--prices li {
  margin-right: 38px;
}
.material-options--colors li {
  margin-right: 38px;
}
.material-options li:last-child { margin-right: 0; }
.material-options li a {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  color: #57534e;
  letter-spacing: 0.07em;
  text-decoration: none;
}
.material-dot {
  width: 16px;
  height: 16px;
  margin-right: 10px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}
.material-options--colors .material-dot { width: 18px; height: 18px; }

/* ============ 6. Reward Yourself ============ */
.reward {
  padding: 70px var(--content-pad);   /* 特別対応: 上下とも 70px、横は --content-pad */
  background: #FAFAF9;
}
.reward-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1280px;             /* ITEMと同じ1280基準 */
  margin: 0 auto;
  align-items: center;
}
.reward-image { aspect-ratio: 4 / 3; background: #e8e8e8; overflow: hidden; }
.reward-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reward-copy { padding: 24px 0; }
.reward-title {
  font-family: 'Baskervville', serif;
  font-size: 28px;
  letter-spacing: 0.14em;
  margin-bottom: 28px;
}
.reward-text { font-size: 12px; line-height: 2.1; color: #333; margin-bottom: 32px; }
.btn-underline {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  padding-bottom: 5px;
  border-bottom: 1px solid #1a1a1a;
}

/* ============ 7. RECOMMEND ============ */
.recommend {
  padding: 80px var(--content-pad) 0;     /* full width。max-widthは内側コンテナ（.recommend-grid 等）で1280にクランプ */
}
.recommend-title {
  font-family: 'Baskervville', serif;
  font-weight: 500;
  font-size: 28px;
  color: #4a4a4a;
  letter-spacing: 0.07em;
  text-align: center;
  margin: 0 0 14px;
}
.recommend-subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 17px;
  color: #a8a29e;
  letter-spacing: 0.03em;
  text-align: center;
  margin: 0 0 60px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  max-width: 1280px;          /* コンテナ：1280にクランプ */
  margin: 0 auto;
}
.recommend-foot {
  text-align: center;
  margin-top: 44px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
/* .recommend-viewall は共通ボタン（mood-cta 等）と統一 */

/* ============ 8. Services ============ */
.services { background: #f6f5f2; padding: 70px 60px; }
/* ダーク版（フッター直前用） */
.services-dark { background: #1a1a1a; color: #fff; }
.services-dark .service-card { background: transparent; color: #fff; }
.services-dark .service-title,
.services-dark .service-text { color: #fff; }
.services-dark .btn-underline { color: #fff; border-color: #fff; }
.services-dark .service-icon svg { stroke: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: var(--w-wide);    /* 1280 広め枠に統一 */
  margin: 0 auto;
}
.service-card { background: #fff; padding: 56px 72px; }
.service-icon { margin-bottom: 26px; }
.service-title {
  font-family: 'Baskervville', serif;
  font-size: 22px;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}
.service-text { font-size: 11px; line-height: 2; color: #333; margin-bottom: 26px; }

/* ============ 9. Craftsmanship ============ */
.craftsmanship { text-align: center; padding: 90px 60px 100px; }
.craft-text { font-size: 12px; line-height: 2.1; color: #333; margin: 28px 0 36px; }
/* .btn-box は共通ボタン（mood-cta 等）と統一 */

/* ============ 10. Shopping Guide ============ */
.guide { text-align: center; padding: 70px 60px 90px; }
.guide-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: var(--w-reading);  /* 660 本文枠に統一 */
  margin: 0 auto 40px;
  gap: 8px;
}
.guide-icon { display: flex; align-items: center; justify-content: center; height: 42px; margin-bottom: 10px; }
.guide-en { font-family: 'Baskervville', serif; font-size: 12px; letter-spacing: 0.18em; margin-bottom: 2px; }
.guide-jp { font-size: 10px; color: #777; letter-spacing: 0.2em; }
.guide-cta { margin-top: 12px; }
.guide-cta .btn-underline { letter-spacing: 0.18em; }

/* ============ 11. Footer ============ */
.footer { background: #fff; padding: 70px 60px 30px; border-top: 1px solid #eee; }
.footer-inner {
  display: grid;
  grid-template-columns: 360px 1fr 1fr 1fr;
  gap: 60px;
  max-width: var(--w-wide);    /* 1280 広め枠に統一 */
  margin: 0 auto 40px;
}
.footer-logo { margin-bottom: 16px; }
.footer-logo img { display: block; height: 20px; width: auto; }
.footer-tag { font-size: 11px; color: #555; line-height: 1.9; margin-bottom: 20px; }
.footer-sns { display: flex; gap: 12px; color: #333; }
.footer-head { font-family: 'Baskervville', serif; font-size: 13px; letter-spacing: 0.22em; font-weight: 500; margin-bottom: 10px; }
.footer-head-2nd { margin-top: 24px; } /* ITEMとMOODの間：罫線なし、グループ間スペースのみ */
.footer-col ul li { font-size: 11px; color: #555; line-height: 2.1; }
.copyright { text-align: center; font-size: 10px; color: #aaa; letter-spacing: 0.14em; margin-top: 20px; }

/* ================================================================
   TABLET  (〜1023px)
   ================================================================ */
@media (max-width: 1023px) {
  .section { padding: 72px 40px; }
  .header-inner { padding: 0 40px; height: 64px; }
  /* .gnav / .gnav a の上書きはfluid化したので削除 */

  /* MOOD */
  .mood { padding: 60px 40px 72px; }
  .mood-en { font-size: 28px; }

  /* ITEM */
  .item { padding: 72px 40px 72px; }
  .item-row { grid-template-columns: 340px 1fr; gap: 22px; margin-bottom: 48px; }
  .item-main { min-height: 240px; }
  .item-en { font-size: 22px; }
  .item-subs { gap: 22px; }
  .item-sub { min-height: 108px; }
  .item-sub-en { font-size: 15px; }

  /* MATERIAL（タブレット） */
  .material { padding: 72px 40px; }
  .material-row { grid-template-columns: 160px 1fr; gap: 32px; padding: 44px 0; }
  .material-options { padding-left: 24px; }
  .material-options--prices li,
  .material-options--colors li { margin-right: 24px; }

  /* Reward */
  .reward { padding: 60px 40px 80px; }
  .reward-inner { gap: 48px; }

  /* RECOMMEND（タブレット）→ 2x2 */
  .recommend { padding: 64px 40px 80px; }
  .recommend-title { font-size: 28px; }
  .recommend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }

  /* Services → 縦積み */
  .services { padding: 60px 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 44px 48px; }

  /* Craftsmanship */
  .craftsmanship { padding: 72px 40px 80px; }

  /* Guide */
  .guide { padding: 56px 40px 72px; }

  /* Footer → 2x2 */
  .footer { padding: 56px 40px 24px; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

/* ================================================================
   MOBILE  (〜767px)
   ================================================================ */
@media (max-width: 767px) {
  body { font-size: 12px; }
  .section { padding: 56px 24px; }
  .section-title { font-size: 20px; }
  .section-sub { font-size: 12px; margin-bottom: 36px; }

  /* 通知バーのSP上書きはfluidで処理（削除） */

  /* ヘッダー：ハンバーガー表示、ナビ非表示（レイアウト切替のみ） */
  .header-inner {
    grid-template-columns: auto 1fr auto;
    height: 56px;
    padding: 0 24px;          /* .section（mobile）と同じ */
  }
  .logo { justify-self: start; }
  /* .logo img height / .header-icons gap はfluid化したので削除 */
  .gnav { display: none; }
  .hamburger { display: inline-flex; color: #1a1a1a; }

  /* モバイルメニュー開時：左端から270pxの白パネル。ヘッダー下から出す。
     top は header.php の JS が --menu-top に動的に流し込む（notice-bar の影響を吸収）。
     admin-bar も同じく動的計算で吸収されるので個別上書き不要。 */
  .header.open .gnav {
    display: flex;
    position: fixed;
    top: var(--menu-top, 56px);
    left: 0;
    width: 270px;
    bottom: 0;
    height: calc(100vh - var(--menu-top, 56px));
    height: calc(100dvh - var(--menu-top, 56px));
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 32px;
    z-index: 95;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.08);
  }

  /* 大項目（ITEM / ORDER-MADE / OEM / ABOUT / GUIDE）：左寄せ・控えめ */
  .header.open .gnav > a,
  .header.open .gnav .gnav-item-mega > .gnav-link {
    display: block;
    padding: 16px 32px 16px 4px;
    border-bottom: 1px solid #ececec;
    letter-spacing: 0.16em;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    text-align: left;
    position: relative;
  }
  /* ITEMトリガーに開閉インジケータ「∨」を表示（右余白内に） */
  .header.open .gnav .gnav-mega-trigger::after {
    content: '';
    position: absolute;
    right: 6px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #1a1a1a;
    border-bottom: 1.5px solid #1a1a1a;
    transform: translateY(-75%) rotate(45deg);
    transition: transform 0.2s ease;
  }
  .header.open .gnav .gnav-item-mega.open .gnav-mega-trigger::after {
    transform: translateY(-25%) rotate(-135deg);
  }

  /* SP: megamenu はインライン展開（ITEMタップで開閉） */
  .gnav-item-mega { position: relative; }
  .gnav-mega {
    position: static;
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: #fff;
  }
  .gnav-item-mega.open .gnav-mega { display: block; }
  /* 子要素は左罫線＋インデントで「ITEMの中の項目」と分かる */
  .gnav-mega-inner {
    padding: 4px 0 12px 16px;
    margin-left: 4px;
    border-left: 2px solid #ececec;
    max-width: none;
  }
  .gnav-mega-all {
    display: block;
    margin: 6px 0 14px;
    padding: 10px 0;
    border-bottom: 1px solid #ececec;
    font-size: 13px;
    letter-spacing: 0.16em;
  }
  .gnav-mega-cols {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .gnav-mega-col {
    padding: 10px 0;
    border-bottom: 1px dashed #ececec;
    text-align: left;
  }
  .gnav-mega-col:last-child { border-bottom: none; }
  .gnav-mega-col .gnav-mega-head {
    text-align: left;
    font-size: 12.5px;
    letter-spacing: 0.18em;
    margin: 0 0 2px;
  }
  .gnav-mega-col .gnav-mega-sub {
    text-align: left;
    font-size: 10.5px;
    color: #888;
    margin: 0 0 8px;
  }
  .gnav-mega-col a {
    padding: 10px 0;     /* タッチターゲット拡大 */
    border-bottom: none;
    text-align: left;
    font-size: 14px;
    letter-spacing: 0.04em;
    color: #333;
  }

  /* MOOD：SPは全幅（横padding=0） */
  .mood { padding: 48px 0 56px; }
  .mood-grid { gap: 8px; }
  .mood-en { font-size: 18px; letter-spacing: 0.1em; }
  .mood-jp { font-size: 9px; }

  /* ITEM：大カード上、サブグリッド下 */
  .item { padding: 56px 16px 56px; }
  .item-row {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 40px;
  }
  .item-main { min-height: 200px; }
  .item-en { font-size: 22px; }
  .item-link { font-size: 10px; }
  .item-subs {
    grid-template-columns: repeat(3, 1fr);   /* SPは3列（Necklaces 8件→3+3+2、Rings 5件→3+2） */
    grid-template-rows: auto;
    gap: 14px;
  }
  .item-sub { min-height: 92px; }
  .item-sub-en { font-size: 13px; letter-spacing: 0.06em; }
  .item-sub-jp { font-size: 8px; margin-top: 3px; }

  /* MATERIAL（モバイル：縦積み + トグル） */
  .material { padding: 56px 24px 64px; }
  .material-title { font-size: 28px; margin-bottom: 10px; }
  .material-subtitle { font-size: 14px; margin-bottom: 36px; }
  .material-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 32px 0;
  }
  .material-row:first-child { padding-top: 8px; }
  .material-name { text-align: left; }
  .material-en { font-size: 28px; margin-bottom: 4px; }
  .material-jp { font-size: 14px; }
  .material-desc { font-size: 14px; line-height: 1.7; margin-bottom: 18px; }
  .material-link { font-size: 14px; }
  .material-link--all { margin-bottom: 12px; }
  .material-toggle { margin-top: 4px; }
  /* SP: 親 .material-link の chevron > をそのまま使い、open時に下向きへ回転 */
  .material-toggle summary {
    display: flex;
    align-items: center;
    width: 100%;
  }
  .material-toggle summary::before {
    transition: transform 0.2s ease;
  }
  .material-toggle[open] summary::before {
    transform: rotate(135deg) translateX(-1px);
  }
  /* モバイルは縦リスト（home の MATERIAL セクションのみ。商品詳細の選択肢は対象外） */
  .material-row .material-options {
    flex-direction: column;
    align-items: flex-start;
    padding: 6px 0 0 22px;
    margin-top: 6px;
  }
  .material-row .material-options li { margin: 6px 0; }
  .material-row .material-options--prices li,
  .material-row .material-options--colors li { margin-right: 0; }
  .material-row .material-options li a { font-size: 14px; }

  /* Reward：縦積み */
  .reward { padding: 48px 24px 60px; }
  .reward-inner { grid-template-columns: 1fr; gap: 28px; }
  .reward-copy { padding: 0; }
  .reward-title { font-size: 22px; margin-bottom: 16px; }
  .reward-text { font-size: 11px; margin-bottom: 20px; }

  /* RECOMMEND → 2列 */
  .recommend { padding: 48px 16px 56px; }
  .recommend { padding: 56px 20px 64px; }
  .recommend-title { font-size: 28px; margin-bottom: 10px; }
  .recommend-subtitle { font-size: 14px; margin-bottom: 36px; }
  .recommend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .recommend-grid > .product-card { max-width: 100%; min-width: 0; overflow: hidden; }
  .recommend-foot { margin-top: 32px; }
  .product-card-img { margin-bottom: 14px; }
  .product-tag { font-size: 12px; height: 19px; min-width: 50px; padding: 0 8px; }
  .product-card-name-jp { font-size: 13px; margin-top: 12px; }
  .product-card-name-en { font-size: 14px; }
  .product-card-price { font-size: 16px; }

  /* Services：縦積み */
  .services { padding: 40px 16px; }
  .services-grid { gap: 12px; }
  .service-card { padding: 36px 28px; }
  .service-title { font-size: 18px; }

  /* Craftsmanship */
  .craftsmanship { padding: 56px 24px; }
  .craft-text { font-size: 11px; margin: 18px 0 26px; }
  /* .btn-box の SP個別サイズは共通ボタンに統一 */

  /* Guide：5列維持（小） */
  .guide { padding: 44px 16px 56px; }
  .guide-grid { max-width: 100%; gap: 4px; }
  .guide-icon { height: 32px; }
  .guide-icon svg { width: 22px; height: 22px; }
  .guide-en { font-size: 10px; }
  .guide-jp { font-size: 9px; }

  /* Footer：1列 */
  .footer { padding: 48px 24px 24px; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 28px;
  }
  .footer-brand { grid-column: auto; }
  .footer-logo img { height: 17px; }
  .footer-head { margin-bottom: 8px; }
  .footer-head-2nd { margin-top: 20px; }
  .copyright { font-size: 9px; }
}

/* ================================================================
   TABLET-only 一部調整（MOOD/Guide はタブレットでは3/5列維持）
   ================================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  .recommend-head { flex-direction: row; }
}

/* ================================================================
   ARCHIVE / SINGLE PAGES (v01 由来)
   ================================================================ */

/* Breadcrumb */
.breadcrumb {
  padding: 32px var(--content-pad) 16px;     /* full width。max-widthは内側コンテナ（.breadcrumb-inner）で1280にクランプ */
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  color: #999;
}
.breadcrumb-inner {
  max-width: var(--w-wide);
  margin: 0 auto;
}
.breadcrumb a { color: #999; transition: color 0.2s; }
.breadcrumb a:hover { color: #333; }

/* Page Layout (archive) */
.page-layout {
  padding: 0 var(--content-pad) 80px;          /* full width。max-widthは内側コンテナ（.page-layout-inner）で1280にクランプ */
}
.page-layout-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  max-width: var(--w-wide);
  margin: 0 auto;
}

/* Sidebar (archive) */
.sidebar {
  padding-top: 8px;
  position: sticky;
  top: 80px;
  align-self: start;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.filter-header h3 {
  font-family: "Baskervville", serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
}
.filter-clear {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  color: #999;
  text-decoration: none;
}
.filter-clear:hover { color: #333; }
.filter-group { margin-bottom: 24px; }
.filter-group-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: #999;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}
.filter-option:hover { color: #1a1a1a; }
.filter-option.active { color: #1a1a1a; font-weight: 500; }
.filter-option input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #333;
  cursor: pointer;
}
.price-slider { margin-top: 8px; }
.price-slider input[type="range"] { width: 100%; accent-color: #333; }
.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
  color: #bbb;
  margin-top: 4px;
}

/* Main */
.main-content { min-width: 0; }

.page-title { padding: 24px 0 56px; }
.page-title h1 {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 12px;
}
.page-title p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  color: #888;
}

/* === 現在の絞り込み条件（chips） === */
.active-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  background: #faf8f5;
  border: 1px solid #ece6dc;
  border-radius: 2px;
}
.active-filters[hidden] { display: none; }
.active-filters-label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  color: #888;
  flex-shrink: 0;
}
.active-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px 5px 12px;
  background: #fff;
  border: 1px solid #d8cfc0;
  border-radius: 999px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  color: #333;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.active-filter-chip:hover { background: #f5efe6; border-color: #b8a888; }
.active-filter-chip-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 14px;
  line-height: 1;
  color: #999;
  border-radius: 50%;
}
.active-filter-chip:hover .active-filter-chip-x { color: #333; }
/* 軸間セパレーター × */
.active-filter-axis-sep {
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  font-family: "Baskervville", serif;
  font-size: 14px;
  color: #b8a888;
  user-select: none;
}
.active-filters-reset {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  color: #888;
  background: transparent;
  border: 0;
  padding: 4px 8px;
  cursor: pointer;
  text-decoration: underline;
  flex-shrink: 0;
}
.active-filters-reset:hover { color: #333; }
@media (max-width: 782px) {
  .active-filters { padding: 12px; gap: 8px; }
  .active-filters-label { font-size: 10px; width: 100%; margin-bottom: 4px; }
  .active-filter-chip { font-size: 11px; padding: 4px 6px 4px 10px; }
  .active-filter-axis-sep { font-size: 12px; padding: 0 2px; }
}

/* === Mood選択時のhero画像帯（archive /products/ で動的レンダリング） === */
/* taxonomy.phpの.mood-archive-heroパターンを再利用、複数選択時は縦積み */
.mood-hero-strip {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 24px;
}
.mood-hero-strip[hidden] { display: none; }
.mood-hero-strip .mood-archive-hero { margin-bottom: 0; }

/* 2mood以上の時はテキストを少し小さく（圧迫感軽減） */
.mood-hero-strip--count-2 .mood-hero-multi .mood-archive-en,
.mood-hero-strip--count-3 .mood-hero-multi .mood-archive-en { font-size: 40px; }
.mood-hero-strip--count-2 .mood-hero-multi .mood-archive-jp,
.mood-hero-strip--count-3 .mood-hero-multi .mood-archive-jp { font-size: 15px; margin-bottom: 16px; }
.mood-hero-strip--count-2 .mood-hero-multi .mood-archive-lead,
.mood-hero-strip--count-3 .mood-hero-multi .mood-archive-lead { font-size: 13px; line-height: 1.9; }

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.item-count {
  font-family: "Baskervville", serif;
  letter-spacing: 1px;
  color: #333;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.item-count-num {
  font-size: 26px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: 0.5px;
}
.item-count-unit {
  font-size: 12px;
  color: #888;
  letter-spacing: 1.5px;
}
@media (max-width: 782px) {
  .item-count-num { font-size: 22px; }
  .item-count-unit { font-size: 11px; }
}
.sort-select {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #fff;
  color: #333;
  cursor: pointer;
}
/* toolbar 右側コントロール（おすすめ順 + フィルターボタン） */
.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* フィルターボタン（SPのみ表示。PCは非表示でサイドバー使う） */
.filter-trigger {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0;
  color: #333;
  cursor: pointer;
}
.filter-trigger svg { stroke: #333; }
/* SPモーダル時の閉じるボタン（PCは非表示。SPでは filter-header 内 CLEAR の隣） */
.filter-header-actions { display: flex; align-items: center; gap: 14px; }
.filter-modal-close {
  display: none;
  width: 28px;
  height: 28px;
  background: transparent;
  border: 0;
  font-size: 22px;
  line-height: 1;
  color: #333;
  cursor: pointer;
  padding: 0;
}
.filter-modal-close:hover { color: #000; }
body.filter-modal-open { overflow: hidden; }

/* Product Grid (archive) */
.products-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  row-gap: 56px;
}
.product-card { text-decoration: none; color: inherit; display: block; min-width: 0; }
.product-card-img {
  position: relative;
  aspect-ratio: 1/1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  margin-bottom: 12px;
  background: #d4d0cb;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  min-width: 0;
  object-fit: cover;
  display: block;
}

/* バッジ（ムード+モチーフ） — 画像の下、商品名の上に並べる */
.product-tags {
  display: flex;
  gap: 6px;
  margin: 0 0 4px;
  min-width: 0;
}
.product-tag {
  font-family: "Baskervville", serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: #fff;
  padding: 0 10px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-tag--mood.mood-cool    { background: #4869be; }
.product-tag--mood.mood-elegant { background: #a1899d; }
.product-tag--mood.mood-cute    { background: #d59893; }
/* legacy slugs */
.product-tag--mood.mood-soft    { background: #d59893; }
.product-tag--mood.mood-strong  { background: #4869be; }
/* モチーフ：薄めのグレー地に白文字（ムードと並べた時に黒すぎないトーン） */
.product-tag--motif {
  background: #a8a29e;
  color: #fff;
}

.wishlist-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: #ccc;
  font-size: 18px;
  z-index: 2;
  transition: color 0.2s;
}
.wishlist-btn:hover { color: #c62828; }

.product-card-name-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  color: #4a4a4a;
  letter-spacing: 0.03em;
  margin: 10px 0 0;
}
.product-card-name-en {
  font-family: "Baskervville", serif;
  font-size: 16px;
  color: #4a4a4a;
  letter-spacing: 0.03em;
  margin: 4px 0 0;
}
.product-card-price {
  font-family: "Baskervville", serif;
  font-size: 18px;
  color: #4a4a4a;
  letter-spacing: 0.03em;
  margin: 6px 0 0;
}

/* ============== SINGLE PRODUCT ============== */
.product-top {
  padding: 0 var(--content-pad) 80px;          /* full width。max-widthは内側コンテナ（.product-top-inner）で1280にクランプ */
}
.product-top-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: var(--w-wide);
  margin: 0 auto;
}
.gallery-main {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #d4d0cb;
  margin-bottom: 12px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.gallery-thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  overflow: hidden;
  background: #d4d0cb;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.gallery-thumb.active,
.gallery-thumb:hover { border-color: #333; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info { padding-top: 8px; }
.product-info .mood-badges {
  position: static;
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.product-info .mood-badge {
  font-size: 10px;
  padding: 4px 12px;
}
.product-info .product-name {
  font-family: "Baskervville", serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.product-info .product-price {
  font-family: "Baskervville", serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 4px;
}
.product-info .product-price .tax {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #999;
  margin-left: 4px;
}
.product-info .product-desc {
  font-size: 13px;
  color: #555;
  line-height: 2;
  margin: 20px 0 24px;
}
.made-to-order {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 16px;
  background: #fafaf9;
  border: 1px solid #eee;
  margin-bottom: 28px;
  font-size: 12px;
  color: #555;
  line-height: 1.6;
}
.option-group { margin-bottom: 24px; }
.option-group-label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #333;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.material-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.material-btn {
  padding: 10px 20px;
  border: 1px solid #ddd;
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  color: #333;
  cursor: pointer;
  transition: all 0.2s;
}
.material-btn:hover { border-color: #333; }
.material-btn.active {
  background: #333;
  color: #fff;
  border-color: #333;
}
.size-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.size-guide-link {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  color: #999;
  text-decoration: underline;
}
.size-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  color: #333;
  background: #fff;
  appearance: none;
  cursor: pointer;
}
/* ラッピング・梱包（商品詳細・サイズ直下の軽い案内） */
.wrap-info {
  margin: 18px 0 0;
  padding: 12px 14px;
  background: #faf9f6;
  border: 1px solid #ece8df;
  border-radius: 4px;
  font-family: "Noto Sans JP", sans-serif;
  color: #444;
}
.wrap-info-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #6b6b6b;
  margin: 0 0 6px;
}
.wrap-info-line { font-size: 12px; line-height: 1.7; margin: 0; }
.wrap-info-note { font-size: 11px; line-height: 1.7; color: #777; margin: 6px 0 0; }
.wrap-info-link { color: #444; text-decoration: underline; margin-left: 4px; }
.wrap-info-link:hover { color: #000; }

/* ============================================================
 * カラースウォッチ（メタリック調・一覧／詳細 共通）
 * ============================================================ */
.js-color-btns { gap: 14px 18px !important; align-items: flex-start; }
.oj-color-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 4px 2px;
  min-width: 56px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #666;
  transition: color 0.18s;
}
.oj-color-btn:hover  { color: #111; }
.oj-color-btn.active { color: #111; }
.oj-color-name { white-space: nowrap; }
.oj-color-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.10);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.55),
    inset 0 -3px 4px rgba(0, 0, 0, 0.20),
    0 1px 2px rgba(0, 0, 0, 0.08);
  transition: transform 0.18s, box-shadow 0.18s;
}
.oj-color-btn:hover .oj-color-swatch {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.55),
    inset 0 -3px 4px rgba(0, 0, 0, 0.20),
    0 2px 4px rgba(0, 0, 0, 0.14);
}
.oj-color-btn.active .oj-color-swatch {
  outline: 2px solid #333;
  outline-offset: 2px;
}
/* メタリック・グラデーション パレット */
.oj-color-swatch[data-col="silver"]       { background: linear-gradient(135deg, #f6f6f6 0%, #d8d8d8 30%, #a8a8a8 60%, #e6e6e6 85%, #bdbdbd 100%); }
.oj-color-swatch[data-col="platinum"]     { background: linear-gradient(135deg, #fbfbfb 0%, #e0e0e0 30%, #b8b8b8 60%, #efefef 85%, #c8c8c8 100%); }
.oj-color-swatch[data-col="white"]        { background: linear-gradient(135deg, #ffffff 0%, #f1f1f1 35%, #d4d4d4 70%, #ebebeb 100%); }
.oj-color-swatch[data-col="k24"]          { background: linear-gradient(135deg, #f7d676 0%, #d4a437 40%, #a07423 70%, #efc15a 90%, #c79333 100%); }
.oj-color-swatch[data-col="yellow"]       { background: linear-gradient(135deg, #f6dd85 0%, #e5b73c 40%, #b88a2a 70%, #f1cf63 90%, #cda12e 100%); }
.oj-color-swatch[data-col="yellow_plate"] { background: linear-gradient(135deg, #f6dd85 0%, #e5b73c 40%, #b88a2a 70%, #f1cf63 90%, #cda12e 100%); }
.oj-color-swatch[data-col="champagne"]    { background: linear-gradient(135deg, #f1ddb6 0%, #d4b884 40%, #a78a5a 70%, #ebd5a7 90%, #c4a672 100%); }
.oj-color-swatch[data-col="pink"]         { background: linear-gradient(135deg, #f6cfcf 0%, #d99b9b 40%, #ad6471 70%, #efb9b9 90%, #c98787 100%); }
.oj-color-swatch[data-col="pink_plate"]   { background: linear-gradient(135deg, #f6cfcf 0%, #d99b9b 40%, #ad6471 70%, #efb9b9 90%, #c98787 100%); }

/* 基本石ノート（金種ブロック直下） */
.product-stone-note {
  margin: -8px 0 24px;
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #777;
}
/* ネックレスのアジャスター説明（SIZEブロック内） */
.size-note {
  margin: 0;
  padding: 12px 14px;
  background: #faf9f7;
  border: 1px solid #ece9e3;
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: 12px;
  color: #555;
  letter-spacing: 0.04em;
  line-height: 1.7;
}
.add-to-cart {
  width: 100%;
  padding: 16px;
  background: #333;
  color: #fff;
  border: none;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 16px;
  transition: background 0.2s;
}
.add-to-cart:hover { background: #555; }
.go-to-cart {
  display: block;
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  color: #333;
  border: 1px solid #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  margin: 0 0 16px;
  transition: background 0.2s, color 0.2s;
}
.go-to-cart:hover { background: #333; color: #fff; }
.product-custom-note {
  margin: 24px 0 10px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 1.7;
  color: #555;
}
.sub-links { list-style: none; margin: 0 0 32px; padding: 0; }
.sub-links li { margin: 4px 0; }
.sub-links a {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  color: #555;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sub-links a:hover { color: #111; }
.sub-links .sub-link-arrow {
  display: inline-block;
  margin-right: 8px;
  font-size: 11px;
  line-height: 1;
  text-decoration: none;
  vertical-align: 1px;
}

.accordion { border-top: 1px solid #eee; }
.accordion-item { border-bottom: 1px solid #eee; }
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  user-select: none;
}
.accordion-header-left {
  font-family: "Baskervville", serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1px;
}
.accordion-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.accordion-header-label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  color: #999;
}
.accordion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #999;
  transition: transform 0.3s;
}
.accordion-item.open .accordion-toggle { transform: rotate(180deg); }
.accordion-body {
  display: none;
  padding: 0 0 20px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  color: #555;
  line-height: 2;
}
.accordion-item.open .accordion-body { display: block; }
.accordion-body ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 8px;
}
.accordion-body li { margin-bottom: 4px; }

.mood-reward {
  text-align: center;
  padding: 80px 40px;
  background: #fafaf9;
  margin-top: 20px;
}
.mood-reward h2 {
  font-family: "Baskervville", serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 3px;
  margin-bottom: 32px;
}
.mood-reward p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  color: #555;
  line-height: 2.2;
  margin-bottom: 8px;
}
.mood-reward .text-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 13px;
  color: #333;
  border-bottom: 1px solid #333;
  padding-bottom: 4px;
  text-decoration: none;
}

.related-section {
  padding: 80px var(--content-pad);            /* full width。max-widthは内側コンテナ（.related-section-inner）で1280にクランプ */
}
.related-section-inner {
  max-width: var(--w-wide);
  margin: 0 auto;
}
.related-section h2 {
  font-family: "Baskervville", serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 3px;
  margin-bottom: 4px;
}
.related-section .related-sub {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  color: #999;
  margin-bottom: 32px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1200px) {
  .products-archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .product-top-inner { gap: 40px; }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .page-layout { padding: 0 var(--content-pad) 60px; }
  .page-layout-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .sidebar { position: static; max-height: none; overflow: visible; margin-bottom: 24px; }
  .products-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .breadcrumb { padding: 16px var(--content-pad); }
  .page-title { padding: 16px 0 32px; }
}
@media (max-width: 768px) {
  .product-top { padding: 0 var(--content-pad) 40px; }
  .product-top-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .related-section { padding: 40px var(--content-pad); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .mood-reward { padding: 48px 20px; }

  /* === 商品一覧フィルター: SPはモーダル化 === */
  /* PCのインラインサイドバーをデフォルト非表示。フィルターボタンで開く */
  .sidebar {
    display: none;
  }
  .sidebar.is-open {
    display: block;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 9999;
    background: rgba(20, 20, 20, 0.55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    color: #fff;
    overflow-y: auto;
    padding: 20px 24px 80px;
    margin-bottom: 0;
    max-height: none;
  }
  .sidebar.is-open .filter-header h3,
  .sidebar.is-open .filter-group-title,
  .sidebar.is-open .filter-option span,
  .sidebar.is-open .price-range-labels { color: #fff; }
  .sidebar.is-open .filter-clear { color: rgba(255, 255, 255, 0.75); }
  .sidebar.is-open .filter-clear:hover { color: #fff; }
  .sidebar.is-open .filter-modal-close { color: #fff; }
  .sidebar.is-open .filter-modal-close:hover { color: #fff; opacity: .8; }
  .sidebar.is-open .filter-option input[type="checkbox"] { accent-color: #fff; }
  .filter-modal-close { display: inline-flex; align-items: center; justify-content: center; }
  /* フィルターボタンをSPで右下固定のFAB化 */
  .filter-trigger {
    display: inline-flex;
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 900;
    padding: 12px 18px;
    gap: 8px;
    font-size: 13px;
    background: #1c1c1c;
    color: #fff;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  }
  .filter-trigger svg { stroke: #fff; }
  /* sidebar.is-open のときはFABを隠す（モーダルと被るので） */
  .sidebar.is-open ~ .toolbar .filter-trigger,
  body:has(.sidebar.is-open) .filter-trigger { display: none; }
}
@media (max-width: 480px) {
  .products-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; row-gap: 32px; }
  .breadcrumb { padding: 12px var(--content-pad); }
  .page-layout { padding: 0 var(--content-pad) 40px; }
}

/* ================================================================
   CART / ORDER / CHECKOUT / THANK YOU
   ================================================================ */

/* Header cart badge */
.icon-btn-cart { position: relative; }
.cart-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: #c2185b;
  color: #fff;
  border-radius: 999px;
  font-family: "Baskervville", serif;
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Page wrapper */
.checkout-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 40px 80px;
}
.checkout-title {
  font-family: "Baskervville", serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 4px;
  text-align: center;
  margin-bottom: 8px;
}
.checkout-sub {
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  color: #888;
  margin-bottom: 32px;
}

/* Steps indicator */
.checkout-steps {
  display: flex;
  justify-content: center;
  gap: 16px;
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  font-family: "Baskervville", serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #bbb;
}
.checkout-steps li { position: relative; }
.checkout-steps li + li::before {
  content: '/';
  margin-right: 16px;
  color: #ddd;
}
.checkout-steps li.active { color: #333; font-weight: 500; }

/* 2-column layout (main + summary) */
.cart-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* Cart list */
.cart-list { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}
.cart-item-img {
  width: 96px;
  height: 96px;
  background: #f0ece6;
  overflow: hidden;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name {
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  display: block;
}
.cart-item-name:hover { color: #555; }
.cart-item-meta {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  color: #888;
  margin-top: 4px;
}
.cart-item-price {
  font-family: "Baskervville", serif;
  font-size: 14px;
  margin-top: 6px;
}
.cart-item-remove {
  background: none;
  border: 1px solid #ddd;
  padding: 6px 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  color: #888;
  cursor: pointer;
}
.cart-item-remove:hover { border-color: #333; color: #333; }
.cart-empty {
  text-align: center;
  padding: 48px 0;
  font-family: "Noto Sans JP", sans-serif;
  color: #888;
}

/* Summary aside */
.cart-summary {
  background: #fafaf9;
  padding: 24px;
  border: 1px solid #eee;
}
.cart-summary-title {
  font-family: "Baskervville", serif;
  font-size: 14px;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  padding: 6px 0;
}
.cart-summary-note {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  color: #999;
  margin: 8px 0 16px;
}
.cart-summary-total {
  border-top: 1px solid #e0e0e0;
  margin-top: 4px;
  padding-top: 10px;
  font-weight: 500;
}
.cart-summary-note-list {
  list-style: none;
  margin: 12px 0 16px;
  padding: 12px;
  background: #fff;
  border: 1px solid #ececec;
}
.cart-summary-note-list li {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  color: #555;
  line-height: 1.7;
  margin: 0 0 4px;
}
.cart-summary-note-list li:last-child { margin-bottom: 0; }
.checkout-summary-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}
.checkout-summary-list li {
  display: flex;
  justify-content: space-between;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed #eee;
}
.checkout-summary-total {
  margin-top: 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}
.checkout-summary-total strong {
  font-family: "Baskervville", serif;
  font-size: 18px;
}

/* Form (order/checkout) */
.order-form .form-row { margin-bottom: 18px; }
.order-form label {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  color: #333;
  margin-bottom: 6px;
}
.order-form .req { color: #c2185b; }
.order-form input,
.order-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #333;
  background: #fff;
}
.order-form input:focus,
.order-form textarea:focus { outline: none; border-color: #333; }
.order-form .postal-search-btn {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #333;
  background: #fff;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
  text-align: center;
  transition: background .15s, color .15s;
}
.order-form .postal-search-btn:hover { background: #333; color: #fff; }
.order-form .postal-search-btn:disabled { opacity: .5; cursor: wait; }
.order-form .postal-search-msg { margin-top: 6px; }
.order-form .address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
}
.order-form .address-grid .form-row-postal,
.order-form .address-grid .form-row-postal-search { align-self: start; }
.order-form .label-spacer { visibility: hidden; }
@media (max-width: 768px) {
  .order-form .address-grid { grid-template-columns: 1fr; }
  .order-form .address-grid .form-row-postal-search .label-spacer { display: none; }
}

/* Validation */
.order-form .form-row.is-error input,
.order-form .form-row.is-error textarea { border-color: #c2185b; }
.order-form .field-error {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  color: #c2185b;
  margin-top: 6px;
}
.form-help {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  color: #999;
  margin-top: 4px;
}
.order-form .form-row-label {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  color: #333;
  margin-bottom: 6px;
}
.order-form .form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin: 0 0 6px;
  color: #444;
  cursor: pointer;
}
.order-form .form-checkbox input:disabled ~ * { cursor: not-allowed; }
.order-form .form-checkbox:has(input:disabled) { cursor: not-allowed; }

/* fieldset によるセクション分け */
.order-form .form-group {
  border: 0;
  padding: 0;
  margin: 0 0 24px;
}
.order-form .form-group-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
  letter-spacing: 0.04em;
}
.order-form .form-row-checkbox {
  margin: 14px 0 18px;
}

/* チェックアウトのサマリ内: 商品名＋メタの2段表示 */
.checkout-summary-list { list-style: none; padding: 0; margin: 0 0 16px; }
.checkout-summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  color: #333;
}
.checkout-summary-name { display: block; line-height: 1.45; }
.checkout-summary-sub {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: #888;
}

/* デモモード: Stripe 代わりのプレースホルダ */
.demo-payment-placeholder {
  text-align: center;
  padding: 32px 16px;
  border: 1px dashed #c00;
  background: #fff5f5;
  color: #c00;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  line-height: 1.6;
}
.demo-payment-placeholder strong { display: block; margin-bottom: 6px; }

/* THANK YOU: 注文日時 */
.thank-you-order-date {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  color: #555;
  margin: 4px 0 16px;
}
.thank-you-order-date strong { color: #1a1a1a; }
.order-form .form-checkbox input {
  width: auto;
  padding: 0;
  margin: 0;
}
.order-form .form-checkbox small {
  font-size: 11px;
  color: #999;
  margin-left: 4px;
}

/* Stripe Payment Element */
.payment-element {
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid #eee;
  background: #fff;
  min-height: 240px;
}
.checkout-status {
  padding: 12px 16px;
  margin-bottom: 16px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
}
.checkout-status.error {
  background: #fce4ec;
  color: #ad1457;
  border: 1px solid #f8bbd0;
}

/* Thank you */
.thank-you-page { text-align: center; max-width: 720px; }
.thank-you-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: #fafaf9;
  border-radius: 50%;
  margin: 0 auto 24px;
}
.thank-you-lead {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 2;
  color: #555;
  margin-bottom: 32px;
}
.thank-you-summary {
  text-align: left;
  max-width: 480px;
  margin: 0 auto 32px;
}
.thank-you-cta { margin-top: 32px; }

/* Cart page CTA button — uses .add-to-cart base */
#cart-checkout-btn { text-decoration: none; }
.cart-summary .btn-underline {
  display: block;
  margin-top: 12px;
  text-align: center;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 900px) {
  .checkout-page { padding: 8px 20px 60px; }
  .cart-grid { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 480px) {
  .cart-item { grid-template-columns: 72px 1fr; gap: 12px; }
  .cart-item-img { width: 72px; height: 72px; }
  .cart-item-remove { grid-column: 1 / -1; justify-self: end; }
}

/* ============================================================
   FLUID SCALE（全ページ共通: ヘッダー含む）
   - 1100 ≤ vp ≤ 1440: --fluid = 1 (デザイン基準値そのまま)
   - 769 ≤ vp < 1100:  --fluid = vw / 1100 で縮小
   - vp ≥ 1440:        --fluid = vw / 1440 で拡大
   - SP(≤768): vw/390 で縮小（SP design 390基準）
   ============================================================ */
/* --fluid は「無次元の倍率」。length ÷ length = number で算出。
   ブラウザ要件: Safari16.4+ / Chrome105+ / Firefox110+ */
body { --fluid: 1; }
@media (min-width: 769px) and (max-width: 1099.98px) {
  body { --fluid: calc(100vw / 1100px); }
}
@media (min-width: 1440px) {
  body { --fluid: calc(100vw / 1440px); }
}
/* SP は 390 を基準。これに 100vw を割って倍率を作る（PCと同じ仕組み）。
   方針: 「Cuteが正解」とのことなので、Cute/Cool/Elegant の3スライドすべてに
   Cute用の調整値を適用する（Cool/Elegantの個別値は使わない）。 */
@media (max-width: 768px) {
  body { --fluid: calc(100vw / 390px); }

  /* === FV (SP) — FVだけは独自設計値 ===
     横は真の中央寄せ（translateX(-50%)）に統一。fluid連動は top のみ。 */
  body.home .hero-slide[data-slide="fv"] .hero-text-inner {
    left: 0;
    transform: translateX(-50%);
    top: calc(146 * 100vw / 390);
    align-items: center;
  }
  body.home .hero-slide[data-slide="fv"] .hero-catch {
    font-size: calc(19 * 100vw / 390);
    font-feature-settings: "halt" 1, "pkna" 1, "kern" 1;
    letter-spacing: calc(0.4 * 100vw / 390);
    margin-bottom: calc(16 * 100vw / 390);
    font-family: 'Noto Serif JP', serif;
    color: #514447;
    font-weight: 400;
    -webkit-text-stroke: 0.10px #ffffff;
  }
  body.home .hero-slide[data-slide="fv"] .hero-sub {
    font-size: calc(10 * 100vw / 390);
    font-feature-settings: "halt" 1, "kern" 1;
    letter-spacing: calc(1 * 100vw / 390);
    margin-bottom: 0;
    font-family: 'Noto Serif JP', serif;
  }

  /* === Cute / Cool / Elegant 共通（SP）— Cuteの調整値を3スライドに統一適用 ===
     横は真の中央寄せ（translateX(-50%)）。fluid連動は top のみ。 */
  body.home .hero-slide[data-slide="cute"]    .hero-text-inner,
  body.home .hero-slide[data-slide="cool"]    .hero-text-inner,
  body.home .hero-slide[data-slide="elegant"] .hero-text-inner {
    left: 0;
    transform: translateX(-50%);
    top: calc(92 * 100vw / 390);
    align-items: center;
  }
  body.home .hero-slide[data-slide="cute"]    .hero-en,
  body.home .hero-slide[data-slide="cool"]    .hero-en,
  body.home .hero-slide[data-slide="elegant"] .hero-en {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: calc(32 * 100vw / 390);
    letter-spacing: calc(1 * 100vw / 390);
    margin-bottom: calc(2 * 100vw / 390);
    margin-left: 0;
    -webkit-text-stroke-width: 0;
  }
  body.home .hero-slide[data-slide="cute"]    .hero-sub,
  body.home .hero-slide[data-slide="cool"]    .hero-sub,
  body.home .hero-slide[data-slide="elegant"] .hero-sub {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: calc(12.5 * 100vw / 390);
    letter-spacing: 0;
    margin-bottom: calc(6 * 100vw / 390);
    margin-left: calc(1 * 100vw / 390);
    font-weight: 200;
    -webkit-text-stroke-width: 0;
  }
  body.home .hero-slide[data-slide="cute"]    .hero-cta,
  body.home .hero-slide[data-slide="cool"]    .hero-cta,
  body.home .hero-slide[data-slide="elegant"] .hero-cta {
    font-family: 'Baskervville', serif;
    font-size: calc(11.5 * 100vw / 390);
    letter-spacing: calc(0.4 * 100vw / 390);
    padding: calc(2 * 100vw / 390) calc(10 * 100vw / 390);
    margin-left: calc(-6 * 100vw / 390);
    border-color: #828282;
    -webkit-text-stroke-width: 0;
  }

  /* --- Sections (SP) — Figma 390 SP基準値で fluid 連動。
     margin-bottom は em で済むので fluidで個別宣言不要。 */
  body.home .section-title {
    font-size: calc(20 * 100vw / 390);
    letter-spacing: calc(1.4 * 100vw / 390);
  }
  body.home .section-sub {
    font-size: calc(12 * 100vw / 390);
    letter-spacing: calc(0.36 * 100vw / 390);
    margin-bottom: calc(36 * 100vw / 390);
  }
  /* SPセクションの縦paddingのみ fluid 連動。横は --content-pad */
  body.home .item     { padding: calc(56 * 100vw / 390) var(--content-pad) 0; }
  body.home .material { padding: calc(56 * 100vw / 390) var(--content-pad) 0; }
  body.home .recommend{ padding: calc(48 * 100vw / 390) var(--content-pad) 0; }
  /* reward は背景帯特別: 上下とも 48px × fluid */
  body.home .reward   { padding: calc(48 * 100vw / 390) var(--content-pad) calc(48 * 100vw / 390); }
  /* MOOD は SP では全幅（横padding=0） */
  body.home .mood     { padding: calc(56 * 100vw / 390) 0 calc(64 * 100vw / 390); }

  /* MOOD SP — Figma 390基準 (en 20 / jp 13 / cta 12px small) */
  body.home .mood-en {
    font-size: calc(20 * 100vw / 390);
    letter-spacing: calc(0.6 * 100vw / 390);
  }
  body.home .mood-jp {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: calc(13 * 100vw / 390);
    letter-spacing: calc(0.39 * 100vw / 390);
    font-weight: 500;
  }
  body.home .mood-cta {
    font-family: 'Baskervville', serif;
    font-weight: 500;
    font-size: calc(12 * 100vw / 390);
    letter-spacing: calc(0.84 * 100vw / 390);
    padding: calc(6 * 100vw / 390) calc(14 * 100vw / 390);   /* SPはさらに小さめ */
  }
  /* mood-text の下に余白を入れて、CTAボタンと次のmood画像に間を作る */
  body.home .mood-text { padding: calc(18 * 100vw / 390) calc(4 * 100vw / 390) calc(28 * 100vw / 390); }
}

@media (min-width: 769px) {
  /* --- Hero FV slide ---
     px系プロパティは全部 var(--fluid) で乗算（font-sizeだけだと間隔が固定で残ってズレる） */
  body.home .hero-slide[data-slide="fv"] .hero-text-inner {
    left: calc(-470px * var(--fluid));
    top: calc(-64px * var(--fluid));
  }
  body.home .hero-slide[data-slide="fv"] .hero-catch {
    font-size: calc(32px * var(--fluid));
    letter-spacing: calc(1px * var(--fluid));
    margin-bottom: calc(19px * var(--fluid));
    -webkit-text-stroke-width: calc(0.10px * var(--fluid));
  }
  body.home .hero-slide[data-slide="fv"] .hero-sub {
    font-size: calc(17px * var(--fluid));
    letter-spacing: calc(2px * var(--fluid));
  }

  /* --- Hero cute/cool/elegant 共通（位置） --- */
  body.home .hero-slide[data-slide="cute"]    .hero-text-inner,
  body.home .hero-slide[data-slide="cool"]    .hero-text-inner,
  body.home .hero-slide[data-slide="elegant"] .hero-text-inner {
    left: calc(70px * var(--fluid));
    top: calc(-74px * var(--fluid));
  }

  /* --- Hero cute/cool/elegant 共通（en/sub/cta） --- */
  body.home .hero-slide[data-slide="cute"] .hero-en,
  body.home .hero-slide[data-slide="cool"] .hero-en,
  body.home .hero-slide[data-slide="elegant"] .hero-en {
    font-size: calc(44px * var(--fluid));
    letter-spacing: calc(1px * var(--fluid));
    margin-left: calc(-1px * var(--fluid));
    -webkit-text-stroke-width: calc(0.50px * var(--fluid));
  }
  body.home .hero-slide[data-slide="cute"] .hero-sub,
  body.home .hero-slide[data-slide="cool"] .hero-sub,
  body.home .hero-slide[data-slide="elegant"] .hero-sub {
    font-size: calc(17.5px * var(--fluid));
    letter-spacing: calc(0.5px * var(--fluid));
    margin-bottom: calc(3px * var(--fluid));
    margin-left: calc(1px * var(--fluid));
    -webkit-text-stroke-width: calc(0.2px * var(--fluid));
  }
  body.home .hero-slide[data-slide="cute"] .hero-cta,
  body.home .hero-slide[data-slide="cool"] .hero-cta,
  body.home .hero-slide[data-slide="elegant"] .hero-cta {
    font-size: calc(16px * var(--fluid));
    letter-spacing: calc(0.5px * var(--fluid));
    padding: calc(2px * var(--fluid)) calc(11px * var(--fluid));
    -webkit-text-stroke-width: calc(0.3px * var(--fluid));
  }

  /* Cool / Elegant の個別値は使わず、Cute(=共通)に揃える方針。
     原本(.hero-slide[data-slide="cool"] .hero-en {42px;...})はこのfluidルール
     より specificity が低いので、上の共通宣言で上書きされる。 */

  /* --- 共通 .hero-cta（外側ボタン枠：margin/padding/border） --- */
  body.home .hero-cta {
    margin-top: calc(16px * var(--fluid));
    padding: calc(12px * var(--fluid)) calc(28px * var(--fluid));
    border-width: calc(1px * var(--fluid));
  }

  /* --- Sections (titles + subs) — Figma 1440 PC基準値で fluid 連動。
     margin-bottom は em(=フォント基準)で済むので fluidで個別宣言不要。 */
  body.home .section-title {
    font-size: calc(32px * var(--fluid));
    letter-spacing: calc(2.24px * var(--fluid));
  }
  body.home .section-sub {
    font-size: calc(17px * var(--fluid));
    letter-spacing: calc(0.51px * var(--fluid));
    margin-bottom: calc(52px * var(--fluid));
  }

  /* セクションの縦paddingのみ fluid 連動。横は --content-pad（PC40/SP20、固定値） */
  body.home .item     { padding: calc(100px * var(--fluid)) var(--content-pad) 0; }
  body.home .material { padding: calc(90px  * var(--fluid)) var(--content-pad) 0; }
  body.home .recommend{ padding: calc(80px  * var(--fluid)) var(--content-pad) 0; }
  /* reward は背景帯を持つので特別: 上下とも 70px × fluid */
  body.home .reward   { padding: calc(70px  * var(--fluid)) var(--content-pad) calc(70px * var(--fluid)); }

  /* --- MOOD ---
     PC基準(1100px design): padding/gap/font はすべて --fluid 倍率 */
  body.home .mood {
    padding: calc(80px * var(--fluid)) calc(60px * var(--fluid)) calc(90px * var(--fluid));
  }
  body.home .mood-grid { gap: calc(24px * var(--fluid)); }
  body.home .mood-text { padding: calc(18px * var(--fluid)) calc(4px * var(--fluid)) 0; }
  body.home .mood-en {
    font-size: calc(28px * var(--fluid));
    margin-bottom: calc(6px * var(--fluid));
  }
  body.home .mood-jp {
    font-size: calc(12px * var(--fluid));
    margin-bottom: calc(14px * var(--fluid));
  }
  /* 共通ボタン（mood-cta / recommend-viewall / btn-box）も fluid 連動 */
  body.home .mood-cta,
  body.home .recommend-viewall,
  body.home .btn-box {
    font-size: calc(12px * var(--fluid));
    padding: calc(8px * var(--fluid)) calc(18px * var(--fluid));
  }
  body.home .mood-cta { margin-top: calc(4px * var(--fluid)); }
  /* --- ITEM --- */
  body.home .item-main.item-stage .item-rings    { font-size: calc(20px * var(--fluid)); }
  body.home .item-main.item-stage .item-cta      { font-size: calc(16px * var(--fluid)); }
  body.home .item-main.item-stage .item-cta-arrow{ font-size: calc(14px * var(--fluid)); }
  body.home .item-sub.item-stage  .item-heart    { font-size: calc(14px * var(--fluid)); }
  body.home .item-sub.item-stage  .item-heart-arrow { font-size: calc(12px * var(--fluid)); }

  /* --- MATERIAL --- */
  body.home .material-title    { font-size: calc(32px * var(--fluid)); }
  body.home .material-subtitle { font-size: calc(17px * var(--fluid)); }
  body.home .material-en       { font-size: calc(21px * var(--fluid)); }
  body.home .material-jp       { font-size: calc(17px * var(--fluid)); }
  body.home .material-desc     { font-size: calc(17px * var(--fluid)); }
}
