/* ==========================================================
   nagomi. brand site — Japanese Minimalism (Ma)
   palette: washi / sumi / vermilion
   ========================================================== */
:root {
  --washi: #f7f3ec;
  --washi-2: #efe9dd;
  --washi-3: #e6ddcc;
  --ink: #2b2723;
  /* 本文の大半がこの色なので、和紙背景とのコントラストを 5.4:1 → 6.8:1 に引き上げ */
  --ink-soft: #5c534a;
  /* 12px前後の小さい文字に使うため、WCAG AA(4.5:1)を満たす濃さに */
  --ink-faint: #6b6158;
  --accent: #b4472e;
  /* 12px前後の小さな文字用。--accent は淡い背景で 4.5:1 にわずかに届かない */
  --accent-text: #a83f27;
  --accent-deep: #93381f;
  /* 金は「線・囲み・装飾」用。読ませる文字には --gold-text を使う */
  --gold: #a8894f;
  --gold-text: #806530;
  --line: #ddd3c2;
  --card: #fffdf8;
  --shadow: 0 1px 2px rgba(43, 39, 35, 0.04), 0 12px 40px -18px rgba(43, 39, 35, 0.18);
  --font-min: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-goth: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

/* ブランドの世界観を固定するため、ダークモードでも常にライト（和紙）配色で表示する */
:root { color-scheme: light; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-goth);
  font-size: 16px;
  line-height: 2;
  /* palt を切ったぶん、字間はここで整える */
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--washi);
  /* antialiased は Mac/iOS で文字を細らせるため使わない */
  -webkit-font-smoothing: auto;
  /* palt は約物を詰める見出し向けの機能。本文に効かせると字送りが不均一になる */
  font-feature-settings: "palt" 0;
}

