/* スライダー全体 */
.swiper-container {
	width: 100%;
	overflow: hidden;
	position: relative;
	background-color: #010101;
}

/* スライド1枚分 */
.swiper-slide {
	width: 100%;
	height: auto;
}

/* ラッパー：画像比率固定 */
.slide-wrapper {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 1; /* PC：2000×500 */
	overflow: hidden;
}

/* SPのみ比率変更 */
@media only screen and (max-width: 568px) {
	.slide-wrapper {
		aspect-ratio: 4 / 5; /* SP：800×1000 */
	}
}

/* 画像スタイル */
.slide-wrapper picture,
.slide-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* 矢印の共通設定 */
.swiper-button-prev,
.swiper-button-next {
	position: absolute;
	top: calc(50% + 25px);			/* 矢印サイズの半分の数値をプラスする */
	transform: translateY(-50%);
	z-index: 10;
	color: #ffffffcc;
	width: 40px;
	height: 40px;
}

/* 左右位置 */
.swiper-button-prev {
	left: 20px;
}
.swiper-button-next {
	right: 20px;
}

/* 矢印サイズ */
.swiper-button-prev::after,
.swiper-button-next::after {
	font-size: 50px;
	line-height: 1;
}

/* ページネーション */
.swiper-pagination {
	position: absolute;
	bottom: 20px;
	left: 0;
	right: 0;
	text-align: center;
	z-index: 10;
}

.swiper-pagination-bullet {
	background: #ccc;
	width: 12px;
	height: 12px;
	margin: 0 6px;
	border-radius: 50%;
	opacity: 0.6;
}

.swiper-pagination-bullet-active {
	background: aqua;
	opacity: 1;
}

/* モバイル用微調整 */
@media (max-width: 768px) {
	.swiper-button-prev,
	.swiper-button-next {
		width: 10px;
		height: 10px;
	}

	.swiper-button-prev::after,
	.swiper-button-next::after {
		font-size: 36px;
	}
}

/* 印刷用（PC比率で固定） */
/* @media print {
	.slide-wrapper {
		position: relative;
		width: 100%;
		aspect-ratio: 2000 / 500;
		height: 25vw; /* 高さ = 幅 × 1 / 4 
		overflow: hidden;
	}
} */

/* =========================
   印刷用（Swiperを壊さない）
========================= */
@media print {

	/* swiper全体 */
	.swiper,
	.swiper-container {
		width: 100% !important;
		overflow: hidden !important;
	}

	/* JS transformだけリセット（位置ズレ防止） */
	.swiper-wrapper {
		transform: translate3d(0,0,0) !important;
	}

	/* 2枚目以降は印刷しない */
	.swiper-slide:not(:first-child) {
		display: none !important;
	}

	/* 1枚目を100%で固定 */
	.swiper-slide:first-child {
		width: 100% !important;
		margin: 0 !important;
	}

	/* メインビジュアル比率（2000×500） */
	.slide-wrapper {
		width: 100%;
		aspect-ratio: 4 / 1;
		height: 25vw;
		overflow: hidden;
	}

	.slide-wrapper picture,
	.slide-wrapper img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
	}

	/* 矢印・ページネーションは表示 */
	.swiper-button-prev,
	.swiper-button-next,
	.swiper-pagination {
		display: block !important;
		position: absolute;
	}
}

