/* =========================================================
   BLAZE LP スタイル
   色やフォントは、下の :root の中をまとめて変更できます。
   ========================================================= */

:root {
  /* 色 */
  --black: #0b0b0c;
  --black-2: #141416;
  --black-3: #1d1d20;
  --white: #f6f5f2;
  --paper: #ecebe7;
  --silver: #b9bcc1;
  --silver-light: #d9dbde;
  --silver-dark: #7d8086;
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-light: rgba(11, 11, 12, 0.12);
  --metal: linear-gradient(135deg, #e9eaec 0%, #9a9da3 35%, #f4f4f5 55%, #8a8d93 80%, #cfd1d4 100%);

  /* フォント */
  --font-en: "Cormorant Garamond", "Times New Roman", serif;
  --font-label: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;

  /* 余白 */
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(96px, 14vw, 180px);
  --max: 1200px;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-ja);
  font-weight: 400;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 880px; }
.section { padding: var(--section-y) 0; }
[id] { scroll-margin-top: 72px; }

.sp-only { display: inline; }
.pc-only { display: none; }
@media (min-width: 768px) {
  .sp-only { display: none; }
  .pc-only { display: inline; }
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 見出し共通 ---------- */
.eyebrow, .section-label, .mini-title, .product-no, .store-tag {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver);
}
.section-label { margin-bottom: 28px; display: flex; align-items: center; gap: 14px; }
.section-label::before {
  content: ""; width: 32px; height: 1px; background: var(--silver-dark);
}
.section-title {
  font-family: var(--font-ja);
  font-weight: 500;
  font-size: clamp(28px, 5.4vw, 52px);
  line-height: 1.45;
  letter-spacing: 0.06em;
}
.section-head { margin-bottom: clamp(48px, 7vw, 88px); }
.section-lead { margin-top: 28px; max-width: 640px; color: rgba(246, 245, 242, 0.72); }

/* ---------- 未確定情報の目印 ---------- */
.draft, .tbd {
  display: inline-block;
  font-family: var(--font-ja);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  font-weight: 500;
  vertical-align: middle;
  border-radius: 2px;
}
.draft {
  margin-left: 8px;
  padding: 2px 8px;
  color: #e7c873;
  border: 1px dashed rgba(231, 200, 115, 0.6);
  text-transform: none;
}
.section-head > .draft, .brand-text > .draft { margin: 20px 0 0; }
.tbd {
  padding: 2px 10px;
  color: var(--silver);
  border: 1px dashed var(--silver-dark);
}
.hide-draft-labels .draft { display: none; }
.hide-draft-labels .tbd { border-color: transparent; padding-left: 0; }

/* ---------- ボタン ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 54px; padding: 0 36px;
  font-family: var(--font-ja); font-size: 14px; font-weight: 500; letter-spacing: 0.12em;
  border: 1px solid transparent; border-radius: 0;
  cursor: pointer;
  transition: background .4s, color .4s, border-color .4s;
}
.btn::after {
  content: ""; width: 18px; height: 1px; background: currentColor;
  transition: width .4s;
}
.btn:hover::after { width: 30px; }
.btn-lg { min-height: 64px; padding: 0 44px; font-size: 15px; }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--silver-light); }
.btn-ghost { border-color: rgba(246, 245, 242, 0.5); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--black-3); }

/* URL未設定（準備中）のボタン */
.is-pending { cursor: not-allowed; opacity: 0.55; }
.btn.is-pending::after { display: none; }
.btn-light.is-pending:hover { background: var(--white); }
.btn-ghost.is-pending:hover { background: transparent; border-color: rgba(246, 245, 242, 0.5); }
.btn-dark.is-pending:hover { background: var(--black); }

.text-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-label); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
}
.text-link::after { content: "↓"; font-size: 11px; }

/* ---------- 画像・仮画像 ---------- */
.media { position: relative; overflow: hidden; background: var(--black-2); }
.media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.media.has-image .placeholder { display: none; }
.placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--silver-dark);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255,255,255,0.07), transparent 60%),
    linear-gradient(160deg, #1a1a1d, #0e0e10);
}
.placeholder span {
  font-family: var(--font-label); font-size: 11px; letter-spacing: 0.32em;
}
.placeholder small { font-size: 11px; letter-spacing: 0.1em; }

