body {
  min-width: 320px;
background-color:#F0F8FF;
  line-height: 1.5;
  color: #333;
}
img {
  max-width: 100%;
  height: auto;
}
.ie8 img{
  width: auto;
}
/*clearfix*/
.clearfix {
  zoom: 1;
}
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

/*layout
----------------------------------------------------*/
#wrapper {
  max-width: 940px;
  margin: 0 auto;
}
header {
  margin-bottom: 1.5em;
    background-color:#3261ab;
}
header h1 {
  line-height: 1.1;
  font-size: 3em;
  font-weight: normal;
  font-family: 'Marcellus SC', serif;
  color: #000;
  text-align: center;
}
nav ul {
  margin: 0;
  padding: 0;
}
nav ul li {
  float: left;
  width: 20%;
  border-bottom: 1px solid #0b1900;
  background: #c0d860;
  font-family: 'Marcellus SC', serif;
  letter-spacing: 0.1em;
  text-align: center;
    font-size:14px;
}
nav ul li a {
  display: block;
  padding: 5px 0;
  color: #fff;
  text-decoration: none;
}
.ie7 ul{
  background: #1d4000;
}
.ie7 ul li{
  width: 49.84375%;
}
nav ul li:nth-child(odd) a {
  border-right: 1px solid #0b1900;
}
#content {
  padding: 0 10px;
}
article h2 {
  margin: 0.5em 0;
  padding: 0 0 0 10px;
  border-left: 3px solid #000;
  line-height: 1.1;
  font-size: 2em;
  font-weight: normal;
}
article section {
  padding: 10px;
  margin-bottom: 2em;
  background: rgba(255,255,255,0.8);
}
aside{
  margin-bottom: 2em;
  background: rgba(255,255,255,0.8);
}
aside h2 {
  margin: 0.5em 0;
  padding: 0 0 0 10px;
  border-left: 3px solid #000;
  line-height: 1.1;
  font-size: 2em;
  font-weight: normal;
}
aside section{
  padding: 10px;
}
footer {
  clear: both;
  padding: 30px 0;
    background-color:#3261ab;
  color: #fff;
  text-align: center;
}
#kokuban{
 background-image:url('../img/kokuban_b.png');
 width:390px;
 height:278px;
}
#kokuban ul{
 color:#ffffff;
 font-family:HGP�s����;
 padding-left:50px;
 padding-right:50px;
 padding-top:30px;
 padding-bottom:50px;
 font-size:medium;
 line-height:110%;
 list-style-image:url('../img/list7.gif');
}
#kokuban a{
 color:#FF00FF;
}

/*media Queries
----------------------------------------------------*/
@media only screen and (min-width: 600px) {
  header h1 {
    line-height: 1.5;
  }
  nav ul li {
    width: 20%;
  }
  .ie7 nav ul li{
    width: 24.9166%;
  }
  nav ul li a {
    border-right: 1px solid #0b1900;
  }
  nav ul li:last-child a {
    border-right: none;
  }
   /*old IE*/
  nav ul li.last a{
    border-right: none;
  }
  #content {
    padding: 0 20px;
  }
  #content article{
    float: left;
    width: 48.9361%;
    /*620px(8column)/940px*/
  }
  #content aside{
    float: right;
   width: 48.9361%;
    /*300px(4column)/940px*/
  }
#header-1{
float:left;
    width:65.9574%;
    height:100px;
}
#header-2{
float:right;
    width:31.9148%;
    height:100px;
}
}

@media only screen and (min-width: 960px) {
  #content{
    padding: 0;
  }
}
@media screen and (max-width: 400px) {
nav ul li {
width:50%;}
  table {
    border-top: 1px solid #999;
  }
  table td {
    display: block;
    text-align: center;
      text-align:left;
  }
  table th {
    display: block;
    border-top: none;
    border-bottom: none;
    width: 100%;
  }
}
