/* ==========================================================
   ADTRUCK JAPAN
   HOME HERO - ADVERTISING VISUAL
========================================================== */

.adhero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: #031426;
	color: #fff;
}


/* ==========================================================
   BACKGROUND VIDEO
========================================================== */

.adhero__media {
	position: absolute;
	z-index: 0;
	inset: 0;
	overflow: hidden;

	background:
		url("../images/hero-bg-poster.webp")
		center center / cover no-repeat;
}

.adhero__video {
	position: absolute;
	top: 50%;
	left: 50%;

	width: 100%;
	height: 100%;

	object-fit: cover;
	object-position: center;

	transform: translate(-50%, -50%) scale(1.025);

	opacity: 0;

	transition: opacity .9s ease;
}

.adhero__video.is-ready {
	opacity: 1;
}


.adhero__overlay {
	position: absolute;
	z-index: 1;
	inset: 0;

	background:
		linear-gradient(
			90deg,
			rgba(2, 16, 30, .96) 0%,
			rgba(2, 16, 30, .90) 23%,
			rgba(2, 16, 30, .71) 45%,
			rgba(2, 16, 30, .34) 72%,
			rgba(2, 16, 30, .56) 100%
		),
		linear-gradient(
			180deg,
			rgba(2, 15, 29, .20) 0%,
			rgba(2, 15, 29, .08) 50%,
			rgba(2, 15, 29, .88) 100%
		);
}


.adhero__glow {
	position: absolute;
	z-index: 2;
	left: 28%;
	bottom: 17%;

	width: 520px;
	height: 160px;

	background: rgba(226, 22, 32, .18);

	filter: blur(90px);
	transform: rotate(-8deg);

	pointer-events: none;
}


/* ==========================================================
   MAIN
========================================================== */

.adhero__inner {
	position: relative;
	z-index: 5;

	display: grid;
	grid-template-columns:
		minmax(460px, .90fr)
		minmax(560px, 1.10fr);

	align-items: center;
	gap: clamp(38px, 4vw, 76px);

	min-height: 650px;
	padding-top: 72px;
	padding-bottom: 62px;
}


/* ==========================================================
   COPY
========================================================== */

.adhero__copy {
	position: relative;
	z-index: 10;
	min-width: 0;
}


.adhero__eyebrow {
	margin: 0 0 24px;

	color: rgba(255,255,255,.80);

	font-size: 12px;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: .28em;
}


.adhero__title {
	margin: 0;

	color: #fff;

	font-size: clamp(54px, 4.9vw, 82px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.055em;
}


.adhero__title span,
.adhero__title strong {
	display: block;
	white-space: nowrap;
}


.adhero__title strong {
	margin-top: 10px;
	font-weight: 800;
}


.adhero__lead {
	max-width: 610px;
	margin: 30px 0 0;

	color: rgba(255,255,255,.88);

	font-size: 15px;
	font-weight: 600;
	line-height: 2;
}


/* ==========================================================
   CTA
========================================================== */

.adhero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;

	margin-top: 31px;
}


.adhero__button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;

	min-height: 58px;
	padding: 12px 23px;

	border-radius: 5px;

	font-size: 14px;
	font-weight: 800;
	line-height: 1.4;
	text-decoration: none;

	transition:
		transform .22s ease,
		background-color .22s ease,
		border-color .22s ease;
}


.adhero__button:hover {
	transform: translateY(-2px);
}


.adhero__button--primary {
	min-width: 235px;

	color: #fff;
	background: #e21b23;
	border: 1px solid #e21b23;

	box-shadow: 0 14px 32px rgba(226,27,35,.22);
}


.adhero__button--secondary {
	min-width: 205px;

	color: #fff;
	background: rgba(255,255,255,.06);

	border: 1px solid rgba(255,255,255,.40);

	backdrop-filter: blur(8px);
}


.adhero__button i {
	font-style: normal;
	font-size: 18px;
}


/* ==========================================================
   FEATURES
========================================================== */

