/* ==========================================================================
   黒龍 KOKURYU — Landing Page
   Design tokens:
     和紙 #efe9dc / 和紙(濃) #e7e0d0 / 墨 #1b1a18 / 暗室 #050505
     本文グレー #4a463f / 補助 #6b665c / ダーク上本文 #c9c1b0 / ダーク上補助 #a9a294, #8d8778
     朱 #b3412f
   ========================================================================== */

:root {
  --washi: #efe9dc;
  --washi-dark: #e7e0d0;
  --sumi: #1b1a18;
  --dark: #050505;
  --text-gray: #4a463f;
  --text-sub: #6b665c;
  --on-dark-text: #c9c1b0;
  --on-dark-sub: #a9a294;
  --on-dark-sub2: #8d8778;
  --shu: #b3412f;
  --rule: rgba(27, 26, 24, .15);
  --rule-dark: rgba(239, 233, 220, .18);
  --pad-x: clamp(20px, 5vw, 72px);
  --pad-section: clamp(72px, 10vw, 140px);
  /* 見出しは筆文字の Yuji Syuku、本文は Shippori Mincho B1 */
  --font-display: 'Yuji Syuku', serif;
  --font-body: 'Shippori Mincho B1', serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--washi);
  color: var(--sumi);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--shu); }

ul { margin: 0; padding: 0; list-style: none; }
h1, h2, p { margin: 0; }

@keyframes bleed {
  0%   { transform: scale(1); }
  100% { transform: scale(1.06); }
}
@keyframes rise {
  0%   { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(96px);
  transition: opacity .8s ease, transform 1.1s cubic-bezier(.16, 1, .3, 1);
}
[data-reveal][data-reveal-delay="1"] { transition-delay: .18s; }
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
/* 子要素を時間差でふわっと出す（delayはJSで付与） */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(64px);
  transition: opacity .7s ease, transform 1s cubic-bezier(.16, 1, .3, 1);
}
[data-reveal-stagger].is-revealed > * {
  opacity: 1;
  transform: translateY(0);
}
/* カーソルでカードが傾く */
[data-tilt] {
  transition: opacity 1s ease, transform .25s ease;
  will-change: transform;
}
[data-tilt]:hover { animation: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal-stagger] > * { opacity: 1; transform: none; transition: none; }
}
/* スクロール駆動パララックス（対応ブラウザではコンポジタのみで駆動） */
html.sda .feature,
html.sda .about,
html.sda .nerve__figure { view-timeline: --sec block; }
@media (min-width: 900px) {
  html.sda .feature__bg,
  html.sda .about__bg,
  html.sda .nerve__figure img {
    animation: par-y linear both;
    animation-timeline: --sec;
    animation-range: cover;
  }
}
@keyframes par-y {
  from { transform: translate3d(0, calc(var(--par-range, 0px) * -1), 0); }
  to   { transform: translate3d(0, var(--par-range, 0px), 0); }
}
@media (prefers-reduced-motion: reduce) {
  html.sda .feature__bg,
  html.sda .about__bg,
  html.sda .nerve__figure img { animation: none; }
}

