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

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

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

/* 스와이프 */
.main_mmb4 .swiper {
    /* widget-wrap before보다 위로 올라오게 결정 */
    z-index: 2;
    height: 100%;
}

.main_mmb4 .swiper-wrapper {
    height: 100%;
}

.main_mmb4 .swiper-slide {
    position: relative;
    z-index: 1;
}

.main_mmb4 .swiper-slide.swiper-slide-active {
    /* 슬라이드 fade 중첩 효과 이슈로 active 순서 필요 */
    z-index: 2;
}

/* 스와이프 이미지 */
.main_mmb4 .img_container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

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

/* 스와이프 동영상 */
.main_mmb4 .iframe_container {
    height: 100%;
    overflow: hidden;
    position: relative;
}

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

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

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

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

/* 스와이프 정보 */
.main_mmb4 .swiper_info_container {
    position: absolute;
    top: auto;
    top: 42.5%;
    left: 4%;
    z-index: 2;
    text-align: left;
}

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

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


.main_mmb4 .swiper_title h2 {
    font-size: 41px;
    font-weight: 700;
    color: #fff;
    display: inline-block;
    width: auto;
    line-height: 1.25;
}

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

.main_mmb4 .swiper_subtitle h3 {
    font-size: 19.5px;
    font-weight: 500;
    color: #fff;
    display: inline-block;
    width: auto;
    line-height: 26px;
}

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

.main_mmb4 .swiper_more a {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main_mmb4 .swiper_more span {
    margin-left: 10px;
}

/* 스와이프 재생버튼 */
.main_mmb4 .swiper_btn_container {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 1820px; /* container_fix 상위 css */
    padding-left: 32px;
}

.main_mmb4 .swiper_btn {
    width: 38px;
    height: 38px;
    position: relative;
}

.main_mmb4 .swiper_btn .main_svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    width: 100%;
    height: 100%;
    stroke-width: 2px;
    stroke: #fff;
    fill: none;
    stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
    box-sizing: border-box;
}

.main_mmb4 .swiper_btn .sub_svg {
    position: absolute;
    left: 0;
    top: 0px;
    width: 100%;
    height: 100%;
    stroke-width: 2px;
    stroke: rgba(255,255,255,0.5);
    fill: none;
    stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
    box-sizing: border-box;
}

.main_mmb4 .swiper_btn button {
    width: 100%;
    height: 100%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.main_mmb4 .swiper_btn button img {
    width: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 스와이프 페이지네이션 정보 */
.main_mmb4 .swiper-pagination {
    position: relative; /* 기존 position 없애기 */
    width: auto;
}

.main_mmb4 .swiper-pagination-fraction {
    font-size: 14.5px;
    font-weight: 600;
    color: #fff;
    margin: 0 13px 0 7px;
}

/* 기존 pagination 세팅 제거 */
.main_mmb4 .swiper-pagination-fraction {
    top: 0;
    bottom: 0;
    left: 0;
	letter-spacing: 2.8px;
}

/* 스와이프 화살표 정보 */
.main_mmb4 .swiper_arr {
    display: flex;
    align-items: center;
}

.main_mmb4 .swiper_arr p {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    margin: 0 10px;
}

/* 기존 navigation 세팅 제거 */
.main_mmb4 .swiper-button-next:after,
.main_mmb4 .swiper-button-prev:after {
    font-size: 13px;
}

.main_mmb4 .swiper-button-prev,
.main_mmb4 .swiper-rtl .swiper-button-next {
    left: 0;
    right: 0;
}
.main_mmb4 .swiper-button-next,
.main_mmb4 .swiper-button-prev {
    position: static;
    width: auto;
    height: auto;
    margin-top: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
