@charset "Shift_JIS";

/*
[1]トップページの指定
[2]全体のリンク指定
[3]CSS.DesignSampleへのリンク指定
[4]レイアウトに関する指定
[5]ヘッダー内の各部分指定
[6]コンテンツ内の各部分指定
[7]サイドバー内の各部分指定
[8]アンダーナビ内の各部分指定
[9]フッター内の各部分指定

http://www.css-designsample.com*/


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

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

[1]トップページの指定

基本となるのは[4]レイアウトに関する指定以降。変更部分のみここで再指定してます。*/

#top-page #header-inner { background: url(../img/bg-image05.jpg) no-repeat 0 0; }

/* トップページの見出し */
#top-page h1,
#top-page h2,
#top-page h3,
#top-page h4,
#top-page h5,
#top-page h6 {
  font-size: 1em;
  font-weight: normal;
  text-align: center;
  position: static;
  margin: 0;
  padding: 10px 0;
  background: #000000 url(../img/bg-top-title.jpg) no-repeat 0 0;
  color: #ffffff;
}

/* トップページのインフォメーション部分 */
#header-info {
  width: 460px;
  height:200px;
  margin: 20px 10px;
  overflow: auto;
}

/* インフォメーション部分がULの時 */
#header-info ul {
  list-style-type: none;
  list-style-position: outside;
  margin: 0.5em 20px;
}

#header-info li {
  line-height: 1.5em;
  padding: 0.5em 0;
  border-bottom: 1px solid #000;
}

/* インフォメーション部分がDLの時 */
#header-info dl { margin: 0.5em 20px; }

#header-info dt { border-bottom: 1px solid #000; }

#header-info dd {
  line-height: 1.5em;
  margin-bottom: 1.5em;
  padding: 0.5em 0;
}

/* コンテンツ部分　記事をDIVで包括 */
#top-page #contents .inner {
  margin-bottom: 2em;
  padding: 2em 20px 1em;
  border: 1px solid #666666;
}

/* サイドバー部分 */
#top-page #left-sidebar {
  width: 370px;
  float: left;
  margin: 0;
}

/* サイドバータイトル */
#top-page #left-sidebar .sidetitle {
  text-align: center;
  margin: 0;
  padding: 10px 0 5px;
  background: url(../img/bg-sidetitle-top.jpg) no-repeat 0 0;
}

#top-page #left-sidebar div {
  width: 328px;
  margin-bottom: 2em;
  padding: 1em 20px;
  background: none;
  border: 1px solid #666666;
}

/* ULリスト */
#top-page #left-sidebar ul,
#top-page #left-sidebar ol {
  list-style-position: inside;
  margin: 0;
  padding: 0;
  background: none;
}

#top-page #left-sidebar li {
  margin-bottom: 0.5em;
  padding: 0;
}

/* DLリスト */ 
#top-page #left-sidebar dl {
  margin: 0;
  padding: 0;
  background: none;
}

#top-page #left-sidebar dt {
  margin-bottom: 0.5em;
  padding: 0;
}

#top-page #left-sidebar dd {
  margin: 0 0 0.5em 2em;
  padding: 0;
}

/* サイドバー内文章 */ 
#top-page #left-sidebar p {
  line-height: 1.5em;
  margin: 0.5em 0 1em;
  padding: 0;
}

/* リスト/サイドバーメニュー */
#top-page #left-sidebar .localnavi {
  list-style-type: none;
  list-style-position: outside;
  margin: 0 0 2em;
  padding: 0;
}

#top-page #left-sidebar .localnavi li { margin: 0; }

#top-page #left-sidebar .localnavi li a {
  text-decoration: none;
  display: block;
  width: 330px;
  padding: 1em 10px 1em 30px;
  background: #ffffff url(../img/bg-localnavi-top.jpg) no-repeat 0 50%;
  color: #000000;
}

#top-page #left-sidebar .localnavi li a:hover {
  text-decoration: none;
  background: #0000ff url(../img/bg-localnavi-top.jpg) no-repeat -370px 50%;
  color: #ff0000;
}

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

[2]リンク指定 */

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

a:link {
  color: #000099;
  text-decoration: none;
}

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

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

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

[3]CSS.DesignSampleへのリンク指定 */
#footer #cds {
  font-size: 0.8em;
  text-align: right;
  color:#999999;
  background-color: transparent;
}

#footer #cds a {
  color:#999999;
  background-color: transparent;
  text-decoration: none;
}

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

[4]レイアウトに関する指定 */
body {
  font-size: 0.9em;
  text-align: center;
  font-family: "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3" sans-serif;
  padding: 0;
  margin: 0;
}

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

/*-- ヘッダー部分 --*/
#header {
  width: 100%;
  height: 300px;
  margin-bottom: 2em;
  position: relative;
  background: url(../img/bg-image7.jpg) no-repeat 0 100%;
}

#header-inner {
  width: 480px;
  height: 240px;
  position: absolute;
  bottom: 0;
  right: 0;
}

#header-inner { background: url(../img/bg-image02.jpg) no-repeat 0 0; }

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

/*-- コンテンツ部分 --*/
#contents {
  width: 470px;
  float: right;
  margin-bottom: 4em;
}

/*-- サイドバー部分 --*/
#left-sidebar {
  width: 180px;
  float: left;
  margin-right: 10px;
}

#right-sidebar {
  width: 180px;
  float: left;
}

