@charset "UTF-8";
/*
 * トップページ（template-parts/lp-top.php）だけで使う部品のスタイル。
 * 土台は assets/ai-video.css（色・見出し・ボタン・セクションの余白はそちらの定義を使う）。
 * inc/setup.php の pitatto_head_assets() がトップページでだけ ai-video.css の後に読み込む。
 */

/* pitattoとは */
.top-about {
	position: relative;
	overflow: hidden;
	background: var(--paper);
}
/* 背景のドット模様。右上から薄く消える */
.top-about::before {
	content: "";
	position: absolute;
	right: -40px;
	top: -40px;
	width: 520px;
	height: 520px;
	background: radial-gradient(#6c4ef62e 1.4px, transparent 1.6px) 0 0 / 22px 22px;
	-webkit-mask-image: radial-gradient(circle at 70% 30%, black, transparent 68%);
	mask-image: radial-gradient(circle at 70% 30%, black, transparent 68%);
	pointer-events: none;
}
.about-grid {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1.02fr;
	gap: 64px;
	align-items: center;
}
.about-lead {
	margin-top: 24px;
	font-size: clamp(22px, 2.3vw, 30px);
	font-weight: 900;
	line-height: 1.65;
	letter-spacing: -0.02em;
}
/* 蛍光ペンのような下線 */
.about-mark {
	background: linear-gradient(transparent 62%, #ff3b7f33 62%, #6c4ef633 92%, transparent 92%);
}
.about-text {
	margin-top: 18px;
	max-width: 520px;
	font-size: 14px;
	line-height: 2;
	color: var(--muted);
}
.about-parts {
	list-style: none;
	margin: 30px 0 0;
	padding: 0;
	display: grid;
	gap: 4px;
	border-top: 1px solid var(--line);
}
.about-part {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}
.about-part-num {
	flex: none;
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	color: white;
	font:
		700 12px/1 Arial,
		sans-serif;
	transform: translateY(-2px);
}
.about-part.is-idea .about-part-num {
	background: linear-gradient(140deg, #a88cff, #6c4ef6);
}
.about-part.is-ai .about-part-num {
	background: linear-gradient(140deg, #5fd0ff, #2f7fe0);
}
.about-part.is-pro .about-part-num {
	background: linear-gradient(140deg, #ff8ab3, #ff3b7f);
}
.about-part h3 {
	font-size: 16px;
}
.about-part p {
	margin-top: 2px;
	font-size: 13px;
	color: var(--muted);
}
.top-about .pc-only {
	display: inline;
}

/* 3つの要素が重なるベン図。中心に pitatto を置く */
.about-venn {
	position: relative;
	width: min(100%, 540px);
	aspect-ratio: 1;
	margin-left: auto;
}
.venn-circle {
	position: absolute;
	width: 60%;
	aspect-ratio: 1;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	mix-blend-mode: multiply;
	box-shadow: inset 0 0 0 1px #ffffff99;
}
/* 3色（紫・水色・ピンク）。重なると青・マゼンタ・ラベンダーに混ざる */
.venn-circle.is-idea {
	left: 50%;
	top: 31%;
	background: radial-gradient(circle at 50% 20%, #f1ebff, #c4b1ff 78%);
}
.venn-circle.is-ai {
	left: 31%;
	top: 64%;
	background: radial-gradient(circle at 25% 75%, #e6f6ff, #9fd6ff 78%);
}
.venn-circle.is-pro {
	left: 69%;
	top: 64%;
	background: radial-gradient(circle at 75% 75%, #ffeef4, #ffadc9 78%);
}
/* ラベルは円の重なっていない外側に置く（位置は図の幅に対する割合） */
.venn-label {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transform: translate(-50%, -50%);
}
.venn-label.is-idea {
	left: 50%;
	top: 17%;
}
.venn-label.is-ai {
	left: 21%;
	top: 73%;
}
.venn-label.is-pro {
	left: 79%;
	top: 73%;
}
/*
 * アイコンは円の色に合わせたグラデーションの角丸に白い線画で載せる。
 * 活用シーンのアイコン（.use-icon）と同じフラットな作りにそろえている。
 */
.venn-badge {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 10px;
	border-radius: 16px;
	color: white;
	box-shadow: 0 10px 22px var(--badge-shadow);
}
.venn-badge svg {
	width: 28px;
	height: 28px;
}
.venn-label.is-idea .venn-badge {
	--badge-shadow: #6c4ef633;
	background: linear-gradient(140deg, #a88cff, #6c4ef6);
}
.venn-label.is-ai .venn-badge {
	--badge-shadow: #2f8fe633;
	background: linear-gradient(140deg, #5fd0ff, #2f7fe0);
}
.venn-label.is-pro .venn-badge {
	--badge-shadow: #ff3b7f33;
	background: linear-gradient(140deg, #ff8ab3, #ff3b7f);
}
.venn-label small {
	font:
		700 9px/1.4 Arial,
		sans-serif;
	letter-spacing: 0.18em;
}
.venn-label.is-idea small {
	color: #6c4ef6;
}
.venn-label.is-ai small {
	color: #2479d4;
}
.venn-label.is-pro small {
	color: #e0306f;
}
.venn-label strong {
	margin-top: 2px;
	font-size: 16px;
	font-weight: 900;
	line-height: 1.4;
	letter-spacing: -0.01em;
	color: var(--ink);
	white-space: nowrap;
}
.venn-core {
	position: absolute;
	left: 50%;
	top: 53%;
	display: grid;
	place-items: center;
	align-content: center;
	gap: 2px;
	width: 27%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: white;
	box-shadow:
		0 0 0 8px #ffffff80,
		0 18px 40px #6c4ef640;
	transform: translate(-50%, -50%);
}
.venn-core img {
	width: 74%;
	height: auto;
}
.venn-core small {
	font-size: 11px;
	font-weight: 700;
	color: var(--muted);
}
/* 中心から外へ広がる光の線 */
.venn-spark {
	position: absolute;
	width: 3px;
	height: 18px;
	border-radius: 3px;
	background: linear-gradient(var(--purple), var(--pink));
}
.venn-spark.is-1 {
	right: 8%;
	top: 8%;
	transform: rotate(40deg);
}
.venn-spark.is-2 {
	right: 3%;
	top: 15%;
	transform: rotate(70deg);
}
.venn-spark.is-3 {
	right: 13%;
	top: 4%;
	transform: rotate(15deg);
}

/*
 * ベン図のアニメーション（assets/top.js が画面に入ったときに .is-in を付ける）。
 * 1. 3つの円が外側から集まって重なる
 * 2. アイコンと見出しが順に現れる
 * 3. 中心の pitatto が弾むように現れ、以後は円の呼吸と中心の波紋が続く
 *
 * 登場の動きは @keyframes の「始まりの状態 → 何も指定していない状態」で書き、fill-mode は backwards にする。
 * 終わった瞬間にアニメーションの指定が外れても、位置・大きさが通常の状態と同じなので飛ばない。
 * （以前は .is-ready の位置ずらしが .is-in より優先され、終わりの位置が本来の位置とずれていた）
 * 円・ラベル・中心は transform で配置しているため、動きは translate / scale（個別指定）で付ける。
 * JS が動かない環境や「動きを減らす」設定では、完成した状態のまま表示する。
 */
@media (prefers-reduced-motion: no-preference) {
	/* 画面に入るまでは隠しておく */
	.about-venn.is-ready:not(.is-in) :is(.venn-circle, .venn-label, .venn-core, .venn-spark) {
		opacity: 0;
	}

	.about-venn.is-in .venn-circle.is-idea {
		animation:
			venn-in-idea 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) backwards,
			venn-breathe 5s ease-in-out 2s infinite alternate;
	}
	.about-venn.is-in .venn-circle.is-ai {
		animation:
			venn-in-ai 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.12s backwards,
			venn-breathe 5s ease-in-out 2.8s infinite alternate;
	}
	.about-venn.is-in .venn-circle.is-pro {
		animation:
			venn-in-pro 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.24s backwards,
			venn-breathe 5s ease-in-out 3.6s infinite alternate;
	}
	.about-venn.is-in .venn-label {
		animation: venn-in-label 0.6s ease 0.75s backwards;
	}
	.about-venn.is-in .venn-label.is-ai {
		animation-delay: 0.87s;
	}
	.about-venn.is-in .venn-label.is-pro {
		animation-delay: 0.99s;
	}
	.about-venn.is-in .venn-core {
		animation: venn-in-core 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 1.15s backwards;
	}
	.about-venn.is-in .venn-core::before,
	.about-venn.is-in .venn-core::after {
		content: "";
		position: absolute;
		inset: 0;
		border-radius: 50%;
		border: 1.5px solid #8f74ff;
		opacity: 0;
		animation: venn-ripple 3.2s ease-out 2s infinite;
		pointer-events: none;
	}
	.about-venn.is-in .venn-core::after {
		animation-delay: 3.6s;
	}
	.about-venn.is-in .venn-spark {
		animation:
			venn-in-fade 0.4s ease 1.5s backwards,
			venn-spark 2.4s ease-in-out 2s infinite;
	}
	.about-venn.is-in .venn-spark.is-2 {
		animation-delay: 1.6s, 2.3s;
	}
	.about-venn.is-in .venn-spark.is-3 {
		animation-delay: 1.7s, 2.6s;
	}
}
@keyframes venn-in-idea {
	from {
		opacity: 0;
		translate: 0 -22%;
		scale: 0.7;
	}
}
@keyframes venn-in-ai {
	from {
		opacity: 0;
		translate: -22% 14%;
		scale: 0.7;
	}
}
@keyframes venn-in-pro {
	from {
		opacity: 0;
		translate: 22% 14%;
		scale: 0.7;
	}
}
@keyframes venn-in-label {
	from {
		opacity: 0;
		translate: 0 14px;
	}
}
@keyframes venn-in-core {
	from {
		opacity: 0;
		scale: 0.4;
	}
}
@keyframes venn-in-fade {
	from {
		opacity: 0;
	}
}
@keyframes venn-breathe {
	from {
		scale: 1;
	}
	to {
		scale: 1.035;
	}
}
@keyframes venn-ripple {
	0% {
		opacity: 0.55;
		scale: 1;
	}
	100% {
		opacity: 0;
		scale: 1.9;
	}
}
@keyframes venn-spark {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.25;
	}
}

/* 左の3要素にカーソルを合わせると、対応する円を強調する（assets/top.js が data-active を付ける） */
.venn-circle,
.venn-label {
	transition:
		opacity 0.3s ease,
		filter 0.3s ease;
}
.about-venn[data-active] .venn-circle,
.about-venn[data-active] .venn-label {
	opacity: 0.35;
}
.about-venn[data-active="idea"] .is-idea,
.about-venn[data-active="ai"] .is-ai,
.about-venn[data-active="pro"] .is-pro {
	opacity: 1;
}
.about-venn[data-active="idea"] .venn-circle.is-idea,
.about-venn[data-active="ai"] .venn-circle.is-ai,
.about-venn[data-active="pro"] .venn-circle.is-pro {
	filter: saturate(1.25);
}
.about-part {
	cursor: default;
	transition: background 0.3s;
}
.about-part.is-active {
	background: linear-gradient(90deg, var(--wash), transparent);
}

/* 活用シーン：左に用途の一覧、右に実際の動画を3本並べる */
.top-uses {
	overflow-x: clip; /* 傾けた動画が画面の横にはみ出さないように */
}
.uses-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}
/* 用途は名前だけのチップ。読む量を減らし、並びで幅の広さを伝える */
.use-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.use-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border-radius: 18px;
	background: white;
	box-shadow: 0 10px 26px #2b17480f;
}
.use-icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	background: linear-gradient(135deg, var(--purple), var(--pink));
	color: white;
	box-shadow: 0 8px 18px #6c4ef62e;
}
.use-icon svg {
	width: 22px;
	height: 22px;
}
.use-item h3 {
	font-size: 15px;
	line-height: 1.4;
}
.use-places {
	margin-top: 26px;
}
.use-places-label {
	font-size: 12px;
	font-weight: 700;
	color: var(--muted);
}
.use-tags {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.use-tags li {
	padding: 4px 12px;
	border: 1px solid #ddd3ee;
	border-radius: 999px;
	background: #ffffff99;
	color: #5b4a73;
	font-size: 12px;
	font-weight: 700;
}

/* 実際の動画：スマホの画面のように、少し傾けて重ねる */
.use-showcase {
	position: relative;
}
.use-showcase::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 46%;
	width: 90%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, #c4b1ff66, transparent 65%);
	transform: translate(-50%, -50%);
	pointer-events: none;
}
.use-films {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}
.use-film {
	position: relative;
	width: 34%;
	flex: none;
}
.use-film:nth-child(1) {
	rotate: -7deg;
	translate: 10% 6%;
}
.use-film:nth-child(2) {
	z-index: 2;
	width: 38%;
}
.use-film:nth-child(3) {
	rotate: 7deg;
	translate: -10% 6%;
}
.ai-page .use-film-frame {
	aspect-ratio: 9 / 16;
	border: 5px solid #1d1229;
	border-radius: 24px;
	box-shadow: 0 24px 50px #2b17483d;
}
/* キャプションは画面の下端に重ねる（傾けた動画どうしで文字がぶつからないように） */
.use-film-caption {
	position: absolute;
	left: 50%;
	bottom: 14px;
	z-index: 1;
	width: max-content;
	max-width: 84%;
	padding: 5px 11px;
	border-radius: 999px;
	background: #ffffffe6;
	box-shadow: 0 6px 14px #1d122933;
	transform: translateX(-50%);
	text-align: center;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.45;
	color: var(--ink);
	pointer-events: none;
}
.use-showcase-note {
	position: relative;
	margin-top: 22px;
	text-align: center;
	font-size: 12px;
	color: var(--muted);
}

/* お客様の反響。2026-10-30 「こんなお悩み」と同じ暗い紺・カードの質感にそろえた */
.top-voices {
	position: relative;
	overflow: hidden;
	background: #0b0f17;
	color: white;
}
.top-voices::before {
	content: "";
	position: absolute;
	width: 900px;
	height: 900px;
	right: -280px;
	top: -360px;
	border-radius: 50%;
	background: radial-gradient(circle, #823cf62e, transparent 64%);
	pointer-events: none;
}
.top-voices .wrap {
	position: relative;
}
.top-voices .eyebrow {
	color: #bcacff;
}
.top-voices .lede {
	color: #c3c7d1;
}
.voice-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 12px 0 40px;
	border-top: 1px solid #ffffff1f;
	border-bottom: 1px solid #ffffff1f;
}
.voice-stats > div {
	padding: 30px 24px 28px;
	text-align: center;
}
.voice-stats > div + div {
	border-left: 1px solid #ffffff1f;
}
.voice-stats dt {
	font-size: 13px;
	font-weight: 700;
	color: #c9b7ff;
}
.voice-stats dd {
	margin: 6px 0 0;
	font-size: 17px;
	font-weight: 700;
}
.voice-stats strong {
	margin: 0 4px;
	font:
		700 56px/1 Arial,
		sans-serif;
	letter-spacing: -0.03em;
	/* キービジュアル・「こんなお悩み」の見出しと同じグラデーション */
	background: linear-gradient(100deg, #ff5fc8 0%, #a463ff 45%, #5b8cff 75%, #33e0d0 100%);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
}
.voice-stats .voice-stats-note {
	margin-top: 10px;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.7;
	color: #a3a8b8;
}
.voice-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.voice-card {
	display: flex;
	flex-direction: column;
	padding: 28px 30px 24px;
	border: 1.5px solid #ffffff2e;
	border-radius: 12px;
	background: #1c212b;
}
.voice-tag {
	align-self: flex-start;
	padding: 5px 14px;
	border-radius: 999px;
	/* 「こんなお悩み」の強調の帯と同じ色 */
	background: linear-gradient(60deg, #e02fe0, #1c5cf2);
	color: white;
	font-size: 12px;
	font-weight: 700;
}
.voice-text {
	flex: 1;
	margin-top: 16px;
	font-size: 14px;
	line-height: 2;
	color: #e6e8ee;
}
.voice-who {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid #ffffff1f;
}
.voice-who strong {
	font-size: 14px;
}
.voice-who small {
	font-size: 12px;
	color: #a3a8b8;
}

@media (max-width: 1080px) {
	/* 1列のときは「説明 → 図 → 3要素の説明」の順に並べ替える */
	.about-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.about-copy {
		display: contents;
	}
	.about-venn {
		order: 1;
		margin: 32px auto 0;
	}
	.about-parts {
		order: 2;
	}
	.uses-layout {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.use-showcase {
		order: -1;
		width: min(100%, 560px);
		margin: 0 auto;
	}
}

@media (max-width: 767px) {
	.top-about .pc-only {
		display: none;
	}
	.top-about::before {
		width: 320px;
		height: 320px;
	}
	.about-lead {
		margin-top: 16px;
	}
	.venn-badge {
		width: 40px;
		height: 40px;
		margin-bottom: 6px;
		border-radius: 12px;
	}
	.venn-badge svg {
		width: 21px;
		height: 21px;
	}
	.venn-label small {
		font-size: 7px;
	}
	.venn-label strong {
		font-size: 12px;
	}
	.venn-core small {
		font-size: 9px;
	}
	.use-list {
		gap: 8px;
	}
	.use-item {
		gap: 10px;
		padding: 10px 12px;
		border-radius: 14px;
	}
	.use-icon {
		width: 34px;
		height: 34px;
		border-radius: 10px;
	}
	.use-icon svg {
		width: 18px;
		height: 18px;
	}
	.use-item h3 {
		font-size: 13px;
	}
	.use-tags li {
		padding: 3px 10px;
		font-size: 11px;
	}
	.use-film-caption {
		bottom: 8px;
		max-width: 94%;
		padding: 3px 8px;
		font-size: 8px;
	}
	.ai-page .use-film-frame {
		border-width: 3px;
		border-radius: 16px;
	}
	.voice-stats {
		grid-template-columns: 1fr;
		margin-bottom: 28px;
	}
	.voice-stats > div {
		padding: 22px 8px;
	}
	.voice-stats > div + div {
		border-left: 0;
		border-top: 1px solid #ffffff1f;
	}
	.voice-stats strong {
		font-size: 46px;
	}
	.voice-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.voice-card {
		padding: 24px 22px 22px;
	}
}

/* =========================================================
 * セクションごとの登場アニメーション
 *
 * - 見えたら assets/top.js が対象（.rv）に .is-in を付ける。<html>.top-anim が無いとき
 *   （JS が動かない・動きを減らす設定）は何も隠さず、完成した状態で表示する。
 * - どれも @keyframes の「始まりの状態 → 何も指定していない状態」で書き、fill-mode は backwards。
 *   終わった瞬間に指定が外れても、位置・大きさが通常の状態と同じなので飛ばない。
 * - transform を使っている要素があるため、動きは translate / scale / rotate（個別指定）で付ける。
 * - 同じフェードを並べず、セクションの内容（比較・生成・工程・流れ）をなぞる動きにしている。
 * ========================================================= */
@media (prefers-reduced-motion: no-preference) {
	/*
	 * --- ヒーロー：背景のタイルがふわっと出て、見出しが行ごとにぼかしから浮かぶ ---
	 * 読み込み時に CSS だけで動く。行の順番は template-parts/pitatto/hero.php の --i。
	 */
	.pitatto-hero .hero-wall {
		animation: fade-in 1.4s ease backwards;
	}
	.hero-line {
		display: inline-block;
	}
	.hero-line > span {
		display: inline-block;
		animation: rise-line 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
		animation-delay: calc(0.15s + var(--i, 0) * 0.15s);
	}
	.ai-hero .hero-copy > :is(.lede, .hero-tags, .hero-badges, .hero-cta) {
		animation: fade-rise 0.8s ease 0.8s backwards;
	}
	.ai-hero .hero-copy > .hero-tags {
		animation-delay: 0.95s;
	}
	.ai-hero .hero-copy > .hero-badges {
		animation-delay: 1.1s;
	}
	.ai-hero .hero-copy > .hero-cta {
		animation-delay: 1.25s;
	}

	/* --- 隠しておく（見えるまで） --- */
	.top-anim .rv:not(.is-in) :is(
		.worry-card,
		.use-item, .use-film, .use-places,
		.stage-inputs, .stage-arrow, .stage-output, .feature-copy,
		.beyond-case,
		.works-card,
		.voice-stats > div, .voice-card,
		li,
		.edit-bar, .edit-body, .edit-window > figcaption,
		.process-card,
		.contact-copy, .contact-form-area
	),
	.top-anim .edit-window.rv:not(.is-in) {
		opacity: 0;
	}

	/* --- こんなお悩みありませんか？：カードを上から順に出す --- */
	.worry-list.is-in .worry-card {
		animation: fade-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
	}
	.worry-list.is-in .worry-card:nth-child(2) {
		animation-delay: 0.08s;
	}
	.worry-list.is-in .worry-card:nth-child(3) {
		animation-delay: 0.16s;
	}
	.worry-list.is-in .worry-card:nth-child(4) {
		animation-delay: 0.24s;
	}
	.worry-list.is-in .worry-card:nth-child(5) {
		animation-delay: 0.32s;
	}
	.worry-list.is-in .worry-card:nth-child(6) {
		animation-delay: 0.4s;
	}

	/* --- 活用シーン：動画が下から順にせり上がって扇形に収まり、一覧は上から順に出てアイコンが線で描かれる --- */
	.uses-layout.is-in .use-film {
		animation: film-rise 1s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
	}
	.uses-layout.is-in .use-film:nth-child(1) {
		animation-delay: 0.15s;
	}
	.uses-layout.is-in .use-film:nth-child(3) {
		animation-delay: 0.3s;
	}
	.uses-layout.is-in .use-item {
		animation: fade-rise 0.6s ease backwards;
		animation-delay: calc(0.2s + var(--n, 0) * 0.08s);
	}
	.uses-layout.is-in .use-places {
		animation: fade-rise 0.7s ease 0.75s backwards;
	}
	.top-anim .use-list .use-icon svg :is(path, rect, circle) {
		stroke-dasharray: 1;
	}
	.uses-layout.is-in .use-icon svg :is(path, rect, circle) {
		animation: draw-line 0.9s ease-out backwards;
		animation-delay: calc(0.4s + var(--n, 0) * 0.08s);
	}
	.use-item:nth-child(2) {
		--n: 1;
	}
	.use-item:nth-child(3) {
		--n: 2;
	}
	.use-item:nth-child(4) {
		--n: 3;
	}
	.use-item:nth-child(5) {
		--n: 4;
	}
	.use-item:nth-child(6) {
		--n: 5;
	}

	/* --- つくれる表現：素材 → 矢印 → 出来上がりの順に流れ、出来上がりは左から書き出される --- */
	.feature-row.is-in .stage-inputs {
		animation: fade-right-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
	}
	.feature-row.is-in .stage-arrow {
		animation: arrow-pass 0.6s ease 0.4s backwards;
	}
	.feature-row.is-in .stage-output {
		animation: wipe-in 1s cubic-bezier(0.6, 0, 0.2, 1) 0.6s backwards;
	}
	.feature-row.is-in .feature-copy {
		animation: fade-rise 0.8s ease 0.3s backwards;
	}
	/* 撮影では撮れない表現：映像の窓が上下から開く */
	.beyond-cases.is-in .beyond-case {
		animation: shutter-open 0.9s cubic-bezier(0.7, 0, 0.2, 1) backwards;
	}
	.beyond-cases.is-in .beyond-case:nth-child(2) {
		animation-delay: 0.15s;
	}
	.beyond-cases.is-in .beyond-case:nth-child(3) {
		animation-delay: 0.3s;
	}

	/* --- 制作実績：フィルムを送るように右から順に入る --- */
	.works-carousel.is-in .works-card {
		animation: reel-in 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
	}
	.works-carousel.is-in .works-card:nth-child(2) {
		animation-delay: 0.08s;
	}
	.works-carousel.is-in .works-card:nth-child(3) {
		animation-delay: 0.16s;
	}
	.works-carousel.is-in .works-card:nth-child(4) {
		animation-delay: 0.24s;
	}
	.works-carousel.is-in .works-card:nth-child(n + 5) {
		animation-delay: 0.32s;
	}

	/* --- お客様の反響：数字が下から回り込んで止まり、声のカードは順に浮き上がる --- */
	.voice-stats.is-in > div {
		animation: fade-rise 0.7s ease backwards;
	}
	.voice-stats.is-in > div:nth-child(2) {
		animation-delay: 0.15s;
	}
	.voice-stats.is-in > div:nth-child(3) {
		animation-delay: 0.3s;
	}
	.voice-stats.is-in strong {
		display: inline-block;
		animation: number-roll 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
		animation-delay: inherit;
	}
	.voice-grid.is-in .voice-card {
		animation: card-rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
	}
	.voice-grid.is-in .voice-card:nth-child(2) {
		animation-delay: 0.12s;
	}
	.voice-grid.is-in .voice-card:nth-child(3) {
		animation-delay: 0.24s;
	}
	.voice-grid.is-in .voice-card:nth-child(4) {
		animation-delay: 0.36s;
	}

	/* --- 企画から編集まで：場面カードが階段を上るように順に出て、編集画面では素材が左から並ぶ --- */
	.story-scenes.is-in li {
		animation: step-up 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
	}
	.story-scenes.is-in li::after {
		animation: icon-pop 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) backwards;
	}
	.story-scenes.is-in li:nth-child(1)::after {
		animation-delay: 0.45s;
	}
	.story-scenes.is-in li:nth-child(2) {
		animation-delay: 0.3s;
	}
	.story-scenes.is-in li:nth-child(2)::after {
		animation-delay: 0.75s;
	}
	.story-scenes.is-in li:nth-child(3) {
		animation-delay: 0.6s;
	}
	.story-scenes.is-in li:nth-child(3)::after {
		animation-delay: 1.05s;
	}
	.story-scenes.is-in li:nth-child(4) {
		animation-delay: 0.9s;
	}
	.edit-window.is-in {
		animation: fade-rise 0.8s ease backwards;
	}
	.edit-window.is-in .edit-lane.clips span {
		animation: wipe-in 0.5s ease-out backwards;
	}
	.edit-window.is-in .edit-lane.clips span:nth-child(1) {
		animation-delay: 0.4s;
	}
	.edit-window.is-in .edit-lane.clips span:nth-child(2) {
		animation-delay: 0.55s;
	}
	.edit-window.is-in .edit-lane.clips span:nth-child(3) {
		animation-delay: 0.7s;
	}
	.edit-window.is-in .edit-lane.clips span:nth-child(4) {
		animation-delay: 0.85s;
	}
	.edit-window.is-in .edit-lane.clips span:nth-child(5) {
		animation-delay: 1s;
	}
	.edit-window.is-in .edit-lane.clips span:nth-child(6) {
		animation-delay: 1.15s;
	}
	.edit-window.is-in .edit-lane.telops span {
		animation: stamp 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) backwards;
	}
	.edit-window.is-in .edit-lane.telops span:nth-child(1) {
		animation-delay: 1.3s;
	}
	.edit-window.is-in .edit-lane.telops span:nth-child(2) {
		animation-delay: 1.4s;
	}
	.edit-window.is-in .edit-lane.telops span:nth-child(3) {
		animation-delay: 1.5s;
	}
	.edit-window.is-in .edit-lane.telops span:nth-child(4) {
		animation-delay: 1.6s;
	}
	.edit-window.is-in .edit-lane.bgm span {
		animation: wipe-in 1.1s ease-in-out 1.3s backwards;
	}

	/* --- 制作の流れ：上の線が左から右へ伸び、線が届いたステップから中身が出る --- */
	#flow .process-card {
		position: relative;
	}
	#flow .process-card::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: -1px;
		height: 2px;
		background: linear-gradient(90deg, var(--purple), var(--pink));
		transform-origin: left;
	}
	#flow .process-grid.is-in .process-card {
		animation: fade-in 0.01s backwards;
		animation-delay: calc(var(--n, 0) * 0.32s);
	}
	#flow .process-grid.is-in .process-card::before {
		animation: draw-x 0.45s linear backwards;
		animation-delay: calc(var(--n, 0) * 0.32s);
	}
	#flow .process-grid.is-in .process-card > * {
		animation: fade-rise 0.6s ease backwards;
		animation-delay: calc(0.2s + var(--n, 0) * 0.32s);
	}
	#flow .process-card:nth-child(2) {
		--n: 1;
	}
	#flow .process-card:nth-child(3) {
		--n: 2;
	}
	#flow .process-card:nth-child(4) {
		--n: 3;
	}

	/* --- よくある質問：開いたときに回答がすっと出る --- */
	#faq .faq-list details[open] p {
		animation: fade-rise-sm 0.35s ease;
	}

	/* --- お問い合わせ：フォームのカードが浮き上がる --- */
	.contact-grid.is-in .contact-copy {
		animation: fade-rise 0.8s ease backwards;
	}
	.contact-grid.is-in .contact-form-area {
		animation: card-rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s backwards;
	}
}

