/* ==========================================================
   Base — tokens / responsive scale / reset
   スケール: 1rem = デザイン上の10px
   PC(1024px〜): 1440px基準、最大1920pxまで比例拡大
   SP(〜1023px): 390px基準、最大600pxまで比例拡大
   ========================================================== */
:root {
	--c-blue: #1133cd;
	--c-lime: #d8ff36;
	--c-bg: #f0f4fc;
	--c-line: #ccd5e8;
	--c-text: #141414;
	--c-sub: #4a5261;
	--c-white: #fff;
	--c-black: #111;
	--f-jp: "Noto Sans JP", sans-serif;
	--f-en: "Archivo", "Noto Sans JP", sans-serif;
	--f-cond: "Barlow Condensed", "Noto Sans JP", sans-serif;
	--min-fs: 10px;
}

html {
	font-size: calc(min(100vw, 1920px) / 144);
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (max-width: 1023px) {
	html {
		font-size: calc(min(100vw, 600px) / 39);
	}
}

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

body {
	margin: 0;
	font-family: var(--f-jp);
	font-size: max(min(1.4rem, 14px), var(--min-fs));
	line-height: 1.8;
	color: var(--c-text);
	background: var(--c-white);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

body.is-locked {
	overflow: hidden;
}

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

ul, ol {
	list-style: none;
}

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

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

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

.l-main {
	display: block;
}

/* 1920px超: 背景は全幅のまま、内容を中央固定 */
.l-wrap {
	width: 100%;
	max-width: 1920px;
	margin-inline: auto;
}

.l-inner {
	width: 100%;
	max-width: 1920px;
	margin-inline: auto;
	padding-inline: 6.4rem;
}

@media (max-width: 1023px) {
	.l-inner {
		padding-inline: 2rem;
	}
}

.u-pc { display: block; }
.u-sp { display: none; }

@media (max-width: 1023px) {
	.u-pc { display: none; }
	.u-sp { display: block; }
}

.u-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}
}
