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


/* header */
.header{
  position: fixed;
  background: #fff;
  width: 100%;
  z-index: 99;
}
.header.on::before{
  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{
  display: none;
  position: absolute;
  top: 64px;
  height: 182px;
  flex-direction: column;
  justify-content: center;
  white-space: nowrap;
  text-align: left;
  z-index: 1;
  color: #000;
}

.gnb .nav-item .sub-list.on{
  display: flex;
}

.gnb .nav-item .sub-item{
  font-size: 17px;
  line-height: 32px; 
  letter-spacing: -0.36px;
}
.gnb .nav-item .sub-item:hover{
  background: #D93097;
  color: #fff;
}

/* 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 */
.header .btn-menu,.side-nav{display: none;}
/* 1280px ~ [1025px] */
@media (max-width:1280px){
 
  
}

/* 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 .logo{ width: 160px;height: 23px; background-position: 0 0; }

  .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; }
  /* 닫기버튼 */
  .side-nav .btn-close{
    width: 24px;
    height: 24px;
    position: absolute;
    top: 32px;
    right: 16px;
    background: url(../images/btn-close.png);
  }
  .hidden{
    overflow: hidden;
  }
  /* dimmed */
  .hidden .dimmed{
    opacity: 1;
    visibility: visible;
  }
  .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;
  }
  /* side menu */
  .side-nav.on{
    right: 0;
  }
  .side-nav{
    display: block;
    position: fixed;
    top: 0px;
    right: -82%;
    height: 100%;
    width: 82%;
    padding: 0 20px;
    overflow-y: auto;
    z-index: 100;
    background-color: #fff;
    font-size: 11px;
    transition: all 0.5s ease;
  }
  
  .side-nav .header-area .btn-close{
    border: 1px solid #000;
    width: 18px;
    height: 18px;
    background: url(../images/btn-close.png) no-repeat;
  }

  .side-nav .header-area{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px; 
  }
  .side-nav .header-area .logo{
    width: 35px;
    height: 20px;
    background: url(../images/logo.png) no-repeat 0 0;
    background-size: 860px auto;
  }
  .gnb {display: none;}

  /* depth2 */
  .side-nav .group-nav{
    padding: 18px 0;
  }
  .side-nav .group-nav .nav-list{
    padding: 18px 0;
    border-bottom: 1px solid #ddd;
  }
  .side-nav .group-nav .nav-item{
    padding: 13px 0;
    position: relative;
    color: #2d2d2d;
    font-size: 16px;
    line-height: 1.2em;  
    font-weight: 500;
  }
  .side-nav .group-nav .nav-item .chk{
    position: relative;
    display: block;
  }

  .side-nav .group-nav .nav-item .depth2{
    display: none;
    height: auto;
    padding: 15px 0 0;
  }
  .side-nav .group-nav .nav-item .depth2 .list{
    display: block;
    padding: 11px 0;
    color: #848484;
    font-size: 15px;
    line-height: 15px;
    letter-spacing: -0.5px;
    font-weight: 400;
  }
  .side-nav .group-nav .nav-item .depth2 .list .item{ padding: 11px 0; }
  
}