html, body, div, span, iframe, h1, h2, h3, h4, h5, h6, p, pre, address, em, img, q, small, strong, var, b, i,dl, dt, dd, ol, ul, li, form, label, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, footer, header, menu, nav, section, summary, time, audio, video {
margin:0;
padding:0;
border:0;
outline:0;
vertical-align:baseline;
background:transparent;
}
article, aside, footer, header, menu, nav, section { 
display:block;
}
nav ul {
list-style:none;
}
a {
margin:0;
padding:0;
vertical-align:baseline;
background:transparent;
}
table {
border-collapse:collapse;
border-spacing:0;
}
input, select {
vertical-align:middle;
}
address{
font-style:normal;
}

/* header common*/
.bg_red{
	background-color:#8B0000;
	color: white;
}
/* header common*/
header{
	position:fixed;
	top: 0;
	left: 0;
	width:100%;
	border-bottom: solid 1px #281A14;
	z-index: 99999;
}

nav{
	display:none;
}

#header_flexbox{
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex:0 0 20%;
}

#togglebutton{
	background: none;
	border: none;
	margin-right: 10px;
	color: white;
}

ul{
	list-style-type: none;
}

nav ul{
	display: flex;
	flex-wrap: wrap;
	width: auto;
	height: 75vh;
	z-index: 999;
}

nav ul a{
	color: white;
	text-decoration: none;
	text-align: center;
}

nav li{
	display: block !important;
	flex: 1 1 50%;
	text-align: center;
	background-color: black;
}

.nav_box{
	display:flex;
	align-items: center;
	justify-content: center;
	height: 25vh;
	border: solid 3px #fff;
	margin: 0 -3px -3px 0;
}
.nav_contact{
    line-height:1.2;
}

h1{
	padding-top: 10px;
	padding-left: 10px;
}

/*ニュッと出るメニュー*/
#nyu_menu {
	font-size: 100%;
	font-weight: bold;
	list-style: none;
}
#nyu_menu li {
	margin-bottom: 0.8em;
}
#nyu_menu li a {
    background-position: 30px center;
    background-repeat: no-repeat;
    color: #281A14;
    display: block;
    height: 64px;
    line-height: 64px;
    padding-left: 90px;
    position: fixed;
    text-decoration: none;
}
.nyu{
	background-image:url("../images/nyu.png");
	top:130px;
	right: -100px;
	z-index: 10001;
}


/* フッター：スマホ画面サイズ*/

#footer_wrap{
	text-align: center;
	padding:20px ;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

adress{
	display: inline-block;
	margin: 0 auto;
	padding-top: 30px;
		font-size: 12px;
}

footer caption{
	font-size:14px;
	font-weight: bold;
	padding-bottom:5px;
}
footer table{
	min-width:100px; 
}

footer td{
	text-align: left;
    padding-left: 15px;
	font-size: 12px;
}

footer a{
	color:white;
	font-size: 12px;
	text-decoration: none;
}

#footer_logoandCW{
	padding-top: 20px;
	text-align: center;
	align-items: center;
}


/* 以上footer　*/

/* 共通部分：ディスプレイサイズ768以上(PC想定)*/
@media(min-width: 768px){

/* 以下PCヘッダー */
	#header_flexbox{
		justify-content: center;
	}
	#header_togglebutton{
		display: none;
	}
	
	#togglemenu{
		flex:0 0 80%;
		display:inline;
	}
	
	nav ul{
		height:100px;
		width:auto;
		flex-wrap: nowrap;
	}	

	nav li{
		padding:0.5rem;
		font-size:12px;
		flex: 1;
		background-color:inherit;
	}
	
	.nav_innerbox{
		margin-top:5px;
		align-items: center;
	}
	
	
	nav{
		background-color: inherit;
	}
	
	h1{
		height: auto;
	}
	
	#header_wrap{
		display: flex;
		margin: 0 auto;
		width: 90%;
		max-width: 800px;
		align-items:center;
		justify-content: center;
	}
	
	.nav_box{
		height: auto;
		min-width:80px;
		border: none;
	}
/* 以上ヘッダー（PC) */
	
/* 以下メイン部分（PC） */
	body{
		font-size: 16px;
	}
	.h2icon{
		max-width: 80px;
		max-height: 80px;
	}
/* 以下フッター（PC) */
	#footer_wrap{
		margin: 0 auto;
		max-width: 600px;
		display:flex;
		flex-direction: row;
		justify-content: space-between;
		align-items:center;
        text-align:left;
	}
    #footer_wrap adress{
        margin: 0;
    }
    
	}



/* common css以上 */