/* ── RESET ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }
ul { list-style: none; }

/* ── TOKENS ───────────────────────────────── */
:root {
  --ink:         28, 25, 23;
  --ink-light:   105, 97, 89;
  --rule:        rgba(28,25,23,0.18);
  --rule-light:  rgba(28,25,23,0.10);
  --bg:          #F8F6F2;
  --f-display:   'Playfair Display', serif;
  --f-body:      'EB Garamond', serif;
  --f-jp:        'Noto Serif JP', serif;
}

body {
  background: var(--bg);
  color: rgb(var(--ink));
  font-family: var(--f-jp);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

/* ── RULES ────────────────────────────────── */
.rule         { display: block; width: 100%; height: 1px;  background: var(--rule); }
.rule-thick   { display: block; width: 100%; height: 4px;  background: rgb(var(--ink)); }
.rule-hairline{ display: block; width: 100%; height: 1px;  background: var(--rule-light); }
.rule-double  {
  display: block; width: 100%;
  border-top: 1.5px solid rgb(var(--ink));
  padding-top: 2px;
  border-bottom: 1.5px solid rgb(var(--ink));
}

/* ── TYPOGRAPHY ───────────────────────────── */
.section-label {
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(var(--ink-light));
  white-space: nowrap;
}
.section-label-lg {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(var(--ink));
  white-space: nowrap;
}
.headline {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: rgb(var(--ink));
}
.byline {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(var(--ink-light));
}
.body-jp {
  font-family: var(--f-jp);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: rgb(var(--ink));
}
.body-en {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.6;
  color: rgb(52, 48, 44);
}
.heading-jp {
  font-family: var(--f-jp);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: rgb(var(--ink));
}
.pull-quote {
  font-family: var(--f-body);
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.35;
  color: rgb(var(--ink));
  text-align: center;
}
.drop-cap::first-letter {
  font-family: var(--f-jp);
  font-size: 4em;
  font-weight: 300;
  float: left;
  line-height: 0.88;
  margin-right: 8px;
  margin-top: 4px;
  color: rgb(var(--ink));
}
.drop-cap::after { content: ''; display: table; clear: both; }

/* ── LAYOUT ───────────────────────────────── */
.px           { padding-left: 48px; padding-right: 48px; }
.container    { max-width: 896px;  margin: 0 auto; }
.container-w  { max-width: 1000px; margin: 0 auto; }
.sec-pad      { padding-top: 64px; padding-bottom: 64px; }

.sec-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.sec-row .rule { flex: 1; }

/* ── HEADER ───────────────────────────────── */
.site-header { padding: 24px 48px 0; }
.header-inner { display: flex; align-items: center; }
.header-rule-side { flex: 1; position: relative; }
.header-line { display: block; width: 100%; height: 1.5px; background: rgb(var(--ink)); }
.header-est {
  font-family: var(--f-display);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgb(var(--ink-light));
  position: absolute;
  bottom: calc(100% + 4px);
  left: 0;
}
.header-logo { padding: 0 32px; }
.header-logo img { height: 120px; width: auto; margin: 0 auto; }

/* ── HERO ─────────────────────────────────── */
.hero {
  padding: 12px 48px 0;
  position: relative;
}
/* 動画ソースの黒帯（上下各 15.2%）をクロップ
   clip-path: inset(0) は overflow:hidden より iOS Safari での
   video クリップの信頼性が高い。scale(1.6) で黒帯を確実に枠外へ */
.page-home .hero {
  overflow: hidden;
  clip-path: inset(0);
}
.hero img,
.hero-video {
  width: 100%; height: 65vh; height: 65dvh;
  object-fit: cover;
  object-position: center 50%;
  display: block;
  background: #0a0a0a;
  transform: scale(1.6);
  transform-origin: center 50%;
}
.hero-video {
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 12px 48px 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.38) 60%,
    rgba(0,0,0,0.62) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 56px;
  text-align: center;
}
.hero-kopy {
  font-family: var(--f-jp);
  font-size: 52px;
  font-weight: 300;
  line-height: 1.25;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.hero-sub {
  font-family: var(--f-body);
  font-style: italic;
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.04em;
  max-width: 520px;
  line-height: 1.6;
}

/* ── NAV ──────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,246,242,0.97);
  backdrop-filter: blur(10px);
  margin-top: 12px;
  transition: box-shadow 0.3s;
}
nav.scrolled {
  box-shadow: 0 2px 16px rgba(28,25,23,0.08);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 48px; height: 64px;
}
.nav-links { display: flex; gap: 32px; flex: 1; justify-content: center; }
.nav-links a {
  font-family: var(--f-display);
  font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(var(--ink-light));
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: rgb(var(--ink)); }
.nav-links a.active {
  border-bottom: 1px solid rgb(var(--ink));
  padding-bottom: 2px;
}
.nav-store {
  font-family: var(--f-display);
  font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgb(var(--ink));
  padding: 8px 20px;
  color: rgb(var(--ink));
  transition: background 0.2s, color 0.2s;
}
.nav-store:hover,
.nav-store.active { background: rgb(var(--ink)); color: var(--bg); }

/* ── HAMBURGER (hidden on desktop) ─────── */
.nav-hamburger { display: none; }
.nav-drawer    { display: none; }

/* ── モバイル専用改行（デスクトップでは非表示） ── */
.br-sp-show { display: none; }

/* ── PAGE HERO (non-Brand pages) ─────────── */
.page-hero {
  padding: 56px 48px 48px;
  border-bottom: 1px solid var(--rule);
}
.page-hero-inner { max-width: 896px; margin: 0 auto; }

/* ── FEATURE ──────────────────────────────── */
.feature-wrap { padding: 0 48px; }
.feature-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
  padding: 40px 0 32px;
}
.feature-h2 {
  font-family: var(--f-jp); font-size: 42px;
  font-weight: 300; line-height: 1.3;
  color: rgb(var(--ink)); margin-bottom: 24px;
}
.feature-img img { width: 100%; object-fit: cover; filter: grayscale(10%); }
.badge-row {
  display: flex; align-items: center;
  justify-content: center; gap: 40px;
  padding: 24px 0;
}
.badge-item { display: flex; align-items: center; gap: 10px; }
.badge-star { font-size: 16px; color: rgb(var(--ink)); }
.badge-text { font-family: var(--f-jp); font-size: 12px; color: rgb(var(--ink-light)); }
.badge-divider { height: 24px; width: 1px; background: var(--rule-light); }

