@charset "UTF-8";
/*
 * AI動画制作LP（page-ai-video.php）のスタイル。
 * docs/lp-mock/styles.css を移植したもの。末尾に Contact Form 7 の出力に合わせたフォームの調整を足している。
 */
:root {
	--ink: #241637;
	--muted: #756c80;
	--purple: #6c4ef6;
	--pink: #ff3b7f;
	--paper: #fdfcff;
	--line: #e8e2ef;
	--wash: #f3effb;
	--radius: 24px;
	--shadow: 0 20px 60px #25133c0b;
}
* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
	scroll-padding-top: 82px;
}
body {
	margin: 0;
	color: var(--ink);
	background: var(--paper);
	font-family:
		"Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	line-height: 1.85;
	letter-spacing: 0.02em;
}
a {
	color: inherit;
	text-decoration: none;
}
button,
input,
select,
textarea {
	font: inherit;
}
button,
a,
input,
textarea,
select {
	-webkit-tap-highlight-color: transparent;
}
button {
	cursor: pointer;
}
img,
video {
	display: block;
	max-width: 100%;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--purple);
	outline-offset: 5px;
}
h1,
h2,
h3,
p {
	margin: 0;
}
h1,
h2,
h3 {
	line-height: 1.45;
}
h1 {
	font-size: clamp(36px, 4.5vw, 65px);
	letter-spacing: -0.055em;
	font-weight: 900;
}
h2 {
	font-size: clamp(29px, 3.1vw, 43px);
	letter-spacing: -0.035em;
}
h3 {
	font-size: 21px;
	letter-spacing: -0.02em;
}
.wrap {
	width: min(1180px, calc(100% - 80px));
	margin: auto;
}
.section {
	padding: 104px 0;
}
.section.soft {
	background: var(--wash);
}
.eyebrow {
	display: block;
	font-family: Arial, sans-serif;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.18em;
	color: var(--purple);
	margin-bottom: 18px;
}
.lede {
	color: var(--muted);
	font-size: 15px;
	line-height: 2;
	max-width: 640px;
	margin-top: 22px;
}
.gradient {
	background: linear-gradient(110deg, var(--purple), var(--pink));
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
}
.section-head {
	margin-bottom: 28px;
}
.section-head .lede {
	font-size: 14px;
}
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	min-height: 56px;
	padding: 13px 26px;
	border-radius: 100px;
	background: var(--ink);
	color: white;
	border: 1px solid transparent;
	font-size: 14px;
	font-weight: 700;
	transition:
		transform 0.2s,
		background 0.2s;
}
.btn:hover {
	transform: translateY(-2px);
	background: var(--purple);
}
.btn::after {
	content: "↗";
	font-size: 19px;
	font-weight: 400;
}
.btn.primary {
	background: linear-gradient(110deg, var(--purple), #b746d4 65%, var(--pink));
	box-shadow: 0 8px 24px #6c4ef622;
}
.btn.secondary {
	background: transparent;
	color: var(--ink);
	border-color: #d8cfe3;
}
.btn.small {
	min-height: 43px;
	font-size: 12px;
	padding: 9px 20px;
}
.actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 30px;
}
.micro {
	font-size: 12px;
	color: var(--muted);
	margin-top: 15px;
	line-height: 1.9;
}
.skip {
	position: fixed;
	top: -100px;
	z-index: 2000;
	background: white;
	padding: 15px;
}
.skip:focus {
	top: 0;
}
.site-header {
	height: 66px;
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fdfcffed;
	border-bottom: 1px solid #e8e2efb0;
	backdrop-filter: blur(15px);
	box-shadow: 0 5px 10px #6c4ef61a;
}
/* ログイン中は WordPress の管理バー（782px以下は46px、600px以下はスクロールで隠れる）の下に付ける */
.admin-bar .site-header {
	top: 32px;
}
@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}
@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}
.header-inner {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}
.brand img {
	width: 106px;
	height: auto;
}
.site-nav {
	display: flex;
	align-items: center;
	gap: 30px;
	font-size: 12px;
	font-weight: 700;
}
.site-nav a[aria-current="page"] {
	color: var(--purple);
}
/* iPhone の Safari はボタンの文字を青で表示するため、色と見た目を指定しておく */
.menu-toggle {
	display: none;
	-webkit-appearance: none;
	appearance: none;
	background: none;
	color: var(--ink);
	border: 1px solid var(--line);
	border-radius: 4px;
	padding: 2px 6px 8px;
	font-size: 18px;
	line-height: 1;
}
.mobile-cta {
	display: none;
}
.home-hero {
	padding: 62px 0 78px;
	overflow: hidden;
	background:
		radial-gradient(ellipse at 70% 30%, #eee8ff 0, transparent 55%),
		var(--paper);
}
.hero-copy .eyebrow {
	margin-bottom: 25px;
}
.hero-copy .lede {
	font-size: 15px;
	max-width: 455px;
}
.home-stage {
	height: 550px;
	position: relative;
}
.film {
	position: absolute;
	overflow: hidden;
	border-radius: 23px;
	background: #261537;
	box-shadow: 0 18px 50px #27114a26;
	border: 6px solid white;
}
.film video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 48px;
}
.feature {
	padding: 30px;
	background: white;
	border: 1px solid var(--line);
	border-radius: 18px;
}
.feature p {
	font-size: 13px;
	color: var(--muted);
	margin-top: 13px;
}
.ai-hero {
	position: relative;
	background: #20112f;
	color: white;
	padding: 78px 0 54px;
	overflow: hidden;
}
.ai-hero::before {
	content: "";
	position: absolute;
	width: 680px;
	height: 680px;
	right: -140px;
	top: -220px;
	border-radius: 50%;
	background: radial-gradient(circle, #6735a650, transparent 68%);
}
.ai-hero h1 {
	font-size: clamp(35px, 4.1vw, 58px);
	letter-spacing: -0.04em;
}
.ai-hero .eyebrow {
	color: #bcacff;
}
.ai-hero .lede {
	color: #c8bcd5;
}
.ai-hero .btn.secondary {
	color: white;
	border-color: #7d698e;
}
.ai-hero .micro {
	color: #b7a8c6;
}
.pain-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
}
.pain-card {
	padding: 15px 33px;
	border-left: 1px solid #d8cde8;
}
.pain-card:first-child {
	padding-left: 0;
	border: 0;
}
.pain-card .icon {
	font-size: 27px;
	color: var(--purple);
	margin-bottom: 20px;
}
.pain-card p {
	font-size: 13px;
	color: var(--muted);
	margin-top: 14px;
}
.resolution {
	margin-top: 42px;
	padding: 24px 30px;
	background: white;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
	font-size: 17px;
	font-weight: 700;
}
.resolution small {
	font-size: 12px;
	font-weight: 400;
	color: var(--muted);
}
.plan-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.plan {
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 30px 25px;
	background: white;
	position: relative;
	display: flex;
	flex-direction: column;
}
.plan.featured {
	border-color: #a08afb;
	box-shadow: 0 12px 50px #6c4ef610;
}
.plan .eyebrow {
	margin-bottom: 8px;
	font-size: 10px;
}
.plan h3 {
	font-size: 23px;
}
.plan-summary {
	font-size: 12px;
	color: var(--muted);
	margin: 15px 0 20px;
	min-height: 46px;
}
.price {
	font-family: Arial, sans-serif;
	font-size: 53px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.05em;
}
.price small {
	margin-left: 6px;
	font-family: inherit;
	font-size: 17px;
	letter-spacing: 0;
}
.plan ul {
	margin: 0 0 27px;
	padding: 20px 0 0;
	list-style: none;
	border-top: 1px solid var(--line);
	font-size: 12px;
	flex: 1;
}
.plan li {
	position: relative;
	padding-left: 19px;
	margin: 10px 0;
}
.plan li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--purple);
}
.plan li.limit {
	color: #82778d;
}
.plan li.limit::before {
	content: "−";
	color: #82778d;
}
.plan-flag {
	position: absolute;
	right: 20px;
	top: 25px;
	padding: 4px 10px;
	font-size: 9px;
	color: var(--purple);
	background: #ede8ff;
	border-radius: 100px;
}
.plan-flag.is-premium {
	display: grid;
	place-items: center;
	overflow: hidden;
	width: 56px;
	height: 56px;
	padding: 0;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--purple), #b746d4 55%, var(--pink));
}
.plan-flag.is-premium svg {
	width: 30px;
	height: 30px;
	fill: white;
	filter: drop-shadow(0 1px 2px #24163740);
}
.plan-flag.is-premium::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		110deg,
		transparent 30%,
		#ffffff70 50%,
		transparent 70%
	);
	transform: translateX(-120%);
	animation: plan-flag-shine 3.6s ease-in-out infinite;
}
@keyframes plan-flag-shine {
	0%,
	55% {
		transform: translateX(-120%);
	}
	100% {
		transform: translateX(120%);
	}
}
@media (prefers-reduced-motion: reduce) {
	.plan-flag.is-premium::after {
		animation: none;
	}
}
.comparison-wrap {
	margin-top: 44px;
	border: 1px solid var(--line);
	border-radius: 8px;
	overflow: auto;
}
.comparison {
	border-collapse: collapse;
	width: 100%;
	font-size: 12px;
	line-height: 1.7;
}
.comparison th,
.comparison td {
	padding: 16px 20px;
	border-bottom: 1px solid var(--line);
	text-align: center;
	min-width: 140px;
}
.comparison th:first-child {
	text-align: left;
	width: 30%;
	min-width: 170px;
}
.comparison thead {
	background: var(--wash);
}
.comparison tr:last-child th,
.comparison tr:last-child td {
	border-bottom: 0;
}
.comparison .yes {
	color: var(--purple);
	font-weight: 700;
}
/*
 * 2026-10-30 プランと料金（AI動画制作LPの #plans）。
 * 「こんなお悩み」と同じ暗い紺の背景にして、白いプランのカードを浮かせる。おすすめのプランは紫の光で縁取る。
 * 比較表は細かい文字が多いので、白い板に載せたまま読みやすさを保つ。
 */
