@charset "UTF-8";

/* 共通 */
:root {
  --base-color: #ffde00; /* 黄色 */
  --line-color: #005bbb; /* 青枠 */
}

/* バナー */
.chat_banner {
  position: fixed;
  right: 0;
  bottom: 80px;
  display: none;
}

/* チャットボット本体 */
.chat_container {
  margin: 0;
  padding: 0;
  border: 0px none transparent;
  background: transparent;
  overflow: hidden;
  position: fixed;
  z-index: 16000002;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  right: 10px;
  bottom: 0px;
  width: 400px;
  height: 550px;
  max-width: 100%;
  max-height: 100%;
  display: none;
}

.chat_header {
  background-color: #39a0ff;
  color: #ffffff;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding-left: 10px;
  min-height: 40px;
}
.chat_logo {
  width: 50px;
  height: 40px;
}

/* ボタン */
.chat_close {
  color: white;
  font-size: 16px;
  font-weight: bold;
  margin-right: 12px;
  cursor: pointer;
}
/* バナー */
/* PC */
.chatbot-banner.pc {
  position: relative;
  width: 50px;
  height: 300px;
  background: var(--line-color);
  border-radius: 12px 0 0 12px;
  border: 4px solid var(--base-color);
  border-right: none;
  writing-mode: vertical-rl;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  color: white;
}

.chatbot-banner.pc .text {
  margin-right: 5px;
}
.chatbot-banner.pc .close-btn {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--line-color);
  font-size: 15.5px;
  font-weight: bold;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  padding-top: 2.5px;
}

.chatbot-banner.pc .ai-badge {
  display: inline-block;
  margin: 0 auto 5px;
  background: var(--base-color);
  color: var(--line-color);
  border-radius: 50%;
  writing-mode: initial;
  width: 30px;
  height: 30px;
  line-height: 27.5px;
  font-size: 1.1rem;
  font-weight: bold;
}

.chatbot-banner.pc .main-text {
  font-size: 1.1rem;
  font-weight: bold;
}

/* スマホ */
.chatbot-banner.sp {
  position: relative;
  width: 120px;
  height: 120px;
  background: var(--line-color);
  border-radius: 50%;
  border: 4px solid var(--base-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--line-color);
}

.chatbot-banner.sp .text {
  margin-top: -5px;
}
.chatbot-banner.sp .close-btn {
  position: absolute;
  top: 0;
  left: 0;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--line-color);
  font-size: 15px;
  font-weight: bold;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  padding-top: 0px;
  padding-left: 2px;
}

.chatbot-banner.sp .q-badge {
  display: block;
  margin: -5px auto 5px;
  color: var(--line-color);
  font-weight: bold;
  border: 2px solid var(--base-color);
  background-color: var(--base-color);
  border-radius: 5px;
  width: 40px;
  height: 30px;
  line-height: 25px;
}

.chatbot-banner.sp .main-text {
  display: block;
  padding-top: 3px;
  font-size: 11px;
  font-weight: bold;
  color: var(--line-color);
  background-color: white;
  border: 1px solid var(--base-color);
  border-top: none;
  border-bottom: none;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
}
.chatbot-banner.sp .main-text .emphasis {
  color: var(--line-color);
  font-size: 20px;
}
/* 表示非表示 */
.pc_show {
  display: block;
}
.sp_show {
  display: none;
}
@media screen and (max-width: 481px) {
  .pc_show {
    display: none;
  }
  .sp_show {
    display: block;
  }
}