/*========================================================*/
/*-------首頁內容--------*/
/*========================================================*/









/*/////////////////////////////////////////////////////////*/
/*-------共用區塊--------*/
/*/////////////////////////////////////////////////////////*/


/*首頁內容區塊*/
.mainContent {
	/* padding: 50px 0px; */
}



/*----- 首頁標題1 -----*/
.index_title {
	font-size: 1.875rem;
	font-weight: bold;
	color: #333;
	line-height: 1.3;
	text-align: center;
	margin-bottom: 20px;

	display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
}
.index_title::before {
	content: "";
	background-image: url(../index/images/title_flower_icon.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 99.9%;
    aspect-ratio: 1 / 1;
    width: clamp(1.875rem, 1.208rem + 1.08vw, 2.5rem);
    height: auto;
    display: block;
}


.index_title strong,
.index_title .tit_text {
	font-size: inherit;
	line-height: initial;
	padding: 0;
	margin: 0;
	display: inline-block;
	font-weight: inherit;
}


/* 查看更多按鈕 */
.more_btn_area{
	/* padding-top: 1.25rem; */
	display: flex;
	justify-content: center;
	align-items: center;
}
.more_btn_area .more_btn{
	width: 140px;
	padding: .625rem;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid var(--primary_color);
	border-radius: .625rem;
	color: var(--primary_color);
	
}
.more_btn_area .more_btn:hover{
	text-decoration: none;
	
}



@media (max-width: 990px) {

	.mainContent {
		/* padding: 25px 0px; */
	}



	/*----- 首頁標題1 -----*/
	.index_title {
		font-size: 25px;
		line-height: 1.2;
	}


}











/* ======================================== */
/* 關於我們--------------------------------- */
/* ======================================== */
.index_aboutBg{
	background-image: url(../index/images/bg.png);
    background-position: right top;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
.index_aboutBg::before {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 10 / 1;
    background-image: linear-gradient(0deg, #ffffff 0%, rgba(255 255 255 / 50%) 40%, #ffffff00 100%);
    z-index: 0;
}

.index_about_area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.875rem, 1.208rem + 1.08vw, 2.5rem);
    width: 100%;
    max-width: 75rem;
    margin: 0 auto;
    padding: 7.5rem 1.25rem 3.75rem 1.25rem;
	padding-bottom: unset;

	position: relative;
}

/* 左側圖片區塊 */
.index_about_left {
    flex: 1;
    max-width: 50%;
}

.index_about_img img {
    width: 100%;
    height: auto;
    display: block;
}

/* 右側文字資訊區 */
.index_about_right {
    flex: 1;
    max-width: 50%;
}

.text_area {
    line-height: 1.8;
    font-size: clamp(0.875rem, 0.742rem + 0.22vw, 1rem);
    color: #333;
}



@media screen and (max-width: 990px) {
    .index_about_area {
        flex-direction: column;
        gap: 30px;
        padding: 40px 20px;
    }

    .index_about_left,
    .index_about_right {
        flex: none;
        max-width: 100%;
        width: 100%;
    }
    
}





/* ======================================== */
/* 最新消息輪播區塊--------------------------------- */
/* ======================================== */

.news_card_area{
	padding: 3.75rem 0px;
    position: relative;
    /* margin-bottom: 2.5rem; */
	/* display: flex;
    flex-wrap: wrap;
    gap: clamp(0.625rem, -0.042rem + 1.08vw, 1.25rem); */
}

.subtitle{
	width: 100%;
	font-size: 1.8rem;
	font-weight: bold;
	margin: .9375rem auto; /* 15 */
	margin-bottom: 2.8125rem; /* 45 */
	text-align: center;
	color: var(--primary_color);
}

/* 輪播---------- */

.card_area_content{
	position: relative;

	padding-bottom: 2.5rem;
}

.card_area_content .swiper-wrapper{
  list-style: none; /* 清除黑點與樣式 */
  padding: 0;       /* 清除左側內距 */
  margin: 0;        /* 清除外距 */
}

.news_card_area .swiper {
	width: 100%;
    max-width: 1570px; /* 改成你卡片區的寬 */
    margin: 0 auto;   /* 置中 */
}

.news_card_area .swiper .swiper-slide {
    display: flex;
    justify-content: center;
    height: auto;

	box-sizing: border-box;
	padding: .625rem;

}

.news_card{
    width: 100%;
	background-color: var(--white_color);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-radius: clamp(0.625rem, -0.042rem + 1.08vw, 1.25rem);
    overflow: hidden;
    /* width: calc((100% - clamp(0.625rem, -0.042rem + 1.08vw, 1.25rem) * 2) / 3); */
}

.news_card a,
.news_card a:hover{
    text-decoration: none;
}

/* 圖片------------ */
.cardimg_area{
    width: 100%;
	
	/* border-radius: 1.25rem; */
	overflow: hidden;
}
.news_img{
	display: block;
    position: relative;
    /* padding-top: 55%; */
	aspect-ratio: 45 / 34;
	transition: transform 0.4s ease;
}
.news_img img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease-out;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    float: none;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: all 0.3s ease-out;
}

