/*
Theme Name: KYC Official
Theme URI: https://kyc.keyboulderingnara.com
Author: KEY BOULDERING
Description: KEY BOULDERING YOUTH CHAMPIONSHIPS official website theme.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: kyc
*/

:root {
	--kyc-ink: #111116;
	--kyc-purple: #6848b5;
	--kyc-purple-dark: #4c328f;
	--kyc-green: var(--kyc-purple);
	--kyc-green-dark: var(--kyc-purple-dark);
	--kyc-lime: #e2dcf0;
	--kyc-paper: #f6f6f8;
	--kyc-white: #fff;
	--kyc-muted: #62616a;
	--kyc-line: #dedde3;
	--kyc-content: 1120px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--kyc-paper);
	color: var(--kyc-ink);
	font-family: "Aptos", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.75;
}

a {
	color: var(--kyc-green-dark);
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--kyc-ink);
}

button,
input,
textarea,
select {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

:focus-visible {
	outline: 3px solid #d28b22;
	outline-offset: 3px;
}

.site-shell {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-header {
	position: relative;
	z-index: 5;
	background: var(--kyc-white);
	border-bottom: 1px solid var(--kyc-line);
}

.header-inner,
.content-width {
	width: min(var(--kyc-content), calc(100% - 40px));
	margin-inline: auto;
}

.header-inner {
	min-height: 76px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.site-branding {
	min-width: 0;
}

.site-title {
	margin: 0;
	font-size: 1.12rem;
	font-weight: 800;
	line-height: 1.25;
}

.site-title a {
	color: var(--kyc-ink);
	text-decoration: none;
}

.site-description {
	margin: 3px 0 0;
	color: var(--kyc-muted);
	font-size: 0.72rem;
	line-height: 1.3;
}

.custom-logo-link,
.custom-logo {
	display: block;
	max-width: 190px;
	height: auto;
}

.menu-toggle {
	width: 44px;
	height: 44px;
	display: inline-grid;
	place-content: center;
	gap: 5px;
	border: 1px solid var(--kyc-line);
	border-radius: 4px;
	background: var(--kyc-white);
	color: var(--kyc-ink);
	cursor: pointer;
}

.menu-toggle span {
	width: 19px;
	height: 2px;
	background: currentColor;
}

.primary-navigation {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	padding: 10px 20px 18px;
	background: var(--kyc-white);
	border-bottom: 1px solid var(--kyc-line);
}

.primary-navigation[hidden] {
	display: none;
}

.primary-navigation ul,
.footer-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-navigation li + li {
	border-top: 1px solid var(--kyc-line);
}

.primary-navigation a {
	display: block;
	padding: 10px 4px;
	color: var(--kyc-ink);
	font-size: 0.94rem;
	font-weight: 700;
	text-decoration: none;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a {
	color: var(--kyc-green);
}

.site-main {
	flex: 1;
}

.home-hero {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(115deg, rgba(16, 80, 62, 0.97), rgba(23, 107, 82, 0.91)),
		 repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 255, 255, 0.05) 18px 19px);
	color: var(--kyc-white);
}

.home-hero::after {
	position: absolute;
	right: -72px;
	bottom: -170px;
	width: 390px;
	height: 390px;
	border: 1px solid rgba(214, 233, 109, 0.35);
	border-radius: 50%;
	content: "";
}

.hero-inner {
	position: relative;
	z-index: 1;
	padding-block: 48px 52px;
}

.hero-kicker {
	margin: 0 0 8px;
	color: var(--kyc-lime);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.hero-title {
	max-width: 760px;
	margin: 0;
	font-size: clamp(2rem, 8vw, 4.2rem);
	font-weight: 850;
	line-height: 1.12;
	text-wrap: balance;
}

.hero-copy {
	max-width: 650px;
	margin: 16px 0 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.98rem;
}

.hero-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin-top: 24px;
	padding: 10px 20px;
	border-radius: 3px;
	background: var(--kyc-lime);
	color: var(--kyc-ink);
	font-weight: 800;
	text-decoration: none;
}

.hero-action:hover {
	background: var(--kyc-white);
	color: var(--kyc-ink);
}

.home-content {
	padding-block: 28px 10px;
}

.home-content:empty {
	display: none;
}

.page-content {
	padding-block: 28px 56px;
}

.entry-content > :first-child {
	margin-top: 0;
}

.entry-content img {
	max-width: 100%;
	height: auto;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 10px 12px;
	border: 1px solid var(--kyc-line);
	text-align: left;
}

.entry-content th {
	background: #eaf0e8;
}

.section-block {
	padding-block: 34px 46px;
}

.section-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--kyc-green);
}

.section-title {
	margin: 0;
	font-size: 1.4rem;
	line-height: 1.3;
}

.section-link {
	font-size: 0.88rem;
	font-weight: 700;
}

.quick-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.quick-link {
	min-height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 12px 14px;
	border: 1px solid var(--kyc-line);
	border-left: 4px solid var(--kyc-green);
	background: var(--kyc-white);
	color: var(--kyc-ink);
	font-weight: 750;
	text-decoration: none;
}

.quick-link::after {
	color: var(--kyc-green);
	content: "→";
}

.quick-link:hover {
	border-color: var(--kyc-green);
	background: #edf3ec;
}

.news-list {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--kyc-line);
	list-style: none;
}

.news-item {
	display: grid;
	grid-template-columns: 105px minmax(0, 1fr);
	gap: 12px;
	padding: 14px 2px;
	border-bottom: 1px solid var(--kyc-line);
}

.news-date {
	color: var(--kyc-muted);
	font-size: 0.85rem;
	font-variant-numeric: tabular-nums;
}

.news-title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.5;
}

.news-title a {
	color: var(--kyc-ink);
	text-decoration: none;
}

.news-title a:hover {
	color: var(--kyc-green);
	text-decoration: underline;
}

.page-header {
	padding: 28px 0 20px;
	border-bottom: 1px solid var(--kyc-line);
}

.page-title {
	margin: 0;
	font-size: clamp(1.8rem, 7vw, 2.5rem);
	line-height: 1.25;
	text-wrap: balance;
}

.post-meta {
	margin-top: 8px;
	color: var(--kyc-muted);
	font-size: 0.88rem;
}

.post-thumbnail {
	margin: 24px 0;
}

.post-thumbnail img {
	width: 100%;
	height: auto;
}

.post-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.post-list-item {
	padding-block: 22px;
	border-bottom: 1px solid var(--kyc-line);
}

.post-list-item:first-child {
	border-top: 1px solid var(--kyc-line);
}

.post-list-item h2 {
	margin: 4px 0;
	font-size: 1.22rem;
}

.post-list-item h2 a {
	color: var(--kyc-ink);
	text-decoration: none;
}

.post-list-item h2 a:hover {
	color: var(--kyc-green);
}

.post-excerpt {
	margin: 6px 0 0;
	color: var(--kyc-muted);
}

.pagination,
.post-navigation {
	margin-top: 28px;
}

.pagination .nav-links,
.post-navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
}

.pagination a,
.pagination span,
.post-navigation a {
	padding: 8px 12px;
	border: 1px solid var(--kyc-line);
	background: var(--kyc-white);
}

.site-footer {
	padding: 26px 0;
	background: var(--kyc-ink);
	color: rgba(255, 255, 255, 0.84);
}

.footer-inner {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.footer-site-name {
	margin: 0;
	color: var(--kyc-white);
	font-weight: 800;
}

.footer-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
}

.footer-navigation a {
	color: rgba(255, 255, 255, 0.84);
	font-size: 0.88rem;
}

.copyright {
	margin: 0;
	font-size: 0.78rem;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto;
	background: var(--kyc-white);
	color: var(--kyc-ink);
}

@media (min-width: 760px) {
	.header-inner,
	.content-width {
		width: min(var(--kyc-content), calc(100% - 64px));
	}

	.menu-toggle {
		display: none;
	}

	.primary-navigation,
	.primary-navigation[hidden] {
		position: static;
		width: auto;
		padding: 0;
		border: 0;
		display: block;
	}

	.primary-navigation ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-end;
		gap: 4px 18px;
	}

	.primary-navigation li + li {
		border: 0;
	}

	.primary-navigation a {
		padding: 8px 0;
		font-size: 0.87rem;
	}

	.hero-inner {
		padding-block: 76px 82px;
	}

	.hero-copy {
		font-size: 1.06rem;
	}

	.home-content {
		padding-block: 38px 4px;
	}

	.section-block {
		padding-block: 46px 56px;
	}

	.quick-links {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 14px;
	}

	.quick-link {
		min-height: 76px;
		padding: 15px 16px;
	}

	.footer-inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body.home {
	background: var(--kyc-white);
}

body.home .site-footer {
	background: var(--kyc-ink);
}

.home-masthead {
	position: relative;
	overflow: hidden;
	background: #f1f0f4;
	border-bottom: 1px solid #d8d6de;
}

.masthead-inner {
	position: relative;
	min-height: 425px;
	display: flex;
	align-items: center;
	padding-block: 54px 42px;
}

.masthead-copy {
	position: relative;
	z-index: 1;
	width: 100%;
}

.masthead-kicker {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0 0 22px;
	color: var(--kyc-muted);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.masthead-kicker span:first-child {
	color: var(--kyc-purple-dark);
}

.masthead-title {
	margin: 0;
	font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
	font-size: 2rem;
	font-weight: 900;
	line-height: 0.98;
	text-wrap: nowrap;
}

.masthead-title span {
	display: block;
}

.masthead-title span + span {
	margin-top: 5px;
}

.masthead-caption {
	margin: 22px 0 0;
	color: var(--kyc-muted);
	font-size: 0.74rem;
	font-weight: 750;
	letter-spacing: 0.08em;
}

.wall-graphic {
	position: absolute;
	top: 8%;
	right: -19%;
	width: 53%;
	height: 84%;
	transform: skewY(-8deg);
}

.wall-face {
	position: absolute;
	display: block;
}

.wall-face-main {
	inset: 2% 11% 0 13%;
	background:
		repeating-linear-gradient(135deg, transparent 0 25px, rgba(255, 255, 255, 0.12) 25px 27px),
		#17171d;
	clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%);
}

