
.inner {
    width: 100%;
    margin: 0 auto;
}
.inner:after {
    content: "";
    clear: both;
    display: block;
}

 
/* header */
#top-head {
    top: -100px;
    position: absolute;
    width: 100%;
    margin: 100px auto 0;
    line-height: 1;
    z-index: 999;
	background:#000;
	font-family: 'M PLUS Rounded 1c', sans-serif;


}
#top-head a,
#top-head {
    text-decoration: none;
}

#top-head {
	background:#ffd900;
	background-size:contain;
}
#top-head .inner {
    position: relative;
}
#top-head .logo {
    float: left;
    font-size: 36px;
	height:70px;
}

#top-head .logo img {
	/*height:45px;*/
	/*width:30%;*/
	position:absolute;
	top:70%;
	left:50%;
	width:210px;
	-webkit-transform: translate(-50%,-50%);  
	-moz-transform: translate(-50%,-50%);  
	transform: translate(-50%, -50%);
	padding-left:0px;
}

@media screen and (max-width:767px){
	#top-head .logo img {
		width:160px;
        top: 75%;
	}
}

@media screen and (max-width:380px){
	#top-head .logo img {
		width:140px;
        top: 85%;
	}
}


#top-head .curtain img {
	width:10%;
}

#top-head .curtain img.left {
	position:absolute;
	left:0;
	top:0;
}

#top-head .curtain img.right {
	position:absolute;
	right:0;
	top:0;
}

@media screen and (max-width:767px) {
	/*#top-head .logo img {
		width:20%;
	}

	#top-head .logo img{
		left:40%;
	}*/
}

#global-nav ul {
	width:65%;
	margin:0 auto;
	display:flex;
}
#global-nav ul {
    list-style: none;
    font-size: 14px;
	font-family: 'Roboto Condensed', sans-serif;
	padding-top:2%;

}
#global-nav ul li {
	width:20%;
}
#global-nav ul li a {
    padding: 0px;
	color:#fff;
}

#global-nav ul li a.opa {
	color:rgba(255,255,255,0.3);
}


@media screen and (max-width:767px){
	#global-nav ul {
		display:block;
	}

	#global-nav ul li {
		width:100%;
	}
}
 
/* Fixed */
#top-head.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    padding-top: 10px;
    height: 60px;
	background: #c22;
    background: rgba(204,34,34,.7);
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;

}
#top-head.fixed .logo {
    font-size: 24px;
    color: #333;
		padding:5px 10px 10px;

}
#top-head.fixed #global-nav ul li a {
    color: #fff;
    padding: 0;
}

#top-head.fixed #global-nav ul li a.opa {
	color:rgba(255,255,255,0.3);
}
 
/* Toggle Button */
#nav-toggle {
    display: none;
    position: absolute;
    right: 23.5%;
    top: 170%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 101;
}

@media screen and (max-width:767px){
	#nav-toggle {
		top:140%;
	}
}

#nav-toggle p {
	margin-top:2.5em;
	font-family: 'Coiny', cursive;
}
#nav-toggle div {
    position: relative;
}
#nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #ffd900;
    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;
}

	#global-nav ul {
		display:block;
	}

	#global-nav ul li {
		width:100%;
	}

    #top-head,
    .inner {
        width: 100%;
        padding: 0;
    }
    #top-head {
        top: 0;
        position: fixed;
        margin-top: 0;
    }
    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
	background:#ffd900;
    }
    #mobile-head {
        width: 100%;
        height: 56px;
        z-index: 999;
        position: relative;
    }

	#top-head .curtain{
		display:none;
	}



    #top-head.fixed .logo,
    #top-head .logo {
	position: absolute;
	color: #000;
	font-size: 26px;
	height: 250%;
	padding: 0;
	width: 50%;
	margin: 0 auto;
	left: 25%;
	background: #ffd900;
	border-radius: 0 0 10px 10px / 0 0 10px 10px;
    }



	#top-head.fixed .logo,
	#top-head .logo {
		background:url(../img/menu_bg.jpg);
		background-size:30px;
		border-right:solid 5px #ffd900;
		border-left:solid 5px #ffd900;
		border-bottom:solid 5px #ffd900;
		box-sizing:border-box;
	}


@media screen and (max-width:1024px){
	#top-head.fixed .logo,
	#top-head .logo {
		width:90%;
		left:5%;
	}
}

@media screen and (max-width:767px){
	#top-head.fixed .logo,
	#top-head .logo {
		height:200%;
	}
}


    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -500px;
        background: #ffd900;
	width: 50%;
	left: 25%;
        text-align: center;
	border: solid 5px #ffd900;
        padding: 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
	border-radius:0 0 10px 10px / 0 0 10px 10px;
	box-sizing:border-box;
    }
    #global-nav ul {
	width:100%;
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 14px;
    }
    #global-nav ul li {
        float: none;
        position: static;
	width:80%;
	margin:0 auto;
	text-align:left;
    }
    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
	font-family: 'M PLUS Rounded 1c', sans-serif;
        width: 100%;
        display: block;
        color: #000;
        padding: 18px 0;
	font-size: 20px;
	font-weight: 700;
    }

@media screen and (max-width:767px){
	#top-head #global-nav ul li a,
	#top-head.fixed #global-nav ul li a {
		font-size:17px;
	}
}

@media screen and (max-width:350px){
	#top-head #global-nav ul li a,
	#top-head.fixed #global-nav ul li a {
		font-size:15px;
		padding:12px 0;
	}
}

	#top-head #global-nav ul li a.opa {
		color:rgba(255,255,255,0.3);
	}


    #nav-toggle {
	display: block;
	background: #fff01f;
	padding: 1%;
	border-radius: 50px;
	border: solid 5px #ffd900;
    }

@media screen and (max-width:1024px){
	#global-nav {
		width:90%;
		left:5%;
	}

	#nav-toggle {
		padding:12px;
		right:2%;
	}
}

@media screen and (max-width:767px){
	#global-nav{
		top:-530px;
	}
}
    /* #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(630px);
        -webkit-transform: translateY(630px);
        transform: translateY(630px);
    }

