/*
 * WIM — Front Page
 *
 * 9 セクションのレイアウト + 装飾。すべて var(--wim-*) を参照。
 *
 * @package WIM
 */

/* ============================================================
 * Common: front-page main は header の高さぶん下にずらす
 * ============================================================ */
.wim-front-main {
	padding-top: var(--wim-header-h);
}
@media (max-width: 1023px) {
	.wim-front-main {
		padding-top: var(--wim-header-h-mobile);
	}
}

.wim-section-heading__lead {
	font-size: var(--wim-fs-lead);
	line-height: var(--wim-lh-body);
	color: var(--wim-muted);
	max-width: 60ch;
	margin: var(--wim-space-3) 0 0;
}
.wim-section--dark .wim-section-heading__lead {
	color: var(--wim-on-dark-mid);
}

/* ============================================================
 * 1. Hero
 * ============================================================ */
.wim-hero {
	position: relative;
	overflow: hidden;
	background-color: var(--wim-bg);
	background-image:
		radial-gradient(ellipse at top right, rgba(184, 153, 104, 0.10) 0%, transparent 55%),
		radial-gradient(ellipse at bottom left, rgba(27, 58, 92, 0.06) 0%, transparent 60%);
	color: var(--wim-ink);
	padding: var(--wim-space-11) 0 var(--wim-space-10);
	isolation: isolate;
}

.wim-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}
.wim-hero__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
	opacity: 0.28;
}
.wim-hero__orb--cyan {
	width: 480px;
	height: 480px;
	left: -120px;
	top: -80px;
	background: radial-gradient(circle, var(--wim-gold) 0%, transparent 70%);
}
.wim-hero__orb--violet {
	width: 560px;
	height: 560px;
	right: -160px;
	bottom: -160px;
	background: radial-gradient(circle, var(--wim-navy) 0%, transparent 70%);
}
.wim-hero__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(var(--wim-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--wim-line) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.25) 0%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.25) 0%, transparent 70%);
	opacity: 0.5;
}

.wim-hero__inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: var(--wim-space-10);
	align-items: center;
}
@media (max-width: 1023px) {
	.wim-hero__inner {
		grid-template-columns: 1fr;
		gap: var(--wim-space-8);
	}
}

.wim-hero__eyebrow {
	margin-bottom: var(--wim-space-5);
}

.wim-hero__title {
	font-family: var(--wim-font-serif);
	font-size: var(--wim-fs-h1);
	font-weight: var(--wim-weight-bold);
	line-height: var(--wim-lh-display);
	letter-spacing: var(--wim-ls-heading);
	color: var(--wim-ink);
	margin: 0 0 var(--wim-space-5);
}
.wim-hero__title .wim-text-gradient {
	background-image: linear-gradient(135deg, var(--wim-gold) 0%, var(--wim-navy) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.wim-hero__lead {
	font-size: var(--wim-fs-lead);
	line-height: var(--wim-lh-body);
	color: var(--wim-muted);
	max-width: 56ch;
	margin: 0 0 var(--wim-space-7);
}

.wim-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wim-space-4);
	margin-bottom: var(--wim-space-7);
}
.wim-hero .wim-btn--secondary {
	color: var(--wim-ink);
	border-color: var(--wim-line-strong);
}
.wim-hero .wim-btn--secondary:hover,
.wim-hero .wim-btn--secondary:focus-visible {
	background-color: var(--wim-ink);
	color: var(--wim-bg);
}

.wim-hero__points {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--wim-space-5);
	color: var(--wim-on-dark-mid);
	font-size: var(--wim-fs-caption);
	letter-spacing: var(--wim-ls-meta);
	text-transform: uppercase;
}
.wim-hero__points li {
	position: relative;
	padding-left: var(--wim-space-4);
}
.wim-hero__points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--wim-gradient-tech);
	transform: translateY(-50%);
}