/* ── NEWSPAPER COLUMNS ───────────────────── */
.newspaper-cols { columns: 2; column-gap: 40px; }
.newspaper-cols p { break-inside: avoid; }

/* ── CONCEPT PILLARS ──────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); }
.pillar { padding: 0 40px; border-left: 1px solid var(--rule-light); }
.pillar:first-child { padding-left: 0; border-left: none; }
.pillar-num {
  font-family: var(--f-display); font-size: 40px;
  font-weight: 700; color: rgb(var(--ink));
  display: block; margin: 12px 0 4px;
}

/* ── PROGRAM ──────────────────────────────── */
.program-cols { display: grid; grid-template-columns: 1fr 1fr; }
.program-col { padding: 0 40px; border-left: 1px solid var(--rule-light); }
.program-col:first-child { padding-left: 0; border-left: none; }
.tag-inline {
  font-family: var(--f-display); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid rgb(var(--ink));
  padding: 3px 12px; display: inline-block;
  color: rgb(var(--ink)); margin-bottom: 16px;
}
.prog-list { margin: 8px 0 24px; }
.prog-list li {
  font-family: var(--f-jp); font-size: 13px; font-weight: 300;
  line-height: 1.8; padding: 6px 0;
  border-top: 1px solid var(--rule-light);
  display: flex; gap: 8px;
}
.prog-list li:first-child { border-top: none; }
.star { color: rgb(var(--ink)); flex-shrink: 0; }