@keyframes rise-line {
	from {
		opacity: 0;
		translate: 0 0.45em;
		filter: blur(6px);
	}
}
@keyframes fade-in {
	from {
		opacity: 0;
	}
}
@keyframes fade-rise {
	from {
		opacity: 0;
		translate: 0 18px;
	}
}
@keyframes fade-rise-sm {
	from {
		opacity: 0;
		translate: 0 -6px;
	}
}
@keyframes fade-right-in {
	from {
		opacity: 0;
		translate: -28px 0;
	}
}
@keyframes card-rise {
	from {
		opacity: 0;
		translate: 0 28px;
		scale: 0.97;
	}
}
@keyframes draw-line {
	from {
		stroke-dashoffset: 1;
	}
}
@keyframes icon-pop {
	from {
		opacity: 0;
		scale: 0.5;
	}
}
@keyframes arrow-pass {
	from {
		opacity: 0;
		translate: -20px 0;
	}
}
@keyframes wipe-in {
	from {
		clip-path: inset(0 100% 0 0);
	}
	to {
		clip-path: inset(0 0 0 0);
	}
}
@keyframes shutter-open {
	from {
		opacity: 0;
		clip-path: inset(50% 0 50% 0);
	}
	to {
		opacity: 1;
		clip-path: inset(0 0 0 0);
	}
}
@keyframes reel-in {
	from {
		opacity: 0;
		translate: 80px 0;
	}
}
@keyframes number-roll {
	from {
		opacity: 0;
		translate: 0 60%;
		clip-path: inset(0 0 100% 0);
	}
	to {
		clip-path: inset(0 0 0 0);
	}
}
@keyframes stamp {
	from {
		opacity: 0;
		scale: 1.6;
		rotate: -8deg;
	}
}
@keyframes step-up {
	from {
		opacity: 0;
		translate: 0 40px;
	}
}
@keyframes draw-x {
	from {
		scale: 0 1;
	}
}
@keyframes film-rise {
	from {
		opacity: 0;
		translate: 0 70px;
	}
}
