@charset "utf-8";
/*-----------------------------------------------
	index
-----------------------------------------------*/
.secGallery{ 
	border-bottom:12px solid #74571F;
	padding-top:30px;
}
.wrapper{
	max-width:100%;
	margin:0 auto 38px;
	position:relative;
}
.wrapper2{
	max-width:100%;
	margin:0 auto 28px;
	position:relative;
}
.slide{ background:#ccc;}
.slide img{
	width:auto;
	height: 797px;
	margin:0 auto;
}


/* スライドクリック時の青枠削除 */
.slick-slide a:focus {
    outline:none;
}

/* サムネイル */
#thumb{
	font-size:0;
}
.thumb{
	width:126px;
	margin:0 7px 8px 0;
	cursor:pointer;
	display:inline-block;
	vertical-align:top;
	position:relative;
}
.thumb:nth-child(9n){
	margin-right:0;
}
.thumb.new::before{
	content:"";
	width:31px;
	height:17px;
	background: url(../img/common/iconNew.gif) no-repeat center top;
	background-size:cover;
	position:absolute;
	left:0;
	top:0;
	z-index:10;
}

.thumb img{
	width:100%;
	height:auto;
	opacity:0.5;
}
.thumb.active img{
	opacity:1;
}
@media only screen and (max-width:767px){
	.secGallery{ padding-top:50px; }
	.wrapper,
	.wrapper2{ margin:0 auto 20px;}
	.slide{
		width:10%;
		height:0;
		padding-top:66.5vw;
		position:relative;
	}
	.slide img{
		width: auto;
		height: auto;
		max-width: 100%;
		max-height: 100%;
		display: block;
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		margin: auto;
	}
	.thumb,
	.thumb:nth-child(9n){
		width:23%;
		margin:1%;
	}
	.thumb:nth-child(4n){ margin-right:0;}
}

