/*!
* copyright 2016 Yoshitaka Koeda ( y_koeda@bignets.jp )
* license: The MIT License
*/
#main-image {
  min-width: 320px;
  background: url(../../img/main_image.jpg);
  background-position: center center;
  background-size: cover;
  height: 600px;
  margin: 0 auto;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}
#main-image p {
  position: relative;
  top: 42%;
  left: 18%;
  font-size: 32px;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  text-shadow: 0px 0px 20px #37cc69;
}

@media screen and (max-width: 1300px) {
  #main-image p {
    left: 14%;
  }
}
@media screen and (max-width: 1200px) {
  #main-image p {
    left: 16%;
    font-size: 30px;
  }
}
@media screen and (max-width: 1100px) {
  #main-image p {
    left: 14%;
  }
}
@media screen and (max-width: 1000px) {
  #main-image p {
    left: 12%;
  }
}
@media screen and (max-width: 900px) {
  #main-image p {
    left: 10%;
  }
}
@media screen and (max-width: 800px) {
  #main-image p {
    left: 8%;
  }
}
@media screen and (max-width: 768px) {
  #main-image {
    height: 400px;
  }

  #main-image p {
    left: 7%;
    font-size: 23px;
    font-weight: bold;
  }
}
@media screen and (max-width: 600px) {
  #main-image p {
    left: 7%;
    font-size: 23px;
  }
}
@media screen and (max-width: 500px) {
  #main-image p {
    left: 6%;
    font-size: 20px;
  }
}
@media screen and (max-width: 425px) {
  #main-image {
    background-position: 48% 50%;
  }
  #main-image p {
    font-size: 16px;
  }
}
#services {
  background: #ebf6f2;
  text-align: center;
}
#services h3 {
  margin: 0;
}
#services h3 img {
  width: 104px;
  height: 100px;
  position: relative;
  top: -50px;
}
#services ul {
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}
#services li {
  display: inline-block;
  padding: 0 40px;
  margin-bottom: 80px;
}
#services li img {
  width: 150px;
  height: 150px;
  margin-bottom: 20px;
}
#services li h4 {
  margin: 0 0 20px 0;
  font-size: 18px;
}
#services li p {
  margin: 0;
  font-size: 12px;
}

@media screen and (max-width: 500px) {
  #services h3 {
    height: 80px;
  }
  #services li {
    margin-bottom: 40px;
  }
}
#discount {
  height: 480px;
  position: relative;
}
#discount h3 {
  margin: 0;
  position: relative;
}
#discount h3 .image {
  display: block;
  height: 480px;
  background: url(../../img/contents/discount.jpg);
  background-position: center center;
  background-size: auto 100%;
}
#discount h3 img {
  width: 100%;
  margin: 0 auto;
  position: absolute;
  top: 0;
  right: -9999px;
  bottom: 0;
  left: -9999px;
}
#discount .description {
  width: 100%;
  position: absolute;
  bottom: 56px;
  font-size: 14px;
  color: #fff;
  text-align: center;
}

@media screen and (max-width: 768px) {
  #discount {
    height: auto;
  }

  #discount h3 .image {
    height: 260px;
  }

  #discount .description p {
    margin-bottom: -20px;
    font-size: 13px;
  }
}
@media screen and (max-width: 425px) {
  #discount h3 .image {
    height: 196px;
  }

  #discount .description p {
    margin-bottom: -33px;
    font-size: 12px;
  }
}
#contact {
  padding: 60px 0 70px 0;
  background: #f2f0e8;
  text-align: center;
}
#contact .alert {
  margin-bottom: 30px;
  font-size: 18px;
}
#contact img {
  width: 325px;
  height: 276px;
}

@media screen and (max-width: 768px) {
  #contact img {
    width: 260px;
    height: 221px;
  }
}
@media screen and (max-width: 425px) {
  #contact img {
    width: 156px;
    height: 133px;
  }
}
header {
  height: 600px;
}
header .navbar {
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

@media screen and (max-width: 768px) {
  header {
    height: 400px;
  }
  header .navbar {
    position: fixed;
  }

  #contents {
    margin-top: 0;
  }
}
