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

/* 배경 텍스트 */
.main_bf2_8 .bg_box {
    position: absolute;
    top: 12.4%;
    right: -15%;
    z-index: 3;
}

.main_bf2_8 .bg_text {
    display: block;
    font-size: 152px;
    font-weight: bold;
    color: rgba(167, 167, 167, 0.3);
    white-space: nowrap;
    cursor: default;
    transform: translateX(100%);
    transition: transform 0.2s ease-out;
	font-family: "Cormorant Garamond","pretendard", serif;
}


.main_bf2_8 .bg_text.animate {
  transform: translateX(0);
}

/* 전체 레이아웃 */
.main_bf2_8 .main_box.container_fix {
    z-index: 5;
	max-width:1510px !important;
}

/* 스와이퍼 기본 설정 */
.main_bf2_8 .swiper {
    overflow: visible;
}
.main_bf2_8 .swiper-wrapper {
    display: flex;
    align-items: stretch;
}
.main_bf2_8 .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.swiper-backface-hidden .swiper-slide.swiper-slide-prev {
	opacity:0;
}

/* 슬라이드 안쪽 콘텐츠 구성 */
.main_bf2_8 .box-center-info {
    display: flex;
    align-items: center;
    max-width: 660px;
    width: 100%;
	position:relative;
}

/* 썸네일 이미지 (동그랗게) */
.main_bf2_8 .box-center-info .thumbnail_img {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 660px;
    height: 660px;
    border-radius: 50%;
    overflow: hidden;
    transition: all 1s;
    transition-delay: .3s;
}

.main_bf2_8 .box-center-info .thumbnail_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 슬라이드 활성화 시 */
.main_bf2_8 .swiper-slide-active .box-center-info .thumbnail_img img {
    opacity: 1;
    transform: scale(1);
}

/* 텍스트 영역 */
.main_bf2_8 .box-center-info .info {
    position: absolute;
    display: flex;
    flex-direction: column;
    left: 410px;
    top: 50%;
    transform: translate3d(30px, -50%, 0);
    width: 660px;
    height: 386px;
    padding: 40px 56px;
    background-color: #fff;
    border: 1px solid #fff;
    opacity: 0;
    transition: opacity 0.6s ease 0.6s, transform 0.6s ease 0.6s;
    transition-delay: .8s;
    box-shadow: 0 17px 40px rgba(0, 0, 0, 0.2);
}

/* 슬라이드 활성화 시 등장 */
.main_bf2_8 .swiper-slide-active .box-center-info .info {
    opacity: 1;
    transform: translate3d(0, -50%, 0);
}

.main_bf2_8 .box-center-info .info .item_title {
    font-size: 32px;
    line-height: 68px;
    color: #0c0c0c;
	font-family: 'ChosunSm', serif;
}

.main_bf2_8 .box-center-info .info .item_title span {
    font-size: 20px;
	font-family: 'ChosunSm', serif;
	display:inline-block;
	margin-left:10px;
}

.main_bf2_8 .box-center-info .info .item_subtitle {
    margin-top: 6px;
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    color: #5d5d5d;
	padding-left:2px;
}
.main_bf2_8 .box-center-info .info .info_footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: auto 0 18px;
	padding-left:3px;
}

.main_bf2_8 .box-center-info .info .info_footer .item_link {
    font-size: 16px;
    color: #0c0c0c;
    font-weight: 400;
    cursor: pointer;
    position: relative;
    width: auto;
	line-height:12px
}

.main_bf2_8 .box-center-info .info .info_footer .item_link .arrow {
	font-family:serif !important;
	font-weight:700;
}

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

.main_bf2_8 .swiper_arr > div {
    position: static;
    width: 50px;
    height: 50px;
    font-size: 30px;
    color: #d5d5d5;
    border: 1px solid #d5d5d5;
    border-radius: 50%;
    margin-top: 0;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.main_bf2_8 .swiper_arr > div:hover {
    background: var(--main-point-bg-color-hover);
    color: #fff;
}

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

@media (max-width: 991px) {
    /* 배경 텍스트 */
    .main_bf2_8 .bg_box {
        display: none;
    }

    /* 슬라이드 안쪽 콘텐츠 구성 */
    .main_bf2_8 .box-center-info {
        display: flex;
        align-items: center;
        flex-direction: column;
        max-width: 100%;
        width: 100%;
    }

    /* 썸네일 이미지 (동그랗게) */
    .main_bf2_8 .box-center-info .thumbnail_img {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 100%;
        height: auto;
        border-radius: 50%;
        overflow: hidden;
        transition: all 1s;
        transition-delay: .3s;
		padding:0 20px;
    }

	.main_bf2_8 .box-center-info .thumbnail_img img {
		aspect-ratio:1;
		height:auto;
	}

    /* 텍스트 영역 */
    .main_bf2_8 .box-center-info .info {
        position: relative;
        display: flex;
        flex-direction: column;
        left: 0;
        top: 50%;
        transform: translate3d(0px, -16%, 0);
		width: 100%;
        height: 305px;
        padding: 39px 5px 39px 34px;
        box-shadow: 0 9px 22px rgba(0, 0, 0, 0.2);
        margin-right: 0;
    }

    .main_bf2_8 .swiper {
        overflow: visible;
    }

    /* 슬라이드 활성화 시 등장 */
    .main_bf2_8 .swiper-slide-active .box-center-info .info {
        opacity: 1;
        transform: translate3d(0, -16%, 0);
    }

    .main_bf2_8 .box-center-info .info .item_title {
        font-size: 20px;
        line-height: normal;
        color: #0c0c0c;
    }

	.main_bf2_8 .box-center-info .info .item_title span {
		font-size:14px;
		margin-left:4px;
	}

    .main_bf2_8 .box-center-info .info .item_subtitle {
        margin-top: 19px;
        font-weight: 500;
        font-size: 15px;
        line-height: 23px;
        color: #5d5d5d;
		padding:0;
    }

    .main_bf2_8 .box-center-info .info .info_footer {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        margin: auto 0 8px;
        flex-direction: column;
    }

    .main_bf2_8 .box-center-info .info .info_footer .item_link {
        font-size: 15px;
        color: #0c0c0c;
        font-weight: 400;
        cursor: pointer;
        position: relative;
        width: auto;
    }

    /* 스와이프 화살표 */
    .main_bf2_8 .swiper_arr {
        margin-top: 26px;
        justify-content: center;
        gap: 5px;
        order: 2;
    }

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

    .main_bf2_8 .swiper_arr > div:hover {
        background: var(--main-point-bg-color-hover);
        color: #fff;
    }

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

}