/**
 * ご案内チャット（全ページ共通）
 * トグルはフッター紺（#1a2a40）と区別するため少し明るい紺を使用
 */

.chatbot-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  border: 1px solid #3d5a7a;
  background: #3d5a7a;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  padding: 12px 16px;
  border-radius: 999px;
  cursor: pointer;
}

.chatbot {
  position: fixed;
  right: 20px;
  bottom: 72px;
  z-index: 101;
  width: min(360px, calc(100vw - 24px));
  background: #fff;
  border: 1px solid #d7dde3;
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid #e7ebef;
  background: #f6f8fb;
}

.chatbot-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1a2a40;
}

.chatbot-close {
  border: 0;
  background: transparent;
  color: #1a2a40;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.chatbot-body {
  padding: 12px;
}

.chatbot-log {
  min-height: 88px;
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chatbot-message {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  padding: 8px 10px;
  border-radius: 10px;
  max-width: 92%;
}

.chatbot-message--bot {
  background: #f0f3f6;
  color: #1f2a37;
  align-self: flex-start;
}

.chatbot-message--user {
  background: #3d5a7a;
  color: #fff;
  align-self: flex-end;
}

.chatbot-options {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chatbot-option {
  border: 1px solid #c3ccd6;
  background: #fff;
  color: #1f2a37;
  font-size: 12px;
  line-height: 1.4;
  padding: 7px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.chatbot-option:hover {
  border-color: #3d5a7a;
}
