@charset "UTF-8";

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

[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: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  padding:0;
  margin: 0;
}

/* 全体を囲んでいます */
#wrapper {
  text-align: left;
  width: 480px;
  margin: 50px auto 0;
  padding-left: 320px;
  background: url(img/youli.jpg) no-repeat 0 0;
}

#header {
  width: 465px;
  margin-bottom: 10px;
  padding: 5px 0 5px 10px;
  border-left: 5px solid #0cc;
}

#globalnavi {
  width: 465px;
  margin-bottom: 10px;
  padding: 5px 0 5px 10px;
  border-left: 5px solid #9c0;
  overflow: hidden;
}

#contents {
  width: 465px;
  margin-bottom: 10px;
  padding: 5px 0 5px 10px;
  border-left: 5px solid #fc0;
}

#footer { padding: 20px 0 0; }

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

/* 見出し */
h1 {
  font-size: 100%;
  font-weight: normal;
  text-align: right;
}

/* サイトタイトル */
#header .logo {
  font-size: 150%;
  font-weight: normal;
  line-height: 1em;
}

.logo a {
  text-decoration: none;
  color: #0066ff;
}

.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: 120%;
  margin-bottom: 0.5em;
}

#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;
  width: 220px;
  float: left;
  margin: 0 5px 10px 0;
}

#globalnavi li { display: inline }

#globalnavi li a {
  text-decoration: none;
  width: 205px;
  display: block;
  padding: 4px 4px 4px 9px;
  border: 1px outset #690;
  color: #666;
}

#globalnavi li a:hover {
  text-decoration: none;
  text-align: center;
  border: 1px inset #690;
  color: #f00;
}

/* -------------------------------------------------------------
   [5] フッターブロック内に関する指定 */
#footer p {
  text-align: center;
  margin-bottom: 2em;
}

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

#footer #cds {
  clear: both;
  font-size: 85%;
  text-align: right;
  margin: 0;
}

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