@charset "utf-8";
/* CSS Document */
img{
	max-width: 100%;
	height: auto;
}

body{
	position: relative;
	font-family: 'Text Me One', sans-serif, 'Noto Sans JP';
}
.header{
	position: relative;
	max-width: 100vw;
	height: 100vh;
	background: url(../images/gallery.jpg) center center no-repeat;
	background-size: cover;
}
main{
	max-width:100%;
	box-sizing: border-box;
	padding:0 10px;
	margin: 0 auto 50px;
}
main h2{
	max-width: 250px;
	margin:20px auto 30px;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
	padding: 5px 0;
	font-size: 1.5em;
	text-align: center;
	border-radius: 10px;
}

#text{
	margin:50px 0 50px;
	text-align: center;
	font-family: 'Noto Sans JP';
	line-height: 1.5;
	padding: 0 10px;
}
#text h3{
	max-width: 280px;
	margin:20px auto 30px;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
	padding: 3px 0;
	font-size: 1.25em;
	text-align: center;
	
}
.img{
	display:flex;
	justify-content:center;
	margin-bottom: 5px;
}
.img li{
	max-width:30%;
	height:auto;
	box-shadow: 0 0 10px 2px rgba(0,0,0,0.5);
	border: 5px solid #fff;
	margin-right: 5px;
}
.img li:last-child{
	margin-right: 0;
}
.img li img{
	width: 100%;
	height:100%;

}
.tyui{
	text-align:center;
	color:#900;
	margin-top:30px;
	font-size:0.75em;
}



/*スライドショー用CSS*/
#slideshow {
	height: 510px;
	border: 5px solid #fff;
	box-shadow: 0 0 10px 2px rgba(0,0,0,0.5);
}
#slideshow {
	position: relative;
}
#slideshow img {
	position: absolute;
	top: 0;
	left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
	z-index: 8;
	width:370px;
	height:500px;
}
#slideshow img.active {
	z-index: 10;
}
#slideshow img.last-active {
	z-index: 9;
}

@media screen and (min-width: 768px) {
	main{
	max-width:900px;
	box-sizing: border-box;
	padding:10px;
	margin:20px auto 50px;
	}
	.img li img{
	width: 300px;
	height:300px;
	}
	#slideshow img {
	width:800px;
	height:900px;
	}
	#slideshow {
	height: 920px;
	}
	main h2{
	font-size: 1.75em;
	padding: 10px 0;
	}
	#text h3{
	font-size: 1.5em;	
	}
}

