*{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#main-visual{
	height : 140px;
}

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

/* header */
#top-head{
	top : -100px;
	position: absolute;
	width: 100%;
	margin: 100px auto 0;
	padding : 10px 0px 0px;
	line-height: 1;
	z-index: 999;
  background-image : url(../img/main/top_back.png);
  background-repeat : repeat-x;
  background-position : center bottom;
  height : 140px;
  background-color : white;
}
#top-head A,
#top-head{
	color : #666666;
	text-decoration: none;
}
#top-head .inner{
	position: relative;
}
#top-head .logo{
	float: left;
  width : 30%;
}
#global-nav UL{
	list-style: none;
	position: absolute;
	right: 0;
	font-size : 0.8em;
  top : 20px;
  padding-top : 0px;
  padding-left : 0px;
  padding-right : 0px;
  padding-bottom : 0px;
  margin-top : 0px;
  margin-left : 0px;
  margin-right : 0px;
  margin-bottom : 0px;
}
#global-nav ul li{
	float: left;
	position: relative;
}
#global-nav UL LI A{
	padding : 0px 15px;
}

/* Btn Hover */
#global-nav UL LI:after{
	position: absolute;
	content: "";
	display: block;
	width: 100%;
	height: 3px;
	bottom : -10px;
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}
#global-nav UL LI:hover:after{
	background : none 0% 0% / auto auto repeat scroll padding-box border-box #59acff;
	bottom : -20px;
}


/* Fixed */
.fixed#top-head{
	margin-top: 0;
	top: 0;
	position: fixed;
	padding-top: 10px;
	height : 9.5%;
	background : none 0% 0% / auto auto repeat scroll padding-box border-box rgba(255, 255, 255, 0.7);
	transition: top 0.65s ease-in;
	-webkit-transition: top 0.65s ease-in;
	-moz-transition: top 0.65s ease-in;
}
.fixed#top-head .logo{
  width : 28%;
}
.fixed#top-head #global-nav ul li a{
	color: #333;
	padding: 0 20px;
}

/* Fixed Btn Hover */
.fixed#top-head #global-nav ul li:after{
	bottom: -10px;
}
.fixed#top-head #global-nav UL LI:hover:after{
	background: #0062B8;
	bottom : -20px;
}


/* 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: #666;
	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 (max-width: 950px) {
	#mobile-head{
		background: #fff;
		width: 100%;
		z-index: 999;
		position: relative;
	
    float : none;
  }
	#top-head,
	.inner{
		width: 100%;
		padding: 0;
	}

	/* Fixed reset */
	


#main-visual{
		height : 130px;
	}
	#top-head .logo{
	float: left;
  width : 45%;
  }.fixed#top-head .logo,
	#top-head .logo{
		position: absolute;
		left: 13px;
		top : 3px;
		color : #333333;
		font-size: 26px;
	
  }

	#global-nav{
		position: absolute;
		/* 開いてないときは画面外に配置 */
		top : -475px;
		background: #333;
		width : 40%;
		text-align: center;
		padding: 10px 0;
		-webkit-transition: .5s ease-in-out;
		-moz-transition: .5s ease-in-out;
		transition: .5s ease-in-out;
	
    right : 0px;
  }
	#global-nav ul{
		list-style: none;
		position: static;
		right: 0;
		bottom: 0;
		font-size: 11px;
	}
	#global-nav ul li{
		float: none;
		position: static;
	}
	#global-nav ul li:after{
		display: none;
	}
	#top-head #global-nav UL LI A,
	.fixed#top-head #global-nav UL LI A{
		width: 100%;
		display: block;
		padding : 8px 0px 18px;
	
    color : white;
  }
	#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);
	}

.fixed#top-head{
	height : 80px;
    padding-top : 0px;
  }
.fixed#top-head .logo{
	width : 30%;height : auto;
}
}
@media screen and (max-width: 640px) {
	#mobile-head{

		width: 100%;
		z-index: 999;
		position: relative;
	
    float : none;
  }
	#top-head,
	.inner{
		width: 100%;
		padding: 0;
	}

	/* Fixed reset */
	


#main-visual{
		height : 140px;
	}
	#top-head .logo{
	float: left;
  width : 60%;
  }.fixed#top-head .logo,
	#top-head .logo{
		position: absolute;
		left: 13px;
		top : 3px;
		color: #333;
		font-size: 26px;
	}

	#global-nav{
		position: absolute;
		/* 開いてないときは画面外に配置 */
		top : -476px;
		background: #333;
		width : 40%;
		text-align: center;
		padding: 10px 0;
		-webkit-transition: .5s ease-in-out;
		-moz-transition: .5s ease-in-out;
		transition: .5s ease-in-out;
	
    right : 0px;
  }
	#global-nav ul{
		list-style: none;
		position: static;
		right: 0;
		bottom: 0;
		font-size: 11px;
	}
	#global-nav ul li{
		float: none;
		position: static;
	}
	#global-nav ul li:after{
		display: none;
	}
	#top-head #global-nav UL LI A,
	.fixed#top-head #global-nav UL LI A{
		width: 100%;
		display: block;
		padding : 8px 0px 18px;
	}
	#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);
	}

.fixed#top-head{
	height : 80px;
    padding-top : 0px;
  }
.fixed#top-head .logo{
  width : 48%;
}
}
@media screen and (max-width: 350px) {
/* header */
#top-head{
	top : -100px;
	position: absolute;
	width: 100%;
	margin: 100px auto 0;
	padding : 10px 0px 0px;
	line-height: 1;
	z-index: 999;
  background-image : url(../img/main/top_back.png);
  background-repeat : repeat-x;
  background-position : center bottom;
 background-size: 150%;
  height : 100px;
  background-color : white;
}
	#mobile-head{
		background: #fff;
		width: 100%;
		z-index: 999;
		position: relative;
	}
#main-visual{
		height : 100px;
	}
#top-head .logo{
	float: left;
  width : 70%;
}
	#global-nav{
		position: absolute;
		/* 開いてないときは画面外に配置 */
		top : -500px;
		background: #333;
		width : 40%;
		text-align: center;
		padding: 10px 0;
		-webkit-transition: .5s ease-in-out;
		-moz-transition: .5s ease-in-out;
		transition: .5s ease-in-out;
	
    right : 0px;
  }
.fixed#top-head{
	height : 10%;
}
.fixed#top-head .logo{
  width : 50%;
}
}