/* Hero visual */
.wim-hero__visual {
	position: relative;
	aspect-ratio: 1 / 1;
	max-width: 560px;
	justify-self: center;
	width: 100%;
}
.wim-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--wim-radius-lg);
	box-shadow: 0 24px 60px -20px rgba(27, 58, 92, 0.25), 0 8px 24px -12px rgba(184, 153, 104, 0.18);
	border: 1px solid var(--wim-line);
	background-color: var(--wim-bg-paper);
}
.wim-hero__image--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: var(--wim-gradient-tech-soft);
}
.wim-hero__image-glyph {
	font-family: var(--wim-font-serif);
	font-size: 96px;
	font-weight: var(--wim-weight-bold);
	background-image: var(--wim-gradient-tech);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.wim-hero__chip {
	position: absolute;
	left: var(--wim-space-4);
	bottom: var(--wim-space-4);
	display: inline-flex;
	align-items: center;
	gap: var(--wim-space-2);
	padding: var(--wim-space-2) var(--wim-space-4);
	border-radius: var(--wim-radius-pill);
	background-color: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid var(--wim-line);
	color: var(--wim-ink);
	font-size: var(--wim-fs-meta);
	letter-spacing: var(--wim-ls-meta);
	text-transform: uppercase;
}
.wim-hero__chip-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--wim-success);
	box-shadow: 0 0 8px rgba(43, 163, 122, 0.6);
	animation: wim-hero-pulse 1.6s ease-in-out infinite;
}
@keyframes wim-hero-pulse {
	0%, 100% { opacity: 0.4; transform: scale(0.9); }
	50%      { opacity: 1;   transform: scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
	.wim-hero__chip-dot { animation: none; }
}

/* ----- Full-bleed hero variant (top.png 全面表示) ----- */
.wim-hero--bleed {
	min-height: clamp(540px, 78vh, 820px);
	display: flex;
	align-items: center;
	padding: clamp(var(--wim-space-10), 12vh, var(--wim-space-12)) 0;
	color: #fff;
	background-color: #0a1426;
}
.wim-hero--bleed .wim-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}
.wim-hero--bleed .wim-hero__bg-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* 写真上部の頭が切れないよう右上寄せにフレーミング */
	object-position: right 12%;
	display: block;
}
.wim-hero--bleed .wim-hero__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(100deg,
			rgba(10, 20, 38, 0.86) 0%,
			rgba(10, 20, 38, 0.62) 38%,
			rgba(10, 20, 38, 0.30) 62%,
			rgba(10, 20, 38, 0.10) 100%
		);
}
/* Split scrim: dark on left + dark on right, transparent center to keep person visible */
.wim-hero__scrim--sides {
	background:
		linear-gradient(90deg,
			rgba(10, 20, 38, 0.85) 0%,
			rgba(10, 20, 38, 0.65) 22%,
			rgba(10, 20, 38, 0.10) 38%,
			rgba(10, 20, 38, 0.10) 62%,
			rgba(10, 20, 38, 0.65) 78%,
			rgba(10, 20, 38, 0.85) 100%
		) !important;
}
@media (max-width: 1023px) {
	.wim-hero--bleed .wim-hero__scrim,
	.wim-hero--bleed .wim-hero__scrim--sides {
		background: linear-gradient(180deg,
			rgba(10, 20, 38, 0.45) 0%,
			rgba(10, 20, 38, 0.82) 55%,
			rgba(10, 20, 38, 0.92) 100%
		) !important;
	}
	.wim-hero--bleed .wim-hero__bg-image {
		object-position: center 18%;
	}
}

.wim-hero__inner--bleed {
	display: block;
	max-width: 720px;
	grid-template-columns: none;
}

