:root {
  --bg: #08080a;
  --panel: #131317;
  --line: #26262d;
  --ink: #f3f1ec;
  --sub: #9a978f;
  --accent: #ff7a45;
  --accent2: #ffd166;
  --font: "Zen Kaku Gothic New", sans-serif;
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; } /* 背景の光（.glow・固定配置）を横幅に数えない。WebKit のスマホ表示で横に揺れていた（W-SHOP-1） */
body { background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.8; overflow-x: hidden; overflow-x: clip; } /* hidden だけだと、html も clip のため body が縦にもスクロールする箱になり、position: sticky（スマホの試す欄の見本・編集ソフトの再生欄）が効かなかった（W-PPF-1） */
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.glow { position: fixed; top: 0; left: 0; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,69,.18), transparent 65%); pointer-events: none; z-index: -1; transition: translate .4s ease-out; translate: 30vw 10vh; }

.nav { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; justify-content: space-between; align-items: center; padding: 16px clamp(16px, 4vw, 40px); background: color-mix(in srgb, var(--bg) 75%, transparent); backdrop-filter: blur(12px); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; letter-spacing: .08em; }
.mark { width: 22px; height: 22px; border-radius: 6px 50% 50% 50%; background: conic-gradient(from 90deg, var(--accent), var(--accent2), var(--accent)); animation: spin 8s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.nav nav { display: flex; gap: 24px; align-items: center; font-size: 14px; }
.nav-cta { padding: 8px 18px; background: var(--ink); color: var(--bg); border-radius: 999px; font-weight: 700; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--ink); font-weight: 700; cursor: pointer; transition: transform .25s, background .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); border-color: var(--sub); }
.btn.primary { background: linear-gradient(120deg, var(--accent), var(--accent2)); color: #1a0d05; border: 0; }
.btn.small { padding: 8px 16px; font-size: 13px; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; max-width: var(--max); margin: 0 auto; padding: 120px clamp(16px, 4vw, 40px) 60px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--sub); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(255,122,69,0); } 0% { box-shadow: 0 0 0 0 rgba(255,122,69,.6); } }
.hero h1 { font-size: clamp(38px, 8vw, 96px); font-weight: 900; line-height: 1.2; letter-spacing: -.01em; margin: 28px 0; }
.lead { max-width: 34em; color: var(--sub); font-size: clamp(15px, 1.6vw, 18px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

section:not(.hero) { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 10vw, 120px) clamp(16px, 4vw, 40px); }
h2 { font-size: clamp(28px, 5vw, 48px); font-weight: 900; margin-bottom: 12px; }
.sub { color: var(--sub); margin-bottom: 40px; }

/* テンプレート一覧 */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.screen { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #000; transition: transform .3s ease-out; transform-style: preserve-3d; }
.screen iframe { position: absolute; top: 0; left: 0; width: 250%; height: 250%; border: 0; transform: scale(.4); transform-origin: 0 0; }
.free { position: absolute; top: 12px; left: 12px; padding: 2px 12px; border-radius: 999px; background: var(--accent2); color: #1a0d05; font-size: 12px; font-weight: 700; }
.meta { padding: 20px 22px 24px; }
.meta h3 { display: flex; align-items: baseline; gap: 10px; font-size: 22px; }
.meta small { font-size: 12px; color: var(--sub); letter-spacing: .2em; }
.meta > p { color: var(--sub); font-size: 14px; }
.tags { display: flex; gap: 8px; margin: 12px 0 16px; }
.tags span { padding: 2px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--sub); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }

.count { font-size: 16px; color: var(--sub); font-weight: 400; margin-left: 8px; }
.filters { display: grid; gap: 10px; margin-bottom: 32px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips button { flex: none; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--sub); font: inherit; font-size: 13px; cursor: pointer; transition: .2s; }
.chips button:hover { color: var(--ink); border-color: var(--sub); }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.empty { color: var(--sub); padding: 40px 0; }
.more-wrap { text-align: center; margin-top: 40px; }
.screen .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--sub); font-size: 12px; letter-spacing: .2em; }

/* 使い方 */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.steps li { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.steps b { font-size: 32px; background: linear-gradient(120deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { margin: 8px 0; }
.steps p { color: var(--sub); font-size: 14px; }

/* 料金 */
.plans { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 20px; align-items: stretch; margin: 32px 0 20px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 32px 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); }
.plan.best { border: 2px solid var(--accent); box-shadow: 0 20px 80px -20px rgba(255,122,69,.4); }
.badge { position: absolute; top: -14px; left: 28px; padding: 2px 14px; border-radius: 999px; background: var(--accent); color: #1a0d05; font-size: 12px; font-weight: 700; }
.amount { font-size: 40px; font-weight: 900; line-height: 1.2; }
.amount small { display: block; font-size: 12px; font-weight: 400; color: var(--sub); }
.plan ul { list-style: none; flex: 1; font-size: 14px; color: var(--sub); }
.plan li::before { content: "✓ "; color: var(--accent); }
.free-form { display: grid; gap: 8px; }
.free-form input { width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); font: inherit; }
.form-msg { font-size: 12px; color: var(--sub); min-height: 1.5em; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--accent); transition: rotate .3s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin-top: 12px; color: var(--sub); font-size: 14px; }
.faq h2 { margin-bottom: 24px; }

.footer { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; padding: 40px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--sub); }

/* 動き */
/* 隠すのは JS が動いているとき（html.mo）だけ */
.mo .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.mo .reveal.is-in { opacity: 1; transform: none; }
.split .char { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(8deg); filter: blur(6px); transition: opacity .7s, transform .8s cubic-bezier(.2,.8,.2,1), filter .7s; transition-delay: calc(var(--i) * 40ms); }
.split.is-in .char { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .split .char { opacity: 1; transform: none; filter: none; transition: none; }
  .mark, .pill i { animation: none; }
}

@media (max-width: 860px) {
  .steps, .plans { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
}

/* 規約などの文章ページ */
.doc { max-width: 760px; margin: 0 auto; padding: 120px 16px 80px; }
.doc h1 { font-size: 28px; margin-bottom: 32px; }
.doc h2 { font-size: 18px; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--sub); font-size: 14px; }
.doc ol, .doc ul { padding-left: 1.4em; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 14px 8px; border-bottom: 1px solid var(--line); }
.doc th { width: 30%; color: var(--ink); }
.doc td { color: var(--sub); }

