@charset "utf-8";
/*==========================================
 body
===========================================*/
body {
  width: 100%;
  background-color:#FFF;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  color:#000;
}
a {
  color:#000;
  text-decoration:none;
}
a:hover {
  color:#333;
  text-decoration:underline;
}
/*==========================================
 ヘッダー
===========================================*/
header {
  text-align:left;
  color:#ffffff;
  background-color:#800000;
  line-height: 20px;
}

header h1 {
  margin:0 auto;
  padding:5px 10px 0px 10px;
  width:100%;
}
header h1 a {
  color:#ffffff;
  text-decoration: none;
}
header h1 a:hover {
  color:#ffffff;
  text-decoration: underline;
}
header h2 {
  margin:0 auto;
  padding:0px 10px 2px 10px;
  /*width:100%;*/
  font-size:small;
}
header h2 a {
  color:#ffffff;
  text-decoration: none;
}
header h2 a:hover {
  color:#ffffff;
  text-decoration: underline;
}

header {
  position:relative;
  overflow:hidden;
}

/*==========================================
 グローバルナビゲーション
===========================================*/
nav ul {
  margin-bottom: 1px;
}
nav ul li {
  text-align: center;
  float: left;
  margin: 5px 0 0 5px;
}
nav ul li a{
  display: block;
  width: 100%;
}

/*==========================================
 コンテンツエリア
===========================================*/
div#contents {
  padding-bottom: 5px;
}

/*==========================================
 コンテンツエリア
===========================================*/
div#contents section#window {
  margin-left: 0px;
}
div#contents section#window h2 {
  color: #800000;
  border-left: 5px solid #804000;
  border-bottom: 1px solid #804000;
  padding: 1px 5px;
  margin: 5px;
}
div#contents section#window h3 {
  color: #008080;
  margin: 5px;
}
div#contents section#window h3 a {
  color: #008080;
}
div#contents section#window h3 a:hover {
  color: #008080;
}
div#contents section#window h4 {
  color: #008080;
  border-left: 5px solid #804000;
  border-bottom: 1px solid #804000;
  padding: 1px 5px;
  margin: 5px;
}
div#contents section#window article p {
  font-size: small;
  line-height: 130%;
  margin: 8px;
}
div#contents section#window article p a {
  text-decoration: underline;
}
div#contents section#window article p a:hover {
  text-decoration: none;
}
div#contents section#window article p img {
	margin: 0px;
	margin-right: 5px;
}

/*==========================================
 コンテンツエリア -> 左
===========================================*/
div#contents section#lwindow {
  margin-left: 0px;
}
div#contents section#lwindow h2 {
  color: #800000;
  border-left: 8px solid #804000;
  /*border-bottom: 1px solid #804000;*/
  padding: 1px 5px;
  margin: 5px;
}
div#contents section#lwindow h2 a {
  color:#800000;
  text-decoration: none;
}
div#contents section#lwindow h2 a:hover {
  color:#800000;
  text-decoration: underline;
}

div#contents section#lwindow h3 {
  color: #008080;
  margin: 5px;
}
div#contents section#lwindow h3 a {
  color: #008080;
}
div#contents section#lwindow h3 a:hover {
  color: #008080;
}
div#contents section#lwindow h4 {
  color: #008080;
  border-left: 5px solid #804000;
  border-bottom: 1px solid #804000;
  padding: 1px 5px;
  margin: 5px;
}
div#contents section#lwindow article p {
  font-size: small;
  line-height: 130%;
  margin: 8px;
}
div#contents section#lwindow article p a {
  text-decoration: underline;
}
div#contents section#lwindow article p a:hover {
  text-decoration: none;
}
div#contents section#lwindow article p img {
	margin: 0px;
	margin-right: 5px;
}

/*==========================================
 コンテンツエリア -> 中
===========================================*/
div#contents section#cwindow {
  margin-left: 0px;
}
div#contents section#cwindow h2 {
  color: #800000;
  border-left: 8px solid #804000;
  /*border-bottom: 1px solid #804000;*/
  padding: 1px 5px;
  margin: 5px;
}
div#contents section#cwindow h3 {
  color: #008080;
  margin: 5px;
}
div#contents section#cwindow h3 a {
  color: #008080;
}
div#contents section#cwindow h3 a:hover {
  color: #008080;
}
div#contents section#cwindow h4 {
  color: #008080;
  border-left: 5px solid #804000;
  border-bottom: 1px solid #804000;
  padding: 1px 5px;
  margin: 5px;
}
div#contents section#cwindow article p {
  font-size: small;
  line-height: 130%;
  margin: 8px;
}
div#contents section#cwindow article p a {
  text-decoration: underline;
}
div#contents section#cwindow article p a:hover {
  text-decoration: none;
}
div#contents section#cwindow article p img {
	margin: 0px;
	margin-right: 5px;
}

/*==========================================
 コンテンツエリア -> 右
===========================================*/
div#contents section#rwindow {
  margin-left: 0px;
} 
div#contents section#rwindow h2 {
  color: #800000;
  border-left: 8px solid #804000;
  /*border-bottom: 1px solid #804000;*/
  padding: 1px 5px;
  margin: 5px;
}
div#contents section#rwindow h3 {
  color: #008080;
  margin: 5px;
}
div#contents section#rwindow h3 a {
  color: #008080;
}
div#contents section#rwindow h3 a:hover {
  color: #008080;
}
div#contents section#rwindow h4 {
  color: #008080;
  border-left: 5px solid #804000;
  border-bottom: 1px solid #804000;
  padding: 1px 5px;
  margin: 5px;
}
div#contents section#rwindow article p {
  font-size: small;
  line-height: 130%;
  margin: 8px;
}
div#contents section#rwindow article p a {
  text-decoration: underline;
}
div#contents section#rwindow article p a:hover {
  text-decoration: none;
}
div#contents section#rwindow article p img {
	margin: 0px;
	margin-right: 5px;
}

/*==========================================
 ページトップへボタン
===========================================*/
a#pagetopBtn img {
  position: fixed;
  bottom: 10px;
  right: 1px;
}

/*==========================================
 フッター
===========================================*/
footer {
  text-align: center;
  color:#ffffff;
  background-color:#800000;
}
footer div {
  margin:0 auto;
  padding:5px 10px;
  width:100%;
}
footer div p {
  font-size: 0.7em;
  line-height: 1.5em;
}
footer div small {
  font-size: 0.6em;
}

/* PC向けレイアウトの指定：980px以上では固定レイアウト */
@media only screen and (min-width: 980px) {
  header {
    width:980px;
    margin-left:auto;
    margin-right:auto;
  }
  nav {
    width:980px;
    margin-left:auto;
    margin-right:auto;
  }
  nav ul{
    margin-left: auto;
    margin-right: auto;
  }
  div#contents {
    max-width: 980px;
    margin: 0 auto;
  }
  div#contents section#window {
    width: 100%;
    float: left;
  }
  div#contents section#lwindow {
    width: 33%;
    float: left;
  }
  div#contents section#cwindow {
    width: 42%;
    float: left;
  }
  div#contents section#rwindow {
    width: 24%;
    float: right;
  }
  footer {
    width:980px;
    margin-left:auto;
    margin-right:auto;
  }
}