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

@media all{
	img{
		width: 100%;
		vertical-align: bottom;
	}
	*{
		box-sizing: border-box;
	}

	#firstview{
		position: relative;
		width: 100%;
		height: 60vh;
		overflow: hidden;
	}
	.shade{
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0,0,0,.5);
	}
	#firstview img{
		width: 100%;
		height: 100%;
	}
	#mainttl{
		position: absolute;
		top: calc(50% - 0.5em);
		left: 0;
		width: 100%;
		text-align: center;
		color: #fff;
		font-size: 2.6rem;
		letter-spacing: 0.1em;
	}
	
	#description{
		width: 100%;
		text-align: center;
		letter-spacing: 0.1em;
		padding: 40px 0;
	}
	.dscrptmain{
		font-size: 1.8rem;
		margin-bottom: 1em;
		line-height: 2em;
	}
	
	#contents{
		padding: 40px 0 0;
	}
	#contents article{
		padding: 80px 0;
	}
	#contents article h2{
		font-size: 1.5rem;
		margin-bottom: 1em;
		text-align: center;
	}
	#contents article ul.imgbox{
		width: calc(100% - 40px);
		max-width: 1000px;
		margin: 0 auto 40px;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	#contents article ul.imgbox li{
		width: calc(100% / 4);
		padding: 5px;
	}
	#contents article ul.imgbox li .text{
		font-size: 0.8rem;
		text-align: justify;
		padding: 1em;
	}
	#contents article .note{
		width: calc(100% - 80px);
		max-width: 640px;
		margin: 0 auto;
		font-size: 1rem;
		text-align: justify;
	}
	#contents article:nth-of-type(even){
		background-color: rgba(180,120,80,0.10);
	}

}

@media screen and (max-width: 567px){

	#firstview{
		height: 80vw;
	}
	#firstview img{
		object-fit: cover;
		object-position: 50% 50%;
	}
	#mainttl{
		font-size: 1.8rem;
	}
	
	.dscrptmain{
		font-size: 1.4rem;
	}

	#contents article ul.imgbox li{
		width: calc(100% / 2);
	}
	
}

@media screen and (min-width: 568px) and (max-width: 1024px){

	#firstview img{
		object-fit: cover;
		object-position: 50% 50%;
	}
	
}


@media screen and (min-width: 1025px), print{

	#firstview img{
		object-fit: cover;
		object-position: 50% 70%;
	}
	
	#description{
		padding: 60px 0;
	}
	
}