/* 社員・AI社員・ラスク君と話す（index.html から共通化 2026-10-07） */
/* 本人と直接話す（2026-10-07e） */
.cast-say--q[data-talk] { cursor: pointer; pointer-events: auto; transition: transform .2s, box-shadow .2s; }
.cast-say--q[data-talk]:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -22px rgba(59, 76, 202, .7) !important; }
.cs-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cs-row .cs-go { margin-top: 0 !important; }
.cs-talk { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1.5px solid #7b5cff; color: #4b3cc9; font: 800 11.5px/1.2 "Noto Sans JP", sans-serif; font-style: normal; }
.tk-modal { position: fixed; inset: 0; z-index: 3100; display: grid; place-items: center; padding: 16px; background: rgba(11, 22, 56, .7); backdrop-filter: blur(4px); }
.tk-modal[hidden] { display: none; }
.tk-box { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 24px 22px 18px; border-radius: 22px; background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); font-family: "Noto Sans JP", sans-serif; color: #0b1638; }
.tk-x { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f2f8; cursor: pointer; }
.tk-head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.tk-head img { width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover; object-position: top; background: #eef0fe; border: 3px solid #fff; box-shadow: 0 0 0 2px #a8b2ff; }
.tk-k { margin: 0; font: 800 11px/1 "Inter", sans-serif; letter-spacing: .3em; color: #7b5cff; }
.tk-head h3 { margin: 6px 0 2px; font-size: 19px; font-weight: 900; }
.tk-role { margin: 0; font-size: 12.5px; color: #5b6577; }
.tk-safe { display: flex; gap: 10px; margin: 0 0 12px; padding: 10px 12px; border-radius: 14px; background: #f4f2ff; font-size: 12.5px; line-height: 1.6; color: #3a4456; }
.tk-safe i { color: #7b5cff; margin-top: 3px; } .tk-safe b { display: block; color: #0b1638; }
.tk-via { margin: 0 0 12px; font-size: 12.5px; color: #3b4cca; font-weight: 700; }
.tk-ways { margin: 0 0 12px; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tk-ways legend { margin-bottom: 6px; font-size: 13px; font-weight: 800; }
.tk-ways label { cursor: pointer; } .tk-ways input { position: absolute; opacity: 0; }
.tk-ways span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1.5px solid #dfe3ee; font-size: 13px; font-weight: 700; }
.tk-ways input:checked + span { border-color: #3b4cca; background: #3b4cca; color: #fff; }
.tk-ways input:focus-visible + span { outline: 2px solid #7b5cff; outline-offset: 2px; }
.tk-f { display: block; margin-bottom: 10px; } .tk-f span { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 800; }
.tk-f input, .tk-f textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 12px; border: 1.5px solid #dfe3ee; font: inherit; font-size: 14px; }
.tk-f input:focus, .tk-f textarea:focus { outline: none; border-color: #3b4cca; }
.tk-send { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; border: 0; border-radius: 999px; background: linear-gradient(90deg, #3b4cca, #7b5cff); color: #fff; font: 800 15px/1 "Noto Sans JP", sans-serif; cursor: pointer; }
.tk-note { margin: 8px 0 0; font-size: 11.5px; color: #8a93a6; text-align: center; }

/* AI社員：ビフォーアフター・AI会話・ボード（2026-10-07g） */
.cast-vis--ba { position: relative; }
.cast-ba { position: absolute; left: -2%; bottom: 8%; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 16px; background: rgba(255, 255, 255, .95); box-shadow: 0 18px 36px -20px rgba(11, 22, 56, .6); pointer-events: none; }
.cast-ba-b { position: relative; display: block; width: 92px; height: 92px; border-radius: 12px; overflow: hidden; filter: grayscale(.35); }
.cast-ba-b img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.cast-ba-b em { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 0; background: rgba(11, 22, 56, .8); color: #fff; font: 800 9.5px/1.3 "Inter", sans-serif; letter-spacing: .16em; text-align: center; font-style: normal; }
.cast-ba-t { display: flex; flex-direction: column; gap: 3px; max-width: 150px; font: 700 11.5px/1.45 "Noto Sans JP", sans-serif; color: #5b6577; }
.cast-ba-t i { color: #7b5cff; font-size: 11px; } .cast-ba-t b { color: #3b4cca; font-size: 13px; font-weight: 900; }
@media (max-width: 900px) { .cast-ba { display: none; } }
.bm-card--ai { background: linear-gradient(160deg, #ffffff, #f4f2ff) !important; }
.bm-ai-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: linear-gradient(90deg, #3b4cca, #7b5cff); color: #fff; font: 800 10.5px/1.3 "Inter", sans-serif; letter-spacing: .12em; }
.bm-card--ai .bm-av img { object-fit: cover; object-position: top; }
.ac-box { display: flex; flex-direction: column; max-height: min(680px, calc(100vh - 32px)); }
.ac-log { flex: 1; min-height: 220px; max-height: 46vh; overflow: auto; display: flex; flex-direction: column; gap: 8px; margin: 4px 0 10px; padding: 10px; border-radius: 14px; background: #f6f7fc; }
.ac-b { max-width: 84%; padding: 9px 13px; border-radius: 16px; font-size: 14px; line-height: 1.7; white-space: pre-wrap; }
.ac-b--ai { align-self: flex-start; background: #fff; border: 1px solid #e3e6f0; border-top-left-radius: 4px; color: #0b1638; }
.ac-b--me { align-self: flex-end; background: linear-gradient(90deg, #3b4cca, #6a4cff); color: #fff; border-top-right-radius: 4px; }
.ac-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 5px 12px; border-radius: 999px; background: #eef0fe; color: #3b4cca; font-weight: 800; font-size: 12.5px; text-decoration: none; }
.ac-typing { display: inline-flex; gap: 4px; } .ac-typing i { width: 6px; height: 6px; border-radius: 50%; background: #a8b2ff; animation: acT 1s infinite ease-in-out; }
.ac-typing i:nth-child(2) { animation-delay: .15s; } .ac-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes acT { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ac-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ac-chips button { padding: 6px 12px; border-radius: 999px; border: 1.5px solid #d8dcfb; background: #fff; color: #3b4cca; font: 700 12.5px/1.2 "Noto Sans JP", sans-serif; cursor: pointer; }
.ac-chips button:hover { border-color: #3b4cca; }
.ac-in { display: flex; gap: 8px; }
.ac-in input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 999px; border: 1.5px solid #dfe3ee; font: 500 15px/1.2 "Noto Sans JP", sans-serif; }
.ac-in input:focus { outline: none; border-color: #3b4cca; }
.ac-in button { width: 44px; border: 0; border-radius: 50%; background: linear-gradient(135deg, #3b4cca, #7b5cff); color: #fff; cursor: pointer; }
.ac-hand { margin-top: 10px; padding: 10px; border-radius: 12px; border: 1px dashed #a8b2ff; background: #fff; color: #3b4cca; font: 800 13px/1.3 "Noto Sans JP", sans-serif; cursor: pointer; }
.ac-note { margin-top: 6px !important; }
