@charset "utf-8";



.event-benefit-template .c-tab--main-sticky .c-tab__item.active .c-tab__button::after{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    content: "";
    background-color: #111111;
}


.tab-swipe-article .swiper-title{
    padding: 2% 0;
}


.tab-carousel-wrap {
    width: 100%;
    margin: 2% auto;
}

/* 탭 메뉴 스타일 */
.tab-carousel-wrap .tab-list {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 auto 15px auto;
}

.tab-carousel-wrap .tab-button {
    border: 1px solid #111111;
    padding: 10px 16px;
    color: #111111;
    cursor: pointer;
    border-radius: 50px;
    margin: 0 4px;
    font-size: 16px;
}

.tab-carousel-wrap .tab-button.is-active {
    background-color: #111111; 
    color: #ffffff;
}

/* 탭 콘텐츠 및 스와이퍼 영역 */
.tab-carousel-wrap .tab-panel {
    position: relative;
    overflow: hidden;
    padding: 0 0 2% 0;
}

.tab-carousel-wrap .tab-panel.is-hidden {
    display: none !important;
}

/* Swiper Wrapper (Swiper 라이브러리 클래스) */
.tab-carousel-wrap .swiper-wrapper {
    display: flex;
}

/* 모바일 기본: 모든 탭 1개씩 (100%) */
.tab-carousel-wrap .swiper-slide {
    width: 100%; 
    flex-shrink: 0;
    box-sizing: border-box;
}
.tab-carousel-wrap .swiper-slide .gif_section{
    position: absolute;
    top: 17px;
    left: 19px;
    width: 93.3%; 
    border-radius: 10px;
    overflow: hidden;
}
.tab-carousel-wrap .swiper-button-prev::after, .tab-carousel-wrap .swiper-button-next::after{display: none;}
.tab-carousel-wrap .swiper-pagination {
    position: relative;
    margin: 0 auto;
    background-color: #EBEBEB;
    width: 16%;
    height: 5px;
    position: absolute;
    top: 98%;
    left: 0;
    right: 0;
}
.tab-carousel-wrap .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background-color: #111111;}


@media screen and (max-width: 767px) {

    .tab-carousel-wrap .tab-button {
        border: 1px solid #111111;
        padding: calc(10/390*100vw) calc(16/390*100vw);
        color: #111111;
        cursor: pointer;
        border-radius: 10px;
        margin: 0 calc(4/390*100vw);
        font-size: calc(14/390*100vw);
    }
    .tab-carousel-wrap .swiper-pagination {
        width: 25%;
    }
    
    .tab-carousel-wrap .swiper-slide .gif_section{
        position: absolute;
        top: calc(17/390*100vw);
        left: calc(19/390*100vw);
        width: calc(343/390*100vw);
        height: calc(235/390*100vw);
        border-radius: 8px;
        overflow: hidden;
    }
    .tab-carousel-wrap .swiper-slide .gif_section{
        position: absolute;
        top: calc(18/390*100vw);
        left: calc(20/390*100vw);
        width: calc(340/390*100vw);
        height: calc(230/390*100vw);
        overflow: hidden;
        border-radius: 8px;
    }
    .tab-carousel-wrap .swiper-slide .gif_section01_02{
        top: calc(18/390*100vw);
        left: calc(20/390*100vw);
        width: calc(350/390*100vw);
        height: calc(240/390*100vw);
        overflow: hidden;
    }.tab-carousel-wrap .swiper-slide .gif_section01_02 picture{
        width: 100%;
        height: 100%;
    }
    .tab-carousel-wrap .swiper-slide .gif_section01_02 img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}