#header {
  height: auto;
}

#header img {
  position: static;
}

#header #headertxt {
  position: static;
  width: auto;
}

#top {
  text-align: right;
}
#top h1#logo {
  width: 100%;
  padding: 0;
}

#top #logo a, #top h1 a {
  font-size: 13px;
  font-weight: normal;

}

a img {
  max-width: 100%;
}


/*ヘッダーのバナー部分*/
.hd02 {
  margin: 10px 0;
  padding: 10px;
  text-align: center;
  background-color: rgba(225,148,13,0.3);
  border-radius: 20px;
}

.hd02 a {
  font-weight: bold;
}


@media screen and (max-width: 640px) {
  #contents {
    padding-top: 0;
  }

  #footer .inner {
    background-color: initial;
    padding: 0;
  }

}