/* --- 💻 기존 PC 스타일 --- */
.footer {
  position: relative;
  background: #004762;
}

.footer__contents {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 50px 40px 80px;
  box-sizing: border-box;
}

.footer__contents__information {
  display: flex;
  position: relative;
  gap: 60px;
  align-items: flex-start;
}

.footer__contents__information__logo {
  width: 140px;
  flex-shrink: 0;
}

.footer__contents__information__logo img {
  width: 100%;
  height: auto;
}

.footer__contents__information__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  margin-top: 10px;
}

.footer__contents__information__list__item {
  display: flex;
  position: relative;
  gap: 10px;
  flex-wrap: wrap;
}

.footer__contents__information__list__item span {
  color: #aeaeae;
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.28px;
  word-break: keep-all;
}

.footer__contents__information__list__item span strong {
  font-weight: 600;
  color: #dcdcdc;
}

.footer__contents__copyright {
  position: relative;
  color: #7c7c7c;
  font-family: "Noto Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.32px;
  margin-top: 10px;
  white-space: nowrap;
}

/* Top 버튼 스타일 */
.top-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #00a9aa;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, background 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(10px);
}

.top-button.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.top-button:hover {
  background: #008b8d;
  transform: translateY(-2px);
}

.top-button img {
  padding-bottom: 4px;
}

@media (max-width: 768px) {
  .top-button {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  
  .top-button img {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 1024px) {
  .footer__contents {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
    padding: 40px 40px 50px;
  }

  .footer__contents__copyright {
    margin-top: 0;
    order: 2;
    left: 24px;
  }
}

@media (max-width: 768px) {
  .footer__contents {
    padding: 40px 20px 50px;
  }

  .footer__contents__information {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .footer__contents__information__logo {
    position: relative;
    left: 30px;
  }

  .footer__contents__information__list {
    margin-top: 0;
    text-align: center;
    gap: 12px;
  }

  .footer__contents__information__list__item {
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }

  .footer__contents__copyright {
    font-size: 14px;
    left: 0;
  }
}
