@charset "UTF-8";

/* -------------------------------------------------------------

[1] レイアウトに関する指定
[2] ヘッダーブロック内に関する指定
[3] コンテンツブロック内に関する指定
[4] フッターブロック内に関する指定
*/


/* 一括で全ての要素の余白をゼロに指定 */
* {
  margin: 0;
  padding: 0;
}

/* 全体的なリンク */

a:link,
a:visited,
a:hover,
a:active { text-decoration: underline; }

a:link { color: #000; }

a:visited { color: #696969; }

a:hover { color: #000; }

a:active { color: #000; }

/* -------------------------------------------------------------
   [1] レイアウトに関する指定 */
body {
  text-align: center;
  font-size: 85%;
  font-family:
    'メイリオ',
    Meiryo,
    'Lucida Grande',
    Verdana,
    'ヒラギノ角ゴ Pro W3',
    'Hiragino Kaku Gothic Pro',
    Osaka,
    'ＭＳ Ｐゴシック',
    sans-serif;
  background-image: url(../img/bg.gif);
}
/*-- 全体を囲んでいます --*/
#wrapper {
  text-align: left;
  position: absolute;
  left: 50%;
  width: 800px;
  margin-left: -400px;
  margin-top: 15px;
  border-left: 1px solid #666;
  border-right: 1px solid #666;
  background-color: #ffffff;
}

/*-- ヘッダー部分 --*/
#header {
  width: 100%;
  height: 120px;
  position: relative;
  background-color: #333;
}
/* -------------------------------------------------------------
   [2] ヘッダーブロック内に関する指定 */

/* 見出し */
.subtitle {
  font-size: 90%;
  font-weight: normal;
  text-align: right;
  position: absolute;
  top: 10px;
  left: 30px;
  color: #A9A9A9;
}
/* サイトタイトル */
.logo {
  font-size: 180%;
  position: absolute;
  top: 35px;
  left: 30px;
  letter-spacing: 0.33em;
}

.logo a {
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}
.logo a:visited {
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

.logo a:hover {
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

.logo a:active {
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}
/*---------------------------------------グローバルナビ部分*/
#menubar {
  width: 800px;
  height: 35px;
  top: 85px;
  position: absolute;
  background-color: #75e051;
}
#menu {
  list-style-type: none;
  text-align: center;
  padding: 0;
  margin: 0;
}

#menu li {
  width: 160px;
  float: left;
  padding: 0;
  margin: 0;
}

#menu li a {
  display: block;
  text-decoration: none;
  width: 100%;
  height: auto;
  line-height: 200%;
  color: #c1470a;
  background-image:url(../img/menu.gif);
  background-position: left top;
  background-repeat: no-repeat;
  padding: 0;
  margin: 0;
  overflow: hidden;
  font-size: 130%;
  font-weight: bold;
}
#menu li a:visited {
  color: #c1470a;
  text-decoration: none;
}

#menu li a:hover {
  background-image:url(../img/menu-ho.gif);
  background-position: left top;
  background-repeat: no-repeat;
  color: #cc6600;
  padding: 0;
  margin: 0;
  line-height: 200%;
}
 /*-- コンテンツ部分 740px --*/
#contents { padding: 15px 30px; }

/* -------------------------------------------------------------
   [5] フッターブロック内に関する指定 */

/*-- フッター部分 --*/
#footer {
  clear:both;
  height: 65px;
  width: 800px;
  display: table;
  background-color: #333;
}

* html #footer {
  position: relative;
}

*:first-child+html #footer {
  position: relative;
}
/*-- フッターアドレス部分 --*/
.footer-adress {
  display: table-cell;
  vertical-align: bottom;
  width: 400px;
  line-height: 1.15em;
}
  * html div.footer-adress {
  position: absolute;
  top: 100%;
  }  
  *:first-child+html div.footer-adress {
  position: absolute;
  top: 100%;
}

/*-- フッターコピーライト部分 --*/
.footer-cr {
  display: table-cell;
  vertical-align: bottom;
  text-align: right;
  width: 400px;
}
  * html div.footer-cr {
  position: absolute;
  top: 100%;
  margin: 0 0 0 400px;
  }  
  *:first-child+html div.footer-cr { 
  position: absolute;
  top: 100%;
  margin: 0 0 0 400px;
  }
  
.footer-crp {
  margin: 0;
  color: #A9A9A9;
  padding: 2px 10px;
  font-size: 90%;
}

 * html .footer-crp {
   position: relative;
   top: -100%;
 }
 *:first-child+html .footer-crp {
   position: relative;
   top: -100%;
 }
 
.footer-adressp {
  margin: 0;
  color: #A9A9A9;
  padding: 2px 10px;
}
* html .footer-adressp {
   position: relative;
   top: -100%;
 }
 *:first-child+html .footer-adressp {
   position: relative;
   top: -100%;
 }
 