/* --------------------------------------------------------------------------
   TOP page — PC (1280〜1920)
   -------------------------------------------------------------------------- */

:root {
	--front-makers-underline-width: 13px;
	--front-makers-underline-height: 2px;
	--fv-ticker-height: 70px;
	--kg-front-fv-image-height: 106%;
}

.p-front {
	--front-cta-gap: 40px;
	--front-heading-gap: 48px;
	--front-heading-dot-gap: 20px;
	--front-dot-size: 10px;
	--front-heading-dot-size: 14px;
	position: relative;
	overflow-x: clip;
	color: #000;
	font-family: var(--kg-font-serif);
	font-weight: var(--kg-font-weight-base);
	letter-spacing: 0;
}

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

.p-front a {
	color: inherit;
	text-decoration: none;
}

.p-front :where(.p-fv, .p-about, .p-event, .p-makers, .p-news, .p-history, .p-supporters, .p-instagram) :where(h2, h3, p) {
	margin: 0;
	font-weight: inherit;
}

.p-front :where(h1, h2, h3, h4, h5, h6) {
	font-weight: var(--kg-font-weight-heading);
}

.p-front :where(.p-event__title, .p-event__notice, .p-event__block p, .p-news__row span, .p-history__meta h3) {
	overflow-wrap: anywhere;
}

.p-front :where(.p-about, .p-event, .p-makers, .p-news, .p-history, .p-supporters, .p-instagram) h2::before,
.p-front :where(.p-about, .p-event, .p-makers, .p-news, .p-history, .p-supporters, .p-instagram) h2::after {
	content: none;
	display: none;
}

.p-front img {
	display: block;
	max-width: 100%;
	height: auto;
	border: 0;
}

.p-front button {
	font: inherit;
	color: inherit;
	cursor: pointer;
}

body.home {
	overflow-x: clip;
}

body.home .c-langSwitch__item[aria-current="true"]::after {
	inset-inline: 0;
	inline-size: var(--front-makers-underline-width);
	margin-inline: auto;
	border-bottom-width: var(--front-makers-underline-height);
}

@media (min-width: 768px) {
	body.home {
		--kg-font-weight-emphasis: var(--kg-font-weight-base);
	}
}

/* --------------------------------------------------------------------------
   FV
   -------------------------------------------------------------------------- */
html.has-top-intro,
html.has-top-intro body {
	overflow: hidden;
}

html.has-top-intro .l-siteHeader,
html.has-top-intro .p-fv__ticker {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.45s ease;
}

html.has-top-intro.is-top-intro-ending .l-siteHeader,
html.has-top-intro.is-top-intro-ending .p-fv__ticker {
	opacity: 1;
	visibility: visible;
}

html.has-top-intro .p-fv__sliderTrack {
	pointer-events: none;
}

.p-fv__visual {
	--top-intro-end-duration: 700ms;
	--fv-loop-phase: -36.667s;
	position: relative;
	width: 100%;
	height: var(--kg-front-fv-height, auto);
	aspect-ratio: 1920 / 880;
	overflow: hidden;
	background: #fff;
}

@media (width > 1279px) {
	.p-fv__visual {
		/* 初回描画も中央へ揃え、再生前にJSで実寸から補正する。 */
		--fv-loop-phase: -37.98134s;
	}
}

/* 判定のヘッダー式は共通変数と同期する。帯が収まらない時は写真を優先。 */
@media (width >= 1200px) and (height < calc(100vw * 880 / 1920 + clamp(110px, 3.125vw + 70px, 130px) + 70px)),
	(767px < width < 1200px) and (height < calc(100vw * 880 / 1920 + 90px + 70px)) {
	:root {
		--kg-front-fv-height: calc(100svh - var(--kg-header-height));
	}
}

.p-fv__sliderTrack {
	display: flex;
	width: max-content;
	height: 100%;
	backface-visibility: hidden;
	animation: fv-slider-loop var(--fv-loop-duration, 40s) linear infinite;
	animation-delay: var(--fv-loop-phase);
	animation-play-state: var(--fv-play-state, paused);
}

.p-fv__slideGroup {
	display: flex;
	flex: 0 0 auto;
	gap: clamp(12px, 1.04vw, 20px);
	height: 100%;
	padding-right: clamp(12px, 1.04vw, 20px);
}

.p-fv__slide {
	position: relative;
	flex: 0 0 clamp(200px, 16.6667vw, 320px);
	/* Include each slide in WebKit's max-content track width. */
	width: clamp(200px, 16.6667vw, 320px);
	height: 100%;
	overflow: hidden;
	background-color: var(--kg-color-paper-soft);
}

.p-fv__slideLink {
	position: relative;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.top-intro__mask {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: var(--kg-color-paper-soft) url("../images/common/bg-texture-gray.png") repeat;
	background-size: 300px 300px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.9s ease;
}

html.has-top-intro .top-intro__mask {
	opacity: 1;
}

html.has-top-intro .is-intro-reveal .top-intro__mask {
	opacity: 0;
}

html.has-top-intro .is-intro-ending .top-intro__mask {
	transition-duration: var(--top-intro-end-duration);
}

.top-intro__walkers {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
}

.p-fv__marker {
	--intro-dot-size: clamp(34px, 3.125vw, 60px);
	--intro-person-size: clamp(50px, 4.58vw, 88px);
	--intro-person-start-x: 0vw;
	--intro-person-start-y: 0vw;
	--intro-person-angle: 0deg;
	--intro-step-delay: 0s;
	--fv-dot-drift-x: 10px;
	--fv-dot-drift-y: -8px;
	--fv-dot-drift-x-alt: -6px;
	--fv-dot-drift-y-alt: 10px;
	--fv-dot-drift-duration: 7s;
	position: absolute;
	left: var(--intro-dot-x);
	top: var(--intro-dot-y);
	width: var(--intro-dot-size);
	height: var(--intro-dot-size);
	transform: translate(-50%, -50%);
	animation: fv-dot-drift var(--fv-dot-drift-duration) ease-in-out infinite;
	pointer-events: none;
	will-change: transform;
}

.top-intro__walker--1 {
	--intro-dot-x: 13.5%;
	--intro-dot-y: 12.5%;
	--intro-person-start-x: 7.3vw;
	--intro-person-start-y: 4.5vw;
	--intro-person-angle: -58deg;
	--intro-step-delay: -0.07s;
	--fv-dot-drift-x: 12px;
	--fv-dot-drift-y: -7px;
	--fv-dot-drift-x-alt: -6px;
	--fv-dot-drift-y-alt: -12px;
	--fv-dot-drift-duration: 7.2s;
}

.top-intro__walker--2 {
	--intro-dot-x: 22.9%;
	--intro-dot-y: 38.6%;
	--intro-dot-size: clamp(38px, 3.385vw, 65px);
	--intro-person-start-x: -9.1vw;
	--intro-person-start-y: 15.6vw;
	--intro-person-angle: 31deg;
	--intro-step-delay: -0.19s;
	--fv-dot-drift-x: -10px;
	--fv-dot-drift-y: -12px;
	--fv-dot-drift-x-alt: 13px;
	--fv-dot-drift-y-alt: 5px;
	--fv-dot-drift-duration: 8.1s;
}

.top-intro__walker--3 {
	--intro-dot-x: 12.2%;
	--intro-dot-y: 85.2%;
	--intro-person-start-x: 16.4vw;
	--intro-person-start-y: -8.9vw;
	--intro-person-angle: 119deg;
	--intro-step-delay: -0.31s;
	--fv-dot-drift-x: 14px;
	--fv-dot-drift-y: -8px;
	--fv-dot-drift-x-alt: -9px;
	--fv-dot-drift-y-alt: 9px;
	--fv-dot-drift-duration: 6.7s;
}

.top-intro__walker--4 {
	--intro-dot-x: 32.6%;
	--intro-dot-y: 87.5%;
	--intro-dot-size: clamp(40px, 3.54vw, 68px);
	--intro-person-start-x: 25.2vw;
	--intro-person-start-y: -17.2vw;
	--intro-person-angle: 126deg;
	--intro-step-delay: -0.13s;
	--fv-dot-drift-x: -14px;
	--fv-dot-drift-y: -9px;
	--fv-dot-drift-x-alt: 8px;
	--fv-dot-drift-y-alt: 12px;
	--fv-dot-drift-duration: 7.7s;
}

.top-intro__walker--5 {
	--intro-dot-x: 86.2%;
	--intro-dot-y: 14.2%;
	--intro-person-start-x: -10.2vw;
	--intro-person-start-y: 5vw;
	--intro-person-angle: -36deg;
	--intro-step-delay: -0.26s;
	--fv-dot-drift-x: 9px;
	--fv-dot-drift-y: 11px;
	--fv-dot-drift-x-alt: -12px;
	--fv-dot-drift-y-alt: -5px;
	--fv-dot-drift-duration: 6.9s;
}

.top-intro__walker--6 {
	--intro-dot-x: 92.2%;
	--intro-dot-y: 64.8%;
	--intro-person-start-x: -4.7vw;
	--intro-person-start-y: -6.3vw;
	--intro-person-angle: 37deg;
	--intro-step-delay: -0.34s;
	--fv-dot-drift-x: -8px;
	--fv-dot-drift-y: 10px;
	--fv-dot-drift-x-alt: 12px;
	--fv-dot-drift-y-alt: -9px;
	--fv-dot-drift-duration: 8.4s;
}

.top-intro__walker--7 {
	--intro-dot-x: 78.6%;
	--intro-dot-y: 70.5%;
	--intro-person-start-x: -8.3vw;
	--intro-person-start-y: 6.3vw;
	--intro-person-angle: -34deg;
	--intro-step-delay: -0.21s;
	--fv-dot-drift-x: 13px;
	--fv-dot-drift-y: 7px;
	--fv-dot-drift-x-alt: -7px;
	--fv-dot-drift-y-alt: -11px;
	--fv-dot-drift-duration: 7.4s;
}

html.has-top-intro .p-fv__marker {
	animation: none;
}

.p-fv__dot {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: none;
	border-radius: 50%;
	background: var(--kg-color-red);
	box-shadow: 0 0 9px rgba(201, 31, 40, 0.55);
	opacity: 1;
	transition: opacity 0.5s ease;
}

html.has-top-intro .p-fv__dot {
	opacity: 0;
}

html.has-top-intro .is-intro-dot .p-fv__dot {
	opacity: 1;
}

html.has-top-intro .is-intro-ending .p-fv__dot {
	transition-duration: var(--top-intro-end-duration);
}

.top-intro__person {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	width: var(--intro-person-size);
	aspect-ratio: 88 / 81;
	opacity: 0;
	will-change: transform, opacity;
}

.top-intro__person img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	opacity: 0.48;
	transform-origin: center;
	transition: opacity 0.7s linear;
}

