@charset "UTF-8";
/*---------------------------------------------------------------
　　　common
---------------------------------------------------------------*/
.forSP {
  display: none;
}
@media all and (max-width: 639px) {
  .forSP {
    display: block;
  }
}

.forTab {
  display: none;
}
@media all and (max-width: 767px) and (min-width: 640px) {
  .forTab {
    display: block;
  }
}
@media all and (max-width: 639px) {
  .forTab {
    display: none;
  }
}

.forPC {
  display: block;
}
@media all and (max-width: 639px) {
  .forPC {
    display: none;
  }
}

img {
  width: 100%;
}

body {
  background: url(../images/header_bg.jpg) repeat-x top center;
  margin: 0;
  padding: 0;
  font-family: "M PLUS Rounded 1c";
  color: #333;
}

#container {
  z-index: 0;
  background: url(../../images/top/top_bg.png) repeat-x bottom center;
  position: relative;
}

.mainImg {
  width: 95%;
  max-width: 1300px;
  margin: 0 auto 0;
  padding: 80px 0 20px;
}
@media all and (max-width: 767px) and (min-width: 640px) {
  .mainImg {
    padding: 150px 0 0;
  }
}
@media all and (max-width: 639px) {
  .mainImg {
    width: 95%;
    padding: 90px 0 0;
  }
}

h1 {
  margin: 0;
  padding: 0;
  width: 300px;
  position: absolute;
  z-index: 1;
  top: 22%;
  left: calc(50% - 150px);
}
@media all and (max-width: 767px) and (min-width: 640px) {
  h1 {
    width: 220px;
    top: 30%;
    left: calc(50% - 110px);
  }
}
@media all and (max-width: 639px) {
  h1 {
    position: absolute;
    left: 13px;
    top: 6px;
    color: #333;
    font-size: 26px;
    width: 200px;
    z-index: 0;
  }
}

footer {
  clear: both;
  width: 100%;
  background: #a7c33c;
}
footer .inner {
  width: 100%;
  max-width: 960px;
  padding-top: 30px;
  padding-bottom: 10px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  color: white;
  flex-wrap: nowrap;
}
@media all and (max-width: 767px) and (min-width: 640px) {
  footer .inner {
    flex-wrap: wrap;
  }
}
@media all and (max-width: 639px) {
  footer .inner {
    flex-wrap: wrap;
    text-align: center;
    font-size: 14px;
  }
  footer .inner p, footer .inner copyright {
    margin: auto;
  }
}
footer .inner copyright {
  font-size: 10px;
}
footer .inner a.nagaiBtn {
  display: block;
  width: 170px;
  text-align: center;
  background: #ff6600;
  color: white;
  text-decoration: none;
  padding: 3px 15px;
  border-radius: 15px;
  font-size: 14px;
  margin: 5px 0 0 0;
}
footer .inner a.nagaiBtn:hover {
  background: #ffc000;
}
@media all and (max-width: 639px) {
  footer .inner a.nagaiBtn {
    margin: 10px auto;
  }
}