/* 商品の仮シルエット（画像が入るまでの表示） */
.bottle-shape { display: block; background: var(--metal); opacity: 0.85; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.bottle-shape.jar {
  width: 38%; aspect-ratio: 1.5 / 1; border-radius: 6px;
  position: relative;
}
.bottle-shape.jar::before {
  content: ""; position: absolute; left: -2%; right: -2%; top: -22%; height: 30%;
  background: linear-gradient(180deg, #2a2a2e, #111113); border-radius: 4px;
}
.bottle-shape.pump {
  width: 22%; aspect-ratio: 1 / 2.4; border-radius: 6px 6px 4px 4px; position: relative;
}
.bottle-shape.pump::before {
  content: ""; position: absolute; left: 30%; right: 30%; top: -16%; height: 16%;
  background: linear-gradient(180deg, #2a2a2e, #111113);
}
.bottle-shape.pump::after {
  content: ""; position: absolute; left: 30%; width: 70%; top: -20%; height: 5%;
  background: #1a1a1d;
}
.placeholder.bottle small { margin-top: 28px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 11, 12, 0.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--line-dark);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 72px; padding: 0 var(--gutter); max-width: 1440px; margin: 0 auto;
}
.logo {
  font-family: var(--font-en); font-weight: 500; font-size: 26px; letter-spacing: 0.32em;
}
.global-nav { display: none; gap: 36px; }
.global-nav a {
  font-family: var(--font-label); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(246,245,242,0.7); transition: color .3s;
}
.global-nav a:hover { color: var(--white); }
.header-cta {
  font-family: var(--font-label); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 10px 18px; border: 1px solid rgba(246,245,242,0.4);
}
@media (min-width: 960px) {
  .global-nav { display: flex; }
}

/* ---------- 1. ファーストビュー ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 120px 0 clamp(80px, 12vh, 140px);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media .placeholder { align-items: flex-end; justify-content: flex-start; padding: 0 var(--gutter) 28px; }
.hero-media .placeholder { flex-direction: row; gap: 16px; }
.hero::before {
  /* 画像の上に暗いグラデーションを重ねて文字を読みやすくする */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,11,12,0.2) 0%, rgba(11,11,12,0.1) 40%, rgba(11,11,12,0.9) 100%);
}
.hero::after {
  /* 銀色のアクセントライン */
  content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; right: 18%;
  width: 1px; background: linear-gradient(180deg, transparent, rgba(217,219,222,0.35), transparent);
}
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.hero-title {
  margin: 28px 0 32px;
  font-weight: 500;
  font-size: clamp(40px, 9.6vw, 112px);
  line-height: 1.25; letter-spacing: 0.04em;
}
.hero-title .line { display: block; }
.hero-title .line:last-child {
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { color: rgba(246,245,242,0.78); font-size: 15px; line-height: 2.1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.hero-scroll {
  position: absolute; z-index: 2; right: var(--gutter); bottom: 40px;
  writing-mode: vertical-rl;
  font-family: var(--font-label); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--silver); display: none;
}
.hero-scroll::after {
  content: ""; display: block; width: 1px; height: 64px; margin: 14px auto 0;
  background: var(--silver); animation: scrollLine 2.4s ease-in-out infinite; transform-origin: top;
}
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (min-width: 768px) {
  .hero-scroll { display: block; }
  .hero-lead { font-size: 16px; }
}

/* ---------- 2. ブランド紹介 ---------- */
.brand { background: var(--white); color: var(--black); }
.brand .section-label { color: var(--silver-dark); }
.brand .section-label::before { background: var(--silver); }
.brand-grid { display: grid; gap: 64px; }
.brand-text .section-title { margin-bottom: 40px; }
.brand-text p + p { margin-top: 1.4em; }
.brand-text p { color: rgba(11,11,12,0.78); }
.brand .draft { color: #8a6a12; border-color: rgba(138,106,18,0.5); }
.brand .tbd { color: var(--silver-dark); }
.brand-stats dl { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); }
.brand-stats dl > div { padding: 24px 0; border-bottom: 1px solid var(--line-light); }
.brand-stats dl > div + div { padding-left: 16px; border-left: 1px solid var(--line-light); }
.brand-stats dt {
  font-family: var(--font-label); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--silver-dark);
}
.brand-stats dd {
  margin-top: 8px; font-family: var(--font-en); font-size: clamp(26px, 5vw, 40px); line-height: 1.2; font-weight: 500;
}
.brand-stats dd small { display: block; margin-top: 6px; font-family: var(--font-ja); font-size: 11px; letter-spacing: 0.06em; color: rgba(11,11,12,0.6); }
.brand-media { margin-top: 32px; aspect-ratio: 4 / 3; }
@media (min-width: 960px) {
  .brand-grid { grid-template-columns: 1.05fr 1fr; gap: 96px; align-items: start; }
  .brand-stats { padding-top: 56px; }
}

