@charset "Shift_JIS";

/*
[1]リンク指定
[2]レイアウト指定
[3]#header内の各指定
[4]#contents内の各指定
[5]#sidebar内の各指定
[6]#footer内の各指定
[7]トップページ指定
[8]#globalnavi内の各指定
*/

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

img { border: 0; }

/*-- 削除不可 --*/
#cds { display: none; }

/* ####################################

                          [1]リンク指定
                          
####################################### */

a:link {
  color: #0000ff;
  text-decoration: underline;
}

a:visited {
  color: #9900ff;
  text-decoration: underline;
}

a:hover {
  color: #ff0000;
  text-decoration: underline;
}

/* ####################################

                      [2]レイアウト指定
                          
####################################### */
/*--全体のフォントサイズなど--*/
body {
  font-size: 80%;
  text-align: center;
  font-family:"ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
  padding: 0;
  margin: 0;
  background: url(../img/bg-body.gif) repeat-x 0 40px;
}

/*-- 全体を囲んでいます --*/
#wrapper {
  text-align: left;
  margin: 20px auto 0;
  padding: 0 10px;
  width: 900px;
}

/*-- ヘッダー部分*/
#header {
  height: 300px;
  padding: 20px 0 10px 100px;
  background: url(../img/merge.jpg)  no-repeat 0 100%;
  border: 1px solid #c9c9c9;
}

/*-- コンテナー部分 --*/
#container {
  width: 100%;
  position: relative;
  border: none;
}

/*-- コンテンツ部分 --*/
#contents {
  width: 700px;
  float: center;
  margin: 4em 0 0;
  padding: 0 15px 4em;
  border-left: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
}

/*-- サイドバー部分 --*/
#sidebar {
  width: 200px;
  float: left;
  text-align: center;
  background: url(../img/bg-sidebar.jpg)  no-repeat 0 100%;
  margin: 4em 0 0;
  padding: 0 0 4em;
}

/*-- フッター部分 --*/
#footer {
  clear: both;
  padding: 0.5em 0;
  background-color: #cccccc;
}

/* ####################################

                   [3]#header内の各指定
                          
####################################### */

/*-- サイトタイトル --*/
h1 {
  font-size: 150%;
  margin-bottom: 1em;
}

/*-- その他ヘッダー内の文字 --*/
#header p {
  line-height: 1.2em;
  margin-bottom: 1em;
}

/* ####################################

                 [4]#contents内の各指定
                          
####################################### */

/*-- 見出し --*/
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  margin-bottom: 1em;
  padding: 0.5em 10px;
  border-top: 1px solid #cccccc;
  border-right: 1px solid #666666;
  border-bottom: 1px solid #666666;
  border-left: 1px solid #cccccc;
}

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

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

/*-- リスト ---*/
#contents ul,
#contents ol,
#contents dl { margin: 0.5em 0 0.5em; }

#contents ul { margin-left: 15px; }

#contents li { margin-bottom: 0.5em; }

#contents dt {
  font-weight: bold;
  margin-bottom: 0.5em;
  padding-left: 5px;
  border-left: 10px solid #cccccc;
  border-bottom: 1px solid #cccccc;
}

#contents dd { margin-bottom: 1em; }

/* ####################################

                  [5]#sidebar内の各指定
                          
####################################### */

/*-- サイドバー内　カテゴリータイトル ---*/
#sidebar p.sidebar-title {
  font-size: 100%;
  line-height: 1;
  padding: 1em 10px;
  border-color: #999999;
  border-style: solid;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 10px;
}

/*-- サイドバー内　文字指定 ---*/
#sidebar p {
  line-height: 1em;
  margin-bottom: 1em;
}

/*-- サイドバー内　リスト（UL） ---*/
#sidebar ul {
  list-style-position: inside;
  margin: 0 0 2em;
}

#sidebar ul ul {
  list-style-position: inside;
  margin: 0.5em 0 1em 1em;
}

#sidebar li { margin: 0 0 0.5em; }

/*-- ナビゲーション ---*/
#sidebar ul.navigation,
#sidebar ul.navigation ul {
  list-style-type: none;
  list-style-position: outside;
}

#sidebar ul.navigation ul { margin: 0.5em 0 0; }

#sidebar ul.navigation li a {
  width: 180px;
  padding: 0.5em 10px;
  display: block;
  background-color: #cccccc;
  text-decoration: none;
  border: none;
}

#sidebar ul.navigation li a:hover { background-color: #99ff00; }

/* ####################################

                  [6]#footer内の各指定
                          
####################################### */

/*-- コピーライト --*/
#footer p { text-align: center; }

/* ####################################

                    [7]トップページ指定
                          
####################################### */

#top-page #header {
  height: 190px;
  padding: 20px 1em 0px;
  background: url(../img/merge.jpg) no-repeat 50% 100%;
  border: 1px solid #c9c9c9;
}

#top-page #contents {
  width: 700px;
  float: right;
  margin: 4em 0 0;
  padding: 0 0 4em;
  border: none;
}

#top-page #sidebar {
  width: 150px;
  float: left;
  margin: 4em 0 0;
  padding: 0 0 4em;
}

#top-page #contents dt {
  width: 450px;
  font-size: 100%;
  line-height: 1;
  margin: 0 10em 0;
  padding: 0.5em 5px;
  border-top: 1px solid #cccccc;
  border-right: 1px solid #666666;
  border-bottom: 1px solid #666666;
  border-left: 1px solid #cccccc;
}

#top-page #contents dd {
  width: 450px;
  margin:  0 10em 0;
  padding: 0.5em 5px;
  border: 1px solid #cccccc;
  overflow: auto;
  height: 80px;
}

#top-page #sidebar p.sidebar-title {
  font-size: 100%;
  line-height: 1;
  margin-bottom: 1em;
  padding: 0.5em 0;
  border-top: 1px solid #cccccc;
  border-right: 1px solid #666666;
  border-bottom: 1px solid #666666;
  border-left: 1px solid #cccccc;
}

#top-page #sidebar ul {
  list-style-type: none;
  margin-left: 0;
}

#top-page #sidebar dl { margin: 0.5em; }

#top-page #sidebar dt {
  font-size: 100%;
  margin-bottom: 1em;
  padding: 0.5em 10px;
  border-top: 1px solid #cccccc;
  border-right: 1px solid #666666;
  border-bottom: 1px solid #666666;
  border-left: 1px solid #cccccc;
}

#top-page #sidebar dd { margin-bottom: 2em; }

#top-page #sidebar ul.navigation li a {
  width: 110px;
  padding: 0.5em 10px;
  display: block;
  background-color: #ffffff;
  text-decoration: none;
  border: 1px solid #cccccc;
}

#top-page #sidebar ul.navigation li a:hover {
  background-color: #ffffff;
  border: 1px solid #ff0000;
}

/* ####################################

               [8]#globalnavi内の各指定
                          
####################################### */ 

#globalnavi {
  text-align: center;
  width: 900px;
  position: absolute;
  top: 0;
  left: 0;
}

#globalnavi ul {
  list-style-type: none;
  width: 100%;
}

#globalnavi li {
  width: 150px;
  float: left;
  border-bottom: 1px solid #cccccc;
}

#globalnavi li a {
  text-align: center;
  padding: 0.5em 0;
  width: 100%;
  display: block;
  background: url(../img/bg-globalnavi.jpg) no-repeat 0 50%;
}

#globalnavi li a:hover {
  color: #ff0000;
  background: url(../img/bg-globalnavi.jpg) no-repeat -200px 100%;
}
