@charset "utf-8";

#header-wrap {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  pointer-events: none;
}

#header-wrap::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 51;
  height: 88px;
  pointer-events: none;
  opacity: 0;
  background: rgba(5, 5, 5, .36);
  border-bottom: 1px solid rgba(236, 232, 223, .08);
  backdrop-filter: blur(14px);
  transition: opacity .25s ease;
}

body.mega-open #header-wrap::before {
  opacity: 1;
}

#header {
  position: relative;
  width: 100%;
  pointer-events: none;
}

#header .logo {
  position: fixed;
  top: 18px;
  left: clamp(24px, 4.8vw, 82px);
  z-index: 54;
  margin: 0;
  pointer-events: auto;
}

#header .logo a {
  display: block;
  line-height: 1;
}

#header .logo img {
  display: block;
  width: auto;
  height: 54px;
  max-width: 54px;
  object-fit: contain;
}

#header .lnb-line {
  position: fixed;
  top: 30px;
  right: clamp(24px, 4.8vw, 82px);
  z-index: 53;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-height: 28px;
  pointer-events: auto;
}

#lnb > ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0 34px;
  margin: 0;
  padding: 0;
}

#lnb > ul > li {
  position: relative;
  line-height: 1;
  white-space: nowrap;
}

#lnb > ul > li > a {
  position: relative;
}

#lnb > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  opacity: .9;
  transition: width .25s ease;
}

#lnb > ul > li:hover > a::after,
#lnb > ul > li.is-mega-active > a::after,
body.mega-open #lnb > ul > li > a:hover::after {
  width: 100%;
}

#lnb a {
  display: block;
  color: rgba(236, 232, 223, .9);
  font-size: 12px;
  line-height: 28px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .25s ease, opacity .25s ease;
}

#lnb a:hover {
  color: #fff;
}

#lnb > ul > li > ul,
#lnb > ul > li > ul ul,
#lnb .arrow,
#login-box,
#menu-ctl {
  display: none !important;
}

.mega-menu {
  position: fixed;
  top: 88px;
  left: 0;
  right: 0;
  z-index: 52;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .28s ease, visibility .28s ease, transform .28s ease;
}

