.footer {
  display: flex;
  color: #ffffff;
  position: relative;
  min-height: 300px;
}

.btn__goTop {
  width: 60px;
  height: 60px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 60px;
  top: -30px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  z-index: 98;
}

.footer__img {
  background: url(../1x/common/footer_img01.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 40%;
}

.footer__text {
  width: 60%;
  background: #222d42;
  background-image: url(../1x/common/footer_logo.png);
  background-position: right -1px bottom 25px;
  background-repeat: no-repeat;
  background-size: 249px auto;
  padding: 40px 50px;
  display: flex;
  justify-content: space-between;
}

.footer__content {
  display: flex;
  flex-direction: column;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: 1rem;
  opacity: 0.8;
  margin-left: -350%;
}

.footer__nav ul li::before {
  content: "| ";
  margin-right: 8px;
}

.footer__nav ul li {
  cursor: pointer;
  transition: opacity 0.3s;
}

.footer__nav ul li:hover {
  opacity: 1;
}

.footer__info h2 {
  font-size: 0.875rem;
  font-weight: 400;
  opacity: 0.7;
  margin-bottom: 8px;
}

.footer__info_call {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer__info_time {
  font-size: 0.8125rem;
  opacity: 0.7;
  margin-bottom: 25px;
  line-height: 1.4;
}

.footer__info_address {
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer__info_copy {
  font-size: 0.75rem;
  opacity: 0.5;
}

/* 태블릿 */
@media screen and (max-width: 1024px) {
  .footer {
    flex-direction: column;
    min-height: auto;
  }

  .btn__goTop {
    width: 50px;
    height: 50px;
    top: -25px;
    right: 30px;
  }

  .footer__img {
    width: 100%;
    height: 180px;
  }

  .footer__text {
    width: 100%;
    padding: 30px;
    background-position: right 30px bottom 30px;
    background-size: 150px auto;
    flex-direction: column;
  }

  .footer__content {
    margin-bottom: 25px;
  }

  .footer__nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    font-size: 0.9375rem;
  }

  .footer__info_call {
    font-size: 1.5rem;
  }
}

/* 모바일 */
@media screen and (max-width: 768px) {
  .footer__text {
    padding: 25px 20px;
    background-position: right 20px bottom 20px;
    background-size: 120px auto;
    flex-direction: column;
  }

  .footer__nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.875rem;
  }

  .footer__img {
    height: 150px;
  }

  .footer__info_call {
    font-size: 1.375rem;
  }

  .footer__info_time,
  .footer__info_address {
    font-size: 0.75rem;
  }

  .footer__info_copy {
    font-size: 0.6875rem;
  }
}