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

/* MB11 위젯 유니크 식별자 */
.main_mb11 {
    display: flex;
    flex-direction: column;
}

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

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

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

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

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

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

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

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

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

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

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

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

/* 스와이프 정보 */
.main_mb11 .swiper_info_container {
    width: 100%;
    position: absolute;
    top: 52.4%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    padding: 0 15px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 91px;
	max-width:1510px;
}

/* 카테고리 */
.main_mb11 .swiper_category span {
    font-size: 130px;
    font-weight: 300;
    color: #fff;
	font-style: italic;
	/* 이탤릭으로 인한 위치조정 */
	left:-10px;
	top:-22px;
	position:relative;
}

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

/* 스와이프 타이틀 */
.main_mb11 .swiper_title {
    margin-bottom: 45px;
	max-width: 1230px;
}

.main_mb11 .swiper_title h2 {
    font-size: 78px;
    font-weight: bold;
    color: #fff;
    display: inline-block;
    width: auto;
	font-family: 'Orbitron', sans-serif;
	line-height:140%;
	letter-spacing:-2%;
}

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

.main_mb11 .swiper_subtitle h3 {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    display: inline-block;
    width: auto;
	line-height:36px;
}

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

.main_mb11 .swiper_more a {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 19.5px 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* 롤링배너 */
.main_mb11 .rolling_container {
    width: 100%;
    position: absolute;
    top: 51.9%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.rolling_banner {
    width: 100%;
    height: 200px; /* 원하는 높이 */
    position: relative;
    display: flex;
    align-items: center; /* 이미지 수직 중앙 정렬 */
}

.second_rolling_banner {
    transform: translateY(-100px);
}

.banner_track img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    margin: 0 10px;
}

.banner_track.first_track img {
	width:152%;
}

.banner_track.second_track img {
	width:116%;
}

.first_track {
    display: flex;
    animation: first_roll 40s linear infinite;
}

.second_track {
    display: flex;
    animation: second_roll 40s linear infinite;
}

@keyframes first_roll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

@keyframes second_roll {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0%);
    }
}

/* 스크롤 화살표 */
.main_mb11 .scroll_icon {
    position: absolute;
    top: 43.5%;
    left: 16.3rem;
    z-index: 9;
}

.main_mb11 .scroll_icon .line {
    margin: 0 auto 10px;
    overflow: hidden;
    position: relative;
    display: block;
    width: 1px;
    height: 25px;
    z-index: 9;
    background-color: rgba(88, 88, 88, 0.6);
}

.main_mb11 .scroll_icon .line::after {
    display: block;
    content: "";
    width: 100%;
    height: 13px;
    background: rgba(244, 244, 244, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    animation: scroll_ani 2s infinite;
}

.main_mb11 .scroll_icon .txt {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    font-weight: 400;
    margin: 15px auto 0;
    width: 1em;
}

.main_mb11 .scroll_icon .txt em {
    display: block;
    writing-mode: vertical-rl;
	font-style: normal;
}

.main_mb11 .scroll_icon .scroll_txt {
    display: block;
}

.main_mb11 .scroll_icon .scroll_txt .char {
    display: inline-block;
    animation: scroll_down_ani 2s ease-in-out 0s infinite;
    animation-delay: calc(60ms* var(--char-index));
}

@keyframes scroll_ani {
    0%, 20% {
        top: -45px;
    }
    100% {
        top: 100%;
    }
}

@keyframes scroll_down_ani {
    0% {
        opacity: 0;
        transform: translateY(-50%) rotateX(90deg);
    }
    15%, 85% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
    100% {
        opacity: 0;
        transform: translateY(50%) rotateX(-90deg);
    }
}