.yamato-hero {
	position: relative;
	background: #f8f8f8;
	overflow: hidden;
}

.yamato-hero--empty {
	padding: 2rem;
	text-align: center;
	background: #f8f8f8;
	color: #595758;
}

.yamato-hero__slider {
	width: 100%;
}

.yamato-hero__slider .swiper-slide {
	height: auto;
}

.yamato-hero__slide {
	position: relative;
	min-height: 1100px;
	background-color: #f8f8f8;
}

.yamato-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 672px) minmax(0, 909px);
	justify-content: space-between;
	align-items: start;
	gap: clamp(1.5rem, 4vw, 4rem);
	min-height: 1100px;
	padding-top: 158px;
	padding-bottom: 7.5rem;
}

.yamato-hero__content {
	position: relative;
	z-index: 2;
	max-width: 672px;
	margin-top: 274px;
	padding: 0;
}

.yamato-hero__figure {
	position: relative;
	z-index: 1;
	width: min(909px, 100%);
	max-width: 909px;
	margin: 0;
	justify-self: end;
}

.yamato-hero__media {
	display: block;
	width: 100%;
	max-width: 909px;
	height: auto;
	aspect-ratio: 909 / 824;
	object-fit: contain;
	object-position: center;
	pointer-events: none;
}

.yamato-hero__title {
	margin: 0 0 2rem;
	font-family: var(--yamato-font-nav);
	font-size: clamp(2.25rem, 4vw, 3.75rem);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: #040a1c;
}

.yamato-hero__btn {
	margin-top: 0.5rem;
}

.yamato-hero__pagination {
	position: absolute;
	left: 50% !important;
	bottom: 3.75rem !important;
	transform: translateX(-50%);
	width: auto !important;
	z-index: 5;
}

.yamato-hero__pagination .swiper-pagination-bullet {
	width: 15px;
	height: 15px;
	margin: 0 5px !important;
	background: transparent;
	border: 2px solid #ca3c3f;
	opacity: 1;
}

.yamato-hero__pagination .swiper-pagination-bullet-active {
	background: #ca3c3f;
}

.yamato-hero__aside {
	pointer-events: none;
}

.yamato-hero__scroll {
	position: absolute;
	left: 3.875rem;
	bottom: 4rem;
	z-index: 10;
	pointer-events: auto;
}

.yamato-hero__social {
	position: absolute;
	right: 3.875rem;
	bottom: 4rem;
	z-index: 10;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	font-family: var(--yamato-font-nav);
	font-size: 1rem;
	line-height: 1;
	pointer-events: auto;
}

.yamato-hero__social-list {
	display: flex;
}

.yamato-hero__social-item:not(:last-child) {
	margin-bottom: 2.5rem;
}

.yamato-hero__social-link {
	border-left: 1px solid transparent;
	padding-left: 0.25rem;
	transition: border-color 0.3s ease, color 0.3s ease;
}

.yamato-hero__social-link:hover {
	border-left-color: currentColor;
	color: #ca3c3f;
}

@media (max-width: 1199px) {
	.yamato-hero__inner {
		grid-template-columns: 1fr minmax(0, 520px);
		padding-top: 120px;
	}

	.yamato-hero__content {
		margin-top: clamp(4rem, 12vw, 274px);
	}
}

@media (max-width: 1024px) {
	.yamato-hero__slide {
		min-height: 768px;
	}

	.yamato-hero__inner {
		grid-template-columns: 1fr;
		min-height: 768px;
		padding-top: 6rem;
		padding-bottom: 5rem;
	}

	.yamato-hero__content {
		margin-top: 0;
		max-width: none;
		order: 2;
	}

	.yamato-hero__figure {
		justify-self: center;
		max-width: min(420px, 100%);
		order: 1;
	}

	.yamato-hero__scroll {
		left: 2.2rem;
	}

	.yamato-hero__social {
		right: 2.2rem;
	}
}

@media (max-width: 800px) {
	.yamato-hero__slide {
		min-height: 0;
	}

	.yamato-hero__inner {
		display: flex;
		flex-direction: column;
		align-items: center;
		min-height: 0;
		padding-top: 4.5rem;
		padding-bottom: 6.5rem;
		gap: 1.25rem;
	}

	.yamato-hero__figure {
		order: 1;
		width: 100%;
		max-width: min(300px, 82vw);
		margin: 0 auto;
	}

	.yamato-hero__media {
		max-height: 280px;
		aspect-ratio: auto;
		object-fit: contain;
	}

	.yamato-hero__content {
		order: 2;
		width: 100%;
		max-width: 28rem;
		margin: 0 auto;
		padding: 0 0.5rem;
		text-align: center;
	}

	.yamato-hero__title {
		margin-bottom: 1.25rem;
		font-size: clamp(1.625rem, 6.5vw, 2rem);
		line-height: 1.25;
	}

	.yamato-hero__btn {
		font-size: 1.125rem;
		padding: 1rem 1.75rem;
	}

	.yamato-hero__scroll {
		display: none;
	}

	.yamato-hero__aside {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 3.5rem;
		z-index: 10;
	}

	.yamato-hero__social {
		position: static;
		width: 100%;
		writing-mode: horizontal-tb;
		text-orientation: mixed;
		text-align: center;
	}

	.yamato-hero__social-list {
		justify-content: center;
		gap: 1.5rem;
	}

	.yamato-hero__social-item:not(:last-child) {
		margin-bottom: 0;
	}

	.yamato-hero__social-link {
		border-left: 0;
		border-bottom: 1px solid transparent;
		padding-left: 0;
		padding-bottom: 0.15rem;
	}

	.yamato-hero__social-link:hover {
		border-left-color: transparent;
		border-bottom-color: currentColor;
	}

	.yamato-hero__pagination {
		bottom: 1.5rem !important;
	}
}

@media (max-width: 768px) {
	.yamato-hero__inner {
		padding-top: 4rem;
		padding-bottom: 6rem;
	}

	.yamato-hero__pagination {
		bottom: 1.25rem !important;
	}
}
