@charset "utf-8";
footer {
	background-color: #3A00FF;
}
body  {
	background-image: url("haikei.jpg");
}
header,main,footer{
	margin: 0 auto;
	text-align: center;
	width: 1000px
}
nav ul{
	padding: 0;
	list-style-type: none;
	display: flex;
	justify-content: space-between;
}
nav a{
	color:#2214C9;
	text-decoration: none;	
}
nav a:hover{
	background-color:#6C00FF;
	color: #FFFFFF
}
.hero{
	width: 800px;
	padding: 100px;
	background-image: url("img/hero.jpg");
	background-size: cover;
	background-position: center;
	border: 10px double #002C8B;
}
nav{
	background-color: rabo(1,149,91,0,62)
}

.items{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap:20px;
	margin: 20px 0px;
}
.items img{
	max-width: 100%;
}
.item{
	background-color: rgba(255,255,255,0.60);
	border: 5px solid #B5B6FF;
	border-radius: 20px;
}
.item p{
	padding: 0px 10px;
}
.page{
	padding: 30px;
	background-color: #45FFDB;
	color: white;
}

/*special.html*/
section{
	background-image: url("img/全体背景.png");
	background-size: cover;
	background-repeat: no-repeat;
	margin-bottom: 10px;
	overflow: hidden;
	padding: 0 3%;
	border: solid 5px gray;
}
article{
	width: 600px;
	float: left;
	text-align: left;
	line-height: 2;
}
aside{
	float: right;
}
h2.page.special{
	height: 144px;
	background-image: url("img/title 2.png");
	box-sizing: border-box;
	padding-top: 70px;
	text-align: right;
}
h3.special{
	background-color: #6B6DC6;
	padding: 10px;
	color: white;
}
/*メディアクエリ*/

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

	heder,main,footer{
		width: 90%
	}
	.hero{
		max-width: 100%;
		padding: 15% 0;
		height: 20vh;
		background-image: url("img/名称未設定-1.gif");
		background-position: center;
	}
	img.index{
		max-width: 100%;
		height: 28vh;
	}
	nav ul{
		flex-wrap: wrap;
		gap:20px;
	}
	.items{
		grid-template-columns: 1fr;
	}
}
