:root {
	--c-ink: #1a1a1a;
	--c-white: #ffffff;
	--c-cream: #f6f1e9;
	--c-muted: #6b6b6b;
	--c-line: #e4e0d9;
	--c-shiba: #c8783a;
	--c-shiba-deep: #a95e26;

	--f-en: "Oswald", "Zen Kaku Gothic New", sans-serif;
	--f-ja: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;

	--fs-xs: 0.75rem;
	--fs-sm: 0.875rem;
	--fs-base: 1rem;
	--fs-md: 1.125rem;
	--fs-lg: 1.5rem;
	--fs-xl: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
	--fs-display: clamp(3rem, 1.6rem + 5.6vw, 6.5rem);

	--tracking-en: 0.12em;
	--tracking-ja: 0.04em;

	--container: 1200px;
	--gutter: 40px;
	--section-space: 140px;
	--header-h: 96px;
	--header-h-scrolled: 72px;
	--slant: 12deg;

	--ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
	--ease-in-out: cubic-bezier(0.455, 0.03, 0.515, 0.955);
	--dur: 0.8s;
	--dur-s: 0.5s;
}

@media (max-width: 767px) {
	:root {
		--gutter: 20px;
		--section-space: 80px;
		--header-h: 72px;
		--header-h-scrolled: 64px;
	}
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-h-scrolled);
}

body {
	margin: 0;
	font-family: var(--f-ja);
	font-size: var(--fs-base);
	line-height: 1.9;
	letter-spacing: var(--tracking-ja);
	color: var(--c-ink);
	background: var(--c-white);
	font-feature-settings: "palt";
	overflow-wrap: anywhere;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
dl,
dd {
	margin: 0;
}

h1,
h2,
h3,
h4 {
	font-weight: 700;
	line-height: 1.5;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

img,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

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

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

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

::selection {
	color: var(--c-white);
	background: var(--c-shiba-deep);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link:focus {
	z-index: 1000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 12px 20px;
	clip-path: none;
	color: var(--c-white);
	background: var(--c-ink);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
