#mask {
  position: fixed;
  z-index: 1000;
  background: rgba(38, 70, 83, 0.45);
  inset: 0;
  display: none;
}

body.menu-open {
  overflow: hidden;
}

.header-mm {
  z-index: 1;
  border: 1px solid color-mix(var(--color3) 60%, #ffff);
  color: var(--color4);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-family: inherit;
  flex-shrink: 0;
  transition: 500ms;
  background: color-mix(var(--color3) 4%, #ffff);
  height: 44px;
  aspect-ratio: 1;
  width: 44px;
  cursor: pointer;
  padding: 0;
  @media (width>=1200px) {
    display: none;
  }
}

.header-mm::after {
  content: "";
  position: absolute;
  background-color: #fff;
  z-index: -1;
  inset: 0;
  width: 0;
  transition: width 500ms;
  border-radius: 50%;
}

.header-mm:hover {
  color: var(--color1);
  border-color: var(--color1);
}

.header-mm:hover::after {
  width: 100%;
}

#menumobile {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  width: min(320px, 88vw);
  background-color: #fff;
  border-radius: 16px 0 0 16px;
  box-shadow: -8px 0 32px rgba(38, 70, 83, 0.12);
  transform: translateX(110%);
  pointer-events: none;
  overflow: hidden;
  transition: transform 0.35s ease;
}

#menumobile.come-menumobile {
  transform: translateX(0);
  pointer-events: auto;
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border_light);
  flex-shrink: 0;
}

.mobile-menu__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.mobile-menu__logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.mobile-menu__title {
  margin: 0;
  margin-left: auto;
  font-size: 16px;
  color: var(--color4);
  font-family: var(--bold_font);
  font-variation-settings: var(--w-600);
}

.mobile-menu__logo + .mobile-menu__title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border_light);
  border-radius: 50%;
  background: #fff;
  color: var(--color4);
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-menu__close:hover {
  border-color: var(--color3);
}

.mobile-menu__close i {
  font-size: 12px;
  line-height: 1;
}

.main-mm {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 8px 18px calc(18px + env(safe-area-inset-bottom, 0px));
}

.main-mm > ul {
  height: 100%;
  overflow-y: auto;
}

.main-mm ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-mm ul li a {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 48px;
  padding: 10px 0;
  color: var(--color4);
  font-size: 15px;
  line-height: 1.6;
  border-bottom: 1px solid var(--border_light);
}

.main-mm ul li a:hover {
  color: var(--color1);
}

.main-mm .menu-item-has-children > a {
  padding-left: 40px;
}

.main-mm ul li > .sub-menu {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 100%;
  padding: 8px 18px 18px;
  background-color: #fff;
  transform: translateX(110%);
  transition: transform 0.3s ease;
  z-index: 2;
  overflow-y: auto;
}

.main-mm .sub-menu.come-submenu {
  transform: translateX(0);
}

.title-sub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border_light);
  flex-flow: row-reverse;
}

.title-sub-head .float-left,
.title-sub-head .float-right {
  float: none;
}

.title-subcome {
  color: var(--color1);
  font-size: 15px;
  font-variation-settings: var(--w-600);
}

.childer::before,
.sub-closer::before {
  content: "\e910";
  font-family: "icomoon";
  font-size: 10px;
}

.sub-closer::before {
  transform: rotate(180deg);
}

.childer,
.sub-closer {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color4);
  cursor: pointer;
}

.sub-closer {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  flex-shrink: 0;
}

.childer:hover,
.sub-closer:hover {
  color: var(--color1);
}
