/*/////////////////////////////////////////////////////////*/
/*-------首頁最新消息區--------*/
/*/////////////////////////////////////////////////////////*/

      

/*-----首頁最新消息區--------------------------------------*/

.indexNewsBg{
	padding: clamp(3.125rem,5.2083vw,6.25rem) 0;
	overflow: hidden;
	position: relative;
	background-image: url(../index/images/bg_01.webp);
	background-position: center center;
	background-size: cover;
}
.index_title_area{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	height: 100%;
	gap: clamp(1.25rem,2.0833vw,2.5rem);
	
}
.index_title{
	font-size: clamp(1.5625rem,2.6042vw,3.125rem);
	color: #fff;
	display: inline-block;	
	position: relative;
	z-index: 2;
	/* max-width: 20%; */
	padding-left: 100px;
	padding-left: 0;
}
.index_title .index_title_en{
	
}
.index_title .index_title_cn{
	font-size: clamp(1.125rem,1.875vw,2.25rem);
	position: relative;
}
.index_title .index_title_cn::after{
	content: '';
	display: block;
	width: clamp(4.375rem,7.2917vw,8.75rem);
	height: clamp(.9375rem,1.5625vw,1.875rem);
	background-color: var(--third_color);
	position: absolute;
	right: -25px;
	bottom: -10px;
	z-index:-1;
	aspect-ratio: 140 / 30;
}
/* .index_title span::after{
	content: '';
	display: block;
	width: 140px;
	height: 30px;
	background-color: #5F3FA1;
	position: absolute;
	right: -25px;
	bottom: -15px;
	z-index:-1;
} */
.indexNewsArea{
	display: flex;
    justify-content: space-between;
    position: relative;
	align-items: center;
}

/* 新增 修改樣式 modify by Patty 20221201 start */
.card{
	box-shadow: rgb(50 50 93 / 25%) 0px 13px 27px -5px, rgb(0 0 0 / 30%) 0px 8px 16px -8px;
    border-radius: 25px;
    overflow: hidden;
    /* transition: all .3s ease; */
    padding-bottom: 164px;
    position: relative;
    /* cursor: url(../images/mouse_logo.svg),auto; */

}
.indexNewsin {
    width: 80%;
    /* padding-top: 42px; */
}
.indexNewsin .swiper-slide a{
	display: block;
	padding: 40px 20px 40px 20px ;
	padding: 40px 0;
	padding: clamp(1.25rem,2.0833vw,2.5rem) 0;
	transition: all .2s ease;
	width: 100%;
	max-width: 400px;
	box-sizing: border-box;


}
.indexNewsin .swiper-slide a:hover{
	/* opacity: .5; */
}

.card_img{
	overflow: hidden;
	position: relative;
	padding-top: 141.68%;
	border-radius: 25px 25px 0 0 ;
}
.card_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;
}
.card_info{
	background-color: #fff;
	height: 135px;
	position: relative;
	font-size: clamp(1rem,1.25vw,1.5rem);
	line-height: 32px;
	padding: 15px;
	position: absolute;
	left: 0;
	bottom: 0;
	width: calc( 100% - 15px * 2 );
	transition:all .3s ease ;
	opacity: 1;
}
.card_info_title{
	/* display: block; */
	opacity: 1;
	transition:all .3s ease ;
	text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;

    /* Multi-line settings */
    -webkit-line-clamp: 2;
    
	
}
.card_info_more{
	position: absolute;
	left: 0;
	top: 0;
	/* transform: translate(-50%,-50%); */
	padding: 15px;
	/* display: none; */
	opacity: 0;
	transition:all .3s ease ;
	/* 新增 修改內容 modify by Patty 20221201 start */
	font-size: 1rem;	
	line-height: 28px;
	color: var(--third_color); 
	/* 新增 修改內容 modify by Patty 20221201 end */
	text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;

    /* Multi-line settings */
    -webkit-line-clamp: 3;
}

/* hover效果 */
.card.card_news:hover .card_info{
	height: 135px;
	
}
.card.card_news:hover .card_info_title{
	/* display: none; */
	opacity: 0;
	
}
.card.card_news:hover .card_info_more{
	/* display: block; */
	opacity: 1;
	
}


