@charset "utf-8";
/* Updated date: 2017/06/20 */

/* ギャラリー一覧 */
/*--------------------------------------------------*/

li.gallery {
  list-style: none;
}

li.gallery:not(:last-child) {
  margin-bottom: 50px;
}

.gallery-button{
	text-align: center;
	/*margin-bottom: 50px;*/
}
.gallery-button li {
	display: inline-block;
	margin:0 5px 10px 5px;
}
.gallery-button li a{
	display: block;
	color: #8e8379;
	letter-spacing: 1px;
	padding:5px 20px;
	background: #f3f3e8;
	font-size:14px;
	min-width: 8em;
	border:1px solid #f3f3e8;
}
.gallery-button li a:hover{
	color:#8e8379;
	border:1px solid #8e8379;
}
.gallery-box{
	display: flex;
	display: -webkit-flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}
.gallery-list{
	width: 25%;
	padding:0 15px;
	margin-bottom: 20px;
}

.gallery-box figure{
	cursor: pointer;
	-webkit-transition: 0.5s ease;
	-moz-transition: 0.5s ease;
	-ms-transition: 0.5s ease;
	-o-transition: 0.5s ease;
	transition: 0.5s ease;
}
.gallery-box figure:hover{
	opacity:0.5;
}

/*.gallery-list figure img{
	margin-bottom: 20px;
	width: 100%;
	height: auto;
}*/

.gallery-list figcaption{
	font-size: 18px;
	margin-bottom: 10px;
	color: #222222;
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.gallery-link{
	border: 1px solid transparent;
	height: 100%;
	width: 100%;
	cursor: pointer;
}

.andmorebox{
	text-align: center;
}
.andmore{
	padding:8px 20px;
	border:1px solid #444444;
	color: #444444;
	display: inline-block;
	-webkit-transition: background-color 0.5s;
	transition: background-color 0.5s;
	letter-spacing: 1px;
}
.andmore:hover{
	color: #FFFFFF;
	background: #444444;
}



@media (max-width: 767px) {
	.gallery-list{
		width: 33%;
		margin-bottom: 0;
	}
	.gallery-list figcaption{
		font-size:14px;
	}
	.andmore{
		font-size:12px;
		-webkit-transition: background-color 0s;
		transition: background-color 0s ease 0s;
	}
}
@media (max-width: 575px) {
	.gallery-list{
		padding:0 10px;
		width: 50%;
	}
	.gallery-list figure{
		margin-bottom: 0;
	}
	.gallery-list figcaption{
		margin-bottom: 0;
	}
	.gallery-list figure img{
		margin-bottom: 5px;
	}
}


.gallery-list__photo {
  display: block;
  padding-bottom: 141%;
  position: relative;
  overflow: hidden;
}
.gallery-list__photo img {
  position: absolute;
  height: 100%;
  width: auto;
  max-width: initial;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}
.gallery-list__photo--w100per img {
  width: 100%;
  height: auto;
}
.gallery-list__photo--h100per img {
  height: 100%;
  width: auto;
}