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

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

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

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

/* 전체 레이아웃 */
.main_bf2_9 .main_box.container_fix {
    z-index: 5;
	padding:0;
}

.main_bf2_9 .main_title {
    font-size: 80px;
    font-weight: bold;
    line-height: 84px;
    color: #472e18;
    margin-bottom: 66px;
	font-family: "Cormorant Garamond", serif;
}

.main_bf2_9 .main_link {
    font-size: 16px;
    font-weight: 400;
    color: #0c0c0c;
    line-height: 30px;
}

.main_bf2_9 .main_link .arrow {
	font-family:serif !important;
	font-weight:700;
}

.main_bf2_9 .cont_box {
	margin-top:11px;
}

/* 스와이퍼 기본 설정 */
.main_bf2_9 .swiper {
    position: relative;
    overflow: hidden;
    height: 622px;
}
.main_bf2_9 .swiper-wrapper {
    display: flex;
    align-items: stretch;
}
.main_bf2_9 .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* 슬라이드 안쪽 콘텐츠 구성 */
.main_bf2_9 .box-center-info {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* info를 아래로 */
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

/* 썸네일 이미지 */
.main_bf2_9 .box-center-info .thumbnail_img {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    width: 53%;
    overflow: hidden;
    transition: all 1s;
    transition-delay: .3s;
}

.main_bf2_9 .box-center-info .thumbnail_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateX(80px); /* → 오른쪽에서 시작 */
    opacity: 0;
    transition: opacity 0.6s ease 0.6s, transform 0.6s ease 0.6s;
}

/* 슬라이드 활성화 시 */
.main_bf2_9 .swiper-slide-active .box-center-info .thumbnail_img img {
    transform: translateX(0); /* 오른쪽에서 원래 위치로 */
    opacity: 1;
}

/* 텍스트 영역 */
.main_bf2_9 .box-center-info .info {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 91.8%;
    height: 495px;
    padding: 88px 100px;
    background: linear-gradient(to bottom, #472e18 52%, rgba(255, 255, 255, 0.2) 122%);
}

/* 초기 상태: 왼쪽으로 살짝 숨김 + 투명 */
.main_bf2_9 .box-center-info .info_text_box {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

/* 슬라이드 활성화 시 등장 */
.main_bf2_9 .swiper-slide-active .info_text_box {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

.main_bf2_9 .box-center-info .info .item_title {
    font-weight: 500;
    font-size: 45px;
    line-height: 84px;
    color: white;
	font-family: "Cormorant Garamond", serif;
}

.main_bf2_9 .box-center-info .info .item_subtitle {
    margin-top: 30px;
    font-weight: 400;
    font-size: 22px;
    line-height: 32px;
    color: white;
}
.main_bf2_9 .box-center-info .info .info_footer {
    display: flex;
    align-items: center;
    margin-top: auto;
    height: 70px;
}


/* 스와이프 화살표 */
.main_bf2_9 .swiper_arr {
    position: absolute;
    bottom: 123px;
    left: 102px;
    z-index: 10; 
    display: flex;
    justify-content: flex-start;
    align-items: center;
}


.main_bf2_9 .swiper_arr > div {
    position: static;
    width: 50px;
    height: 50px;
    font-size: 30px;
    color: white;
    border: 1px solid white;
    border-radius: 50%;
    margin-top: 0;
    margin-right: 9px;
    transition: all 0.3s ease;
	font-weight:300;
}

.main_bf2_9 .swiper_arr .swiper-pagination {
    border: none;
    border-radius: 0;
    font-size: 22px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.main_bf2_9 .swiper_arr .swiper-pagination:hover {
    background: transparent;
    color: white;
}

.main_bf2_9 .swiper_arr > div:hover {
    background: white;
    color: #472e18;
}

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

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

    /* 전체 레이아웃 */
    .main_bf2_9 .main_box.container_fix {
        z-index: 5;
        padding: 0;
    }

    .main_bf2_9 .main_title {
        font-size: 31.5px;
        font-weight: bold;
        line-height: 46px;
        color: #472e18;
        margin-bottom: 33px;
        padding: 0 15px;
    }

    .main_bf2_9 .main_link {
        display: none;
    }

    /* 스와이퍼 기본 설정 */
    .main_bf2_9 .swiper {
        position: relative;
        overflow: hidden;
        /* height: 580px; */
		height:108vw;
    }

    /* 썸네일 이미지 */
    .main_bf2_9 .box-center-info .thumbnail_img {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        overflow: hidden;
        transition: all 1s;
        transition-delay: .3s;
        padding: 0 0 0 15px;
    }

    .main_bf2_9 .box-center-info .thumbnail_img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: translateX(80px); /* → 오른쪽에서 시작 */
        opacity: 0;
        transition: opacity 0.6s ease 0.6s, transform 0.6s ease 0.6s;
    }

    /* 슬라이드 활성화 시 */
    .main_bf2_9 .swiper-slide-active .box-center-info .thumbnail_img img {
        transform: translateX(0); /* 오른쪽에서 원래 위치로 */
        opacity: 1;
    }

    /* 텍스트 영역 */
    .main_bf2_9 .box-center-info .info {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 445px;
        padding: 120px 0;
        background: linear-gradient(to bottom, #472e18 55%, rgba(255, 255, 255, 0.2) 100%);
    }

    /* 초기 상태: 왼쪽으로 살짝 숨김 + 투명 */
    .main_bf2_9 .box-center-info .info_text_box {
        opacity: 0;
        transform: translateX(-50px);
        transition: all 0.6s ease;
        padding: 0 15px;
    }

    /* 슬라이드 활성화 시 등장 */
    .main_bf2_9 .swiper-slide-active .info_text_box {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.2s;
    }

    .main_bf2_9 .box-center-info .info .item_title {
        font-weight: 500;
        font-size: 31.5px;
        line-height: 49px;
        color: white;
		padding-top:34px;
    }

    .main_bf2_9 .box-center-info .info .item_subtitle {
        margin-top: 15px;
        font-weight: 400;
        font-size: 15px;
        line-height: 23px;
        color: white;
    }
    .main_bf2_9 .box-center-info .info .info_footer {
        display: flex;
        align-items: center;
        margin-top: auto;
        height: 40px;
    }


    /* 스와이프 화살표 */
    .main_bf2_9 .swiper_arr {
        position: absolute;
        bottom: 104px;
        left: 17px;
        z-index: 10; 
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }


    .main_bf2_9 .swiper_arr > div {
        position: static;
        width: 42px;
        height: 42px;
        font-size: 20px;
        color: white;
        border: 1px solid white;
        border-radius: 50%;
        margin-top: 0;
        margin-right: 8px;
        transition: all 0.3s ease;
    }

    .main_bf2_9 .swiper_arr .swiper-pagination {
        border: none;
        border-radius: 0;
        font-size: 15px;
        gap: 5px;
    }

    .main_bf2_9 .swiper_arr > div:hover {
        background: white;
        color: #658cf9;
    }

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

}

@media (max-width: 480px) {

	.main_bf2_9 .swiper {
        height: 580px; 
    }
	.main_bf2_9 .box-center-info .info {
		height: 445px;
		padding:120px 0;
	}
}