/*========================================================*/
/*-------首頁內容--------*/
/*========================================================*/

/*全站共用樣式*/
:root {
	/* --primary: Aquamarine; */
	--foreign_font: 'Quicksand', sans-serif;
	/*全站外文字型*/
	--mandarin_font: 'Noto Sans TC', sans-serif;
	/*全站中文字型*/
	--primary_color: #3f46f6;/*全站主色色碼*/
	--sec_color: #ee7800;/*全站第二配色色碼*/
	/*全站第三配色色碼*/
	--third_color:#252525;
}



/*/////////////////////////////////////////////////////////*/
/*-------共用區塊--------*/
/*/////////////////////////////////////////////////////////*/
.index_main .mainContent {
	padding: 290px 0px 0px 0px;
}

/*首頁內容區塊*/
.mainContent {
	padding: 50px 0px;
}



/*----- 首頁標題1 -----*/
.index_title {
	font-size: 30px;
	font-weight: bold;
	color: #777;
	line-height: 1.3;
	text-align: center;
	margin-bottom: 20px;
}

.index_title h2 {
	font-size: inherit;
	line-height: initial;
	padding: 0;
	margin: 0;
	display: inline-block;
	font-weight: inherit;
}

/*----- 首頁標題1 -----*/
.index_title2 {
	font-size: 26px;
	font-weight: bold;
	color: #000;
	line-height: 1.3;
	text-align: center;
	margin-bottom: 20px;
	position: relative;
	/* display: inline-block; */
}

/* .index_title2::before {
		position: absolute;
		content: '';
		background-image: url(../index/images/title_icon.svg);
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain;
		width: 270px;
		height: 90px;
		top: 50%;
		left: 75%;
		-webkit-transform: translateX(-50%) translateY(-50%);
		transform: translateX(-50%) translateY(-50%);
		z-index: -1;
	} */
.index_title2 h2 {
	font-size: inherit;
	line-height: initial;
	padding: 0;
	margin: 0;
	/* display: inline-block; */
	font-weight: inherit;
}




.main.index_main {
	padding-top: 0;
	/* background-color: #ccc; */
	position: relative;
}
.index_main:before {
	position: absolute;
	content:'';
	top: 0;
	z-index: 2;
	width: 100%;
	transition: 0.3s ease all;
	/* background-color: #fff; */
	/* border-top: 5px solid var(--primary_color); */
	background-image: linear-gradient(to bottom, rgba(255 255 255 / 80%) 0%, rgba(255 255 255 / 5%) 80%, rgba(255 255 255 / 0%) 100%);
	height: 5%;
	pointer-events: none;
}
@media(max-width:1440px) {
	.index_main .mainContent {
		padding: 220px 0px 0px 0px;
	}
}

@media (max-width: 1100px) {
	.index_main .mainContent {
		padding: 0px;
	}
}

@media (max-width: 990px) {
	.main {
		padding-top: 82px;
	}

	/* .main.index_main {
		padding-top: 82px;
	} */
	.mainContent {
		padding: 25px 0px;
	}



	/*----- 首頁標題1 -----*/
	.index_title {
		font-size: 25px;
		line-height: 1.2;
	}


}

@media (max-width: 540px) {

	.index_title2 {
		font-size: 24px;
	}
}




















/*==================================================================*/
/*-------首頁banner區塊--------*/
/*==================================================================*/


/* ----------------------------------------------------------- */
.bannerBg {
	position: relative;
}




	.bannerBg .banner a{
		position: relative;
		padding-top: 42.7%;
		display: block;
		overflow: hidden;
		width: 100%;
	}
		.bannerBg .banner 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;
		}




.banner_info {
	position: absolute;
	top: 50%;
	left: 10%;
	transform: translateY(-50%);
	width: 40%;
	padding: 20px;
}

.banner_info::before {
	/* border-radius: 10px; */
	content: '';
	width: 100%;
	height: 100%;
	background-color: #252525bd;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;

}

.banner_title {
	font-size: 36px;
	font-weight: 600;
	Text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	line-height: 2;
}

.banner_description {
	font-size: 18px;
	line-height: 22px;
	max-height: 120px;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;

	overflow: hidden;
}

.banner_info .btn_area {
	text-align: left;
	margin: 15px 0;
}

.banner_info .btn_area input {
	background-color: #fff;
	color: var(--primary_color);
}



