@charset "UTF-8";

/* gallery
-----------------------------------------------------*/
#gallery .container1000 + .container1000 {
	margin-top: -80px;
}

#gallery h2 {
  background: url("../imgs/gallery/gallery_title.png") no-repeat center /contain;
}

#gallery .galleryYears {
	gap: 10px 16px;
}

#gallery .yearTitle {
	font-size: 3.2rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 1em;
}

#gallery .galleryTitle {
	font-size: 2.0rem;
	font-weight: 700;
	border-bottom: 1px solid currentColor;
	padding-bottom: 0.5em;
	margin-bottom: 1.5em;
}

#gallery .galleryText {
	font-size: 2.0rem;
	font-weight: 500;
	margin: 1.5em 0 2em;
}

#gallery .galleryList {
	gap: 20px;
}

#gallery .galleryListItem {
	width: calc((100% - 40px) / 3);
}

#gallery .galleryListItemLink {
	display: block;
	overflow: hidden;
	width: 100%;
	padding-top: 100%;
	position: relative;
}

#gallery .galleryListItemLink img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
}

#gallery .galleryLink {
	justify-content: center;
	column-gap: 100px;
}

@media screen and (max-width: 767px) {
	#gallery .container1000 + .container1000 {
		margin-top: 0;
	}
	
	#gallery .yearTitle {
		font-size: 2.0rem;
	}
	
	#gallery .galleryTitle {
		font-size: 1.6rem;
	}
	
	#gallery .galleryText {
		font-size: 1.6rem;
	}
	
	#gallery .galleryList {
		gap: 10px 0;
		justify-content: space-between;
	}
	
	#gallery .galleryListItem {
		width: calc((100% - 10px) / 2);
	}
	
	#gallery .galleryLink {
		gap: 15px 10px;
	}
}
