/* OTOLUME: 暗いステージに LED のマゼンタとシアンが走る。作り手の言葉と作品が主役 */
:root {
  color-scheme: dark;
  --bg: #07080f;
  --bg2: #0b0d1a;
  --panel: #111428;
  --line: #222849;
  --ink: #eef0f8;
  --muted: #9ea5c2;
  --pink: #ff3d8b;
  --cyan: #45c8ff;
  --amber: #ffcf5a;
  --line-green: #06c755;
  --display: "Dela Gothic One", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --mono: "Space Mono", "Consolas", "Menlo", monospace;
  --max: 1180px;
  --pad: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --small: 0.75rem;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); line-height: 1.8; font-size: 0.9375rem; overflow-x: hidden; }
a { color: var(--cyan); }
img, video { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.en { display: none; }
html.lang-en .ja { display: none; }
html.lang-en .en { display: revert; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 20; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 6px; font-weight: 700; }
.skip:focus { top: 8px; }

/* チャット窓口の有無で出し分け(JS が body に has-chat / has-line / has-discord / has-telegram を付ける) */
body:not(.has-chat) .if-chat { display: none !important; }
body.has-chat .if-nochat { display: none !important; }
body:not(.has-line) .if-line { display: none !important; }
body:not(.has-discord) .if-discord { display: none !important; }
body:not(.has-telegram) .if-telegram { display: none !important; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1px solid var(--pink); color: var(--ink); background: transparent; cursor: pointer; font-family: var(--body); font-size: 0.92rem; line-height: 1.4; text-align: center; transition: transform 0.2s var(--ease), opacity 0.2s; }
.btn.primary { background: var(--pink); color: #14020b; }
.btn.line { background: var(--line-green); border-color: var(--line-green); color: #02160a; }
.btn.discord { background: #5865f2; border-color: #5865f2; color: #fff; }
.btn.telegram { background: #229ed9; border-color: #229ed9; color: #fff; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); opacity: 0.85; }
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ヘッダー */
.bar { position: sticky; top: 0; z-index: 10; background: rgba(7, 8, 15, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-block: 8px; }
.logo { font-family: var(--display); font-size: 1.15rem; letter-spacing: 0.08em; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 8px; min-height: 44px; }
.logo i { display: inline-block; width: 22px; height: 8px; border-radius: 2px; background: linear-gradient(90deg, var(--pink), var(--cyan)); position: relative; }
.logo i::after { content: ""; position: absolute; left: 38%; top: -4px; bottom: -4px; width: 2px; background: #fff; }
.bar nav { display: flex; gap: 16px; margin-left: auto; font-size: 0.84rem; }
.bar nav a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.bar nav a:hover { color: var(--ink); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-family: var(--mono); font-size: var(--small); }
.lang button { background: transparent; color: var(--muted); border: 0; padding: 4px 10px; min-height: 36px; cursor: pointer; font: inherit; }
.lang button[aria-pressed="true"] { background: var(--pink); color: #14020b; font-weight: 700; }
.lang button:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.bar .btn { padding: 6px 14px; font-size: 0.82rem; min-height: 40px; }
@media (max-width: 900px) { .bar nav { display: none; } .bar .lang { margin-left: auto; } }
@media (max-width: 760px) { .lang button { min-height: 44px; min-width: 44px; } .bar .btn { min-height: 44px; } }

/* 章の見出し */
section { position: relative; }
.sec { padding-block: clamp(56px, 8vw, 112px); }
.idx { font-family: var(--mono); font-size: var(--small); letter-spacing: 0.2em; color: var(--pink); text-transform: uppercase; display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.idx::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: 0.6; }
.sec h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 1rem + 2.6vw, 3rem); line-height: 1.25; margin: 0; text-wrap: balance; }
.sec-lead { color: var(--muted); max-width: 36em; margin: 14px 0 0; }
.sec-top { display: grid; gap: 8px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
@media (min-width: 900px) { .sec-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; } .sec-top .sec-lead { margin: 0; justify-self: end; } }
.note { color: var(--muted); font-size: 0.8rem; margin: 22px 0 0; }

/* ヒーロー */
.hero { padding-block: clamp(28px, 6vw, 72px) 24px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 78%; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(69, 200, 255, 0.05) 0 1px, transparent 1px 7px), repeating-linear-gradient(0deg, rgba(255, 61, 139, 0.04) 0 1px, transparent 1px 7px);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent); }
.scan { position: absolute; top: 0; left: 0; width: 22%; height: 78%; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255, 61, 139, 0.10), rgba(69, 200, 255, 0.10), transparent); transform: translateX(-100%); animation: scan 9s linear infinite; }
@keyframes scan { to { transform: translateX(560%); } }
.hero .wrap { position: relative; display: grid; gap: 20px; }
.eyebrow { font-size: 0.82rem; letter-spacing: 0.08em; color: var(--pink); font-weight: 700; margin: 0; }
.hero-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: end; gap: 48px; } }
.hero-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.75rem, 0.9rem + 3.8vw, 3.6rem); line-height: 1.18; margin: 0; letter-spacing: 0.01em; }
.hero-title .l1, .hero-title .l2, .hero-title .l3 { display: block; }
@media (min-width: 760px) { .hero-title .l2 { padding-left: 0.6em; } }
.hero-title em { font-style: normal; color: var(--pink); position: relative; display: inline-block; }
.hero-title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.09em; background: linear-gradient(90deg, var(--pink), var(--cyan)); transform-origin: left; transform: scaleX(0); animation: grow 1.2s 0.4s var(--ease) forwards; }
@keyframes grow { to { transform: scaleX(1); } }
.hero-side { display: grid; gap: 14px; border-left: 2px solid var(--cyan); padding-left: 18px; }
.hero-side p { margin: 0; color: #c9cee3; }
.hero-side .ask a { color: var(--ink); font-size: 0.88rem; }
.soon-line { font-size: 0.82rem; }
.reel { position: relative; border-radius: 10px; overflow: hidden; background: #000; aspect-ratio: 5680 / 1240; box-shadow: 0 0 0 1px var(--line), 0 30px 80px -34px rgba(255, 61, 139, 0.55), 0 18px 60px -40px rgba(69, 200, 255, 0.6); }
@media (min-width: 1240px) { .reel { margin-inline: -40px; } }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; left: 10px; bottom: 8px; font-family: var(--mono); font-size: var(--small); color: #dfe4f5; background: rgba(0, 0, 0, 0.55); padding: 2px 8px; border-radius: 4px; }
@media (max-width: 760px) { .chip { display: none; } }
.reel-tools { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 0.84rem; color: var(--muted); }
.chk { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; min-height: 44px; }
.chk input { width: 20px; height: 20px; }
.motion { border-color: var(--line); color: var(--muted); }
.motion .m-on { display: none; }
.motion[aria-pressed="true"] { border-color: var(--amber); color: var(--amber); }
.motion[aria-pressed="true"] .m-on { display: inline; }
.motion[aria-pressed="true"] .m-off { display: none; }
.reel-note { margin: 0; color: var(--muted); font-size: 0.8rem; }
.trial { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: #c9cee3; }
.trial i { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 207, 90, 0.16); }
.trial.sup i { background: var(--cyan); box-shadow: 0 0 0 4px rgba(69, 200, 255, 0.18); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 4px 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 12px 14px 0 0; display: grid; gap: 2px; align-content: start; }
.facts dt { font-family: var(--mono); font-size: var(--small); letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.facts dd { margin: 0; font-size: 0.92rem; font-weight: 700; line-height: 1.5; }
.dd-sub { display: block; font-weight: 400; font-size: var(--small); color: var(--amber); }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 6px; } }

/* 試験利用の帯(上) */
.ea-banner { border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(255, 207, 90, 0.08), transparent 70%); }
.ea-banner .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; padding-block: 12px; }
.ea-banner p { margin: 0; font-size: 0.9rem; font-weight: 700; }
.ea-banner a { color: var(--amber); font-size: 0.86rem; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
.ea-tag { font-family: var(--mono); font-size: var(--small); letter-spacing: 0.14em; color: #1a1200; background: var(--amber); border-radius: 4px; padding: 1px 6px; margin-right: 10px; vertical-align: 2px; }
/* 試験利用の帯(段のあいだ) */
.apply-strip { margin-top: clamp(36px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 22px; padding: 16px 20px; border-radius: 12px; border: 1px solid rgba(255, 207, 90, 0.35); background: rgba(255, 207, 90, 0.05); }
.apply-strip p { margin: 0; flex: 1 1 280px; font-weight: 700; }

/* 強み: 画面の形 / 本当の中心 / ビート(図は CSS だけ) */
.fit { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg2), var(--bg)); }
.fits { display: grid; }
.fit-row { display: grid; gap: 20px 56px; padding-block: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); align-items: center; }
@media (min-width: 900px) { .fit-row { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.fit-text { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-content: start; }
.fit-text .no { font-family: var(--display); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--cyan); grid-row: span 2; }
.fit-text h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.15rem, 0.95rem + 0.9vw, 1.55rem); line-height: 1.4; margin: 0; }
.fit-text p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.fig { margin: 0; display: grid; gap: 12px; min-width: 0; }
.fig figcaption { color: var(--muted); font-size: 0.8rem; line-height: 1.6; }
.frm { position: relative; border-radius: 3px; display: grid; place-items: center; text-align: center; min-width: 0; }
.frm b { font-family: var(--mono); font-size: var(--small); font-weight: 700; }
.frm.led { width: 100%; aspect-ratio: 5680 / 1240; border: 2px solid var(--pink); color: var(--ink);
  background: repeating-linear-gradient(90deg, rgba(69, 200, 255, 0.10) 0 1px, transparent 1px 6px), repeating-linear-gradient(0deg, rgba(255, 61, 139, 0.08) 0 1px, transparent 1px 6px), linear-gradient(90deg, rgba(255, 61, 139, 0.18), rgba(69, 200, 255, 0.18)); }