/* ── BUTTONS & LINKS ─────────────────────── */
.link-btn {
  font-family: var(--f-display); font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid rgb(var(--ink));
  padding: 8px 20px; display: inline-block;
  color: rgb(var(--ink));
  transition: background 0.2s, color 0.2s;
}
.link-btn:hover { background: rgb(var(--ink)); color: var(--bg); }
.btn-store {
  font-family: var(--f-display); font-size: 13px;
  letter-spacing: 0.15em; text-transform: uppercase;
  border: 2px solid rgb(var(--ink));
  padding: 10px 32px; display: inline-block;
  color: rgb(var(--ink)); margin-top: 24px;
  transition: background 0.2s, color 0.2s;
}
.btn-store:hover { background: rgb(var(--ink)); color: var(--bg); }

/* ── PRODUCT ──────────────────────────────── */
.product-grid {
  display: grid; grid-template-columns: 2fr 3fr;
  gap: 0; align-items: start;
}
.product-img { padding-right: 48px; }
.product-info { padding-left: 48px; border-left: 1px solid var(--rule-light); }
.product-img img { width: 100%; object-fit: cover; filter: grayscale(10%); }
.spec-row {
  display: flex; padding: 10px 0;
  border-bottom: 1px solid var(--rule-light);
}
.spec-lbl {
  font-family: var(--f-body); font-size: 13px; font-weight: 600;
  width: 80px; flex-shrink: 0; color: rgb(var(--ink-light));
}
.spec-val { font-family: var(--f-jp); font-size: 13px; font-weight: 300; color: rgb(var(--ink)); }

/* ── HOW TO USE ───────────────────────────── */
.howto-grid {
  display: grid; grid-template-columns: 2fr 3fr;
  gap: 0; align-items: start;
}
.howto-img { padding-right: 48px; }
.howto-img img { width: 100%; object-fit: cover; filter: grayscale(15%); }
.howto-steps { padding-left: 48px; border-left: 1px solid var(--rule-light); }
.step { padding: 24px 0; border-top: 1px solid var(--rule-light); }
.step:first-child { border-top: none; padding-top: 0; }
.step-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.step-num {
  font-family: var(--f-display); font-size: 30px;
  font-weight: 700; color: rgb(var(--ink)); line-height: 1;
}

/* ── EDITORIAL ────────────────────────────── */
.editorial-inner {
  max-width: 680px; margin: 0 auto;
  padding: 72px 48px 88px; text-align: center;
}
.editorial-inner .pull-quote { font-size: 34px; margin: 40px auto; max-width: 480px; }
.editorial-credit {
  font-family: var(--f-body); font-size: 12px;
  letter-spacing: 0.1em; color: rgb(var(--ink-light));
  margin-top: 40px;
}

/* ── FAQ ──────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--rule-light); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; padding: 20px 0;
  text-align: left;
  font-family: var(--f-jp); font-size: 13px;
  font-weight: 400; line-height: 1.7;
  color: rgb(var(--ink));
}
.faq-q:hover { text-decoration: underline; text-underline-offset: 3px; }
.faq-chevron { flex-shrink: 0; transition: transform 0.3s; color: rgb(var(--ink-light)); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-text {
  font-family: var(--f-jp); font-size: 13px; font-weight: 300;
  line-height: 1.85; color: rgb(var(--ink-light)); padding: 0 0 20px;
}

/* ── STORE / COMING SOON ─────────────────── */
.store-cols { display: grid; grid-template-columns: repeat(3,1fr); }
.store-col { padding: 0 32px; border-left: 1px solid var(--rule-light); }
.store-col:first-child { padding-left: 0; border-left: none; }
.coming-soon {
  font-family: var(--f-body); font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgb(var(--ink-light));
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px; display: inline-block; margin-top: 16px;
}

/* ── SNS ──────────────────────────────────── */
.sns-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; margin: 24px 0;
}
.sns-item { aspect-ratio: 1; overflow: hidden; }
.sns-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(20%); transition: filter 0.3s, transform 0.3s;
}
.sns-item:hover img { filter: grayscale(0); transform: scale(1.02); }
.btn-follow {
  display: block; width: fit-content; margin: 0 auto;
  font-family: var(--f-display); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid rgb(var(--ink)); padding: 12px 40px;
  color: rgb(var(--ink)); transition: background 0.2s, color 0.2s;
}
.btn-follow:hover { background: rgb(var(--ink)); color: var(--bg); }

