/* LIVEチャット（自作）の見た目。色・書体は faq.lancul.com（lancul_site/faq/static/faq.css）に合わせる。ダークモードは作らない */
.lc-chat { --ink:#242424; --sub:#575757; --line:#dbe1e1; --ground:#EEEEEE; --accent:#fa3b4e; --link:#1a6fd1; --soft:#fff1f2;
  --brand:linear-gradient(135deg,#fd8f3e 0%,#fa3b4e 100%);   /* ロゴ・「無料体験」ボタンのオレンジ→赤（10/21 阪野「ブランドやサイトに合わせて」） */
  font-family:'Noto Sans JP','Noto Sans',sans-serif; color:var(--ink); }
.lc-chat *, .lc-chat *::before, .lc-chat *::after { box-sizing:border-box; }

.lc-bubble { position:fixed; right:20px; bottom:20px; width:60px; height:60px; border-radius:50%; border:0; cursor:pointer;
  background:var(--brand); color:#fff; box-shadow:0 6px 20px rgba(0,0,0,.18); display:grid; place-items:center; z-index:2147483000; }
.lc-bubble svg { width:30px; height:30px; }

.lc-panel { position:fixed; right:20px; bottom:92px; width:380px; height:min(640px, calc(100vh - 112px)); background:#fff;
  border-radius:16px; box-shadow:0 12px 40px rgba(0,0,0,.18); display:flex; flex-direction:column; overflow:hidden; z-index:2147483001; }
@media (max-width:600px) {
  .lc-panel { inset:0; width:auto; height:auto; border-radius:0; }
  .lc-chat.is-open .lc-bubble { display:none; }
}

.lc-head { background:var(--brand); color:#fff; padding:14px 16px; display:flex; align-items:center; gap:12px; }
.lc-head__mark { width:36px; height:36px; border-radius:50%; background:#fff; color:var(--accent); display:grid; place-items:center; font-weight:700; font-size:15px; flex:none; }
.lc-head__title { font-weight:700; font-size:15px; line-height:1.3; }
.lc-head__sub { font-size:12px; opacity:.92; }
.lc-head__close { margin-left:auto; background:none; border:0; color:#fff; font-size:22px; cursor:pointer; line-height:1; padding:4px; }

.lc-log { flex:1; overflow-y:auto; padding:16px 14px 8px; background:#fafafa; display:flex; flex-direction:column; gap:10px; }
.lc-row { display:flex; gap:8px; align-items:flex-end; max-width:100%; }
.lc-row--me { justify-content:flex-end; }
.lc-avatar { width:28px; height:28px; border-radius:50%; background:var(--brand); color:#fff; font-size:11px; font-weight:700; display:grid; place-items:center; flex:none; }
.lc-msg { max-width:82%; padding:10px 13px; border-radius:14px; font-size:14px; line-height:1.65; white-space:pre-wrap; word-break:break-word; }
.lc-row--bot .lc-msg { background:#fff; border:1px solid var(--line); border-bottom-left-radius:4px; }
.lc-row--me .lc-msg { background:var(--soft); color:var(--ink); border:1px solid #ffd3d8; border-bottom-right-radius:4px; }
.lc-msg a { color:var(--link); }
.lc-note { align-self:center; font-size:12px; color:var(--sub); background:var(--ground); padding:5px 12px; border-radius:999px; }
.lc-note--ok { background:#e8f6ee; color:#1f7a45; }

.lc-chips { display:flex; flex-wrap:wrap; gap:8px; padding-left:36px; }
.lc-chip { border:1px solid var(--accent); color:var(--accent); background:#fff; border-radius:999px; padding:8px 14px; font-size:13px; font-weight:700; cursor:pointer; font-family:inherit; }
.lc-chip--plain { border-color:var(--line); color:var(--ink); font-weight:400; }

.lc-card { margin-left:36px; background:#fff; border:1px solid var(--line); border-radius:12px; padding:12px 14px; font-size:13px; }
.lc-card__label { font-size:11px; color:var(--sub); margin-bottom:4px; }
.lc-card__title { font-weight:700; color:var(--ink); text-decoration:none; display:block; line-height:1.5; }
.lc-card__title::after { content:" ›"; color:var(--accent); }

.lc-form { margin-left:36px; background:#fff; border:1px solid var(--line); border-radius:12px; padding:14px; display:flex; flex-direction:column; gap:10px; }
.lc-form label { font-size:12px; color:var(--sub); display:flex; flex-direction:column; gap:4px; }
.lc-form input { border:1px solid var(--line); border-radius:8px; padding:10px 12px; font-size:16px; font-family:inherit; color:var(--ink); }
.lc-form__btn { border:0; background:var(--brand); color:#fff; border-radius:8px; padding:11px; font-size:14px; font-weight:700; cursor:pointer; font-family:inherit; }
.lc-form label.lc-form__btn { display:block; color:#fff; font-size:14px; }   /* 画像を選ぶボタン（label）に上の label の灰色を効かせない */
.lc-form__btn--ghost { background:#fff; color:var(--ink); border:1px solid var(--line); }
.lc-form__link { font-size:12px; color:var(--link); text-align:center; text-decoration:underline; }
.lc-form__fine { font-size:11px; color:var(--sub); line-height:1.6; margin:0; }
.lc-form__row { display:flex; gap:8px; }
.lc-form__row > * { flex:1; }

.lc-code { display:flex; gap:6px; justify-content:space-between; }
.lc-code input { flex:1; min-width:0; max-width:44px; height:48px; text-align:center; font-size:20px; font-weight:700; padding:0; }

.lc-cta__title { font-weight:700; font-size:14px; }
.lc-cta__btn { display:block; text-align:center; text-decoration:none; }

.lc-confirm dt { font-size:11px; color:var(--sub); }
.lc-confirm dd { margin:0 0 6px; font-weight:700; font-size:14px; }

.lc-input { border-top:1px solid var(--line); padding:10px 12px; display:flex; gap:8px; align-items:flex-end; background:#fff; }
.lc-input textarea { flex:1; resize:none; border:1px solid var(--line); border-radius:20px; padding:10px 14px; font-size:16px; font-family:inherit; line-height:1.4; height:42px; color:var(--ink); }
.lc-input button { width:42px; height:42px; border-radius:50%; border:0; background:var(--brand); color:#fff; display:grid; place-items:center; cursor:pointer; flex:none; }
.lc-foot { font-size:11px; color:var(--sub); text-align:center; padding:0 12px 10px; background:#fff; }
/* 本番の動き（2026-10-20）: 考え中の3点・使い終わった部品は薄く */
.lc-typing { display:flex; gap:4px; align-items:center; min-height:20px; }
.lc-typing span { width:6px; height:6px; border-radius:50%; background:var(--sub); opacity:.4; animation:lc-blink 1.2s infinite; }
.lc-typing span:nth-child(2) { animation-delay:.2s; } .lc-typing span:nth-child(3) { animation-delay:.4s; }
@keyframes lc-blink { 0%,80%,100% { opacity:.25; } 40% { opacity:.9; } }
.lc-item[inert] .lc-chips, .lc-item[inert] .lc-form { opacity:.55; }
/* AI の答えの下の「LanCul アシスタント ・ AI ・ 今」と、開いた時の注意書き（10/21 阪野） */
.lc-meta { font-size:11px; color:var(--sub); padding:4px 0 0 36px; }
.lc-notice { position:relative; margin:0 12px 8px; padding:8px 36px 8px 12px; font-size:11px; line-height:1.6; color:var(--sub);
  background:var(--ground); border-radius:10px; }
.lc-notice a { color:var(--link); }
.lc-notice__close { position:absolute; top:2px; right:2px; width:32px; height:32px; background:none; border:0; color:var(--sub); font-size:16px; cursor:pointer; line-height:1; padding:0; }
.lc-item { display:flex; flex-direction:column; }   /* 部品を包む箱。中の並び（中央寄せの note 等）は今までどおり */
