/* ============================================
   サンプル焙煎所 LP（LP制作サンプル・架空ブランド）
   Theme: 濃色高級型（Christie's／星のや同族）
   ★設定値の出所＝D:/work/ops/design-rules-lp.md（Hiroが「良い」と判定した実物4本の実測）
     - 和文で品を出す＝明朝の細ウェイト（200/300）＋字間 +1px前後＋行間 1.75〜2.0
     - 色数は「濃色＋白系＋グレー＋アクセント1色」で止める（ゴールドは Christie's 実測 #C9AC77）
     - 濃色か白かに振り切る（中間＝クリーム地＋白カードが一番アカン＝旧版の失敗）
     - セクション上下 padding は Linear 実測 128px 帯
     - 動きは CSS transition ＋ IntersectionObserver（video は参照4本とも0本）
   ============================================ */

:root {
  --ink-900: #12100d;   /* 地 */
  --ink-850: #171410;
  --ink-800: #1d1a15;
  --ink-700: #26221c;
  --line:        rgba(230, 224, 214, 0.13);
  --line-strong: rgba(230, 224, 214, 0.28);
  --text:     #e6e0d6;  /* ★真っ白やない（Blue Bottle が黒を避けたのの裏返し） */
  --text-dim: #9d9488;
  --gold:      #c9ac77;  /* ★アクセントはこの1色だけ */
  --gold-deep: #a98b52;

  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --pad-sec: clamp(84px, 10vw, 132px);
  --measure: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text);
  background: var(--ink-900);
  line-height: 2.0;              /* ★正本の帯（1.75〜2.0）の上限側 */
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.sp-only { display: inline; }
@media (min-width: 720px) { .sp-only { display: none; } }

.inner { max-width: var(--measure); margin: 0 auto; padding: var(--pad-sec) 24px; }

/* ---------- 見出し・ラベル（★明朝の細ウェイト＋字間を空ける） ---------- */
.label {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  line-height: 1.6;
  margin-bottom: 20px;
}
.title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  letter-spacing: 0.08em;        /* ★+1px前後 */
  line-height: 1.85;
  margin-bottom: 40px;
}

/* ---------- ボタン（アクセント1色で統一） ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-weight: 400;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  line-height: 1.6;
  padding: 15px 34px;
  border: 1px solid var(--gold);
  transition: background 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.btn-gold  { background: var(--gold); color: var(--ink-900); }   /* 比 約9:1 */
.btn-gold:hover  { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-ghost { background: transparent; color: var(--gold); }
.btn-ghost:hover { background: var(--gold); color: var(--ink-900); }
.btn-large  { padding: 18px 46px; font-size: 0.98rem; }
.btn-header { padding: 10px 20px; font-size: 0.78rem; letter-spacing: 0.1em; }

/* ---------- デモ明示バンド ---------- */
.demo-band {
  background: var(--ink-800);
  color: var(--text-dim);
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 9px 14px;
  position: relative;
  z-index: 110;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18, 16, 13, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(18, 16, 13, 0.94); }
.header-inner {
  max-width: var(--measure); margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  font-family: var(--font-serif);
  font-weight: 300; font-size: 1.02rem;
  letter-spacing: 0.18em; color: var(--text); text-decoration: none;
}
.global-nav { display: none; }
@media (min-width: 900px) { .global-nav { display: block; } }
.global-nav a {
  color: var(--text-dim); text-decoration: none;
  font-size: 0.8rem; letter-spacing: 0.12em; margin: 0 16px;
  transition: color 0.35s var(--ease);
}
.global-nav a:hover { color: var(--gold); }

/* ---------- 1. FV＝全面ビジュアル＋文字最小限 ---------- */
.hero { position: relative; min-height: 82vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  animation: heroDrift 26s var(--ease) forwards;
}
@keyframes heroDrift { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(18,16,13,0.92) 0%, rgba(18,16,13,0.72) 42%, rgba(18,16,13,0.28) 100%),
    linear-gradient(to top, rgba(18,16,13,0.95) 0%, transparent 42%);
}
.hero-inner {
  position: relative;
  max-width: var(--measure); width: 100%;
  margin: 0 auto; padding: 120px 24px 132px;
}
.hero-eyebrow {
  color: var(--gold);
  font-size: 0.75rem; letter-spacing: 0.3em; line-height: 1.8;
  margin-bottom: 30px;
}
.hero-catch {
  font-family: var(--font-serif);
  font-weight: 200;                                  /* ★極細＝Christie's は 100 */
  font-size: clamp(2.1rem, 6.4vw, 4rem);
  letter-spacing: 0.1em;
  line-height: 1.72;
  margin-bottom: 46px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 34px;
  width: 1px; height: 56px; background: linear-gradient(to bottom, transparent, var(--gold));
  opacity: 0.7;
}

