/**
 * Home MV（メインビジュアル）
 * SWELL #main_visual をモックに寄せる（モバイルファースト）
 *
 * カスタマイザー入力の目安:
 * - メインテキスト: Technology（英字・大）
 * - サブテキスト: 5軸加工（日本語・上に表示）
 * - テキスト位置: 右
 * - テキスト色: #ffffff
 * - 矢印ナビ: ON
 */

/* --------------------------------------------------------------------------
 * Hero shell（キャッチ＋MV）
 * SP: 縦積み / PC(960px〜): 横並び
 * -------------------------------------------------------------------------- */
.c-home-hero {
	position: relative;
	overflow: visible;
	background-color: var(--color-bg);
}

/* --------------------------------------------------------------------------
 * Intro（キャッチコピー・リード）
 * -------------------------------------------------------------------------- */
.c-home-mv__intro {
	/*
	 * 背景の図形のスクロール連動（assets/js/mv-parallax.js が --mv-parallax に 0〜1 を書き出す）.
	 * --mv-move-*: 画面1つ分スクロールしたときの移動量（菱形は上へ、角丸四角は下へ）.
	 */
	--mv-parallax: 0;
	--mv-move-diamond: -40px;
	--mv-move-square: 30px;

	position: relative;
	overflow: hidden;
	padding-top: var(--space-4);
	padding-right: var(--section-pad-x);
	padding-bottom: var(--space-4);
	padding-left: var(--section-pad-x);
	background-color: #F5F6F7;
  background-image:
    linear-gradient(to right, #FFFFFF 1px, transparent 1px),
    linear-gradient(to bottom, #FFFFFF 1px, transparent 1px);
  background-size: 72px 72px;
	background-position: center top;
}

/* ブランド菱形（青→緑グラデの正方形を回転） */
.c-home-mv__intro::before {
	content: "";
	position: absolute;
	z-index: 0;
	top: 42%;
	left: 22%;
	width: clamp(250px, 149.9891px + 31.2534vw, 525px);
	height: clamp(250px, 149.9891px + 31.2534vw, 525px);
	background-image: linear-gradient(
		90deg,
		var(--color-blue) 0%,
		var(--color-green) 100%
	);
	opacity: 0.1;
	pointer-events: none;
	/*
	 * スクロールすると上へ動き、回転が 32° → 46° に増える（--mv-parallax）.
	 * それとは別に、ゆっくり回り続け（--mv-spin）、ふわふわ移動しながら奥行き方向に傾く（--mv-float-x / --mv-float-y / --mv-tilt-x / --mv-tilt-y）.
	 */
	transform:
		perspective(800px)
		translate(
			var(--mv-float-x),
			calc(-50% + var(--mv-parallax) * var(--mv-move-diamond) + var(--mv-float-y))
		)
		rotateX(var(--mv-tilt-x))
		rotateY(var(--mv-tilt-y))
		rotate(calc(32deg + var(--mv-parallax) * 14deg + var(--mv-spin)));
	animation:
		mv-diamond-spin 40s linear infinite,
		mv-diamond-float 9s ease-in-out infinite alternate;
	will-change: transform;
}

/*
 * 菱形・角丸四角の常時アニメーション用の値（それぞれの要素で別々に動く）. transform の中で足し合わせるため、アニメーションできる変数として登録する
 * （個別の rotate プロパティだと translateY(-50%) の後に回り、中心からずれて円を描いてしまう）.
 */
@property --mv-spin {
	syntax: "<angle>";
	inherits: false;
	initial-value: 0deg;
}

@property --mv-float-x {
	syntax: "<length>";
	inherits: false;
	initial-value: 0px;
}

@property --mv-float-y {
	syntax: "<length>";
	inherits: false;
	initial-value: 0px;
}

@property --mv-tilt-x {
	syntax: "<angle>";
	inherits: false;
	initial-value: 0deg;
}

@property --mv-tilt-y {
	syntax: "<angle>";
	inherits: false;
	initial-value: 0deg;
}

/* 1周60秒でゆっくり回り続ける. */
@keyframes mv-diamond-spin {
	to {
		--mv-spin: 360deg;
	}
}

/* 9秒かけて右上へふわっと移動しながら奥へ傾き、同じ時間で戻る. */
@keyframes mv-diamond-float {
	from {
		--mv-float-x: 0px;
		--mv-float-y: 0px;
		--mv-tilt-x: 0deg;
		--mv-tilt-y: 0deg;
	}

	to {
		--mv-float-x: 24px;
		--mv-float-y: -28px;
		--mv-tilt-x: 35deg;
		--mv-tilt-y: -25deg;
	}
}

/* 角丸四角: 7秒かけて左下へふわっと移動しながら奥へ傾き、同じ時間で戻る（回転は菱形と同じ keyframes を逆向き・45秒で1周）. */
@keyframes mv-square-float {
	from {
		--mv-float-x: 0px;
		--mv-float-y: 0px;
		--mv-tilt-x: 0deg;
		--mv-tilt-y: 0deg;
	}

	to {
		--mv-float-x: -20px;
		--mv-float-y: 22px;
		--mv-tilt-x: -40deg;
		--mv-tilt-y: 30deg;
	}
}

/* ブランド角丸四角（緑→青グラデを回転） */
.c-home-mv__intro::after {
	content: "";
	position: absolute;
	z-index: 0;
	top: 50%;
	right: -10%;
	width: clamp(130px, 82.7273px + 14.7727vw, 260px);
	height: clamp(130px, 82.7273px + 14.7727vw, 260px);
	background-image: linear-gradient(
		90deg,
		var(--color-green) 0%,
		var(--color-blue) 100%
	);
	opacity: 0.1;
	pointer-events: none;
	/*
	 * スクロールすると下へ動き、回転が 15° → 0° に戻る（--mv-parallax）.
	 * それとは別に、菱形と反対向きにゆっくり回り続け、左下へふわふわ移動しながら奥行き方向に傾く.
	 */
	transform:
		perspective(800px)
		translate(
			var(--mv-float-x),
			calc(-50% + var(--mv-parallax) * var(--mv-move-square) + var(--mv-float-y))
		)
		rotateX(var(--mv-tilt-x))
		rotateY(var(--mv-tilt-y))
		rotate(calc(15deg - var(--mv-parallax) * 15deg + var(--mv-spin)));
	animation:
		mv-diamond-spin 30s linear infinite reverse,
		mv-square-float 7s ease-in-out infinite alternate;
	will-change: transform;
}

/* --------------------------------------------------------------------------
 * 背景のグラデーションの破片（parts/top/mv-intro.php の .c-home-mv__shards）.
 * 三角形・四角形のかけらが、それぞれ違う速さ・向きで漂いながら回る.
 * 破片ごとの位置・大きさ・形・動き（--dx / --dy: 移動量、--r0 → --r1: 回転、--rx / --ry: 奥行き方向の傾き）は下の --1〜--6 で決める.
 * 全体はスクロール連動（--mv-parallax. assets/js/mv-parallax.js）で少し上へ動く.
 * 全体の濃さは .c-home-mv__shards の opacity でまとめて調整する.
 * -------------------------------------------------------------------------- */
.c-home-mv__shards {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0.8;
	/*
	 * 破片全体を右へずらす（--shard-shift. 960px 以上は大きめ）. 右端からはみ出した分は .c-home-mv__intro の overflow: hidden で切れる
	 * （ページの横幅は広がらない）.
	 */
	transform: translate(var(--shard-shift, 10%), calc(var(--mv-parallax) * -50px));
	perspective: 600px;
	display: none;
}

.c-home-mv__shard {
	--size: 60px;
	--dx: 30px;
	--dy: 30px;
	--r0: 0deg;
	--r1: 45deg;
	--rx: 60deg;
	--ry: 40deg;

	position: absolute;
	width: calc(var(--size) * var(--shard-scale, 0.7));
	height: calc(var(--size) * var(--shard-scale, 0.7));
	background-image: linear-gradient(135deg, var(--color-blue) 0%, var(--color-green) 100%);
	animation: mv-shard-drift 11s ease-in-out infinite alternate;
	will-change: transform;
}

@keyframes mv-shard-drift {
	from {
		transform: translate(0, 0) rotateX(0deg) rotateY(0deg) rotate(var(--r0));
	}

	to {
		transform: translate(var(--dx), var(--dy)) rotateX(var(--rx)) rotateY(var(--ry)) rotate(var(--r1));
	}
}

.c-home-mv__shard--1 {
	--size: 70px;
	--dx: 34px;
	--dy: 42px;
	--r0: -10deg;
	--r1: 50deg;
	--rx: 70deg;
	--ry: 20deg;

	top: 8%;
	left: 4%;
	clip-path: polygon(50% 0, 100% 100%, 0 88%);
	opacity: 0.15;
	animation-duration: 11s;
}

.c-home-mv__shard--2 {
	--size: 44px;
	--dx: -36px;
	--dy: 26px;
	--r0: 20deg;
	--r1: -40deg;
	--rx: -50deg;
	--ry: 60deg;

	top: 16%;
	left: 64%;
	clip-path: polygon(0 20%, 80% 0, 100% 70%, 30% 100%);
	background-image: linear-gradient(135deg, var(--color-green) 0%, var(--color-blue) 100%);
	opacity: 0.2;
	animation-duration: 8s;
	animation-delay: -3s;
}

.c-home-mv__shard--3 {
	--size: 92px;
	--dx: 40px;
	--dy: -30px;
	--r0: 0deg;
	--r1: 35deg;
	--rx: 40deg;
	--ry: -30deg;

	top: 56%;
	left: 10%;
	clip-path: polygon(0 0, 100% 40%, 20% 100%);
	opacity: 0.11;
	animation-duration: 13s;
	animation-delay: -5s;
}

.c-home-mv__shard--4 {
	--size: 56px;
	--dx: -30px;
	--dy: -36px;
	--r0: 15deg;
	--r1: 75deg;
	--rx: -80deg;
	--ry: -20deg;

	top: 72%;
	left: 70%;
	clip-path: polygon(10% 0, 100% 30%, 70% 100%, 0 60%);
	background-image: linear-gradient(135deg, var(--color-green) 0%, var(--color-blue) 100%);
	opacity: 0.17;
	animation-duration: 10s;
	animation-delay: -2s;
}

.c-home-mv__shard--5 {
	--size: 34px;
	--dx: -22px;
	--dy: 32px;
	--r0: 0deg;
	--r1: -90deg;
	--rx: 120deg;
	--ry: 40deg;

	top: 38%;
	left: 88%;
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
	opacity: 0.21;
	animation-duration: 7s;
	animation-delay: -4s;
}

.c-home-mv__shard--6 {
	--size: 64px;
	--dx: 26px;
	--dy: -40px;
	--r0: -20deg;
	--r1: 30deg;
	--rx: 30deg;
	--ry: -70deg;

	top: 86%;
	left: 38%;
	clip-path: polygon(0 30%, 60% 0, 100% 50%, 40% 100%);
	opacity: 0.13;
	animation-duration: 12s;
	animation-delay: -7s;
}

.c-home-mv__introInner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--content-width);
	margin-right: auto;
	margin-left: auto;
}

