@charset "utf-8";
/* CSS Document */

/* メディア　パソコン */

.inner {
	width: 90%;/*PC headerの幅*/
	margin: 0 auto;
}
.inner:after {
	content: "";
	clear: both;
	display: block;
}
/* header */
#top-head {
	top: -100px;
	position: absolute;
	width: 100%;
	margin: 100px auto 0;
	padding-top: 0px;
	padding-right: 0;
	padding-left: 0;
	padding-bottom: 0px;
	line-height: 10px;
	z-index: 999;
	/*PCのトップの背景*/
	background-image: url(imags/global-nav_bg.png);
	background-repeat: repeat-x;
	font-size: 10px;
	border-bottom: 1px solid #C5C5C5;
}
#top-head a, #top-head {
	color: #fff;
	text-decoration: none;
}
#top-head .inner {
	position: relative;
}
#top-head .logo {
	float: left;
	font-size: 10px;
	margin-bottom: 0px;
	margin-left: 20px;
}
#global-nav ul {
	list-style: none;
	position: absolute;
	right: 0;
	bottom: -6px;
	font-size: 15px;
}
#global-nav ul li {
	float: left;
	position: relative;
}
#global-nav ul li a {
	padding: 0 8px; /*メニュー間の間隔*/
	font-weight: bold;
}
#global-nav ul li a:hover {
	color: #FFFD00;
}
/* Btn Hover */
#global-nav ul li:after {
	position: absolute;
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	bottom: -1px;
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}
#global-nav ul li:hover:after { /*PC マウスオーバー時のアンダーバー*/
	background: #FFFD00;
	bottom: -9px;
}
/* Fixed */
#top-head.fixed {
	margin-top: 0px;
	top: 0px;
	position: fixed;
	padding-top: 0px;
	height: 90px;
	
	/*PCのトップの背景　固定時*/
	background-repeat: repeat-x; 
	background-position: left top;
	transition: top 0.65s ease-in;
	-webkit-transition: top 0.65s ease-in;
	-moz-transition: top 0.65s ease-in;
	border-bottom: 1px solid #C5C5C5;
}
#top-head.fixed .logo {
	font-size: 20px;
	color: #333;
	margin-top: 10px;
	margin-bottom: 8px;
}
#top-head.fixed #global-nav ul li a {
	color: #FFFFFF;/*PC メニュー色　固定時*/
	padding: 0px 8px;/*PC メニュー間の間隔　固定時*/
	padding-bottom: 0;
}
#top-head.fixed #global-nav ul li a:hover {
	color: #FFFD00;
}
/* Fixed Btn Hover */
#top-head.fixed #global-nav ul li:after {
	bottom: -1px;
}
#top-head.fixed #global-nav ul li:hover:after {
	background: #FFFD00;
	bottom: -12px;
}
/* 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: 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-color: #FFF;/*スマホ　メニュー　Opeｎマーク　色*/
	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 screen and (min-width: 600px) and (max-width: 959px) {
.inner {
	width: 99%;
	padding: 0 1%;
}
#global-nav ul {
	left: 0px;
	bottom: 0px;
	font-size: 15px;
}
#global-nav ul li a {
	padding: 0 6px; /*メニュー間の間隔*/
}
#top-head {
	margin: 100px auto 0;
	padding-top: 0px;
	padding-right: 0px;
	padding-left: 0px;
	padding-bottom: 0px;
	line-height: 20px;
}
#top-head .logo {
	margin-bottom: 55px;
}
#top-head.fixed #global-nav ul li a, #top-head #global-nav ul li a {
	padding: 0 10px;
}
#top-head.fixed .logo {
	margin-bottom: 55px;
}
#top-head.fixed {
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	margin-left: 0px;
	margin-right: 0px;
	height: 130px;
	/**Cのトップの背景　固定時*/
	background-image: url(imags/global-nav_bg.png);
	background-repeat: repeat-x;
}
#global-nav ul li:after {
	display: none;
}
}

/* メディア　スマートフォン */
@media screen and (max-width: 599px) {
#top-head, .inner {
	width: 100%;
	padding: 0;
	
}
#top-head {
	top: 0;
	position: fixed;
	margin-top: 0px;
	border-bottom: none;
}
/* Fixed reset */
#top-head.fixed {
	padding-right: 0px;
	padding-left: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	height: 60px;
	background: transparent;	
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-top: 0px;
	border-bottom: none;
}
#mobile-head {	
	 /*モバイル　のトップの背景*/
	background-image: url(imags/global-nav_bg.png);
	background-repeat: repeat-x;
	width: 100%;
	height: 84px;
	z-index: 999;
	position: relative;
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-left: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
}
#top-head.fixed .logo, #top-head .logo {
	position: absolute;
	left: 8px;
	top: 0px;
	color: #333;
	font-size: 10px;
}
#global-nav {
	position: absolute;
	/* 開いてないときは画面外に配置 */
	top: -495px;
	background-image: url(../fixed_navi/imags/global-nav_bg_smartphone.png);
	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: 18px;/*モバイル　メニュー色*/
}
#global-nav ul li {
	float: none;
	position: static;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-left: -40px;
}
#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;
	margin-top: 10px;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	margin-left: 0px;
	margin-right: 0px;
}
#top-head.fixed #global-nav ul li a:hover {
	color: #FFFD00;
}
#top-head #global-nav ul li a:hover {
	color: #FFFD00;
}
#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);
}
}
