@charset "utf-8";
.inner {
    width: 100%;
    margin: 0 auto;
}
.inner:after {
    content: "";
    clear: both;
    display: block;
}
 
/* header */
#top-head {
    top: 0px;
	right: 0px;
    position: absolute;
	display: block;
    width: 20%;
    margin: auto 0;
    padding: 0;
    line-height: 1;
   /* z-index: 999;*/
}
#top-head a,
#top-head {
    color: #000;
    text-decoration: none;
}
#top-head .inner {
    position: relative;
}
#top-head .logo {
    /*font-size: 36px;*/
}
#global-nav{
}
#global-nav ul {
    list-style: none;
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 14px;
		overflow-y: auto;
		max-height: 480px;
}
#global-nav ul li {
    float: left;
}
#global-nav ul li a {
    padding: 0 30px;
}
#global-nav ul li a:hover {
    padding: 0 30px;
	color: #666666;
    opacity: 0.5;/* chrome,safari,opera */
    -moz-opacity: 0.5;/* firefox */
    filter:alpha(opacity=50);/* IE */
}

/* Fixed */
#top-head.fixed {
    margin-top: 0;
    top: 0;
    /*position: fixed;*/
    height: 55px;
    background: rgba(255,255,255,1);
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
}
/*#top-head.fixed .logo {
}
#top-head.fixed #global-nav ul li a {
    color: #333;
    padding: 0 20px;
	box-sizing: border-box;
}*/
 
/* Toggle Button */
#nav-toggle {
	border-radius:5px;
	color: #777;
    display: block;
    position: fixed;
    right: 5px;
    top:10px;
    width: 25px;
    height: 28px;
    cursor: pointer;
    /*z-index: 101;*/
	padding: 5px 4px 0 4px;
	border: 2px solid #777;
}

#nav-toggle div {
    position: relative;
}
#nav-toggle .text{
	font-size: .6em;
	color: #fff;
	display: block;
	margin-top: .9em;
}
#nav-toggle .text:hover{
	font-size: .6em;
	color: #fff;
	display: block;
	margin-top: .9em;
}

#nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #777;
    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: 0px;
}
#nav-toggle span:nth-child(2) {
    top: 9px;
}
#nav-toggle span:nth-child(3) {
    top: 19px;
}

/* モバイル用 */
@media screen and (max-width: 768px) {
    #top-head,
    .inner {
        width: 100%;
        padding: 0;
    }
    #top-head {
        top: 0;
        /*position: fixed;*/
        margin-top: 5px;
    }
    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
    }
    #mobile-head {
        /* background: #fff;
        width: 20%;
        height: 56px; */
        width: 37px;
        height: 58px;
        /*z-index: 999;*/
		right: 0;
        position: absolute;
		/*border-bottom: 1px #ccc solid;*/
    }
    #mobile-head #nav-toggle-title{
	position: relative;
	top:43px;
	margin: 2px auto;
	color: #4c3a2c;
	font-size: 7.5px;
	clear: both;
    }
    /*#top-head.fixed .logo,
    #top-head .logo {
        position: static;
		margin: auto;
    }*/
    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -500px;
        background:rgba(255,255,255,.9);
        width: 100%;
        text-align: center;
        padding: 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
		z-index: 1000;
}
    #global-nav ul {
        list-style: none;
        position: static;
           top: 50px;
     right: 0;
        bottom: 0;
        font-size: 14px;
		box-sizing: border-box;
		overflow-y: auto;
		max-height: 480px;
    }
	@media screen and (max-width: 768px){
	#global-nav{height:200px;}
    #global-nav ul { list-style: none;position: static;right: 0;bottom: 0;font-size: 14px;box-sizing: border-box;overflow-y: auto;max-height:initial;max-height:auto;}
}
	@media screen and (max-width: 480px){
	#global-nav{height:auto;}
    #global-nav ul {list-style: none;position: static;right: 0;bottom: 0;font-size: 14px;box-sizing: border-box;overflow-y: auto;max-height: 480px;}
}

    #global-nav ul li {
        float: none;
        position: static;
		border-bottom: 1px #ddd solid;
		text-align:center;
    }
	#global-nav ul li:before {
    width: 5px;
    height: 5px;
    margin: 0 10px 0 0;
    border: solid #f69;
    border-width: 2px 2px 0 0;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    vertical-align: middle;
}
    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        color: #333;
        padding: 18px 0 18px 1em;
	box-sizing: border-box;
}
    #top-head #global-nav ul li a:hover,
    #top-head.fixed #global-nav ul li a:hover {
	        color: #ccc;
}
	#nav-toggle {
        display: block;
    }
    /* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 10px;
        -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: 10px;
        -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);
    }
}