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

/* PC 컨테이너 기준점 설정 */
.main_bf4_9 .pc_container {
    position: relative;
}

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

.main_bf4_9 .swiper-slide {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 80px;
    position: relative;
}

/* 스와이프 페이지네이션 정보 */
.main_bf4_9 .swiper-pagination {
    position: relative; /* 기존 position 없애기 */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
	gap:16px;
}

.main_bf4_9 .swiper-pagination span {
    width:auto;
    height: auto;
    padding: 17px 32px;
    border-radius: 50px;
    line-height: 1;
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    background:transparent;

}

/* 스와이프 이미지 */
.main_bf4_9 .img_container {
    width: 100%;
    height: 100%;
    max-width: 690px;
    border-radius: 20px;
    overflow: hidden;
}

.main_bf4_9 .img_container img {
    width: 100%;
    transition: transform 0.5s ease;
}

.main_bf4_9 .img_container.on img {
    transform: scale(1.1);
}

/* 기존 pagination 세팅 제거 */
.main_bf4_9 .swiper-pagination-bullets.swiper-pagination-horizontal {
    top: 0;
    bottom: 0;
    left: 0;
}

.main_bf4_9 .swiper-pagination span.swiper-pagination-bullet {
    margin: 0;
}

.main_bf4_9 .swiper-pagination span.swiper-pagination-bullet-active {
    color: #fff;
    background:#1C6542;
}

/* 스와이프 정보 */
.main_bf4_9 .swiper_info_container {
    flex: 1;
}

/* 스와이프 카테고리 (swiper 밖으로 분리된 카테고리) */
.main_bf4_9 .pc_container .swiper_category {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(calc(-50% + 69px)) translateX(-100%); /* 카테고리 중앙 정렬을 위해 69px 추가 */
    z-index: 3;
    opacity: 0;
    transition: all 0.8s ease;
}

.main_bf4_9 .pc_container .swiper_category.active {
    top: 50%;
    left: 13%;
    transform: translateY(calc(-50% + 69px)) translateX(-50%); /* 카테고리 중앙 정렬을 위해 69px 추가 */
    transition: all 0.8s ease;
    opacity: 1;
}

.main_bf4_9 .pc_container .swiper_category h4 {
    font-size: 152px;
    font-weight: bold;
    line-height: 1;
    color: #0c0c0c;
    margin: 0;
}

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

.main_bf4_9 .swiper_title h2 {
    line-height: 150%;
    font-family: 'yg-jalnan';
    font-size: 40px;
    font-weight: bold;
    color: #fff;
}

.main_bf4_9 .swiper_title h2 * {
    font-family: 'yg-jalnan';
}

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

.main_bf4_9 .swiper_subtitle h3 {
    font-size: 19px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
	line-height:150%;
}

.main_bf4_9 .swiper_subtitle h3  .span_bold {
    font-weight: 700;
    color: #fff;
}

/* 스와이프 화살표 */
.main_bf4_9 .swiper_arr {
    display: flex;
    justify-content: flex-start;
    align-items: center;
	margin-bottom:12px;
}

.main_bf4_9 .swiper_arr > div {
    position: static;
    width: 50px;
    height: 50px;
    font-size: 30px;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50%;
    margin-top: 0;
    margin-right: 13px;
    opacity: .7;
}

.main_bf4_9 .swiper_arr svg {
    width: 22px;
    height: 15px;
}

.main_bf4_9 .swiper_arr > div:hover {
    opacity: 1;
}

.main_bf4_9 .swiper_arr > div::after {
    display: none;
}

@media (max-width:1310px) {
    .main_bf4_9 .swiper-pagination {
        gap: 12px;
        margin-bottom: 35px;
    }
    .main_bf4_9 .swiper-pagination span {
        padding: 12px 25px;
        font-size: 19px;
    }

    .main_bf4_9 .swiper-slide {
        gap: 50px;
    }

    .main_bf4_9 .img_container {
        max-width: 600px;
    }

    .main_bf4_9 .swiper_title {
        margin-bottom: 15px;
    }

    .main_bf4_9 .swiper_title h2 {
        font-size: 36px;
    }
    .main_bf4_9 .swiper_subtitle {
        margin-bottom: 30px;
    }
    .main_bf4_9 .swiper_subtitle h3 {
        font-size: 17px;
    }
}
@media (max-width: 991px) {
    .main_bf4_9.container_fix {
        padding: 0 0 0 15px;
    }

    /* 스와이프 */
    .main_bf4_9 .swiper-slide {
        display: block;
    }

    .main_bf4_9 .swiper_top_banner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        margin-bottom: 35px;
    }

    /* 스와이프 페이지네이션 정보 */
    .main_bf4_9 .swiper-pagination {
        justify-content: flex-start;
		gap:0 12px;
        margin-bottom: 40px;
        overflow-x: scroll;
    }

    .main_bf4_9 .swiper-pagination::-webkit-scrollbar {
        display: none;
    }

    .main_bf4_9 .swiper-pagination span {
        font-size: 18px;
        padding: 14px 26px;
		border-radius:50px;
        white-space: nowrap;
    }

    /* 스와이프 이미지 */
    .main_bf4_9 .img_container {
        max-width: 100%;
        border-radius: 12px;
    }

    /* 스와이프 정보 */
    .main_bf4_9 .swiper_info_container {
        padding-left: 8px;
    }

    /* 스와이프 카테고리 (모바일용) */
    .main_bf4_9 .m_container .swiper_category {
        position: static;
        transform: translateY(0%);
        writing-mode: vertical-rl;
		margin-left:3px;
    }

    .main_bf4_9 .m_container .swiper_category h4 {
        font-size: 53.5px;
		font-weight:700;
        color: #0c0c0c;
    }


    .main_bf4_9 .swiper_txt_container  {
        margin-top: 32px;
    }

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

    .main_bf4_9 .swiper_title h2 {
        font-size: 28px;
    }

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



    .main_bf4_9 .swiper_arr {
        margin-top: 35px;
        margin-bottom: 0;
    }

    .main_bf4_9 .swiper_arr > div {
        width: 46px;
        height: 46px;
        margin-right: 19px;
    }

    .main_bf4_9 .swiper_arr svg {
        width: 21px;
    }
}