/*reset style*/
@font-face {font-family : "Mplus 1p", "meiryo";}
body,p,h1,h2,h3,h4,h5,h6,ul,ol,li,dl,dt,dd,table,caption,form,fieldset,legend{margin:0; padding:0;}
li{list-style-type:none;}
img, fieldset{border:none;}
img{vertical-align:middle;}
input{vertical-align:top;}
address, em{font-style:normal;}
li img{vertical-align:top;}
body {background-color: #dfdfdf;}
a {text-decoration: none; color: white; border: none; font-family : "Mplus 1p", "meiryo";}
a:hover {opacity: 0.7;}
* {font-family: "Mplus 1p", "meiryo"; }
/*reset style*/

#container {
  width: 1000px;
  height: 100%;
  margin: 0 auto;
  padding: 0 2% ;
  background-color: white;
}
/*navigation*/
#header {
  width: 100%;
  height: 100%;
  background-color: white;
  margin-bottom: 2%;
}
#header_logo {
  width: 100%;
  height: 85px;
  background-color: white;
}
#header_logo1 {
  width: 37.2%;
  height: 85px;
  background-image: url("../images/logo_1.jpg");
  background-repeat: no-repeat;
  float: left;
  cursor: pointer;    
}
#header_logo2 {
  width: 37.2%;
  height: 85px;
  background-image: url("../images/logo_2.jpg");
  background-repeat: no-repeat;
  float: right;
}
.menu {
  width: 100%;
  height: 38px;
  background-color: #339f65;
  font-size: 1em;
  position: relative;
}
.menu ul {
  margin: 0 auto;
  width: 45%;
  height: 38px;
  font-size: 1em;
}
.menu li {
  display: inline;
  float: left;
}
.tab1 {
  width: 70px;
  text-align: center;
}
.tab2 {
  width: 150px;
  text-align: center;
}
.tab3 {
  width: 150px;
  text-align: center;
}
.tab4 {
  width: 80px;
  text-align: center;
}
.menu a {
  display: inline-block;
  text-decoration: none;
  line-height: 38px;
/*  text-shadow: 1px 1px 0px #283744;*/
}
.menubar:before, .menubar:after {
  content: "";
  display: table;
}
.menubar:after {
  clear: both;
}
.menubar {
  zoom:1;
}
.menu li a {
  box-sizing: border-box;
}
.menu #trigger {
  display: none;
}
/* article */
article {
  width: 100%;
  height: auto;  
  margin: 0 auto;
}
article h1 {
    margin: 30px 20px;
    border-top: 5px solid #86d68c;
    border-bottom: 2px solid #86d68c;
    padding: 10px 0;
    color: #5a5a5a;
}
article h2 {
    margin: 30px 20px;
    color: #848484;
}
article p {
    margin: 20px 20px;
}
/* footer */
footer {
  background-color: #339f65;
  height: 40px;
}
footer p {
  color: white;
  font-size: 1em;
  text-align: center;  
  line-height: 40px;
}


@media screen and (max-width:640px){
  #header {
    width: 100%;
  }
  #header_logo {
    width: 100%;
    height: auto;
  }
  #header_logo1 {
    width: 100%;
    margin:0 auto;
    float: none;
  }
  #header_logo2 {
    width: 100%;
    margin:0 auto;
    float: none;
  }
  .menu {
    width: 100%;
    height: auto;
  }
  .menu ul {
    width: 100%;
    display: block;
    height: auto;
  }
  .menu li {
    width: 50%;
    float: left;
    position: relative;
  }  
  #container {
    width: auto;
  }
 /* article */
  article {
    width: 100%;
    height: auto;
  }  
/* footer */
  footer {
    clear: both;
    margin-top: 1.5%;
  }
}

@media screen and (max-width:430px){
  #container {
    width: 100%;
  }
  #header {
    width: 100%;
    height: 100%;
  }
  #header_logo {
    width: 100%;
    height: 100%;
  }
  #header_logo1 {
    background-image: url(../images/logo_m_1.jpg);
    width: 100%;
    height: 64px;
    float: none;
  }
  #header_logo2 {
    background-image: url(../images/logo_m_2.jpg);
    width: 100%;
    height: 64px;
    float: none;
  }
  .menubar {
    width: 100%;
  }
  .menu ul {
    display: none;
    height: auto;
  }
  .menu li {
    display: block;
    float: none;
    width: 100%;
    border-bottom: 1px solid #dce5ec;
  }
  .menu a#trigger {
    display: block;
    text-indent: 20px;
    background-color: #222222;
    width: 100%;
    position: relative;
  }
  .menu a#trigger:after {
    content: "";
    background: url('../images/nav.png') no-repeat;
    width: 30px;
    height: 30px;
    display: inline-block;
    position: absolute;
    right: 15px;
    top:10px;
  }  
/* article */
  article {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
/* footer */
  footer {
    width: 100%;
    margin: 0 auto;
    background-color: #339f65;
/*    padding: 2% 0;*/
  }
  footer p {
    color: white;
    font-size: 0.9em;
    text-align: center;
  }
}