@charset "utf-8";
/* CSS Document */
.top2{
	position:relative;
	width:100%;
	height:250px;
}
.title{
	margin-top:40px;
	width:100%;
	right:auto;
}


/*背景設定*/
.innerSection{
	background:#FFF;
}
.bg1{
	background-size:auto 250px;
	background:#333;
}

/*選單設定*/
.workList{
	width:100%;
	overflow:hidden;
}
.list{
	position:relative;
	float:left;
	width:33.333%;
	padding:30px;
	box-sizing:border-box;
}
.Img{	
	width:100%;
	background:no-repeat left top;
	background-size:cover;
	overflow:hidden;
}

.list img{
	width:100%;
	opacity:1;
	
	-webkit-transition:opacity 0.3s linear;
	-moz-transition:opacity 0.3s linear;
	-ms-transition:opacity 0.3s linear;
	-o-transition:opacity 0.3s linear;
	transition:opacity 0.3s linear;
}
.list:hover img{
	opacity:0;
}
.info{
	position:absolute;
	bottom:0;
	left:0;
	width:100%;
	height:100%;
	color:#000;
	overflow:hidden;
}
.info::before{
	position:absolute;
	content:'';
	border:rgba(255,255,255,0.2) solid 1px;
	top:40px;
	left:40px;
	right:40px;
	bottom:40px;
	background:rgba(255,255,255,0);
	
	-webkit-transition:background 0.3s linear;
	-moz-transition:background 0.3s linear;
	-ms-transition:background 0.3s linear;
	-o-transition:background 0.3s linear;
	transition:background 0.3s linear;
}
.casename{
	position:absolute;
	top:50%;
	left:50%;
	opacity:0;
	font-size:0.9em;
	
	-webkit-transform:translate(-50%,-50%);
	-moz-transform:translate(-50%,-50%);
	-ms-transform:translate(-50%,-50%);
	-o-transform:translate(-50%,-50%);
	transform:translate(-50%,-50%);
	
	-webkit-transition:opacity 0.3s linear;
	-moz-transition:opacity 0.3s linear;
	-ms-transition:opacity 0.3s linear;
	-o-transition:opacity 0.3s linear;
	transition:opacity 0.3s linear;
}
.casename::after{
	content:'';
	width:20px;
	height:1px;
	background:#666;
	display:block;
	margin:5px auto;  
}
.list:hover .info::before{
	background:rgba(255,255,255,0.9);
}
.list:hover .casename{
	opacity:1;
}
@media screen and (max-width:1100px){
.list{
	padding:15px;
	box-sizing:border-box;
}
.info::before{
	top:25px;
	left:25px;
	right:25px;
	bottom:25px;
}
}

@media screen and (max-width:760px){
.list{
	width:50%;
	padding:10px;
	box-sizing:border-box;
}
.info::before{
	top:20px;
	left:20px;
	right:20px;
	bottom:20px;
}
}

@media screen and (max-width:640px), screen and (max-height:500px){
.top2{
	height:200px;
}	
.title{
	margin-top:30px;
}	
}

@media screen and (max-width:480px){
.list{
	width:100%;
	max-width:300px;
	float:none;
	margin:0 auto;
	padding:10px;
	box-sizing:border-box;
}
}