@charset "utf-8";

/* 一括で全ての要素の余白をゼロに指定 */
* {
  padding: 0;
  margin: 0;
  line-height: normal;
}

a:link {
  color: #0000ff;
  text-decoration: underline;
}

a:visited {
  color: #990099;
  text-decoration: underline;
}

a:hover {
  color: #ff0000;
  text-decoration: underline;
}

/* -- 画像と画像リンク -- */
img,
img a,
img a:hover {
  border: 0;
  margin: 0;
  text-decoration: none;
}

/* ---------------------------------------- フォントスタイル フォントサイズ */

body {
  font-size: 80%;
  text-align: center;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  padding: 0;
  margin: 0;
}

/* ---------------------------------------- レイアウトに関する指定 */

#wrapper {
  text-align: left;
  margin: 0 auto;
  width: 920px;
  background: url(http://yamatotakeru999.jp/img/.jpg) repeat-y 0 0;
}

#header {
  width: 100%;
  height: 400px;
  
  margin-bottom: 2em;
  background: url(http://yamatotakeru999.jp/jpg) no-repeat; 
  background-position: 0% 95%;
}

#contents {
  float: right;
  width: 690px;
  padding-right: : -20px;
}

#footer {
  clear: both;
  background: url() no-repeat 0 100%;
}

/* ---------------------------------------- #header内の指定 */

/* -- 見出しレベル1 -- */
h1 {
  font-size: 100%;
  font-weight: normal;
  position: absolute;
  bottom: 20px;
  right: 0px;
}



/* -- グローバルナビゲーション -- */

#header #globalnavi {
  list-style-type: none;
  width: 870px;
  height: 30px;
  position: absolute;
  top: 180px;
  left: 50px;
  overflow: hidden;
}

#header #globalnavi li {
  text-align: center;
  width: 160px;
  height: 30px;
  float: left;
  margin: 0;
  background: url(http://yamatotakeru999.jp/img/bg-globalnavi.jpg) no-repeat -160px 0;
}

#header #globalnavi li a {
  text-decoration: none;
  display: block;
  width: 160px;
  padding: 10px 0;
  background: url(http://yamatotakeru999.jp/img/bg-globalnavi.jpg) no-repeat 0 0;
}

#header #globalnavi li a:hover {
  text-decoration: none;
  background-color: transparent;
  background-image: none;
}

/* ---------------------------------------- #contents内の指定 */

/* -- 見出し -- */
h2,h3,h4,h5,h6 {
  font-size: 100%;
  font-weight: normal;
  margin-bottom: 1em;
  padding:  1em 0 1em 20px;
}

h3,h4,h5,h6 {
  margin-top: 2em;
  background: url(http://yamatotakeru999.jp/img/bg-.jpg) no-repeat 0 50%;
  clear: both;
}

h2 { background: url(http://yamatotakeru999.jp/img/.jpg) no-repeat 0 50%; }

/* -- 文字 -- */
#contents p {
  line-height: 1.8em;
  margin-bottom: 0.5em;
}

/* -- パン屑リスト -- */
#contents .topic-path { margin-bottom: 0.5em; }

/* -- ページ先頭へのリンク -- */
#contents .page-top {
  line-height: normal;
  text-align: right;
  margin-bottom: 2em;
  clear: both;
}

.clear { clear: both; }



/* -- ローカルナビゲーション -- */
.localnavi {
  list-style-type: none;
  margin-bottom: 2em;
}

.localnavi li { display: inline; }

.localnavi a {
  text-decoration: none;
  display: block;
  width: 190px;
  padding: 0.5em 5px;
  background: url(http://yamatotakeru999.jp/img/bg-localnavi1.jpg) no-repeat 0 100%;
  border-bottom: 1px solid #cccccc;
}

.localnavi a:hover {
  text-decoration: none;
  background: url(http://yamatotakeru999.jp/img/bg-localnavi1.jpg) no-repeat -200px 100%;
}



/* ---------------------------------------- #footer内の指定 */

/* -- コピーライト部分 -- */
address {
  text-align: center;
  font-style: normal;
  padding-bottom: 0.5em;
}
 
/* 以下 CSSデザインサンプルクレジット部分 */
#cds { display: none; }


.right {
  float: right;
  margin: 0 0 2em 2em;
}
