/**
 * Base styles
 */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-ja);
	font-size: 16px;
	line-height: 1.8;
	color: var(--color-text);
	background: var(--color-white);
	overflow-x: clip;
}

img,
picture,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1, h2, h3, h4, h5, h6, p {
	margin: 0;
}

button {
	font: inherit;
	cursor: pointer;
	border: none;
	background: none;
	padding: 0;
}

.skip-link {
	position: absolute;
	top: -100%;
	left: 16px;
	z-index: 10000;
	padding: 8px 16px;
	background: var(--color-navy);
	color: var(--color-white);
	border-radius: var(--radius-sm);
}

.skip-link:focus {
	top: 16px;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.container {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--container-padding);
}

.section-label {
	font-family: var(--font-en);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-gold);
	margin-bottom: 12px;
}

.section-label--center {
	text-align: center;
}

.section-heading {
	font-size: clamp(24px, 3.5vw, 36px);
	font-weight: 600;
	line-height: 1.5;
	color: var(--color-navy);
	margin-bottom: 24px;
}

.section-heading--center {
	text-align: center;
}

.section-body {
	max-width: 760px;
	color: var(--color-text-muted);
}

.section-body p + p {
	margin-top: 1em;
}

.page-content {
	padding: calc(var(--header-height) + 40px) 0 80px;
}

/* Custom logo image sizing is scoped in header.css / footer.css (no nested .custom-logo-link). */
