@charset "utf-8";

/* ページ全体の枠組み
---------------------------------------------------- */
body{
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	border-top-width: 5px;
	border-top-style: solid;
	border-top-color: #699600;
	font-size: 13px;
	color: white;
	background-image : url(images/kabe3.jpg);
	background-repeat : repeat-y;
	background-attachment: scroll;
	background-position: center top;
	font-family: メイリオ;
	background-color: black;
}

#header{
	height: 423px;


}
#header .inner{
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	width: 800px;
	background-color: rgb(238, 255, 255);
}

#content{
	margin-top: 0px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0px;
	background-color: black;
	width: 800px;
	background-image : url(images/tamekabe2.png);
	background-repeat: no-repeat;
	background-position: left bottom;
}
#content .inner{

	padding-top: 15px;
	padding-right: 35px;
	padding-bottom: 10px;
	padding-left: 35px;
	width: 730px;
}
#content .inner::after{
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

#main{
  float : left;
  width: 500px;
}
#sub{
  float: left;
  width: 195px;
}

#footer{
	background-image: none;
	background-repeat: repeat;
	background-attachment: scroll;
	background-position: 0% 0%;
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
#footer .inner{
	background-color: rgb(105, 150, 0);
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	width: 800px;
       min-height: 100px;
	border-width: 5px;
	border-style: ridge;
	border-color: white;
}
#footer .inner p{
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	padding-top: 5px;
	padding-left: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
}

/* リンクと画像
---------------------------------------------------- */
a{
  text-decoration: none;
  color: #699600; 
}
a:hover{
  text-decoration: underline;
}

img{
  border: none;
}



/* ヘッダ
---------------------------------------------------- */
#header .inner{
  position: relative;
  height: 423px;
} 

#header ul{
  margin: 0;
  padding: 0;
} 

#logo{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 800px;
	height: 80px;
	background-image: url(images/b4-25.gif);
	background-repeat: repeat;
}

ul#headnav{
  position: absolute;
  top: 40px;
  right: 0;
  line-height: 1.0;
  margin-top: -0.5em;
}

ul#headnav li{
  list-style: none;
}
ul#headnav li a{
  padding-left: 9px;
  background: url(images/bulletgreen.png) no-repeat left center;
}

ul#globalnav li{
  position: absolute;
  top: 80px;
  display: block;
}
ul#globalnav li a{
  display: block;
}
ul#globalnav li.item01{
	left: 0; 
}
ul#globalnav li.item02{
	left: 160px; 
}
ul#globalnav li.item03{
	left: 320px; 
}
ul#globalnav li.item04{
	left: 480px; 
}
ul#globalnav li.item05{
	left: 640px; 
}
ul#globalnav li.item01 a{
	background : transparent url(images/tenma_on.png) no-repeat scroll 0% 0%; 
}
ul#globalnav li.item02 a{
	background : transparent url(images/tame_on_b.png) no-repeat scroll 0% 0%; 
}
ul#globalnav li.item03 a{
	background : transparent url(images/gin_on.png) no-repeat scroll 0% 0%; 
}
ul#globalnav li.item04 a{
	background : transparent url(images/haguro_on.png) no-repeat scroll 0% 0%; 
}
ul#globalnav li.item05 a{
	background : transparent url(images/nakagai_on.png) no-repeat scroll 0% 0%; 
}
ul#globalnav li a:hover img{
	visibility: hidden; 
}

#mainvisual{
  position: absolute;
  top: 123px;
  left: 0;
  background-image : url(images/tame0.jpg);
  width : 800px;
  height : 300px;
  background-repeat : no-repeat;
}
#mainvisual img{
	left: 100px;
	position: relative;
	top: 140px;
}



/* トピックパス（パンくずリスト）
---------------------------------------------------- */


/* メインコンテンツ
---------------------------------------------------- */
#main p a{
	padding-top: 3px;
	padding-left: 3px;
	padding-right: 3px;
	padding-bottom: 3px;
	border-width: 2px;
	border-style: solid;
	border-color: white;
	text-decoration: none;
	margin-left: 3px;
	color: white;
	line-height: 2;
}

#main p a:hover{
	background-color: lime;
	color: black;
}


/* サブコンテンツ
---------------------------------------------------- */

#sub li{
	list-style-type: decimal;
	list-style-position: outside;

}

#sub li a{
	text-decoration: none;
}

/* フッタ
---------------------------------------------------- */

#copyright{
  text-align : right;
}

#gaku{
	background-repeat: no-repeat;
	background-position: center center;
	width: 500px;
	height: 400px;

       margin : 0px;

}
/*  前の額
#gakui{
	width : 385px;
	height : 300px;
	position: relative;
	top: -362px;
	left : 57px;

}
*/
#gakui{
	width : 385px;
	height : 300px;
	position: relative;
	top: -363px;
	left : 57px;

}

p#b a{
	font-size: 11pt;
	padding-top: 10px;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	text-decoration: none;
	background-color: #ffe1ff;
	color: black;
	border-width: 5px;
	border-style: ridge;
	border-color: navy;
	border-top-left-radius: 10px 10px;
	border-top-right-radius: 10px 10px;
	border-bottom-right-radius: 10px 10px;
	border-bottom-left-radius: 10px 10px;
	margin-left: 10px;
	line-height: 2.2;
}
p#b a:hover{
	background-color: rgb(191, 191, 255);
}

#yajirushir{
	position: fixed;
	right: 0px;
	top: 300px;
}

#yajirushil{
	position: fixed;
	top: 300px;
	left: 0px;
}
