.hmbg_menu-area {
  display: none;
}
@media (max-width:767px) {
  .hmbg_menu-area {
    display: block;
    box-sizing: border-box;
  }
}
/* ハンバーガーメニューボタン */
#hmbg_menu-button {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100000;
  cursor: pointer;
  margin: 0 auto;
  text-align: center;
  width: 30px;
}
#hmbg_menu-button .hmbg_menu-icon {
  position: relative;
  width: 30px;
  height: 10px;
  margin: 0 auto;
}
#hmbg_menu-button .hmbg_menu-icon .line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #365699;
}
header.ud #hmbg_menu-button .hmbg_menu-icon .line {
  background-color: #365699;
}
#hmbg_menu-button .hmbg_menu-icon .line:nth-of-type(1) {
  top: 0%;
}
#hmbg_menu-button .hmbg_menu-icon .line:nth-of-type(2) {
  top: 100%;
}
#hmbg_menu-button.active .hmbg_menu-icon .line:nth-of-type(1) {
  width: 125%;
  top: 50%;
  transform: rotate(-25deg) translate(-4px, -3px);
  background-color: #365699;
}
#hmbg_menu-button.active .hmbg_menu-icon .line:nth-of-type(2) {
  width: 125%;
  top: 100%;
  transform: rotate(25deg) translate(-6px, -4px) ;
  background-color: #365699;
}

/* メニュー */
#hmbg_menu {
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 99999;
  width: 100%;
  height: 100dvh;
  background-color: #ffffff;
  transition: all 0.3s ease-in-out;
  text-align: left;
}
#hmbg_menu.active {
  right: 0;
}

/* メニュー内 */
.hmbg_menu-inner {
  padding-inline: 20px;
  height: 100%;
  overflow: auto;
}
.hmbg_headline {
  margin: 70px 50px 40px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 21px;
  color: #365699;
}
.hmbg_menu-list {
  list-style: none;
  padding: 80px 10px;
  margin: 40px 0;
}
.hmbg_menu-list li {
  margin-bottom: 20px;
  padding: 12px 0;
  text-align: left;
}
.hmbg_menu-list li a {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 30px;
  color: #365699;
  text-decoration: none;
}
.hmbg_menu-list li a span {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #b4b4b4;
}
.hmbg_menu-title {
  display: flex;
  width: 100%;
  font-size: 10px;
  font-weight: 500;
  color: #232427;
  margin: 50px 0 0 0px;
}
.hmbg_menu-text {
  line-height: 20px;
  padding-left: 20px;
  margin: auto 0;
}