/* Basic code - don't modify */
 
 #nav { display: block; margin: 0; padding: 0; position: relative; }
  #nav a {
	display: block;
	}
  #nav li { display: block; list-style: none; margin: 0; padding: 0; float: left; position: relative; }
  #nav ul {
	display: none;
	position: absolute;
	left: 0;
	margin: 0;
	padding: 0;
	text-align: center;
	top: 50px;
}
  * html #nav ul { line-height: 0; } /* IE6 "fix" */
  	#nav ul a { zoom: 1; } /* IE6/7 fix */
    #nav ul li { float: none; }
    #nav ul ul { top: 0; }
    
/* Essentials - configure this */

#nav ul { width: 160px; }

/* Everything else is theming */
 
#nav {
	height: 50px;
	width: 960px;
	list-style-type: none;
	padding: 0px;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}
#nav *:hover { background-color: none; }
#nav a {
	color: #333333;
	font-size: 12px;
	padding: 0px;
	height: 50px;
	float: left;
	width: 160px;
	overflow: hidden;
	text-decoration: none;
}
  #nav li.hover a { background-color: #efefef; }
  #nav ul a.hover {
	background-color: #aeaeae;
}
  #nav ul a {
	background-color: #aeaeae;
	border-bottom: none;
	border-right: none;
	height: 20px;
	padding-top: 5px;
	padding-bottom: 5px;
	opacity: 0.8;
	filter: alpha(opacity=80);
}
/* #nav ul a { border-bottom: none; } - I also needed this for IE6/7 */

/* 以降、画像置換の設定 */
.nav1 {
	background-image: url(image/index/global-nav.png);
	background-repeat: no-repeat;
	background-position: left top;
	display: block;
	height: 0px;
	width: 160px;
	margin: 0px;
	padding-top: 50px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.nav1:hover {
	background-image: url(image/index/global-nav.png);
	background-repeat: no-repeat;
	background-position: 0px -50px;
	display: block;
	height: 0px;
	width: 160px;
	margin: 0px;
	padding-top: 50px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.nav2 {
	background-image: url(image/index/global-nav.png);
	background-repeat: no-repeat;
	background-position: -160px 0px;
	display: block;
	height: 0px;
	width: 160px;
	margin: 0px;
	padding-top: 50px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.nav2:hover {
	background-image: url(image/index/global-nav.png);
	background-repeat: no-repeat;
	background-position: -160px -50px;
	display: block;
	height: 0px;
	width: 160px;
	margin: 0px;
	padding-top: 50px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.nav3 {
	background-image: url(image/index/global-nav.png);
	background-repeat: no-repeat;
	background-position: -320px 0px;
	display: block;
	height: 0px;
	width: 160px;
	margin: 0px;
	padding-top: 50px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.nav3:hover {
	background-image: url(image/index/global-nav.png);
	background-repeat: no-repeat;
	background-position: -320px -50px;
	display: block;
	height: 0px;
	width: 160px;
	margin: 0px;
	padding-top: 50px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.nav4 {
	background-image: url(image/index/global-nav.png);
	background-repeat: no-repeat;
	background-position: -480px 0px;
	display: block;
	height: 0px;
	width: 160px;
	margin: 0px;
	padding-top: 50px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.nav4:hover {
	background-image: url(image/index/global-nav.png);
	background-repeat: no-repeat;
	background-position: -480px -50px;
	display: block;
	height: 0px;
	width: 160px;
	margin: 0px;
	padding-top: 50px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
/*
.nav5 {
	background-image: url(image/index/global-nav.png);
	background-repeat: no-repeat;
	background-position: -640px 0px;
	display: block;
	height: 0px;
	width: 160px;
	margin: 0px;
	padding-top: 50px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.nav5:hover {
	background-image: url(image/index/global-nav.png);
	background-repeat: no-repeat;
	background-position: -640px -50px;
	display: block;
	height: 0px;
	width: 160px;
	margin: 0px;
	padding-top: 50px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.nav6 {
	background-image: url(image/index/global-nav.png);
	background-repeat: no-repeat;
	background-position: -800px 0px;
	display: block;
	height: 0px;
	width: 160px;
	margin: 0px;
	padding-top: 50px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.nav6:hover {
	background-image: url(image/index/global-nav.png);
	background-repeat: no-repeat;
	background-position: -800px -50px;
	display: block;
	height: 0px;
	width: 160px;
	margin: 0px;
	padding-top: 50px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
*/
.nav7 {
	background-image: url(image/index/global-nav.png);
	background-repeat: no-repeat;
	background-position: -640px 0px;
	display: block;
	height: 0px;
	width: 160px;
	margin: 0px;
	padding-top: 50px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.nav7:hover {
	background-image: url(image/index/global-nav.png);
	background-repeat: no-repeat;
	background-position: -640px -50px;
	display: block;
	height: 0px;
	width: 160px;
	margin: 0px;
	padding-top: 50px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.nav8 {
	background-image: url(image/index/global-nav.png);
	background-repeat: no-repeat;
	background-position: -800px 0px;
	display: block;
	height: 0px;
	width: 160px;
	margin: 0px;
	padding-top: 50px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.nav8:hover {
	background-image: url(image/index/global-nav.png);
	background-repeat: no-repeat;
	background-position: -800px -50px;
	display: block;
	height: 0px;
	width: 160px;
	margin: 0px;
	padding-top: 50px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
