﻿html, body {
  background: #DDFFDD;
  font-family: "メイリオ","Hiragino Kaku Gothic Pro",Meiryo,"ヒラギノ角ゴ Pro W3","MS PGothic","MS UI Gothic",Helvetica,Arial,sans-serif;
  line-height: 150%;
  -webkit-text-size-adjust: 100%;
  height: 100%;
  font-size: 18px;
}

div {
  width: 100%;
  background: #ffffff;
  border: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

img {
  max-width:100%;
}

h1, h2, h3, h4, h5, h6{
  margin: 0;
  padding : 0;
}

#wrapper {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

#header1 {
  background: #CCECFF;
  width: 100%;
  height: 70px;
  line-height:70px;
  text-align: center;
  white-space: nowrap;
  font-size: medium;
}

#header2 {  
  background: #CCECFF;
  line-height:30px;
  height: 30px;
}

#footer1 {
  background: #CCECFF;
  text-align:right;
}

.headerImg {
  display: none;
}

.main1 {
  width:100%;
  height: 100%;
}

.mainL {
  width: 100%;
  float: left;
  overflow: auto;
}

.mainS {
  width: 100%;  
  float: left;
  overflow: auto;
}

.mainB {
  clear: both;
  height: 100%;
 }

.center {
   text-align: center;
}

.red {
  color:#ff0000;
}

.green {
  color:#00aa00;
}

.blue {
  color:#0000ff;
}

ul.menu1 {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.menu1 li {
  float: left;
  width: 33.3%;
  overflow: hidden;
}

ul.menu1 a {
  background-color: #DDFFFF;
  color: black;
  display: block;
  text-align: center;
  padding: 0;
  border: 1px #336699 solid;
  text-decoration: none;
  outline: none;
  border-radius: 8px 8px 8px 8px;
  font-size: large;
}

ul.menu1 a:hover{
  background-color: white;
  color: blue;
}

ul.menu1 a:active{
  background-color: white;
  color: #B0C4DE;
}

@media screen and (min-width:900px) {
  div {
    width: 900px;
  }
  #wrapper {
    width: 900px;
  }

  #header1 {
    width: 900px;
    height: 100px;
    line-height:100px;
    font-size: x-large;
  }

  #header1 img{
    vertical-align:middle;
    margin-left:10px;
    margin-right:10px;
  }

  #header2 {  
    line-height:50px;
    height: 50px;
  }

  .headerImg {
    display: inline-block;
  }

  .mainL {
    width: 540px;
  }

  .mainS {
    width: 360px;  
  }

  ul.menu1 li {
    width: 150px;
  }
}