/* ---------- 3. 商品紹介 ---------- */
.products { background: var(--black); }
.product-grid { display: grid; gap: 64px; }
.product-card { display: flex; flex-direction: column; }
.product-media { aspect-ratio: 4 / 5; margin-bottom: 28px; border: 1px solid var(--line-dark); }
.product-name {
  margin: 10px 0 8px;
  font-family: var(--font-en); font-weight: 500; font-size: clamp(28px, 3vw, 34px); letter-spacing: 0.1em; line-height: 1.3;
}
.product-copy { color: rgba(246,245,242,0.65); font-size: 14px; margin-bottom: 24px; }
.product-card .text-link { align-self: flex-start; color: var(--silver-light); }
@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .product-card:nth-child(2) { margin-top: 80px; }
}

/* ---------- 4. 商品詳細 ---------- */
.details { background: var(--black-2); }
.detail { display: grid; gap: 40px; }
.detail + .detail { margin-top: clamp(96px, 14vw, 160px); padding-top: clamp(96px, 14vw, 160px); border-top: 1px solid var(--line-dark); }
.detail-media { aspect-ratio: 1 / 1; }
.detail-name {
  font-family: var(--font-en); font-weight: 500; font-size: clamp(36px, 6vw, 64px); letter-spacing: 0.08em; line-height: 1.15;
}
.detail-lead { margin: 28px 0 44px; color: rgba(246,245,242,0.75); }
.mini-title { margin: 0 0 16px; display: block; }
.spec-list { border-top: 1px solid var(--line-dark); margin-bottom: 44px; }
.spec-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: 14px;
}
.spec-list li > span:first-child { color: rgba(246,245,242,0.6); }
.scene-list { margin-bottom: 48px; }
.scene-list li { position: relative; padding-left: 26px; font-size: 14px; }
.scene-list li + li { margin-top: 6px; }
.scene-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; background: var(--silver); }
.detail .btn-dark { background: var(--white); color: var(--black); }
.detail .btn-dark:hover { background: var(--silver-light); }
.detail .btn-dark.is-pending:hover { background: var(--white); }
@media (min-width: 960px) {
  .detail { grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
  .detail.reverse .detail-media { order: 2; }
}

/* ---------- 5. こだわり ---------- */
.commitment { background: var(--black); position: relative; overflow: hidden; }
.commitment::before {
  content: "CRAFT"; position: absolute; right: -2vw; top: 6vw;
  font-family: var(--font-en); font-size: clamp(120px, 24vw, 340px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(217,219,222,0.08);
  pointer-events: none; letter-spacing: 0.04em;
}
.commit-list { display: grid; gap: 0; position: relative; }
.commit-list li { padding: 40px 0; border-top: 1px solid var(--line-dark); }
.commit-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.commit-no {
  display: block; font-family: var(--font-en); font-size: 48px; line-height: 1;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 20px;
}
.commit-list h3 { font-size: 19px; font-weight: 500; line-height: 1.7; margin-bottom: 14px; }
.commit-list p { color: rgba(246,245,242,0.7); font-size: 14px; }
@media (min-width: 960px) {
  .commit-list { grid-template-columns: repeat(3, 1fr); }
  .commit-list li { padding: 48px 40px 56px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
  .commit-list li + li { border-left: 1px solid var(--line-dark); }
  .commit-list li:first-child { padding-left: 0; }
}

/* ---------- 6. 比較・選び方 ---------- */
.choose { background: var(--paper); color: var(--black); }
.choose .section-label { color: var(--silver-dark); }
.choose .section-label::before { background: var(--silver); }
.choose .section-lead { color: rgba(11,11,12,0.7); }
.choose .draft { color: #8a6a12; border-color: rgba(138,106,18,0.5); }
.choose .tbd { color: var(--silver-dark); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 20px 16px; text-align: left; border-bottom: 1px solid var(--line-light); vertical-align: middle; }
.compare thead th {
  font-family: var(--font-en); font-weight: 500; font-size: 20px; letter-spacing: 0.08em;
  border-bottom: 1px solid var(--black); padding-bottom: 18px; white-space: nowrap;
}
.compare tbody th { font-weight: 500; color: rgba(11,11,12,0.6); width: 22%; white-space: nowrap; }
.table-note { margin-top: 12px; font-size: 11px; color: var(--silver-dark); text-align: center; }
.chooser { margin-top: 72px; background: var(--white); padding: clamp(28px, 5vw, 56px); }
.chooser .mini-title { color: var(--silver-dark); margin-bottom: 20px; }
.chooser li { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line-light); }
.chooser .q { font-weight: 500; }
.chooser .a { color: rgba(11,11,12,0.7); font-size: 14px; }
@media (min-width: 768px) {
  .chooser li { grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: center; }
}

/* ---------- 7. 店舗 ---------- */
.store { background: var(--black); }
.store-grid { display: grid; gap: 20px; }
.store-card { padding: 36px 28px; border: 1px solid var(--line-dark); background: var(--black-2); }
.store-card.is-new { background: var(--metal); color: var(--black); border-color: transparent; }
.store-card.is-new .store-tag { color: var(--black-3); }
.store-card.is-new .tbd { color: var(--black-3); border-color: rgba(11,11,12,0.4); }
.store-card.is-new dl > div { border-color: rgba(11,11,12,0.2); }
.store-card.is-new dt { color: var(--black-3); }
.store-name { margin: 16px 0 28px; font-size: 18px; font-weight: 500; line-height: 1.7; }
.store-card dl > div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-dark); font-size: 13px; }
.store-card dt { font-family: var(--font-label); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver-dark); padding-top: 4px; }
@media (min-width: 960px) {
  .store-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 8. オンライン ---------- */
.online {
  position: relative; padding: var(--section-y) 0; text-align: center; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(217,219,222,0.14), transparent 70%),
    var(--black-2);
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.online-inner { display: flex; flex-direction: column; align-items: center; }
.online .section-label::before { display: none; }
.online .section-lead { margin-left: auto; margin-right: auto; }
.online-actions { margin-top: 48px; }
.online-note { margin-top: 20px; font-size: 12px; color: var(--silver-dark); }

/* ---------- 9. FAQ ---------- */
.faq { background: var(--black); }
.faq-list { border-top: 1px solid var(--line-dark); }
.faq-list details { border-bottom: 1px solid var(--line-dark); }
.faq-list summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 28px 48px 28px 40px; font-weight: 500; font-size: 15px; line-height: 1.8;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  content: "Q"; position: absolute; left: 0; top: 24px;
  font-family: var(--font-en); font-size: 22px; color: var(--silver);
}
.faq-list summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px;
  background:
    linear-gradient(var(--silver), var(--silver)) center / 14px 1px no-repeat,
    linear-gradient(var(--silver), var(--silver)) center / 1px 14px no-repeat;
  transform: translateY(-50%); transition: transform .3s;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { padding: 0 0 32px 40px; color: rgba(246,245,242,0.72); font-size: 14px; }

