@charset "utf-8";
@import url(https://fonts.cdnfonts.com/css/good-times-2){}

/* ================================================
   visual_sw1 - 비주얼 스와이퍼 위젯

   매핑:
   항목1 wg_img1 = 섹션 배경 이미지 (100vh 전체)
   각 항목 wg_img2 = 장식 이미지 (textset-tit2 ::before, CSS변수 --deco-img)
   wg_txt1 = textset-tit (소제목)
   wg_txt2 = textset-tit2 (대제목)
   wg_txt3 = textset-tx (설명1)
   wg_txt4 = textset-tx2 (설명2)
   항목1 wg_txt5 = 롤링 텍스트
   ================================================ */

/* 최외곽 */
.visual_sw1 {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100vh;
  padding: 0;
}

.visual_sw1 .contents-container {
  position: relative;
  height: 100%;
  overflow: visible;
}

/* 배경 이미지 스와이퍼 (INNER 밖, 전체 배경 - 컨테이너 밖 확장) */
.visual_sw1 .bg-swiper {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100vh;
  z-index: 0;
}

.visual_sw1 .bg-swiper .swiper-slide {
  position: relative;
  height: 100vh;
}

.visual_sw1 .bg-img {
  width: 100%;
  height: 100%;
}

.visual_sw1 .bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual_sw1 .wg_side {
  position: relative;
  width: 100%;
  height: 100vh;
}

.visual_sw1 .contents-inner {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* 롤링 텍스트 영역 (슬라이드 밖, 최하단 - 컨테이너 밖 확장) */
.visual_sw1 .loop-area {
  display: flex;
  align-items: flex-end;
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 100vw;
  z-index: 10;
  white-space: nowrap;
  pointer-events: none;
}

.visual_sw1 .text-wrap {
  display: flex;
  white-space: nowrap;
  flex-shrink: 0;
  width: max-content;
}

.visual_sw1 .text-wrap span {
  padding-right: 2rem;
  font-family: "Good Times Rg", sans-serif;
  font-size: 28rem;
  line-height: 1;
  color: var(--white);
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
  display: block;
}

/* 스와이퍼 */
.visual_sw1 .content-swiper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.visual_sw1 .content-swiper .swiper-wrapper {
  position: relative;
}

.visual_sw1 .content-swiper .swiper-slide {
  display: flex;
  align-items: center;
  height: 100vh;
  padding-bottom: 8vh;
}

/* 장식 이미지 (wg_img2 → CSS변수 --deco-img로 ::before 배경) */
.visual_sw1 .textset-tit2 {
  position: relative;
}

.visual_sw1 .textset-tit2:before {
  display: none;
}

.visual_sw1 .textset-tit2:after {
  position: absolute !important;
  left: 2px !important;
  top: -50px !important;
  content: "●  ●  ●" !important;
  font-size: 16px !important;
  color: var(--primary) !important;
  letter-spacing: 2px !important;
  z-index: 10 !important;
  background: none !important;
  width: auto !important;
  height: auto !important;
}

/* 네비게이션 버튼 */
.visual_sw1 .swiper-button-prev,
.visual_sw1 .swiper-button-next {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: none;
}

.visual_sw1 .swiper-button-prev:after,
.visual_sw1 .swiper-button-next:after {
  display: none !important;
}

.visual_sw1 .swiper-button-prev,
.visual_sw1 .swiper-button-next {
  opacity: 0.8;
  transition: opacity 0.3s;
}

.visual_sw1 .swiper-button-prev:hover,
.visual_sw1 .swiper-button-next:hover {
  opacity: 1;
}


/* ================================================
   PC (768px 이상)
   ================================================ */
@media only all and (min-width: 768px) {
  .visual_sw1 .contents-slide-group {
    padding: 0;
  }

  .visual_sw1 .textset-tit {
    font-size: calc(var(--tit-md-size) * 2.0);
    color: #fff;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: clamp(40px, calc(2.632vw + 29.474px), 80px);
    font-family: "Pretendard Variable", sans-serif;
  }

  .visual_sw1 .textset-tit2 {
    font-size: calc(var(--tit-md-size) * 1.6);
    color: #fff;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: clamp(10px, calc(1.316vw + 4.737px), 30px);
    font-family: "Pretendard Variable", sans-serif;
  }

  .visual_sw1 .textset-tx {
    font-size: calc(var(--tx-sm-size) * 2.0);
    color: #fff;
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: clamp(10px, calc(1.316vw + 4.737px), 30px);
    font-family: "Pretendard Variable", sans-serif;
  }

  .visual_sw1 .textset-tx2 {
    font-size: calc(var(--tx-sm-size) * 1.2);
    color: #fff;
    font-weight: 500;
    letter-spacing: -1px;
    margin-bottom: clamp(10px, calc(1.316vw + 4.737px), 30px);
    font-family: "Pretendard Variable", sans-serif;
    line-height: 180%;
    text-transform: none;
  }

  /* 컨트롤 버튼 위치 */
  .visual_sw1 .contents-control {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 100px;
    position: absolute;
    right: 0px;
    top: 45%;
  }

  /* 화살표 아이콘 */
  .visual_sw1 .swiper-button-prev:before {
    width: clamp(40px, calc(3.289vw + 26.842px), 90px);
    height: clamp(40px, calc(3.289vw + 26.842px), 90px);
    border: 3px solid #ccc;
    border-radius: 100%;
    position: absolute;
    right: 0;
    top: clamp(15px, 1.563vw, 20px);
    content: "\eb79";
    color: #fff;
    font-family: unicons-line;
    font-size: clamp(35px, calc(1.316vw + 29.737px), 55px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    padding-bottom: 5px;
    z-index: 999 !important;
  }

  .visual_sw1 .swiper-button-next:before {
    width: clamp(40px, calc(3.289vw + 26.842px), 90px);
    height: clamp(40px, calc(3.289vw + 26.842px), 90px);
    border: 3px solid #ccc;
    border-radius: 100%;
    position: absolute;
    right: 0;
    top: clamp(15px, 1.563vw, 20px);
    content: "\eb6d";
    color: #fff;
    font-family: unicons-line;
    font-size: clamp(35px, calc(1.316vw + 29.737px), 55px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    padding-bottom: 5px;
  }
}


/* ================================================
   모바일 (767px 이하)
   ================================================ */
@media only all and (max-width: 767px) {
  .visual_sw1 .contents-slide-group {
    padding: 0 20px;
  }

  .visual_sw1 .textset-tit {
    font-size: calc(var(--tit-md-size) * 1.5);
    color: #fff;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: clamp(40px, calc(2.632vw + 29.474px), 80px);
    font-family: "Pretendard Variable", sans-serif;
  }

  .visual_sw1 .textset-tit2 {
    font-size: calc(var(--tit-md-size) * 1.2);
    color: #fff;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: clamp(10px, calc(1.316vw + 4.737px), 30px);
    font-family: "Pretendard Variable", sans-serif;
  }

  .visual_sw1 .textset-tx {
    font-size: calc(var(--tx-sm-size) * 1.5);
    color: #fff;
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: clamp(10px, calc(1.316vw + 4.737px), 30px);
    font-family: "Pretendard Variable", sans-serif;
  }

  .visual_sw1 .textset-tx2 {
    font-size: calc(var(--tx-sm-size) * 1.2);
    color: #fff;
    font-weight: 500;
    letter-spacing: -1px;
    margin-bottom: clamp(10px, calc(1.316vw + 4.737px), 30px);
    font-family: "Pretendard Variable", sans-serif;
    line-height: 150%;
    text-transform: none;
  }

  .visual_sw1 .contents-control {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 60px;
    position: absolute;
    right: 10px;
    top: 10%;
  }

  .visual_sw1 .swiper-button-prev:before {
    width: clamp(40px, calc(3.289vw + 26.842px), 90px);
    height: clamp(40px, calc(3.289vw + 26.842px), 90px);
    border: 3px solid #ccc;
    border-radius: 100%;
    position: absolute;
    left: 30px;
    top: -10px;
    content: "\eb79";
    color: #fff;
    font-family: unicons-line;
    font-size: clamp(35px, calc(1.316vw + 29.737px), 55px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    padding-bottom: 5px;
  }

  .visual_sw1 .swiper-button-next:before {
    width: clamp(40px, calc(3.289vw + 26.842px), 90px);
    height: clamp(40px, calc(3.289vw + 26.842px), 90px);
    border: 3px solid #ccc;
    border-radius: 100%;
    position: absolute;
    left: 10px;
    top: -10px;
    content: "\eb6d";
    color: #fff;
    font-family: unicons-line;
    font-size: clamp(35px, calc(1.316vw + 29.737px), 55px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    padding-bottom: 5px;
  }
}


/* ================================================
   태블릿 (1200px 이하)
   ================================================ */
@media (max-width: 1200px) {
  .visual_sw1 .content-swiper {
    width: 100%;
  }

  .visual_sw1 .content-swiper .swiper-wrapper {
    margin-left: -4rem;
    width: calc(100% + 8rem);
  }
}


/* ================================================
   모바일 (992px 이하)
   ================================================ */
@media (max-width: 992px) {
  .visual_sw1 {
    height: 55vh;
    padding: 0;
  }

  .visual_sw1 .wg_side {
    height: 55vh;
  }

  .visual_sw1 .bg-swiper {
    height: 55vh;
  }

  .visual_sw1 .bg-swiper .swiper-slide {
    height: 55vh;
  }

  .visual_sw1 .content-swiper .swiper-slide {
    height: 55vh;
  }

  .visual_sw1 .loop-area {
    bottom: -10px;
  }

  .visual_sw1 .text-wrap span {
    font-size: 10rem;
    line-height: 1;
  }

  .visual_sw1 .contents-container {
    height: 100%;
  }

  .visual_sw1 .content-swiper .swiper-wrapper {
    margin-left: 0;
    width: 100%;
  }
}
