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

/* 배경 / 우측으로 넘치는 슬라이드 가로 스크롤 방지 */
.main_bf2_6 {
    background: #f8efe9;
    overflow: hidden;
}

.main_bf2_6 .bf2_6_cont {
    display: flex;
    width: calc(100% - 80px);
    max-width: 1480px;
    margin: 0 auto;
    padding-left: 10px;
}

/* 콘텐츠 박스 */
.main_bf2_6 .bf2_6_cont .right_box {
    display: flex;
    flex-direction: column;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.main_bf2_6 .bf2_6_cont .right_box .cont_box {
    width: 100%;
}

/* 카테고리 텍스트 */
.main_bf2_6 .bf2_6_cont .right_box .category_text {
    font-size: 22px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 6.6px;
    text-transform: uppercase;
    color: #c4141b;
    margin: 0 0 23px;
}

/* 타이틀 텍스트 */
.main_bf2_6 .bf2_6_cont .right_box .title_text {
    font-size: 60px;
    font-weight: bold;
    line-height: 1;
    color: #0c0c0c;
    margin: 0 0 51px;
}

/* 스와이프 - 왼쪽은 콘텐츠 기준으로 자르고 오른쪽은 화면 끝까지 노출 */
.main_bf2_6 .swiper {
    /* widget-wrap before보다 위로 올라오게 결정 */
    z-index: 2;
    overflow: visible;
}

.main_bf2_6 .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 310px;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.main_bf2_6 .swiper-slide > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main_bf2_6 .swiper-slide .swiper_info_container {
    width: 100%;
    margin-top: auto;
}

.main_bf2_6 .swiper-slide .swiper_title {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 43px;
    padding: 0 9px;
    background: #c4141b;
    border-radius: 500px;
}

.main_bf2_6 .swiper-slide .swiper_title h2 {
    margin: 0;
    font-size: 15px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 스와이프 화살표 (디폴트: 레드 / 호버: 블랙) */
.main_bf2_6 .swiper_arr {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.main_bf2_6 .swiper_arr > div {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0;
    border-radius: 50%;
    cursor: pointer;
    background: #C4141B;
    transition: all 0.3s ease;
}

.main_bf2_6 .swiper_arr > div:hover {
    background-color: #0C0C0C;
}

/* ===== 리사이징 (1600 / 1280 / 1024) ===== */
@media (max-width: 1600px) {
    .main_bf2_6 .bf2_6_cont .right_box .category_text {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .main_bf2_6 .bf2_6_cont .right_box .title_text {
        font-size: 46px;
        margin-bottom: 40px;
    }
}

@media (max-width: 1280px) {
    .main_bf2_6 .bf2_6_cont .right_box .category_text {
        font-size: 18px;
        margin-bottom: 18px;
    }
    .main_bf2_6 .bf2_6_cont .right_box .title_text {
        font-size: 40px;
        margin-bottom: 34px;
    }
    .main_bf2_6 .swiper_arr {
        margin-top: 34px;
    }
}

@media (max-width: 1024px) {
    .main_bf2_6 .bf2_6_cont .right_box .category_text {
        font-size: 17px;
        margin-bottom: 16px;
    }
    .main_bf2_6 .bf2_6_cont .right_box .title_text {
        font-size: 34px;
        margin-bottom: 28px;
    }
    .main_bf2_6 .swiper_arr {
        margin-top: 30px;
    }
    .main_bf2_6 .swiper_arr > div {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 991px) {

    .main_bf2_6 .bf2_6_cont {
        width: 100%;
        padding: 0 16px;
    }

    /* 카테고리 텍스트 */
    .main_bf2_6 .bf2_6_cont .right_box .category_text {
        font-size: 16px;
        letter-spacing: 30%;
        margin-bottom: 14px;
    }

    /* 타이틀 텍스트 */
    .main_bf2_6 .bf2_6_cont .right_box .title_text {
        font-size: 26px;
        margin-bottom: 38px;
    }

    /* 스와이프 */
    .main_bf2_6 .swiper {
        clip-path: inset(-40px -100vw -40px -10px);
    }

   
    /* 스와이프 화살표 */
    .main_bf2_6 .swiper_arr {
        gap: 15px;
        margin-top: 40px;
    }

    .main_bf2_6 .swiper_arr > div {
        width: 36px;
        height: 36px;
    }
    .main_bf2_6 .swiper_arr > div img {
        width: 14px;
    }
}