html.has-top-intro .is-intro-persons .top-intro__person {
	opacity: 1;
	animation: top-intro-person-travel 2.9s cubic-bezier(0.4, 0.05, 0.2, 1) both;
	transition: opacity 0.35s ease;
}

html.has-top-intro .is-intro-persons .top-intro__person img {
	animation: top-intro-person-step 0.68s linear infinite;
	animation-delay: var(--intro-step-delay);
}

html.has-top-intro .is-intro-emblem .top-intro__person img {
	opacity: 1;
}

html.has-top-intro .is-intro-ending .top-intro__person {
	opacity: 0;
	transition-duration: var(--top-intro-end-duration);
}

@keyframes top-intro-person-travel {
	from {
		transform: translate(calc(-50% + var(--intro-person-start-x)), calc(-50% + var(--intro-person-start-y))) rotate(var(--intro-person-angle));
	}

	to {
		transform: translate(-50%, -50%) rotate(var(--intro-person-angle));
	}
}

@keyframes top-intro-person-step {
	0%,
	100% {
		transform: translate(0, 0) rotate(-0.7deg);
	}

	25% {
		transform: translate(-1.5%, -1.2%) rotate(0deg);
	}

	50% {
		transform: translate(0, 0) rotate(0.7deg);
	}

	75% {
		transform: translate(1.5%, 1.2%) rotate(0deg);
	}
}

@keyframes fv-dot-drift {
	0%,
	100% {
		transform: translate(-50%, -50%);
	}

	32% {
		transform: translate(calc(-50% + var(--fv-dot-drift-x)), calc(-50% + var(--fv-dot-drift-y)));
	}

	68% {
		transform: translate(calc(-50% + var(--fv-dot-drift-x-alt)), calc(-50% + var(--fv-dot-drift-y-alt)));
	}
}

.top-intro__center {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: grid;
	place-items: center;
	pointer-events: none;
}

