* {
  margin: 0;
  padding: 0;
}

/*--全体--*/

body {
  font-size: 100%;
  font-family:"ヒラギノ角ゴ Pro W3","ＭＳ Ｐゴシック","Hiragino Kaku Gothic Pro","MS PGothic",sans-serif;
  text-align:center;
  padding:0;
  margin:0;
}
a:link {
        text-decoration:none;
        color:#000000;
}
a:visited {
        color:#000000;
}
a:hover {
        text-decoration:none;
        color:#FF0000;
}
a:active {
        color:#FF0000;
}
img {
     border:none;
}

/*--囲み--*/
#wrapper {
  text-align:left;
  width:820px;
  margin:0 auto;
  background:url(../images/bg.jpg) repeat-y 0 0;
}

/*--ヘッダー--*/
#header {
  width: 100%;
  height: 145px;
  position: relative;
  background: url(../images/header.jpg) no-repeat 0 0;
}

/*--コンテナー--*/
#container { margin: 0 50px; }

/*--コンテンツ--*/
#contents {
  width: 550px;
  float: right;
  margin-bottom: 4em;
}

  q  { color: #008000; }

*.logbox
{
  border: solid 1px #808080;
  width: 540px;
  height: 80px;
  padding: 0.5em;
  overflow: auto;
 }


/*--メニュー--*/
#sidebar {
  width: 150px;
  float: left;
  margin-bottom:4em;
}

/*--フッター--*/
#footer {
  font-size: 50%;
  font-family: Geneva, Arial, Helvetica, sans-serif;
  padding: 2em 0 2em;
  background: url(../images/footer.jpg) no-repeat 0 100%;
}
#footer p { text-align: center; }

/*--著作--*/
#cc {
  font-size: 50%;
  font-family: Geneva, Arial, Helvetica, sans-serif;
  margin: 0;
  clear: both;
}
#cc,
#cc a,
#cc a:hover {
  text-decoration: none;
  color: #a0a0a0;
}

