@charset "utf-8";



.s_gallery{
	width: 1000px;
	max-width: 90%;
	margin: 0 auto;
  	display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.s_gallery .h_image1{max-width: 16.26%;margin-right: 20px;}
.s_gallery .h_image2{max-width: 32.92%;}
.s_gallery .h_image3{max-width: 32.92%;margin-right: 20px;}
.s_gallery .h_image4{max-width: 16.26%;}
.s_gallery .h_image5{width: 320px;max-width: 32.92%; margin-right: 20px;font-size: 0;}
.s_gallery .h_image6{width: 320px;max-width: 32.92%;}

.s_gallery .h_image1 a,.s_gallery .h_image4 a{display: block;margin-bottom: 20px;max-height: 150px;}
.s_gallery .h_image2 a,.s_gallery .h_image3 a{display: block;}
.s_gallery .h_image1 a img,.s_gallery .h_image4 a img{width: 150px;max-width: 100%;vertical-align:bottom;}
.s_gallery .h_image2 a img,.s_gallery .h_image3 a img{width: 320px;max-width: 100%;vertical-align:bottom;}

.s_gallery .h_image5 .img_s,.s_gallery .h_image6 .img_s{
	margin-bottom: 20px;
	display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.s_gallery .h_image5 .img_s a{display: block;margin:0 10px;}
.s_gallery .h_image6 .img_s a{display: block;margin:0 10px;}
.s_gallery .h_image5 .img_s a:first-child{margin-left: 0px;}
.s_gallery .h_image5 .img_s a:last-child{margin-right: 0px;}
.s_gallery .h_image6 .img_s a:first-child{margin-left: 0px;}
.s_gallery .h_image6 .img_s a:last-child{margin-right: 0px;}
.s_gallery .h_image5 .img_l a{display: block;}
.s_gallery .h_image6 .img_l a{display: block;margin-bottom: 20px;}
.s_gallery .h_image5 a img{max-width: 100%;vertical-align:bottom;}
.s_gallery .h_image6 a img{max-width: 100%;vertical-align:bottom;}



.h_img{position: relative;}
.h_img .h_img_hover{
	position: absolute;
	top:0;
	left:0;
	filter: alpha(opacity=0);
	-moz-opacity:0;
	opacity:0;
	transition-duration: 1000ms;
	z-index: 99;
}
.h_img:hover .h_img_hover{
	filter: alpha(opacity=10);
	-moz-opacity:0.1;
	opacity:0.8;
}
.h_img img{
	width: 100%;
	height: auto;
}





/* ### スマートフォン ### */
/* -------------------------------------------------------------------------------- */


@media (max-width: 768px) {

	.s_gallery{display:block;}
	.s_gallery .h_image0{
		width: 90%; margin: 0 auto;
		display:-webkit-box;
		display:-ms-flexbox;
		display:flex;
		-webkit-box-pack: justify;
		-webkit-justify-content: space-between;
		-ms-flex-pack: justify;
		justify-content: space-between;
	}
	.s_gallery .h_image0 a{margin-left: 2%;margin-bottom: 2%;}
	.s_gallery .h_image0 a:first-of-type{margin-left: 0%;}
	.s_gallery .h_image0 a img{vertical-align: bottom;}
	
	.h_img_hover{display: none;}

	.fancybox-container {
		width: 100% !important;
		height: 100% !important;
	}
	


} /*  @media (max-width: 768px)  */
