.hmbg_menu-area {
  display: block;
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  .hmbg_menu-area {
    position: relative;
    height: 100%;
    background-color: #3a7b66;
    z-index: 9999999;
  }
  .hmbg_menu-area .logo-area-sp {
    position: relative;
    width: 100%;
    height: 45px;
    background-color: #3a7b66;
    z-index: 1;
  }
}

#hmbg_menu-button {
  position: absolute;
  width: 20px;
  height: 45px;
  top: 50%;
  left: clamp(26.7px, 2.6vw, 50px);
  transform: translate(-50%, -50%);
  z-index: 100000;
  cursor: pointer;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  #hmbg_menu-button {
    width: 33.5px;
    height: 16px;
    top: clamp(16.02px, 1.56vw, 30px);
    left: auto;
    right: clamp(16.02px, 1.56vw, 30px);
    transform: translate(0, 0);
  }
}
#hmbg_menu-button .hmbg_menu-icon {
  position: relative;
  height: 45px;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  #hmbg_menu-button .hmbg_menu-icon {
    height: 100%;
  }
}
#hmbg_menu-button .hmbg_menu-icon .line {
  position: absolute;
  width: 2px;
  background-color: #ffffff;
  height: 45px;
  border-radius: 2px;
}
@media screen and (max-width: 767px) {
  #hmbg_menu-button .hmbg_menu-icon .line {
    width: 100%;
    height: 1px;
  }
  #hmbg_menu-button .hmbg_menu-icon .line:nth-of-type(1) {
    top: 0%;
    left: 0% !important;
  }
  #hmbg_menu-button .hmbg_menu-icon .line:nth-of-type(2) {
    top: 50%;
    left: 0% !important;
  }
  #hmbg_menu-button .hmbg_menu-icon .line:nth-of-type(3) {
    top: 100%;
    left: 0% !important;
  }
}
#hmbg_menu-button .hmbg_menu-icon .line:nth-of-type(1) {
  left: 0%;
}
#hmbg_menu-button .hmbg_menu-icon .line:nth-of-type(2) {
  left: 50%;
}
#hmbg_menu-button .hmbg_menu-icon .line:nth-of-type(3) {
  left: 100%;
}
#hmbg_menu-button.active .hmbg_menu-icon {
  margin: 0 auto;
}
#hmbg_menu-button.active .hmbg_menu-icon .line:nth-of-type(1) {
  left: 50%;
  height: 105%;
  transform: rotate(-25deg) translate(1px, -1px);
  background-color: #ffffff;
}
@media screen and (max-width: 767px) {
  #hmbg_menu-button.active .hmbg_menu-icon .line:nth-of-type(1) {
    top: 50%;
    height: 1px;
    transform: rotate(-25deg) translate(0px, 0px);
  }
}
#hmbg_menu-button.active .hmbg_menu-icon .line:nth-of-type(2) {
  display: none;
}
#hmbg_menu-button.active .hmbg_menu-icon .line:nth-of-type(3) {
  left: 150%;
  height: 105%;
  transform: rotate(25deg) translate(-20px, 8px);
  background-color: #ffffff;
}
@media screen and (max-width: 767px) {
  #hmbg_menu-button.active .hmbg_menu-icon .line:nth-of-type(3) {
    top: 100%;
    height: 1px;
    transform: rotate(25deg) translate(-3px, -8px);
  }
}

#hmbg_menu {
  position: fixed;
  width: calc(clamp(53.4px, 5.21vw, 100px) * 5);
  height: 100dvh;
  background-color: #3a7b66;
  top: 0;
  left: calc(100% - clamp(53.4px, 5.21vw, 100px));
  z-index: 99999;
  transition: all 0.3s ease-in-out;
  text-align: left;
}
@media screen and (max-width: 767px) {
  #hmbg_menu {
    width: 100%;
    height: 50px;
    left: 0;
  }
}
#hmbg_menu.active {
  left: calc(100% - clamp(267px, 26.04vw, 500px));
}
@media screen and (max-width: 767px) {
  #hmbg_menu.active {
    left: 0;
    height: 100%;
  }
  #hmbg_menu.active .hmbg_menu-inner {
    transition: all 0.3s ease-in-out;
    top: 0%;
  }
}
#hmbg_menu .hmbg_menu-inner {
  padding-left: clamp(53.4px, 5.21vw, 100px);
  height: 100%;
  overflow: auto;
  margin-top: clamp(26.7px, 2.6vw, 50px);
  margin-left: auto;
}
@media screen and (max-width: 767px) {
  #hmbg_menu .hmbg_menu-inner {
    position: absolute;
    width: 100%;
    padding-left: 0%;
    top: -200%;
  }
}
#hmbg_menu .hmbg_menu-inner .hmbg_menu-list {
  list-style: none;
  margin-top: clamp(32.04px, 3.13vw, 60px);
  padding-left: clamp(21.36px, 2.08vw, 40px);
}
@media screen and (max-width: 767px) {
  #hmbg_menu .hmbg_menu-inner .hmbg_menu-list {
    margin-top: clamp(13.36px, 10.96vw, 40px);
    padding-left: clamp(13.36px, 10.96vw, 40px);
  }
}
#hmbg_menu .hmbg_menu-inner .hmbg_menu-list li {
  margin-bottom: clamp(10.68px, 1.04vw, 20px);
  text-align: left;
}
#hmbg_menu .hmbg_menu-inner .hmbg_menu-list li a {
  font-size: clamp(16.02px, 1.56vw, 30px);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #ffffff;
  text-decoration: none;
}
@media screen and (max-width: 767px) {
  #hmbg_menu .hmbg_menu-inner .hmbg_menu-list li a {
    font-size: clamp(6.68px, 5.48vw, 20px);
  }
}
#hmbg_menu .hmbg_menu-inner .hmbg_menu-list li a.hmbg_menu-link.sub {
  font-size: clamp(9.61px, 0.94vw, 18px);
}
@media screen and (max-width: 767px) {
  #hmbg_menu .hmbg_menu-inner .hmbg_menu-list li a.hmbg_menu-link.sub {
    font-size: clamp(4.01px, 3.29vw, 12px);
  }
}
#hmbg_menu .hmbg_menu-inner .hmbg_menu-list li a span {
  display: block;
  font-size: clamp(7.48px, 0.73vw, 14px);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #cdad54;
}
@media screen and (max-width: 767px) {
  #hmbg_menu .hmbg_menu-inner .hmbg_menu-list li a span {
    font-size: clamp(3.34px, 2.74vw, 10px);
  }
}
#hmbg_menu .hmbg_menu-inner .hmbg_menu-title {
  display: flex;
  width: 100%;
  font-size: 10px;
  font-weight: 500;
  color: #232427;
  margin: 50px 0 0 0;
}
#hmbg_menu .hmbg_menu-inner .hmbg_menu-text {
  line-height: 20px;
  padding-left: 20px;
  margin: auto 0;
}/*# sourceMappingURL=hmbg_menu.css.map */