/*
(주)파이브센스_FIVESENSES.Corp.
파이브프로_FIVEPro_웹솔루션.
본 라이브러리(소스코드 및 디자인 포함)는 (주)파이브센스의 자산이며, 저작권법 및 부정경쟁방지법에 의해 보호됩니다.
무단 사용, 외부 유출, 복제, 배포, 변형을 금지합니다.
위반 시 민·형사상 법적 책임 및 손해배상 청구 대상이 됩니다.
작성일: 2025-03-18 | 저작권자: (주)파이브센스(520-86-01244) | All Rights Reserved.
*/

.main_mb9 {
    display: flex;
    flex-direction: column;
}

.main_mb9 .main_cont_container {
    position: relative;
    flex: 1;
    overflow: hidden;
}

/* 스와이프 */
.main_mb9 .swiper {
    z-index: 2;
    height: 100%;
    position: relative;
}

.main_mb9 .swiper-wrapper {
    height: 100%;
    display: flex;
    transition-property: transform;
}

.main_mb9 .swiper-slide {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    transition-property: transform;
}

.main_mb9 .swiper-slide.swiper-slide-active {
    z-index: 2;
}

/* 스와이프 이미지 */
.main_mb9 .img_container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 0 80px 0 80px;
}

.main_mb9 .img_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 스와이프 동영상 */
.main_mb9 .iframe_container {
    height: 100%;
    overflow: hidden;
    border-radius: 0 80px 0 80px;
    position: relative;
}

.main_mb9 .iframe_container .iframe_container_inner {
    width: 100%;
    height: 100%;
    padding-bottom: 56.25%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.main_mb9 .iframe_container iframe {
    position: absolute;
    left: 0;
    top: -60px;
    width: 100%;
    height: calc(100% + 120px);
    object-fit: cover;
}

/* 스와이프 동영상 요소이미지 */
.main_mb9 .iframe_container .itemSubVideoImg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.main_mb9 .iframe_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
    cursor: grab; /* 스와이프 UI 힌트를 제공 */
}

/* 스와이프 정보 */
.main_mb9 .swiper_info_container {
    width: 100%;
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 2;
    padding: 0 15px;
    text-align: center;
	max-width:1610px;
}

/* 스와이프 요소이미지 */
.main_mb9 .swiper_info_container .itemSubImg {
    width: auto;
    margin: 0 auto 30px auto;
}

/* 스와이프 타이틀 */
.main_mb9 .swiper_title {
    margin-bottom: 40px;
}

.main_mb9 .swiper_title h2 {
    font-size: 60px;
	line-height:80px;
    font-weight: 600;
    color: #fff;
    display: inline-block;
    width: auto;
}

/* 스와이프 서브타이틀 */
.main_mb9 .swiper_subtitle {
    margin-bottom: 80px;
}

.main_mb9 .swiper_subtitle h3 {
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    display: inline-block;
    width: auto;
}

/* 스와이프 더보기 */
.main_mb9 .swiper_more {
    display: inline-block;
    margin-bottom: 0px;
}

.main_mb9 .swiper_more a {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_mb9 .swiper_more span {
    margin-left: 10px;
}

/* 스와이프 재생버튼 */
.main_mb9 .swiper_btn_container {
    position: absolute;
    top: 60px;
    right: 60px;
    z-index: 10;
}

.main_mb9 .swiper_btn {
    width: 140px;
    height: 140px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
}

.main_mb9 .swiper_btn span {
    font-size: 42px;
    font-weight: 200;
    color: #fff;
	font-family: 'Noto Sans KR';
}

/* 스와이프 화살표 정보 */
/* .main_mb9 .swiper_arr {} */

/* 기존 navigation 세팅 제거 */
.main_mb9 .swiper-button-next,
.main_mb9 .swiper-button-prev {
    color: #fff;
}

.main_mb9 .swiper-button-next:after,
.main_mb9 .swiper-button-prev:after {
    font-size: 60px;
}

.main_mb9 .swiper-button-prev {
    left: 15%;
}

.main_mb9 .swiper-button-next {
    right: 15%;
}

/* 스와이프 페이지네이션 정보 */
.main_mb9 .swiper-pagination {
    position: absolute; /* 기존 position 없애기 */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 0 80px;
    overflow: hidden;
    z-index: 20; /* 하단·가운데 정렬 UI와 겹칠 때 가운데 불릿만 클릭 불가 방지 */
    pointer-events: auto;
}

/* 커스텀 불릿: 자식이 클릭을 가로채면 Swiper bullet 클릭이 동작하지 않음 → 부모로만 전달 */
.main_mb9 .swiper-pagination .swiper-pagination-bullet > * {
    pointer-events: none;
}

.main_mb9 .swiper-pagination div.swiper-pagination-bullet {
    width: 100%;
    height: 100%;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    border-top: 1px solid #fff;
    border-radius: 0;
    padding: 38px 0;
    margin: 0;
    position: relative;
	border-left: 1px solid #fff;
    cursor: pointer;
}

.main_mb9 .swiper-pagination div.swiper-pagination-bullet:first-child {
	border-left:none;
}

.main_mb9 .swiper-pagination div.swiper-pagination-bullet img {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
}

/* 기존 pagination 세팅 제거 */
.main_mb9 .swiper-pagination-bullets.swiper-pagination-horizontal {
    top: auto;
    bottom: 0;
    left: 0;
    right: auto;
    width: 100%;
}

.main_mb9 .swiper-pagination div.swiper-pagination-bullet-active {
    background: transparent;
	border-color:rgba(255,255,255,0.3);
}

.main_mb9 .swiper-pagination div.swiper-pagination-bullet-active img {
    display: block;
}

/* 스크롤 화살표 */
.main_mb9 .swiper_scroll_container {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main_mb9 .swiper_scroll_container span {
    width: 22px;
    height: 35px;
    border: 2px solid #666;
    border-radius: 20px;
    position: relative;
}

.main_mb9 .swiper_scroll_container span::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translate(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #666;
    animation: circle-bounce 2s infinite ease-in-out;
}

@keyframes circle-bounce {
    0% {
        transform: translate(-50%, 4px);
    }
    100% {
        transform: translate(-50%, 13px);
    }
}

.swiper_scroll_container img {
    margin-top: 5px;
    animation: arrow-bounce 2s infinite ease-in-out;
}

@keyframes arrow-bounce {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(10px);
    }
}