/* いしむすび 導入LP — WebGL体験型 × 墨×金×和紙 */
:root {
  --washi: #f5efe0;
  --washi-2: #ede4cf;
  --sumi: #1a1410;
  --sumi-2: #2a2018;
  --muted: #a89880;
  --kin: #d9b25a;
  --kin-bright: #f0cf8a;
  --line: rgba(217,178,90,.18);
  --serif: 'Shippori Mincho', serif;
  --sans: 'Zen Kaku Gothic New', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #0e0a08; color: #f5efe0; font-family: var(--sans); line-height: 1.85; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
/* 固定WebGLキャンバス */
#scene { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
body > section, body > footer { position: relative; z-index: 1; }
/* リビール */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1.2s cubic-bezier(.2,.9,.3,1); }
.reveal.in { opacity: 1; transform: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: .04em; color: var(--sumi); margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.kin { color: var(--kin); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 22px; }

/* ---------- HERO（WebGL背景の上に置くグラス感テキスト） ---------- */
.hero {
  position: relative;
  min-height: 100dvh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: 60px 22px 120px;
  background: radial-gradient(ellipse at center, rgba(14,10,8,0) 0%, rgba(14,10,8,.7) 90%);
  overflow: hidden;
}
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  font-family: var(--serif); font-size: 11px; letter-spacing: .5em;
  color: var(--kin); opacity: .7;
  animation: fall 2.6s ease-in-out infinite;
}
@keyframes fall { 0%,100% { transform: translate(-50%,0); opacity: .7; } 50% { transform: translate(-50%,6px); opacity: 1; } }
.hero-inner {
  position: relative; z-index: 2;
  max-width: 900px; margin: 0 auto;
  text-align: center;
}
.hero-brand {
  font-family: var(--serif);
  font-size: 18px; letter-spacing: .5em;
  color: var(--kin); margin-bottom: 26px;
  text-shadow: 0 2px 20px rgba(0,0,0,.7);
}
.hero-h {
  font-family: var(--serif);
  font-size: clamp(32px, 6vw, 60px);
  line-height: 1.5;
  letter-spacing: .08em;
  color: #f5efe0;
  margin-bottom: 26px;
  text-shadow: 0 4px 40px rgba(0,0,0,.85), 0 2px 8px rgba(0,0,0,.6);
}
.hero-h .kin { color: var(--kin-bright); }
.hero-lead {
  font-size: clamp(14px, 2.2vw, 17px);
  color: rgba(245,239,224,.88);
  margin-bottom: 34px; line-height: 2;
  text-shadow: 0 2px 20px rgba(0,0,0,.7);
}
.hero-badge {
  display: inline-block;
  padding: 8px 26px;
  border: 1px solid var(--kin);
  color: var(--kin-bright);
  font-family: var(--serif);
  font-size: 12px; letter-spacing: .32em;
  margin-bottom: 34px;
  background: rgba(0,0,0,.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 14px;
  font-family: var(--serif);
  letter-spacing: .22em;
  border-radius: 999px;
  transition: transform .28s cubic-bezier(.2,1.3,.3,1), background .3s, color .3s;
  cursor: pointer; border: none;
}
.btn.primary { background: linear-gradient(135deg, var(--kin), var(--kin-bright)); color: #fff; box-shadow: 0 8px 24px rgba(180,144,58,.28); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(180,144,58,.36); }
/* ghost: for-shops は全セクション暗背景なので、明るい半透明で常時視認可能に */
.btn.ghost { background: rgba(246,240,227,.06); color: #f6f0e3; border: 1px solid rgba(246,240,227,.42); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.btn.ghost:hover { background: rgba(246,240,227,.14); border-color: #f6f0e3; }
/* スマホは太めのborderで視認性を確保 */
@media (max-width: 720px) {
  .btn.ghost { background: rgba(246,240,227,.09); border-color: rgba(246,240,227,.6); }
}
/* ---------- 汎用セクション（暗背景 × グラスパネル） ---------- */
.sec {
  padding: 110px 22px;
  background: linear-gradient(180deg, rgba(14,10,8,.72) 0%, rgba(14,10,8,.9) 50%, rgba(14,10,8,.72) 100%);
  color: #f5efe0;
  position: relative;
}
.sec.alt {
  background: linear-gradient(180deg, rgba(30,20,15,.85) 0%, rgba(20,14,10,.95) 100%);
}
.sec .cap {
  font-family: var(--serif);
  font-size: 11px; letter-spacing: .55em;
  color: var(--kin); text-align: center;
  margin-bottom: 18px;
}
.sec h2 {
  text-align: center;
  font-size: clamp(26px, 4.5vw, 44px);
  line-height: 1.55;
  color: #f5efe0;
  margin-bottom: 26px;
  text-shadow: 0 2px 20px rgba(0,0,0,.6);
}
.sec .lead {
  text-align: center;
  font-size: 15px; color: rgba(245,239,224,.75);
  margin-bottom: 48px; line-height: 2;
}
.sec .foot {
  text-align: center; margin-top: 44px;
  font-size: 14px; color: rgba(245,239,224,.55);
  line-height: 2;
}
.sec .foot b { color: var(--kin-bright); font-weight: 500; }

/* グラスパネル共通 */
.glass { background: rgba(30,22,16,.5); backdrop-filter: blur(12px) saturate(1.1); -webkit-backdrop-filter: blur(12px) saturate(1.1); border: 1px solid rgba(217,178,90,.22); border-radius: 14px; }

/* ---------- 隠れた離脱 ---------- */
.drops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.drop {
  background: rgba(30,22,16,.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(217,178,90,.22);
  border-radius: 14px; padding: 34px 24px; text-align: center;
  transition: transform .4s, border-color .4s;
}
.drop:hover { transform: translateY(-4px); border-color: rgba(217,178,90,.5); }
.drop .n {
  font-family: var(--serif); font-size: 34px;
  color: var(--kin-bright); margin-bottom: 14px;
}
.drop p { font-size: 14px; line-height: 1.9; color: rgba(245,239,224,.82); }

/* ---------- 差別化 二列 ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.col {
  background: rgba(30,22,16,.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(217,178,90,.18);
  border-radius: 16px; padding: 40px 28px; text-align: center;
}
.col.hi {
  background: linear-gradient(135deg, rgba(217,178,90,.15), rgba(180,144,58,.08));
  border: 1px solid var(--kin);
  box-shadow: 0 20px 50px rgba(217,178,90,.15);
}
.col-h { font-size: 12px; letter-spacing: .3em; color: rgba(217,178,90,.7); margin-bottom: 20px; }
.col.hi .col-h { color: var(--kin-bright); }
.col-copy {
  font-family: var(--serif); font-size: 24px;
  line-height: 1.7; margin-bottom: 22px; color: rgba(245,239,224,.9);
}
.col.hi .col-copy { color: var(--kin-bright); }
.col-note { font-size: 13px; color: rgba(245,239,224,.65); line-height: 1.9; }
.col.hi .col-note { color: rgba(245,239,224,.85); }

/* ---------- デモ ---------- */
.demo-frame {
  width: 100%; max-width: 900px; margin: 0 auto;
  aspect-ratio: 9 / 16; max-height: 720px;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(217,178,90,.25);
  background: #f3ecdd;
}
.demo-frame iframe { width: 100%; height: 100%; border: none; }
@media (min-width: 800px) {
  .demo-frame { aspect-ratio: 4 / 3; max-height: 600px; }
}

/* ---------- 診断176 ---------- */
.quiz { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; align-items: center; }
.q-col { text-align: center; padding: 28px 18px; background: rgba(30,22,16,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(217,178,90,.2); border-radius: 14px; }
.q-col.hi { background: linear-gradient(135deg, rgba(217,178,90,.25), rgba(240,207,138,.15)); border: 1px solid var(--kin-bright); }
.q-num { font-family: var(--serif); font-size: 22px; margin-bottom: 10px; color: var(--kin-bright); }
.q-col.hi .q-num { font-size: 40px; }
.q-txt { font-size: 12px; color: rgba(245,239,224,.72); line-height: 1.7; }
.q-arrow { font-family: var(--serif); font-size: 26px; color: var(--kin); }

/* ---------- 一本道 ---------- */
.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.step {
  background: rgba(30,22,16,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(217,178,90,.18);
  border-radius: 12px; padding: 24px 12px; text-align: center;
  transition: transform .4s, border-color .4s;
}
.step:hover { transform: translateY(-3px); border-color: rgba(217,178,90,.45); }
.step .n { font-family: var(--serif); font-size: 24px; color: var(--kin-bright); margin-bottom: 8px; }
.step .h { font-family: var(--serif); font-size: 15px; margin-bottom: 6px; color: #f5efe0; }
.step .t { font-size: 11.5px; color: rgba(245,239,224,.6); line-height: 1.7; }

/* ---------- 二層ビュー ---------- */
.two-view { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.tv-col img { border-radius: 16px; box-shadow: 0 30px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(217,178,90,.2); }
.tv-h { font-family: var(--serif); font-size: 24px; color: var(--kin-bright); margin: 22px 0 8px; }
.tv-h:first-child { margin-top: 0; }
.tv-col p { font-size: 14px; color: rgba(245,239,224,.78); line-height: 1.9; margin-bottom: 20px; }
.tv-note {
  margin-top: 26px; padding: 20px;
  background: rgba(217,178,90,.08); border-left: 3px solid var(--kin);
  border-radius: 4px; font-size: 13px; line-height: 1.95; color: rgba(245,239,224,.85);
}

/* ---------- チェックリスト ---------- */
.check { list-style: none; padding: 0; margin: 0 auto; max-width: 500px; }
.check li {
  padding: 14px 0 14px 32px; position: relative;
  border-bottom: 1px dashed rgba(217,178,90,.2);
  font-size: 15px; color: rgba(245,239,224,.85);
}
.check li::before {
  content: '✓'; position: absolute; left: 0; top: 14px;
  color: var(--kin-bright); font-family: var(--serif); font-weight: 700;
}

/* ---------- Before/After ---------- */
.ba { width: 100%; border-collapse: collapse; margin: 20px 0; background: rgba(30,22,16,.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 14px; overflow: hidden; }
.ba th, .ba td { padding: 16px 20px; text-align: left; font-size: 14px; border-bottom: 1px solid rgba(217,178,90,.1); }
.ba th { font-family: var(--serif); font-size: 12px; letter-spacing: .3em; color: var(--kin); background: rgba(0,0,0,.3); }
.ba tbody td:first-child { color: rgba(245,239,224,.45); text-decoration: line-through; text-decoration-color: rgba(245,239,224,.25); }
.ba tbody td:last-child { color: #f5efe0; font-weight: 500; background: rgba(217,178,90,.06); }

/* ---------- 参考開発費 ---------- */
.price-ref {
  background: rgba(30,22,16,.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(217,178,90,.22);
  border-radius: 18px; padding: 50px 34px; text-align: center;
}
.pr-total { font-family: var(--serif); font-size: 40px; color: var(--kin-bright); margin-bottom: 8px; }
.pr-total span { display: block; font-size: 12px; color: rgba(245,239,224,.55); letter-spacing: .22em; margin-top: 8px; }
.pr-parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 34px 0; }
.pr-part { background: rgba(0,0,0,.35); border: 1px solid rgba(217,178,90,.12); border-radius: 12px; padding: 22px 14px; }
.ph { font-size: 11.5px; color: rgba(245,239,224,.55); margin-bottom: 10px; line-height: 1.55; }
.pv { font-family: var(--serif); font-size: 20px; color: #f5efe0; }
.pr-note { font-size: 14px; line-height: 2; margin-top: 22px; color: rgba(245,239,224,.85); }
.pr-note b { color: var(--kin-bright); }
.pr-source { font-size: 10.5px; color: rgba(245,239,224,.4); margin-top: 16px; letter-spacing: .05em; }

/* ---------- オファー（暗背景＋金枠でフィナーレ感） ---------- */
.offer-sec {
  background: radial-gradient(ellipse at center, rgba(90,60,20,.3) 0%, rgba(10,6,4,.95) 80%);
  padding: 130px 22px;
}
.offer-sec .lead b { color: var(--kin-bright); font-weight: 500; }
.offer-box {
  background: rgba(30,22,16,.55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--kin);
  border-radius: 22px; padding: 48px 34px 40px;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 60px rgba(217,178,90,.12);
}
.offer-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--kin), var(--kin-bright));
  color: #fff; padding: 6px 22px;
  font-family: var(--serif); font-size: 12px; letter-spacing: .3em;
  border-radius: 999px;
}
.offer-main { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 22px; margin-bottom: 20px; margin-top: 16px; }
.offer-block { text-align: center; padding: 26px 14px; border-radius: 14px; background: rgba(0,0,0,.35); border: 1px solid rgba(217,178,90,.1); }
.offer-block.hi { background: linear-gradient(135deg, rgba(217,178,90,.28), rgba(180,144,58,.15)); border: 1px solid var(--kin-bright); box-shadow: 0 0 40px rgba(217,178,90,.2); }
.ob-label { font-size: 11px; letter-spacing: .3em; color: var(--kin-bright); margin-bottom: 12px; }
.ob-value { font-family: var(--serif); font-size: 34px; line-height: 1.3; }
.ob-value span { font-size: 15px; margin-left: 4px; opacity: .8; }
.offer-block.hi .ob-value { font-size: 22px; }
.offer-block.hi .ob-value span { font-size: 14px; }
.ob-sub { font-size: 11.5px; color: rgba(245,239,224,.7); margin-top: 8px; line-height: 1.7; }
.ob-value2 div { font-family: var(--serif); font-size: 15px; padding: 6px 0; }
.ob-value2 div + div { border-top: 1px dashed rgba(245,239,224,.2); }
.ob-value2 span { font-size: 11px; opacity: .7; margin-left: 4px; }
.offer-scope { text-align: center; font-size: 12px; color: rgba(245,239,224,.6); margin-top: 20px; letter-spacing: .05em; }

/* ---------- 透明計測 ---------- */
.clear { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cl {
  background: rgba(30,22,16,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(217,178,90,.18);
  border-radius: 12px; padding: 28px 14px; text-align: center;
}
.cln { font-family: var(--serif); font-size: 28px; color: var(--kin-bright); margin-bottom: 8px; }
.clh { font-family: var(--serif); font-size: 15px; margin-bottom: 6px; color: #f5efe0; }
.clt { font-size: 11.5px; color: rgba(245,239,224,.6); line-height: 1.7; }

/* ---------- スコープ ---------- */
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.sc { background: rgba(30,22,16,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(217,178,90,.2); border-radius: 14px; padding: 32px 28px; }
.sc.alt { background: rgba(20,14,10,.55); border-color: rgba(245,239,224,.1); }
.sh { font-family: var(--serif); font-size: 14px; letter-spacing: .22em; color: var(--kin-bright); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid rgba(217,178,90,.18); }
.sc.alt .sh { color: rgba(245,239,224,.5); border-bottom-color: rgba(245,239,224,.12); }
.sc ul { list-style: none; padding: 0; margin: 0; }
.sc li { padding: 9px 0 9px 22px; font-size: 13.5px; line-height: 1.85; position: relative; color: rgba(245,239,224,.85); }
.sc li::before { content: '◆'; position: absolute; left: 0; color: var(--kin-bright); font-size: 10px; top: 13px; }
.sc.alt li { color: rgba(245,239,224,.55); }
.sc.alt li::before { content: '＋'; color: rgba(245,239,224,.35); }

/* ---------- FAQ ---------- */
details {
  background: rgba(30,22,16,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(217,178,90,.18);
  border-radius: 12px; padding: 20px 24px; margin-bottom: 12px;
  transition: border-color .3s, background .3s;
}
details[open] { border-color: rgba(217,178,90,.35); background: rgba(30,22,16,.65); }
summary {
  cursor: pointer; font-family: var(--serif); font-size: 15px;
  color: #f5efe0; padding-right: 22px; position: relative; list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '＋'; position: absolute; right: 0; top: 0;
  color: var(--kin-bright); font-size: 20px;
  transition: transform .35s;
}
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 16px; font-size: 13.5px; color: rgba(245,239,224,.75); line-height: 2; }

/* ---------- CTA（フィナーレ・金光豪華） ---------- */
.cta-sec {
  background: radial-gradient(ellipse at center bottom, rgba(217,178,90,.18) 0%, rgba(10,6,4,.95) 65%);
  padding: 120px 22px;
}
.cta-sec h2 { text-align: center; margin-bottom: 26px; }
.cta-steps { display: flex; gap: 22px; justify-content: center; margin: 34px 0 44px; flex-wrap: wrap; }
.cta-steps > div {
  background: rgba(30,22,16,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(217,178,90,.28);
  border-radius: 999px; padding: 14px 28px;
  font-size: 13.5px; font-family: var(--serif); color: #f5efe0;
  display: flex; align-items: center; gap: 12px;
}
.cta-steps b {
  display: inline-block; width: 28px; height: 28px; line-height: 28px;
  border-radius: 50%; background: linear-gradient(135deg, var(--kin), var(--kin-bright)); color: #1a1410;
  text-align: center; font-size: 13px; font-weight: 700;
}
.cta-lines { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-lines p { font-size: 14px; color: rgba(245,239,224,.75); line-height: 1.9; margin-bottom: 22px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.mini { font-size: 11.5px; color: rgba(245,239,224,.45); }

/* ---------- フッター ---------- */
.foot-b { background: #050302; color: rgba(245,239,224,.7); padding: 44px 22px; text-align: center; font-size: 12px; }
.foot-b .mini { color: rgba(245,239,224,.3); margin-top: 8px; letter-spacing: .12em; }

/* ---------- スマホ最適化 ---------- */
@media (max-width: 720px) {
  .sec { padding: 60px 18px; }
  .drops { grid-template-columns: 1fr; gap: 14px; }
  .two { grid-template-columns: 1fr; }
  .quiz { grid-template-columns: 1fr; }
  .q-arrow { transform: rotate(90deg); text-align: center; }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .two-view { grid-template-columns: 1fr; }
  .offer-main { grid-template-columns: 1fr; }
  .clear { grid-template-columns: repeat(2, 1fr); }
  .scope { grid-template-columns: 1fr; }
  .pr-parts { grid-template-columns: 1fr; }
  .ba { font-size: 13px; }
  .ba th, .ba td { padding: 12px 10px; }
  .hero { min-height: 90dvh; padding: 40px 20px 70px; }
}