.wall-face-cut {
	top: 0;
	right: 5%;
	width: 18%;
	height: 100%;
	background: var(--kyc-purple);
	clip-path: polygon(48% 0, 100% 0, 53% 100%, 0 100%);
}

.wall-face-shadow {
	left: 0;
	bottom: 0;
	width: 36%;
	height: 17%;
	background: #d7d4de;
	clip-path: polygon(16% 0, 100% 0, 80% 100%, 0 100%);
}

.next-event-band {
	position: relative;
	background: var(--kyc-ink);
	color: var(--kyc-white);
}

.next-event-inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	padding-block: 30px 32px;
}

.event-kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 8px;
	color: #c8c4d0;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.1em;
}

.event-mark {
	width: 8px;
	height: 8px;
	background: #9678d2;
	transform: rotate(45deg);
}

.event-title {
	margin: 0;
	color: var(--kyc-white);
	font-size: 2.2rem;
	font-weight: 850;
	line-height: 1.1;
}

.event-details {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 0;
}

.event-details div {
	padding-left: 12px;
	border-left: 1px solid #55535c;
}

.event-details dt {
	margin-bottom: 4px;
	color: #bdb9c5;
	font-size: 0.72rem;
	font-weight: 700;
}

.event-details dd {
	margin: 0;
	font-size: 0.96rem;
	font-weight: 750;
}

.event-action {
	min-height: 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 10px 15px;
	border: 1px solid #8c72c0;
	color: var(--kyc-white);
	font-size: 0.84rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-decoration: none;
}

.event-action span:last-child {
	color: #bda7e7;
	font-size: 1.2rem;
}

.event-action:hover {
	background: var(--kyc-purple);
	color: var(--kyc-white);
}

.home-links-section {
	padding-block: 42px 48px;
}

.home-section-heading {
	margin-bottom: 18px;
}

.section-eyebrow {
	margin: 0 0 4px;
	color: var(--kyc-purple-dark);
	font-size: 0.67rem;
	font-weight: 850;
	letter-spacing: 0.12em;
}

.home-section-heading .section-title {
	margin: 0;
	font-size: 1.55rem;
	font-weight: 850;
	line-height: 1.2;
}

.home-quick-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 1px solid var(--kyc-line);
	border-left: 1px solid var(--kyc-line);
}

.home-quick-link {
	position: relative;
	min-width: 0;
	min-height: 104px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 13px 12px;
	border-right: 1px solid var(--kyc-line);
	border-bottom: 1px solid var(--kyc-line);
	background: var(--kyc-white);
	color: var(--kyc-ink);
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease;
}

.home-quick-link::before {
	position: absolute;
	top: -1px;
	left: -1px;
	width: 28px;
	height: 3px;
	background: var(--kyc-purple);
	content: "";
}

.quick-link-number {
	color: var(--kyc-purple-dark);
	font-size: 0.64rem;
	font-weight: 850;
	letter-spacing: 0.08em;
}

.quick-link-label {
	margin-top: 5px;
	font-size: 0.91rem;
	font-weight: 850;
	line-height: 1.25;
}

.quick-link-note {
	margin-top: 4px;
	color: var(--kyc-muted);
	font-size: 0.68rem;
	line-height: 1.3;
}

.quick-link-arrow {
	position: absolute;
	right: 11px;
	bottom: 11px;
	color: var(--kyc-purple);
	font-size: 0.9rem;
}

.home-quick-link:hover {
	background: #f1eef7;
	color: var(--kyc-purple-dark);
}

.home-content {
	padding-block: 0 42px;
}

.home-news-section {
	padding-block: 38px 54px;
	background: #f3f2f5;
}

.news-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 16px;
}

.news-heading .section-title {
	font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
	font-size: 2.3rem;
	font-weight: 900;
	letter-spacing: 0;
}

.news-all-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 5px;
	border-bottom: 1px solid #aba7b3;
	color: var(--kyc-ink);
	font-size: 0.76rem;
	font-weight: 750;
	text-decoration: none;
}

.news-all-link span {
	color: var(--kyc-purple);
	font-size: 1rem;
}

.home-news-list {
	margin: 0;
	padding: 0;
	border-top: 1px solid #d7d5dc;
	list-style: none;
}

.home-news-item {
	min-height: 64px;
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr) 18px;
	align-items: center;
	gap: 10px;
	border-bottom: 1px solid #d7d5dc;
}

.home-news-date {
	color: var(--kyc-muted);
	font-size: 0.75rem;
	font-variant-numeric: tabular-nums;
}

.home-news-title {
	padding-block: 13px;
	color: var(--kyc-ink);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
}

.home-news-title:hover {
	color: var(--kyc-purple-dark);
	text-decoration: underline;
}

.home-news-arrow {
	color: var(--kyc-purple);
	font-size: 0.9rem;
}

.news-empty {
	margin: 0;
	padding: 18px 0;
	border-top: 1px solid #d7d5dc;
	border-bottom: 1px solid #d7d5dc;
	color: var(--kyc-muted);
	font-size: 0.9rem;
}