.frm.led > span { display: block; font-size: var(--small); color: #c9cee3; }
.fig-size .frm.led { align-content: center; }
.std { display: flex; align-items: flex-end; gap: 2%; }
.std .frm { border: 1px dashed var(--muted); color: var(--muted); background: rgba(255, 255, 255, 0.03); }
.f169 { width: 33.8%; aspect-ratio: 16 / 9; }
.f916 { width: 19.01%; aspect-ratio: 9 / 16; }
.f11 { width: 19.01%; aspect-ratio: 1 / 1; }
.std-cap { font-size: var(--small); color: var(--muted); flex: 1 1 0; min-width: 0; line-height: 1.4; }
.fig-center .led { margin-block: 28px; }
.fig-center .glow { position: absolute; inset: 0; background: radial-gradient(ellipse 22% 70% at 38.03% 60%, rgba(255, 61, 139, 0.55), transparent 70%); }
.fig-center .ln { position: absolute; top: -8px; bottom: -8px; }
.ln-mid { left: 50%; border-left: 2px dashed var(--muted); }
.ln-act { left: 38.03%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 10px var(--pink); }
.fig-center .lb { position: absolute; font-family: var(--mono); font-size: var(--small); font-weight: 700; white-space: nowrap; line-height: 1; }
.lb-act { left: 38.03%; top: -26px; transform: translateX(-100%); padding-right: 8px; color: var(--pink); }
.lb-mid { left: 50%; bottom: -26px; padding-left: 8px; color: var(--muted); }
.beat { --dur: 4s; display: grid; gap: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.lane { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); align-items: center; gap: 10px; }
.lane b { font-family: var(--mono); font-size: var(--small); letter-spacing: 0.08em; color: var(--muted); }
.lane .hits { position: relative; height: 26px; border-bottom: 1px solid var(--line); overflow: hidden; }
.tk { position: absolute; bottom: 0; width: 3px; margin-left: -1px; border-radius: 2px; opacity: 0.3; transform-origin: bottom; animation: hit var(--dur) linear infinite; }
.lane[data-lane="kick"] .tk { height: 100%; width: 5px; background: var(--pink); box-shadow: 0 0 8px var(--pink); }
.lane[data-lane="snare"] .tk { height: 72%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.lane[data-lane="hat"] .tk { height: 40%; width: 2px; background: #fff; }
.ph { position: absolute; inset: 0; pointer-events: none; animation: sweep var(--dur) linear infinite; }
.ph::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, 0.8); }
@keyframes hit { 0% { opacity: 1; transform: scaleY(1.2); } 9% { opacity: 0.3; transform: scaleY(1); } 100% { opacity: 0.3; transform: scaleY(1); } }
@keyframes sweep { from { transform: translateX(0); } to { transform: translateX(100%); } }

/* 当社調べの文と比べる表 */
.compare { margin-top: clamp(32px, 5vw, 56px); padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); }
.first { margin: 0; font-weight: 700; font-size: clamp(1.05rem, 0.92rem + 0.6vw, 1.35rem); line-height: 1.7; max-width: 40em; padding-left: 16px; border-left: 3px solid var(--pink); }
.first-note { margin: 10px 0 0; color: var(--muted); font-size: var(--small); max-width: 60em; }
.cmp-title { margin: clamp(28px, 4vw, 40px) 0 12px; font-size: 1rem; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.tbl-wrap:focus-visible { outline: 2px solid var(--cyan); }
.cmp { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 0.84rem; line-height: 1.6; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font-size: 0.8rem; color: var(--muted); font-weight: 700; white-space: nowrap; }
.cmp tbody th { color: var(--ink); font-weight: 700; white-space: nowrap; width: 9.5rem; }
.cmp td { color: var(--muted); }
.cmp .oto { background: rgba(255, 61, 139, 0.10); color: var(--ink); font-weight: 700; border-left: 2px solid var(--pink); }
.cmp thead .oto { color: var(--pink); font-family: var(--display); font-weight: 400; letter-spacing: 0.06em; }
.cmp tbody th, .cmp thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--panel); }
.scroll-hint { display: none; margin: 0 0 8px; font-family: var(--mono); font-size: var(--small); color: var(--muted); }
@media (max-width: 900px) { .scroll-hint { display: block; } }

