@charset "utf-8";

/*-----------
reset
-----------*/
* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; }  /* no scroll-behavior: Lenis owns scrolling */
li { list-style: none; }
img { height: auto; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/*-----------
tokens
-----------*/
:root {
	--navy: #13448f;
	--accent: #92efea;
	--light: #ecf0f1;
	--serif: "Kaisei Opti", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--sans: "Noto Sans JP", "Hiragino Sans", "ヒラギノ角ゴシック", Arial, "メイリオ", sans-serif;
	/* PC design is 1920 wide; 1px of the comp = 0.0520833vw */
	--u: 0.0520833vw;
	/* --u floored at 1:1. Header controls use this so they hold their comp size as
	   the window narrows instead of shrinking away before the mobile layout takes
	   over at 768 — they still scale up past 1920 with everything else. */
	--uc: max(1px, var(--u));
}

/*-----------
body
-----------*/
body {
	color: #fff;
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.8;
	font-weight: 400;
	background: var(--navy);
	overflow-x: hidden;
	position: relative;
}

.pc { display: block; }
.sp { display: none; }
.sp-br { display: none; }
@media screen and (max-width: 768px) {
	.pc { display: none; }
	.sp { display: block; }
	.sp-br { display: block; }
}

/*-----------
fade animation
-----------*/
.fadein {
	opacity: 0;
	transform: translate(0, 0);
	transition: opacity 1.2s ease, transform 1.2s ease;
}
.fadein.fadein-bottom { transform: translate(0, 30px); }
.fadein.scrollin {
	opacity: 1;
	transform: translate(0, 0);
}
@media (prefers-reduced-motion: reduce) {
	.fadein { opacity: 1; transform: none; transition: none; }
}

/*-----------
buttons
-----------*/
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--light);
	font-weight: 700;
	line-height: 1.3;
	border-radius: 100px;
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
	/* Glass: the comp has ~14% white at the top fading to ~6%, over a blurred
	   backdrop. These were rendering with no fill at all. */
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.07));
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	transition: background 0.3s ease, transform 0.3s ease;
}
/* ring drawn as a masked overlay, not a border: the fill is translucent, so a
   border-box gradient would bleed across the whole pill */
.btn::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(to bottom,
		rgba(255, 255, 255, 0.45),
		rgba(255, 255, 255, 0.22) 30%,
		rgba(255, 255, 255, 0.22) 70%,
		rgba(255, 255, 255, 0.5));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask-composite: exclude;
	pointer-events: none;
}
.btn:hover {
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.18));
	transform: translateY(-2px);
}
.btn-fill { background: linear-gradient(to bottom, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.09)); }
/* navy variant sits on the light paper section, so the glass tints dark not light */
.btn-navy {
	color: var(--navy);
	background: linear-gradient(to bottom, rgba(19, 68, 143, 0.24), rgba(19, 68, 143, 0.14));
}
.btn-navy::after {
	background: linear-gradient(to bottom,
		rgba(19, 68, 143, 0.55),
		rgba(19, 68, 143, 0.3) 30%,
		rgba(19, 68, 143, 0.3) 70%,
		rgba(19, 68, 143, 0.6));
}
.btn-navy:hover { background: linear-gradient(to bottom, rgba(19, 68, 143, 0.36), rgba(19, 68, 143, 0.26)); }