.c-home-mv__catch {
	margin: 0;
	font-size: clamp(1.75rem, 1.625rem + 0.625vw, 2rem);
	font-weight: 700;
	line-height: 1.46875;
	color: var(--color-navy);
}

.c-home-mv__lead {
	margin: var(--space-2) 0 0;
	font-size: clamp(0.8125rem, 0.7813rem + 0.1563vw, 0.875rem);
	font-weight: 700;
	line-height: 1.7;
	letter-spacing: 0.02em;
	color: var(--color-navy);
}

/* --------------------------------------------------------------------------
 * Consult（SP: MV下 / PC: 左カラム）
 * -------------------------------------------------------------------------- */
.c-home-mv__consult {
	padding: var(--space-4) var(--section-pad-x) var(--space-3);
	text-align: center;
	background-color: var(--color-bg);
}

.c-home-mv__consultInner {
	width: 100%;
	max-width: var(--content-width);
	margin-right: auto;
	margin-left: auto;
}

.c-home-mv__consultTitle {
	margin: 0;
	font-size: clamp(1.125rem, 0.9432rem + 0.9091vw, 1.625rem);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.04em;
	color: var(--color-text-muted);
}

.c-home-mv__consultText {
	margin: 0.4em 0 0;
	font-size: clamp(0.8125rem, 0.6534rem + 0.7955vw, 1.25rem);
	font-weight: 400;
	line-height: 1.5;
	color: var(--color-text-muted);
}