/* 動画の枠: 動画が出るまでも、同じ絵を背景に敷いておく(ポスターが出ない端末の保険) */
.frame, .pair-frame, .vert-frame { background-color: #000; background-size: cover; background-position: center; background-repeat: no-repeat; }

/* BEYOND の対 */
.venue { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), var(--bg2)); }
.pair-a { display: grid; gap: 18px 48px; }
.pair-frame { position: relative; aspect-ratio: 5620 / 1240; border-radius: 10px; overflow: hidden; cursor: pointer; box-shadow: 0 0 0 1px var(--line), 0 30px 80px -34px rgba(255, 61, 139, 0.55); }
@media (min-width: 1240px) { .pair-frame { margin-inline: -40px; } }
.pair-frame video { width: 100%; height: 100%; object-fit: cover; }
.pair-text { display: grid; gap: 10px; align-content: start; }
.pair-text h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.15rem, 0.95rem + 0.9vw, 1.55rem); line-height: 1.4; margin: 0; }
.pair-text p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.pair-text .snd { justify-self: start; }
.pair-text .idx { margin: 0; }
@media (min-width: 900px) { .pair-a .pair-text { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .pair-a .pair-text > :not(.idx):not(h3) { grid-column: 2; } .pair-a .pair-text h3 { grid-column: 1; grid-row: 2 / span 4; } }
.pair-arrow { margin: clamp(28px, 4vw, 44px) 0; text-align: center; font-family: var(--mono); font-size: 0.8rem; color: var(--cyan); letter-spacing: 0.06em; }
.pair-b { display: grid; gap: 28px 48px; align-items: center; }
@media (min-width: 900px) { .pair-b { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.pair-verts { display: grid; gap: 20px; justify-items: center; }
@media (min-width: 900px) { .pair-verts { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: end; justify-items: stretch; } }
.pv { margin: 0; display: grid; gap: 10px; justify-items: center; width: 100%; max-width: 300px; }
.pv figcaption { color: var(--muted); font-size: 0.8rem; text-align: center; line-height: 1.6; }
.vert-frame { position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 30px 70px -30px rgba(255, 61, 139, 0.5); cursor: pointer; }
.vert-frame video { width: 100%; height: 100%; object-fit: cover; }
/* Instagram: 押すまでは小さな横長のカード(空の大きな箱を出さない) */
.ig-card { width: 100%; max-width: 420px; display: grid; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(135deg, rgba(140, 80, 255, 0.14), rgba(255, 61, 139, 0.08)), var(--panel); }
.ig-head { display: flex; gap: 12px; align-items: center; }
.ig-head svg { width: 36px; height: 36px; flex: 0 0 auto; }
.ig-head p { margin: 0; font-weight: 700; font-size: 0.92rem; line-height: 1.5; }
.ig-head small { display: block; font-weight: 400; color: var(--muted); font-size: var(--small); }
.ig-card .btn { min-height: 44px; padding: 8px 16px; font-size: 0.86rem; }
.ig-slot { width: 100%; }
.ig-slot:focus { outline: none; }
.ig-slot .instagram-media { min-width: 0 !important; margin: 0 auto !important; }
.ig-fallback { text-align: center; padding: 14px; border: 1px dashed var(--line); border-radius: 12px; margin: 0; }
.venue-frame { position: relative; max-width: 100%; margin: clamp(32px, 5vw, 56px) auto 0; border-radius: 10px; overflow: hidden; background: #000; width: fit-content; cursor: pointer; }
.venue-frame video { width: auto; height: auto; max-width: 100%; max-height: 78vh; }

/* 作り手 */
.maker { background: linear-gradient(180deg, var(--bg), var(--bg2)); border-top: 1px solid var(--line); }
.maker-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .maker-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.maker-head p { color: #c9cee3; margin: 18px 0 0; }
.beliefs { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(26px, 4vw, 44px); align-content: start; }
.beliefs li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; }
@media (min-width: 760px) { .beliefs li:nth-child(even) { margin-left: clamp(0px, 4vw, 48px); } }
.beliefs .no { font-family: var(--display); font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--pink); grid-row: span 2; }
.beliefs li:nth-child(even) .no { -webkit-text-stroke-color: var(--cyan); }
.beliefs h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.15rem, 0.95rem + 0.9vw, 1.6rem); line-height: 1.4; margin: 0; }
.beliefs p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.profile { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 20px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); max-width: 760px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 1.1rem; color: #14020b; background: linear-gradient(135deg, var(--pink), var(--cyan)); }
.profile-body { display: grid; gap: 6px; }
.profile-body p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.profile-body .profile-name { color: var(--ink); font-size: 1.15rem; font-weight: 700; }
.profile-name small { margin-left: 10px; font-size: var(--small); font-weight: 400; color: var(--muted); }
.profile-body .profile-role { color: var(--cyan); font-size: 0.84rem; }
.profile-body a { font-size: 0.86rem; justify-self: start; display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 560px) { .profile { grid-template-columns: minmax(0, 1fr); } }

/* 作品: 一本ずつ並べる(左右を入れ替えてリズムを作る) */
.works { display: grid; gap: clamp(20px, 3vw, 34px); }
.work { display: grid; gap: 10px 22px; align-items: center; grid-template-columns: 3.4rem minmax(0, 1fr) 15rem; grid-template-areas: "num frame meta"; }
.work:nth-child(even) { grid-template-columns: 15rem minmax(0, 1fr) 3.4rem; grid-template-areas: "meta frame num"; }
.work:nth-child(even) .meta { text-align: right; }
.work:nth-child(even) .tags { justify-content: flex-end; }
.work .num { grid-area: num; font-family: var(--mono); font-size: 0.8rem; color: var(--pink); letter-spacing: 0.1em; }
.work .frame { grid-area: frame; position: relative; aspect-ratio: 5680 / 1240; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.work video { width: 100%; height: 100%; object-fit: cover; }
.work .meta { grid-area: meta; display: grid; gap: 6px; }
.work h3 { margin: 0; font-size: 0.95rem; line-height: 1.55; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-family: var(--mono); font-size: var(--small); color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; }
@media (max-width: 860px) {
  .work, .work:nth-child(even) { grid-template-columns: 2.4rem minmax(0, 1fr); grid-template-areas: "frame frame" "num meta"; align-items: start; }
  .work:nth-child(even) .meta { text-align: left; }
  .work:nth-child(even) .tags { justify-content: flex-start; }
}

/* 使える場所 */
.places { border-top: 1px solid var(--line); }
.band { margin: 0; display: grid; gap: 12px; }
.band-all { position: relative; text-align: center; font-weight: 700; font-size: 0.92rem; padding: 0 12px 14px; color: var(--ink); }
.band-all::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; border: 2px solid var(--pink); border-bottom: 0; border-radius: 8px 8px 0 0; }
.zones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; align-items: start; }
.zone { display: grid; grid-template-rows: 112px auto auto; gap: 6px; align-content: start; min-width: 0; }
.zone .bar { display: block; align-self: end; border-radius: 6px 6px 2px 2px; background: linear-gradient(90deg, var(--pink), var(--cyan)); background-size: 300% 100%; }
.z1 .bar { height: 44px; background-position: 0% 0; opacity: 0.75; }
.z2 .bar { height: 76px; background-position: 50% 0; opacity: 0.85; }
.z3 .bar { height: 112px; background-position: 100% 0; }
.zone b { font-size: 0.95rem; }
.zone > span { color: var(--muted); font-size: 0.82rem; line-height: 1.6; }
.axis { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: var(--small); color: var(--muted); letter-spacing: 0.1em; }
.axis i { flex: 1; height: 1px; background: var(--muted); position: relative; }
.axis i::after { content: ""; position: absolute; right: -1px; top: -4px; border: 4px solid transparent; border-left: 7px solid var(--muted); border-right: 0; }
@media (max-width: 560px) { .zone b { font-size: 0.84rem; } .zone > span { font-size: var(--small); } .band-all { font-size: 0.84rem; } }

