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

body{
	position: relative;
	font-family: 'Text Me One', sans-serif, 'Noto Sans JP';
}
.flex {
	display: flex;
	justify-content:center;
	margin-top: 30px;
}
main h3{
	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;
	}
main{
	padding:10px 20px;
}
main section{
	margin:30px 0 60px;
	box-shadow: 0 0 10px 2px rgba(0,0,0,0.5);
	padding: 50px 10px;
}
section div p{
	text-align: center;
	margin: 10px 0;
	line-height: 1.5;
}
.proimg img{
	width: 200px;
	height: 200px;
	box-shadow: 0 0 10px 2px rgba(0,0,0,0.5);
	margin-bottom: 20px;
	}
.protext{
	font-family: 'Noto Sans JP';
}

.more{
	margin: 30px 0 10px;
}
.more a{
	border: 1px solid #ccc;
	padding: 5px 20px;
	border-radius: 10px;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
	
}

.header{
	position: relative;
	height: 100vh;
	background: url(../images/index.jpg) center center no-repeat;
	background-size: cover;
}




@media screen and (min-width: 768px) {
	main{
		width: 900px;
		margin: 0 auto;
	}
	.section{
		width: 800px;
		height: 400px;
		padding: 20px 30px;
		
	}
	.proimg{
		width: 400px;
		text-align: center;
	}
	
	.protext{
		position: relative;
		width: 300px;
		height: 200px;
		text-align: left;
	}
	.more a{
		position: absolute;
		bottom: -20px;
		right:20px;
	}
	.flex2{
	display: flex;
}
	main h3{
	font-size: 1.75em;
	padding: 10px 0;
	}
	.more a{
	padding: 10px 20px;
	}
}