/* 詰め組みが効くのは見出しなど、短くて大きい文字だけ */
h1, h2, h3,
.sec-title, .prod-name, .scent-title, .trial-body h3, .quiz-type-name,
.hero h1, .hero-full h1, .lp-hero h1 {
  font-feature-settings: "palt";
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

::selection { background: var(--accent); color: #fff; }

/* キーボード操作時だけ出すフォーカスリング（マウスクリックでは出ない） */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* スキップリンク（Tabキー最初の1回だけ現れる） */
.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 0.65em 1.3em;
  border-radius: 4px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* 目には見えず、スクリーンリーダーだけが読むテキスト */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ページ内アンカーが固定ヘッダーに隠れないように */
[id] { scroll-margin-top: 5rem; }

/* 複数行になる大見出しの行末バランス（対応ブラウザのみ） */
.sec-title, .quiz-type-name, .article-head h1 { text-wrap: balance; }

/* ---------- type ---------- */
h1, h2, h3, .min { font-family: var(--font-min); font-weight: 500; }

/* 日本語の折り返し改善：見出し・短文は行長を揃え、文節単位で折り返す */
h1, h2, h3, .sec-title, .prod-name, .line-note, .lineup-note, .a-meta {
  text-wrap: balance;
  word-break: auto-phrase;
}
p, dd, li { text-wrap: pretty; }

.sec-label {
  font-family: var(--font-goth);
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: var(--accent-text);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.sec-title {
  font-size: clamp(1.5rem, 4.5vw, 2.1rem);
  line-height: 1.65;
  letter-spacing: 0.08em;
  margin-bottom: 1.4rem;
}

/* ---------- layout ---------- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 22px; }

section { padding: 4.5rem 0; }

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--washi) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.site-head.scrolled { box-shadow: 0 2px 18px -8px rgba(43, 39, 35, 0.18); }
.site-head.head-hide { transform: translateY(-100%); }

.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  height: 62px;
}

.brand {
  font-family: var(--font-min);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  line-height: 1;
}
.brand small {
  display: block;
  font-family: var(--font-goth);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  color: var(--ink-faint);
  margin-top: 4px;
}

.brand-logo {
  display: block;
  height: 30px;
  width: auto;
  mix-blend-mode: multiply;
}
.site-foot .brand-logo { height: 40px; }

.gnav { margin-left: auto; display: flex; align-items: center; gap: 1.6rem; }
.gnav a {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 8px 0;
}
.gnav a:not(.nav-cta) {
  position: relative;
}
.gnav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}
.gnav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.gnav a:hover { color: var(--ink); }
.gnav .nav-cta {
  color: #fff;
  background: var(--ink);
  padding: 9px 16px;
  border-radius: 999px;
  letter-spacing: 0.1em;
}
.gnav .nav-cta:hover { background: var(--accent); color: #fff; }

@media (max-width: 560px) {
  .gnav a:not(.nav-cta) { display: none; }
}

/* ---------- SPハンバーガーメニュー ---------- */
.menu-btn { display: none; }
@media (max-width: 560px) {
  .menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
    margin-left: 0.1rem;
    flex-shrink: 0;
  }
  .menu-btn span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  body.mnav-open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.mnav-open .menu-btn span:nth-child(2) { opacity: 0; }
  body.mnav-open .menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

.mnav {
  position: fixed;
  inset: 62px 0 0 0;
  background: var(--washi);
  z-index: 49;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}
body.mnav-open .mnav { opacity: 1; pointer-events: auto; }
body.mnav-open { overflow: hidden; }

.mnav-links { display: flex; flex-direction: column; padding: 1.2rem 22px 3rem; }
.mnav-links a {
  font-family: var(--font-min);
  font-size: 1.15rem;
  letter-spacing: 0.15em;
  text-decoration: none;
  color: var(--ink);
  padding: 1.05rem 0.2rem;
  border-bottom: 1px solid var(--line);
}
.mnav-links a.mnav-cta { color: var(--accent); }
.mnav-links a.mnav-line { color: #06803a; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 5rem;
  background:
    radial-gradient(58% 42% at 82% 12%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 70%),
    radial-gradient(50% 40% at 12% 88%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%),
    var(--washi);
}

.hero::after {
  /* rising incense smoke line */
  content: "";
  position: absolute;
  right: clamp(16px, 8vw, 120px);
  bottom: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to top, var(--line), transparent 85%);
  pointer-events: none;
}

.hero .wrap { position: relative; }

.hero-tate {
  position: absolute;
  top: 0.4rem;
  right: 0;
  writing-mode: vertical-rl;
  font-family: var(--font-min);
  font-size: 0.86rem;
  letter-spacing: 0.5em;
  color: var(--ink-faint);
  height: 15em;
}

.hero h1 {
  font-size: clamp(2rem, 6.5vw, 3.4rem);
  line-height: 1.6;
  letter-spacing: 0.1em;
  max-width: 21em;
}

.hero .sub {
  margin-top: 1.6rem;
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 34em;
}

.hero-ctas { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-visual {
  margin: 3.2rem 0 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; height: auto; }

.story-visual {
  margin: 2rem 0 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.story-visual img { width: 100%; height: auto; }

.hero-meta {
  margin-top: 3.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}
.hero-meta span::before { content: "— "; color: var(--gold); }

/* ---------- hero：上に画像、下にキャッチコピー ---------- */
.hero-full { padding: 0; }
.hero-full picture { display: block; overflow: hidden; }
.hero-bg {
  display: block;
  width: 100%;
  height: 62vh;
  min-height: 360px;
  object-fit: cover;
  object-position: center 42%;
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-bg { animation: heroZoom 2.4s ease-out both; }
}
.hero-scrim { display: none; }

.hero-inner { padding-top: 2.4rem; padding-bottom: 3rem; }
.hero-full .hero-tate {
  position: static;
  writing-mode: horizontal-tb;
  height: auto;
  font-family: var(--font-min);
  font-size: 0.75rem;
  letter-spacing: 0.42em;
  text-indent: 0;
  color: var(--gold-text);
  margin-bottom: 1.1rem;
}
.hero-full h1 {
  font-family: var(--font-min);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  line-height: 1.6;
  letter-spacing: 0.1em;
}
.hero-full .sub {
  margin-top: 1.1rem;
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 36em;
}
.hero-full .hero-ctas { margin-top: 1.7rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-full .hero-meta { margin-top: 1.7rem; }

/* PCは画像を高めに・文字は中央寄せで堂々と */
@media (min-width: 900px) {
  .hero-bg { height: 72vh; }
  .hero-inner { padding-top: 3rem; padding-bottom: 3.6rem; text-align: center; }
  .hero-full .sub { margin-left: auto; margin-right: auto; }
  .hero-full .hero-ctas { justify-content: center; }
  .hero-full .hero-meta { justify-content: center; }
  .hero-full h1 br { display: none; } /* PCでは1行で */
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.65em 1.7em;
  font-family: var(--font-goth);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink-soft); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-amazon { background: var(--ink); color: var(--washi); }
.btn-amazon:hover { background: var(--accent); color: #fff; }

/* ---------- story ---------- */
.story { border-top: 1px solid var(--line); }
.story-grid { display: grid; gap: 2.5rem; }
@media (min-width: 800px) {
  .story-grid { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
}
.story p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 1.4em; }
.story p strong { color: var(--ink); font-weight: 500; }

.story-facts {
  margin-top: 0.6rem;
  border-top: 1px solid var(--line);
}
.story-facts div {
  display: flex;
  gap: 1.5rem;
  padding: 0.9rem 0.2rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.story-facts dt { flex: 0 0 7em; color: var(--ink-faint); letter-spacing: 0.1em; }
.story-facts dd { color: var(--ink); }

/* ---------- lineup ---------- */
.lineup { border-top: 1px solid var(--line); }  /* craft と連続で washi-2 になり、境目が消えていたため背景を戻す */

.prod-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
}
@media (min-width: 600px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }

.prod {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.prod:hover { transform: translateY(-4px); }

.prod-img {
  /* パッケージは縦長（700×1167）。正方形の枠だと左右に大きな余白が出るため、
     やや縦長の枠にして余白を詰め、商品を大きく見せる */
  aspect-ratio: 9 / 10;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 5%;
  overflow: hidden;
  min-height: 0;
}
/* 縦長のパッケージ画像が枠を押し広げないよう、画像自体を正方形に固定して中に収める
   （親の高さに依存する max-height:100% は、親が aspect-ratio 由来だと効かないことがある） */
.prod-img img {
  width: 100%;
  aspect-ratio: 9 / 10;
  height: auto;
  object-fit: contain;
}

/* SPは画像左・テキスト右の横並びに（縦の間延びを防ぐ） */
@media (max-width: 599px) {
  .prod { flex-direction: row; align-items: stretch; }
  .prod > .prod-link { flex: 0 0 42%; min-width: 0; display: flex; }
  .prod-img { aspect-ratio: auto; width: 100%; min-height: 150px; padding: 5%; }
  /* SPの横並びでは、カードの高さいっぱいまで使えるので正方形固定は外す */
  .prod-img img { aspect-ratio: auto; width: auto; height: auto; max-width: 100%; max-height: 100%; }
  /* min-width:0 がないと中身が本文列を押し広げ、カードが横にはみ出す */
  .prod-body { padding: 1.1rem 1.1rem 1.2rem; min-width: 0; }
  .prod-kana {
    font-size: 0.64rem; letter-spacing: 0.12em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .prod-name { font-size: 1.12rem; }
  /* 説明は3行までに揃えて、カードの高さを不揃いにしない */
  .prod-copy {
    font-size: 0.78rem; line-height: 1.85; margin: 0.5rem 0 0.8rem;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
    overflow: hidden;
  }
  .prod-actions { gap: 0.5rem; margin-top: 0.7rem; }
  .prod-actions .btn { flex: 1 1 100%; font-size: 0.76rem; }
}

.prod-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }

.prod-kana {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  color: var(--gold-text);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}
.prod-name { font-family: var(--font-min); font-size: 1.25rem; letter-spacing: 0.1em; }
.prod-copy { font-size: 0.92rem; color: var(--ink-soft); margin: 0.7rem 0 1.1rem; line-height: 1.9; flex: 1; }

.prod-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; }
.prod-price { font-family: var(--font-min); font-size: 1.05rem; white-space: nowrap; }
.prod-price small { font-size: 0.74rem; color: var(--ink-faint); letter-spacing: 0.05em; }

.prod .btn { min-height: 44px; padding: 0.4em 1.2em; font-size: 0.8rem; }

.lineup-note { margin-top: 1.6rem; font-size: 0.82rem; color: var(--ink-faint); letter-spacing: 0.08em; }

/* ---------- product card actions ---------- */
.prod-link { text-decoration: none; color: inherit; display: block; }
.prod-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}
.prod-actions .btn { flex: 1 1 auto; min-height: 44px; padding: 0.4em 1em; font-size: 0.8rem; }

/* ---------- why nagomi ---------- */
/* ---------- 社会的証明（Amazon実測値） ---------- */
.proof { border-top: 1px solid var(--line); padding: 3.2rem 0; background: var(--washi-2); }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem 1rem;
  margin-top: 2rem;
}
@media (min-width: 720px) { .proof-grid { grid-template-columns: repeat(4, 1fr); } }
.proof-item { text-align: center; }
.proof-num {
  font-family: var(--font-min);
  font-size: clamp(1.7rem, 5.5vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--accent-text);
}
.proof-num span { font-size: 0.5em; letter-spacing: 0.06em; margin-left: 0.1em; }
.proof-cap {
  font-size: 0.78rem;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}
.proof-note {
  font-size: 0.74rem;
  line-height: 1.8;
  color: var(--ink-faint);
  text-align: center;
  margin-top: 1.8rem;
}

.why { border-top: 1px solid var(--line); padding: 3.5rem 0; }
.why-grid { display: grid; gap: 1.2rem; margin-top: 2rem; }
@media (min-width: 560px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-item {
  border-top: 2px solid var(--gold);
  padding: 1.2rem 0.2rem 0;
}
.why-num {
  font-family: var(--font-min);
  font-size: 0.84rem;
  letter-spacing: 0.26em;
  color: var(--gold-text);
  margin-bottom: 0.5rem;
}
.why-item h3 { font-family: var(--font-min); font-size: 1.12rem; letter-spacing: 0.06em; line-height: 1.7; margin-bottom: 0.6rem; }
.why-item p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.9; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-list { margin-top: 2rem; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 2.2rem 1.2rem 0.2rem;
  font-family: var(--font-min);
  font-size: 1rem;
  letter-spacing: 0.06em;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q. "; color: var(--accent); font-family: var(--font-goth); }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-family: var(--font-goth);
  font-size: 1.2rem;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list .faq-a { padding: 0 0.2rem 1.4rem; font-size: 0.98rem; color: var(--ink-soft); }

/* ---------- craft section ---------- */
/* 枯山水バンド（パッケージのデザインテーマ） */
.kare { border-top: 1px solid var(--line); padding: 0 0 3.5rem; }
.kare-visual { margin: 0; }
.kare-visual img {
  width: 100%;
  height: clamp(220px, 42vw, 460px);
  object-fit: cover;
  display: block;
}
.kare-body { max-width: 40em; margin-top: 2.6rem; }
.kare-body p { color: var(--ink-soft); line-height: 2.1; margin-bottom: 1.1rem; }
.kare-body strong { color: var(--ink); font-weight: 500; }

.craft { background: var(--washi-2); border-top: 1px solid var(--line); }
.craft-grid { display: grid; gap: 1.4rem; margin-top: 2.4rem; }
@media (min-width: 800px) { .craft-grid { grid-template-columns: 1fr 1fr; } }
.craft-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
  padding: 2rem 1.6rem;
}
@media (min-width: 800px) { .craft-block { padding: 2.4rem 2.2rem; } }
.craft-block h3 { font-family: var(--font-min); font-size: 1.28rem; letter-spacing: 0.07em; line-height: 1.7; margin-bottom: 1rem; }
.craft-block p { font-size: 0.96rem; color: var(--ink-soft); margin-bottom: 1em; }
.craft-block p:last-child { margin-bottom: 0; }
.craft-note {
  margin-top: 1.4rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

/* ---------- scent detail page ---------- */
.scent-hero { padding: 3.5rem 0 4rem; }
.scent-hero-grid { display: grid; gap: 2.5rem; }
@media (min-width: 820px) { .scent-hero-grid { grid-template-columns: 5fr 6fr; gap: 4rem; align-items: start; } }
.scent-pack {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  padding: 1.6rem;
  align-self: start;
}
.scent-pack img { max-height: 360px; width: auto; max-width: 100%; }
@media (min-width: 820px) {
  .scent-pack { aspect-ratio: 2 / 3; position: sticky; top: 86px; }
  .scent-pack img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
}
.scent-kana { font-size: 0.78rem; letter-spacing: 0.24em; color: var(--gold-text); text-transform: uppercase; margin-bottom: 0.6rem; }
.scent-title { font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: 0.16em; line-height: 1.5; }
.scent-catch { font-family: var(--font-min); font-size: 1.1rem; letter-spacing: 0.12em; color: var(--ink); margin: 1.2rem 0 1rem; }
.scent-desc { font-size: 0.95rem; color: var(--ink-soft); }
.scent-price { font-family: var(--font-min); font-size: 1.6rem; margin: 1.6rem 0 1rem; }
.scent-price small { font-size: 0.7rem; font-family: var(--font-goth); color: var(--ink-faint); }
.scent-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* 香りのノート（TOP/MIDDLE/LAST） */
.notes { margin-top: 2.2rem; border-top: 1px solid var(--line); }
.note-row {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: 1.2rem;
  padding: 1.1rem 0.2rem;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.note-label { font-size: 0.72rem; letter-spacing: 0.28em; color: var(--accent); text-transform: uppercase; }
.note-label small { display: block; color: var(--ink-faint); letter-spacing: 0.1em; margin-top: 2px; }
.note-body { font-size: 0.92rem; color: var(--ink-soft); }
.note-body strong { color: var(--ink); font-weight: 500; font-family: var(--font-min); letter-spacing: 0.06em; }

.scent-visual { margin: 3rem auto 0; max-width: 440px; }
.scent-visual img { width: 100%; height: auto; border-radius: 4px; box-shadow: var(--shadow); }

.scent-others { border-top: 1px solid var(--line); background: var(--washi-2); }
.scent-others .prod-grid { margin-top: 2rem; }
.trial { border-top: 1px solid var(--line); }
.trial-card {
  display: grid;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
@media (min-width: 760px) { .trial-card { grid-template-columns: 1fr 1.2fr; } }

.trial-img { background: #fff; display: grid; place-items: center; padding: 9%; }
@media (max-width: 759px) {
  .trial-img { padding: 1.6rem; }
  .trial-img img { max-height: 320px; width: auto; max-width: 100%; }
}
.trial-body { padding: 2.2rem 1.6rem; align-self: center; }
@media (min-width: 760px) { .trial-body { padding: 3rem 3rem; } }

.trial-body h3 { font-size: clamp(1.4rem, 3.5vw, 1.9rem); letter-spacing: 0.08em; line-height: 1.65; }
.trial-body .lead { color: var(--ink-soft); font-size: 1rem; margin: 1.1rem 0 1.6rem; }

.trial-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.8rem; }
.trial-tags span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 4px 12px;
}

.trial-price { font-family: var(--font-min); font-size: 1.7rem; margin-bottom: 1.2rem; }
.trial-price small { font-size: 0.76rem; color: var(--ink-faint); font-family: var(--font-goth); letter-spacing: 0.05em; }

/* ---------- tools ---------- */
.tools .prod-grid { grid-template-columns: 1fr; }
@media (min-width: 700px) { .tools .prod-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- LINE ---------- */
.line-sec { border-top: 1px solid var(--line); }
.line-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
  padding: 2.4rem 1.6rem;
  text-align: center;
}
@media (min-width: 700px) { .line-card { padding: 3rem 2.5rem; } }
.line-card h3 { font-family: var(--font-min); font-size: clamp(1.3rem, 3.5vw, 1.7rem); letter-spacing: 0.12em; line-height: 1.8; }
.line-card p { color: var(--ink-soft); font-size: 0.92rem; margin: 1rem auto 1.6rem; max-width: 34em; text-wrap: balance; word-break: auto-phrase; }
.line-card .line-note { font-size: 0.75rem; color: var(--ink-faint); margin: 1.2rem 0 0; }

.btn-line {
  background: #06C755;
  color: #fff;
  font-weight: 500;
}
.btn-line:hover { background: #05a648; color: #fff; }

.a-cta-line {
  margin-top: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.3rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ---------- journal ---------- */
.journal { background: var(--washi-2); border-top: 1px solid var(--line); }

.journal-list { margin-top: 2.2rem; border-top: 1px solid var(--line); }
.journal-item {
  display: block;
  text-decoration: none;
  padding: 1.5rem 0.2rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}
.journal-item:hover { background: color-mix(in srgb, var(--card) 55%, transparent); }
.journal-item .j-meta { font-size: 0.76rem; letter-spacing: 0.18em; color: var(--gold-text); margin-bottom: 0.4rem; }
.journal-item h3 { font-size: 1.1rem; letter-spacing: 0.1em; line-height: 1.8; }
.journal-item p { font-size: 0.83rem; color: var(--ink-soft); margin-top: 0.4rem; }
.journal-item .j-more { font-size: 0.78rem; color: var(--accent); letter-spacing: 0.15em; }

/* ---------- supervisor ---------- */
.supervisor { border-top: 1px solid var(--line); }
.sup-card {
  border-left: 2px solid var(--gold);
  padding: 0.4rem 0 0.4rem 1.6rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.sup-card .sup-name { font-family: var(--font-min); font-size: 1.15rem; color: var(--ink); letter-spacing: 0.15em; }
.sup-card .sup-title { font-size: 0.79rem; letter-spacing: 0.14em; color: var(--gold-text); margin-bottom: 0.6rem; }

/* ---------- footer ---------- */
.site-foot {
  border-top: 1px solid var(--line);
  background: var(--washi-2);
  padding: 4rem 0 2.2rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.foot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.6rem 2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--line);
}
.foot-tagline {
  margin-top: 1.1rem;
  font-size: 1rem;
  letter-spacing: 0.18em;
  color: var(--ink);
}
.foot-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.foot-cta .btn { min-height: 44px; padding: 0.5em 1.5em; font-size: 0.82rem; }

.foot-cols {
  display: grid;
  gap: 2rem;
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) { .foot-cols { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.foot-label {
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 1rem;
}
.foot-links { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.foot-links a { text-decoration: none; transition: color 0.25s ease; }
.foot-links a:hover { color: var(--accent); }

.foot-bottom {
  padding-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.foot-company { font-size: 0.75rem; color: var(--ink-faint); letter-spacing: 0.06em; }
.copyright {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
}
.foot-en { font-family: var(--font-min); letter-spacing: 0.2em; color: var(--gold-text); }

/* 下層ページのスリムなフッター（.foot-topが無い場合） */
.site-foot > .wrap > .copyright:only-child { border-top: 0; }

/* ---------- article ---------- */
.article-head { padding: 3.5rem 0 2rem; border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: 0.8rem; letter-spacing: 0.08em; color: var(--ink-faint); margin-bottom: 1.6rem; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.article-head h1 { font-size: clamp(1.5rem, 4.5vw, 2.2rem); line-height: 1.8; letter-spacing: 0.1em; }
.article-head .a-meta { margin-top: 1.2rem; font-size: 0.82rem; letter-spacing: 0.12em; color: var(--ink-faint); }

.article-body { padding: 2.8rem 0 4rem; }
.article-body > * + * { margin-top: 1.5em; }
.article-body h2 {
  font-size: 1.35rem;
  letter-spacing: 0.1em;
  line-height: 1.8;
  margin-top: 2.8em;
  padding-left: 0.9rem;
  border-left: 3px solid var(--accent);
}
.article-body h3 { font-size: 1.05rem; letter-spacing: 0.08em; margin-top: 2em; }
.article-body p { color: var(--ink-soft); font-size: 1rem; }
.article-body p strong { color: var(--ink); font-weight: 500; }
.article-body ul, .article-body ol { padding-left: 1.4em; color: var(--ink-soft); font-size: 0.95rem; }
.article-body li { margin-bottom: 0.5em; }
.article-body li::marker { color: var(--gold); }

.a-note {
  background: var(--washi-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.2rem 1.4rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.a-cta {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
  padding: 1.8rem 1.6rem;
  display: grid;
  gap: 1.2rem;
  margin-top: 3rem;
}
@media (min-width: 640px) { .a-cta { grid-template-columns: 110px 1fr; align-items: center; } }
.a-cta img { background: #fff; border-radius: 4px; }
.a-cta .c-name { font-family: var(--font-min); font-size: 1.05rem; letter-spacing: 0.08em; }
.a-cta .c-desc { font-size: 0.8rem; color: var(--ink-soft); margin: 0.3rem 0 0.9rem; }

/* 記事内テーブル */
.a-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 1.5em 0;
  background: var(--card);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.a-table th, .a-table td {
  font-size: 0.92rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
  /* 列数が多い表がSPで1文字ずつ折り返されるのを防ぐ（超えた分は横スクロール） */
  min-width: 6.5em;
}
.a-table thead th {
  background: var(--washi-2);
  font-family: var(--font-min);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.a-table tbody th {
  font-weight: 500;
  color: var(--gold-text);
  white-space: nowrap;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}
.a-table tr:last-child th, .a-table tr:last-child td { border-bottom: 0; }
.a-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
/* 横スクロールできることが伝わるように、右端に薄い影を出す */
.a-table-scroll {
  background:
    linear-gradient(to right, var(--washi) 30%, transparent) left / 24px 100% no-repeat,
    linear-gradient(to left, var(--washi) 30%, transparent) right / 24px 100% no-repeat,
    radial-gradient(farthest-side at 0 50%, rgba(43,39,35,0.12), transparent) left / 12px 100% no-repeat,
    radial-gradient(farthest-side at 100% 50%, rgba(43,39,35,0.12), transparent) right / 12px 100% no-repeat;
  background-attachment: local, local, scroll, scroll;
}

/* 監修者ボックス */
.author-box {
  margin-top: 3rem;
  background: var(--washi-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 1.6rem 1.6rem;
  display: flex;
  gap: 1.3rem;
  align-items: flex-start;
}
.author-photo {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--card);
  box-shadow: var(--shadow);
}
.author-body { min-width: 0; }
@media (max-width: 480px) {
  .author-box { flex-direction: column; }
}
.author-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.author-name {
  font-family: var(--font-min);
  font-size: 1.15rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}
.author-name span {
  font-family: var(--font-goth);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-left: 0.8em;
}
.author-box p:last-child { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }

.a-faq dt {
  font-family: var(--font-min);
  font-size: 1rem;
  letter-spacing: 0.06em;
  margin-top: 1.6em;
  padding-left: 1.6em;
  text-indent: -1.6em;
}
.a-faq dt::before { content: "Q. "; color: var(--accent); font-family: var(--font-goth); }
.a-faq dd { margin-top: 0.5em; font-size: 0.98rem; color: var(--ink-soft); }

/* ---------- brand page ---------- */
.timeline {
  margin-top: 2.4rem;
  border-left: 2px solid var(--gold);
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}
.tl-item { position: relative; }
.tl-item::before {
  content: "";
  position: absolute;
  left: calc(-2rem - 6px);
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--washi);
}
.tl-year {
  font-family: var(--font-min);
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.tl-item h3 { font-family: var(--font-min); font-size: 1.15rem; letter-spacing: 0.08em; line-height: 1.8; margin-bottom: 0.4rem; }
.tl-item p { font-size: 0.92rem; color: var(--ink-soft); }

.brand-lead {
  font-family: var(--font-min);
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  line-height: 2.2;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.brand-figure { margin: 3rem auto 0; max-width: 520px; }
.brand-figure img { width: 100%; height: auto; border-radius: 4px; box-shadow: var(--shadow); }
.brand-figure figcaption { font-size: 0.75rem; color: var(--ink-faint); letter-spacing: 0.1em; margin-top: 0.6rem; }

.logo-story {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
  padding: 2.4rem 1.8rem;
  text-align: center;
  margin-top: 2.5rem;
}
.logo-story img { max-width: 240px; margin: 0 auto 1.4rem; mix-blend-mode: multiply; }
.logo-story p { font-size: 0.92rem; color: var(--ink-soft); max-width: 30em; margin: 0 auto; }

/* ---------- 香り診断への誘導バナー ---------- */
.quiz-cta {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  background:
    radial-gradient(60% 90% at 88% 20%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%),
    radial-gradient(70% 100% at 10% 100%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1.9rem 1.6rem;
  margin: 2.2rem 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.quiz-cta:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 1px 2px rgba(43,39,35,0.05), 0 18px 44px -20px rgba(43,39,35,0.32);
}
.quiz-cta::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--gold), var(--accent));
}
.quiz-cta-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 0.9rem;
}
.quiz-cta-title {
  font-family: var(--font-min);
  font-size: clamp(1.15rem, 3.4vw, 1.5rem);
  letter-spacing: 0.1em;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.quiz-cta-desc { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.quiz-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.6em 1.8em;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  transition: background 0.3s ease, gap 0.3s ease;
}
.quiz-cta:hover .quiz-cta-btn { background: var(--accent-deep); gap: 0.9em; }
.quiz-cta-btn::after { content: "→"; }

/* ---------- 香り診断 ---------- */
.quiz-wrap { max-width: 640px; margin: 0 auto; }
.quiz-progress { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; }
.quiz-progress span {
  width: 34px;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  transition: background 0.3s ease;
}
.quiz-progress span.done { background: var(--accent); }

.quiz-q {
  font-family: var(--font-min);
  font-size: clamp(1.25rem, 3.5vw, 1.6rem);
  letter-spacing: 0.1em;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 1.8rem;
}
.quiz-opts { display: grid; grid-template-columns: 1fr; gap: 0.8rem; }
@media (min-width: 640px) { .quiz-opts { grid-template-columns: 1fr 1fr; gap: 1rem; } }
.quiz-opts button {
  font-family: var(--font-goth);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.quiz-opts button:hover { border-color: var(--accent); transform: translateY(-2px); }
.quiz-opts button:hover .quiz-opt-img { transform: scale(1.06); }
.quiz-opt-img-wrap {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  border-radius: 6px;
  overflow: hidden;
}
.quiz-opt-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.quiz-opt-txt { display: block; min-width: 0; }
.quiz-opts button small { display: block; color: var(--ink-faint); font-size: 0.78rem; margin-top: 0.2rem; }

.quiz-step { animation: quizIn 0.4s ease; }
@keyframes quizIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .quiz-step { animation: none; } }

/* 診断結果：タイプ名と香りの処方箋 */
.quiz-type {
  text-align: center;
  margin-bottom: 1.8rem;
}
.quiz-axes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}
.quiz-axes span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--gold-text);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0.3em 0.95em;
  background: rgba(168, 137, 79, 0.06);
  white-space: nowrap;
}
.quiz-type-lead { font-size: 0.8rem; letter-spacing: 0.18em; color: var(--ink-faint); margin-bottom: 0.5rem; }
.quiz-type-desc {
  font-size: 0.88rem;
  line-height: 2;
  color: var(--ink-soft);
  max-width: 30em;
  margin: 0.9rem auto 0;
  text-align: left;
}
.quiz-type-name {
  font-family: var(--font-min);
  font-size: clamp(1.4rem, 4.2vw, 2rem);
  letter-spacing: 0.12em;
  line-height: 1.7;
  color: var(--ink);
}
.quiz-type-name::before, .quiz-type-name::after { content: "「"; color: var(--gold); }
.quiz-type-name::after { content: "」"; }

.quiz-rx {
  background: var(--washi-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 1.5rem 1.5rem;
  margin-top: 1.6rem;
}
.quiz-rx-label {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.quiz-rx p {
  font-family: var(--font-min);
  font-size: clamp(0.98rem, 2.5vw, 1.1rem);
  line-height: 2.1;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin: 0;
}
.quiz-rx p + p { margin-top: 0.8rem; color: var(--ink-soft); font-size: 0.9rem; line-height: 2; }

.quiz-result-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
}
@media (min-width: 640px) { .quiz-result-card { grid-template-columns: 240px 1fr; } }
.quiz-result-img { background: #fff; display: grid; place-items: center; padding: 1.4rem; }
.quiz-result-img img { max-height: 260px; width: auto; max-width: 100%; }
.quiz-result-body { padding: 1.8rem 1.6rem; }
.quiz-result-label { font-size: 0.7rem; letter-spacing: 0.3em; color: var(--accent); text-transform: uppercase; margin-bottom: 0.5rem; }
.quiz-result-name { font-family: var(--font-min); font-size: 1.7rem; letter-spacing: 0.12em; }
.quiz-result-catch { font-family: var(--font-min); font-size: 1rem; color: var(--ink); margin: 0.5rem 0 0.7rem; letter-spacing: 0.08em; }
.quiz-result-note { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1rem; }
.quiz-result-price { font-family: var(--font-min); font-size: 1.2rem; margin-bottom: 1.1rem; }
.quiz-result-price small { font-size: 0.7rem; color: var(--ink-faint); font-family: var(--font-goth); }
.quiz-second {
  margin-top: 1.6rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}
.quiz-restart { margin-top: 1.6rem; text-align: center; }
.quiz-restart button {
  background: none;
  border: 0;
  color: var(--ink-faint);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.quiz-restart button:hover { color: var(--accent); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv.on { opacity: 1; transform: none; }

/* ---------- ページ遷移フェード ---------- */
body { animation: pageIn 0.5s ease; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body.page-leave { opacity: 0; transition: opacity 0.2s ease; }

/* ---------- トップへ戻る ---------- */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 44;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: blur(6px);
  color: var(--ink-soft);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--shadow);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- 香りページ：SP固定購入バー ---------- */
.buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem max(22px, env(safe-area-inset-left)) calc(0.65rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--washi) 94%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(105%);
  transition: transform 0.35s ease;
}
.buybar.show { transform: none; }
.buybar-price { font-family: var(--font-min); font-size: 1.05rem; letter-spacing: 0.04em; white-space: nowrap; }
.buybar .btn { min-height: 44px; padding: 0.45em 1.4em; font-size: 0.85rem; }
@media (min-width: 820px) { .buybar { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* ============================================================
   LINE登録LP（line.html）
   ============================================================ */
body.lp { padding-bottom: 88px; }

.lp-head { padding: 1.1rem 0; border-bottom: 1px solid var(--line); background: var(--washi); }
.lp-head .brand-logo { height: 26px; width: auto; display: block; }

.lp-hero { padding: 2.6rem 0 0; }
.lp-eyebrow {
  font-size: 0.78rem; letter-spacing: 0.18em; color: var(--gold-text);
  margin-bottom: 1rem;
}
.lp-title {
  font-family: var(--font-min); font-weight: 500;
  font-size: clamp(1.7rem, 6.4vw, 2.9rem);
  line-height: 1.6; letter-spacing: 0.04em; color: var(--ink);
  margin-bottom: 1.2rem;
}
.lp-title em { font-style: normal; color: var(--accent); }
.lp-lead {
  font-size: clamp(0.92rem, 2.5vw, 1.02rem);
  line-height: 2; color: var(--ink-soft); margin-bottom: 1.8rem;
}

/* LINE CTA ボタン */
.lp-cta {
  display: flex; align-items: center; justify-content: center; gap: 0.6em;
  width: 100%; max-width: 460px;
  min-height: 60px; padding: 0.9em 1.4em;
  background: #06C755; color: #fff;
  font-size: clamp(0.95rem, 3.4vw, 1.08rem); font-weight: 500; letter-spacing: 0.05em;
  border-radius: 999px; text-decoration: none;
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.28);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.lp-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(6,199,85,0.34); filter: brightness(1.04); }
.lp-cta:active { transform: translateY(0); }
.lp-cta-ico {
  width: 1.35em; height: 1.35em; flex: 0 0 auto;
  background: #fff; border-radius: 26%;
  mask: radial-gradient(circle, #000 60%, transparent 61%) center/0 0 no-repeat, #000;
  -webkit-mask: none; mask: none;
  position: relative;
}
.lp-cta-ico::after {
  content: "LINE"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.42em; font-weight: 700; letter-spacing: 0; color: #06C755;
}
.lp-note {
  font-size: 0.78rem; color: var(--ink-faint); letter-spacing: 0.06em;
  margin-top: 0.8rem;
}

.lp-hero-img { margin: 2.4rem 0 0; }
.lp-hero-img img {
  width: 100%; height: auto; display: block;
  border-radius: 6px; box-shadow: var(--shadow);
}

.lp-sec { padding: 3.4rem 0; border-top: 1px solid var(--line); }
.lp-sec-alt { background: var(--washi-2); }
.lp-body { line-height: 2.1; color: var(--ink-soft); margin-bottom: 1.1rem; }
.lp-body strong { color: var(--ink); font-weight: 500; }

/* 3つのベネフィット */
.lp-benefits { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.lp-benefits li {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  padding: 1.4rem 1.3rem; box-shadow: var(--shadow);
}
.lp-num {
  font-family: var(--font-min); font-size: 1.25rem; color: var(--gold);
  letter-spacing: 0.06em; flex: 0 0 auto; line-height: 1.4;
}
.lp-benefits h3 {
  font-family: var(--font-min); font-size: 1.06rem; font-weight: 500;
  color: var(--ink); margin: 0 0 0.5rem; letter-spacing: 0.04em;
}
.lp-benefits p { font-size: 0.9rem; line-height: 1.95; color: var(--ink-soft); margin: 0; }

.lp-facts { display: grid; gap: 0.7rem; margin: 1.8rem 0 0; }
.lp-facts div { display: grid; grid-template-columns: 4.6em 1fr; gap: 0.9rem; align-items: baseline; }
.lp-facts dt { font-size: 0.8rem; letter-spacing: 0.13em; color: var(--gold-text); }
.lp-facts dd { margin: 0; font-size: 0.9rem; line-height: 1.9; color: var(--ink-soft); }

.lp-img { margin: 2.2rem 0 0.5rem; }
.lp-img img { width: 100%; height: auto; display: block; border-radius: 6px; box-shadow: var(--shadow); }
.lp-cap { font-size: 0.74rem; color: var(--ink-faint); letter-spacing: 0.1em; }

.lp-scents { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }
.lp-scents span {
  font-family: var(--font-min); font-size: 0.94rem; letter-spacing: 0.08em;
  color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.5em 1.2em;
}

/* 中盤CTA帯 */
.lp-cta-band {
  padding: 3.2rem 0; text-align: center;
  background:
    radial-gradient(70% 100% at 50% 0%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 70%),
    var(--washi-2);
  border-top: 1px solid var(--line);
}
.lp-cta-band .lp-cta, .lp-final .lp-cta { margin-left: auto; margin-right: auto; }
.lp-band-title {
  font-family: var(--font-min); font-size: clamp(1.15rem, 4.4vw, 1.6rem);
  color: var(--ink); letter-spacing: 0.06em; margin-bottom: 1.4rem;
}

.lp-final { padding: 3.6rem 0 3.2rem; text-align: center; border-top: 1px solid var(--line); }
.lp-final-lead {
  font-family: var(--font-min); font-size: clamp(1.3rem, 5vw, 1.9rem);
  color: var(--ink); letter-spacing: 0.08em; margin-bottom: 1.5rem;
}

/* 追従ボタン */
.lp-fixed {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--washi) 92%, transparent);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.lp-fixed .lp-cta { margin: 0 auto; min-height: 54px; font-size: 0.92rem; }
/* 追従バーの上に置く安心材料。押す直前に読ませたい一行 */
.lp-fixed-note {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--ink-soft);
  text-align: center;
  margin-bottom: 0.4rem;
}

.lp-foot { padding: 2.4rem 0 1.6rem; border-top: 1px solid var(--line); background: var(--washi-2); }
.lp-foot p { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-bottom: 1rem; }
.lp-foot a { font-size: 0.82rem; color: var(--ink-soft); text-decoration: none; }
.lp-foot a:hover { color: var(--accent); }
.lp-copy { font-size: 0.74rem; color: var(--ink-faint); letter-spacing: 0.06em; }

@media (min-width: 768px) {
  body.lp { padding-bottom: 0; }
  .lp-fixed { display: none; }
  .lp-hero { padding-top: 3.6rem; }
  .lp-benefits { grid-template-columns: repeat(3, 1fr); }
  .lp-benefits li { flex-direction: column; gap: 0.8rem; }
}

/* ---- LP: 社会的証明 ---- */
.lp-proof {
  padding: 1.8rem 0;
  background: var(--washi-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lp-stars { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem 0.8rem; }
.lp-star { color: var(--gold); font-size: 1.15rem; letter-spacing: 0.1em; }
.lp-star-num { font-family: var(--font-min); font-size: 1.5rem; color: var(--ink); line-height: 1; }
.lp-star-cnt { font-size: 0.82rem; color: var(--ink-soft); }
.lp-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.lp-badges span {
  font-size: 0.78rem; letter-spacing: 0.04em; color: var(--ink-soft);
  background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.4em 1em;
}
.lp-badges strong { color: var(--accent); font-weight: 500; }

/* ---- LP: 診断エリア ---- */
.lp-quiz-sec { background: var(--washi); }
.lp-quiz-sec .quiz-wrap { }
.lp-quiz-sec .quiz-result-card { margin-top: 0; }

/* ---- LP: レビュー ---- */
.lp-reviews { display: grid; gap: 1rem; margin-top: 2rem; }
.lp-review {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 6px; padding: 1.5rem 1.4rem; margin: 0;
  box-shadow: var(--shadow);
}
.lp-review-star { color: var(--gold); font-size: 0.92rem; letter-spacing: 0.12em; margin-bottom: 0.7rem; }
.lp-review-body {
  font-size: 0.92rem; line-height: 2; color: var(--ink-soft); margin: 0 0 0.9rem;
}
.lp-review-body strong { color: var(--ink); font-weight: 500; }
.lp-review footer {
  font-size: 0.78rem; color: var(--ink-faint); letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 0.7rem;
}
.lp-review footer span {
  color: var(--gold); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.2em 0.8em; font-size: 0.72rem;
}

/* ---- LP: 登録後の流れ ---- */
.lp-steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.lp-steps li {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  padding: 1.4rem 1.3rem; box-shadow: var(--shadow);
}
.lp-steps h3 {
  font-family: var(--font-min); font-size: 1.04rem; font-weight: 500;
  color: var(--ink); margin: 0 0 0.5rem; letter-spacing: 0.04em;
}
.lp-steps p { font-size: 0.88rem; line-height: 1.95; color: var(--ink-soft); margin: 0; }

@media (min-width: 768px) {
  .lp-reviews { grid-template-columns: repeat(2, 1fr); }
  .lp-steps { grid-template-columns: repeat(3, 1fr); }
  .lp-steps li { flex-direction: column; gap: 0.8rem; }
}

/* 追従CTAバー：ヒーロー／最終CTAが見えているあいだは隠す */
.lp-fixed {
  transform: translateY(110%);
  opacity: 0;
  transition: transform .32s ease, opacity .32s ease;
  pointer-events: none;
}
.lp-fixed.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* 京都セクション */
.lp-kyoto-two {
  display: grid; gap: 1rem; margin-top: 2rem;
}
.lp-kyoto-two > div {
  background: var(--card); border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 4px; padding: 1.2rem 1.3rem;
}
.lp-kyoto-label {
  font-family: var(--font-min); font-size: 1.1rem; color: var(--ink);
  letter-spacing: 0.14em; margin-bottom: 0.4rem;
}
.lp-kyoto-two p:last-child { font-size: 0.88rem; line-height: 1.95; color: var(--ink-soft); margin: 0; }
@media (min-width: 768px) { .lp-kyoto-two { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   香調説明（メーカー原文）— 商品ページ
   ============================================================ */
.scent-formula {
  margin: 3.2rem auto 0;
  max-width: 720px;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 2rem 1.6rem 1.8rem;
}
.scent-formula .sec-label { margin-bottom: 0.5rem; }
.scent-formula-title {
  font-family: var(--font-min);
  font-size: 1.24rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.scent-formula-body p {
  font-size: 0.95rem;
  line-height: 2.15;
  color: var(--ink-soft);
  margin: 0 0 0.9rem;
}
.scent-formula-body p:first-child {
  font-family: var(--font-min);
  font-size: 1.06rem;
  line-height: 2;
  color: var(--ink);
  letter-spacing: 0.05em;
}
.scent-formula-body p:last-child { margin-bottom: 0; }
.scent-formula-note {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  line-height: 1.9;
  color: var(--ink-faint);
}
@media (min-width: 768px) {
  .scent-formula { padding: 2.4rem 2.4rem 2rem; }
}

/* ============================================================
   読みもの一覧 — 画像つきカード
   （.journal-list は他ページでも使うので触らず、専用クラスで組む）
   ============================================================ */
.j-featured {
  display: grid;
  margin-top: 2.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.35s ease;
}
.j-featured:hover { box-shadow: var(--shadow); }
.j-featured-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--washi-2); }
.j-featured-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s ease;
}
.j-featured:hover .j-featured-img img { transform: scale(1.04); }
.j-featured-body { padding: 1.6rem 1.4rem 1.8rem; }
.j-featured-body h2 {
  font-size: 1.32rem; letter-spacing: 0.09em; line-height: 1.75; margin-bottom: 0.6rem;
}
.j-featured-body p { font-size: 0.86rem; line-height: 2; color: var(--ink-soft); }
.j-featured-body .j-more { color: var(--accent); letter-spacing: 0.15em; margin-top: 1rem; }

.journal-cards {
  margin-top: 1.4rem;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
}
.journal-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.journal-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.journal-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--washi-2); }
.journal-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s ease;
}
.journal-card:hover .journal-card-img img { transform: scale(1.04); }
.journal-card-body {
  padding: 1.2rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.j-featured .j-meta,
.journal-card .j-meta {
  font-size: 0.76rem; letter-spacing: 0.18em; color: var(--gold-text); margin-bottom: 0.5rem;
}
.journal-card h3 { font-size: 1rem; letter-spacing: 0.08em; line-height: 1.75; margin-bottom: 0.5rem; }
.journal-card p { font-size: 0.82rem; line-height: 1.95; color: var(--ink-soft); }
.journal-card .j-more {
  margin-top: auto; padding-top: 1rem;
  font-size: 0.76rem; color: var(--accent); letter-spacing: 0.15em;
}
@media (min-width: 600px) {
  .journal-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .j-featured { grid-template-columns: 1.1fr 1fr; }
  .j-featured-img { aspect-ratio: auto; height: 100%; min-height: 300px; }
  .j-featured-body { padding: 2.6rem 2.4rem; align-self: center; }
  .j-featured-body h2 { font-size: 1.52rem; }
}
@media (min-width: 980px) {
  .journal-cards { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
}

/* ============================================================
   セクションラベル・番号の打ち消し防止
   `.story p` `.why-item p` `.craft-block p` などの要素セレクタが
   `.sec-label` / `.why-num` より強く効いてしまい、
   Concept / Design / LINE のラベルが本文サイズ・本文色になっていた。
   ============================================================ */
p.sec-label {
  font-family: var(--font-goth);
  font-size: 0.72rem;
  line-height: 2;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: var(--accent-text);
  margin-bottom: 1rem;
}
.why-item p.why-num {
  font-family: var(--font-min);
  font-size: 0.84rem;
  letter-spacing: 0.26em;
  color: var(--gold-text);
}

/* 関連する読みもの（記事末） */
.related-reads { margin-top: 3.2rem; }
.rr-title {
  font-family: var(--font-min); font-size: 1.18rem; font-weight: 500;
  letter-spacing: 0.08em; color: var(--ink); margin-bottom: 0.2rem;
}
.related-reads .journal-list { margin-top: 1rem; }

/* 商品ページのFAQ */
.scent-faq { margin-top: 3.2rem; }
.scent-faq .sec-title { font-size: clamp(1.3rem, 4vw, 1.7rem); }

/* 香り一覧ページのヒーロー */
.scent-index-hero { border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); }
.scent-index-hero img { width: 100%; height: auto; }

/* ============================================================
   監修者コメント（一次情報ブロック）
   川辺一寛さんの実際の発言を載せる枠。一般論と視覚的に区別する。
   ============================================================ */
/* ============================================================
   この記事の要点（記事冒頭の結論ブロック）
   人が拾い読みするため、そして検索エンジンやAIが記事の結論を
   最初に読み取れるようにするための箱。予告ではなく結論を書く。
   ============================================================ */
.a-summary {
  margin: 0 0 2.2rem;
  padding: 1.4rem 1.5rem 1.5rem;
  background: var(--washi-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
}
.a-summary-label {
  font-family: var(--font-goth);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--gold-text);
  margin-bottom: 0.9rem;
}
.a-summary ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.a-summary li {
  position: relative;
  padding-left: 1.1em;
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--ink);
}
.a-summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.92em;
  width: 0.6em;
  height: 1px;
  background: var(--gold);
}
@media (min-width: 768px) {
  .a-summary { padding: 1.7rem 1.9rem 1.8rem; }
  .a-summary li { font-size: 0.95rem; }
}

.expert-note {
  margin: 2.4rem 0;
  padding: 1.6rem 1.4rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}
.expert-note-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}
.expert-note-head img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 44px;
}
.expert-note-name {
  font-family: var(--font-min);
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  line-height: 1.5;
}
.expert-note-name span {
  display: block;
  font-family: var(--font-goth);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--gold-text);
  margin-top: 2px;
}
.expert-note p {
  font-size: 0.95rem;
  line-height: 2.05;
  color: var(--ink);
  margin: 0 0 0.8rem;
}
.expert-note p:last-child { margin-bottom: 0; }
@media (min-width: 768px) {
  .expert-note { padding: 2rem 2rem 1.9rem; }
}

/* ============================================================
   購入者レビューの引用（Amazonカスタマーレビュー）
   ============================================================ */
.review-quotes { margin: 2.4rem 0; }
.review-quotes-label {
  font-family: var(--font-goth);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  color: var(--gold-text);
  margin-bottom: 0.9rem;
}
.review-quote {
  border-left: 2px solid var(--line);
  padding: 0.2rem 0 0.2rem 1.1rem;
  margin-bottom: 1.4rem;
}
.review-quote p {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--ink);
  margin: 0 0 0.4rem;
}
.review-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  line-height: 1.8;
}
.review-quotes-note {
  font-size: 0.78rem;
  line-height: 1.9;
  color: var(--ink-faint);
  margin-top: 0.6rem;
}

/* ============================================================
   お問い合わせフォーム
   ============================================================ */
.form-notice {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 1.3rem 1.3rem 1.2rem;
  margin-bottom: 1.8rem;
}
.form-notice p { font-size: 0.92rem; line-height: 2; color: var(--ink); margin: 0; }

.c-form { margin-top: 2.4rem; }
.c-field { margin-bottom: 1.9rem; border: 0; padding: 0; }

.c-label {
  display: block;
  font-family: var(--font-min);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 0.6rem;
  padding: 0;
}
.c-req, .c-any {
  display: inline-block;
  font-family: var(--font-goth);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 0.16em 0.6em;
  border-radius: 2px;
  vertical-align: 0.14em;
  margin-left: 0.4em;
}
.c-req { background: var(--accent); color: #fff; }
.c-any { background: var(--washi-3); color: var(--ink-soft); }

.c-input {
  width: 100%;
  font-family: var(--font-goth);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.8em 0.9em;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.c-input:focus-visible { outline: none; }
.c-input:focus {
  outline: none;
  border-color: var(--gold-text);
  box-shadow: 0 0 0 3px rgba(168, 137, 79, 0.16);
}
/* :invalid だと未入力の必須項目が最初から赤枠になる。
   :user-invalid は「ユーザーが触って、かつ不正」のときだけ効く */
.c-input:user-invalid { border-color: var(--accent); }
.c-input:user-invalid:focus { box-shadow: 0 0 0 3px rgba(180, 71, 46, 0.14); }
.c-textarea { resize: vertical; min-height: 11em; }

.c-help {
  font-size: 0.8rem;
  line-height: 1.9;
  color: var(--ink-faint);
  margin-top: 0.5rem;
}

.c-radios { display: grid; gap: 0.6rem; }
.c-radio, .c-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.85em 1em;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.8;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.c-radio:hover, .c-check:hover { border-color: var(--gold-text); }
.c-radio input, .c-check input {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin-top: 0.28em;
  accent-color: var(--accent);
}
.c-radio:has(input:checked), .c-check:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 5%, var(--card));
}

.c-consent { margin-top: 2.2rem; }
.c-check a { color: var(--accent); }

/* ハニーポット：人には見えない。display:none だと一部botに気づかれるため位置で隠す */
.c-hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.c-submit {
  width: 100%;
  margin-top: 0.6rem;
  padding: 1em 1.4em;
  font-size: 1rem;
}

.c-alt {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 2;
  color: var(--ink-soft);
}
.c-alt-label {
  font-family: var(--font-goth);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  color: var(--gold-text);
  margin-bottom: 0.5rem;
}
.c-alt a { color: var(--accent); }

@media (min-width: 640px) {
  .c-submit { width: auto; min-width: 16em; }
  .c-radios { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   香り診断 v2 — 相性バー・香りマップ・シェア・戻る
   ============================================================ */
.quiz-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.6rem;
}
.quiz-head .quiz-progress { margin-bottom: 0; }
.quiz-progress span.now { background: var(--gold); }
.quiz-count {
  font-family: var(--font-goth); font-size: 0.78rem;
  letter-spacing: 0.18em; color: var(--ink-faint); white-space: nowrap;
}

.quiz-back {
  display: inline-block; margin-top: 1.6rem;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-goth); font-size: 0.85rem;
  letter-spacing: 0.08em; color: var(--ink-faint);
  padding: 0.4em 0.2em; transition: color 0.25s ease;
}
.quiz-back:hover { color: var(--accent); }

.quiz-last { margin-top: 1.4rem; font-size: 0.85rem; }
.quiz-last a { color: var(--gold-text); }

.quiz-opts button.selected { border-color: var(--accent); }

/* 結果内の小見出し */
.quiz-sec-label {
  font-family: var(--font-goth); font-size: 0.7rem;
  letter-spacing: 0.3em; text-indent: 0.3em;
  color: var(--gold-text); text-transform: uppercase;
  margin-bottom: 0.4rem; text-align: center;
}
.quiz-sec-title {
  font-family: var(--font-min); font-size: 1.15rem; font-weight: 500;
  letter-spacing: 0.1em; color: var(--ink);
  text-align: center; margin-bottom: 1.2rem;
}

/* 購入者の声 */
.quiz-voice {
  margin-top: 2rem; padding: 1.6rem 1.4rem;
  background: var(--card); border: 1px solid var(--line);
  border-left: 2px solid var(--gold); border-radius: 4px;
}
.quiz-voice .quiz-sec-label { text-align: left; text-indent: 0; }
.quiz-voice-body { font-size: 0.95rem; line-height: 2.05; color: var(--ink); }
.quiz-voice-who { margin-top: 0.6rem; font-size: 0.78rem; color: var(--ink-faint); letter-spacing: 0.04em; }

/* 香りマップ */
.quiz-map { margin-top: 2.6rem; }
.quiz-map svg { width: 100%; height: auto; display: block; }
.quiz-map-note {
  font-size: 0.76rem; color: var(--ink-faint);
  letter-spacing: 0.06em; text-align: center; margin-top: 0.5rem;
}

/* 相性バー */
.quiz-match { margin-top: 2.6rem; }
.quiz-match-row {
  display: grid; grid-template-columns: 7.5em 1fr 3.4em;
  align-items: center; gap: 0.8rem; margin-bottom: 0.55rem;
}
.quiz-match-name { font-size: 0.88rem; letter-spacing: 0.06em; color: var(--ink-soft); }
.quiz-match-row.top .quiz-match-name { color: var(--ink); font-weight: 500; }
.quiz-match-bar {
  height: 10px; background: var(--washi-2);
  border-radius: 5px; overflow: hidden;
}
.quiz-match-bar i {
  display: block; height: 100%; border-radius: 5px;
  animation: quizBarGrow 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes quizBarGrow { from { width: 0 !important; } }
@media (prefers-reduced-motion: reduce) { .quiz-match-bar i { animation: none; } }
.quiz-match-pct {
  font-family: var(--font-goth); font-size: 0.76rem;
  letter-spacing: 0.04em; color: var(--ink-faint); text-align: right;
}
.quiz-match-row.top .quiz-match-pct { color: var(--accent); font-weight: 700; }
.quiz-match-note {
  font-size: 0.74rem; color: var(--ink-faint);
  text-align: right; margin-top: 0.6rem;
}

/* シェア */
.quiz-share {
  margin-top: 2.6rem; padding: 1.8rem 1.4rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 4px;
  text-align: center;
}
.quiz-share-lead {
  font-family: var(--font-min); font-size: 1.05rem;
  letter-spacing: 0.1em; color: var(--ink); margin-bottom: 1.1rem;
}
.quiz-share-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; }
.quiz-share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0.5em 1.4em;
  font-family: var(--font-goth); font-size: 0.85rem; letter-spacing: 0.08em;
  color: var(--ink); background: var(--washi);
  border: 1px solid var(--line); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.quiz-share-btn:hover { border-color: var(--gold-text); background: var(--card); }

/* シェアされた結果のバナー */
.quiz-shared-banner {
  margin-bottom: 2rem; padding: 1.4rem;
  background: color-mix(in srgb, var(--gold) 8%, var(--card));
  border: 1px solid var(--gold); border-radius: 4px;
  text-align: center;
}
.quiz-shared-banner p {
  font-size: 0.9rem; letter-spacing: 0.06em;
  color: var(--ink); margin-bottom: 0.9rem;
}
