@charset "utf-8";
/* CSS Document */
@media all and (-ms-high-contrast:none){
	*::-ms-backdrop, #gallery1_wrap {
		margin-left:-1px;
		padding-right: 1px;
	}
}
#gallery1{
	width: 100%;
	max-width: 768px;
	position: absolute;
	top: 10vh;
}
#gallery1_wrap{
	padding: 0 5%;
	background-color:rgba(238,238,238,0.70);
	padding-bottom: 150px;
	padding-top: 50px;
	min-height: 100vh;
}
#gallery1_wrap .cate_list {
	width:80%;
	margin:0px auto;
	text-align: center;
	margin-bottom: 15px;
}
#gallery1_wrap .cate_list li {
	width:40%;
	float:left;
	padding:10px 5%;
	font-size:14px;
}
#gallery1_wrap .cate_list li a{
	color:#473d34;
}
#gallery1_wrap .cate_list li a:hover {
	color:#ccc;
}
#gallery1_wrap .cate_list li a .cate_list_img img {
	width:auto;
	height:auto;
	max-height: 200px;
	max-width: 100%;
}
#gallery1_wrap .cate {
	background-color:rgba(255,255,255,0.70);
	padding-bottom: 50px;
	margin-bottom: 15px;
}
#gallery1_wrap .cate h3 {
	font-size: 18px;
	background: url(../images/btn_back.jpg) no-repeat;
	background-size: 100%;
	color:#493f37;
	padding:3px 3%;
	margin-bottom: 5px;
	letter-spacing: 1px;
}
#gallery1_wrap .cate .retop {
	text-align: center;
}
#gallery1_wrap .cate .retop a {
	color:#000;
}
#container {
  margin: 0 auto 25px;
  position: relative;
  padding-bottom: 10px;
}
#cate_wrap {
	height: auto;
	position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.cate {
    width: 100%;
    margin: 0 auto;
	text-align: center;
}
.cate .cate_top{
	text-align: left;
}
.cate .cate_top p{
	margin: 20px 5%;
}
.cate_box_wrap{
	width: auto;
	height: auto;
    position: relative;
}
.cate_box {
  	width: 29.3333%;
	margin:2%;
  	-webkit-transition: all 0.3s ease-out;
  	-moz-transition: all 0.3s ease-out;
  	-o-transition: all 0.3s ease-out;
  	transition: all 0.3s ease-out;
}
.cate_box a{
	display: block;
  	border: 1px solid #473d34;
	padding: 5%;
}
.cate_box img {
    width: 100%;
 }
.cate_box p {
  text-align: center;
  margin: 5px auto;
  font-size: 12px;
  color: #473d34;
}
.cate_box p:empty {
	display: none;
}
@media screen and (orientation: landscape){
   /* 横向きの場合のスタイル */
#gallery1{
	margin-top: 0;
}
}
@media screen and (max-width:320px) {
}
@media screen and (max-width: 550px){
.cate_box {
  	width: 41%;
  	padding: 2%;
	margin:2%;
  	border: 1px solid #eee;
  	-webkit-transition: all 0.3s ease-out;
  	-moz-transition: all 0.3s ease-out;
  	-o-transition: all 0.3s ease-out;
  	transition: all 0.3s ease-out;
}
}
/*ここからスマートフォン用（415px以下）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media screen and (max-width: 415px){
#gallery1_wrap .cate_list li {
	width:80%;
	float:left;
	padding:10px 10%;
}
#gallery1_wrap .cate .cate_box figure img {
	max-height:300px;
}
}

@media all and (-ms-high-contrast:none) {
	#gallery1_wrap .cate h3 {
		padding: 9px 3% 3px;
	}
}