/*-- アンダーナビ部分 --*/
#undernavi { clear: both; }

/*-- フッター部分 --*/
#footer {
  padding: 4em 0 0.5em;
  background: url(../img/bg-footer.html) no-repeat 0 100%;
}

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

[5]ヘッダー部分 */

/* サイトタイトル */
#logo {
  font-size: 1.2em;
  padding: 1em 0 1em 50px;
  position: absolute;
  top: 5px;
  left: 0;
  background: url(../img/bg-logo.gif) no-repeat 0 50%;
}

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

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

/* サイトマップ等へのリスト */
.ul-info {
  list-style-type: none;
  position: absolute;
  top: 2em;
  right: 1em;
}

.ul-info li {
  display: inline;
  margin-left: 1em;
}

.ul-info li a {
  padding-left: 12px;
  background: url(../img/listmark01.jpg) no-repeat 0 50%;
  text-decoration:none;
}

.ul-info li a:hover {
  background: #ffffff url(../img/listmark01.jpg) no-repeat -200px 50%;
  text-decoration: underline;
  color: #ff0000;
}

/* 見出し */

h1 {
  font-size: 1.4em;
  text-align: right;
  position: absolute;
  top: 35px;
  right: 1em;
}

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

[6]コンテンツ内の各部分指定 */

/* パン屑リスト */
.topicpath { margin-bottom: 1em; }

/* 見出し */
h2 {
  font-size: 1em;
  margin: 0 0 1em;
  padding: 0.5em 0 0.5em 25px;
  background: url(../img/bg-h2.jpg) no-repeat 0 50%;
  border-bottom: 1px solid #666666;
}

h3,
h4,
h5,
h6 {
  font-size: 1em;
  margin: 4em 0 1em;
  padding: 0.5em 0 0.5em 25px;
  background: url(../img/bg-h.jpg) no-repeat 0 50%;
  border-bottom: 1px solid #666666;
}

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

/* 定義リスト */
#contents dl { margin: 1em 0 2em; }

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

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

/* 定義リスト内の文字 */
#contents dd p {
  line-height: 1.5em;
  margin-bottom: 0.5em;
}

/* リスト */
#contents ul { margin: 1em 0 2em 20px; }

#contents ol { margin: 1em 0 2em 25px; }

#contents li { margin: 0 0 1em 0; }

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

[7]サイドバー内の各部分指定

/* サイドバータイトル */
#left-sidebar .sidetitle,
#right-sidebar .sidetitle {
  text-align: center;
  margin: 0;
  padding: 10px 0 5px;
  background: #000000 url(../img/bg-sidetitle.jpg) no-repeat 0 0;
  color: #ffffff;
}

/*----------------------サイドバー内のDIV
ボーダーはこの部分に指定してあります。
#sidebarで幅を変更した場合など、ここで
メニューなどの幅を指定します。
.localnavi等の幅指定は要りません。
----------------------------------------*/
#left-sidebar div,
#right-sidebar div {
  width: 180px;
  margin-bottom: 2em;
  background: url(../img/bg-side-div.gif) repeat-y 0 0;
}

/* ULリスト */
#left-sidebar ul,
#right-sidebar ul,
#left-sidebar ol,
#right-sidebar ol {
  list-style-position: inside;
  padding: 0 0 1em;
  background: url(../img/bg-side-list.gif) no-repeat 0 100%;
}

#left-sidebar li,
#right-sidebar li { padding: 0.5em 10px; }

/* DLリスト */ 
#left-sidebar dl,
#right-sidebar dl {
  padding: 1em 0;
  background: url(../img/bg-side-list.gif) no-repeat 0 100%;
}

#left-sidebar dt,
#right-sidebar dt {
  margin-bottom: 0.5em;
  padding: 0 10px;
}

#left-sidebar dd,
#right-sidebar dd {
  margin-bottom: 0.5em;
  padding: 0 10px;
}

/* サイドバー内文章 */ 
#left-sidebar p,
#right-sidebar p {
  line-height: 1.5em;
  margin: 0.5em 0 1em;
  padding: 0;
}

/* リスト/サイドバーメニュー */
#left-sidebar .localnavi,
#right-sidebar .localnavi {
  list-style-type: none;
  list-style-position: outside;
  margin: 0 0 2em;
  padding: 0;
}

#left-sidebar .localnavi li,
#right-sidebar .localnavi li {
  margin: 0;
  padding: 0;
  background: none;
}

#left-sidebar .localnavi li a {
  text-decoration: none;
  display: block;
  width: 160px;
  padding: 1em 10px;
  background: #ffffff url(../img/bg-localnavi.jpg) no-repeat 0 50%;
  color: #000000;
}

#right-sidebar .localnavi li a {
  text-decoration: none;
  display: block;
  width: 160px;
  padding: 1em 10px;
  background: #0000ff url(../img/bg-localnavi.jpg) no-repeat -180px 50%;
  color: #000000;
}

#left-sidebar .localnavi li a:hover,
#right-sidebar .localnavi li a:hover {
  text-decoration: none;
  background: #ff0000 url(../img/bg-localnavi.jpg) no-repeat -360px 50%;
  color: #ffffff;
}

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

[8]アンダーナビ内の各部分指定 */
.pagetop { text-align: right; }

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

[9]フッター内の各部分指定 */
#footer p {
  text-align: center;
  margin-bottom: 1.5em;
}
