.sk-main--front {
	--sk-front-max: 1280px;
	--sk-front-inset: max(0px, (100cqw - var(--sk-front-max)) / 2);
	--sk-front-fade: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.9) 0%,
		rgba(255, 255, 255, 0.92) calc(var(--sk-front-inset) + min(30%, 380px)),
		rgba(255, 255, 255, 0) calc(var(--sk-front-inset) + min(62%, 780px))
	);
	container-type: inline-size;
}

.sk-fcontainer,
.sk-main--front .sk-fhead {
	max-width: var(--sk-front-max);
	margin-inline: auto;
}

.sk-fcontainer {
	padding-inline: var(--sk-gutter);
}

/* ---------- Hero ---------- */
.sk-hero {
	--sk-hero-shift: clamp(0px, 10cqw - 80px, 240px);
	display: flex;
	align-items: stretch;
	min-height: clamp(340px, 42cqw, 640px);
}

.sk-hero .sk-hero__copy {
	width: calc(min(40%, 480px) + var(--sk-hero-shift));
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1.2rem;
	padding: 2rem var(--sk-gutter);
	position: relative;
	z-index: 2;
	margin-right: -32px;
	background: #fff;
}

.sk-hero .sk-hero__logo img {
	width: 172px;
}

.sk-hero .sk-hero__tagline {
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
	line-height: 1.7;
	color: var(--sk-dark);
	text-align: center;
}

.sk-hero__em {
	color: var(--sk-or);
	text-decoration: underline;
	text-decoration-color: var(--sk-accent);
	text-underline-offset: 3px;
}

.sk-hero .sk-hero__desc {
	max-width: 26em;
	text-wrap: balance;
	word-break: auto-phrase;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.95;
	color: var(--sk-mid);
}

.sk-hero .sk-hero__photo {
	position: relative;
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

.sk-hero figure.sk-hero__photo img {
	position: absolute;
	inset: 0;
	object-position: 60% 40%;
}

.sk-hero__photo::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, #fff 32px, rgba(255, 255, 255, 0.75) 14%, rgba(255, 255, 255, 0) 42%);
}

@media (max-width: 767px) {
	.sk-hero {
		flex-direction: column;
		min-height: 0;
	}

	.sk-hero .sk-hero__photo {
		order: -1;
		flex: none;
		aspect-ratio: 4 / 3;
	}

	.sk-hero__photo::before {
		content: none;
	}

	.sk-hero .sk-hero__copy {
		width: auto;
		margin-right: 0;
		padding: 2rem var(--sk-gutter) 0.6rem;
	}

	.sk-hero .sk-hero__logo img {
		width: 140px;
	}
}

/* ---------- TOPICS ---------- */
.sk-topics {
	padding-block: 2.6rem;
}

.sk-topics::after {
	content: "";
	display: block;
	margin-top: 1.6rem;
	border-top: 1.5px dashed var(--sk-sage);
}

.sk-topics .sk-topics__title {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.4rem;
	font-family: var(--sk-serif);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--sk-or);
}

.sk-topics__title::after {
	content: "";
	flex: 1;
	border-top: 1.5px dashed var(--sk-sage);
}

.sk-topics .sk-topics__more {
	justify-content: flex-end;
	margin-top: 1.4rem;
}

/* ---------- セクション見出し ---------- */
.sk-fsec .sk-fhead {
	--sk-fhead-en-size: clamp(56px, 7vw, 96px);
	--sk-fhead-en-top: clamp(24px, 3vw, 40px);
	position: relative;
	padding: calc(var(--sk-fhead-en-top) + var(--sk-fhead-en-size) * 0.62) var(--sk-gutter) 24px;
}

.sk-fhead .sk-fhead__en {
	position: absolute;
	top: var(--sk-fhead-en-top);
	left: var(--sk-gutter);
	font-family: var(--sk-serif);
	font-size: var(--sk-fhead-en-size);
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.04em;
	white-space: nowrap;
	color: var(--sk-dark);
	opacity: 0.06;
	pointer-events: none;
}

.sk-fhead .sk-fhead__title {
	position: relative;
	font-family: var(--sk-serif);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 500;
	line-height: 1.6;
	color: var(--sk-dark);
}

.sk-fhead__sub {
	margin-left: 0.8em;
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.1em;
	color: var(--sk-or);
}

/* ---------- Feature ---------- */
.sk-feature {
	position: relative;
	display: flex;
	align-items: stretch;
	min-height: clamp(380px, 32cqw, 540px);
}

.sk-feature .sk-feature__copy {
	width: calc(var(--sk-front-inset) + min(40%, 500px));
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1.1rem;
	padding: 2.4rem var(--sk-gutter);
	padding-left: calc(var(--sk-front-inset) + var(--sk-gutter));
	position: relative;
	z-index: 1;
}

.sk-feature__copy p {
	word-break: auto-phrase;
	font-size: var(--wp--preset--font-size--small);
	line-height: 2;
	color: var(--sk-mid);
}

.sk-feature__copy p.sk-feature__quote {
	font-weight: 500;
	color: var(--sk-dark);
}

.sk-feature .sk-feature__more {
	align-self: flex-start;
	margin-top: 0.4rem;
}

.sk-feature .sk-feature__photo {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.sk-feature__photo::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background: var(--sk-front-fade);
}

.sk-feature--photo-right .sk-feature__copy {
	background: #fff;
}

.sk-feature.sk-feature--photo-right {
	--sk-ellipse-h: clamp(320px, 30cqw, 440px);
	min-height: calc(var(--sk-ellipse-h) + 64px);
}