@media(max-width:1440px) {
	.banner_title {
		font-size: 20px;

	}

	.banner_info {
		/* width: 500px; */

	}

	.banner_description {
		font-size: 16px;
		line-height: 18px;
		-webkit-line-clamp: 2;
	}

	.banner_info .btn_area {
		margin: 15px 0;
	}


}

@media(max-width:1100px) {
	.banner_info {
		width: 80%;
		top: 78%;
	}

	.banner_title {
		font-size: 22px;
		line-height: 1.8;
	}

	.banner_description {
		font-size: 16px;
		line-height: 20px;
		max-height: 120px;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.banner_info .btn_area {
		text-align: left;
		margin-top: 15px;
	}
	/* 20250523 修改 by tom start */
	.bannerBg .banner a{
		padding-top: 116.5%;
	}
	/* 20250523 修改 by tom end */
}

@media (max-width:768px) {
	.banner_info {}
}

@media (max-width:640px) {

	.banner_info {
		left: 12%;
		width: 75%;
	}

	.banner_title {
		font-size: 18px;
	}
}

















/*/////////////////////////////////////////////////////////*/
/*------首頁_最新消息區塊--------*/
/*/////////////////////////////////////////////////////////*/


.index_newsBg {
	position: absolute;
	transform: translate(-50%, 171px);
	bottom: 0px;
	left: 50%;
	z-index: 10;
}

.index_newsBg .index_title2 {
	display: none;
}

.index_newsBg .wrap {
	width: 900px;
}

.index_news_area {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 -10px;
}

.index_news_list {
	padding: 0 10px;
	width: 33.3%;
	transform: translateY(0);
	transition: all .2s ease-in;
	flex-grow: 1;
}

.index_news_list:hover {
	transform: translateY(-20px);
}

a.index_news_list_in {
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
	overflow: hidden;
	background: #fff;
	display: block;
	color: #000;
	text-decoration: none;
	transition: all .2s ease-in;
	border-radius: 10px;
}

.index_news_info {
	padding: 30px;
	height: 40%;
	/* background-color: none; */
	transition: all .2s ease-in;
}

.index_news_list:hover .index_news_info {
	background-color:var(--primary_color);
	opacity: 0.9;
	transition: all .1s ease-in;
}

.index_news_list:hover .index_news_list_in {
	color: #fff;
	transition: all .1s ease-in;
}

.index_news_title {
	font-size: 17px;
	font-weight: 600;
	margin-bottom: 10px;
	Text-overflow: ellipsis;
	overflow: hidden;
	white-space: wrap;
	line-height: 1.5;
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
	min-height: 50px;

}

.index_news_date {
	font-size: 16px;
	margin-bottom: 10px;
}

.index_news_img {
	height: 60%;
	position: relative;
	padding-top: 60%;
	overflow: hidden;
}

.index_news_img img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	transform: scale(1);
	transition: all .2s ease-in;
}

.index_news_list:hover .index_news_img img {
	transform: scale(1.2);
}

.index_news_description {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 16px;
	line-height: 1.6;
	min-height: clamp(1.5625rem,2.6563vw,3.1875rem);
}

@media(max-width:1440px) {
	.index_newsBg {
		/* transform: translate(-50%, 115px); */
	}

	.index_newsBg .wrap {
		width: 650px;
	}

	.index_news_info {
		padding: 15px;

	}
}

@media(max-width:1100px) {
	.index_newsBg {
		position: unset;
		transform: translate(0, 0);
		padding: 30px 0;
	}

	.index_newsBg .wrap {
		width: 90%;
	}

	.index_newsBg .index_title2 {
		display: block;
	}
}

@media(max-width:640px) {
	.index_newsBg {
		/* padding: 30px 0; */
	}

	.index_newsBg .wrap {
		width: 90%;
	}


	.index_news_area {
		display: block;
		margin: 0;
	}

	.index_news_list {
		padding: 0;
		width: 100%;
		height: fit-content;/* 20250523 自適應內容高度防止過度伸展問題 by tom */
		margin: 25px 0;
		box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
	}

	.index_news_img {
		height: 50%;
		padding-top: 50%;
	}
}


/*/////////////////////////////////////////////////////////*/
/*------首頁_關於我們區塊--------*/
/*/////////////////////////////////////////////////////////*/

.index_aboutBg {
	/* padding: 60px 0; */
	background-color: var(--sec_color);
}

.index_aboutBg .index_title2 {
	color: #fff;
}

.index_about_area {
	display: flex;
	flex-wrap: wrap;
}

