@charset "shift_jis";

/* -------------------------------------------------------------

[1] レイアウトに関する指定
[2] ヘッダーブロック内に関する指定
[3] コンテンツブロック内に関する指定
[4] グローバルナビ内に関する指定
[5] フッターブロック内に関する指定
[6] CSSデザインサンプルリンク指定

------------------------------------------------------------- */


/* 一括で全ての要素の余白をゼロに指定 */
* {
  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: 85%;
  text-align: center;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  padding:0;
  margin: 0;
  background: url(img/bg-body.gif) repeat-x 0 220px;
}

#wrapper {
  text-align: left;
  margin: 100px auto 0;
  width: 800px;
}

#header { height: 120px; }

#contents {
  font-size: 90%;
  width: 190px;
  height: 290px;
  float: right;
  padding: 5px 0 5px 400px;
  overflow: auto;
  background: url(img/topimg.jpg) no-repeat 0 0;
}

#globalnavi {
  font-size: 120%;
  width: 195px;
  height: 290px;
  float: left;
  padding: 5px 5px 5px 0;
}

#footer { padding: 5px 0; }

/* -------------------------------------------------------------
   [2] ヘッダーブロック内に関する指定 */

/* 見出し */
h1 {
  font-size: 100%;
  font-weight: normal;
  text-align: right;
}

/* サイトタイトル */
#header .logo {
  font-size: 200%;
  font-weight: normal;
  line-height: 1em;
}

.logo a {
  text-decoration: none;
  color: #ffc0ff;
}

.logo a:hover {
  text-decoration: none;
  color: #ff0000;
}

#header p {
  margin-bottom: 0.5em;
  line-height: 1.2em;
}

/* -------------------------------------------------------------
   [3] コンテンツブロック内に関する指定 */

h2,
h3,
h4,
h5,
h6 {
  font-size: 90%;
  font-weight: normal;
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
  color: #ffffff;
}

#contents p {
  margin-bottom: 0.5em;
  line-height: 1.5em;
}

#contents ul { margin: 0 0 20px 15px; }

#contents li { margin-bottom: 0.5em; }

/* -------------------------------------------------------------
   [4] グローバルナビ内に関する指定 */

#globalnavi ul { list-style-type: none; }

#globalnavi li { display: inline; }

#globalnavi li a {
  text-decoration: none;
  width: 180px;
  display: block;
  padding: 15px 10px 15px 10px;
  border: 1px outset #fff;
  background-color: #fff;
  color: #ffc0ff;
}

#globalnavi li a:hover {
  text-decoration: none;
  background-color: #eee;
  color: #000;
}

/* -------------------------------------------------------------
   [5] フッターブロック内に関する指定 */
#footer p { text-align: center; }

/* -------------------------------------------------------------
   [6] CSSデザインサンプルリンク指定*/

#cds {
  clear: both;
  font-size: 85%;
  text-align: right;
}

#cds,
#cds a,
#cds a:hover {
  text-decoration: none;
  color: #ccc;
}
