  @charset "utf-8";

#GALLERY {
position: relative;
}
#GALLERY .cont {
margin: 0 auto;
padding: 12vw 0 13.333vw 0;
width: 81.333vw;
}
#GALLERY .head {
margin-bottom: 9.333vw;
}
#GALLERY h1 {
margin-bottom: 0;
}
#GALLERY h1 img {
display: block;
margin: 0 auto;
width: auto;
height: 4.267vw;
}
#GALLERY .head p {
margin-top: 2.133vw;
font-family: 'A1 Gothic R', sans-serif;
font-size: 4vw;
text-align: center;
}
#GALLERY .list {
display: flex;
flex-direction: column;
gap: 13.333vw;
margin: 0 auto;
}
#GALLERY .list figure {
margin: 0;
}
#GALLERY .list figure img {
display: block;
width: 100%;
height: auto;
}
#GALLERY h3 {
margin-top: 4.533vw;
}
#GALLERY h3 img {
display: block;
margin: 0 auto;
width: auto;
height: 3.733vw;
}
#GALLERY .list p {
margin-top: 3.733vw;
font-size: 3.467vw;
line-height: 1.42;
text-align: center;
}
@media screen and (min-width: 768px) {
	#GALLERY .cont {
	padding: 65px 0 70px 0;
	width: 1068px;
	}
	#GALLERY .head {
	margin-bottom: 55px;
	}
	#GALLERY h1 {
	margin-bottom: 0;
	}
	#GALLERY h1 img {
	height: 30px;
	}
	#GALLERY .head p {
	margin-top: 14px;
	font-size: 22px;
	}
	#GALLERY .list {
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	gap: 62px;
	}
	#GALLERY .list .block {
	width: 451px;
	}
	#GALLERY h3 {
	margin-top: 24px;
	}
	#GALLERY h3 img {
	height: 20px;
	}
	#GALLERY .list p {
	margin-top: 19px;
	font-size: 15px;
	line-height: 1.47;
	}
}

#GALLERY .list p.link {
font-size: 2.933vw;
}
#GALLERY .link a {
position: relative;
box-sizing: border-box;
display: flex;
justify-content: center;
align-items: center;
border: solid 1px #000;
padding-top: 0.8vw;
height: 8.533vw;
text-decoration: none;
}
#GALLERY .link a::before {
transform: translateY(-1px);
content: '';
display: block;
position: absolute;
top: 50%;
right: 2.667vw;
width: 3.467vw;
border-top: solid 1px #000;
}
#GALLERY .link a::after {
transform: rotate(-45deg) translateY(1px);
content: '';
display: block;
position: absolute;
top: 50%;
right: 3.467vw;
width: 1.067vw;
border-top: solid 1px #000;
}
@media screen and (min-width: 768px) {
	#GALLERY .list p.link {
	font-size: 17px;
	}
	#GALLERY .link a {
	padding-top: 5px;
	height: 37px;
	z-index: 1;
	}
	#GALLERY .link a::before {
	right: 20px;
	width: 23px;
	}
	#GALLERY .link a::after {
	transform: rotate(-45deg) translateY(2px);
	right: 24px;
	width: 6px;
	}
	#GALLERY .link p::before,
	#GALLERY .link li::before {
	transition: width 0.3s ease;
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	background-color: #eee;
	width: 0;
	height: 100%;
	z-index: -1;
	}
	#GALLERY .link p:hover::before,
	#GALLERY .link li:hover::before {
	width: 100%;
	}
}
