@import './fonts.css';
@import './reset.css';
@import './common.css';


/* header */
.header{
  position: fixed;
  background: #fff;
  width: 100%;
  z-index: 99;
}
.header.on::before{
  /* border: 1px solid rebeccapurple;
  height: 182px;
  background: #fff;
  opacity: 0.9;
  position: absolute;
  top: 100%;left: 0;width: 100%;
  content: ''; */
}
.header .common-inner{ 
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px;
  max-width: 1920px;
}
.header .logo{
  width: 223px;
  height: 35px;
}
.header .logo a{
  display: block;
  height: 100%;
}
.gnb{
  height: 100%;
  display: flex;  
  align-items: center;
  justify-content: center;
  margin-left: 29px;
}
.gnb .nav-list{
  display: flex;
  gap: 20px;  
  font-size: 17px;
  font-weight: 500;
  height: 100%;
}
.gnb .nav-item{
  display: flex;
  align-items: center;
  font-size: 17px;
  line-height: 32px;
  letter-spacing: -0.36px;
  position: relative;
}
.gnb .nav-item.hover::after{
  content: '';
  position: absolute;
  left: 0;top: 64px;
  width: 100%;
  height: 182px;
  background: rgba(225,225,225,0.9);
}
.gnb .nav-item:hover{
  color:#D93097;
}
.gnb .nav-item .sub-list{ /*서브메뉴 수정 AI 와 fashion 분리*/
  flex-direction: column;
  position: absolute;
  min-width: 100%;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 1px);
  background: var(--Gray-000);
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 12px 15px -6px rgba(0, 0, 0, 0.15);
  display: none;
}
.gnb .nav-item .sub-list.on{
  padding: 10px 10px;
  display: flex;
  background:#fff;
}
.gnb .nav-item .sub-item{
  width: auto;
  font-size: 0.9375rem;
  line-height: 40px; 
  letter-spacing: -0.36px;
}
.gnb .nav-item .sub-item:hover{
  background-color: #D93097;
  color: #fff;
}
.gnb .nav-item .sub-item a{
  padding: 10px 10px;
  white-space: nowrap;
  color: #333;
  padding: 15px 0;
}


/* util-area */
.header .util-area{
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 20px;
  font-size: 17px;
  line-height: 32px;
  letter-spacing: -0.36px;
  font-weight: bold;
}
.header .util-area .lang-wrap{
  position: relative;
}
.header .util-area .lang-wrap button{ 
  padding: 0 10px;
}
.header .util-area .lang-wrap button:after{
  content: '';
  display: inline-block;
  vertical-align: 3px;
  margin: 13px 0 0 10px;
  background-position: -122px -93px;
  width: 10px;
  height: 6px;
}
.header .util-area .lang-wrap.on button:after{
  transform: rotate(180deg);
} 
.header .util-area .lang-wrap ul{
  display: none;
  position: absolute;
  background: #fff;
  padding: 0 10px;

 } 
.header .util-area .lang-wrap.on ul{
  display: block;
}
.dimmed{
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s ease;
  position: fixed;
  top: 0;right: 0;bottom: 0;left: 0;
  background: rgba(0,0,0,0.5);
  z-index: 15;
}


/* footer */
.footer{
  background-color: #f2f2f2;
}
.footer .common-inner{max-width: 1920px;}
.footer .footer-flex{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0;
}
.footer .footer-flex .wrap{
  display: flex;
  align-items: center;
}
.footer .footer-flex .link-area{
  font-size: 18px;
  line-height: 32px;
  letter-spacing: -0.32px;
  color: #000;
  font-weight: bold;
}
.footer .footer-flex .policy-area{
  margin-left: 30px;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: -0.28px;
  color: #909090;
  font-weight: bold;
}
.footer .footer-flex .related-area{
  position: relative;
  margin-left: auto;
  width: 280px;
  line-height: 42px;
  background-color: #f2f2f2;
}
.footer .related-area .btn-related{
  width: 100%;
  text-align: left;
}
.footer .related-area.on .btn-related{
  background: #fff;
  padding: 0 12px;
}
.footer .related-area .btn-related::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #000;
}
.footer .related-area.on .btn-related::after{
  display: none;
}

.footer .related-area .btn-related span::after{
  content: "";
  position: absolute;
  top: 18px;
  right: 5px;
  background-position: -122px -93px;
  width: 10px;
  height: 6px;
  z-index: 100;
}
.footer .related-area.on .btn-related span::after{
  transform: rotate(180deg);
}
.footer .related-area.on .sub-area{
  display: block;
}
.footer .related-area .sub-area{
  display: none;
  position: absolute;
  background: #fff;
  padding: 0 12px;
  width: 100%;
  bottom: 100%;
  left: 0;
}
.footer .related-area .sub-list{
  font-size: 18px;
  line-height: 42px;
  font-weight: bold;
}


/********* media q */
/* media q */
.header .btn-menu,.side-nav{display: none;}


