@charset "utf-8";
/* CSS Document */
#sub_img .title {
	color: #333;
}
#gallery_wrap{
	width: 100%;
	margin: 0 auto;
	padding-top: 20px;
}
/*gallery_list--------------------------------------*/
#gallery .caution_txt {
	color: red;
	line-height: 150%;
	font-size: 16px;
}
#gallery #gallery_wrap .cate{
	margin-bottom: 50px;
}
#gallery #gallery_wrap .cate:last-child{
	margin-bottom: 0;
}
#gallery #gallery_wrap .cate .cate_txt{
	margin: 0 10%;
	margin-bottom: 20px;
	color: #333;
}
#gallery #gallery_wrap .cate .cate_photo{
	width: 280px;
	height: 280px;
	border-radius: 150px;
	overflow: hidden;
	margin: 0 auto;
	margin-bottom: 50px;
	position: relative;
}
#gallery #gallery_wrap .cate .cate_photo img{
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
#gallery #gallery_wrap .cate .box_wrap{
	width: 100%;
	display:-webkit-box;
    display:-moz-box;
    display:-ms-box;
    display:-webkit-flexbox;
    display:-moz-flexbox;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:-ms-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
	justify-content: left;
}
#gallery #gallery_wrap .cate .cate_box{
	width: 33.333333%;
	float: left;
	background-color: #fff;
	-moz-transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	-ms-transition: all 0.5s;
	transition: all 0.5s;
}
#gallery #gallery_wrap .cate .cate_box:hover{
	opacity: 0.7;
}
#gallery #gallery_wrap .cate .cate_box a{
	display: block;
	padding: 5%;
	color: #000;
}

#gallery #gallery_wrap .cate .cate_box a figure{
	position: relative;
	overflow: hidden;
}
#gallery #gallery_wrap .cate .cate_box a figure img{
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
#gallery #gallery_wrap .cate .cate_box a figcaption{
	margin-top: 5%;
}

/*ここからタブレット用（～415px）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media (max-width:800px){
	#gallery {
		padding: 0 20px;
		margin-bottom: 40px;
	}
	}

/*ここからタブレット用（～415px）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media (max-width:415px){
	#gallery #gallery_wrap .cate .cate_box{
		width: 50%;
	}
}