
/*------------------------------
* 
*  Works-All
*         
------------------------------*/

.works-all{
	width: 920px;
	margin: 0 auto;
}

.thumbnail-list-1{
	display: flex;
	flex-wrap: wrap;
}

.thumbnail-list-2{
	display: flex;
	flex-wrap: wrap;
	overflow: hidden;
	-webkit-transition: 2s;
	-moz-transition: 2s;
	-o-transition: 2s;
	-ms-transition: 2s;
	transition: 2s;
	margin-bottom: 167px;
	opacity: 0;
}

.title-box{
	width: 280px;
	height: 224px;
	background-color: #efd593;
	color: #fff;
	font-size: 3.8rem;
	vertical-align: middle;
	display: table-cell;
}

.title-box span{
	font-size: 2.7rem;
}

.thumbnail-image{
	width: 280px;
	height: 224px;
	margin-left: 40px;
	margin-bottom: 40px;
	background: #000;
	overflow: hidden;
}

.thumbnail-image img{
	-moz-transition: all .5s;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    -ms-transition: all .5s;
    transition: all .5s;
}

.thumbnail-image img:hover{
	transform: scale(1.1);	/*画像の拡大率*/
	opacity: 0.6;
}


.thumbnail-list-1 .thumbnail-image:nth-child(3n+1){
	margin-left: 0;
}

.thumbnail-list-2 .thumbnail-image:nth-child(3n+1){
	margin-left: 0;
}

.margin-bottom-none{
	margin-bottom: 0;
}

.view-more{
	display: block;
    text-transform: uppercase;
    font-size: 2.0rem;
	background-color: transparent;
	border: none;
	outline: 0;
	width: 180px;
    margin: 0 auto;
	margin-top: -150px;
	margin-bottom: 150px;
	height: 50px;
	color: #434242;
	animation: float_9748 3s linear infinite;
  	transform-origin: 50% 50%;
}

@keyframes float_9748 {
  0% { transform: translateY(0) }
  33.33333% { transform: translateY(-8px) }
  66.66667% { transform: translateY(0) }
  100% { transform: translateY(0) }
}

.view-more:hover::after {
    top: 40px;
}

.view-more-arrow {
    display: block;
    width: 12px;
    margin: 0 auto;
    margin-top: 5px;
}



@media screen and (max-width:1200px){
	
	.works-all {
		width: 720px;
	}

	.title-box {
		width: 220px;
		height: 176px;
		font-size: 3.4rem;
	}
	
	.title-box span {
		font-size: 2.2rem;
	}
	
	.thumbnail-image{
		width: 220px;
		height: 176px;
		margin-left: 30px;
	}
	
	
}
	
	
	
@media screen and (max-width:768px){
	
	
	.works-all{
		width: 335px;
	}
	
	.thumbnail-list-1 {
		margin-top: 70px;
	}
	
	.thumbnail-list-2{
		margin-bottom: 130px;
	}
	
	.thumbnail-title{
		width: 100%;
		margin-bottom: 20px;
		position: absolute;
    	left: 0;
	}
	
	.title-box{
		width: 188px;
		height: 83px;
		font-size: 2.0rem;
	}	

	.thumbnail-image {
		width: 160px;
		height: 128px;
		margin-left: 0px;
		margin-right: 15px;
		margin-bottom: 15px;
		background: none;
	}
	
	.margin-bottom-none {
		margin-bottom: 0;
	}

	.title-box span {
		font-size: 1.4rem;
	}

	.thumbnail-list-1 .thumbnail-image:nth-child(2n+1){
		margin-right: 0;
	}
	
	.thumbnail-list-2 .thumbnail-image:nth-child(2n){
		margin-right: 0;
	}

	.margin-top{
		margin-top: 100px;
	}
	
	.view-more{
		font-size: 1.3rem;
		margin-top: -130px;
		margin-bottom: 100px;
	}
	

}