@charset "UTF-8"; 

::-webkit-scrollbar-track {
  background-color: #fff;
}

::-webkit-scrollbar {
  height: .3rem;
  width: 0.3rem ;
  border-radius: 2.5rem;
}

::-webkit-scrollbar-thumb {
  background-color: #23365c;
  border-radius: 2.5rem;
}

#logo a {
  width: 20rem;
}

#gnb ul li a {
  font-family: "Pretendard";
  font-weight: 700;
}

.footer1 ul li a {
  opacity: .7;
  font-weight: 500;
}

.footer1 .layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer1-list {
  position: relative;
  width: 16rem;
}

.footer1-list.active > button i {
  transform: rotate(180deg);
}

.footer1-list.active .footer1-list-wrap {
  display: block;
}

.footer1-list > button {
  width: 100%;
  height: 3.8rem;
  padding: 0 1.6rem;
  background: #4D5B77;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  font-family: "Pretendard";
  font-size: .8rem;
}

.footer1-list > button i {
  transition: .3s;
}

.footer1-list-wrap {
  display: none;
  width: 100%;
  position: absolute;
  z-index: 1;
  top: 0;
  transform: translateY(-100%);
  background: #4D5B77;
}

.footer1-list-wrap > ul {
  display: flex;
  flex-direction: column;
}

.footer1-list-wrap > ul > li {
  display: block;
  padding-right: 0;
}

.footer1-list-wrap > ul > li > a {
  height: 2.5rem;
  display: flex;
  align-items: center;
  padding: 0 1.6rem;
  opacity: 1; 
}

.footer1-list-wrap > ul > li > a:hover {
  background: #23365c;
  text-decoration: underline;
  text-underline-position: under;
}

.footer1 ul li a.privacy {
  opacity: 1;
}

.footer2 p {
  color: #757575;
}

@media(max-width: 1000px) {
  html {
    font-size: 16px;
  }

  #logo a {
    width: 17rem;
  }
}

@media(max-width: 768px) {
  #gnb ul {
    display: flex;
    justify-content: center;
    gap: 3rem;
  }

  #gnb {
    width: 100%;
  }

  #gnb ul li  {
    padding: 0;
  }

  .header-right .all-menu.active i {
    transform: rotate(0);
  }

  .header-right .all-menu.active i::before {
    content: "\e922";
  }
}

@media(max-width: 587px) {
  .footer1 .layout {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .footer1-list {
    width: 100vw;
    margin-left: -1rem;
  }

  .footer1-list > button {
    height: 3rem;
  }
}