/* チャット起動ボタン */
#chat-toggle {
	position: fixed;
	bottom: 10px;
	right: 20px;
	width: 60px;
	height: 60px;
	background-color: #3399ff;
	color: white;
	border: none;
	border-radius: 50%;
	font-size: 28px;
	cursor: pointer;
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
	z-index: 1000;
}
/* チャットボット本体 */
.chat-container {
	position: fixed;
	bottom: 90px;
	right: 20px;
	width: 100%;
	max-width: 340px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	/*overflow: hidden;*/
	display: none;	/*flex*/
	flex-direction: column;
	height: 75vh;	/*90*/
	z-index: 999;
}
.chat-header {
	display: grid;
	overflow-y: 20px;
	border-radius: 8px 8px 0 0;
	padding: 10px;
	background-color: #009900;
	color: white;
	text-align: center;
	font-weight: bold;
	font-size: 18px;
}
.chat-box {
	display: grid;
	overflow-y: auto;
	padding: 10px;
	border-bottom: 1px solid #ccc;
}
.message {
	display: inline-block;
	margin: 5px 0;
	max-width: 80%;
	padding: 10px 14px;
	border-radius: 20px;
	line-height: 1.5;
	font-size: 14px;
	word-break: break-word;
}
.user {
	align-self: flex-end;
	background-color: #cceeff;
	margin-left: auto;
	border-bottom-right-radius: 0;
	text-align: right;
}
.bot {
	align-self: flex-start;
	background-color: #eeeeee;
	margin-right: auto;
	border-bottom-left-radius: 0;
}
.button-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 12px;
}
.option-btn {
	padding: 10px;
	border: none;
	border-radius: 10px;
	background-color: #3399ff;
	color: white;
	cursor: pointer;
	font-size: 14px;
	text-align: left;
}
.option-btn:hover {
	background-color: #1a8cff;
}

@media screen and (max-width: 480px) {
	.message, .option-btn {
		font-size: 12px;
		padding: 10px;
	}
	.message {
		text-align: left;
	}
}
