* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#mobile-head .logo img {
	width: 200px;
}

/* ここからメインメニュー */

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

/* header */
#top-head {
	font-size: 14px;
	top: -100px;
	/* position: absolute; ページ上部にメニュー固定*/
	width: 100%;
	margin: 0;
	line-height: 1;
	z-index: 999;
	padding-top: 15px;
	padding-left: 0px;
	padding-right: 0px;
	padding-bottom: 20px;
    font-family:"Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
	background-color: #FFF;
}
#top-head a,
#top-head {
	color: #0E0E0E; /*メニュー文字カラー*/
	text-decoration: none;
}
#top-head .inner {
	position: relative;
	min-height: 35px;
}
#top-head .logo {
	float: left;
}

#global-nav ul {
    list-style: none;
    position: absolute;
    right: 0;
    bottom: 0;
    font-family:YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-size: 16px;
    color: #0F0F0F;
    font-weight: 700;
    letter-spacing: 1px;
}
#global-nav ul li {
	float: left;
	position: relative;
	padding-bottom: 7px;
}
#global-nav ul li a {
	padding: 0 12px;
}
#global-nav ul li a:hover {
    color: #095CA8;
}

/* Btn Hover */
#global-nav ul li:after {
	position: absolute;
	content: "";
	display: block;
	width: 100%;
	height: 3px;
	bottom: 0px;/*マイナスなら下からプラスなら上から線がでる*/
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
}
#global-nav ul li:hover:after {
	background: #095CA8;
	bottom: 0px;
}


/* Fixed */
#top-head.fixed {
	margin-top: 0px;
	top: 0;
	position: fixed;
	padding-top: 20px;
	height: 70px;
	background: #fff;
	background: rgba(255,255,255,0.9);

	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;
}
#top-head.fixed #global-nav ul li a {
	color: #202020;
	padding: 0 12px;
}
#top-head.fixed #global-nav ul li a:hover {
    color: #095CA8;
}

/* Fixed Btn Hover */
#top-head.fixed #global-nav ul li:after {
	bottom: -10px;
}
#top-head.fixed #global-nav ul li:hover:after {
	background: #095CA8;
	color: #202020;
	bottom: 0px;
	filter:alpha(opacity=60);
}


/* Transition */
/*
#top-head,
#top-head .logo,
#global-nav ul li,
#global-nav ul li a {
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}
*/



/* Toggle Button */
#nav-toggle {
	display: none;
	position: absolute;
	right: 5%;
	top: 14px;
	width: 34px;
	height: 36px;
	cursor: pointer;
	z-index: 101;
}

#nav-toggle div {
	position: relative;
}
#nav-toggle span {
	display: block;
	position: absolute;
	height: 2px;
	width: 100%;
	background: #000;
	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;
}
/* ここまでメインメニュー */


@media only screen and (max-width: 899px) {
#mobile-head {
    position: relative;
}
#mobile-head .logo img {
    width: auto;
    height: 25px;
}


	#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;
        
        margin-top: 0px;
	top: 0;
	position: fixed;
	height: 50px;
	background: #fff;
	background: rgba(255,255,255,0.9);
	}

	#mobile-head {
		background: #fff;
		width: 100%;
		height: 50px;
		z-index: 999;
		position: relative;
	}
	#top-head.fixed .logo,
	#top-head .logo {
		position: absolute;
		left: 13px;
		top: 13px;
		color: #333;
		font-size: 26px;
	}

	#global-nav {
		position: absolute;
		/* 開いてないときは画面外に配置 */
		top: -500px;
		background: rgba(51,51,51,0.95);
		width: 100%;
		text-align: center;
		padding: 0;
        margin: 0;
		-webkit-transition: .5s ease-in-out;
		-moz-transition: .5s ease-in-out;
		transition: .5s ease-in-out;
	}
	#global-nav ul {
        padding: 30px 0;
		list-style: none;
		position: static;
		right: 0;
		bottom: 0;
	}
	#global-nav ul li {
		float: none;
		position: static;
	}
	#global-nav ul li:after  {
		display: none;
	}
	#top-head #global-nav ul li a,
	#top-head.fixed #global-nav ul li a {
		width: 100%;
		display: block;
		color: #fff;
		padding: 25px 0;
        font-size: 19px;
        line-height: 1.2em;
	}
	#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(550px);
		-webkit-transform: translateY(550px);
		transform: translateY(550px);
	}


}
