/* 魅世物小屋 巡業 — スタイル */
:root {
  color-scheme: dark;
  --ink: #0b090d;
  --night: #141017;
  --night-2: #1c1620;
  --line: rgba(239, 230, 212, 0.14);
  --washi: #efe6d4;
  --washi-dim: rgba(239, 230, 212, 0.68);
  --shu: #c8371f;
  --shu-bright: #e2523a;
  --gold: #c9a45c;
  --onibi: #8fd8cc;
  --paper: #f3ecdd;
  --paper-ink: #231c1a;

  --f-serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--washi);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-serif); font-weight: 700; line-height: 1.4; margin: 0; letter-spacing: 0.08em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100%); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 和紙ノイズ */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── ボタン ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1em 2em; border: 1px solid var(--washi); border-radius: var(--radius);
  color: var(--washi); text-decoration: none; font-weight: 700; letter-spacing: .12em; font-size: .95rem;
  background: transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s;
  font-family: var(--f-sans);
}
.btn:hover { background: var(--washi); color: var(--ink); }
.btn--shu { background: var(--shu); border-color: var(--shu); color: #fff; }
.btn--shu:hover { background: var(--shu-bright); border-color: var(--shu-bright); color: #fff; transform: translateY(-2px); }
.btn--small { padding: .6em 1.2em; font-size: .85rem; }
.btn--large { padding: 1.2em 2.6em; font-size: 1.05rem; }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ── ヘッダー ───────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, body.nav-open .site-header { background: rgba(11, 9, 13, .88); backdrop-filter: blur(10px); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: flex; align-items: baseline; gap: .5em; text-decoration: none; font-family: var(--f-serif); }
.logo-main { font-size: 1.45rem; font-weight: 800; letter-spacing: .14em; }
.logo-main em { font-style: normal; color: var(--shu-bright); }
.logo-sub { font-size: .75rem; color: var(--washi-dim); letter-spacing: .3em; }
.site-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; align-items: center; }
.site-nav a { text-decoration: none; font-size: .88rem; letter-spacing: .14em; opacity: .85; transition: opacity .2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { opacity: 1; color: var(--gold); }
.site-nav .btn { opacity: 1; }
.site-nav .btn:hover { color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; color: var(--washi); cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .3s, opacity .3s; }
.nav-toggle::before { top: 15px; } .nav-toggle span { top: 21px; } .nav-toggle::after { top: 27px; }
body.nav-open .nav-toggle::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span { opacity: 0; }
body.nav-open .nav-toggle::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 72px 0 0; background: rgba(11, 9, 13, .97); padding: 32px var(--gutter); transform: translateX(100%); transition: transform .35s; overflow-y: auto; }
  body.nav-open .site-nav { transform: none; }
  body.nav-open { overflow: hidden; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a { display: block; padding: 18px 0; font-size: 1.05rem; }
  .site-nav li:last-child { border: 0; padding-top: 24px; }
  .site-nav .btn { width: 100%; }
}

/* ── ヒーロー ───────────────────────── */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse 60% 50% at 50% 110%, rgba(200, 55, 31, .45), transparent 70%),
  radial-gradient(ellipse 40% 40% at 15% 20%, rgba(143, 216, 204, .12), transparent 70%),
  radial-gradient(ellipse 50% 50% at 85% 30%, rgba(201, 164, 92, .1), transparent 70%),
  linear-gradient(#08070a, #140f17 60%, #1d1014); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11,9,13,.2), rgba(11,9,13,.1) 50%, var(--ink)); }
.onibi-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(24px, 6vw, 80px); padding-top: 72px; padding-bottom: 80px; }
.hero-title { writing-mode: vertical-rl; font-family: var(--f-serif); font-weight: 800; font-size: clamp(3.4rem, 9vw, 7.2rem); letter-spacing: .18em; line-height: 1.1; margin: 0; text-shadow: 0 0 40px rgba(200, 55, 31, .35); }
.hero-title em { font-style: normal; color: var(--shu-bright); }
.hero-title small { display: block; font-size: .32em; letter-spacing: .6em; color: var(--gold); margin-right: .6em; padding-top: 1.2em; }
.hero-copy .eyebrow { margin-bottom: 1.4em; }
.hero-lead { font-family: var(--f-serif); font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.6; margin-bottom: .8em; }
.hero-lead span { color: var(--shu-bright); }
.hero-text { color: var(--washi-dim); max-width: 34em; margin-bottom: 2.2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2; font-size: .7rem; letter-spacing: .4em; color: var(--washi-dim); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll::after { content: ""; width: 1px; height: 48px; background: linear-gradient(var(--washi), transparent); animation: drip 2.2s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 720px) {
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-title { writing-mode: horizontal-tb; font-size: clamp(3rem, 16vw, 4.6rem); letter-spacing: .1em; }
  .hero-title small { display: inline-block; padding: 0; margin: 0 0 0 .4em; letter-spacing: .3em; font-size: .36em; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ── セクション共通 ─────────────────── */
.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section--paper { background: var(--paper); color: var(--paper-ink); }
.section--paper .eyebrow { color: var(--shu); }
.section--paper .section-lead { color: rgba(35, 28, 26, .75); }
.section--dark2 { background: var(--night); }
.eyebrow { display: inline-flex; align-items: center; gap: .8em; font-size: .78rem; letter-spacing: .4em; color: var(--gold); text-transform: uppercase; font-family: var(--f-sans); font-weight: 500; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-title { font-size: clamp(1.8rem, 4.4vw, 3rem); margin-top: .5em; }
.section-title small { display: block; font-size: .45em; letter-spacing: .3em; margin-top: .6em; color: var(--washi-dim); font-weight: 500; }
.section--paper .section-title small { color: rgba(35, 28, 26, .6); }
.section-lead { margin-top: 1.4em; color: var(--washi-dim); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ── コンセプト ─────────────────────── */
.concept-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.concept-statement { font-family: var(--f-serif); font-size: clamp(1.35rem, 2.8vw, 2rem); line-height: 1.9; }
.concept-statement em { font-style: normal; color: var(--shu); border-bottom: 1px solid currentColor; }
.elements { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(35, 28, 26, .18); border: 1px solid rgba(35, 28, 26, .18); }
.element { background: var(--paper); padding: 28px 24px; }
.element-kanji { font-family: var(--f-serif); font-size: 2.6rem; font-weight: 800; color: var(--shu); line-height: 1; margin-bottom: .3em; }
.element h3 { font-size: 1.05rem; margin-bottom: .4em; }
.element p { font-size: .88rem; margin: 0; line-height: 1.8; color: rgba(35, 28, 26, .75); }
.specs { display: flex; flex-wrap: wrap; gap: 0; margin-top: 40px; border-top: 1px solid rgba(35, 28, 26, .2); }
.spec { flex: 1 1 140px; padding: 20px 16px 0 0; }
.spec dt { font-size: .75rem; letter-spacing: .25em; color: rgba(35, 28, 26, .6); }
.spec dd { margin: 0; font-family: var(--f-serif); font-size: 1.5rem; font-weight: 700; }
.spec dd small { font-size: .6em; }
@media (max-width: 860px) { .concept-grid { grid-template-columns: 1fr; } }
@media (max-width: 340px) { .elements { grid-template-columns: 1fr; } }

/* ── 演目（絵巻） ───────────────────── */
.program { background: linear-gradient(var(--ink), var(--night-2) 30%, var(--night-2) 70%, var(--ink)); overflow: hidden; }
.show-title { font-family: var(--f-serif); font-size: clamp(1.6rem, 4vw, 2.8rem); margin-top: .5em; }
.show-title span { display: block; font-size: .5em; color: var(--gold); letter-spacing: .3em; margin-bottom: .3em; }
.emaki { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 32px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: thin; scrollbar-color: var(--shu) transparent; list-style: none; }
.emaki::-webkit-scrollbar { height: 4px; } .emaki::-webkit-scrollbar-thumb { background: var(--shu); }
.act { scroll-snap-align: start; position: relative; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,0)); padding: 28px 24px 26px; min-height: 420px; display: flex; flex-direction: column; overflow: hidden; transition: border-color .3s, transform .3s; }
.act:hover { border-color: var(--act-color, var(--shu)); transform: translateY(-4px); }
.act-no { font-family: var(--f-serif); font-size: .85rem; color: var(--washi-dim); letter-spacing: .2em; }
.act .motif { width: 112px; height: 112px; color: var(--act-color, var(--shu)); margin: 18px 0 22px; filter: drop-shadow(0 0 14px var(--act-color, var(--shu))); opacity: .95; }
.act-name { font-size: 1.6rem; letter-spacing: .14em; }
.act-ruby { font-size: .75rem; color: var(--washi-dim); letter-spacing: .3em; margin-bottom: .8em; }
.act-type { display: inline-block; font-size: .78rem; border: 1px solid var(--act-color, var(--shu)); color: var(--act-color, var(--shu)); padding: .1em .8em; border-radius: 99px; margin-bottom: 1em; align-self: flex-start; }
.act p { font-size: .88rem; color: var(--washi-dim); line-height: 1.85; margin: 0; }
.act-bg { position: absolute; right: -10px; bottom: -30px; font-family: var(--f-serif); font-size: 9rem; font-weight: 800; color: rgba(255,255,255,.03); pointer-events: none; line-height: 1; writing-mode: vertical-rl; }
.act--frame { background: linear-gradient(160deg, rgba(201,164,92,.12), transparent); }
.emaki-hint { font-size: .78rem; color: var(--washi-dim); letter-spacing: .2em; display: flex; align-items: center; gap: .6em; }
.emaki-hint::after { content: "→"; animation: nudge 1.6s infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

/* ── 映像 ───────────────────────────── */
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster { position: absolute; inset: 0; width: 100%; border: 0; background: #000 center / cover; cursor: pointer; color: var(--washi); }
.video-poster::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,.75)); }
.video-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; background:
  radial-gradient(ellipse at 50% 60%, rgba(143,216,204,.14), transparent 60%),
  repeating-linear-gradient(90deg, rgba(255,255,255,.015) 0 2px, transparent 2px 6px), #0d0b10; }
.video-motif { position: absolute; width: 60%; height: 60%; left: 20%; top: 20%; color: rgba(143,216,204,.08); }
.video-play { position: relative; width: 76px; height: 76px; border-radius: 50%; border: 1px solid rgba(239,230,212,.7); display: grid; place-items: center; margin: 0 auto 14px; transition: transform .3s, background .3s; }
.video-play::after { content: ""; border-left: 18px solid var(--washi); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.video-poster:hover .video-play { transform: scale(1.08); background: var(--shu); border-color: var(--shu); }
.video-poster .video-play { position: absolute; top: 50%; left: 50%; margin: -38px 0 0 -38px; }
.video-poster .video-label { position: absolute; left: 20px; bottom: 16px; font-family: var(--f-serif); text-align: left; }
.video-label { font-family: var(--f-serif); font-size: 1.05rem; margin: 0; position: relative; }
.video-soon { font-size: .72rem; letter-spacing: .3em; color: var(--onibi); margin: .4em 0 0; position: relative; }
.video-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.video-frame--sm .video-play { width: 52px; height: 52px; margin-bottom: 10px; }
.video-frame--sm .video-play::after { border-left-width: 13px; border-top-width: 8px; border-bottom-width: 8px; }
.video-frame--sm .video-label { font-size: .85rem; padding: 0 12px; }
.video-frame--sm .video-poster .video-play { margin: -26px 0 0 -26px; }
@media (max-width: 760px) { .video-list { grid-template-columns: 1fr; } }

/* ── ギャラリー ─────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 10px; grid-auto-flow: dense; }
.gallery-item { --c: var(--shu); margin: 0; position: relative; overflow: hidden; background: var(--night-2); }
.gallery-item--wide { grid-column: span 2; }
.gallery-item--tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; font-family: var(--f-serif); font-size: .95rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); letter-spacing: .2em; }
.gallery-item.is-art { display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--c) 30%, transparent), transparent 65%), linear-gradient(160deg, #1f1823, #0e0b10); }
.gallery-motif { width: 46%; max-width: 160px; color: var(--c); filter: drop-shadow(0 0 18px var(--c)); transition: transform .8s; }
.gallery-item.is-art:hover .gallery-motif { transform: scale(1.08) rotate(-3deg); }
.motif-scroll, .motif-fude { --c: var(--gold); } .motif-kasabake { --c: #e8a33d; } .motif-oni { --c: #d84a4a; } .motif-tengu { --c: #c9a45c; } .motif-moon { --c: var(--shu-bright); } .motif-jorogumo { --c: #b48ce0; } .motif-kasha { --c: #ff6a3d; }
.motif-kitsunebi { --c: var(--onibi); } .motif-ubume { --c: #e04848; } .motif-yamabiko { --c: #9ccf7a; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } }

/* ── 出演者 ─────────────────────────── */
.note { font-size: .78rem; color: var(--washi-dim); margin-top: 32px; }
.section--paper .note { color: rgba(35, 28, 26, .6); }

/* ── 登場妖怪 ───────────────────────── */
.charas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.chara { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: start; border: 1px solid var(--line); padding: 22px 20px; background: rgba(255,255,255,.02); transition: border-color .3s; }
.chara:hover { border-color: var(--act-color); }
.chara .motif { width: 72px; height: 72px; color: var(--act-color); filter: drop-shadow(0 0 10px var(--act-color)); }
.chara > div { min-width: 0; }
.chara-type { font-size: .72rem; letter-spacing: .2em; color: var(--act-color); margin: 0 0 .2em; }
.chara-name { font-size: 1.35rem; margin-bottom: .3em; }
.chara-name small { font-size: .55em; color: var(--washi-dim); letter-spacing: .2em; margin-left: .6em; font-weight: 500; }
.chara p:not(.chara-type) { font-size: .85rem; color: var(--washi-dim); line-height: 1.8; margin: 0; }

.chara p.chara-cast { font-size: .78rem; color: var(--gold); margin-top: .6em; letter-spacing: .1em; }
@media (max-width: 960px) { .charas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .charas { grid-template-columns: 1fr; } }

/* ── 公演予定 ───────────────────────── */
.schedule { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.schedule-item { display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: center; }
.schedule-date { font-family: var(--f-serif); font-size: 1.3rem; font-weight: 700; color: var(--gold); }
.schedule-status { display: inline-block; font-size: .72rem; letter-spacing: .15em; padding: .15em .9em; border-radius: 99px; border: 1px solid currentColor; margin-bottom: .6em; }
.is-open .schedule-status { color: var(--onibi); } .is-soon .schedule-status { color: var(--gold); }
.is-recruiting .schedule-status { color: var(--shu-bright); background: rgba(200,55,31,.12); } .is-done .schedule-status { color: var(--washi-dim); }
.is-done { opacity: .55; }
.schedule-body h3 { font-size: 1.3rem; }
.schedule-venue { margin: .3em 0 0; }
.schedule-venue span { color: var(--washi-dim); font-size: .9em; }
.schedule-note { font-size: .85rem; color: var(--washi-dim); margin: .4em 0 0; }
@media (max-width: 720px) { .schedule-item { grid-template-columns: 1fr; gap: 8px; } .schedule-action .btn { width: 100%; } }

/* ── 歴史 ───────────────────────────── */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; list-style: none; margin: 0; padding: 0; }
.timeline::before { content: ""; position: absolute; top: 22px; left: 0; right: 0; height: 1px; background: rgba(35,28,26,.25); }
.timeline li { padding: 0 20px 0 0; position: relative; }
.timeline li::before { content: ""; display: block; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 2px solid var(--shu); margin: 16px 0 22px; position: relative; }
.timeline li:last-child::before { background: var(--shu); box-shadow: 0 0 0 6px rgba(200,55,31,.18); }
.timeline .era { font-family: var(--f-serif); font-size: 1.35rem; font-weight: 700; }
.timeline p { font-size: .88rem; color: rgba(35,28,26,.78); margin-top: .5em; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; }
  .timeline li { padding: 0 0 28px 36px; }
  .timeline li::before { position: absolute; left: 0; top: 0; margin: 6px 0 0; }
}

/* ── 法人向けバナー（CTA） ─────────── */
.biz-cta { position: relative; overflow: hidden; padding: clamp(64px, 10vw, 120px) 0; background:
  radial-gradient(ellipse at 80% 50%, rgba(200,55,31,.4), transparent 60%),
  linear-gradient(120deg, #1a0f12, #0d0a0e); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.biz-cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.biz-cta h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); margin: .4em 0 .6em; }
.biz-cta p { color: var(--washi-dim); }
.biz-cta-points { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.biz-cta-points li { padding-left: 1.6em; position: relative; }
.biz-cta-points li::before { content: "◆"; position: absolute; left: 0; color: var(--shu-bright); font-size: .8em; top: .25em; }
.biz-cta-card { border: 1px solid rgba(201,164,92,.45); padding: 32px; background: rgba(11,9,13,.55); backdrop-filter: blur(6px); }
.biz-cta-card .price { font-family: var(--f-serif); font-size: 2.6rem; font-weight: 800; line-height: 1.2; }
.biz-cta-card .price small { font-size: .4em; font-weight: 500; }
.biz-cta-card .btn { width: 100%; margin-top: 12px; }
.biz-cta .bg-kanji { position: absolute; right: -2%; top: 50%; transform: translateY(-50%); font-family: var(--f-serif); font-weight: 800; font-size: 26vw; color: rgba(255,255,255,.025); writing-mode: vertical-rl; line-height: 1; pointer-events: none; }
@media (max-width: 860px) { .biz-cta-inner { grid-template-columns: 1fr; } }

/* ── 法人向けページ ─────────────────── */
.page-hero { padding: 160px 0 90px; position: relative; overflow: hidden; background:
  radial-gradient(ellipse 70% 60% at 70% 100%, rgba(200,55,31,.35), transparent 70%), linear-gradient(#08070a, #160f15); }
.page-hero h1 { font-size: clamp(2rem, 5.6vw, 3.8rem); margin: .4em 0 .5em; line-height: 1.45; }
.page-hero h1 span { color: var(--shu-bright); }
.page-hero p { max-width: 40em; color: var(--washi-dim); }
.page-hero .hero-actions { margin-top: 32px; }
.page-hero .motif { position: absolute; right: 4%; top: 50%; width: min(36vw, 420px); transform: translateY(-50%); color: rgba(226,82,58,.13); }

.pain-grid, .merit-grid, .plan-grid { display: grid; gap: 20px; }
.pain-grid { grid-template-columns: repeat(4, 1fr); }
.pain { border-top: 2px solid var(--shu); padding-top: 20px; }
.pain .num { font-family: var(--f-serif); font-size: .85rem; color: var(--shu); letter-spacing: .2em; }
.pain h3 { font-size: 1.15rem; margin: .4em 0 .6em; }
.pain p { font-size: .88rem; color: rgba(35,28,26,.75); margin: 0; }
.solution { margin-top: 64px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; background: var(--paper-ink); color: var(--washi); padding: clamp(28px, 5vw, 48px); }
.solution .arrow-down { font-family: var(--f-serif); font-size: 4rem; color: var(--shu-bright); line-height: 1; }
.solution h3 { font-size: clamp(1.3rem, 3vw, 1.9rem); margin-bottom: .5em; }
.solution p { color: var(--washi-dim); margin: 0; }
@media (max-width: 960px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pain-grid { grid-template-columns: 1fr; } .solution { grid-template-columns: 1fr; } }

.merit-grid { grid-template-columns: repeat(3, 1fr); }
.merit { border: 1px solid var(--line); padding: 32px 28px; background: rgba(255,255,255,.02); }
.merit .motif { width: 56px; height: 56px; color: var(--gold); margin-bottom: 18px; }
.merit h3 { font-size: 1.2rem; margin-bottom: .6em; }
.merit p { font-size: .9rem; color: var(--washi-dim); margin: 0; }
@media (max-width: 900px) { .merit-grid { grid-template-columns: 1fr; } }

.plan-grid { grid-template-columns: repeat(3, 1fr); }
.plan { background: #fff; border: 1px solid rgba(35,28,26,.15); padding: 32px 28px; display: flex; flex-direction: column; position: relative; }
.plan--featured { border: 2px solid var(--shu); }
.plan-badge { position: absolute; top: -13px; left: 24px; background: var(--shu); color: #fff; font-size: .72rem; letter-spacing: .15em; padding: .2em 1em; }
.plan-tag { font-size: .75rem; letter-spacing: .25em; color: var(--shu); }
.plan h3 { font-size: 1.35rem; margin: .3em 0 .7em; }
.plan > p { font-size: .9rem; color: rgba(35,28,26,.75); }
.plan ul { padding-left: 1.2em; margin: 0 0 24px; font-size: .88rem; }
.plan li { margin-bottom: .3em; }
.plan .btn { margin-top: auto; border-color: var(--paper-ink); color: var(--paper-ink); }
.plan .btn:hover { background: var(--paper-ink); color: var(--paper); }
.plan--featured .btn { background: var(--shu); border-color: var(--shu); color: #fff; }
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; } }

.price-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.price-table th, .price-table td { padding: 18px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table th { font-weight: 500; width: 36%; color: var(--washi-dim); }
.price-table td strong { font-family: var(--f-serif); font-size: 1.4rem; }
.price-table tr.total td, .price-table tr.total th { border-bottom: 0; color: var(--washi); }
.price-table tr.total td strong { color: var(--shu-bright); font-size: 1.8rem; }
.price-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .price-wrap { grid-template-columns: 1fr; } }

.sim { border: 1px solid rgba(201,164,92,.45); padding: clamp(24px, 4vw, 36px); background: linear-gradient(160deg, rgba(201,164,92,.08), transparent); }
.sim h3 { font-size: 1.25rem; margin-bottom: .2em; }
.sim-sub { font-size: .82rem; color: var(--washi-dim); }
.sim-field { margin: 22px 0; }
.sim-field label { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: 8px; }
.sim-field output { font-family: var(--f-serif); font-weight: 700; color: var(--gold); font-size: 1.1rem; }
.sim input[type=range] { width: 100%; accent-color: var(--shu); }
.sim-check { display: flex; gap: .6em; align-items: center; font-size: .9rem; cursor: pointer; }
.sim-check input { accent-color: var(--shu); width: 18px; height: 18px; }
.sim-result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 24px; }
.sim-result div { background: var(--night); padding: 14px 12px; }
.sim-result dt { font-size: .72rem; color: var(--washi-dim); letter-spacing: .1em; }
.sim-result dd { margin: 0; font-family: var(--f-serif); font-weight: 700; font-size: 1.1rem; }
#sim-balance { color: var(--shu-bright); } #sim-balance.is-plus { color: var(--onibi); }
.sim-meter { margin-top: 18px; font-size: .85rem; }
.sim-meter-track { height: 8px; background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden; margin-top: 6px; }
.sim-meter-bar { height: 100%; background: linear-gradient(90deg, var(--shu), var(--gold)); width: 0; transition: width .3s; }
@media (max-width: 480px) { .sim-result { grid-template-columns: 1fr; } }

.req-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .req-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .req-grid { grid-template-columns: 1fr; } }
.req { background: #fff; padding: 22px 22px; border-left: 3px solid var(--shu); }
.req h3 { font-size: 1rem; margin-bottom: .3em; }
.req p { font-size: .86rem; color: rgba(35,28,26,.75); margin: 0; }

.flow { list-style: none; padding: 0; margin: 0; counter-reset: flow; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.flow li { counter-increment: flow; border: 1px solid var(--line); padding: 22px 16px; position: relative; background: rgba(255,255,255,.02); }
.flow li::before { content: counter(flow, decimal-leading-zero); font-family: var(--f-serif); font-size: 1.8rem; color: var(--shu-bright); font-weight: 700; display: block; line-height: 1; margin-bottom: 12px; }
.flow h3 { font-size: 1rem; margin-bottom: .4em; }
.flow p { font-size: .8rem; color: var(--washi-dim); margin: 0; line-height: 1.7; }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid rgba(35,28,26,.18); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 2.4em; position: relative; font-weight: 700; font-family: var(--f-serif); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "問"; position: absolute; left: 0; color: var(--shu); }
.faq summary::after { content: "＋"; position: absolute; right: 8px; color: var(--shu); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 22px 2.4em; position: relative; color: rgba(35,28,26,.8); font-size: .93rem; }
.faq .answer::before { content: "答"; position: absolute; left: 0; font-family: var(--f-serif); font-weight: 700; color: var(--gold); }

/* ── フォーム ───────────────────────── */
.form-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.form-aside { position: sticky; top: 100px; }
.form-aside h2 { font-size: 1.5rem; margin-bottom: .8em; }
.form-aside ul { padding-left: 1.2em; color: var(--washi-dim); font-size: .92rem; }
.form-aside .tel { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--washi-dim); }
.contact-form { display: grid; gap: 22px; }
.field label { display: flex; align-items: center; gap: .6em; font-size: .9rem; font-weight: 700; margin-bottom: 8px; }
.req-mark { font-size: .68rem; background: var(--shu); color: #fff; padding: .05em .6em; border-radius: 2px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(239,230,212,.25); border-radius: var(--radius); color: var(--washi); font: inherit; font-size: 16px; transition: border-color .2s, background .2s; }
.field select option { color: #111; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.07); }
.field textarea { min-height: 160px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field-hint { font-size: .78rem; color: var(--washi-dim); margin-top: 6px; }
.form-status { min-height: 1.5em; color: var(--onibi); font-size: .92rem; margin: 0; }
.contact-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy { font-size: .8rem; color: var(--washi-dim); }
@media (max-width: 860px) { .form-wrap { grid-template-columns: 1fr; } .form-aside { position: static; } .field-row { grid-template-columns: 1fr; } .contact-form .btn { justify-self: stretch; } }

/* ── フッター ───────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; background: #08070a; font-size: .85rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-size: .8rem; letter-spacing: .25em; color: var(--gold); margin-bottom: 1em; font-family: var(--f-sans); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5em; }
.footer-grid a { text-decoration: none; color: var(--washi-dim); }
.footer-grid a:hover { color: var(--washi); }
.footer-about p { color: var(--washi-dim); margin-top: 1em; }
.copyright { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--washi-dim); font-size: .75rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── スマホ固定 CTA ─────────────────── */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 1px; background: var(--line); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-cta a { flex: 1; text-align: center; padding: 15px 8px; text-decoration: none; font-size: .85rem; font-weight: 700; background: rgba(11,9,13,.96); letter-spacing: .08em; }
  .mobile-cta a.primary { background: var(--shu); color: #fff; flex: 1.4; }
  body { padding-bottom: 54px; }
  body.nav-open .mobile-cta { display: none; }
}
