@charset "Shift_JIS";

/*
[1]全体のリンク指定
[2]CSS.DesignSampleへのリンク指定
[3]レイアウトに関する指定
[4]ヘッダー内の各部分指定
[5]コンテンツ内の各部分指定
[6]サイドバー内の各部分指定
[7]フッター内の各部分指定
*/


/* 一括で全ての要素の余白をゼロに指定 */
* {
  padding: 0;
  margin: 0;
}

/*########################################

[1]全体のリンク指定 */

a:link {
  color: #0000ff;
  text-decoration: underline;
}

a:visited {
  color: #660066;
  text-decoration: underline;
}

a:hover {
  color: #ff0000;
  text-decoration: underline;
}

/*########################################

[2]CSS.DesignSampleへのリンク指定 */

#cds { display: none; }

/*########################################

[3]レイアウトに関する指定 */

body {
  font-size: 80%;
  text-align: center;
  font-family: "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
  padding: 0;
  margin: 0;
}

/*-- 全体を囲んでいます --*/
#wrapper {
  text-align: left;
  margin: 0 auto 0 auto;
  width: 730px;
}

/*-- description --*/
.description {
  text-align: right;
  background: url(../img/bg-description.jpg) no-repeat 0 0;
  height: 80px;
}

/*-- ヘッダー部分 --*/
#header {
  height: 130px;
  padding: 20px 0 10px 250px;
  background: url(../img/bg-header.jpg) no-repeat 0 0;
}

/*-- contents と left-sidebar を囲む枠 --*/
#container {
  width: 728px;
  padding: 2em 0 0;
  border-left: 1px solid #99ff00;
  border-right: 1px solid #99ff00;
}

/*-- コンテンツ部分 --*/
#contents {
  width: 480px;
  padding: 0 20px 0 0;
  float: right;
}

/*-- サイドバー部分 --*/
#sidebar {
  width: 190px;
  padding: 0 0 0 10px;
  float: left;
}

/*-- フッター部分 --*/
#footer {
  clear: both;
  padding: 1em 0 0.5em;
  background: url(../img/bg-header.jpg) no-repeat 0 100%;
}

/*########################################

[4]ヘッダー部分 */

/* サイトタイトル */
h1 { font-size: 180%; }

/* その他ヘッダー内の文字 */
#header p { padding: 0; }

/*########################################

[5]コンテンツ内の各部分指定 */

/* 見出し */
h2,
h3,
h4,
h5,
h6 {
  font-size: 120%;
  margin-bottom: 1.5em;
  padding: 0.4em 0 0.4em 2em;
  background: url(../img/bg-h.gif) no-repeat 0 50%;
}

h3,
h4,
h5,
h6 { margin-top: 2.5em; }

/* 文字 */
#contents p {
  line-height: 1.5;
  margin-bottom: 1em;
}

/* 定義リスト */
#contents dl { margin: 1.5em 0; }

#contents dt {
  margin-bottom: 0.5em;
  font-weight: bold;
  border-bottom: 1px solid #000000;
}

#contents dd { margin-bottom: 1.5em; }

/* 定義リスト内の文字 */
#contents dd p {
  line-height: 1.5;
  margin-bottom: 1em;
}

#contents dd span { color: #ff0000; }

/* リスト */
#contents ul { margin: 1em 0 2em 20px; }

#contents ul li { margin: 0 0 1em 0; }

/*########################################

[6]サイドバー内の各部分指定

/* サイドバータイトル */
#sidebar .sidebar-title {
  text-align: center;
  margin: 0;
  padding: 0.5em 0;
  border-bottom: 1px solid #000000;
}

/* サイドバー内の文字(P) */
#sidebar p {
  text-align: left;
  margin: 1em 0;
  padding: 0;
  padding: 0;
  line-height:1.5em;
}

/* リスト/サイドバーメニュー */
#sidebar .localnavi {
  list-style-type: none;
  margin: 0 0 2em 0;
}

#sidebar .localnavi li { margin-bottom: 0.5em; }

#sidebar .localnavi li a {
  padding: 5px 0 5px 10px;
  text-decoration: none;
  width: 180px;
  display: block;
  background: url(../img/bg-navi.gif) no-repeat 0 50%;
}

#sidebar .localnavi li a:hover {
  color: #ff0000;
  text-decoration: underline;
  background: url(../img/bg-navi.gif) no-repeat -200px 50%;
}

/* リスト */
#sidebar ul { margin: 2em 0 2em 10px; }

#sidebar li { margin-bottom: 0.5em; }

/*########################################

[7]フッター内の各部分指定 */

#footer p { text-align: center; }