/* ---------- 10. 最後の案内 ---------- */
.final {
  position: relative; padding: clamp(120px, 18vw, 220px) 0; text-align: center;
  background: var(--white); color: var(--black); overflow: hidden;
}
.final::before {
  content: "BLAZE"; position: absolute; left: 50%; bottom: -4vw; transform: translateX(-50%);
  font-family: var(--font-en); font-size: clamp(140px, 30vw, 420px); line-height: 1; letter-spacing: 0.1em;
  color: rgba(11,11,12,0.04); pointer-events: none; white-space: nowrap;
}
.final-inner { position: relative; }
.final .eyebrow { color: var(--silver-dark); }
.final-title { margin: 28px 0 24px; font-weight: 500; font-size: clamp(32px, 6.4vw, 72px); line-height: 1.4; letter-spacing: 0.06em; }
.final-lead { color: rgba(11,11,12,0.7); }
.final-actions { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.final .btn-light { background: var(--black); color: var(--white); }
.final .btn-light:hover { background: var(--black-3); }
.final .btn-light.is-pending:hover { background: var(--black); }
.final .btn-ghost { color: var(--black); border-color: rgba(11,11,12,0.4); }
.final .btn-ghost:hover { border-color: var(--black); background: rgba(11,11,12,0.04); }
.final .btn-ghost.is-pending:hover { background: transparent; border-color: rgba(11,11,12,0.4); }
.final-actions .btn { width: 100%; max-width: 360px; }
@media (min-width: 960px) {
  .final-actions { flex-direction: row; justify-content: center; }
  .final-actions .btn { width: auto; }
}

/* ---------- フッター ---------- */
.site-footer { background: var(--black); padding: 80px 0 120px; border-top: 1px solid var(--line-dark); text-align: center; }
.footer-sub { margin-top: 8px; font-family: var(--font-label); font-size: 11px; letter-spacing: 0.2em; color: var(--silver-dark); }
.footer-nav { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; }
.footer-nav a { font-family: var(--font-label); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(246,245,242,0.7); }
.footer-note { margin-top: 40px; font-size: 11px; color: var(--silver-dark); line-height: 1.8; }
.copyright { margin-top: 16px; font-family: var(--font-label); font-size: 10px; letter-spacing: 0.2em; color: var(--silver-dark); }
@media (min-width: 768px) { .site-footer { padding-bottom: 80px; } }

/* ---------- スマホ用 下部ボタン ---------- */
.sp-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1.3fr;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
  background: rgba(11,11,12,0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-dark);
}
.sp-bar-btn {
  display: flex; align-items: center; justify-content: center; min-height: 48px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em;
  border: 1px solid rgba(246,245,242,0.4);
}
.sp-bar-btn.is-primary { background: var(--white); color: var(--black); border-color: var(--white); }
@media (min-width: 768px) { .sp-bar { display: none; } }