.c-home-mv__consultBtns {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin-top: var(--space-3);
}

.c-home-mv__consultBtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 248px;
	min-height: 48px;
	padding: 0.65em 1.25em;
	border-radius: var(--radius-pill);
	font-size: clamp(0.875rem, 0.7841rem + 0.4545vw, 1.125rem);
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
	transition: opacity 0.2s ease;
}

.c-home-mv__consultBtn:hover,
.c-home-mv__consultBtn:focus-visible {
	opacity: 0.85;
	text-decoration: none;
}

.c-home-mv__consultBtn--contact {
	position: relative;
	color: var(--color-white);
	background-image: var(--grad-cta-slide);
	background-size: 200% 100%;
	background-position: 0% 0%;
	transition: background-position 0.4s ease;
}

.c-home-mv__consultBtn--contact:hover,
.c-home-mv__consultBtn--contact:focus-visible {
	opacity: 1;
	background-position: 100% 0%;
}

.c-home-mv__consultBtn--contact::after {
	position: absolute;
	top: calc(50% - 18px);
	right: 6px;
	width: 36px;
	height: 36px;
	background: url(../img/icon-button.svg) no-repeat center center / contain;
	content: "";
}

.c-home-mv__consultBtn--estimate {
	display: none;
	color: var(--color-blue);
	background-color: var(--color-bg);
	border: 1px solid var(--color-blue);
}

