/*============================
MV
============================*/
#mv {
	background-image: url(../img/gallery_mv.jpg);
}

/*============================
フォトギャラリー
============================*/
#gallery {
	padding-bottom: 1.00rem;
}

@media screen and (max-width: 599px) {
	#gallery {
		padding-bottom:0.60rem;
	}
}

#gallery .lead {
	text-align: center;
	font-size: 0.16rem;
	line-height: 2;
	padding-bottom: 0.40rem;
}

@media screen and (max-width: 599px) {
#gallery .lead {
	text-align: center;
	font-size: 0.14rem;
	letter-spacing: 0.03em;
}
}

#gallery .list {
	display: flex;
	flex-wrap: wrap;
	margin: 0.20rem -0.20rem;
}

#gallery .list .detail {
	width: 33.3%;
	padding: 0 0.30rem 0.50rem;
	box-sizing: border-box;
}

@media screen and (max-width: 599px) {
#gallery .list .detail {
	width: 100%;
}
}

#gallery .list .detail a {
	color: #111;
	text-decoration: none;
}

#gallery .list .detail a .ph_wrap {
	width: 100%;
	height: 2.50rem;
	overflow: hidden;
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	border: 5px solid #FFF;
	box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#gallery .list .detail a .ph_wrap img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: relative;
	z-index: 0;
	transition: all 0.3s;
}

#gallery .list .detail a:hover .ph_wrap img {
	transform: scale(1.04);
	opacity: 0.5;
}

#gallery .list .detail .title {
	font-size: 0.20rem;
	text-align: center;
	padding: 0.15rem 0;
	font-weight: 700;
}

#gallery .list .detail .text {
	font-size: 0.15rem;
	line-height: 1.71;
	letter-spacing: 0.05em;
	padding-bottom: 0.10rem;
}

#gallery .list .detail .small_text {
	font-size: 0.11rem;
} 