html, body {
	position: relative;
	width: 100%;
	height: 100%;
}

body {
	overflow: hidden;
	color: #333;
	margin: 0;
	padding: 8px;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

a {
	color: rgb(0,100,200);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:visited {
	color: rgb(0,80,160);
}

label {
	display: block;
}

input, button, select, textarea {
	font-family: inherit;
	font-size: inherit;
	padding: 0.4em;
	margin: 0 0 0.5em 0;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 2px;
}

input:disabled {
	color: #ccc;
}

button {
	color: #333;
	background-color: #f4f4f4;
	outline: none;
}

button:disabled {
	color: #999;
}

button:focus {
	border-color: #666;
}


/* グローバルスタイルここから */
.generated-response h1{
	font-size: 2em;
	font-weight: bold;
}

.generated-response h2{
	font-size: 1.5em;
	font-weight: bold;
}

.generated-response table {
	background: #313131;
	width: 100%;
	color: #FFFFFF;
	border: 1px solid #ccc;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 8px;
}

.generated-response .header{
	background: #313131;
}

.generated-response th, .generated-response td {
	text-align: left;
	padding: 8px;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
}

.generated-response tr:nth-child(even) {
	background: #626263;
}

.generated-response th {
	color: white;
	background: #313131;
}

.generated-response td {
	background: #626263;
}

.generated-response table tr:last-child td {
	border-bottom: none;
}

/* borderの外側に丸みをつける */
.generated-response table tr:first-child th:first-child,
.generated-response table tr:first-child td:first-child {
	border-top-left-radius: 8px;
}

.generated-response table tr:first-child th:last-child,
.generated-response table tr:first-child td:last-child {
	border-top-right-radius: 0; /* この行を変更 */
}

.generated-response table tr:last-child td:first-child {
	border-bottom-left-radius: 8px;
}

.generated-response table tr:last-child td:last-child {
	border-bottom-right-radius: 8px;
}

.generated-response h1, .generated-response h2, .generated-response p, .generated-response table{
	margin-bottom: 30px;
}

/* コードブロック全体のスタイル */
.generated-response pre {
	background-color: #1e1e1e;
	border-radius: 6px;
	padding: 20px;
	overflow-x: auto;
	margin-bottom: 20px;
}

.generated-response code {
	font-family: 'Consolas', 'Monaco', 'Andale Mono', 'Ubuntu Mono', monospace;
	font-size: 14px;
	color: #d4d4d4;
	line-height: 1.5;
}

/* Pythonの構文ハイライト */
.generated-response .language-python .keyword {
	color: #569cd6;
}

.generated-response .language-python .function {
	color: #dcdcaa;
}

.generated-response .language-python .string {
	color: #ce9178;
}

.generated-response .language-python .number {
	color: #b5cea8;
}

.generated-response .language-python .comment {
	color: #6a9955;
	font-style: italic;
}

/* 行番号（オプション） */
.generated-response .line-numbers {
	counter-reset: line;
	padding-left: 3em;
	position: relative;
}

.generated-response .line-numbers > span {
	counter-increment: line;
	display: inline-block;
	width: 100%;
}

.generated-response .line-numbers > span::before {
	content: counter(line);
	color: #858585;
	display: inline-block;
	width: 2em;
	margin-left: -3em;
	margin-right: 1em;
	text-align: right;
}

.generated-response pre {
	white-space: pre-wrap !important;
	word-wrap: break-word !important;
	overflow-wrap: break-word !important;
	tab-size: 4 !important;
}

.generated-response pre code {
	white-space: pre-wrap !important;
	word-break: keep-all !important;
}

.generated-response code:not(pre code) {
	background: black;
	padding: 4px 10px;
	color: orange;
	border-radius: 4px;
}

hr{
	border: none;
	height: 1px;
	background: repeating-linear-gradient(
		to right,
		#95a5a6 0px,
		#95a5a6 8px,
		transparent 8px,
		transparent 16px
	);
	margin: 30px 0;
}



/* 以下. マークダウン用のスタイル */
/*li>p {*/
/*	margin-top: 30px !important;*/
/*	margin-bottom: 5px !important;*/
/*	font-weight: bold !important;*/
/*}*/
