@charset "UTF-8";

/* header
---------------------------------------------------- */
header {
	width: 100%;
	height: 50px;
	position: fixed;
	z-index: 1;
	background-color: #FFF;
}
header .logo {
	float: left;
	margin: 10px;
}
header .logo img {
	height: 30px;
}

/* d-menu */
header .d-menu {
	position: absolute;
	top: 5px;
	right: 5px;
}
header .d-menu .panel-btn{
	display: inline-block;
	position: relative;
	width: 38px;
	height: 38px;
}
header .d-menu .panel-btn-icon{
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 2px;
	margin: -1px 0 0 -10px;
	background: #170d0b;
	transition: .2s;
}
header .d-menu .panel-btn-icon:before,
header .d-menu .panel-btn-icon:after{
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 20px;
	height: 2px;
	background: #170d0b;
	transition: .3s;
}
header .d-menu .panel-btn-icon:before{
	margin-top: -8px;
}
header .d-menu .panel-btn-icon:after{
	margin-top: 6px;
}
header .d-menu .panel-btn .close{
	background: transparent;
}
header .d-menu .panel-btn .close:before,
header .d-menu .panel-btn .close:after{
	margin-top: 0;
}
header .d-menu .panel-btn .close:before{
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}
header .d-menu .panel-btn .close:after{
	transform: rotate(-135deg);
	-webkit-transform: rotate(-135deg);
}

/* panel */
.panel {
	display: none;
	position: fixed;
	top: 50px;
	right: 0;
	width: 650px;
	z-index: 10;
	height: calc(100% - 50px);
    overflow: auto;
}
.panel ul.menu {
	padding: 15px 50px 30px;
	background-color: rgba(0,0,0,0.9)
}
.panel ul.menu li {
	width: 100%;
	height: auto;
	line-height: 38px;
	border-bottom: 1px solid #FFF;
	text-align: left;
}
.panel ul.menu li a {
	font-size: 20px;
	display: block;
	color: #FFF;
	line-height: 32px;
	padding: 15px 15px 10px;
	position: relative;
}
.panel ul.menu li a:after {
	position: absolute;
	top: 50%;
	right: 8px;
	margin-top: -15px;
	content: '>';
	font-size: 20px;
	color: #FFF;
	font-weight: normal;
	font-stretch: extra-condensed;
	transform: scale(0.6, 1);
}


/* footer
---------------------------------------------------- */
footer {
	background-color: #333333;
	text-align: center;
	padding: 40px 0;
}
footer img {
	width: 160px;
}


@media only screen and (max-width: 740px) {

/* header
---------------------------------------------------- */
.panel {
	width: 100%;
}
.panel ul.menu {
	padding: 12px 20px 20px;
}
.panel ul.menu li a {
	font-size: 14px;
	line-height: inherit;
	padding: 3px 10px 0;
}
.panel ul.menu li a:after {
    margin-top: -20px;
}


/* footer
---------------------------------------------------- */
footer {
	padding: 25px 0;
}
footer img {
	width: 120px;
}

}
