/* 푸터 스타일 */
#footer {
  background-color: #fff;
  color: #000;
  position: relative;
  z-index: 15;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}

.footer-navbar {
  position: absolute;
  top: -50px;
  left: 40px;
  font-size: 0;
  z-index: 9;
  height: 50px;
  display: flex;
  align-items: flex-end;
}

.footer-navbar a {
  cursor: pointer;
  display: inline-block;
  color: #000;
  padding: 12px 20px 8px;
  border: 1px solid #000;
  text-align: left;
  font-size: 16px;
  min-width: 160px;
  transition: all 0.5s;
  box-sizing: border-box;
  border-left: 0;
  background-color: #f6f6f6;
}

.footer-navbar a:first-child {
  border-left: 1px solid #000;
}

.footer-navbar a:hover {
  color: #00ec91;
  font-size: 24px;
  text-align: center;
  min-width: 200px;
  background-color: #000;
  border: 0;
}

.footer-navbar a:hover img {
  display: none;
}

.footer-navbar a img {
  width: 11px;
  float: right;
  margin-top: 3px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding: 25px 40px;
  border-bottom: 1px solid #c4c4c4;
}

.footer-section {
  min-width: 180px;
  text-align: left;
}

.footer-section .cs-btn .dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background-color: #0acf83;
  border-radius: 50%;
  margin-bottom: 8px;
}

.footer-section:first-child {
  width: 30%;
}

.footer-section:nth-child(2) {
  width: 30%;
}

.footer-section h2,
.footer-section h3 {
  font-size: 13px;
  margin-bottom: 10px;
  font-weight: bold;
  color: #000;
}

.footer-section p {
  margin: 5px 0;
  font-size: 12px;
  color: #000;
}

.footer-section table {
  width: 100%;
}

.footer-section table td {
  margin: 5px 0;
  font-size: 12px;
  color: #000;
}

.footer-section .cs-btn {
  border: 1px solid #000;
  width: 50%;
  min-width: 100px;
  height: 30px;
  line-height: 30px;
  padding: 0 12px;
  margin-top: 10px;
  font-size: 12px;
}

.footer-section .cs-btn a {
  cursor: pointer;
  display: block;
}

.footer-section .cs-btn a i {
  font-size: 16px;
  margin-top: 10px;
  float: right;
}

.ti-arrow-right:before {
  content: "\2192";
}

[class^="ti-"],
[class*=" ti-"] {
  font-family: "themify";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 하단 텍스트 */
.footer-bottom {
  font-size: 13px;
  color: #c4c4c4;
  text-align: left;
}

.footer-bottom p {
  margin: 10px 40px;
}

.pc-display {
  display: block;
}

.m-display {
  display: none;
}

@media all and (max-width: 1000px) {
  .pc-display {
    display: none;
  }

  .m-display {
    display: block;
  }

  .footer-bottom p {
    margin: 10px 20px;
  }

  .footer-navbar {
    left: 0;
    width: 100%;
  }

  .footer-navbar a {
    width: 25%;
    min-width: auto;
    font-size: 11px;
    padding: 10px;
    text-align: center;
    background-color: #fff;
  }

  .footer-navbar a img {
    display: none;
  }

  .footer-section .cs-btn {
    margin-bottom: 0;
    width: 60%;
    margin-top: 15px;
  }

  .footer-section {
    min-width: 100%;
    padding: 15px 20px;
  }

  .footer-section:first-child {
    padding: 25px 20px;
  }

  .footer-section.accordion {
    border-top: 1px #a6a6a6 solid;
  }

  .footer-section h3 {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 0;
    line-height: 22px;
  }

  .footer-container {
    display: block;
    padding: 0;
  }

  .footer-navbar a:hover {
    color: #000;
    font-size: 11px;
    min-width: 25%;
    background-color: #fff;
    border: 1px solid #000;
    border-left: 0;
  }

  /* 모바일 아코디언 토글 스타일 */
  .accordion .accordion-toggle {
    font-size: 18px;
    color: #333;
  }

  .footer-section .accordion-content {
    display: none;
  }

  .footer-section.active .accordion-content {
    display: block;
    padding-top: 10px;
  }

  .footer-section .accordion-content {
    display: none;
  }

  .footer-section.active .accordion-content {
    display: block;
    padding-top: 10px;
  }

  .footer-section .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .footer-section.active .accordion-content {
    max-height: 500px; /* 충분히 큰 값으로 설정 */
  }
}

@media all and (max-width: 400px) {
  .footer-navbar a img {
    display: none;
  }
}