.card_info p:last-of-type{
	display: -webkit-box;
	-webkit-line-clamp: 1; 
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.card_info p:first-of-type{
	display: -webkit-box;
	-webkit-line-clamp: 2; 
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.card_info .card_info_more > p{
	display: -webkit-box;
	-webkit-line-clamp: 3; 
	-webkit-box-orient: vertical;
	overflow: hidden;
}
/* 新增 修改樣式 modify by Patty 20221201 end */

.card_info::before{
	content: "2022/11/15";
	position: absolute;
	left: 15;
	top: -35px;
	z-index: 1;
	font-size: clamp(1rem,0.9375vw,1.125rem);
	color: var(--primary_color);
}
.card_info::after{
	content: "";
	display: block;
	width: 130px;
	height: 60px;
	position: absolute;
	left: 0;
	top: -45px;
	background-color: #fff;
	border-radius: 0 10px 0 0 ;
}
.main .swiper-slide .card_link img{
	width: 12px;
	height: 12px;
	vertical-align: -2px;
	display: none;
}
.main .swiper-slide a {
	color: var(--primary_color);
	text-decoration: none;
}
.card_link span{
	color: var(--primary_color);
	font-size: .75rem;
}
/* 新增 修改樣式 modify by Patty 20221201 start */
.card_link {
	display: inline-block;
	/* margin-left: 83%; */
    min-width: 70px;
	position: absolute;
	bottom: 15px;
	right: 5%;
	transition:all .3s ease ;
}

@media (max-width: 990px){
	.index_title .index_title_cn::after{
		content: '';
		display: block;
		width: clamp(4.375rem,7.2917vw,8.75rem);
		height: clamp(.9375rem,1.5625vw,1.875rem);
		background-color: var(--third_color);
		position: absolute;
		right: -25px;
		bottom: -10px;
		z-index:-1;
		aspect-ratio: 140 / 30;
		display: none;
	}
	.indexNewsArea{
		display: block;
	}

	.indexNewsin .swiper-slide a{
		max-width: unset;


	}
	.indexNewsin {
		width: 100%;
		/* padding-top: 42px; */
	}
}

@media (max-width: 640px){
	.indexNewsBg{
		background-image: url(../index/images/bg_02.webp);
	}
}


/* ------------------------------------------- */
.indexAdmissionBg{
	padding: 100px 0;
	overflow: hidden;
	position: relative;
	background-image: url(../index/images/bg_02.jpg);
	background-position: center center;
	background-size: cover;
}
.indexAdmissionBg .index_title{
	color: #5F3FA1;
}
.indexAdmissionBg .index_title .index_title_cn::after{
    background-color: #fff;
    right: 25px;
}

.indexAdmissionBg .card_info::before{
	content: "";
	display: none;
}
.indexAdmissionBg .card_info::after{
	content: "";
	display: none;
}
@media(max-width:990px){
	.indexAdmissionBg{
		padding: 70px 0;
	}
}
@media(max-width:540px){
	.indexAdmissionBg .index_title .index_title_cn::after{
		right: 25px;
	}
}
@media(max-width:425px){
	.indexAdmissionBg{
		padding: 60px 0;
	}
}
/* --------------------------------------------- */
.indexPhotoBg{
	padding: clamp(3.125rem,5.2083vw,6.25rem) 0;
	overflow: hidden;
	position: relative;
	background-color:#fff;
}
.indexPhotoBg .wrap{
	width: 100%;
}

.indexPhotoBg .indexNewsin {
    width: 100%;
}

.indexPhotoBg .card_img {
	box-shadow: rgb(50 50 93 / 25%) 0px 13px 27px -5px, rgb(0 0 0 / 30%) 0px 8px 16px -8px;
    border-radius: 25px;
    overflow: hidden;
	padding-top: 74.93%;
}

.indexPhotoBg  .swiper-wrapper{
    -webkit-transition-timing-function: linear; /*之前是ease-out*/
    -moz-transition-timing-function: linear;
    -ms-transition-timing-function: linear;
    -o-transition-timing-function: linear;
    transition-timing-function: linear;
}

.indexPhotoBg .swiper-slide a {
    display: block;
    padding: 40px 20px 40px 20px;
    padding: clamp(1.25rem,2.0833vw,2.5rem)	clamp(.625rem,1.0417vw,1.25rem);
    transition: all .2s ease;
	position: relative;
}
.indexPhotoBg .swiper-slide a .card_img{
    position: relative;
}
.indexPhotoBg .swiper-slide .photo_name{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	height: 100%;
	background-color: #12331ba3;
	width: 100%;
    opacity: 1;
	visibility: hidden;
	color: var(--third_color);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: .625rem;

}
.indexPhotoBg .swiper-slide .photo_name span{
	display: block;
	padding: 0 10px;
	font-size: 1rem;
	color: #fff;
	
}
.indexPhotoBg .swiper-slide .photo_name span:not(.date){
	min-height:22px;
	width: 100%;
	line-height: 1.5;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2 ; /* 限制行數 */
	box-sizing:border-box;
}
.indexPhotoBg .swiper-slide .photo_name span.date{
	display: block;
	text-align: center;
	font-size: .875rem;
    color: #ffffbd;

}
.indexPhotoBg .swiper-slide a:hover .photo_name{
    opacity: 1;
	visibility: visible;
}
.indexPhotoBg .swiper-slide a .card_img::before{
	content: '';
	position: absolute;
	left: -1px;
	top:-1px;
	width: 100px;
	height: auto;
	background-image:url(../index/images/img_icon.svg) ;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	z-index: 2;
	aspect-ratio: 191 / 150;
}

/* 在螢幕放大150%且寬度大於991時，套用這裡的特定樣式 */ 
@media screen and (min-width: 991px) 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) { 
	.indexPhotoBg .swiper-slide .photo_name span{
		font-size: .875rem;
	}
		.indexPhotoBg .swiper-slide a .card_img::before{
		width: 80px;
		
	}
}





@media(max-width:990px){
	.indexPhotoBg{
		padding: 70px 0;
	}

}
@media(max-width:425px){
	.indexPhotoBg{
		padding: 40px 0;
	}
}


.switch {
    position: absolute;
    z-index: 3;
    bottom: 0;
    padding-left: 150px;
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 40px;
    position: relative;
    padding-bottom: 0;
    width: 100%;
}


@media (max-width: 990px){
	.switch{
		justify-content: center;
	}
}