.index_about_left {
	width: 40%;
	background: url(../index/images/product01.webp);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.index_about_right {
	width: 60%;
	padding: 40px 20px;
}

.index_about_description {
	font-size: 16px;
	/* overflow: hidden; */
	padding: 0 50px;
	line-height: 1.5;
	color: #fff;
	max-height: 300px;
	min-height: clamp(3rem,5vw,6rem);
	overflow-x: hidden;
	overflow-y: auto;
}



.index_about_description::-webkit-scrollbar {/*滾動條整體樣式*/
	width: 5px;     /*高寬分別對應橫豎滾動條的尺寸*/
	height: 5px;
}
.index_about_description::-webkit-scrollbar-thumb {/*滾動條裡面小方塊*/
	border-radius: 5px;
	/* -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2); */
	background: rgba(255 255 255 / 40%);
	/*background: #fff0; */
	/* background-image: linear-gradient(to top, #afafaf 0%, #e5e5e5 100%);		 */

	border-radius: 15px; 
}
.index_about_description::-webkit-scrollbar-track {/*滾動條裡面軌道*/
	/* -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2); */
	border-radius: 5px;
	background: #fff0;
	/* background: #EDEDED; */
}	










.index_aboutBg .btn_area input[type="button"] {
	border: 1px solid #fff;
	width: 80px;
	height: 36px;
	background: transparent;
	color: #fff;
	border-radius: 5px;
	transition: all .5s ease-in-out;
	line-height: 34px;
}

@media(max-width:640px) {
	.index_about_area {
		flex-direction: column;
	}

	.index_about_left {
		display: none;
	}

	.index_about_right {
		width: 100%;
		padding: 30px 10px;
	}

	.index_about_description {
		padding: 0;
	}
}

/*/////////////////////////////////////////////////////////*/
/*------首頁_產品區塊--------*/
/*/////////////////////////////////////////////////////////*/

.index_productBg {
	padding: 100px 0;
}

.index_product_top {
	/* position: relative; */
}

.index_product_top_brief {
	font-size: 16px;
	text-align: center;
	color: #777;
	margin: 20px 0;
	padding: 0 15%;
	line-height: 1.6;
}

/* 首頁產品輪播區 */
.main .swiper-button-prev_product,
.main .swiper-button-next_product {
	position: unset;
	margin: 0px;
	z-index: 10;
	cursor: pointer;
	width: 30px;
	height: 30px;
	background-size: cover;
}

.main .swiper-button-prev_product {
	background-image: url(../index/images/left_arrow02.svg);
	order: -1;
}

.main .swiper-button-next_product {
	background-image: url(../index/images/right_arrow02.svg);

}

.main .swiper-button-prev_product:after,
.main .swiper-button-next_product:after {
	/* content: 'prev'; */
	display: none;
}

.switch {
	display: flex;
	justify-content: center;
	align-items: center;
}

/* ---------------------------- */


.index_product_bottom {
	margin-top: 50px;
}

.index_product_bottom a {
	color: #000;
	text-decoration: none;
}

.index_product_list {
	position: relative;
	overflow: hidden;
}

/* .index_product_list::before{
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 58px 58px 0 0;
	border-color: var(--primary_color) transparent transparent transparent;
	position: absolute;
	top: 0;
	left:0px;
	z-index: 1;
	opacity: 0;
	transition: all .3s ease-in-out;
}
.index_product_list::after{
	font-family: "Material Icons";
    content: "\e8f4";
	font-size: 20px;
	color: #fff;
	position: absolute;
	top: 7px;
    left: 8px;
	z-index: 2;
	transition: all .3s ease-in-out;
	opacity: 0;
}
.index_product_list:hover::before{
opacity: 1;
}
.index_product_list:hover::after{
opacity: 1;
} */




.index_product_img {
	position: relative;
	padding-top: 60%;
}

.index_product_img img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

.overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	left: -1px;
	top: 0;
	right: 0;
	bottom: 0;
	background-color: var(--primary_color);
	opacity: 0.8;
	line-height: 200px;
	color: #fff;
	transform: translateX(-100%);
	-webkit-transition: transform 0.5s ease-out;
	-o-transition: transform 0.5s ease-out;
	transition: transform 0.5s ease-out;
}

