@import url('https://unpkg.com/ress/dist/ress.min.css');

body {
	margin: auto;
}

h2 {
	color: #FFD700;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: bold;
	font-size: 25px; margin-top: 0.7em; margin-bottom: 0.7em;
}
h3 {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: bold;
	font-size: 20px; margin-top: 1.5em; margin-bottom: 0.7em;
	color: #666;
	text-transform: none !important;
}
h4 {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 500;
	font-size: 18px; margin-top: 1.0em; margin-bottom: 0.3em;
}
.Cfontmono {
	font-family: 'Source Code Pro', 'Noto Sans JP', monospace;
}
.ChonbunSans {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px; margin-top: 0.5em; margin-bottom: 0.5em;
	letter-spacing: 0.05em;
	line-height: 1.6;
}
.CIndentSans {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px; margin-top: 0.5em; margin-bottom: 0.5em; margin-left: 4em;
	letter-spacing: 0.05em;
	line-height: 1.6;
}
.ChonbunSerif {
	font-family: 'Noto Serif JP', serif;
	font-size: 16px; margin-top: 0.5em; margin-bottom: 0.5em;
	letter-spacing: 0.05em;
	line-height: 1.6;
}
.CIndentSerif {
	font-family: 'Noto Sefif JP', serif;
	font-size: 16px; margin-top: 0.5em; margin-bottom: 0.5em; margin-left: 4em;
	letter-spacing: 0.05em;
	line-height: 1.6;
}
.ChonbunSansMono {
	font-family: 'Source Code Pro', 'Noto Sans JP', sans-serif;
	font-size: 16px; margin-top: 0.5em; margin-bottom: 0.5em;
	letter-spacing: 0.05em;
	line-height: 1.6;
}
.CIndentSansMono {
	font-family: 'Source Code Pro', 'Noto Sans JP', sans-serif;
	font-size: 16px; margin-top: 0.5em; margin-bottom: 0.5em; margin-left: 4em;
	letter-spacing: 0.05em;
	line-height: 1.6;
}
.ChonbunSerifMono {
	font-family: 'Source Code Pro', 'Noto Serif JP', serif;
	font-size: 16px; margin-top: 0.5em; margin-bottom: 0.5em;
	letter-spacing: 0.05em;
	line-height: 1.6;
}
.CIndentSerifMono {
	font-family: 'Source Code Pro', 'Noto Serif JP', serif;
	font-size: 16px; margin-top: 0.5em; margin-bottom: 0.5em; margin-left: 4em;
	letter-spacing: 0.05em;
	line-height: 1.5;
}
.Ccodefilename {
	font-family: 'Source Code Pro', 'Noto Sans JP', monospace;
	color: #808080;
	font-size: 13px;
	#margin-left: 2em;
	margin-top: 0.5em;
}
.Ccode1 {
	font-family: 'Source Code Pro', 'Noto Sans JP', monospace;
	font-size: 14px;
	background-color: #f0f0f0;
	margin-top: 15px;
	margin-bottom: 13px;
	padding: 0.5em;
	overflow-x: auto;
	#overflow-x: scroll;
	white-space:nowrap;
}
.Ccode {
	font-family: 'Source Code Pro', 'Noto Sans JP', monospace;
	font-size: 14px;
	background-color: #f0f0f0;
	margin-bottom: 13px;
	padding: 0.5em;
	overflow-x: auto;
	#overflow-x: scroll;
	white-space:nowrap;
}
.Cterm {
	font-family: 'Source Code Pro', 'Noto Sans JP', monospace;
	font-size: 14px;
	background-color: #808080;
	color: white;
	margin-top: 13px;
	margin-bottom: 13px;
	padding: 0.5em;
	overflow-x: auto;
}
button.CodeCopy {
	font-family: 'Noto Sefif JP', serif;
	font-size: 13px;
	font-style: italic;
	color: #888;
	float: right;
	border-radius: 4px;
	border-width: 0px;
	background: transparent;
}
button.CodeCopy:hover {
	background: #f0f0f0;
}
button.CodeCopy:active {
	background: #888;
}

/* ページヘッダ */

.headcover {
	max-width: 2100px;
	margin: auto;
	height: 320px;
	background-image: url(./headpic_annex.jpg);
	background-size: contain;
	margin-bottom: 1rem;
}

.toptitlefont {
	font-family: "M PLUS 1p", sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size: 36px;
	color: #2f4f4f;
	text-decoration: none;
}

.topsubtitlefont {
	font-family: 'Noto Sans JP', serif;
	font-weight: 600;
	font-size: 14px;
	font-style: italic;
	color: #008b8b;
}


.pagefooter {
	#display: flex;
	padding-top: 1rem;
	background: #eee;
}

.pagefooter table {
	width: 40%;
	margin: 0 auto;
}

.pagefooter a {
	font-family: "M PLUS 1p", sans-serif;
	font-weight: 400;
	font-size: 22px;
	color: black;
	text-decoration: none!important;
}

/* トップページ */

