* {
	box-sizing: border-box;
}

:root {
	--title: 42px;
	--head2: 34px;
	--text: 20px;
	--link: #2c548a;
}

html {
	font-size: 16px;
	text-underline-offset: 0.1em;
	font-kerning: none;
}

body {
	font-weight: 400;
	overflow-x: hidden;
	/* font-family: 'Zen Maru Gothic', sans-serif; */
	font-family: 'Noto Sans JP', sans-serif;
	width: min(90vw, 640px);
	margin-inline: auto;
	/* background-image: linear-gradient(to top, #fff1eb 0%, #ace0f9 100%); */
	background-color: #ceced1;
}

header {
	margin-block-end: 4rem;
}

h1 {
	font-family: 'Zen Antique', serif;
	font-size: var(--title);
}

h2 {
	font-size: 24px;
}

p {
	position: relative;
	margin-inline-start: 3em;
	padding: 12px;
	background-color: #c8c8c8;
	border-radius: 10px;
	line-height: 2;
}

p::before {
	content: "";
	position: absolute;
	background-image: url(img/frog_3d.png);
	background-size: cover;
	height: 48px;
	width: 48px;
	top: 0px;
	left: -60px;
}

a {
	color: var(--link);
	text-decoration-thickness: 1px;
}

a[target="_blank"]::after {
	content: "";
	display: inline-block;
	background-image: url(kani.png);
	background-size: cover;
	width: 30px;
	height: 20px;
}

header h1 a {
	color: initial;
	text-decoration: none;
}

img {
	--w: 0;
	width: min(100%, var(--w));
	height: auto;
}

figure {
	width: 100vw;
	margin-inline: calc(50% - 50vw);
	text-align: center;
}

ins {
	text-decoration: none;
}

.article-all-wrapper {
	display: flex;
	flex-direction: column;
}

.article-all-wrapper>div {
	margin-block-end: 1.6em;
}

.note {
	font-size: 16px;
}

.pagination {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	justify-items: center;
}

@media(min-width:576px) {
	html {
		font-size: var(--text);
	}

	body {
		font-weight: 500;
	}

	h2 {
		font-size: var(--head2);
	}

	p {
		all: revert;
		line-height: 2;
	}
	p::before {
		content: none;
	}

	/* .article-all-wrapper>div {
		position: relative;
	}

	.article-all-wrapper>div::before {
		content: "";
		background-image: url(img/frog_3d.png), url(img/frog_3d.png), url(img/frog_3d.png);
		background-size: contain;
		width: 140px;
		height: 50px;
		display: inline-block;
		position: absolute;
		top: 0px;
		right: -70px;
		background-position: left, center, right;
		background-repeat: no-repeat, no-repeat, no-repeat;
		transform: rotate(45deg);
	}
 */
}

@media (hover: hover) {

	/* 縦書き */
	.vertical {
		writing-mode: vertical-rl;
		overflow-x: auto;
		text-orientation: upright;
		margin: 3em;
	}

	.vertical p {
		line-height: 1.8;
	}

	.vertical figure {
		width: auto;
		margin-inline: initial;
	}
}