@media (max-width: 380px) {
	.masthead-title {
		font-size: 1.7rem;
	}

	.event-details {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}

@media (min-width: 760px) {
	.masthead-inner {
		min-height: 570px;
		padding-block: 70px 68px;
	}

	.masthead-kicker {
		margin-bottom: 27px;
		font-size: 0.76rem;
	}

	.masthead-title {
		font-size: 3rem;
	}

	.masthead-caption {
		margin-top: 26px;
	}

	.wall-graphic {
		right: -4%;
		width: 46%;
	}

	.next-event-inner {
		grid-template-columns: 1.1fr 1fr 150px;
		align-items: center;
		gap: 30px;
		min-height: 190px;
		padding-block: 34px;
	}

	.event-title {
		font-size: 2.8rem;
	}

	.event-details {
		gap: 20px;
	}

	.home-links-section {
		padding-block: 62px 70px;
	}

	.home-section-heading {
		margin-bottom: 22px;
	}

	.home-section-heading .section-title {
		font-size: 1.9rem;
	}

	.home-quick-links {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.home-quick-link {
		min-height: 136px;
		padding: 18px 20px;
	}

	.quick-link-label {
		font-size: 1.1rem;
	}

	.quick-link-note {
		font-size: 0.76rem;
	}

	.quick-link-arrow {
		right: 17px;
		bottom: 15px;
	}

	.home-news-section {
		padding-block: 58px 72px;
	}

	.news-heading .section-title {
		font-size: 3.4rem;
	}

	.home-news-item {
		grid-template-columns: 120px minmax(0, 1fr) 22px;
		min-height: 72px;
		gap: 20px;
	}

	.home-news-date {
		font-size: 0.84rem;
	}

	.home-news-title {
		font-size: 1rem;
	}
}

@media (min-width: 960px) {
	.masthead-title {
		font-size: 4.4rem;
	}
}

@media (min-width: 1200px) {
	.masthead-title {
		font-size: 5.4rem;
	}
}

/* Poster-led competition hero */
.home-masthead {
	background: #fff;
	border-bottom: 1px solid var(--kyc-line);
}

.masthead-inner {
	min-height: 0;
	align-items: stretch;
	padding-block: 28px 34px;
}

.masthead-copy {
	width: min(100%, 650px);
}

.masthead-kicker {
	position: relative;
	z-index: 2;
	margin-bottom: 25px;
	font-size: 0.62rem;
	letter-spacing: 0.12em;
}

.edition-lockup {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: baseline;
	margin-left: -2px;
	color: var(--kyc-ink);
	font-weight: 900;
	line-height: 0.8;
}

.edition-prefix,
.edition-suffix {
	font-size: 2.1rem;
	letter-spacing: 0.02em;
}

.edition-number {
	margin-inline: 2px 3px;
	color: var(--kyc-purple);
	font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
	font-size: clamp(7.5rem, 29vw, 11rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 0.72;
}

.masthead-japanese-title {
	position: relative;
	z-index: 2;
	max-width: 610px;
	margin: 22px 0 0;
	font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-size: clamp(2rem, 9.2vw, 4.4rem);
	font-weight: 900;
	line-height: 1.08;
	letter-spacing: 0.01em;
	text-wrap: balance;
}

.masthead-english-title {
	position: relative;
	z-index: 2;
	max-width: 520px;
	margin: 17px 0 0;
	color: var(--kyc-purple-dark);
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.14em;
	line-height: 1.6;
}

.masthead-english-title span {
	color: var(--kyc-ink);
}

.event-dates {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
	align-items: center;
	width: min(100%, 590px);
	margin-top: 27px;
	padding-top: 18px;
	border-top: 1px solid var(--kyc-ink);
}

.event-date-item {
	min-width: 0;
}

.event-date-item + .event-date-divider {
	width: 1px;
	height: 70px;
	background: var(--kyc-ink);
}

.event-date-item:last-child {
	padding-left: 17px;
}

.event-date {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
	font-size: clamp(2rem, 9vw, 3.7rem);
	font-weight: 900;
	letter-spacing: 0.01em;
	line-height: 0.95;
	white-space: nowrap;
}

.event-date b {
	width: 1.35em;
	height: 1.35em;
	display: inline-grid;
	place-items: center;
	border-radius: 50%;
	background: var(--kyc-purple);
	color: #fff;
	font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-size: 0.42em;
	font-weight: 900;
	line-height: 1;
}

.event-category {
	margin: 9px 0 0;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.wall-graphic {
	top: 0;
	right: -20%;
	width: 65%;
	height: 100%;
	transform: none;
	opacity: 0.95;
}

.wall-face-main {
	inset: 0 0 0 16%;
	background: #17171c;
	clip-path: polygon(40% 0, 100% 0, 76% 100%, 0 100%);
}

.wall-face-cut {
	top: 0;
	right: 14%;
	width: 27%;
	height: 100%;
	background: var(--kyc-purple);
	clip-path: polygon(50% 0, 100% 0, 57% 100%, 0 100%);
}

.wall-face-shadow {
	left: 10%;
	bottom: 0;
	width: 34%;
	height: 100%;
	background: #e1e0e4;
	clip-path: polygon(22% 0, 100% 0, 77% 100%, 0 100%);
}

.mobile-only {
	display: block;
}

@media (max-width: 520px) {
	.masthead-inner {
		padding-right: 20px;
	}

	.masthead-copy {
		width: 100%;
	}

	.wall-graphic {
		right: -45%;
		width: 76%;
		opacity: 0.9;
	}

	.masthead-kicker,
	.masthead-japanese-title,
	.masthead-english-title,
	.event-dates {
		max-width: calc(100% - 38px);
	}

	.masthead-japanese-title,
	.masthead-english-title,
	.event-dates {
		margin-right: 38px;
	}
}

@media (min-width: 760px) {
	.masthead-inner {
		min-height: 620px;
		padding-block: 52px 58px;
	}

	.masthead-copy {
		width: 63%;
	}

	.masthead-kicker {
		margin-bottom: 31px;
		font-size: 0.7rem;
	}

	.edition-prefix,
	.edition-suffix {
		font-size: 2.8rem;
	}

	.edition-number {
		font-size: 15rem;
	}

	.masthead-japanese-title {
		margin-top: 25px;
		font-size: 4.15rem;
	}

	.masthead-english-title {
		margin-top: 20px;
		font-size: 0.75rem;
	}

	.event-dates {
		margin-top: 32px;
	}

	.wall-graphic {
		right: -5%;
		width: 47%;
	}
}

@media (min-width: 1100px) {
	.masthead-inner {
		min-height: 680px;
		padding-block: 62px 68px;
	}

	.masthead-copy {
		width: 62%;
	}

	.edition-number {
		font-size: 17rem;
	}

	.masthead-japanese-title {
		font-size: 5rem;
	}

	.wall-graphic {
		right: -1%;
		width: 45%;
	}
}

/* Final poster composition */
.home-masthead {
	position: relative;
	overflow: hidden;
	background: #fff;
	border-bottom: 1px solid #d7d6dc;
}

.masthead-inner {
	position: relative;
	min-height: 720px;
	display: flex;
	align-items: center;
	padding-block: 44px 52px;
}

.masthead-copy {
	position: relative;
	z-index: 2;
	width: 100%;
}

.edition-lockup {
	align-items: flex-end;
	margin: 0;
	line-height: 0.72;
}

.edition-prefix,
.edition-suffix {
	font-size: clamp(2.1rem, 8vw, 4.4rem);
	font-weight: 900;
	line-height: 1;
}

.edition-number {
	margin-inline: 4px 7px;
	font-size: clamp(12rem, 40vw, 22rem);
	line-height: 0.67;
}

.masthead-japanese-title {
	display: flex;
	flex-direction: column;
	gap: 0;
	max-width: none;
	margin: 28px 0 0;
	font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-size: clamp(2.7rem, 11vw, 6.9rem);
	font-weight: 950;
	line-height: 1.04;
	letter-spacing: 0.015em;
	white-space: nowrap;
}

.masthead-japanese-title span {
	display: block;
}

.masthead-english-title {
	display: flex;
	flex-direction: column;
	gap: 1px;
	margin: 24px 0 0;
	color: var(--kyc-ink);
	font-family: Arial, Helvetica, sans-serif;
	font-size: clamp(0.65rem, 1.8vw, 0.9rem);
	font-weight: 800;
	letter-spacing: 0.22em;
	line-height: 1.55;
	white-space: nowrap;
}

.masthead-english-title span {
	color: var(--kyc-purple-dark);
}

.event-dates {
	grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
	width: min(100%, 690px);
	margin-top: 31px;
	padding-top: 22px;
	border-top: 2px solid var(--kyc-ink);
}

.event-date-item:last-child {
	padding-left: 22px;
}

.event-date-item + .event-date-divider {
	height: 88px;
	background: var(--kyc-ink);
}

.event-date {
	gap: 10px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: clamp(2.55rem, 8vw, 5rem);
	font-weight: 950;
	letter-spacing: -0.04em;
	line-height: 0.95;
}

.event-date b {
	flex: 0 0 auto;
	width: 1.15em;
	height: 1.15em;
	font-size: 0.34em;
}

.event-category {
	margin-top: 12px;
	font-size: clamp(0.72rem, 1.5vw, 0.96rem);
	font-weight: 850;
	letter-spacing: 0.04em;
}

.wall-graphic {
	position: absolute;
	z-index: 1;
	top: 0;
	right: -21%;
	width: 66%;
	height: 100%;
	transform: none;
	opacity: 1;
}

.wall-face {
	position: absolute;
	display: block;
	transform-origin: center;
}

.wall-face {
	inset: 0;
}

.wall-face-base {
	background: #efeef2;
	clip-path: polygon(34% 0, 100% 0, 100% 100%, 4% 100%);
}

.wall-face-upper-left {
	background: #fff;
	clip-path: polygon(34% 0, 56% 0, 44% 44%, 22% 52%);
}

.wall-face-lower-left {
	background: linear-gradient(180deg, #d3d2d9, #e7e6eb);
	clip-path: polygon(22% 52%, 44% 44%, 36% 100%, 4% 100%);
}

.wall-face-upper-center {
	background: #e3e2e8;
	clip-path: polygon(56% 0, 74% 0, 66% 38%, 44% 44%);
}

.wall-face-lower-center {
	background: linear-gradient(180deg, #fff, #f5f5f7);
	clip-path: polygon(44% 44%, 66% 38%, 62% 100%, 36% 100%);
}

.wall-face-accent-upper {
	background: var(--kyc-purple);
	clip-path: polygon(74% 0, 86% 0, 71% 36.5%, 66% 38%);
}

.wall-face-accent-lower {
	background: #cfc5e9;
	clip-path: polygon(66% 38%, 71% 36.5%, 67% 100%, 62% 100%);
}

.wall-face-right {
	background: linear-gradient(180deg, #f7f7f9, #e9e8ed);
	clip-path: polygon(86% 0, 100% 0, 100% 100%, 67% 100%, 71% 36.5%);
}

@media (max-width: 759px) {
	.masthead-inner {
		min-height: 690px;
		padding-block: 36px 42px;
	}

	.masthead-copy {
		width: 100%;
	}

	.edition-number {
		font-size: clamp(11rem, 47vw, 16rem);
	}

	.masthead-japanese-title {
		font-size: clamp(2.55rem, 12vw, 4.3rem);
	}

	.masthead-english-title,
	.event-dates {
		max-width: calc(100% - 20px);
	}

	.event-date {
		font-size: clamp(2rem, 10vw, 3.4rem);
	}

	.event-date-item:last-child {
		padding-left: 13px;
	}

	.event-date-item + .event-date-divider {
		height: 68px;
	}

	.wall-graphic {
		right: -48%;
		width: 82%;
		opacity: 0.38;
	}
}

@media (min-width: 760px) {
	.masthead-inner {
		min-height: calc(100svh - 1px);
		padding-block: 54px 62px;
	}

	.masthead-copy {
		width: 62%;
	}

	.edition-number {
		font-size: clamp(15rem, 22vw, 22rem);
	}

	.masthead-japanese-title {
		font-size: clamp(4.2rem, 6.5vw, 6.9rem);
	}

	.event-dates {
		margin-top: 36px;
	}

	.wall-graphic {
		right: -5%;
		width: 52%;
	}
}

@media (min-width: 1180px) {
	.masthead-copy {
		width: 61%;
	}

	.wall-graphic {
		right: -1%;
		width: 49%;
	}
}

/* Finishing adjustments */
.edition-lockup {
	align-items: flex-end;
}

.edition-prefix,
.edition-suffix {
	font-size: clamp(2rem, 7vw, 3.8rem);
}

.edition-number {
	margin-inline: 0.015em 0.02em;
	font-size: clamp(7.7rem, 26vw, 14.2rem);
}

.masthead-japanese-title {
	margin-top: 16px;
}

.event-date {
	align-items: center;
	gap: 0.12em;
}

.event-date span {
	line-height: 0.82;
}

.event-date .event-day-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.16em;
	height: 1.16em;
	margin-top: 0.02em;
	padding: 0;
	font-size: 0.46em;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1;
	text-align: center;
}

.event-date .event-day-label {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1em;
	height: 1em;
	margin: 0;
	padding: 0;
	letter-spacing: 0;
	line-height: 1;
	-webkit-text-stroke: 0.03em currentColor;
}

@media (max-width: 759px) {
	.edition-number {
		font-size: clamp(7.2rem, 30.6vw, 10.4rem);
	}

	.masthead-japanese-title {
		margin-top: 12px;
	}
}

@media (min-width: 760px) {
	.edition-number {
		font-size: clamp(9.7rem, 14.2vw, 14.2rem);
	}

	.masthead-japanese-title {
		margin-top: 18px;
	}

	.wall-graphic {
		left: 53%;
		right: calc((100% - 100vw) / 2);
		width: auto;
	}
}

@media (min-width: 1180px) {
	.wall-graphic {
		left: 52%;
	}
}

/* Web fonts: same poster typography on every device */
:root {
	--kyc-font-poster: "Anton", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
	--kyc-font-date: "Archivo Black", "Arial Black", Arial, Helvetica, sans-serif;
	--kyc-font-title-ja: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.edition-number,
.news-heading .section-title {
	font-family: var(--kyc-font-poster);
	font-weight: 400;
}

.edition-prefix,
.edition-suffix,
.masthead-japanese-title,
.event-date .event-day-badge {
	font-family: var(--kyc-font-title-ja);
	font-weight: 900;
}

.event-date {
	font-family: var(--kyc-font-date);
	font-weight: 400;
}

/* Noto Sans JP 900 is heavy enough without a stroke; keep the glyph inside the same badge.
   Its ascent/descent are asymmetric, so the ideographic em box sits 0.056em low in a line-height: 1 box. */
.event-date .event-day-label {
	font-size: 0.78em;
	-webkit-text-stroke: 0;
	transform: translateY(-0.056em);
}

/* Home header, venue, entry actions and first-view height */
:root {
	--kyc-home-header-height: 56px;
	--kyc-home-next-peek: 128px;
}

.home-header {
	position: relative;
	z-index: 5;
	background: var(--kyc-white);
	border-bottom: 1px solid var(--kyc-line);
}

.home-header-inner {
	min-height: var(--kyc-home-header-height);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.home-brand {
	min-width: 0;
	display: flex;
	align-items: baseline;
	gap: 12px;
	color: var(--kyc-ink);
	text-decoration: none;
}

.home-brand:hover {
	color: var(--kyc-ink);
}

.home-brand-mark {
	font-family: var(--kyc-font-poster);
	font-size: 1.45rem;
	font-weight: 400;
	letter-spacing: 0.03em;
	line-height: 1;
}

.home-brand-name {
	overflow: hidden;
	color: var(--kyc-muted);
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	line-height: 1;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.home-header-nav ul {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.home-header-nav a {
	display: block;
	padding-block: 8px;
	color: var(--kyc-ink);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.home-header-nav a:hover {
	color: var(--kyc-purple-dark);
}

.masthead-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 32px;
	width: min(100%, 690px);
	margin-top: 26px;
}

.event-venue {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 14px;
	margin: 0;
	color: var(--kyc-ink);
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.5;
}

.event-venue-label {
	color: var(--kyc-muted);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.16em;
}

.masthead-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 28px;
}

.entry-button {
	min-width: 200px;
	min-height: 54px;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: 0 22px 0 26px;
	background: var(--kyc-ink);
	color: var(--kyc-white);
	font-family: var(--kyc-font-date);
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0.12em;
	line-height: 1;
	text-decoration: none;
	transition: background-color 160ms ease;
}

.entry-button span {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.1rem;
	letter-spacing: 0;
}

.entry-button:hover {
	background: #33323b;
	color: var(--kyc-white);
}

.outline-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 4px;
	border-bottom: 1px solid var(--kyc-ink);
	color: var(--kyc-ink);
	font-size: 0.86rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-decoration: none;
}

.outline-link span {
	color: var(--kyc-purple);
}

.outline-link:hover {
	color: var(--kyc-purple-dark);
	border-color: var(--kyc-purple-dark);
}

@media (max-width: 759px) {
	.home-brand-name {
		display: none;
	}

	.home-header-nav ul {
		gap: 16px;
	}

	.home-header-nav a {
		font-size: 0.72rem;
		letter-spacing: 0.04em;
	}
}

@media (min-width: 760px) {
	/* Leave room for the header and let the 大会情報 heading show at the bottom of the screen. */
	.masthead-inner {
		min-height: calc(100svh - var(--kyc-home-header-height) - var(--kyc-home-next-peek));
		padding-block: 48px 36px;
	}
}

/* Seven competition links: 1 + 2 + 2 + 2 in two columns, 4 + 3 on wide screens */
.home-quick-link:first-child {
	grid-column: 1 / -1;
}

.home-past-events {
	display: flex;
	justify-content: flex-end;
	margin: 18px 0 0;
}

.home-past-events a {
	display: inline-flex;
	align-items: baseline;
	gap: 12px;
	padding-bottom: 5px;
	border-bottom: 1px solid #aba7b3;
	color: var(--kyc-ink);
	font-size: 0.8rem;
	font-weight: 800;
	text-decoration: none;
}

.home-past-events a:hover {
	color: var(--kyc-purple-dark);
}

.home-past-events-en {
	color: var(--kyc-purple-dark);
	font-size: 0.66rem;
	letter-spacing: 0.14em;
}

.home-past-events-arrow {
	color: var(--kyc-purple);
}

.past-events-list {
	margin-top: 28px;
}

@media (min-width: 760px) and (max-width: 1023px) {
	.home-quick-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.home-quick-links {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}

	.home-quick-link,
	.home-quick-link:first-child {
		grid-column: span 3;
	}

	.home-quick-link:nth-child(n+5) {
		grid-column: span 4;
	}
}

/* Competition links: Japanese label first, English as the small sub label */
.quick-link-note {
	letter-spacing: 0.08em;
}

/* Smartphone finish (PC layout above 759px is unchanged) */
@media (max-width: 759px) {
	.masthead-inner {
		min-height: 0;
		padding-block: 36px 40px;
		padding-right: 0;
	}

	.masthead-japanese-title,
	.masthead-english-title,
	.event-dates {
		max-width: 100%;
		margin-right: 0;
	}

	/* Eight characters per line plus letter-spacing: always fits the 20px gutters. */
	.masthead-japanese-title {
		margin-top: 20px;
		font-size: min(calc((100vw - 40px) / 8.6), 4.3rem);
	}

	.masthead-english-title {
		margin-top: 20px;
	}

	.event-dates {
		width: 100%;
		margin-top: 26px;
		padding-top: 18px;
	}

	.event-date {
		font-size: min(9.6vw, 3.4rem);
	}

	.event-date-item:last-child {
		padding-left: 16px;
	}

	.event-date-item + .event-date-divider {
		height: 64px;
	}

	.event-category {
		margin-top: 10px;
		font-size: 0.72rem;
		letter-spacing: 0.02em;
	}

	/* Wall enters from the top-right corner and fades out before the title. */
	.wall-graphic {
		top: 0;
		right: -20px;
		left: auto;
		width: 64%;
		height: 58%;
		opacity: 1;
		-webkit-mask-image: linear-gradient(205deg, #000 0%, rgba(0, 0, 0, 0.55) 38%, transparent 72%);
		mask-image: linear-gradient(205deg, #000 0%, rgba(0, 0, 0, 0.55) 38%, transparent 72%);
	}

	.masthead-meta {
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
		width: 100%;
		margin-top: 24px;
	}

	.event-venue {
		gap: 2px 12px;
		font-size: 0.82rem;
	}

	.masthead-actions {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.entry-button {
		width: 100%;
		min-width: 0;
	}
}

@media (max-width: 380px) {
	.home-header-nav ul {
		gap: 13px;
	}

	.home-header-nav a {
		font-size: 0.68rem;
		letter-spacing: 0.02em;
	}
}

/* 大会要項 (event-guide) page */
body.kyc-event-guide {
	background: var(--kyc-white);
}

.guide-hero {
	border-bottom: 1px solid var(--kyc-line);
}

.guide-hero-inner {
	padding-block: 40px 34px;
}

.guide-title {
	margin: 6px 0 0;
	font-family: var(--kyc-font-title-ja);
	font-size: clamp(2.6rem, 11vw, 4.6rem);
	font-weight: 900;
	letter-spacing: 0.02em;
	line-height: 1.05;
}

.guide-event-name {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 10px;
	margin: 18px 0 0;
	font-family: var(--kyc-font-title-ja);
	font-size: clamp(1rem, 4.2vw, 1.35rem);
	font-weight: 900;
	line-height: 1.4;
}

.guide-edition b {
	margin-inline: 2px;
	color: var(--kyc-purple);
	font-family: var(--kyc-font-poster);
	font-size: 1.55em;
	font-weight: 400;
	line-height: 1;
}

.guide-event-name-en {
	margin: 8px 0 0;
	color: var(--kyc-purple-dark);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	line-height: 1.6;
}

.guide-layout {
	display: grid;
	gap: 28px;
	padding-block: 26px 72px;
}

.guide-toc ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.guide-toc a {
	display: block;
	padding: 7px 12px;
	border: 1px solid var(--kyc-line);
	color: var(--kyc-ink);
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.3;
	text-decoration: none;
}

.guide-toc a:hover {
	border-color: var(--kyc-purple);
	color: var(--kyc-purple-dark);
}

.guide-body {
	min-width: 0;
	display: grid;
	gap: 56px;
}

.guide-section {
	scroll-margin-top: 24px;
}

.guide-section-head {
	margin-bottom: 6px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--kyc-ink);
}

.guide-section-title {
	margin: 2px 0 0;
	font-family: var(--kyc-font-title-ja);
	font-size: clamp(1.45rem, 6vw, 2rem);
	font-weight: 900;
	line-height: 1.3;
	text-wrap: balance;
}

.guide-section-date {
	margin: 6px 0 0;
	color: var(--kyc-purple-dark);
	font-size: 0.9rem;
	font-weight: 800;
}

/* Key facts */
.guide-facts {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	border-top: 2px solid var(--kyc-ink);
}

.guide-fact {
	min-width: 0;
	padding: 18px 0;
	border-bottom: 1px solid var(--kyc-line);
}

.guide-fact-label {
	margin: 0 0 10px;
	color: var(--kyc-muted);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1.3;
}

.guide-fact-row {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin: 0;
}

.guide-fact-row + .guide-fact-row {
	margin-top: 6px;
}

.guide-fact-cat {
	min-width: 4.5em;
	font-size: 0.8rem;
	font-weight: 800;
}

.guide-fact-note {
	margin: 8px 0 0;
	color: var(--kyc-muted);
	font-size: 0.8rem;
	font-weight: 700;
	text-wrap: pretty;
}

.guide-number {
	margin: 0;
	font-family: var(--kyc-font-date);
	font-size: 1.6rem;
	font-weight: 400;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.guide-number small {
	margin-left: 2px;
	font-family: "Aptos", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.guide-date-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.guide-date-list li {
	min-width: 0;
}

.guide-date-list li + li {
	padding-left: 16px;
	border-left: 1px solid var(--kyc-ink);
}

.guide-facts .guide-date {
	font-size: clamp(2rem, 9vw, 3rem);
}

.guide-date-category {
	margin: 8px 0 0;
	font-size: 0.78rem;
	font-weight: 800;
}

/* Detail rows */
.guide-list {
	margin: 0;
}

.guide-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 4px;
	padding: 16px 0;
	border-bottom: 1px solid var(--kyc-line);
}

.guide-row dt {
	color: var(--kyc-muted);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.6;
}

.guide-row dd {
	min-width: 0;
	margin: 0;
	font-weight: 700;
	line-height: 1.7;
}

.guide-row dd p {
	margin: 0;
}

.guide-row dd p + p {
	margin-top: 4px;
}

.guide-row dd a:not(.outline-link) {
	color: var(--kyc-purple-dark);
	font-weight: 800;
}

.guide-row .guide-row-link {
	margin-top: 10px;
}

.guide-en {
	color: var(--kyc-purple-dark);
	font-size: 0.7rem;
	letter-spacing: 0.16em;
}

.guide-inline-cat {
	margin-left: 12px;
	font-size: 0.84rem;
}

.guide-note {
	color: var(--kyc-muted);
	font-size: 0.84rem;
	font-weight: 600;
}

.guide-names {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.guide-pill {
	width: fit-content;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--kyc-lime);
	color: var(--kyc-purple-dark);
	font-size: 0.84rem;
	font-weight: 900;
	line-height: 1.4;
}

.guide-row dd .guide-pill {
	margin-block: 8px 6px;
}

/* Purpose */
.guide-purpose {
	display: grid;
	gap: 0;
}

.guide-purpose-item {
	padding: 20px 0;
	border-bottom: 1px solid var(--kyc-line);
}

.guide-purpose-item h3 {
	margin: 10px 0 8px;
	font-family: var(--kyc-font-title-ja);
	font-size: 1.2rem;
	font-weight: 900;
	line-height: 1.4;
}

.guide-purpose-item p:last-child {
	margin: 0;
	line-height: 1.9;
}

.guide-chip {
	display: inline-block;
	margin: 0;
	padding: 4px 9px;
	background: var(--kyc-ink);
	color: var(--kyc-white);
	font-family: var(--kyc-font-date);
	font-size: 0.64rem;
	letter-spacing: 0.14em;
	line-height: 1.2;
}

/* Entry period and cancellation deadline */
.guide-period {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	margin-top: 18px;
	border: 1px solid var(--kyc-line);
}

.guide-period-step {
	position: relative;
	padding: 16px 18px;
}

.guide-period-step::before {
	position: absolute;
	top: -1px;
	left: -1px;
	width: 28px;
	height: 3px;
	background: var(--kyc-purple);
	content: "";
}

.guide-period-step + .guide-period-step {
	border-top: 1px solid var(--kyc-line);
}

.guide-period .guide-number {
	font-size: 1.9rem;
}

.guide-points {
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.guide-points li {
	position: relative;
	padding: 10px 0 10px 18px;
	border-bottom: 1px solid var(--kyc-line);
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.7;
}

.guide-points li::before {
	position: absolute;
	top: calc(10px + 0.62em);
	left: 2px;
	width: 6px;
	height: 6px;
	background: var(--kyc-purple);
	content: "";
}

.guide-text {
	margin: 16px 0 0;
	font-weight: 600;
	line-height: 1.9;
}

.guide-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	margin-top: 22px;
}

.guide-button {
	min-height: 50px;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 0 20px;
	border: 1px solid var(--kyc-ink);
	background: var(--kyc-white);
	color: var(--kyc-ink);
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease;
}

.guide-button:hover {
	background: var(--kyc-ink);
	color: var(--kyc-white);
}

.guide-button.is-disabled {
	border-color: var(--kyc-line);
	background: var(--kyc-paper);
	color: var(--kyc-muted);
	cursor: not-allowed;
}

/* Cancel form placeholder area */
.guide-form-area {
	margin-top: 24px;
	padding: 20px 18px 22px;
	border: 1px solid var(--kyc-line);
	background: var(--kyc-paper);
}

.guide-form-area h3 {
	margin: 0;
	font-family: var(--kyc-font-title-ja);
	font-size: 1.15rem;
	font-weight: 900;
}

.guide-form-lead,
.guide-form-status {
	margin: 8px 0 0;
	color: var(--kyc-muted);
	font-size: 0.84rem;
	font-weight: 700;
}

.guide-form-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
	margin: 14px 0 18px;
	padding: 0;
	list-style: none;
}

.guide-form-fields li {
	min-width: 0;
	padding: 8px 10px;
	border: 1px solid var(--kyc-line);
	background: var(--kyc-white);
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.4;
}

.guide-form-status + .guide-button {
	margin-top: 14px;
}

@media (max-width: 380px) {
	.guide-form-fields {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (min-width: 600px) {
	.guide-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 32px;
	}

	.guide-fact-wide {
		grid-column: 1 / -1;
	}

	.guide-row {
		grid-template-columns: 140px minmax(0, 1fr);
		gap: 24px;
	}

	.guide-period {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.guide-period-single {
		grid-template-columns: minmax(0, 1fr);
		width: min(100%, 360px);
	}

	.guide-period-step + .guide-period-step {
		border-top: 0;
		border-left: 1px solid var(--kyc-line);
	}

	.guide-purpose {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
	}

	.guide-form-area {
		padding: 26px 28px 28px;
	}
}

@media (min-width: 760px) {
	.guide-hero-inner {
		padding-block: 64px 52px;
	}

	.guide-layout {
		padding-block: 44px 96px;
	}
}

@media (min-width: 1024px) {
	.guide-layout {
		grid-template-columns: 180px minmax(0, 820px);
		gap: 64px;
		align-items: start;
	}

	.guide-toc {
		position: sticky;
		top: 24px;
	}

	.guide-toc ul {
		flex-direction: column;
		gap: 0;
		border-left: 1px solid var(--kyc-line);
	}

	.guide-toc a {
		padding: 9px 0 9px 18px;
		border: 0;
		font-size: 0.84rem;
	}

	.guide-toc a:hover {
		box-shadow: inset 2px 0 0 var(--kyc-purple);
	}

	.guide-body {
		gap: 72px;
	}
}

/* Event guide: entry period and cancellation deadline shown as common information, apart from the two dates */
.guide-summary {
	display: grid;
	gap: 20px;
}

.guide-common {
	display: grid;
	gap: 12px;
}

.guide-common-block {
	position: relative;
	display: grid;
	gap: 12px;
	padding: 16px 18px;
	border: 1px solid var(--kyc-line);
	background: var(--kyc-paper);
}

.guide-common-block::before {
	position: absolute;
	top: -1px;
	left: -1px;
	width: 28px;
	height: 3px;
	background: var(--kyc-purple);
	content: "";
}

.guide-common-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
}

.guide-common-title {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	line-height: 1.4;
}

.guide-common-tag {
	margin: 0;
	padding: 2px 8px;
	border: 1px solid var(--kyc-ink);
	background: var(--kyc-white);
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.5;
}

.guide-common-body {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
	gap: 12px 24px;
}

.guide-common-item {
	min-width: 0;
}

.guide-common-item .guide-fact-label {
	margin-bottom: 4px;
}

.guide-common-item .guide-number small {
	white-space: nowrap;
}

@media (max-width: 599px) {
	.guide-common-body {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}

	.guide-common-item {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		gap: 4px 14px;
	}

	.guide-common-item .guide-fact-label {
		min-width: 4.5em;
		margin: 0;
	}

	.guide-common-item .guide-fact-note {
		flex-basis: 100%;
		margin-top: 4px;
	}
}

@media (min-width: 600px) {
	.guide-common-block {
		grid-template-columns: 170px minmax(0, 1fr);
		align-items: center;
		gap: 24px;
		padding: 20px 24px;
	}

	.guide-common-head {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Event guide: larger category names under the dates, larger category dates, youth birth years */
.guide-date-category {
	font-size: 0.92rem;
	letter-spacing: 0.02em;
}

.guide-section-date {
	margin-top: 8px;
	font-size: 1.08rem;
	font-weight: 900;
	letter-spacing: 0.02em;
}

.guide-age-list {
	display: grid;
	gap: 6px;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}

.guide-age-list li {
	display: grid;
	grid-template-columns: 3.4em minmax(0, 1fr);
	align-items: baseline;
	gap: 12px;
}

.guide-age-cat {
	font-family: var(--kyc-font-date);
	font-size: 1.05rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1.4;
}

@media (min-width: 760px) {
	.guide-date-category {
		font-size: 1.02rem;
	}

	.guide-section-date {
		font-size: 1.2rem;
	}
}

@media (min-width: 1024px) {
	.guide-age-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0;
		margin-bottom: 12px;
	}

	.guide-age-list li {
		grid-template-columns: minmax(0, 1fr);
		gap: 2px;
		padding-right: 16px;
	}

	.guide-age-list li + li {
		padding-left: 20px;
		border-left: 1px solid var(--kyc-line);
	}

	.guide-age-cat {
		font-size: 1.25rem;
	}
}

/* 競技ルール (rules) page: shares the event guide layout */
body.kyc-rules {
	background: var(--kyc-white);
}

.rules-notice {
	position: relative;
	padding: 18px 20px;
	border: 1px solid var(--kyc-line);
	background: var(--kyc-paper);
}

.rules-notice::before {
	position: absolute;
	top: -1px;
	left: -1px;
	width: 28px;
	height: 3px;
	background: var(--kyc-purple);
	content: "";
}

.rules-notice p {
	margin: 0;
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.8;
}

.rules-notice p + p {
	margin-top: 6px;
}

.rules-later {
	margin: 8px 0 0;
}

.guide-row dd .rules-pill {
	margin-block: 2px 10px;
	padding: 7px 16px;
	font-size: 1rem;
}

.rules-back {
	padding-top: 8px;
}

/* タイムスケジュール (time-schedule) page: shares the event guide layout */
body.kyc-time-schedule {
	background: var(--kyc-white);
}

.schedule-list {
	margin: 0;
}

.schedule-row {
	display: grid;
	grid-template-columns: 6.2em minmax(0, 1fr);
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--kyc-line);
}

.schedule-row dt {
	min-width: 0;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.schedule-row dd {
	min-width: 0;
	margin: 0;
	font-weight: 700;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.schedule-pending {
	margin: 16px 0 0;
}

.schedule-part + .schedule-part {
	margin-top: 36px;
}

.schedule-subhead,
.schedule-minor-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	margin: 24px 0 0;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--kyc-ink);
	font-family: var(--kyc-font-title-ja);
	font-size: 1.2rem;
	font-weight: 900;
	line-height: 1.3;
}

.schedule-minor-head {
	margin-top: 28px;
	border-bottom-color: var(--kyc-line);
	font-size: 1rem;
}

.schedule-subhead-en {
	color: var(--kyc-purple-dark);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.14em;
}

@media (min-width: 600px) {
	.schedule-row {
		grid-template-columns: 140px minmax(0, 1fr);
		gap: 24px;
	}
}

/* ENTRY pages (entry guide, rookie / youth forms, entry list) */
body.kyc-entry-page {
	background: var(--kyc-white);
}

.rules-notice .entry-state-title {
	font-size: 1.05rem;
	font-weight: 900;
}

/* Two ways into the forms */
.entry-choices {
	display: grid;
	gap: 16px;
}

.entry-choice {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 22px 20px;
	border: 1px solid var(--kyc-line);
}

.entry-choice::before {
	position: absolute;
	top: -1px;
	left: -1px;
	width: 28px;
	height: 3px;
	background: var(--kyc-purple);
	content: "";
}

.entry-choice-title {
	margin: 10px 0 0;
	font-family: var(--kyc-font-title-ja);
	font-size: 1.35rem;
	font-weight: 900;
	line-height: 1.35;
}

.entry-choice-facts {
	width: 100%;
	margin: 14px 0 20px;
	border-top: 1px solid var(--kyc-line);
}

.entry-choice-facts > div {
	display: grid;
	grid-template-columns: 4.5em minmax(0, 1fr);
	gap: 12px;
	align-items: baseline;
	padding: 10px 0;
	border-bottom: 1px solid var(--kyc-line);
}

.entry-choice-facts dt {
	color: var(--kyc-muted);
	font-size: 0.78rem;
	font-weight: 800;
}

.entry-choice-facts dd {
	min-width: 0;
	margin: 0;
	font-weight: 700;
}

.entry-choice .entry-button {
	margin-top: auto;
}

/* Form */
.entry-summary {
	border-top: 2px solid var(--kyc-ink);
}

.entry-form {
	display: grid;
	gap: 22px;
}

.entry-form-lead,
.entry-preview-note {
	margin: 0;
	color: var(--kyc-muted);
	font-size: 0.86rem;
	font-weight: 700;
}

.entry-preview-note {
	padding: 10px 14px;
	border: 1px dashed var(--kyc-purple);
	color: var(--kyc-purple-dark);
}

.entry-field {
	display: grid;
	gap: 8px;
	min-width: 0;
}

.entry-label,
.entry-agree-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 0;
	padding: 0;
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.5;
}

.entry-required,
.entry-optional {
	padding: 1px 7px;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.6;
}

.entry-required {
	background: var(--kyc-purple);
	color: var(--kyc-white);
}

.entry-optional {
	border: 1px solid var(--kyc-line);
	color: var(--kyc-muted);
}

.entry-input {
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	border: 1px solid #b9b7c0;
	border-radius: 0;
	background: var(--kyc-white);
	color: var(--kyc-ink);
	font-size: 16px;
	line-height: 1.5;
}

textarea.entry-input {
	min-height: 120px;
	resize: vertical;
}

.entry-input:focus {
	border-color: var(--kyc-purple);
	outline: 2px solid var(--kyc-purple);
	outline-offset: 0;
}

.entry-unit {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 12em;
	font-weight: 700;
}

.entry-radios {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.entry-radios .entry-label {
	margin-bottom: 8px;
}

.entry-radio,
.entry-check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin-right: 24px;
	font-weight: 700;
	cursor: pointer;
}

.entry-radio input,
.entry-check input {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--kyc-purple);
}

.entry-check {
	margin-right: 0;
}

.entry-agree-title {
	margin-top: 12px;
}

.entry-field-agree {
	padding: 16px 18px;
	border: 1px solid var(--kyc-line);
	background: var(--kyc-paper);
}

.entry-agree-text {
	margin: 0;
	padding: 0;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.8;
	list-style: none;
}

.entry-agree-text p {
	margin: 0;
}

ul.entry-agree-text li {
	position: relative;
	padding-left: 16px;
}

ul.entry-agree-text li::before {
	position: absolute;
	top: 0.75em;
	left: 2px;
	width: 5px;
	height: 5px;
	background: var(--kyc-purple);
	content: "";
}

.entry-help {
	margin: 0;
	color: var(--kyc-muted);
	font-size: 0.84rem;
	font-weight: 600;
}

.entry-error {
	margin: 0;
	color: #b3261e;
	font-size: 0.88rem;
	font-weight: 800;
}

.entry-field.has-error .entry-input {
	border-color: #b3261e;
}

.entry-error-summary {
	padding: 16px 18px;
	border: 2px solid #b3261e;
	background: #fff7f6;
	color: #b3261e;
	font-weight: 800;
}

.entry-error-summary p {
	margin: 0;
}

.entry-error-summary ul {
	margin: 8px 0 0;
	padding-left: 1.2em;
}

.entry-error-summary a {
	color: #b3261e;
}

.entry-trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.entry-submit {
	padding-top: 8px;
}

.entry-submit .entry-button {
	width: 100%;
	border: 0;
	cursor: pointer;
}

.entry-submit .entry-button:disabled {
	background: #8d8b94;
	cursor: not-allowed;
}

.entry-complete .guide-list {
	margin-top: 18px;
	border-top: 2px solid var(--kyc-ink);
}

.entry-complete .entry-payment {
	margin-top: 24px;
}

/* Public entry list */
.entry-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	margin: 10px 0 0;
	padding: 0;
	font-size: 0.88rem;
	font-weight: 700;
	list-style: none;
}

.entry-legend-sample {
	font-weight: 900;
}

.entry-legend-sample.is-unpaid,
.entry-list-item.is-unpaid .entry-list-name {
	color: #c62828;
}

.entry-legend-sample.is-cancelled,
.entry-list-item.is-cancelled {
	color: #9a99a3;
}

.entry-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.entry-list-item {
	display: grid;
	grid-template-columns: 5.2em minmax(0, 1fr) auto;
	gap: 12px;
	align-items: baseline;
	padding: 12px 0;
	border-bottom: 1px solid var(--kyc-line);
	font-weight: 700;
}

.entry-list-number {
	font-family: var(--kyc-font-date);
	font-size: 0.9rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

.entry-list-name {
	min-width: 0;
	overflow-wrap: anywhere;
}

.entry-list-status {
	font-size: 0.78rem;
	font-weight: 800;
}

@media (min-width: 760px) {
	.entry-choices {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.entry-choice {
		padding: 26px 26px 28px;
	}

	.entry-submit .entry-button {
		width: auto;
		min-width: 320px;
	}
}

@media (min-width: 1024px) {
	/* Pages without the left in-page menu keep the same text width as the guide body. */
	.guide-layout.is-single {
		grid-template-columns: minmax(0, 820px);
	}
}

/* Youth entry: category worked out from birth date and gender */
.entry-auto {
	padding: 1px 7px;
	border: 1px solid var(--kyc-purple);
	color: var(--kyc-purple-dark);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.6;
}

.entry-derived {
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--kyc-line);
	background: var(--kyc-paper);
	color: var(--kyc-muted);
	font-weight: 700;
	line-height: 1.5;
}

.entry-derived.is-found {
	border-color: var(--kyc-purple);
	background: var(--kyc-white);
	color: var(--kyc-ink);
	font-size: 1.05rem;
	font-weight: 900;
}

.entry-derived.is-missing,
.entry-field.has-error .entry-derived {
	border-color: #b3261e;
	color: #b3261e;
}

/* ENTRY form guidance: heading → text → check, and the payment information */
.entry-field-agree .entry-agree-text {
	padding: 14px 16px;
	border: 1px solid var(--kyc-line);
	background: var(--kyc-white);
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.85;
}

.entry-field-agree .entry-agree-text p + p {
	margin-top: 8px;
}

.entry-field-agree .entry-check {
	align-items: flex-start;
	padding-top: 4px;
	line-height: 1.6;
}

.entry-field-agree .entry-check input {
	flex: 0 0 auto;
	margin-top: 2px;
}

.entry-payment-info {
	display: grid;
	gap: 14px;
}

.entry-payment-body {
	padding: 18px 16px;
	border: 1px solid var(--kyc-line);
	background: var(--kyc-paper);
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.85;
}

.entry-payment-body > p {
	margin: 0;
}

.entry-payment-body > p + p {
	margin-top: 6px;
}

.entry-payment-body > .entry-payment-fee {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 14px;
	margin: 12px 0;
	padding: 12px 14px;
	border: 1px solid var(--kyc-purple);
	background: var(--kyc-white);
}

.entry-payment-fee-label {
	font-weight: 800;
}

.entry-payment-head {
	margin: 20px 0 8px;
	font-size: 0.95rem;
	font-weight: 900;
}

.entry-bank {
	margin: 0;
	border-top: 1px solid var(--kyc-line);
	background: var(--kyc-white);
}

.entry-bank > div {
	display: grid;
	grid-template-columns: 6em minmax(0, 1fr);
	gap: 12px;
	padding: 8px 12px;
	border-bottom: 1px solid var(--kyc-line);
}

.entry-bank dt {
	color: var(--kyc-muted);
	font-size: 0.84rem;
	font-weight: 800;
}

.entry-bank dd {
	min-width: 0;
	margin: 0;
	font-weight: 800;
	overflow-wrap: anywhere;
}

.entry-payment-deadline {
	font-weight: 800;
}

.entry-complete .entry-payment {
	margin-top: 28px;
}

@media (min-width: 600px) {
	.entry-payment-body,
	.entry-field-agree .entry-agree-text {
		padding: 20px 22px;
	}
}

/* Link to the cancellation form under the shared cancellation text */
.entry-payment-body > .entry-cancel-link {
	margin-top: 14px;
}

/* キャンセル申請 page: refund / no-refund notice */
.cancel-deadline-state {
	padding: 14px 16px;
	border: 1px solid var(--kyc-line);
	border-left: 4px solid var(--kyc-purple);
	background: var(--kyc-white);
	font-weight: 800;
	line-height: 1.8;
}

.cancel-deadline-state.is-after {
	border-left-color: var(--kyc-ink);
}

.cancel-deadline-state p {
	margin: 0;
}

/* Read the deadline box and the refund notice as one block (guide-body gap 56px → 18px) */
.guide-body > .rules-notice + .cancel-deadline-state {
	margin-top: -38px;
}

@media (min-width: 1024px) {
	/* guide-body gap is 72px here */
	.guide-body > .rules-notice + .cancel-deadline-state {
		margin-top: -54px;
	}
}

/* Refund account fields: slightly tighter on PC only; phones keep the shared spacing */
@media (min-width: 760px) {
	.entry-form > .entry-field[id^="kyc-cancel-bank_"] {
		gap: 6px;
	}

	.entry-form > .entry-field[id^="kyc-cancel-bank_"]:not(#kyc-cancel-bank_name-field) {
		margin-top: -6px;
	}
}


/* RESULTS page */
body.kyc-results {
	background: var(--kyc-white);
}

.results-layout {
	display: grid;
	gap: 40px;
	padding-block: 26px 72px;
}

.results-divisions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border: 2px solid var(--kyc-ink);
}

.results-division-tab {
	display: grid;
	gap: 2px;
	padding: 14px 16px;
	background: var(--kyc-white);
	color: var(--kyc-ink);
	text-align: center;
	text-decoration: none;
}

.results-division-tab + .results-division-tab {
	border-left: 2px solid var(--kyc-ink);
}

.results-division-tab.is-active {
	background: var(--kyc-ink);
	color: var(--kyc-white);
}

.results-division-tab:not(.is-active):hover {
	color: var(--kyc-purple-dark);
}

.results-division-en {
	font-family: var(--kyc-font-poster);
	font-size: clamp(1.5rem, 7vw, 2.2rem);
	letter-spacing: 0.04em;
	line-height: 1.05;
}

.results-division-ja {
	font-size: 0.78rem;
	font-weight: 800;
}

.results-division {
	display: grid;
	gap: 28px;
	min-width: 0;
	scroll-margin-top: 24px;
}

.results-categories ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.results-category-link {
	display: block;
	padding: 8px 14px;
	border: 1px solid var(--kyc-line);
	color: var(--kyc-muted);
	font-size: 0.86rem;
	font-weight: 800;
	line-height: 1.3;
	text-decoration: none;
}

.results-category-link.has-result {
	border-color: var(--kyc-ink);
	color: var(--kyc-ink);
}

.results-category-link:hover {
	border-color: var(--kyc-purple);
	color: var(--kyc-purple-dark);
}

.results-category-link.is-active {
	border-color: var(--kyc-purple);
	background: var(--kyc-purple);
	color: var(--kyc-white);
}

.results-category {
	display: grid;
	gap: 28px;
	min-width: 0;
	scroll-margin-top: 24px;
}

.results-category-title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 14px;
	margin: 0;
	font-family: var(--kyc-font-title-ja);
	font-size: clamp(1.4rem, 6vw, 1.8rem);
	font-weight: 900;
	line-height: 1.3;
}

.results-category-sub {
	color: var(--kyc-purple-dark);
	font-size: 0.86rem;
}

.results-empty {
	margin: 0;
	padding: 18px 20px;
	border: 1px solid var(--kyc-line);
	background: var(--kyc-paper);
	color: var(--kyc-muted);
	font-size: 0.94rem;
	font-weight: 700;
}

.results-block {
	min-width: 0;
}

.results-block-title {
	margin-top: 0;
}

.results-status {
	padding: 2px 10px;
	border: 1px solid var(--kyc-purple);
	color: var(--kyc-purple-dark);
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.5;
}

.results-status.is-official {
	border-color: var(--kyc-ink);
	background: var(--kyc-ink);
	color: var(--kyc-white);
}

.results-updated {
	color: var(--kyc-muted);
	font-family: inherit;
	font-size: 0.76rem;
	font-weight: 700;
}

.results-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	margin: 14px 0 0;
	font-size: 0.86rem;
	font-weight: 800;
}

.results-scroll-hint {
	display: flex;
	justify-content: flex-end;
	gap: 6px;
	margin: 12px 0 0;
	color: var(--kyc-muted);
	font-size: 0.76rem;
	font-weight: 700;
}

.results-scroll-hint[hidden] {
	display: none;
}

.results-scroll {
	max-width: 100%;
	margin-top: 8px;
	overflow-x: auto;
	border: 1px solid var(--kyc-line);
	-webkit-overflow-scrolling: touch;
}

.results-scroll:focus-visible {
	outline: 2px solid var(--kyc-purple);
	outline-offset: 2px;
}

.results-table {
	min-width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 0.88rem;
	white-space: nowrap;
}

.results-table th,
.results-table td {
	padding: 9px 10px;
	border-bottom: 1px solid var(--kyc-line);
	background: var(--kyc-white);
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.results-table thead th {
	background: var(--kyc-ink);
	color: var(--kyc-white);
	font-size: 0.76rem;
	font-weight: 800;
	line-height: 1.35;
}

.results-table .results-points th,
.results-table .results-points td {
	background: var(--kyc-lime);
	color: var(--kyc-purple-dark);
	font-size: 0.74rem;
	font-weight: 800;
}

.results-table .results-points .is-points-label {
	text-align: right;
}

.results-table tbody tr:last-child th,
.results-table tbody tr:last-child td {
	border-bottom: 0;
}

.results-table .is-rank {
	font-weight: 900;
}

.results-table tbody .is-name {
	font-weight: 800;
	text-align: left;
}

.results-table .is-kana {
	text-align: left;
}

.results-table tbody .is-kana {
	color: var(--kyc-muted);
	font-size: 0.76rem;
}

.results-table tbody .is-score,
.results-table tbody .is-total {
	font-weight: 900;
}

/* Rank, BIB and name stay at the left while the table scrolls sideways. */
.results-table tbody > tr > :nth-child(-n + 3),
.results-table thead > tr:first-child > :nth-child(-n + 3) {
	position: sticky;
	z-index: 1;
}

.results-table tbody > tr > :nth-child(1),
.results-table thead > tr:first-child > :nth-child(1) {
	left: 0;
	width: 3.4rem;
	min-width: 3.4rem;
	max-width: 3.4rem;
	white-space: normal;
}

.results-table tbody > tr > :nth-child(2),
.results-table thead > tr:first-child > :nth-child(2) {
	left: 3.4rem;
	width: 5.4rem;
	min-width: 5.4rem;
	max-width: 5.4rem;
	overflow-wrap: anywhere;
	white-space: normal;
}

.results-table tbody > tr > :nth-child(3),
.results-table thead > tr:first-child > :nth-child(3) {
	left: 8.8rem;
	box-shadow: 1px 0 0 var(--kyc-line);
}

.results-table thead > tr:first-child > :nth-child(3) {
	box-shadow: 1px 0 0 var(--kyc-muted);
}

/* Rookie tables (up to 20+ problems) scroll as a whole: fixed columns would cover フリガナ and the first
   problems while scrolling, and leave little room on phones. Youth tables keep the fixed columns. */
.results-division[data-division="rookie"] .results-table tbody > tr > :nth-child(-n + 3),
.results-division[data-division="rookie"] .results-table thead > tr:first-child > :nth-child(-n + 3) {
	position: static;
	box-shadow: none;
}

/* With the script, one division and one category at a time. */
.results-layout.is-enhanced .results-division:not(.is-active),
.results-layout.is-enhanced .results-category:not(.is-active) {
	display: none;
}

@media (min-width: 760px) {
	.results-layout {
		padding-block: 40px 96px;
	}

	.results-division-tab {
		padding: 18px 20px;
	}
}

/* ACCESS page */
body.kyc-access {
	background: var(--kyc-white);
}

.access-venue {
	display: grid;
	justify-items: start;
	gap: 6px;
	margin-top: 18px;
}

.access-venue p {
	margin: 0;
}

.access-venue-name {
	font-family: var(--kyc-font-title-ja);
	font-size: clamp(1.15rem, 5vw, 1.4rem);
	font-weight: 900;
	line-height: 1.4;
}

.access-venue-address {
	display: flex;
	flex-wrap: wrap;
	gap: 0 12px;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.7;
}

.access-map-button {
	margin-top: 14px;
	font-family: var(--kyc-font-title-ja);
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-decoration: none;
}

.access-figure {
	max-width: 100%;
	margin: 20px 0 0;
	padding: 10px;
	border: 1px solid var(--kyc-line);
	background: var(--kyc-white);
}

.access-figure img {
	display: block;
	width: 100%;
	height: auto;
}

/* PC: up to each image's own width (plus the frame), so nothing is enlarged beyond its detail. */
.access-figure.is-overview {
	max-width: 824px;
}

.access-figure.is-layout {
	max-width: 620px;
}

.access-figure.is-route {
	max-width: 813px;
}

.access-figure figcaption {
	margin-top: 10px;
	color: var(--kyc-muted);
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.6;
}

.access-areas {
	display: grid;
	gap: 10px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.access-areas li {
	display: grid;
	gap: 4px;
	padding: 12px 14px;
	border: 1px solid var(--kyc-line);
	border-left: 5px solid var(--access-area, var(--kyc-ink));
	background: var(--kyc-white);
}

.access-areas .is-blue {
	--access-area: #1f4fd8;
}

.access-areas .is-green {
	--access-area: #1b7f2a;
}

.access-areas .is-orange {
	--access-area: #f0a018;
}

.access-areas .is-red {
	--access-area: #d6262b;
}

.access-area-name {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 10px;
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.5;
}

.access-area-color {
	color: var(--kyc-muted);
	font-size: 0.78rem;
	font-weight: 700;
}

.access-area-text {
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.7;
}

.access-areas .is-blue .access-area-text {
	color: #b3141a;
}

.access-notice {
	margin-top: 20px;
	border-color: var(--kyc-purple);
}

.access-notice p + p {
	margin-top: 10px;
}

.access-fee {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--kyc-line);
}

.access-fee-label {
	font-size: 1rem;
	font-weight: 900;
}

.access-fee-value {
	font-size: 1.05rem;
	font-weight: 900;
}

.access-fee-value b {
	color: var(--kyc-purple-dark);
	font-family: var(--kyc-font-date);
	font-size: 1.9rem;
	font-weight: 400;
	line-height: 1;
}

.access-warning {
	color: #b3141a;
}

.access-text {
	margin-top: 18px;
}

.access-text p {
	margin: 0;
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.8;
}

.access-text p + p {
	margin-top: 8px;
}

.access-important {
	margin: 18px 0 0;
	padding: 14px 16px;
	border: 2px solid var(--kyc-ink);
	background: var(--kyc-paper);
	font-size: 0.98rem;
	font-weight: 900;
	line-height: 1.7;
}

@media (min-width: 760px) {
	.access-figure {
		padding: 14px;
	}
}

/* PAST EVENTS page */
body.kyc-past-events {
	background: var(--kyc-white);
}

.past-events-layout {
	display: grid;
	gap: 40px;
	padding-block: 32px 72px;
}

.past-event-list {
	display: grid;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.past-event-card {
	display: grid;
	justify-items: start;
	gap: 6px;
	padding: 22px 20px 24px;
	border: 1px solid var(--kyc-line);
	border-top: 4px solid var(--kyc-ink);
	background: var(--kyc-white);
}

.past-event-edition {
	margin: 0;
	font-family: var(--kyc-font-title-ja);
	font-size: 1.35rem;
	font-weight: 900;
	line-height: 1.3;
}

.past-event-edition b {
	color: var(--kyc-purple);
	font-family: var(--kyc-font-poster);
	font-size: 1.9rem;
	font-weight: 400;
}

.past-event-name {
	margin: 0;
	color: var(--kyc-purple-dark);
	font-family: var(--kyc-font-date);
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	line-height: 1.5;
}

.past-event-days {
	display: grid;
	gap: 8px;
	width: 100%;
	margin: 12px 0 8px;
	padding-top: 14px;
	border-top: 1px solid var(--kyc-line);
}

.past-event-day {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 14px;
}

.past-event-day dt,
.past-event-day dd {
	margin: 0;
}

.past-event-date {
	font-family: var(--kyc-font-date);
	font-size: 1.15rem;
}

.past-event-week {
	margin-left: 8px;
	font-family: var(--kyc-font-date);
	font-size: 0.8rem;
}

.past-event-day dd {
	color: var(--kyc-purple-dark);
	font-family: var(--kyc-font-date);
	font-size: 0.86rem;
	letter-spacing: 0.08em;
}

.past-event-link {
	margin-top: 8px;
	font-family: var(--kyc-font-title-ja);
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-decoration: none;
}

/* Past event results: header above the ROOKIE / YOUTH board */
.past-event-back {
	margin: 0 0 22px;
}

.past-results-title {
	margin: 4px 0 0;
	font-family: var(--kyc-font-title-ja);
	font-size: clamp(1.9rem, 8vw, 3rem);
	font-weight: 900;
	line-height: 1.2;
}

.past-results-title b {
	color: var(--kyc-purple);
	font-family: var(--kyc-font-poster);
	font-size: 1.3em;
	font-weight: 400;
}

.past-results-days {
	max-width: 420px;
	margin-bottom: 0;
}

@media (min-width: 760px) {
	.past-event-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.past-event-card {
		padding: 26px 28px 28px;
	}
}

/* NEWS article (single お知らせ) */
body.kyc-news-article {
	background: var(--kyc-white);
}

.news-article-main {
	min-width: 0;
}

.news-article-header {
	padding-bottom: 16px;
	border-bottom: 2px solid var(--kyc-ink);
}

.news-article-date {
	display: block;
	color: var(--kyc-purple-dark);
	font-family: var(--kyc-font-date);
	font-size: 0.95rem;
	letter-spacing: 0.06em;
	line-height: 1.4;
}

.news-article-title {
	margin: 8px 0 0;
	font-family: var(--kyc-font-title-ja);
	font-size: clamp(1.45rem, 6vw, 2.2rem);
	font-weight: 900;
	line-height: 1.35;
	overflow-wrap: anywhere;
	text-wrap: balance;
}

.news-article-thumbnail {
	margin-top: 24px;
}

.news-article-body {
	margin-top: 24px;
	font-size: 1rem;
	line-height: 1.9;
	overflow-wrap: anywhere;
}

.news-article-body a {
	color: var(--kyc-purple-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.news-article-body img,
.news-article-body video,
.news-article-body iframe {
	max-width: 100%;
	height: auto;
}

.news-article-body figure {
	max-width: 100%;
	margin-inline: 0;
}

.news-article-nav {
	display: grid;
	justify-items: start;
	gap: 14px;
	margin-top: 44px;
	padding-top: 24px;
	border-top: 1px solid var(--kyc-line);
}

.news-article-siblings {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 0;
	font-size: 0.86rem;
	font-weight: 700;
}

.news-article-siblings a {
	color: var(--kyc-ink);
}

/* Footer: CONTACT link */
.footer-contact {
	margin: 0;
}

.footer-contact a {
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
	padding-bottom: 3px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	color: var(--kyc-white);
	font-size: 0.86rem;
	font-weight: 700;
	text-decoration: none;
}

.footer-contact-en {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.14em;
}

.footer-contact a:hover {
	border-bottom-color: var(--kyc-white);
}

/* CONTACT page */
body.kyc-contact {
	background: var(--kyc-white);
}

.contact-office {
	display: grid;
	gap: 6px;
	margin-top: 18px;
}

.contact-office p,
.contact-organizer,
.contact-organizer dd {
	margin: 0;
}

.contact-office-name {
	font-family: var(--kyc-font-title-ja);
	font-size: clamp(1.15rem, 5vw, 1.4rem);
	font-weight: 900;
	line-height: 1.4;
}

.contact-office-email a {
	color: var(--kyc-purple-dark);
	font-size: 1.05rem;
	font-weight: 800;
	overflow-wrap: anywhere;
	text-underline-offset: 4px;
}

.contact-organizer {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 12px;
	margin-top: 6px;
	font-size: 0.94rem;
	font-weight: 700;
}

.contact-organizer dt {
	color: var(--kyc-muted);
}

.contact-text {
	margin-top: 18px;
}

.contact-text p {
	margin: 0;
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.8;
}

.contact-caution {
	margin: 18px 0 22px;
	font-size: 0.94rem;
	font-weight: 800;
}

.contact-complete {
	margin-top: 18px;
}

.contact-complete p {
	margin: 0;
	line-height: 1.8;
}

.contact-complete p + p {
	margin-top: 10px;
}

.contact-complete-title {
	font-family: var(--kyc-font-title-ja);
	font-size: 1.25rem;
	font-weight: 900;
}

/* Generic pages: news list, 404, and pages / posts / archives without their own template */
body.kyc-generic {
	background: var(--kyc-white);
}

.post-archive {
	min-width: 0;
}

.post-archive-lead {
	margin: 0 0 8px;
	color: var(--kyc-muted);
	font-size: 0.94rem;
	font-weight: 700;
}

.post-archive-list {
	margin: 0;
	padding: 0;
	border-top: 2px solid var(--kyc-ink);
	list-style: none;
}

.post-archive-item {
	padding: 22px 0 20px;
	border-bottom: 1px solid var(--kyc-line);
}

.post-archive-title {
	margin: 6px 0 0;
	font-family: var(--kyc-font-title-ja);
	font-size: clamp(1.15rem, 5vw, 1.4rem);
	font-weight: 900;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.post-archive-title a {
	color: var(--kyc-ink);
	text-decoration: none;
}

.post-archive-title a:hover {
	color: var(--kyc-purple-dark);
}

.post-archive-excerpt {
	margin-top: 8px;
	color: var(--kyc-muted);
	font-size: 0.94rem;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.post-archive-excerpt p {
	margin: 0;
}

.post-archive-empty {
	margin: 0;
	font-weight: 700;
}

.post-archive .pagination,
.post-archive .navigation {
	margin-top: 28px;
}

.generic-body {
	min-width: 0;
	font-size: 1rem;
	line-height: 1.9;
}

.generic-body > p:first-child {
	margin-top: 0;
}

.generic-back {
	margin: 28px 0 0;
}

/* ENTRY: 大会スタッフ (volunteer). その他の内容 and the 可能日 / お名前 / LINE part show only when they apply. */
.entry-field-volunteer {
	gap: 22px;
}

.entry-volunteer-roles {
	display: grid;
	gap: 10px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.entry-volunteer-roles .entry-help {
	margin: 0 0 4px;
}

.entry-volunteer-note {
	display: block;
	color: var(--kyc-muted);
	font-size: 0.82rem;
	font-weight: 700;
}

.entry-volunteer-other,
.entry-volunteer-available {
	display: none;
	gap: 8px;
	min-width: 0;
}

.entry-volunteer-available {
	gap: 22px;
}

.entry-field-inner {
	display: grid;
	gap: 8px;
	min-width: 0;
}

.entry-field-volunteer:has(.entry-volunteer-role[value="other"]:checked) .entry-volunteer-other,
.entry-field-volunteer.is-volunteer-other .entry-volunteer-other,
.entry-field-volunteer:has(.entry-volunteer-role:not([value="none"]):checked) .entry-volunteer-available,
.entry-field-volunteer.is-volunteer-available .entry-volunteer-available {
	display: grid;
}

.entry-staff-line {
	margin-top: 4px;
	padding: 16px 18px;
	border: 1px solid var(--kyc-line);
	border-left: 4px solid var(--kyc-purple);
	background: var(--kyc-paper);
}

.entry-staff-line p {
	margin: 0;
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.8;
}

.entry-staff-line .entry-staff-line-title {
	margin-bottom: 6px;
	font-size: 1rem;
	font-weight: 900;
}

.entry-staff-line-qr {
	display: block;
	width: 180px;
	max-width: 100%;
	height: auto;
	margin-top: 14px;
	background: var(--kyc-white);
}

.entry-staff-line .entry-staff-line-link,
.entry-staff-line .entry-help {
	margin-top: 12px;
}
