﻿.team-box{
	width: 1300px;
	max-width: 100%;
	margin: 0 auto; 
	margin-top: 78px;
	padding-top: 100px;
	min-height: calc(100vh - 78px);
	box-sizing: border-box;
}

.team-box .about-title-box{
	margin-bottom: 100px;
}

.team-list-box{
	width: 100%;
	font-size: 0;
	padding-bottom: 80px;
}
.team-list{
	width: 23%;
	margin: 0 1%;
	margin-bottom: 2%;
	display: block;
	position: relative;
	overflow: hidden;
}
.team-list-mask-block{
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	padding: 15px;
	box-sizing: border-box;
	opacity: 0;
    transition: all .8s ease;
    cursor: pointer;
}
.team-list-mask-box{
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,0.9);
	display: block;
	position: relative;
	padding: 10px;
	box-sizing: border-box;
	transition: all .5s ease;
}
.team-list-mask-title{
	font-size: 16px;
	font-weight: bold;
	letter-spacing: 1px;
	width: 100%;
	height: 25px;
	overflow: hidden;
	text-overflow : ellipsis;
	white-space: nowrap;
}
.team-list-article{
	width: 100%;
	height: calc(100% - 25px);
	overflow: hidden;
	padding-top: 10px;
	box-sizing: border-box;
	font-size: 14px;
	letter-spacing: 1px;
	color: #555;
}
.team-fancybox-img-list{
	width: 100%;
}
.team-fancybox-list-box{
	height: 50%;
}
#team .fancybox-box{
	padding: 20px 50px;
	width: 900px;
	box-sizing: border-box;
	background-color: #FFF;
	height: calc(100vh - 120px);
}
#team .slick-list,
#team .slick-track{
	height: 100%;
}
.team-list img{
	transition: all .5s ease;
}

#team .fancybox-close:hover{
	background-color: #008ea6;
	color: #FFF;
}

#team .slick-prev, 
#team .slick-next{
	width: 25px;
	height: 25px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	transition: all .5s ease;
}
#team .slick-prev{
	left: -30px;
	background-image: url(../img/front/arrow-left2.png);
}
#team .slick-next{
	right: -30px;
	background-image: url(../img/front/arrow-right2.png);
}
#team .slick-prev:before,
#team .slick-next:before{
	display: none;
}
#team .fancybox-mask-box{
	background-color: rgba(0,0,0,0.8);
}
.team-fancybox-list-info{
	height: 50%;
	overflow: auto;
	padding-top: 20px;
	box-sizing: border-box;
}
.team-fancybox-list-title{
	font-size: 24px;
	font-weight: bold;
	color: #008ea6;
	letter-spacing: 1px;
}
.team-fancybox-list-article{
	font-size: 16px;
	color: #555;
	letter-spacing: 1px;
	line-height: 1.8;
	margin-top: 10px;
}
.team-fancybox-list-info::-webkit-scrollbar{
	display:none;
}


@media only screen and (max-width: 1300px){
	.team-box{
		width: 1200px;
	}
}
@media only screen and (max-width: 1200px){
	.team-box{
		width: 950px;
	}
	.team-list-mask-block{
		padding: 10px;
	}
	.team-list{
		width: 31.333%;
	}
	.team-box {
	    width: 750px;
	}
}
@media only screen and (max-width: 1000px){
	#team .fancybox-box{
		width: 700px;
	}
  
}

@media only screen and (max-width: 750px){
	#team .fancybox-box {
	    width: 500px;
	}
    .team-fancybox-list-box {
    	width: 100%;
    }
    #team .slick-prev, #team .slick-next{
    	top: inherit;
    	bottom: -40px;
    }
    #team .slick-next{
    	right: 0;
    }
    #team .slick-prev{
    	left: 0;
    }
    #team .slick-prev, #team .slick-next{
    	width: 20px;
    	height: 20px;
    }
    .team-fancybox-list-info{
    	margin-top: 40px;
    	height: calc(50% - 40px);
    	padding-top: 0;
    }

    .team-fancybox-list-title{
    	font-size: 18px;
    }
    .team-fancybox-list-article{
    	font-size: 14px;
    }
}
@media only screen and (max-width: 550px){
	
	.team-list{
		width: 48%;
	}
	#team .fancybox-box{
    	width: 320px;
    	padding: 20px;
    }
    .team-fancybox-list-article{
    	margin-top: 6px;
    }

}
@media only screen and (max-width: 320px){
	#team .fancybox-box{
    	width: 300px;
    }
}