/* Split layout: text on left, CTA on right; person stays visible in the middle */
.wim-hero__inner--split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(var(--wim-space-6), 6vw, var(--wim-space-10));
	align-items: center;
}
.wim-hero--split .wim-hero__text {
	max-width: 480px;
}
.wim-hero--split .wim-hero__cta {
	justify-self: end;
	max-width: 360px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: var(--wim-space-5);
}
.wim-hero--split .wim-hero__cta .wim-hero__actions {
	display: flex;
	flex-direction: column;
	gap: var(--wim-space-3);
	margin: 0;
}
.wim-hero--split .wim-hero__cta .wim-btn {
	justify-content: center;
	width: 100%;
}
.wim-hero--split .wim-hero__keywords {
	justify-content: flex-end;
}
@media (max-width: 1023px) {
	.wim-hero__inner--split {
		grid-template-columns: 1fr;
		gap: var(--wim-space-7);
	}
	.wim-hero--split .wim-hero__text,
	.wim-hero--split .wim-hero__cta {
		max-width: none;
		justify-self: stretch;
	}
	.wim-hero--split .wim-hero__keywords {
		justify-content: flex-start;
	}
	.wim-hero--split .wim-hero__cta .wim-hero__actions {
		flex-direction: row;
		flex-wrap: wrap;
	}
}
.wim-hero--bleed .wim-hero__title {
	color: #fff;
}
.wim-hero--bleed .wim-hero__title-line {
	display: block;
	white-space: nowrap;
}
.wim-hero__title--tight {
	font-size: clamp(1.9rem, 3.6vw, 3rem);
	line-height: 1.22;
	letter-spacing: -0.01em;
}
@media (max-width: 639px) {
	.wim-hero--bleed .wim-hero__title-line {
		white-space: normal;
	}
}
.wim-hero--bleed .wim-hero__sub-eyebrow {
	color: rgba(255, 255, 255, 0.85);
	font-size: var(--wim-fs-lead);
	margin: 0 0 var(--wim-space-5);
}
.wim-hero--bleed .wim-hero__lead {
	color: rgba(255, 255, 255, 0.82);
}
.wim-hero--bleed .wim-hero__eyebrow {
	background-color: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.22);
	color: #fff;
}
.wim-hero--bleed .wim-btn--secondary {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.55);
	background-color: transparent;
}
.wim-hero--bleed .wim-btn--secondary:hover,
.wim-hero--bleed .wim-btn--secondary:focus-visible {
	background-color: #fff;
	color: var(--wim-ink);
}
.wim-hero--bleed .wim-hero__keywords {
	color: rgba(255, 255, 255, 0.72);
}
.wim-hero--bleed .wim-hero__keyword {
	border-color: rgba(255, 255, 255, 0.25);
}
.wim-hero--bleed .wim-hero__title .wim-text-gradient {
	background-image: linear-gradient(135deg, #f0c97a 0%, #ffe4ae 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ============================================================
 * 2. Pain points
 * ============================================================ */
.wim-pain {
	padding: var(--wim-section-y) 0;
}
.wim-pain__grid {
	list-style: none;
	padding: 0;
	/* people-band と同じ余白で見出しから離す */
	margin: var(--wim-space-8) 0 0;
	display: grid;
	/* Sprint 6 で 4 課題 → 3 課題に変更されたため 3 列に修正
	   （以前は repeat(4, 1fr) のままで 4列目が空き、左寄りに見えていた） */
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wim-space-6);
	align-items: stretch;
	width: 100%;
}
/* people-band と同じブレークポイント（1023px）で 1 列に切替 */
@media (max-width: 1023px) {
	.wim-pain__grid { grid-template-columns: 1fr; }
}
.wim-pain__item {
	background-color: var(--wim-bg-paper);
	border: var(--wim-rule);
	border-radius: var(--wim-radius-md);
	padding: var(--wim-space-6);
	display: flex;
	flex-direction: column;
	gap: var(--wim-space-3);
	transition: box-shadow var(--wim-dur-base) var(--wim-ease),
	            border-color var(--wim-dur-base) var(--wim-ease),
	            transform var(--wim-dur-base) var(--wim-ease);
}
.wim-pain__item:hover {
	border-color: var(--wim-gold);
	box-shadow: var(--wim-shadow-sm);
	transform: translateY(-2px);
}
.wim-pain__num {
	font-family: var(--wim-font-mono);
	font-size: var(--wim-fs-caption);
	letter-spacing: var(--wim-ls-meta);
	color: var(--wim-gold);
}
.wim-pain__title {
	font-family: var(--wim-font-serif);
	font-size: var(--wim-fs-h5);
	font-weight: var(--wim-weight-bold);
	margin: 0;
	line-height: var(--wim-lh-tight);
}
.wim-pain__body {
	margin: 0;
	color: var(--wim-muted);
	font-size: 15px;
	line-height: var(--wim-lh-body);
}

/* ============================================================
 * 3. Service cards
 * ============================================================ */
.wim-services {
	padding: var(--wim-section-y) 0;
	background-color: var(--wim-bg-paper);
}
.wim-services__grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--wim-space-6);
}
@media (max-width: 1023px) {
	.wim-services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.wim-services__grid { grid-template-columns: 1fr; }
}
.wim-services__card {
	display: flex;
	flex-direction: column;
	gap: var(--wim-space-4);
	height: 100%;
	color: var(--wim-ink);
	text-decoration: none;
}
.wim-services__card:hover .wim-services__more svg {
	transform: translateX(4px);
}
.wim-services__icon {
	width: 88px;
	height: 88px;
	border-radius: var(--wim-radius-md);
	background-image: var(--wim-gradient-tech-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--wim-line);
	overflow: hidden;
}
.wim-services__icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.wim-services__icon-fallback {
	font-family: var(--wim-font-serif);
	font-size: 28px;
	font-weight: var(--wim-weight-bold);
	background-image: var(--wim-gradient-tech);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.wim-services__title {
	margin: 0;
	font-size: var(--wim-fs-h4);
	line-height: var(--wim-lh-tight);
}
.wim-services__lead {
	margin: 0;
	color: var(--wim-muted);
	font-size: 15px;
}
.wim-services__more {
	display: inline-flex;
	align-items: center;
	gap: var(--wim-space-2);
	margin-top: auto;
	color: var(--wim-gold-dark);
	font-weight: var(--wim-weight-medium);
	font-size: var(--wim-fs-caption);
	letter-spacing: var(--wim-ls-meta);
	text-transform: uppercase;
}
.wim-services__more svg {
	transition: transform var(--wim-dur-base) var(--wim-ease);
}

/* ============================================================
 * 4. Flow diagram (dark)
 * ============================================================ */
.wim-section--dark.wim-flow {
	background-color: var(--wim-bg-dark-tech);
	color: var(--wim-on-dark);
	padding: var(--wim-section-y-lg) 0;
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.wim-section--dark .wim-section-heading__title {
	color: var(--wim-on-dark);
}

.wim-flow__diagram {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: var(--wim-space-3);
	flex-wrap: nowrap;
}
@media (max-width: 1023px) {
	.wim-flow__diagram {
		flex-direction: column;
		align-items: stretch;
		gap: var(--wim-space-5);
	}
}

.wim-flow__node {
	flex: 1 1 0;
	background-color: var(--wim-bg-dark-soft);
	border: 1px solid var(--wim-line-on-dark-soft);
	border-radius: var(--wim-radius-lg);
	padding: var(--wim-space-6);
	display: flex;
	flex-direction: column;
	gap: var(--wim-space-3);
	min-height: 240px;
	position: relative;
	overflow: hidden;
}
.wim-flow__node::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	height: 3px;
	width: 100%;
	background: var(--wim-gradient-tech);
}
.wim-flow__node--ai {
	box-shadow: var(--wim-shadow-tech);
	border-color: var(--wim-violet-soft-border);
}
.wim-flow__num {
	font-family: var(--wim-font-mono);
	font-size: var(--wim-fs-caption);
	color: var(--wim-accent-cyan);
	letter-spacing: var(--wim-ls-meta);
}
.wim-flow__label {
	font-size: var(--wim-fs-meta);
	letter-spacing: var(--wim-ls-meta);
	text-transform: uppercase;
	color: var(--wim-on-dark-mid);
}
.wim-flow__title {
	font-family: var(--wim-font-serif);
	font-size: var(--wim-fs-h4);
	margin: 0;
	color: var(--wim-on-dark);
	line-height: var(--wim-lh-tight);
}
.wim-flow__body {
	margin: 0;
	color: var(--wim-on-dark-soft);
	font-size: 15px;
	line-height: var(--wim-lh-body);
}

.wim-flow__arrow {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 80px;
}
@media (max-width: 1023px) {
	.wim-flow__arrow {
		transform: rotate(90deg);
		align-self: center;
	}
}

.wim-flow__note {
	margin-top: var(--wim-space-9);
	max-width: 720px;
}
.wim-flow__note .wim-codeblock {
	white-space: pre-wrap;
}

/* ============================================================
 * 5. Metrics counter
 * ============================================================ */
.wim-metrics {
	padding: var(--wim-section-y) 0;
	background-color: var(--wim-bg);
}
.wim-metrics__grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--wim-space-6);
}
@media (max-width: 1023px) {
	.wim-metrics__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.wim-metrics__grid { grid-template-columns: 1fr; }
}
.wim-metrics__item {
	display: flex;
	flex-direction: column;
	gap: var(--wim-space-2);
	padding: var(--wim-space-6) 0;
	border-top: 2px solid transparent;
	border-image: var(--wim-gradient-tech) 1;
	border-image-slice: 1;
}
.wim-metrics__value {
	display: inline-flex;
	align-items: baseline;
	font-family: var(--wim-font-serif);
	font-weight: var(--wim-weight-bold);
	font-size: clamp(40px, 5.6vw, 72px);
	line-height: 1.1;
	background-image: var(--wim-gradient-tech);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.wim-metrics__suffix {
	font-size: 0.55em;
	margin-left: 2px;
}
.wim-metrics__label {
	font-family: var(--wim-font-serif);
	font-size: var(--wim-fs-h5);
	font-weight: var(--wim-weight-bold);
	color: var(--wim-ink);
}
.wim-metrics__note {
	font-size: var(--wim-fs-caption);
	color: var(--wim-muted);
}
.wim-metrics__disclaimer {
	margin-top: var(--wim-space-7);
	font-size: var(--wim-fs-meta);
	color: var(--wim-muted);
}

/* ============================================================
 * 6. Case highlights
 * ============================================================ */
.wim-cases {
	padding: var(--wim-section-y) 0;
	background-color: var(--wim-bg-paper);
}
.wim-cases__grid {
	list-style: none;
	padding: 0;
	/* people-band と同じ余白で見出しから離す */
	margin: var(--wim-space-8) 0 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wim-space-6);
	align-items: stretch;
	justify-items: stretch;
	width: 100%;
}
.wim-cases__item {
	/* 列方向の flex にしてカード（子要素）を縦に積み、グリッドセルを完全に埋める */
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
}
.wim-cases__item .wim-cases__card {
	width: 100%;
	min-width: 0;
	flex: 1 1 auto;
}
/* people-band と同じブレークポイント（1023px）で 1 列に切り替える */
@media (max-width: 1023px) {
	.wim-cases__grid { grid-template-columns: 1fr; }
}
.wim-cases__card {
	display: flex;
	flex-direction: column;
	gap: var(--wim-space-4);
	height: 100%;
	overflow: hidden;
}
.wim-cases__media {
	position: relative;
	margin: calc(var(--wim-space-6) * -1) calc(var(--wim-space-6) * -1) 0;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-top-left-radius: inherit;
	border-top-right-radius: inherit;
	background: var(--wim-bg-soft);
}
.wim-cases__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
}
.wim-cases__card--link:hover .wim-cases__media img,
.wim-cases__card--link:focus-visible .wim-cases__media img {
	transform: scale(1.04);
}
.wim-cases__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wim-space-3);
}
.wim-cases__scale {
	font-size: var(--wim-fs-meta);
	color: var(--wim-muted);
	letter-spacing: var(--wim-ls-meta);
}
.wim-cases__title {
	margin: 0;
	font-size: var(--wim-fs-h4);
	line-height: var(--wim-lh-tight);
}
.wim-cases__body {
	margin: 0;
	color: var(--wim-muted);
	font-size: 15px;
}
.wim-cases__metric {
	display: flex;
	flex-direction: column;
	gap: var(--wim-space-1);
	margin: var(--wim-space-3) 0 0;
	padding-top: var(--wim-space-4);
	border-top: var(--wim-rule);
}
.wim-cases__metric-label {
	font-size: var(--wim-fs-meta);
	letter-spacing: var(--wim-ls-meta);
	text-transform: uppercase;
	color: var(--wim-muted);
	margin: 0;
}
.wim-cases__metric-value {
	font-family: var(--wim-font-serif);
	font-size: clamp(36px, 4vw, 56px);
	font-weight: var(--wim-weight-bold);
	line-height: 1.1;
	margin: 0;
}
.wim-text-gradient {
	background-image: var(--wim-gradient-tech);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.wim-cases__more {
	margin-top: var(--wim-space-8);
	text-align: center;
}

/* ============================================================
 * 7. Pricing preview
 * ============================================================ */
.wim-pricing {
	padding: var(--wim-section-y) 0;
	background-color: var(--wim-bg);
}
.wim-pricing__grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--wim-space-6);
	align-items: stretch;
}
@media (max-width: 1023px) {
	.wim-pricing__grid { grid-template-columns: 1fr; }
}

