.wit-chat{position:fixed;bottom:24px;right:24px;z-index:100;font-family:"Yu Gothic",Meiryo,sans-serif;line-height:1.7;color:#17304d}.wit-chat button{font:inherit;cursor:pointer}.wit-chat-launch{border:0;border-radius:40px;padding:16px 24px;background:#245eb9;color:white;box-shadow:0 5px 25px #0b19392b;font-weight:700!important}.wit-chat-launch span{margin-right:8px;color:#bfd8ff}.wit-chat-panel{position:absolute;right:0;bottom:70px;width:390px;max-height:calc(100dvh - 125px);background:#fff;border:1px solid #dce5f2;border-radius:18px;box-shadow:0 12px 60px #0b19393b;overflow:hidden;display:flex;flex-direction:column}.wit-chat-panel[hidden]{display:none}.wit-chat-heading{padding:18px 20px;background:#0b1939;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:12px;color:white}.wit-chat-heading b{display:block;font-size:15px}.wit-chat-heading span{display:block;font-size:10px;color:#b6c8e8;margin-top:3px}.wit-chat-close{background:transparent;color:white;border:0;font-size:26px!important;padding:0 4px}.wit-chat-preview{background:#edf3ff;color:#536f9a;font-size:10px;padding:8px 16px}.wit-chat-messages{padding:18px 16px;min-height:145px;max-height:290px;overflow-y:auto;overscroll-behavior:contain;flex:1}.wit-chat-message{margin:0 0 12px;padding:12px 14px;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:12px;font-size:12px;max-width:92%}.wit-chat-message.assistant{background:#f0f4fa;border-bottom-left-radius:3px}.wit-chat-message.user{margin-left:auto;background:#245eb9;color:#fff;border-bottom-right-radius:3px}.wit-chat-suggestions{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 12px}.wit-chat-suggestions button{font-size:11px;border:1px solid #ccdbee;border-radius:20px;background:white;color:#245eb9;padding:6px 10px}.wit-chat-contact{margin:0 16px 12px;font-size:11px;color:#245eb9;text-decoration:none}.wit-chat-form{border-top:1px solid #e2e9f2;padding:12px 16px;background:#fff}.wit-chat-form label{display:block;font-size:11px;margin-bottom:6px}.wit-chat-form textarea{display:block;width:100%;resize:none;font:12px/1.7 inherit;font-family:inherit;border:1px solid #cdd9e8;border-radius:8px;padding:10px;color:#17304d;background:#fff}.wit-chat textarea:focus-visible,.wit-chat button:focus-visible{outline:2px solid #3674d1;outline-offset:2px}.wit-chat-form-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.wit-chat-count,.wit-chat-usage{font-size:10px;color:#677a93}.wit-chat-form-bottom button{border:0;border-radius:7px;padding:8px 17px;background:#245eb9;color:white;font-size:12px}.wit-chat button:disabled{opacity:.5;cursor:wait}.wit-chat-usage{margin:6px 0 0}.wit-chat-error{font-size:11px;color:#b13342;margin:6px 0 0}.wit-chat-error:empty{display:none}@media(max-width:540px){.wit-chat{right:12px;bottom:12px}.wit-chat-launch{font-size:12px!important;padding:13px 18px}.wit-chat-panel{width:min(390px,calc(100vw - 24px));bottom:60px;max-height:calc(100dvh - 90px)}.wit-chat-messages{max-height:220px;min-height:110px}.wit-chat-heading{padding:14px 16px}}
/* 2026-10-14 WITのペンギン(画面を自由に歩くキャラクター)とAI問い合わせ担当の名前 */
.wit-chat-launch{display:inline-flex;align-items:center;gap:8px;padding:9px 22px 9px 12px}
.wit-launch-face{width:30px;height:35px;flex:none}
.wit-launch-text{color:#fff}
.wit-chat-who{display:flex;align-items:center;gap:10px}
.wit-head-face{width:34px;height:40px;flex:none;background:#fff;border-radius:50%;padding:3px 3px 1px}
.wit-walker{position:fixed;left:0;top:0;z-index:99;width:230px;height:265px;pointer-events:auto;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none;will-change:transform;transition:opacity .25s}
.wit-walker.is-hidden{opacity:0;visibility:hidden}
.wit-walker-svg{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 2px 2px #0b193933)}
.wit-chat svg .wp-body,.wit-chat svg .wp-foot,.wit-chat svg .wp-wing,.wit-chat svg .wp-eyes,.wit-walker svg .wp-body,.wit-walker svg .wp-foot,.wit-walker svg .wp-wing,.wit-walker svg .wp-eyes,.wit-walker svg .wp-face{transform-box:fill-box}
.wit-chat svg .wp-eyes,.wit-walker svg .wp-eyes{transform-origin:50% 50%;animation:wp-blink 4.6s infinite}
@keyframes wp-waddle{from{transform:rotate(-7deg)}to{transform:rotate(7deg)}}
@keyframes wp-step{from{transform:translateY(0)}to{transform:translateY(-2px)}}
@keyframes wp-flap{from{transform:rotate(-8deg)}to{transform:rotate(14deg)}}
@keyframes wp-blink{0%,92%,100%{transform:scaleY(1)}95%{transform:scaleY(.1)}}
@media(max-width:540px){.wit-launch-face{width:26px;height:30px}.wit-chat-launch{padding:7px 16px 7px 10px}.wit-walker{width:160px;height:184px}}
@media(prefers-reduced-motion:reduce){.wit-chat svg *{animation:none!important}}

.wit-walker.is-held{cursor:grabbing}.wit-walker.is-held .wit-walker-svg{filter:drop-shadow(0 12px 14px #0b193955)}

.wit-bubble{position:fixed;left:0;top:0;z-index:99;max-width:min(260px,70vw);padding:9px 14px;border-radius:16px;background:#fff;color:#17304d;border:2px solid #245eb9;box-shadow:0 6px 18px #0b193933;font:700 15px/1.5 "Yu Gothic",Meiryo,sans-serif;white-space:nowrap;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s;--tail:50%}
.wit-bubble.is-on{opacity:1;visibility:visible}
.wit-bubble::after{content:"";position:absolute;left:var(--tail);bottom:-9px;width:14px;height:14px;margin-left:-7px;background:#fff;border-right:2px solid #245eb9;border-bottom:2px solid #245eb9;transform:rotate(45deg)}
.wit-bubble.is-below::after{bottom:auto;top:-9px;transform:rotate(225deg)}
@media(max-width:540px){.wit-bubble{font-size:13px;padding:7px 11px;white-space:normal}}
