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

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



/* 스와이프 */
.main_bf2_10 .swiper {
    /* widget-wrap before보다 위로 올라오게 결정 */
    position: relative;
    z-index: 2;
    overflow: visible;
    height: 500px;
}

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

/* 양옆 스와이퍼 */
.main_bf2_10 .swiper-backface-hidden .swiper-slide.swiper-slide-prev {
	opacity:0.4;
    justify-content: flex-end;
}
.main_bf2_10 .swiper-slide {
    opacity: 0.4;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main_bf2_10 .swiper-backface-hidden .swiper-slide.swiper-slide-next {
    justify-content: flex-start;
}

/* 활성화 스와이퍼 */
.main_bf2_10 .swiper-slide-active {
    opacity: 1;
    gap: 120px;
    position: relative;
}

/* 이전 스와이퍼 이미지 오른쪽 배치 */
.main_bf2_10 .swiper-slide-prev .img_container {
    order: 2;
}

.main_bf2_10 .swiper-slide .img_container {
    width: 500px;
    height: 395px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 스와이프 이미지 */
.main_bf2_10 .swiper-slide-active .img_container {
    width: 620px;
    height: 510px;
}

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

.main_bf2_10 .swiper-slide .swiper_info_container {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(30px);
    transition: none; /* ← all 0.6s ease → none */
}

/* 스와이프 정보 */
.main_bf2_10 .swiper-slide-active .swiper_info_container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 52px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.main_bf2_10 .swiper_txt_container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* 카테고리 */
.main_bf2_10 .swiper_title .item_category {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 20px;
}

/* 타이틀 */
.main_bf2_10 .swiper_title .item_title {
    font-size: 32px;
    font-weight: bold;
    line-height: 42px;
    color: #fff;
    margin-bottom: 20px;
}

/* 서브타이틀 */
.main_bf2_10 .swiper_title .item_subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #afafaf;
}

/* 링크 버튼 */
.main_bf2_10 .swiper_txt_container .link_box {
    padding: 17px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    width: 155px;
    color: white;
    border: 1px solid #fff;
    font-size: 16px;
    font-weight: 600;
    opacity: 0.3 !important;
}

.main_bf2_10 .swiper_txt_container .link_box:hover {
    opacity: 1 !important;
}

.main_bf2_10 .swiper_txt_container .item_link {
    font-size: 16px;
    font-weight: 600;
    color: white;
    width: auto;
}


/* 비활성 상태 - transition 제거만 */
.main_bf2_10 .swiper-slide .swiper_txt_container .swiper_title .item_category,
.main_bf2_10 .swiper-slide .swiper_txt_container .swiper_title .item_title,
.main_bf2_10 .swiper-slide .swiper_txt_container .swiper_title .item_subtitle,
.main_bf2_10 .swiper-slide .swiper_txt_container .link_box {
    opacity: 0;
    transform: translateY(30px);
    transition: none; /* ← 이것만 */
}

/* 활성 상태 - transition 없이 그냥 보이게만 */
.main_bf2_10 .swiper-slide-active .swiper_txt_container .swiper_title .item_category,
.main_bf2_10 .swiper-slide-active .swiper_txt_container .swiper_title .item_title,
.main_bf2_10 .swiper-slide-active .swiper_txt_container .swiper_title .item_subtitle,
.main_bf2_10 .swiper-slide-active .swiper_txt_container .link_box {
    opacity: 1;
    transform: translateY(0);
}


/* 스와이프 화살표 */
.main_bf2_10 .swiper_arr {
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.main_bf2_10 .swiper_arr > div {
    position: static;
    width: 25px;
    height: 50px;
    font-size: 30px;
    color: #999;
    margin-top: 0;
    margin-right: 48px;
}


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

@media (max-width: 991px) {

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

    /* 스와이프 */
    .main_bf2_10 .swiper {
        /* widget-wrap before보다 위로 올라오게 결정 */
        position: relative;
        z-index: 2;
        overflow: visible;
        height: auto;
        padding: 0 17px;
    }

    .main_bf2_10 .swiper-wrapper {
        height: auto;
    }

    /* 양옆 스와이퍼 */
    .main_bf2_10 .swiper-slide {
        opacity: 0.4;
        transition: all 0.3s ease;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
		transition:0.2s;
		padding:10px 0 0;
    }

.main_bf2_10 .swiper-backface-hidden .swiper-slide.swiper-slide-next {
		transform:translateX(0);
	}
    /* 활성화 스와이퍼 */
    .main_bf2_10 .swiper-slide-active {
        opacity: 1;
        gap: 42px;
        position: relative;
		margin:0;
    }

    /* 이전 스와이퍼 이미지 오른쪽 배치 */
    .main_bf2_10 .swiper-slide-prev .img_container {
        order: inherit;
    }

    .main_bf2_10 .swiper-slide .img_container {
        width: 100%;
        height: auto;
		aspect-ratio:303 / 248;
    }

    /* 스와이프 이미지 */
    .main_bf2_10 .swiper-slide-active .img_container {
        width: 100%;
        height: auto;
    }

    .main_bf2_10 .img_container img {
        width: 100%;
		height:100%;
        object-fit: cover;
		transition:0.2s;
    }
	.main_bf2_10 .swiper-backface-hidden .swiper-slide.swiper-slide-next .img_container img {
		transform:translateX(-40px) scale(0.75);
	}

	.main_bf2_10 .swiper-backface-hidden .swiper-slide.swiper-slide-prev .img_container img {
		transform:translateX(40px) scale(0.75);
	} 

    .main_bf2_10 .swiper-slide .swiper_info_container {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(30px);
        transition: none; /* ← all 0.6s ease → none */
    }

    /* 스와이프 정보 */
    .main_bf2_10 .swiper-slide-active .swiper_info_container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 45px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main_bf2_10 .swiper_txt_container {
        display: flex;
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    /* 카테고리 */
    .main_bf2_10 .swiper_title .item_category {
        font-size: 15px;
        margin-bottom: 18px;
    }

    /* 타이틀 */
    .main_bf2_10 .swiper_title .item_title {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 18px;
    }

    /* 서브타이틀 */
    .main_bf2_10 .swiper_title .item_subtitle {
        font-size: 15px;
    }

    /* 링크 버튼 */
    .main_bf2_10 .swiper_txt_container .link_box {
        display: none;
    }


    /* 스와이프 화살표 */
    .main_bf2_10 .swiper_arr {
        z-index: 10;
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .main_bf2_10 .swiper_arr > div {
        position: static;
        width: 50px;
        height: 50px;
        font-size: 30px;
        color: #999;
        border: 1px solid #5d5d5d;
        border-radius: 50%;
        margin-top: 0;
        margin-right: 20px;
    }

    .main_bf2_10 .swiper_arr > div:hover {
        background: #5d5d5d;
        color: #fff;
    }

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

    .main_bf2_10 .swiper-pagination-bullet{
        background: #f1f1f1;
		opacity:1;
		width:10.5px;
		height:10.5px;
    }

    .main_bf2_10 .swiper-pagination-bullet-active {
        background: #6eb92c;
    }

	/* 스와이프 페이지네이션 */
	.main_bf2_10 .swiper-horizontal>.swiper-pagination-bullets, .main_bf2_10 .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .main_bf2_10 .swiper-pagination-fraction {
		position:relative;
		bottom:0px;
		margin-top: 38px;
	}
}