:root {
	color: #14181f;
	background: #f7f4ec;
	font-family: "Segoe UI", "Hiragino Sans", "Noto Sans JP", sans-serif;
	font-size: 22px;
	line-height: 1.5;
}

html {
	overflow-x: clip;
}

body {
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	overflow-x: clip;
}

main {
	max-width: 40rem;
	margin: 0 auto;
	padding: 1.5rem 1.25rem 3rem;
	box-sizing: border-box;
}

h1 {
	margin: 0 0 0.75rem;
	font-size: 2.4rem;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
}

p {
	margin: 0 0 1.5rem;
}

.benefits {
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
}

.benefits li {
	margin: 0.35rem 0;
	padding-left: 1.1em;
	position: relative;
}

.benefits li::before {
	content: "・";
	position: absolute;
	left: 0;
}

.choices,
.games {
	display: grid;
	gap: 1rem;
}

a.choice,
a.game {
	display: block;
	padding: 1.25rem 1.4rem;
	border-radius: 1rem;
	text-decoration: none;
	color: inherit;
	font-size: 1.6rem;
	font-weight: 700;
}

a.choice {
	background: #ffffff;
	border: 3px solid #1c2430;
}

a.choice.choice-kids {
	background: #fffaf0;
	border: 3px solid #e07a62;
	color: #5c3824;
	border-radius: 1.35rem;
	box-shadow: 0 4px 0 rgba(224, 122, 98, 0.35);
}

a.choice.choice-adult {
	background: #ffffff;
	border: 3px solid #1f5278;
}

a.choice span,
a.game span {
	display: block;
	margin-top: 0.25rem;
	font-size: 1rem;
	font-weight: 500;
}

.site-footer {
	margin-top: 4.5rem;
	padding-top: 2rem;
	border-top: 2px solid rgba(28, 36, 48, 0.15);
}

.site-footer h2 {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
}

.site-footer p {
	margin: 0 0 0.75rem;
	font-size: 0.95rem;
}

.transfer-actions {
	display: grid;
	gap: 0.75rem;
	margin: 0 0 1.25rem;
}

.transfer-actions button,
.contact-pending {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0.85rem 1rem;
	border-radius: 0.75rem;
	border: 2px solid #1c2430;
	background: #ffffff;
	color: inherit;
	font: inherit;
	font-size: 1.05rem;
	font-weight: 700;
	text-align: left;
}

.transfer-actions button:disabled,
.contact-pending {
	opacity: 0.7;
	cursor: not-allowed;
}

.contact-pending {
	text-decoration: none;
}

.page-top {
	position: sticky;
	top: 0;
	z-index: 10;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	align-items: start;
	column-gap: 0.75rem;
	row-gap: 0.85rem;
	margin: 0 0 1.25rem;
	padding: 0.75rem 0 0.85rem;
	background: inherit;
	border-bottom: 2px solid rgba(28, 36, 48, 0.12);
}

.page-top .back-link {
	grid-column: 1;
	grid-row: 1;
	justify-self: start;
	align-self: center;
}

.page-top h1 {
	grid-column: 1 / -1;
	grid-row: 2;
	margin: 0;
}

.back-link {
	display: inline-block;
	font-size: 1rem;
	font-weight: 700;
	color: inherit;
	text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
	text-decoration: underline;
}

body.kids {
	background: #fff3c4;
	color: #5c3824;
}

body.kids a.choice,
body.kids a.game {
	background: #fffaf0;
	border: 3px solid #e07a62;
	border-radius: 1.35rem;
}

body.kids .page-top {
	border-bottom-color: rgba(92, 56, 36, 0.18);
}

body.kids .transfer-actions button,
body.kids .contact-pending {
	border-color: #e07a62;
	background: #fffaf0;
}

body.adult a.game {
	background: #ffffff;
	border: 3px solid #1f5278;
}
