@charset "utf-8";

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

[1] レイアウトに関する指定
[2] ヘッダーブロック内に関する指定
[3] コンテンツブロック内に関する指定
[4] フッターブロック内に関する指定
[5] CSSデザインサンプルリンク指定

----------------------------------------------------------------
CSSデザインサンプ [ URL ] http://www.css-designsample.com
------------------------------------------------------------- */


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

/* 全体的なリンク */

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

a:link { color: #00f; }

a:visited { color: #90f; }

a:hover { color: #f00; }

a:active { color: #f00; }

/* -------------------------------------------------------------
   [1] レイアウトに関する指定 */
body {
  font-size: 100%;
  text-align: center;
  font-family: Osaka, monospace, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "MS PGothic", sans-serif;
  padding: 0;
  margin: 0;
}

/*-- 全体を囲んでいます --*/
#wrapper {
  text-align: left;
/*  width: 800px;*/
  width: 900px;
  margin: 0 auto;
  border-left: 1px solid #666;
  border-right: 1px solid #666;
}

/*-- ヘッダー部分 --*/
#header {
  width: 100%;
  height: 65px;
  position: relative;
/*  background: url(img/miyako.gif) ; */
}
#header2 {
  width: 100%;
  height: 20px;
  background-color: #336633;
}

/*-- コンテンツ部分 740px --*/
#contents { padding: 40px 30px; 
  background-color: #f0fff0;
}

/*-- フッター部分 --*/
#footer {
/*  width: 802px;*/
  width: 902px;
  margin: 0 auto;
  padding: 2em 0 0.5em;
  background-color: #336633;
}

/* -------------------------------------------------------------
   [2] ヘッダーブロック内に関する指定 */

/* 見出し */

h1 {
  font-size: 100%;
  font-weight: normal;
  text-align: right;
  position: absolute;
  top: 10px;
  left: 30px;
  color: #666;
}

/* サイトタイトル */
.logo {
  font-size: 180%;
  position: absolute;
  top: 30px;
  left: 30px;
}

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

.logo a:hover {
  color: #f00;
  text-decoration: none;
}

/* 概要 */
.description {
  line-height: 1.5em;
  position: absolute;
  bottom: 45px;
  left: 30px;
  color: #000;
}


/*--サブメニュー部分--*/

.message {
 font-size: 140%;
 font-weight: bold;
 padding-bottom: 1em;
}


/* -------------------------------------------------------------
   [3] コンテンツブロック内に関する指定 */

/* 見出し */
h2,
h3,
h4,
h5,
h6 {
  font-size: 130%;
  font-weight: normal;
  margin-bottom: 0.5em;
  padding: 3px 0 2px;
  color: #030;
  border-top: 2px solid #9c0;
  border-bottom: 1px solid #ccc;
}

h3,
h4,
h5,
h6 { margin-top: 2em; }

/* 文字 */
#contents p {
  line-height: 1.5em;
  margin-bottom: 1em;
}

/* テープルに関する指定*/

table {
/*   width: 90%;*/
   table-layout: auto;
   border-width: 3px;
   border-style: ridge;
   border-color: #556b2f;
}
caption {
   caption-side: top;
   margin: 5px;
   font-weight: bold;
   text-align: left;
}
th {
   padding: 6px;
   border-width: 2px;
   border-style: solid;
   border-color: #556b2f;
}
td {
   padding: 10px;
   border-width: 2px;
   border-style: solid;
   border-color: #556b2f;
}


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

#footer p {
  text-align: center;
  color: #fff;
}

/* -------------------------------------------------------------
   [6] 追加指定 */

dd {
 margin-left: 3em;
}