body.mega-open .mega-menu {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu__inner {
  position: relative;
  min-height: 390px;
  padding: 76px clamp(28px, 4.8vw, 82px) 58px;
  border: 1px solid rgba(236, 232, 223, .16);
  border-left: 0;
  border-right: 0;
  border-radius: 0 0 24px 24px;
  background: rgba(5, 5, 5, .72);
  color: #ece8df;
  backdrop-filter: blur(22px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .32);
}

.mega-menu__visual {
  position: absolute;
  top: 50%;
  left: clamp(28px, 4.8vw, 82px);
  width: min(38vw, 460px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
  background: #111;
  transform: translateY(-50%);
  box-shadow: 0 22px 64px rgba(0, 0, 0, .34);
}

.mega-menu__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(.92) contrast(1.02) brightness(.96);
  transition: opacity 1.15s ease;
}

.mega-menu__image-set {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .32s ease;
}

.mega-menu__image-set.is-active {
  opacity: 1;
}

.mega-menu__image.is-slide-active {
  opacity: 1;
}

.mega-menu__groups {
  display: grid;
  grid-template-columns: minmax(160px, .82fr) minmax(310px, 1.35fr) minmax(210px, 1fr);
  gap: 36px clamp(42px, 4vw, 68px);
  align-content: center;
  align-items: start;
  width: min(69vw, 820px);
  min-height: 250px;
  margin-left: auto;
}

.mega-menu__group {
  min-width: 0;
  opacity: .48;
  transition: opacity .25s ease;
}

.mega-menu__group.is-active,
.mega-menu__group:hover {
  opacity: 1;
}

.mega-menu__title {
  margin-bottom: 22px;
  color: rgba(236, 232, 223, .58);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.mega-menu__group ul {
  display: grid;
  gap: 17px;
}

.mega-menu__group a {
  display: inline-block;
  max-width: 100%;
  color: rgba(236, 232, 223, .86);
  font-size: clamp(16px, 1.12vw, 20px);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -.01em;
  text-transform: none;
  overflow-wrap: anywhere;
  transition: color .2s ease, transform .2s ease;
}

.mega-menu__group a:hover {
  color: #fff;
  transform: translateX(4px);
}

@media screen and (max-width: 1280px) {
  .mega-menu__inner {
    min-height: 370px;
    padding-top: 72px;
  }

  .mega-menu__visual {
    width: min(34vw, 390px);
  }

  .mega-menu__groups {
    grid-template-columns: minmax(150px, .78fr) minmax(285px, 1.32fr) minmax(190px, .94fr);
    gap: 32px clamp(34px, 3.3vw, 48px);
    width: min(71vw, 720px);
  }
}

@media screen and (max-width: 1120px) {
  .mega-menu__visual {
    opacity: .32;
  }

  .mega-menu__groups {
    width: min(92vw, 760px);
  }
}

#m-lnb-wrapper {
  position: fixed;
  inset: 0;
  z-index: 55;
  min-height: 100vh;
  padding: 86px 24px 32px;
  background: rgba(5, 5, 5, .92);
  color: #ece8df;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  backdrop-filter: blur(18px);
  transition:
    opacity .42s cubic-bezier(.22, 1, .36, 1),
    visibility .42s cubic-bezier(.22, 1, .36, 1),
    transform .42s cubic-bezier(.22, 1, .36, 1);
}

#m-lnb-wrapper.on,
body.menu-open #m-lnb-wrapper {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

body.menu-open {
  overflow: hidden;
}

#m-lnb ul {
  display: grid;
  gap: 18px;
}

#m-lnb > ul > li {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity .48s cubic-bezier(.22, 1, .36, 1),
    transform .48s cubic-bezier(.22, 1, .36, 1);
}

body.menu-open #m-lnb > ul > li {
  opacity: 1;
  transform: translateY(0);
}

body.menu-open #m-lnb > ul > li:nth-child(1) {
  transition-delay: .08s;
}

body.menu-open #m-lnb > ul > li:nth-child(2) {
  transition-delay: .12s;
}

body.menu-open #m-lnb > ul > li:nth-child(3) {
  transition-delay: .16s;
}

body.menu-open #m-lnb > ul > li:nth-child(4) {
  transition-delay: .2s;
}

body.menu-open #m-lnb > ul > li:nth-child(5) {
  transition-delay: .24s;
}

body.menu-open #m-lnb > ul > li:nth-child(6) {
  transition-delay: .28s;
}

#m-lnb a {
  display: inline-block;
  color: #ece8df;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: .04em;
}

#m-lnb .depth2 {
  margin-top: 12px;
  padding-left: 16px;
  gap: 10px;
}

#m-lnb .depth2 a {
  font-size: 15px;
  color: rgba(236, 232, 223, .68);
}

#btn-menu-m {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 60;
  display: none;
  width: 32px;
  height: 24px;
  padding: 0;
  pointer-events: auto;
}

#btn-menu-m span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 0 0 8px;
  background: #ece8df;
  transition: transform .25s ease, opacity .25s ease;
}

#btn-menu-m span:last-child {
  margin-bottom: 0;
}

#btn-menu-m.on span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

#btn-menu-m.on span:nth-child(2) {
  opacity: 0;
}

#btn-menu-m.on span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

@media screen and (max-width: 960px) {
  #header .logo {
    top: 18px;
    left: 22px;
  }

  #header .logo img {
    height: 42px;
    max-width: 42px;
  }

  #header .lnb-line {
    display: none;
  }

  .mega-menu {
    display: none;
  }

  #btn-menu-m {
    display: block;
  }
}
