

/* LINK
--------------------------------------*/
a:link,
a:hover{
  color: #777;
}
a:visited{
  color: #888;
}
a:link,
a:visited{
  text-decoration: underline;
}
a:hover{
  text-decoration: none;
}
img{
  border: none;
}

/* FIR
--------------------------------------*/
.FIR{
  text-indent: -10000px !important;
  /* \*/
  overflow: hidden !important;
  /* */
  background-repeat: no-repeat;
  background-position: 0 0;
}
.FIR a{
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  outline: 0;
}
ul.FIR, ol.FIR{
  margin: 0;
  padding: 0;
  list-style: none;
}

/* clearfix
--------------------------------------*/
/* for modern browsers: Firefox, Safari, Opera */
.CFX:after{
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

/* for win IE7 ,mac IE */
.CFX{
  display: inline-table;
  min-height: 1%;
}

/* for win IE6 */
/* \*/
* html .CFX{height: 1% !important;}
.CFX{display: block;}
/* */



/* H
--------------------------------------*/
body div#content h1{
  margin: 0 0 10px 0;
  height: 40px;
}
body div#content h2{
  margin: 0 0 10px 0;
  font-weight: bold;
  font-size: 14px;
}

/* BODY
--------------------------------------*/
html{
  height: 100%;
}

body{
  margin: 0 auto;
  background-color: #fff;
  height: 100%;
  color: #444;
  font-size: 13px;
  font-size: small;
}
body div{
}
body div#wrapper{
  margin: 0 auto;
  background-color: #222;
  padding: 30px 30px 0;
  text-align: left; 
  width: 980px;
  min-height:100%;
}
div#header{
  border-bottom: 1px solid #fff;
  padding: 0 0 10px 0;
  clear: both;
}

div#header p.logo{
  position: absolute;
  margin: 0;
  padding: 0 0 10px 0;
  height: 27px;
}
div#header ul.hmenu{
  padding-left: 380px;
}

div#header ul.hmenu li{
  float: left;
  display: inline;
  margin-left: 20px;
  height: 27px;
}
div#header ul.hmenu li a:hover{
  opacity: 0.5;
}
div#header ul.hmenu li.information{
  width: 105px;
}
div#header ul.hmenu li.information a{
  background: url("../img/nav-hmenu-information.gif") no-repeat;
}
div#header ul.hmenu li.offline{
  width: 63px;
}
div#header ul.hmenu li.offline a{
  background: url("../img/nav-hmenu-offline.gif") no-repeat;
}
div#header ul.hmenu li.illust{
  width: 50px;
}
div#header ul.hmenu li.illust a{
  background: url("../img/nav-hmenu-illust.gif") no-repeat;
}
div#header ul.hmenu li.comic{
  width: 48px;
}
div#header ul.hmenu li.comic a{
  background: url("../img/nav-hmenu-comic.gif") no-repeat;
}
div#header ul.hmenu li.blog{
  width: 40px;
}
div#header ul.hmenu li.blog a{
  background: url("../img/nav-hmenu-blog.gif") no-repeat;
}
div#header ul.hmenu li.link{
  width: 33px;
}
div#header ul.hmenu li.link a{
  background: url("../img/nav-hmenu-link.gif") no-repeat;
 }

div#content{
  border: none;
  padding: 20px 0 0 0; 
}
div#content div{
  margin: 0 0 20px 0;
}

div#content p{
  margin: 0 0 0.75em 0;
}



/*
div#content p.banner{
  text-align: center;
}
*/

/* HOME
--------------------------------------*/
body#home div#header p.logo{
  position: static;
  margin: 0;
  padding: 0;
  height: 60px;
}

body#home div#content p.mainimage{
  margin: 0 0 20px 0;
  width: 980px;
  height: 300px;
}
body#home div#content p.attention{
/*  display: table-cell;
  margin: 0 0 20px 0;
  background: url("../img/nav-attention.gif") left center no-repeat;
  padding-left: 60px;
  height: 40px;
  vertical-align: middle;
  font-size: 14px;*/
  font-weight: bold;
  font-size: 500%;
}

body#home div #content ul.menu{
  margin: 20px 0 0 0;
  border-top: 1px solid #fff;
  padding: 14px 0 0 0;
}
body#home div#content ul.menu li{
  height: 40px;
  list-style-type: none;
}
body#home div#content ul.menu li a:hover{
  background-position: 0 -40px !important;
}
body#home div#content ul.menu li.information a{
  background: url("../img/nav-menu-information.gif") no-repeat;
}
body#home div#content ul.menu li.offline a{
  background: url("../img/nav-menu-offline.gif") no-repeat;
}
body#home div#content ul.menu li.illust a{
  background: url("../img/nav-menu-illust.gif") no-repeat;
}
body#home div#content ul.menu li.comic a{
  background: url("../img/nav-menu-comic.gif") no-repeat;
}
body#home div#content ul.menu li.blog a{
  background: url("../img/nav-menu-blog.gif") no-repeat;
}
body#home div#content ul.menu li.link a{
  background: url("../img/nav-menu-link.gif") no-repeat;
 }

body#home div#content div#update h2{
  margin: 0;
  border-top: 1px solid #fff;
  background: url("../img/nav-updatelog.gif") no-repeat 0 10px;
  padding: 0;
  height: 26px;
}
body#home div#content div#update dl{
  margin: 15px 0 0 0;
  padding: 0;
}
body#home div#content div#update dl dd{
  margin: -1.25em 0 1em;
  padding: 0 0 0 80px;
}
body#home div#content div#update dl dd.last{
  margin: -1.25em 0 10px;
  padding: 0 0 0 80px;
}

/* INFORMATION
--------------------------------------*/
body#info div#content h1{
  background: url("../img/nav-menu-information.gif") no-repeat;
}

/* LINK
--------------------------------------*/
body#link div#content h1{
  background: url("../img/nav-menu-link.gif") no-repeat;
}
/* OFFLINE
--------------------------------------*/
body#offline div#content h1{
  background: url("../img/nav-menu-offline.gif") no-repeat;
}
body#offline div#content div#sample p{
  display: inline;
  float: left;
  margin: 0;

}
body#offline div#content div#sample ul li{
  margin: 0 0 0 235px;
  list-style: none;
}


/* NINGENTODOUBUTU ver. */


body div#content{
  margin: 0 auto;
  background: url("../img/bg-wrapper.png") 0 0 repeat;
  width: 980px;
  text-align: center;
}
body div#content div.inner{
  margin: 0 40px;
}

body#home div#content div.inner h1{
  margin: 0 auto 20px auto;
  background-image: url("../img/p-sitelogo.gif");
  width: 265px;
  height: 21px;
}


body#home p.message{
  font-size: 300%;
}



body#home ul.menu{
  width: 100%;
  padding: 0;
}
body#home ul.menu li{
  float: left;
  display: inline;
  width: 150px;
  text-align: center;
  line-height: 40px;
  font-size: 122%;
  font-weight: bold;
}


/* illust */

body#illust-idx div#content .inner{
  padding-bottom: 40px;
}

body#illust-idx div#content ul{
  padding: 0;
}


body#illust-idx div#content ul li{
  float: left;
  display: inline;
  margin: 0 0 30px 30px;
  list-style: none;
}

body#illust-idx div#content ul li.first{
  margin-left: 0;
}




