/* ------------------------------------------------------------
   reset — 最小限の正規化
   ------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol {
	margin: 0;
	padding: 0;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

a { color: inherit; text-decoration: none; }

/* 本文中の画像がスマホで横に飛び出さないための最重要ルール。
   旧サイトの記事には width が px 固定の <img> が多数あるため必須。 */
img, svg, video, iframe {
	max-width: 100%;
	height: auto;
	display: block;
	border: 0;
}

button, input, select, textarea {
	font: inherit;
	color: inherit;
	margin: 0;
}

button { background: none; border: 0; cursor: pointer; }

table { border-collapse: collapse; width: 100%; }

address { font-style: normal; }

:focus-visible {
	outline: 2px solid var(--moss);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}
