@charset "utf-8";

/* ****************** FOOTER ********************** */
.site-footer {
  border-top: 1px solid #ddd;
  background: var(--bs-white);
  color: #8a8a8a;
  position: relative;
}

.site-footer__inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 2% 7rem;
}

/* 상단 메뉴 */

.site-footer__top {
  display: flex;
  justify-content: center;
  margin-top: -2.2rem;
}

.site-footer__menu {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0 3rem;
  border: 1px solid #d5d5d5;
  border-radius: 999px;
  background: #fcfcfc;
}

.site-footer__menu li {
  flex: 1 1 auto;
  text-align: center;
}

.site-footer__menu a {
  display: block;
  padding: 1rem 3.5rem;
  font-size: 1.7rem;
  line-height: 1.2;
  color: #595959;
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-footer__menu a:hover {
  color: var(--bs-secondary);
}

/* 본문 */

.site-footer__content {
  display: grid;
  grid-template-columns: 7.5rem 1fr 22rem;
  gap: 2rem;
  align-items: center;
  margin-top: 5rem;
}

.site-footer__logo {
  display: block;
}

.site-footer__logo img {
  display: block;
  max-width: 100%;
  height: auto;
  opacity: 0.52;
}

.site-footer__info {
  min-width: 0;
}

.site-footer__info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 5rem;
}

.site-footer__info p {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.6;
  letter-spacing: -0.035em;
}

.site-footer__info strong {
  margin-right: 0.5rem;
  font-weight: 600;
  color: #202020;
}

.site-footer__info a {
  color: inherit;
  text-decoration: none;
}

.site-footer__info a:hover {
  color: var(--bs-secondary);
}

.site-footer__copyright {
  margin-top: 2.4rem !important;
  font-size: 1.5rem !important;
  color: #999;
}

/* 고객센터 */

.site-footer__customer {
  text-align: right;
}

.site-footer__customer span {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.9rem;
  line-height: 1.3;
  color: #666;
}

.site-footer__customer a {
  display: inline-block;
  font-size: 2.9rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--bs-secondary);
  text-decoration: none;
  font-family: "Paperozi";
}

/* 태블릿 */

@media screen and (max-width: 1100px) {
  .site-footer__inner {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .site-footer__content {
    grid-template-columns: 7rem 1fr;
    align-items: start;
  }

  .site-footer__customer {
    grid-column: 2;
    margin-top: 2rem;
    text-align: left;
  }

  .site-footer__info-row {
    gap: 0.8rem 3rem;
  }
}

/* 모바일 */

@media screen and (max-width: 1024px) {
  .site-footer__inner {
    padding: 0 1.5rem 4rem;
  }

  .site-footer__top {
    margin-top: -2.3rem;
  }

  .site-footer__menu {
    min-width: 0;
    padding: 0 0.8rem;
  }

  .site-footer__menu a {
    padding: 0.5rem 1.6rem;
    font-size: 1.3rem;
  }

  .site-footer__content {
    display: block;
    margin-top: 3rem;
    text-align: center;
  }

  .site-footer__brand {
    margin-bottom: 2.4rem;
  }

  .site-footer__logo img {
    max-width: 6rem;
    margin: 0 auto;
  }

  .site-footer__info-row {
    justify-content: center;
    gap: 0rem 2rem;
  }

  .site-footer__info p {
    font-size: 1.4rem;
    line-height: 1.7;
  }

  .site-footer__info strong {
    display: inline-block;
    margin-right: 0.4rem;
  }

  .site-footer__copyright {
    margin-top: 2rem !important;
    font-size: 1.2rem !important;
  }

  .site-footer__customer {
    margin-top: 2rem;
    text-align: center;
  }

  .site-footer__customer span {
    font-size: 1.5rem;
    margin-bottom: 0rem;
  }

  .site-footer__customer a {
    font-size: 2.6rem;
  }
  .site-footer__logo {
    display: none;
  }
}

@media screen and (max-width: 520px) {
  .site-footer__top {
    margin-top: -1.6rem;
  }
}

.to-top-btn {
  position: fixed;
  bottom: -10rem;
  right: 1%;
  display: block;
  width: 4.6rem;
  height: 4.6rem;
  background-color: #404348;
  text-align: center;
  line-height: 4.6rem;
  color: var(--bs-white);
  z-index: 99;
  opacity: 0;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -o-border-radius: 50px;
  border-radius: 50px;
  filter: Alpha(opacity=0);
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -ms-transition: all 0.4s;
  transition: all 0.4s;
}
.to-top-btn i {
  display: inline-block;
}
.to-top-btn.fixed {
  bottom: 1%;
  opacity: 1;
  width: 4.6rem;
  filter: Alpha(opacity=100);
}
.to-top-btn:hover {
  background-color: var(--bs-primary);
}