.overlay span {
	font-size: 48px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.index_product_list:hover .overlay {
	transform: translateX(0);
}

.index_product_info {
	text-align: center;
	padding: 20px;
}

.index_product_title {
	font-weight: 600;
	Text-overflow: ellipsis;
	overflow: hidden;
	/* white-space: nowrap; */
	font-size: 17px;
	line-height: 1.5;
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
	min-height: 50px;
}

.index_product_brief {
	padding: 10px 0;
	color: #777;
	Text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	font-size: 16px;
}

.index_product_price {
	font-weight: 600;
	color: var(--primary_color);
	display: none;
}



@media(max-width:1100px) {
	.index_productBg {
		padding: 30px 0;

	}

	.index_product_top_brief {
		padding: 0 10%;
	}
}

@media(max-width:640px) {
	.index_product_top_brief {
		padding: 0 5%;
	}
}





/*/////////////////////////////////////////////////////////*/
/*------首頁_服務區塊--------*/
/*/////////////////////////////////////////////////////////*/

.index_serviceBg{
	overflow: hidden;
}
.index_service_area {
	display: flex;
	flex-wrap: wrap;
	margin-top: 50px;
}

.index_service_area a {
	color: #fff;
	display: block;
	width: 25%;
	position: relative;
	transition: all .5s ease-in-out;
}

.index_service_area a:hover::before {
	background-color:var(--sec_color);
	opacity: 0.8;
}




.index_service_area a:hover .index_service_title {
	order: -1;
	opacity: 0;
	transform: scale(0);
	/* display: none; */
	transform-origin: center center;
	transition: order 0s ease-in-out , transform 0.2s ease-in-out , opacity 0.2s ease-in-out;
}
.index_service_area a:hover .index_service_description{
	/* transition: all .5s ease-in-out; */
	order:0;
	opacity: 1;
	height: auto;	
	display: flex;
	flex-direction: column;
	transition: order 0.1s ease, opacity 0.4s ease, height 0.4s ease;
} 
.index_service_area a:hover .index_service_detail {
	opacity: 1;
	transform: scale(1);
	transform-origin: center;
	transition: opacity 2.0s ease, transform 2.0s ease, transform-origin 2.0s ease;
}

.index_serviceBg .index_service_area a:hover .btn_area {
	order: 3;
	transition: order 2.0s ease;
}

/* a 被加上 active class 時，讓內部的 .index_service_description 顯示 */
/* .index_service_area a.active .index_service_description {
  display: flex;
  flex-direction: column;
  opacity: 1;
  height: auto; 
}
.index_service_area a.active .index_service_detail {
	opacity: 1;
	transform: scale(1);
	transform-origin: center;
	transition: opacity 2.0s ease, transform 2.0s ease, transform-origin 2.0s ease;
}
.index_service_area a.active .index_service_detail {
 	opacity: 1;
	transition: all .5s ease-in-out;
	display: flex;
	flex-direction: column;
} */




.index_service_area a::before {
	content: '';
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

.index_service_img {
	position: relative;
	padding-top: 120%;
}

.index_service_img img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

.index_service_info {
	position: absolute;
	top: 50%;
	left: 0;
	z-index: 2;
	text-align: center;
	display: flex;
	flex-direction: column;
	/* justify-content: space-around; */
	justify-content: space-between;
	align-items: center;
	transform: translateY(-50%);
	min-height: 42.7%;
	min-height: clamp(71.5%, 100vw, 42.7%); /* 42.70px , 3.7240vw , 71.50px */
	width: 100%;
	 overflow: hidden;
}

.index_service_title {
	order: 1;
	opacity: 1;
	transform: scale(1);
	transform-origin: center center;
	/* transition: all .5s ease-in-out; */
	/* transform: translateY(75px); */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	padding: 0 15%;
	font-size: 18px;
	line-height: 1.5;
	transition: order 0s ease-in-out , transform 0.2s ease-in-out , opacity 0.2s ease-in-out;
}

.index_service_top {
	margin-bottom:  clamp(0.6452rem, 1.0417vw, 1.2500rem); /* 10.32px , 1.0417vw , 20.00px */
	font-size: 16px;
	line-height: 1.5;
	padding: 0 20px;


	display: -webkit-box;
	-webkit-box-orient: vertical;	
	-webkit-line-clamp: 2;	
	overflow: hidden;
}

.index_service_middle {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	padding: 0 20px;
	/* line-height: 24px; */
	line-height:1.5;
	font-size: 16px;
}

.index_service_description{
	/* transition: all .5s ease-in-out; */
	opacity: 0;
	height: 0;
	overflow: hidden;
	order: 0;
	transition: order 0.1s ease, opacity 0.4s ease, height 0.4s ease;
	/* display: none; */
}
.index_service_detail {
	/* transition: all .5s ease-in-out; */
	opacity: 0;
	transform: scale(0);
	transform-origin: center;
	transition: opacity 2.0s ease, transform 2.0s ease, transform-origin 2.0s ease;
	display: flex;
	flex-direction: column;
}

.index_serviceBg .btn_area {
	/* margin-top: 60px; */
	margin: 0;
	margin-top: clamp(2.1504rem, 3.1250vw, 3.7500rem); /* 34.41px , 3.1250vw , 60px */
	order: 2;
}

.index_serviceBg .btn_area input[type="button"] {
	/* border: 1px solid var(--primary_color); */
	width: 80px;
	height: 36px;
	line-height: 34px;
	background: #fff;
	color: var(--primary_color);
	border-radius: 5px;
	transition: all .5s ease-in-out;
}

.index_service_area a:hover .btn_area input[type="button"] {
	/* border: 1px solid #fff; */

}


.index_serviceBg .btn_area input[type="button"]:hover {
	/* border: 1px solid #fff; */
	background-color: var(--sec_color);
	color: #fff;
	opacity: 1;
}

@media(max-width:1100px) {

	.index_service_area a {
		width: 50%;
	}
	/* 20250523 修改 by tom start */
	.index_service_title {
		/* transform: scale(1) translateY(40px); */
	}
    .index_service_middle {
        /* line-height: 20px; */
        -webkit-line-clamp: 2;
    }
	.index_serviceBg .btn_area {
		margin-top: clamp( .625rem, 2.6667vw, 1.25rem );
	}
	/* 20250523 修改 by tom end */

	.index_service_info{
		min-height: 33%;
	}
	.index_service_title{
		top: 0%;
		position: unset;
		transition: order 0s ease-in-out, position 0s ease-in-out, top 0s ease-in-out, transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
	}
	.index_service_area a:hover .index_service_title {
		transition: order 0.1s ease-in-out, transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
		top: -100%;
		position: absolute;
		transition: order 0s ease-in-out, position 0s ease-in-out, top 0s ease-in-out, transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
	}

}


@media(max-width:640px) {
	.index_service_area a {
	color: #fff;
	display: block;
	/* width: 25%; */
	position: relative;
	transition: all .5s ease-in-out;
}

	.index_service_middle {
		line-height: 20px;
	}

}

@media(max-width:425px) {

	.index_serviceBg .btn_area {
		/* margin-top: auto; */
	}

}



/*/////////////////////////////////////////////////////////*/
/*------首頁_影片區塊--------*/
/*/////////////////////////////////////////////////////////*/






.index_videoBg {
	padding: 100px 0;
	overflow: hidden;
}

.index_videoBg .wrap {
	width: 70%;
}

.index_video_top {
	/* position: relative; */
}

.index_video_top_brief {
	font-size: 16px;
	text-align: center;
	color: #777;
	margin: 20px 0;
	padding: 0 15%;
	line-height: 1.6;
}

.index_video_bottom {

	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	margin: 0 -10px;
	margin-top: 50px;
}

.index_videoList {
	cursor: pointer;
	position: relative;
	transition: 0.3s ease all;
	width: 50%;
	padding: 0 10px;
}

.index_videoIcon {
	position: absolute;
	max-width: 180px;
	top: 50%;
	left: 50%;
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	z-index: 2;
	width: 50px;
	height: 50px;
}

.index_videoIcon img {
	width: 100%;
	height: auto;
}

.index_videoImg {
	position: relative;
	padding-top: 60%;
}

.index_videoImg img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

@media(max-width:1100px) {
	.index_videoBg {
		padding: 30px 0;
	}

	.index_videoBg .wrap {
		width: 93%;
	}

	.index_video_top_brief {
		padding: 0 10%;
	}
}

@media(max-width:640px) {
	.index_videoBg .wrap {
		width: 100%;
	}

	.index_video_bottom {
		margin: 0;

	}

	.index_videoList {
		width: 100%;
		margin: 10px 0;
	}

	.index_video_top_brief {
		padding: 0 5%;
	}
}

/*/////////////////////////////////////////////////////////*/
/*影片模組*/
/*/////////////////////////////////////////////////////////*/

/*燈箱*/
.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;
}

/*燈箱主體*/
.lightboxMain {
	height: 360px;
	width: 80%;
	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;
}

/*關閉燈箱按鍵*/
.lightboxCloseBtn {
	font-size: 17px;
	font-weight: bold;
	width: 48px;
	height: 48px;
	line-height: 48px;
	border-radius: 100%;
	color: #fff;
	text-align: center;
	background: #8c8482;
	cursor: pointer;
	position: absolute;
	top: -24px;
	right: -24px;
	transition: 0.3s ease all;
	z-index: 2;
	justify-content: center;
}

.lightboxCloseBtn:hover {
	background: #221912;
	color: #fff;
}

/*燈箱資料區*/
.lightboxContentArea {
	height: 100%;
}






.index_VideoBg {}


.index_video_list {
	position: relative;
	/*float:left;
	cursor:pointer;
	background:#000;
	margin:28px 0px 0px 0px;*/
}

.index_video_list>img {
	/*opacity:0.6;*/
	transition: 0.3s ease all;
	width: 100%;
	height: auto;
}


.indexNewsVideoBg .index_video_list {
	height: 100%;
	/*background-position:center;
		background-repeat:no-repeat;
		background-size:cover;*/
}

.index_video_list:hover {
	cursor: pointer;
}






.vL_text_area {
	position: absolute;
	width: 100%;
	max-width: 80px;
	text-align: center;
	left: 50%;
	top: 50%;
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	box-sizing: border-box;
	/*padding:70px 20px 20px 20px;*/
	/*font-size:16px;
		line-height:22px;*/
	color: #fff;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.75);
}

.vL_text_area img {
	/* width:100%; */
	width: 50px;
	height: auto;
	/*padding:0px 0px 8px 0px;*/
}

/*hover*/
.index_video_list:hover>img {
	opacity: 1;
}

.index_video_list:hover .vL_text_area img {
	transition: 0.3s ease all;
	transform: scale(0.8);
}





.video_page {}


.video_page .wrap {
	width: 92%;
}






.video_list_area {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	font-size: 0px;
	margin: 0 -12px -30px;
}

/*firefox hack*/
@-moz-document url-prefix() {
	.video_list_area {
		padding: 8px 0px 0px 0px;
	}
}

.video_list {
	box-sizing: border-box;
	padding: 0px 12px 30px;
	width: 33.3%;
}

/*firefox hack*/
@-moz-document url-prefix() {
	.video_list {
		padding: 65px 11px 0px 11px;
	}
}

.video_list .index_video_list {
	float: none;
	margin: 0px;
}

.video_list_remark {
	font-size: 18px;
	line-height: 24px;
	color: #888888;
	padding: 10px 0px 0px 0px;
	/* font-weight: bold;*/
}

/*影音燈箱顯示時才會加*/
.video_use {
	padding: 100px 0px;
}

.video_use .lightboxMain {
	height: 450px;
}

/*影音燈箱*/
.video {
	height: 80vh;
}

.video iframe {
	height: 1px;
	height: 100%;
	width: 100%;
}






@media (max-width: 1280px) {

	.video_page .wrap {
		width: 85%;
	}

}

@media (max-width: 990px) {

	.video_list_area {
		display: block;
		flex-wrap: unset;
		flex-direction: unset;
		margin: 0 0px -20px;
	}

	.video_list {
		/* box-sizing:border-box; */
		padding: 0px 0px 20px;
		width: 100%;
	}
}



@media (max-width: 950px) {
	/*---Video---*/
	/* .video_list_area {
		margin: 0px 0px 0px 0px;
	}
		.video_list {
		} */
	/*.video_list:nth-child(2n+1) {
			padding: 35px 25px 30px 0px;
		}
		.video_list:nth-child(2n+0) {
			padding: 35px 0px 30px 25px;
		}*/
}

@media (max-width:768px) {


	/* .vL_text_area {
		max-width:50px;
	}	 */

	/*---Video---*/
	/*.video_list:nth-child(2n+1) {
		padding: 35px 20px 30px 0px;
	}
	.video_list:nth-child(2n+0) {
		padding: 35px 0px 30px 20px;
	}*/
}

@media (max-width: 600px) {

	/* .video_list_area {
    display: block;
    flex-wrap: unset;
    flex-direction: unset;
} */

	/*---Video---*/
	/*.video_list {
		width: 100%;
		padding:0 0 30px;
	}
	.video_list:nth-child(2n+1) {
		padding: 35px 0px 30px 0px;
	}
	.video_list:nth-child(2n+0) {
		padding: 35px 0px 30px 0px;
	}*/

}


/*/////////////////////////////////////////////////////////*/
/*------首頁_相簿區塊--------*/
/*/////////////////////////////////////////////////////////*/






.index_photoBg {
	padding: 100px 0;
	/* background-color: var(--sec_color); */
	overflow: hidden;
}

.index_photoBg .index_title2 {
	/* color: #fff; */
}

.index_photoBg .wrap {
	width: 70%;
}

.index_photo_top {
	/* position: relative; */
}

.index_photo_top_brief {
	font-size: 16px;
	text-align: center;
	color: rgb(119, 119, 119);
	margin: 20px 0px;
	padding: 0px 15%;
	line-height: 1.6;
}

.index_photo_bottom {
	display: flex;
	flex-wrap: wrap;
	margin-top: 50px;
}

.index_photo_bottom a {
	width: 33%;
	display: block;
	position: relative;
}

.index_photo_bottom a::before {
	content: '';
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	transition: all .5s ease-in-out;
}

.index_photo_bottom a:hover::before {
	background-color: rgba(0, 0, 0, 0.7);
}

.index_photo_img {
	position: relative;
	padding-top: 60%;
}

.index_photo_img img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

.index_photo_icon {
	position: absolute;
	transform: translate(-50%, -50%);
	top: 50%;
	left: 50%;
	z-index: 2;
	width: 50px;
	height: 50px;
	opacity: 0;
	transition: all .5s ease-in-out;
}

.index_photo_bottom a:hover .index_photo_icon {
	opacity: 1;
}

.index_photo_icon img {
	width: 100%;
	height: auto;
}

@media(max-width:1100px) {
	.index_photoBg {
		padding: 30px 0 0 0;
	}

	.index_photoBg .wrap {
		width: 100%;
	}

	.index_photo_top_brief {
		padding: 0 10%;
	}
}

@media(max-width:640px) {

	.index_photo_top_brief {
		padding: 0 5%;
	}

	.index_photo_bottom a {
		width: 50%;
	}
}


/*--------------------------------燈箱效果--------------------------------*/
/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox,
#cboxOverlay,
#cboxWrapper {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999;
	overflow: hidden;
}

