@charset "utf-8";

/*---	ハンバーガーメニュー ---
---------------------------------------------*/
/* scrollbar */
#global-nav{background: white; overflow: scroll; max-height: 80vh; -webkit-overflow-scrolling : touch; background:#629bbe;}
#global-nav::-webkit-scrollbar{ width: 2px; background:rgba(255,255,255,0.95); }
#global-nav::-webkit-scrollbar:horizontal{ height:0px; }
#global-nav::-webkit-scrollbar-button{ width:5px; height:5px; background:rgba(255,255,255,0.95); }
#global-nav::-webkit-scrollbar-piece{ background:rgba(235,110,115,1.0); }
#global-nav::-webkit-scrollbar-piece:start{ background:rgba(255,255,255,0.95); }
#global-nav::-webkit-scrollbar-thumb{ background:rgba(235,110,115,1.0); }
#global-nav{overflow-x:hidden;overflow-y:auto;}

.inner {
    margin: 0 auto;
}
 
/* header */
#top-head {
    top: -100px;
    position: absolute;
    width: 100%;
    margin: 100px auto 0;
    padding: 30px 0 0;
    line-height: 1;
    z-index: 99999;
}
#top-head a,
#top-head {
    color: #FFFFFF;
    text-decoration: none;
}
#global-nav ul {
    list-style: none;
    position: absolute;
    right: 0;
    bottom: 0;
}
#global-nav ul li {
    float: left;
}
#global-nav ul li a {
    padding: 0 30px;
    font-size: 15px;
		font-weight: bold;
		text-indent: 1px;
		letter-spacing: 1px;
}
 
/* Fixed */
#top-head.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    padding-top: 10px;
    height: 55px;
    background: #fff;
    background: rgba(255,255,255,.7);
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
}
 
/* Toggle Button */
#nav-toggle {
    position: absolute;
    right: 12px;
    top: 14px;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 101;
}
#nav-toggle div {
    position: relative;
}
#nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #74A9E5;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
    top: 0;
}
#nav-toggle span:nth-child(2) {
    top: 11px;
}
#nav-toggle span:nth-child(3) {
    top: 22px;
}

    #top-head,
    .inner {
        width: 100%;
 		max-width:768px;
		min-width:320px;
        padding: 0;
    }
    #top-head {
        top: 0;
        position: fixed;
        margin-top: 0;
    }
    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
    }
    #mobile-head {
        background: #ffffff;
        width: 100%;
        height: 56px;
        z-index: 999;
        position: relative;
    }
    #top-head.fixed .logo,
    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -500px;
        background: #ffffff;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }
    #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 13px;
    }
    #global-nav ul li {
        float: none;
        position: static;
    }
    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        color: #3E3A39;/*メニュー項目の色*/
				border-bottom: 1px dotted #2e2872;
        padding: 15px 0;
    }
    #nav-toggle {
        display: block;
    }
    /* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }
    .open #nav-toggle 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);
    }
    /* #global-nav スライドアニメーション */
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(556px);
        -webkit-transform: translateY(556px);
        transform: translateY(556px);
    }
