@charset "UTF-8";

/* ========BASIC======== */
* {
   font-family:Verdana, Helvetica, sans-serif;
   color:#333;
}

body {
   margin:0;
   padding:0;
   letter-spacing:1px;
   background:#80CECF url(images/bg_image.gif) repeat-y top center;
}

br {
   letter-spacing:normal;
}

a {
   color:#333;
   text-decoration:none;
}

a:hover {
   color:#31001D;
   text-decoration:none;
}

img {
   border:0;
}

h1,h2,h3,h4,h5,h6 {
   margin:0;
}

/* ========TEMPLATE LAYOUT======== */
div#top {
   width:850px;
   margin:0 auto;
   background:#fff;
}

div#header {
   width:850px;
   background:#fff;
}

div#menu {
   width:850px;
   margin-bottom:10px;
}

div#contents {
   clear:both;
   width:850px;
   background:url(images/bg_contents.gif) 0 0 repeat-y;
}

div#headImage {
   width:850px;
}

div#main {
   float:left;
   width:650px;
   margin-top:10px;
}

div#sub {
   float:right;
   width:180px;
   margin-top:10px;
}

div#totop {
   border-top:1px solid #535D57;
}

div#footer {
   position:relative;
   clear:both;
   width:850px;
}

/*mawarikomi_kaijo*/
div#contents:after {
   content:"";
   display:block;
   height:0;
   clear:both;
   visibility:hidden;
}

/* ========HEADER CUSTOMIZE======== */
div#header h1 {
   margin:0;
   padding:0;
   font-size:1em;
   color:#000;
   line-height:40px;
}

div#header h1 a {
   color:#000;
}

div#header h1 a:hover {
   color:#535D57;
}


/* ========MENU CUSTOMIZE======== */
div#menu ul {
   width:850px;
   margin:0;
   padding:1px 0 1px 1px;
   background:#000;
}

div#menu li {
   float:left;
   font-size:1.5em;
   color:#333;
   text-align:center;
   list-style-type:none;
}

div#menu li a{
   display:block;
   width:169px;
   margin-right:1px;
   padding:5px 0;
   color:#fff;
   background:url(images/bg_menu_off.gif);

}

div#menu li a:hover{
   color:#fff;
   background:url(images/bg_menu_on.gif);
}

/*mawarikomi_kaijo*/
div#menu ul:after{
   content:"";
   display:block;
   height:0;
   clear:both;
   visibility:hidden;
}

/* ========MAIN CONTENTS CUSTOMIZE======== */
div#main a {
   color:#31001D;
}

div#main a:hover {
   color:#31001D;
   border:0;
   border-bottom:1px solid #31001D;
}

div#main h2 {
   margin-bottom:8px;
   padding:2px 2px 2px 0;
   color:#31001D;
   font-size:0.94em;
   font-weight:bold;
   line-height:1.4;
   border-bottom:3px double #535D57;
}

div#main h3  {
   margin-bottom:8px;
   padding:20px 10px 10px 10px;
   color:#000;
   font-size:1.2em;
   font-weight:normal;
   line-height:1.5;
   border-bottom:3px double #535D57;
}

div#main h4 {
   margin-bottom:2px;
   font-size:0.75em;
   line-height:1.4;
}
div#main h5 {
   margin-bottom:2px;
   font-size:0.75em;
   line-height:1.4;
}
div#main h6 {
   margin-bottom:2px;
   font-size:0.75em;
   line-height:1.4;
}

div#main p{
   margin:0 10px 1em 0;
   font-size:1em;
   line-height:1.4;
}

div#main ul,ol,dl{
   margin-right:10px;
   font-size:1em;
}

div#main dt{

}

div#main li{

}

div#main dt{
   margin-bottom:3px;
}

div#main dd{
   padding:0;
   margin:0 0 1em 1em;
   padding:3px;
   background:#f1f1f1;
}

/* ========sub CONTENTS CUSTOMIZE======== */
div#sub .section {

}

div#sub h2 {
   padding:3px;
   font-size:0.88em;
   font-weight:bold;
   color:#fff;
   background:#31001D url(images/bg_sub_h2.gif) 0 0 repeat-x;
}

div#sub ul {
   margin:0;
   padding:5px 0 1em 0;
}

div#sub li {
   margin:0;
   padding-left:18px;
   font-size:0.75em;
   line-height:1.8;
   background:#fff ;
   list-style:none;
}

/* ========FOOTER CUSTOMIZE======== */
div#totop{
   position:relative;
   height:5em;
}

div#totop p{
   position:absolute;
   top:10px;
   right:7px;
   margin:0;
   padding-left:8px;
   font-size:0.63em;
   background:#fff url(images/bg_totop.gif) 0 50% no-repeat;
}

address{
   padding:10px 10;
   font-size:0.63em;
   color:#333;
}

/* ========M[ CUSTOMIZE======== */
ul#gallery {
  padding:0; 
  margin:0; 
  width:600px; 
  height:800px; 
  position:relative; 
  background:#fff url(images/07.png);
  }
#gallery li {
  list-style-type:none; 
  width:100px; 
  height:48px; 
  float:left; 
  z-index:100;
  }
#gallery li.lft {
  float:left; 
  clear:left;
  }
#gallery li.rgt {
  float:right; 
  clear:right;
  }
#gallery a {
  position:relative; 
  width:100px; 
  height:48px; 
  display:block; 
  float:left; 
  z-index:100; 
  cursor:default;
  }
#gallery a img {
  position:relative; 
  width:100px; 
  height:100px; 
  border:1px solid #fff; 
  z-index:100;
  }
#gallery a:hover {
  width:600px; 
  height:800px; 
  padding:108px 144px; 
  position:absolute; 
  left:0; 
  top:0; 
  z-index:20;
  }
#gallery a:hover img {
  background:#fff; 
  position:relative; 
  width:600px; 
  height:800px; 
  border:0; 
  z-index:20;
  }
#gallery a:active, #gallery a:focus {
  background:transparent; 
  width:600px; 
  height:800px; 
  padding:48px 64px; 
  position:absolute; 
  left:0; 
  top:0; 
  z-index:10;
  }
#gallery a:active img, #gallery a:focus img {
  background:#fff; 
  position:relative; 
  width:600px; 
  height:800px; 
  border:0; 
  z-index:10;
  }
/* hack for Internet Explorer */
#gallery li.pad {
  height:0; 
  display:block; 
  margin-top:-2px; 
  width:600px; 
  font-size:0;
  }

/* hack for Opera 7+ */
@media all and (min-width:0px){
#gallery a:hover {
  background:#fff; 
  width:600px; 
  height:800px; 
  padding:0px 0px 100px; 
  position:absolute; 
  left:0; 
  top:0; 
  z-index:10;
  }
#gallery a:hover img {
  background:#fff; 
  position:relative; 
  width:600px; 
  height:800px; 
  border:0; 
  z-index:10;
  }
}