/* ── MATERIALS ────────────────────────────── */
.ingredient-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; align-items: start;
}
.ingredient-img { padding-right: 48px; }
.ingredient-img img { width: 100%; object-fit: cover; filter: grayscale(10%); }
.ingredient-body { padding-left: 48px; border-left: 1px solid var(--rule-light); }
.science-list { margin: 16px 0; }
.science-list li {
  font-family: var(--f-jp); font-size: 13px; font-weight: 300;
  line-height: 1.8; padding: 8px 0;
  border-top: 1px solid var(--rule-light);
  display: flex; gap: 12px; align-items: flex-start;
}
.science-list li:first-child { border-top: none; }
.sci-mark {
  font-family: var(--f-display); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgb(var(--ink-light)); flex-shrink: 0;
  margin-top: 3px; min-width: 72px;
}
.source-note {
  font-family: var(--f-body); font-size: 11px;
  font-style: italic; color: rgb(var(--ink-light));
  margin-top: 16px; line-height: 1.6;
}

/* ── JOURNAL ──────────────────────────────── */
.journal-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 40px;
}
.journal-card { }
.journal-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; filter: grayscale(10%); margin-bottom: 16px; }
.journal-coming {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; opacity: 0.4;
}
.journal-coming-item { aspect-ratio: 3/2; background: rgba(28,25,23,0.06); }

/* ── FOOTER ───────────────────────────────── */
footer { border-top: 1px solid var(--rule-light); padding: 32px 48px; }
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between;
}
.footer-copy { font-family: var(--f-body); font-size: 11px; letter-spacing: 0.15em; color: rgb(var(--ink-light)); }
.footer-ig {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-body); font-style: italic;
  font-size: 12px; letter-spacing: 0.08em;
  color: rgb(var(--ink-light)); transition: opacity 0.2s;
}
.footer-ig:hover { opacity: 0.5; }
footer.footer-centered { text-align: center; }
footer.footer-centered .footer-inner { justify-content: center; }

/* フッター補助リンク（モバイルで省略した Lab / Journal など） */
.footer-subnav {
  flex: 1 1 100%;
  width: 100%;
  text-align: center;
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--rule-light);
}
.footer-subnav a {
  color: rgb(var(--ink-light));
  transition: color 0.2s;
}
.footer-subnav a:hover { color: rgb(var(--ink)); }
.footer-subnav-sep {
  margin: 0 12px;
  color: var(--rule-light);
  user-select: none;
}
footer .footer-inner { flex-wrap: wrap; }
footer:not(.footer-centered) .footer-inner {
  justify-content: space-between;
}
footer.footer-centered .footer-inner {
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* ── HERO BADGES ──────────────────────────── */
.hero-badges {
  display: flex; gap: 20px; margin-top: 24px;
  justify-content: center; flex-wrap: wrap;
}
.hero-badge {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--f-body); font-size: 11px;
  letter-spacing: 0.12em; color: rgba(255,255,255,0.78);
}
.hero-subcopy {
  display: flex; gap: 10px; margin-top: 20px;
  justify-content: center; flex-wrap: wrap;
}
.hero-subcopy-item {
  font-family: var(--f-jp); font-size: 11px; font-weight: 300;
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 4px 14px; letter-spacing: 0.08em;
}

/* ── PROBLEM COLUMNS (Concept) ───────────── */
.problem-cols {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 0; margin: 32px 0;
}
.problem-col {
  padding: 32px 40px; border-left: 1px solid var(--rule-light);
  text-align: center;
}
.problem-col:first-child { padding-left: 0; border-left: none; }
.problem-title {
  font-family: var(--f-jp); font-size: 15px; font-weight: 400;
  color: rgb(var(--ink)); margin-top: 8px; display: block;
}

