/* アプリの物語ページ（app-*.html）。voice.html と同じ紙面：アイボリー・細いセリフ・括弧のラベル。アプリごとに --a（色）だけ変える。 */
.as { --a: var(--salmon); --print: #fbf9f4; --night: 20,17,15; }
/* アプリのアイコン（はじまりと、次のアプリ） */
.as-ic { display: block; width: clamp(76px, 18vw, 112px); height: auto; aspect-ratio: 1; margin-bottom: 26px; filter: drop-shadow(0 18px 22px rgba(37,37,34,.22)); }
.jx .as-ic { filter: drop-shadow(0 0 1px rgba(198,170,120,.7)) drop-shadow(0 18px 30px rgba(198,170,120,.2)); }
.nx-ic { width: 44px; height: 44px; filter: drop-shadow(0 6px 8px rgba(37,37,34,.16)); }
.as-next a + a .nx-ic { justify-self: end; }
.js .as-hero .as-ic { animation: asIcIn 1.1s var(--ease) both; }
@keyframes asIcIn { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .as-hero .as-ic { animation: none; } }
.as-hd { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: max(14px, env(safe-area-inset-top, 0px)) var(--gr) 14px var(--gl); pointer-events: none; mix-blend-mode: difference; color: #fff; }
.as-hd a { pointer-events: auto; min-height: 44px; display: inline-flex; align-items: center; }
.as-hd .hd-logo span { opacity: .55; }
.as-back { font-family: var(--mono); font-size: 13px; }

/* はじまり */
.as-hero { min-height: 100svh; padding: calc(var(--sec) * .9) var(--gr) var(--sec) var(--gl); display: grid; align-content: center; gap: clamp(40px, 7vw, 80px); max-width: 1400px; margin: 0 auto; }
.as-hero .label { margin-bottom: 18px; }
.as-word { font-family: var(--display); font-weight: 300; font-size: clamp(64px, 17vw, 210px); line-height: .86; letter-spacing: -.045em; margin-left: -.04em; overflow-wrap: anywhere; }
.as-word em { font-style: italic; color: var(--a); }
.as-word sup { font-size: .45em; color: var(--a); vertical-align: 1.05em; }
.as-sub { margin-top: clamp(20px, 3vw, 34px); font-family: var(--mincho); font-weight: 500; font-size: clamp(18px, 2.4vw, 28px); letter-spacing: .1em; line-height: 1.8; }
.as-meta-top { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.as-meta-top i { font-style: normal; display: inline-flex; align-items: center; gap: 8px; }
.as-meta-top i::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--a); }
@media (min-width: 900px) { .as-hero { grid-template-columns: 1fr 1fr; align-items: center; } }

/* 章 */
.as-ch { padding: var(--sec) var(--gr) 0 var(--gl); max-width: 1280px; margin: 0 auto; }
.as-ch .label { margin-bottom: 22px; }
.as-q { font-family: var(--mincho); font-weight: 500; font-size: clamp(22px, 6.6vw, 52px); line-height: 1.6; letter-spacing: .06em; }
.as-body { margin-top: clamp(28px, 4vw, 44px); max-width: 34em; font-size: 15.5px; line-height: 2.2; color: var(--ink-2); }
.as-body p + p { margin-top: 1.2em; }
.as-body b { color: var(--ink); font-weight: 500; }
@media (min-width: 900px) {
  .as-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0 6vw; align-items: start; }
  .as-split .as-q { font-size: clamp(30px, 3.1vw, 46px); }
  .as-split .as-body { margin-top: 0; padding-top: 1.2em; }
}
.as-stage { margin-top: clamp(44px, 7vw, 84px); }
.as-try { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--a); margin-bottom: 14px; }
.as-try::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--a); box-shadow: 0 0 0 0 var(--a); animation: asPing 2s infinite; }
@keyframes asPing { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--a) 60%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
.as-paper { background: var(--paper); margin-top: var(--sec); padding-bottom: var(--sec); }
.as-paper .as-ch { padding-top: var(--sec); }
.as-note { margin-top: 14px; font-family: var(--mono); font-size: 11px; color: var(--mute); }