#cboxWrapper {
	max-width: none;
}

#cboxOverlay {
	position: fixed;
	width: 100%;
	height: 100%;
}

#cboxMiddleLeft,
#cboxBottomLeft {
	clear: left;
}

#cboxContent {
	position: relative;
}

#cboxLoadedContent {
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

#cboxTitle {
	margin: 0;
}

#cboxLoadingOverlay,
#cboxLoadingGraphic {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#cboxPrevious,
#cboxNext,
#cboxClose,
#cboxSlideshow {
	cursor: pointer;
}

.cboxPhoto {
	float: left;
	margin: auto;
	border: 0;
	display: block;
	max-width: none;
	-ms-interpolation-mode: bicubic;
}

.cboxIframe {
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
	padding: 0;
	margin: 0;
}

#colorbox,
#cboxContent,
#cboxLoadedContent {
	box-sizing: content-box;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
}

/* 
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are

    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay {
	background: #000;
	opacity: 0.9;
	filter: alpha(opacity=90);
}

#colorbox {
	outline: 0;
}

#cboxContent {
	margin-top: 20px;
	background: #000;
}

.cboxIframe {
	background: #fff;
}

#cboxError {
	padding: 50px;
	border: 1px solid #ccc;
}

#cboxLoadedContent {
	border: 5px solid #000;
	background: #000;
}

#cboxTitle {
	position: absolute;
	top: -20px;
	left: 0;
	color: #ccc;
}

#cboxCurrent {
	position: absolute;
	top: -20px;
	right: 0px;
	color: #ccc;
	font-family: 'BenchNine', sans-serif;
}

/*頁數樣式*/
#cboxLoadingGraphic {
	background: url(images/loading.gif) no-repeat center center;
}

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious,
#cboxNext,
#cboxSlideshow,
#cboxClose {
	border: 0;
	padding: 0;
	margin: 0;
	overflow: visible;
	width: auto;
	background: none;
}

