/* チャットボットのスタイル */
.chatbot {
    width: 90%;
    max-width: 400px;
    height: 70%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }
  
  .chatbot.open {
    transform: translateY(0);
  }
  
  .chat-header {
    background: #73336d;
    color: white;
    padding: 10px;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
  }
  
  .chat-close:hover {
    color: #ff4d4d;
  }
  
  .chat-window {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .chat-bubble {
    max-width: 80%;
    padding: 10px;
    border-radius: 10px;
  }
  
  .chat-bubble.user {
    align-self: flex-end;
    background: #73336d;
    color: white;
  }
  
  .chat-bubble.bot {
    align-self: flex-start;
    background: #f1f1f1;
    color: #333;
  }
  
  .choice-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .choice-container button {
    padding: 10px 20px;
    background: #73336d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .choice-container button:hover {
    background: #4D2249;
  }
  
  .choice-container button.hidden {
    display: none;
  }
  
  .chatbot-toggle {
    width: 50px;
    height: 50px;
    background: #73336d;
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
  }
  
  .chatbot-toggle:hover {
    background: #4D2249;
  }
  
  /* チャットボットのトグルボタン（開くボタン） */
.chatbot-toggle {
    width: 50px;
    height: 50px;
    background: #73336d;
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: fixed; /* ボタンを固定表示 */
    bottom: 20px; /* 画面の下端からの距離 */
    right: 20px; /* 画面の右端からの距離 */
    z-index: 1001; /* チャットボットより上に表示 */
  }
  
  .chatbot-toggle:hover {
    background: #4D2249;
  }