/* 資訊------------ */
.news_info {
    padding: clamp(0.625rem, -0.042rem + 1.08vw, 1.25rem);
    display: flex;
    flex-direction: column;
    gap: .9375rem;
}

.news_info_text {
    display: flex;
    flex-direction: column;
    gap: .625rem;
}

.info_text_top {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info_text_top .news_date{
	font-weight: 600;
	color: var(--grey_color);
}

/* 標題----------------------------- */
.news_info_tit {
	padding: 0;
	margin: 0;
	font-size: clamp(1.0000rem, 0.9375vw, 1.1250rem);
    font-weight: bold;
	line-height: 1.5;
    color: var(--dark_color);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
	height: calc(
		clamp(1.0000rem, 0.9375vw, 1.1250rem)
		* 1.5
		* 1
	);
    overflow: hidden;
	transition: color 0.3s ease;
}

.news_info_brief {
    font-size: clamp(0.875rem, 0.742rem + 0.22vw, 1rem);
    font-weight: 400;
    color: var(--dark_color);
    line-height: 1.5;
	height: calc(
		clamp(0.875rem, 0.742rem + 0.22vw, 1rem)
		* 1.5
		* 2
	);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* 動畫----------- */
.news_card:hover .news_img {
	transform: scale(1.1);
}
.news_card:hover .news_info_tit {
	color: var(--second_color);
}




/* 箭頭 */
.news_card_area  .swiper-button-prev {
	width: 40px;
    height: 40px;
    background-size: 40px;
    /* transform: translateX(70px); */
	left: 5%;
    transform: translateX(-5%);
	background-image: url(../images/right_arrow.svg);
}

.news_card_area  .swiper-button-next {
    /* transform: translateX(-70px); */
	width: 40px;
    height: 40px;
    background-size: 40px;
	right: 5%;
    transform: translateX(-5%);
	background-image: url(../images/left_arrow.svg);
}



.cardimg_area{
    position: relative;
    overflow: hidden;
}

/* 輪播點點 */
.main .swiper-pagination-clickable .swiper-pagination-bullet {
	border: 1px solid var(--second_color);
    box-sizing: border-box;
}


/* RWD------------------------------------- */

@media(max-width:1570px){
	.news_card_area .swiper {
		width: 95%;
	}
}
@media(max-width:640px){
	.news_card_area .swiper {
		width: 90%;
	}
}

















/*========================================================*/
/*-------首頁_影片專區區塊--------*/
/*========================================================*/

.index_videoBg {
	position: relative;

	position: relative;
    padding-bottom: 35px;
    /* background-image: url(../index/images/index_videoBg.webp); */
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;

}

.index_videoBg::before {
position: absolute;
    content: "";
    background-color: #FFF;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    
    /* 核心修改：讓四個邊都貼緊父層，高度自然會被拉滿 */
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    
    z-index: 1;
    pointer-events: none;
	opacity: 0.75;
}

.index_videoBg .wrap {
	width: 100%;
	max-width: 99.9999%;
	position: relative;
	overflow: hidden;
}

.index_videoBg .wrap .index_title {
	margin-bottom: clamp(1.4517rem, 2.3438vw, 2.8125rem);
	margin-top: clamp(1.4517rem, 2.3438vw, 2.8125rem);
	position: relative;
	z-index: 2;
}




.index_video_area {
	position: relative;
	z-index: 5;
	margin: 0 -0.9375rem;
	/*padding-bottom: clamp(1.6130rem, 2.6042vw, 3.1250rem);*/
	/* 25.81px , 2.6042vw , 50.00px */
}



/* 首頁_影片專區 */
.index_videoBg .index_video_area .mySwiper_video {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.index_videoBg .index_video_area .mySwiper_video .swiper-wrapper {}

.index_videoBg .index_video_area .mySwiper_video .swiper-wrapper .swiper-slide {}

.index_videoBg .index_video_area .mySwiper_video .swiper-wrapper .swiper-slide>a {}


.index_video_control {
	width: 100%;
	height: 10px;

	display: none;
}

.index_video_control .swiper-pagination {}

.main .index_video_control .swiper-pagination .swiper-pagination-bullet {
	background-color: transparent;
	border: 1px var(--fourth_color) solid;
	z-index: 5;
	display: inline-block;
	width: 1.875vw;
	height: 0.2604vw;
	aspect-ratio: 36.65 / 5.00;
	border-radius: 0;
	opacity: 1;
}

.main .index_video_control .swiper-pagination span.swiper-pagination-bullet.swiper-pagination-bullet-active {
	background-color: var(--fourth_color);
}









/* 影片專區列表 */
.video_list {
	color: #FFF;
	cursor: pointer;
	box-sizing: border-box;
    padding: .625rem;
}

.video_box {
	display: flex;
	flex-direction: column;
	/* row-gap: clamp(0.938rem, 0.604rem + 0.54vw, 1.25rem); */
	/* 12.90px , 1.3021vw , 25.00px */
	background-color: #FFF;
	border-radius: 10px;
    overflow: hidden;
}

/* 影片專區列表_圖 */
.videoImg {
	text-align: center;
	/* 圖片置中 */
	position: relative;
}

.videoImg img {
	/* box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; */
}

.videoImg span {
	position: relative;
	aspect-ratio: 45 / 34;
	/* padding-top: 56.25%; */
	/* border: 5px #fff solid; */
	display: block;
	overflow: hidden;
	transition: 0.3s ease all;
	background-color: #000;
	/* border-radius: 10px; */
	cursor: pointer;
}

.videoImg span>img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	float: none;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	transition: 0.3s ease all;

	opacity: 0.5;
}

.videoImg span:hover img {
	opacity: 0.5;
	transform: scale(1.05);
}

.video_list .play {
	width: clamp(1.2904rem, 2.0833vw, 2.5000rem);
	aspect-ratio: 1 / 1;
	/* 20.65px , 2.0833vw , 40.00px */
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 5;
}

.video_list .play img {
	width: 100%;
	height: auto;
	object-fit: cover;
}


/* 影片專區列表_下方資訊 */
.video_bottom {
    padding: clamp(0.938rem, 0.604rem + 0.54vw, 1.25rem) .625rem;
}

/* 影片專區列表_標題 */
.video_bottom .title {

	padding-left: 0.625rem;
	border-left: 0.25rem solid #B7BCBF;
	box-sizing: border-box;

	/* height: calc(( clamp(1.0000rem, 0.9375vw, 1.1250rem) * 1.8 ) * 2); */
	font-size: clamp(1.0000rem, 0.9375vw, 1.1250rem);
	font-weight: 400;
	line-height: normal;
	color: var(--dark_color);
	cursor: pointer;

	/* 限制字數 */
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}


.video_bottom .title:hover {
	color: var(--primary_color);
	/* 滑鼠懸停時超連結顏色 */
}







/* 在螢幕放大150%且寬度大於991時，套用這裡的特定樣式 */
@media screen and (min-width: 1101px) and (min-height: 500px) and (max-height: 1000px) and (-webkit-min-device-pixel-ratio: 1.5) and (-webkit-max-device-pixel-ratio: 1.74),
only screen and (min-resolution: 150dpi) and (max-resolution: 174dpi) {


}


/* 在螢幕寬度大於991時，套用這裡的特定樣式 */
@media screen and (min-width: 1101px) {

	.index_video_area.count_1,
	.index_video_area.count_2,
	.index_video_area.count_3,
	.index_video_area.count_4,
	.index_video_area.count_gt4 {
		margin: 0 auto;
	}

	.index_video_area.count_1 {
		width: calc(100% / 4 * 2);
	}

	.index_video_area.count_2 {
		width: calc(100% / 4 * 2);
	}

	.index_video_area.count_3 {
		width: calc(100% / 4 * 3);
	}

}


@media (max-width: 1100px) {

	.index_videoBg .wrap {
		width: 90%;
	}

	.index_video_area.count_1,
	.index_video_area.count_2,
	.index_video_area.count_3,
	.index_video_area.count_4,
	.index_video_area.count_gt4 {
		margin: 0 auto;
		width: 100%;
	}

	/*----- 首頁標題1 -----*/
	.index_videoBg .index_title {
		margin-bottom: 0.625rem;
		/*10px */
	}

}


/*/////////////////////////////////////////////////////////*/
/*-------燈箱--------*/
/*/////////////////////////////////////////////////////////*/

/*燈箱*/
.lightboxArea {
	position:fixed;
	width:100%;
	z-index:99999;
	top:0px;
	left:0px;
	box-sizing:border-box;
	/* padding:124px 0px; */
	display:none;
}
	/*燈箱黑底*/
	.lightboxBG {
		background:rgba(0,0,0,0.8);
		width:100%;
		height:100%;
		position: absolute;
		top:0px;
		min-height: 100vh;
	}
	
	/*燈箱主體*/
	.lightboxMain {
		margin:0 auto;
		background:#000;
		border-radius:5px;
		position: relative;
		transition:0.3s ease all;
		/* transform:scale(0); */
		top:0px;
		box-sizing:border-box;
		font-size:0px;
		margin: 0;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%) scale(0);
		width: 75vw;
		height: calc(75vw * 9 / 16);
	}
		/*關閉燈箱按鍵*/
		.lightboxCloseBtn {
			position: absolute;
			font-size: 15px;
			font-weight: bold;
			letter-spacing: 0px;
			text-align: center;
			width: 45px;
			height: 45px;
			line-height: 45px;
			color: var(--dark_color);
			background: var(--second_color);
			/* right: 20px;
			top: 20px; */
			right: 0px;
			top: 0px;
			border: solid var(--second_color) 1px;
			box-shadow: 0px 0px 6px rgb(0 0 0 / 10%);
			cursor: pointer;
			transition: 0.3s ease all;
			display: flex;
			transition: 0.3s ease all;
		}
		.lightboxCloseBtn svg{
			fill: var(--dark_color);
			width: 25px;
			height: 25px;
			margin: auto;
			transition: 0.3s ease all;
		}
			.lightboxCloseBtn:hover {
				background: var(--fourth_color);
				border-color: var(--fourth_color);
				transition: 0.3s ease all;
			}
			.lightboxCloseBtn:hover svg{
				fill: var(--dark_color);
				transform: rotate(15deg);
				transition: 0.3s ease all;
			}
			
		/*燈箱資料區*/
		.lightboxContentArea {
			height: inherit;
		}
		
			
	/*影音燈箱顯示時才會加*/
	.video_use {}
	.video_use .lightboxMain {}
	
	/*影音燈箱*/
	.video {
		height:100%;
	}
		.video iframe {
			height:1px;
			height:100%;
			width:100%;
		}


@media (max-width: 1100px){	
	/*燈箱主體*/
	.lightboxMain {
		width: 90vw;
		height: calc(90vw * 9 / 16);
	}
}

@media (max-width: 950px){	

	/*燈箱資料區*/
	.lightboxContentArea {
		height: 100%;
	}

}

@media (max-width: 600px){	

	
}