/* 狭い画面ではパララックスを無効化（レイアウト崩れ・負荷対策） */
@media (max-width: 899px) {
  .feature__bg,
  .about__bg,
  .nerve__figure img { transform: none !important; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  font-size: 13px;
  letter-spacing: .18em;
}
.btn--outline { border: 1px solid var(--sumi); }
.btn--fill { background: var(--sumi); color: var(--washi); }
.btn--fill:hover { color: var(--washi); opacity: .85; }
.btn--lg { padding: 18px 40px; font-size: 14px; }

/* --------------------------------------------------------------------------
   Section heading
   -------------------------------------------------------------------------- */
.section-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.5;
}
.section-heading--mb { margin-bottom: 28px; }
.section-heading--lg-mb { margin-bottom: 56px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(20px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(239, 233, 220, .9), rgba(239, 233, 220, 0));
  font-size: 12px;
  letter-spacing: .2em;
}
.site-header__logo { display: block; }
.site-header__logo img {
  display: block;
  height: 48px;
  width: auto;
}
.site-header__nav {
  display: flex;
  gap: clamp(16px, 3vw, 36px);
  color: var(--text-gray);
  margin-left: clamp(24px, 4vw, 64px);
  margin-right: auto;
}
/* 言語切替（右寄せで購入ボタンの隣に） */
.lang-switch {
  margin-left: auto;
  margin-right: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(27, 26, 24, .35);
  background: var(--washi);
  color: var(--sumi);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: .08em;
  cursor: pointer;
}
/* 縦書きは日本語・中国語のみ。英語・モンゴル語は横書きに */
html[data-lang="en"] .hero__subcopy,
html[data-lang="mn"] .hero__subcopy {
  writing-mode: horizontal-tb;
  max-width: 300px;
  text-align: right;
}
html[data-lang="en"] .about__scene,
html[data-lang="mn"] .about__scene {
  writing-mode: horizontal-tb;
  height: auto;
  min-height: 150px;
  border-top: none;
  border-left: 3px solid var(--sumi);
}
html[data-lang="en"] .about__scene span,
html[data-lang="mn"] .about__scene span {
  display: block;
  margin: 8px 0 0;
}
html[data-lang="en"] .about__scenes,
html[data-lang="mn"] .about__scenes {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.site-header__cta-wrap { position: relative; }
.site-header__cta {
  padding: 10px 20px;
  border: 1px solid var(--sumi);
  background: var(--sumi);
  color: var(--washi);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: .2em;
  cursor: pointer;
}
.site-header__cta:hover { color: var(--washi); opacity: .85; }
.site-header__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 230px;
  background: var(--washi);
  border: 1px solid var(--sumi);
  box-shadow: 0 10px 28px rgba(27, 26, 24, .18);
  animation: menu-in .25s ease both;
}
.site-header__menu a {
  display: block;
  padding: 14px 20px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--sumi);
  border-bottom: 1px solid var(--rule);
}
.site-header__menu a:last-child { border-bottom: none; }
.site-header__menu a:hover {
  background: var(--sumi);
  color: var(--washi);
}
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .site-header__nav { display: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--washi);
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  opacity: .92;
  transition: opacity 1.2s ease;
}
.hero__kanji {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  opacity: 0;
  filter: blur(14px);
  transform: translateY(0) scale(1);
  transition: opacity 2.4s ease, filter 2.4s ease, transform 6s linear;
  pointer-events: none;
}
/* Hero state machine: phase = dragon | fade | kanji | out */
.hero[data-phase="fade"] .hero__video,
.hero[data-phase="kanji"] .hero__video,
.hero[data-phase="out"] .hero__video { opacity: 0; }
.hero[data-phase="kanji"] .hero__kanji { opacity: 1; filter: blur(0); }
.hero[data-phase="kanji"] .hero__kanji,
.hero[data-phase="out"] .hero__kanji { transform: translateY(0) scale(1.04); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(239, 233, 220, 0) 40%, rgba(239, 233, 220, .55) 100%),
    linear-gradient(180deg, rgba(239, 233, 220, 0) 55%, var(--washi) 100%);
}
.hero__layout {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 120px var(--pad-x) 100px;
}
.hero__title-group {
  display: flex;
  gap: clamp(16px, 2.4vw, 36px);
  align-items: flex-start;
  height: min(72vh, 720px);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.6s ease, transform 1.6s ease;
}
/* title = hidden | shown | gone */
.hero[data-title="shown"] .hero__title-group { opacity: 1; transform: translateY(0); }
.hero[data-title="gone"] .hero__title-group { opacity: 0; transform: translateY(-12px); }

.hero__subcopy {
  writing-mode: vertical-rl;
  font-size: clamp(12px, 1.1vw, 15px);
  line-height: 2.4;
  letter-spacing: .22em;
  color: var(--text-gray);
}

/* --------------------------------------------------------------------------
   Concept（静けさを、身につける）
   -------------------------------------------------------------------------- */
.concept {
  padding: var(--pad-section) var(--pad-x);
  text-align: center;
}
.concept__inner { max-width: 640px; margin: 0 auto; }
.concept__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.6;
  margin: 0 0 clamp(40px, 6vw, 64px);
}
.concept__stanza {
  font-size: 15px;
  line-height: 2.6;
  letter-spacing: .08em;
  color: var(--text-gray);
  margin: 0 0 clamp(28px, 4vw, 44px);
}
.concept__moments {
  color: var(--sumi);
  letter-spacing: .16em;
}
.concept__product {
  color: var(--sumi);
  font-size: 17px;
}
.concept__latin {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--text-sub);
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

/* --------------------------------------------------------------------------
   Texture
   -------------------------------------------------------------------------- */
.texture {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--pad-section) var(--pad-x);
}
.texture__body { max-width: 680px; }
.texture__lead {
  margin: 0 0 28px;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.95;
  text-wrap: pretty;
}
.texture__text {
  font-size: 15px;
  line-height: 2.2;
  color: var(--text-gray);
  text-wrap: pretty;
}
.texture__link {
  margin-top: 32px;
  display: inline-block;
  font-size: 13px;
  letter-spacing: .14em;
  border-bottom: 1px solid var(--sumi);
  padding-bottom: 4px;
}

/* --------------------------------------------------------------------------
   Feature（黒曜石の特徴）— 原石の水墨画をセクション背景として左に敷く
   -------------------------------------------------------------------------- */
