@charset "UTF-8";
/* CSS Document */

#header li:nth-child(3) a {
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
  /* move the element up by 5px */
  color: #008842;
  display: inline-block;
  pointer-events: none;
}
#header li:nth-child(3) a:before {
  opacity: 1;
  -webkit-transform: translateY(5px);
  transform: translateY(5px);
  /* move the element down by 5px (it will stay in place because it's attached to the element that also moves up 5px) */
}

#mainimage {
  padding-top: 58px;
}
#mainimage .inner {
  background-color: #1f932f;
  padding-bottom: 70px;
  color: #fff;
}
#mainimage .images {
  margin-left: 10%;
  background-image: url(img/mainimage.jpg);
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: cover;
  position: relative;
  top: -58px;
}
#mainimage .images:before {
  content: "";
  display: block;
  padding-top: 33.8%;
}

#mainimage h1 {
  font-size: 2rem;
  text-align: left;
  padding-left: 6%;
  margin-top: -50px;
}
#mainimage h1 span {
  font-weight: 900;
  font-size: 6rem;
  line-height: 1.2;
}

#location .box01 .float-right3 ul {
  margin: 0;
}

.box_bot {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

@media only screen and (max-width: 767px) {
  #mainimage {
    padding-top: 54px;
  }
  #mainimage .inner {
    padding-bottom: 20px;
  }
  #mainimage .images {
    margin-left: 0;
    height: 150px;
    position: relative;
    top: auto;
  }
  #mainimage .images:before {
    content: "";
    display: none;
    padding-top: 0;
  }

  #mainimage h1 {
    font-size: 1.6rem;
    padding-left: 15px;
    margin-top: 20px;
  }
  #mainimage h1 span {
    font-size: 2.4rem;
    line-height: 1.2;
  }
  .box_bot {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
}