@media (min-width: 768px) {
	.c-home-mv__intro {
		padding-top: var(--space-5);
		padding-bottom: var(--space-5);
	}

	.c-home-mv__catch {
		font-size: clamp(1.875rem, 3.2vw, 2.5rem);
		line-height: 1.4;
	}

	.c-home-mv__lead {
		margin-top: var(--space-3);
		font-size: var(--fs-md);
		line-height: 1.8;
	}
}

@media (min-width: 960px) {
	/* 左: キャッチ上＋相談下 / 右: MV（高さに合わせて左右を揃える） */
	.c-home-hero {
		overflow: visible;
		display: grid;
		grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.22fr);
		grid-template-rows: 1fr auto;
		grid-template-areas:
			"intro mv"
			"consult mv";
		align-items: stretch;
		column-gap: clamp(28px, 3.5vw, 48px);
		row-gap: var(--space-3);
		width: 100%;
		margin-right: auto;
		margin-left: auto;
		padding-top: var(--space-5);
		padding-right: var(--section-pad-x);
		padding-bottom: calc(var(--space-5) + 8px);
		padding-left: 7vw;
	}

	.c-home-hero::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: calc(100% - 200px);
		background-color: transparent;
	}

	.c-home-mv__intro {
		overflow: visible;
		grid-area: intro;
		align-self: start;
		padding: var(--space-2) 0 0;
		background: none;
	}

	/* PC用デコ位置（スクロール連動の移動量も大きくする） */
	.c-home-mv__intro {
		--mv-move-diamond: -90px;
		--mv-move-square: 70px;
	}

	/* 破片は PC では元の大きさ（スマホは 0.7 倍）で、さらに右へ寄せる */
	.c-home-mv__shards {
		--shard-scale: 1;
		--shard-shift: 20%;
	}

	.c-home-mv__intro::before {
		top: 38%;
		left: 64%;
		width: clamp(280px, 22vw, 420px);
		height: clamp(280px, 22vw, 420px);
	}

	.c-home-mv__intro::after {
		top: 58%;
		right: 16%;
		width: clamp(160px, 14vw, 240px);
		height: clamp(160px, 14vw, 240px);
	}

	.c-home-mv__introInner {
		max-width: none;
		margin: 0;
	}

	.c-home-mv.p-mainVisual {
		grid-area: mv;
		min-width: 0;
		background-color: transparent;
	}

	.c-home-mv .swiper-wrapper {
		overflow: hidden;
	}

	.c-home-mv__catch {
		font-size: clamp(2.25rem, -0.75rem + 5vw, 3rem);
		line-height: 1.6;
	}

	.c-home-mv__lead {
		margin-top: var(--space-3);
		font-size: var(--fs-md);
		line-height: 1.8;
	}

	.c-home-mv__consult {
		grid-area: consult;
		align-self: end;
		position: relative;
		max-width: 420px;
		padding: var(--space-3) var(--space-3) calc(var(--space-3) - 2px);
		text-align: left;
		border-radius: var(--radius-md);
		background-color: rgba(255, 255, 255, 0.8);
		backdrop-filter: blur(13px) brightness(1.09) opacity(0.42);
		-webkit-backdrop-filter: blur(13px) brightness(1.09) opacity(0.42);
	}

	.c-home-mv__consultInner {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		max-width: none;
		margin: 0;
	}

	.c-home-mv__consultTitle {
		font-size: clamp(1rem, 0.9rem + 0.3vw, 1.125rem);
		letter-spacing: 0.04em;
		color: var(--color-text-muted);
	}

	.c-home-mv__consultText {
		margin: 0.35em 0 0;
		font-size: var(--fs-sm);
		color: var(--color-text-muted);
	}

	.c-home-mv__consultBtns {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: flex-start;
		gap: 10px;
		margin-top: var(--space-2);
	}

	.c-home-mv__consultBtn {
		width: auto;
		max-width: none;
		min-width: 160px;
		min-height: 40px;
		padding: 0.5em 1.35em;
		font-size: 1rem;
	}

	.c-home-mv__consultBtn--contact::after {
		display: none;
		content: none;
	}

	.c-home-mv__consultBtn--estimate {
		display: inline-flex;
		border-width: 2px;
	}
}