.feature {
  position: relative;
  overflow: hidden;
  padding: 0 var(--pad-x) var(--pad-section);
}
/* 原石は左側に配置し、右端をフェードで和紙に溶かす（テキストは右） */
.feature__bg {
  position: absolute;
  left: 0;
  top: -760px;
  bottom: -760px;
  width: min(58vw, 880px);
  background: url("../assets/kokuyoseki-no-genseki.webp") left center / 100% auto no-repeat;
  will-change: transform;
  -webkit-mask-image: linear-gradient(90deg, #000 68%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 68%, transparent 100%);
  pointer-events: none;
}
.feature__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: clamp(420px, 46vw, 680px);
}
.feature__body { width: min(100%, 520px); }
@media (min-width: 900px) {
  .feature__body { margin-top: clamp(80px, 14vw, 260px); }
}
@media (max-width: 899px) {
  .feature__bg {
    top: 0;
    width: 100%;
    bottom: auto;
    height: 94vw;
    background-size: contain;
    background-position: center top;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  }
  .feature__inner {
    min-height: 0;
    padding-top: 86vw;
    justify-content: flex-start;
  }
  .feature__body { width: 100%; }
}
.feature__list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: clamp(15px, 1.4vw, 17px);
  letter-spacing: .08em;
  line-height: 1.9;
}
.feature__list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sumi);
  flex: none;
  margin-top: 12px;
  filter: blur(.4px);
}
.feature__text {
  margin-top: 28px;
  font-size: 15px;
  line-height: 2.2;
  color: var(--text-gray);
  text-wrap: pretty;
}
.feature__text + .feature__text { margin-top: 16px; }

/* --------------------------------------------------------------------------
   Stone room (3D)
   -------------------------------------------------------------------------- */
.stone {
  position: relative;
  background: var(--washi);
  color: var(--sumi);
}
.stone__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.stone__stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.stone__fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, var(--washi) 0, rgba(239, 233, 220, 0) 18%, rgba(239, 233, 220, 0) 82%, var(--washi) 100%);
}
.stone__scroll {
  position: relative;
  margin-top: -100vh;
  pointer-events: none;
}
.stone__block {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 var(--pad-x);
}
.stone__block--power { padding-top: 80px; padding-bottom: 80px; }
.stone__block-inner { pointer-events: auto; }
.stone__block-inner--wide { width: 100%; max-width: 560px; }

/* スマホ幅: 重ね表示をやめ、3D→テキストの縦並びに（文字と石が重ならないように） */
@media (max-width: 899px) {
  .stone__sticky {
    position: static;
    height: 48vh;
  }
  .stone__scroll {
    margin-top: 0;
    pointer-events: auto;
  }
  .stone__block { min-height: 0; }
  .stone__block:first-child { display: none; }
  .stone__block--power {
    min-height: 0;
    padding-top: 0;
    padding-bottom: var(--pad-section);
  }
}

.power__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
}
.power__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
}
.power__sub {
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--text-sub);
}
.power__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 0 32px;
}
.power__list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  line-height: 1.8;
}
.power__num {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--text-sub);
  padding-top: 4px;
}
.power__note {
  margin: 24px 0 0;
  font-size: 12px;
  color: var(--text-sub);
}

/* ラインアイコン（デザイン候補集より） */
.licon {
  width: 34px;
  height: 34px;
  flex: none;
  overflow: visible;
  margin-top: 4px;
}
.licon .st { fill: none; stroke: var(--sumi); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.licon .shu { stroke: var(--shu); }
.licon .shu-f { fill: var(--shu); stroke: none; }

.licon-i1 circle { transform-origin: center; animation: li-i1 4.5s ease-out infinite; opacity: 0; }
.licon-i1 circle:nth-child(2) { animation-delay: 1.5s; }
.licon-i1 circle:nth-child(3) { animation-delay: 3s; }
@keyframes li-i1 { 0% { transform: scale(.15); opacity: .9; } 80% { transform: scale(1); opacity: 0; } 100% { opacity: 0; } }

.licon-i2 .breath { transform-origin: center; animation: li-i2 6s ease-in-out infinite; }
@keyframes li-i2 { 0%,100% { transform: scale(.62); } 45%,55% { transform: scale(1); } }

.licon-i3 .glint { stroke-dasharray: 30; stroke-dashoffset: 30; animation: li-i3 4s ease-in-out infinite; }
@keyframes li-i3 { 0% { stroke-dashoffset: 30; opacity: 0; } 30% { opacity: 1; } 55% { stroke-dashoffset: 0; opacity: 1; } 80%,100% { stroke-dashoffset: 0; opacity: 0; } }

.licon-i4 .stone-dot { transform-origin: 31px 31px; animation: li-i4 4s ease-in-out infinite; }
@keyframes li-i4 { 0%,100% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.5); opacity: 1; } }

.licon-i5 { animation: li-i5 7s ease-in-out infinite; transform-origin: center; }
@keyframes li-i5 { 0%,100% { transform: rotate(-6deg); opacity: .75; } 50% { transform: rotate(6deg); opacity: 1; } }