.ai-page .ai-plans {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(ellipse 70% 50% at 50% 0%, #823cf633, transparent 70%),
		radial-gradient(ellipse 60% 40% at 100% 100%, #1d9fe526, transparent 70%),
		#0b0f17;
	color: white;
}
.ai-page .ai-plans .eyebrow {
	color: #bcacff;
}
.ai-page .ai-plans .section-head .lede {
	color: #c3c7d1;
}
.ai-page .ai-plans .plan {
	border-color: transparent;
	border-radius: 12px;
	color: var(--ink);
	box-shadow: 0 18px 44px #00000040;
}
.ai-page .ai-plans .plan.featured {
	box-shadow:
		0 0 0 2px #9d84ff,
		0 0 48px #823cf680,
		0 18px 44px #00000040;
}
.ai-page .ai-plans .plan .eyebrow {
	color: var(--purple);
}
.ai-page .ai-plans .comparison-wrap {
	border: 0;
	border-radius: 12px;
	background: white;
	color: var(--ink);
}
.ai-page .ai-plans .micro {
	color: #a3a8b8;
}
.process-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}
.process-card {
	border-top: 1px solid #cabce2;
	padding-top: 24px;
}
.step {
	font:
		500 13px Arial,
		sans-serif;
	color: var(--purple);
	margin-bottom: 19px;
}
.process-card h3 {
	font-size: 17px;
}
.process-card p {
	font-size: 12px;
	color: var(--muted);
	margin-top: 13px;
}
.faq-grid {
	display: grid;
	grid-template-columns: 0.65fr 1.35fr;
	gap: 80px;
}
.faq-list details {
	border-bottom: 1px solid var(--line);
	padding: 22px 0;
}
.faq-list details:first-child {
	border-top: 1px solid var(--line);
}
.faq-list summary {
	list-style: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	position: relative;
	padding-right: 32px;
}
.faq-list summary::-webkit-details-marker {
	display: none;
}
.faq-list summary::after {
	content: "+";
	position: absolute;
	right: 5px;
	top: -3px;
	font-size: 24px;
	color: var(--purple);
	font-weight: 400;
}
.faq-list details[open] summary::after {
	content: "−";
}
.faq-list details p {
	font-size: 13px;
	color: var(--muted);
	padding-top: 15px;
}
.contact-section {
	background: #eee7fa;
	padding: 76px 0;
}
.contact-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 70px;
	align-items: start;
}
.contact-copy h2 {
	font-size: 38px;
}
.contact-copy p {
	font-size: 14px;
	color: var(--muted);
	margin-top: 20px;
}
.contact-form {
	border-radius: 16px;
	background: white;
	padding: 32px;
	box-shadow: var(--shadow);
}
.contact-form label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	margin-top: 17px;
}
.contact-form label:first-child {
	margin-top: 0;
}
.contact-form label small {
	color: var(--pink);
	font-size: 10px;
	margin-left: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
	display: block;
	width: 100%;
	border: 1px solid #e1dae9;
	border-radius: 8px;
	background: #fdfbff;
	font-size: 14px;
	padding: 11px 13px;
	margin-top: 6px;
	color: var(--ink);
}
.contact-form textarea {
	resize: vertical;
	min-height: 95px;
}
/* iOS Safari は 16px 未満の入力欄をタップすると画面を拡大するため、スマホでは 16px にそろえる */
@media (max-width: 767px) {
	.contact-form input,
	.contact-form select,
	.contact-form textarea {
		font-size: 16px;
	}
}
.contact-form .btn {
	width: 100%;
	margin-top: 22px;
}
.contact-form .micro {
	font-size: 10px;
}
.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}
.form-row label {
	margin-top: 17px !important;
}
.form-result {
	font-size: 13px;
	padding: 14px;
	background: #f3effb;
	border-radius: 10px;
	margin-top: 16px;
}
/* 共通フッター（footer.php）。assets/style.css を読まないため、同じ見た目をここに持つ */
.ai-page footer {
	background: #1a1033;
	padding: 32px 24px;
	text-align: center;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ai-page footer p {
	margin: 0;
	font-size: 12px;
	color: #fff;
}
.ai-page .footer-inner {
	max-width: 1080px;
	margin: 0 auto;
	display: flex;
	flex-flow: column;
	align-items: center;
	gap: 16px;
}
.ai-page .footer-links {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 28px;
	margin: 0;
	padding: 0;
	max-width: 100%;
}
.ai-page .footer-links a {
	font-size: 13px;
	font-weight: 500;
	color: #fff;
	text-decoration: none;
	opacity: 0.85;
	transition: 0.3s;
}
.ai-page .footer-links a:hover {
	opacity: 1;
	text-decoration: underline;
}
.ai-page .footer-operator {
	max-width: 100%;
	opacity: 0.7;
}
.ai-page .footer-operator a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.ai-page .footer-copy {
	opacity: 0.55;
}
.video-dialog {
	border: 0;
	padding: 0;
	border-radius: 20px;
	background: #160d20;
	color: white;
	width: min(440px, calc(100% - 36px));
	max-height: 90dvh;
	overflow: auto;
	box-shadow: 0 20px 80px #0004;
}
.video-dialog::backdrop {
	background: #190d30b8;
	backdrop-filter: blur(8px);
}
.video-dialog video {
	max-height: 70dvh;
	width: 100%;
	object-fit: contain;
}
@media (min-width: 1450px) {
	.home-stage {
		transform: scale(1.03);
	}
}
@media (max-width: 1080px) {
	.wrap {
		width: calc(100% - 48px);
	}
	.site-nav {
		gap: 18px;
	}
	.home-stage {
		transform: scale(0.9);
		transform-origin: center;
	}
	.plan {
		padding: 27px 20px;
	}
	.plan-flag {
		position: static;
		align-self: start;
		margin-bottom: 10px;
	}
	.plan-flag.is-premium {
		position: absolute;
		top: 20px;
		right: 20px;
		margin: 0;
		width: 50px;
		height: 50px;
	}
	.plan-flag.is-premium svg {
		width: 27px;
		height: 27px;
	}
	.faq-grid {
		gap: 40px;
	}
	.contact-grid {
		gap: 35px;
	}
}
@media (max-width: 767px) {
	html {
		scroll-padding-top: 68px;
	}
	.wrap {
		width: calc(100% - 40px);
	}
	.section {
		padding: 64px 0;
	}
	.site-header {
		height: 56px;
	}
	.brand img {
		width: 90px;
	}
	.menu-toggle {
		display: block;
		padding: 2px 6px 8px;
	}
	.site-nav {
		display: none;
		position: absolute;
		top: 55px;
		left: 0;
		right: 0;
		background: white;
		padding: 23px;
		box-shadow: 0 15px 25px #26153712;
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
	}
	.site-nav.is-open {
		display: flex;
	}
	.home-hero {
		padding: 39px 0 35px;
	}
	h1 {
		font-size: 38px;
		line-height: 1.5;
	}
	.hero-copy .eyebrow {
		font-size: 10px;
		margin-bottom: 18px;
	}
	.hero-copy .lede {
		font-size: 13px;
		line-height: 2;
	}
	.actions {
		gap: 10px;
		margin-top: 25px;
	}
	.btn {
		font-size: 12px;
		padding: 12px 21px;
		min-height: 51px;
		gap: 15px;
	}
	.home-stage {
		height: 355px;
		transform: none;
		max-width: 380px;
		width: 100%;
		margin: auto;
	}
	.film {
		border-width: 4px;
		border-radius: 15px;
	}
	.section-head {
		display: block;
		margin-bottom: 30px;
	}
	.section-head .lede {
		font-size: 12px;
		margin-top: 16px;
	}
	.features {
		grid-template-columns: 1fr;
		margin-top: 30px;
		gap: 12px;
	}
	.feature {
		padding: 25px;
	}
	.ai-hero {
		padding: 42px 0 32px;
	}
	.ai-hero h1 {
		font-size: 35px;
		line-height: 1.5;
	}
	.pain-grid {
		grid-template-columns: 1fr;
	}
	.pain-card {
		border-left: 0;
		border-top: 1px solid #d8cde8;
		padding: 24px 0;
	}
	.pain-card:first-child {
		padding-top: 0;
	}
	.pain-card .icon {
		margin-bottom: 13px;
		font-size: 21px;
	}
	.pain-card h3 {
		font-size: 18px;
	}
	.pain-card p {
		font-size: 12px;
	}
	.resolution {
		margin-top: 15px;
		display: block;
		padding: 22px;
		font-size: 15px;
	}
	.resolution small {
		display: block;
		margin-top: 10px;
		font-size: 11px;
	}
	.plan-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.plan {
		padding: 27px;
	}
	.plan-summary {
		min-height: 0;
		margin-bottom: 18px;
	}
	.plan-flag,
	.plan-flag.is-premium {
		position: absolute;
		right: 22px;
		top: 28px;
	}
	.plan-flag.is-premium {
		top: 22px;
		width: 50px;
		height: 50px;
	}
	.plan-flag.is-premium svg {
		width: 27px;
		height: 27px;
	}
	.plan ul {
		margin-bottom: 20px;
	}
	.price {
		font-size: 49px;
	}
	.comparison-wrap {
		margin-top: 25px;
	}
	.comparison th,
	.comparison td {
		padding: 13px 12px;
		min-width: 110px;
		font-size: 11px;
	}
	.comparison th:first-child {
		min-width: 125px;
	}
	.process-grid {
		grid-template-columns: 1fr 1fr;
		gap: 25px 18px;
	}
	.process-card h3 {
		font-size: 15px;
	}
	.process-card p {
		font-size: 11px;
	}
	.step {
		margin-bottom: 12px;
	}
	.faq-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.faq-list details {
		padding: 19px 0;
	}
	.faq-list summary {
		font-size: 13px;
	}
	.faq-list details p {
		font-size: 12px;
	}
	.contact-section {
		padding: 57px 0;
	}
	.contact-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.contact-copy h2 {
		font-size: 30px;
	}
	.contact-copy p {
		font-size: 13px;
	}
	.contact-form {
		padding: 16px;
	}
	.form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
	/* 下部の固定ボタン（.mobile-cta、吹き出しを含めて高さ約95px）にフッターが隠れないよう余白を足す */
	.ai-page footer {
		padding: 28px 20px 112px;
	}
	.ai-page .footer-inner {
		gap: 14px;
	}
	.ai-page .footer-links {
		gap: 8px 20px;
	}
	.ai-page .footer-links a {
		font-size: 12px;
	}
	.ai-page .footer-operator,
	.ai-page .footer-copy {
		font-size: 11px;
		line-height: 1.7;
	}
	/*
	 * 背景の帯は付けず、相談ボタン（.consult-cta）だけを浮かせる。上の余白は吹き出しの分。
	 * ボタンの左右の透明な部分は、下にあるリンクなどを押せるよう pointer-events を切る。
	 */
	.mobile-cta {
		display: flex;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 90;
		padding: 22px 20px calc(12px + env(safe-area-inset-bottom));
		pointer-events: none;
		transition:
			translate 0.3s ease,
			opacity 0.3s ease;
	}
	.mobile-cta .consult-cta {
		pointer-events: auto;
	}
	/* 「表現」のセクションに入るまでと、ページ内の同じ相談ボタンが見えている間は隠す（assets/ai-video.js） */
	.mobile-cta.is-hidden {
		translate: 0 100%;
		opacity: 0;
	}
	.mobile-cta.is-hidden .consult-cta {
		pointer-events: none;
	}
}
/* Plan samples are isolated from the other mock pages. */

.ai-production {
	background: linear-gradient(180deg, #f6f2fb, #fdfcff);
}
.ai-production .process {
	display: grid;
	gap: 72px;
	margin-top: -20px;
}
.ai-production .process-step {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr);
	align-items: center;
	gap: 56px;
}
.ai-production .process-step.is-reverse {
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr);
}
.ai-production .process-step.is-reverse .process-copy {
	order: 2;
}
.ai-production .process-num {
	display: block;
	font:
		700 88px/0.9 Arial,
		sans-serif;
	letter-spacing: -0.04em;
	color: transparent;
	-webkit-text-stroke: 1.5px #9d84f0;
	margin-bottom: 18px;
}
.ai-production .process-copy .eyebrow {
	font-size: 11px;
	margin-bottom: 12px;
}
.ai-production .process-copy h3 {
	font-size: 24px;
	line-height: 1.6;
}
.ai-production .process-copy p {
	font-size: 14px;
	line-height: 2;
	color: var(--muted);
	margin-top: 16px;
}
.ai-production .process-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}
.ai-production .process-tags li {
	padding: 5px 12px;
	border-radius: 999px;
	border: 1px solid #d9cdf0;
	background: #ffffffb0;
	font-size: 11px;
	color: #4c3c5e;
}
.ai-production .process-visual {
	margin: 0;
	min-width: 0;
}
/* 01 構成案：気持ちの流れに沿ってシーンを並べる */
.ai-production .story-stage {
	position: relative;
	margin-top: 10px;
}
.ai-production .story-note {
	position: absolute;
	right: 14px;
	bottom: 6px;
	padding-left: 34px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.7;
	color: #5a45c9;
	transform: rotate(-3deg);
}
.ai-production .story-note::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 26px;
	height: 26px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='%236c4ef6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 23 C 8 14, 13 9, 22 4'/%3E%3Cpath d='M14 4 H22 V12'/%3E%3C/svg%3E")
		no-repeat center / contain;
}
.ai-production .story-scenes {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	align-items: end;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ai-production .story-scenes li {
	position: relative;
	min-width: 0;
	--lift: 0px;
	--tilt: 0deg;
	margin-bottom: var(--lift);
}
.ai-production .story-scenes li:not(:last-child)::after {
	content: "";
	position: absolute;
	right: -19px;
	top: 46%;
	width: 22px;
	height: 22px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%23a98cf5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18 C 7 10, 11 7, 18 5'/%3E%3Cpath d='M12 3 L18 5 L15 11'/%3E%3C/svg%3E")
		no-repeat center / contain;
	z-index: 1;
}
.ai-production .story-scenes li:nth-child(1) {
	--tilt: -4deg;
}
.ai-production .story-scenes li:nth-child(2) {
	--lift: 56px;
	--tilt: 3deg;
}
.ai-production .story-scenes li:nth-child(3) {
	--lift: 120px;
	--tilt: -2.5deg;
}
.ai-production .story-scenes li:nth-child(4) {
	--lift: 140px;
	--tilt: 4deg;
}
.ai-production .story-scenes em {
	display: table;
	margin: 0 auto 10px;
	padding: 5px 12px;
	border-radius: 999px;
	font-style: normal;
	font-size: 12px;
	font-weight: 700;
	color: #6a5d7a;
	background: #e6e0ee;
	position: relative;
}
.ai-production .story-scenes em::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -5px;
	width: 10px;
	height: 10px;
	background: inherit;
	transform: translateX(-50%) rotate(45deg);
	z-index: -1;
}
.ai-production .story-scenes li:nth-child(2) em {
	background: #e3dafc;
	color: #5a45c9;
}
.ai-production .story-scenes li:nth-child(3) em {
	background: var(--purple);
	color: white;
}
.ai-production .story-scenes li:nth-child(4) em {
	background: linear-gradient(110deg, var(--purple), var(--pink));
	color: white;
}
.ai-production .story-photo {
	padding: 8px 8px 12px;
	background: white;
	border-radius: 6px;
	box-shadow:
		0 14px 30px #24163718,
		0 2px 6px #2416370d;
	transform: rotate(var(--tilt));
	transition: transform 0.35s ease;
}
.ai-production .story-scenes li:hover .story-photo {
	transform: rotate(0deg) translateY(-6px) scale(1.04);
}
.ai-production .story-photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 3px;
}
.ai-production .story-photo b {
	display: block;
	margin-top: 10px;
	font-size: 12px;
	color: var(--purple);
}
.ai-production .story-photo span {
	display: block;
	margin-top: 2px;
	font-size: 11px;
	line-height: 1.6;
	color: #5d5068;
}
/* 02 編集：編集ソフト風のウィンドウ */
.ai-production .edit-window {
	position: relative;
	margin-left: 24px;
	border: 1px solid #e4dcf0;
	border-radius: 16px;
	background: white;
	box-shadow: 0 24px 50px #2416371a;
}
.ai-production .edit-bar {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 11px 16px;
	border-bottom: 1px solid #eee8f5;
	border-radius: 16px 16px 0 0;
	background: #f8f5fc;
}
.ai-production .edit-bar i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ff9db8;
}
.ai-production .edit-bar i:nth-child(2) {
	background: #ffd47a;
}
.ai-production .edit-bar i:nth-child(3) {
	background: #b9a6f3;
}
.ai-production .edit-bar span {
	margin-left: 10px;
	font-size: 11px;
	color: #8f7fb0;
}
.ai-production .edit-body {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 26px;
	padding: 24px 26px 16px 0;
}
.ai-production .edit-preview {
	position: relative;
	width: 176px;
	margin-left: -24px;
	aspect-ratio: 9 / 16;
	border-radius: 20px;
	overflow: hidden;
	background: var(--ink);
	border: 5px solid var(--ink);
	box-shadow: 0 18px 36px #24163733;
	transform: rotate(-3deg);
}
.ai-production .edit-preview video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 15px;
}
.ai-production .edit-toggle {
	position: absolute;
	right: 8px;
	bottom: 8px;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: #000000a0;
	color: white;
	font-size: 12px;
	cursor: pointer;
}
.ai-production .edit-timeline {
	position: relative;
	display: grid;
	gap: 9px;
	min-width: 0;
}
.ai-production .edit-row {
	display: grid;
	grid-template-columns: 52px 1fr;
	align-items: center;
	gap: 8px;
}
.ai-production .edit-row small {
	font-size: 11px;
	font-weight: 700;
	color: #8f7fb0;
}
.ai-production .edit-ruler {
	position: relative;
	height: 18px;
	border-bottom: 1px solid #e4dcf0;
	background: repeating-linear-gradient(
			90deg,
			#d9cdf0 0 1px,
			transparent 1px 2.58%
		)
		bottom / 100% 5px no-repeat;
}
.ai-production .edit-ruler span {
	position: absolute;
	left: calc(var(--x) * 1%);
	top: 0;
	font:
		10px/1 Arial,
		sans-serif;
	color: #a597bd;
}
.ai-production .edit-lane {
	position: relative;
	display: flex;
	gap: 3px;
	height: 28px;
	border-radius: 6px;
	background: #f4f0fb;
}
.ai-production .edit-lane.clips {
	height: 168px;
	background: none;
}
.ai-production .edit-lane.clips span {
	flex: var(--w) 1 0;
	min-width: 0;
	overflow: hidden;
	border-radius: 6px;
	border: 2px solid white;
	box-shadow: 0 0 0 1px #e4dcf0;
}
.ai-production .edit-lane.clips img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ai-production .edit-lane.telops span {
	position: absolute;
	top: 4px;
	bottom: 4px;
	left: calc(var(--x) * 1%);
	width: calc(var(--w) * 1%);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	white-space: nowrap;
	border-radius: 4px;
	background: #ffe1ec;
	color: #d4286a;
	font-size: 10px;
	font-weight: 700;
}
.ai-production .edit-lane.bgm span {
	flex: 1;
	margin: 5px 6px;
	border-radius: 2px;
	background: repeating-linear-gradient(
		90deg,
		#b9a6f3 0 2px,
		transparent 2px 4px
	);
	-webkit-mask: linear-gradient(
		180deg,
		transparent 15%,
		#000 15% 85%,
		transparent 85%
	);
}
.ai-production .edit-playhead {
	position: absolute;
	top: 14px;
	bottom: -4px;
	left: calc(60px + (100% - 60px) * var(--p, 0));
	width: 2px;
	background: var(--pink);
	border-radius: 2px;
	pointer-events: none;
}
.ai-production .edit-playhead::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -6px;
	width: 10px;
	height: 10px;
	border-radius: 2px 2px 50% 50%;
	background: var(--pink);
	transform: translateX(-50%);
}
.ai-production .edit-window figcaption {
	padding: 0 26px 18px;
	font-size: 12px;
	color: var(--muted);
	text-align: right;
}
@media (max-width: 1080px) {
	.ai-production .process {
		gap: 64px;
	}
	.ai-production .process-step,
	.ai-production .process-step.is-reverse {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.ai-production .process-step.is-reverse .process-copy {
		order: 0;
	}
	.ai-production .process-copy {
		display: grid;
		grid-template-columns: auto 1fr;
		column-gap: 28px;
		align-items: start;
	}
	.ai-production .process-num {
		grid-row: span 4;
		font-size: 72px;
		margin: 0;
	}
	.ai-production .edit-preview {
		width: 168px;
	}
	.ai-production .edit-lane.clips {
		height: 156px;
	}
}
@media (max-width: 767px) {
	.ai-production .process {
		gap: 52px;
		margin-top: 6px;
	}
	/* 番号の右に工程名と罫線を並べ、番号横の空きを見出し帯として使う */
	.ai-production .process-copy {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		column-gap: 14px;
		align-items: end;
	}
	.ai-production .process-copy > * {
		grid-column: 1 / -1;
	}
	.ai-production .process-num {
		grid-column: 1;
		grid-row: auto;
		font-size: 56px;
		margin: 0;
	}
	.ai-production .process-copy .eyebrow {
		grid-column: 2;
		display: flex;
		align-items: center;
		gap: 12px;
		margin: 0 0 6px;
	}
	.ai-production .process-copy .eyebrow::after {
		content: "";
		flex: 1;
		height: 1px;
		background: linear-gradient(90deg, #c9b8f2, transparent);
	}
	.ai-production .process-copy h3 {
		font-size: 19px;
		margin-top: 18px;
	}
	.ai-production .process-copy p {
		font-size: 12px;
	}
	.ai-production .process-tags li {
		font-size: 10px;
		padding: 4px 10px;
	}
	.ai-production .story-stage {
		padding: 0;
		margin-top: 18px;
		margin-bottom: 10px;
	}
	.ai-production .story-scenes li:not(:last-child)::after {
		display: none;
	}
	.ai-production .story-note {
		padding-left: 24px;
		margin: 0 0 20px;
		font-size: 14px;
		transform: none;
		bottom: -40px;
		right: unset;
		left: 0px;
	}
	.ai-production .story-note::before {
		width: 20px;
		height: 20px;
	}
	.ai-production .story-scenes {
		grid-template-columns: repeat(2, 1fr);
		align-items: start;
		gap: 2px 0px;
		counter-reset: none;
	}
	.ai-production .story-scenes li {
		margin-bottom: 0;
	}
	.ai-production .story-scenes li:nth-child(even) {
		margin-top: 44px;
	}
	.ai-production .story-scenes li:nth-child(3) {
		margin-top: -24px;
	}
	.ai-production .story-scenes em {
		font-size: 11px;
	}
	.ai-production .story-photo b {
		font-size: 11px;
	}
	.ai-production .story-photo span {
		font-size: 10px;
	}
	.ai-production .edit-window {
		margin-left: 0;
	}
	.ai-production .edit-body {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 22px;
		padding: 22px 16px 14px;
	}
	.ai-production .edit-preview {
		width: min(60%, 210px);
		margin: 0;
	}
	.ai-production .edit-timeline {
		width: 100%;
	}
	.ai-production .edit-row {
		grid-template-columns: 46px 1fr;
		gap: 6px;
	}
	.ai-production .edit-row small {
		font-size: 10px;
	}
	.ai-production .edit-lane.clips {
		height: 110px;
	}
	.ai-production .edit-ruler span {
		font-size: 9px;
	}
	.ai-production .edit-playhead {
		left: calc(52px + (100% - 52px) * var(--p, 0));
	}
	.ai-production .edit-window figcaption {
		padding: 0 16px 16px;
		font-size: 11px;
		text-align: center;
	}
}
@media (prefers-reduced-motion: reduce) {
	.ai-production .story-photo {
		transition: none;
	}
}
.ai-production .idea-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	padding: 29px 33px;
	border: 1px solid #dbceec;
	border-radius: 18px;
	background: white;
	margin-top: 28px;
}
.ai-production .idea-cta h3 {
	font-size: 18px;
}
.ai-production .idea-cta p {
	font-size: 12px;
	color: var(--muted);
	margin-top: 9px;
}
.ai-production .idea-cta .btn {
	white-space: nowrap;
	font-size: 12px;
}
@media (max-width: 1080px) {
	.ai-production .idea-cta {
		padding: 25px;
	}
}
@media (max-width: 767px) {
	.ai-production .idea-cta {
		display: block;
		padding: 25px 23px;
		margin-top: 20px;
	}
	.ai-production .idea-cta h3 {
		font-size: 16px;
	}
	.ai-production .idea-cta p {
		font-size: 11px;
	}
	.ai-production .idea-cta .btn {
		width: 100%;
		margin-top: 21px;
		font-size: 11px;
	}
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}

/* 2026-10-13 AI動画LP：ファーストビュー（商品画像→動画）・こんな方に・実写との比較 */
.ai-page .sp-only {
	display: none;
}

@media (max-width: 767px) {
	.ai-page .sp-only {
		display: inline;
	}
	.ai-page .live-compare .resolution {
		margin-top: 20px;
	}
}

/* 2026-10-13 実写との比較：グラフ */
.ai-page .chart-card {
	margin: 0;
	padding: 28px 30px 24px;
	background: white;
	border: 1px solid var(--line);
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.ai-page .chart-legend {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	padding: 0;
	margin: 14px 0 0;
	font-size: 11px;
	color: var(--muted);
}
.ai-page .key {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 3px;
	margin-right: 6px;
	vertical-align: -1px;
}
.ai-page .key.live,
.ai-page .bar.live {
	background: #8f8499;
}
.ai-page .key.live-range,
.ai-page .bar.live-range {
	background: repeating-linear-gradient(45deg, #d2cad9 0 4px, #efebf2 4px 8px);
}
.ai-page .key.ai,
.ai-page .bar.ai {
	background: var(--purple);
}
.ai-page .bar.ai-range {
	background: repeating-linear-gradient(45deg, #b9a8fb 0 4px, #e6defe 4px 8px);
}
.ai-page .bar-chart {
	--label: 150px;
	position: relative;
	margin-top: 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.ai-page .bar-grid {
	position: absolute;
	left: var(--label);
	right: 0;
	top: 0;
	bottom: 24px;
	pointer-events: none;
}
.ai-page .bar-grid span {
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(var(--t) * 100%);
	width: 1px;
	background: #ece7f1;
}
.ai-page .bar-row {
	position: relative;
	display: grid;
	grid-template-columns: var(--label) 1fr;
	align-items: center;
	min-height: 44px;
	border-radius: 8px;
}
.ai-page .bar-row:focus-visible {
	outline-offset: 4px;
}
.ai-page .bar-label {
	min-width: 0;
	padding-right: 12px;
}
.ai-page .bar-label strong {
	display: block;
	font-size: 13px;
	line-height: 1.4;
}
.ai-page .bar-label small {
	display: block;
	font-size: 10px;
	color: var(--muted);
	line-height: 1.5;
	margin-top: 2px;
}
.ai-page .bar-track {
	position: relative;
	height: 22px;
}
.ai-page .bar {
	position: absolute;
	top: 0;
	height: 22px;
	left: calc(var(--from) * 100%);
	width: calc((var(--to) - var(--from)) * 100%);
	transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ai-page .bar.live {
	border-radius: 0;
}
.ai-page .bar.live-range {
	margin-left: 2px;
	width: calc((var(--to) - var(--from)) * 100% - 2px);
	border-radius: 0 4px 4px 0;
	transition-delay: 0.35s;
}
.ai-page .bar.ai {
	border-radius: 0 4px 4px 0;
}
.ai-page .bar.ai:has(+ .bar.ai-range) {
	border-radius: 0;
}
.ai-page .bar.ai-range {
	margin-left: 2px;
	width: calc((var(--to) - var(--from)) * 100% - 2px);
	border-radius: 0 4px 4px 0;
	transition-delay: 0.35s;
}
.ai-page .bar em {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	font-style: normal;
	font-size: 12px;
	font-weight: 700;
	color: var(--ink);
	white-space: nowrap;
	transition: opacity 0.3s 0.9s;
}
.ai-page .bar-value {
	position: absolute;
	top: 50%;
	left: calc(var(--at) * 100% + 8px);
	transform: translateY(-50%);
	font-size: 13px;
	font-weight: 700;
	color: var(--ink);
	white-space: nowrap;
	transition: opacity 0.3s 0.7s;
}
.ai-page .bar-axis {
	position: relative;
	margin-left: var(--label);
	height: 16px;
	font-size: 10px;
	color: #a79aae;
}
.ai-page .bar-axis span {
	position: absolute;
	left: calc(var(--t) * 100%);
	transform: translateX(-50%);
	white-space: nowrap;
	line-height: 16px;
}
.ai-page .bar-axis span:first-child {
	transform: none;
}
.ai-page .bar-row::after {
	content: attr(data-tip);
	position: absolute;
	z-index: 3;
	left: var(--label);
	bottom: calc(100% - 4px);
	max-width: calc(100% - var(--label));
	background: var(--ink);
	color: white;
	font-size: 11px;
	line-height: 1.6;
	padding: 6px 10px;
	border-radius: 8px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s;
}
.ai-page .bar-row:hover::after,
.ai-page .bar-row:focus-visible::after {
	opacity: 1;
}
.ai-page .bar-row:hover .bar-label strong {
	color: var(--purple);
}
.ai-page .bar-chart.is-ready:not(.is-visible) .bar:not(.pending-bar) {
	width: 0;
}
.ai-page .bar-chart.is-ready:not(.is-visible) .bar-value,
.ai-page .bar-chart.is-ready:not(.is-visible) .bar em {
	opacity: 0;
}
.ai-page .chart-card figcaption {
	font-size: 10px;
	color: var(--muted);
	margin-top: auto;
	padding-top: 14px;
	line-height: 1.8;
}
.ai-page .period-chart .bar-chart {
	--label: 104px;
}
.ai-page .live-compare sup {
	font-size: 9px;
	margin-left: 2px;
	color: var(--muted);
}
.ai-page .live-compare .resolution {
	margin-top: 30px;
	background: var(--wash);
}

@media (prefers-reduced-motion: reduce) {
	.ai-page .bar,
	.ai-page .bar em,
	.ai-page .bar-value {
		transition: none;
	}
}

@media (max-width: 767px) {
	.ai-page .chart-card {
		padding: 22px 16px 18px;
		border-radius: 16px;
	}
	.ai-page .chart-legend {
		gap: 4px 12px;
		font-size: 10px;
	}
	.ai-page .bar-chart,
	.ai-page .period-chart .bar-chart {
		--label: 0px;
		margin-top: 18px;
		gap: 14px;
	}
	.ai-page .bar-grid {
		display: none;
	}
	.ai-page .bar-row {
		grid-template-columns: 1fr;
		gap: 6px;
		min-height: 0;
	}
	.ai-page .bar-label {
		display: flex;
		align-items: baseline;
		gap: 8px;
		padding: 0;
	}
	.ai-page .bar-label small {
		margin: 0;
	}
	.ai-page .bar-axis {
		border-top: 1px solid #ece7f1;
		padding-top: 4px;
		height: 22px;
	}
	.ai-page .bar-label strong {
		font-size: 12px;
	}
	.ai-page .bar-label small {
		font-size: 9px;
	}
	.ai-page .bar em {
		font-size: 11px;
		right: 8px;
	}
	.ai-page .bar-value {
		font-size: 12px;
		left: calc(var(--at) * 100% + 6px);
	}
	.ai-page .bar-axis {
		font-size: 9px;
	}
	.ai-page .bar-row::after {
		left: 0;
		max-width: 100%;
		bottom: 100%;
	}
}

@media (max-width: 359px) {
	.ai-page .bar em {
		font-size: 10px;
		right: 6px;
	}
}

/* 2026-10-13 表現（3カード）と作例（カルーセル） */

:is(.ai-page, .home-page) .ai-works {
	background:
		radial-gradient(circle at 8% 18%, #6c4ef61c, transparent 28%),
		radial-gradient(circle at 92% 78%, #ff3b7f19, transparent 30%), var(--wash);
}
:is(.ai-page, .home-page) .works-carousel {
	position: relative;
}
:is(.ai-page, .home-page) .works-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 20px;
	margin-bottom: 16px;
}
:is(.ai-page, .home-page) .works-nav .works-group-head {
	margin: 0 auto 0 0;
}
/* 縦型動画・横型動画の小見出し */
:is(.ai-page, .home-page) .works-group-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 14px;
	margin-bottom: 16px;
}
:is(.ai-page, .home-page) .works-group-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
}
:is(.ai-page, .home-page) .works-group-title::before {
	content: "";
	width: 4px;
	height: 1.1em;
	border-radius: 4px;
	background: linear-gradient(180deg, var(--purple), var(--pink));
}
:is(.ai-page, .home-page) .works-group-text {
	font-size: 13px;
	color: var(--muted);
}
:is(.ai-page, .home-page) .works-swipe-hint {
	font-size: 12px;
	color: var(--muted);
}
:is(.ai-page, .home-page) .works-arrows {
	display: flex;
	gap: 10px;
}
:is(.ai-page, .home-page) .works-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1.5px solid var(--line);
	border-radius: 50%;
	background: white;
	box-shadow: 0 5px 14px #6c4ef61f;
	color: var(--purple);
	font-size: 18px;
	transition:
		transform 0.2s,
		background 0.2s,
		color 0.2s,
		opacity 0.2s;
}
:is(.ai-page, .home-page) .works-arrow:hover:not(:disabled),
:is(.ai-page, .home-page) .works-arrow:focus-visible {
	background: var(--purple);
	color: white;
	transform: translateY(-2px);
}
:is(.ai-page, .home-page) .works-arrow:disabled {
	opacity: 0.32;
	cursor: default;
}
:is(.ai-page, .home-page) .works-viewport {
	overflow-x: auto;
	overflow-y: hidden;
	padding: 8px 4px 20px;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
:is(.ai-page, .home-page) .works-viewport::-webkit-scrollbar {
	display: none;
}
:is(.ai-page, .home-page) .works-track {
	display: flex;
	gap: 20px;
}
:is(.ai-page, .home-page) .works-card {
	flex: 0 0 calc((100% - 60px) / 4);
	min-width: 0;
	padding: 8px 8px 15px;
	border: 1.5px solid var(--line);
	border-radius: 24px;
	background: white;
	box-shadow: 0 8px 22px #31216917;
	scroll-snap-align: start;
	transition:
		transform 0.25s,
		border-color 0.25s,
		box-shadow 0.25s;
}
:is(.ai-page, .home-page) .works-card.is-active {
	border-color: #6c4ef661;
	box-shadow: 0 14px 32px #5035a72b;
	transform: translateY(-4px);
}
:is(.ai-page, .home-page) .works-video-wrap {
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 9/16;
	border-radius: 18px;
	background: #171126;
}
:is(.ai-page, .home-page) .works-video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
:is(.ai-page, .home-page) .works-sound-btn {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1.5px solid #ffffff4d;
	border-radius: 50%;
	background: #120c209e;
	backdrop-filter: blur(8px);
	color: white;
	transition:
		background 0.2s,
		transform 0.2s;
}
:is(.ai-page, .home-page) .works-sound-btn:hover {
	background: #6c4ef6d9;
	transform: scale(1.06);
}
:is(.ai-page, .home-page) .works-sound-btn .sound-wave {
	display: none;
}
:is(.ai-page, .home-page) .works-sound-btn.is-unmuted {
	background: linear-gradient(135deg, var(--purple), var(--pink));
}
:is(.ai-page, .home-page) .works-sound-btn.is-unmuted .muted-line {
	display: none;
}
:is(.ai-page, .home-page) .works-sound-btn.is-unmuted .sound-wave {
	display: block;
}
:is(.ai-page, .home-page) .works-industry {
	margin-top: 13px;
	margin-bottom: 0px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	letter-spacing: 0.04em;
}
:is(.ai-page, .home-page) .works-progress {
	width: min(240px, 45%);
	height: 4px;
	margin: 14px auto 0;
	overflow: hidden;
	border-radius: 100px;
	background: #6c4ef624;
}
:is(.ai-page, .home-page) .works-progress-bar {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--purple), var(--pink));
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.15s ease-out;
}
/* 横型動画：PCは2列のグリッド */
:is(.ai-page, .home-page) .works-films {
	margin-top: 56px;
}
:is(.ai-page, .home-page) .works-films-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 20px;
}
:is(.ai-page, .home-page) .works-film {
	padding: 8px 8px 15px;
	border: 1.5px solid var(--line);
	border-radius: 24px;
	background: white;
	box-shadow: 0 8px 22px #31216917;
}
:is(.ai-page, .home-page) .works-film-video {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: 18px;
	background: #171126;
}
:is(.ai-page, .home-page) .works-film-title {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 10px;
	margin-top: 13px;
	margin-bottom: 0px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.04em;
}
:is(.ai-page, .home-page) .works-film-title small {
	font-size: 12px;
	font-weight: 500;
	color: var(--muted);
}
:is(.ai-page, .home-page) .ai-works .resolution {
	margin-top: 34px;
}

@media (prefers-reduced-motion: reduce) {
	:is(.ai-page, .home-page) .works-viewport {
		scroll-behavior: auto;
	}
	:is(.ai-page, .home-page) .works-card,
	:is(.ai-page, .home-page) .works-progress-bar,
	:is(.ai-page, .home-page) .works-arrow {
		transition: none;
	}
}

@media (max-width: 1080px) {
	:is(.ai-page, .home-page) .works-card {
		flex-basis: calc((100% - 40px) / 3);
	}
}

@media (max-width: 767px) {
	:is(.ai-page, .home-page) .works-nav {
		justify-content: flex-start;
		margin-bottom: 10px;
	}
	:is(.ai-page, .home-page) .works-arrows {
		display: none;
	}
	:is(.ai-page, .home-page) .works-viewport {
		width: calc(100% + 20px);
		padding: 8px 20px 18px 2px;
	}
	:is(.ai-page, .home-page) .works-track {
		gap: 14px;
	}
	:is(.ai-page, .home-page) .works-card {
		flex-basis: min(74vw, 280px);
		border-radius: 22px;
	}
	:is(.ai-page, .home-page) .works-video-wrap {
		border-radius: 16px;
	}
	:is(.ai-page, .home-page) .works-industry {
		font-size: 14px;
	}
	:is(.ai-page, .home-page) .works-nav {
		flex-wrap: wrap;
		gap: 4px 20px;
	}
	:is(.ai-page, .home-page) .works-nav .works-group-head {
		width: 100%;
		margin-bottom: 4px;
	}
	:is(.ai-page, .home-page) .works-group-title {
		font-size: 18px;
	}
	:is(.ai-page, .home-page) .works-group-text {
		font-size: 12px;
	}
	:is(.ai-page, .home-page) .works-films {
		margin-top: 40px;
	}
	:is(.ai-page, .home-page) .works-films-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	:is(.ai-page, .home-page) .works-film {
		border-radius: 22px;
	}
	:is(.ai-page, .home-page) .works-film-video {
		border-radius: 16px;
	}
	:is(.ai-page, .home-page) .works-film-title {
		font-size: 14px;
	}
	:is(.ai-page, .home-page) .works-progress {
		width: 100%;
		margin-top: 10px;
	}
	:is(.ai-page, .home-page) .ai-works .resolution {
		margin-top: 24px;
	}
}

/* 2026-10-13 表現：商品再現・AIモデルの大きな行と、世界観の帯 */
.ai-page .feature-row {
	display: grid;
	grid-template-columns: 1.45fr 1fr;
	gap: 52px;
	align-items: center;
	margin-bottom: 64px;
	scroll-margin-top: 110px;
}
.ai-page .feature-row.reverse {
	grid-template-columns: 1fr 1.45fr;
}
.ai-page .feature-row.reverse .feature-stage {
	order: 2;
}
.ai-page .feature-stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 500px;
	padding: 20px;
	border-radius: 8px;
	container-type: inline-size;
	overflow: hidden;
	background: radial-gradient(ellipse at 72% 16%, #5f4374, #21112f 72%);
}
.ai-page .feature-stage figure {
	margin: 0;
}
.ai-page .feature-stage figcaption {
	font-size: 11px;
	font-weight: 700;
	color: #e9e0f5;
	margin-bottom: 9px;
	line-height: 1.6;
}
.ai-page .feature-stage figcaption span {
	display: block;
	font:
		700 9px Arial,
		sans-serif;
	letter-spacing: 0.16em;
	color: #bcacff;
}
.ai-page .stage-inputs {
	position: relative;
	z-index: 2;
}
.ai-page .stage-inputs.pair {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.ai-page .stage-input-art {
	width: min(220px, 35cqi);
	aspect-ratio: 4 / 5;
	display: grid;
	place-items: center;
	border-radius: 16px;
	border: 3px solid white;
	background: radial-gradient(ellipse at center, #fff, #efe7f8);
	box-shadow: 0 16px 36px #00000066;
	overflow: hidden;
}
.ai-page .stage-input-art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ai-page .pair .stage-input-art {
	width: min(196px, 31cqi);
	aspect-ratio: 1;
}
.ai-page .stage-arrow {
	text-align: center;
	color: #d7c8ff;
}
.ai-page .stage-arrow span {
	display: block;
	font:
		300 36px Arial,
		sans-serif;
	line-height: 1;
}
.ai-page .stage-arrow small {
	display: block;
	font:
		700 8px Arial,
		sans-serif;
	letter-spacing: 0.14em;
	margin-top: 6px;
}
.ai-page .stage-output-art {
	position: relative;
	width: min(330px, 52cqi);
	height: 450px;
	border-radius: 22px;
	overflow: hidden;
	border: 3px solid #ad91d955;
	background: radial-gradient(ellipse at 70% 18%, #7a5794, #2f1b42 74%);
	box-shadow: 0 22px 50px #00000073;
	cursor: pointer;
}
.ai-page .stage-output-art video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ai-page .feature-copy {
	min-width: 0;
}
.ai-page .feature-copy .eyebrow {
	margin-bottom: 14px;
}
.ai-page .feature-copy h3 {
	font-size: clamp(24px, 2.4vw, 32px);
	line-height: 1.5;
	letter-spacing: -0.01em;
}
.ai-page .feature-copy > p:not(.feature-note) {
	font-size: 14px;
	line-height: 2;
	color: var(--muted);
	margin-top: 18px;
}
.ai-page .feature-points {
	list-style: none;
	padding: 18px 0 0;
	margin: 22px 0 0;
	border-top: 1px solid var(--line);
}
.ai-page .feature-points li {
	position: relative;
	padding-left: 24px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.8;
	margin-bottom: 6px;
}
.ai-page .feature-points li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--purple);
}
.ai-page .feature-note {
	font-size: 11px;
	color: var(--muted);
	line-height: 1.8;
	margin-top: 16px;
}
.ai-page .beyond {
	margin-top: 96px;
	scroll-margin-top: 110px;
}
.ai-page .beyond-head .eyebrow {
	display: block;
	margin-bottom: 12px;
}
.ai-page .beyond-head h3 {
	font-size: clamp(24px, 2.4vw, 32px);
	line-height: 1.5;
	letter-spacing: -0.01em;
}
.ai-page .beyond-head p {
	font-size: 14px;
	line-height: 2;
	color: var(--muted);
	margin-top: 20px;
}
.ai-page .beyond-cases {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 32px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}
.ai-page .beyond-case {
	display: grid;
	grid-row: span 3;
	grid-template-rows: subgrid;
	align-content: start;
	min-width: 0;
}
.ai-page .beyond-film {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	border-radius: 18px;
	background: var(--ink);
	box-shadow: 0 18px 40px #24163726;
	cursor: pointer;
}
.ai-page .beyond-film video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ai-page .beyond-case h4 {
	margin: 22px 0 0;
	font-size: 19px;
	line-height: 1.5;
}
.ai-page .beyond-compare {
	align-self: stretch;
	display: grid;
	grid-template-rows: 1fr auto;
	margin: 14px 0 0;
	padding: 4px 16px;
	border-radius: 12px;
	background: #f7f4fb;
}
.ai-page .beyond-compare div {
	padding: 10px 0;
}
.ai-page .beyond-compare div + div {
	border-top: 1px dashed #ddd3ea;
}
.ai-page .beyond-compare dt {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
}
.ai-page .beyond-compare dt i {
	display: grid;
	place-items: center;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	font-style: normal;
	font-size: 9px;
	line-height: 1;
}
.ai-page .beyond-compare dd {
	margin: 4px 0 0;
	font-size: 14px;
	line-height: 1.7;
}
.ai-page .beyond-compare .is-ng dt {
	color: #8a8295;
}
.ai-page .beyond-compare .is-ng dt i {
	background: #e4e0ea;
	color: #8a8295;
}
.ai-page .beyond-compare .is-ng dd {
	color: #8a8295;
}
.ai-page .beyond-compare .is-ok dt {
	color: var(--purple);
}
.ai-page .beyond-compare .is-ok dt i {
	background: linear-gradient(135deg, var(--purple), var(--pink));
	color: white;
}
.ai-page .beyond-compare .is-ok dd {
	color: var(--ink);
	font-weight: 700;
}
@media (max-width: 1080px) {
	.ai-page .beyond-cases {
		column-gap: 20px;
	}
	.ai-page .beyond-case h4 {
		font-size: 17px;
	}
	.ai-page .beyond-compare dd {
		font-size: 13px;
	}
}
@media (max-width: 767px) {
	.ai-page .beyond {
		margin-top: 72px;
	}
	.ai-page .beyond-head h3 {
		font-size: 23px;
	}
	.ai-page .beyond-head p {
		font-size: 13px;
	}
	.ai-page .beyond-cases {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 78%;
		gap: 16px;
		margin: 28px -20px 0;
		padding: 0 20px 8px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 20px;
		scrollbar-width: none;
	}
	.ai-page .beyond-cases::-webkit-scrollbar {
		display: none;
	}
	.ai-page .beyond-case {
		display: block;
		scroll-snap-align: start;
	}
	.ai-page .beyond-compare dd {
		font-size: 12px;
	}
}

@media (max-width: 1080px) {
	.ai-page .feature-row {
		gap: 28px;
		margin-bottom: 48px;
	}
	.ai-page .feature-stage {
		min-height: 430px;
		gap: 12px;
		padding: 20px 14px;
	}
	.ai-page .stage-input-art {
		width: min(176px, 30cqi);
	}
	.ai-page .pair .stage-input-art {
		width: min(148px, 29cqi);
	}
	.ai-page .stage-output-art {
		width: min(250px, 54cqi);
		height: 390px;
	}
	.ai-page .stage-arrow small {
		display: none;
	}
}

@media (max-width: 767px) {
	.ai-page .feature-row,
	.ai-page .feature-row.reverse {
		grid-template-columns: 1fr;
		gap: 20px;
		margin-bottom: 40px;
	}
	.ai-page .feature-row.reverse .feature-stage {
		order: 0;
	}
	.ai-page .feature-stage {
		display: block;
		min-height: 0;
		padding: 0;
		border-radius: 20px;
		background: none;
	}
	.ai-page .stage-arrow,
	.ai-page .stage-output figcaption {
		display: none;
	}
	.ai-page .stage-inputs,
	.ai-page .stage-inputs.pair {
		position: absolute;
		top: 12px;
		left: 12px;
		z-index: 5;
		gap: 8px;
	}
	.ai-page .stage-inputs figcaption {
		font-size: 9px;
		margin-bottom: 4px;
		text-shadow: 0 1px 4px #0008;
	}
	.ai-page .stage-inputs figcaption span {
		display: none;
	}
	.ai-page .stage-input-art {
		width: 92px;
		height: 116px;
		border-width: 2px;
		border-radius: 12px;
		box-shadow: 0 10px 22px #0000008c;
	}
	.ai-page .pair .stage-input-art {
		width: 78px;
		height: 84px;
	}
	.ai-page .stage-output-art {
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 5;
		border-radius: 20px;
		border-width: 0;
	}
	.ai-page .feature-copy h3 {
		font-size: 21px;
	}
	.ai-page .feature-copy > p:not(.feature-note) {
		font-size: 13px;
		margin-top: 12px;
	}
	.ai-page .feature-points {
		margin-top: 16px;
		padding-top: 14px;
	}
	.ai-page .feature-points li {
		font-size: 13px;
		margin-bottom: 4px;
	}
	.ai-page .feature-note {
		font-size: 10px;
		margin-top: 12px;
	}
}

/*
 * 2026-10-29 ファーストビュー：制作実績の動画を斜めのタイルに敷き詰めた背景（template-parts/pitatto/hero.php）
 *
 * タイルは8列のグリッドに石垣状に置く。位置（grid-area）は hero.php で計算している。
 * 行の高さは列の幅（--col）の 1/9。タイルどうしの間隔は、グリッドの隙間ではなくタイルの内側の余白（--gap の半分ずつ）でとる
 * （グリッドの隙間にすると、行の数が多いタイルほど隙間の分だけ背が伸び、縦横比がずれるため）。
 * 外側（.hero-wall-inner）は1周ぶん（--period 行）の大きさで傾けて置き、画面より大きくして端が見えないようにしている。
 * 中身（.hero-track）には同じ並びが2周ぶん入っていて、1周ぶん上へ動かしたら最初に戻す（つなぎ目は同じ絵なので見えない）。
 * スマホは上半分にタイル・下半分に文字、PCは左に文字・右にタイル。文字の下はオーバーレイで暗くする。
 */
.ai-page .pitatto-hero {
	--hero-bg: #0c0915;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: min(calc(100svh - 66px), 860px);
	padding: 64px 0 56px;
	background: var(--hero-bg);
	isolation: isolate;
}
.ai-page .pitatto-hero::before {
	display: none;
}
.ai-page .hero-wall {
	position: absolute;
	inset: 0;
	z-index: -2;
	overflow: hidden;
}
.ai-page .hero-wall-inner {
	--col: max(14vw, 180px);
	--row: calc(var(--col) / 9);
	--gap: 14px;
	position: absolute;
	left: 64%;
	top: 50%;
	width: calc(var(--col) * 8);
	height: calc(var(--row) * var(--period));
	transform: translate(-50%, -50%) rotate(-12deg);
}
.ai-page .hero-track {
	display: grid;
	grid-template-columns: repeat(8, var(--col));
	grid-auto-rows: var(--row);
}
.ai-page .hero-tile {
	padding: calc(var(--gap) / 2);
}
.ai-page .hero-media {
	position: relative;
	height: 100%;
	overflow: hidden;
	border-radius: 16px;
	background: #1d1729;
	box-shadow: inset 0 0 0 1px #ffffff12;
}
.ai-page .hero-media :is(img, video) {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* 動画は再生が始まってから重ねる（読み込み中はポスター画像のまま） */
.ai-page .hero-tile video {
	opacity: 0;
	transition: opacity 0.6s ease;
}
.ai-page .hero-tile.is-playing video {
	opacity: 1;
}
.ai-page .pitatto-hero .hero-overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(
			90deg,
			var(--hero-bg) 0%,
			#0c0915eb 30%,
			#0c091599 52%,
			#0c091526 78%,
			#0c091514 100%
		),
		linear-gradient(0deg, var(--hero-bg) 0%, transparent 26%);
}
.ai-page .pitatto-hero .wrap {
	position: relative;
	width: min(1180px, calc(100% - 80px));
}
.ai-page .pitatto-hero .hero-copy {
	max-width: 600px;
}
/* PCは見出しから相談ボタンまでを高さ900pxの画面に収める大きさにしている */
.ai-page .pitatto-hero h1 {
	font-size: clamp(42px, 4vw, 58px);
	line-height: 1.3;
	letter-spacing: -0.02em;
	font-weight: 700;
}
/*
 * 見出しの強調。「こんなお悩み」の強調（.worry-mark）と同じ、グラデーションの帯に白い文字。
 * 行が詰まっているため帯は inline-block にし、上下の行の帯が重ならないよう帯の高さと上下の間を決める。
 */
.ai-page .hero-gradient {
	display: inline-block;
	margin: 0.05em 0.1em 0.05em 0;
	padding: 0 0.18em;
	border-radius: 6px;
	background: linear-gradient(60deg, #e02fe0, #1c5cf2);
	color: white;
	line-height: 1.22;
}
/* 帯の最後の「、」は右半分が空白になるため、半角幅の字形にして帯の右端の余白をそろえる */
.ai-page .hero-punct {
	font-feature-settings: "halt";
}
.ai-page .pitatto-hero .lede {
	max-width: none;
	margin-top: 20px;
	color: #ddd6e8;
	font-size: 15px;
	line-height: 1.95;
}
/* 動画の種類のタグ：白い枠線だけの丸いラベル */
.ai-page .hero-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 9px;
	max-width: 520px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}
.ai-page .hero-tags li {
	padding: 5px 17px;
	border: 1.5px solid #ffffffd9;
	border-radius: 100px;
	color: white;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: 0.04em;
	white-space: nowrap;
}
/* 実績・強みのバッジ（3つで1枚の画像） */
.ai-page .hero-badges {
	width: min(100%, 420px);
	margin-top: 20px;
}
.ai-page .hero-badges img {
	width: 100%;
	height: auto;
}
/*
 * 吹き出し付きの相談ボタン（template-parts/pitatto/consult-button.php）。ファーストビューとスマホ下部の固定ボタンで使う。
 * デザインデータは Frame 6.svg（ボタン 313×57、吹き出し 184×27）。
 * 吹き出しはボタンの上端から18px はみ出すので、置き場所の側でその分を空ける（.hero-cta の margin-top、.mobile-cta の padding-top）。
 */
.ai-page .consult-cta {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	min-height: 64px;
	/* 左のアイコン（32px）と右の矢印（26px）の幅の差を余白でならし、文字をボタンの中央に置く */
	padding: 8px 25px 8px 19px;
	border-radius: 100px;
	background: linear-gradient(90deg, #823cf6, #1d9fe5);
	box-shadow:
		inset 0 0 0 2px #ffffff8c,
		0 14px 36px #5a6cff40;
	color: white;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.04em;
	transition:
		transform 0.2s,
		filter 0.2s;
}
.ai-page .consult-cta:hover {
	transform: translateY(-2px);
	filter: brightness(1.07);
}
/* ファーストビューに置くとき */
.ai-page .hero-cta {
	width: min(100%, 440px);
	margin-top: 32px;
}
.ai-page .consult-cta-bubble {
	position: absolute;
	left: 50%;
	top: -18px;
	translate: -50% 0;
	padding: 2px 18px;
	border: 2px solid transparent;
	border-radius: 100px;
	background:
		linear-gradient(white, white) padding-box,
		linear-gradient(90deg, #6c52f2, #338ae9) border-box;
	color: #111;
	font-size: 13px;
	line-height: 1.6;
	letter-spacing: 0.02em;
	white-space: nowrap;
}
.ai-page .consult-cta-bubble::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 100%;
	translate: -50% -1px;
	border: 5px solid transparent;
	border-top: 8px solid white;
	border-bottom: 0;
}
.ai-page .consult-cta-icon {
	flex: none;
	width: 32px;
	height: 30px;
}
/* 置き場所の text-align に左右されず、ボタンの中で文字を中央にそろえる */
.ai-page .consult-cta-label {
	flex: 1;
	text-align: center;
}
.ai-page .consult-cta-arrow {
	flex: none;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #ffffff3b;
}
.ai-page .consult-cta-arrow svg {
	width: 100%;
	height: 100%;
}
/* 吹き出しとアイコンを外した形。アイコンと同じ幅の空きを左に置き、文字を中央に保つ */
.ai-page .consult-cta.is-plain::before {
	content: "";
	flex: none;
	width: 32px;
}
/* 料金プランのカードに置くとき（template-parts/lp-ai-video.php） */
.ai-page .plan-cta {
	min-height: 56px;
	font-size: 15px;
}
/*
 * ヘッダーのメニューの末尾に置くとき（template-parts/pitatto/header.php）。
 * PCはヘッダー（高さ66px）に収まるよう、吹き出しとアイコンを隠して小さくする。スマホのメニューの中では通常の大きさに戻す（下の 767px 以下）。
 */
.ai-page .site-nav .nav-cta {
	width: auto;
	min-height: 42px;
	padding: 4px 6px 4px 20px;
	gap: 10px;
	font-size: 13px;
	box-shadow:
		inset 0 0 0 1.5px #ffffff8c,
		0 6px 18px #5a6cff33;
}
.ai-page .site-nav .nav-cta :is(.consult-cta-bubble, .consult-cta-icon) {
	display: none;
}
.ai-page .site-nav .nav-cta .consult-cta-arrow {
	width: 24px;
	height: 24px;
}

@media (prefers-reduced-motion: no-preference) {
	/* 下から上へ一定の速さで流し続ける（PC幅1440pxで1周約1,700px、1秒に約25px） */
	.ai-page .hero-track {
		animation: hero-flow 68s linear infinite;
	}
}
@keyframes hero-flow {
	to {
		translate: 0 calc(var(--row) * var(--period) * -1);
	}
}

@media (max-width: 899px) {
	.ai-page .pitatto-hero {
		justify-content: flex-end;
		min-height: calc(100svh - 66px);
		/*
		 * タイルを見せる高さ。背景の動画を広く見せるため、文字は下に寄せる。
		 * 幅390×高さ844px で、最初の画面に見出しと説明文まで入り、タグから下は少しスクロールして見える。
		 */
		padding: clamp(260px, 36svh, 480px) 0 36px;
	}
	/* 上半分に寄せる。画面に映るのは8列のうち中ほどの4列弱 */
	.ai-page .hero-wall-inner {
		--col: min(32vw, 160px);
		--gap: 9px;
		left: 50%;
		top: 30%;
	}
	/* 1周が短い（幅390pxで約1,050px）ので、PCと同じくらいの速さになるよう時間も縮める */
	.ai-page .hero-track {
		animation-duration: 42s;
	}
	.ai-page .hero-media {
		border-radius: 11px;
	}
	.ai-page .pitatto-hero .hero-overlay {
		background: linear-gradient(
			180deg,
			#0c091514 0%,
			#0c091526 28%,
			#0c091599 32%,
			#0c0915d9 40%,
			var(--hero-bg) 50%
		);
	}
	.ai-page .pitatto-hero .wrap {
		width: calc(100% - 40px);
	}
	.ai-page .pitatto-hero .hero-copy {
		max-width: 560px;
	}
	.ai-page .pitatto-hero h1 {
		font-size: min(9.4vw, 48px);
		line-height: 1.32;
	}
	.ai-page .pitatto-hero .lede {
		margin-top: 14px;
		font-size: 12.5px;
		line-height: 1.9;
	}
	/* タグ・バッジ・ボタンは中央にそろえる（見出しと説明文は左寄せのまま） */
	.ai-page .hero-tags {
		justify-content: center;
		gap: 7px 5px;
		max-width: none;
		margin-top: 16px;
	}
	/* 8つを2行に収める（幅360pxまで） */
	.ai-page .hero-tags li {
		padding: 3px clamp(8px, 3vw, 12px);
		font-size: clamp(10.5px, 3.2vw, 13px);
		letter-spacing: 0.02em;
	}
	.ai-page .hero-badges {
		width: min(100%, 350px);
		margin: 14px auto 0;
	}
	.ai-page .consult-cta {
		min-height: 60px;
		padding: 8px 19px 8px 17px;
		gap: 12px;
		font-size: clamp(15px, 4.4vw, 18px);
	}
	.ai-page .hero-cta {
		width: 100%;
		margin-top: 28px;
	}
	.ai-page .consult-cta-bubble {
		top: -17px;
		padding: 1px 16px;
		font-size: clamp(11.5px, 3.4vw, 13px);
	}
	.ai-page .consult-cta-icon {
		width: 28px;
		height: 26px;
	}
	.ai-page .consult-cta.is-plain::before {
		width: 28px;
	}
	.ai-page .plan-cta {
		min-height: 54px;
		font-size: 15px;
	}
}
/* スマホで開くメニューの中では、ほかと同じ吹き出し付きの相談ボタンにする。上の余白は吹き出しの分 */
@media (max-width: 767px) {
	.ai-page .site-nav .nav-cta {
		width: 100%;
		min-height: 60px;
		margin-top: 22px;
		padding: 8px 19px 8px 17px;
		gap: 12px;
		font-size: clamp(15px, 4.4vw, 18px);
		box-shadow:
			inset 0 0 0 2px #ffffff8c,
			0 14px 36px #5a6cff40;
	}
	.ai-page .site-nav .nav-cta :is(.consult-cta-bubble, .consult-cta-icon) {
		display: block;
	}
	.ai-page .site-nav .nav-cta .consult-cta-arrow {
		width: 26px;
		height: 26px;
	}
}

/*
 * 2026-10-30 こんなお悩みありませんか？（template-parts/pitatto/difference.php）
 * 暗い背景に、動画制作でよくある課題のカードを6枚並べ、相談ボタンへつなぐ。デザインデータは Frame 39.pdf（スマホ幅393px）。
 * PCはカードを2列にする。
 */
.ai-page .ai-diff {
	background: #0b0f17;
	color: white;
	border-top: 1px solid #ffffff14;
}
.ai-page .ai-diff .section-head {
	text-align: center;
	margin-bottom: 44px;
}
.ai-page .ai-diff h2 {
	color: white;
	font-size: clamp(36px, 4vw, 52px);
	font-weight: 900;
	line-height: 1.4;
	letter-spacing: 0.04em;
}
.ai-page .worry-gradient {
	background: linear-gradient(
		100deg,
		#ff5fc8 0%,
		#a463ff 45%,
		#5b8cff 75%,
		#33e0d0 100%
	);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.ai-page .ai-diff .section-head .lede {
	max-width: none;
	margin-top: 18px;
	color: #e6e8ee;
	font-size: 15px;
	letter-spacing: 0.06em;
}
.ai-page .worry-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
.ai-page .worry-card {
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
	padding: 20px 20px 20px 16px;
	border: 1.5px solid #ffffff2e;
	border-radius: 10px;
	background: #1c212b;
}
.ai-page .worry-icon {
	flex: none;
	width: 104px;
	height: 104px;
	object-fit: contain;
}
.ai-page .worry-body {
	min-width: 0;
}
.ai-page .worry-card h3 {
	color: white;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.08em;
}
/* 2行目の強調する語。帯（塗り）にする */
.ai-page .worry-mark {
	margin-right: 0.3em;
	padding: 0 0.3em;
	background: linear-gradient(60deg, #e02fe0, #1c5cf2);
	color: white;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	border-radius: 4px;
}
.ai-page .worry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 8px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}
.ai-page .worry-tags li {
	padding: 2px 12px;
	border: 1.5px solid #ffffffbf;
	border-radius: 100px;
	color: white;
	font-size: 13px;
	line-height: 1.6;
	letter-spacing: 0.06em;
	white-space: nowrap;
}
/* カードの下：矢印・「それ、pitattoなら解決できます。」・相談ボタン */
.ai-page .worry-answer {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 56px;
	text-align: center;
}
.ai-page .worry-chevron {
	width: 46px;
	height: 46px;
}
.ai-page .worry-solve {
	margin-top: 20px;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.04em;
}
.ai-page .worry-solve ruby {
	margin: 0 0.15em;
	font-size: 2.6em;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	ruby-position: over;
}
.ai-page .worry-solve rt {
	font-size: 0.22em;
	font-weight: 700;
	letter-spacing: 0.5em;
}
.ai-page .worry-cta {
	width: min(100%, 520px);
	margin-top: 40px;
}

@media (max-width: 899px) {
	.ai-page .worry-list {
		grid-template-columns: 1fr;
		max-width: 640px;
	}
}

@media (max-width: 767px) {
	.ai-page .ai-diff .section-head {
		margin-bottom: 26px;
	}
	.ai-page .ai-diff h2 {
		font-size: min(10.4vw, 44px);
	}
	.ai-page .ai-diff .section-head .lede {
		margin-top: 12px;
		font-size: clamp(12px, 3.5vw, 14px);
		letter-spacing: 0.04em;
	}
	.ai-page .worry-list {
		gap: 10px;
	}
	/* 幅393pxのデザインデータに合わせ、アイコンは小さめにして文字の幅を確保する（タグは1行に収まる大きさ） */
	.ai-page .worry-card {
		gap: 10px;
		padding: 14px 8px 14px 6px;
		border-radius: 8px;
	}
	.ai-page .worry-icon {
		width: clamp(56px, 17vw, 80px);
		height: clamp(56px, 17vw, 80px);
	}
	.ai-page .worry-card h3 {
		font-size: clamp(14.5px, 4.3vw, 18px);
		letter-spacing: 0.06em;
	}
	.ai-page .worry-tags {
		gap: 5px 4px;
		margin-top: 8px;
	}
	.ai-page .worry-tags li {
		padding: 0 clamp(6px, 2vw, 10px);
		border-width: 1px;
		font-size: clamp(9.5px, 2.75vw, 12px);
		letter-spacing: 0.02em;
	}
	.ai-page .worry-answer {
		margin-top: 36px;
	}
	.ai-page .worry-chevron {
		width: 38px;
		height: 38px;
	}
	.ai-page .worry-solve {
		margin-top: 14px;
		font-size: clamp(12px, 3.6vw, 17px);
		white-space: nowrap;
	}
	.ai-page .worry-cta {
		width: 100%;
		margin-top: 32px;
	}
}

/* 2026-10-13 相談フォーム：プランをカードで選ぶ */
.ai-page .plan-picker {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}
.ai-page .plan-picker legend {
	padding: 0;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 8px;
}
.ai-page .plan-options {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}
.ai-page .plan-picker + .form-row label {
	margin-top: 17px !important;
}
@keyframes plan-picked {
	0%,
	35% {
		box-shadow:
			0 6px 16px #6c4ef61f,
			0 0 0 6px #6c4ef633;
	}
	100% {
		box-shadow:
			0 6px 16px #6c4ef61f,
			0 0 0 0 #6c4ef600;
	}
}
@media (max-width: 767px) {
	.ai-page .plan-options {
		grid-template-columns: 1fr;
	}
}

/* 2026-10-14 実写との比較：棒を内訳ごとに区切り、括弧と線でラベルにつなぐ */
.ai-page .bar-label .bar-total {
	display: block;
	font-size: 12px;
	line-height: 1.5;
	color: var(--ink);
}
.ai-page .bar-label .bar-total sup {
	font-weight: 400;
}
.ai-page .bar.seg {
	background: repeating-linear-gradient(45deg, #d2cad9 0 4px, #efebf2 4px 8px);
	border-right: 2px solid var(--paper);
	box-sizing: border-box;
	overflow: hidden;
}
.ai-page .bar.seg::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: calc(var(--min) * 100%);
	background: #8f8499;
}
.ai-page .bar.seg:nth-child(2) {
	transition-delay: 0.08s;
}
.ai-page .bar.seg:nth-child(3) {
	transition-delay: 0.16s;
}
.ai-page .bar.seg:nth-child(4) {
	transition-delay: 0.24s;
}
.ai-page .bar.seg:nth-child(5) {
	transition-delay: 0.32s;
}
.ai-page .bar-notes {
	--line: #b3a8bd;
	grid-column: 2;
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
	height: 44px;
	transition: opacity 0.3s 0.9s;
}
.ai-page .bar-notes li {
	position: absolute;
	top: 3px;
	left: calc(var(--from) * 100%);
	width: calc((var(--to) - var(--from)) * 100% - 2px);
	height: 6px;
	border: 1px solid var(--line);
	border-top: 0;
	border-radius: 0 0 3px 3px;
}
.ai-page .bar-notes li::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 5px;
	width: 1px;
	height: 7px;
	background: var(--line);
}
.ai-page .bar-notes li > span {
	position: absolute;
	top: 13px;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	font-size: 10px;
	line-height: 1.45;
	color: var(--muted);
	text-align: center;
}
.ai-page .bar-notes b {
	display: block;
	font-size: 11px;
	color: var(--ink);
}
.ai-page .bar-notes li.is-start > span {
	left: -1px;
	transform: none;
	text-align: left;
}
.ai-page .bar-notes li.is-end > span {
	left: auto;
	right: -1px;
	transform: none;
	text-align: right;
}
.ai-page .bar-notes.is-stagger {
	height: 76px;
}
.ai-page .bar-notes.is-stagger li.is-low::after {
	height: 38px;
}
.ai-page .bar-notes.is-stagger li.is-low > span {
	top: 44px;
}
.ai-page .bar-row:hover .bar.seg::before {
	background: #7a6e85;
}
.ai-page .bar.seg.ai-seg {
	background: repeating-linear-gradient(45deg, #b9a8fb 0 4px, #e6defe 4px 8px);
}
.ai-page .bar.seg.ai-seg::before {
	background: var(--purple);
}
.ai-page .bar-row:hover .bar.seg.ai-seg::before {
	background: #5638e0;
}
.ai-page .bar-notes.is-ai {
	--line: #b9a8fb;
}
.ai-page .bar-notes.is-stair {
	height: calc(4 * 17px + 14px);
}
.ai-page .bar-notes.is-stair li::after {
	height: calc(var(--row) * 17px - 7px);
}
.ai-page .bar-notes.is-stair li > span {
	top: calc(var(--row) * 17px - 10px);
	left: calc(50% - 0.5px);
	transform: none;
	text-align: left;
	padding-left: 7px;
	line-height: 16px;
	display: flex;
	align-items: baseline;
	gap: 5px;
}
.ai-page .bar-notes.is-stair li > span::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 5px;
	height: 1px;
	background: var(--line);
}
.ai-page .bar-notes.is-stair b {
	display: inline;
	color: #5638e0;
}
.ai-page .bar-chart.is-ready:not(.is-visible) .bar-notes {
	opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
	.ai-page .bar-notes {
		transition: none;
	}
}

@media (max-width: 767px) {
	.ai-page .bar-notes {
		grid-column: 1;
	}
	.ai-page .bar-label:has(.bar-total) {
		flex-wrap: wrap;
		gap: 0 8px;
	}
	.ai-page .bar-label strong,
	.ai-page .bar-label .bar-total {
		white-space: nowrap;
	}
	.ai-page .bar-label .bar-total {
		font-size: 11px;
	}
	.ai-page .bar-notes:not(.is-ai) {
		height: 76px;
	}
	.ai-page .bar-notes li.is-low::after {
		height: 38px;
	}
	.ai-page .bar-notes li.is-low > span {
		top: 44px;
	}
	.ai-page .bar-notes li > span {
		font-size: 9px;
	}
	.ai-page .bar-notes b {
		font-size: 10px;
	}
}

/* 2026-10-14 実写との比較：制作費と制作期間をタブで切り替え、グラフを全幅にして文字を大きくする */
.ai-page .key.ai-range {
	background: repeating-linear-gradient(45deg, #b9a8fb 0 4px, #e6defe 4px 8px);
}
.ai-page .chart-tabs {
	background: white;
	border: 1px solid var(--line);
	border-radius: 4px;
	overflow: hidden;
}
.ai-page .chart-tablist {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: var(--wash);
	border-bottom: 1px solid var(--line);
}
.ai-page .chart-tablist [role="tab"] {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 18px 30px 16px;
	border: 0;
	background: none;
	font: inherit;
	color: var(--muted);
	text-align: left;
	cursor: pointer;
}
.ai-page .chart-tablist [role="tab"] + [role="tab"] {
	border-left: 1px solid var(--line);
}
.ai-page .chart-tablist [role="tab"] strong {
	font-size: 17px;
	line-height: 1.5;
}
.ai-page .chart-tablist [role="tab"] small {
	font-size: 12px;
	line-height: 1.6;
}
.ai-page .chart-tablist [role="tab"]:hover {
	color: var(--ink);
}
.ai-page .chart-tablist [aria-selected="true"] {
	background: white;
	color: var(--ink);
	margin-bottom: -1px;
}
.ai-page .chart-tablist [aria-selected="true"]::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 3px;
	background: var(--purple);
}
.ai-page .chart-tablist [aria-selected="true"] small {
	color: var(--purple);
}
.ai-page .chart-tablist [role="tab"]:focus-visible {
	outline: 2px solid var(--purple);
	outline-offset: -4px;
}
.ai-page .chart-tabs .chart-card {
	border: 0;
	border-radius: 0;
	padding: 24px 30px 24px;
}
.ai-page .chart-tabs .chart-card[hidden] {
	display: none;
}
.ai-page .chart-tabs .chart-legend {
	margin-top: 0;
	font-size: 12px;
}
.ai-page .chart-tabs .bar-chart,
.ai-page .chart-tabs .period-chart .bar-chart {
	--label: 180px;
	gap: 14px;
}
.ai-page .chart-tabs .bar-label strong {
	font-size: 15px;
}
.ai-page .chart-tabs .bar-label .bar-total {
	font-size: 14px;
}
.ai-page .chart-tabs .bar-label small {
	font-size: 12px;
}
.ai-page .chart-tabs .bar-value {
	font-size: 15px;
}
.ai-page .chart-tabs .bar-track,
.ai-page .chart-tabs .bar {
	height: 36px;
}
.ai-page .chart-tabs .bar-row {
	min-height: 56px;
}
.ai-page .chart-tabs .bar-axis {
	font-size: 12px;
	height: 18px;
}
.ai-page .chart-tabs .bar-axis span {
	line-height: 18px;
}
.ai-page .chart-tabs .bar-row::after {
	font-size: 12px;
}
.ai-page .chart-tabs .chart-card figcaption {
	font-size: 11px;
}
.ai-page .chart-tabs .bar-notes {
	height: 40px;
}
.ai-page .chart-tabs .bar-notes li > span {
	display: flex;
	align-items: baseline;
	gap: 6px;
	font-size: 12px;
	line-height: 18px;
}
.ai-page .chart-tabs .bar-notes b {
	display: inline;
	font-size: 14px;
}
.ai-page .bar-notes li::after {
	left: calc(var(--x, 0.5) * 100%);
}
.ai-page .bar-notes li:not(.is-start):not(.is-end) > span {
	left: calc(var(--x, 0.5) * 100%);
}
.ai-page .chart-tabs .bar-notes:not(.is-stair) {
	height: 62px;
}
.ai-page .chart-tabs .bar-notes li.is-low::after {
	height: 28px;
}
.ai-page .chart-tabs .bar-notes li.is-low > span {
	top: 36px;
}
.ai-page .chart-tabs .bar-notes.is-stair {
	--step: 21px;
	height: calc(4 * var(--step) + 16px);
}
.ai-page .chart-tabs .bar-notes.is-stair li::after {
	height: calc(var(--row) * var(--step) - 7px);
}
.ai-page .chart-tabs .bar-notes.is-stair li > span {
	top: calc(var(--row) * var(--step) - 11px);
}
.ai-page .chart-tabs .bar-notes.is-stair li > span::before {
	top: 9px;
}

@media (max-width: 1080px) {
	.ai-page .chart-tabs .bar-chart,
	.ai-page .chart-tabs .period-chart .bar-chart {
		--label: 150px;
	}
	.ai-page .chart-tabs .bar-notes:not(.is-stair) li > span {
		display: block;
		line-height: 1.4;
	}
	.ai-page .chart-tabs .bar-notes:not(.is-stair) b {
		display: block;
		font-size: 13px;
	}
	.ai-page .chart-tabs .bar-notes:not(.is-stair) {
		height: 92px;
	}
	.ai-page .chart-tabs .bar-notes li.is-low::after {
		height: 48px;
	}
	.ai-page .chart-tabs .bar-notes li.is-low > span {
		top: 54px;
	}
}

@media (max-width: 767px) {
	.ai-page .chart-tablist [role="tab"] {
		padding: 13px 14px 11px;
	}
	.ai-page .chart-tablist [role="tab"] strong {
		font-size: 14px;
	}
	.ai-page .chart-tablist [role="tab"] small {
		font-size: 10px;
	}
	.ai-page .chart-tabs .chart-card {
		padding: 18px 16px 16px;
	}
	.ai-page .chart-tabs .chart-legend {
		font-size: 11px;
	}
	.ai-page .chart-tabs .bar-chart,
	.ai-page .chart-tabs .period-chart .bar-chart {
		--label: 0px;
	}
	.ai-page .chart-tabs .bar-label strong {
		font-size: 14px;
	}
	.ai-page .chart-tabs .bar-label .bar-total {
		font-size: 13px;
	}
	.ai-page .chart-tabs .bar-label small {
		font-size: 11px;
	}
	.ai-page .chart-tabs .bar-value {
		font-size: 14px;
	}
	.ai-page .chart-tabs .bar-track,
	.ai-page .chart-tabs .bar {
		height: 30px;
	}
	.ai-page .chart-tabs .bar-row {
		min-height: 0;
	}
	.ai-page .chart-tabs .bar-axis {
		font-size: 11px;
	}
	.ai-page .chart-tabs .bar-notes li > span {
		display: block;
		font-size: 11px;
		line-height: 1.4;
	}
	.ai-page .chart-tabs .bar-notes b {
		display: block;
		font-size: 12px;
	}
	.ai-page .chart-tabs .bar-notes:not(.is-stair) {
		height: 88px;
	}
	.ai-page .chart-tabs .bar-notes li.is-low::after {
		height: 44px;
	}
	.ai-page .chart-tabs .bar-notes li.is-low > span {
		top: 50px;
	}
	.ai-page .chart-tabs .bar-notes.is-stagger {
		height: 124px;
	}
	.ai-page .chart-tabs .bar-notes.is-stair li > span {
		display: flex;
		font-size: 11px;
		line-height: 18px;
	}
	.ai-page .chart-tabs .cost-chart .bar-notes {
		height: 124px;
	}
	.ai-page .chart-tabs .bar-notes li.sm-row3::after {
		height: 81px;
	}
	.ai-page .chart-tabs .bar-notes li.sm-row3 > span {
		top: 87px;
	}
	.ai-page .chart-tabs .bar-notes.is-stair b {
		display: inline;
		font-size: 12px;
	}
}

/* 2026-10-14 実写との比較：アイコンとやわらかい表現 */
.ai-page .ico-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}
.ai-page .ico {
	display: inline-block;
	width: 1.15em;
	height: 1.15em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	vertical-align: -0.2em;
	flex: none;
}
.ai-page .chart-tablist [role="tab"] {
	display: flex;
	flex-direction: row;
	column-gap: 12px;
	align-items: center;
}
.ai-page .chart-tablist [role="tab"] .ico {
	grid-row: 1 / 3;
	width: 34px;
	height: 34px;
	padding: 7px;
	border-radius: 50%;
	background: white;
	color: #a79aae;
	box-sizing: border-box;
}
.ai-page .chart-tablist [aria-selected="true"] .ico {
	background: #ede8ff;
	color: var(--purple);
}
.ai-page .bar-label strong .ico {
	margin-right: 6px;
	color: #8f8499;
}
.ai-page .bar-row:has(.bar.ai, .ai-seg) .bar-label strong .ico {
	color: var(--purple);
}
.ai-page .bar-notes li > span .ico {
	margin-right: 3px;
	color: #8f8499;
	width: 1.1em;
	height: 1.1em;
}
.ai-page .bar-notes.is-ai li > span .ico {
	color: var(--purple);
}
.ai-page .chart-point {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 22px;
	padding: 14px 18px;
	background: var(--wash);
	border-radius: 12px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.7;
}
.ai-page .chart-point .ico {
	width: 22px;
	height: 22px;
	margin-top: 1px;
	color: var(--purple);
}

.ai-page .chart-tablist [role="tab"] small span {
	white-space: nowrap;
}
@media (max-width: 767px) {
	.ai-page .chart-tablist [role="tab"] {
		column-gap: 6px;
		row-gap: 2px;
	}
	.ai-page .chart-tablist [role="tab"] .ico {
		grid-row: 1;
		width: 24px;
		height: 24px;
		padding: 4px;
	}
	.ai-page .chart-tablist [role="tab"] small {
		grid-column: 1 / -1;
	}
	.ai-page .chart-point {
		margin-top: 18px;
		padding: 12px 14px;
		font-size: 13px;
	}
	.ai-page .chart-point .ico {
		width: 20px;
		height: 20px;
	}
}

@media (max-width: 359px) {
	.ai-page .bar-notes:not(.is-stair) li > span .ico {
		display: none;
	}
}

/* 2026-10-14 実写との比較：pitattoの行をまとめて目立たせる */
.ai-page .bar-group {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 6px -18px 0;
	padding: 14px 18px 16px;
	background: #6c4ef60d;
	border: 1.5px solid #cdbffc;
	border-radius: 4px;
}
.ai-page .bar-group-head {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 -4px;
	font-size: 30px;
	font-weight: 700;
	color: var(--purple);
}
.ai-page .bar-group-head .ico {
	width: 18px;
	height: 18px;
}
.ai-page .bar-group .bar-label strong {
	font-size: 17px;
}
.ai-page .bar-group .bar-label small {
	color: #5d5469;
}
.ai-page .bar-group .bar-value {
	font-size: 24px;
	font-weight: 800;
	color: var(--purple);
	letter-spacing: -0.01em;
	left: calc(var(--at) * 100% + 12px);
}
.ai-page .bar-group .bar-value small {
	font-size: 12px;
	font-weight: 500;
	color: var(--muted);
	margin-left: 2px;
	letter-spacing: 0;
}
.ai-page .chart-tabs .bar-group .bar-value {
	font-size: 24px;
}
.ai-page .bar-group .bar.ai {
	box-shadow: 0 4px 14px #6c4ef640;
}
.ai-page .chart-tabs .bar-group .bar-label strong {
	font-size: 17px;
}
.ai-page .chart-tabs .bar-group .bar-label .bar-total {
	font-size: 16px;
	color: var(--purple);
}

@media (max-width: 767px) {
	.ai-page .bar-group {
		margin: 4px -10px 0;
		padding: 12px 10px 14px;
		border-radius: 12px;
		gap: 12px;
	}
	.ai-page .bar-group-head {
		font-size: 13px;
	}
	.ai-page .chart-tabs .bar-group .bar-label strong {
		font-size: 15px;
	}
	.ai-page .chart-tabs .bar-group .bar-value {
		font-size: 20px;
	}
	.ai-page .chart-tabs .bar-group .bar-label .bar-total {
		font-size: 14px;
	}
}

/*
 * 2026-10-15 ページ途中のCTA。
 * 2026-10-30 ボタンをグラデーションの相談ボタンにしたため、帯は暗い紺にして（「こんなお悩み」のセクションと同じ系統）ボタンを浮かせる。
 */
.ai-page .cta-band.cta-band {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	margin-top: 48px;
	padding: 34px 40px;
	border: 1px solid #ffffff1a;
	border-radius: 20px;
	background:
		radial-gradient(circle at 96% -30%, #823cf659, transparent 46%),
		radial-gradient(circle at -4% 130%, #1d9fe540, transparent 42%), #0f1220;
	box-shadow: 0 20px 44px #0f122033;
	color: white;
}
.ai-page .cta-band::after {
	content: "";
	position: absolute;
	right: -40px;
	bottom: -70px;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	border: 1.5px solid #ffffff17;
	pointer-events: none;
}
.ai-page .cta-band .cta-band-text {
	margin: 0;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.6;
	color: white;
}
.ai-page .cta-band .cta-band-sub {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.8;
	color: #ffffffd9;
}
/* 帯に置く相談ボタン（template-parts/pitatto/consult-button.php）。吹き出しが上に18pxはみ出す分、帯の上下の余白で受ける */
.ai-page .cta-band .band-cta {
	z-index: 1;
	flex: none;
	width: min(100%, 400px);
}
@media (max-width: 767px) {
	.ai-page .cta-band.cta-band {
		display: block;
		margin-top: 32px;
		padding: 28px 22px 24px;
		border-radius: 18px;
	}
	.ai-page .cta-band .cta-band-text {
		font-size: 18px;
	}
	.ai-page .cta-band .cta-band-sub {
		font-size: 12px;
	}
	/* 帯の内側は画面幅より狭いので、文字を少し小さくして1行に収める（幅320pxまで） */
	.ai-page .cta-band .band-cta {
		width: calc(100% + 16px);
		margin: 32px -8px 0;
		gap: 10px;
		padding-inline: 14px 16px;
		font-size: clamp(13px, 3.9vw, 17px);
		letter-spacing: 0.02em;
	}
	.ai-page .cta-band .band-cta .consult-cta-label {
		white-space: nowrap;
	}
	/* 吹き出しのない形は、その分の余白を詰める */
	.ai-page .cta-band .band-cta.is-plain {
		margin-top: 22px;
	}
}

/* ==========================================================================
   Contact Form 7：モックのフォームの見た目に合わせる
   フォームの中身は README-ai-video-form.md の定義。CF7 のショートコードに
   html_class="contact-form" を付けているので、上の .contact-form のスタイルがそのまま効く。
   ========================================================================== */
.ai-page .contact-form-area .wpcf7 {
	margin: 0;
}
.ai-page .contact-form .hidden-fields-container,
.ai-page .contact-form .screen-reader-response {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
.ai-page .contact-form .wpcf7-form-control-wrap {
	display: block;
}

/* ご希望のプラン：[radio your-plan class:plan-options] をカード型にする */
.ai-page .contact-form .plan-options {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}
.ai-page .contact-form .plan-options .wpcf7-list-item {
	display: block;
	margin: 0;
}
.ai-page .contact-form .plan-options label {
	position: relative;
	display: block;
	height: 100%;
	margin: 0;
	font-weight: 400;
	cursor: pointer;
}
.ai-page .contact-form .plan-options input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
}
.ai-page .contact-form .plan-options .wpcf7-list-item-label {
	position: relative;
	display: block;
	height: 100%;
	padding: 12px 12px 12px 42px;
	border: 1.5px solid #e6e0ee;
	border-radius: 12px;
	background: white;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	transition:
		border-color 0.15s,
		background 0.15s,
		box-shadow 0.15s;
}
.ai-page .contact-form .plan-options .wpcf7-list-item-label::before {
	content: "";
	position: absolute;
	left: 14px;
	top: 50%;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1.5px solid #cfc5dc;
	background: white;
	transform: translateY(-50%);
	transition:
		border-color 0.15s,
		background 0.15s;
}
/*
 * 各プランの補足。CF7 のラジオボタンは選択肢の文字しか出せないため、value で引いて足している。
 * 料金表（template-parts/lp-ai-video.php の #plans）の価格を変えたら、ここも直すこと。
 */
.ai-page .contact-form .plan-options .wpcf7-list-item-label::after {
	display: block;
	margin-top: 3px;
	font-size: 10px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--muted);
}
.ai-page
	.contact-form
	.plan-options
	input[value="まだ決まっていない"]
	+ .wpcf7-list-item-label::after {
	content: "相談しながら決めたい";
}
.ai-page
	.contact-form
	.plan-options
	input[value="ライト"]
	+ .wpcf7-list-item-label::after {
	content: "世界観の表現・税別10万円〜";
}
.ai-page
	.contact-form
	.plan-options
	input[value="ベーシック"]
	+ .wpcf7-list-item-label::after {
	content: "商品の再現・税別20万円〜";
}
.ai-page
	.contact-form
	.plan-options
	input[value="プレミアム"]
	+ .wpcf7-list-item-label::after {
	content: "AIモデルの起用・税別30万円〜";
}
.ai-page .contact-form .plan-options label:hover .wpcf7-list-item-label {
	border-color: #c9bbf7;
}
.ai-page
	.contact-form
	.plan-options
	label:hover
	.wpcf7-list-item-label::before {
	border-color: #a996f2;
}
.ai-page .contact-form .plan-options input:checked + .wpcf7-list-item-label {
	border-color: var(--purple);
	background: #f6f3ff;
	color: var(--purple);
	box-shadow: 0 6px 16px #6c4ef61f;
}
.ai-page
	.contact-form
	.plan-options
	input:checked
	+ .wpcf7-list-item-label::before {
	border-color: transparent;
	background:
		radial-gradient(circle, white 0 3.5px, transparent 4px),
		linear-gradient(135deg, var(--purple), var(--pink));
}
.ai-page
	.contact-form
	.plan-options
	input:focus-visible
	+ .wpcf7-list-item-label {
	outline: 2px solid var(--purple);
	outline-offset: 2px;
}
.ai-page .contact-form .plan-options .is-picked .wpcf7-list-item-label {
	animation: plan-picked 1.4s ease-out;
}

/* プライバシーポリシーの同意 */
.ai-page .contact-form .policy {
	margin-top: 20px;
	font-size: 12px;
}
.ai-page .contact-form .policy .wpcf7-list-item {
	margin: 0;
}
.ai-page .contact-form .policy label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 12px;
	cursor: pointer;
}
.ai-page .contact-form .policy input[type="checkbox"] {
	display: inline-block;
	width: 18px;
	height: 18px;
	margin: 0;
	padding: 0;
	accent-color: var(--purple);
}
.ai-page .contact-form .policy a {
	color: var(--purple);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* 送信ボタン（[submit] は input 要素のため、.btn.primary の見た目を移す） */
.ai-page .contact-form input[type="submit"] {
	display: block;
	width: 100%;
	min-height: 56px;
	margin-top: 18px;
	padding: 13px 26px;
	border: 0;
	border-radius: 100px;
	background: linear-gradient(110deg, var(--purple), #b746d4 65%, var(--pink));
	box-shadow: 0 8px 24px #6c4ef622;
	color: white;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.2s;
}
.ai-page .contact-form input[type="submit"]:hover {
	transform: translateY(-2px);
}
.ai-page .contact-form input[type="submit"]:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
	/* 未同意で押した操作を assets/cf7-form.js が親要素で拾い、案内を出す */
	pointer-events: none;
}
.ai-page .contact-form.is-sending input[type="submit"],
.ai-page .contact-form.submitting input[type="submit"] {
	opacity: 0.7;
	cursor: wait;
	transform: none;
	pointer-events: none;
}
.ai-page .contact-form.is-sending .wpcf7-spinner {
	visibility: visible;
}
/* reCAPTCHA のバッジはトップページ（assets/style.css）と同じく隠し、フォーム内の表記で代える */
.grecaptcha-badge {
	visibility: hidden;
}
/* CF7 Google Sheets Connector の GDPR の案内は出さない（assets/style.css と同じ。プラグインのCSSに負けないよう !important） */
.gscf7-frontend-gdpr-notice {
	display: none !important;
}
.ai-page .contact-form .pitatto-recaptcha-note {
	margin-top: 8px;
	font-size: 11px;
	line-height: 1.6;
	color: #888;
	text-align: center;
}
.ai-page .contact-form .pitatto-recaptcha-note a {
	color: inherit;
	text-decoration: underline;
}
.ai-page .contact-form .wpcf7-spinner {
	display: block;
	margin: 10px auto 0;
}

/* 入力エラーと送信結果 */
.ai-page .contact-form .wpcf7-not-valid {
	border-color: var(--pink);
}
.ai-page .contact-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 5px;
	font-size: 11px;
	font-weight: 700;
	color: var(--pink);
}
.ai-page .contact-form .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 14px;
	border: 0;
	border-radius: 10px;
	background: #f3effb;
	font-size: 12px;
	line-height: 1.7;
}
.ai-page .contact-form.invalid .wpcf7-response-output,
.ai-page .contact-form.failed .wpcf7-response-output,
.ai-page .contact-form.spam .wpcf7-response-output,
.ai-page .contact-form.is-error .wpcf7-response-output {
	background: #fff0f5;
	color: #c4205c;
}
/* CF7が出さない失敗（reCAPTCHA・通信エラー）を assets/cf7-form.js が表示する */
.ai-page .contact-form.wpcf7-form.is-error .wpcf7-response-output {
	display: block;
}
.ai-page .contact-form .pitatto-error-mail {
	display: block;
	margin-top: 6px;
}
.ai-page .contact-form .pitatto-error-mail a {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
	word-break: break-all;
}

@media (max-width: 767px) {
	.ai-page .contact-form .plan-options {
		grid-template-columns: 1fr;
	}
	.ai-page .contact-form .plan-options .wpcf7-list-item-label {
		display: flex;
		align-items: baseline;
		flex-wrap: wrap;
		gap: 2px 10px;
	}
	.ai-page .contact-form .plan-options .wpcf7-list-item-label::after {
		margin-top: 0;
	}
}
@media (prefers-reduced-motion: reduce) {
	.ai-page .contact-form .plan-options .is-picked .wpcf7-list-item-label {
		animation: none;
	}
}
