.main {

	width: 100%;
	max-width: 1000px;
	margin: 20px;
	padding: 40px;
	background-color: #ffffff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	
}
.main h1 {
	font-size: 32px;
}
.main h2 {
	font-size: 24px;
}

.container {
	max-width: 1000px;
	margin: 20px;
	padding: 20px;
	background-color: #ffffff;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	text-align: center;
}

body, html {
	height: 100%;
	margin: 0;
	font-family: Arial, sans-serif;
	position: relative;
}
pre {
	font-family: Arial, sans-serif;
}

#chatWindow {
	position: fixed;
	bottom: 10px;
	right: 10px;
	width: 400px; /* 幅を400pxに設定 */
	height: 700px; /* 高さを700pxに設定 */
	background-color: #f9f9f9;
	border: 2px solid #ccc;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.3);
	overflow: hidden;
	display: flex;
	flex-direction: column; /* フレックスボックスを縦方向に設定 */
}

#chatMessages {
	flex: 1; /* チャットメッセージ領域をフレキシブルに拡張 */
	overflow-y: auto;
	padding: 10px;
	background: white;
	border-bottom: 1px solid #ddd;
	border-radius: 8px 8px 0 0;
}

#chatForm {
	/* flex-direction: column; この設定は不要になる可能性があります */
	padding: 10px;
}

#chatForm input[type="text"], #chatForm input[type="file"] {
	margin-bottom: 10px;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 5px;
}

#chatForm button {
	padding: 10px 20px;
	background-color: #007bff;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

#fileUploadStatus {
	margin-bottom: 10px;
	padding: 0px 20px;
	background: #ddd;
}
#buttonsContainer {
	display: flex; /* フレックスボックスとして扱う */
	justify-content: center; /* 中央寄せ */
	margin: 20px 0; /* 上下に20pxのマージンを設定 */
}
#clearChat, #stopVoice {
	margin: 0 5px; /* ボタンの間に10pxのマージンを設定 */
	padding: 5px 10px; /* パディングを調整 */

	display: block; /* ブロック要素として扱う */
	width: 150px; /* ボタンの幅を150ピクセルに設定 */
	background-color: #007bff; /* ボタンの背景色 */
	color: white; /* ボタンのテキスト色 */
	border: none; /* ボタンの境界線をなくす */
	border-radius: 5px; /* ボタンの角を丸くする */
	cursor: pointer; /* ホバー時のカーソルをポインターにする */
}

#clearChat:hover, #stopVoice:hover {
	background-color: #c33;
}
#caution, #chat_title, .footer {
	padding: 8px auto;
	text-align: center;
}

#closeChatWindow {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 25px;
	height: 25px;
	font-size: 16px;
	line-height: 1;
	padding: 0;
	border: none;
	background-color: #eee;
	cursor: pointer;
	border:solid 1px #aaa;
}
#closeChatWindow:hover {
	background-color: #dddd; /* ホバー時の背景色変更 */
}