@charset "UTF-8";

section.gallery {
	padding: 60px 0;
}

section.gallery h2 {
	margin-bottom: 20px;
}

section.gallery p.catch {
	margin-bottom: 60px;
}

section.gallery h3 {
	font-family: "Noto Serif JP", serif;
	font-weight: 500;
	font-size: 24px;
	margin-bottom: 20px;
}

section.gallery ul.thumnail {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 60px;
}

section.gallery ul.thumnail li {
	flex: 1 1 50%;
	padding: 0 5px;
	margin-bottom: 20px;
}

section.gallery ul.thumnail li img {
	display: block;
	max-width: 240px;
	width: 100%;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 5px;
}

section.gallery ul.thumnail li span {
	display: block;
	font-family: "Noto Serif JP", serif;
	font-weight: 400;
	font-size: 16px;
	text-align: center;
}

section.gallery ul.thumnail:last-child {
	margin-bottom: 0px;
}

div.image {
	background-image: url("../img/bottom_image.jpg");
	background-repeat: no-repeat;
	background-position: center center;
	max-width: 1920px;
	margin: 0 auto;
	height: 375px;
}

/* タブレット用 */
@media(min-width:768px) {
	section.gallery ul.thumnail li {
	flex: 0 0 25%;
	}
}

/* デスクトップ用 */
@media(min-width:1280px) {
	section.gallery {
	padding: 90px 0;
	}
	section.gallery ul.thumnail {
	margin-bottom: 90px;
	}
	section.gallery ul.thumnail li {
	flex: 0 0 20%;
	}
}
