/**
 * Reset, box model, body defaults.
 * Figma WebDesign--26 — EN body defaults; JP on html:lang(ja) body.
 * Build step: 3
 */

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

/* Matches .text-body (light-body-en) — see typography.css */
body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-ink);
	font-family: var(--font-body-en);
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.8;
	letter-spacing: var(--tracking-body);
}

html:lang(ja) body {
	font-family: var(--font-body-jp);
	font-size: 14px;
	font-weight: 500;
	line-height: 2;
	letter-spacing: 0;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100%;
	left: 0;
	z-index: 9999;
	padding: 0.75rem 1.25rem;
	background: var(--color-bg);
	color: var(--color-ink);
	font-family: var(--font-body-en);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	outline: 2px solid var(--color-ink);
	outline-offset: -2px;
}

.skip-link:focus-visible {
	top: 0;
}
