@import url("fonts/Pretendard/Pretendard.css");
body {
  margin-bottom: 0;
}
.newfooter {
  position: relative;
  padding: 40px 30px;
  background: #f8f8f8;
  z-index: 60;
}
.newfooter * {
  font-family: "Pretendard", sans-serif;
  letter-spacing: -0.025em;
}
.newfooter a:hover {
  text-decoration: none;
}

.newfoot_conbox {
  display: flex;
  flex-wrap: wrap;
  max-width: 1370px;
  margin: 0 auto;
}
[class*="newfoot_box"] {
  margin: 40px 0;
}
[class*="newfoot_box"]:nth-child(3n + 1) {
  width: 220px;
}
[class*="newfoot_box"]:nth-child(3n + 2) {
  width: calc(100% - 593px);
  padding: 0 2.2% 0 9%;
  box-sizing: border-box;
}
[class*="newfoot_box"]:nth-child(3n) {
  width: 373px;
}

.newfoot_logo {
  display: block;
  width: 173px;
  height: 25px;
  background: url(../images/new_footer/foot_logo.svg) no-repeat center center;
  background-size: contain;
  text-indent: -999px;
  overflow: hidden;
}

.newfoot_menu {
  display: flex;
}
.newfoot_menu > li {
  width: 89px;
  margin-right: 4.8%;
}
.newfoot_menu > li:last-child {
  margin-right: 0;
}
.newfoot_menu .tit {
  margin: 0;
  color: #0e0e0e;
  font-size: 14px;
  line-height: 23px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.newfoot_menu .depth {
  padding-top: 20px;
}
.newfoot_menu .depth > li {
  line-height: 100%;
}
.newfoot_menu .depth > li + li {
  margin-top: 10px;
}
.newfoot_menu .depth a {
  display: inline-flex;
  color: #484848;
  font-size: 13px;
  line-height: 19px;
  letter-spacing: 0.01em;
}
.newfoot_menu .depth a:hover {
  color: #171717;
}

.newfoot_box_guide {
  padding-left: 143px;
  box-sizing: border-box;
}
.newfoot_bank .tit {
  margin: 0 0 10px;
  color: #212121;
  font-size: 14px;
  line-height: 23px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.newfoot_bank .txt {
  color: #484848;
  font-size: 12px;
  line-height: 17px;
}
.newfoot_cs .tit {
  margin: 50px 0 10px;
  color: #212121;
  font-size: 14px;
  line-height: 23px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.newfoot_cs .tel {
  color: #212121;
  font-size: 21px;
  line-height: 29px;
  font-weight: 700;
}
.newfoot_cs .txt {
  margin-top: 5px;
  color: #909090;
  font-size: 12px;
  line-height: 17px;
}

.newfoot_link {
  display: flex;
  justify-content: space-between;
}
.newfoot_link a {
  color: #909090;
  font-size: 12px;
  line-height: 16px;
}
.newfoot_link a:hover {
  color: #171717;
}

.newfoot_text_toggle {
  display: none;
}
.newfoot_br {
  display: inline-flex;
  width: 20px;
}
.newfoot_br_bar {
  display: inline-flex;
  position: relative;
  width: 10px;
}
.newfoot_br_bar::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  width: 1px;
  height: 11px;
  background: #909090;
}
.newfoot_info {
  display: flex;
  flex-wrap: wrap;
  color: #909090;
  font-size: 12px;
  line-height: 17px;
}
.newfoot_address {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5px;
  color: #909090;
  font-size: 12px;
  line-height: 17px;
}
.newfoot_copyright {
  margin-top: 30px;
  color: #909090;
  font-size: 12px;
  line-height: 17px;
}

.newfoot_sns {
  display: flex;
  justify-content: space-between;
}
.newfoot_sns a {
  display: block;
  width: 48px;
  height: 49px;
  border: 1px solid #dfe0e2;
  border-radius: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  text-indent: -999px;
  overflow: hidden;
  box-sizing: border-box;
  transition: .3s;
}
.newfoot_sns .ico_sns_facebook {
  background-image: url(../images/new_footer/foot_ico_facebook.svg);
}
.newfoot_sns .ico_sns_instagram {
  background-image: url(../images/new_footer/foot_ico_instagram.svg);
}
.newfoot_sns .ico_sns_blog {
  background-image: url(../images/new_footer/foot_ico_blog.svg);
}
.newfoot_sns .ico_sns_youtube {
  background-image: url(../images/new_footer/foot_ico_youtube.svg);
}
.newfoot_sns .ico_sns_x {
  background-image: url(../images/new_footer/foot_ico_x.svg);
}
.newfoot_sns .ico_sns_kakaostory {
  background-image: url(../images/new_footer/foot_ico_kakaostory.svg);
}
.newfoot_sns a:hover {
  background-color: #c6c6c6;
}

/* 1280px ÀÌÇÏ °øÅë */
@media screen and (max-width: 1280px) {
  [class*="newfoot_box"]:nth-child(3n + 2) {
    width: calc(100% - 470px);
    padding-left: 4%;
  }
  [class*="newfoot_box"]:nth-child(3n) {
    width: 250px;
  }

  .newfoot_box_guide {
    padding-left: 20px;
  }

  .newfoot_sns a {
    width: 36px;
    height: 37px;
  }
}

/* 1024px ÀÌÇÏ °øÅë */
@media screen and (max-width: 1024px) {
  .newfooter {
    padding: 30px;
  }

  .newfoot_conbox {
    flex-direction: column;
  }

  [class*="newfoot_box"] {
    margin: 30px 0;
  }
  [class*="newfoot_box"]:nth-child(3n + 1) {
    width: 100%;
  }
  [class*="newfoot_box"]:nth-child(3n + 2) {
    width: 100%;
    padding: 0;
  }
  [class*="newfoot_box"]:nth-child(3n) {
    width: 100%;
    padding-left: 0;
  }

  .newfoot_menu > li {
    width: 112px;
    margin-right: 20px;
  }
  .newfoot_menu .tit {
    position: relative;
    color: #484848;
    font-size: 13px;
    line-height: 24px;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: 0.3s;
  }
  .newfoot_menu .tit::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: url(../images/new_footer/foot_ico_down.svg) no-repeat center center;
    background-size: contain;
    transition: 0.3s;
  }
  .newfoot_menu li.on .tit {
    color: #0e0e0e;
  }
  .newfoot_menu li.on .tit::before {
    transform: rotate(180deg);
  }
  .newfoot_menu .depth {
    max-height: 0;
    padding-top: 0;
    overflow: hidden;
    transition: 0.2s cubic-bezier(0, 1, 0, 1);
  }
  .newfoot_menu li.on .depth {
    max-height: 500px;
    padding-top: 20px;
    transition: 0.3s ease-in-out;
  }

  .newfoot_box_guide {
    display: flex;
  }
  .newfoot_cs {
    margin-left: 128px;
  }
  .newfoot_cs .tit {
    margin-top: 0;
  }

  .newfoot_box_link {
    margin: 80px 0 0;
  }
  .newfoot_link {
    justify-content: flex-start;
  }
  .newfoot_link li {
    margin-right: 20px;
  }

  .newfoot_box_text {
    margin-bottom: 0;
  }
  .newfoot_br {
    width: 100%;
    height: 0;
  }
  .newfoot_br_bar {
    width: 100%;
    height: 0;
  }
  .newfoot_br_bar::before {
    display: none;
  }

  .newfoot_address {
    margin-top: 10px;
  }

  .newfoot_sns {
    justify-content: flex-start;
  }
  .newfoot_sns li {
    margin-right: 17px;
  }
  .newfoot_sns a {
    width: 48px;
    height: 49px;
  }
}

/* 1024px ~ 768px */
@media screen and (min-width: 768px) and (max-width: 1024px) {
}

/* 767px */
@media screen and (max-width: 767px) {
  .newfooter {
    padding: 30px 20px;
  }

  .newfoot_box_menu {
    margin-top: 0;
  }
  .newfoot_menu {
    flex-wrap: wrap;
    max-width: 264px;
  }
  .newfoot_menu > li {
    margin-top: 30px;
  }

  .newfoot_box_guide {
    flex-direction: column;
  }
  .newfoot_cs {
    margin: 50px 0 0 0;
  }
  
  .newfoot_box_link {
    margin-top: 20px;
  }
  .newfoot_link li {
    margin-right: 10px;
  }

  .newfoot_box_text {
    margin: 10px 0 30px;
  }
  
  .newfoot_text_toggle {
    display: inline-flex;
    position: relative;
    padding-right: 34px;
    color: #909090;
    font-size: 12px;
    line-height: 24px;
    font-weight: 400;
  }
  .newfoot_text_toggle::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: url(../images/new_footer/foot_ico_more.svg) no-repeat center center;
    background-size: contain;
  }
  .newfoot_box_text.active .newfoot_text_toggle::before {
    transform: rotate(180deg);
  }
  .newfoot_info,
  .newfoot_address {
    display: none;
  }
  .newfoot_box_text.active .newfoot_info,
  .newfoot_box_text.active .newfoot_address {
    display: flex;
  }
  .newfoot_copyright {
    margin-top: 10px;
  }

  .newfoot_sns {
    justify-content: space-between;
  }
  .newfoot_sns li {
    margin-right: 0;
  }
}