@charset "utf-8";

/* MAIN_SWCF_1 - 스크롤 이미지 전환 */
.MAIN_SWCF_1 {
  position: relative;
  /* JS에서 동적으로 높이 설정 */
}

.MAIN_SWCF_1 .contents-container {
  padding: 0;
  max-width: 100%;
  height: 100%;
}

.MAIN_SWCF_1 .contents-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.MAIN_SWCF_1 .group-sticky {
  position: relative;
  width: 100%;
  height: 100vh;
}

/* 고정 상태 */
.MAIN_SWCF_1 .group-sticky.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

/* 고정 해제 상태 (하단 도달) */
.MAIN_SWCF_1 .group-sticky.is-bottom {
  position: absolute;
  top: auto;
  bottom: 0;
}

.MAIN_SWCF_1 .item {
  overflow: hidden;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

/* item-1: 맨 아래, 처음부터 보임 */
.MAIN_SWCF_1 .item-1 {
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* item-2: 중간, 처음에 마스크로 가려짐 (밑에서 올라옴) */
.MAIN_SWCF_1 .item-2 {
  z-index: 2;
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
}

/* item-3: 맨 위, 처음에 마스크로 가려짐 (밑에서 올라옴) */
.MAIN_SWCF_1 .item-3 {
  z-index: 3;
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
}

.MAIN_SWCF_1 .imageset {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1 !important;
  background: #000;
}

.MAIN_SWCF_1 .imageset-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.MAIN_SWCF_1 .textset {
  position: absolute;
  inset: auto 0 14rem;
  z-index: 1;
  margin: 0 auto;
  padding: 0 4rem;
}

.MAIN_SWCF_1 .container-lg .textset {
  max-width: calc(1560px + 8rem);
}

.MAIN_SWCF_1 .container-md .textset {
  max-width: calc(1280px + 8rem);
}

.MAIN_SWCF_1 .container-sm .textset {
  max-width: calc(1080px + 8rem);
}

.MAIN_SWCF_1 .textset .textset-tit,
.MAIN_SWCF_1 .textset .textset-desc {
  color: var(--white);
}

.MAIN_SWCF_1 .textset .textset-tit {
  font-size: 8.6rem;
  line-height: 110%!important;
  font-weight: 600;
  font-family: var(--ff-en5); word-wrap: break-word;
 word-break: keep-all;

}
.MAIN_SWCF_1 .textset .textset-tit em{
padding: 0px;word-wrap: break-word;
 word-break: keep-all;
}

.MAIN_SWCF_1 .textset .textset-desc {
  margin-top: 1.6rem;
}

@media (max-width: 992px) {
  .MAIN_SWCF_1 .item .textset {
    bottom: 8rem;
    padding: 0 1.6rem;
    max-width: 100%;
  }

  .MAIN_SWCF_1 .textset .textset-tit {
    font-size: 6.4rem;
    line-height: 7rem;
word-wrap: break-word;
 word-break: keep-all;
  }

  .MAIN_SWCF_1 .textset .textset-desc {
    margin-top: 2rem;
  }
}

@media (max-width: 767px) {
  .MAIN_SWCF_1 .item .textset {
    bottom: 5rem;
    padding: 0 1.5rem;
  }

  .MAIN_SWCF_1 .textset .textset-tit {
    font-size: 3.2rem;
    line-height: 4rem;
  }

  .MAIN_SWCF_1 .textset .textset-desc {
    margin-top: 1.2rem;
    font-size: 1.3rem;
    line-height: 1.8;
  }
}

/* 인라인 편집 hover 효과 완전 무시 */
.MAIN_SWCF_1 .wg_edit_img,
.MAIN_SWCF_1 .wg_edit_img:hover,
.MAIN_SWCF_1 .wg_edit_img:focus,
.MAIN_SWCF_1 .wg_edit_img::before,
.MAIN_SWCF_1 .wg_edit_img::after,
.MAIN_SWCF_1 .wg_edit_img:hover::before,
.MAIN_SWCF_1 .wg_edit_img:hover::after {
  background-color: transparent !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

.MAIN_SWCF_1 .wg_edit_img img,
.MAIN_SWCF_1 .wg_edit_img:hover img,
.MAIN_SWCF_1 .wg_edit_img .imageset-img,
.MAIN_SWCF_1 .wg_edit_img:hover .imageset-img {
  opacity: 1 !important;
  filter: none !important;
  transition: none !important;
}

/* 텍스트 영역 hover 효과 무시 */
.MAIN_SWCF_1 .wg_edit_txt,
.MAIN_SWCF_1 .wg_edit_txt:hover,
.MAIN_SWCF_1 .wg_edit_txt:focus {
  background-color: transparent !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

/* 텍스트 항상 보이게 유지 + z-index 최상위 */
.MAIN_SWCF_1 .textset {
  z-index: 100 !important;
  position: absolute !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.MAIN_SWCF_1 .textset-tit,
.MAIN_SWCF_1 .textset-desc {
  opacity: 1 !important;
  visibility: visible !important;
  color: var(--white) !important;
  position: relative !important;
  z-index: 100 !important;
  pointer-events: auto !important;
  cursor: pointer;
}

/* wg_edit_txt, wg_edit_img 클릭 가능하게 */
.MAIN_SWCF_1 .wg_edit_txt,
.MAIN_SWCF_1 .wg_edit_img {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative !important;
}

/* imageset(wg_edit_img) 클릭 영역 확보 */
.MAIN_SWCF_1 .imageset.wg_edit_img {
  z-index: 2 !important;
}

/* 아이템 및 내부 요소 transition 제거 (깜빡임 방지) */
.MAIN_SWCF_1 .item,
.MAIN_SWCF_1 .imageset,
.MAIN_SWCF_1 .textset {
  transition: none !important;
}

/* 이미지 hover 시 형제 요소 숨김 방지 */
.MAIN_SWCF_1 .item * {
  pointer-events: auto;
}