/* ── BENEFIT LIST ─────────────────────────── */
.benefit-list { margin: 24px 0; }
.benefit-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--rule-light);
  font-family: var(--f-jp); font-size: 14px; font-weight: 300;
  line-height: 1.7; color: rgb(var(--ink));
}
.benefit-item:first-child { border-top: none; }
.benefit-mark {
  font-family: var(--f-display); font-size: 10px;
  letter-spacing: 0.1em; color: rgb(var(--ink-light));
  flex-shrink: 0; margin-top: 4px; min-width: 16px;
}

/* ── INGREDIENT CARDS (index overview) ───── */
.ingredient-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  margin-top: 32px;
}
.ingredient-card {
  padding: 40px; background: rgba(28,25,23,0.03);
  border: 1px solid var(--rule-light);
}
.ingredient-card-num {
  font-family: var(--f-display); font-size: 36px;
  font-weight: 700; color: var(--rule);
  display: block; line-height: 1; margin-bottom: 16px;
}

/* ── DR. CARD ─────────────────────────────── */
.dr-card {
  display: grid; grid-template-columns: 180px 1fr;
  gap: 48px; align-items: start;
  padding: 40px; border: 1px solid var(--rule);
  margin-top: 32px;
}
.dr-card img { width: 100%; filter: grayscale(15%); }
.quality-badges { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.quality-badge {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-jp); font-size: 13px; font-weight: 300;
}
.quality-badge-check {
  font-family: var(--f-body); font-size: 14px;
  color: rgb(var(--ink)); flex-shrink: 0;
}

/* ── PERSONALIZED CARE ────────────────────── */
.care-cols {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 0;
  margin-top: 40px;
}
.care-col { padding: 0 40px; border-left: 1px solid var(--rule-light); }
.care-col:first-child { padding-left: 0; border-left: none; }

/* ── TYPE QUIZ ─────────────────────────────── */
.type-quiz {
  border: 1px solid var(--rule);
  padding: 36px;
  background: rgba(255,255,255,0.35);
}
.type-quiz-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 24px;
}
.type-quiz-question {
  margin-bottom: 16px;
}
.type-quiz-choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.type-quiz-choice {
  border: 1px solid var(--rule-light);
  padding: 14px 16px;
  text-align: left;
  font-family: var(--f-jp);
  font-size: 14px;
  font-weight: 300;
  color: rgb(var(--ink));
  transition: border-color 0.2s, background 0.2s;
}
.type-quiz-choice:hover {
  border-color: rgb(var(--ink));
}
.type-quiz-choice.active {
  border-color: rgb(var(--ink));
  background: rgba(28,25,23,0.05);
}
.type-quiz-result {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-light);
}
.type-quiz-result[hidden] {
  display: none;
}
.type-quiz-result-box {
  border: 1px solid var(--rule-light);
  padding: 18px;
  margin-top: 8px;
}

/* プログレスバー */
.quiz-progress {
  height: 2px;
  background: var(--rule-light);
  margin-bottom: 28px;
}
.quiz-progress-bar {
  height: 100%;
  background: rgb(var(--ink));
  transition: width 0.3s ease;
}

/* 戻る・やり直しボタン */
.quiz-back-btn {
  margin-top: 16px;
  font-family: var(--f-jp);
  font-size: 12px;
  color: rgb(var(--ink-light));
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: block;
}
.quiz-back-btn[hidden] { display: none; }

/* ステップ非表示 */
#quizStep[hidden]  { display: none; }
#quizResult[hidden]{ display: none; }

/* ── JOURNAL PREVIEW (homepage) ──────────── */
.journal-preview-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 32px; margin-top: 32px;
}
.journal-preview-card {}
.journal-preview-img {
  width: 100%; aspect-ratio: 3/2; overflow: hidden;
  margin-bottom: 16px;
}
.journal-preview-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(15%); transition: transform 0.4s;
}
.journal-preview-card:hover .journal-preview-img img { transform: scale(1.03); }
.journal-preview-cat {
  font-family: var(--f-display); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgb(var(--ink-light)); margin-bottom: 8px; display: block;
}
.journal-preview-title {
  font-family: var(--f-display); font-size: 17px;
  font-weight: 600; line-height: 1.3; color: rgb(var(--ink));
}