/* ---------- スクロール表示アニメーション ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll::after { animation: none; }
}

/* ---------- 内容量・想定価格 ---------- */
.price { display: inline-flex; flex-direction: column; gap: 2px; line-height: 1.5; }
.price-label {
  font-family: var(--font-label); font-size: 10px; letter-spacing: 0.2em; color: var(--silver-dark);
}
.price-main { font-family: var(--font-label); font-size: 18px; font-weight: 500; letter-spacing: 0.04em; }
.price-main small { font-family: var(--font-ja); font-size: 11px; font-weight: 400; margin-left: 2px; letter-spacing: 0.04em; }
.price-sub { font-size: 11px; letter-spacing: 0.04em; color: var(--silver-dark); }

/* 商品カード */
.product-meta { margin: -8px 0 28px; border-top: 1px solid var(--line-dark); }
.product-meta > div {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 14px;
}
.product-meta dt { color: rgba(246,245,242,0.6); }
.product-meta dd { text-align: right; }
.product-meta .price { align-items: flex-end; }

/* 商品詳細 */
.spec-list .price { align-items: flex-end; text-align: right; }

/* 比較表 */
.compare .price-main { font-size: 16px; }
.compare .price-sub, .compare .price-label { color: rgba(11,11,12,0.55); }
.price-note { margin-top: 20px; font-size: 11px; line-height: 1.9; color: rgba(11,11,12,0.6); }

