section {
	color: var(--text-color-black);
}

section > * {
	margin-inline: auto;
	max-width: 940px;
}

section h2 {
	font-size: clamp(2.4rem, 2.04rem + 0.7500000000000001vw, 3rem);
}

article > h1 {
	padding-top: 40px;
	font-size: clamp(1.8rem, 1.44rem + 0.75vw, 2.4rem);
}

article > aside {
	padding: clamp(1rem, 0.4rem + 1.25vw, 2rem) 0px 40px;
	font-size: 0.875em;
}

article > aside a {
	margin-left: 20px;
}

article > figure img {
	display: block;
	border-radius: 2px;
	max-width: 100%;
}

@media (max-width: 768px) {
	article > figure {
		margin-right: -20px;
		margin-left: -20px;
	}
}

article > ul {
	display: flex;
	justify-content: space-between;
}

article > ul:has(li.prev:only-child) {
	justify-content: flex-end;
}

article > ul li a {
	display: inline-flex;
	align-items: center;
	color: var(--text-color-black);
}

article > ul li.next a {
	flex-direction: row-reverse;
}

article > ul li.next a::after {
	content: "\2190";
	margin-right: 4px;
}

article > ul li.prev a::after {
	content: "\2192";
	margin-left: 4px;
}

article > ul li.next a::before {
	transform-origin: bottom left;
}

article > ul li.next a.on::before {
	transform-origin: bottom right;
}

article > p {
	padding-top: 10px;
	text-align: center;
}

article > p > a {
	display: inline-block;
	border-bottom: solid 1px transparent;
	color: var(--text-color-black);
}

article > p > a.on {
	border-bottom: solid 1px var(--text-color-black);
}

article > div {
	padding: 40px 20px;
	text-align: left;
}

@media (max-width: 768px) {
	article > div {
		padding: 40px 0px;
	}
}

article > div h1 {
	padding-bottom: 10px;
	font-size: clamp(2rem, 1.52rem + 1vw, 2.8rem);
}

article > div h2 {
	padding-bottom: 10px;
	font-size: clamp(1.8rem, 1.44rem + 0.75vw, 2.4rem);
}

article > div h3 {
	padding-bottom: 10px;
	font-size: clamp(1.6rem, 1.36rem + 0.5vw, 2rem);
}

article > div h4 {
	padding-bottom: 10px;
	font-size: clamp(1.4rem, 1.28rem + 0.25vw, 1.8rem);
}

article > div h5 {
	padding-bottom: 10px;
	font-size: clamp(1.2rem, 1.2rem + 0.25vw, 1.6rem);
}

article > div > div {
	margin-bottom: 40px;
}

article > div > p {
	padding-bottom: 20px;
}

article > div hr {
	display: block;
	background-color: var(--text-color-black);
	margin: 20px auto;
	width: 85%;
	height: 1px;
}

article > div em {
	font-style: italic;
	font-weight: normal;
}

article > div blockquote {
	display: block;
	background-color: #eeeeee;
	border-left: solid 10px #cccccc;
	border-radius: 2px;
	margin-bottom: 20px;
	padding: 10px 1.0em;
}

article > div code {
	display: block;
	background-color: #160a5e;
	border-radius: 2px;
	padding: 10px 1.0em;
	color: #ffffff;
}

article > div pre {
	display: block;
	padding-bottom: 20px;
}

article > div figure {
	display: flex;
	justify-content: center;
	align-items: center;
	padding-bottom: 40px;
}

article > div figure img {
	display: block;
	border-radius: 2px;
	max-width: 100%;
	height: auto;
}

article > div table {
	border: solid 1px var(--text-color-black);
	border-radius: 1px;
	border-collapse: separate;
	border-spacing: 0px;
	margin-bottom: 20px;
}

article > div table tr th,
article > div table tr td {
	padding: 5px 10px;
}

article > div table tr th:not(:last-of-type),
article > div table tr td:not(:last-of-type) {
	border-right: solid 1px var(--text-color-black);
}

article > div table tr:not(:last-of-type) th,
article > div table tr:not(:last-of-type) td {
	border-bottom: solid 1px var(--text-color-black);
}

article > div ul {
	list-style-type: disc;
	margin: 0px 0px 20px 30px;
}

article > div ol {
	list-style-type: decimal;
	margin: 0px 0px 20px 26px;
}

article > div a {
	display: inline-flex;
	align-items: center;
	position: relative;
	color: var(--text-color-black);
	transition: all 0.5s;
}

article > div a:not(:has(img))::before {
	content: "";
    position: absolute;
	bottom: -2px;
	left: 0;
	background-color: var(--text-color-black);
    width: 100%;
    height: 2px;
	transform: scaleX(1);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

article > div a.on:not(:has(img))::before {
	width: 100%;
	transform: scaleX(0);
	transform-origin: bottom right;
	transition: transform 0.25s ease-out;
}

article > div a[target="_blank"]:not(:has(img))::after {
	content: "";
	display: inline-block;
	background: url(../img/icon_external_link.svg) 100% 50% / contain no-repeat;
	padding-left: 6px;
	width: 0.9em;
	height: 0.9em;
}

article > figure {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 20px;
	padding-bottom: 40px;
}

article > figure img {
	display: block;
	border-radius: 2px;
	max-width: 100%;
	height: auto;
}