﻿html {
	font-size: 20px;
	@media (min-width: 800px) {
		font-size: 16px;
	}
	overflow: auto;
	width: 100%;
}

body {
	margin: 0;
	padding: 0;
	background-color: #222222;
	font-family: -apple-system, ‘Helvetica Neue’, ‘Hiragino Kaku Gothic ProN’, ‘游ゴシック Medium’, ‘メイリオ’, meiryo, sans-serif;
	overflow-x: hidden;
	width: 100%;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	box-sizing: border-box;
	width: 100%;
	height: 50px;
	padding: 10px;
	background-color: #FFFFFF;
	background-image: url("./img/top.gif");
	background-position: center;
	background-repeat: no-repeat;
	border-bottom: 1px #CCCCCC solid;
	z-index: 1;
}

#menubutton {
	top: 10px;
	left: 10px;
	width: 30px;
	height: 30px;
	position: absolute;
	overflow: hidden;
	cursor: pointer;
}

#menubutton span {
	display: block;
	position: absolute;
	height: 4px;
	width: 100%;
	border-radius: 4px;
	background-color: #BBBBBB;
}

#menubutton span:nth-child(1) {
	top: 0;
}

#menubutton span:nth-child(2) {
	top: 13px;
}

#menubutton span:nth-child(3) {
	bottom: 0;
}


#menu {
	position: fixed;
	width: 100%;
	height: 100%;
}

#menu ul {
	position: fixed;
	width: 80%;
	height: 100%;
	background-color: #444444;
	margin: 0;
	padding: 0;
	top: 50px;
	left: -80%;
	list-style: none;
	transition: all 0.5s ease-out;
	overflow-x: hidden;
}

#menu ul li {
	border-bottom: 1px #333333 solid;
}

#menu ul li a {
	box-sizing: border-box;
	display: block;
	width: 100%;
	height: 100%;
	padding: 10px;
	text-decoration: none;
	transition: 0.5s;
	color: #FFFFFF;
}

#menu ul li a:hover {
	background-color: #BBBBBB;
}

.openmenu #menu ul {
	left: 0;
}

#main{
	position: absolute;
	left: 0;
	width: 100%;
	margin-top: 50px;
	transition: all 0.5s ease-out;
}

.openmenu #main{
	position: relative;
	left: 80%;
}

article {
	width: 100%;
	background-color: #FFFFFF;
}

article .title {
	width: 100%;
	border-bottom: 1px #CCCCCC solid;
	font-size: 24px;
	padding: 5px;
	box-sizing: border-box;
	cursor: pointer;
}

article .contentbutton {
	height: 34px;
	width: 34px;
	box-sizing: border-box;
	font-size: 20px;
	padding: 7px;
	position: absolute;
	right: 10px;
}

article .content {
	display: none;
	padding: 5px;
}


article .contentbutton:after {
	content: '＋';
}

.opencontent .contentbutton:after {
	content: '－';
}

.opencontent .content {
	display: block;
}

footer {
	color: #EEEEEE;
	padding: 5px;
	text-align: center;
	background-color: #222222;
}