/* 有料 3 プラン横並び（pricing-preview） */
.wim-pricing__grid.wim-pricing__grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wim-space-5);
}
@media (max-width: 899px) {
	.wim-pricing__grid.wim-pricing__grid--three {
		grid-template-columns: 1fr;
	}
}

/* お試しプラン — 横長バナー */
.wim-pricing__trial {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: var(--wim-space-7);
	align-items: center;
	margin-bottom: var(--wim-space-7);
	padding: var(--wim-space-6) var(--wim-space-7);
	background-color: var(--wim-bg-paper);
	border: 2px solid transparent;
	background-image:
		linear-gradient(var(--wim-bg-paper), var(--wim-bg-paper)),
		linear-gradient(135deg, var(--wim-gold) 0%, var(--wim-navy) 100%);
	background-origin: border-box;
	background-clip: padding-box, border-box;
	border-radius: var(--wim-radius-lg);
	box-shadow: 0 12px 36px -16px rgba(184, 153, 104, 0.35);
}
.wim-pricing__trial-eyebrow {
	display: inline-block;
	font-size: var(--wim-fs-meta);
	letter-spacing: var(--wim-ls-meta);
	text-transform: uppercase;
	color: var(--wim-gold-dark);
	margin-bottom: var(--wim-space-2);
}
.wim-pricing__trial-name {
	font-family: var(--wim-font-serif);
	font-size: clamp(24px, 2.6vw, 32px);
	font-weight: var(--wim-weight-bold);
	color: var(--wim-ink);
	margin: 0 0 var(--wim-space-3);
	line-height: var(--wim-lh-heading);
}
.wim-pricing__trial-name-sub {
	font-size: 0.7em;
	color: var(--wim-gold-dark);
	font-weight: var(--wim-weight-medium);
	margin-left: var(--wim-space-2);
}
.wim-pricing__trial-lead {
	font-size: var(--wim-fs-lead);
	line-height: var(--wim-lh-body);
	color: var(--wim-ink);
	margin: 0 0 var(--wim-space-3);
}
.wim-pricing__trial-tagline {
	font-size: var(--wim-fs-body-sm);
	color: var(--wim-muted);
	margin: 0;
	font-style: italic;
}
.wim-pricing__trial-cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--wim-space-3);
	min-width: 200px;
}
.wim-pricing__trial-price-main {
	font-family: var(--wim-font-serif);
	font-size: clamp(40px, 4vw, 56px);
	font-weight: var(--wim-weight-bold);
	background-image: linear-gradient(135deg, var(--wim-gold) 0%, var(--wim-navy) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	line-height: 1;
}
@media (max-width: 767px) {
	.wim-pricing__trial {
		grid-template-columns: 1fr;
		text-align: center;
		padding: var(--wim-space-5);
	}
	.wim-pricing__trial-cta {
		min-width: 0;
	}
}
.wim-pricing__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--wim-space-4);
	height: 100%;
}
.wim-pricing__item--highlight .wim-pricing__card {
	border: 2px solid transparent;
	background-color: var(--wim-bg-paper);
	background-image: linear-gradient(var(--wim-bg-paper), var(--wim-bg-paper)), var(--wim-gradient-tech);
	background-origin: border-box;
	background-clip: padding-box, border-box;
	box-shadow: var(--wim-shadow-md);
}
.wim-pricing__flag {
	position: absolute;
	top: -14px;
	right: var(--wim-space-5);
}
.wim-pricing__eyebrow {
	font-size: var(--wim-fs-meta);
	letter-spacing: var(--wim-ls-meta);
	text-transform: uppercase;
	color: var(--wim-muted);
}
.wim-pricing__name {
	font-family: var(--wim-font-serif);
	font-size: var(--wim-fs-h3);
	font-weight: var(--wim-weight-bold);
	margin: 0;
}
.wim-pricing__price {
	display: flex;
	align-items: baseline;
	gap: var(--wim-space-2);
	margin: 0;
}
.wim-pricing__price-main {
	font-family: var(--wim-font-serif);
	font-size: var(--wim-fs-h2);
	font-weight: var(--wim-weight-bold);
	color: var(--wim-ink);
	line-height: 1.1;
}
.wim-pricing__price-period {
	font-size: var(--wim-fs-body);
	color: var(--wim-muted);
}
.wim-pricing__lead {
	margin: 0;
	color: var(--wim-muted);
	font-size: 15px;
	line-height: var(--wim-lh-body);
}
.wim-pricing__features {
	list-style: none;
	padding: 0;
	margin: var(--wim-space-3) 0;
	display: flex;
	flex-direction: column;
	gap: var(--wim-space-3);
	font-size: 15px;
}
.wim-pricing__features li {
	display: flex;
	align-items: flex-start;
	gap: var(--wim-space-3);
	color: var(--wim-ink);
}
.wim-pricing__features svg {
	color: var(--wim-gold);
	flex-shrink: 0;
	margin-top: 4px;
}
.wim-pricing__card .wim-btn {
	margin-top: auto;
}
.wim-pricing__more {
	margin-top: var(--wim-space-8);
	text-align: center;
}
.wim-pricing__more-link {
	display: inline-flex;
	align-items: center;
	gap: var(--wim-space-2);
	color: var(--wim-gold-dark);
	font-weight: var(--wim-weight-medium);
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ============================================================
 * 8. FAQ
 * ============================================================ */
.wim-faq {
	padding: var(--wim-section-y) 0;
	background-color: var(--wim-bg-paper);
}
.wim-container--narrow {
	max-width: var(--wim-container-narrow);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--wim-gutter);
	padding-right: var(--wim-gutter);
}
.wim-faq__list {
	margin-top: var(--wim-space-7);
}
.wim-faq__question {
	margin: 0;
}
.wim-faq__q-text {
	flex: 1 1 auto;
	font-family: var(--wim-font-serif);
	font-size: var(--wim-fs-h5);
	line-height: var(--wim-lh-tight);
}
.wim-accordion__trigger:hover .wim-faq__q-text,
.wim-accordion__trigger:focus-visible .wim-faq__q-text {
	color: var(--wim-gold-dark);
}
.wim-accordion__trigger:focus-visible {
	outline: var(--wim-focus-ring);
	outline-offset: var(--wim-focus-offset);
	border-radius: var(--wim-radius-sm);
}
.wim-accordion__panel:not([hidden]) {
	max-height: 1200px;
}