.top-intro__emblem {
	position: absolute;
	display: block;
	width: min(760px, 70vh, 66vw);
	height: auto;
	aspect-ratio: 1;
	object-fit: contain;
	opacity: 0;
	transform: scale(0.95);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

html.has-top-intro .is-intro-emblem .top-intro__emblem {
	opacity: 1;
	transform: scale(1);
}

.top-intro__copy {
	position: absolute;
	height: min(520px, 61vh);
	margin: 0;
	color: var(--kg-color-navy);
	font-size: clamp(32px, 3.125vw, 60px);
	font-weight: var(--kg-font-weight-heading);
	line-height: 1.28;
	letter-spacing: 0.04em;
	writing-mode: vertical-rl;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.top-intro__copy span {
	display: block;
}

html.has-top-intro .is-intro-copy .top-intro__copy {
	opacity: 1;
	transform: translateY(0);
}

html.has-top-intro .is-intro-ending .top-intro__emblem,
html.has-top-intro .is-intro-ending .top-intro__copy {
	opacity: 0;
	transition-duration: var(--top-intro-end-duration);
}

.top-intro__skip {
	position: absolute;
	right: clamp(22px, 1.56vw, 30px);
	bottom: 18px;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 8px 0 8px 8px;
	border: 0;
	background: transparent;
	color: var(--kg-color-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(22px, 1.56vw, 30px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.02em;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.top-intro__skip i {
	position: relative;
	display: block;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--kg-color-red);
}

.top-intro__skip i::before,
.top-intro__skip i::after {
	position: absolute;
	top: 50%;
	left: 50%;
	content: "";
}

.top-intro__skip i::before {
	width: 7px;
	height: 7px;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	transform: translate(-65%, -50%) rotate(45deg);
}

.top-intro__skip i::after {
	width: 8px;
	border-top: 1px solid #fff;
	transform: translate(-65%, -50%);
}

html.has-top-intro .top-intro__skip {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

html.has-top-intro .is-intro-ending .top-intro__skip {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity var(--top-intro-end-duration) ease, visibility 0s linear var(--top-intro-end-duration);
}

html.has-top-intro .p-fv__sliderTrack,
html.has-top-intro .p-fv__tickerTrack {
	animation-play-state: paused;
}

@media (max-width: 767px) {
	:root {
		--kg-front-fv-height: clamp(520px, 144vw, 620px);
		--kg-front-fv-image-height: 100%;
	}

	.p-fv__visual {
		--fv-loop-phase: -8s;
		aspect-ratio: auto;
	}

	.p-fv__slideGroup {
		gap: 12px;
		padding-right: 12px;
	}

	.p-fv__slide {
		flex-basis: 52vw;
		width: 52vw;
	}

	.p-fv__visual:not(.is-phase-ready) .p-fv__sliderTrack {
		/* JSの実寸計測前も3枚目の枠を中央へ置く（枠52vw・隙間12px）。 */
		animation: none;
		transform: translate3d(calc(-80vw - 24px), 0, 0);
	}

	.top-intro__emblem {
		width: min(88vw, 520px);
	}

	.top-intro__copy {
		height: min(390px, 58vh);
		font-size: clamp(26px, 8vw, 36px);
	}

	.top-intro__skip {
		right: 16px;
		bottom: 14px;
		font-size: 22px;
	}

	.top-intro__skip i {
		width: 26px;
		height: 26px;
	}
}

.p-front .p-fv__image {
	--fv-pan-from: 30%;
	--fv-pan-to: -30%;
	position: absolute;
	top: 50%;
	/* 移動の両端でも枠を覆う幅と、端の描画誤差を吸収する余白。 */
	left: -80%;
	width: 260%;
	max-width: none;
	/* 素材下端の18pxの白帯を枠外へ出し、写真を下端まで表示する。 */
	height: var(--kg-front-fv-image-height);
	object-fit: cover;
	object-position: var(--fv-object-position, center);
	background: var(--fv-slide-preview, none) var(--fv-object-position, center) / cover no-repeat;
	filter: brightness(0.96) saturate(0.98);
	transform: translate3d(calc(var(--fv-pan-from) + (var(--fv-pan-to) - var(--fv-pan-from)) * var(--fv-pan-progress, 0.5)), -50%, 0);
	backface-visibility: hidden;
	will-change: transform;
	animation: none;
}
/*
.p-front .p-fv__image--1 {
	--fv-object-position: 50% center;
}

.p-front .p-fv__image--2 {
	--fv-object-position: 51% center;
}

.p-front .p-fv__image--3 {
	--fv-object-position: 49% center;
}

.p-front .p-fv__image--4 {
	--fv-object-position: 50% center;
}

.p-front .p-fv__image--5 {
	--fv-object-position: 51% center;
}

.p-front .p-fv__image--6 {
	--fv-object-position: 49% center;
}

.p-front .p-fv__image--7 {
	--fv-object-position: 50% center;
} */

@media (max-width: 767px) {
	.p-front .p-fv__image {
		--fv-pan-from: 5%;
		--fv-pan-to: -5%;
	}
}

.p-fv__ticker {
	height: var(--fv-ticker-height);
	overflow: hidden;
	background: #fff;
	font-size: 16px;
	line-height: 1.5;
	white-space: nowrap;
}

.p-fv__tickerTrack {
	display: flex;
	width: max-content;
	height: 100%;
	animation: fv-ticker-loop var(--fv-ticker-duration, 55s) linear infinite;
}

.p-fv__tickerGroup {
	--fv-ticker-group-gap: 68px;
	display: flex;
	flex: 0 0 auto;
	gap: var(--fv-ticker-group-gap);
	align-items: center;
	padding-right: calc(var(--fv-ticker-group-gap) - 20px);
	padding-left: 20px;
}

.p-fv__tickerItem {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
}

.p-fv__tag {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: auto;
	min-width: 140px;
	height: 30px;
	margin-right: 20px;
	padding: 0 16px;
	background: var(--kg-color-navy);
	color: #fff;
	font-size: 16px;
	font-weight: var(--kg-font-weight-base);
}

.p-fv__tickerTrack.is-static {
	width: 100%;
	animation: none;
}

.p-fv__tickerTrack.is-static .p-fv__tickerGroup[aria-hidden="true"] {
	display: none;
}

.p-fv__tickerTrack.is-static .p-fv__tickerItem {
	min-width: 0;
	max-width: 100%;
}

.p-fv__tickerTrack.is-static .p-fv__tickerItem strong {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.p-fv__tag--important {
	width: 150px;
}

.p-fv__tickerItem time {
	margin-right: 14px;
	font-size: 12px;
}

.p-fv__tickerItem strong {
	font-size: inherit;
	font-weight: var(--kg-font-weight-base);
}

.p-fv__visual:focus-within .p-fv__sliderTrack,
.p-fv__ticker:hover .p-fv__tickerTrack,
.p-fv__ticker:focus-within .p-fv__tickerTrack {
	animation-play-state: paused;
}

@keyframes fv-slider-loop {
	to {
		transform: translate3d(-50%, 0, 0);
	}
}

@keyframes fv-ticker-loop {
	to {
		transform: translate3d(-50%, 0, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.p-fv__sliderTrack,
	.p-fv__tickerTrack {
		animation-play-state: paused;
	}

	.p-front .p-fv__image {
		transform: translate3d(0, -50%, 0);
	}

	.p-fv__marker {
		animation: none;
	}
}

/* --------------------------------------------------------------------------
   ABOUT
   -------------------------------------------------------------------------- */
.p-about {
	--about-extra-space: clamp(0px, min(calc((100vw - 1080px) / 8), calc((1920px - 100vw) / 11)), 42px);
	--about-block-space: calc(clamp(90px, 15.47vw, 297px) + var(--about-extra-space) / 2);
	--about-heading-size: calc(clamp(28px, 2.5vw, 48px) + var(--about-extra-space) / 10);
	--front-heading-inline-offset: calc(var(--about-heading-size) * -0.25 - 1px);
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: clamp(700px, 56.25vw, 1080px);
	padding: var(--about-block-space) clamp(24px, 4vw, 80px);
	overflow: visible;
	background: var(--kg-color-paper) url("../images/common/bg-texture-gray.png") repeat;
	background-size: 300px 300px;
	text-align: center;
}

.p-about__mark {
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(780px, 46vw);
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	opacity: 0.72;
	pointer-events: none;
}

.p-about__markLayer {
	position: absolute;
	display: block;
}

.p-about__markLayer--frame {
	inset: 0;
	width: 100%;
	height: 100%;
	transform-origin: center;
	animation: about-mark-frame-rotate 45s linear infinite;
}

.p-about__markLayer--body {
	top: 50%;
	left: 50%;
	width: 69.28%;
	height: 70.12%;
	transform: translate(-50%, -50%);
}

@keyframes about-mark-frame-rotate {
	to {
		transform: rotate(1turn);
	}
}

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

h2.p-about__title {
	color: var(--kg-color-navy);
	font-size: var(--about-heading-size);
	line-height: 1;
}

.p-front :is(.c-sectionHeading__title, .c-sectionHeading__dot) {
	position: relative;
	inset-inline-start: var(--front-heading-inline-offset, 0px);
}

.p-front .c-sectionHeading__title {
	inline-size: fit-content;
	margin-inline: auto;
}

.p-front .c-sectionHeading__dot,
.p-front .p-news__nav button.is-active::before {
	inline-size: var(--front-dot-size);
	block-size: var(--front-dot-size);
	border-radius: 50%;
	background: var(--kg-color-red);
}

.p-front .c-sectionHeading__dot {
	display: block;
	flex: 0 0 auto;
	margin-block: var(--front-heading-dot-gap) calc(var(--front-heading-gap) - var(--front-heading-dot-gap) - var(--front-dot-size));
	margin-inline: auto;
}

.p-front :is(.p-about__dot, .p-makers__dot) {
	--front-dot-size: var(--front-heading-dot-size);
}

.p-about__copy {
	position: relative;
	max-width: 1180px;
	font-size: var(--kg-font-body-size);
	line-height: calc(8em / 3);
}

.p-about__copy p + p {
	margin-top: 0;
}

.p-about__button {
	margin-block-start: var(--front-cta-gap);
	z-index: 1;
}

/* --------------------------------------------------------------------------
   EVENT
   -------------------------------------------------------------------------- */
.p-event {
	display: grid;
	/* 縦見出しを縮めても、画像・本文の開始位置は維持する。 */
	grid-template-columns: calc(90px * 1.09) minmax(0, 1fr);
	gap: 74px;
	align-items: start;
	padding: var(--kg-section-gap) 0 var(--kg-section-gap) max(20px, calc((100% - var(--kg-common-content-max)) / 2 - 12px));
	background: #fff;
}

.p-event__side {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 0;
}

.p-event__heading,
.p-history__heading {
	margin: 0;
	color: var(--kg-color-navy);
	line-height: 1.09;
	writing-mode: vertical-rl;
	text-orientation: mixed;
}

h2.p-event__heading {
	font-size: var(--event-heading-size, 90px);
	letter-spacing: 0.08em;
}

.p-event__index {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
	margin-top: 47px;
	width: 60px;
}

.p-event__index button.is-active::after {
	content: "";
	position: absolute;
	top: calc(var(--event-index-size, 60px) / 2);
	left: 100%;
	width: calc(74px + (90px * 1.09 - var(--event-index-size, 60px)) / 2);
	height: 1px;
	background: var(--kg-color-navy);
	pointer-events: none;
}

.p-event__index button {
	position: relative;
	z-index: 1;
	width: var(--event-index-size, 60px);
	height: var(--event-index-size, 60px);
	padding: 0;
	border: 1px solid var(--kg-color-navy);
	border-radius: 50%;
	background: #fff;
	color: var(--kg-color-navy);
	font-size: var(--event-index-font, 24px);
}

.p-event__index button.is-active {
	border-color: var(--kg-color-red);
	background: var(--kg-color-red);
	color: #fff;
}

/* 全タブを同じセルで採寸し、最も高い開催情報に枠を揃える。 */
.p-event__panels {
	display: grid;
	min-width: 0;
}

.p-event__panels > .p-event__panel {
	grid-area: 1 / 1;
	align-self: stretch;
}

.p-event__panels > .p-event__panel[hidden] {
	display: grid;
	visibility: hidden;
	pointer-events: none;
}

.p-event__panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(200px, min(470px, calc(100vw - 940px))) minmax(0, 1fr);
	gap: var(--event-panel-gap, 30px);
	min-height: var(--event-panel-min-height, 690px);
	padding: var(--event-panel-padding, 60px) var(--event-panel-right, 40px) calc(var(--event-panel-padding, 60px) + 10px) var(--event-panel-padding, 60px);
}

.p-event__panel::before {
	content: "";
	position: absolute;
	inset: 0 0 10px 0;
	z-index: 4;
	border: 1px solid var(--kg-color-navy);
	border-right: 0;
	pointer-events: none;
}

.p-event__panel::after {
	content: "";
	position: absolute;
	inset: 10px 0 0 10px;
	z-index: 0;
	background: var(--kg-color-paper) url("../images/common/bg-texture-gray.png") repeat;
	background-size: 300px 300px;
	pointer-events: none;
}

.p-event__photos {
	display: grid;
	position: relative;
	z-index: 2;
	align-items: center;
}

.p-event__photo {
	grid-area: 1 / 1;
	position: relative;
	z-index: 2;
	width: 100%;
	height: auto;
	aspect-ratio: 470 / 560;
	object-fit: cover;
}

.p-event__photo:not(:first-child) {
	opacity: 0;
}

.p-event__photos.is-ready .p-event__photo {
	opacity: 0;
	transition: opacity 0.7s linear;
	pointer-events: none;
}

.p-event__photos.is-ready .p-event__photo.is-active {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.p-event__photos.is-ready .p-event__photo {
		transition: none;
	}
}

/* 1920px時は本文カラムを基準に、詳細ボタンと下端を揃える。 */
.p-event__mark {
	position: absolute;
	bottom: 0;
	left: 50%;
	z-index: -1;
	width: 350px;
	height: auto;
	max-height: 100%;
	object-fit: contain;
	object-position: right bottom;
	transform: translateX(-15%);
	pointer-events: none;
}

.p-event__body {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	max-width: min(610px, 100%);
	min-width: 0;
	padding-top: 0;
}

.p-front .p-event__title {
	position: relative;
	margin-bottom: 20px;
	padding-left: 30px;
	font-size: 32px;
	line-height: 40px;
}

.p-front .p-event__title--pending {
	margin-bottom: 10px;
}

.p-front .p-event__notice {
	margin: 0 0 22px;
	color: var(--kg-color-text);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.7;
}

.p-event__dot {
	position: absolute;
	top: 20px;
	left: 8px;
	inline-size: var(--front-heading-dot-size);
	block-size: var(--front-heading-dot-size);
	border-radius: 50%;
	background: var(--kg-color-red);
	transform: translate(-50%, -50%);
}

.p-event__block {
	width: 100%;
	margin-bottom: 26px;
}

.p-event__block:last-child {
	margin-bottom: 0;
}

.p-event__block b {
	display: grid;
	place-items: center;
	width: 160px;
	height: 30px;
	margin-bottom: 8px;
	background: var(--kg-color-navy);
	color: #fff;
	font-size: 16px;
	font-weight: var(--kg-font-weight-emphasis);
}

.p-event__block p {
	font-size: 16px;
	line-height: 28px;
	letter-spacing: 0.02em;
}

.p-event__dates {
	font-variant-numeric: tabular-nums;
}

.p-event__dates > span {
	display: inline-block;
	max-inline-size: 100%;
}

.p-event__dates > span + span {
	white-space: nowrap;
}

@media (min-width: 768px) {
	.p-event__dateSeparator::before,
	.p-event__dateSeparator::after {
		content: "\2009";
	}
}

.p-event__makers-note {
	display: block;
	text-align: right;
	font-size: 13px;
	padding-top: 10px;
	color: #333;
	line-height: 1.5;
	white-space: nowrap;
}

.p-event__block .p-event__placeName {
	font-size: 20px;
	line-height: 30px;
}

.p-event__block .p-event__placeAddress {
	font-size: 14px;
	line-height: 24px;
}

.p-event__button {
	/* SPではタブ間でCTAを下揃えする。 */
	margin-block-start: auto;
	align-self: center;
}

/* --------------------------------------------------------------------------
   MOVIE
   -------------------------------------------------------------------------- */
.p-movie__frame {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	overflow: hidden;
	background: var(--kg-color-navy);
}

.p-movie__media {
	display: block;
	width: min(var(--kg-common-content-max), 100%);
	height: auto;
	aspect-ratio: 1920 / 824;
	background: var(--kg-color-navy);
	object-fit: contain;
}

.p-movie__frame.is-ready .p-movie__media {
	opacity: 0;
	transform: scale(1.025);
	transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-movie__frame.is-ready.is-visible .p-movie__media {
	opacity: 1;
	transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
	.p-movie__frame.is-ready .p-movie__media {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   MAKERS
   -------------------------------------------------------------------------- */
.p-makers {
	--makers-lead-gap: 64px;
	--makers-list-gap: 48px;
	position: relative;
	padding: var(--kg-section-gap) max(var(--kg-common-content-gutter), calc((100% - var(--kg-common-content-max)) / 2));
	overflow: visible;
	background: #fff;
	text-align: center;
}

/* 動画がない場合は、作り手紹介の上余白でセクション間を整える。 */
.p-front > .p-event:has(+ .p-makers) {
	padding-bottom: 0;
}

.p-front > .p-about + .p-news {
	margin-block-start: var(--kg-section-gap);
}

.p-makers__mark {
	--makers-mark-size: 380px;
	position: absolute;
	/* 4行の紹介文と共通余白を基準に、背景ロゴをタブの手前に収める。 */
	top: calc(var(--kg-section-gap) + var(--makers-heading-size) + var(--front-heading-gap) + 4 * var(--makers-lead-line-height) + var(--makers-lead-gap) - var(--makers-mark-size));
	left: 50%;
	width: var(--makers-mark-size);
	aspect-ratio: 1;
	transform: translateX(-50%);
	pointer-events: none;
}

.p-makers__markLayer {
	position: absolute;
	display: block;
}

.p-makers__markLayer--outer {
	inset: 0;
	width: 100%;
	height: 100%;
}

.p-makers__markLayer--inner {
	top: 50%;
	left: 50%;
	width: 69.3%;
	height: 70.2%;
	transform: translate(-50%, -50%);
}

h2.p-makers__title {
	color: var(--kg-color-navy);
	font-size: var(--makers-heading-size, 48px);
	line-height: 1;
}

.p-makers__lead {
	position: relative;
	margin-block-end: var(--makers-lead-gap);
	padding-left: 38px;
	font-size: 18px;
	line-height: 38px;
}

.p-makers__filter {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	width: min(var(--kg-common-content-max), 100%);
	margin: 0 auto var(--makers-list-gap);
}

.p-makers__filter button {
	position: relative;
	padding: 0 4px 10px;
	border: 0;
	background: transparent;
	color: var(--kg-color-muted);
	font-size: 16px;
	font-weight: var(--kg-font-weight-emphasis);
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.p-makers__filter button.is-active {
	color: var(--kg-color-navy);
	font-weight: calc(var(--kg-font-weight-emphasis) + 100);
}

.p-makers__filter button.is-active::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: var(--front-makers-underline-width);
	height: var(--front-makers-underline-height);
	background: var(--kg-color-red);
	transform: translateX(-50%);
}

.p-makers__grid {
	width: min(var(--kg-common-content-max), 100%);
	margin: 0 auto;
	text-align: left;
}

.p-makers__empty {
	padding-block-start: 24px;
	color: var(--kg-color-muted);
	font-size: 0.875rem;
	line-height: 1.8;
}

/* 0件の一覧ボタンと、カテゴリ絞り込み対象外のカードを隠す。 */
.p-makers .p-makers__button[hidden],
.p-makers .c-makerCard[hidden] {
	display: none;
}

.p-makers__button {
	z-index: 1;
	margin-block-start: var(--front-cta-gap);
	box-shadow: none;
}

/* --------------------------------------------------------------------------
   NEWS
   -------------------------------------------------------------------------- */
.p-news {
	--news-row-height: 80px;
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	align-items: start;
	gap: 60px;
	padding: clamp(var(--kg-section-edge-space), 6.25vw, 120px) max(var(--kg-common-content-gutter), calc((100% - var(--kg-common-content-max)) / 2));
	background: var(--kg-color-navy) url("../images/common/bg-texture-gray.png") repeat;
	background-blend-mode: multiply;
	color: #fff;
}

h2.p-news__title {
	margin-block-end: var(--front-heading-gap);
	font-size: 42px;
	line-height: 1;
}

.p-news__nav {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 37px;
	margin-block-end: var(--front-cta-gap);
	padding-left: 20px;
}

.p-news__nav button {
	position: relative;
	flex: 0 0 auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-weight: var(--kg-font-weight-base);
	white-space: nowrap;
}

.p-news__nav button.is-active {
	font-weight: calc(var(--kg-font-weight-base) + 100);
}

.p-news__nav button.is-active::before {
	content: "";
	position: absolute;
	top: 50%;
	left: -20px;
	transform: translateY(-50%);
}

.p-news__list {
	position: relative;
	min-width: 0;
}

.p-news__list::before,
.p-news__row,
.p-news__empty {
	background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0 2px, transparent 2px 4px);
	background-repeat: repeat-x;
	background-position: left bottom;
	background-size: 4px 1px;
}

.p-news__list::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 1px;
	content: "";
}

.p-news__row {
	display: grid;
	grid-template-columns: 98px 132px minmax(0, 1fr) 60px;
	align-items: center;
	min-height: var(--news-row-height);
	padding-block: 20px;
	border-bottom: 1px solid transparent;
	background-origin: border-box;
	color: #fff;
}

.p-news__row[hidden] {
	display: none;
}

.p-news__empty {
	display: grid;
	place-items: center;
	min-height: calc(var(--news-row-height) * 5);
	padding: 40px 20px;
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.875rem;
	line-height: 1.8;
	text-align: center;
}

.p-news__empty[hidden] {
	display: none;
}

.p-news__row time {
	padding-left: 20px;
	white-space: nowrap;
}

.p-news__row span {
	text-align: center;
}

.p-news__row strong {
	min-width: 0;
	overflow-wrap: anywhere;
}

.p-news__row i {
	justify-self: center;
	width: 31px;
	aspect-ratio: 126 / 74;
	background: url("../images/common/icon-arrow-right-navy-short.svg") center / contain no-repeat;
	filter: brightness(0) invert(1);
	transition: transform 0.3s ease;
}

.p-news__row:is(:hover, :focus-visible) i {
	transform: translateX(var(--kg-hover-distance));
}

@media (prefers-reduced-motion: reduce) {
	.p-news__row i {
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   HISTORY
   -------------------------------------------------------------------------- */
.p-history {
	--history-space-top: var(--kg-section-gap);
	--history-space-bottom: var(--kg-section-gap);
	--history-content-left: max(var(--kg-common-content-gutter), calc((100% - var(--kg-common-content-max)) / 2));
	--history-end-space: 120px;
	--history-arrow-size: 60px;
	--history-arrow-inset: 60px;
	position: relative;
	display: grid;
	grid-template-columns: calc(var(--history-content-left) - 12px + 70px) minmax(0, 1fr);
	grid-template-areas:
		"heading viewport"
		"button button";
	column-gap: 182px;
	align-items: start;
	padding: var(--history-space-top) 0 var(--history-space-bottom);
	background: #fff;
}

.p-history__footprints {
	position: absolute;
	inset: calc(var(--history-space-top, 200px) - 200px) 0 calc(200px - var(--history-space-top, 200px));
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
	mask-image: linear-gradient(transparent, #000 430px, #000 550px, transparent 800px);
}

.p-history__step {
	--history-step-opacity: 1;
	position: absolute;
	display: block;
	top: var(--history-step-top);
	left: calc(var(--history-footprint-left, var(--history-content-left)) + var(--history-step-left));
	width: var(--history-step-width, 86px);
	max-width: none;
	height: auto;
	filter: brightness(0.95);
	opacity: var(--history-step-opacity);
	transform: rotate(var(--history-step-angle, 0deg));
}

.p-history__footprints .p-history__step--1,
.p-history__footprints .p-history__step--2 {
	display: none;
}

.p-history__step--3 {
	--history-step-order: 6;
	--history-step-top: calc(648px - 6 * var(--history-footprint-rise));
	--history-step-left: calc(150 * var(--history-footprint-unit));
	--history-step-width: 56px;
}

.p-history__step--4 {
	--history-step-order: 7;
	--history-step-top: calc(658px - 7 * var(--history-footprint-rise) + 28 * var(--history-footprint-unit));
	--history-step-left: calc(175 * var(--history-footprint-unit) + 93px);
	--history-step-width: 78px;
	--history-step-angle: -10deg;
}

.p-history__step--5 {
	--history-step-order: 4;
	--history-step-top: calc(648px - 4 * var(--history-footprint-rise));
	--history-step-left: calc(100 * var(--history-footprint-unit));
	--history-step-width: 56px;
}

.p-history__step--6 {
	--history-step-order: 5;
	--history-step-top: calc(653px - 5 * var(--history-footprint-rise) + 28 * var(--history-footprint-unit));
	--history-step-left: calc(125 * var(--history-footprint-unit) + 89px);
}

.p-history__step--7 {
	--history-step-order: 2;
	--history-step-top: calc(648px - 2 * var(--history-footprint-rise));
	--history-step-left: calc(50 * var(--history-footprint-unit));
	--history-step-width: 56px;
}

.p-history__step--8 {
	--history-step-order: 3;
	--history-step-top: calc(653px - 3 * var(--history-footprint-rise) + 28 * var(--history-footprint-unit));
	--history-step-left: calc(75 * var(--history-footprint-unit) + 89px);
}

.p-history__step--9 {
	--history-step-order: 0;
	--history-step-top: 648px;
	--history-step-left: 0px;
	--history-step-width: 56px;
}

.p-history__step--10 {
	--history-step-order: 1;
	--history-step-top: calc(653px - var(--history-footprint-rise) + 28 * var(--history-footprint-unit));
	--history-step-left: calc(25 * var(--history-footprint-unit) + 89px);
}

.p-history__footprints.is-ready .p-history__step {
	opacity: 0;
}

.p-history__footprints.is-playing .p-history__step {
	animation: history-step-reveal 0.4s ease-out both;
	animation-delay: calc(var(--history-step-order) * 0.75s);
}

@keyframes history-step-reveal {
	to {
		opacity: var(--history-step-opacity);
	}
}

@media (prefers-reduced-motion: reduce) {
	.p-history__footprints.is-ready .p-history__step {
		animation: none;
		opacity: var(--history-step-opacity);
	}
}

h2.p-history__heading {
	position: relative;
	z-index: 1;
	grid-area: heading;
	/* 縦見出しの高さがカードの行とCTAの間隔に影響しないようにする。 */
	grid-row-end: span 2;
	justify-self: end;
	width: 70px;
	height: 470px;
	font-size: 64px;
	letter-spacing: 0.08em;
	white-space: nowrap;
	transform: translate(8px, -9px);
}

.p-history__viewport {
	position: relative;
	z-index: 1;
	grid-area: viewport;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
	scroll-padding-right: var(--history-end-space);
	scroll-snap-type: x mandatory;
	mask-image: linear-gradient(90deg, #000 calc(100% - var(--history-end-space)), transparent);
}

.p-history__viewport::-webkit-scrollbar {
	display: none;
}

.p-history__track {
	display: flex;
	width: max-content;
	padding-right: var(--history-end-space);
	gap: 60px;
}

.p-history__card {
	flex: 0 0 auto;
	width: 320px;
	min-width: 0;
	scroll-snap-align: start;
}

/* 最後はカード右端を余白の手前に揃え、スクロールの終端に止める。 */
.p-history__card:last-child {
	scroll-snap-align: end;
}

.p-history__image {
	display: block;
	width: 100%;
	overflow: hidden;
	aspect-ratio: 1;
	background: linear-gradient(135deg, #eef0f0, #cfd4d7);
}

.p-history__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.p-history__meta {
	--history-number-size: 68px;
	--history-caption-gap: 10px;
	--history-date-height: 20px;
	--history-date-gap: 4px;
	position: relative;
	min-height: 60px;
	margin-top: calc(var(--history-number-size) / 2 - 2px + var(--history-caption-gap));
	margin-left: 20px;
	padding-left: 10px;
	border-left: 1px solid transparent;
}

.p-history__meta::before {
	position: absolute;
	top: 0;
	left: -1px;
	width: 1.5px;
	height: 100%;
	background: var(--kg-color-navy);
	content: "";
}

.p-history__number {
	position: absolute;
	bottom: calc(100% + var(--history-caption-gap));
	left: -1px;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	width: var(--history-number-size);
	aspect-ratio: 1;
	border: 1px solid currentColor;
	border-radius: 50%;
	background: rgb(255 255 255 / 88%);
	color: var(--kg-color-navy);
	font-size: 46px;
	font-weight: var(--kg-font-weight-base);
	line-height: 1;
	letter-spacing: 0;
}

.p-history__meta:not(:has(time)) {
	display: flex;
	align-items: center;
}

.p-history__meta time {
	display: block;
	margin-bottom: var(--history-date-gap);
	color: var(--kg-color-muted);
	font-size: 14px;
	font-weight: var(--kg-font-weight-base);
	line-height: var(--history-date-height);
	letter-spacing: 0.01em;
	font-variant-numeric: tabular-nums;
}

.p-history__meta h3 {
	text-wrap: balance;
	font-feature-settings: "palt";
	color: #000;
	font-size: 16px;
	font-weight: var(--kg-font-weight-emphasis);
	line-height: 1.45;
	overflow-wrap: break-word;
}

.p-history__meta h3 a {
	color: inherit;
	text-decoration: none;
}

.p-history__arrow {
	position: absolute;
	top: calc(var(--history-space-top, 200px) + 175px);
	z-index: 5;
	display: grid;
	place-items: center;
	width: var(--history-arrow-size);
	height: var(--history-arrow-size);
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--kg-color-red);
	color: #fff;
	appearance: none;
	overflow: visible;
}

.p-history__arrow[aria-disabled="true"] {
	background: #d6d6d6;
	cursor: default;
}

.p-history__arrow::before {
	width: 16px;
	height: 16px;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #fff;
	transform: translateX(4px) rotate(45deg);
	content: "";
}

.p-history__arrow--next::before {
	transform: translateX(-4px) rotate(225deg);
}

.p-history__arrow--prev {
	left: calc(var(--history-content-left) + 150px);
}

.p-history__arrow--next {
	right: var(--history-arrow-inset);
}

/* 矢印上では白い矢印と輪が見えるよう、TOPの赤いカーソルを退避する。 */
body:has(.p-history__arrow:hover) > .kg-cursor {
	visibility: hidden;
}

@media (prefers-reduced-motion: no-preference) {
	.p-history__arrow {
		transition: background-color 320ms ease;
	}
}

.p-history__button {
	z-index: 1;
	grid-area: button;
	justify-self: center;
	margin-block-start: var(--front-cta-gap);
	transform: translateX(-10px);
}

/* --------------------------------------------------------------------------
   SUPPORTERS
   -------------------------------------------------------------------------- */
.p-supporters {
	padding: 0 var(--kg-common-content-gutter) var(--kg-section-gap);
	background: #fff;
}

.p-supporters__box {
	display: grid;
	grid-template-columns: minmax(0, 34fr) minmax(0, 33fr);
	max-width: var(--kg-common-content-max);
	margin-inline: auto;
	background: var(--kg-color-navy);
}

.p-front .p-supporters__photo {
	width: 100%;
	height: 100%;
	aspect-ratio: 5668 / 3668;
	object-fit: cover;
}

.p-supporters__copy {
	/* CTA手前の間隔を詰めた分を枠の下余白に移す。 */
	--supporters-cta-gap-reduction: 20px;
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 440px;
	padding: 40px 16px calc(14px + var(--supporters-cta-gap-reduction));
	overflow: hidden;
	background: var(--kg-color-navy);
	color: #fff;
	text-align: center;
}

.p-supporters__copy::before {
	position: absolute;
	z-index: -1;
	inset: 0;
	background: url("../images/common/bg-texture-gray.png") repeat;
	background-size: 300px 300px;
	mix-blend-mode: multiply;
	opacity: 0.4;
	pointer-events: none;
	content: "";
}

.p-supporters__watermark {
	position: absolute;
	right: 40px;
	bottom: 40px;
	display: block;
	width: 120px;
	height: auto;
	opacity: 0.1;
	pointer-events: none;
}

h2.p-supporters__title {
	font-size: 30px;
	line-height: 1;
	letter-spacing: 0.05em;
}

.p-supporters__lines {
	position: relative;
	z-index: 1;
	font-size: clamp(15px, calc(100vw / 480 + 12px), 16px);
	line-height: 38px;
}

.p-supporters__button {
	z-index: 1;
	margin-block-start: calc(var(--front-cta-gap) - var(--supporters-cta-gap-reduction));
	transform: translateX(-5px);
}

/* --------------------------------------------------------------------------
   Instagram
   -------------------------------------------------------------------------- */
.p-instagram {
	display: grid;
	grid-template-columns: 293px minmax(0, 1fr);
	background: var(--kg-color-paper-soft) url("../images/common/bg-texture-gray.png") repeat;
	background-size: 300px 300px;
	color: var(--kg-color-navy);
}

.p-instagram__side {
	--instagram-account-gap: 16px;
	--instagram-icon-gap: var(--instagram-account-gap);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px 12px;
	text-align: center;
}

.p-instagram__icon {
	width: 60px;
	height: 60px;
}

h2.p-instagram__title {
	margin-block-start: var(--instagram-icon-gap);
	font-size: 40px;
	line-height: 1.05;
}

.p-instagram__account {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-block-start: var(--instagram-account-gap);
	padding-bottom: 10px;
	border-bottom: 1.5px solid var(--kg-color-navy);
	font-size: 20px;
	font-weight: var(--kg-font-weight-emphasis);
	line-height: 24px;
	letter-spacing: 0.03em;
}

.p-instagram__external {
	flex: 0 0 auto;
	width: 13px;
	height: 13px;
}

.p-instagram__feed {
	min-width: 0;
	overflow: hidden;
}

.p-instagram__feed #sb_instagram {
	width: 100%;
}

.p-instagram__feed #sb_instagram #sbi_images {
	gap: 0;
	padding: 0;
}

.p-instagram__feed #sb_instagram #sbi_images .sbi_item,
.p-instagram__feed #sb_instagram .sbi_photo_wrap,
.p-instagram__feed #sb_instagram .sbi_photo {
	width: 100%;
	height: 100%;
	min-width: 0;
}

.p-instagram__feed #sb_instagram #sbi_images .sbi_item {
	aspect-ratio: 1;
}

.p-instagram__feed #sb_instagram .sbi_photo {
	/* Keep Smash Balloon's inline height inside the square grid cell. */
	min-height: 100%;
	max-height: 100%;
	overflow: hidden;
}

.p-instagram__feed #sb_instagram .sbi_photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.p-instagram__feed #sb_instagram .sb_instagram_header,
.p-instagram__feed #sb_instagram .sbi_header_text,
.p-instagram__feed #sb_instagram .sbi_load_btn,
.p-instagram__feed #sb_instagram .sbi_follow_btn {
	display: none;
}

.p-front .p-contact {
	font-size: clamp(16px, 1.25vw, 24px);
}

.p-front .p-contact a,
.p-front .p-contact span {
	height: clamp(56px, calc(100vw / 24), 80px);
}

/* --------------------------------------------------------------------------
   TOP responsive layout
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
	.p-event__block:has(+ .p-event__button) {
		margin-bottom: 0;
	}

	.p-event__button {
		margin-block-start: var(--kg-event-cta-gap);
	}

	/* 作り手・Instagramはタブレットまで同じ下限を使う。 */
	.p-makers {
		--makers-lead-line-height: clamp(34px, calc(0.833333vw + 22px), 38px);
		--makers-heading-size: clamp(42px, calc(0.9375vw + 30px), 48px);
	}

	.p-makers__lead {
		font-size: clamp(16px, calc(0.416667vw + 10px), 18px);
		line-height: var(--makers-lead-line-height);
	}

	.p-instagram__side {
		padding: clamp(16px, 1.25vw, 24px) clamp(8px, 0.625vw, 12px);
	}

	.p-instagram__icon {
		width: clamp(40px, 3.125vw, 60px);
		height: clamp(40px, 3.125vw, 60px);
	}

	h2.p-instagram__title {
		font-size: clamp(1.75rem, calc(100vw / 48), 2.5rem);
	}

	.p-instagram__account {
		gap: clamp(4px, 0.3125vw, 6px);
		padding-bottom: clamp(7px, calc(100vw / 192), 10px);
		border-bottom-width: clamp(1px, 0.078125vw, 1.5px);
		font-size: clamp(0.875rem, calc(100vw / 96), 1.25rem);
		line-height: 1.2;
	}

	.p-instagram__external {
		width: clamp(9px, calc(100vw * 13 / 1920), 13px);
		height: clamp(9px, calc(100vw * 13 / 1920), 13px);
	}
}

/* 開催予定など、PC構成だけに適用する寸法。 */
@media (min-width: 1080px) {
	.p-front .p-contact {
		font-size: clamp(16px, calc(100vw / 120 + 8px), 24px);
	}

	.p-front .p-contact a,
	.p-front .p-contact span {
		height: clamp(60px, calc(100vw / 30 + 16px), 80px);
	}

	.p-fv__tickerGroup {
		--fv-ticker-group-gap: clamp(44px, 3.125vw, 60px);
	}

	.p-fv__ticker {
		font-size: clamp(14px, calc(0.416667vw + 8px), 16px);
	}

	.p-fv__tag {
		min-width: clamp(105px, calc(100vw * 140 / 1920), 140px);
		height: clamp(24px, 1.5625vw, 30px);
		margin-right: clamp(14px, calc(100vw / 96), 20px);
		padding-inline: clamp(12px, calc(100vw / 120), 16px);
		font-size: clamp(0.875rem, calc(100vw / 120), 1rem);
	}

	.p-event {
		--event-heading-size: clamp(60px, 4.6875vw, 90px);
		--event-index-size: min(60px, calc(100vw / 80 + 36px));
		--event-index-font: calc(var(--event-index-size) * 0.4);
		--event-panel-padding: clamp(40px, 3.125vw, 60px);
		--event-panel-right: clamp(28px, calc(100vw / 48), 40px);
		--event-panel-gap: clamp(20px, 1.5625vw, 30px);
		--event-panel-min-height: clamp(520px, calc(100vw * 690 / 1920), 690px);
	}

	.p-event__index {
		gap: clamp(20px, 1.5625vw, 30px);
		margin-top: clamp(32px, calc(100vw * 47 / 1920), 47px);
	}

	.p-front .p-event__title {
		margin-bottom: clamp(14px, calc(100vw / 96), 20px);
		padding-left: clamp(24px, 1.5625vw, 30px);
		font-size: clamp(24px, calc(100vw / 60), 32px);
		line-height: clamp(32px, calc(100vw / 48), 40px);
	}

	.p-front .p-event__title--pending {
		margin-bottom: clamp(8px, calc(100vw / 192), 10px);
	}

	.p-front .p-event__notice {
		margin-bottom: clamp(16px, calc(100vw * 22 / 1920), 22px);
	}

	.p-event__dot {
		/* 画面幅ごとに調整していた赤丸の中心を引き継ぐ。 */
		--event-dot-center-offset: clamp(6px, calc(100vw / 240), 8px);
		top: calc(clamp(10px, 0.625vw, 12px) + var(--event-dot-center-offset));
		left: var(--event-dot-center-offset);
	}

	.p-event__block {
		margin-bottom: clamp(20px, calc(100vw * 26 / 1920), 26px);
	}

	.p-event__block b {
		width: clamp(120px, calc(100vw / 12), 160px);
		height: clamp(24px, 1.5625vw, 30px);
		margin-bottom: clamp(6px, calc(100vw / 240), 8px);
		font-size: clamp(14px, calc(100vw / 120), 16px);
	}

	.p-event__block p {
		font-size: clamp(14px, calc(100vw / 120), 16px);
		line-height: clamp(24px, calc(100vw * 28 / 1920), 28px);
	}

	.p-event__block .p-event__placeName {
		font-size: clamp(16px, calc(100vw / 96), 20px);
		line-height: clamp(24px, 1.5625vw, 30px);
	}

	.p-event__block .p-event__placeAddress {
		font-size: clamp(13px, calc(100vw * 14 / 1920), 14px);
		line-height: clamp(20px, 1.25vw, 24px);
	}

	.p-event__mark {
		--event-mark-inset: clamp(0px, calc((1920px - 100vw) / 5), 30px);
		--event-mark-top-gap: clamp(0px, calc((1440px - 100vw) / 8), 24px);
		/* 右端を保ちながら、ノートPC幅では本文側へ広げる。 */
		--event-mark-growth: clamp(0px, calc((1920px - 100vw) / 12), 42px);
		bottom: calc(var(--event-mark-inset) - clamp(0px, calc((1920px - 100vw) / 20), 24px));
		left: calc(50% - clamp(0px, calc((1920px - 100vw) / 12), 28px) - var(--event-mark-growth) * 0.85);
		width: min(350px, calc(100vw / 6 + 30px + var(--event-mark-growth)));
		/* 縦長のロゴも比率を保ち、狭い幅では見出し側に余白を取る。 */
		max-height: calc(100% - var(--event-mark-inset) * 0.85 - var(--event-mark-top-gap));
	}

	.p-history__footprints {
		/* 左右の幅を保ち、カード手前の空間に合わせて斜め上への歩幅を調整する。 */
		--history-footprint-left: max(var(--kg-common-content-gutter), calc(var(--history-content-left) - 120px));
		--history-footprint-room: max(0px, calc((100vw - var(--kg-common-content-max)) / 2 - var(--kg-common-content-gutter)));
		--history-footprint-unit: min(1px, calc((var(--history-footprint-room) + 64px) / 175));
		--history-footprint-rise: calc(82px + 12 * var(--history-footprint-unit));
		/* 下側の足跡とグラデーションを収めながら、新着情報から離す。 */
		inset-block: clamp(0px, calc(100% - 774px), 36px) 0;
		mask-image: linear-gradient(rgb(0 0 0 / .28), #000 430px, #000 550px, transparent 840px);
	}

	.p-history__step {
		filter: brightness(.91);
	}

	/* 素材のもとの傾きに合わせ、進行方向を保ちながら一歩ずつ向きを変える。 */
	.p-history__step--3 {
		--history-step-angle: -6deg;
	}

	.p-history__step--4 {
		--history-step-angle: -12deg;
	}

	.p-history__step--5 {
		--history-step-angle: -11deg;
	}

	.p-history__step--6 {
		--history-step-angle: -9deg;
	}

	.p-history__step--7 {
		--history-step-angle: -4deg;
	}

	.p-history__step--8 {
		--history-step-angle: -14deg;
	}

	.p-history__step--9 {
		--history-step-angle: -7deg;
	}

	.p-history__step--10 {
		--history-step-angle: -10deg;
	}

	h2.p-history__heading {
		font-size: min(64px, calc(100vw / 80 + 42px));
	}

	/* 1920px時の比率を基準に左カラムの幅を調整する。 */
	.p-instagram {
		grid-template-columns: clamp(180px, calc(100vw * 293 / 1920), 293px) minmax(0, 1fr);
	}
}

@media (min-width: 1080px) and (max-width: 1599px) {
	.p-about,
	.p-event,
	.p-makers,
	.p-news,
	.p-history,
	.p-supporters {
		padding-inline: max(var(--kg-common-content-gutter), calc((100% - var(--kg-common-content-max)) / 2));
	}

	.p-event,
	.p-history {
		padding-right: 0;
	}

	.p-event__panel {
		grid-template-columns: minmax(200px, 2fr) minmax(0, 3fr);
	}

	/* 大阪と東京は画像自体の半透明を使う。 */
	.p-event__mark:not(.p-event__mark--original-opacity) {
		opacity: 0.76;
	}

	.p-movie__media {
		width: min(var(--kg-common-content-max), calc(100% - (var(--kg-common-content-gutter) * 2)));
	}

	.p-history {
		grid-template-columns: 70px minmax(0, 1fr);
	}

	h2.p-history__heading {
		transform: translateY(-9px);
	}
}

@media (max-width: 1079px) {
	:root {
		--front-makers-underline-width: 22px;
	}

	.p-event {
		display: block;
		padding-inline: 40px;
	}

	.p-event__side {
		flex-direction: row;
		justify-content: space-between;
		width: 100%;
		padding-top: 0;
	}

	.p-event__heading,
	.p-history__heading {
		writing-mode: horizontal-tb;
	}

	h2.p-event__heading {
		font-size: 48px;
		letter-spacing: 0.04em;
	}

	.p-event__index {
		flex-direction: row;
		gap: 16px;
		width: auto;
		margin-top: 0;
	}

	.p-event__index button {
		width: 44px;
		height: 44px;
		font-size: 16px;
	}

	.p-event__index button.is-active::after {
		top: 100%;
		left: 50%;
		width: 1px;
		height: calc(var(--front-heading-gap) + (48px * 1.09 - 44px) / 2);
	}

	.p-event__panel {
		grid-template-columns: minmax(0, 1fr);
		width: 100%;
		gap: 0;
		min-height: 0;
		margin-block-start: var(--front-heading-gap);
		padding: 40px 46px 56px;
	}

	.p-event__panel::before {
		border-right: 1px solid var(--kg-color-navy);
	}

	.p-event__photos {
		display: none;
	}

	/* 1枚時の既存SP配置を保ち、複数画像のフェードは狭い画面でも使用する。 */
	.p-event__photos.is-ready {
		display: grid;
		width: 100%;
		max-width: 470px;
		margin: 0 auto 28px;
	}

	.p-event__mark {
		/* パネル右端からの距離を保ち、中央の詳細ボタンの矢印を避ける。 */
		right: -26px;
		bottom: -26px;
		left: auto;
		width: min(300px, calc(50% - 170px));
		max-height: none;
		transform: none;
	}

	.p-event__body {
		width: auto;
		max-width: none;
		padding-top: 0;
	}

	.p-movie__media {
		width: 100%;
	}

	.p-makers {
		padding-inline: 40px;
	}

	.p-makers__filter {
		grid-auto-flow: row;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		border-top: 1px solid var(--kg-color-paper);
		border-left: 1px solid var(--kg-color-paper);
	}

	.p-makers__filter button {
		isolation: isolate;
		min-height: 40px;
		padding: 8px 4px;
		border-right: 1px solid var(--kg-color-paper);
		border-bottom: 1px solid var(--kg-color-paper);
	}

	.p-makers__filter button:first-child {
		grid-column: 1 / -1;
	}

	.p-makers__filter button::before {
		content: "";
		position: absolute;
		inset: 0;
		z-index: -1;
		background: var(--kg-color-paper) var(--kg-paper-background-image) 0 0 / 300px 300px repeat;
		opacity: 0;
		pointer-events: none;
	}

	.p-makers__filter button.is-active::before {
		opacity: 1;
	}

	@media (prefers-reduced-motion: no-preference) {
		.p-makers__filter button::before {
			transition: opacity 380ms ease-in-out;
		}
	}

	.p-news {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding-inline: 40px;
	}

	.p-news__side {
		display: contents;
	}

	h2.p-news__title {
		order: 1;
		text-align: center;
	}

	.p-news__nav {
		order: 2;
		flex-direction: row;
		align-items: stretch;
		justify-content: safe center;
		gap: 40px;
		width: 100%;
		margin-bottom: 0;
		padding: 0 0 1px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.p-news__nav::-webkit-scrollbar {
		display: none;
	}

	.p-news__nav.can-scroll-forward {
		mask-image: linear-gradient(to right, #000 calc(100% - 16px), transparent);
	}

	.p-news__nav button {
		display: grid;
		align-items: start;
		min-height: 44px;
		max-inline-size: 100%;
		padding-bottom: 21px;
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.p-news__nav button.is-active::before {
		top: auto;
		bottom: 7px;
		left: 50%;
		transform: translateX(-50%);
	}

	.p-news__button {
		order: 4;
		margin-block-start: var(--front-cta-gap);
		margin-inline: auto;
		transform: translateX(-5px);
	}

	.p-news__list {
		order: 3;
		margin-top: 18px;
	}

	.p-history {
		--history-end-space: 0px;
		--history-arrow-size: 48px;
		--history-arrow-inset: 20px;
		display: block;
		padding-inline: 40px;
	}

	h2.p-history__heading {
		width: 100%;
		height: auto;
		font-size: 44px;
		letter-spacing: 0;
		text-align: center;
		white-space: normal;
		transform: none;
	}

	.p-history__viewport {
		width: min(680px, calc(100% - 80px));
		margin: var(--front-heading-gap) auto 0;
		mask-image: none;
	}

	.p-history__track {
		gap: 40px;
	}

	.p-history__arrow {
		top: calc(var(--history-space-top) + var(--front-heading-gap) + 250px);
	}

	.p-history__arrow--prev {
		left: var(--history-arrow-inset);
	}

	.p-history__button {
		display: flex;
		margin-inline: auto;
	}

	.p-history__footprints {
		--history-content-left: calc(50% - 187.5px);
		inset-block: calc(var(--history-space-top) - 120px) calc(120px - var(--history-space-top));
		mask-image: linear-gradient(transparent, #000 450px, #000 630px, transparent 850px);
	}

	.p-history__step--3 {
		--history-step-top: 168px;
		--history-step-left: 175px;
		--history-step-width: 80px;
	}

	.p-history__step--4 {
		--history-step-top: 131px;
		--history-step-left: 272px;
		--history-step-width: 102px;
		--history-step-angle: -5deg;
	}

	.p-history__step--5 {
		--history-step-top: 310px;
		--history-step-left: 113px;
		--history-step-width: 60px;
	}

	.p-history__step--6 {
		--history-step-top: 280px;
		--history-step-left: 207px;
		--history-step-width: 96px;
	}

	.p-history__step--7 {
		--history-step-top: 495px;
		--history-step-left: 74px;
		--history-step-width: 60px;
	}

	.p-history__step--8 {
		--history-step-top: 500px;
		--history-step-left: 163px;
		--history-step-width: 100px;
	}

	.p-history__step--9 {
		--history-step-top: 683px;
		--history-step-left: 20px;
		--history-step-width: 60px;
	}

	.p-history__step--10 {
		--history-step-top: 643px;
		--history-step-left: 104px;
		--history-step-width: 90px;
	}

	.p-supporters {
		padding-inline: 40px;
	}

	.p-supporters__box {
		grid-template-columns: minmax(0, 1fr);
		max-width: 620px;
	}

	.p-front .p-supporters__photo {
		height: auto;
		aspect-ratio: 5668 / 3668;
	}

	.p-supporters__copy {
		min-height: 480px;
		padding-block-end: calc(40px + var(--supporters-cta-gap-reduction));
	}

	.p-instagram {
		grid-template-columns: 180px minmax(0, 1fr);
	}

	.p-instagram__feed #sb_instagram #sbi_images {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.p-front .p-contact a,
	.p-front .p-contact span {
		height: 60px;
	}
}

/* タブレット幅ではABOUTの導入文を自動で折り返す。 */
@media (min-width: 768px) and (max-width: 1079px) {
	.p-about__copy > p:first-child > br {
		display: none;
	}
}

@media (max-width: 767px) {
	.p-front {
		--kg-section-gap: 140px;
		--front-heading-gap: 40px;
		--front-heading-dot-gap: 14px;
		--front-heading-dot-size: var(--kg-heading-dot-size-sp);
		--front-sp-copy-line-height: 32px;
		/* 幅の狭い画面で改行が増えないよう、360pxを超えてから字間を広げる。 */
		--front-sp-copy-tracking-increase: clamp(0px, calc((100vw - 360px) / 100), 0.01em);
	}

	.p-fv__ticker {
		font-size: 0.9375rem;
	}

	.p-fv__tickerItem time {
		font-size: 0.8125rem;
	}

	.p-fv__tickerGroup {
		padding-left: 0;
		padding-right: var(--fv-ticker-group-gap);
	}

	.p-fv__tag {
		width: auto;
		min-width: 100px;
		height: 30px;
		margin-right: 20px;
		padding: 0 10px;
		font-size: 0.875rem;
	}

	.p-fv__tag--important {
		width: 120px;
	}

	.p-about {
		--about-block-space: clamp(88px, 26.667vw, 112px);
		--about-heading-size: clamp(24px, calc(100vw * 28 / 375), 28px);
		--front-heading-inline-offset: calc(var(--about-heading-size) * -0.25);
		padding-inline: 16px;
	}

	.p-about__mark {
		width: min(335px, calc(100% - var(--kg-common-content-gutter) * 2));
		opacity: 0.78;
	}

	.p-about__copy {
		max-width: max(345px, calc(100vw - 85px));
		line-height: 28px;
		letter-spacing: calc(0.025em + var(--front-sp-copy-tracking-increase));
		font-feature-settings: "palt";
	}

	.p-about__button {
		transform: translateX(-6.5px);
	}

	.p-event {
		padding-inline: var(--kg-common-content-gutter) 0;
	}

	h2.p-event__heading {
		font-size: clamp(30px, 9.6vw, 36px);
		line-height: 44px;
	}

	.p-event__index {
		gap: 10px;
		margin-right: 20px;
	}

	.p-event__index button {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}

	.p-event__index button.is-active::after {
		height: calc(var(--front-heading-gap) + 2px);
	}

	.p-event__panel {
		width: 100%;
		min-height: 0;
		padding: 20px 20px 45px 30px;
	}

	.p-event__panel::before {
		border-right: 0;
	}

	/* SPは登録枚数に関わらず開催写真を表示しない。 */
	.p-event__photos.is-ready {
		display: none;
	}

	.p-event__mark {
		right: 0;
		bottom: -17px;
		width: min(215px, 100%);
		max-height: 360px;
	}

	.p-event__mark--osaka {
		width: min(200px, 100%);
		/* 一覧が短い幅でも、開催情報の上部までロゴが伸びないようにする。 */
		max-height: calc(100% - 274px);
	}

	.p-event__mark--tokyo {
		/* 狭い画面では出店者見出しの位置が下がるため、調整量を抑える。 */
		--event-tokyo-logo-adjustment: clamp(0px, calc((100vw - 340px) / 3), 10px);
		bottom: calc(-17px + var(--event-tokyo-logo-adjustment));
		max-height: calc(100% - 353px + var(--event-tokyo-logo-adjustment) * 1.5);
	}

	.p-event__mark:is(.p-event__mark--osaka, .p-event__mark--tokyo) {
		filter: drop-shadow(0 0 0 rgb(255 255 255 / 0.75));
	}

	.p-front .p-event__title {
		max-width: 295px;
		margin-bottom: 10px;
		padding-left: 10px;
		font-size: clamp(22px, calc(100vw * 26 / 375), 26px);
		line-height: calc(20em / 13);
	}

	.p-event__dot {
		top: 0.5lh;
		left: -1px;
	}

	.p-event__block {
		margin-bottom: 18px;
	}

	.p-event__block:has(+ .p-event__button) {
		margin-bottom: var(--kg-event-cta-gap);
	}

	.p-event__block b {
		width: 140px;
		height: 30px;
	}

	.p-event__block b,
	.p-event__block p,
	.p-event__block .p-event__placeName,
	.p-event__block .p-event__placeAddress,
	.p-event__makers-note {
		font-size: 0.875rem;
		line-height: 22px;
	}

	.p-event__block .p-event__dates {
		letter-spacing: 0.01em;
	}

	.p-event__block .p-event__placeName,
	.p-event__block .p-event__placeAddress {
		letter-spacing: normal;
	}

	.p-event__button {
		transform: translateX(-15px);
	}

	.p-makers {
		--makers-list-gap: 32px;
		--front-heading-inline-offset: -3px;
		padding-inline: var(--kg-common-content-gutter);
	}

	.p-makers__mark {
		--makers-mark-size: 280px;
		top: calc(var(--kg-section-gap) - 7px);
		filter: brightness(0.985);
	}

	h2.p-makers__title {
		font-size: 28px;
	}

	.p-makers__lead {
		max-width: max(335px, calc(100vw - 95px));
		margin-inline: auto;
		padding-left: 0;
		font-size: 14px;
		line-height: var(--front-sp-copy-line-height);
		letter-spacing: -0.05em;
	}

	.p-makers__filter button {
		padding-inline: 2px;
		font-size: clamp(11px, calc(3.2vw + 1px), 13px);
		font-feature-settings: "palt";
		letter-spacing: normal;
	}

	.p-news {
		padding-inline: var(--kg-common-content-gutter);
	}

	.p-news__empty {
		min-height: 160px;
		padding: 32px 20px;
	}

	h2.p-news__title {
		font-size: 26px;
	}

	.p-news__nav {
		justify-content: flex-start;
		gap: clamp(20px, 8vw, 32px);
		width: calc(100% + var(--kg-common-content-gutter));
		padding: 0 var(--kg-common-content-gutter) 1px 0;
	}

	.p-news__list::before,
	.p-news__row,
	.p-news__empty {
		background-size: 4px 2px;
	}

	.p-news__list::before {
		height: 2px;
	}

	.p-news__row {
		grid-template-columns: 80px 84px minmax(0, 1fr) 35px;
		grid-template-rows: 18px auto;
		align-content: start;
		row-gap: 5px;
		padding: 18px 0 8px 10px;
		border-bottom-width: 2px;
	}

	.p-news__row time {
		padding-left: 0;
	}

	.p-news__row strong {
		grid-column: 1 / 4;
		align-self: start;
		padding-right: 10px;
	}

	.p-news__row i {
		grid-column: 4;
		grid-row: 1 / 3;
		width: 24px;
	}

	.p-history {
		--history-arrow-size: 40px;
		--history-heading-size: 28px;
		--history-card-width: min(240px, 64vw, calc(100vw - 108px));
		--history-image-top: calc(var(--history-space-top) + var(--history-heading-size) * 1.09 + var(--front-heading-gap));
		--history-image-bottom: calc(var(--history-image-top) + var(--history-card-width));
		--history-inline-offset: calc((100vw - var(--history-card-width)) / 2);
		--history-end-space: var(--history-inline-offset);
		--history-arrow-inset: max(5px, calc(var(--history-inline-offset) - 62.5px));
		padding-inline: var(--kg-common-content-gutter);
		overflow: clip;
		overflow-anchor: none;
	}

	.p-history__footprints {
		/* カンプの足跡を、見出し・写真下端・ボタン下端に合わせる。 */
		--history-footprint-unit: min(1px, calc(100vw / 375));
		--history-footprint-heading: calc(var(--history-space-top) - 200 * var(--history-footprint-unit));
		--history-button-bottom: calc(100% - var(--history-space-bottom));
		--history-content-left: max(0px, calc((100% - 375px) / 2));
		inset: 0;
		mask-image: none;
	}

	.p-history__step {
		/* 足跡全体を上げ、支援者欄の写真との間に余白を取る。 */
		top: calc(var(--history-footprint-origin, var(--history-footprint-heading)) + var(--history-footprint-y) * var(--history-footprint-unit) - 28px);
		left: calc(var(--history-content-left) + var(--history-footprint-x) * var(--history-footprint-unit));
		/* 左右のSVGは傾きが異なるため、かかとからつま先までの長さを揃える。 */
		width: calc(59.2 * var(--history-footprint-unit));
		filter: brightness(0.98);
	}

	.p-history__step:nth-child(even) {
		width: calc(88.4 * var(--history-footprint-unit));
	}

	.p-history__step--3 {
		--history-footprint-x: 176;
		--history-footprint-y: 169;
		--history-step-angle: -5deg;
	}

	.p-history__step--4 {
		--history-footprint-x: 278;
		--history-footprint-y: 135;
		--history-step-angle: -8deg;
	}

	.p-history__step--5 {
		--history-footprint-x: 113;
		--history-footprint-y: 310;
	}

	.p-history__step--6 {
		--history-footprint-x: 207;
		--history-footprint-y: 280;
	}

	.p-history__step--7 {
		--history-footprint-origin: var(--history-image-bottom);
		--history-footprint-x: 75;
		--history-footprint-y: 8;
	}

	.p-history__step--8 {
		--history-footprint-origin: var(--history-image-bottom);
		--history-footprint-x: 168;
		--history-footprint-y: -5;
	}

	.p-history__step--9 {
		--history-footprint-origin: var(--history-button-bottom);
		--history-footprint-x: 18;
		--history-footprint-y: 22;
		--history-step-angle: -5deg;
	}

	.p-history__step--10 {
		--history-footprint-origin: var(--history-button-bottom);
		--history-footprint-x: 112;
		--history-footprint-y: -4;
		--history-step-angle: -5deg;
	}

	h2.p-history__heading {
		font-size: var(--history-heading-size);
	}

	.p-history__viewport {
		width: auto;
		/* 最初の写真を中央に置き、次の写真は画面右端まで見せる。 */
		margin-inline: calc(var(--history-inline-offset) - var(--kg-common-content-gutter)) calc(-1 * var(--kg-common-content-gutter));
		overflow-y: hidden;
	}

	.p-history__viewport.is-moving {
		scroll-snap-type: none;
	}

	.p-history.is-swipe-ready,
	.p-history.is-swipe-ready .p-history__viewport {
		touch-action: pan-y pinch-zoom;
	}

	.p-history__track {
		gap: clamp(22px, 7.467vw, 28px);
	}

	.p-history__card {
		width: var(--history-card-width);
	}

	.p-history__meta {
		--history-number-size: 50px;
		--history-caption-gap: 8px;
		--history-date-height: 18px;
		--history-date-gap: 2px;
		min-height: 54px;
		margin-left: 14px;
		margin-inline-end: calc((240px - var(--history-card-width)) / 5);
		padding-left: 8px;
	}

	.p-history__number {
		font-size: 34px;
		width:55px;
	}

	.p-history__meta time {
		font-size: 0.6875rem;
		letter-spacing: 0.03em;
	}

	.p-history__meta h3 {
		font-size: 13px;
		line-height: 20px;
		letter-spacing: -0.015em;
	}

	.p-history__arrow {
		top: calc(var(--history-image-top) + 14px + var(--history-card-width) / 2);
	}

	.p-history__arrow::before {
		width: 12px;
		height: 12px;
	}

	.p-history__arrow--prev {
		left: max(10px, calc(var(--history-inline-offset) - 57.5px));
	}

	.p-history__button {
		transform: translateX(-7px);
	}

	.p-supporters {
		padding-inline: var(--kg-common-content-gutter);
	}

	.p-supporters__box {
		max-width: 100%;
	}

	.p-supporters__copy {
		--supporters-cta-gap-reduction: 5px;
		min-height: 0;
		padding-inline: 14px;
	}

	h2.p-supporters__title {
		font-size: 24px;
	}

	.p-supporters__lines {
		font-size: 14px;
		line-height: 28px;
		letter-spacing: calc(-0.01em + var(--front-sp-copy-tracking-increase));
	}

	.p-supporters__watermark {
		right: 10px;
		bottom: 150px;
		max-width: 38%;
	}

	.p-supporters__button {
		transform: translateX(-7.5px);
	}

	.p-instagram {
		display: block;
	}

	.p-instagram__side {
		--instagram-icon-gap: 16px;
		--instagram-account-gap: 12px;
		padding: 48px var(--kg-common-content-gutter) 40px;
	}

	.p-instagram__icon {
		width: 48px;
		height: 48px;
	}

	h2.p-instagram__title {
		font-size: 2rem;
		line-height: 1.1;
	}

	.p-instagram__account {
		gap: 5px;
		min-height: 44px;
		max-inline-size: 100%;
		padding-bottom: 0;
		border-bottom-width: 1px;
		font-size: 1rem;
		line-height: 1.4;
		overflow-wrap: anywhere;
	}

	.p-instagram__external {
		width: 10px;
		height: 10px;
	}

	.p-instagram__feed #sb_instagram #sbi_images {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* 開催画像・掲載枠が未設定の場合も、本文を自然に表示する。 */
.p-event__panel--noPhoto { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.p-event__photos.is-resetting .p-event__photo { transition: none; }
