﻿.news-block{
	width: 100%;
	display: block;
	padding: 100px 0;
	background-color: #f5f5f5;
}
.news-list-box{
	width: 1600px;
	max-width: 100%;
	display: block;
	margin: 0 auto;
	font-size: 0;
}

.news-list{
	width: 47.5%;
	height: 440px;
	display: inline-block;
	vertical-align: top;
	padding: 20px;
	box-sizing: border-box;
	background-color: #FFF;
}
.news-list:nth-child(even){
	margin-left: 5%;
	margin-bottom: 5%;
}
.teams-info-box{
	display: block;
	width: 100%;
	height: 100%;
}
.news-list-img-box{
	width: 320px;
	height: 100%;
	display: inline-block;
	position: relative;
	overflow: hidden;
}
.news-list-info-box{
	width: calc(100% - 320px);
	padding-left: 20px;
	box-sizing: border-box;
	display: inline-block;
	vertical-align: top;
}
.news-list-info-time{
	font-size: 20px;
	color: #555555;
	margin-bottom: 17px;
	display: block;
	transition: all .5s ease;

}
.news-list-info-title{
	font-size: 16px;
	color: #000000;
	font-weight: bold;
	letter-spacing: 1px;
	width: 100%;
	text-overflow : ellipsis;
	white-space: nowrap;
	overflow: hidden;
	margin-top: 10px;
	transition: all .5s ease;
}
.news-list-article{
	font-size: 14px;
	color: #555555;
	letter-spacing: 1px;
	line-height: 1.8;
	min-height: 100px;
	max-height: 100px;
	margin-bottom: 10px;
    overflow : hidden;
	transition: all .5s ease;
}
.news-list-read{
	width: 80px;
	height: 36px;
	line-height: 36px;
	background-color: #d593be;
	display: block;
	margin-left: auto;
	text-align: center;
	font-size: 14px;
	color: #fff;
	letter-spacing: 1px;
	margin-right: 10px;
	cursor: pointer;
	transition: all .5s ease;
}
.news-mask{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,0.7);
	background-repeat: no-repeat;
	background-size: 20px;
	background-position: center;
	background-image: url(../img/front/hover-icon.png);
	transition: all .8s ease;
	opacity: 0;
}



/*------------------------------------------*/
.news-page-block{
	width: 1600px;
	max-width: 100%;
	display: block;
	margin: 0 auto;
}
.news-page-box{
	width: 1000px;
	max-width: 100%;
	display: block;
	margin: 0 auto;
	padding-bottom: 100px;
}

.news-page-time{
	font-size: 12px;
	color: #333333;
	display: block;
	padding-bottom: 20px;
}
.news-page-title{
	font-size: 22px;
	font-weight: bold;
	letter-spacing: 1px;
	padding-bottom: 20px;
}
.news-page-img{
	text-align: center;
	margin-bottom: 20px;

}
.news-page-img img{
	display: inline-block;
}
.news-page-fb-box{
	margin-bottom: 20px;
	height: 30px;
}

.news-page-edit-box{
	font-size: 14px;
	color: #555555;
	letter-spacing: 1px;
	line-height: 1.6;
	margin-bottom: 20px;
}

.news-page-prev{
	position: fixed;
	left: 10%;
	font-family: "Roboto";
	top: 50%;
	font-size: 18px;
}
.news-page-next{
	position: fixed;
	right: 10%;
	font-family: "Roboto";
	top: 50%;
	font-size: 18px;
}
.news-page-prev span{
	padding-left: 10px;
}
.news-page-next span{
	padding-right: 10px;
}
.news-page-prev span,
.news-page-next span{
	font-weight: 100;
}


/*--------------------hover-------------------------*/
.news-list:hover .news-mask{
	opacity: 1;
}
.news-list:hover .news-list-info-time{
	color: #cc2222;
}
.news-list:hover .news-list-info-title{
	color: #0094ec;
}
.news-list:hover .news-list-article{
	color: #000;
}
.news-list-read:hover{
	background-color: #ffb0e3;
	color: #555;
}
.news-list:hover .main-bg{
	transform: scale(1.1);
}

.news-page-prev:hover span,
.news-page-next:hover span{
	font-weight: bold;
	color:#0094ec;
}
.news-page-prev:hover i{
	animation: fadeInRight 1s linear infinite alternate;
}
.news-page-next:hover i{
	animation: fadeInLeft 1s linear infinite alternate;
}




/*--------------------動畫-------------------------*/
.news-list,
.news-page-prev,
.news-page-next,
.news-page-box{
	opacity: 0;
}
.news-list.active,
.news-page-box.active{
	animation: fadeInUp .8s ease 0s 1 forwards;
}
.news-page-prev,
.news-page-next{
	pointer-events: none;
}
.news-page-prev.active,
.news-page-next.active{
	animation: fade .8s ease 0s 1 forwards;
	pointer-events: auto;
}


@media only screen and (max-width: 1600px){
	.news-list-box{
		width: 95%;
	}
	.news-list{
		width: 48.5%;
	}
	.news-list:nth-child(even){
		margin-left: 3%;
		margin-bottom: 3%;
	}
	.news-list-img-box{
		width: 270px;
	}
	.news-list-info-box{
		width: calc(100% - 270px);
	}
	.news-page-prev{
		left: 2.5%;
	}
	.news-page-next{
		right: 2.5%;
	}
}
@media only screen and (max-width: 1300px){
	.news-page-box{
		width: 80%;
	}
}
@media only screen and (max-width: 1200px){
	.news-block{
		padding: 50px 0;
	}
	.news-list-img-box{
		width: 200px;
	}
	.news-list-info-time{
		padding-bottom: 5px;
	}
	.news-list-read{
		height: 33px;
		line-height: 33px;
	}
	.news-list-info-box {
	    width: calc(100% - 200px);
	}
	.news-page-box{
		width: 75%;
	}
	
}

@media only screen and (max-width: 1000px){
	.news-list, 
	.news-page-prev, 
	.news-page-next, 
	.news-page-box{
		opacity: 1!important;
		animation: none!important;
	}
	.news-page-prev{
		position: static;
		float: left;
	}
	.news-page-next{
		position: static;
		float: right;
	}
	.news-page-box:after{
		content: 'none';
		font-size: 0;
		display: block;
		clear: both;
	}
	.news-page-box{
		width: 95%;
	}
	.news-list{
		height: inherit;
	}
	.news-list-img-box{
		width: 100%;
		display: block;
		height: 471.25px;
	}
	.news-list-info-box{
		width: 100%;
		display: block;
		margin-top: 10px;
		padding-left: 0;
	}
}
@media only screen and (max-width: 750px){
	.news-list-img-box{
		height: 375px;
	}
}

@media only screen and (max-width: 550px){
	.news-list{
		width: 100%;
	}
	.news-list:nth-child(even){
		margin-left: 0;
	}
	.news-list-img-box{
		height: calc(100vw * 1.25);
	}
	.news-list-info-time{
		margin-bottom: 0px;
		padding-bottom: 0;
		font-size: 18px;
	}
	.news-list-info-title{
		margin-top: 5px;
		font-size: 14px;
	}
	.news-list-article{
		font-size: 12px;
		margin-bottom: 5px;
	}
	.news-list-read{
		font-size: 12px;
		width: 60px;
	}
	#news .fancybox-box {
	    max-width: 340px;
	    height: 80vh;
	    overflow: auto;
	    overflow: hidden;
	    overflow-y: auto;
	    -webkit-overflow-scrolling: touch;
	}
}