/* ============================================================
 * 9. CTA banner
 * ============================================================ */
.wim-cta-banner {
	padding: var(--wim-section-y) 0 var(--wim-section-y-lg);
	background-color: var(--wim-bg);
}
.wim-cta-banner__inner {
	position: relative;
	overflow: hidden;
	border-radius: var(--wim-radius-xl);
	background-color: var(--wim-bg-dark-tech);
	color: var(--wim-on-dark);
	padding: var(--wim-space-10) var(--wim-space-8);
	display: grid;
	grid-template-columns: 1fr auto;
	gap: var(--wim-space-7);
	align-items: center;
	isolation: isolate;
}
@media (max-width: 1023px) {
	.wim-cta-banner__inner {
		grid-template-columns: 1fr;
		padding: var(--wim-space-8) var(--wim-space-6);
	}
}
.wim-cta-banner__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}
.wim-cta-banner__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.6;
}
.wim-cta-banner__orb--cyan {
	width: 320px;
	height: 320px;
	left: -80px;
	top: -80px;
	background: radial-gradient(circle, var(--wim-accent-cyan) 0%, transparent 70%);
}
.wim-cta-banner__orb--violet {
	width: 360px;
	height: 360px;
	right: -120px;
	bottom: -120px;
	background: radial-gradient(circle, var(--wim-accent-violet) 0%, transparent 70%);
}
.wim-cta-banner__title {
	font-family: var(--wim-font-serif);
	font-size: var(--wim-fs-h2);
	font-weight: var(--wim-weight-bold);
	color: var(--wim-on-dark);
	margin: var(--wim-space-3) 0 var(--wim-space-4);
	line-height: var(--wim-lh-tight);
}
.wim-cta-banner__lead {
	margin: 0;
	color: var(--wim-on-dark-soft);
	max-width: 56ch;
	font-size: var(--wim-fs-body);
	line-height: var(--wim-lh-body);
}
.wim-cta-banner__actions {
	display: flex;
	flex-direction: column;
	gap: var(--wim-space-3);
	align-items: stretch;
	min-width: 280px;
}
.wim-cta-banner .wim-btn--secondary {
	color: var(--wim-on-dark);
	border-color: var(--wim-on-dark-soft);
}
.wim-cta-banner .wim-btn--secondary:hover,
.wim-cta-banner .wim-btn--secondary:focus-visible {
	background-color: var(--wim-on-dark);
	color: var(--wim-ink);
}
.wim-cta-banner__line {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--wim-space-2);
	min-height: 56px;
	padding: var(--wim-space-3) var(--wim-space-7);
	font-family: var(--wim-font-sans);
	font-size: var(--wim-fs-body);
	font-weight: var(--wim-weight-medium);
	text-decoration: none;
	border-radius: var(--wim-radius-pill);
	background-color: var(--wim-line-brand);
	color: var(--wim-on-dark);
	transition: background-color var(--wim-dur-base) var(--wim-ease),
	            box-shadow var(--wim-dur-base) var(--wim-ease),
	            transform var(--wim-dur-base) var(--wim-ease);
}
.wim-cta-banner__line:hover,
.wim-cta-banner__line:focus-visible {
	background-color: var(--wim-line-brand-dark);
	box-shadow: var(--wim-line-brand-shadow);
	transform: translateY(-1px);
}
.wim-cta-banner__line:focus-visible {
	outline: var(--wim-focus-ring);
	outline-offset: var(--wim-focus-offset);
}

