@charset "utf-8";

#main img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.slider li.slide_box{
	width: 100%;
	height: 450px;
}
.slider li.slide_box img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.slick-dots{
	bottom: -50px;
}
.slick-dots li button:before{
	font-size: 50px;
}

#main h2{
	text-align: center;
	font-weight: bold;
	margin: 50px 0 30px;
	font-size: 2.4rem;
}
.content #main h3{
	font-weight: bold;
	font-size: 1.6rem;
	margin: 20px 0;
	text-align: center;
}

.content #main h3 + p{
	margin-bottom: 10px;
}

#main .photos{
	display: flex;
	flex-wrap: wrap;
	margin-top: 40px;
}

#main .photos li{
	width: 240px;
	margin-bottom: 15px;
	text-align: center;
}

#main .photos li:nth-child(3n - 1){
	margin:0 15px;
}

#main .photos li a{
	width: 240px;
	height: 240px;
	display: block;
}

#main .photos li a img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}




@media screen and (max-width: 640px){
	#main .photos li:nth-child(3n - 1){
		margin: 0;
	}
	.slick-dots li button:before{
		font-size: 2rem;
	}
	.slider li.slide_box{
		height: 60vw;
	}
	.content #main h3{
		font-size: 1.1rem;
	}
	#main .photos{
		justify-content: space-between;
		margin-top: 20px;
	}
	#main .photos li {
    width: calc(100% / 2 - 1%);
		margin-bottom: 2%;
	}
	#main .photos li a {
    width: 100%;
    height: 40vw;
    display: block;
	}
	#main .photos li figure{
		height: 30vw;
	}
	#main .photos li h3{
		font-size: 1.1rem;
	}
	#main .photos li h3 span{
		font-size: 1rem;
	}
}
