.wrapper{
  width: 100%;
  height: 100%;
  background-color:#d1e8ff;
  font-family: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic'
}
body {
   margin: 0;
   padding: 0;
}
.contents {
    position: relative;
}
.visual {
  width: 100%;
  height: auto;
  margin: 0 auto;
  text-align: center;
  background-repeat: no-repeat;
}
.visual img{
  max-width: 100%;
  width: 100%;
  height: 100%;
}
.nav-wrapper { /* .navの領域確保用 */
    width: 100%;
    height: 85px;
   margin: 0 auto;
    top: 0;
    left: 0;
    height: 40px;
    display: table;
  list-style-type: none;
}
.nav {
  width: 100%;
  max-width: 1349px;
  margin: 0 auto;
  padding: 0;
    top: 0;
    left: 0;
    height: 40px;
    display: table;
  list-style-type: none;
}
.nav li{
  display: block;
  width: 12.5%;
  float: left;
  padding: 0;
  margin: 0;
  text-align: center;
}
.nav li a {
  display: block;
  color:#00ccff;
  font-size: 16px;
  font-weight: bold;
  padding: 8px 0;
  text-decoration:none;
  background:#fff;
  text-align: center;
  line-height: 24px;
  border-right: 2px solid #00ccff;
}
.nav li a:hover{
  background-color: #555;
}
.nav li:last-child a{
  border-right: none;
}
.nav li:nth-child(1) a{
  background-color: #555;
}
.nav-wrapper.is-fixed {
    position: fixed;
}
#toggle{
  display: none;
}
.main {
    width: 80%;
    height: 100%;
    margin: 40px auto;
    background: #efefef;
}
.main h2{
  width: auto;
  color: #666;
  font-weight: bold;
  line-height: 50px;
  margin-bottom: 10px;
  background-image: url(image/favicon.png);
  background-size: 32px 32px;
  background-repeat : no-repeat;
  background-position: 10px center;
  padding-left: 50px;
}
.main h1{
  width: auto;
  color: #666;
  font-weight: bold;
  line-height: 50px;
  margin-bottom: 10px;
  background-image: url(image/favicon.png);
  background-size: 32px 32px;
  background-repeat : no-repeat;
  background-position: 10px center;
  padding-left: 50px;
}
.main p{
  color: #666;
  font-weight: bold;
  line-height: 25px;
  padding-left: 90px;
  clear: both;
}
.main img{
  width: 40%;
  float: left;
  padding: 0px;
}
.main .aaa{
  float: left;
}

footer {
  width: 100%;
  margin: auto;
  background: #efefef;
  }
footer p{
  text-align: center;
  margin: auto;
}
.samile p{
  line-height: 50px;
}
  .chuui p{
    font-size: 10px;
    text-align: left;
}
/* 画面サイズが1024px以下の場合に適用 */

@media screen and (max-width: 1039px) {
.nav li {
width: 25%;
border-bottom: 1px solid #4baacb;
}
.nav li:nth-child(4) a{
  border-right: none;
}
.main {
    width: 100%;
    height: 100%;
    margin: 70px auto;
    background: #efefef;
}
/*.main h2{
  width: auto;
  color: #666;
  font-weight: bold;
  line-height: 70px;
  padding-left: 20px;
  background-size:6%;
  background-repeat : no-repeat;
  background-position: 5px center;
  padding-left: 8%;
}*/
  .main p{
  color: #666;
  font-weight: bold;
  line-height: 30px;
  padding-left: 100px;
  clear: both;
}
.main img{
  width: 70%;
  padding: 0px;
}
  .main .aaa{
  float: none;
}
.nav-wrapper.is-fixed {
    position: fixed;
}
footer {
  width: 100%;
  margin: auto;
  background: #efefef;
  }
footer p{
  text-align: center;
  margin: auto;
}
  .chuui p{
    font-size: 12px;
    text-align: left;
}
  .samile p{
  line-height: 50px;
}
}
  /* 画面サイズが520px以下の場合に適用 */
@media screen and (max-width: 520px) {
.wrapper{
  width: 100%;
  background-color:#d1e8ff;
}
.nav {
display: none;
}
.nav li {
width: 100%;
}
.nav li:first-child a{
  border-right: none;
}
  .nav li:nth-child(2) a{
  border-right: none;
}
    .nav li:nth-child(3) a{
  border-right: none;
}
    .nav li:nth-child(5) a{
  border-right: none;
}
    .nav li:nth-child(6) a{
  border-right: none;
}
    .nav li:nth-child(7) a{
  border-right: none;
}
#toggle {
display: block;
position: relative;
width: 100%;
background: #2a83a2;
}
#toggle a{
display: block;
position: relative;
padding: 20px 0 20px;
border-bottom: 1px solid #4baacb;
color:#FFF;
text-align: center;
text-decoration: none;
}
.nav-wrapper.is-fixed {
    position: fixed;
  }
#toggle:before {
display: block;
content: "";
position: absolute;
top: 50%;
left: 10px;
width: 30px;
height: 30px;
margin-top: -15px;
background: #FFF;
}
#toggle a:before, #toggle a:after {
display: block;
content: "";
position: absolute;
top: 50%;
left: 10px;
width: 30px;
height: 6px;
background: #2a83a2;
}
#toggle a:before {
margin-top:-9px;
}
#toggle a:after {
margin-top: 3px;
}
.main {
    width: 100%;
    height: 100%;
    margin: 70px auto;
    background: #efefef;
}
.main h2{
font-size: 20px;
}
.main h1{
font-size: 20px;
}
.main p{
  color: #666;
  font-weight: bold;
  line-height: 30px;
  padding-left: 30px;
  clear: both;
  padding-left: 5%;
}
.main img{
  width: 70%;
  float:left;
  padding: 0;
  margin: 0px;
}
  .main .aaa{
  float: none;
}
  footer {
  width: 100%;
  margin: auto;
  background: #efefef;
  }
footer p{
  text-align: center;
  margin: auto;
}
  .samile p{
  line-height: 40px;
}
  .chuui p{
  font-weight: 500;
    font-size: 8.6px;
  }
@media screen and (max-width: 380px) {
  .main{
    width: 100%;
    height: 100%;
  }
  .main h2{
  color: #666;
  font-weight: bold;
  line-height: 38px;
    font-size: 20px;
  background-position: 10px 5px;
  }
 .main h1{
  color: #666;
  font-weight: bold;
  line-height: 38px;
    font-size: 20px;
  background-position: 10px 5px;
  }
  .main p{
    padding-left: 5%;
  }
}