@charset "UTF-8";

/********************************************************
■ Header : 헤더 - 기본
********************************************************/
:root {
  --top-height: 100px; /* 메뉴높이 */
}

#top {
  position: fixed;
  left: 0;
  right: 0;
  top: calc(-1 * var(--top-height));
  z-index: 190;
  height: var(--top-height);
}
body.m-menu-on #top,
.load-on:not(.scrolled) #top,
.scroll-up #top {
  top: 0;
}

body:not(.m-menu-on).scrolled .is-shop #top,
body:not(.m-menu-on).scrolled .is-subpage #top {
  background: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  transition-duration: 400ms;
}

#top .top-wrap {
  position: relative;
  height: 100%;
  padding: 0 var(--top-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
  transition-duration: 700ms;
}

#top .top-wrap .left {
  width: 200px;
  height: 50px;
}
#top .top-wrap .left .logo {
  display: block;
  height: 100%;
  background: url("../img/logo-white.png?v=2") left center/contain no-repeat;
  transition-duration: 200ms;
}
body:not(.m-menu-on) .is-subpage #top .top-wrap .left .logo,
.scrolled:not(.fullpage):not(.m-menu-on) #top .top-wrap .left .logo,
.no-bg #top .top-wrap .left .logo {
  background-image: url("../img/logo.png?v=2");
}

#top .top-wrap .right {
  position: relative;
  display: flex;
  align-items: center;
  transition-duration: 200ms;
}
#top .top-wrap .right section {
  position: relative;
  margin-right: 20px;
  padding: 20px 0;
}
#top .top-wrap .right section:hover {
  z-index: 3;
}
#top .top-wrap .right section span[class*="-btn"] {
  display: block;
  width: 20px;
  height: 20px;
  background: none no-repeat center/contain;
  filter: invert(10) brightness(10);
  cursor: pointer;
}

body:not(.m-menu-on)
  .is-subpage
  #top
  .top-wrap
  .right
  section
  span[class*="-btn"],
.scrolled:not(.fullpage):not(.m-menu-on)
  #top
  .top-wrap
  .right
  section
  span[class*="-btn"],
.no-bg #top .top-wrap .right section span[class*="-btn"] {
  filter: none;
}

#top .top-wrap .right .top-search .search-btn {
  background-image: url("../img/top-icon-search.png");
}
#top .top-wrap .right .langs .lang-btn {
  background-image: url("../img/top-icon-language.png");
}
#top .top-wrap .right .langs .sub {
  width: 110px;
  text-align: left !important;
}
#top .top-wrap .right .langs .sub img {
  width: 20px;
  border: 1px solid #ddd;
  border-radius: 3px;
}
#top .top-wrap .right .links .member-btn {
  background-image: url("../img/top-icon-login.png");
}
#top .top-wrap .right .sns .sns-btn {
  background-image: url("../img/top-icon-sns.png");
}

#top .top-wrap .right .sns .sub a {
  position: relative;
  text-align: left;
  transition: all 400ms, opacity 400ms var(--sns-delay);
  width: 110px;
  display: block;
  padding: 5px 0 5px 35px;
  z-index: 1;
}
#top .top-wrap .right .sns .sub a:before,
#top .top-wrap .right .sns .sub a:after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(50% - 15px);
  width: 30px;
  height: 30px;
  border-radius: 99px;
}
#top .top-wrap .right .sns .sub a:before {
  z-index: -1;
}
#top .top-wrap .right .sns .sub a:after {
  background: none no-repeat center/22px;
  opacity: 0.8;
  filter: brightness(0);
}

#top .top-wrap .right .sns .sub a.kakao:after {
  background-image: url("../img/sns_icon_kakao_gray.png");
}
#top .top-wrap .right .sns .sub a.instagram:after {
  background-image: url("../img/sns_icon_instagram_gray.png");
}
#top .top-wrap .right .sns .sub a.naver:after {
  background-image: url("../img/sns_icon_naver_gray.png");
}
#top .top-wrap .right .sns .sub a.facebook:after {
  background-image: url("../img/sns_icon_facebook_gray.png");
}
#top .top-wrap .right .sns .sub a.youtube:after {
  background-image: url("../img/sns_icon_youtube_gray.png");
}
#top .top-wrap .right .sns .sub a.twiter:after {
  background-image: url("../img/sns_icon_twiter_gray.png");
}