/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active,
#cboxNext:active,
#cboxSlideshow:active,
#cboxClose:active {
	outline: 0;
}

#cboxSlideshow {
	position: absolute;
	top: -20px;
	right: 90px;
	color: #fff;
}

#cboxPrevious {
	position: absolute;
	top: 50%;
	left: 5px;
	margin-top: -32px;
	background: url(images/controls.png) no-repeat top left;
	width: 28px;
	height: 65px;
	text-indent: -9999px;
}

#cboxPrevious:hover {
	background-position: bottom left;
}

#cboxNext {
	position: absolute;
	top: 50%;
	right: 5px;
	margin-top: -32px;
	background: url(images/controls.png) no-repeat top right;
	width: 28px;
	height: 65px;
	text-indent: -9999px;
}

#cboxNext:hover {
	background-position: bottom right;
}

#cboxClose {
	position: absolute;
	top: 5px;
	right: 5px;
	display: block;
	background: url(images/controls.png) no-repeat top center;
	width: 38px;
	height: 19px;
	text-indent: -9999px;
}

#cboxClose:hover {
	background-position: bottom center;
}





/* ----------------------------------------------- */
@media(max-width:1100px) {}

@media(max-width:768px) {}

@media(max-width:640px) {}







/*/////////////////////////////////////////////////////////*/
/*------首頁_流程圖區塊--------*/
/*/////////////////////////////////////////////////////////*/