.licon-i6 path { animation: li-i6 3.6s ease-in-out infinite; }
.licon-i6 path:nth-child(2) { animation-delay: .6s; }
.licon-i6 path:nth-child(3) { animation-delay: 1.2s; }
@keyframes li-i6 { 0% { transform: translateY(5px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(-6px); opacity: 0; } }

.licon-i8 line { animation: li-i8 5s ease-in-out infinite alternate; }
.licon-i8 line:nth-child(1) { transform: translateX(-5px); }
.licon-i8 line:nth-child(2) { transform: translateX(4px); animation-delay: -1s; }
.licon-i8 line:nth-child(3) { transform: translateX(-3px); animation-delay: -2s; }
.licon-i8 line:nth-child(4) { transform: translateX(5px); animation-delay: -3s; }
@keyframes li-i8 { to { transform: translateX(0); } }

.licon-i9 .drop { animation: li-i9d 4s ease-in infinite; }
.licon-i9 .ripple { transform-origin: 28px 44px; opacity: 0; animation: li-i9r 4s ease-out infinite; }
@keyframes li-i9d { 0% { transform: translateY(-12px); opacity: 0; } 25% { opacity: 1; } 48% { transform: translateY(8px); opacity: 1; } 52%,100% { opacity: 0; } }
@keyframes li-i9r { 0%,48% { transform: scaleX(.2); opacity: 0; } 55% { opacity: .8; } 95%,100% { transform: scaleX(1.15); opacity: 0; } }

/* --------------------------------------------------------------------------
   Vagus nerve
   -------------------------------------------------------------------------- */
.nerve {
  position: relative;
  overflow: hidden;
  padding: var(--pad-section) var(--pad-x);
}
.nerve__bleed {
  position: absolute;
  left: -10%;
  top: 10%;
  width: 60vw;
  height: 50vh;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  background: radial-gradient(ellipse, rgba(27, 26, 24, .16), transparent 72%);
  filter: blur(30px);
  animation: bleed 9s ease-in-out infinite alternate;
  pointer-events: none;
}
.nerve__grid {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px 64px;
  align-items: center;
}
.nerve__lead {
  margin: 0 0 24px;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.7;
}
.nerve__text {
  font-size: 15px;
  line-height: 2.2;
  color: var(--text-gray);
  text-wrap: pretty;
}
.nerve__text + .nerve__text { margin-top: 16px; }
.nerve__figure {
  margin: 0;
  max-width: 560px;
  justify-self: center;
}
.nerve__figure img {
  display: block;
  width: 100%;
  height: auto;
  will-change: transform;
}

/* --------------------------------------------------------------------------
   Worries checklist
   -------------------------------------------------------------------------- */
.worries {
  padding: var(--pad-section) var(--pad-x);
  background: var(--washi);
}
.worries__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px 64px;
}
.worries__lead {
  margin-top: 24px;
  font-size: 14px;
  line-height: 2.1;
  color: var(--text-gray);
}
.worries__list {
  columns: 2 220px;
  column-gap: 48px;
}
.worries__list li {
  break-inside: avoid;
  display: flex;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  line-height: 1.8;
}
.worries__list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--sumi);
  flex: none;
  margin-top: 11px;
  filter: blur(.4px);
  animation: d3-spin 6s ease-in-out infinite;
}
.worries__list li:nth-child(3n+2)::before { animation-delay: -2s; }
.worries__list li:nth-child(3n)::before { animation-delay: -4s; }
@keyframes d3-spin {
  0%, 100% { transform: rotate(0); }
  50% { transform: rotate(135deg); }
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
/* 墨の山並みをパララックスで動く背景レイヤーとして下部に敷く */
.about {
  position: relative;
  overflow: hidden;
  padding: var(--pad-section) var(--pad-x) clamp(280px, 48vw, 680px);
  background-color: var(--washi);
}
.about__bg {
  position: absolute;
  inset: -760px 0;
  background: url("../assets/sumi-sansui.webp") center calc(100% - 880px) / 100% auto no-repeat;
  will-change: transform;
  pointer-events: none;
}
.about > :not(.about__bg) { position: relative; }
.about__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px 64px;
  align-items: start;
}
.about__lead {
  margin: 0 0 24px;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.7;
}
.about__text {
  font-size: 15px;
  line-height: 2.2;
  color: var(--text-gray);
}
.about__scenes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
/* C3 短冊カード（デザイン候補集より）: 風に揺れる縦書きの札 */
.about__scene {
  writing-mode: vertical-rl;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 2;
  letter-spacing: .12em;
  height: 260px;
  padding: 20px 14px;
  background: var(--washi);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--sumi);
  transform-origin: top center;
  animation: c3-sway 6s ease-in-out infinite alternate;
}
.about__scene:nth-child(2) { animation-delay: -2s; }
.about__scene:nth-child(3) { animation-delay: -4s; }
.about__scene:nth-child(4) { animation-delay: -1s; }
@keyframes c3-sway {
  from { transform: rotate(-1deg); }
  to   { transform: rotate(1.2deg); }
}
.about__scene span {
  font-size: 12px;
  color: var(--text-sub);
  margin-right: 10px;
}