/* ============================================================
 * People Band — Human × AI ビジュアル帯
 * ============================================================ */
.wim-people-band {
	padding: var(--wim-section-y) 0;
	background-color: var(--wim-bg-soft);
}
.wim-people-band__grid {
	list-style: none;
	margin: var(--wim-space-8) 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wim-space-6);
}
@media (max-width: 1023px) {
	.wim-people-band__grid {
		grid-template-columns: 1fr;
	}
}
.wim-people-band__item {
	display: flex;
	flex-direction: column;
	gap: var(--wim-space-4);
	background-color: var(--wim-bg-paper);
	border: var(--wim-rule);
	border-radius: var(--wim-radius-md);
	padding: 0 0 var(--wim-space-6);
	overflow: hidden;
	transition: box-shadow var(--wim-dur-base) var(--wim-ease),
				transform var(--wim-dur-base) var(--wim-ease);
}
.wim-people-band__item:hover {
	box-shadow: var(--wim-shadow-md);
	transform: translateY(-2px);
}
.wim-people-band__media {
	margin: 0;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background-color: var(--wim-bg-soft);
}
.wim-people-band__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.wim-people-band__title {
	margin: 0;
	padding: 0 var(--wim-space-6);
	font-family: var(--wim-font-serif);
	font-size: var(--wim-fs-h4);
	font-weight: var(--wim-weight-bold);
	color: var(--wim-ink);
	line-height: var(--wim-lh-heading);
}
.wim-people-band__body {
	margin: 0;
	padding: 0 var(--wim-space-6);
	font-size: var(--wim-fs-body);
	line-height: var(--wim-lh-body);
	color: var(--wim-muted);
}


