/*
 * トップページ（docs/design/Main.dc.html）
 */

/* ---------- ヒーロー ---------- */
.hero {
	position: relative;
	overflow: hidden;
	background-color: var(--wp--preset--color--white);
	background-image: radial-gradient(rgba(27, 27, 114, 0.08) 1px, transparent 1.6px);
	background-size: 18px 18px;
}

/* 立ち絵の切り替え：次の絵が右から斜めにワイプして入る（js/front.js が .is-active を付け替える） */
.hero__slide {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
	opacity: 0;
	clip-path: polygon(115% 0, 245% 0, 230% 100%, 100% 100%);
	transition: opacity 0.8s ease 0.6s, clip-path 0s linear 1.5s;
	will-change: clip-path, opacity;
}

.hero__slide.is-active {
	z-index: 2;
	opacity: 1;
	clip-path: polygon(-15% 0, 115% 0, 100% 100%, -30% 100%);
	transition: clip-path 1.4s cubic-bezier(0.77, 0, 0.18, 1), opacity 0.2s;
}

.hero__art {
	--hero-left: 32%;
	--hero-top: 48px;
	--hero-height: 1300px;
	/* 4枚ともモックの位置から上げる（2026-11-24 MICHI 指示：PC 40px・スマホ 20px） */
	--hero-lift: 40px;

	position: absolute;
	top: calc(var(--hero-top) - var(--hero-lift));
	left: var(--hero-left);
	width: auto;
	max-width: none;
	height: var(--hero-height);
	transform: translateX(-50%) scale(1.05);
	transform-origin: 50% 25%;
	transition: transform 0s linear 1.5s;
}

.hero__slide.is-active .hero__art {
	transform: translateX(-50%) scale(1);
	transition: transform 8s cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* タレント・立ち絵ごとの位置（モックの値） */
.hero__slide--tensai-tatan-2 .hero__art {
	--hero-top: 52px;
	--hero-height: 1200px;
}

.hero__slide--sousei-mukuro-2 .hero__art {
	--hero-left: 36%;
	--hero-top: 40px;
	--hero-height: 1400px;
}

.hero__slide--tensai-tatan-1 .hero__art {
	--hero-top: 52px;
	--hero-height: 1360px;
}

.hero__slide--sousei-mukuro-1 .hero__art {
	--hero-top: 44px;
	--hero-height: 1700px;
}

/* 切り替えのときに先に走る、シアン〜ピンクの細い帯 */
.hero__band {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: none;
	background: linear-gradient(90deg, var(--wp--preset--color--cyan), var(--wp--preset--color--pink));
	pointer-events: none;
	clip-path: polygon(-17.5% 0, -15% 0, -30% 100%, -32.5% 100%);
}

.hero__band.is-running {
	display: block;
	animation: vnoco-band 1.4s cubic-bezier(0.77, 0, 0.18, 1) both;
}

@keyframes vnoco-band {
	from {
		clip-path: polygon(112.5% 0, 115% 0, 100% 100%, 97.5% 100%);
	}

	to {
		clip-path: polygon(-17.5% 0, -15% 0, -30% 100%, -32.5% 100%);
	}
}

.hero__inner {
	position: relative;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	max-width: 1440px;
	min-height: 840px;
	margin: 0 auto;
	padding: 0 clamp(24px, 4vw, 64px);
}

.hero__copy {
	position: relative;
	display: flex;
	flex: 0 1 620px;
	flex-direction: column;
	gap: 22px;
	min-width: 0;
	max-width: 46%;
	padding: 48px clamp(16px, 3vw, 48px) 52px;
}

/* 文字を読みやすくする白いぼかし（角のない放射状のグラデーション） */
.hero__veil {
	position: absolute;
	inset: -90px -110px;
	z-index: -1;
	background: radial-gradient(closest-side, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.74) 55%, rgba(255, 255, 255, 0.4) 80%, rgba(255, 255, 255, 0) 100%);
	pointer-events: none;
}

.hero__label {
	letter-spacing: 0.08em;
}

.hero__title {
	margin: 0;
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(44px, 6vw, 92px);
	font-style: italic;
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.01em;
	white-space: nowrap;
	text-shadow: -3px 0 var(--wp--preset--color--pink), 3px 0 var(--wp--preset--color--cyan);
}

.hero__title-s {
	font-size: 0.72em;
}

.hero__lead {
	margin: 0;
	font-size: clamp(18px, 1.8vw, 24px);
	font-weight: 700;
	line-height: 1.6;
}

.hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 8px;
}

/* タレントの切り替えボタン（番号・名前・残り時間のバー） */
.hero__ind {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	margin-top: 14px;
	padding-top: 18px;
	border-top: 1px solid rgba(27, 27, 114, 0.12);
}

.hero__ind-btn {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 160px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--ink);
	font-family: inherit;
	text-align: left;
	cursor: pointer;
}

.hero__ind-text {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.hero__ind-no {
	font-family: var(--wp--preset--font-family--display);
	font-size: 18px;
	font-style: italic;
	font-weight: 800;
	line-height: 1;
}

.hero__ind-name {
	font-family: "DotGothic16", sans-serif;
	font-size: 13px;
	opacity: 0.45;
	transition: opacity 0.4s;
}

.hero__ind-btn.is-active .hero__ind-name {
	opacity: 1;
}

.hero__ind-bar {
	position: relative;
	display: block;
	height: 2px;
	overflow: hidden;
	background: rgba(27, 27, 114, 0.18);
}

.hero__ind-fill {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 0;
	background: var(--wp--preset--color--ink);
}

.hero__ind-btn.is-active .hero__ind-fill {
	animation: vnoco-progress var(--hero-seconds, 6s) linear both;
}

.hero.is-static .hero__ind-btn.is-active .hero__ind-fill {
	width: 100%;
	animation: none;
}

@keyframes vnoco-progress {
	from {
		width: 0;
	}

	to {
		width: 100%;
	}
}

.slash-band--hero {
	z-index: 4;
	height: 14px;
}

/* ---------- ABOUT ---------- */
.about {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 56px;
	padding-top: 120px;
}

.about__head {
	flex: 0 1 360px;
}

.about__body {
	display: flex;
	flex: 1 1 520px;
	flex-direction: column;
	gap: 32px;
	min-width: 0;
}

.about__grid {
	display: grid;
	flex: 1 1 100%;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
	min-width: 0;
}

.about-item {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px 28px 30px;
	border-top: 4px solid var(--vnoco-purple);
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	transition: background 0.25s ease;
}

.about-item--cyan {
	border-top-color: var(--wp--preset--color--cyan);
}

.about-item--pink {
	border-top-color: var(--wp--preset--color--pink);
}

.about-item:hover {
	background: var(--vnoco-hover-bg);
	color: var(--wp--preset--color--ink);
}

.about-item:hover .arrow {
	transform: translateX(6px);
}

.about-item__top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
}

.about-item__no {
	color: transparent;
	font-family: var(--wp--preset--font-family--display);
	font-size: 64px;
	font-style: italic;
	font-weight: 800;
	line-height: 0.85;
	-webkit-text-stroke: 1.5px var(--wp--preset--color--ink);
}

.about-item__kind {
	padding-bottom: 4px;
	color: var(--vnoco-mute);
	font-family: "DotGothic16", sans-serif;
	font-size: 14px;
}

.about-item__en {
	font-family: var(--wp--preset--font-family--display);
	font-size: 24px;
	font-style: italic;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0.03em;
	text-shadow: -1.5px 0 var(--wp--preset--color--pink), 1.5px 0 var(--wp--preset--color--cyan);
}

.about-item__title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
}

.about-item__text {
	color: var(--vnoco-sub);
	font-size: 14px;
	line-height: 1.9;
}

.about-item__more {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding-top: 6px;
	font-family: var(--wp--preset--font-family--display);
	font-size: 14px;
	font-style: italic;
	font-weight: 800;
	letter-spacing: 0.06em;
}

/* ---------- MOVIE ---------- */
.movie__body {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.movie__main {
	display: flex;
	flex: 2 1 560px;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.movie__screen {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--wp--preset--color--ink);
}

.movie__poster,
.movie__player,
.movie__player iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.movie__poster {
	object-fit: cover;
	animation: vnoco-fade 0.7s ease both;
}

.movie.is-playing .movie__poster {
	visibility: hidden;
}

@keyframes vnoco-fade {
	from {
		opacity: 0;
		transform: scale(1.04);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

.movie__state {
	position: absolute;
	top: 14px;
	left: 0;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 12px;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
	font-family: "DotGothic16", sans-serif;
	font-size: 13px;
	pointer-events: none;
}

.movie__state svg {
	fill: currentColor;
}

.movie__sound {
	position: absolute;
	right: 14px;
	bottom: 22px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 14px;
	border: 0;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink);
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

/* 音声ボタンの印：オフのとき（いまミュート）はバツ、オンのときは音の波 */
.movie__sound-on,
.movie.is-sound .movie__sound-off {
	display: none;
}

.movie.is-sound .movie__sound-on {
	display: block;
}

.movie__progress {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	height: 6px;
	background: rgba(255, 255, 255, 0.35);
}

.movie__progress-fill {
	width: 0;
	height: 100%;
	background: var(--wp--preset--color--pink);
}

.movie__progress-fill.is-running {
	animation: vnoco-progress var(--movie-seconds, 8s) linear both;
}

.movie__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
}


.movie__queue {
	display: flex;
	flex: 1 1 300px;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.queue-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--ink);
	font-family: inherit;
	text-align: left;
	cursor: pointer;
}

/* いま再生中の動画は右の列に出さない（モックどおり「次」から4本） */
.queue-item.is-current,
.queue-item.is-hidden {
	display: none;
}

.queue-item__thumb {
	display: block;
	flex: 0 0 168px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--wp--preset--color--ink);
}

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

