﻿@charset "UTF-8";
/* CSS Document */

/* header */
#head {
	/*top: -100px;*/
	position: absolute;
	width: 100%;
	/*min-width:1112px;*/
	margin: 0 auto;
	padding: 0;
	line-height: 1;
	z-index: 999;
	background-color:#fff;
}
#head {
	color: #251b18;
	text-decoration: none;
}
#head li a {
	color: #251b18;
	text-decoration: none;
}
#head li a:hover {
	color: #fff;
	text-decoration: none;
	background-color:#c7633b;
}

#head .inner {
	position: relative;
	width:960px;
	margin: 0 auto;
}
#head .inner:after {
	content: "";
	clear: both;
	display: block;
}
#head .logo {
	position:absolute;
	top:-50px;
	left:12px;
}
#head .logo img {
	height:auto;
}
#global-nav ul {
	list-style: none;
	position: absolute;
	width:960px;
	left: 0;
	top: 0;
}
#global-nav ul li {
	position: relative;
	display:block;
	float: left;
	width:150px;
	text-align:center;
	margin-right:12px;
}
#global-nav ul li:last-child {
	margin-right:0;
}
#global-nav ul li a {
	display:block;
	font-size:18px;
	font-size:1.8rem;/* =18px */
	line-height:18px;
	line-height:1.8rem;/* =18px */
	font-weight:normal;
	width:150px;
	padding:12px 0 10px 0;
	background:url(../img/header-nav_bg.gif) no-repeat bottom left;
	color: #251b18;
	text-decoration: none;
}
#global-nav ul li a.on {
	display:block;
	color: #fff;
	padding:12px 0;
	text-decoration: none;
	background-image:none;
	background-color:#c7633b;
}
#global-nav ul li a:hover {
	display:block;
	color: #fff;
	padding:12px 0;
	text-decoration: none;
	background-image:none;
	background-color:#c7633b;
}

/* Btn Hover */
/*#global-nav ul li:after {
	position: absolute;
	content: "";
	display: block;
	width: 100%;
	height: 3px;
	bottom: -20px;
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}
#global-nav ul li:hover:after {
	background: #fff;
	bottom: -30px;
}*/


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

	transition: top 0.65s ease-in;
	-webkit-transition: top 0.65s ease-in;
	-moz-transition: top 0.65s ease-in;
}
#head.fixed .logo {
	color: #333;
}
#head.fixed #global-nav ul li a {
	color: #333;
	padding: 0 20px;
}*/

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


/* Transition */
/*
#head,
#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: 980px) {
	article {
		padding: 0 30px;
	}
	.inner {
		width: 100%;
		padding: 0 20px;
	}
	#head .logo {
		position:absolute;
		top:0;
		left:12px;
	}
	#global-nav ul li a {
		padding: 0 20px;
	}
	#head.fixed #global-nav ul li a {
		padding: 0 15px;
	}
	#global-nav ul {
		list-style: none;
		position: absolute;
		width:100%;
		right: 0;
		bottom: 0;
	}
}*/

@media screen and (max-width: 768px) {
	#header {
		display:none;
	}
	#head,
	.inner {
		width: 100%;
		padding: 0;
	}
	#head {
		top: 0;
		position: fixed;
		margin-top: 0;
	}
	/* Fixed reset */
	#head.fixed {
		padding-top: 0;
		background: transparent;
	}

	#head .inner {
		position: relative;
		width:100%;
		margin: 0 auto;
	}
	#mobile-head {
		background: #fff;
		width: 100%;
		height: 66px;
		z-index: 999;
		position: relative;
	}
	#head.fixed .logo,
	#head .logo {
		position: absolute;
		top:0;
		left:12px;
		height: 40px;
		padding: 13px 0 13px 4%;
	}
	#head.fixed .logo img,
	#head .logo img {
		height: 100%;
	}

	#global-nav {
		position: absolute;
		/* 開いてないときは画面外に配置 */
		top: -500px;
		background: #333;
		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,
	#global-nav ul.dropdown-menu {
		list-style: none;
		position: static;
		width:100%;
		right: 0;
		bottom: 0;
		font-size: 11px;
		padding:0;
	}
	#global-nav ul li {
		width: 100%;
		float: none;
		position: static;
		background:none;
	}
	#global-nav ul li:after  {
		display: none;
	}
	#head #global-nav ul li,
	#head.fixed #global-nav ul li {
		width: 100%;
	}
	#head #global-nav ul li a,
	#head.fixed #global-nav ul li a {
		display: block;
		color: #ffffff;
		font-size:18px;
		font-size:1.8rem;/* =18px */
		line-height:18px;
		line-height:1.8rem;/* =18px */
		font-weight:normal;
		width:100%;
		padding: 20px 0;
		background:none;
		color: #dcdcdc;
		text-decoration: none;
	}
	#global-nav ul li a.on {
		display:block;
		color: #fff;
		padding: 20px 0;
		text-decoration: none;
		background-image:none;
		background-color:#c7633b;
	}
	#global-nav ul li a:hover {
		display:block;
		color: #fff;
		padding: 20px 0;
		text-decoration: none;
		background-image:none;
		background-color:#c7633b;
	}
	#head #global-nav ul li a:hover {
	}
	#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);
	}


}