.index_flowchartBg{
	padding-top: 100px;
}

.index_flowchartBg .index_flowchart_area{
	max-width: 65.625rem; /*1050*/
	width: 90%;
    margin: 0 auto;

	max-width: 93.75rem; /*1500*/
}

.index_flowchartBg .index_flowchart_area .flowchart_list{
	display: flex;
    align-items: center;
	width: fit-content;margin: auto;
	width: 100%;
}

.flowchart_list3{
	flex-direction: row-reverse;
}

.flowchart_list .flowchart_listIn{
	width: 150px;
	width: calc(100% / 7);
    display: flex;
    justify-content: center;
	margin: 10px 0;
	opacity: 0;


	width: calc(100% / 9);
}

.flowchart_list .flowchart_listIn .flowchart_img{

}

.flowchart_listIn_name{
	text-align: center;
	font-weight: 600;
	padding-top: 5px;

	font-size: clamp(.875rem, 0.8333vw, 1rem); /* 最小值 14px、大小約 0.8333vw、最大值 16px */
}


.flowchart_list1{
	justify-content: flex-end;
}



.flowchart_list2 .none ,
.flowchart_list4 .none
{
	/* flex-direction: row-reverse; */
}
.flowchart_list2 .flowchart_listIn:not(.none) {
	
}
.flowchart_list4 .flowchart_listIn:not(.none)  {
	/* flex-direction: row-reverse; */
}





