/* examplat 音声の LP（/voice/・/en/voice/）。2026-11-03 V1。色は style.css の変数（深緑・生成り）。写真は使わず、線の SVG と色の面だけ。
   375px で、入力欄・言語・声・速さ・「読む」・残り回数までが最初の画面に入る（設計 B-5） */
.vo-page { padding-bottom: 120px; }
.vo-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vo-ico { width: 22px; height: 22px; flex: none; }

.vo-hero { padding: 14px 0 28px; background: linear-gradient(180deg, var(--brand-soft), transparent 70%); }
.vo-brand { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 4px; color: var(--brand); font-weight: 800; font-size: 13px; letter-spacing: .06em; }
.vo-brand-ico { width: 16px; height: 16px; }
.vo-hero h1 { margin: 0; font-size: clamp(20px, 5.6vw, 36px); line-height: 1.3; letter-spacing: .01em; }
.vo-sub { margin: 4px 0 12px; color: var(--muted); font-size: 14px; }

.vo-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; }
.vo-box textarea {
  display: block; width: 100%; min-height: 128px; resize: vertical; box-sizing: border-box;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--fg);
  font: inherit; font-size: 16px; line-height: 1.6; padding: 10px 12px;
}
.vo-box textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.vo-count { margin: 4px 2px 8px; text-align: right; color: var(--muted); font-size: 12px; font-family: var(--font-num); }
.vo-count.is-over { color: var(--ng); font-weight: 700; }

.vo-opts { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 10px; }
.vo-opt { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; font-size: 13px; }
.vo-opt > span, .vo-opt legend { color: var(--muted); font-weight: 700; float: left; margin-right: 6px; padding: 0; }
.vo-lang { flex: 1 1 100%; }
.vo-lang select { flex: 1; min-width: 0; min-height: 40px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--fg); padding: 4px 12px; font: inherit; font-size: 14px; }
.vo-seg { position: relative; display: inline-flex; }
.vo-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.vo-seg span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font-size: 13px; }
.vo-seg:first-of-type span { border-radius: 999px 0 0 999px; }
.vo-seg:last-of-type span { border-radius: 0 999px 999px 0; }
.vo-seg + .vo-seg span { border-left: 0; }
.vo-seg input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); font-weight: 700; }
.vo-seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }

.vo-captcha:empty { display: none; }
.vo-captcha { margin-bottom: 8px; }
.vo-read { min-height: 56px; font-size: 17px; gap: 8px; }
.vo-read[aria-busy="true"] { opacity: .75; }
.vo-remaining { margin: 8px 0 0; text-align: center; color: var(--muted); font-size: 12px; }
.vo-remaining.is-wait { padding: 8px 10px; border-radius: var(--radius-sm); background: var(--mark-soft); color: var(--fg); font-size: 13px; }
.vo-msg { margin: 8px 0 0; padding: 8px 10px; border-radius: var(--radius-sm); font-size: 13px; background: var(--mark-soft); color: var(--fg); }
.vo-msg.is-error { background: var(--ng-soft); color: var(--ng); }

.vo-reading { margin-top: 12px; padding: 12px; border-radius: var(--radius-sm); background: var(--surface); border: 1px dashed var(--line); line-height: 1.8; white-space: pre-wrap; }
.vo-reading span { transition: background .2s; border-radius: 4px; }
.vo-reading span.is-now { background: var(--mark-soft); }

.vo-step-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.vo-step-list li { display: flex; gap: 12px; align-items: flex-start; }
.vo-step-ico, .vo-card-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.vo-step-list h3, .vo-cards h3 { margin: 2px 0 2px; font-size: 16px; }
.vo-step-list p, .vo-cards p { margin: 0; color: var(--muted); font-size: 14px; }
.vo-cards { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.vo-cards li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.vo-cards .vo-card-ico { margin-bottom: 6px; }
@media (min-width: 640px) { .vo-cards { grid-template-columns: 1fr 1fr; } .vo-step-list { grid-template-columns: repeat(3, 1fr); } .vo-step-list li { flex-direction: column; } }

.vo-points { margin: 12px 0; padding-left: 1.2em; }
.vo-points li { margin: 4px 0; }
.vo-price-list { margin: 16px 0 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.vo-price-list > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 12px 14px; }
.vo-price-list > div + div { border-top: 1px solid var(--line); }
.vo-price-list dt { font-weight: 700; }
.vo-price-list dd { margin: 0; font-family: var(--font-num); font-weight: 700; color: var(--brand); }

/* 再生バー（画面の下に固定。375px では「止める」が幅いっぱい、その下に「続きを聞く」） */
.vo-player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); }
.vo-player-in { display: grid; grid-template-columns: 1fr; gap: 8px; }
.vo-stop { min-height: 48px; gap: 8px; }
.vo-bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.vo-bar span { display: block; height: 100%; width: 0; background: var(--brand); transition: width .2s linear; }
.vo-cta { justify-self: center; border: 0; background: none; color: var(--brand); font: inherit; font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 4px 8px; min-height: 36px; }
@media (min-width: 640px) {
  .vo-player-in { grid-template-columns: 200px 1fr auto; align-items: center; }
}