/* ---------- 約束の帯（箱にせん・罫線だけ） ---------- */
.assurance {
  list-style: none;
  max-width: var(--measure); margin: 0 auto;
  padding: 0 24px;
  display: grid; grid-template-columns: 1fr;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 780px) { .assurance { grid-template-columns: repeat(4, 1fr); } }
.assurance li {
  padding: 22px 4px;
  font-size: 0.8rem; letter-spacing: 0.08em; color: var(--text-dim);
  text-align: center;
  border-top: 1px solid var(--line);
}
@media (min-width: 780px) {
  .assurance li { border-top: none; border-left: 1px solid var(--line); }
  .assurance li:first-child { border-left: none; }
}

/* ---------- 2. 共感＝写真とテキストの2分割 ---------- */
.split {
  max-width: var(--measure); margin: 0 auto;
  padding: var(--pad-sec) 24px;
  display: grid; gap: clamp(38px, 5vw, 72px); align-items: center;
}
@media (min-width: 860px) { .split { grid-template-columns: 0.8fr 1fr; } }
.split-media img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }  /* ★縦位置（生成物の白帯を切った結果） */
.rule-list { list-style: none; margin-bottom: 38px; }
.rule-list li {
  padding: 19px 0 19px 26px;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 0.94rem; line-height: 1.9;
  position: relative;
}
.rule-list li:last-child { border-bottom: 1px solid var(--line); }
.rule-list li::before {
  content: ""; position: absolute; left: 0; top: 33px;
  width: 12px; height: 1px; background: var(--gold);
}
.lead { font-size: 0.98rem; line-height: 2.0; }
.lead em { font-style: normal; color: var(--gold); }

/* ---------- フルブリードの写真帯 ---------- */
.band { line-height: 0; }
.band img { width: 100%; height: clamp(240px, 40vw, 420px); object-fit: cover; }
.band-tall img { height: clamp(200px, 30vw, 340px); }

/* ---------- 3. こだわり＝カード3連をやめて交互組み ---------- */
.craft { max-width: var(--measure); margin: 0 auto; padding: var(--pad-sec) 24px; }
.craft-head { margin-bottom: clamp(48px, 6vw, 84px); }
.craft-row {
  display: grid; gap: clamp(28px, 4vw, 64px); align-items: center;
  margin-bottom: clamp(56px, 7vw, 104px);
}
.craft-row:last-child { margin-bottom: 0; }
@media (min-width: 860px) {
  .craft-row { grid-template-columns: 1fr 1fr; }
  .craft-row.is-reverse .craft-media { order: 2; }
}
.craft-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.craft-body .num {
  display: block;
  font-family: var(--font-serif); font-weight: 200;
  font-size: 2.6rem; letter-spacing: 0.06em;
  color: var(--gold); opacity: 0.8;
  line-height: 1; margin-bottom: 22px;
}
.craft-body h3 {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  letter-spacing: 0.08em; line-height: 1.85;
  margin-bottom: 20px;
}
.craft-body p { color: var(--text-dim); font-size: 0.94rem; line-height: 2.0; }

/* ---------- 4. 3ステップ（箱やなく写真＋罫線） ---------- */
.flow { list-style: none; display: grid; gap: clamp(40px, 5vw, 56px); }
@media (min-width: 820px) { .flow { grid-template-columns: repeat(3, 1fr); } }
.flow li { border-top: 1px solid var(--line); padding-top: 0; }
.flow figure { margin: 0 0 26px; }
.flow figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.flow .num {
  display: inline-block;
  font-family: var(--font-serif); font-weight: 200;
  font-size: 1.5rem; color: var(--gold); letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.flow h3 {
  font-family: var(--font-serif); font-weight: 300;
  font-size: 1.12rem; letter-spacing: 0.08em; line-height: 1.85; margin-bottom: 14px;
}
.flow p { color: var(--text-dim); font-size: 0.88rem; line-height: 2.0; }

/* ---------- 5. お客様の声＝写真の上に引用 ---------- */
.voice { position: relative; overflow: hidden; }
.voice-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.voice-shade { position: absolute; inset: 0; background: rgba(18, 16, 13, 0.86); }
.voice .inner { position: relative; }
.voice-note { display: block; font-family: var(--font-sans); font-size: 0.72rem; color: var(--text-dim); letter-spacing: 0.08em; margin-top: 8px; }
.quotes { display: grid; gap: 0; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 0 clamp(28px, 3vw, 48px); } }
.quotes blockquote { border-top: 1px solid var(--line-strong); padding: 30px 0 34px; }
.quotes blockquote p {
  font-family: var(--font-serif); font-weight: 300;
  font-size: 1.0rem; letter-spacing: 0.05em; line-height: 2.0;
  margin-bottom: 18px;
}
.quotes blockquote p::before { content: "「"; color: var(--gold); }
.quotes blockquote p::after  { content: "」"; color: var(--gold); }
.quotes footer { font-size: 0.76rem; letter-spacing: 0.1em; color: var(--text-dim); }

