

:root {
  --color-mode-divider-divider-default: rgba(222, 222, 222, 1);
}

.MO-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  align-items: flex-start;
  background-color: #ffffff;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  -webkit-font-smoothing: antialiased;
  transform: translateX(-100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0.32s;
}

.MO-menu.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .MO-menu {
    transition: none;
  }
}

.MO-menu .header {
  position: sticky;
  top: 0;
  z-index: 2;
  flex: 0 0 auto;
  align-self: stretch;
  width: 100%;
  height: 64px;
  background-color: #f8f8f8;
}

.MO-menu .left-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  top: 8px;
  left: 8px;
}

.MO-menu .icon-ghost-button {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.MO-menu .menu {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.MO-menu .menu-wrapper {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.MO-menu .menu-close-icon {
  display: block;
  width: 28px;
  height: 28px;
  background-image: url(../img/close-icon.png);
  background-size: 28px 28px;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0) opacity(0.45);
}

.MO-menu .divider {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--color-mode-divider-divider-default);
  background: none;
}

.MO-menu .menu-2 > .divider {
  display: none;
}

.MO-menu .menu-2 > .link {
  border-bottom: 1px solid var(--color-mode-divider-divider-default);
}

.MO-menu .menu-2 > .link[aria-expanded="true"] {
  border-bottom: 0;
}

.MO-menu .menu-2 > .submenu.is-open {
  border-bottom: 1px solid var(--color-mode-divider-divider-default);
}

.MO-menu .frame {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 1 1 auto;
}

.MO-menu .menu-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.MO-menu .link {
  display: flex;
  height: 56px;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  position: relative;
  align-self: stretch;
  width: 100%;
  box-sizing: border-box;
  border: 0;
  margin: 0;
  background-color: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  text-decoration: none;
}

.MO-menu .link__label {
  color: var(--black-1);
  position: relative;
  flex: 1;
  font-family: var(--MO-body-meium-18-font-family);
  font-weight: var(--MO-body-meium-18-font-weight);
  font-size: var(--MO-body-meium-18-font-size);
  letter-spacing: var(--MO-body-meium-18-letter-spacing);
  line-height: var(--MO-body-meium-18-line-height);
  font-style: var(--MO-body-meium-18-font-style);
}

.MO-menu .link__label--muted {
  color: #222222;
}

.MO-menu .link__arrow {
  position: relative;
  width: 24px;
  height: 24px;
  flex: none;
  object-fit: contain;
}

.MO-menu .submenu {
  display: none;
  flex-direction: column;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
  position: relative;
  flex: 0 0 auto;
  background-color: var(--gray-5);
  box-sizing: border-box;
}

.MO-menu .submenu.is-open {
  display: flex;
}

.MO-menu .submenu__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  position: relative;
  align-self: stretch;
  width: 100%;
  box-sizing: border-box;
  border: 0;
  margin: 0;
  background-color: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  text-decoration: none;
}

.MO-menu .submenu__label {
  position: relative;
  flex: 1;
  margin-top: -1px;
  font-family: var(--MO-body-meium-18-font-family);
  font-weight: var(--MO-body-meium-18-font-weight);
  color: var(--gray-1);
  font-size: var(--MO-body-meium-18-font-size);
  letter-spacing: var(--MO-body-meium-18-letter-spacing);
  line-height: var(--MO-body-meium-18-line-height);
  font-style: var(--MO-body-meium-18-font-style);
}

.MO-menu .submenu__item.is-active .submenu__label {
  color: var(--neon);
}

.MO-menu button:focus-visible,
.MO-menu a:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: -2px;
}

html.mo-menu-open,
body.mo-menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.mo-menu-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

body.mo-menu-open .MO-SUPPORT .header,
body.mo-menu-open .MO-CEO .header,
body.mo-menu-open .MO-TQMS .header,
body.mo-menu-open .MO-home .header,
body.mo-menu-open .MO-SUPPORT .mo-tabs,
body.mo-menu-open .MO-CEO .mo-tabs,
body.mo-menu-open .MO-TQMS .mo-tabs {
  z-index: 0;
  pointer-events: none;
}

@media (min-width: 768px) {
  .MO-menu {
    left: auto;
    right: 0;
    width: 25%;
    max-width: 25%;
    z-index: 3000;
    transform: translateX(100%);
    box-shadow: calc(-16 * 100vw / 1920) 0 calc(40 * 100vw / 1920) rgba(0, 0, 0, 0.12);
  }

  .MO-menu.is-open {
    transform: translateX(0);
  }

  .MO-menu .header {
    height: calc(80 * 100vw / 1920);
    background-color: #f8f8f8;
  }

  .MO-menu .left-item {
    position: absolute;
    top: calc(24 * 100vw / 1920);
    right: calc(20 * 100vw / 1920);
    left: auto;
    gap: 0;
  }

  .MO-menu .icon-ghost-button,
  .MO-menu .menu-wrapper {
    width: calc(32 * 100vw / 1920);
    height: calc(32 * 100vw / 1920);
  }

  .MO-menu .menu-close-icon {
    width: calc(24 * 100vw / 1920);
    height: calc(24 * 100vw / 1920);
    background-size: calc(24 * 100vw / 1920) calc(24 * 100vw / 1920);
  }

  .MO-menu .link {
    height: auto;
    min-height: calc(72 * 100vw / 1920);
    gap: calc(12 * 100vw / 1920);
    padding: calc(16 * 100vw / 1920) calc(24 * 100vw / 1920);
  }

  .MO-menu .link__label {
    font-family: "Pretendard", Helvetica, sans-serif;
    font-size: calc(22 * 100vw / 1920);
    font-weight: 600;
    line-height: calc(30 * 100vw / 1920);
    letter-spacing: 0;
  }

  .MO-menu .link__arrow {
    width: calc(24 * 100vw / 1920);
    height: calc(24 * 100vw / 1920);
  }

  .MO-menu .submenu {
    padding: calc(8 * 100vw / 1920) 0;
  }

  .MO-menu .submenu__item {
    min-height: calc(52 * 100vw / 1920);
    padding: calc(12 * 100vw / 1920) calc(24 * 100vw / 1920);
  }

  .MO-menu .submenu__label {
    font-family: "Pretendard", Helvetica, sans-serif;
    font-size: calc(18 * 100vw / 1920);
    font-weight: 500;
    line-height: calc(26 * 100vw / 1920);
    letter-spacing: 0;
  }
}