/* ---------- 写真（実画像）の調整 ---------- */
/* ファーストビュー：明るい写真でも文字が読めるよう暗いグラデーションを強める */
.hero-media.has-image img { filter: grayscale(20%) contrast(1.05); }
.hero:has(.hero-media.has-image)::before {
  background:
    linear-gradient(180deg, rgba(11,11,12,0.35) 0%, rgba(11,11,12,0.45) 45%, rgba(11,11,12,0.92) 100%);
}
@media (min-width: 960px) {
  .hero:has(.hero-media.has-image)::before {
    background:
      linear-gradient(90deg, rgba(11,11,12,0.88) 0%, rgba(11,11,12,0.55) 45%, rgba(11,11,12,0.1) 75%),
      linear-gradient(180deg, transparent 60%, rgba(11,11,12,0.7) 100%);
  }
  .hero-media.has-image > img { object-position: 70% 30% !important; } /* 1枚表示のときだけ */
}

/* Style セクション */
.style-sec { background: var(--black); padding-bottom: clamp(64px, 10vw, 120px); }
.style-figure { margin: 0; }
.style-media { aspect-ratio: 4 / 5; max-width: 1440px; margin: 0 auto; }
.style-caption { margin-top: 16px; font-size: 11px; color: var(--silver-dark); }
@media (min-width: 768px) {
  .style-media { aspect-ratio: 21 / 9; }
}

/* Stylist セクション */
.stylist { background: var(--black-2); }
.stylist-grid { display: grid; gap: 48px; }
.stylist-card { margin: 0; }
.stylist-media { aspect-ratio: 1 / 1; margin-bottom: 24px; }
.stylist-name { margin: 12px 0 4px; font-size: 18px; font-weight: 500; }
.stylist-role { font-size: 13px; color: rgba(246,245,242,0.65); }
@media (min-width: 768px) {
  .stylist-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stylist-card:nth-child(2) { margin-top: 80px; }
}

/* ブランド画像 */
.brand-media.has-image { background: var(--paper); }

/* ---------- 店舗カード（config.js から作成） ---------- */
.store-line { display: block; line-height: 1.8; }
.store-kana {
  margin-top: 4px; font-size: 11px; font-weight: 400; letter-spacing: 0.12em; color: var(--silver-dark);
}
.store-note { font-size: 11px; color: var(--silver-dark); }
.store-nowrap { white-space: nowrap; }
.store-tel { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--silver-dark); }

/* ---------- 商品詳細：商品写真 ＋ イメージ写真 ---------- */
/* 商品写真（大）に、イメージ写真（小）を右下へ重ねて配置 */
.detail-visual { position: relative; padding-bottom: 18%; }
.detail-style {
  position: absolute; right: 0; bottom: 0; width: 46%; margin: 0;
}
.detail-style-media {
  aspect-ratio: 4 / 5;
  border: 6px solid var(--black-2);
  box-shadow: 0 24px 48px rgba(0,0,0,0.45);
}
.detail-style-media .placeholder small { font-size: 10px; }
.detail-style figcaption {
  margin-top: 8px; font-size: 10px; line-height: 1.6; letter-spacing: 0.04em; color: var(--silver-dark);
}
.detail-visual .detail-media { width: 86%; }
.detail.reverse .detail-visual .detail-media { margin-left: auto; }
.detail.reverse .detail-style { right: auto; left: 0; }
@media (min-width: 960px) {
  .detail-style { width: 42%; }
  .detail-style-media { border-width: 8px; }
  .detail-style figcaption { font-size: 11px; }
}
/* 仮の商品画像の表示を、イメージ写真と重ならない側へ寄せる */
.detail-visual .detail-media .placeholder { padding: 0 34% 18% 0; }
.detail.reverse .detail-visual .detail-media .placeholder { padding: 0 0 18% 34%; }