/*圖片跟箭頭標示----------------------------------*/

.flowchart_list .flowchart_listIn .flowchart_listIn_content .flowchart_img img{
	width: 94.99%;
	display: block;
	margin: auto;
	max-width: 155px;
}

.flowchart_list .flowchart_listIn .flowchart_listIn_content .flowchart_img img:hover{
	transition: transform 0.3s ease;
	transform: scale(1.3);
}

.flowchart_list .flowchart_listIn .flowchart_arrow{
	/* width: 50%; */
	width: 40%;
	max-width: 66px;
}




/*動畫效果*/
.left_ani {
    animation: leftAnimation 1s forwards;
}

.down_ani {
    animation: downAnimation 1s forwards;
}

.right_ani {
    animation: rightAnimation 1s forwards;
}


/*電腦的箭頭*/
.flowchart_pc{
}
	.flowchart_pc img{		
	}
	.flowchart_list .flowchart_listIn .flowchart_pc .flowchart_arrow{
		width: 78%;
	}
	.flowchart_list .flowchart_listIn .flowchart_listIn_content.flowchart_pc .flowchart_img img:hover{
		transform: scale(1);
	}

/*手機的箭頭*/
.flowchart_mb{
	display: none;
}






@keyframes leftAnimation {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes downAnimation {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rightAnimation {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}













@media(max-width:1050px) {
	.flowchart_list .flowchart_listIn{
		/* width: 120px; */
	}
}

@media(max-width:850px) {
	
	.flowchart_list .flowchart_listIn{
		/* width: 90px; */
	}
}



/* 在螢幕寬度大於631時，套用這裡的特定樣式 */ 
@media screen and (min-width: 631px) {

	.flowchart_list2{
		justify-content: flex-end;
	}

}



@media(max-width:630px) {

	.index_flowchartBg .index_flowchart_area .flowchart_list{
		/* display: block; */
		display: flex;
        flex-direction: column;
	}

	.flowchart_list .flowchart_listIn{
		max-width: 150px;
		width: 100%;
	}

	.right_arrow{
		transform:rotate(90deg)
	}

	.left_arrow{
		transform:rotate(-90deg)
	}


	
	/*電腦的箭頭*/
	.flowchart_pc{
		display: none;
	}

	/*手機的箭頭*/
	.flowchart_mb{
		display: block;
	}

	.flowchart_listIn_name{
		font-size: 1rem; 
	}
	
}