/* 打ち消し線の一覧（voice の名札と同じ演出） */
.as-tags { margin-top: clamp(44px, 7vw, 80px); display: grid; gap: 12px; max-width: 560px; }
.as-tag { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); background: var(--ivory); }
.as-tag span { font-family: var(--mono); font-size: 11px; color: var(--mute); width: 7em; flex: none; }
.as-tag s { font-family: var(--mincho); font-size: 15px; color: var(--mute); text-decoration-color: var(--a); text-decoration-thickness: 1px; }
.as-tag i { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--a); text-align: right; }
.js .as-tag s { text-decoration-line: none; transition: color .6s; }
.js .as-tags.in .as-tag s { text-decoration-line: line-through; }
.js .as-tags .as-tag i { opacity: 0; transition: opacity .6s var(--ease); }
.js .as-tags.in .as-tag:nth-child(1) i { opacity: 1; transition-delay: .3s; }
.js .as-tags.in .as-tag:nth-child(2) i { opacity: 1; transition-delay: .6s; }
.js .as-tags.in .as-tag:nth-child(3) i { opacity: 1; transition-delay: .9s; }

/* しくみ（夜の色） */
.as-how { margin-top: var(--sec); background: rgb(var(--night)); color: #f4efe6; padding: var(--sec) 0; }
.as-how .as-ch { padding-top: 0; }
.as-how .label { color: rgba(244,239,230,.55); }
.as-how .as-q { color: #f4efe6; }
.as-facts { margin-top: clamp(40px, 6vw, 72px); display: grid; border-top: 1px solid rgba(244,239,230,.18); }
.as-facts li { display: grid; grid-template-columns: 3em 1fr; gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid rgba(244,239,230,.18); }
.as-facts li > i { font-style: normal; font-family: var(--mono); font-size: 12px; color: rgba(198,170,120,.95); padding-top: .3em; }
.as-facts li b { font-family: var(--mincho); font-weight: 500; font-size: 18px; letter-spacing: .06em; line-height: 1.7; }
.as-facts li p { grid-column: 2; font-size: 14px; line-height: 2; color: rgba(244,239,230,.68); }
@media (min-width: 900px) { .as-facts { grid-template-columns: 1fr 1fr; column-gap: 6vw; } }

/* 入口とつぎのアプリ */
.as-end { padding: var(--sec) var(--gr) calc(var(--sec) * .6) var(--gl); text-align: center; }
.as-end .as-q { font-size: clamp(22px, 3.4vw, 38px); }
.as-go { margin-top: 40px; display: inline-flex; align-items: center; gap: 18px; min-height: 64px; padding: 0 34px; border: 1px solid var(--ink); border-radius: 999px; font-family: var(--mincho); font-weight: 500; font-size: 17px; letter-spacing: .08em; transition: background .4s, color .4s; }
.as-go span { font-family: var(--mono); font-size: 13px; }
@media (hover: hover) { .as-go:hover { background: var(--ink); color: var(--ivory); } }
.as-meta { margin-top: 26px; font-family: var(--mono); font-size: 11px; color: var(--mute); line-height: 2; }
.as-next { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); margin: 0 var(--gr) 0 var(--gl); }
.as-next a { display: grid; gap: 6px; padding: 22px 0 26px; min-height: 96px; color: var(--ink); }
.as-next a + a { text-align: right; border-left: 1px solid var(--line); padding-left: 16px; }
.as-next small { font-family: var(--mono); font-size: 11px; color: var(--mute); }
.as-next b { font-family: var(--display); font-weight: 300; font-size: clamp(22px, 4vw, 40px); letter-spacing: -.02em; line-height: 1.1; }
@media (hover: hover) { .as-next a:hover b { color: var(--a); } }

/* スマホの枠 */
.as-phone { position: relative; width: min(74vw, 310px); margin: 0 auto; aspect-ratio: 9 / 18.5; border-radius: 38px; padding: 9px; background: #1c1b19; box-shadow: 0 2px 2px rgba(37,37,34,.08), 0 40px 70px -34px rgba(37,37,34,.55); }
.as-screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: var(--paper); }
.as-screen img { width: 100%; height: auto; display: block; will-change: transform; }
.as-phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; display: block; background: #000; }

/* 動き */
.js .rise { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rise { opacity: 1; transform: none; transition: none; }
  .js .as-tag s { text-decoration-line: line-through; }
  .js .as-tags .as-tag i { opacity: 1; }
  .as-try::before { animation: none; }
}

/* ===== 空き状況カレンダー ===== */
.cal-ask { display: grid; gap: 12px; max-width: 360px; }
.cal-bub { position: relative; padding: 14px 18px; border-radius: 18px; font-size: 15px; line-height: 1.7; background: #fff; box-shadow: 0 10px 26px -18px rgba(37,37,34,.4); }
.cal-bub small { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--mute); margin-bottom: 2px; }
.cal-bub.me { justify-self: end; background: #8de08a; color: #10230f; border-bottom-right-radius: 4px; }
.cal-bub.shop { border-bottom-left-radius: 4px; }
.cal-bub.shop s { text-decoration-color: var(--a); text-decoration-thickness: 2px; }
.cal-bub.again { justify-self: end; background: #8de08a; color: #10230f; opacity: .55; }
.js .cal-ask .cal-bub { opacity: 0; translate: 0 14px; transition: opacity .7s var(--ease), translate .8s var(--ease); }
.js .cal-ask.in .cal-bub { opacity: 1; translate: 0 0; }
.js .cal-ask.in .cal-bub:nth-child(2) { transition-delay: .7s; }
.js .cal-ask.in .cal-bub:nth-child(3) { transition-delay: 1.5s; }
.js .cal-ask.in .cal-bub.again { opacity: .55; }
.js .cal-ask .cal-bub.shop s { text-decoration-line: none; }
.js .cal-ask.in .cal-bub.shop s { text-decoration-line: line-through; transition: all .1s 2.4s; }
.cal-ask-end { font-family: var(--mono); font-size: 12px; color: var(--a); }

.demo { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 3vw, 30px); box-shadow: 0 30px 60px -44px rgba(37,37,34,.45); }
.demo-h { font-family: var(--mincho); font-weight: 500; font-size: 15px; letter-spacing: .08em; display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.demo-h small { font-family: var(--display); font-style: italic; font-size: 14px; color: var(--a); letter-spacing: .04em; }
.demo-menus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.demo-menus button { min-height: 58px; border-radius: 12px; border: 1px solid var(--line); background: var(--print); font-family: var(--mincho); font-size: 14px; letter-spacing: .04em; color: var(--ink); line-height: 1.35; padding: 6px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.demo-menus button small { display: block; font-family: var(--sans); font-size: 11px; color: var(--mute); margin-top: 2px; }
.demo-menus button[aria-pressed="true"] { background: #2f4253; border-color: #2f4253; color: #fff; }
.demo-menus button[aria-pressed="true"] small { color: rgba(255,255,255,.75); }
.demo-week { margin-top: 18px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.demo-week button { aspect-ratio: .78; border-radius: 10px; border: 1px solid transparent; background: #e9eeec; display: grid; place-content: center; gap: 2px; font-family: var(--sans); font-size: 12px; color: var(--ink-2); cursor: pointer; padding: 0; transition: background .35s, transform .35s var(--ease); }
.demo-week button b { font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--ink); line-height: 1; }
.demo-week button i { font-style: normal; font-size: 15px; line-height: 1; }
.demo-week button.o { background: #fff; border-color: var(--line); }
.demo-week button.o i { color: #2f4253; }
.demo-week button.t { background: #fff; border-color: var(--line); }
.demo-week button.t i { color: #b08a3a; }
.demo-week button.x { background: #dfe4e2; }
.demo-week button.x i, .demo-week button.x b { color: #9aa29f; }
.demo-week button.off { background: transparent; border-color: var(--line); }
.demo-week button.off b, .demo-week button.off i { color: #b3b0a6; }
.demo-week button.sel { outline: 2px solid var(--a); outline-offset: 2px; }
.demo-week button.pop { animation: demoPop .5s var(--ease); }
@keyframes demoPop { 0% { transform: scale(.86); } 100% { transform: none; } }
.demo-week button span { font-size: 10px; color: var(--mute); }
.demo-legend { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11.5px; color: var(--mute); }
.demo-times { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 7px; min-height: 44px; }
.demo-times button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--print); font-family: var(--mono); font-size: 13px; color: var(--ink); cursor: pointer; }
.demo-times button.on { background: #2f4253; color: #fff; border-color: #2f4253; }
.demo-times p { font-size: 13px; color: var(--mute); align-self: center; }
.demo-ask { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: #f5efe3; font-size: 14px; line-height: 1.7; display: none; }
.demo-ask.show { display: block; animation: demoPop .5s var(--ease); }
.demo-ask b { font-weight: 700; }
.demo-line { margin-top: 18px; border-radius: 18px; background: #8ca3c4; padding: 16px; }
.demo-line p.lh { font-family: var(--mono); font-size: 10.5px; color: rgba(255,255,255,.85); margin-bottom: 8px; }
.demo-line pre { margin: 0; justify-self: end; max-width: 100%; white-space: pre-wrap; word-break: break-word; background: #8de08a; color: #10230f; border-radius: 16px 16px 4px 16px; padding: 12px 14px; font-family: var(--sans); font-size: 13px; line-height: 1.75; }
.demo-line .demo-send { display: block; margin: 12px 0 0 auto; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: #06c755; color: #fff; font-family: var(--sans); font-weight: 700; font-size: 13px; }
.demo-reset { margin-top: 12px; min-height: 40px; background: none; border: 0; font-family: var(--mono); font-size: 12px; color: var(--mute); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 900px) { .demo-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4vw; align-items: start; } .demo-line { margin-top: 0; } }

/* ===== COMPANY CONTROL ===== */
.cc-rainbow { height: 2px; width: 100%; background: linear-gradient(90deg, #e57373, #f6c35b, #7fc4a0, #6fa8dc, #9b7fd1); border-radius: 2px; }
.cc-sim { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 3vw, 30px); box-shadow: 0 30px 60px -44px rgba(37,37,34,.45); position: relative; overflow: hidden; }
.cc-sim::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #e57373, #f6c35b, #7fc4a0, #6fa8dc, #9b7fd1); }
.cc-clock { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.cc-clock b { font-family: var(--display); font-weight: 300; font-size: clamp(30px, 6vw, 44px); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cc-clock span { font-family: var(--mono); font-size: 11px; color: var(--mute); text-align: right; }
.cc-steps { display: grid; gap: 10px; }
.cc-step { display: grid; grid-template-columns: 4.6em 1fr; gap: 12px; padding: 14px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--ivory); opacity: .38; transition: opacity .5s, background .5s, border-color .5s; }
.cc-step time { font-family: var(--mono); font-size: 12px; color: var(--mute); padding-top: .15em; }
.cc-step b { display: block; font-family: var(--sans); font-weight: 700; font-size: 14.5px; color: #1f2340; }
.cc-step p { margin-top: 3px; font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.cc-step.on { opacity: 1; background: #fff; border-color: #c9cde6; box-shadow: 0 10px 22px -18px rgba(63,81,181,.6); }
.cc-step.done { opacity: 1; background: #eef7f0; border-color: #a9d6b5; }
.cc-step.skip { opacity: .22; text-decoration: line-through; text-decoration-color: rgba(0,0,0,.2); }
.cc-btns { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc-btns button { min-height: 52px; border-radius: 12px; border: 1px solid #c9cde6; background: #fff; font-family: var(--sans); font-weight: 700; font-size: 14px; color: #3f51b5; cursor: pointer; }
.cc-btns button.pri { background: #3f51b5; border-color: #3f51b5; color: #fff; }
.cc-btns button:disabled { opacity: .4; cursor: default; }
.cc-result { margin-top: 12px; min-height: 1.8em; font-size: 13.5px; color: #2e7d4f; font-weight: 500; }
.cc-roles { margin-top: clamp(44px, 7vw, 80px); display: grid; gap: 14px; max-width: 620px; }
.cc-role { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.cc-role s, .cc-role b { padding: 14px 16px; border-radius: 12px; font-family: var(--mincho); font-weight: 500; font-size: 15px; text-align: center; }
.cc-role s { border: 1px solid var(--line); color: var(--mute); text-decoration-color: var(--a); }
.cc-role i { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--a); }
.cc-role b { background: #fff; border: 1px solid #c9cde6; color: #1f2340; }
.js .cc-roles .cc-role s { text-decoration-line: none; }
.js .cc-roles.in .cc-role s { text-decoration-line: line-through; }
.js .cc-roles .cc-role b, .js .cc-roles .cc-role i { opacity: 0; translate: -10px 0; transition: opacity .7s var(--ease), translate .8s var(--ease); }
.js .cc-roles.in .cc-role b, .js .cc-roles.in .cc-role i { opacity: 1; translate: 0 0; }
.js .cc-roles.in .cc-role:nth-child(2) b, .js .cc-roles.in .cc-role:nth-child(2) i { transition-delay: .35s; }
.js .cc-roles.in .cc-role:nth-child(3) b, .js .cc-roles.in .cc-role:nth-child(3) i { transition-delay: .7s; }
.cc-shop { margin-top: clamp(44px, 7vw, 80px); display: grid; gap: 10px; max-width: 520px; }
.cc-item { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.cc-item b { font-family: var(--sans); font-weight: 700; font-size: 15px; color: #1f2340; }
.cc-item b em { font-style: normal; display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 6px; background: #c62828; color: #fff; font-size: 11px; vertical-align: 2px; }
.cc-item small { font-size: 12px; color: var(--mute); }
.cc-item .bar { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: #ece9e2; overflow: hidden; }
.cc-item .bar i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--c, #2e8b57); transition: width 2.2s var(--ease); }
.js .cc-shop .bar i { width: 100%; }
.js .cc-shop.in .bar i { width: var(--w); }
.cc-item.urgent { background: #fff0f0; border-color: #f2b8b8; }
.cc-item button { min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid #3f51b5; background: #fff; color: #3f51b5; font-family: var(--sans); font-weight: 700; font-size: 13px; cursor: pointer; }
.cc-item button.on { background: #3f51b5; color: #fff; }
@media (min-width: 900px) { .cc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: start; } }

/* ===== MIND² ===== */
.md-logo { position: relative; width: min(70vw, 340px); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.md-logo .core { width: 30%; aspect-ratio: 1; border-radius: 50%; background: #1a1a1a; display: grid; place-items: center; color: #fff; font-family: var(--display); font-size: clamp(16px, 3.6vw, 24px); z-index: 2; }
.md-logo .core sup { color: #d9472b; }
.md-logo .ring { position: absolute; inset: 35%; border-radius: 50%; border: 1px solid #2b4a8b; animation: mdRing 4.8s var(--ease) infinite; opacity: 0; }
.md-logo .ring:nth-child(2) { animation-delay: 1.6s; border-color: #d9472b; }
.md-logo .ring:nth-child(3) { animation-delay: 3.2s; }
@keyframes mdRing { 0% { inset: 35%; opacity: .9; } 100% { inset: 0; opacity: 0; } }
.md-logo .dot { position: absolute; width: 10%; aspect-ratio: 1; border-radius: 50%; }
.md-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: #f1eee8; padding: 18px; border-radius: 26px; box-shadow: 0 36px 60px -36px rgba(37,37,34,.5); max-width: 420px; margin: 0 auto; }
.md-tiles button { display: flex; align-items: flex-end; min-height: 82px; padding: 12px; border: 0; border-radius: 14px; background: var(--t); color: var(--f, #fff); font-family: var(--sans); font-weight: 700; font-size: 14px; text-align: left; cursor: pointer; box-shadow: 0 10px 18px -12px rgba(0,0,0,.45); transition: transform .3s var(--ease); }
.md-tiles button:active { transform: scale(.96); }
.md-stack { margin-top: 18px; display: grid; gap: 8px; max-width: 420px; margin-inline: auto; min-height: 120px; }
.md-card { padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 14px; line-height: 1.7; animation: mdIn .6s var(--ease); }
.md-card small { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--mute); margin-bottom: 2px; }
.md-card small i { font-style: normal; color: var(--c, #d9472b); }
@keyframes mdIn { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
.md-voice { display: grid; gap: 12px; }
.md-voice .in { padding: 16px 18px; border-radius: 16px; background: var(--paper); color: var(--ink-2); font-size: 14.5px; line-height: 1.9; }
.md-voice small { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--mute); margin-bottom: 4px; }
.md-wave { display: flex; gap: 3px; align-items: center; height: 26px; margin-bottom: 8px; }
.md-wave i { width: 3px; border-radius: 3px; background: #d9472b; height: 30%; animation: mdWave 1.1s ease-in-out infinite; }
@keyframes mdWave { 50% { height: 100%; } }
.md-go { justify-self: start; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid #1a1a1a; background: #1a1a1a; color: #fff; font-family: var(--sans); font-weight: 700; font-size: 14px; cursor: pointer; }
.md-go:disabled { opacity: .5; }
.md-voice .out { padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; line-height: 1.9; min-height: 7em; white-space: pre-wrap; }
.md-voice .out:empty::before { content: attr(data-empty); color: var(--mute); }
.md-voice .acts { display: flex; gap: 8px; }
.md-voice .acts span { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }
.md-who { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.md-who button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-family: var(--sans); font-size: 13px; cursor: pointer; }
.md-who button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.md-todo { display: grid; gap: 8px; max-width: 460px; }
.md-todo li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--c); font-size: 14.5px; transition: opacity .35s, transform .35s var(--ease); }
.md-todo li.hide { display: none; }
.md-todo li::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--c); flex: none; }
.md-due { max-width: 520px; }
.md-due input { width: 100%; accent-color: var(--a); min-height: 44px; }
.md-due-card { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--dc, var(--line)); transition: border-color .4s, background .4s; }
.md-due-card b { font-family: var(--sans); font-weight: 700; font-size: 15px; }
.md-due-card span { font-family: var(--mono); font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--dc, #eee); color: var(--dt, var(--ink)); white-space: nowrap; }
.md-due-scale { margin-top: 10px; display: grid; grid-template-columns: repeat(4, 1fr); font-family: var(--mono); font-size: 10.5px; color: var(--mute); }

/* ===== J × AI ===== */
.jx { --a: #c6aa78; background: #0d0c0b; color: #efe9df; }
.jx .label { color: rgba(239,233,223,.5); }
.jx .as-body { color: rgba(239,233,223,.72); }
.jx .as-body b { color: #fff; }
.jx .as-note { color: rgba(239,233,223,.42); }
.jx .as-paper { background: #15130f; }
.jx .as-end .as-go { border-color: rgba(239,233,223,.6); color: #efe9df; }
@media (hover: hover) { .jx .as-end .as-go:hover { background: #c6aa78; color: #0d0c0b; border-color: #c6aa78; } }
.jx .as-next { border-top-color: rgba(239,233,223,.5); }
.jx .as-next a { color: #efe9df; }
.jx .as-next a + a { border-left-color: rgba(239,233,223,.16); }
.jx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: .55; pointer-events: none; }
.jx-hero { position: relative; overflow: hidden; }
.jx-hero > * { position: relative; }
.jx-word { font-family: "Fraunces", serif; font-weight: 300; font-size: clamp(64px, 17vw, 200px); line-height: .9; letter-spacing: -.03em; }
.jx-word span { color: #c6aa78; font-style: italic; }
.jx-nums { margin-top: clamp(44px, 7vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; border-top: 1px solid rgba(239,233,223,.3); padding-top: 26px; }
.jx-nums div { display: grid; gap: 6px; }
.jx-nums b { font-family: var(--display); font-weight: 300; font-size: clamp(36px, 8vw, 72px); line-height: 1; color: #f6eedd; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.jx-nums b small { font-size: .38em; color: #c6aa78; margin-left: 4px; letter-spacing: 0; }
.jx-nums span { font-family: var(--mono); font-size: 11px; color: rgba(239,233,223,.5); }
@media (min-width: 900px) { .jx-nums { grid-template-columns: repeat(4, 1fr); } }
.jx-line { margin-top: clamp(44px, 7vw, 80px); position: relative; padding: 30px 0 10px; }
.jx-line .rail { position: relative; height: 2px; background: rgba(239,233,223,.2); }
.jx-line .rail i { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: rgba(239,233,223,.75); transition: width 2.6s var(--ease); }
.jx-line .rail em { position: absolute; left: 72%; top: 0; height: 100%; width: 0; background: linear-gradient(90deg, #c6aa78, #f3dfb1); box-shadow: 0 0 12px rgba(198,170,120,.8); transition: width 1.6s var(--ease) 2.6s; }
.jx-line.in .rail i { width: 72%; }
.jx-line.in .rail em { width: 28%; }
.jx-pins { position: relative; height: 0; }
.jx-pin { position: absolute; top: -34px; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; opacity: 0; transition: opacity .6s; }
.jx-pin i { width: 9px; height: 9px; border-radius: 50%; background: #efe9df; }
.jx-pin.no i { background: transparent; border: 1.5px solid #efe9df; }
.jx-pin.re i { background: #c6aa78; }
.jx-pin span { font-family: var(--mono); font-size: 10px; color: rgba(239,233,223,.6); white-space: nowrap; }
.jx-line.in .jx-pin { opacity: 1; }
.jx-line-cap { margin-top: 42px; display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 11px; color: rgba(239,233,223,.55); }
.jx-line-cap b { font-weight: 400; color: #c6aa78; }
.jx-legend { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--mono); font-size: 10.5px; color: rgba(239,233,223,.5); }
.jx-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #efe9df; margin-right: 6px; vertical-align: 0; }
.jx-legend i.no { background: transparent; border: 1.5px solid #efe9df; }
.jx-legend i.re { background: #c6aa78; }
.jx-type { margin-top: clamp(40px, 6vw, 64px); display: grid; gap: 18px; max-width: 760px; }
.jx-type figure { margin: 0; padding: 22px 24px; border: 1px solid rgba(198,170,120,.35); border-radius: 18px; background: rgba(198,170,120,.05); }
.jx-type figcaption { font-family: var(--mono); font-size: 11px; color: #c6aa78; margin-bottom: 10px; letter-spacing: .06em; }
.jx-type p { font-family: var(--mincho); font-size: clamp(15px, 1.7vw, 18px); line-height: 2.05; letter-spacing: .04em; color: #f3ecdf; min-height: 2em; }
.jx-type p.cursor::after { content: "|"; color: #c6aa78; animation: jxBlink 1s steps(1) infinite; margin-left: 2px; }
@keyframes jxBlink { 50% { opacity: 0; } }
.jx-ask { color: rgba(239,233,223,.6); font-size: 14px; line-height: 1.9; }
.jx .as-phone { background: #000; box-shadow: 0 0 0 1px rgba(198,170,120,.35), 0 40px 80px -30px rgba(198,170,120,.25); }
@media (min-width: 900px) { .jx-vid { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; } }
@media (prefers-reduced-motion: reduce) {
  .md-logo .ring, .md-wave i { animation: none; }
  .jx-line .rail i, .jx-line .rail em { transition: none; }
}
.cc-step { grid-template-columns: 6.4em 1fr; }
.cc-step time { white-space: nowrap; font-size: 11.5px; }
.as-paper .md-voice .in { background: #f7f2e8; border: 1px solid var(--line); }
