@charset "UTF-8";

/*----------------------------------------
  header
------------------------------------------ */

header {
  position: fixed;
  width: 100%;
  left: 0;
  padding: 2rem;
  z-index: 10;
}
header.underHead{
  background: #5cb73b;
}
header.underHead::after{
    content: "";
    background: url(../img/common/underLine.png);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    width: 100%;
    height: 9vw;
    left: 0;
    bottom: -9vw;
}
header h1{
    flex:1;
}
header h1 img{
  max-width:250px;
}
header nav{
  flex:1;
}
header nav ul{
  display:flex;
  justify-content: flex-end;
  gap: 6%;
  padding-top: 3px;
}
header nav ul li a{
  color:#FFF;
  font-weight:900;
}
header nav ul li a:hover {
  color:#f29f07;
}

/**  float **/
#float{
  position: fixed;
  right: 0;
  bottom: 20px;
  z-index: 10;
}
#float a{
  width: 270px;
  position:relative;
}
#float a:hover img:first-of-type {
    opacity: 0;
}
#float a img:last-of-type {
    position: absolute;
    top: 0px;
    left: 0px;
    opacity: 0;
}
#float a:hover img:last-of-type {
    opacity: 1;
}
#float a img{
  width:100%;
  transition: opacity 1s;
}


/*----------------------------------------
  footer
------------------------------------------ */

footer {
  background: #66ad40;
  padding: 8rem 1rem 2rem 1rem;
  position: relative;
}
footer img{
  width:100%;
}
footer:before {
  content: "";
  background: url(../img/common/footer-kusa.png) no-repeat;
  background-size: cover;
  width: 100%;
  height: 16.5vw;
  position: absolute;
  left: 0;
  top: -15vw;
}
footer a.logoLink{
    width: 400px;
    margin: 0 auto;
    display:block;
}
footer ul{
    display: flex;
    gap: 5%;
    justify-content: center;
    margin: 2rem 0 5rem 0;
}
footer ul li a{
  color:#FFF;
  font-weight: 700;
}
footer ul li a:hover {
  color:#f29f07;
}
footer small{
  text-align: center;
  color: #FFF;
  display: block;
}

@media (max-width: 550px) {

  #float a{
    width: 170px;
  }
  footer a.logoLink{
      width: 60%;
  }

}


@media (max-width: 480px) {

  /** header **/

  /** nav **/
  header nav {
    width: 100%;
    display: none;
    background: #5cb73b;
    margin: 0;
    height: 250vw;
    position: fixed;
    left: 0;
    top: 0;
    padding: 3rem;
  }
  header nav ul#menu-global{
    display: block;
  }
  header nav ul li::before {
    display: none;
  }
  header nav ul.flex {
    display: block;
    margin: 0;
    background: #000;
  }
  header nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 0;
  }
  header nav ul li:last-child {
    border: none;
  }
  header nav ul li a {
    color: #FFF;
    font-weight: bold;
    display: block;
  }
  #nav_toggle {
    display: block;
    width: 40px;
    height: 40px;
    margin: 0;
    z-index: 10000;
  }
  #nav_toggle div {
    position: relative;
  }
  #nav_toggle span {
    display: block;
    height: 3px;
    background: #ffffff;
    position: absolute;
    width: 100%;
    left: 0;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
  }
  #nav_toggle span:nth-child(1) {
    top: 0px;
  }
  #nav_toggle span:nth-child(2) {
    top: 12px;
  }
  #nav_toggle span:nth-child(3) {
    top: 24px;
  }
  .open #nav_toggle span:nth-child(1) {
    top: 12px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
  }
  .open #nav_toggle span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  .open #nav_toggle span:nth-child(3) {
    top: 12px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
  }

  /** footer **/
  footer{

  }

}
@media (max-width: 360px) {


}