.queue-item__text {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.queue-item__next {
	align-self: flex-start;
	color: var(--vnoco-mute);
	font-family: var(--wp--preset--font-family--display);
	font-size: 12px;
	font-style: italic;
	font-weight: 800;
	letter-spacing: 0.06em;
}

.queue-item__next:empty {
	display: none;
}

.queue-item.is-next .queue-item__next {
	padding: 1px 8px;
	background: var(--wp--preset--color--pink);
	color: var(--wp--preset--color--ink);
}

.queue-item__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* 動画のタイトル（押すとこの動画を再生）。見た目は文字のまま */
.queue-item__btn {
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

/* ---------- PICKUP ---------- */
/* PICKUP は見出しの下 32px（モック） */
.pickup .sec-head {
	margin-bottom: 32px;
}

.pickup__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
}

.pickup-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	background: var(--wp--preset--color--white);
	text-decoration: none;
}

.pickup-card__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 960 / 540;
	object-fit: cover;
}

.pickup-card__img--none {
	background: var(--wp--preset--color--line);
}

.pickup-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 20px 22px;
}

.pickup-card__title {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.6;
}

/* ---------- NEWS ---------- */
.news-sec {
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
}

.news-sec__head {
	display: flex;
	flex: 0 1 300px;
	flex-direction: column;
	align-items: flex-start;
	gap: 28px;
}

.news-sec .news-list {
	flex: 1 1 600px;
	min-width: 0;
}

/* ---------- スマホ ---------- */
@media (max-width: 767px) {
	.hero__art,
	.hero__slide[class*="hero__slide--"] .hero__art {
		--hero-left: 50%;
		--hero-top: 0px; /* calc() で引き算するので単位を付ける */
		--hero-height: 860px;
		--hero-lift: 20px;
	}

	/* 20px 上げると頭のてっぺんがヘッダーの下に隠れる3枚は、隠れない所まで（ズームが終わった大きさで測った値。上の [class*] と同じ詳しさにして後に書く） */
	.hero__slide.hero__slide--tensai-tatan-2 .hero__art {
		--hero-lift: 19px;
	}

	.hero__slide.hero__slide--tensai-tatan-1 .hero__art {
		--hero-lift: 14px;
	}

	.hero__slide.hero__slide--sousei-mukuro-2 .hero__art {
		--hero-lift: 5px;
	}

	.hero__inner {
		display: block;
		min-height: 0;
		padding: 360px 16px 32px;
	}

	.hero__copy {
		gap: 16px;
		max-width: none;
		padding: 24px 20px 28px;
	}

	.hero__veil {
		inset: -60px -40px;
	}

	.hero__title {
		font-size: 44px;
	}

	.hero__lead {
		font-size: 16px;
	}

	.hero__ind {
		gap: 12px 16px;
	}

	.hero__ind-btn {
		width: 120px;
	}

	.about,
	.news-sec {
		gap: 32px;
	}

	.about {
		padding-top: var(--vnoco-sec-space);
	}

	.about-item {
		padding: 24px 20px 26px;
	}

	.queue-item__thumb {
		flex-basis: 124px;
	}
}

/* 視差効果を減らす設定：切り替えの動き・ズームを止める */
@media (prefers-reduced-motion: reduce) {
	.hero__slide,
	.hero__slide.is-active,
	.hero__art,
	.hero__slide.is-active .hero__art {
		transition: none;
	}

	.hero__slide:not(.is-active) {
		clip-path: none;
	}

	.hero__band.is-running,
	.movie__poster {
		animation: none;
	}
}
