.footer {
  background-color: var(--c-g000);
  color: var(--c-g100);
  padding: 80px 0;
}

.footer .inner {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.footer__logo img {
  height: 30px;
}

.footer__text {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__info {
  display: flex;
  gap: 26px;
  font-size: .9rem;
}

.footer__copy {
  font-size: .8rem;
  opacity: .7;
}

/* 푸터 섹션 반응형 시작 */

/* 1440px 이하 */
@media screen and (max-width: 1440px) {
  .footer {
    padding: 60px 0;
  }
}

/* 1280px 이하 */
@media screen and (max-width: 1280px) {
  .footer__info {
    gap: 15px;
    font-size: 0.85rem;
  }
}

/* 1024px 이하: 태블릿 */
@media screen and (max-width: 1024px) {
  .footer {
    padding: 50px 0;
  }

  .footer__logo img {
    height: 25px;
  }

  .footer__info {
    flex-direction: column;
    gap: 5px;
  }

  /* 정보 세로 나열 시작 */
}

/* 768px 이하: 모바일 일반 */
@media screen and (max-width: 768px) {
  .footer .inner {
    flex-direction: column;
    /* 로고와 텍스트 세로 배치 */
    align-items: center;
    gap: 30px;
  }

  .footer__text {
    text-align: center;
    /* 텍스트 중앙 정렬 */
  }

  .footer__info {
    align-items: center;
    margin-bottom: 10px;
  }

  .footer__info li {
    word-break: keep-all;
    /* 주소 줄바꿈 자연스럽게 */
    line-height: 1.4;
  }
}

/* 480px 이하: 최소형 모바일 */
@media screen and (max-width: 480px) {
  .footer {
    padding: 40px 0;
  }

  .footer__logo img {
    height: 22px;
  }

  .footer__info {
    font-size: 0.8rem;
  }

  .footer__copy {
    font-size: 0.75rem;
  }
}



.footer .goTop {
  position: absolute;
  top: -180px;
  right: 50px;
}

.footer .goTop a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid var(--c-main);
  background-color: #ffffff;
}

.footer .goTop img {
  width: 25px;
}

@media screen and (max-width: 1440px) {
  .footer .goTop {
    position: absolute;
    top: -160px;
    right: 50px;
  }
}

@media screen and (max-width: 1280px) {
  .footer .goTop {
    right: 40px;
  }

  .footer .goTop a {
    width: 60px;
    height: 60px;
    border: 2px solid var(--c-main);
  }

  .footer .goTop img {
    width: 20px;
  }
}

@media screen and (max-width: 1024px) {
  .footer .goTop {
    top: -130px;
    right: 30px;
  }
}

@media screen and (max-width: 768px) {
  .footer .goTop {
    right: 20px;
  }
}

@media screen and (max-width: 480px) {
  .footer .goTop {
    top: -110px;
    right: 15px;
  }

  .footer .goTop a {
    width: 50px;
    height: 50px;
    border: 2px solid var(--c-main);
  }

  .footer .goTop img {
    width: 18px;
  }


}