@charset "utf-8";

@keyframes zoomUp {
0% {
	-webkit-transform: scale(1);
	transform: scale(1);
}
100% {
	-webkit-transform: scale(1.15);
	transform: scale(1.15);
}
}

.swiper-container{
	transform: translate3d(0,0,0);
}
.swiper-slide {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	overflow: hidden;
}
.swiper-slide-active .slide-img,
.swiper-slide-duplicate-active .slide-img,
.swiper-slide-prev .slide-img { /* 16秒かけて拡大 */
	-webkit-animation: zoomUp 16s linear 0s;
	animation: zoomUp 16s linear 0s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}
.slide-img {
	background-size: cover;
	background-position: center center;
	height: 600px;
}
.slide-text {
	position: absolute;
	z-index: 10;
	color: #ffffff;
	text-shadow: 2px 2px 10px rgb(0 0 0 / 50%);
	width: 90%;
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
	text-align: center;
	font-weight: bold;
}
.slide-text h2 {
	font-size: clamp(28px, 3.2rem, 32px);
}


@media screen and (max-width: 1200px) {
.slide-img {
	height: 400px;
}
}


/* スマホ */
@media screen and (max-width: 640px) {
.slide-img {
	height: 240px;
}
.slide-text h2 {
	font-size: clamp(16px, 2.0rem, 20px);
}
.slide-text h3 {
	font-size: clamp(12px, 1.6rem, 16px);
}
.slide-text p {
	font-size: clamp(8px, 1.2rem, 12px);
}
}