/* 頼み方 */
.how { border-top: 1px solid var(--line); }
.status { margin: 0 0 clamp(28px, 4vw, 40px); display: grid; gap: 8px; padding: 16px 20px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.status p { margin: 0; }
.status-note { color: var(--muted); font-size: 0.84rem; }
.soon { font-family: var(--mono); font-size: var(--small); color: var(--amber); border: 1px solid var(--amber); border-radius: 4px; padding: 0 6px; margin-right: 8px; white-space: nowrap; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 28px; }
.step { position: relative; display: grid; gap: 10px; align-content: start; }
.step:not(:last-of-type)::after { content: "→"; position: absolute; right: -26px; top: 4px; font-family: var(--mono); color: var(--cyan); font-size: 1.5rem; line-height: 1; }
.step .n { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--pink); }
.step:nth-of-type(even) .n { color: var(--cyan); }
.step h3 { margin: 0; font-size: 1.12rem; line-height: 1.5; }
.step p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.bubble { position: relative; margin: 6px 0 0; padding: 10px 14px; border-radius: 16px; font-size: 0.86rem; line-height: 1.6; max-width: 100%; }
.bubble.you { background: var(--line-green); color: #02160a; border-bottom-right-radius: 4px; justify-self: end; }
.bubble.me { background: var(--panel); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; justify-self: start; }
.bubble small { display: block; font-family: var(--mono); font-size: var(--small); letter-spacing: 0.08em; opacity: 0.8; }
.loop { grid-row: 2; grid-column: 2 / 4; border: 1px dashed var(--muted); border-top: 0; border-radius: 0 0 14px 14px; padding: 8px 12px 10px; text-align: center; font-size: 0.84rem; color: var(--ink); }
.loop::before { content: "↺ "; color: var(--cyan); }
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 30px; max-width: 520px; }
  .step:not(:last-of-type)::after { content: "↓"; right: auto; left: 0.6rem; top: auto; bottom: -30px; }
  .step:nth-of-type(3)::after { display: none; }
  .loop { grid-row: auto; grid-column: auto; border: 1px dashed var(--muted); border-radius: 14px; margin-top: -12px; }
}
.time-note { margin: clamp(28px, 4vw, 40px) 0 0; display: grid; gap: 4px; padding: 14px 18px; border-left: 3px solid var(--amber); background: rgba(255, 207, 90, 0.06); border-radius: 0 10px 10px 0; font-size: 0.9rem; color: #c9cee3; max-width: 52em; }
.time-note b { color: var(--amber); font-size: 0.82rem; }

/* 質問 */
.faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; } }
details { border-bottom: 1px solid var(--line); padding: 6px 0; }
details:first-child { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 0.98rem; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--pink); transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 4px 0 10px; color: var(--muted); font-size: 0.9rem; }

