@charset "UTF-8";
/* Page layout, one block per section in page order. PC first; SP at max-width 768px.
   The MV is laid out on the Figma canvas: positions are design px / 1920 (SP: / 393) in cqw. */

/*-----------
header
-----------*/
header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
	padding: 0 24px 0 12px;
	background: #fff;
	transition: background-color .3s;
}
.menu-button {
	width: 50px;
	height: 50px;
	padding: 4px;
	border: 0;
	background: none;
	cursor: pointer;
}

.menu-button img { width: 100%; }
.header-menu {
	position: absolute;
	top: 100%;
	left: 12px;
	display: none;
	flex-direction: column;
	gap: 4px;
	min-width: 280px;
	padding: 16px 20px;
	border: 3px solid var(--accent);
	border-radius: 20px;
	background: #fff;
}
.menu-button[aria-expanded="true"] + .header-menu { display: flex; }
.header-menu a {
	padding: 8px 0;
	color: var(--text);
	font-family: var(--font);
	font-weight: 700;
	font-size: 17px;
	letter-spacing: .02em;
	text-decoration: none;
	transition: color .2s;
}
.header-menu a:hover { color: var(--accent); }
/* share: X / Facebook / LINE at the bottom of the menu */
.menu-share { display: flex; align-items: center; gap: 14px; margin-top: 8px; padding-top: 14px; border-top: 2px solid var(--blue-pale); }
/* "Language" and "Share" labels: one width, so the JP / EN / ZH links and the share icons line up */
.header-menu .menu-row-label { flex: none; width: 88px; padding: 0; color: var(--accent); font-weight: 700; font-size: 15px; text-decoration: none; }
.header-menu .menu-share a { padding: 0; line-height: 0; transition: opacity .2s; }
.header-menu .menu-share a:hover { opacity: .7; }
.menu-share img { width: 32px; height: 32px; }
.menu-lang { display: none; align-items: center; gap: 14px; margin-top: 8px; padding-top: 12px; border-top: 2px solid var(--blue-pale); }
.header-menu .menu-lang > * { padding: 6px 0; color: var(--accent); font-weight: 700; font-size: 16px; }
.header-menu .menu-lang .active { text-decoration: underline; }
.header-logos {
	position: absolute;
	left: 50%;
	top: 10px;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	/* Figma PC: a 436 x 79 tab from 10px down, so it hangs 19px below the 70px white bar */
	width: 436px;
	height: 79px;
	padding: 0 0 6px;
	border-radius: 0 0 20px 20px;
	background: #fff;
}
/* scrolled (final.js adds .is-scrolled to the header): the logo tab slides up out of view */
.header-logos { transition: transform .35s ease, opacity .35s ease, visibility 0s; }
header.is-scrolled .header-logos {
	transform: translate(-50%, -110%);
	opacity: 0;
	visibility: hidden;
	transition: transform .35s ease, opacity .35s ease, visibility 0s .35s;
}
/* scrolled on PC: no white bar; the menu button becomes the SP corner box and the language links
   move into the menu (the tablet / SP header, which already looks like this) */