/* C1墨縁の呼吸: box-shadowを直接動かさず、影レイヤーのopacityだけ動かして軽くする */
.howto__step::before,
.purchase::before,
.qr-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 26px rgba(27, 26, 24, .12);
  opacity: 0;
  animation: c1-breath-o 5s ease-in-out infinite;
  will-change: opacity;
}
.howto__step:nth-child(2)::before { animation-delay: -1.7s; }
.howto__step:nth-child(3)::before { animation-delay: -3.4s; }
@keyframes c1-breath-o {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* 墨の引き線（デザイン候補集 D1）: セクションの仕切り */
.howto::before,
.detail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(480px, 72%);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--sumi) 12%, var(--sumi) 88%, transparent);
  transform-origin: left;
  animation: d1-draw 7s ease-in-out infinite;
}
.detail::before { animation-delay: -3.5s; }
@keyframes d1-draw {
  0% { transform: translateX(-50%) scaleX(0); opacity: 1; }
  40%, 78% { transform: translateX(-50%) scaleX(1); opacity: 1; }
  96%, 100% { transform: translateX(-50%) scaleX(1); opacity: 0; }
}

/* --------------------------------------------------------------------------
   How to
   -------------------------------------------------------------------------- */
.howto {
  position: relative;
  padding: var(--pad-section) var(--pad-x);
}
.howto__inner { max-width: 1200px; margin: 0 auto; }
.howto__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px;
}
/* C1 墨縁カード + D4 にじむ漢数字（デザイン候補集より） */
.howto__step {
  position: relative;
  border: 1px solid rgba(27, 26, 24, .4);
  padding: 30px 26px;
  background: var(--washi);
}
.howto__step::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 10px;
  width: 7px;
  height: 7px;
  background: var(--shu);
  animation: c1-dot 5s ease-in-out infinite;
}
.howto__step:nth-child(2)::after { animation-delay: -1.7s; }
.howto__step:nth-child(3)::after { animation-delay: -3.4s; }
@keyframes c1-dot { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
.howto__num {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  animation: d4-bleed 5s ease-in-out infinite;
}
.howto__step:nth-child(2) .howto__num { animation-delay: -1.7s; }
.howto__step:nth-child(3) .howto__num { animation-delay: -3.4s; }
@keyframes d4-bleed {
  0%, 100% { text-shadow: 0 0 0 rgba(27, 26, 24, 0); opacity: .92; }
  50% { text-shadow: 0 0 14px rgba(27, 26, 24, .55); opacity: 1; }
}
.howto__step-title {
  margin: 24px 0 14px;
  font-size: 19px;
}
.howto__step p {
  font-size: 14px;
  line-height: 2.1;
  color: var(--text-gray);
}
.howto__points {
  margin-top: 64px;
  padding: 36px clamp(20px, 3vw, 40px);
  border: 1px solid rgba(27, 26, 24, .3);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 24px 40px;
}
.howto__points > * { min-width: 0; }
.howto__points-label {
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--text-sub);
}
.howto__points-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 12px 40px;
  font-size: 14px;
  line-height: 2;
  color: var(--text-gray);
}
.howto__cautions {
  margin-top: 28px;
  font-size: 13px;
  line-height: 2.2;
  color: var(--text-sub);
}
.howto__cautions li { padding-left: 1em; text-indent: -1em; }
.howto__cautions li::before { content: "・"; }

/* --------------------------------------------------------------------------
   Detail / Purchase
   -------------------------------------------------------------------------- */
.detail {
  position: relative;
  overflow: hidden;
  padding: var(--pad-section) var(--pad-x);
}
.detail__grid {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px 64px;
}
.spec { font-size: 14px; line-height: 2; }
.spec__row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.spec__key { color: var(--text-sub); }