/* ---- V2（2026-11-03）: キャンペーンの帯・ログイン・残高・入力のタブ・見積り・チャージ・履歴・保存 ---- */
.vo-band { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--brand); color: var(--on-brand); font-size: 13px; line-height: 1.45; }
.vo-band[hidden] { display: none; }
.vo-band strong { display: block; font-weight: 800; }
.vo-band small { display: block; opacity: .9; font-size: 11px; }
.vo-band-ico { flex: none; display: inline-flex; }
.vo-band-ico .vo-ico { width: 20px; height: 20px; }

.vo-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.vo-top .vo-brand { margin: 0; }
.vo-signin { font-size: 13px; font-weight: 700; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; padding: 6px 4px; }
.vo-signin[hidden] { display: none; }
.vo-acct { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 6px 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--fg); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.vo-acct[hidden] { display: none; }
.vo-acct .vo-ico { width: 18px; height: 18px; color: var(--brand); }
.vo-acct-add { padding: 3px 10px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-size: 12px; }

.vo-tabs { display: flex; gap: 4px; margin: 0 0 8px; padding: 0; border: 0; min-width: 0; }
.vo-tab { position: relative; flex: 1; display: flex; }
.vo-tab input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.vo-tab span { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 36px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg); font-size: 13px; color: var(--muted); }
.vo-tab input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); font-weight: 800; }
.vo-tab input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }
.vo-tab-ico { width: 16px; height: 16px; }
.vo-pick { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; margin: 0 0 8px; border: 1px dashed var(--brand); border-radius: var(--radius-sm); background: var(--brand-soft); color: var(--brand); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.vo-pick[hidden] { display: none; }

.vo-hd { flex: 1 1 100%; gap: 8px; }
.vo-hd[hidden] { display: none; }
.vo-hd input { width: 18px; height: 18px; accent-color: var(--brand); }
.vo-hd small { color: var(--muted); font-weight: 400; }

.vo-quote { margin: 0 0 8px; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--brand-soft); color: var(--fg); font-size: 13px; font-weight: 700; text-align: center; }
.vo-quote.is-short { background: var(--mark-soft); }
.vo-quote[hidden] { display: none; }

.vo-panel { padding: 0 0 20px; }
.vo-panel[hidden] { display: none; }
.vo-panel-in { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
.vo-panel-head { display: flex; align-items: center; justify-content: space-between; }
.vo-panel-head h2 { margin: 0; font-size: 20px; }
.vo-x { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.vo-panel-bal { margin: 4px 0; font-weight: 800; color: var(--brand); }
.vo-panel-lead { margin: 4px 0 10px; font-size: 14px; color: var(--muted); }
.vo-campaign { margin: 0 0 10px; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--brand); color: var(--on-brand); font-size: 13px; font-weight: 700; }
.vo-campaign[hidden] { display: none; }
.vo-amounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; margin-bottom: 10px; }
.vo-amount { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 64px; padding: 8px 4px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--fg); font: inherit; cursor: pointer; }
.vo-amount strong { font-size: 18px; }
.vo-amount small { font-size: 11px; color: var(--muted); }
.vo-amount .vo-jpy { opacity: .75; }
.vo-amount.is-on { border: 2px solid var(--brand); background: var(--brand-soft); }
.vo-agree { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0; font-size: 13px; line-height: 1.5; }
.vo-agree input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--brand); }
.vo-pay { min-height: 52px; gap: 8px; font-size: 16px; }
.vo-hist { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 8px; font-size: 13px; }
.vo-hist summary { cursor: pointer; font-weight: 700; padding: 6px 0; }
.vo-hist-line { margin: 4px 0; color: var(--muted); }
.vo-refund { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 6px 0; padding: 6px 8px; border-radius: var(--radius-sm); background: var(--bg); }
.vo-hist-list { list-style: none; margin: 8px 0 0; padding: 0; }
.vo-hist-list li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px dashed var(--line); }

.vo-save { min-height: 44px; gap: 8px; }
.vo-save[hidden] { display: none; }
@media (min-width: 640px) {
  .vo-player-in { grid-template-columns: 200px 1fr auto auto; }
}
