
.kv{
	padding-top: 15rem;
	padding-bottom: 15rem;
}

.text-con{

	padding-right: 4rem;
}

.kv h2{
	margin-bottom: 0rem;
}

.kv .row{align-items: flex-end;}
.kv img{max-width: 77.5rem;margin-left: auto;}
.text-con p strong{font-size: 105%;font-weight: 500;}
.kv h4{
    margin-top: 2em;
}

.benefits .container{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 10rem;
}

.benefits-list{
    width: calc(52.5rem * 3 + 3.2rem * 3);
   display: flex;
   justify-content: flex-start;
   align-items: flex-start;
   flex-wrap: wrap;
   margin-left: -1.6rem;
   margin-right: -1.6rem;
   
}

.benefits-box{
   width: 52.5rem;
   margin: 0 1.6rem 6rem 1.6rem;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   cursor: pointer;
}
.benefits-box h4{
    font-size: 4rem;
    margin-bottom: 0;
}
.benefits-pic{
	width: 100%;
	height: 29.3rem;
/* 	background: #cccdcd; */

}
.benefits-pic img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.benefits-txt{text-align: center;line-height: 2em;margin: .5em 0;}
.benefits-txt p{}


@media (max-width: 767px){
    .kv{padding-bottom: 10rem;}
    .kv .row{flex-direction: column-reverse;}
    .kv img{
        width: 100%;
    }
    .kv h4{
        margin-top: 1em;
    }
    .kv .text-con{
        margin-top: 3rem;
    }
    .benefits .container{flex-direction: column;}
    .benefits-box{
        width: 100%;
        height: auto;
    }
     .benefits-list{
        margin: 0 auto;
        padding-bottom: 10rem;
        width: calc(31.2rem * 2 + 1.2rem * 2);
    }
/*     .benefits-box{width: 31.2rem;height: 50rem;padding: 1.7rem;margin: .6rem;min-height: 50rem;} */
    .benefits-pic{height: auto;}
   

}

.fancybox__content{background: transparent !important;}

.photo-gallery-swiper {
    width: 80vw; /* 讓寬度佔視窗寬度的 80% */
    max-width: 900px; /* 最大寬度限制 */
    height: 80vh; /* 高度佔視窗高度的 80% */
    margin: 0 auto;
}

/* 確保 Swiper 內容（圖片）能正確縮放 */
.photo-gallery-swiper .swiper-slide {
    text-align: center;
    font-size: 18px;
/*     background: #000; /* 通常燈箱背景為黑色 */ */
    display: flex; /* 使用 Flex 讓圖片居中 */
    justify-content: center;
    align-items: center;
}

.photo-gallery-swiper img {
    /* 讓圖片在容器內最大化顯示，同時保持比例 */
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; 
}
.fancybox__slide{
    overflow: hidden !important;
}
.image-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
}
.swiper-container-horizontal > .swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction{
    bottom: -3.5rem;
}
.swiper-pagination-bullet{
    width: 1rem;
    height: 1rem;
}
.swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet{
    margin: 0 .5rem;
}
.swiper-button-next, .swiper-button-prev{color: #fff;}


@media (max-width: 767px){
    .swiper-pagination-bullet{
        width: 2rem;
        height: 2rem;
    }
    .swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet{
        margin: 1rem;
    }
}