@charset "utf-8";
/* CSS Document */

.gallery1 {
	position: relative;
	background-color: #f2f6f5;
}

.gallery1 .gallery1_section {
	margin-bottom: clamp(80px, 10vw, 130px);
}

.gallery1 .gallery1_section:last-child {
	margin-bottom: 0;
}

.gallery1 .gallery1_titlebox p,
.gallery1 .gallery1_titlebox h2 {
	margin-top: 0;
}

.gallery1 .gallery1_titlebox p {
	margin-bottom: 10px;
}

.gallery1 .gallery1_titlebox h2 {
	margin-bottom: 0;
	line-height: 1.2;
	letter-spacing: 0.04em;
}

.gallery1 .gallery1_list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(25px, 3vw, 45px);
}

.gallery1 .gallery1_item {
	position: relative;
	display: block;
	aspect-ratio: 35 / 24;
	overflow: hidden;
	background-color: #fff;
	cursor: zoom-in;
}

.gallery1 .gallery1_item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition:
		transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
		filter 0.5s ease;
}

.gallery1 .gallery1_item::after {
	position: absolute;
	inset: 0;
	content: "";
	background-color: rgba(0, 212, 103, 0);
	transition: background-color 0.4s ease;
	pointer-events: none;
}

@media (hover: hover) {
	.gallery1 .gallery1_item:hover {
		opacity: 1;
	}

	.gallery1 .gallery1_item:hover img {
		transform: scale(1.05);
	}

	.gallery1 .gallery1_item:hover::after {
		background-color: rgba(0, 212, 103, 0.13);
	}
}

@media screen and (max-width: 900px) {
	.gallery1 .gallery1_list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 25px;
	}

	.gallery1 .gallery1_section {
		margin-bottom: 85px;
	}
}

@media screen and (max-width: 576px) {
	.gallery1 .gallery1_list {
		gap: 10px;
	}

	.gallery1 .gallery1_section {
		margin-bottom: 65px;
	}

	.gallery1 .gallery1_titlebox p {
		margin-bottom: 7px;
	}
}
.gallery1 .gallery1_item {
	position: relative;
	display: block;
	aspect-ratio: 35 / 24;
	overflow: hidden;
	background-color: #fff;
	border: 2px solid #231816;
	border-radius: 18px;
	box-sizing: border-box;
	cursor: zoom-in;
}

@media screen and (max-width: 576px) {
	.gallery1 .gallery1_item {
		border-width: 1px;
		border-radius: 12px;
	}
}
/* ---------- IEのみ ---------- */
@media all and (-ms-high-contrast: none) {
}
/* ---------- 1280px ~ ---------- */
@media screen and (max-width: 1280px){
}
/* ---------- 1080px ~ ---------- */
@media screen and (max-width: 1080px){
}
/* ---------- 768px ~ ---------- */
@media screen and (max-width: 768px){
}
/* ---------- 576px ~ ---------- */
@media screen and (max-width: 576px){
}
/* ---------- 350px ~ ---------- */
@media screen and (max-width: 350px){
}

