/* 2025.04.17.01 */

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	height: 100%;
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
}

*, *::before, *::after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center,
dl, dt, dd, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	display: flex;
	font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Segoe UI', HiraginoCustom, 'Hiragino Kaku Gothic ProN', YuGothic, 'Yu Gothic Medium', Meiryo, 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
	position: relative;
	background: #f8f8f8;
	min-height: 100svh;
}

fieldset, img {
	border: 0;
}

img {
	vertical-align: middle; /* imgの下の無駄な空白を抑止 */
}

p, h1, h2, h3, h4, h5, h6 {
	margin: 18px 0;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

header h1 {
	margin: 0;
}

header h1 {
	font-size: 20px;
	text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

header a {
	color: #fff;
	text-decoration: none;
}

.header-left a h1, .header-left a div {
	display: inline;
	vertical-align: middle;
}

.header-right {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.header-left {
	display: flex;
	align-items: center;
}

.title h1 {
	font-size: 32px;
	font-weight: bold;
	line-height: 1.5;
}

.single-page {
	display: block;
	max-width: 800px;
	width: 100%;
	background: #fff;
	padding: 32px;
	margin: 0 auto;
	min-height: calc(100vh - 250px);
	border-radius: 6px;
}

/*

.single-page a {
	text-decoration: none;
	padding: 4px;
}

.single-page h2 a {
	text-decoration: none;
	color: #000088;
}

.single-page h3 {
	font-size: 28px;
	font-weight: bold;
}

.single-page h4 {
	font-size: 24px;
	font-weight: bold;
	border-bottom: 1px solid #ddd;
}

.single-page h5 {
	font-size: 24px;
	font-weight: bold;
}

.single-page h6 {
	font-size: 18px;
	font-weight: bold;
	border-bottom: 1px solid #ddd;
}

.single-page img {
	max-width: 100%;
}

.single-page a:hover {
	background: #cdf;
}

.single-page img {
	max-width: 100%;
}

.single-page .title {
	margin-bottom: 32px;
}

 */

.lang {
	font-size: 20px;
}

.pages article {
	line-height: 1.5;
}

.pages {
	padding-top: 24px;
	margin-top: 24px;
	border-top: 2px solid #ddd;
	font-size: 18px;
}

.pages a {
	display: block;
}

footer {
	display: flex;
	background-color: #789;
	color: #fff;
	padding: 16px;
	font-size: 14px;
	justify-content: space-between;
	min-height: 80px;
	align-items: center;
	width: 100%;
	margin-top: auto;
}

footer a {
	color: #fff;
}

.footer-column {
	flex: 1 1 0;
	white-space: nowrap;
	margin: 8px 8px 8px 0;
}

.footer-left {
	display: flex;
	align-items: center;
}

a {
	color: #00f;
}

.site-title {
	font-size: 20px;
	font-weight: bold;
}

.introduction {
	font-weight: bold;
	margin: 32px 0;
	font-size: 18px;
	line-height: 2;
}

header a {
	color: #fff;
	text-decoration: none;
}

.header-right {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.header-left a h1, .header-left a div {
	display: inline;
	vertical-align: middle;
}

.header-subtitle {
	text-shadow: 0 0 8px rgba(0, 0, 0, .5);
}

.logo {
	font-family: 'Orbitron', sans-serif;
	background-color: #fff;
	color: #000;
	padding: 4px;
	margin-right: 16px;
}

.firstview {
	height: 100vh;
	max-height: 100%;
}

.firstview h1 {
	position: absolute;
	top: calc(50vh - 50px);
	left: 50%;
	padding: 24px;
	background-color: rgba(0, 0, 0, 0.7);
	border-radius: 6px;
	text-align: center;
	color: #fff;
	transform: translate(-50%, -50%);
}

.subtitle {
	font-size: 18px;
	font-weight: bold;
}

.eyecatch {
	margin-bottom: 16px;
	object-fit: cover;
	overflow: hidden;
}

.eyecatch img {
	width: 100%;
}

.category {
	margin-left: 1em;
}

.language a {
	padding: 6px;
	font-size: 16px;
}

.language a:hover {
	background-color: #75d;
}

.language .current-lang {
	background-color: rgba(0, 0, 0, .5);
	color: #fff;
	font-size: 16px;
	padding: 6px;
}

.social {
	margin-top: 16px;
}

.authors {
	margin-left: 8px;
}

.published {
	font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
	font-size: 14px;
	color: #888;
}

section .published {
	display: block;
	text-align: right;
}

.recent {
	font-size: 24px;
	margin: 40px 0;
	font-weight: bold;
	background: aliceblue;
}

section {
	margin: 40px 0;
}

#toc nav {
	font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Segoe UI', HiraginoCustom, 'Hiragino Kaku Gothic ProN', YuGothic, 'Yu Gothic Medium', Meiryo, 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
	background-color: #f0f0f0;
	padding: 24px;
	margin-bottom: 32px;
	line-height: 1.5;
	color: #444;
	border-radius: 8px;
	font-size: 18px;
}

#toc ul {
	margin: 0;
}

#toc ul, #toc li {
	/*	margin: 0; */
}

#toc li a {
	display: block;
	line-height: 2;
	padding: 0;
}

#toc h2 {
	margin: 0;
	font-size: 18px;
}

.tag-section {
	margin-top: 16px;
	line-height: 1.5;

}

.tag-keywords {
	border-radius: 4px;
	padding: 4px 8px;
	margin: 4px;
	background-color: #ddd;
	color: #444;
	display: inline-flex;
	font-size: 16px;
}

/* TOC */

.heading-h3 {
	margin-left: 1em;
}

.heading-h3::marker {
	color: #080;
}

.heading-h4 {
	margin-left: 2em;
}

.heading-h4::marker {
	color: #808;
}

.heading-h5 {
	margin-left: 3em;
}

.heading-h5::marker {
	color: #088;
}

.heading-h6 {
	margin-left: 4em;
}

.heading-h6::marker {
	color: #880;
}