.page {
	display: flex;
	max-width: 1100px;
	margin: auto;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
	font-family: 'Noto Serif JP', serif;
	font-size: 16px; margin-top: 1rem; margin-bottom: 1rem;
	/*border: 1px solid #333;*/
}

.topnav {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.topnavitem {
	font-family: 'Noto Sans JP', serif;
	font-weight: 600;
	font-size: 20px;
	color: #006400;
	margin-top: 1.0rem;
	margin-bottom: 0.5rem;
	margin-left: 1.0rem;
}

.topnavitem a {
	font-family: 'Noto Sans JP', serif;
	font-weight: 600;
	text-decoration: none!important;
	font-size: 20px;
	color: #006400;
	cursor: pointer;
}

.topnavsummary {
	font-family: 'Noto Sans JP', serif;
	font-weight: 500;
	font-size: 14px;
	color: #008080;
	margin-left: 1em;
	margin-right: 4em;
}

/* About */
.about {
	margin-left: 2rem;
	margin-bottom: 1rem;
	font-family: "M PLUS 1p", sans-serif;
	font-weight: 600;
	font-size: 26px;
	color: gold;
	text-decoration: none!important;
}

/* ページ */

.main {
	width: 75%;
	font-family: 'Noto Serif JP', serif;
	font-size: 16px; margin-top: 0.5em; margin-bottom: 0.5em;
	/*background-color: #f8f8f8;*/
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}

.side {
	width: 25%;
	font-family: 'Noto sans JP', sans-serif;
	font-size: 12px; margin-top: 0.5em; margin-bottom: 0.5em;
	/*background-color: #f0f0f0;*/
	padding-right: 1.0rem;
}

.side h3 {
	font-family: "Noto Sans Display", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 18px;
	text-align: left;
	color: black;
}

.nav {
	position: sticky;
	top: 20px;
	overflow-y: scroll;
	height: 100vh;
}

.navitem {
	line-height: 1.0;
	margin-bottom: 0.5rem;
}

.navitem a {
	text-decoration: none!important;
	font-size: 12px;
	color: #222;
}

.navsect {
	line-height: 1.0;
	margin-bottom: 0.5rem;
}

.navsect a::before {
	content: "〓 ";
}
.navsect a {
	text-decoration: none!important;
	font-size: 13px;
	font-weight: 600;
	color: #2f4f4f;
}

.navitempage {
	line-height: 1.0;
	margin-bottom: 0.5rem;
}

.navitempage a {
	text-decoration: none!important;
	font-size: 12px;
	font-weight: 600;
	color: #006400;
}

.navpagetitle {
	text-decoration: none!important;
	font-size: 14px;
	font-weight: 600;
	background-color: #f8f8e0;
	color: #050;
	margin-top: 1.0rem;
	margin-bottom: 0.5rem;
}

.navtitle {
	text-decoration: none!important;
	font-size: 15px;
	font-weight: 600;
	color: #a60;
	margin-top: 1.0rem;
	margin-bottom: 0.5rem;
}

.chapterhead {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 38px; 
	font-weight: 600;
	color: #2f4f4f;
	margin-bottom: 1em;
}

.itemsect::before {
	content: "〓 ";
}

.itemsect {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 26px; 
	font-weight: 600;
	color: #2f4f4f;
	margin-top: 2em;
	margin-bottom: 1em;
	padding-bottom: 0.5em;
	border-bottom: 1px solid #2f4f4f;
}

.itemhead {
	/*background-color: lightcyan;*/
	#border-bottom: solid 1px #eee;
	margin-top: 2.5rem;
	margin-bottom: 0.8rem;
#	background-color: #fcfcfc;
}

.itemheadt1 {
	padding-top: 0.4rem;
	padding-bottom: 0.8rem;
	border-top: solid 3px #aaa;
	border-left: solid 3px #aaa;
	font-family: 'Noto sans JP', sans-serif;
	font-size: 20px;
	letter-spacing: 0.05em;
	color: #666;
	font-weight: 600;
}

.itemheadt3 {
	padding-top: 0;
	padding-bottom: 0.2rem;
	font-family: 'Noto sans JP', sans-serif;
	font-size: 10px;
	color: #888;
}

.itemheadt4 {
	padding-top: 0;
	padding-bottom: 0.2rem;
	font-family: 'Source Code Pro', 'Noto Sans JP', monospace;
	font-size: 10px;
	text-align: right;
	color: #888;
}

.refhead1 {
	#content: url(../storehouse_refhead1.png); 
	background: url(storehouse_refhead1.png);
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 20px; 
	font-style: italic; 
	color: #4682b4;
	text-decoration: none;
	padding-left: 2.5em;
	padding-top: 0.1em;
	padding-bottom: 0.2em;
	background-size: contain;
	background-repeat: no-repeat;
	#vertical-align: middle;
}

.footnote {
	margin-bottom: 0.5rem;
}

.footnote td {
	line-height: 1.2;
	font-size: 12px;
	color: #222;
}