/* 購入パネル — LABOデザイン（C1墨縁カード + D2墨流しボタン） */
.purchase {
  position: relative;
  background: var(--washi);
  color: var(--sumi);
  border: 1px solid rgba(27, 26, 24, .4);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.purchase__sizes { padding-right: 56px; }
.purchase__label {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--text-sub);
  margin-bottom: 22px;
}
.purchase__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.purchase__size,
.purchase__dest {
  padding: 12px 26px;
  border: 1px solid rgba(27, 26, 24, .4);
  background: transparent;
  color: var(--text-gray);
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.purchase__size[aria-pressed="true"],
.purchase__dest[aria-pressed="true"] {
  background: var(--sumi);
  border-color: var(--sumi);
  color: var(--washi);
}
.purchase__label--dest { margin-top: 28px; }
.purchase__qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(27, 26, 24, .4);
}
.purchase__qty-btn {
  width: 48px;
  padding: 12px 0;
  border: none;
  background: transparent;
  color: var(--sumi);
  font-family: inherit;
  font-size: 17px;
  cursor: pointer;
  transition: background .3s ease, color .3s ease;
}
.purchase__qty-btn:hover { background: var(--sumi); color: var(--washi); }
.purchase__qty-val {
  min-width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border-left: 1px solid rgba(27, 26, 24, .25);
  border-right: 1px solid rgba(27, 26, 24, .25);
}
.purchase__note {
  margin: 18px 0 0;
  font-size: 12px;
  color: var(--text-sub);
}
.purchase__price {
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1;
}
.purchase__price span {
  font-size: 13px;
  margin-left: 12px;
  color: var(--text-sub);
}
.purchase__cta-group {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}
/* D2 墨流しボタン: ホバーで左から墨が満ちる */
.purchase__cta {
  display: block;
  padding: 18px;
  text-align: center;
  border: 1px solid var(--sumi);
  font-size: 14px;
  letter-spacing: .16em;
  color: var(--sumi);
  background: linear-gradient(to right, var(--sumi) 50%, transparent 50%);
  background-size: 205% 100%;
  background-position: 100% 0;
  transition: background-position .6s ease, color .6s ease;
}
.purchase__cta:hover {
  background-position: 0 0;
  color: var(--washi);
}
.purchase__cta span {
  color: var(--text-sub);
  margin-left: 12px;
  transition: color .6s ease;
}
.purchase__cta:hover span { color: var(--on-dark-sub); }
.purchase__qr-link {
  margin: 14px 0 0;
  font-size: 12px;
  text-align: center;
}
.purchase__qr-link a {
  letter-spacing: .1em;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
}
/* 納期の注意書き */
.purchase__leadtime {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  line-height: 2;
  color: var(--text-sub);
}

/* --------------------------------------------------------------------------
   LINE QRページ
   -------------------------------------------------------------------------- */
.qr-hero {
  padding: calc(96px + clamp(48px, 7vw, 96px)) var(--pad-x) clamp(40px, 5vw, 64px);
  text-align: center;
}
.qr-hero__inner { max-width: 640px; margin: 0 auto; }
.qr-hero__label {
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--text-sub);
  margin-bottom: 24px;
}
.qr-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.4;
  margin: 0 0 24px;
}
.qr-hero__lead {
  font-size: 14px;
  line-height: 2.2;
  color: var(--text-gray);
  text-wrap: pretty;
}
.qr-main { padding: 0 var(--pad-x) var(--pad-section); }
.qr-main__inner { max-width: 760px; margin: 0 auto; }
/* C1墨縁カード仕立てのQRカード */
.qr-card {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
  background: var(--washi);
  border: 1px solid rgba(27, 26, 24, .4);
  text-align: center;
}
.qr-card__frame {
  display: inline-block;
  padding: 18px;
  border: 1px solid var(--rule);
  background: #fdfbf6;
}
.qr-card__frame img {
  display: block;
  width: min(280px, 60vw);
  height: auto;
}
.qr-card__id {
  margin: 20px 0 24px;
  font-size: 17px;
  letter-spacing: .12em;
}
.qr-card .rakkan--sm { right: 14px; top: 14px; }
.qr-steps {
  margin-top: clamp(48px, 7vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 32px 40px;
}
.qr-step__num {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  animation: d4-bleed 5s ease-in-out infinite;
}
.qr-step:nth-child(2) .qr-step__num { animation-delay: -1.7s; }
.qr-step:nth-child(3) .qr-step__num { animation-delay: -3.4s; }
.qr-step__title {
  margin: 16px 0 10px;
  font-size: 16px;
}
.qr-step p {
  font-size: 13px;
  line-height: 2;
  color: var(--text-gray);
}
.qr-note {
  margin-top: 48px;
  font-size: 12px;
  line-height: 2;
  color: var(--text-sub);
  text-align: center;
}
.qr-back {
  margin-top: 40px;
  text-align: center;
}

.thanks-hero { padding-bottom: var(--pad-section); }
.thanks-hero .rakkan--lg { margin: 44px auto 0; }
.thanks-hero .qr-back { margin-top: 36px; }

/* 落款（朱印・白抜きの書） */
.rakkan {
  background: var(--shu);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.rakkan img {
  display: block;
  height: 86%;
  width: auto;
}
.rakkan--sm {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 36px;
  height: 36px;
  font-size: 12px;
  border-radius: 2px;
}
.rakkan--lg {
  margin: 48px auto 0;
  width: 56px;
  height: 56px;
  font-size: 18px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 2px rgba(239, 233, 220, .25);
}

/* 結びのお問い合わせタブ（本文の下） */
.closing__contact {
  margin: 36px 0 8px;
}
.closing__contact-wrap {
  position: relative;
  display: inline-block;
}
.closing__contact-wrap .btn { cursor: pointer; font-family: inherit; background-color: var(--washi); }
.site-header__menu--center {
  right: auto;
  left: 50%;
  margin-left: -115px;
  text-align: left;
  z-index: 5;
}

/* 購入ページ */
.purchase--page { max-width: 560px; margin: 0 auto; }
.buy-shipping {
  max-width: 560px;
  margin: clamp(40px, 6vw, 64px) auto 0;
  padding: 28px clamp(20px, 3vw, 36px);
  border: 1px solid rgba(27, 26, 24, .3);
}
.buy-shipping__title {
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--text-sub);
  margin-bottom: 16px;
}
.buy-shipping__list li {
  padding-left: 1em;
  text-indent: -1em;
  font-size: 13px;
  line-height: 2.1;
  color: var(--text-gray);
}
.buy-shipping__list li::before { content: "・"; }
.buy__name {
  font-size: 20px;
  letter-spacing: .08em;
  margin-bottom: 28px;
}
.buy__name span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-sub);
  letter-spacing: .06em;
}
.buy__paypal {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(27, 26, 24, .3);
}
.buy__paypal-note {
  font-size: 12px;
  line-height: 2;
  color: var(--text-sub);
}
.buy__paypal-note + .buy__paypal-note { margin-top: 8px; }
#paypal-button-container { margin: 16px 0; }
.buy__paypal-note a {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
}

