/*基本属性*/
body{
     width:100%; background:#9c6;
     position:static;
}
#wrapper{
     width:800px; background:#cf9; padding:0; margin:0 auto;
         position:relative;z-index:1;
}
#header{
     width:100%;
        position:relative;z-index:30;
}
#contents{
     margin:0 5px 0 5px; background:#fff; padding:10px 45px
          ;position:relative;z-index:20;
}
#footer{
     background:#390;clear:both;
}
#footer{
     text-align:center; font-size:small; margin:0;
}
#footer a{
     display:block; text-decoration:none; color:#000;
}
#footer a:hover{
     color:#fff;
}
p,ul,ol,address,em,strong,td,blockquote,h1,h2,h3,h4,h5,h6{
     font-family: "Hiragino Kaku Gothic Pro W3", "ヒラギノ角ゴ Pro W3", Osaka, Meiryo, "MS P Gothic", "ＭＳ Ｐゴシック", sans-serif;
}
h2{
     font-size:1.5em;
}
h3{
     font-size:1.25em; line-height:2em;
}
h4,h5,h6{
     font-size:1em; line-height:1.625em;
}
/*ヘッダー*/
#header{
     height:70px; width:100%; background:url(headbg.jpg) #390; margin-bottom:5px;
}
div.FirstH{
     height:70px; width:500px; margin:0; float:left;
}
div.FirstH h1{
     width:330px; line-height:70px; font-size:50px; margin:0; color:#fff; text-align:center; float:right;
}
div.FirstH h1.AccessPageHead{
     width:500px; line-height:70px; font-size:50px; margin:0; color:#fff; text-align:center;
}
div.FirstH h2{
     width:170px; line-height:65px; font-size:45px; margin:0; margin-top:5px; color:#fff; text-align:right; float:left;
}
div.SecondH{
     height:70px; width:280px; margin-top:0px; padding:0 10px 0 0; float:right;
}
div.SecondH h2{
     line-height:30px; font-size:20px; margin:10px 0 0 0; padding:0px; text-align:center; background:url(headbg2.jpg);
}
div.SecondH address{
     margin:0; line-height:30px; font-size:14px; color:#fff;
}
/*メニューバー*/
p.navi{
     height:1.75em; padding:0.25em 0 0 0; margin:0; line-height:1.5em; color:#653; font-size:small; float:left;
}
#menu{
     height:1.75em;width:800px;margin:0;
      position:relative;z-index:40;
}
#menu ul{
     height:1.75em; margin:0; padding:0; list-style-type:none; text-align:center; font-size: medium; float:right;
}
#menu ul li{
     width:140px; height:1.75em; margin-right:5px; float:left;
            position:relative;
}
#menu ul li.ThisPage{
     background:url(decorationcl/menua.png);color:#666;
}
#menu ul li.OtherPage a{
     display:block; height:100%;width:100%; text-decoration:none; background:url(decorationcl/menuc.png); color:#fff;
}
#menu ul li.OtherPage a:hover{
     background:url(decorationcl/menub.png);color:#000;
}
/**メニューバー　プルダウンメニュー**/
#menu ul li.PullDown {
     background:url(decorationcl/menuc.png); color:#fff;
}
#menu table{
     display:none; width:146px; margin-left:5px; text-align:center; background:#c90;
}
#menu td{
     height:1.5em; width:140px;
}
#menu td > a{display:block; width:100%; text-decoration:none; background:#653;color:#fff;}
#menu td > a:hover{background:#fe9;color:#000;}
#menu td.ThisPage{
     background:#fff;color:#000;
}
#menu ul li:hover table{
     display:block;
                        position:relative;z-index:100;
}
#menu ul li span{
     font-size:small; color:#c90;
}
#menu ul li:hover span{
     color:#fff;
}
/*コンテンツ*/
#contents img{
     margin:10px;
}
#contents p{
     font-size:1em;line-height:1.5em; margin:0; text-indent:1em;
}

#contents .bgbrown{
     background:#653; color:#fff;
}
.next-prev{
     text-align:center;
}
div.foot-navi{
width:800px;
}
div.foot-navi table{
     width:700px;text-align:center; font-size:small; margin:1em auto; border:solid 2px #653; color:#653;
}
#contents h3{
     background:#653; color:#fff;
}

div.foot-navi table tr td a{
     color:#653;
}
#contents h2{
  border-bottom-width : 2px;
  border-bottom-style : solid;
  border-bottom-color : orange;
}