/* 応募と連絡(締めの段) */
.early { border-top: 1px solid var(--line); background: radial-gradient(ellipse 50% 70% at 100% 0%, rgba(255, 207, 90, 0.08), transparent 70%), radial-gradient(ellipse 60% 80% at 0% 100%, rgba(255, 61, 139, 0.08), transparent 70%); }
.early-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .early-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; } }
.early .cta { margin-top: 22px; }
.early .note { margin-top: 10px; }
.mail { font-family: var(--mono); font-size: clamp(1rem, 0.9rem + 0.8vw, 1.3rem); overflow-wrap: anywhere; user-select: all; margin: 10px 0 0; }
.copied { min-height: 1.5em; margin: 4px 0 0; }
.contact-more { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.contact-more h3 { margin: 0; font-size: 0.98rem; }
.contact-more .cta { margin-top: 12px; }
.early-list { margin: 0; display: grid; }
.early-list > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 4px 18px; padding: 14px 0; border-top: 1px solid var(--line); }
.early-list > div:last-child { border-bottom: 1px solid var(--line); }
.early-list dt { font-family: var(--mono); font-size: var(--small); color: var(--amber); letter-spacing: 0.08em; padding-top: 2px; }
.early-list dd { margin: 0; font-size: 0.92rem; }
.early-list ul { margin: 0; padding-left: 1.1em; display: grid; gap: 2px; }
.mail-inline { font-family: var(--mono); overflow-wrap: anywhere; }
@media (max-width: 560px) { .early-list > div { grid-template-columns: minmax(0, 1fr); } }
footer { border-top: 1px solid var(--line); }
footer .wrap { padding-block: 22px 36px; color: var(--muted); font-size: 0.8rem; display: grid; gap: 6px; }
footer p { margin: 0; }