@media (min-width: 1200px) {
	.c-home-mv__catch {
		font-size: clamp(3rem, 1.3333rem + 2.2222vw, 4rem);
	}

	.c-home-mv__lead {
		font-size: clamp(1.125rem, 0.5rem + 0.8333vw, 1.5rem);
	}

	.c-home-mv__consultTitle {
		font-size: clamp(1.1875rem, 0.4583rem + 0.9722vw, 1.625rem);
	}

	.c-home-mv__consultText {
		font-size: clamp(1rem, 0.5833rem + 0.5556vw, 1.25rem);
	}

	.c-home-mv__consultBtns {
		justify-content: center;
		width: 100%;
	}

	.c-home-mv__consultBtn {
		width: 100%;
		min-height: 48px;
	}
}

/* --------------------------------------------------------------------------
 * Shell
 * -------------------------------------------------------------------------- */
.c-home-mv.p-mainVisual {
	overflow: visible;
	background-color: transparent;
}

.c-home-mv .p-mainVisual__inner {
	position: relative;
	overflow: visible;
	height: calc(77.35368vw + 48px);
	padding-bottom: 48px;
}

.c-home-mv .p-mainVisual__inner .swiper-wrapper {
	box-shadow: 0 24px 50px 0 rgba(0, 0, 0, 0.07);
}

.c-home-mv .p-mainVisual__slide {
	min-height: 220px;
}

.c-home-mv.-height-set .p-mainVisual__slide,
.c-home-mv.-height-full .p-mainVisual__slide {
	min-height: 0;
}

.c-home-mv .p-mainVisual__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* フィルター演出（ドット/ブラシ等）の疑似要素がスライド全体を覆いリンクを奪うのを防ぐ */
.c-home-mv .c-filterLayer::before,
.c-home-mv .c-filterLayer::after {
	pointer-events: none;
}

/* --------------------------------------------------------------------------
 * Text layer + gradient panel（SP/PC: 右下パネル）
 * -------------------------------------------------------------------------- */
.c-home-mv .p-mainVisual__textLayer {
	display: flex;
	position: absolute;
	z-index: 2;
	top: auto;
	right: 0;
	bottom: 0;
	left: auto;
	flex-direction: column-reverse;
	align-items: flex-end;
	justify-content: flex-start;
	gap: 8px;
	height: auto;
	padding: 0 5vw 7.5vw;
	transform: none;
	color: var(--color-white);
	text-align: right;
	text-shadow: none !important;
	pointer-events: none;
}

.c-home-mv .p-mainVisual__slideTitle {
	position: relative;
	z-index: 1;
	margin: 0;
	font-size: clamp(1.625rem, 0.75rem + 4.375vw, 6rem);
	font-weight: 600;
	font-family: var(--font-source-sans-3);
	line-height: 1;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.8);
}

.c-home-mv .p-mainVisual__slideText {
	position: relative;
	z-index: 1;
	font-size: clamp(1.25rem, 1.125rem + 0.625vw, 1.875rem);
	font-weight: 700;
	line-height: 1;
	color: var(--color-white);
}

.c-home-mv .p-mainVisual__slideBtn {
	position: relative;
	z-index: 1;
	margin-top: var(--space-2);
}

/* --------------------------------------------------------------------------
 * Controls bar
 * -------------------------------------------------------------------------- */
.c-home-mv__controls {
	display: flex;
	position: absolute;
	z-index: 3;
	right: 0;
	bottom: 0;
	left: 0;
	align-items: center;
	justify-content: flex-end;
	gap: var(--space-2);
	min-height: 48px;
	padding: 0 var(--section-pad-x);
}

