@charset "UTF-8";

/* ==========================================================================
   Base
   ========================================================================== */
:root {
	--color-text: #fff;
	--color-yellow: #ffe14a;
	--color-pink: #ff4fa3;
	--color-orange: #ff7a2f;
	--color-purple: #2a1150;
	--color-panel: rgba(30, 10, 60, .78);
	--font-base: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

/* ファーストビューを画面幅いっぱいに広げているので、スクロールバー分のはみ出しを切る */
html,
body {
	overflow-x: clip;
}

body {
	margin: 0;
	background: var(--color-purple);
	color: var(--color-text);
	font-family: var(--font-base);
	font-weight: 800;
	font-size: 15px;
	line-height: 1.9;
	-webkit-font-smoothing: antialiased;
}

/* 背景はスクロールさせず画面全面に固定（クイズ番組のステージのスポットライト） */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(ellipse 40% 55% at 15% -5%, rgba(120, 200, 255, .35), transparent 70%),
		radial-gradient(ellipse 40% 55% at 85% -5%, rgba(120, 200, 255, .35), transparent 70%),
		radial-gradient(ellipse 70% 50% at 50% 110%, rgba(255, 79, 163, .35), transparent 70%),
		linear-gradient(180deg, #1c0c3d 0%, #3a1468 55%, #24093f 100%);
}

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

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

ul,
ol {
	list-style: none;
}

a {
	color: inherit;
}

strong {
	color: var(--color-yellow);
}

/* ==========================================================================
   Layout
   ========================================================================== */
.wrapper {
	width: 100%;
	max-width: 640px;
	margin: 0 auto;
	padding: 0 20px;
}

.section {
	padding: 56px 0;
	text-align: center;
}

.section__title {
	display: inline-block;
	min-width: 220px;
	margin-bottom: 32px;
	padding: 6px 32px;
	border-radius: 999px;
	background: var(--color-yellow);
	box-shadow: 0 5px 0 #d99a00;
	color: #c2006b;
	font-size: 20px;
	line-height: 1.6;
	letter-spacing: .12em;
	text-indent: .12em;
}

/* 区切り：ステージの電飾 */
.divider {
	max-width: 480px;
	height: 14px;
	margin: 0 auto;
	background: radial-gradient(circle, #fff6c4 0 3px, #ffd23a 4px 5px, transparent 6px) 0 0 / 22px 14px space no-repeat;
	filter: drop-shadow(0 0 6px rgba(255, 210, 58, .8));
}

/* ==========================================================================
   Site logo（FV右上）
   ========================================================================== */
.site-logo {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 10;
	width: 120px;
}

.site-logo a {
	display: block;
	transition: opacity .2s;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	padding: 0 0 16px;
	text-align: center;
}

/* ファーストビュー：ステージの背景（画面幅いっぱい）にロゴとあわじー */
.hero__stage {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	isolation: isolate;
	/* 背景とあわじーをまとめて、下に向かって透明にしてページの背景になじませる */
	-webkit-mask-image: linear-gradient(#000 65%, transparent);
	mask-image: linear-gradient(#000 65%, transparent);
}

.hero__overlay {
	position: relative;
	z-index: 3;
}

/* 背景画像 */
.hero__stage::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: url("../img/hero_bg.jpg") center top / cover no-repeat;
}

/* スマホ：上からキャッチ・ロゴ・あわじーの縦並び（PCは下のメディアクエリで表紙と同じ配置に） */
.hero__stage {
	padding: 56px 16px 0;
}

.hero__catch {
	position: relative;
	z-index: 2;
	width: 94%;
	max-width: 620px;
	margin: 0 auto;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5));
}

.hero__logo {
	position: relative;
	z-index: 2;
	left: -3%; /* 画像右上の「からの」「500円玉」で右寄りに見えるので少し左へ */
	width: 92%;
	max-width: 560px;
	margin: 14px auto 0;
	filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .55));
	animation: pop-in .7s cubic-bezier(.2, 1.4, .4, 1) both;
}

.hero__awajii {
	position: relative;
	z-index: 1;
	width: 86%;
	max-width: 440px;
	margin: -28px auto 0;
	animation: rise .8s .25s ease-out both;
}

@keyframes pop-in {
	from {
		transform: scale(.6);
		opacity: 0;
	}
}

