/* 声で答えるホームページ — 簡易デモ画面（全業種共通）。業種の色は --theme / --theme-soft */
:root{--navy:#122c42;--deep:#095c89;--ink2:#334d60;--muted:#5b7183;--line:#d6e2ec;--bg:#f4f8fb;--green:#22c55e;--warn:#b45309}
*{box-sizing:border-box}
body{margin:0;font-family:"Noto Sans JP","Hiragino Sans","Yu Gothic",sans-serif;color:var(--navy);background:var(--bg);line-height:1.6;-webkit-text-size-adjust:100%}
button,input{font:inherit}
.t-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;background:#fff;border-bottom:1px solid var(--line)}
.t-back{color:#16405a;font-weight:700;font-size:14px;text-decoration:none}
.t-back:hover{text-decoration:underline}
.t-head-title{font-size:13px;color:var(--muted)}
.t-app{max-width:1120px;margin:0 auto;padding:24px 20px 48px}
.t-kicker{margin:0 0 6px;font-size:13px;font-weight:700;color:var(--theme);letter-spacing:.06em}
.t-intro h1{margin:0 0 12px;font-size:28px;line-height:1.4;font-weight:900;letter-spacing:-.02em}
.t-intro h1 span{display:inline-block}
.t-notice{margin:0 0 20px;font-size:14px;color:var(--ink2);background:#fff;border:1px solid var(--line);border-left:4px solid var(--theme);border-radius:8px;padding:10px 14px}
.t-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:20px;align-items:start}
.t-panel{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 16px 40px rgba(18,44,66,.08);overflow:hidden}
.t-bar{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid #edf2f6;background:#fbfcfd}
.t-avatar{width:34px;height:34px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;font-weight:900;color:#fff;background:var(--theme)}
.t-shop{flex:1;min-width:0;font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.t-live{font-size:12px;font-weight:700;color:#15803d;display:flex;align-items:center;gap:5px}
.t-live::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--green)}
.t-log{height:300px;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth}
.t-msg{max-width:88%}
.t-msg p{margin:0;padding:9px 12px;font-size:14.5px;line-height:1.65;border-radius:14px}
.t-who{display:block;font-size:11px;font-weight:700;color:var(--muted);margin:0 4px 2px}
.t-msg.is-staff p{background:var(--theme-soft);border-radius:4px 14px 14px 14px}
.t-msg.is-me{align-self:flex-end;text-align:right}
.t-msg.is-me p{background:#e8f1f8;border-radius:14px 4px 14px 14px;text-align:left;font-weight:700}
.t-controls{padding:14px;border-top:1px solid #edf2f6;background:#fcfdfe}
.t-mic{width:100%;min-height:58px;display:flex;align-items:center;justify-content:center;gap:12px;font-size:17px;font-weight:700;color:#fff;background:var(--deep);border:0;border-radius:12px;cursor:pointer;box-shadow:0 8px 20px rgba(9,92,137,.22)}
.t-mic:hover{background:#07466a}
.t-mic:disabled{background:#9fb2c1;box-shadow:none;cursor:not-allowed}
.t-mic-dot{width:12px;height:12px;border-radius:50%;background:var(--green)}
.is-listening .t-mic{background:#c2410c}
.is-listening .t-mic-dot{background:#fff;animation:t-ping 1.2s infinite}
.is-speaking .t-live::after{content:"（話しています）";font-weight:400;color:var(--muted)}
.t-status{min-height:22px;margin:8px 0 4px;font-size:13.5px;color:var(--ink2)}
.t-status.is-warn{color:var(--warn);font-weight:700}
.t-ex-label{margin:6px 0 6px;font-size:12px;color:var(--muted)}
.t-examples{display:flex;flex-wrap:wrap;gap:6px}
.t-examples button{font-size:13px;color:#16405a;background:#fff;border:1px solid var(--line);border-radius:999px;padding:5px 12px;cursor:pointer}
.t-examples button:hover{border-color:var(--deep);background:#eef5fa}
.t-form{display:flex;gap:8px;margin-top:12px}
.t-form input{flex:1;min-width:0;font-size:16px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff}
.t-form input:focus{outline:2px solid #bcd6ea;border-color:var(--deep)}
.t-form button{flex:none;padding:0 18px;font-weight:700;color:var(--deep);background:#eef5fa;border:1px solid #cfe2ef;border-radius:10px;cursor:pointer}
.t-opts{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px;font-size:13px;color:var(--ink2)}
.t-opts label{display:flex;align-items:center;gap:6px;cursor:pointer}
.t-reset{background:none;border:0;color:#16405a;text-decoration:underline;cursor:pointer;padding:4px}
.t-side{padding:14px}
.t-read{margin-bottom:12px}
.t-read-label{display:block;font-size:12px;font-weight:700;color:var(--muted);margin-bottom:6px}
.t-chips{display:flex;flex-wrap:wrap;gap:6px;min-height:28px}
.t-chip{font-size:13px;font-weight:700;color:#fff;background:var(--deep);border-radius:999px;padding:3px 12px;animation:t-pop .35s cubic-bezier(.2,.9,.3,1.3)}
.t-chip-empty{font-size:13px;color:#9aacba}
.t-listhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;font-size:12px;color:var(--muted)}
.t-listhead b{font-size:14px;color:var(--navy)}
.t-sort{font-weight:700;color:var(--deep);background:#eef5fa;border-radius:6px;padding:2px 8px}
.t-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.t-card{position:relative;display:grid;grid-template-columns:22px 46px minmax(0,1fr);gap:10px;align-items:center;padding:8px 10px;border:1px solid #edf1f5;border-radius:12px;background:#fff;will-change:transform}
.t-card.is-best{border-color:var(--theme);background:linear-gradient(90deg,var(--theme-soft),#fff);box-shadow:0 6px 18px rgba(18,44,66,.10)}
.t-rank{font-size:14px;font-weight:900;color:#9aacba;text-align:center}
.t-card.is-best .t-rank{color:var(--theme)}
.t-ico{width:46px;height:46px;border-radius:8px;background:var(--theme-soft);display:flex;align-items:center;justify-content:center;font-size:22px}
.t-name{margin:0;font-size:14px;font-weight:700;line-height:1.35}
.t-meta{margin:2px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:4px;font-size:12px;color:var(--muted)}
.t-tag{font-size:11px;font-weight:700;color:var(--deep);background:#eef5fa;border-radius:4px;padding:0 6px}
.t-tag.is-over{color:#9a3412;background:#fff1e6}
.t-best{position:absolute;top:-9px;right:10px;font-size:11px;font-weight:700;color:#fff;background:var(--theme);border-radius:999px;padding:1px 10px;opacity:0;transform:scale(.8);transition:opacity .3s,transform .3s}
.t-card.is-best .t-best{opacity:1;transform:none}
.t-booking{margin-top:14px;padding:12px;border-radius:12px;background:var(--theme-soft)}
.t-booking[hidden]{display:none}
.t-book-title{margin:0 0 8px;font-size:13px;font-weight:700}
.t-book-opts{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}
.t-book-opts button{padding:10px 6px;font-weight:700;color:var(--navy);background:#fff;border:1px solid var(--line);border-radius:10px;cursor:pointer}
.t-book-opts button.is-match{border-color:var(--theme);box-shadow:0 0 0 2px var(--theme) inset}
.t-book-opts button.is-picked{color:#fff;background:var(--theme);border-color:var(--theme)}
.t-foot{margin-top:24px;display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap}
.t-fine{margin:0;padding-left:18px;font-size:12.5px;color:var(--muted);max-width:720px}
.t-cta{display:inline-flex;align-items:center;min-height:52px;padding:12px 22px;font-weight:700;color:#fff;background:var(--deep);border-radius:10px;text-decoration:none}
.t-cta:hover{background:#07466a}
@keyframes t-ping{0%{box-shadow:0 0 0 0 rgba(255,255,255,.7)}80%,100%{box-shadow:0 0 0 8px rgba(255,255,255,0)}}
@keyframes t-pop{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
@media (max-width:860px){
  .t-grid{grid-template-columns:minmax(0,1fr)}
  .t-app{padding:16px 16px 40px}
  .t-intro h1{font-size:22px}
  .t-log{height:260px}
  .t-head{padding:10px 16px}
  .t-head-title{display:none}
  .t-cta{width:100%;justify-content:center}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