/* ---------- 6. 料金プラン（白カードをやめる） ---------- */
.plan-grid { display: grid; gap: clamp(36px, 4vw, 48px); }
@media (min-width: 880px) { .plan-grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.plan-item {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 0;
}
.plan-item.is-popular { border-top-color: var(--gold); }
.plan-badge {
  position: absolute; top: 0; left: 0;
  background: var(--gold); color: var(--ink-900);
  font-size: 0.68rem; letter-spacing: 0.16em;
  padding: 5px 14px; z-index: 2;
}
.plan-item figure { margin: 0 0 26px; }
.plan-item figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.plan-item h3 {
  font-family: var(--font-serif); font-weight: 300;
  font-size: 1.14rem; letter-spacing: 0.1em; margin-bottom: 10px;
}
.price { font-family: var(--font-serif); font-weight: 200; color: var(--gold); margin-bottom: 22px; line-height: 1.4; }
.price strong { font-size: 2.5rem; font-weight: 200; letter-spacing: 0.02em; }
.price span { font-size: 0.8rem; letter-spacing: 0.1em; margin-left: 6px; color: var(--text-dim); }
.plan-item ul { list-style: none; margin-bottom: 30px; }
.plan-item ul li {
  font-size: 0.86rem; color: var(--text-dim); line-height: 1.9;
  padding: 11px 0 11px 22px; border-top: 1px solid var(--line); position: relative;
}
.plan-item ul li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 1px; background: var(--gold); opacity: 0.7; }
.plan-item .btn { display: block; }
.note { margin-top: clamp(40px, 5vw, 64px); font-size: 0.74rem; line-height: 2.0; color: var(--text-dim); }

/* ---------- 7. FAQ ---------- */
.faq-inner {
  max-width: var(--measure); margin: 0 auto;
  padding: var(--pad-sec) 24px;
  display: grid; gap: clamp(38px, 5vw, 72px); align-items: start;
}
@media (min-width: 900px) { .faq-inner { grid-template-columns: 0.85fr 1.15fr; } }
.faq-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 900px) { .faq-media { position: sticky; top: 120px; } }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  padding: 22px 34px 22px 0; position: relative;
  font-size: 0.92rem; line-height: 1.85; letter-spacing: 0.04em;
  transition: color 0.35s var(--ease);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold); }
.faq-list summary::after {
  content: ""; position: absolute; right: 4px; top: 50%;
  width: 11px; height: 1px; background: var(--gold);
  box-shadow: 0 0 0 0 transparent;
  transition: transform 0.4s var(--ease);
}
.faq-list summary::before {
  content: ""; position: absolute; right: 9px; top: 50%; margin-top: -5px;
  width: 1px; height: 11px; background: var(--gold);
  transition: opacity 0.35s var(--ease), transform 0.4s var(--ease);
}
.faq-list details[open] summary::before { opacity: 0; transform: rotate(90deg); }
.faq-list details p {
  color: var(--text-dim); font-size: 0.88rem; line-height: 2.0;
  padding: 0 34px 26px 0;
}

/* ---------- 8. クロージング ---------- */
.closing { position: relative; overflow: hidden; }
.closing-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closing-shade { position: absolute; inset: 0; background: linear-gradient(to right, rgba(18,16,13,0.94), rgba(18,16,13,0.62)); }
.closing-inner {
  position: relative;
  max-width: var(--measure); margin: 0 auto;
  padding: clamp(110px, 13vw, 176px) 24px;
  text-align: center;
}
.closing-catch {
  font-family: var(--font-serif); font-weight: 200;
  font-size: clamp(1.65rem, 4.4vw, 2.7rem);
  letter-spacing: 0.1em; line-height: 1.8;
  margin-bottom: 24px;
}
.closing-inner p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 42px; }

/* ---------- 追従CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(18, 16, 13, 0.93);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.45s var(--ease);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .btn { display: block; padding: 14px; }
@media (min-width: 820px) { .sticky-cta { display: none; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .inner { padding: clamp(56px, 7vw, 88px) 24px; text-align: center; }
.foot-brand {
  font-family: var(--font-serif); font-weight: 300;
  font-size: 1rem; letter-spacing: 0.2em; margin-bottom: 22px;
}
.demo-note { font-size: 0.74rem; line-height: 2.0; color: var(--text-dim); margin-bottom: 18px; }
.demo-note a { color: var(--gold); }
.copyright { font-size: 0.7rem; letter-spacing: 0.1em; color: var(--text-dim); opacity: 0.7; }

/* ---------- スクロール連動の出現（★動画は使わん＝参照4本とも video 0本） ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
/* JS が無い/落ちた時は最初から見えとる（本文が消えん） */
html:not(.js) .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-bg { animation: none; }
  .btn, .sticky-cta, .faq-list summary::before, .faq-list summary::after { transition: none !important; }
}
