@media screen and (max-width: 479px) {

	html {
		font-size:80%;
	}

	#HeaderLogo {
		font-size:1.8rem;
		text-indent:2.4rem;
	}

	#TelIcon {
		width:2.8rem;
		height:2.8rem;
		margin-right:6px;
	}
	
	#HeaderMenuIcon {
		width:2.8rem;
		height:2.8rem;
		margin-right:4px;
	}
	
	nav {
		padding:1px;
	}

}

@media screen and (min-width: 480px) and (max-width: 609px) {

	html {
		font-size:100%;
	}

	#HeaderLogo {
		font-size:1.8rem;
		text-indent:2.4rem;
	}

	#TelIcon {
		width:2.8rem;
		height:2.8rem;
		margin-right:6px;
	}
	
	#HeaderMenuIcon {
		width:2.8rem;
		height:2.8rem;
		margin-right:4px;
	}
	
	nav {
		padding:1px;
	}
}
@media screen and (min-width: 610px) {

	html {
		font-size:125%;
	}

	#HeaderLogo {
		font-size:1.8rem;
		text-indent:2.4rem;
	}

	#TelIcon {
		width:2.9rem;
		height:2.9rem;
		margin-right:7px;
	}
	
	#HeaderMenuIcon {
		width:2.9rem;
		height:2.9rem;
		margin-right:5px;
	}

	nav {
		padding:3px;
	}
}

body{
	width:100%;
}

header {
	background:linear-gradient(-10deg, #000000, #11132F);
	padding-bottom:2px;
}

#HeaderLogo {
	font-weight:bold;
	text-shadow: 0 0 4px rgba(255,250,220,0.3);
	background-image:url(../img/logo.png);
	background-repeat:no-repeat;
	background-position: left center;
	background-size:contain;
	position:absolute;
	top:10px;
	left:0.4rem;
}

nav {
	display:flex;
	justify-content:flex-end;
}

#TelIcon {
	display:block;
	overflow:hidden;
	border:2px solid white;
	background-image:url(../img/tel.png);
	background-repeat:no-repeat;
	background-size:contain;
	border-radius:25%;
	overflow:hidden;
}

#TelIcon > small {
	display:none;
}

#TelIcon > a {
	white-space:nowrap;
	text-indent:100px;
	display:block;
	width:100%;
	height:100%;
}

#HeaderMenuIcon {
	display:block;
	border:2px solid white;
	background-image:url(../img/menu.png);
	background-repeat:no-repeat;
	background-size:contain;
	border-radius:25%;
	cursor:pointer;
}

#HeaderMenuPanel {
	width:70vw;
	display:block;
	max-width:480px;
	max-height:100vh;
	font-size:1.5rem;
	letter-spacing:0.2rem;
	border-radius:0 0 0 28px;
	background:linear-gradient(-90deg, rgba(14,15,41,0.95), rgba(20,21,59,0.95));
	position:fixed;
	top:0;
	right:0;
	z-index:100;
}

#HeaderMenuPanel > ul > li > a {
	width:100%;
	display:block;
	color:white;
	text-indent:1.4rem;
	line-height:2.6rem;
	text-decoration:none;
	border-left:10px solid transparent;
}

#HeaderMenuPanel.open {
	transform:translateX(0);
	transition:all 800ms 0ms;
	box-shadow: 1px 2px 18px 6px rgba(0,0,0,0.75);
}
#HeaderMenuPanel.open > ul > li:nth-child(1) {
	transform:translateX(0);
	transition:all 500ms 0ms;
}
#HeaderMenuPanel.open > ul > li:nth-child(2) {
	transform:translateX(0);
	transition:all 500ms 50ms;
}
#HeaderMenuPanel.open > ul > li:nth-child(3) {
	transform:translateX(0);
	transition:all 500ms 100ms;
}
#HeaderMenuPanel.open > ul > li:nth-child(4) {
	transform:translateX(0);
	transition:all 500ms 150ms;
}
#HeaderMenuPanel.open > ul > li:nth-child(5) {
	transform:translateX(0);
	transition:all 500ms 200ms;
}
#HeaderMenuPanel.open > ul > li:nth-child(6) {
	transform:translateX(0);
	transition:all 500ms 250ms;
}
#HeaderMenuPanel.open > div#HeaderMenuClose {
	transform:translateX(0);
	transition:all 500ms 300ms;
}

#HeaderMenuPanel.expand {
	transform:translateX(100%);
	transition:all 500ms 50ms;
	box-shadow: 1px 2px 18px 6px rgba(0,0,0,0);
}
#HeaderMenuPanel.expand > ul > li:nth-child(1) {
	transform:translateX(100%);
	transition:all 200ms 0ms;
}
#HeaderMenuPanel.expand > ul > li:nth-child(2) {
	transform:translateX(100%);
	transition:all 200ms 20ms;
}
#HeaderMenuPanel.expand > ul > li:nth-child(3) {
	transform:translateX(100%);
	transition:all 200ms 40ms;
}
#HeaderMenuPanel.expand > ul > li:nth-child(4) {
	transform:translateX(100%);
	transition:all 200ms 60ms;
}
#HeaderMenuPanel.expand > ul > li:nth-child(5) {
	transform:translateX(100%);
	transition:all 200ms 80ms;
}
#HeaderMenuPanel.expand > ul > li:nth-child(6) {
	transform:translateX(100%);
	transition:all 200ms 100ms;
}
#HeaderMenuPanel.expand > div#HeaderMenuClose {
	transform:translateX(100%);
	transition:all 200ms 120ms;
}

#HeaderMenuClose {
	text-indent:1.4rem;
	padding-left:10px;
	padding-bottom:12px;
	cursor:pointer;
}

#Main {
	background-image:url(../img/back.jpg);
	box-shadow:0px 4px 40px 15px rgba(0,0,0,0.8) inset;
}
content {
	display:block;
	background:rgba(0,0,0,0.1);
}

.ContentTop {
	box-shadow:0px 1.0rem 1.0rem 0px rgba(0,0,0,0.95);
}

.ContentTop > h2{
	font-size:2.2rem;
	text-indent:0.7rem;
	line-height:2.2rem;
	background:rgba(0,0,0,0.95);
	box-shadow:0px 0px 2.0rem 2.0rem rgba(0,0,0,0.95);
	text-shadow: 0 0 4px rgba(255,250,220,0.3);
}

.ContentMain {
	padding:1.0rem 1.2rem 1.2rem 1.2rem;
}

footer {
	padding:4px 0;
	text-align:center;
	font-size:0.8rem;
}