#top .top-wrap .right .sns .sub a:hover {
  color: #333;
}
#top .top-wrap .right .sns .sub a.kakao:hover:before {
  background: var(--kakao-color);
}
#top .top-wrap .right .sns .sub a.instagram:hover:before {
  background: var(--instagram-color);
}
#top .top-wrap .right .sns .sub a.naver:hover:before {
  background: var(--naver-color);
}
#top .top-wrap .right .sns .sub a.facebook:hover:before {
  background: var(--facebook-color);
}
#top .top-wrap .right .sns .sub a.youtube:hover:before {
  background: var(--youtube-color);
}
#top .top-wrap .right .sns .sub a.twiter:hover:before {
  background: var(--twiter-color);
}
#top .top-wrap .right .sns .sub a:hover:after {
  opacity: 1;
}
#top .top-wrap .right .sns .sub a:not(.kakao):hover:after {
  filter: brightness(0) invert(1);
}

#top .top-wrap .right .sns:hover .sub a {
  opacity: 1;
}
#top .top-wrap .right .sns:hover .sub a:nth-child(1) {
  --sns-delay: 100ms;
}
#top .top-wrap .right .sns:hover .sub a:nth-child(2) {
  --sns-delay: 200ms;
}
#top .top-wrap .right .sns:hover .sub a:nth-child(3) {
  --sns-delay: 300ms;
}
#top .top-wrap .right .sns:hover .sub a:nth-child(4) {
  --sns-delay: 400ms;
}
#top .top-wrap .right .sns:hover .sub a:nth-child(5) {
  --sns-delay: 500ms;
}
#top .top-wrap .right .sns:hover .sub a:nth-child(6) {
  --sns-delay: 600ms;
}

#top .top-wrap .top-search-box {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
}
#top .top-wrap .top-search-box form {
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  padding: 7px 8px 8px;
  width: 300px;
}
#top .top-wrap .top-search-box form .searchbox {
  background: transparent;
  border: 0;
  flex: 1;
}
#top .top-wrap .top-search-box form .searchbox::placeholder {
  color: #ddd;
}
#top .top-wrap .top-search-box form .searchbox:focus {
  outline: none;
}
#top .top-wrap .top-search-box form button {
  background: transparent;
  border: 0;
  color: var(--main-color2);
  flex: 0 0 25px;
  margin-left: 5px;
}
#top .top-wrap .top-search-box form button:focus {
  outline: none;
}
#top .top-wrap .top-search-box form .x-close {
  color: #444;
  font-size: 1.875rem;
  margin-left: 5px;
  cursor: pointer;
  display: flex;
}

#top .top-wrap .right section .sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 25px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid transparent;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  transition-duration: 300ms;
}
#top .top-wrap .right section:hover .sub,
#top .top-wrap .right section .sub:hover {
  max-height: 300px;
  padding: 15px 25px;
  border-color: #ddd;
  opacity: 1;
  visibility: visible;
  transition-duration: 600ms;
}

#top .top-wrap .right section .sub:before {
  content: "";
  position: absolute;
  bottom: calc(100% - 10px);
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 20px;
  height: 20px;
  border-radius: 5px 0 0 0;
  background: #fff;
  border-left: 1px solid #ddd;
  border-top: 1px solid #ddd;
}
#top .top-wrap .right section .sub a {
  display: block;
  padding: 2.5px 0;
  text-align: center;
  opacity: 0;
  font-size: 0.875rem;
  font-weight: 500;
  transition-duration: 400ms;
}
#top .top-wrap .right section:hover .sub a {
  opacity: 1;
}

/* 상단 우측 메뉴버튼 */
#top .top-menu-btn {
  width: 25px;
  height: 26px;
  transition-duration: 300ms;
  z-index: 2;
  cursor: pointer;
}
#top .top-menu-btn div {
  position: relative;
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 99px;
}
#top .top-menu-btn div:before,
#top .top-menu-btn div:after {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
}
#top .top-menu-btn div:before {
  left: 10px;
}
#top .top-menu-btn div:after {
  left: 20px;
}
#top .top-menu-btn div:nth-child(2) {
  margin: 5px 0;
}

