@charset "UTF-8";

body {
  font-family:'メイリオ','Meiryo','ＭＳ ゴシック','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','sans-serif';
  color:#333;
}

/* ----------------------------------------
	ナビゲーションバー
---------------------------------------- */
.navbar .nav-item a,
.navbar .navbar-brand {
  color: white;
}
.navbar .nav-item a:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* ----------------------------------------
	ボタン
---------------------------------------- */
.baseBtn {
/*  color: white;
  background-color: #A2DAF7; */
  padding: 10px 20px;
  border: none;
  border-radius: 5%;
  transition: background-color 0.3s ease;
}
.baseBtn0 { cursor: pointer; }
.baseBtn1 { background-color: #A2DAF7; }
.baseBtn2 { background-color: #F9D5E5; }
.baseBtn3 { background-color: #FDD361; }
.baseBtn1-off { background-color: #A2DAF7; }
.baseBtn2-off { background-color: #F9D5E5; }
.baseBtn3-off { background-color: #FDD361; }

.baseBtn0:not(:disabled):hover
, .baseBtn1:not(:disabled):hover
, .baseBtn2:not(:disabled):hover
, .baseBtn3:not(:disabled):hover {
  opacity: 0.6 !important;
}

/* ----------------------------------------
	テーブル
---------------------------------------- */
.baseScrollWrapper {
  position: relative;
  overflow-x: auto;
  margin: 0 -15px;
  padding: 0 15px;
  scrollbar-width: thin;
  scrollbar-color: #4CAF50 #f1f1f1;
}

.baseTblGreen th {
	background-color: #4CAF50 !important;
	color: white;
}

/* ----------------------------------------
	セクション
---------------------------------------- */
.baseSectionTitle::after {
  content: '';
  position: absolute;
  top: 50px;
  left: 16px;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #A2DAFA, #81C784);
  border-radius: 2px;
}

.baseSectionNotice {
  font-weight: bold;
  color: #856404;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.baseSectionNotice::before {
  content: '⚠️';
  font-size: 18px;
}

/* ----------------------------------------
	吹き出し
---------------------------------------- */
/* ボーダーなし */
.baseBalloon1 {
  position: relative; /*ボックスの位置を指定する */
  background-color: #FFE135; /* ボックスの背景色を指定する */
  padding: 5px 10px; /* ボックスの余白を指定する */
  border-radius: 20px;/* ボックスに角丸を指定する */
}
.baseBalloon1:after {
  position: absolute; /* 三角形の位置指定 */
  content: ""; /* 三角形のコンテンツ */
  top: 100%; /* 上部から配置の基準位置を決める */
  left: 10%; /* 左から配置の基準位置を決める */
  margin-left: -10px; /* ボーダーの大きさ分左にずらす指定 */
  height:0px; /* ボックスの横幅をなしに指定する */
  width:0px; /* ボックスの高さをなしに指定する */
  border:10px solid; /* 境界線を実線で指定する */
  border-color:transparent; /* 境界線の色を透過に指定する */
  border-top: 10px solid #FFE135; /* 境界線の上部を実線で指定する（可視化） */
}

/* ボーダーあり */
.baseBalloon2 {
  position: relative;
  display: inline-block;
  margin: 20px; /* margin: 1.5em 0; */
  padding: 10px 20px; /* padding: 7px 10px; */
  min-width: 120px;
  max-width: 100%;
  color: #333;
  font-size: 16px;
  background: #FFE135;
  border: solid 2px #555;
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.baseBalloon2:before {
  content: "";
  position: absolute;
  bottom: -26px; /* bottom: -24px; */
  left:48px; /*left: 50%; */
  margin-left: -15px;
  border: 14px solid transparent; /* border: 12px solid transparent; */
  border-top: 14px solid #FFE135; /* border-top: 12px solid #FFF; */
  z-index: 2;
}
.baseBalloon2:after {
  content: "";
  position: absolute;
  bottom: -28px;
  left:50px; /*left: 50%; */
  margin-left: -17px;
  border: 14px solid transparent;
  border-top: 14px solid #555;
/* border: 14px solid transparent;
  border-top: 14px solid #555; */
  z-index: 1;
}
.baseBalloon2 p {
  margin: 0;
  padding: 0;
}

/* ----------------------------------------
	チャット
---------------------------------------- */
.chat-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.chat-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1rem;
}

.message {
  display: flex;
  margin-bottom: 1rem;
}

.message.user {
  justify-content: flex-end;
}

.message-content {
  max-width: 70%;
  padding: 0.75rem 1rem;
  border-radius: 1.2rem;
  font-size: 0.95rem;
  position: relative;
}

.message.user .message-content {
  background-color: #dcf8c6;
  border-bottom-right-radius: 0;
}

.message.bot .message-content {
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-bottom-left-radius: 0;
}

.chat-input {
  border-top: 1px solid #ddd;
  padding: 0.5rem;
  display: flex;
  align-items: center;
}

.chat-input input {
  flex-grow: 1;
  margin-right: 0.5rem;
}