@media screen and (min-width: 1101px) {
	header.is-scrolled { padding-left: 0; background-color: transparent; pointer-events: none; }
	header.is-scrolled > * { pointer-events: auto; }
	/* the corner box: the PC icon (42px) with room around it in the SP proportions */
	header.is-scrolled .menu-button { align-self: flex-start; width: auto; height: auto; padding: 9px 13px 14px 11px; border-radius: 0 0 12px 0; background: #fff; }
	header.is-scrolled .menu-button img { width: 42px; }
	header.is-scrolled .header-menu { top: 72px; left: 8px; }
	header.is-scrolled .header-btn { box-shadow: 0 0 0 3px #fff; } /* outside the button */
	header.is-scrolled .language { display: none; }
	header.is-scrolled .menu-lang { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
	header { transition: none; }
	.header-logos, header.is-scrolled .header-logos { transition: none; }
}
.header-logos > * { flex: none; }
.logo-hololive { width: 165px; }
.logo-gsc { width: 162px; }
.header-nav { display: flex; align-items: center; gap: 18px; }
.language { position: relative; }
.language summary {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 200px;
	height: 45px;
	border: 3px solid var(--accent);
	border-radius: 10px;
	background: #fff;
	color: var(--accent);
	font-size: 20px;
	list-style: none;
	cursor: pointer;
}
.language summary::-webkit-details-marker { display: none; }
.language summary::after {
	content: "";
	position: absolute;
	right: 14px;
	top: 50%;
	border: 5px solid transparent;
	border-top: 6px solid var(--accent);
	border-bottom: 0;
	transform: translateY(-50%);
}
/* open: the list hangs straight off the button as one box (no gap, shared border) */
.language[open] summary { border-radius: 10px 10px 0 0; border-bottom: 0; padding-bottom: 3px; }
.language[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.language-list {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden; /* no space under ZH: the active row's colour follows the rounded corners */
	border: 3px solid var(--accent);
	border-top: 0;
	border-radius: 0 0 10px 10px;
	background: #fff;
}
.language-list > * { padding: 6px 0; color: var(--accent); text-align: center; text-decoration: none; }
.language-list .active { background: var(--blue-pale); }
.header-btn {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 40px;
	padding: 0 12px 0 28px;
	border-radius: 10px;
	background: var(--accent);
	color: #fff;
	font-size: 20px;
	text-decoration: none;
	white-space: nowrap;
	transition: box-shadow .3s;
}
.header-btn::after {
	content: "";
	width: 24px;
	height: 24px;
	background: url("../images/icon_arrow.svg") center / contain no-repeat;
}
@media screen and (max-width: 1400px) {
	.header-logos { width: 340px; gap: 16px; }
	.logo-hololive, .logo-gsc { width: 120px; }
	.language summary { width: 150px; font-size: 16px; }
	.header-btn { font-size: 16px; padding-left: 16px; }
}
/* up to tablet width the language and preorder buttons would run into the centred logos:
   the header becomes the SP one (language links inside the menu) */
@media screen and (max-width: 1100px) {
	header { padding: 0 6px 0 0; background: none; pointer-events: none; }
	header > * { pointer-events: auto; }
	/* Figma SP: the menu button is a white 47 x 48 box in the top-left corner, icon 4px from the edge */
	.menu-button { align-self: flex-start; width: 47px; height: 48px; margin: 0; padding: 6px 9px 11px 7px; border-radius: 0 0 10px 0; background: #fff; }
	.header-logos { top: 0; width: auto; height: auto; gap: 14px; padding: 8px 22px 6px; border-radius: 0 0 16px 16px; }
	.logo-hololive { width: 97px; }
	.logo-gsc { width: 87px; }
	/* language and the preorder button move into the menu panel on SP */
	.header-nav { display: none; }
	.header-menu { top: 54px; left: 8px; min-width: 260px; } /* just under the 48px button */
	.menu-lang { display: flex; }
}
@media screen and (max-width: 768px) {
	/* the logo tab: 257 x 48 in Figma SP */
	.header-logos { width: 257px; height: 48px; padding: 0 0 2px; justify-content: center; gap: 15px; }
}

/*-----------
#mv
-----------*/
#mv {
	/* The header tab is a fixed 89px tall but the MV scales with the width: below ~1650px its panel
	   would creep up under the tab. Push the MV content down to keep at least 30px under the tab
	   (0 on wide screens); the MV grows by the same amount. */
	--mv-shift: max(0px, 119px - 7.19vw);
	position: relative;
	overflow-x: clip; /* the figures' slide-in; vertical stays visible: the feet overlap #about */
	container-type: inline-size;
	box-sizing: content-box;
	padding-bottom: var(--mv-shift);
	aspect-ratio: 1920 / 2041;
	background:
		url("../images/bg_corner_tl.svg") left 0 top 2.29vw / 33.65% auto no-repeat, /* Figma: 44px down at 1920 */
		url("../images/bg_corner_tr.svg") right 0 top 2.29vw / 23.13% auto no-repeat,
		url("../images/bg_corner_br.svg") right bottom / 33.65% auto no-repeat,
		url("../images/bg_corner_bl.svg") left bottom / 23.13% auto no-repeat,
		linear-gradient(90deg, var(--blue-pale) 50%, var(--pink-pale) 50%);
}
#mv > .mv-panel, #mv > .mv-figure, .mv-title > * { margin-top: var(--mv-shift); }
/* tablet / SP: no white header bar, so the top corner shapes start at the top edge, and no shift */
@media screen and (max-width: 1100px) {
	#mv { --mv-shift: 0px; background-position: left 0 top 0, right 0 top 0, right bottom, left bottom, 0 0; }
}
#mv > *, .mv-panel > * { position: absolute; }
.mv-panel {
	border-radius: 2.6cqw;
	overflow: hidden;
	background-color: rgba(255, 255, 255, .92);
	background-image: var(--grid);
	background-size: 4.17cqw 4.17cqw;
	background-position: 0 2.085cqw; /* half a square: no line along the panel's top edge */
}
/* decorations sit on the panel; their positions are on the page canvas, so undo the panel offset */
.mv-panel > .mv-deco { margin: -7.19cqw 0 0 -3.65cqw; }
.mv-figure { z-index: 4; } /* above #about (z-index 3): the feet overlap its box */
#mv > .mv-title { position: static; } /* its logo and names are placed on the MV itself */
.mv-title .mv-logo { max-width: none; }
.mv-title > * { position: absolute; z-index: 6; }
.mv-name img { width: 100%; }
.mv-name .name-title { font-size: 6.25cqw; transform: rotate(-3deg); }
.mv-name-fuwawa { text-align: right; }
.mv-name-mococo { text-align: right; }
.mv-name .name-title { margin-top: 2cqw; }
/* en / zh: the same glow as the ja title SVGs (feDropShadow, σ 10 at 1060px wide ≈ .083em; CSS blur = 2σ).
   A filter on the whole title, so it glows around the white outline too. */
.mv-name .name-title { text-shadow: none; filter: drop-shadow(0 0 .17em #3384b2); }
.mv-name .name-title.is-pink { filter: drop-shadow(0 0 .17em #be3175); }

#mv .mv-panel { left: 3.65cqw; top: 7.19cqw; width: 92.71cqw; height: 84.27cqw; }
#mv .deco-fuwamoco { left: 5.36cqw; top: 8.49cqw; width: 25.21cqw; }
#mv .deco-baubau { left: 72.92cqw; top: 69.79cqw; width: 20.73cqw; }
#mv .deco-paw-pink { left: 83.18cqw; top: 12.08cqw; width: 10.16cqw; }
#mv .deco-paw-blue { left: 9.11cqw; top: 78.96cqw; width: 10.16cqw; }
/* the paws are tilted in Figma (a layer rotation the SVG export drops) */
.deco-paw-pink, .preorder-paw.paw-pink { transform: rotate(-15deg); }
.deco-paw-blue, .preorder-paw.paw-blue { transform: rotate(15deg); }
#mv .deco-dots-blue { left: 8.39cqw; top: 59.69cqw; width: 11.88cqw; }
#mv .deco-dots-pink { left: 51.82cqw; top: 9.48cqw; width: 12.97cqw; }
#mv .deco-stripe-blue { left: 25.57cqw; top: 71.67cqw; width: 14.17cqw; }
#mv .deco-stripe-pink { left: 56.51cqw; top: 65.99cqw; width: 14.17cqw; }
#mv .deco-star-1 { left: 8.70cqw; top: 30.94cqw; width: 4.11cqw; }
#mv .deco-star-2 { left: 64.27cqw; top: 83.02cqw; width: 4.11cqw; }
#mv .mv-fuwawa { left: 1.35cqw; top: 4.11cqw; width: 49.32cqw; }
#mv .mv-mococo { left: 52.24cqw; top: 3.54cqw; width: 45.21cqw; }
#mv .mv-logo { left: 40.99cqw; top: 25.89cqw; width: 19.22cqw; }
#mv .mv-name-fuwawa { left: 5.91cqw; top: 35.34cqw; width: 55.21cqw; }
#mv .mv-name-mococo { left: 39.41cqw; top: 42.28cqw; width: 55.21cqw; }

/* MV animation (CSS only, so the MV still shows without JS).
   Entrance once: panel and decorations fade in, the figures slide in from their sides, the logo pops,
   the names slide in. Then the decorations float and the stars twinkle; the figures stay still.
   Uses the individual translate / scale / rotate properties so the paws keep their tilt (transform). */
@keyframes mv-fade { from { opacity: 0; } }
@keyframes mv-in-left { from { opacity: 0; translate: -8% 0; } }
@keyframes mv-in-right { from { opacity: 0; translate: 8% 0; } }
@keyframes mv-rise { from { opacity: 0; translate: 0 6%; } }
@keyframes mv-pop {
	0% { opacity: 0; scale: .6; }
	60% { opacity: 1; scale: 1.08; }
	100% { scale: 1; }
}
@keyframes mv-float { to { translate: 0 -12px; } }
@keyframes mv-twinkle { 50% { scale: .8; rotate: 15deg; } }
@media (prefers-reduced-motion: no-preference) {
	.mv-panel { animation: mv-fade .6s ease-out both; }
	.mv-panel > .mv-deco { animation: mv-fade .8s .3s ease-out both, mv-float 3.2s 1.1s ease-in-out infinite alternate; }
	.mv-panel > .deco-baubau { animation-duration: .8s, 2.6s; }
	.mv-panel > .deco-fuwamoco { animation-duration: .8s, 3.8s; }
	.mv-panel > .deco-paw-pink, .mv-panel > .deco-paw-blue { animation-duration: .8s, 2.4s; }
	.mv-panel > .deco-star-1, .mv-panel > .deco-star-2 { animation: mv-fade .8s .3s ease-out both, mv-twinkle 2.8s 1.1s ease-in-out infinite; }
	.mv-panel > .deco-star-2 { animation-delay: .3s, 2.5s; }
	.mv-fuwawa { animation: mv-in-left .9s .2s cubic-bezier(.2, .8, .3, 1) both; }
	.mv-mococo { animation: mv-in-right .9s .35s cubic-bezier(.2, .8, .3, 1) both; }
	.mv-title .mv-logo { animation: mv-pop .7s .85s ease-out both; }
	.mv-name-fuwawa { animation: mv-in-left .7s 1s cubic-bezier(.2, .8, .3, 1.2) both; }
	.mv-name-mococo { animation: mv-in-right .7s 1.15s cubic-bezier(.2, .8, .3, 1.2) both; }
}
/* hold the MV entrance animation in its first frame (all transparent) until the loader lifts */
@media (prefers-reduced-motion: no-preference) {
	html:not(.is-loaded) #mv * { animation-play-state: paused; }
}

@media screen and (max-width: 768px) {
	/* overflow: the figures run past both sides of the screen (Fuwawa from -15.78cqw, Mococo to 108.91cqw).
	   body's overflow-x: clip doesn't stop sideways scrolling on iOS Safari; nothing reaches below the MV on SP. */
	#mv {
		overflow: hidden;
		aspect-ratio: 393 / 852;
		background-size: 45% auto, 32% auto, 45% auto, 32% auto, auto;
		background-position: left 0 top 0, right 0 top 0, right bottom, left bottom, 0 0;
	}
	.mv-panel { border-radius: 6cqw; background-size: 10cqw 10cqw; background-position: 0 5cqw; }
	.mv-panel > .mv-deco { margin: -17.05cqw 0 0 -5.09cqw; }
	.mv-panel > .deco-star-1, .mv-panel > .deco-star-2 { display: none; }
	.mv-name .name-title { font-size: 10.2cqw; margin-top: 0; }
	#mv .mv-panel { left: 5.09cqw; top: 17.05cqw; width: 89.82cqw; height: 171.76cqw; }
	#mv .deco-fuwamoco { left: 6.87cqw; top: 21.63cqw; width: 37.15cqw; }
	#mv .deco-baubau { left: 64.38cqw; top: 132.57cqw; width: 27.74cqw; }
	#mv .deco-paw-pink { left: 79.64cqw; top: 23.16cqw; width: 12.72cqw; }
	#mv .deco-paw-blue { left: 10.18cqw; top: 139.19cqw; width: 11.20cqw; }
	#mv .deco-dots-blue { left: 9.41cqw; top: 108.91cqw; width: 17.30cqw; }
	#mv .deco-dots-pink { left: 61.07cqw; top: 34.35cqw; width: 17.30cqw; }
	#mv .deco-stripe-blue { left: 25.95cqw; top: 58.52cqw; width: 19.34cqw; }
	#mv .deco-stripe-pink { left: 52.16cqw; top: 105.60cqw; width: 19.34cqw; }
	#mv .mv-fuwawa { left: -15.78cqw; top: 16.03cqw; width: 75.06cqw; }
	#mv .mv-mococo { left: 40.46cqw; top: 15.01cqw; width: 68.45cqw; }
	#mv .mv-fuwawa { z-index: 5; } /* SP: Mococo behind Fuwawa */
	#mv .mv-logo { left: 25.19cqw; top: 126.21cqw; width: 49.62cqw; }
	#mv .mv-name-fuwawa { left: 2.24cqw; top: 150.08cqw; width: 95.67cqw; text-align: center; }
	#mv .mv-name-mococo { left: 1.76cqw; top: 165.09cqw; width: 95.67cqw; text-align: center; }
}

/*-----------
#about
-----------*/
#about { position: relative; z-index: 3; margin-top: -9.58%; }
.about-box {
	padding: clamp(28px, 4.2vw, 80px) 24px clamp(28px, 3.4vw, 64px);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
	text-align: center;
}
.about-sub { margin-top: 4px; font-size: clamp(14px, 0.393vw + 12.46px, 20px); }
.about-text { margin-top: clamp(16px, 2vw, 32px); font-size: clamp(18px, 0.917vw + 14.40px, 32px); line-height: 1.6; }
@media screen and (max-width: 768px) {
	#about { margin-top: -19.85%; }
	.about-box { width: calc(100% - 40px); padding-left: 12px; padding-right: 12px; }
	.about-box .en-title { font-size: min(28px, 7.1vw); white-space: nowrap; }
}

/*-----------
#fuwawa / #mococo (detail photos)
-----------*/
.detail { position: relative; padding: clamp(56px, 11.9vw, 228px) 0 0; overflow: hidden; }
#about + .detail { margin-top: 0; }
.detail-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 5.85%;
	width: min(1608px, calc(100% - 40px));
}
.detail-photo img {
	width: 100%;
	border: 6px solid var(--blue);
	border-radius: 20px;
}
.detail.is-pink .detail-photo img { border-color: var(--pink); }
.detail-title { position: relative; z-index: 2; font-size: clamp(34px, 5.632vw + 11.87px, 120px); line-height: 1; }

#fuwawa .photo-face { grid-area: 1 / 1; }
#fuwawa .photo-tail { grid-area: 1 / 2 / 3; margin-top: 8.58%; align-self: start; }
#fuwawa .photo-shoes { grid-area: 2 / 1; margin-top: 6.97%; }
#fuwawa .detail-title { grid-area: 3 / 1 / 4 / 3; justify-self: end; margin-top: -5.47%; }
#mococo .photo-face { grid-area: 1 / 2; }
#mococo .photo-tail { grid-area: 1 / 1 / 3; margin-top: 9.83%; align-self: start; }
#mococo .photo-shoes { grid-area: 2 / 2; margin-top: 7.52%; }
#mococo .detail-title { grid-area: 3 / 1 / 4 / 3; justify-self: start; margin: -5.47% 0 0 -1%; }
#mococo { padding-top: clamp(40px, 11.5vw, 221px); }

.detail-deco { position: absolute; z-index: 0; }
#fuwawa .deco-star-a { left: 7.45%; top: 2.5%; width: 4.11%; }
#fuwawa .deco-star-b { left: 69.95%; top: 10%; width: 4.11%; }
#fuwawa .deco-dots { left: 75.36%; top: 4.6%; width: 20.26%; }
#fuwawa .deco-stripe { left: 3.39%; top: 64%; width: 14.17%; }
#mococo .deco-star-a { left: 7.55%; top: 20%; width: 4.11%; }
#mococo .deco-star-b { left: 69.11%; top: 12%; width: 4.11%; }
#mococo .deco-dots { left: 75.57%; top: 4%; width: 20.26%; }
#mococo .deco-stripe { left: 3.39%; top: 72%; width: 14.17%; }

@media screen and (max-width: 768px) {
	.detail-grid { display: flex; flex-direction: column; gap: 16px; width: calc(100% - 56px); }
	/* the name titles as wide as the photos: width / (Modak advance per em + the outer outline 0.17em) */
	.detail-grid { container-type: inline-size; }
	#fuwawa .detail-title { font-size: calc(100cqw / 9.023); } /* "Fuwawa Abyssgard": 8.853em */
	#mococo .detail-title { font-size: calc(100cqw / 8.738); } /* "Mococo Abyssgard": 8.568em */
	#fuwawa .detail-photo, #mococo .detail-photo { margin-top: 0; } /* the PC offsets of the 2-column layout */
	.detail-photo img { border-width: 4px; border-radius: 16px; }
	.detail-title { margin: -2px 0 !important; text-align: center; }
	.detail.is-pink { padding-top: 48px; }
	/* Figma SP: the star above each section is 51px wide, 17px from the left of the 393 frame.
	   #id selectors: the PC rules above are #id too, so .detail alone would lose to them. */
	#fuwawa .deco-star-a, #mococo .deco-star-a { left: 4.33%; width: 13%; }
	#fuwawa .deco-star-a { top: 28px; }
	#mococo .deco-star-a { top: 8px; }
	/* not in the SP design: the PC decorations scattered the same way, peeking out behind the photos */
	#fuwawa .deco-dots, #mococo .deco-dots { left: 72%; width: 32%; }
	#fuwawa .deco-star-b, #mococo .deco-star-b { left: 84%; width: 13%; }
	#fuwawa .deco-stripe, #mococo .deco-stripe { left: -4%; width: 26%; }
	#fuwawa .deco-dots { top: 18%; }
	#fuwawa .deco-star-b { top: 47%; }
	#fuwawa .deco-stripe { top: 74%; }
	#mococo .deco-dots { top: 22%; }
	#mococo .deco-star-b { top: 52%; }
	#mococo .deco-stripe { top: 78%; }
}

/*-----------
#gallery
-----------*/
/* overflow: the slider shows its side slides past the viewport (overflow: visible); clip them here.
   body's overflow-x: clip alone doesn't stop sideways scrolling on iOS Safari. */
#gallery { padding: clamp(64px, 11.5vw, 221px) 0 0; overflow: hidden; }
#gallery .en-title { margin-bottom: clamp(0px, 1.9vw, 36px); } /* + the slider's 24px top padding = the design's 60px */
/* design: active slide 600px (SP 275), the others 400px (SP 183), bottoms aligned, the same 59px gap
   (SP 27px) between every pair. Each slide is a slot of "small photo + gap"; the slides left / right
   of the active one move out by half the extra width of the large photo.
   .swiper.gallery-slider: wins over swiper-bundle.css whichever stylesheet loads last (overflow / padding). */
.swiper.gallery-slider {
	--g: clamp(275px, 31.25vw, 600px);                 /* large photo */
	--small: calc(var(--g) * 2 / 3);                    /* small photo */
	--gap: clamp(27px, 3.07vw, 59px);
	--shift: calc((var(--g) - var(--small)) / 2);
	overflow: visible;
	padding: 24px 0 clamp(60px, 4.2vw, 81px);          /* room for the glow above and the pager below */
}
.gallery-slider .swiper-slide {
	width: calc(var(--small) + var(--gap));
	display: flex;
	justify-content: center;
	transition: transform .5s;
}
.gallery-slider .swiper-slide-active ~ .swiper-slide { transform: translateX(var(--shift)); }
.gallery-slider .swiper-slide:has(~ .swiper-slide-active) { transform: translateX(calc(-1 * var(--shift))); }
.gallery-slider figure {
	flex: none;
	width: var(--g);
	transform: scale(.667);
	transform-origin: center bottom;
	transition: transform .5s;
}
.gallery-slider img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	object-position: 50% 30%; /* portrait photos: keep the faces in the square */
	border-radius: 20px;
}
.gallery-slider .swiper-slide-active figure { transform: none; }
.gallery-slider figure a { display: block; cursor: pointer; }
.gallery-slider .swiper-slide-active figure a { cursor: zoom-in; }
.gallery-slider .swiper-slide-active img { border: 6px solid #fff; box-shadow: 0 0 20px rgba(146, 102, 255, .35); }
.gallery-slider .gallery-pagination {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
}
.gallery-pagination .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	margin: 0 !important;
	border-radius: 50%;
	background: #d9d9d9;
	opacity: 1;
}
.gallery-pagination .swiper-pagination-bullet-active {
	width: 23px;
	height: 22px;
	border-radius: 0;
	background: url("../images/icon_paw.svg") center / contain no-repeat;
}
.set-pill {
	max-width: 1000px;
	margin: clamp(32px, 3.75vw, 72px) auto 0;
	padding: 12px 32px;
	border-radius: 100px;
	background: linear-gradient(90deg, var(--blue) 0%, #d7caff 52.885%, var(--pink) 100%);
	color: #fff;
	font-size: clamp(14px, 0.393vw + 12.46px, 20px);
	line-height: 1.6;
	text-align: center;
}
@media screen and (max-width: 768px) {
	.gallery-slider img { border-radius: 12px; }
	.gallery-slider .swiper-slide-active img { border-width: 4px; }
	.set-pill { padding: 12px 28px; }
}
@media (prefers-reduced-motion: reduce) {
	.gallery-slider figure, .gallery-slider .swiper-slide { transition: none; }
}

/*-----------
#preorder
-----------*/
#preorder {
	margin-top: clamp(40px, 7.1vw, 138px);
	padding: clamp(40px, 5.1vw, 98px) 0;
	background:
		url("../images/bg_corner_tl.svg") left top / 33.65% auto no-repeat,
		url("../images/bg_corner_tr.svg") right top / 23.13% auto no-repeat,
		url("../images/bg_corner_br.svg") right bottom / 33.65% auto no-repeat,
		url("../images/bg_corner_bl.svg") left bottom / 23.13% auto no-repeat,
		linear-gradient(90deg, var(--blue-pale) 50%, var(--pink-pale) 50%);
}
.preorder-box {
	position: relative;
	width: min(1739px, calc(100% - 78px)); /* the ring outside it keeps 20px to the screen edge */
	padding: clamp(40px, 5.2vw, 100px) clamp(20px, 3vw, 60px) clamp(40px, 4.7vw, 90px);
	border-radius: 20px;
	background: #fff;
	text-align: center;
	/* the outer white line, with a see-through gap to the box (Figma: 10px line, 9px gap) */
	--ring: 10px;
	--ring-gap: 9px;
}
.preorder-box::before {
	content: "";
	position: absolute;
	inset: calc(-1 * (var(--ring) + var(--ring-gap)));
	border: var(--ring) solid #fff;
	border-radius: calc(20px + var(--ring) + var(--ring-gap));
	pointer-events: none;
}
.preorder-paw { position: absolute; width: clamp(54px, 8.4vw, 161px); }
/* the paws are decoration: keep the text and buttons above them */
.preorder-box > :not(.preorder-paw) { position: relative; z-index: 1; }
/* mirrored: same distance from the top-right and bottom-left corners */
.preorder-paw { --paw-inset: clamp(16px, 3.2vw, 60px); }
.preorder-paw.paw-pink { right: var(--paw-inset); top: var(--paw-inset); }
.preorder-paw.paw-blue { left: var(--paw-inset); bottom: var(--paw-inset); }
.preorder-period { margin-top: clamp(16px, 1.8vw, 34px); font-size: clamp(22px, 1.441vw + 16.34px, 44px); line-height: 1.4; }
.sp-br { display: none; }
@media screen and (max-width: 768px) {
	.sp-br { display: inline; }
}
.countdown { margin-top: clamp(16px, 2.6vw, 50px); }
.countdown-label { font-size: clamp(16px, 0.524vw + 13.94px, 24px); }
.countdown-time { font-size: clamp(16px, 0.524vw + 13.94px, 24px); line-height: 1.2; }
.countdown-time .num { font-size: clamp(28px, 1.048vw + 23.88px, 44px); color: var(--blue); }
.countdown-time .num:nth-of-type(even) { color: var(--pink); }
.countdown-time .num:not(:first-child) { margin-left: .4em; }
@media screen and (min-width: 769px) {
	.countdown { display: flex; justify-content: center; align-items: baseline; gap: 1.2em; }
}
.preorder-buttons {
	display: flex;
	justify-content: center;
	gap: clamp(24px, 4.2vw, 80px);
	margin-top: clamp(28px, 3.9vw, 75px);
}
.preorder-buttons .btn { width: 472px; max-width: 100%; }
.preorder-note-title { margin-top: clamp(28px, 3.9vw, 74px); font-size: clamp(16px, 0.917vw + 12.40px, 30px); }
.preorder-note {
	max-width: 1200px;
	margin: clamp(12px, 1.4vw, 26px) auto 0;
	font-size: clamp(14px, 0.327vw + 12.71px, 19px);
	line-height: clamp(26px, 0.655vw + 23.43px, 36px);
	text-align: left;
}
@media screen and (max-width: 768px) {
	.preorder-box { --ring: 4px; --ring-gap: 4px; width: calc(100% - 56px); padding-inline: 10px; } /* SP: 4px line, 4px gap, box 337px at 393, text 317px */
	.preorder-paw { width: 54px; }
	.preorder-buttons { flex-direction: column; align-items: center; gap: 24px; }
	.preorder-buttons .btn { width: calc(100% - 12px); padding-inline: 40px; } /* 304px wide at 393, as in Figma SP */
	.preorder-note { padding: 0 6px; }
}

/*-----------
#spec
-----------*/
#spec {
	padding: clamp(48px, 4.7vw, 91px) 0 clamp(56px, 4.8vw, 92px);
	/* its own grid, restarted half a square down below the preorder block */
	background-color: #fff;
	background-image: var(--grid);
	background-size: var(--grid-cell) var(--grid-cell);
	background-position: 0 calc(var(--grid-cell) / 2);
}
.spec {
	margin-top: clamp(24px, 3.75vw, 72px);
	font-size: clamp(14px, 0.393vw + 12.46px, 20px);
	line-height: clamp(25px, 0.851vw + 21.65px, 38px);
	text-align: center;
}
.spec dt:not(:first-child) { margin-top: 1lh; }
.spec dd { margin: 0; }

/*-----------
footer
-----------*/
footer {
	padding: clamp(40px, 5.1vw, 98px) 20px clamp(48px, 6.4vw, 124px);
	border-radius: 50px 50px 0 0;
	background: linear-gradient(90deg, var(--blue) 0%, var(--lavender) 50%, var(--pink) 100%);
	color: #fff;
	text-align: center;
}
.footer-hololive { display: block; width: clamp(128px, 10vw, 191px); margin: 0 auto; transition: opacity .2s; }
.footer-hololive img { width: 100%; }
.footer-hololive:hover { opacity: .75; }
.footer-logos {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: clamp(24px, 2.3vw, 45px);
	margin-top: clamp(24px, 1.8vw, 35px);
}
.footer-logos img { width: clamp(120px, 9.5vw, 183px); }
.footer-logos img[alt="POP UP PARADE"] { width: clamp(90px, 7.1vw, 137px); }
.footer-logos a { transition: opacity .2s; }
.footer-logos a:hover { opacity: .75; }
.copyright { margin-top: clamp(28px, 3.2vw, 61px); font-size: clamp(12px, 0.262vw + 10.97px, 16px); line-height: 2.25; }
@media screen and (max-width: 768px) {
	footer { border-radius: 24px 24px 0 0; }
}
