@-ms-viewport{
	width:device-width;
}

/*スマートフォン用*/

@media screen and (max-width: 800px){

body{
	font-family:sans-serif;
	padding: 5px;
}
header {
	padding: 10px;
	background: #ccc;
}

img {
	width: 100%;
}
p {
	font-size:0.9em;
}

#nav-drawer {
	position: relative;
}

/*チェックボックス非表示*/

.nav-unshown {
	display: none;
}
/*アイコンスペース*/

.nav-open {
	display: inline-block;
	width: 30px;
	height: 22px;
	vertical-align: middle;
}

/*ハンバーガー*/
#nav-open span, #nav-open span:before,
#nav-open span:after{
	position: absolute;
	height: 4.5px;	/*線の長さ*/
	width: 25px;	/*長さ*/
	border-radius: 3px;
	background: #555;
	display: block;
	content: ' ';
	cursor: pointer;
}
#nav-open span:before {
	bottom: -8px;
}
#nav-open span:after {
	bottom: -16px;
}
/*閉じるようの薄型箇所*/
#nav-close {
	dispaly: none;
	position: fixed;
	z-index: 99;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: black;
	opacity: 0;
	transition: .3s ease-in-out;
}

/*メニューの中身*/

#nav-content {
	overflow: auto;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 90%;
	max-width: 220px;/*最大幅は好み*/
	height: 100%;
	background: #fff;
	transition: .3s ease-in-out;
	-webkit-transform: translateX(-105%);
	transform: translateX(-105%);
}

/*チェックで表示*/
#nav-input:checked ~ #nav-close {
	display: block;
	opacity: .5;
}

#nav-input:checked ~ #nav-content {
	-webkit-transform: translateX(0%);
	transform: translateX_(0%);
	box-shadow: 6px 0 25px rgba(0,0,0,.15);
}

.header-logo-menu {
	display: flex;
	display: -moz-flex;
	display: -o-flex;
	display: -webkit-flex;
	display: -ms-flex;
	flex-direction: row;
	-moz-flex-direction: row;
	-o-flex-direction: row;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
}
nav{
	text-align: center;

}
nav ul{
	margin: 1px;
	padding: 1px;
}
nav ul li{
	list-style: none;
	display: inline-block;
	width: 13%;
	min-width: 190px;
	min-height: 40px;
	background: ;
	padding: 1px;
	line-height: 40px
	
}
nav ul li a{
	text-decoration: none;
	color: #333;
}
nav ul li.current a{
	color:#F33135;
}
nav ul li a:hover{
	color:#E7DA66;
}

/*ロゴやサイトタイトル*/
.logo-area {
	text-align:center;margin:auto;
}


}

/*スマートフォン用*/

@media screen and (min-width: 800px){

body{
	font-family:sans-serif;

}
header {
	padding: 10px;
	background: #ccc;
}

img {
	width: 800px;
}
p {
	font-size:0.9em;
}

#nav-drawer {
	position: relative;
}

/*チェックボックス非表示*/

.nav-unshown {
	display: none;
}
/*アイコンスペース*/

.nav-open {
	display: inline-block;
	width: 30px;
	height: 22px;
	vertical-align: middle;
}

/*ハンバーガー*/
#nav-open span, #nav-open span:before,
#nav-open span:after{
	position: absolute;
	height: 4.5px;	/*線の長さ*/
	width: 25px;	/*長さ*/
	border-radius: 3px;
	background: #555;
	display: block;
	content: ' ';
	cursor: pointer;
}
#nav-open span:before {
	bottom: -8px;
}
#nav-open span:after {
	bottom: -16px;
}
/*閉じるようの薄型箇所*/
#nav-close {
	dispaly: none;
	position: fixed;
	z-index: 99;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: black;
	opacity: 0;
	transition: .3s ease-in-out;
}

/*メニューの中身*/

#nav-content {
	overflow: auto;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 90%;
	max-width: 220px;/*最大幅は好み*/
	height: 100%;
	background: #fff;
	transition: .3s ease-in-out;
	-webkit-transform: translateX(-105%);
	transform: translateX(-105%);
}

/*チェックで表示*/
#nav-input:checked ~ #nav-close {
	display: block;
	opacity: .5;
}

#nav-input:checked ~ #nav-content {
	-webkit-transform: translateX(0%);
	transform: translateX_(0%);
	box-shadow: 6px 0 25px rgba(0,0,0,.15);
}

.header-logo-menu {
	display: flex;
	display: -moz-flex;
	display: -o-flex;
	display: -webkit-flex;
	display: -ms-flex;
	flex-direction: row;
	-moz-flex-direction: row;
	-o-flex-direction: row;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
}
nav{
	text-align: center;

}
nav ul{
	margin: 1px;
	padding: 1px;
}
nav ul li{
	list-style: none;
	display: inline-block;
	width: 13%;
	min-width: 190px;
	min-height: 40px;
	background: ;
	padding: 1px;
	line-height: 40px
	
}
nav ul li a{
	text-decoration: none;
	color: #333;
}
nav ul li.current a{
	color:#F33135;
}
nav ul li a:hover{
	color:#E7DA66;
}

/*ロゴやサイトタイトル*/
.logo-area {
	text-align:center;margin:auto;
}


}


}