/* 言語切り替え */
.lang-select select { appearance: none; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13px; cursor: pointer; }
.lang-select option { color: #000; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* 中国語・韓国語はその言語の書体を優先（日本語の字形で表示しないため） */
:lang(zh-CN) body { font-family: "Noto Sans SC", sans-serif; }
:lang(ko) body { font-family: "Noto Sans KR", sans-serif; }
@media (max-width: 860px) { .lang-select select { padding: 6px 10px; } }

/* 単語は途中で折り返さない */
.split .word { display: inline-block; white-space: nowrap; }

.hidden { display: none !important; }

/* ---- 共通のナビ（スマホはメニューボタンで開く） ---- */
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); width: 44px; height: 44px; border-radius: 12px; font-size: 18px; cursor: pointer; }
.locale-btn { background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13px; cursor: pointer; }
.nav nav a[aria-current="page"] { color: var(--accent); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open nav { display: flex; }
  .nav nav > * { padding: 12px 4px; }
  .nav nav .nav-cta { text-align: center; margin-top: 8px; }
}
.locale-dlg { margin: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); color: var(--ink); padding: 28px; width: min(92vw, 440px); }
.locale-dlg::backdrop { background: rgba(0,0,0,.6); }
.locale-dlg form { display: grid; gap: 14px; }
.locale-dlg h2 { font-size: 20px; margin: 0; }
.locale-dlg p { color: var(--sub); font-size: 14px; }
.locale-dlg label { display: grid; gap: 6px; font-size: 13px; color: var(--sub); }
select, input[type="search"] { font: inherit; font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-height: 44px; }
select option { color: #000; }

/* 方向性 */
.dirs { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.dirs a { display: grid; gap: 6px; height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); transition: border-color .3s, transform .3s; }
.dirs a:hover, .dirs a:focus-visible { border-color: var(--accent); transform: translateY(-3px); }
.dirs b { font-size: 26px; background: linear-gradient(120deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dirs p { color: var(--sub); font-size: 13px; }
.chip { justify-self: start; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--sub); }

/* 一覧・絞り込み */
.filters { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); align-items: center; }
.filters > * { min-width: 0; width: 100%; }
.filters input[type="search"] { grid-column: 1 / -1; }
.count { margin: 0 0 16px; font-size: 14px; }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.screen iframe { z-index: 1; }
.play { position: absolute; z-index: 2; right: 12px; bottom: 12px; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 0; background: rgba(0,0,0,.72); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.play[aria-pressed="true"] { background: var(--accent); color: #1a0d05; }
.meta .tags { display: block; margin: 6px 0; font-size: 12px; }
.stock { display: inline-block; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--sub); }
.stock.out { border-color: #ff7a7a; color: #ff7a7a; }
.note-limit { margin-top: 20px; font-size: 12px; color: var(--sub); }
.compare-bar { position: fixed; z-index: 30; right: 16px; bottom: 16px; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.how-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.how-grid h3 { margin-bottom: 8px; }
.how-grid p { color: var(--sub); font-size: 14px; }
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; } .filters { grid-template-columns: 1fr 1fr; } }

/* 診断 */
.page { max-width: var(--max); margin: 0 auto; padding: 110px clamp(16px, 4vw, 40px) 80px; }
.quiz { max-width: 760px; margin: 0 auto; }
.quiz h1, .quiz-results h1, .publish h1, .pv h1, .page > h1 { font-size: clamp(24px, 4vw, 38px); margin-bottom: 8px; }
.eyebrow { color: var(--accent); font-size: 13px; letter-spacing: .2em; }
.progress-bar { height: 4px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 8px 0 28px; }
.progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); transition: width .4s; }
.quiz fieldset { border: 0; }
.quiz legend { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: flex; align-items: center; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); cursor: pointer; transition: border-color .2s, background .2s; }
.choice input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, var(--panel)); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.quiz-nav { display: flex; justify-content: space-between; margin-top: 28px; gap: 12px; }
.quiz-err { color: #ff9a9a; margin-top: 12px; }
.why { font-size: 13px; color: var(--sub); margin: 6px 0 10px; }

/* 見本の詳しい画面 */
.pv-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 16px; }
.pv-bar h1 { flex: 1 1 100%; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.seg button { background: transparent; color: var(--sub); border: 0; padding: 10px 16px; min-height: 44px; cursor: pointer; font-size: 13px; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.pv-stage { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #000; display: flex; justify-content: center; }
.pv-device { transform-origin: 50% 0; flex: none; }
.pv-device iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.pv-info { margin-top: 28px; }
/* 購入前に試す（看板作品の商品ページ） */
.pv-try-box { margin: 14px 0 6px; border: 1px solid var(--line, #333); border-radius: 12px; padding: 0 16px; }
.pv-try-box > summary { cursor: pointer; list-style: none; padding: 14px 0; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.pv-try-box > summary::-webkit-details-marker { display: none; }
.pv-try-box > summary::before { content: "＋"; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; font-size: 14px; }
.pv-try-box[open] > summary::before { content: "−"; }
.pv-try-box > summary:focus-visible { outline: 3px solid var(--accent, #f80); outline-offset: 2px; border-radius: 8px; }
.pv-try { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px 16px; align-items: end; margin: 12px 0 18px; }
.pv-try .wide { grid-column: 1 / -1; }
.pv-try .hint { margin: 0; font-size: 12px; opacity: .75; }
.pv-try select, .pv-try textarea { font: inherit; padding: 8px 10px; border: 1px solid var(--line, #ccc); border-radius: 8px; background: transparent; color: inherit; min-width: 0; }
.pv-try select option { color: #111; }
/* スマホで試している間は、見本を画面の上に固定する（入力しながら結果が見える） */
@media (max-width: 759px) { .pv-trying .pv-stage { position: sticky; top: 0; z-index: 20; background: var(--bg, #0b0b0c); } }
.pv-try label { display: grid; gap: 4px; font-size: 13px; }
.pv-try input:not([type=color]) { font: inherit; padding: 8px 10px; border: 1px solid var(--line, #ccc); border-radius: 8px; background: transparent; color: inherit; min-width: 0; }
.pv-try input[type=color] { width: 100%; height: 40px; border: 1px solid var(--line, #ccc); border-radius: 8px; background: transparent; }
.attrs, .compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.attrs th, .attrs td, .compare-table th, .compare-table td { text-align: left; vertical-align: top; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.attrs th, .compare-table tbody th { color: var(--sub); font-weight: 400; width: 9em; }
.compare-wrap { overflow-x: auto; }
.compare-table { min-width: 640px; }
.compare-table thead img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 10px; display: block; margin-bottom: 8px; }
.compare-table thead th { width: 30%; }
.compare-table thead span { display: block; margin-bottom: 8px; }

/* 公開ガイド */
.pub-steps { list-style: none; display: grid; gap: 12px; margin: 28px 0 40px; }
.pub-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.pub-steps b { font-size: 28px; color: var(--accent); }
.pub-steps p { color: var(--sub); font-size: 14px; }
.pub-steps a { color: var(--accent); font-size: 14px; }
.publish h2 { font-size: 22px; margin: 32px 0 12px; }
.hosts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.host, .cc { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); display: grid; gap: 8px; font-size: 14px; }
.host a, .cc a { color: var(--accent); }
.src { font-size: 11px; color: var(--sub); word-break: break-all; }
.card .screen { aspect-ratio: 16 / 10; }
.warn { color: #ffb86b; font-size: 13px; }

/* あなたの国向けの案内（lib/regions.mjs） */
.region-guide { border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 0 0 18px; background: color-mix(in srgb, var(--panel, #131317) 85%, transparent); }
.region-guide h2 { font-size: 16px; margin: 0 0 6px; }
.region-guide ul { margin: 0 0 6px; padding-left: 1.2em; display: grid; gap: 4px; font-size: 14px; }
.region-guide .sub { font-size: 12px; margin: 0; }

/* 機械翻訳の注記（lib/langs.mjs MACHINE_NOTE） */
.footer .mt-note { flex-basis: 100%; margin: 12px 0 0; font-size: 12px; opacity: .7; }
.pv-try-acts { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---- 作品の舞台（トップの最初の画面。site/works.js・docs/design-lab/shop/PROCESS.md） ---- */
section.stage { --wk: #d9c7ae; position: relative; max-width: none; margin: 0; height: 100svh; min-height: 560px; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; padding: 76px clamp(10px, 1.4vw, 20px) 14px; }
.stage-frame { position: relative; min-height: 0; border-radius: 18px; overflow: hidden; background: #0d0d10; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s; }
.stage-screens, .stage-screens iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stage-screens iframe { opacity: 0; transition: opacity .5s ease; pointer-events: none; background: #0d0d10; }
.stage-screens iframe.is-in { opacity: 1; }
/* 見本の画面の大きさ：PC（幅 1280px の画面を枠に縮めて見せる）・スマホ（幅 390px の画面を中央に）。2026-10-15 運営者「PC版とスマホ版をスイッチできる方が良い」 */
.stage[data-view="pc"] .stage-screens iframe { top: var(--vt, 0px); width: var(--vw, 1280px); height: var(--vh, 100%); transform: scale(var(--vs, 1)); transform-origin: 0 0; }
.stage[data-view="sp"] .stage-screens iframe { left: 50%; width: min(390px, 100%); margin-left: calc(min(390px, 100%) / -2); box-shadow: 0 0 0 1px var(--line); }
.stage-view { position: absolute; z-index: 3; right: 10px; bottom: 10px; display: flex; padding: 3px; border-radius: 999px; background: rgba(13, 13, 16, .78); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.stage-view button { min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: rgba(255, 255, 255, .72); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.stage-view button[aria-pressed="true"] { background: #fff; color: #111; }
.stage-view button:focus-visible { outline: 2px solid var(--wk); outline-offset: 2px; }
.stage.is-touching .stage-frame { box-shadow: 0 0 0 2px var(--wk); }
.stage.is-touching .stage-screens iframe { pointer-events: auto; }
.stage-loading { position: absolute; left: 50%; top: 50%; translate: -50% -50%; margin: 0; font-size: 13px; color: var(--sub); letter-spacing: .08em; opacity: 0; transition: opacity .3s; pointer-events: none; }
.stage.is-loading .stage-loading { opacity: 1; }
.stage-exit[hidden] { display: none; }
.stage-exit { position: absolute; top: 12px; right: 12px; z-index: 3; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(10px); }
.stage-hint { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; z-index: 3; width: max-content; max-width: calc(100% - 28px); margin: 0; padding: 8px 16px; border-radius: 12px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(10px); font-size: 13px; line-height: 1.6; opacity: 0; visibility: hidden; pointer-events: none; }
.stage.is-touching .stage-hint { animation: stage-hint 5s ease forwards; visibility: visible; }
@keyframes stage-hint { 0%, 80% { opacity: 1; } 100% { opacity: 0; } }

.stage-bar { display: grid; grid-template-columns: minmax(280px, 1.1fr) minmax(0, 1fr) auto; align-items: end; gap: 12px 28px; padding: 0 clamp(4px, 1vw, 12px); }
.stage-kicker { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; margin: 0 0 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sub); }
.stage-live { display: inline-flex; align-items: center; gap: 6px; letter-spacing: .04em; text-transform: none; }
.stage-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--wk); box-shadow: 0 0 0 0 var(--wk); animation: pulse 2s infinite; }
.stage-title { display: flex; align-items: center; gap: 14px; }
.stage-no { font-size: clamp(36px, 4vw, 52px); font-weight: 900; line-height: 1; color: var(--wk); font-variant-numeric: tabular-nums; transition: color .4s; }
.stage-field { margin: 0; font-size: 12px; color: var(--sub); }
.stage-name { margin: 0; font-size: clamp(20px, 2.2vw, 28px); font-weight: 900; line-height: 1.25; }
.stage-line { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: var(--sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stage-tabs { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; min-width: 0; }
.stage-tabs li { flex: 1 1 0; min-width: 0; max-width: 220px; }
.stage-tabs button { width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; align-items: baseline; padding: 10px 2px 0; background: none; border: 0; color: var(--sub); text-align: left; cursor: pointer; min-height: 44px; }
.stage-tabs button[aria-current="true"] { color: var(--ink); }
.stage-tabs .tn { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stage-tabs .tl { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage-tabs i { grid-column: 1 / -1; display: block; height: 2px; margin-top: 8px; background: var(--line); overflow: hidden; }
.stage-tabs i b { display: block; height: 100%; background: var(--wk); transform: scaleX(0); transform-origin: 0 50%; }
.stage-tabs button:focus-visible, .stage-ctl .btn:focus-visible, .stage-exit:focus-visible { outline: 2px solid var(--wk); outline-offset: 3px; }
.stage-ctl { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.stage-ctl .btn.small { min-height: 44px; }
section.stage.is-empty { display: none; }

@media (max-width: 860px) {
  section.stage { min-height: 600px; gap: 10px; padding-bottom: 10px; }
  .stage-bar { grid-template-columns: 1fr; gap: 10px; padding: 0 4px; }
  .stage-line { font-size: 13px; }
  .stage-ctl { justify-content: flex-start; }
  .stage-ctl .btn.small { flex: 1 1 auto; padding: 8px 12px; }
  .stage-tabs li { max-width: none; }
  /* スマホは番号だけ（選んでいる作品の名前はすぐ上に大きく出る。読み上げは aria-label の作品名） */
  .stage-tabs .tl { display: none; }
  .stage-tabs button { grid-template-columns: 1fr; text-align: center; }
  .stage-tabs .tn { font-size: 13px; }
}
@media (max-width: 420px) {
  .stage-kicker #stage-kicker { display: none; }
  .stage-no { font-size: 32px; }
  .stage-line { -webkit-line-clamp: 1; }
}

/* ---- 作品の欄 ---- */
.works .wk-list { display: grid; gap: clamp(56px, 8vw, 96px); }
.wk { --wk: #d9c7ae; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "head flow" "line flow" "spec flow" "inc flow" "act flow"; grid-template-rows: auto auto auto auto 1fr; gap: 16px clamp(24px, 4vw, 56px); padding-top: 36px; border-top: 1px solid var(--line); }
.wk-head { grid-area: head; display: flex; align-items: center; gap: 16px; }
.wk-no { font-size: clamp(48px, 6vw, 72px); font-weight: 900; line-height: 1; color: var(--wk); font-variant-numeric: tabular-nums; }
.wk-field { margin: 0; font-size: 13px; color: var(--sub); }
.wk h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; line-height: 1.25; }
.wk-line { grid-area: line; margin: 0; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.7; }
.wk-flow { grid-area: flow; align-self: start; margin: 0; }
.wk-flow > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wk-flow picture:first-child { grid-column: 1 / -1; }
.wk-flow img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; background: var(--panel); }
.wk-flow figcaption { margin-top: 8px; font-size: 12px; color: var(--sub); }
.wk-clipbox { position: relative; display: block !important; }
.wk-clip video { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; background: var(--panel); }
.wk-clip.is-sp .wk-clipbox { width: min(100%, 300px); margin: 0 auto; }
.wk-clip.is-sp video { aspect-ratio: 390 / 844; }
.wk-clip-btn { position: absolute; right: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(10,10,10,.55); color: #fff; font-size: 13px; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color .2s; }
.wk-clip-btn:hover { background: rgba(10,10,10,.8); }
.wk-clip-btn:focus-visible { outline: 2px solid var(--wk); outline-offset: 2px; }
.wk-spec { grid-area: spec; display: grid; gap: 14px; margin: 0; }
.wk-spec dt { font-size: 11px; letter-spacing: .14em; color: var(--sub); }
.wk-spec dd { margin: 2px 0 0; font-size: 14px; line-height: 1.7; }
.wk-spec ul { padding-left: 1.2em; }
.wk-spec small { color: var(--sub); }
.wk-badge { display: inline-block; padding: 2px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--sub); }
.wk-badge.on { border-color: var(--wk); color: var(--ink); }
.wk-inc { grid-area: inc; margin: 0; font-size: 13px; color: var(--sub); }
.wk > .actions { grid-area: act; align-self: start; }
.wk > .actions .btn.small { min-height: 44px; }
.wk-more { margin-top: 8px; color: var(--sub); font-size: 14px; }
.works .hero-cta { margin-top: 56px; }

@media (max-width: 860px) {
  .wk { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "line" "flow" "spec" "inc" "act"; grid-template-rows: none; }
  .wk-flow > div { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .wk-flow picture:first-child { grid-column: auto; }
  .wk-flow img { aspect-ratio: 9 / 16; }
}
@media (prefers-reduced-motion: reduce) {
  .stage-screens iframe, .stage-no { transition: none; }
  .stage-live::before { animation: none; }
  .stage.is-touching .stage-hint { animation: none; opacity: 1; }
}

/* ---- 作品の舞台：「動く Web テンプレート・US$7・買い切り」（2026-10-14、作品展示ではなく自分のサイトになる商品だと伝える） ---- */
.stage-offer { margin: 0 0 2px; font-size: clamp(18px, 1.9vw, 26px); font-weight: 900; line-height: 1.3; letter-spacing: .01em; color: var(--ink); }
.stage-offer-count { margin: 0 0 4px; font-size: 14px; font-weight: 700; line-height: 1.45; color: var(--ink); }
.stage-offer-sub { margin: 0 0 10px; font-size: 13px; line-height: 1.55; color: var(--sub); }
.stage-ctl .stage-detail { white-space: nowrap; }
.wk-price { grid-area: line; align-self: end; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; }
.wk-price b { font-size: clamp(20px, 2vw, 26px); font-weight: 900; color: var(--ink); }
.wk { grid-template-areas: "head flow" "line flow" "price flow" "spec flow" "inc flow" "act flow"; grid-template-rows: auto auto auto auto auto 1fr; }
.wk-price { grid-area: price; }
@media (max-width: 860px) {
  .wk { grid-template-areas: "head" "line" "price" "flow" "spec" "inc" "act"; }
  .stage-offer { font-size: 18px; }
  .stage-offer-count { font-size: 12.5px; margin-bottom: 8px; }
  .stage-offer-sub, .stage-line { display: none; }
  .stage-kicker #stage-kicker { display: none; }
}
.filters[hidden] { display: none; }

/* 作品が 6 つ以上なら、作品の選択肢は番号だけ（名前が切れて読めないため。名前は上に大きく出る・title と aria-label にもある） */
.stage-tabs:has(li:nth-child(6)) .tl { display: none; }
.stage-tabs:has(li:nth-child(6)) button { grid-template-columns: 1fr; text-align: center; }

/* 編集ソフトの操作の録画 */
.ed-demo { margin: 0 0 40px; }
.ed-demo video { display: block; width: 100%; aspect-ratio: 1280 / 760; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.ed-demo figcaption { margin-top: 10px; font-size: 13px; color: var(--sub); }

/* HP用モーション素材の紹介（トップ。SPEC A73） */
.effects { padding-top: 40px; }
.fx-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 28px 0 22px; }
.fx-tile { display: block; color: var(--sub); font-size: 13px; text-decoration: none; }
.fx-tile video { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); transition: transform .3s ease; }
.fx-tile:hover video, .fx-tile:focus-visible video { transform: translateY(-3px); }
.fx-tile span { display: block; margin-top: 8px; }
.fx-prices { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 22px; padding: 0; }
.fx-prices li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font-weight: 700; font-size: 14px; }
.fx-prices li.fx-note { border: 0; background: none; padding-left: 4px; color: var(--sub); font-weight: 400; }
@media (max-width: 760px) { .fx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
/* モーション素材の価格：大きなカード 3 枚（2026-10-18 運営者「ここにもエフェクトの値段表示欲しい」「もっと大きく」）。スマホでは縦に並べる */
.fxp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 6px 0 26px; }
.fxp-card { padding: 24px 24px 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.fxp-card.is-all { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 14%, var(--panel)), var(--panel) 60%); }
.fxp-amt { margin: 0; font-size: clamp(40px, 5.2vw, 60px); font-weight: 900; line-height: 1.05; letter-spacing: -.01em; }
.fxp-amt small { font-size: .36em; font-weight: 700; color: var(--sub); letter-spacing: 0; }
.fxp-card h3 { margin: 10px 0 4px; font-size: 19px; }
.fxp-what { margin: 0; font-size: 14.5px; color: var(--sub); line-height: 1.6; }
.fxp-once { margin: 14px 0 0; font-size: 13px; font-weight: 700; color: var(--accent2); }
@media (max-width: 760px) { .fxp { grid-template-columns: minmax(0, 1fr); gap: 12px; } .fxp-amt { font-size: 46px; } }

/* ---- 販売準備中の表示（2026-10-15 運営者の改善指示書。shared.js の PRELAUNCH）---- */
html.prelaunch [data-buy], html.prelaunch [data-buy-pack], html.prelaunch .nav-cta { display: none !important; }
.stage-pre { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; padding: 4px 12px; border: 1px solid color-mix(in srgb, var(--wk) 60%, transparent); border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.45; color: var(--ink); }
.stage-pre::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--wk); }
.stage-pre[hidden] { display: none; }
.stage-namerow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.stage-badge { flex: none; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--sub); }
.stage-badge.on { border-color: var(--wk); color: var(--ink); }
.stage-badge:empty { display: none; }
.wk-more-info { margin: 0; }
.wk-more-info > summary { cursor: pointer; font-size: 13px; color: var(--sub); }
.wk-more-info .wk-spec { margin-top: 10px; }
.guide-link { margin: -8px 0 16px; font-size: 13px; }
.guide-link a { color: var(--ink); }
.rg-fold { margin: 24px 0 0; }
.rg-fold > summary { cursor: pointer; font-weight: 700; }
.rg-fold[open] > summary { margin-bottom: 8px; }
.meta .card-field { margin: 2px 0 0; font-size: 12px; letter-spacing: .04em; }
.meta .card-desc { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink); }
.meta .card-price { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 10px 0 0; }
.meta .card-price b { font-size: 15px; color: var(--ink); }
.plan-pre { margin: 28px 0 8px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.plan-pre[hidden] { display: none; }
.plan-pre h3 { margin: 0 0 8px; font-size: 18px; }
.plan-price { margin: 0 0 14px; font-size: 15px; font-weight: 700; line-height: 1.6; }
.plan-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 12px; padding: 0; }
.plan-steps li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; font-weight: 700; line-height: 1.4; }
.plan-steps b { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--bg, #0b0b0e); font-size: 13px; }
.plan-pre .sub { margin: 0; font-size: 13px; }
.pv-points { margin: 0 0 12px; padding-left: 1.2em; color: var(--sub); font-size: 14px; line-height: 1.7; }
@media (max-width: 760px) {
  .plan-steps { grid-template-columns: 1fr 1fr; }
  .stage-pre { font-size: 11.5px; padding: 3px 10px; margin-bottom: 6px; }
}
@media (max-width: 420px) { .plan-steps { grid-template-columns: 1fr; } .plan-steps li { padding: 10px 12px; } }
/* 販売準備中の案内を足しても、舞台の見本が小さくならないように（scripts/shop-check.mjs：舞台は画面の高さの 45% 以上） */
.stage-pre { font-size: 11.5px; padding: 2px 10px; margin-bottom: 6px; }
@media (max-width: 860px) { .stage-kicker { display: none; } .stage-offer-count { margin-bottom: 6px; } }
.stage-frame > .stage-pre { position: absolute; z-index: 3; left: 10px; bottom: 10px; max-width: calc(100% - 150px); margin: 0; border-color: rgba(255, 255, 255, .18); background: rgba(13, 13, 16, .8); color: #fff; backdrop-filter: blur(6px); }
/* 上の固定の帯の下に見出しが隠れないように（2026-10-16、iPhone の実機の確認） */
main section[id] { scroll-margin-top: 76px; }
.filter-fold { margin: 0 0 12px; }
.filter-fold[hidden] { display: none; }
.filter-fold > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 700; list-style: none; }
.filter-fold > summary::-webkit-details-marker { display: none; }
.filter-fold > summary::after { content: "▾"; font-size: 12px; color: var(--sub); }
.filter-fold[open] > summary { margin-bottom: 12px; }
.filter-fold[open] > summary::after { content: "▴"; }

/* =====================================================================
   2026-10-16 運営者の改善指示書（docs/design-lab/shop/BRIEF-2026-10-16.md）で作り直したトップ・商品詳細・言語と国の画面
   ① 最初の画面 ② 業種から選ぶ ③ おすすめ作品 ④ 編集ソフト ⑤ 一覧 ⑥ 料金 ⑦ 公開まで ⑧ よくある質問 ⑨ その他の商品
   ===================================================================== */
:root { --sub: #a8a59d; --line2: #34343c; }
.footer .mt-note { opacity: 1; color: var(--sub); }
.pv-try .hint { opacity: 1; color: var(--sub); }
:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }

/* ---- 見出しの帯：「Language / 日本語 ▾」はスマホでもメニューの外に置く ---- */
.nav { gap: 14px; }
.nav nav { flex: 1; justify-content: flex-end; gap: 22px; }
.locale-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; font-size: 13px; white-space: nowrap; color: var(--ink); border-color: var(--line2); }
.locale-btn:hover { border-color: var(--sub); }
.locale-btn .globe { flex: none; }
.locale-btn .lb-caret { font-size: 11px; color: var(--sub); }
@media (max-width: 1100px) {
  .nav-toggle { display: block; flex: none; }
  .nav nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open nav { display: flex; }
  .nav nav > * { padding: 12px 4px; }
  .locale-btn { margin-left: auto; }
}
@media (max-width: 420px) { .locale-btn .lb-word { display: none; } .locale-btn { padding: 6px 10px; } .logo { font-size: 17px; } }

/* ---- 表示言語と国・地域（§9） ---- */
.locale-dlg { width: min(94vw, 520px); max-height: min(92svh, 760px); overflow: auto; padding: 26px 26px 22px; }
.locale-dlg form { gap: 18px; }
.locale-dlg .loc-lead { margin: -6px 0 0; }
.loc-field { display: grid; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--bg) 60%, var(--panel)); }
.loc-field > label { font-size: 15px; font-weight: 700; color: var(--ink); }
.loc-help { margin: 0; font-size: 13px; color: var(--sub); }
.loc-field select { width: 100%; }
.loc-note { margin: 0; font-size: 12.5px; color: var(--accent2); }
.loc-what { font-size: 12.5px; color: var(--sub); line-height: 1.6; }
.loc-what p { margin: 6px 0 2px; font-size: 12.5px; }
.loc-what p:first-child { color: var(--ink); font-weight: 700; }
.loc-what ul { padding-left: 1.2em; }
.loc-acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.loc-acts .btn { min-height: 46px; }

/* ---- ① 最初の画面：左に文と主なボタン、右に動く見本（見本の操作は見本の下の帯）。狭い画面では縦に並ぶ ---- */
section.stage { display: grid; grid-template-columns: minmax(330px, 430px) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: clamp(20px, 2.4vw, 36px); align-items: stretch; height: 100svh; min-height: 620px; padding: 80px clamp(14px, 2vw, 28px) 16px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; gap: 14px; min-width: 0; padding: 0 0 0 clamp(0px, 1.2vw, 16px); }
.hero-copy .stage-pre { align-self: flex-start; margin: 0; font-size: 12.5px; padding: 6px 12px; border-radius: 12px; line-height: 1.55; }
.hero-h1 { font-size: clamp(30px, 3.1vw, 46px); font-weight: 900; line-height: 1.22; letter-spacing: -.005em; margin: 0; text-wrap: balance; word-break: auto-phrase; }
.hero-sub { margin: 0; font-size: 15px; line-height: 1.75; color: var(--sub); word-break: auto-phrase; } /* 日本語の補足を「画面/で編集」のように文節の途中で折らない（Chrome。2026-10-19 A98） */
.hero-price { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line2); border-radius: 16px; background: var(--panel); }
.hero-price .hp-tag { justify-self: start; margin-bottom: 4px; padding: 1px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent2) 18%, transparent); color: var(--accent2); font-size: 12px; font-weight: 700; }
.hero-price .hp-1 { margin: 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 900; line-height: 1.35; }
.hero-price .hp-2 { margin: 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.hero-assure { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--sub); }
.hero-assure li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.hero-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-acts .btn { min-height: 50px; padding: 12px 22px; }
.hero-acts .stage-touch { background: transparent; border-color: var(--line2); }
.stage-demo { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; min-height: 0; }
.stage-demo .stage-frame { border-radius: 16px 16px 0 0; }
.stage-live { position: absolute; z-index: 3; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 4px 10px; border-radius: 999px; background: rgba(13,13,16,.78); color: #fff; font-size: 11.5px; letter-spacing: .02em; pointer-events: none; backdrop-filter: blur(6px); }
.stage-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--wk); }
.stage-loading { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(13,13,16,.8); color: #e9e6df; font-size: 13px; }
.stage-loading::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); border-top-color: var(--wk); animation: spin 1s linear infinite; }
.stage-fail { position: absolute; inset: 0; z-index: 4; display: grid; place-items: end start; background: #0d0d10; }
.stage-fail[hidden] { display: none; }
.stage-fail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: .55; }
.stage-fail > div { position: relative; margin: 14px; padding: 14px 16px; max-width: 460px; border-radius: 14px; background: rgba(13,13,16,.9); color: #f3f1ec; font-size: 14px; }
.stage-fail .actions { margin-top: 10px; }
/* 見本の操作の帯（作品名・近日発売・PC/スマホ・一時停止・詳細・作品の番号） */
.stage-demo .stage-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 12px 8px; border: 1px solid var(--line2); border-top: 0; border-radius: 0 0 16px 16px; background: var(--panel); }
.stage-demo .stage-title { flex: 1 1 220px; min-width: 0; gap: 10px; }
.stage-demo .stage-no { font-size: 28px; }
.stage-demo .stage-name { font-size: clamp(16px, 1.4vw, 20px); }
.stage-demo .stage-field { font-size: 11.5px; color: var(--sub); }
.stage-demo .stage-ctl { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.stage-demo .stage-ctl .btn.small { min-height: 40px; padding: 6px 14px; }
.stage-demo .stage-view { position: static; padding: 3px; background: var(--bg); box-shadow: 0 0 0 1px var(--line2); }
.stage-demo .stage-view button { min-height: 34px; color: var(--sub); }
.stage-demo .stage-view button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.hero-price .hp-1 span { white-space: nowrap; }
.stage-demo .stage-tabs { order: 3; flex: 1 1 100%; gap: 4px; }
.stage-demo .stage-tabs button { padding-top: 4px; min-height: 36px; }
.stage-demo .stage-tabs i { margin-top: 4px; }
.stage-tabs .tl { display: none; }
.stage-tabs button { grid-template-columns: 1fr; text-align: center; }
@media (max-width: 1099px) {
  /* 縦に並べる：見出し → 動く見本 → 見本の操作 → 主なボタン → 価格 → 補足 */
  section.stage { display: flex; flex-direction: column; gap: 10px; height: auto; min-height: 0; padding: 70px 12px 8px; }
  .hero-copy { display: contents; }
  .hero-h1 { order: 1; font-size: clamp(22px, 5.4vw, 34px); padding: 0 4px; }
  .stage-demo { order: 2; }
  .stage-demo .stage-frame { height: max(300px, 46svh); }
  .hero-acts { order: 3; padding: 0 2px; }
  .hero-price { order: 4; }
  .hero-sub { order: 5; padding: 0 4px; font-size: 14px; }
  .hero-assure { order: 6; padding: 0 4px; }
  .hero-copy > .stage-pre { order: 0; }
}
@media (max-width: 860px) {
  .stage-live { display: none; }
  .stage-frame > .stage-pre { max-width: calc(100% - 20px); }
  .hero-acts .btn { flex: 1 1 auto; min-height: 46px; padding: 10px 14px; }
  .hero-price { padding: 10px 14px; }
  .hero-price .hp-1 { font-size: 17px; }
  .stage-demo .stage-bar { padding: 8px 8px 6px; gap: 6px 8px; }
  .stage-demo .stage-title { flex-basis: 150px; }
  .stage-demo .stage-no { font-size: 22px; }
  .stage-demo .stage-ctl .btn.small { padding: 6px 10px; font-size: 12.5px; }
  .stage-demo .stage-view button { padding: 0 9px; }
}
@media (max-width: 420px) {
  .stage-demo .stage-field { display: none; }
  .stage-demo .stage-detail { display: none; }
}

/* ---- ④ 編集ソフト ---- */
.editor .sub { margin-bottom: 26px; }
/* 手順ごとの録画（2026-10-18 運営者「手順を細かく分けて、手順ごとに動画を付ける」）。PC：左に手順の一覧・右に録画（画面の上に留まる）。スマホ：横に流れる手順の札＋録画 */
.ed-pts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 6px; padding: 0; font-size: 15px; font-weight: 700; }
.ed-pts li::before { content: "✓ "; color: var(--accent); }
.ed-pre { margin: 0 0 6px; font-size: 13px; color: var(--accent2); }
.ed-pre[hidden] { display: none; }
.ed-tour { display: grid; grid-template-columns: minmax(240px, 310px) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 22px; }
.ed-steps { list-style: none; display: grid; gap: 4px; margin: 0; padding: 0; counter-reset: none; }
.ed-steps button { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; line-height: 1.3; text-align: left; cursor: pointer; }
.ed-steps button:hover { border-color: var(--sub); }
.ed-steps button[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--panel)); }
.ed-steps b { flex: none; display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 4px; border-radius: 13px; background: var(--ink); color: var(--bg); font-size: 12.5px; }
.ed-steps .ed-opt { flex: none; margin-left: auto; font-size: 11px; font-weight: 500; color: var(--sub); }
.ed-steps .is-sub { display: none; }
.ed-steps.in-motion .is-sub { display: block; }
.ed-steps .is-sub button { min-height: 36px; margin-left: 18px; width: calc(100% - 18px); font-size: 13px; font-weight: 600; }
.ed-steps .is-sub b { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2, var(--line)); font-size: 11.5px; }
.ed-steps.in-motion .is-group button { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.ed-player { margin: 0; position: sticky; top: 76px; }
.ed-video { position: relative; }
.ed-player video { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); object-fit: contain; }
.ed-video-fail { position: absolute; left: 12px; right: 12px; bottom: 12px; margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(13,13,16,.9); font-size: 14px; }
.ed-video-fail[hidden] { display: none; }
.ed-now { margin: 14px 2px 0; min-height: 96px; }
.ed-now-n { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--accent); }
.ed-now h3 { margin: 2px 0 4px; font-size: clamp(18px, 2vw, 22px); }
.ed-now p { margin: 0; font-size: 14.5px; color: var(--sub); line-height: 1.6; }
.ed-now .ed-now-more { margin-top: 6px; } .ed-now-more[hidden] { display: none; }
.ed-now-more a { color: var(--accent2); font-weight: 700; font-size: 14px; }
.ed-ctl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ed-note { margin: 10px 2px 0; font-size: 12.5px; color: var(--sub); }
/* そのほかの機能（手順に入らなかったもの） */
.ed-more { margin-top: 40px; }
.ed-more h3 { font-size: 20px; margin-bottom: 12px; }
.ed-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; }
.ed-cards li { padding: 12px 12px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.ed-cards img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 10px; background: var(--bg); }
.ed-cards h4 { margin: 12px 2px 4px; font-size: 16px; }
.ed-cards p { margin: 0 2px; font-size: 13.5px; color: var(--sub); line-height: 1.6; }
@media (max-width: 899px) {
  .ed-tour { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ed-player { position: static; }
  /* 手順の札は横に流す（スマホ）。動きの中の手順も札として並べる */
  .ed-steps-wrap { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; margin: 0 -16px; padding: 2px 16px 8px; }
  .ed-steps { display: flex; gap: 6px; width: max-content; }
  .ed-steps .is-sub, .ed-steps.in-motion .is-sub { display: block; }
  .ed-steps button, .ed-steps .is-sub button { width: auto; max-width: 220px; margin: 0; min-height: 40px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
  .ed-steps span { overflow: hidden; text-overflow: ellipsis; }
  .ed-steps .ed-opt { display: none; }
  .ed-cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 560px) { .ed-cards { grid-template-columns: minmax(0, 1fr); } }
.ed-ba { margin-top: 44px; }
.ed-ba h3, .ed-info h3 { font-size: 20px; margin-bottom: 6px; }
.ed-ba .sub { margin-bottom: 16px; font-size: 14px; }
.ba-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .36fr); gap: 14px; align-items: start; }
.ba-grid figure { margin: 0; }
.ba-grid img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); background: var(--panel); }
.ba-grid figcaption { margin-top: 6px; font-size: 13px; color: var(--sub); }
.ed-info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.ed-info > div { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.ed-info ul { padding-left: 1.2em; display: grid; gap: 6px; font-size: 14px; color: var(--sub); }
.ed-info dl { display: grid; gap: 10px; margin: 0; font-size: 14px; }
.ed-info dt { font-weight: 700; color: var(--ink); }
.ed-info dd { margin: 0; color: var(--sub); }
.ed-buy { margin-top: 24px; }
html.prelaunch .ed-buy { display: none; }
@media (max-width: 959px) {
  .ed-info { grid-template-columns: minmax(0, 1fr); }
  .ba-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ba-grid .ba-sp { grid-column: 1 / -1; width: min(240px, 60%); justify-self: center; }
}
@media (max-width: 560px) { .ba-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- ⑤ 一覧と絞り込み ---- */
.templates .sub { margin-bottom: 22px; }
.filters { display: grid; gap: 10px; margin-bottom: 14px; grid-template-columns: none; }
.f-basic, .f-adv { display: flex; flex-wrap: wrap; gap: 10px; }
.f-basic > *, .f-adv > * { flex: 1 1 auto; min-width: 0; max-width: 100%; }
.f-basic input[type="search"] { flex: 2 1 240px; }
/* 自動で作る項目（lib/facets.mjs）の入れ物。中の select を、まわりの並びの直接の子として並べる */
.f-auto { display: contents; }
.f-basic select, .f-adv select { flex: 1 1 190px; min-width: 0; max-width: 100%; }
.f-more > summary { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-height: 44px; padding: 10px 0; cursor: pointer; font-weight: 700; font-size: 14px; list-style: none; }
.f-more > summary::-webkit-details-marker { display: none; }
.f-more > summary::before { content: "＋"; color: var(--accent); }
.f-more[open] > summary::before { content: "−"; }
.f-more > summary small { font-weight: 400; color: var(--sub); font-size: 12.5px; }
.f-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.f-active[hidden] { display: none; }
.fa-h { font-size: 13px; color: var(--sub); margin-right: 4px; }
.fa-chip, .fa-all { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 12px; border-radius: 999px; font: inherit; font-size: 13px; cursor: pointer; }
.fa-chip { border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--ink); }
.fa-all { border: 1px solid var(--line2); background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.empty { display: grid; justify-items: start; gap: 14px; padding: 28px; border: 1px dashed var(--line2); border-radius: 16px; color: var(--sub); }
/* 一覧のカード：動くタイル（2026-10-17 運営者「motion effects のような見せ方で」。⑨ の .fx-grid / .fx-tile と同じ 4 列・スマホ 2 列。表紙の動きの録画と作品名・業種） */
.ind-find { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: -8px 0 18px; color: var(--sub); }
.ind-find .btn.small { min-height: 40px; }
.list-prices { margin: 0 0 18px; }
.cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 14px; }
.card.tile { display: flex; flex-direction: column; background: none; border: 0; border-radius: 0; overflow: visible; }
.tile-link { display: block; color: var(--ink); text-decoration: none; }
.tile-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); transition: transform .3s ease; }
.tile-media img, .tile-media video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tile-media video { opacity: 0; transition: opacity .35s ease; }
.tile-media.is-on video { opacity: 1; }
.tile-link:hover .tile-media, .tile-link:focus-visible .tile-media { transform: translateY(-3px); }
.tile-link:focus-visible { outline: none; }
.tile-link:focus-visible .tile-media { box-shadow: 0 0 0 2px var(--accent); }
.tile-name { display: block; margin-top: 9px; font-size: 14.5px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.tile-link:hover .tile-name { text-decoration: underline; text-underline-offset: 3px; }
.tile-field { display: block; margin-top: 2px; font-size: 12.5px; color: var(--sub); overflow-wrap: anywhere; }
.tile-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 2px; }
.tile-acts .btn.small { min-height: 40px; }
.tile-acts .cmp-toggle { min-height: 40px; padding: 0; font-size: 12.5px; }
.tile-stock { font-size: 12px; color: var(--sub); }
@media (max-width: 1023px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; } .tile-name { font-size: 13.5px; } }
.card { display: flex; flex-direction: column; }
.card .meta { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px 18px 18px; }
.card .meta h3 { font-size: 18px; line-height: 1.4; }
.card .meta h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.meta .card-field { margin: 0; font-size: 12px; color: var(--sub); }
.meta .card-desc { margin: 0; color: var(--sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta .card-price { margin: 2px 0 6px; }
.meta .card-price b { font-size: 14px; }
.card .actions { margin-top: auto; align-items: center; }
.card .actions .btn.small { min-height: 44px; }
.cmp-toggle { min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--sub); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cmp-toggle[aria-pressed="true"] { color: var(--accent2); }
.screen-state { position: absolute; z-index: 3; left: 12px; right: 12px; top: 12px; margin: 0; font-size: 13px; pointer-events: none; }
.screen-state:empty { display: none; }
.screen.is-loading .screen-state { display: inline-flex; width: max-content; max-width: calc(100% - 24px); padding: 6px 12px; border-radius: 999px; background: rgba(13,13,16,.85); color: #f3f1ec; }
.screen.is-failed .screen-state { padding: 8px 12px; border-radius: 10px; background: rgba(13,13,16,.9); color: #f3f1ec; }
.play { min-height: 44px; }
@media (max-width: 760px) { .f-basic > *, .f-adv > * { flex: 1 1 100%; } }

/* ---- ⑥ 料金 ---- */
.price .plans { margin-top: 28px; }
.plan .amount small { margin-top: 4px; }
/* 編集ソフト Pro（仕様 A95）：買い切りの 3 つの下の 1 行 */
.plans-pro { margin: 0 0 20px; }
.plan.plan-pro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 12px 32px; align-items: start; padding: 24px 28px; }
.plan-pro .pp-head { display: grid; gap: 6px; }
.plan-pro h3 { margin: 0; }
.plan-pro .amount { font-size: 32px; }
.plan-pro .pp-year { margin: 0; font-size: 14px; font-weight: 700; }
.plan-pro ul { flex: none; display: grid; gap: 6px; margin: 0; padding: 0; color: var(--ink); }
.plan-pro .pp-body { display: grid; gap: 10px; min-width: 0; }
/* 「SEVEN SENSE のサーバーが働く」（仕様 A97。運営者「こちらのサーバが使える事をしっかりとアピールしてください」） */
.plan-pro .pp-srv-h { margin: 0; font-size: 20px; line-height: 1.4; color: var(--accent); }
.plan-pro .pp-srv-p { margin: 0; font-size: 14px; color: var(--sub); }
.plan-pro .pp-host { margin: 0; padding: 10px 14px; border-left: 2px solid var(--line); font-size: 13px; color: var(--sub); }
.plan-pro .pp-note { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--sub); }
@media (max-width: 760px) { .plan.plan-pro { grid-template-columns: 1fr; padding: 22px 20px; } .plan-pro .pp-srv-h { font-size: 18px; } }
/* 買い切りの編集ソフトと Pro の○・×の比べ表（A97）。スマホでも 3 列のまま（○×の列を細く、できることの列を折り返す） */
.pro-cmp { margin: 0 0 20px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); }
.pro-cmp h3 { margin: 0 0 14px; font-size: 22px; line-height: 1.4; }
.cmp-wrap { max-width: 100%; }
.cmp-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; line-height: 1.55; }
.cmp-table th, .cmp-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; overflow-wrap: anywhere; }
.cmp-table thead th { font-size: 13px; color: var(--sub); font-weight: 700; vertical-align: bottom; }
.cmp-table thead th:nth-child(n+2), .cmp-table td { width: 22%; text-align: center; }
.cmp-table thead th.c-pro { color: var(--accent); }
.cmp-table tbody th { font-weight: 400; color: var(--ink); }
.cmp-table tr.grp th { padding-top: 18px; font-size: 13px; font-weight: 700; color: var(--sub); border-bottom-color: transparent; }
.cmp-table .pro-only tr.grp th { color: var(--accent); }
.cmp-table td span[aria-hidden] { font-size: 20px; font-weight: 700; line-height: 1; }
.cmp-table td.yes span[aria-hidden] { color: var(--accent); }
.cmp-table td.no span[aria-hidden] { color: var(--sub); opacity: .7; }
.cmp-table td:last-child { background: rgba(255,122,69,.07); }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cmp-pick { margin-top: 22px; }
.cmp-pick h4 { margin: 0 0 10px; font-size: 17px; }
.cmp-pick ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; }
.cmp-pick li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; font-size: 14px; color: var(--ink); }
.cmp-pick li[data-plan="pro"] { border-color: var(--accent); }
@media (max-width: 760px) {
  .pro-cmp { padding: 20px 14px; border-radius: 20px; }
  .pro-cmp h3 { font-size: 19px; }
  .cmp-table { font-size: 13px; }
  .cmp-table th, .cmp-table td { padding: 10px 6px; }
  .cmp-table thead th { font-size: 12px; }
  .cmp-table thead th:nth-child(n+2), .cmp-table td { width: 21%; }
  .cmp-pick ul { grid-template-columns: 1fr; }
}
.plan .btn { align-self: stretch; }
.price-notes { list-style: none; display: grid; gap: 6px; margin: 8px 0 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; font-size: 14px; color: var(--sub); }
.price-notes li::before { content: "※ "; }

/* ---- ⑦ 公開までの 4 ステップ ---- */
.how-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 28px 0 0; padding: 0; }
.how-steps li { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden; }
.how-steps figure { margin: 0; aspect-ratio: 16 / 10; background: #0d0d10; overflow: hidden; border-bottom: 1px solid var(--line); }
.how-steps img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.how-steps figure.is-sp img { object-fit: contain; object-position: center top; }
.how-steps li > div { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; padding: 14px 16px 18px; }
.how-steps b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(120deg, var(--accent), var(--accent2)); color: #1a0d05; font-size: 14px; }
.how-steps h3 { font-size: 16px; line-height: 1.4; }
.how-steps p { grid-column: 1 / -1; margin: 4px 0 0; font-size: 14px; color: var(--sub); }
.how-guide { margin-top: 22px; }
@media (max-width: 1023px) { .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .how-steps { grid-template-columns: minmax(0, 1fr); } }

/* ---- ⑨ その他の商品 ---- */
.effects { border-top: 1px solid var(--line); }
.effects .eyebrow { margin-bottom: 6px; }
.effects h2 { font-size: clamp(22px, 3.4vw, 34px); }

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  .stage-loading::before { animation: none; }
  .btn, .tile-media, .tile-media video { transition: none; }
  .btn:hover, .tile-link:hover .tile-media { transform: none; }
}

/* ---- 商品詳細（§7） ---- */
.pv-back { margin: 0 0 10px; font-size: 14px; }
.pv-back a { color: var(--sub); }
.pv-back a:hover { color: var(--ink); }
.pv-head { flex: 1 1 100%; }
.pv-field { margin: 0; font-size: 13px; color: var(--sub); }
.pv-status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 4px 0 0; }
.pv-status a { color: var(--accent2); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.pv-stage { position: relative; }
.pv-loading { position: absolute; left: 50%; top: 40%; translate: -50% 0; margin: 0; padding: 8px 16px; border-radius: 999px; background: rgba(13,13,16,.85); color: #f3f1ec; font-size: 13px; }
.pv-loading[hidden] { display: none; }
.pv-info { display: grid; gap: 12px; }
.pv .pv-sec { max-width: none; margin: 0; padding: 24px 0 8px; border-top: 1px solid var(--line); }
.pv-sec h2 { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 12px; }
.pv-sec h3 { font-size: 16px; margin: 18px 0 8px; }
.pv-sec .sub { margin-bottom: 12px; font-size: 14px; }
.pv-desc { margin: 0 0 12px; }
.pv-swaps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.pv-swaps img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.pv-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pv-opt { position: relative; display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line2); border-radius: 16px; background: var(--panel); cursor: default; }
.pv-opt:has(input) { cursor: pointer; }
.pv-opt.best { border-color: var(--accent); }
.pv-opt:has(input:checked) { box-shadow: 0 0 0 2px var(--accent); }
.pv-opt input { position: absolute; top: 18px; right: 18px; width: 20px; height: 20px; accent-color: var(--accent); }
.pv-opt .badge { position: absolute; top: -12px; left: 18px; }
.pv-opt-h { display: grid; gap: 2px; padding-right: 28px; }
.pv-opt-h b { font-size: 16px; }
.pv-opt-p { font-size: 28px; font-weight: 900; line-height: 1.2; }
.pv-opt-for { font-size: 14px; color: var(--sub); }
.pv-unit { margin: 8px 0 12px; font-size: 13px; color: var(--sub); }
.pv-soon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; }
.pv-sum { font-weight: 700; }
.pv-owned { color: var(--accent2); }
.pv-owned[hidden] { display: none; }
.pv-buy .btn:disabled { opacity: .7; cursor: not-allowed; }
.pv-faq { margin: 16px 0; }
@media (max-width: 640px) { .pv-opts, .pv-swaps { grid-template-columns: minmax(0, 1fr); } .pv-swaps img:nth-child(n+2) { display: none; } }
.hero-h1.keep { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 420px) { .hero-h1 { font-size: 21px; } .stage-demo .stage-bar { padding: 6px 8px 4px; } .stage-demo .stage-tabs button { min-height: 32px; } }
.hero-kicker { margin: 0 0 -6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--accent2); }
@media (max-width: 1099px) { .hero-kicker { order: 1; margin: 0 4px -8px; font-size: 12px; } }
@media (max-width: 480px) { .locale-dlg { padding: 20px 16px 16px; } .loc-field { padding: 12px; } .loc-acts { flex-direction: column-reverse; } .loc-acts .btn { width: 100%; } }
/* 購入の前の確認（docs/SPEC.md A85。site/consent.js）：返金の条件と、すぐにダウンロードできることへの同意のチェック */
.consent { display: grid; gap: 10px; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--bg); text-align: left; }
.consent .consent-notes { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; font-size: 13px; color: var(--sub); }
.consent label.consent-box { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.5; cursor: pointer; }
.consent .consent-box input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent, currentColor); }
.consent .consent-need { margin: 0; font-size: 12px; color: var(--sub); }
.consent .consent-need a { color: inherit; text-decoration: underline; }
/* チェックを入れるまで押せないことが見て分かるように（購入の前の確認の画面・モーション素材の確認の画面） */
.consent-dlg .btn:disabled, .mo-dialog .btn:disabled { opacity: .4; cursor: not-allowed; }
/* ---- ③ 違いを見比べる（仕様 A96 (2)。site/app.js の③）：PC は左右に並べ、スマホ（760px 未満）は上下に並べる ---- */
.diff .sub { margin-bottom: 24px; max-width: 46em; }
.diff-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.diff-side { margin: 0; min-width: 0; }
.diff-frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.diff-side.is-crema .diff-frame { box-shadow: 0 0 0 1px var(--accent), 0 18px 50px -20px rgba(255, 122, 69, .45); }
.diff-frame img, .diff-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* 録画は再生が始まってから静止画の上に重ねる（読み込み前・動きを減らす設定では静止画のまま） */
.diff-frame video { opacity: 0; transition: opacity .3s; }
.diff-frame.is-on video { opacity: 1; }
.diff-tag { position: absolute; left: 10px; bottom: 10px; z-index: 1; padding: 3px 12px; border-radius: 999px; background: rgba(8, 8, 10, .78); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.6; max-width: calc(100% - 20px); }
.diff-side.is-crema .diff-tag { background: var(--accent); color: #1a0d05; }
.diff-side figcaption { margin-top: 8px; font-size: 13px; color: var(--sub); line-height: 1.6; }
.diff-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 16px 0 0; }
.diff-note { margin: 0; font-size: 13px; color: var(--sub); flex: 1 1 16em; min-width: 0; }
.diff-pts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 32px 0 0; padding: 0; }
.diff-pts li { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); min-width: 0; }
.diff-pts h3 { font-size: 17px; line-height: 1.45; margin-bottom: 6px; }
.diff-pts h3::before { content: "✓ "; color: var(--accent); }
.diff-pts p { margin: 0; font-size: 14px; color: var(--sub); }
.diff-more { margin-top: 22px; }
@media (max-width: 959px) { .diff-pts { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 759px) { .diff-pair { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
@media (prefers-reduced-motion: reduce) { .diff-frame video { transition: none; } }