.sk-feature.sk-feature--photo-right .sk-feature__photo {
	top: 50%;
	right: calc(var(--sk-front-inset) + var(--sk-gutter));
	bottom: auto;
	left: calc(var(--sk-front-inset) + min(40%, 500px));
	height: var(--sk-ellipse-h);
	transform: translateY(-50%);
	-webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
	mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
}

.sk-feature--photo-right .sk-feature__photo img {
	object-position: 60% 50%;
}

.sk-feature--photo-right .sk-feature__photo::before {
	content: none;
}

.sk-feature .sk-feature__photo--collage {
	display: flex;
}

.sk-feature__photo--collage > figure.wp-block-image {
	flex: 1 1 0;
	min-width: 0;
	height: 100%;
}

@media (max-width: 767px) {
	.sk-fhead .sk-fhead__title {
		font-size: 22px;
	}

	.sk-feature,
	.sk-feature.sk-feature--photo-right {
		flex-direction: column;
		min-height: 0;
	}

	.sk-feature .sk-feature__copy {
		width: auto;
		padding: 1.6rem var(--sk-gutter) 2.4rem;
	}

	.sk-feature .sk-feature__photo,
	.sk-feature.sk-feature--photo-right .sk-feature__photo {
		position: relative;
		inset: auto;
		order: -1;
		height: auto;
		aspect-ratio: 3 / 2;
		transform: none;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.sk-feature__photo::before {
		content: none;
	}

	.sk-feature .sk-feature__photo--collage {
		display: grid;
		grid-template: repeat(2, minmax(0, 1fr)) / repeat(2, minmax(0, 1fr));
		aspect-ratio: 4 / 3;
	}

	.sk-feature__photo--collage > figure.wp-block-image {
		height: 100%;
	}
}

.wp-block-button.is-style-more .wp-block-button__link {
	padding: 0.55em 1.8em;
	border: 1.5px solid var(--sk-dark);
	border-radius: 6px;
	background: #fff;
	box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.15);
	color: var(--sk-dark);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	line-height: 1.9;
	transition: background 0.2s, color 0.2s;
}

.wp-block-button.is-style-more .wp-block-button__link:hover {
	background: var(--sk-dark);
	color: #fff;
}

/* ---------- Track Record ---------- */
.sk-track {
	padding-block: 3.4rem;
	text-align: center;
}

.sk-track .sk-track__title {
	margin-bottom: 1.8rem;
	font-family: var(--sk-serif);
	font-size: clamp(24px, 2.4vw, 32px);
	font-style: italic;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--sk-or-large);
}

.sk-track .sk-track__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background: var(--sk-gray-panel);
}

.sk-track .sk-track__cell {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 0.2em 0.4em;
	min-height: 150px;
	padding: 2.2rem clamp(20px, 3vw, 40px);
	overflow: hidden;
	border-left: 1px solid #fff;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 500;
	color: var(--sk-dark);
}

.sk-track .sk-track__cell:first-child {
	border-left: none;
}

.sk-track__label {
	white-space: nowrap;
}

.sk-track__cell strong {
	text-align: left;
	line-height: 1.6;
	font-size: 20px;
	font-weight: 700;
	color: var(--sk-or);
}

.sk-track__cell--area strong {
	font-size: 17px;
}

.sk-track__cell--photo::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: url("../images/front-track.webp") center / cover;
	opacity: 0.16;
}

@media (max-width: 767px) {
	.sk-track .sk-track__grid {
		grid-template-columns: 1fr;
	}

	.sk-track .sk-track__cell {
		justify-content: center;
		min-height: 96px;
		padding-block: 1.4rem;
		border-top: 1px solid #fff;
		border-left: none;
	}

	.sk-track .sk-track__cell:first-child {
		border-top: none;
	}
}

/* ---------- Nav tiles ---------- */
.sk-tiles {
	padding-block: 3rem 4rem;
}

.sk-tiles .sk-tiles__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.6rem;
}

@media (max-width: 767px) {
	.sk-tiles .sk-tiles__grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
}

.sk-tiles .sk-tile {
	position: relative;
	display: grid;
	grid-template: minmax(0, 1fr) / minmax(0, 1fr);
	aspect-ratio: 2.15 / 1;
	overflow: hidden;
	border-radius: 18px;
}

.sk-tile > *,
.sk-tile::after {
	grid-area: 1 / 1;
}

.sk-tile::after {
	content: "";
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55) 100%);
	pointer-events: none;
}

.sk-tiles .sk-tile__label {
	z-index: 2;
	align-self: end;
	justify-self: start;
	margin: 0 0 clamp(16px, 2vw, 24px) clamp(18px, 2.4vw, 32px);
	font-size: clamp(18px, 1.8vw, 24px);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.03em;
	color: #fff;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.sk-tile::before {
	content: "";
	z-index: 2;
	grid-area: 1 / 1;
	align-self: end;
	justify-self: end;
	width: 44px;
	height: 44px;
	margin: 0 clamp(16px, 2vw, 24px) clamp(16px, 2vw, 24px) 0;
	border-radius: 50%;
	background: var(--sk-or) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat;
	pointer-events: none;
	transition: transform 0.3s;
}

.sk-tile img {
	transition: transform 0.5s;
}

.sk-tile:hover::before {
	transform: translateX(4px);
}

.sk-tile:hover img {
	transform: scale(1.04);
}

.sk-tile__label a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.sk-tile__label a:focus-visible {
	outline: none;
}

.sk-tile:has(a:focus-visible) {
	outline: 2px solid var(--sk-or);
	outline-offset: 3px;
}
