/*
Re:LieF 〜DeaR YoU〜
COPYRIGHT [C] RASK ALL RIGHTS RESERVED.
*/

/********************************************************************************

		GallerY

*********************************************************************************/

#galleryWrap {
	margin-bottom: 60px;
}
.galleryIndex {
	width: 100%;
	height: auto;
	margin-bottom: 50px;
}
#event .subTitle {
	background: url(../img/gallery/title01.png) no-repeat center center;
	background-size: auto 20px;
}
#hscene .subTitle {
	background: url(../img/gallery/title02.png) no-repeat center center;
	background-size: auto 20px;
}
#background .subTitle {
	background: url(../img/gallery/title03.png) no-repeat center center;
	background-size: auto 20px;
}
.galleryIndex .graphic {
	float: left;
	width: 25%;
	height: 140px;
	margin-bottom: 20px;
}
.galleryIndex .graphic:nth-child(4n+1) {
	padding: 0 15px 0 0;
}
.galleryIndex .graphic:nth-child(4n+2) {
	padding: 0 10px 0 5px;
}
.galleryIndex .graphic:nth-child(4n+3) {
	padding: 0 5px 0 10px;
}
.galleryIndex .graphic:nth-child(4n+4) {
	padding: 0 0 0 15px;
}
.galleryIndex .graphic img {
	width: 100%;
	height: auto;
	border: 1px solid #cccccc;
}
@media screen and (max-width : 680px){
	#galleryWrap {
		padding: 0 20px;
	}
	.galleryIndex .graphic {
		width: 50%;
		height: auto;
		padding: 0 5px;
		margin-bottom: 10px;
	}
	.galleryIndex .graphic:nth-child(4n+1) {
		padding: 0;
	}
	.galleryIndex .graphic:nth-child(4n+2) {
		padding: 0;
	}
	.galleryIndex .graphic:nth-child(4n+3) {
		padding: 0;
	}
	.galleryIndex .graphic:nth-child(4n+4) {
		padding: 0;
	}
	.galleryIndex .graphic:nth-child(2n+1) {
		padding-right: 5px;
	}
	.galleryIndex .graphic:nth-child(2n+2) {
		padding-left: 5px;
	}
}
