.tb-wrap{max-width:720px;margin:0 auto;padding:0 16px}
.tb-test{background:#fff3cd;border:1px solid #e0c36a;color:#5c4a00;border-radius:8px;padding:10px 14px;font-size:.85rem;margin:0 0 16px}
.tb-chat{background:#fff;border-radius:12px;box-shadow:0 2px 12px rgba(0,0,0,.08);padding:20px 16px;min-height:360px}
.tb-msg{display:flex;margin:0 0 12px}
.tb-msg.bot{justify-content:flex-start}.tb-msg.me{justify-content:flex-end}
.tb-b{max-width:86%;padding:10px 14px;border-radius:14px;line-height:1.7;font-size:.95rem;white-space:pre-wrap;word-break:break-word}
.bot .tb-b{background:#f1f1f1;color:#222;border-top-left-radius:4px}
.me .tb-b{background:var(--reds-primary,#D30D20);color:#fff;border-top-right-radius:4px}
.tb-opts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.tb-btn{border:2px solid var(--reds-primary,#D30D20);background:#fff;color:var(--reds-primary,#D30D20);border-radius:999px;padding:9px 16px;font-size:.92rem;font-weight:600;cursor:pointer;font-family:inherit}
.tb-btn:hover{background:var(--reds-primary,#D30D20);color:#fff}
.tb-btn.primary{background:var(--reds-primary,#D30D20);color:#fff}
.tb-btn.ghost{border-color:#bbb;color:#555}.tb-btn.ghost:hover{background:#eee;color:#222}
.tb-btn[disabled]{opacity:.5;cursor:not-allowed}
.tb-form{display:flex;flex-direction:column;gap:8px;margin:0 0 14px}
.tb-form input[type=text],.tb-form input[type=email],.tb-form input[type=tel],.tb-form textarea{width:100%;border:1px solid #ccc;border-radius:8px;padding:10px 12px;font-size:1rem;font-family:inherit;box-sizing:border-box}
.tb-form label{font-size:.85rem;color:#555}
.tb-err{color:#c00;font-size:.85rem;min-height:1.1em}
.tb-sum{background:#fafafa;border:1px solid #e3e3e3;border-radius:10px;padding:12px 14px;margin:0 0 12px;font-size:.92rem}
.tb-sum div{display:flex;gap:10px;padding:3px 0}.tb-sum dt{flex:0 0 8.5em;color:#666}.tb-sum dd{margin:0;word-break:break-word}
.tb-consent{display:flex;gap:8px;align-items:flex-start;font-size:.9rem;margin:6px 0 12px}
.tb-consent input{margin-top:.35em}
.tb-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.tb-pre{background:#1a1a1a;color:#e8e8e8;border-radius:8px;padding:12px;font-size:.8rem;white-space:pre-wrap;word-break:break-word;margin:6px 0 0}
.tb-sumrow{align-items:center}.tb-sumrow dd{flex:1}.tb-mini{padding:3px 12px;font-size:.8rem;margin-left:auto;flex:0 0 auto}
.tb-count{font-size:.8rem;color:#666;text-align:right}.tb-count.over{color:#c00;font-weight:700}

/* 体験の申込ページ（/trial.html・/en/trial.html・/vn/trial.html） */
.trial-page .section-head{margin-bottom:24px}
.trial-lead{max-width:720px;margin:12px auto 0;line-height:1.8;color:#444}
.trial-alt{max-width:720px;margin:32px auto 0;text-align:center}
.trial-alt h3{font-size:1.05rem;margin:0 0 6px}
.trial-alt p{color:#555;margin:0 0 12px;line-height:1.7}
.trial-privacy{margin-top:16px !important;font-size:.9rem}
.trial-privacy a{color:#666;text-decoration:underline}