.c-home-mv__nav {
	display: flex;
	align-items: center;
	gap: var(--space-1);
}

.c-home-mv .swiper-button-prev,
.c-home-mv .swiper-button-next,
.c-home-mv__pause {
	display: flex;
	position: static;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 0;
	background: none;
	color: var(--color-blue);
	transform: none;
	cursor: pointer;
	appearance: none;
}

.c-home-mv .swiper-button-prev::after,
.c-home-mv .swiper-button-next::after {
	display: none;
	content: none;
}

.c-home-mv__navIcon {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
}

.c-home-mv .swiper-button-prev:hover,
.c-home-mv .swiper-button-next:hover,
.c-home-mv__pause:hover,
.c-home-mv .swiper-button-prev:focus-visible,
.c-home-mv .swiper-button-next:focus-visible,
.c-home-mv__pause:focus-visible {
	opacity: 0.85;
}

.c-home-mv .swiper-pagination {
	position: static;
	width: auto;
}

@media (min-width: 768px) {
	.c-home-mv .p-mainVisual__inner {
		height: calc(63.6701vw + 56px);
		max-height: 520px;
		padding-bottom: 56px;
	}

	.c-home-mv__controls {
		min-height: 56px;
	}

	.c-home-mv__nav {
		gap: var(--space-2);
	}

	.c-home-mv .swiper-button-prev,
	.c-home-mv .swiper-button-next,
	.c-home-mv__pause {
		width: 36px;
		height: 36px;
	}
}

/* --------------------------------------------------------------------------
 * PC
 * -------------------------------------------------------------------------- */
@media (min-width: 960px) {
	.c-home-mv.p-mainVisual {
		width: calc(100% + var(--section-pad-x));
		margin-right: calc(var(--section-pad-x) * -1);
		margin-bottom: -24px;
	}

	.c-home-mv .p-mainVisual__inner {
		height: 100%;
		max-height: inherit;
	}

	.c-home-mv .p-mainVisual__slide {
		min-height: 400px;
	}

	.c-home-mv .p-mainVisual__textLayer {
		right: 0;
		bottom: 0;
		align-items: flex-end;
		justify-content: flex-end;
		padding: 0 10vw 2.6vw 0;
	}

	.c-home-mv .p-mainVisual__slideText {
		margin-right: 2em;
	}

	/* 画像下・右寄せの丸ナビ */
	.c-home-mv__controls {
		right: 0;
		left: auto;
		justify-content: flex-end;
		gap: 8px;
		min-height: 44px;
		padding: 0 var(--section-pad-x);
		background-color: transparent;
	}

}

@media (min-width: 1024px) {
	/* デザインキャプチャの比率に合わせる（左カラム:画像 ≒ 0.51fr:1fr、画像は右端まで） */
	.c-home-hero {
		grid-template-columns: minmax(0, 0.68fr) minmax(0, 1fr);
		column-gap: clamp(32px, 4.1vw, 80px);
		row-gap: clamp(32px, 4.1vw, 80px);
		padding-top: clamp(64px, -145.4545px + 20.4545vw, 100px);
		padding-right: 0;
	}

	/* hero の padding-right が 0 のため、bleed 分のはみ出しは不要 */
	.c-home-mv.p-mainVisual {
		width: 100%;
		margin-right: 0;
	}

	.c-home-mv__intro {
		padding-top: clamp(32px, -72.7273px + 10.2273vw, 50px);
	}

	.c-home-mv__consult {
		max-width: 580px;
	}
}

@media (min-width: 1200px) {
	.c-home-mv .p-mainVisual__inner {
		padding-bottom: 68px;
	}

	.c-home-mv__consult {
		padding: 42px 7.25% 28px;
	}

	.c-home-mv__controls {
		padding-right: 4vw;
	}

	.c-home-mv__nav {
		gap: 20px;
	}

	.c-home-mv .swiper-button-prev,
	.c-home-mv .swiper-button-next,
	.c-home-mv__pause {
		width: 48px;
		height: 48px;
	}
}

@media (min-width: 1560px) {
	.c-home-hero {
		grid-template-columns: 614px 1fr;
		column-gap: 24px;
		row-gap: 8.3333vw;
	}

	.c-home-mv__controls {
		padding-right: 8vw;
	}
}
