@charset "shift_jis";

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

[1] レイアウトに関する指定
[2] ヘッダーブロック内に関する指定
[3] コンテンツブロック内に関する指定
[4] サイドバーブロック内に関する指定
[5] フッターブロック内に関する指定
[6] 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: 85%;
  text-align: center;
  font-family: Verdana, Arial, Helvetica, "ＭＳ Ｐゴシック", "ヒラギノ角ゴ Pro W3", sans-serif;
  padding: 0;
  margin: 0;
  background: url(img/bg-body.gif) repeat-x 0 0;
}

#wrapper {
  text-align: left;
  margin: 40px auto 0;
  width: 800px;
  background: url(img/bg-wrapper.jpg) no-repeat 0 0;
}

#header {
/*  height: 70px;*/
  margin-left: 250px;
  border-bottom: 1px solid #963;
}

#header-inner {
  margin-left: 250px;
  border-bottom: 1px solid #963;
}

#container { width: 100%; }

#contents {
  width: 550px;
  float: right;
  color: #666;
}

#nav {
  width: 550px;
  height: 30px;
  border-top: 1px solid #963;
  border-bottom: 1px solid #963;
  background: url(img/nav_back1.jpg) no-repeat;
}  

#sidebar {
  width: 200px;
  float: left;
  padding-top: 245px;
}

#footer {
  clear: both;
  padding: 30px 0 10px;
  background: url(img/bg-footer.gif) repeat-x 0 100%;
}

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

/* -- サブタイトル -- */
h1 {
  font-size: 100%;
  font-weight: normal;
  margin-right: 20px;
  margin-bottom: 5px;
  color: #666;
  text-align: right;
}

/* -- タイトル -- */
.logo {
  font-size: 220%;
  padding: 10px 0 5px;
  color: #666;
  text-align: center;
}

/* -- ページの概要 -- */
h2 {
  font-size: 160%;
  margin: 5px 50px 0;
  color: #963;
}

.date {
  margin-right: 10px;
  margin-bottom: 5px;
  color: #000;
  text-align: right;
}

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

/* -- 見出し -- */
h3,h4,h5,h6 {
  font-size: 120%;
  padding: 1em 0 0.7em 35px;
  background: url(img/bg-h.gif) no-repeat 0 55%;
  letter-spacing: 0.2em;
}

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

/* -- 文字 -- */
#contents p {
  line-height: 1.6em;
  letter-spacing:0.06em;
  margin-bottom: 1em;
}

#contents ul, ol {
  line-height: 1.6em;
  letter-spacing:0.06em;
  margin-left: 2em;
  margin-bottom: 1em;
}

#contents img {
  margin-top: 5px;
  margin-bottom: 5px;
}

#contents table {
  letter-spacing:0.06em;
  margin: 0 auto 1em;
}

/* -------------------------------------------------------------
   [3-1] ナビゲーションバーに関する指定 */

#nav table {
  margin: 0 auto;
  table-layout: fixed;
  width: 450px;
  line-height: 30px;
  color: #963;
}

.center{
  width: 50px;
}

#nav a {
color: #963;
text-decoration: none;
}

#nav a:hover {
color: #963;
font-weight:bold;
text-decoration: none;
}

/* -------------------------------------------------------------
   [4] サイドバーブロック内に関する指定 */

/* -- サイドバータイトル -- */
.side-title {
  text-align: center;
  padding: 5px 0;
  background-color: #963;
  color: #eee;
}

/* -- リスト/サイドバーメニュー -- */
.localnavi {
  list-style-type: none;
  margin-bottom: 1em;
  text-align: center;
  color: #963;
}

.localnavi li {display: inline;}

.localnavi a {
  text-decoration: none;
  width: 176px;
  display: block;
  padding: 4px 9px;
  border: 3px outset #c96;
  background-color: #c96;
  color: #963;
}

.localnavi a:hover {
  text-decoration: none;
  border: 3px outset #c96;
  background-color: #330;
  color: #fff;
}

.pre-navi {
  list-style-type: none;
  text-align: center;
  margin-bottom: 1em;
  padding: 5px 0;
  background-color: #c96;
  color: #963;
}

.pre-navi li { display: inline; }

.side-img { margin: 20px 0; }

.side-info a { color: #fff; }

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

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

/* -------------------------------------------------------------
   [6] CSSデザインサンプルリンク指定 */

#cds {
  font-size: 80%;
  font-family: Geneva, Arial, Helvetica, sans-serif;
}

#cds,
#cds a,
#cds a:hover {
  text-decoration: none;
  color: #cc9;
}
