/* Pen Japan Base (header,footer)---------------------------------*/

@charset "utf-8";

/*formating style
-------------------------*/

* {
	font-style: normal;
	margin: 0px;
	padding: 0px;
}
body {
	font-family: "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3", sans-serif;
	font-size: 100%;
	line-height: 1.6;
	color: #666;
	background-image: url(../images/bg_header_line.jpg);
	background-repeat: repeat-x;
	background-color: #FFFFFF;
	margin: 0px auto;
}

/*link styles
-------------------------*/
a img {
	border-style: none;
}

a:link {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}

/*basic layout
-------------------------*/

h1		{
	color: #333333;
	font-size: 180%;
	font-weight: bold;
}
h2		{
	color: #00708c;
	font-size: 150%;
	font-weight: bold;
}
h3		{
	color: #666666;
	font-size: 120%;
	font-weight: bold;
}
h4		{
	color: #666666;
	font-size: 100%;
	font-weight: bold;
}
p		{
	font-size: 100%;
	color: #666;
}

#wrapper {
	height: auto;
	width: 950px;
	margin: 0px auto;
	background-repeat: repeat-x;
	position: relative;
}

/*header layout
-------------------------*/
#header {
	background-image: url(../images/bg_header_green.jpg);
	height: 100px;
	width: 950px;
	margin-bottom: 40px;
}
#header #logo {
	float: left;
}
#header ul#menu {
	float: right;
	padding-right: 10px;
	text-decoration: none;
	padding-top: 10px;
	list-style-type: none;
	font-size: 85%;
}
#header ul#menu li a {
	text-decoration: none;
	display: block;
	list-style-type: none;
}


/*navi layout
--------------------------------------------------------------------------*/
#navi {
	padding:0;
	height:35px;
	background:#fff;
	z-index:100;
	width: 950px;
	clear: both;
	position: absolute;
	top: 100px;
	left: 3px;
	list-style-type: none;
	margin-top: 0;
	margin-right: 0px;
	margin-left: 0px;
}
#navi li.top {
	display:block; 
	float:left;
}
#navi li a.top_link {
	display:block;
	float:left;
	height:35px;
	width:117px;
	line-height:27px;
	color:#fff;
	font-size:12px;
	font-weight:bold;
	text-align: center;
	text-decoration: none;
	margin-right:1px;
}
#navi li a.top_link_down {
	display:block;
	float:left;
	height:35px;
	width:117px;
	line-height:27px;
	color:#fff;
	font-size:12px;
	font-weight:bold;
	text-align: center;
	text-decoration: none;
	margin-right:1px;
}
#navi li a.top_link:hover {
	color:#fff;
}
#navi li a.top_link_down:hover{

}

#navi li:hover > a.top_link {
	color:#fff;
}
#navi li:hover > a.top_link_down {

}

/* Default list styling */

#navi li:hover {
	position:relative; z-index:200;
}

/* keep the 'next' level invisible by placing it off screen. */
#navi ul, 
#navi li:hover ul ul,
#navi li:hover ul li:hover ul ul,
#navi li:hover ul li:hover ul li:hover ul ul,
#navi li:hover ul li:hover ul li:hover ul li:hover ul ul {
	position:absolute; 
	left:-9999px; 
	top:-9999px; 
	width:0; 
	height:0; 
	margin:0; 
	padding:0; 
	list-style:none;
}

#navi li:hover ul.sub {
	left:0; 
	top:35px; 
	background-color: #ccc;
/*	opacity:0.9;          */
	color:#fff;
	white-space:nowrap; 
	width:117px; 
	height:auto; 
	z-index:300;
}
#navi li:hover ul.sub li {
	display:block; 
	height:25px; 
	position:relative; 
	float:left; 
	width:117px; 
	font-weight:normal;
}
#navi li:hover ul.sub li a {
	display:block; 
	font-size:80%; 
	height:25px; 
	width:117px; 
	line-height:25px; 
	text-indent:5px; 
	color:#fff; 
	text-decoration:none;
}
#navi li ul.sub li a.fly {
	background-image: url(../images/arrow.gif);
	background-position: 103px 3px;
	background-repeat: no-repeat;
	color:#fff;
}

#navi li:hover ul.sub li a:hover  {
	background:#ccc;
/*	opacity:0.5;        */
	color:#000;
}

#navi li:hover ul.sub li a.fly:hover {
	background-image: url(../images/arrow_over.gif);
	background-position: 103px 3px;
	background-repeat: no-repeat;
	color:#000;
}

#navi li:hover ul li:hover > a.fly {
	background-image: url(../images/arrow_over.gif);
	background-position: 103px 3px;
	background-repeat: no-repeat;
	color:#fff;
}

/* メニューを左側に表示
----------------------------------------------*/
#navi li ul.sub li a.fly_left {
	background-image: url(../images/arrow_l.gif);
	background-position: 0px 3px;			
	background-repeat: no-repeat;
}
#navi li:hover ul.sub li a.fly_left:hover {
	background-image: url(../images/arrow_l_over.gif);
	background-position: 0px 3px;			
	background-repeat: no-repeat;
}
#navi li:hover ul li:hover > a.fly_left {
	background-image: url(../images/arrow_l_over.gif);
	background-position: 0px 3px;			
	background-repeat: no-repeat;
}
/* メニューを左側に表示   終了
----------------------------------------------*/

#navi li:hover ul li:hover ul,
#navi li:hover ul li:hover ul li:hover ul,
#navi li:hover ul li:hover ul li:hover ul li:hover ul,
#navi li:hover ul li:hover ul li:hover ul li:hover ul li:hover ul {
	top:0px;
/*	opacity:0.9;         */
	color: #fff;
	white-space:nowrap;
	width:117px;
	z-index:400;
	height:auto;
	left: 117px;
	background-color: #ccc;
}

#navi li:hover ul li:hover ul.left {
	left: -117px;						//右端のメニューのみ左へ表示
}
/*footer layout
-------------------------*/
#footer {
	background-image: url(../images/bg_footer_line.jpg);
	height: 300px;
	background-repeat: repeat-x;
	clear: both;
}
#footer #footer_menu {
	background-image: url(../images/bg_footer.jpg);
	height: 280px;
	width: 940px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	padding-top: 20px;
	padding-left: 10px;
}
#footer #footer_menu .line {
	clear: both;
}
#footer_menu .line a {
	display: block;
}

#footer_menu .line a:link {
	text-decoration: none;
	display: block;
}

#footer #footer_menu h3 {
	display: block;
	height: 18px;
	width: 150px;
	font-size: 100%;
	float: left;
	margin-top: 10px;
	line-height: 1.2em;
}
#footer #footer_menu p {
	float: left;
	height: 20px;
	width: 150px;
	display: block;
	text-indent: 10px;
	line-height: 1.3em;
	font-size: 80%;
}
#footer #footer_menu p#return{
	display: block;
	margin-left: 165px;
	width: 170px;
	margin-top: 10px;
}
#footer #footer_menu #return a {
	text-decoration: none;
}


#footer address  {
	text-align: center;
	clear: both;
	font-size: 85%;
	padding-top: 20px;
}
