﻿@charset "UTF-8";
/* CSS Document */

/*-----------------------------------------------------------
	スマホメニュー
-----------------------------------------------------------*/
#menu{
	width:100%;
	display:none;
	position:fixed;
	top:50px;
    right: -240px;
    width: 240px;
    height: 100%;
    background: #e00012;
    padding-top: 40px;
	z-index:9997;
	overflow-y: auto;
    box-sizing: border-box;
}
@media only screen and (max-width: 768px) {
#menu{
	display:block;
}
}
#menu li a{
    display: block;
    height: 50px;
    line-height: 50px;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    border-bottom: solid 1px #ccc;
    padding-left: 50px;
	background-image:url(../img/common/2ar-w.png);
	background-repeat:no-repeat;
	background-position:left 16px center;
	background-size:8px;
}
#menu li a:hover{
	background-color:#a80021;
}
#menu div.menu{
	font-size:14px;
	margin-left:14px;
	margin-bottom:10px;
	color:#fff;
	border:none;
	text-align:left;
}



/*-- スマホメニューボタン --*/
#menu-btn{
	display:none;
    position: fixed;
    right:0;
    top:0;
    z-index: 9999;
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 14px;
    line-height: 60px;
    color: #0ad;
    background:#e00012;
    cursor: pointer;
}
@media only screen and (max-width: 768px) {
#menu-btn{
	display:block;
}
}
#menu-btn span {
    display: block;
    position: absolute;
    height: 4px;
    width: 28px;
    background: #fff;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}
#menu-btn span:nth-child(1) {
    top: 13px;
	left:11px;
}
#menu-btn span:nth-child(2) {
    top: 24px;
	left:11px;
}

#menu-btn span:nth-child(3) {
    top: 35px;
	left:11px;
}
    /* #nav-toggle 切り替えアニメーション */
#menu-btn.active span:nth-child(1) {
    top: 24px;
	-webkit-transform: rotate(315deg);
	-moz-transform: rotate(315deg);
	transform: rotate(315deg);
}
#menu-btn.active span:nth-child(2) {
	width: 0;
	left: 50%;
}
#menu-btn.active span:nth-child(3) {
    top: 24px;
	-webkit-transform: rotate(-315deg);
	-moz-transform: rotate(-315deg);
	transform: rotate(-315deg);
}