/* ── EDITORIAL SECTION (dark bg) ─────────── */
.editorial-section.px {
  padding-left: 0;
  padding-right: 0;
}
.editorial-section .rule-thick { display: none; }
.editorial-section {
  background:
    linear-gradient(rgba(20,18,16,0.87), rgba(20,18,16,0.87)),
    url('images/silk.webp') center center / cover no-repeat;
}
.editorial-section .editorial-inner {
  padding: 88px 48px 104px;
}
.editorial-section .byline          { color: rgba(255,255,255,0.48); }
.editorial-section .pull-quote      { color: #fff; }
.editorial-section .heading-jp      { color: rgba(255,255,255,0.86); }
.editorial-section .body-en         { color: rgba(255,255,255,0.68); }
.editorial-section .editorial-credit{ color: rgba(255,255,255,0.38); }
.editorial-section .rule-hairline   { background: rgba(255,255,255,0.18); }

/* ── INGREDIENT CARD HERO IMAGE ───────────── */
.ingredient-card-img {
  display: block;
  width: calc(100% + 80px);
  margin: -40px -40px 28px;
  height: 170px;
  overflow: hidden;
}
.ingredient-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
  display: block;
}

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 768px) {

  /* ── Base layout ── */
  .px       { padding-left: 20px; padding-right: 20px; }
  .sec-pad  { padding-top: 40px; padding-bottom: 40px; }

  /* ── Header ── */
  .site-header      { padding: 14px 20px 0; }
  .header-logo      { padding: 0 12px; }
  .header-logo img  { height: 64px; }
  .header-est       { font-size: 8px; letter-spacing: 0.12em; }

  /* ── Hero（トップ：ファーストビュー強化） ── */
  .page-home .hero {
    padding: 0;
    overflow: hidden;
    clip-path: inset(0);
  }
  .page-home .hero img,
  .page-home .hero-video {
    height: min(64dvh, 560px);
    min-height: 360px;
    object-position: center 50%;
    /* scale(1.6) で黒帯（上下15.2%）を確実に枠外へ
       autoplay のため position は static のまま維持 */
    transform: scale(1.6);
    transform-origin: center 50%;
  }
  .page-home .hero-overlay {
    inset: 0;
    padding: 0 22px 40px;
    overflow: hidden;
    text-align: center;
    align-items: center;
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.12) 0%,
      rgba(0,0,0,0.35) 42%,
      rgba(0,0,0,0.78) 100%
    );
    justify-content: flex-end;
  }
  .page-home .hero-kopy {
    font-size: clamp(32px, 8.8vw, 42px) !important;
    font-weight: 400 !important;
    line-height: 1.22 !important;
    margin-bottom: 14px !important;
    letter-spacing: 0.06em !important;
    text-align: center !important;
    width: 100% !important;
    padding-left: 0.9em !important; /* 「、」「。」の字幅分だけ右に視覚補正 */
    text-shadow:
      0 2px 40px rgba(0,0,0,0.55),
      0 0 80px rgba(0,0,0,0.35) !important;
  }
  .page-home .hero-sub {
    font-size: 14px !important;
    line-height: 1.65 !important;
    max-width: 100%;
    color: rgba(255,255,255,0.9) !important;
  }
  .page-home .hero-subcopy { display: none; }
  .page-home .hero-badges {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
    margin-top: 18px;
  }
  .page-home .hero-badge {
    font-size: 9px !important;
    letter-spacing: 0.1em !important;
    color: rgba(255,255,255,0.78) !important;
  }

  /* ── Nav — 読みやすさ優先（トップは4項目+Storeで横スクロールなし） ── */
  .nav-inner {
    padding: 0 14px;
    height: 52px;
    overflow-x: visible;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  .nav-links {
    display: flex !important;
    flex: 1;
    min-width: 0;
    gap: 0;
    justify-content: space-evenly;
  }
  .nav-links li { flex-shrink: 1; }
  .nav-links a {
    white-space: nowrap;
    padding: 0 6px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    letter-spacing: 0.12em;
    color: rgb(var(--ink));
  }
  .nav-store {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px 14px !important;
    font-size: 9px;
    letter-spacing: 0.14em;
    height: auto;
    min-height: 44px;
    align-self: center;
    margin-left: 0;
  }

  .page-home .nav-links {
    justify-content: space-between;
    max-width: calc(100% - 88px);
  }

  /* トップで Lab / Journal を隠す */
  .nav-link-mobile-hide { display: none !important; }

  /* ── NAVとセクションの被り修正 ── */
  section[id]       { scroll-margin-top: 60px; }
  nav + section,
  nav + .rule-thick { margin-top: 12px; }
  section#concept > .rule-thick:first-child { margin-top: 0; }

  /* ── Page hero ── */
  .page-hero        { padding: 28px 20px; }
  .page-hero h1     { font-size: 28px !important; }

  /* ── Section row ── */
  .sec-row  { flex-wrap: wrap; gap: 8px; }

  /* ── Typography ── */
  .pull-quote                  { font-size: 20px; }
  .feature-h2                  { font-size: 26px; }
  .editorial-inner             { padding: 40px 20px 56px; }
  .editorial-section .editorial-inner { padding: 48px 20px 64px; }
  .editorial-section .heading-jp {
    font-size: 15px !important;
    line-height: 1.75 !important;
  }

  /* ── Inline grids (g-resp) → 1 col ── */
  .g-resp {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* ── CSS grids → 1 col ── */
  .feature-grid,
  .product-grid,
  .howto-grid,
  .ingredient-grid,
  .ingredient-cards,
  .dr-card          { grid-template-columns: 1fr; gap: 24px; }

  /* Remove side padding/border when stacked */
  .feature-img,
  .product-img,
  .howto-img,
  .ingredient-img   { padding-right: 0; }
  .product-info,
  .howto-steps,
  .ingredient-body  { padding-left: 0; border-left: none; }

  /* 2-col program */
  .program-cols                  { grid-template-columns: 1fr; }
  .program-col                   { padding-left: 0; border-left: none; }
  .program-col + .program-col    { border-top: 1px solid var(--rule-light); padding-top: 28px; }

  /* 3-col grids → 1 col */
  .pillars,
  .problem-cols,
  .store-cols,
  .care-cols,
  .journal-grid,
  .journal-preview-grid { grid-template-columns: 1fr; }

  .pillar,
  .problem-col,
  .care-col {
    padding: 20px 0 !important;
    border-left: none !important;
    border-top: 1px solid var(--rule-light);
  }
  .pillar:first-child,
  .problem-col:first-child,
  .care-col:first-child { padding-top: 0 !important; border-top: none; }

  .store-col                  { padding: 20px 0; border-left: none; border-top: 1px solid var(--rule-light); }
  .store-col:first-child      { padding-top: 0; border-top: none; }

  .type-quiz      { padding: 24px; }
  .type-quiz-head { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Materials sourcing inline children */
  .g-resp > div[style*="border-right"] {
    padding: 20px 0 !important;
    border-right: none !important;
    border-top: 1px solid var(--rule-light);
  }
  .g-resp > div[style*="border-right"]:first-child {
    padding-top: 0 !important;
    border-top: none;
  }

  /* ── Misc ── */
  .newspaper-cols   { columns: 1; }
  .ingredient-card  { padding: 24px; }
  .ingredient-card-num { font-size: 26px; }
  .dr-card          { padding: 24px; }
  .dr-card img      { max-width: 100%; width: 100%; }
  .badge-row        { gap: 16px; flex-wrap: wrap; }
  .journal-coming   { grid-template-columns: 1fr 1fr; }

  /* ── Footer ── */
  footer            { padding: 24px 20px; }
  .footer-inner     { flex-direction: column; gap: 12px; text-align: center; }

  /* ── CRITICAL: inline style font-size overrides (!important 必須) ──
     HTMLのstyle属性は specificity=1000 でCSSクラスより強い。
     !important で強制上書きしないとモバイルで大文字が崩れる。 ── */

  /* 大見出し (38~48px → 22px) */
  .headline         { font-size: clamp(18px, 5vw, 22px) !important; line-height: 1.25 !important; }

  /* ページHeroのh1だけ少し大きく */
  .page-hero .headline { font-size: clamp(20px, 5.5vw, 26px) !important; }

  /* セクション見出しの中程度 (22~28px) はそのまま維持 */
  /* 引用・pull-quote */
  .pull-quote       { font-size: 17px !important; line-height: 1.5 !important; }
  .editorial-inner .pull-quote,
  .editorial-section .pull-quote {
    font-size: clamp(20px, 5.5vw, 26px) !important;
    line-height: 1.35 !important;
  }

  /* インラインflex 横並び → 縦並び */
  .spec-badges      { flex-direction: column !important; gap: 10px !important; }

  /* g-resp子要素の横方向padding・border除去（1列になるため不要） */
  .g-resp > div {
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-right: none !important;
    border-left: none !important;
  }

  /* journal下部リンク行: モバイルで縦並び */
  .journal-link-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }

  /* heading-jp inline font-sizeのモバイル上書き */
  .heading-jp { font-size: 15px !important; line-height: 1.75 !important; }

  /* page-heroのbody-en縮小 */
  .page-hero .body-en { font-size: 14px !important; line-height: 1.65 !important; }

  /* pull-quoteのmax-width: モバイルでは全幅 */
  .pull-quote { max-width: 100% !important; }

  /* 横スクロール防止 */
  body              { overflow-x: hidden; }

  /* ── フォントサイズ底上げ ─────────────────── */
  .section-label {
    font-size: 12px;
    white-space: normal;
    letter-spacing: 0.14em;
  }
  .byline           { font-size: 13px; }
  .body-jp          { font-size: 15px; line-height: 2.0; }
  .section-label-lg { font-size: 15px; }

  /* journal カードラベル（インラインスタイル対策） */
  .journal-card-label { font-size: 11px !important; }
  .journal-coming-tag { font-size: 12px !important; padding: 6px 14px !important; }

  /* タップターゲット */
  .link-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* <br class="br-sp-hide"> をモバイルで非表示 */
  .br-sp-hide { display: none; }

  /* <br class="br-sp-show"> をモバイルで表示 */
  .br-sp-show { display: inline; }

  /* sec-pad を微増（コンテンツ密度を下げる） */
  .sec-pad { padding-top: 48px; padding-bottom: 48px; }

  /* ── ハンバーガーメニュー ─────────────────── */
  .nav-links { display: none !important; }

  .nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-shrink: 0;
  }
  .nav-hamburger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: rgb(var(--ink));
    transition: all 0.3s ease;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* nav-inner モバイルレイアウト */
  .nav-inner {
    padding: 0 16px;
    height: 52px;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }

  /* ドロワー */
  .nav-drawer {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
  }
  .nav-drawer.open { max-height: 480px; }

  .nav-drawer-links {
    list-style: none;
    margin: 0;
    padding: 12px 20px 4px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .nav-drawer-links a {
    display: block;
    padding: 14px 0;
    font-family: var(--f-display);
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgb(var(--ink));
    text-decoration: none;
    border-bottom: 1px solid var(--rule-light);
    transition: color 0.2s;
  }
  .nav-drawer-links a:hover,
  .nav-drawer-links a.active { color: rgb(var(--ink-light)); }
  .nav-drawer-links li:last-child a { border-bottom: none; }

  .nav-drawer-store {
    display: block;
    margin: 16px 20px 20px;
    text-align: center;
    padding: 14px;
    font-family: var(--f-display);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: 1px solid rgb(var(--ink));
    color: rgb(var(--ink));
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
  }
  .nav-drawer-store:hover { background: rgb(var(--ink)); color: var(--bg); }
}

/* 極狭幅：380px 以下（ハンバーガー化したので横スクロール不要） */
@media (max-width: 380px) {
  .nav-store {
    padding: 6px 12px !important;
    font-size: 9px;
  }
}
