
.gallery {
  padding: 40px 0;
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}


.gallery .swiper-wrapper {
  display: flex;
  align-items: center;
  cursor: grab;
}


.gallery .swiper-wrapper .swiper-slide {
  display: flex;
  padding: 30px 20px;
  width: 120px;
  height: 400px;
  background: #fff;
  flex-direction: column;
  justify-content: flex-start;
  font-size: 24px;
  font-weight: bold;
  border-radius: 15px;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  transform: scale(0.7);
  opacity: 0.8;
  cursor: grab;
}


.gallery .swiper-wrapper .swiper-slide-active {
  transform: scale(1); 
  opacity: 1; 
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  cursor: grabbing;
}


.gallery .swiper-slide img {
  width: 100%;
  height: 250px;
  object-fit: contain; 
  background: #fff;
  border-radius: 15px;
  margin-bottom: 10px;
}


.gallery .swiper-slide .text {
  font-size: 1.8rem;
  font-weight: 800;
  font-style: normal;
  font-family: "Pretendard Variable";
  color: #000;
  margin-bottom: 10px;
  text-align: center;
}


.gallery .swiper-slide p {
  font-size: 1.6rem;
  font-family: "Pretendard Variable";
  margin-bottom: 20px;
  text-align: center;
  color: #111;
}


.tour_pagination.swiper-pagination-progressbar {
  position: relative;
  margin: 50px auto 100px;
  background: #fff;
  height: 5px;
  border-radius: 5px;
}


.tour_pagination.swiper-pagination-progressbar
  .swiper-pagination-progressbar-fill {
  background: #abc84c;
  border-radius: 5px;
}

@media (min-width: 0px) and (max-width: 300px) {
  .gallery .swiper-wrapper .swiper-slide {
    height: 200px;
  }
  .gallery .swiper-slide img {
    width: 100%;
    height: 100px;
    margin-bottom: 0;
  }
  .gallery .swiper-slide .text {
    font-size: 1.4rem;
  }
  .gallery .swiper-slide p {
    font-size: 1.2rem;
  }
}
@media (min-width: 300px) and (max-width: 400px) {
  .gallery .swiper-wrapper .swiper-slide {
    height: 300px;
  }
  .gallery .swiper-slide img {
    width: 100%;
    height: 200px;
    margin-bottom: 0;
  }
  .gallery .swiper-slide .text {
    font-size: 1.6rem;
  }
  .gallery .swiper-slide p {
    font-size: 1.4rem;
  }
}
@media (min-width: 400px) and (max-width: 650px) {
  .gallery .swiper-wrapper .swiper-slide {
    height: 300px;
  }
  .gallery .swiper-slide img {
    width: 100%;
    height: 200px;
    margin-bottom: 0;
  }
  .gallery .swiper-slide .text {
    font-size: 1.5rem;
  }
  .gallery .swiper-slide p {
    font-size: 1.2rem;
  }
}
@media (min-width: 650px) and (max-width: 900px) {
  .gallery .swiper-wrapper .swiper-slide {
    height: 350px;
  }
  .gallery .swiper-slide img {
    width: 100%;
    height: 250px;
    margin-bottom: 0;
  }
  .gallery .swiper-slide .text {
    font-size: 1.5rem;
  }
  .gallery .swiper-slide p {
    font-size: 1.3rem;
  }
}
@media (min-width: 900px) and (max-width: 1200px) {
  .gallery .swiper-wrapper .swiper-slide {
    height: 400px;
  }
  .gallery .swiper-slide img {
    width: 100%;
    height: 300px;
    margin-bottom: 0;
  }
  .gallery .swiper-slide .text {
    font-size: 1.6rem;
  }
  .gallery .swiper-slide p {
    font-size: 1.4rem;
  }
}
@media (min-width: 1200px) and (max-width: 1500px) {
  .gallery .swiper-wrapper .swiper-slide {
    height: 400px;
  }
  .gallery .swiper-slide img {
    width: 100%;
    height: 300px;
    margin-bottom: 0;
  }
  .gallery .swiper-slide .text {
    font-size: 1.6rem;
  }
  .gallery .swiper-slide p {
    font-size: 1.4rem;
  }
}
@media (min-width: 1500px) and (max-width: 1800px) {
  .gallery .swiper-wrapper .swiper-slide {
    height: 400px;
  }
  .gallery .swiper-slide img {
    width: 100%;
    height: 300px;
    margin-bottom: 0;
  }
  .gallery .swiper-slide .text {
    font-size: 1.6rem;
  }
  .gallery .swiper-slide p {
    font-size: 1.4rem;
  }
}
@media (min-width: 1800px) and (max-width: 2300px) {
  .gallery .swiper-wrapper .swiper-slide {
    height: 400px;
  }
  .gallery .swiper-slide img {
    width: 100%;
    height: 300px;
    margin-bottom: 0;
  }
  .gallery .swiper-slide .text {
    font-size: 1.6rem;
  }
  .gallery .swiper-slide p {
    font-size: 1.4rem;
  }
} 
