@charset "utf-8";

#header{
    z-index: 10;
    position: relative;
}
#global-nav{
    display: none;
}
#mobile-head {
    width: 65px;
    height: 65px;
    z-index: 1000;
    position: absolute;
    right: 3%;
    cursor: pointer;
    background-color: #ff9c00;
    top: 10px;
}
#nav-toggle {
    display: block;
}
.open #mobile-head {
    background-color: #fff;
}
.open #nav-toggle{
    /*! top:21px; */
}
.open #nav-toggle div>span{
    background: #000;
}
.open #nav-toggle span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
}
.open #nav-toggle div>span:nth-child(2) {
    width: 0;
    left: 50%;
}
.open #nav-toggle span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
}
.open #global-nav {
    width: 96%;
    height: calc(100% - 80px);
    margin: 0 auto;
}
/* nav */
#top-head {
    display: block;
    width: 100%;
    z-index: 9999;
    position: relative;
    background-color: none;
    /*! height: 67px; */
}

#global-nav {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 1000px;
    width: 100%;
    margin: auto;
    left: 0;
    height: 100%;
    /*! background-color: rgba(255,255,255,0.8); */
}

/* Toggle Button */
#nav-toggle {
    /*! display: none; */
    position: absolute;
    right: 16px;
    top: 22px;
    width: 32px;
    height: 20px;
    z-index: 101;
}
#nav-toggle div {
    position: relative;
}
#nav-toggle div>span {
    display: block;
    position: absolute;
    height: 1px;
    width: 100%;
    background: #fff;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}

#nav-toggle div>span:nth-child(1) {
    top: 0;
}
#nav-toggle div>span:nth-child(2) {
    top: 9px;
}
#nav-toggle div>span:nth-child(3) {
    top: 19px;
}
@media screen and (min-width: 769px){
    #mobile-head{
        right: 10px;
    }
    #top-head{
        position: fixed;
        top: 0;
        right: 0;
        max-width: 1000px;
        left: 0;
        margin: auto;
        width: 94%;
        background-color: rgba(255,156,0,0.9);
        margin-top: 20px;
    }
    .open #global-nav{
        display: block;
        padding-top: 100px;
        height: 100%;
        position: static;
        padding-bottom: 50px;
        width: 94%;
    }
}
@media screen and (max-width: 768px){
    html{
        height: auto;
    }
    html, body{
        overflow: initial;
    }
    html.bgFixed, .bgFixed body{
        overflow: hidden;
    }

    #main{
        position: relative;
    }
    .bgFixed #scroll_pagetop{
        z-index: -1 !important;
    }
    #header .content .free{
        margin-bottom: 0;
    }
    .nv .pcOn{
        display: none !important;
    }
    .nv .spOn{
        display: block !important;
    }
    #top-head {
        width: auto;
        padding: 0;
        top: 0;
        right: 3%;
        position: fixed;
        z-index: 10000;
        bottom: auto;
        min-height: auto;
    }
    #top-head.fixed {
        padding-top: 0;
        left: auto;
        right: 1%;
        top: 10px;
    }
    #top-head.open{
        width: 100%;
        height: 100%;
        position: fixed;
        right: 0;
        background-color: rgba(219,216,211,0.9);
        /*! overflow-y: scroll; */
        /*! overflow: scroll; */
        /*! left: 0; */
        margin: auto;
        /*! border-radius: 10px; */
    }
    #mobile-head{
    }
    /* Fixed reset */
    .open #mobile-head {
    }
    .open #global-nav {
        display: block;
        position: absolute;
        top: -780px;
        background: transparent;
        width: 94%;
        text-align: center;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        -moz-transform: translateY(860px);
        -webkit-transform: translateY(860px);
        transform: translateY(860px);
        -webkit-overflow-scrolling: auto;
        /*! right: auto; */
        overflow: scroll;
    }
    #global-nav ul {
        list-style: none;
        position: static;
        margin: 0 auto;
        overflow: visible;
        border: none;
        border-radius: 0px;
        background: transparent !important;
    }
}
@media screen and (max-width: 480px){

    #header .content .free .hdWrap .logo{
        padding-right: 150px;
        float: none;
        line-height: 70px;
    }
    #top-head{
        /*! right: 2%; */
    }
    #header .content .free .hdHeading{
        /*! padding-top: 30px; */
    }
    #global-nav ul li > a{
        line-height: 55px;
        font-size: 16px;
    }
    #mobile-head {
        width: 55px;
        height: 55px;
    }
    #nav-toggle{
        top: 18px;
        left: 12px;
    }
}
/* Toggle Button SP End */