/* 般若商會 LP（2026-11-14）
   雰囲気：@jpnstoicism の文法（漆黒の余白・暗く落とした本物の浮世絵の横長の帯・細く小さい文字・静けさ）
   構成：Course Printer の LP の流れ
   色：漆黒・生成り・紅（購入ボタンと価格だけ）・紺（価格の枠） */
:root {
  --shikkoku: #120f0d;
  --shikkoku-2: #1a1613;
  --kinari: #e9e1cf;
  --kinari-dim: #b9b0a0;
  --hai: #8f8676;
  --beni: #a8243a;
  --beni-hover: #bf2d45;
  --kon: #1b2640;
  --kon-line: #33415f;
  --sumi: #2a2420;
  --mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }
[id] { scroll-margin-top: 72px; }
a, summary, .btn { touch-action: manipulation; -webkit-tap-highlight-color: rgba(233, 225, 207, .15); }
.skip { position: absolute; left: 12px; top: -48px; z-index: 20; background: var(--kinari); color: var(--shikkoku); padding: .5rem .9rem; border-radius: 4px; text-decoration: none; }
.skip:focus { top: 12px; }
body { background: var(--shikkoku); color: var(--kinari); font-family: var(--gothic); font-size: 16px; line-height: 1.9; letter-spacing: .02em; font-feature-settings: "palt" 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--kinari); outline-offset: 3px; }

.col { width: min(36rem, 100% - 40px); margin-inline: auto; }
.wide { width: min(68rem, 100% - 40px); margin-inline: auto; }

