/* ==========================================================================
   Reset
   - すべて :where() で詳細度0にし、ブロックや theme.json のスタイルを常に優先させる
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

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

:where(body) {
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

/* ブラウザ既定の余白を解除（ブロック間の余白は theme.json の blockGap で管理） */
:where(h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol) {
	margin: 0;
}

:where(img, video) {
	max-width: 100%;
	height: auto;
}

:where(button, input, select, textarea) {
	font: inherit;
	color: inherit;
}

:where(button) {
	cursor: pointer;
}

:where(table) {
	border-collapse: collapse;
}