/* --------------------------------------------------------------------------
   Closing
   -------------------------------------------------------------------------- */
.closing {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 120px 0 0;
}
/* 波紋のリング（同心円がゆっくり波打つ） */
.closing__rings {
  display: grid;
  place-items: center;
  width: 100%;
  margin-bottom: clamp(8px, 3vw, 32px);
  pointer-events: none;
}
.rings__stage {
  position: relative;
  width: min(110px, 30vw);
  aspect-ratio: 1 / 1;
  transform: rotateX(54deg);
  display: grid;
  place-items: center;
}
.rings__ring {
  position: absolute;
  width: calc(100% - var(--i) * 5%);
  height: calc(100% - var(--i) * 5%);
  border: 1px solid rgba(27, 26, 24, .4);
  border-radius: 50%;
  animation: ring-float 3.2s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -0.26s);
}
@keyframes ring-float {
  from { transform: translateY(0); border-color: rgba(27, 26, 24, .35); }
  to   { transform: translateY(-10px); border-color: rgba(27, 26, 24, .9); }
}

.closing__inner {
  position: relative;
  max-width: 560px;
  padding: 0 var(--pad-x);
}
.closing__heading {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.5;
}
.closing__text {
  margin: 0 auto 40px;
  font-size: 15px;
  line-height: 2.4;
  color: var(--text-gray);
  text-wrap: pretty;
}
.closing__video-wrap {
  position: relative;
  width: 100%;
  margin-top: 64px;
  overflow: hidden;
  line-height: 0;
}
.closing__video {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  transform: scaleX(-1);
}
.closing__video-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--washi) 0, rgba(239, 233, 220, 0) 18%, rgba(239, 233, 220, 0) 85%, var(--washi) 100%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 48px var(--pad-x) 56px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px 40px;
  font-size: 12px;
  line-height: 2;
  color: var(--text-sub);
  max-width: 1200px;
  margin: 0 auto;
}
/* 会社情報の列（最後の列）のみ右寄せ */
.site-footer > div:last-child { text-align: right; }
.site-footer__logo { margin-bottom: 14px; }
.site-footer__logo img {
  display: block;
  height: 76px;
  width: auto;
}

/* --------------------------------------------------------------------------
   Analysis page (成分分析データ)
   -------------------------------------------------------------------------- */
.an-hero {
  padding: calc(96px + clamp(48px, 7vw, 96px)) var(--pad-x) clamp(48px, 7vw, 96px);
  border-bottom: 1px solid var(--rule);
}
.an-hero__inner { max-width: 1200px; margin: 0 auto; }
.an-hero__label {
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--text-sub);
  margin-bottom: 28px;
}
.an-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.3;
  letter-spacing: .06em;
  margin: 0 0 28px;
}
.an-hero__lead {
  max-width: 680px;
  font-size: 15px;
  line-height: 2.2;
  color: var(--text-gray);
  text-wrap: pretty;
}

.an-section { padding: var(--pad-section) var(--pad-x); }
.an-section__inner { max-width: 1200px; margin: 0 auto; }
.an-section--dark {
  background: var(--sumi);
  color: var(--washi);
}
.an-section--tinted { background: var(--washi-dark); }

.an-unit {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--text-sub);
  margin-left: 8px;
}
.an-unit--dark { color: var(--on-dark-sub); }