/* --- スマホ: hero 画像を引きにして全景（AI ダッシュボード）を見せる ---
   背景フルブリードをやめ、画像を上部にアスペクト 3:2 で配置し、テキストを下段へ。
   元に戻すにはこの @media ブロックごと削除する。 */
@media (max-width: 768px) {
	.wim-hero--bleed {
		flex-direction: column;
		min-height: 0;
		padding-top: 0;
	}
	.wim-hero--bleed .wim-hero__media {
		position: relative;
		inset: auto;
		width: 100%;
		aspect-ratio: 3 / 2;
		z-index: 0;
	}
	.wim-hero--bleed .wim-hero__bg-image {
		object-fit: cover;
		object-position: center;
	}
	.wim-hero--bleed .wim-hero__scrim,
	.wim-hero--bleed .wim-hero__scrim--sides {
		display: none !important;
	}
	.wim-hero__inner--split {
		padding-top: var(--wim-space-7);
		padding-bottom: var(--wim-space-6);
		gap: var(--wim-space-5);
	}
	.wim-hero--split .wim-hero__cta {
		align-items: center;
		gap: var(--wim-space-4);
		margin-top: calc(var(--wim-space-2) * -1);
	}
	.wim-hero--split .wim-hero__cta .wim-hero__actions {
		flex-direction: column;
		width: min(100%, 336px);
		gap: var(--wim-space-3);
	}
	.wim-hero--split .wim-hero__keywords,
	.wim-hero--bleed .wim-hero__keywords {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--wim-space-3);
		width: min(100%, 296px);
		margin: var(--wim-space-1) auto 0;
		justify-content: center;
	}
	.wim-hero--bleed .wim-hero__keyword {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 36px;
		width: 100%;
		padding: var(--wim-space-2) var(--wim-space-3);
		text-align: center;
	}
}
