@charset "UTF-8";
/* CSS Document */
/*===メイン==============================*/
#gallery .inner{
	max-width: 960px;
}
#works ul{ 
	margin:0;
	padding:0;
	list-style:none;
}
#works img{
	border:0
}
/* clearfix(削除不可) */
.clearfix:after {
	content:".";
	display:block;
	clear:both;
	height:0;
	visibility:hidden;
}
.clearfix {
	display:inline-block;
}
/* for macIE \*/
* html .clearfix {
	height:1%;
}
.clearfix {
	display:block;
}

#gallery_wrap {
	width: 100%;
}
#gallery_list{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
/*最後の行の隙間を解消*/
#gallery_list::before{
	content:"";
	display: block;
	width: 300px;
	order: 1;
}
#gallery_list::after{
	content:"";
	display: block;
	width: 300px;
}
#gallery_list li{
	width: 300px;
	font-size:0px;
	margin-bottom: 60px;
}
#gallery_list li .detail_text{
	padding: 0 3px 3px;
	font-size: 1rem;
	font-weight: bold;
	color: #333;
	margin: 10px;
	margin-right: 0;
}
#gallery_list a.photo{
	display: block;
	position: relative;
	height: 230px;
	border: 2px solid #f1da36;
	box-shadow: 4px 4px #BEF241;
	overflow: hidden;
	background: #fff;
}
#gallery_list a.photo img{
	height: 100%;
	width: 100%;
	object-fit: cover;
	transition: .4s;
}
#gallery_list a.photo:hover img{
	opacity: .6;
	transform: scale(1.1);
}
@media (max-width: 620px){
	#gallery_list li{
		width: 48%;
	}
	#gallery_list a.photo{
		height: 170px;
	}
	/*最後の行の隙間を解消*/
	#gallery_list::before{
		width: 47%;
	}
	#gallery_list::after{
		width: 47%;
	}
}
@media (max-width: 450px){
	#gallery_list li{
		margin-bottom: 30px;
	}
	#gallery_list li .detail_text{
		font-size: 0.8rem !important;
	}
}

/*---------------------------------
	       /Base CSS 
---------------------------------*/

/*---------------------------------
	      Pager style
---------------------------------*/
.pager_link{
	text-align:right;
	padding:10px;
}
/*ページャーボタン*/
.pager_link a {
    border: 1px solid #aaa;
    border-radius: 5px 5px 5px 5px;
    color: #333;
    font-size: 12px;
    padding: 3px 7px 2px;
    text-decoration: none;
	margin:0 1px;
}
/*現在のページ、オーバーボタン*/
.pager_link a.current,.pager_link a:hover{
    background: #999;
    color: #FFFFFF;
}
.overPagerPattern{
	padding:0 2px ;	
}
/*---------------------------------
	      /Pager style
---------------------------------*/