/* Stat blocks */
.an-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px 48px;
  margin-top: 16px;
}
.an-stat {
  border-top: 1px solid rgba(27, 26, 24, .3);
  padding-top: 20px;
}
.an-stat--dark { border-top-color: rgba(239, 233, 220, .35); }
.an-stat__name {
  font-size: 14px;
  letter-spacing: .1em;
}
.an-stat__formula {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--text-sub);
}
.an-stat--dark .an-stat__formula { color: var(--on-dark-sub); }
.an-stat__value {
  margin-top: 18px;
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1;
}
.an-stat__value span {
  font-size: 13px;
  margin-left: 8px;
  color: var(--text-sub);
}
.an-stat--dark .an-stat__value span { color: var(--on-dark-sub); }

.an-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 8px;
  background: var(--shu);
  color: var(--washi);
  font-size: 10px;
  letter-spacing: .14em;
  border-radius: 2px;
  vertical-align: 2px;
}
.an-badge--light { font-family: var(--font-body); font-weight: 400; }

/* Reasons */
.an-reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px 64px;
}
.an-reason__title {
  margin: 0 0 16px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.7;
}
.an-reason p {
  font-size: 14px;
  line-height: 2.1;
  color: var(--text-gray);
  text-wrap: pretty;
}
.an-reason__list {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.an-reason__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 2;
  color: var(--text-gray);
}
.an-reason__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sumi);
  filter: blur(.4px);
}
.an-reason__list strong { font-weight: 500; color: var(--sumi); }

/* Comparison */
.an-compare__hint {
  margin: -12px 0 28px;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--text-sub);
}
.an-compare__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.an-compare__tab {
  padding: 11px 20px;
  border: 1px solid rgba(27, 26, 24, .35);
  background: transparent;
  color: var(--sumi);
  font-family: inherit;
  font-size: 13px;
  letter-spacing: .08em;
  cursor: pointer;
}
.an-compare__tab[aria-selected="true"] {
  background: var(--sumi);
  color: var(--washi);
  border-color: var(--sumi);
}
.an-compare__panel {
  margin-top: 32px;
  border: 1px solid rgba(27, 26, 24, .3);
  padding: clamp(24px, 3.5vw, 44px);
  background: var(--washi);
}
.an-compare__panel-title {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
}
.an-compare__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px 56px;
}
.an-compare__group-label {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--text-sub);
  margin-bottom: 18px;
}
.an-bar { padding: 10px 0; }
.an-bar__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  letter-spacing: .06em;
}
.an-bar__value { font-size: 15px; }
.an-bar__track {
  margin-top: 8px;
  height: 3px;
  background: rgba(27, 26, 24, .12);
}
.an-bar__fill {
  height: 100%;
  background: var(--sumi);
  transition: width .8s ease;
}

.an-table-wrap {
  margin-top: 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.an-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.8;
}
.an-table th, .an-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule);
  text-align: right;
  font-weight: 400;
  white-space: nowrap;
}
.an-table thead th {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--text-sub);
  border-bottom: 1px solid rgba(27, 26, 24, .35);
  vertical-align: bottom;
}
.an-table th:first-child, .an-table td:first-child { text-align: left; padding-left: 0; }
.an-table th:last-child, .an-table td:last-child { padding-right: 0; }
.an-table tbody th { color: var(--text-gray); }
.an-table__highlight th, .an-table__highlight td {
  color: var(--sumi);
  font-weight: 500;
  background: rgba(27, 26, 24, .05);
}
.an-table__tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  background: var(--shu);
  color: var(--washi);
  font-size: 10px;
  letter-spacing: .12em;
  border-radius: 2px;
  font-weight: 400;
}

/* Glossary */
.an-glossary { border-top: 1px solid var(--rule); }
.an-glossary__row {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 16px 48px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.an-glossary__row h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
}
.an-glossary__row p {
  font-size: 14px;
  line-height: 2.1;
  color: var(--text-gray);
  text-wrap: pretty;
}
@media (max-width: 680px) {
  .an-glossary__row { grid-template-columns: 1fr; }
}

.an-note {
  margin-top: 64px;
  padding: 36px clamp(20px, 3vw, 40px);
  border: 1px solid rgba(27, 26, 24, .3);
}
.an-note__label {
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--text-sub);
  margin-bottom: 14px;
}
.an-note p {
  font-size: 14px;
  line-height: 2.1;
  color: var(--text-gray);
}

.an-back {
  margin-top: 64px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nerve__bleed { animation: none; }
  .rings__ring { animation: none; }
  .about__scene,
  .howto__step,
  .howto__step::after,
  .howto__num,
  .licon,
  .licon *,
  .worries__list li::before,
  .howto::before,
  .detail::before,
  .howto__step::before,
  .purchase::before,
  .qr-card::before { animation: none; }
  .howto::before,
  .detail::before { transform: translateX(-50%) scaleX(1); }
}
