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

.main_bf2_7 .bf2_7_cont .main_box{
    display: flex;
    gap: 0 100px;
    /* left_box 시작 위치를 기존 1480px 가운데 정렬 박스의 왼쪽 끝과 맞춤 */
    padding-left: calc((100% - 1480px) / 2);
}

/* 왼쪽 박스 */
.main_bf2_7 .bf2_7_cont .left_box {
    flex: 0 0 315px;
}

.main_bf2_7 .bf2_7_cont .left_box .cont_box {
    max-width: 315px;
}

.main_bf2_7 .bf2_7_cont .left_box .cont_box .category_text{
    font-size: 22px;
    font-weight: 700;
    color: #C4141B;
    margin-bottom: 30px;
    letter-spacing: 30%;
	line-height:1;
}

.main_bf2_7 .bf2_7_cont .left_box .cont_box .title_text{
    font-size: 50px;
    font-weight: 700;
    color: #0c0c0c;
    margin-bottom: 37px;
    line-height: 1.3;
}

.main_bf2_7 .bf2_7_cont .left_box .cont_box .subtitle_text{
    font-size: 19px;
    font-weight: 500;
    color: #5D5D5D;
    line-height: 180%;
}


/* 오른쪽 박스 */
.main_bf2_7 .bf2_7_cont .right_box {
    flex: 1;
    min-width: 0;
    height: 100%;
}

/* 오른쪽 박스 스와이퍼 영역 */
.main_bf2_7 .bf2_7_cont .right_box .cont_box {
    width: 100%;
    height: 100%;
    max-width: none;
}

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

.main_bf2_7 .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    padding: 0;
}

