/*----------------------------------------
** NAVIGATION
----------------------------------------*/

.nav {
	width: 100%;
	position: absolute;
	top: 18px;
    right: 1.5%;
	justify-content: space-around;
	color: #ffffff;
	z-index: 30;
	transition: all 1.5s;
    margin-right: 0;
}
.nav .menu {
	position:absolute;
	right:0;
}
.nav .menu  ul li {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
	font-size: 1rem;
	transition: 0.2s linear;
	float:left;
}

.nav .menu ul li a {
	display: block;
	padding: 0 0.6em;
	transition: 0.2s linear;
	color: #ffffff;
	text-decoration: none;
}
.nav .menu ul li.now span {
    border-bottom: 2px solid #86000A;
    display: block;
    width: 2rem;
    text-align: center;
    height: 8px;
    margin: auto;
}


@media screen and (max-width:1240px) {
    .nav {
        /*height: 50px;*/
        width:100%;
        right:0;
        overflow: hidden;
        position: absolute;
        top: 0;
        background-color: rgba(0,0,0,0.8);
    }
    .nav .menu ul li.now span {
        border-bottom: none;
        height: 0;
    }
    .nav.open {
        height: 100%;
    }
    /*HUMBUGER MENU*/
    /*.nav-sp {
        display: block;
        width: 100%;
        height: 48px;
        background: rgba(160,193,210,1.0);
        position: fixed;
        top: 0;
        left: 0;
        z-index: 899;
    }*/
    
    .over-trigger {
        display: block;
        cursor: pointer;
        position: absolute;
        width: 70px;
        height: 70px;
        top: 0;
        right: 0;
        z-index: 900;
        background: #666;
    }
    .over-trigger.active {
        background: #fff;
    }
    .menu-trigger {
        display: block;
        cursor: pointer;
        position: absolute;
        width: 30px;
        height: 27px;
        top: 18px;
        right: 20px;
        z-index: 900;
        padding-right:10px;
    }
    .menu-trigger,
    .menu-trigger span {
        display: inline-block;
        transition: all .4s;
        box-sizing: border-box;
    }
    .menu-trigger span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: rgba(255,255,255,1.0);
        /*border-radius: 4px;
        -webkit-box-shadow: 1px 1px 0 1px rgba(0,0,0,0.5);
        box-shadow: 1px 1px 0 1px rgba(0,0,0,0.5);*/
    }
    .menu-trigger span:nth-of-type(1) {
        top: 0;
    }
    .menu-trigger span:nth-of-type(2) {
        top: 13px;
    }
    .menu-trigger span:nth-of-type(3) {
        bottom: 0;
    }
    .over-trigger.active .menu-trigger{
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
    .over-trigger.active .menu-trigger span {
        background-color: rgba(0,0,0,1.0);
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    .over-trigger.active .menu-trigger span:nth-of-type(1) {
        -webkit-transform: translateY(22px) rotate(-45deg);
        transform: translateY(13px) rotate(-45deg);
    }
    .over-trigger.active .menu-trigger span:nth-of-type(2) {
        -webkit-transform: translateY(0) rotate(45deg);
        transform: translateY(0) rotate(45deg);
    }
    .over-trigger.active .menu-trigger span:nth-of-type(3) {
        opacity: 0;
    }

    .nav .menu {
        width: 100%;
        height: 100%;
        top: 0;
        /*left:-100%;*/
        right:0;
        z-index: 800;
        /*border-radius: 2px;*/
        /*text-align: center;*/
        transition: 0.3s linear;
        /*margin: 0 auto;*/
        margin: 0;
        /*padding: 120px 0 30px;*/
        padding: 0;
        /*background: rgba(240,240,240,1);*/
        overflow-y: auto;
        overflow-x: hidden;
        opacity: 0;
        /*display:none;*/
        background-color: rgba(0,0,0,0.8);
        transform: translateX(100%);
    }
    .nav .menu ul li {
        /*width: calc(100% / 7);*/
        letter-spacing: normal;
        font-size: 1.2rem;
        padding: 10px 0;
        margin: 0;
        text-align: left;
        transition: 0.2s linear;
        position: relative;
        display:none;
        display: block;
        float: none;
        border-bottom: 1px solid #ccc;
    }
    .nav .menu ul li a {
        padding: 10px 0;
        color: #333;
        display: block;
    }
    .nav .menu div > a {
        padding: 0 1.2em;
        transition: 0.2s linear;
        color: rgba(255,255,255,1.0);
        text-decoration: none;
    }
    .nav .menu div a:hover {
        color: rgba(255,255,255,0.75);
    }
    .nav .menu div img {
        height: 65px;
        width: auto;
    }
    .nav .menu.open {
        /*top: 30px;*/
        /*left:30%;*/
        /*display:block;*/
        /*width:100%;*/
        /*padding:40px 0;*/
        /*margin: 0;*/
        transform: translateX(0);
        opacity: 1;
    }
}



@media screen and (max-width:1240px) {
    .menu-logo{
        padding-top: 100px;
        text-align: center;
        margin-bottom: 80px;
    }
    .nav .menu ul{
        width: 100%;
        padding: 0 5%;
    }
    .nav .menu ul li{
        border-bottom:1px solid #666;
        padding-right: 10px;
    }
    .nav ul li:first-child{
        border-top:1px solid #666;
    }
    .nav .menu ul li a{
        color: #fff;
        font-weight: bold;
        background: url(../img/common/icon-arrow.png) no-repeat right center;
        background-size: 11px 16px
    }
}
@media screen and (max-width:828px) {
    .nav .menu div img {
        height: 50px;
        width: auto;
    }
}