:root {
	--tiger: #f6c915;
	--tiger-deep: #e6ad00;
	--ink: #181713;
	--paper: #fffdf4;
	--cream: #fff7cf;
	--line: #e6dca7;
	--muted: #696457;
	--white: #fff;
}

* { box-sizing: border-box; }
#container{ scroll-behavior: auto; }
.play {
	margin: 0;
	color: var(--ink);
	font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	line-height: 1.9;
}

.site-header {
	position: relative;
	overflow: hidden;
	padding: 54px 20px 46px;
	color: var(--white);
	text-align: center;
	background: var(--ink);
}
.site-header::before,
.site-header::after {
	content: "";
	position: absolute;
	top: -40%;
	width: 26px;
	height: 180%;
	background: var(--tiger);
	transform: rotate(22deg);
	opacity: .92;
}
.site-header::before { left: 7%; box-shadow: 70px 0 var(--tiger); }
.site-header::after { right: 7%; box-shadow: -70px 0 var(--tiger); }
.eyebrow {
	position: relative;
	z-index: 1;
	margin: 0 0 8px;
	color: var(--tiger);
	font-weight: 800;
	letter-spacing: .18em;
}
.jump-nav {
	display: flex;
	position: relative;
	z-index: 2;
	justify-content: center;
	gap: 12px;
	margin: 0 auto 38px;
	padding: 0 18px;
}
.jump-nav a {
	min-width: 180px;
	padding: 12px 22px;
	border: 2px solid var(--ink);
	border-radius: 999px;
	color: var(--ink);
	background: var(--tiger);
	box-shadow: 0 5px 0 var(--ink);
	font-weight: 800;
	text-align: center;
	text-decoration: none;
	transition: transform .15s, box-shadow .15s;
}
.jump-nav a:hover,
.jump-nav a:focus-visible { transform: translateY(2px); box-shadow: 0 3px 0 var(--ink); }

.game {
	overflow: hidden;
	margin: 0 0 44px;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: var(--paper);
	box-shadow: 0 18px 45px rgba(39,34,14,.10);
}
.game-title {
	margin: 0 !important;
	padding: 22px 30px;
	border-left: 12px solid var(--tiger);
	background: var(--ink);
	color: var(--white) !important;
	font-size: clamp(1.45rem, 4vw, 2.2rem);
	line-height: 1.35;
}
.game-title small {
	display: inline-block;
	margin-left: .45em;
	color: var(--tiger);
	font-size: .58em;
	letter-spacing: .08em;
}
.hero-image { display: block; width: 100%; height: auto; aspect-ratio: 1.834 / 1; object-fit: cover; }
.steps { padding: 14px 30px 34px; counter-reset: step; }
.step {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 18px;
	padding: 28px 0;
	border-bottom: 1px solid var(--line);
	counter-increment: step;
}
.step:last-child { border-bottom: 0; }
.step::before {
	content: counter(step, decimal-leading-zero);
	display: grid;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	place-items: center;
	color: var(--ink);
	background: var(--tiger);
	box-shadow: 3px 3px 0 var(--ink);
	font-weight: 900;
	line-height: 1;
}
.step div > p {
	margin: 0 0 20px;
	font-weight: 500;
	font-size: 1.1em;
} 
h3 { margin: 1px 0 8px; font-size: 1.32rem; line-height: 1.5; }
p:last-child { margin-bottom: 0; }
.rules { margin: 14px 0 12px; padding: 0; list-style: none; }
.rules li {
	display: flex;
	align-items: center;
	gap: 0 20px;
	position: relative;
	margin: 9px 0;
	padding: 12px 14px 12px 14px;
	border-radius: 10px;
	background: var(--cream);
}
.rules li .text {
	position: relative;
	padding: 0 0 0 42px;
}
.rules li .text::before {
	content: "●";
	position: absolute;
	left: 16px;
	color: var(--tiger-deep);
}
.rules li .image {
	max-width: 150px;
}
.note {
	color: var(--muted);
	font-size: 1.2rem;
	line-height: 1.75;
}
@media (max-width: 640px) {
	.jump-nav {
		flex-direction: column;
		align-items: center;
		margin-bottom: 26px;
	}
	.jump-nav a {
		width: min(100%, 320px);
	}
	main {
		width: min(100% - 20px, 1040px);
	}
	.game {
		border-radius: 15px;
	}
	.game-title {
		padding: 18px 19px;
		border-left-width: 8px;
	}
	.game-title small {
		display: block;
		margin: 4px 0 0;
	}
	.steps {
		padding: 6px 18px 22px;
	}
	.step {
		position: relative;
		display: block;
		grid-template-columns: 42px minmax(0, 1fr);
		gap: 12px;
		padding: 22px 0;
	}
	.step::before {
		top: 10px;
		left: -15px;
		position: absolute;
		width: 30px;
		height: 30px;
		box-shadow: 2px 2px 0 var(--ink);
	}
	.rules li {
		gap: 0 10px;
	}
	.play h3 {
		padding: 0.6em 0.6em 0.6em 25px;
		font-size: 1.15rem;
	}
}
@media print {
	.jump-nav { display: none; }
	.game { box-shadow: none; break-inside: avoid; }
}
