
.single {
	margin: 0 auto;
	width: 1160px;
	padding-bottom: 70px
}
.gallery_txt {
    margin-bottom: 65px;
    margin-top: 15px;
	font-size: 17px;
	line-height: 1.3;
}
@media all and (max-width: 1570px) {
	.single {
		width: 100%
	}
}
#gallery_2 {
	padding: 80px 0
}
@media all and (max-width: 639px) {
	#gallery_2 {
		padding: 40px 0 65px
	}
}
#gallery_2 .single {
	padding: 0
}
#gallery_2 ul {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
}
#gallery_2 ul li {
	width: 24%;
	height: 450px;
	margin-right: 0.5%;
	justify-content: center;
	position: relative
}
@media all and (max-width: 639px) {
	#gallery_2 ul li {
		width: 49%;
		height: auto;
		margin-top: 0px
	}
}
#gallery_2 ul li:nth-child(4n) {
	margin-right: 0
}
#gallery_2 ul li:nth-child(n+5) {
	margin-top: 0px
}
@media all and (max-width: 639px) {
	#gallery_2 ul li:nth-child(n+5) {
		margin-top: 0px
	}
}
#gallery_2 ul li .gallery_img {
	text-align: center;
	width: 100%;
	height: 360px;
	line-height: 360px;
	overflow: hidden;
	background: #eee;
	display: block
}
@media all and (max-width: 639px) {
	#gallery_2 ul li .gallery_img {
		height: 247px;
		line-height: 247px
	}
}
#gallery_2 ul li .gallery_img img {
	display: block;
	transition: .4s;
	width: 100%;
	height: 100%;
	margin: auto;
	text-align: center;
	vertical-align: middle;
	max-width: none;
	max-height: 360px;
	box-sizing: border-box;
	object-fit: cover
}
#gallery_2 ul li a:hover img {
	opacity: .5;
	transition: .4s
}
/* #gallery_2 ul li p {
	position: absolute;
	top: 1px;
	left: 5px;
	color: #fff;
	font-family: "YakuHanJP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, sans-serif;
	font-weight: 300;
	font-size: 18px;
	letter-spacing: .1em;
	margin-top: 5px
}
@media all and (max-width: 639px) {
	#gallery_2 ul li p {
		font-size: 15px
	}
} */

@media (max-width: 1570px) {
	.single {
		width: 95%
	}
}


@media screen and (max-width: 1024px) {
	.single, .single_02 {
		width: 95%;
		padding-bottom: 50px
	}
	#gallery_2 ul li {
		height: 400px;
	}
}