/* 1280px ~ [1025px] */
@media (max-width:1280px){
  .gnb {display: none;}
  /* .header .util-area{display: none;} */
  .header .common-inner{
    justify-content: space-between;
    padding: 0 22px;
    height: 60px;
  }
  .header .btn-menu{
    display: block;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .header .btn-menu::after{ content: ''; width: 20px; height: 14px; background-position: -85px -28px; }
  .header .btn-menu.on::after{ background-position: -85px -49px; }
  .header .logo{ width: 160px;height: 23px; background-position: 0 0; }
  
  /* 사이드메뉴 */
  .side-nav{
    display: block;
    visibility: hidden;
    position: fixed;
    top: 60px;
    height: calc(100vh - 60px);
    right: -100%;
    width: 100%;
    background: #fff;
    z-index: 10;
    overflow-y: auto;
    transition: 0.5s;
    padding: 0 22px;
  }
  .side-nav .group{ padding: 11px 0 9px;}
  .side-nav .group .nav span{position: relative;}
  .side-nav .group .nav span::after{
    content: '';
    margin: 20px 0 0 4px;
    position: absolute;
    /* display: inline-block; */
    background-position: -136px -49px;
    width: 10px;
    height: 6px;
  }
  .side-nav .group .nav.on span::after{
    transform: rotate(-180deg);
    
  }
  .side-nav .group .nav.on { 
    background-color: #f2f2f2;  
  }    
  .side-nav .group .nav-list .nav-item{
    /* padding: 0 22px; */
  }
  .side-nav .group .nav-list a{
    display: block;
  }
  .side-nav .group .nav-list .sub-list{
    display: none;
  }
  
  .side-nav .group .nav-list{
    position: relative;
    padding: 10px 0 11px;
  }
  .side-nav .group .nav-list .nav-item{
    font-size: 22px;
    line-height: 46px;
    letter-spacing: -0.44px;
  }
  .side-nav .group .nav-item .sub-list{
    padding: 3px 0 15px;
  }
  .side-nav .group .nav-item .sub-list li{
    margin-top: 13px;
  }
  .side-nav .group .nav-item .sub-list li a{    
    font-size: 18px;
    line-height: 28px;
    letter-spacing: -0.36px;
    background-color: #fff;
    font-weight: normal;
    padding: 0 22px;
  }

  .side-nav .group .nav-item .side-title{
    display: flex;
    flex: 1;
  }
  .side-nav .group .side-title.active{
    background-color: #f2f2f2;  
  }
  .side-nav .group+.group{ border-top: 1px solid #d0d0d0; }

  .side-nav .group.nav .depth2.on{
    display: block;
  }
  .side-nav .group.nav .depth2{
    display: none;
    padding: 3px 22px 15px 0;
    padding-left: 20px;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: -0.36px;
    font-weight: normal;
  }
  /* 체크박스 */
  .side-nav .group.lang .chk-wrap{
    line-height: 28px;
  }
  .side-nav .group.lang .chk-wrap label::before{
    content: "";
    margin: 10px 10px 0 0;
    display: inline-block;
    vertical-align: top;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid #d0d0d0;
  }
  .side-nav .group.lang .chk-wrap input{
    position: absolute;
    width: 1px;height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
  }
  .side-nav .group.lang .chk-wrap input:checked+label::before{
    background: #000;
  }

  .side-nav.on{
    right: 0;
    visibility: visible;
  }
}


/* 1024px ~ [769px] */
@media (max-width:1024px){
  .header .common-inner{
    padding: 0 50px ;
  }
}


/* 768px ~ [570px] */
@media (max-width:768px){
  .header .util-area{display: none;}
  .header .common-inner{
    justify-content: space-between;
    padding: 0 22px;
    height: 60px;
  }
  .header .btn-menu{ 
    display: block;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .header .btn-menu.on::after{background-position: -85px -49px;}
  .header .logo{ width: 160px; height: 23px; background-position: 0 0; }

/* 수정한 부분 AI / fashion */
  .gnb .nav-item .sub-item{
    position: static;
    left: auto;
    transform: none;
    min-width: auto;
    width: 100%;
  }
/*  */

  .footer .footer-flex{
    flex-direction: column;
    align-items: start;
  }
  .footer .footer-flex .link-area{
    font-size: 15px;
  }
  .footer .footer-flex .wrap{
    text-align: left;
  }
  .footer .footer-flex .related-area{
    width: 280px;
    line-height: 42px;
    text-align: left;
    background-color: #f2f2f2;
  }
  .footer .footer-flex .related-area span{ font-size: 12px; }
  .footer .related-area .btn-related::after { background-color: #b4b4b4; }
  .footer .related-area .sub-list{
    font-size: 12px;
    color: #1d1d1d;
    font-weight: normal;
  }
  .footer .related-area.on .btn-related span{ font-size: 12px; }
  .footer .related-area .btn-related span::after{ right: 10px; }
  .footer .footer-flex{
   padding: 25px 0 29px;
  }
}

/* 568px ~ [320px] */
@media (max-width:568px){
  .header{position: relative;}
  .header .util-area{ display: block; }
}