@charset "utf-8";


/* ------------------------------
   .slideWrap
------------------------------ */
.slideWrap {
	margin: 100px auto 0;
	padding: 20px 0 0;
	width: 100%;
	height: 490px;
	position: relative;
	overflow: hidden;
	background: #FFF;
}

.slideWrap .btnPrev,
.slideWrap .btnNext {
	transform: translateY(-50%);
	bottom: 50%;
	width: 30px;
	height: 30px;
	position: absolute;
	background: #000;
	border-radius: 30px;
	transition: all 0.2s ease-in-out;
	z-index: 50;
	display: none;
}

.slideWrap .btnPrev {
	left: 5%;
}

.slideWrap .btnPrev:after {
	content: '<';
	width: 30px;
	height: 30px;
	line-height: 30px;
	color: #fff;
	font-size: 1.6em;
	font-weight: bold;
	text-align: center;
	display: block;
}

.slideWrap .btnNext {
	right: 5%;
}

.slideWrap .btnNext:after {
	content: '>';
	width: 30px;
	height: 30px;
	line-height: 30px;
	color: #fff;
	font-weight: bold;
	text-align: center;
	display: block;
}

/* ------------------------------
   .dotNav (ドットナビゲーション)
------------------------------ */
.dotNav {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 100;
}

.dotNav .dot {
	width: 10px;
	height: 10px;
	background: #ccc;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
	display: block;
}

.dotNav .dot:hover {
	background: #666;
	transform: scale(1.2);
	border: 2px solid #666;
}

.dotNav .dot.active {
	background: #DB002F;
	transform: scale(1.3);
	border: 2px solid #DB002F;
}

/* ------------------------------
   .carousel
------------------------------ */
.carousel {
	margin: 0 auto;
	width: 880px; /* リストが何個以上あったらスライドを実行させるかの基準値 */
	height: 250px;
	position: relative;
	visibility: hidden;
}

.carousel .movePanel {
	top: 0;
	left: 0;
	height: 250px;
	position: absolute;
}

.carousel ul {
	float: left;
	padding: 0 !important;
	margin: 0 !important;
}

.carousel ul li {
	padding: 0 !important;
	margin: 0 10px;
	width: 1120px;
	height: 490px;
	line-height: 1.2em;
	text-align: center;
	float: left;
	display: block;
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	background: #fff;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.carousel ul li a {
	display: block;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.carousel ul li a:hover {
	opacity: 0.8;
}

.carousel ul li img {
	width: 100%;
}

.carousel ul li p {
	padding: 0 20px;
	height: 50px;
	line-height: 50px;
	color: #000;
	font-size: 1em;
}

.carousel ul li.mainActive {
	z-index: 10;
	-webkit-transition: all 0.7s ease-in-out;
	transition: all 0.7s ease-in-out;
	/*
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
	*/
}

.carousel ul:after {
	content: "";
	display: none;
	clear: none;
}


@media (max-width: 1024px) {
	.slideWrap {
		height: 350px;
	}
	.carousel ul li {
		width: 800px;
		height: 350px;
	}
}
@media (max-width: 900px) {
	.slideWrap {
		margin: 58px auto 0;
		height: 280px;
	}
	.carousel ul li {
		width: 640px;
		height: 280px;
	}
}
@media (max-width: 768px) {
	.slideWrap {
		margin: 58px auto 0;
		padding: 0;
		height: 100%;
		aspect-ratio: 5 / 6;
	}
	.carousel ul li {
		padding: 0 !important;
		margin: 0 !important;
		width: 100vw;
		height: auto;
		aspect-ratio: 5 / 6;
		line-height: 1.2em;
	}
}

/* Hero mobile slider (homepage): ensure carousel is visible and full-width */
.hero-slider--mobile.slideWrap {
	display: none;
}
@media (max-width: 768px) {
	.hero-slider--mobile.slideWrap {
		display: block;
	}
	.hero-slider--mobile.slideWrap .carousel.hero-mobile-carousel {
		visibility: visible; /* override base .carousel { visibility: hidden } */
		width: 100%;
		height: 100%;
	}
	.hero-slider--mobile.slideWrap .carousel.hero-mobile-carousel .movePanel {
		height: 100%;
	}
	.hero-slider--mobile.slideWrap .carousel.hero-mobile-carousel ul {
		display: flex;
		flex-wrap: nowrap;
		height: 100%;
	}
	.hero-slider--mobile.slideWrap .carousel.hero-mobile-carousel ul li {
		flex: 0 0 100vw;
		width: 100vw;
		margin: 0;
	}
}