@charset "utf-8";
/* Copyright (C) 2024 Akamoz project */
h1, h2, h3, h4, h5, b, strong, th, dt, .sans-serif, .date, .altpb {
	font-family: Helvetica, Arial, "Hiragino Kaku Gothic ProN",
		"BIZ UDPGothic", "YuGothic", "ＭＳ Ｐゴシック", sans-serif;
	font-feature-settings: "palt";
	font-weight: normal;
}
b, dt {
	font-weight: 600;
}
body, .serif {
	font-family: "Times New Roman", "Hiragino Mincho ProN",
		"BIZ UDPMincho", "YuMincho", "ＭＳ Ｐゴシック", serif;
	font-feature-settings: "palt";
}
pre, code, kbd, .monospace {
	font-family: "Courier New", "Osaka-mono",
		"BIZ UDGothic", "ＭＳ ゴシック", monospace;
}
body {
	text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	line-height: 1.4;
	padding: 0px;
	margin: 0px;
	text-align: justify;
}
h1, h2, h3 {
	margin: 0px;
	background-color: #eef;
	border: solid #88f 1px;
	border-color: #ddf #aaf #aaf #ddf;
	color: #44c;
	padding-bottom: 1px;
	margin-bottom: 0.5em;
}
h1 {
	font-size: 150%;
	text-align: center;
}
h2 {
	margin-left: -0.5em;
	font-size: 120%;
}
h3 {
	border-top-color: #ddf;
	border-left-color: #ddf;
	background-color: transparent;
	font-size: 110%;
}
.navi {
	font-family: helvetica, arial, sans-serif;
	font-weight: normal;
	margin: 1px;
}
.navi a {
	display: inline-block;
	line-height: 1.2;
	min-width: 1.5em;
	text-align: center;
	padding: 0px 1px;
	border: solid #88f 1px;
	border-radius: 0.3ex;
	background-color: #ddfc;
	color: #22c;
	text-decoration: none;
}
.navi a:hover {
	background-color: #eef;
}
p.topnavi {
	position: fixed; top: 0.1em; right: 0.1em;
	border-radius: 0.5em;
	background-color: #0af2;
	padding: 0.2em;
}
/* h1 is outside .top */
.top {
	margin: 0em 0.5em 0em 1em;
}
h2, h3, h4, h5, h6 {
	margin-top: 0.5em;
	margin-left: -0.5em;
	padding-left: 0.3em;
}
p, dl, dt, dd, ul, li, hr {
	margin: 0em;
}
dl, ul {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}
dt, li {
	margin-top: 0.5em;
	margin-bottom: 0.3em;
}
p, dd {
	margin-top: 0.3em;
	margin-bottom: 0.3em;
}
.vgap {
	margin-top: 0.7em;
}
dd {
	margin-left: 1em;
}
.preamble, hr, .foot {
	margin-left: -0.5em;
}
hr {
	height: 1px;
	background-color: silver;
	border: none;
}
code {
	padding: 0px 0.5ex;
}
.date {
	display: inline-block;
	line-height: 1;
	font-weight: normal;
	font-size: 80%;
	vertical-align: top;
	border: 1px solid gray;
	padding: 1px;
	color: #444;
}
.old {
	color: #888;
}
.date.new {
	color: #000;
	font-weight: bold;
	border-color: black;
}
.new-wh {
	font-weight: bold;
}
.old-wh {
	color: silver;
}
ul {
	padding-left: 1.5em;
}
.foot {
	font-size: 75%;
	line-height: 1.2;
}
.nr {
	white-space: nowrap;
}
p.afig {
	font-size: 80%;
	margin-top: 1em;
	margin-bottom: 1em;
	text-align: center;
}
.afig img {
	max-width: 95%;
	height: auto;
}
/* alternate push button */
.altpb {
	font-size: 80%;
	line-height: 1.2;
	padding: 0px 1px;
	font-weight: normal;
	margin: 1px;
	vertical-align: middle;
	text-align: center;
	white-space: nowrap;
	display: inline-block;
	min-width: 4em;
	cursor: pointer;
	background-color: #eee;
	border: solid 1px silver;
	color: gray;
}
.altpb:hover {
	cursor: pointer;
	background-color: white;
	border-color: black;
	color: black;
}
.nd { /* no display, default for target of altpb */
	display: none;
}
pre, .srcbox {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	margin-left: 0.5em;
}
pre {
	font-size: 95%;
	padding: 0.2em;
	max-width: max-content;
}
.inner {
	max-width: fit-content;
	min-height: 10em;
	max-height: 10em;
}
.inner, pre {
	overflow: scroll;
	overscroll-behavior: none;
}
.inner pre {
	overflow: visible;
	width: max-content;
}
.srcbox pre {
	margin: 0px;
}
.q, .inner:has(.q) {
	border: 2px solid #88f;
	background-color: #eef;
}
.inner .q, .inner:has(.q) {
	border-width: 1px;
}
.stretcher-buttons .init::before {
	content: "元に戻す";
}
.stretcher-buttons .stretch::before {
	content: "拡げる";
}
.stretcher-buttons .full::before {
	content: "全部";
}
.stretcher-buttons .exec::before {
	content: "実行してみる";
}
.stretcher-buttons a {
	text-decoration: none;
}
table {
	margin-left: 1em;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	border-spacing: 0px;
}
table, th, td {
	border: 1px solid silver;
}
td, th {
	border-left: none;
	border-top: none;
	padding: 2px;
}
table {
	border-right: none;
	border-bottom: none;
}
th {
	text-align: center;
}
.r {
	text-align: right;
}
.c {
	text-align: center;
}
@media screen and (orientation: portrait) {
	.top {
		margin-left: 0.5rem;
	}
	.preamble {
		margin-left: 0em;
	}
	h1 {
		font-size: 130%;
	}
	h2, h3, h4, h5, h6 {
		margin-top: 0.7em;
		margin-right: -0.5rem;
	}
	p, dd {
		margin-top: 0.3em;
		margin-bottom: 0.5em;
	}
	dl, ul {
		margin-top: 0.7em;
		margin-bottom: 0.7em;
	}
	dt, li {
		margin-top: 0.7em;
		margin-bottom: 0.5em;
	}
	dt {
		margin-top: 0.5em;
		margin-bottom: 0.3em;
	}
	dd {
		margin-left: 0.7em;
	}
	ul {
		padding-left: 1em;
	}
	pre, .srcbox {
		margin-top: 0.7em;
		margin-bottom: 0.7em;
		margin-left: 0em;
		font-size: 90%;
	}
}
@media screen and (width < 550px) {
	h1 {
		text-align: left;
		padding-left: 0.1em;
	}
}
@media screen and (width < 400px) {
	h1 {
		margin-top: 1.5em;
	}
}