@keyframes rise {
	from {
		transform: translateY(40px);
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero__logo,
	.hero__awajii {
		animation: none;
	}
}

.hero__badge {
	position: relative;
	z-index: 3;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	margin-top: -28px;
	padding: 12px 28px;
	border-radius: 16px;
	background: var(--color-panel);
	box-shadow: 0 0 0 2px rgba(255, 225, 74, .6);
	line-height: 1.5;
	animation: blink 2.4s ease-in-out infinite;
}

@keyframes blink {
	50% {
		box-shadow: 0 0 0 2px rgba(255, 225, 74, 1), 0 0 18px rgba(255, 225, 74, .6);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero__badge {
		animation: none;
	}
}

.hero__badge-date {
	color: var(--color-yellow);
	font-size: 26px;
	letter-spacing: .04em;
}

.hero__badge-date small {
	margin: 0 .2em 0 .15em;
	font-size: 14px;
	text-transform: uppercase;
}

.hero__badge-text {
	font-size: 16px;
}

/* ==========================================================================
   Intro
   ========================================================================== */
.intro__catch {
	display: grid;
	color: var(--color-orange);
	font-size: 26px;
	line-height: 1.5;
	word-break: keep-all;
	overflow-wrap: anywhere;
}

/*
 * 白フチは、同じ文字を太い線で描いた層を後ろに重ねて作る
 * （文字そのものに線を付けると、線が細いため文字の中のすき間から背景が見えてしまう）
 */
.intro__catch-outline,
.intro__catch-text {
	grid-area: 1 / 1;
}

.intro__catch-outline {
	color: #fff;
	-webkit-text-stroke: 12px #fff;
	/* 濁点などの小さなすき間も埋める */
	filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff);
}

/* filter を付けた層は手前に描かれるので、文字の層をさらに手前にする */
.intro__catch-text {
	position: relative;
}

.intro__text {
	margin-top: 24px;
	font-size: 16px;
	line-height: 2;
	word-break: keep-all;
	overflow-wrap: anywhere;
}

.intro__text p + p {
	margin-top: .6em;
}

/* ==========================================================================
   Kit
   ========================================================================== */
.kit__images {
	max-width: 480px;
	margin: 0 auto;
}

.kit__images img {
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
}

.kit__list {
	display: inline-block;
	margin-top: 28px;
	text-align: left;
}

.kit__list li {
	position: relative;
	padding-left: 1.2em;
}

.kit__list li::before {
	content: "★";
	position: absolute;
	left: 0;
	color: var(--color-yellow);
	font-size: .8em;
	line-height: 2.4;
}

.kit__subtitle {
	margin-top: 40px;
	color: var(--color-yellow);
	font-size: 17px;
	letter-spacing: .1em;
}

.items {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 16px;
}

.items__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 120px;
	padding: 18px 8px 14px;
	border-radius: 16px;
	background: var(--color-panel);
	font-size: 13px;
	line-height: 1.5;
}

