/*
(주)파이브센스_FIVESENSES.Corp.

본 라이브러리(라이브러리 소스코드)는 (주)파이브센스의 자산입니다.
무단으로 외부로 유출 및 일시 반출을 할 경우 손해배상 책임 및 민사/형사적 책임이 있습니다.
*/

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

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

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

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

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

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

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

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

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

.main_mmb6 .iframe_container .iframe_container_inner {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    /* padding-bottom: 56.25%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
}

.main_mmb6 .iframe_container iframe {
    position: absolute;
    /* left: 0;
    top: -60px; */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 385%;
    height: 100%;
    /* height: calc(100% + 120px); */
    object-fit: cover;
}

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

.main_mmb6 .iframe_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1;
    opacity: 0.57;
}

/* 스와이프 정보 */
.main_mmb6 .swiper_info_container {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    text-align: left;
    transform: translate(-50%, -50%);
    padding: 0 30px;
}

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

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

.main_mmb6 .swiper_title h2 {
    font-size: 32px;
    line-height: 44px; 
    font-weight: 700;
    color: #fff;
    display: inline-block;
    width: auto;
}

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

.main_mmb6 .swiper_subtitle h3 {
    font-size: 16px;
    line-height: 23px;
    font-weight: 400;
    color: #fff;
    display: inline-block;
    width: auto;
}

/* 스와이프 더보기 */
.main_mmb6 .btn_container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
}

.main_mmb6 .btn_container a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-width: 191px;
    padding: 16px;
    font-size: 15px;
    font-weight: 500;
    color: #0c0c0c;
    border-radius: 3px;
    transition: .3s;
}

.main_mmb6 .btn_container a {
    color: #0c0c0c;
    background-color: #fff;
}
.main_mmb6 .btn_container a:hover {
    color: #fff;
    background-color: var(--main-btn-point-color);
    transition: .3s;
}

.main_mmb6 .btn_container a > div,
.main_mmb6 .btn_container a > span {
    display: inline-block;
    width: auto;
    line-height: 1;
}

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

.main_mmb6 .swiper_btn {
    width: 35px;
    height: 35px;
    position: relative;
}

.main_mmb6 .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_mmb6 .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_mmb6 .swiper_btn button {
    width: 100%;
    height: 100%;
    font-size: 18px;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	border:none;
	background:transparent;
}

.main_mmb6 .swiper_btn button.pause {
	font-size:12px;
	transform:translate(-50%,-50%) rotate(-28deg);
}

/* 스와이프 페이지네이션 정보 */
.main_mmb6 .swiper-pagination {
    position: static; /* 기존 position 없애기 */
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_mmb6 .swiper-pagination div.swiper-pagination-bullet {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #f0f0f0;
    margin-right: 15px;
    position: relative;
}

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

.main_mmb6 .swiper-pagination div.swiper-pagination-bullet-active {
    background: #fff;
}

/* 스크롤 화살표 */
.main_mmb6 .swiper_scroll_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.main_mmb6 .swiper_scroll_container span {
    width: 16px;
    height: 23px;
    border: 1px solid #666;
    border-radius: 7px;
    position: relative;
}

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

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

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

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