/* ---------- MIX STYLE（2品使い） ---------- */
.mix {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 85% 10%, rgba(217,219,222,0.10), transparent 70%),
    var(--black);
  border-top: 1px solid var(--line-dark);
}
.mix::before {
  content: "MIX"; position: absolute; left: -1vw; bottom: -3vw;
  font-family: var(--font-en); font-size: clamp(140px, 30vw, 420px); line-height: 1; letter-spacing: 0.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(217,219,222,0.07); pointer-events: none;
}
.mix .container { position: relative; }
.mix-head { margin-bottom: clamp(48px, 7vw, 88px); }
.mix-title { margin: 0; font-weight: 500; }
.mix-title-en {
  display: block;
  font-family: var(--font-en); font-weight: 400;
  font-size: clamp(52px, 11vw, 132px); line-height: 1; letter-spacing: 0.06em;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mix-title-ja {
  display: flex; align-items: baseline; gap: 14px; margin-top: 22px;
  font-size: clamp(18px, 3vw, 28px); line-height: 1.6; letter-spacing: 0.08em;
}
.mix-dash { color: var(--silver-dark); }

.mix-grid { display: grid; gap: 56px; }

/* 2枚の写真を斜めに重ねる */
.mix-visual { position: relative; padding-bottom: 14%; }
.mix-photo { margin: 0; position: relative; }
.mix-photo .media { aspect-ratio: 4 / 5; }
.mix-photo-hard { width: 62%; }
.mix-photo-soft {
  position: absolute; right: 0; bottom: 0; width: 50%;
}
.mix-photo-soft .media { border: 6px solid var(--black); box-shadow: 0 24px 48px rgba(0,0,0,0.5); }
.mix-photo figcaption {
  position: absolute; left: 0; top: 0; z-index: 1;
  padding: 6px 12px; background: rgba(11,11,12,0.78);
  font-family: var(--font-label); font-size: 10px; letter-spacing: 0.28em; color: var(--silver-light);
}
.mix-photo-soft figcaption { left: 6px; top: 6px; }
.mix-cross {
  position: absolute; z-index: 2; left: 56%; top: 34%; transform: translate(-50%, -50%);
  font-family: var(--font-en); font-size: clamp(56px, 9vw, 96px); line-height: 1;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; pointer-events: none;
}

.mix-lead { color: rgba(246,245,242,0.78); }
.mix-pair {
  margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px;
  font-family: var(--font-en); font-size: clamp(22px, 2.6vw, 28px); letter-spacing: 0.06em; line-height: 1.4;
}
.mix-plus { color: var(--silver-dark); }
.mix-price {
  margin-top: 28px; padding: 24px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.mix-price-label {
  font-family: var(--font-label); font-size: 11px; letter-spacing: 0.24em; color: var(--silver); margin-bottom: 8px;
}
.mix-price .price-main { font-size: 30px; }
.mix-price .price-sub { font-size: 12px; }
.mix-price-note { margin-top: 10px; font-size: 11px; color: var(--silver-dark); line-height: 1.7; }
.mix-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.mix-actions .btn { flex: 1 1 200px; }
.mix-photo-note { margin-top: 16px; font-size: 10px; color: var(--silver-dark); }

/* 配合比率カード */
.mix-ratio-title { margin-top: clamp(72px, 10vw, 120px); }
.mix-ratios { display: grid; gap: 16px; counter-reset: none; }
.mix-ratio {
  padding: 32px 28px 36px;
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  border: 1px solid var(--line-dark);
}
.mix-ratio-num {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px;
  font-family: var(--font-label); color: var(--silver);
}
.mix-ratio-num .r-label { font-size: 10px; letter-spacing: 0.24em; }
.mix-ratio-num .r-val {
  font-family: var(--font-en); font-size: 44px; line-height: 1; color: var(--white); margin-right: 4px;
}
.mix-ratio-num .r-colon { font-family: var(--font-en); font-size: 32px; color: var(--silver-dark); margin: 0 8px; }
.mix-bar { display: flex; gap: 3px; height: 6px; margin: 22px 0 24px; }
.mix-bar span { display: block; flex-basis: 0; }
.mix-bar-hard { background: linear-gradient(90deg, #6f7278, #a4a7ac); }
.mix-bar-soft { background: linear-gradient(90deg, #dfe0e2, #f6f5f2); }
.mix-ratio-name { font-size: 18px; font-weight: 500; letter-spacing: 0.08em; margin-bottom: 8px; }
.mix-ratio-text { font-size: 14px; color: rgba(246,245,242,0.7); line-height: 1.9; }

@media (min-width: 960px) {
  .mix-grid { grid-template-columns: 1.05fr 1fr; gap: 96px; align-items: center; }
  .mix-photo-soft .media { border-width: 8px; }
  .mix-ratios { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .mix-ratio { padding: 40px 36px 44px; }
}
/* 英字フォントの数字を「1」と読める形にそろえる／×を写真の空きスペースへ */
.mix-ratio-num .r-val, .mix-price .price-main { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.mix-cross { left: 81%; top: 20%; }

/* ---------- BGM ボタン（画面右下） ---------- */
.bgm-toggle {
  position: fixed; z-index: 45;
  right: 16px; bottom: calc(80px + env(safe-area-inset-bottom)); /* スマホ：下部の購入ボタンの上 */
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 16px 0 12px;
  background: rgba(11,11,12,0.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(217,219,222,0.28); border-radius: 999px;
  color: var(--silver-light); cursor: pointer;
  font-family: var(--font-label); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  transition: border-color .3s, background .3s, opacity .3s;
}
.bgm-toggle:hover { border-color: rgba(217,219,222,0.6); background: rgba(20,20,22,0.85); }
.bgm-toggle:focus-visible { outline: 1px solid var(--silver-light); outline-offset: 3px; }
.bgm-icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; }
.bgm-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.bgm-icon svg path:first-child { fill: currentColor; stroke: none; opacity: 0.9; }
.bgm-label { white-space: nowrap; }
.bgm-toggle.is-loading { opacity: 0.6; }
.bgm-toggle.is-error { color: var(--silver-dark); border-style: dashed; }
.bgm-toggle.is-error .bgm-label { letter-spacing: 0.08em; text-transform: none; font-family: var(--font-ja); }

/* 再生中のイコライザー表示 */
.bgm-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.bgm-bars i {
  display: block; width: 2px; height: 100%;
  background: var(--metal); transform-origin: bottom;
  animation: bgmBar 1.1s ease-in-out infinite;
}
.bgm-bars i:nth-child(2) { animation-delay: -0.45s; }
.bgm-bars i:nth-child(3) { animation-delay: -0.8s; }
.bgm-bars i:nth-child(4) { animation-delay: -0.2s; }
@keyframes bgmBar { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }

/* スマホ：アイコンだけの丸ボタンにして邪魔にならないように */
@media (max-width: 767px) {
  .bgm-toggle { width: 44px; padding: 0; justify-content: center; }
  .bgm-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
/* PC：下部の購入ボタンが無いので右下へ */
@media (min-width: 768px) {
  .bgm-toggle { right: 28px; bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .bgm-bars i { animation: none; transform: scaleY(0.7); }
}
@media (min-width: 768px) { .hero-scroll { bottom: 104px; } } /* BGMボタンと重ならない位置へ */

/* ---------- ファーストビュー背景スライド（写真・動画） ---------- */
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img, .hero-slide video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(20%) contrast(1.05);
}
/* 写真はゆっくり寄っていく（高級感のある動き） */
.hero-slide img { transform: scale(1.0); transition: transform 8s ease-out; }
.hero-slide.is-active img { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide img { transition: none; }
  .hero-slide.is-active img { transform: none; }
}
.hero-media.has-slides { z-index: 0; } /* スライドを暗いグラデーションの下に収める */
/* 写真が未設定（準備中）のときは「※ 写真は〜イメージです」の注記を隠す */
.detail-style:has(.media:not(.has-image)) figcaption { display: none; }