.main_bf2_7 .swiper-slide img {
    max-width: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.main_bf2_7 .swiper-slide .swiper_info_container {
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 35px 15px;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* 처음엔 투명 */
}


.main_bf2_7 .swiper-slide .swiper_info_container .item_title {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
}

.main_bf2_7 .swiper-slide .swiper_info_container .item_subtitle {
    font-size: 16px;
    line-height: 180%;
    font-weight: 500;
    color:#fff;
    margin-top: 12px;
}

/* ===== 리사이징 (1600 / 1280 / 1024) ===== */
@media (max-width: 1600px) {
    /* 1480px 이하에서 왼쪽 박스가 화면 끝에 붙지 않도록 최소 40px 확보 */
    .main_bf2_7 .bf2_7_cont .main_box {
        gap: 0 80px;
        padding-left: max(40px, calc((100% - 1480px) / 2));
    }
    .main_bf2_7 .bf2_7_cont .left_box .cont_box .category_text {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .main_bf2_7 .bf2_7_cont .left_box .cont_box .title_text {
        font-size: 46px;
        margin-bottom: 40px;
    }
    .main_bf2_7 .bf2_7_cont .left_box .cont_box .subtitle_text {
        font-size: 18px;
    }
    .main_bf2_7 .swiper-slide .swiper_info_container .item_title {
        font-size: 26px;
    }
}

@media (max-width: 1280px) {
    .main_bf2_7 .bf2_7_cont .main_box {
        gap: 0 60px;
    }
    .main_bf2_7 .bf2_7_cont .left_box .cont_box .category_text {
        font-size: 18px;
        margin-bottom: 18px;
    }
    .main_bf2_7 .bf2_7_cont .left_box .cont_box .title_text {
        font-size: 40px;
        margin-bottom: 34px;
    }
    .main_bf2_7 .bf2_7_cont .left_box .cont_box .subtitle_text {
        font-size: 17px;
    }
    .main_bf2_7 .swiper-slide .swiper_info_container {
        padding: 28px 15px;
    }
    .main_bf2_7 .swiper-slide .swiper_info_container .item_title {
        font-size: 22px;
    }
    .main_bf2_7 .swiper-slide .swiper_info_container .item_subtitle {
        font-size: 15px;
        margin-top: 10px;
    }
}

@media (max-width: 1024px) {
    .main_bf2_7 .bf2_7_cont .main_box {
        gap: 0 40px;
    }
    .main_bf2_7 .bf2_7_cont .left_box .cont_box .category_text {
        font-size: 17px;
        margin-bottom: 16px;
    }
    .main_bf2_7 .bf2_7_cont .left_box .cont_box .title_text {
        font-size: 34px;
        margin-bottom: 28px;
    }
    .main_bf2_7 .bf2_7_cont .left_box .cont_box .subtitle_text {
        font-size: 16px;
    }
    .main_bf2_7 .swiper-slide .swiper_info_container {
        padding: 24px 15px;
    }
    .main_bf2_7 .swiper-slide .swiper_info_container .item_title {
        font-size: 20px;
    }
}

@media (max-width: 991px) {

    .main_bf2_7 .bf2_7_cont .main_box {
        display: flex;
        justify-content: center;
        flex-direction: column;
        gap: 30px 0;
        padding-left: 0;
    }

    /* 왼쪽 박스 */
    .main_bf2_7 .bf2_7_cont .left_box {
        flex: 0 0 auto;
    }

    .main_bf2_7 .bf2_7_cont .left_box .cont_box {
        max-width: 100%;
        text-align: center;
    }

    .main_bf2_7 .bf2_7_cont .left_box .cont_box .category_text{
        font-size: 16px;
        margin-bottom: 15px;
    }

    .main_bf2_7 .bf2_7_cont .left_box .cont_box .title_text{
        font-size: 26px;
        margin-bottom: 22px;
        line-height:1.3;
    }

	.main_bf2_7 .bf2_7_cont .left_box .cont_box .title_text br {
		display:none;
	}

    .main_bf2_7 .bf2_7_cont .left_box .cont_box .subtitle_text{
        font-size: 18px;
        line-height: 180%;
    }

    /* 오른쪽 박스 */
    .main_bf2_7 .bf2_7_cont .right_box {
        padding: 0 15px;
    }

    /* 오른쪽 박스 스와이퍼 영역 */
    .main_bf2_7 .bf2_7_cont .right_box .cont_box {
        max-width: 100%;
    }

    .main_bf2_7 .swiper {
        overflow: visible;
    }

    .main_bf2_7 .swiper-slide {
        border-radius: 11px;
    }

    .main_bf2_7 .swiper-slide img {
        width: 100%;
        object-fit: cover;
    }

    .main_bf2_7 .swiper-slide .swiper_info_container {
        padding: 25px 20px;
    }

    .main_bf2_7 .swiper-slide .swiper_info_container .item_title {
        font-size: 18px;
    }

    .main_bf2_7 .swiper-slide .swiper_info_container .item_subtitle {
        font-size: 15px;
        line-height: 23px;
        margin-top: 10px;
    }

    .main_bf2_7 .swiper-slide .swiper_info_container .item_link {
        font-size: 15px;
        margin-top: 15px;
    }

    .main_bf2_7 .swiper-slide .swiper_info_container {
        background-color: rgba(0, 0, 0, 0.4); /* 처음엔 투명 */
    }

    .main_bf2_7 .swiper_info_container .item_subtitle,
    .main_bf2_7 .swiper_info_container .item_link {
        display: block;
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }


    /* 스와이프 화살표 */
    .main_bf2_7 .swiper_arr {
        margin-top: 13px;
        justify-content: center;
        gap: 10px;
    }

    .main_bf2_7 .swiper_arr > div {
        position: static;
        width: 35px;
        height: 35px;
        font-size: 20px;
        color: #d5d5d5;
        border: 1px solid #d5d5d5;
        border-radius: 50%;
        margin-top: 0;

    }

    .main_bf2_7 .swiper_arr > div:hover {
        background: #235cf5;
        color: #fff;
    }

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

	/* 스와이프 프로그레스 */
	.main_bf2_7 .swiper-pagination.swiper-pagination-progressbar.swiper-pagination-horizontal {
        position: static;
		height:2px;
        margin-top: 40px;
		background:#d9d9d9;
	}
	.main_bf2_7 .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
		background:#C4141B;
	}
}