/* PonDashi Player Audio — site styles */
:root{
  --paper:#E8EAED;      /* 明るい面：卓のパネルのグレー */
  --sheet:#F6F7F8;      /* 表・本文の面 */
  --ink:#16181B;        /* 文字 */
  --ink-2:#4E545C;      /* 補足の文字 */
  --rule:#C5CAD1;       /* 罫線 */
  --console:#1C1E22;    /* 暗い面：アプリの画面 */
  --console-2:#2A2D33;
  --play:#E8392E;       /* 鳴った所（赤） */
  --ready:#27B451;      /* これから鳴る所（緑） */
  --cue:#F29A0B;        /* 選択・CONFIG（琥珀） */
  --focus:#0A6CF0;
  --jp:"Zen Kaku Gothic New","Hiragino Sans","Hiragino Kaku Gothic ProN",system-ui,sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,Menlo,monospace;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--jp);font-size:16px;line-height:1.85;font-feature-settings:"palt" 0}
html[lang="en"] body{line-height:1.6}
a{color:inherit;text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:2px}
.wrap{max-width:1080px;margin:0 auto;padding:0 24px}
.measure{max-width:40em}
html[lang="en"] .measure{max-width:36em}

/* header */
.top{background:var(--console);color:#E9EBEE}
.top .wrap{display:flex;align-items:center;gap:16px;min-height:64px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:700;letter-spacing:.01em}
.brand img{width:32px;height:32px}
.top nav{margin-left:auto;display:flex;gap:4px;flex-wrap:wrap}
.top nav a{text-decoration:none;padding:6px 10px;border-radius:4px;font-size:14px;color:#C9CDD3}
.top nav a:hover{color:#fff;background:var(--console-2)}
.top nav a[aria-current="page"]{color:#fff;box-shadow:inset 0 -2px 0 var(--cue)}
.top nav .lang{border:1px solid #4A4E55}

/* hero */
.hero{background:var(--console);color:#F2F3F5;padding:56px 0 0;overflow:hidden}
.hero h1{font-size:clamp(44px,8vw,88px);line-height:1.08;font-weight:900;letter-spacing:-.01em;margin:0 0 20px}
html[lang="en"] .hero h1{letter-spacing:-.025em}
.hero .lead{font-size:clamp(16px,2vw,19px);color:#C3C7CD;margin:0 0 28px;max-width:34em}
.hero .actions{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;margin-bottom:40px}
.badge{display:inline-flex;align-items:center;gap:10px;background:#F2F3F5;color:var(--console);border-radius:8px;padding:10px 16px;font-weight:700;font-size:15px;text-decoration:none}
.badge small{display:block;font-weight:400;font-size:12px;color:#5A6068;line-height:1.3}
.req{font-size:14px;color:#A9AEB5}

/* waveform deck */
.deck{position:relative;background:#111316;border-top:1px solid #33363B;padding:22px 0 18px}
.deck .wrap{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:center}
.go{appearance:none;border:0;cursor:pointer;width:84px;height:84px;border-radius:10px;background:var(--ready);color:#06210F;font:900 22px/1 var(--jp);letter-spacing:.04em}
.go[aria-pressed="true"]{background:var(--play);color:#fff}
.wave{position:relative;height:84px}
.wave svg{display:block;width:100%;height:100%}
.wave .bar{fill:var(--ready)}
.wave .bar.done{fill:var(--play)}
.wave .head{position:absolute;top:-6px;bottom:-6px;width:2px;background:#fff;left:0;pointer-events:none}
.deck-meta{grid-column:2;display:flex;justify-content:space-between;font-family:var(--mono);font-size:13px;color:#8C9198;margin-top:-6px}
.deck-meta kbd{font-family:var(--jp)}
kbd{font-family:var(--jp);font-size:.85em;border:1px solid currentColor;border-bottom-width:2px;border-radius:4px;padding:0 .4em;white-space:nowrap}

/* sections */
section{padding:72px 0}
section + section{border-top:1px solid var(--rule)}
h2{font-size:clamp(26px,3.4vw,36px);line-height:1.3;font-weight:900;margin:0 0 12px}
h3{font-size:19px;line-height:1.45;margin:0 0 6px;font-weight:700}
.sub{color:var(--ink-2);margin:0 0 40px}

/* features: 現場の流れごと */
.flow{display:grid;grid-template-columns:220px 1fr;gap:0 48px}
.flow > dt{font-weight:900;font-size:20px;padding:28px 0 0;border-top:3px solid var(--ink);line-height:1.4}
.flow > dt span{display:block;font-weight:400;font-size:14px;color:var(--ink-2);margin-top:4px}
.flow > dd{margin:0;padding:28px 0 40px;border-top:1px solid var(--rule)}
.flow ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px 36px}
.flow li p{margin:0;color:var(--ink-2);font-size:15px}

/* pad grid */
.pads{display:grid;grid-template-columns:repeat(4,52px);gap:6px;margin:4px 0 14px}
.pads span{height:44px;border-radius:6px;background:var(--console);color:#D8DBDF;display:grid;place-items:center;font:500 15px var(--mono)}
.pads span.on{background:var(--play);color:#fff}

/* spec table */
.spec{width:100%;border-collapse:collapse;background:var(--sheet);font-size:15px}
.spec th,.spec td{text-align:left;vertical-align:top;padding:14px 18px;border-bottom:1px solid var(--rule)}
.spec th{width:13em;font-weight:700}
.spec tr:last-child th,.spec tr:last-child td{border-bottom:0}

/* document pages (support / privacy) */
.doc{background:var(--sheet)}
.doc-head{padding:56px 0 24px}
.doc-head h1{font-size:clamp(32px,5vw,48px);line-height:1.2;margin:0 0 8px;font-weight:900}
.doc-head p{margin:0;color:var(--ink-2)}
.doc article{padding:8px 0 72px}
.doc article h2{font-size:22px;margin:44px 0 10px;padding-top:18px;border-top:3px solid var(--ink)}
.doc article h3{margin-top:24px}
.doc article ul{padding-left:1.3em}
.doc article li{margin:4px 0}
.contact{display:inline-block;background:var(--console);color:#fff;border-radius:8px;padding:12px 18px;font-weight:700;text-decoration:none;font-size:17px;margin:4px 0}
.faq details{border-top:1px solid var(--rule);padding:14px 0}
.faq details:last-child{border-bottom:1px solid var(--rule)}
.faq summary{cursor:pointer;font-weight:700;list-style:none;display:flex;gap:12px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::before{content:"+";font-family:var(--mono);color:var(--ink-2);width:1em;flex:none}
.faq details[open] summary::before{content:"−"}
.faq details > div{padding:8px 0 4px 2.0em;color:var(--ink-2)}
.faq details > div p{margin:0 0 8px}

/* footer */
.foot{background:var(--console);color:#A9AEB5;font-size:14px;padding:32px 0}
.foot .wrap{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center}
.foot nav{display:flex;gap:18px;flex-wrap:wrap;align-items:center}
.foot a{color:#D8DBDF}
.foot .copy{margin-left:auto}

@media (max-width:760px){
  .wrap{padding:0 16px}
  section{padding:52px 0}
  .flow{grid-template-columns:1fr}
  .flow > dt{padding-top:20px}
  .flow > dd{border-top:0;padding-top:12px}
  .deck .wrap{grid-template-columns:1fr}
  .go{width:100%;height:52px}
  .wave{height:64px}
  .deck-meta{grid-column:1}
  .spec th{width:auto;display:block;padding-bottom:0;border-bottom:0}
  .spec td{display:block;padding-top:4px}
  .foot .copy{margin-left:0}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* maker (ApexCue) link in app headers */
.maker{text-decoration:none;display:inline-flex;align-items:center}
.maker img{display:block;height:26px;width:auto}
.maker:hover{opacity:.8}
.sep{color:#5C6169;margin:0 -6px}

/* hub (ApexCue top) */
.hub-hero{background:var(--console);color:#F2F3F5;padding:72px 0 64px}
.wordmark{margin:0 0 28px;line-height:0}
.wordmark img{display:block;height:clamp(56px,10vw,104px);width:auto;max-width:100%}
a.ig{display:inline-flex;align-items:center;gap:16px}
a.ig img{display:block;flex:none}
.hub-sns{margin:20px 0 0;font-size:15px}
.hub-sns a{color:#F2F3F5;text-decoration:underline;text-underline-offset:3px}
.hub-sns a:hover{color:var(--cue)}
.hub-hero .lead{font-size:clamp(17px,2.2vw,20px);color:#C3C7CD;margin:0;max-width:36em}
.apps{list-style:none;margin:0;padding:0}
.app{display:grid;grid-template-columns:112px 1fr auto;gap:8px 32px;align-items:center;padding:32px 0;border-top:1px solid var(--rule)}
.app:first-child{border-top:3px solid var(--ink)}
.app:last-child{border-bottom:1px solid var(--rule)}
.app img{width:112px;height:112px;border-radius:24px;display:block}
.app h3{font-size:24px;margin:0 0 4px}
.app h3 a{text-decoration:none}
.app h3 a:hover{text-decoration:underline}
.app p{margin:0;color:var(--ink-2);max-width:36em}
.app .meta{font-size:14px;color:var(--ink-2);margin-top:8px}
.status{font-size:14px;font-weight:700;padding:4px 10px;border-radius:999px;border:1px solid var(--rule);white-space:nowrap;justify-self:end}
.status.live{background:var(--ready);border-color:var(--ready);color:#06210F}
.more{display:inline-block;margin-top:12px;font-weight:700}
@media (max-width:760px){
  .hub-hero{padding:52px 0 44px}
  .app{grid-template-columns:72px 1fr;gap:4px 16px;align-items:start}
  .app img{width:72px;height:72px;border-radius:16px}
  .app h3{font-size:20px}
  .status{grid-column:2;justify-self:start;margin-top:8px}
}
.tm{font-size:13px;color:var(--ink-2);margin:20px 0 0}
.app em{font-style:normal;font-weight:700}

/* real screenshots */
.hero{padding-bottom:40px}
.hero-shot{margin:8px auto 0;max-width:880px}
.hero-shot img{display:block;width:100%;height:auto}
.shot{margin:0 0 28px;max-width:560px}
.shot img{display:block;width:100%;height:auto;border-radius:10px;background:var(--console)}
.shot.narrow{max-width:420px}
.shot figcaption{font-size:14px;color:var(--ink-2);margin-top:8px}
@media (max-width:760px){.hero-shot{margin:0 -8px}}
.shot.timer{max-width:320px}

.tk-h2{font-size:22px;margin:48px 0 14px}

/* cautions under requirements */
.notes{margin-top:36px;padding:24px 28px;background:var(--sheet);border-left:4px solid var(--cue);border-radius:4px}
.notes h3{font-size:20px;margin:0 0 8px}
.notes h4{font-size:16px;margin:20px 0 4px}
.notes p,.notes li{font-size:15px;color:var(--ink-2)}
.notes ul{padding-left:1.2em;margin:6px 0}
.notes li{margin:4px 0}
.notes strong{color:var(--ink)}
@media (max-width:760px){.notes{padding:18px 16px}}
.notes.measure{max-width:none}

/* news */
.news{list-style:none;margin:0;padding:0;border-top:3px solid var(--ink)}
.news li{display:grid;grid-template-columns:8.5em 1fr;gap:4px 24px;padding:16px 0;border-bottom:1px solid var(--rule)}
.news time{font-family:var(--mono);font-size:14px;color:var(--ink-2);padding-top:2px}
.news p{margin:0}
@media (max-width:760px){.news li{grid-template-columns:1fr}}
.news li > div p{margin:0}
.news-shots{display:flex;gap:10px;align-items:flex-start;margin-top:12px;flex-wrap:wrap}
.news-shots img{height:180px;width:auto;border-radius:6px;background:var(--console)}
@media (max-width:760px){.news-shots img{height:120px}}
.news-note{font-size:13px;color:var(--ink-2);margin-top:8px!important}

/* download list */
.dl-wrap{overflow-x:auto;margin:8px 0 8px}
.dl{width:100%;border-collapse:collapse;background:#fff;font-size:15px;min-width:640px}
.dl th,.dl td{text-align:left;vertical-align:top;padding:16px 18px;border-bottom:1px solid var(--rule)}
.dl thead th{font-size:13px;color:var(--ink-2);font-weight:700;background:var(--paper)}
.dl tbody th{font-family:var(--mono, "IBM Plex Mono", monospace);font-size:18px;white-space:nowrap}
.dl td:nth-child(2){white-space:nowrap}
.dl ul{margin:0;padding-left:1.2em}
.dl li{margin:2px 0}
.dl-latest{display:inline-block;margin-left:8px;font-family:var(--jp);font-size:12px;font-weight:700;background:var(--cue);color:var(--ink);border-radius:4px;padding:2px 7px;vertical-align:2px}
.dl-btn{display:inline-flex;flex-direction:column;align-items:center;min-width:96px;background:var(--console);color:#fff;border-radius:8px;padding:10px 16px;font-weight:700;text-decoration:none;line-height:1.3}
.dl-btn small{font-weight:400;font-size:12px;color:#C9CDD3}
.dl-btn:hover{background:#000}
@media (max-width:640px){
  .dl{min-width:0}
  .dl thead{display:none}
  .dl tr,.dl th,.dl td{display:block}
  .dl tbody th{padding:16px 16px 0;border-bottom:0}
  .dl td{padding:6px 16px;border-bottom:0}
  .dl tr{border-bottom:1px solid var(--rule)}
  .dl td:last-child{padding-bottom:16px}
}

/* PRO page */
.shot.meter{max-width:200px}
.shot-pair{display:flex;gap:16px;align-items:flex-start;max-width:560px;margin:0 0 28px}
.shot-pair .shot{margin:0;flex:1 1 0}
.shot-pair .shot:first-child{flex:0.62 1 0}
.cmp{min-width:560px}
.cmp tbody th{font-family:var(--jp);font-size:15px;white-space:normal}
.cmp td:nth-child(2){white-space:normal;color:var(--ink-2)}
#price .spec{max-width:720px;margin-bottom:16px}
#price .measure p{margin:6px 0}

/* product hero (top page) */
@font-face{font-family:"ArchivoWide";src:url("fonts/archivo-black-wide.woff2") format("woff2");font-weight:900;font-display:swap}
.phero{position:relative;background:#0B0B0C;color:#fff;overflow:hidden;min-height:600px;display:flex;align-items:center}
.phero::before{content:"";position:absolute;inset:0;background:radial-gradient(900px 640px at 80% 50%,rgba(150,18,14,.38),rgba(70,8,6,.18) 50%,transparent 75%);pointer-events:none}
.phero-shot{position:absolute;right:-6%;top:50%;width:62%;transform:translateY(-50%) perspective(1600px) rotateY(-14deg) rotateX(3deg);transform-origin:right center;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 22%,#000 92%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 12%,#000 80%,transparent 100%);-webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,transparent 0%,#000 22%,#000 92%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 12%,#000 80%,transparent 100%);mask-composite:intersect}
.phero-shot img{display:block;width:100%;height:auto;border-radius:14px;filter:brightness(1.12)}
.phero .wrap{position:relative;z-index:2;width:100%}
.phero-txt{max-width:560px;padding:80px 0}
.phero-name{font-family:"ArchivoWide",var(--jp);font-weight:900;font-size:clamp(30px,4vw,54px);line-height:1;letter-spacing:-.01em;margin:0;color:#E8392E}
.phero-kind{font-size:18px;color:#D5D8DD;margin:10px 0 26px}
.phero-h{font-size:clamp(28px,3.5vw,48px);line-height:1.3;font-weight:900;margin:0 0 20px;border:0;padding:0}
.phero-h span{display:inline-block}
.phero-sub{color:#B9BEC5;margin:0 0 30px;font-size:16px}
.phero-btns{display:flex;gap:14px;flex-wrap:wrap}
.pill{display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 26px;border-radius:999px;font-weight:700;font-size:16px;text-decoration:none;white-space:nowrap}
.pill.red{background:#E8392E;color:#fff}
.pill.red:hover{background:#C9281E}
.pill.line{border:2px solid #fff;color:#fff}
.pill.line:hover{background:rgba(255,255,255,.1)}
@media (max-width:760px){
  .phero{min-height:0;flex-direction:column;align-items:stretch}
  .phero .wrap{order:1}
  .phero-shot{order:2;position:relative;right:auto;top:auto;width:115%;margin:8px 0 -6px 6%;transform:perspective(1200px) rotateY(-12deg)}
  .phero-txt{padding:44px 0 8px}
}
.top nav{align-items:center}
.top nav a.top-ig{display:inline-flex;align-items:center;gap:15px;padding:4px 10px}

/* shop */
.shop-hero{background:#0B0B0C;color:#fff;padding:56px 0 48px}
.shop-hero h1{font-size:clamp(32px,5vw,52px);margin:0 0 8px;line-height:1.2}
.shop-hero p{margin:0;color:#B9BEC5}
.shop{padding:48px 0 72px}
.shop h2{font-size:22px;font-weight:900;margin:40px 0 16px}
.shop h2:first-child{margin-top:0}
.items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;list-style:none;margin:0;padding:0}
.item{background:#fff;border-radius:20px;padding:24px;display:grid;grid-template-columns:72px 1fr;gap:6px 18px;align-content:start}
.item img{width:72px;height:72px;border-radius:16px;grid-row:span 2}
.item h3{margin:0;font-size:20px;line-height:1.35}
.item .what{margin:0;color:var(--ink-2);font-size:14px}
.item .price{grid-column:1/-1;margin:14px 0 0;font-size:26px;font-weight:900;line-height:1.2}
.item .price small{font-size:14px;font-weight:400;color:var(--ink-2);margin-left:6px}
.item .note{grid-column:1/-1;margin:2px 0 0;font-size:14px;color:var(--ink-2)}
.item .btns{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.item .pill{height:42px;padding:0 20px;font-size:15px}
.pill.dark{background:var(--ink);color:#fff}
.pill.dark:hover{background:#000}
.pill.ghost{border:2px solid var(--ink);color:var(--ink)}
.pill.off{background:#E3E5E8;color:#6A7078;pointer-events:none}
.shop .legal{margin-top:40px;font-size:14px;color:var(--ink-2)}
@media (max-width:760px){.items{grid-template-columns:1fr}}
.store-h{font-family:"ArchivoWide",var(--jp);font-weight:900;letter-spacing:-.01em}
html{scroll-behavior:smooth}
.product-h{font-family:"ArchivoWide",var(--jp);font-weight:900;letter-spacing:-.01em}
.top nav .store{color:#fff;font-weight:700;letter-spacing:.04em}

/* top hero with live photo (photo: Unsplash) */
.phero.live{background:#0B0B0C url(img/hero-live.jpg) center 45%/cover no-repeat}
.phero.live::before{background:linear-gradient(90deg,rgba(8,8,9,.92) 0%,rgba(8,8,9,.75) 38%,rgba(8,8,9,.25) 70%,rgba(8,8,9,.1) 100%),linear-gradient(0deg,rgba(8,8,9,.6),transparent 40%)}
.phero.live .phero-shot{right:2%;width:46%;transform:translateY(-50%);-webkit-mask-image:none;mask-image:none}
.phero.live .phero-shot img{border-radius:0;filter:none;box-shadow:0 24px 70px rgba(0,0,0,.55)}
@media (max-width:760px){.phero.live{background-position:62% center}.phero.live::before{background:linear-gradient(180deg,rgba(8,8,9,.88) 0%,rgba(8,8,9,.7) 55%,rgba(8,8,9,.35) 100%)}.phero.live .phero-shot{right:auto;width:auto;margin:16px 24px 40px;transform:none}}

/* PonDashi Remote hero with iPad shot + reflection */
.rhero{padding:56px 0 0}
.rhero .wrap{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:48px;align-items:center}
.rhero-txt{padding-bottom:56px}
.rhero-shot{margin:0 0 calc(340px * 1235 / 900 * .3);padding:24px 0 0}
.rhero-shot img{display:block;width:100%;height:auto;box-shadow:0 0 0 1px rgba(255,255,255,.14);-webkit-box-reflect:below 6px linear-gradient(transparent 72%,rgba(255,255,255,.2))}
@media (max-width:760px){.rhero .wrap{grid-template-columns:1fr;gap:8px}.rhero-txt{padding-bottom:16px}.rhero-shot{max-width:300px;margin:0 auto 120px}}
/* App Store badge */
.asb{display:inline-block;padding:0;line-height:0}
.asb img{height:50px;width:auto;display:block}
.item .btns .asb{margin-right:4px}
.status-asb{justify-self:end}
@media (max-width:760px){.status-asb{grid-column:2;justify-self:start;margin-top:8px}}
.app .asb img,.item .asb img{width:auto;height:50px;border-radius:0}
a.status{text-decoration:none}
a.status.live:hover{filter:brightness(1.08);text-decoration:underline}
/* soften seam between iPad shot and its reflection */
.rhero-shot{position:relative}
.rhero-shot img{box-shadow:none;-webkit-box-reflect:below 0 linear-gradient(transparent 70%,rgba(255,255,255,.22))}
.rhero-shot::after{content:"";position:absolute;left:-8px;right:-8px;bottom:-32px;height:46px;background:rgba(28,30,34,.45);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);-webkit-mask-image:linear-gradient(180deg,transparent,#000 45%,#000 55%,transparent);mask-image:linear-gradient(180deg,transparent,#000 45%,#000 55%,transparent);pointer-events:none}
.status-col{display:flex;flex-direction:column;align-items:flex-end;gap:12px;justify-self:end}
@media (max-width:760px){.status-col{grid-column:2;align-items:flex-start;justify-self:start;margin-top:8px}.status-col .status-asb{margin-top:0}}
.news-more{margin:20px 0 0;text-align:right;font-weight:700}
.news-h1{font-size:clamp(26px,3.4vw,36px);line-height:1.3;font-weight:900;margin:0 0 12px}
.cmp-link{margin:20px 0 0;font-size:15px}
.cmp-foot{margin-top:24px;display:flex;gap:20px;flex-wrap:wrap;font-weight:700}
.cmp3 th[scope="row"]{min-width:9em}
.cmp3 td{min-width:12em}
@media (max-width:760px){.cmp3 td::before{content:attr(data-label);display:block;font-size:12px;font-weight:700;color:var(--ink-2);margin-bottom:2px}.cmp3 td{min-width:0}}