.adhero__features {
	display: flex;
	flex-wrap: wrap;
	gap: 9px 23px;

	margin: 25px 0 0;
	padding: 0;

	list-style: none;
}


.adhero__features li {
	display: flex;
	align-items: center;
	gap: 8px;

	color: rgba(255,255,255,.86);

	font-size: 12px;
	font-weight: 700;
}


.adhero__feature-mark {
	color: #e51d27;

	font-size: 9px;
	font-weight: 900;
	letter-spacing: .05em;
}


/* ==========================================================
   MAIN VEHICLE VISUAL
========================================================== */

.adhero__vehicle {
	position: relative;
	z-index: 7;

	width: min(100%, 770px);
	margin-left: auto;
}


.adhero__vehicle-image {
	position: relative;

	width: 110%;
	margin-left: -5%;

	overflow: hidden;

	border-radius: 24px 8px 24px 8px;

	transform: rotate(-1deg);

	box-shadow:
		0 30px 80px rgba(0,0,0,.38);
}


.adhero__vehicle-image::before {
	content: "";

	position: absolute;
	z-index: 3;
	inset: 0;

	border: 1px solid rgba(255,255,255,.22);
	border-radius: inherit;

	pointer-events: none;
}


.adhero__vehicle-image img {
	display: block;

	width: 100%;
	height: clamp(390px, 36vw, 545px);

	object-fit: cover;
	object-position: center;

	filter:
		brightness(.78)
		contrast(1.12)
		saturate(.88);
}


/*
 * 左側を背景動画へ自然につなげる
 */
.adhero__vehicle-image {
	-webkit-mask-image:
		linear-gradient(
			90deg,
			transparent 0%,
			rgba(0,0,0,.35) 5%,
			#000 16%,
			#000 100%
		);

	mask-image:
		linear-gradient(
			90deg,
			transparent 0%,
			rgba(0,0,0,.35) 5%,
			#000 16%,
			#000 100%
		);
}


.adhero__vehicle-shade {
	position: absolute;
	inset: 0;

	background:
		linear-gradient(
			90deg,
			rgba(3,17,32,.42),
			transparent 35%,
			transparent 75%,
			rgba(3,17,32,.16)
		);

	pointer-events: none;
}


.adhero__vehicle-label {
	position: absolute;
	z-index: 5;

	left: -5px;
	top: 32px;

	padding: 12px 15px;

	border-left: 2px solid #e51d27;

	background: rgba(3,19,35,.62);

	backdrop-filter: blur(8px);
}


.adhero__vehicle-label span,
.adhero__vehicle-label strong {
	display: block;
}


.adhero__vehicle-label span {
	color: #e51d27;

	font-size: 9px;
	font-weight: 900;
	letter-spacing: .20em;
}


.adhero__vehicle-label strong {
	margin-top: 5px;

	color: #fff;

	font-size: 14px;
	font-weight: 800;
}


.adhero__one-stop {
	position: absolute;
	z-index: 10;

	right: -9px;
	bottom: -18px;

	min-width: 160px;
	padding: 17px 19px;

	background: #fff;
	color: #07182b;

	border-radius: 7px;

	box-shadow: 0 15px 40px rgba(0,0,0,.20);
}


.adhero__one-stop small,
.adhero__one-stop strong {
	display: block;
}


.adhero__one-stop small {
	color: #e51d27;

	font-size: 9px;
	font-weight: 900;
	letter-spacing: .18em;
}


.adhero__one-stop strong {
	margin-top: 6px;

	font-size: 13px;
	font-weight: 800;
}


/* ==========================================================
   CASE STUDIES
========================================================== */

.adhero__cases {
	position: relative;
	z-index: 8;

	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));

	padding-bottom: 34px;
}


.adhero-case {
	position: relative;

	min-height: 180px;

	overflow: hidden;

	color: #fff;
	text-decoration: none;

	border-top: 1px solid rgba(255,255,255,.25);

	transition:
		transform .25s ease,
		filter .25s ease;
}