.is-subpage #top .top-menu-btn div,
.scrolled:not(.fullpage) #top .top-menu-btn div,
.no-bg #top .top-menu-btn div {
  background: #333;
}

.m-menu-on #top .top-menu-btn div {
  background: #fff !important;
}

@media (max-width: 1400px) {
  #top .top-wrap .left {
    width: 150px;
  }
  #top .top-wrap .right section {
    margin-right: 10px;
  }
}

@media (max-width: 1200px) {
  #top .top-wrap .left {
    width: 120px;
  }
}

@media (max-width: 1024px) {
  :root {
    --top-height: 70px;
  }

  #top {
    margin-top: -40px;
  }
  .load-on:not(.scrolled) #top,
  .scroll-up #top {
    margin-top: 0;
  }
  .scroll-up #top {
    top: calc(-1 * var(--top-height));
  }

  .scrolled:not(.fullpage) #top .top-wrap .left .logo,
  .no-bg #top .top-wrap .left .logo {
    background-image: url("../img/logo-white.png");
  }

  .scrolled:not(.fullpage) #top .top-wrap .right section span[class*="-btn"],
  .no-bg #top .top-wrap .right section span[class*="-btn"] {
    filter: invert(10) brightness(10);
  }

  .scrolled:not(.fullpage) #top .top-menu-btn div,
  .no-bg #top .top-menu-btn div {
    background: #fff;
  }
}

@media (max-width: 767px) {
  :root {
    --top-height: 60px;
  }

  #top .top-wrap .left {
    height: 36px;
  }

  #top .top-wrap .right section {
    margin-right: 10px;
  }

  #top .top-wrap .right .sns {
    display: none;
  }

  #top .top-wrap .right section .sub {
    padding: 0 15px;
  }
  #top .top-wrap .right section:hover .sub,
  #top .top-wrap .right section .sub:hover {
    padding: 10px 15px;
  }

  #top .top-wrap .right .top-search .sub {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    transform: translateX(0);
    padding: 10px 15px;
    z-index: 999;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    transition-duration: 600ms;
  }
  #top .top-wrap .right .top-search .sub:before {
    display: none;
  }

  #top .top-wrap .right .top-search:hover .sub,
  #top .top-wrap .right .top-search .sub:hover {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
  }

  #top .top-wrap .top-search-box {
    opacity: 0;
  }
  #top .top-wrap .top-search-box form {
    width: 100%;
  }

  .on-searchbox #top .top-wrap .right .top-search .sub {
    max-height: 200px;
    opacity: 1;
    visibility: visible;
  }
  .on-searchbox #top .top-wrap .top-search-box {
    opacity: 1;
    transition-duration: 300ms;
  }

  #top .top-menu-btn {
    margin-left: 10px;
  }
}

/********************************************************
■ Menu : 데스크톱 메뉴
********************************************************/
#menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  max-width: 1300px;
  padding: 0 3em;
  transition: all 200ms 700ms;
  font-weight: 600;
}
.m-menu-on #menu {
  opacity: 0;
  visibility: hidden;
  transition-duration: 0ms;
  transition-delay: 0ms;
}

#menu .nav {
  display: none;
}
#menu .swiper {
  font-family: var(--font-serif);
  margin: 0;
  overflow: visible;
  flex: 1;
}
#menu .swiper .li {
  flex: 1 0 auto;
  width: auto !important;
}
#menu .swiper .li:hover {
  z-index: 9;
}
#menu .swiper .li .a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: var(--top-height);
  z-index: 2;
  font-size: 1.25rem;
  color: #fff;
}
#menu .swiper .li .a:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10%;
  width: 7px;
  height: 7px;
  background: var(--main-color1);
  border-radius: 99px;
  transform: translateX(-50%);
  opacity: 0;
  transition-duration: 200ms;
}

.is-subpage #menu .swiper .li .a,
.scrolled:not(.fullpage) #menu .swiper .li .a,
.no-bg #menu .swiper .li .a {
  color: #111;
}