/* 見出し：細い明朝。強調の色付けはしない */
h1, h2, h3 { font-family: var(--mincho); font-weight: 500; letter-spacing: .04em; }
h1 { font-size: clamp(1.75rem, 5.6vw, 3.1rem); line-height: 1.4; }
h2 { font-size: clamp(1.45rem, 4vw, 2.1rem); line-height: 1.55; margin-bottom: 1.6rem; }
h3 { font-size: 1.15rem; line-height: 1.6; margin-bottom: .5rem; }
p + p { margin-top: 1.1em; }
.quiet { color: var(--kinari-dim); }
.small { font-size: .82rem; color: var(--hai); line-height: 1.8; }
strong { font-weight: 700; color: #f5efe2; }

/* ヘッダー */
.hdr { position: sticky; top: 0; z-index: 10; background: rgba(18, 15, 13, .88); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(233, 225, 207, .08); }
.hdr .wide { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.logo { font-family: var(--mincho); font-size: 1.05rem; letter-spacing: .2em; text-decoration: none; }
.hdr a.buy-sm { font-size: .82rem; text-decoration: none; padding: .45rem .9rem; border: 1px solid rgba(233, 225, 207, .35); border-radius: 999px; }
.hdr a.buy-sm:hover { border-color: var(--kinari); }

/* 浮世絵の帯（このページの一番の見せ場） */
.band { margin: 0 auto; width: min(68rem, 100% - 24px); }
.band figure { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 2.4 / 1; background: var(--sumi); }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band figcaption { text-align: center; margin-top: 1.6rem; font-family: var(--mincho); font-size: clamp(1.05rem, 2.6vw, 1.35rem); line-height: 1.8; }
.band .en { display: block; font-family: var(--mincho); font-size: .78rem; letter-spacing: .08em; color: var(--hai); margin-top: .3rem; }
.credit { text-align: right; font-size: .7rem; color: #8a8173; margin-top: .4rem; padding-right: 4px; }

/* ヒーロー */
.hero { padding: 1.6rem 0 4.5rem; }
.hero .band figure img { animation: kenburns 9s ease-out both; transform-origin: 50% 60%; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-copy { width: min(54rem, 100% - 40px); margin: 2.2rem auto 0; text-align: center; }
.hero-copy .lead { max-width: 38rem; margin-inline: auto; }
.hero .band figure { aspect-ratio: 3 / 1; }
h1, h2, h3, figcaption { text-wrap: balance; word-break: auto-phrase; }
p, li, summary { word-break: auto-phrase; }
.hero-copy .lead { margin-top: 1.4rem; color: var(--kinari-dim); }
.cta-row { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.btn { display: inline-block; text-decoration: none; padding: .95rem 1.7rem; border-radius: 6px; font-weight: 500; letter-spacing: .06em; transition: background-color .2s; }
.btn-beni { background: var(--beni); color: #fff; }
.btn-beni:hover { background: var(--beni-hover); }
.btn-line { border: 1px solid rgba(233, 225, 207, .4); }
.btn-line:hover { border-color: var(--kinari); }
.terms { margin-top: 1.2rem; font-size: .82rem; color: var(--hai); }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 2.6rem; background: rgba(233, 225, 207, .12); border: 1px solid rgba(233, 225, 207, .12); border-radius: 8px; overflow: hidden; text-align: left; }
.promises div { background: var(--shikkoku); padding: 1rem 1.1rem; font-size: .86rem; line-height: 1.7; color: var(--kinari-dim); }
.promises b { display: block; font-family: var(--mincho); font-weight: 500; color: var(--kinari); font-size: .98rem; margin-bottom: .2rem; }

/* 章 */
.chapter { padding: 5.5rem 0; }
.chapter + .band-wrap { padding-top: 0; }
.band-wrap { padding: 2rem 0 5.5rem; }

/* 数字（出典つき） */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem; margin-top: 2.8rem; }
.fact .num { font-family: var(--mincho); font-size: clamp(1.9rem, 4.6vw, 2.6rem); line-height: 1.2; }
.fact p { font-size: .9rem; color: var(--kinari-dim); margin-top: .5rem; }
.fact .small { margin-top: .6rem; }

/* 心当たり（並びに順番はないので、番号は付けない） */
.pains { margin-top: 2.4rem; display: grid; gap: 2.2rem; }
.pain h3 { font-size: 1.2rem; }
.pain p { color: var(--kinari-dim); }
.stat-line { margin-top: 2.6rem; padding: 1.4rem 1.5rem; border-left: 2px solid var(--beni); background: var(--shikkoku-2); font-size: .92rem; color: var(--kinari-dim); }

/* 生成りの紙の章（中身） */
.paper { background: var(--kinari); color: var(--shikkoku); }
.paper strong { color: var(--shikkoku); }
.paper .quiet { color: #5d554a; }
.paper .small { color: #5f574b; }
.paper h2, .paper h3 { color: var(--shikkoku); }
.missions { margin-top: 2.4rem; border-top: 1px solid #cfc5b0; }
.missions li { list-style: none; display: grid; grid-template-columns: 5.2rem 1fr; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid #cfc5b0; }
.missions .wk { font-family: var(--mincho); color: #5f574b; font-size: .9rem; }
.missions .m { font-size: .98rem; }
.missions .m span { display: block; font-size: .84rem; color: #5f574b; }
.preview { margin-top: 3rem; border-radius: 10px; overflow: hidden; }
.inside { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2.6rem; margin-top: 3rem; }
.inside h3 { font-size: 1.05rem; }
.inside p { font-size: .9rem; color: #4e473d; }

/* 3つの手順（本当に順番があるので番号を付ける） */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.4rem; counter-reset: f; }
.flow > div { counter-increment: f; }
.flow > div::before { content: counter(f); display: block; font-family: var(--mincho); font-size: 2rem; color: var(--hai); line-height: 1; margin-bottom: .8rem; }
.flow p { font-size: .92rem; color: var(--kinari-dim); }

/* 向いている・いない */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; margin-top: 2rem; }
.fit ul { list-style: none; }
.fit li { padding: .7rem 0; border-bottom: 1px solid rgba(233, 225, 207, .12); font-size: .95rem; color: var(--kinari-dim); }

/* 価格（紺） */
.price { background: var(--kon); border: 1px solid var(--kon-line); border-radius: 14px; padding: clamp(1.6rem, 4vw, 3rem); }
.price .name { font-family: var(--mincho); font-size: 1.05rem; color: var(--kinari-dim); }
.price .amt { font-family: var(--mincho); font-size: clamp(3rem, 9vw, 4.4rem); line-height: 1.1; margin: .6rem 0 .2rem; }
.price .amt small { font-size: 1.2rem; margin-left: .2rem; }
.price ul { list-style: none; margin: 1.8rem 0; }
.price li { padding: .62rem 0 .62rem 1.4rem; border-bottom: 1px solid var(--kon-line); font-size: .92rem; position: relative; }
.price li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: .55rem; height: 1px; background: var(--kinari-dim); }
.conds { width: 100%; border-collapse: collapse; margin-top: 2.2rem; font-size: .88rem; }
.conds th, .conds td { text-align: left; vertical-align: top; padding: .8rem .4rem; border-bottom: 1px solid rgba(233, 225, 207, .12); }
.conds th { width: 7.5rem; font-weight: 500; color: var(--kinari-dim); }

/* よくある質問 */
details { border-bottom: 1px solid rgba(233, 225, 207, .14); }
summary { cursor: pointer; list-style: none; padding: 1.15rem 2rem 1.15rem 0; position: relative; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .2rem; top: 1.05rem; font-family: var(--mincho); font-size: 1.3rem; color: var(--hai); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details > p { padding: 0 0 1.3rem; color: var(--kinari-dim); font-size: .94rem; }

/* 最後 */
.final { text-align: center; padding-bottom: 6rem; }
.final h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); }

footer { border-top: 1px solid rgba(233, 225, 207, .1); padding: 2.4rem 0 3rem; font-size: .8rem; color: var(--hai); }
footer nav { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-bottom: 1rem; }
footer a { text-decoration: none; }
footer a:hover { color: var(--kinari); }

@media (max-width: 760px) {
  .promises, .facts, .flow, .fit, .inside { grid-template-columns: 1fr; }
  .facts { gap: 1.8rem; }
  .band figure { aspect-ratio: 1.6 / 1; border-radius: 10px; }
  .chapter { padding: 4rem 0; }
  .band-wrap { padding-bottom: 4rem; }
  .missions li { grid-template-columns: 4.2rem 1fr; }
  .hero .band figure { aspect-ratio: 1.5 / 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .band figure img { animation: none; }
  html { scroll-behavior: auto; }
}
