/* LeadLoop - カスタムCSS */

/* スムーズスクロール */
html {
    scroll-behavior: smooth;
}

/* フェードインアニメーション */
.fade-in {
    opacity: 1;
    transform: none;
}

/* チャットボット */
#chatbot-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

#chatbot-window {
    display: none;
    position: absolute;
    bottom: 64px;
    right: 0;
    width: 340px;
    max-height: 480px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    overflow: hidden;
    flex-direction: column;
}

#chatbot-window.open {
    display: flex;
}

#chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 280px;
    max-height: 320px;
}

.chat-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.chat-bubble.bot {
    background: #f0f4ff;
    color: #1a1a2e;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-bubble.user {
    background: #1a56db;
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-bubble.typing {
    background: #f0f4ff;
    align-self: flex-start;
}

/* 診断フォーム プログレスバー */
.diagnosis-progress {
    transition: width 0.4s ease;
}
