.footer-util-box {
  display: table-cell;
  width: 100%;
}
.footer-util-box ul {
  padding: 23px 0 22px;
}
.footer-util-box ul li {
  display: inline-block;
  position: relative;
  margin: 0 8px 0 0;
  padding: 0 15px 0 0;
  vertical-align: middle;
}
.footer-util-box ul li:before {
  content: '/';
  display: inline-block;
  position: absolute;
  top: 4px;
  right: 0;
  color: #fff;
}
.footer-util-box ul li:last-of-type {
  margin: 0;
  padding: 0;
}
.footer-util-box ul li:last-of-type:before {
  display: none;
}
.footer-util-box ul li a {
  display: inline-block;
  font-size: 18px;
  color: #fff;
  line-height: 25px;
}
.footer-util-box ul li.privacy a {
  color: #f9f166;
}

.footer-related-box {
  display: flex;
  gap: 20px;
  position: relative;
  width: 270px;
  background-color: #2a334d;
  vertical-align: middle;
  transform: translateX(-500px);
  z-index: 10;
}
.footer-related-box .related-site-container {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  align-items: flex-start;
  position: relative;
  z-index: 10;
}

.related-site-wrap {
  min-width: 250px;
  position: relative;
  z-index: 20;
}
.related-site-wrap.site-main {
  min-width: 250px;
}
.related-site-wrap > a {
  display: block;
  padding: 21px 0 21px 50px;
  cursor: pointer;
}
.related-site-wrap > a span {
  font-size: 16px;
  color: #fff;
  line-height: 28px;
}
.related-site-wrap > a span:after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 35px;
  width: 19px;
  height: 11px;
  background: url(../img/main/btn-selected01.png) no-repeat;
  transform: translateY(-50%);
}
.related-site-wrap > a.active span:after {
  background-position: left bottom;
}

.related-site-wrap .related-site-box {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0;
  z-index: 50;
  width: 100%;
  max-height: 300px;
  border: 1px solid #2a334d;
  border-bottom: 0;
  background-color: #fff;
  box-sizing: border-box;
  overflow-y: scroll;
}
.related-site-wrap .related-site-box ul {
  padding: 20px;
}
.related-site-wrap .related-site-box ul > li {
  padding: 0 0 10px 0;
}
.related-site-wrap .related-site-box ul > li:last-of-type {
  padding-bottom: 0;
}
.related-site-wrap .related-site-box ul > li > a {
  display: block;
  position: relative;
  padding: 0 0 0 15px;
  font-size: 16px;
  color: #333;
  line-height: 26px;
}
.related-site-wrap .related-site-box ul > li > a:before {
  content: '';
  position: absolute;
  top: 13px;
  left: 0;
  width: 5px;
  height: 2px;
  background: #2a334d;
}


/* ================= PC (769px 이상) ================= */
@media screen and (min-width: 769px) {
  .footer-related-box .related-site-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }

  .related-site-wrap {
    min-width: 250px;
    width: auto;
  }
}

/* ================= 모바일용 768px 이하 ================= */
@media screen and (max-width: 768px) {
  .footer-util-box ul {
    padding: 12px 10px;
    text-align: center;
  }

  .footer-util-box ul li {
    float: none;
    display: inline-block;
  }

  .footer-util-box ul li a {
    display: inline-block;
    font-size: 15px;
    line-height: 25px;
  }

  .footer-related-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #2a334d;
    padding: 0 10px;
    transform: none !important;
  }

  .footer-related-box .related-site-container {
    display: flex;
     flex-direction: row;
    gap: 20px;
  }

  .related-site-wrap {
    width: auto;
    min-width: 250px;
    background-color: #2a334d;
  }

  .related-site-wrap > a {
    padding: 12px 0;
    display: block;
    font-size: 14px;
    text-align: center;
    color: #fff;
    position: relative;
  }

  .related-site-wrap > a span:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    width: 19px;
    height: 11px;
    background: url(../img/main/btn-selected01.png) no-repeat;
    transform: translateY(-50%);
  }

  .related-site-wrap > a.active + .related-site-box {
    display: block;
  }

  .related-site-box {
    display: none;
    width: 100%;
    max-width: 100%;
    background: #fff;
    padding: 10px;
    box-sizing: border-box;
    z-index: 99;
    position: relative;
  }

  .related-site-box ul {
    padding: 0;
    margin: 0;
  }

  .related-site-box ul > li {
    list-style: none;
    margin-bottom: 5px;
  }

  .related-site-box ul > li > a {
    font-size: 14px;
    line-height: 20px;
    color: #333;
    text-decoration: none;
  }
}
/* ================= 기타 ================= */
.related-site-wrap ul li a {
  font-size: 13px !important;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}