.items__icon {
	width: 44px;
	height: 44px;
	margin-bottom: 8px;
	fill: none;
	stroke: var(--color-yellow);
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ==========================================================================
   Notice
   ========================================================================== */
.notice__list {
	width: fit-content;
	max-width: 100%;
	margin: 0 auto;
	font-weight: 500;
	text-align: left;
}

.notice__list li {
	position: relative;
	padding-left: 1.2em;
	word-break: keep-all;
	overflow-wrap: anywhere;
}

.notice__list li + li {
	margin-top: .6em;
}

.notice__list li::before {
	content: "※";
	position: absolute;
	left: 0;
	color: var(--color-yellow);
}

/* ==========================================================================
   Info
   ========================================================================== */
.info__list {
	width: fit-content;
	max-width: 100%;
	margin: 0 auto;
	padding: 8px 20px;
	border-radius: 16px;
	background: var(--color-panel);
	text-align: left;
}

.info__row {
	display: flex;
	gap: 12px;
	padding: 16px 0;
}

.info__row + .info__row {
	border-top: 1px solid rgba(255, 225, 74, .35);
}

.info__row dt {
	flex-shrink: 0;
	width: 4em;
	color: var(--color-yellow);
}

.info__row dd {
	word-break: keep-all;
	overflow-wrap: anywhere;
}

.nowrap {
	white-space: nowrap;
}

.info__row dd small {
	font-size: 12px;
	font-weight: 500;
	opacity: .85;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
	padding: 24px 0 40px;
	text-align: center;
}

.footer__logo {
	width: 200px;
	margin: 0 auto;
}

.footer__logo a {
	display: block;
	transition: opacity .2s;
}

.footer__links {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
}

.btn {
	display: inline-block;
	min-width: 140px;
	padding: 8px 20px;
	border-radius: 999px;
	background: var(--color-pink);
	box-shadow: 0 4px 0 #b3005e;
	color: #fff;
	font-size: 14px;
	text-decoration: none;
	transition: opacity .2s;
}

@media (hover: hover) {
	.btn:hover,
	.site-logo a:hover,
	.footer__logo a:hover {
		opacity: .8;
	}
}

.footer__credit {
	margin-top: 24px;
	font-size: 13px;
}

.footer__sep {
	margin: 0 .5em;
	opacity: .6;
}

.footer__copy {
	margin-top: 8px;
	font-size: 11px;
	font-weight: 500;
	opacity: .7;
}

/* ==========================================================================
   Buzzer（画面下部に固定）
   ========================================================================== */
:root {
	--buzzer-w: min(100vw, 560px);
}

/* 固定のボタンに最後の内容が隠れないように */
body {
	padding-bottom: calc(var(--buzzer-w) * 384 / 1200 + env(safe-area-inset-bottom));
}

.buzzer-bar {
	position: fixed;
	left: 50%;
	bottom: calc(-160px - env(safe-area-inset-bottom));
	z-index: 20;
	width: var(--buzzer-w);
	padding-bottom: env(safe-area-inset-bottom);
	transform: translateX(-50%);
	pointer-events: none;
}

/*
 * 台の下を画面の外まで伸ばしておく
 * （iPhone の Chrome はスクロール中にツールバーが出入りして、固定した要素の下にすき間ができるため）
 * 伸ばした部分も要素の中に含めないと描画されないので、要素ごと 160px 下にずらして中に台の続きを置く
 */
.buzzer-bar__base {
	height: 160px;
	margin-top: -1px;
	background: url("../img/buzzer_desk_bottom.png") 0 0 / 100% 1px repeat-y;
}

.buzzer-bar__desk {
	position: relative;
	z-index: 1;
}

/* 押せるのはボタン部分だけ（机の上の透明部分はクリックを通す） */
.buzzer-bar__btn {
	position: absolute;
	z-index: 2;
	top: 0;
	left: calc(440 / 1200 * 100%);
	width: calc(320 / 1200 * 100%);
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	pointer-events: auto;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation; /* ダブルタップでの拡大を防ぎ、反応を速くする */
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}

/* 光ったボタンは押したときだけ表示 */
.buzzer-bar__btn img {
	opacity: 0;
}

.buzzer-bar__btn.is-on img {
	opacity: 1;
}

/* ==========================================================================
   PC
   ========================================================================== */
@media (min-width: 768px) {
	body {
		font-size: 16px;
	}

	.site-logo {
		top: 28px;
		right: 36px;
		width: 180px;
	}

	/* PC：パッケージ表紙と同じ比率・配置（表紙 1400×993 上の位置を % にしたもの） */
	.hero__stage {
		padding: 0 24px;
	}

	.hero__inner {
		position: relative;
		width: min(100%, 1400px, calc((100vh - 40px) * 1400 / 993));
		aspect-ratio: 1400 / 993;
		margin: 0 auto;
	}

	.hero__catch,
	.hero__logo,
	.hero__awajii {
		position: absolute;
		max-width: none;
		margin: 0;
	}

	.hero__catch {
		z-index: 3;
		top: 13%;
		left: 7%;
		width: 85%;
	}

	/* ロゴはあわじーの手前に重ねる（表紙と同じ） */
	.hero__logo {
		top: 25%;
		left: 0;
		width: 63%;
	}

	.hero__awajii {
		top: 12%;
		right: 0;
		width: 47%;
	}

	/* 発売日はタイトルロゴの下（ロゴの中心に合わせる）。表紙と同じ枠をステージの上に重ねて配置 */
	.hero {
		position: relative;
	}

	.hero__overlay {
		position: absolute;
		top: 0;
		left: 50%;
		width: min(100vw - 48px, 1400px, calc((100vh - 40px) * 1400 / 993));
		aspect-ratio: 1400 / 993;
		transform: translateX(-50%);
		pointer-events: none;
	}

	.hero__badge {
		position: absolute;
		z-index: 3;
		top: 72%;
		left: 31.5%;
		margin: 0;
		transform: translateX(-50%);
		white-space: nowrap;
	}

	.section {
		padding: 72px 0;
	}

	.section__title {
		font-size: 22px;
	}

	.intro__catch {
		font-size: 32px;
	}

	.intro__text {
		font-size: 18px;
	}

	.info__list {
		padding: 8px 32px;
	}

	.info__row {
		gap: 24px;
	}

	.hero__badge-date {
		font-size: 30px;
	}

	.hero__badge-text {
		font-size: 18px;
	}
}