/* 音のボタン(押した動画だけ音を出す。状態はラベルで伝える) */
.snd { min-height: 44px; border-color: var(--cyan); }
.snd .snd-on { display: none; }
.snd.is-on { background: var(--cyan); border-color: var(--cyan); color: #01131c; }
.snd.is-on .snd-on { display: inline; }
.snd.is-on .snd-off { display: none; }
.work .snd { justify-self: start; padding: 8px 16px; font-size: 0.84rem; }
.work:nth-child(even) .snd { justify-self: end; }
@media (max-width: 860px) { .work:nth-child(even) .snd { justify-self: start; } }

/* 動画の上の札(作品・BEYOND の対) */
.tap { position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; font-size: 0.84rem; font-weight: 700; line-height: 1.3; pointer-events: none; white-space: nowrap;
  background: var(--pink); color: #14020b; box-shadow: 0 0 0 3px rgba(255, 61, 139, 0.35), 0 6px 18px rgba(0, 0, 0, 0.5); }
.tap .tap-on { display: none; }
.is-on > .tap { background: rgba(0, 0, 0, 0.62); color: var(--ink); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35); }
.is-on > .tap .tap-on { display: inline; }
.is-on > .tap .tap-off { display: none; }
.work .tap { right: 6px; top: 6px; padding: 4px 10px; font-size: var(--small); }
.work .frame:hover .tap { transform: scale(1.05); }
@media (max-width: 560px) { .venue-frame .tap, .pair-frame .tap { right: 6px; top: 6px; padding: 4px 10px; font-size: var(--small); } }

/* BEYOND の LED のガイド(37 列 x 8 段、3 つの面と角の面、演者の位置)。線の太さは画面の大きさによらず一定 */
.lg { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.show-guide .lg { opacity: 1; }
.show-guide .chip { opacity: 0; }
.lg-svg { width: 100%; height: 100%; display: block; }
.lg-grid line { stroke: rgba(255, 255, 255, 0.3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.lg-seam line { stroke: var(--cyan); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.lg-recess { fill: rgba(0, 0, 0, 0.22); }
.lg-corner { fill: rgba(255, 90, 90, 0.2); }
.lg-act { stroke: var(--pink); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.lg-person { fill: var(--pink); }
.lg-lab { position: absolute; bottom: 6px; transform: translateX(-50%); font-family: var(--mono); font-size: var(--small); line-height: 1.4; background: rgba(0, 0, 0, 0.7); color: #fff; padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
.lg-lab-act { bottom: auto; top: 6px; color: var(--pink); }
.gtoggle { border-color: var(--line); color: var(--muted); padding: 8px 16px; font-size: 0.84rem; }
.gtoggle[aria-pressed="true"] { border-color: var(--cyan); color: var(--cyan); }
.guide-note { margin: 0; color: var(--muted); font-size: 0.8rem; max-width: 52em; }
.work .gtoggle { justify-self: start; }
.work:nth-child(even) .gtoggle { justify-self: end; }
@media (max-width: 860px) { .work:nth-child(even) .gtoggle { justify-self: start; } }

/* 表示時のふわっと(JS が動くときだけ) */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scan { display: none; animation: none; }
  .hero-title em::after { animation: none; transform: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .btn, .lg, summary::after { transition: none; }
  .btn:hover, .work .frame:hover .tap { transform: none; }
  .tk { animation: none; opacity: 0.9; }
  .ph { display: none; }
}
@media (max-width: 420px) { .bar .wrap { gap: 8px; } .logo { font-size: 0.95rem; letter-spacing: 0.04em; gap: 6px; } .bar .btn { font-size: 0.78rem; padding: 6px 10px; } }
@media (max-width: 420px) { .logo i { display: none; } }
/* 見出しは1行ずつ折らない(幅に合わせて文字を小さく)。とても狭い画面だけ、文の切れ目で折れてよい */
.hero-title { font-size: clamp(1.35rem, 0.6rem + 3.1vw, 3.3rem); }
html.lang-en .hero-title { font-size: clamp(1.2rem, 0.45rem + 2.1vw, 2.5rem); }
html.lang-en .hero-title .l2 { padding-left: 0; }
@media (min-width: 360px) { .hero-title .l1, .hero-title .l2, .hero-title .l3 { white-space: nowrap; } }
/* なぜ、これを作ったのか(本人の一人称・署名つき) */
.story { margin-top: clamp(40px, 6vw, 72px); max-width: 760px; padding-left: 20px; border-left: 3px solid var(--pink); display: grid; gap: 12px; }
.story h3 { margin: 0 0 4px; font-family: var(--display); font-weight: 400; font-size: clamp(1.2rem, 1rem + 0.9vw, 1.6rem); line-height: 1.4; }
.story p { margin: 0; color: #c9cee3; font-size: 0.95rem; line-height: 1.9; }
.story .story-sign { color: var(--muted); font-size: 0.86rem; text-align: right; }
.story + .profile { margin-top: 28px; }
