/* ==========================================================
   Sticky Editorial
   ========================================================== */
.sticky {
	position: relative;
	background: var(--white);
	border-bottom: 1px solid var(--line);
}

/* ---------- variant: media (Convenience) ---------- */
.sticky--media { min-height: 180svh; }
.sticky--media .sticky__media {
	position: sticky;
	top: 0;
	height: 100vh;
	height: 100svh;
	overflow: hidden;
	background: #111;
}
.sticky--media .sticky__media.is-empty { background: var(--ink); }
.sticky--media .sticky__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.07);
	transition: transform 1.5s cubic-bezier(.2, .8, .2, 1);
}
.sticky--media.is-in-view .sticky__media img { transform: scale(1.01); }
.sticky--media .sticky__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .08);
}

.sticky__track {
	position: absolute;
	inset: 0;
	z-index: 5;
	pointer-events: none;
}
.sticky__copy,
.sticky__bar {
	position: sticky;
	margin-left: auto;
	margin-right: 5vw;
	width: min(40vw, 620px);
	pointer-events: auto;
}
.sticky__copy {
	top: 17vh;
	padding: 38px 40px 42px;
	background: var(--white);
	border: 1px solid var(--line);
}
.sticky__title {
	margin: 18px 0 20px;
	font-size: clamp(40px, 4.4vw, 76px);
	line-height: 1.02;
	letter-spacing: -.06em;
	line-break: strict;
}
.sticky__copy p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.sticky__bar {
	top: 80vh;
	margin-top: 0;
	margin-bottom: 0;
	padding: 16px 40px;
	background: var(--ink);
	color: var(--white);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
}
.sticky__bar .is-accent { color: var(--green); }

/* ---------- variant: about (Less. But Better.) ---------- */
.sticky--about { min-height: 240svh; }
.sticky--about .sticky__stage {
	position: sticky;
	top: 0;
	height: 100vh;
	height: 100svh;
	display: flex;
	align-items: center;
	padding: clamp(40px, 5vw, 84px);
	overflow: hidden;
	border-bottom: 1px solid var(--line);
}
.sticky__words {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin: 0;
}
.sticky__word {
	display: block;
	font-size: clamp(88px, 11vw, 190px);
	line-height: .82;
	letter-spacing: -.085em;
	font-weight: 500;
	transition: opacity .4s ease, transform .4s ease, color .4s ease;
}
/* JS 有効かつモーション有効時のみ、スクロールで点灯 */
.js:not(.motion-off) [data-sticky-words].is-ready .sticky__word {
	opacity: .08;
	transform: translateY(24px);
}
.js:not(.motion-off) [data-sticky-words].is-ready .sticky__word.is-active {
	opacity: 1;
	transform: none;
}
.sticky__word.is-accent { color: var(--green-strong); }
.sticky__word.is-accent:not(.is-active) { color: inherit; }
.motion-off .sticky__word.is-accent,
html:not(.js) .sticky__word.is-accent { color: var(--green-strong); }

.sticky--about .sticky__card {
	position: relative;
	z-index: 5;
	width: min(42vw, 700px);
	min-height: 78svh;
	margin-left: auto;
	margin-top: -78svh;
	background: var(--white);
	border-left: 1px solid var(--line);
	border-top: 1px solid var(--line);
	padding: clamp(46px, 5vw, 82px);
}
.sticky__lead { margin: 28px 0 0; color: var(--muted); font-size: 15px; line-height: 2; }

.spec-lines { margin: 44px 0 0; border-top: 1px solid var(--line); }
.spec-lines div {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	font-size: 12px;
	line-height: 1.6;
}
.spec-lines dt { color: var(--blue-text); font-weight: 700; letter-spacing: .08em; }
.spec-lines dd { margin: 0; }

/* ---------- static layout: mobile / motion-off ---------- */
@media (max-width: 1000px) {
	.sticky--media,
	.sticky--about { min-height: 0; }
	.sticky--media .sticky__media { position: relative; height: 68svh; }
	.sticky__track { position: relative; }
	.sticky__copy,
	.sticky__bar { position: relative; top: auto; width: 100%; margin: 0; border-left: 0; border-right: 0; }
	.sticky--about .sticky__stage { position: relative; height: auto; min-height: 60svh; }
	.sticky--about .sticky__card { width: 100%; min-height: 0; margin: 0; border-left: 0; }
}
.motion-off .sticky--media,
.motion-off .sticky--about { min-height: 0; }
.motion-off .sticky--media .sticky__media { position: relative; height: 68svh; }
.motion-off .sticky__track { position: relative; }
.motion-off .sticky__copy,
.motion-off .sticky__bar { position: relative; top: auto; width: 100%; margin: 0; }
.motion-off .sticky--about .sticky__stage { position: relative; height: auto; min-height: 60svh; }
.motion-off .sticky--about .sticky__card { width: 100%; min-height: 0; margin: 0; border-left: 0; }

@media (max-width: 720px) {
	.sticky__copy { padding: 30px 20px 34px; }
	.sticky__bar { padding: 15px 20px; }
	.sticky--about .sticky__stage { padding: 42px 20px; }
	.sticky__word { font-size: clamp(72px, 23vw, 118px); }
	.sticky--about .sticky__card { padding: 38px 20px 42px; }
	.spec-lines div { grid-template-columns: 96px 1fr; }
}
