@charset "utf-8";

/* lt_service04 전용 슬라이드 스타일 */

/* 1) 슬라이드 내부 정렬을 위로(=flex-start) */
.lt_service04 .mySwiper05 .swiper-wrapper {
  align-items: flex-start;
}

/* 2) 슬라이드 하나의 비율/박스 기본 형태 */
.lt_service04 .mySwiper05 .swiper-slide{
  display: block;
  position: relative;
  aspect-ratio: 500 / 750;           /* 원하는 비율 */
  overflow: hidden;                  /* 잘린 부분 숨김 */
  width: clamp(285px, 25vw, 420px);  /* 화면에 따라 가변 */
}

/* 3) a를 절대 위치로 깔아주고, 높이로 크롭 컨트롤 */
.lt_service04 .mySwiper05 .swiper-slide > a{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 85%;             /* 기본 85%만 보여주기 */
  transition: height .35s ease;
  overflow: hidden;
}

.lt_service04 .mySwiper05 .swiper-slide > a::before{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
    background: linear-gradient(360deg,rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    position: absolute;
}

/* 4) 활성 슬라이드만 100% (위로 쭉 올라오는 느낌) */
.lt_service04 .mySwiper05 .swiper-slide-active > a{
  height: 100%;
}

/* 5) 이미지: 아래 기준으로 크롭 */
.lt_service04 .mySwiper05 .swiper-slide img{
  width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: bottom;  /* 아래 기준 잘림 */
  display: block;
}

/* 텍스트 박스: 이미지 위에 오버레이 */
.lt_service04 .mySwiper05 .txt{
  position: absolute;
  bottom: 30px;
  left: 30px;
}

.lt_service04 .mySwiper05 .txt h2{
  font-size: 25px;
  color: #fff;
  line-height: 1;
  margin-bottom: 15px;
}

.lt_service04 .mySwiper05 .txt p{
  font-size: 16px;
  color: #fff;
  line-height: 1;
}

/* nav-rail: 슬라이드 가운데에 네비게이션 레일 */
.lt_service04 .mySwiper05 .nav-rail05{
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%,-50%);
  width: min(1400px, 95%);
  height: 0;
  pointer-events: none;   /* 레일은 클릭 막고 버튼만 클릭되게 */
  z-index: 5;
}

/* 버튼: 동그란 반투명 네비게이션 */
.lt_service04 .mySwiper05 .nav05-btn{
  position: absolute;
  top: 0;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  color: #fff;
  pointer-events: auto;
  margin: 0;
  border: none;
}

/* Swiper 기본 화살표 아이콘 사용 */
.lt_service04 .mySwiper05 .nav05-btn::after{
  font-size: 16px;
}

/* 좌/우 위치 */
.lt_service04 .mySwiper05 .swiper-button-prev.nav05-btn{ left: 0; }
.lt_service04 .mySwiper05 .swiper-button-next.nav05-btn{ right: 0; }

/* 반응형이 필요하면 아래에 추가로 작성 가능 */
@media (max-width: 480px){
  .lt_service04 .mySwiper05 .nav05-btn{
    width: 36px;
    height: 36px;
  }

  .lt_service04 .mySwiper05 .txt{
    bottom: 20px;
    left: 20px;
  }

  .lt_service04 .mySwiper05 .txt h2{
    font-size: 20px;
  }

  .lt_service04 .mySwiper05 .txt p{
    font-size: 14px;
  }
}


