@charset "utf-8";

body,
html {
	margin: 0;
	padding: 0;
	text-align: center;
	min-height: 100%;
	height: 100%;
	font-family: "メイリオ", Meiryo,"Hiragino Kaku Gothic Pro";
	background-color: #ddd;
}
img {
	border-style: none;
}
nav {
	position: fixed;
	margin: 0;
	padding: 0;
	top: 10px;
	left: -40px;
}
ul {
	list-style: none;
}
nav ul {
	float: left;
}
nav ul li {
	float: left;
	font-size: 12px;
	font-weight: bold;
	color: #fff;
	margin: 0;
	padding: 22px 10px 15px 0;
	background: url('../images/menu.png');
	background-size: 70px 70px;
}
nav ul li img {
	height: 70px;
}
nav ul li:first-child {
	margin: 0 0 0 20px;
	padding: 0;
	background: url('');
}
nav ul li:last-child {
	margin: 0;
	padding: 0;
	background: url('');
}
header {
	margin: 0;
	padding: 0;
	height: 280px;
	background: url('../images/header.png') repeat-x;
	background-size: 80px 280px;
}
h1 {
	font-size: 45px;
	margin: 0;
	padding: 110px 0 0 0;
	text-align: center;
}
h1 img {
	width: 360px;
}
#wrapper {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
article {
	flex: 1;
}
article ul {
	width: 360px;
	margin: 0 auto;
	padding: 0;
}
article ul li {
	float: left;
	font-size: 12px;
	width: 180px;
	height:125px;
	margin: 10px 0;
	padding: 55px 0 0 0;
	background: url('../images/item.png');
	background-size: 180px 180px;
}
h2 {
	margin: 0;
	padding: 15px 0 0 0;
	font-size: 24px;
}
.subtitle {
	background: url('../images/subtitle.png');
	background-size: 180px 180px;
}
footer {
	margin: 0;
	padding: 0;
	height: 280px;
	background: url('../images/footer.png') repeat-x;
	background-size: 80px 280px;
}
h3 {
	font-size: 24px;
	margin: 0;
	padding: 130px 10px 0 10px;
}
a {
	color: #000;
	text-decoration: underline;
}
a:hover {
	color: #fff;
	background-color: #000;
	text-decoration: none;
}
nav ul li a {
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
	margin: 0;
	padding: 0;
}
nav ul li a:hover {
	color: #fff;
}
#current {
	font-size: 12px;
	font-weight: bold;
	color: #fff;
	background: url('../images/menu.png');
	background-size: 70px 70px;
}
h3 a {
	font-size: 30px;
}