.adhero-case + .adhero-case {
	border-left: 1px solid rgba(255,255,255,.22);
}


.adhero-case:hover {
	z-index: 3;

	transform: translateY(-6px);

	filter: brightness(1.08);
}


.adhero-case__image,
.adhero-case__overlay {
	position: absolute;
	inset: 0;
}


.adhero-case__image img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;

	transition: transform .6s ease;
}


.adhero-case:hover .adhero-case__image img {
	transform: scale(1.045);
}


.adhero-case__overlay {
	background:
		linear-gradient(
			180deg,
			rgba(2,14,28,.04) 20%,
			rgba(2,14,28,.86) 100%
		);
}


.adhero-case__content {
	position: absolute;
	z-index: 3;

	left: 22px;
	right: 22px;
	bottom: 17px;
}


.adhero-case__content small,
.adhero-case__content strong,
.adhero-case__content span {
	display: block;
}


.adhero-case__content small {
	color: #e51d27;

	font-size: 9px;
	font-weight: 900;
	letter-spacing: .15em;
}


.adhero-case__content strong {
	margin-top: 5px;

	font-size: 18px;
	font-weight: 800;
}


.adhero-case__content span {
	margin-top: 3px;

	color: rgba(255,255,255,.72);

	font-size: 11px;
}


/* ==========================================================
   SCROLL
========================================================== */

.adhero__scroll {
	position: absolute;
	z-index: 10;

	right: 16px;
	top: 50%;

	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;

	transform: translateY(-50%);
}


.adhero__scroll span {
	font-size: 8px;
	font-weight: 800;
	letter-spacing: .22em;

	writing-mode: vertical-rl;
}


.adhero__scroll i {
	display: block;

	width: 1px;
	height: 48px;

	background: rgba(255,255,255,.42);
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1100px) {

	.adhero__inner {
		grid-template-columns:
			minmax(0, 1fr)
			minmax(430px, .9fr);

		gap: 25px;
	}

	.adhero__title {
		font-size: clamp(48px, 5vw, 66px);
	}

	.adhero__vehicle-image img {
		height: 430px;
	}

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

	.adhero__overlay {
		background:
			linear-gradient(
				180deg,
				rgba(2,16,30,.83) 0%,
				rgba(2,16,30,.86) 47%,
				rgba(2,16,30,.95) 100%
			);
	}


	.adhero__inner {
		display: block;

		min-height: auto;

		padding-top: 65px;
		padding-bottom: 35px;
	}


	.adhero__eyebrow {
		font-size: 9px;
	}


	.adhero__title {
		font-size: clamp(40px, 12vw, 56px);
		line-height: 1.10;
	}


	.adhero__title span,
	.adhero__title strong {
		white-space: normal;
	}


	.adhero__lead {
		margin-top: 24px;

		font-size: 13px;
		line-height: 1.9;
	}


	.adhero__actions {
		flex-direction: column;
	}


	.adhero__button {
		width: 100%;
		min-width: 0;
	}


	.adhero__features {
		gap: 10px 16px;
	}


	.adhero__vehicle {
		margin-top: 42px;
	}


	.adhero__vehicle-image {
		width: 108%;
		margin-left: -4%;

		transform: none;
	}


	.adhero__vehicle-image img {
		height: 310px;
	}


	.adhero__vehicle-label {
		top: 14px;
		left: 5px;
	}


	.adhero__one-stop {
		right: 8px;
		bottom: -14px;
	}


	.adhero__cases {
		grid-template-columns: 1fr;

		padding-inline: 18px;
		padding-bottom: 24px;
	}


	.adhero-case {
		min-height: 150px;

		border-left: 0 !important;
	}


	.adhero-case + .adhero-case {
		border-top: 1px solid rgba(255,255,255,.18);
	}


	.adhero__scroll {
		display: none;
	}

}


/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

	.adhero__video {
		display: none;
	}

	.adhero-case,
	.adhero-case__image img,
	.adhero__button {
		transition: none;
	}

}