#menu .swiper .li.on .a {
  position: relative;
}
#menu .swiper .li:hover .a:before,
#menu .swiper .li.on .a:before {
  top: 25%;
  opacity: 1;
}
#menu .swiper .li:hover .a {
  color: #fff !important;
}

#menu .sub-wrap {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition-duration: 300ms;
}
#menu .sub-wrap .sub-a {
  display: block;
  text-align: center;
  padding: 5px 10px;
  white-space: nowrap;
  font-weight: 500;
}
#menu .sub-wrap .sub-a span {
  position: relative;
  display: inline-block;
  z-index: 1;
}
#menu .sub-wrap .sub-a span:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition-duration: 300ms;
}
#menu .sub-wrap li:hover > .sub-a {
  font-size: 1.125rem;
}
#menu .sub-wrap li:hover > .sub-a span:before {
  width: 100%;
}
#menu li:hover > .sub-wrap {
  opacity: 1;
  visibility: visible;
}

#menu .depth2 {
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  min-width: 100%;
  padding: 20px;
  z-index: -1;
}
#menu .depth2:before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(-1 * var(--top-height));
  bottom: calc(100% + var(--top-height));
  width: 100%;
  transform: translateX(-50%);
  background: var(--main-color3);
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1);
  z-index: -3;
  transition-duration: 500ms;
}
#menu li:hover .depth2:before {
  bottom: 0;
  transition-delay: 100ms;
}
#menu .depth2 > li {
  position: relative;
}
#menu .depth2 > li > .sub-a {
  color: rgba(255, 255, 255, 0.5);
  margin: 5px 0;
}
#menu .depth2 > li.on > .sub-a,
#menu .depth2 > li:hover > .sub-a {
  color: #fff;
}

#menu .depth3 {
  left: 100%;
  top: 10px;
  min-width: 120px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--main-color3);
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}
#menu .depth3 li.on .sub-a,
#menu .depth3 li:hover .sub-a {
  color: var(--main-color1);
}
#menu li:hover > .depth3 {
  top: 0;
}

@media (max-width: 1200px) {
  #menu .swiper .li .a {
    font-size: 1rem;
  }

  #menu .sub-wrap .sub-a {
    font-size: 0.875rem;
  }

  #menu .depth2 {
    padding: 0 15px 15px;
  }
  #menu .depth3 {
    padding: 10px;
  }
}

@media (max-width: 1024px) {
  #menu {
    position: absolute;
    left: 0;
    top: 100%;
    right: 0;
    max-width: none;
    padding: 0;
    transition: all 300ms 0ms;
  }
  #menu:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: var(--main-color3);
    transition: all 0ms 0ms;
    z-index: -1;
  }
  .is-subpage #menu {
    border-bottom: 1px solid;
    border-color: #e8e8e8;
  }

  #menu .nav {
    display: block;
    color: #fff;
    margin: 0 10px;
    cursor: pointer;
    transition: color 0ms 0ms;
  }
  #menu .nav.swiper-button-disabled {
    opacity: 0.5;
  }

  #menu .swiper {
    width: auto;
    overflow: hidden;
    height: 40px;
  }
  #menu .swiper .li:after {
    display: none;
  }
  #menu .swiper .li .a {
    height: 100%;
    padding: 0 10px;
    transition: color 0ms 0ms;
  }
  #menu .swiper .li .a:before {
    top: 2px;
    width: 4px;
    height: 4px;
  }

  .is-subpage #menu .swiper .li .a,
  .scrolled:not(.fullpage) #menu .swiper .li .a,
  .no-bg #menu .swiper .li .a {
    color: #fff;
  }

  #menu .swiper .li:hover .a:before,
  #menu .swiper .li.on .a:before {
    top: 6px;
    width: 3px;
    height: 3px;
  }

  #menu .sub-wrap {
    display: none;
  }

  .scrolled #menu:before {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    transition: all 200ms 800ms;
  }
  .scrolled #menu .nav {
    color: #fff;
    transition: color 200ms 800ms;
  }
  .scrolled #menu .swiper .li .a {
    color: #fff;
    transition: color 200ms 800ms;
  }
}

@media (max-width: 767px) {
  #menu .swiper .li {
    margin: 0 5px;
  }
}
