@charset "utf-8";

/* =============================================
   푸터 공통
   ============================================= */
.one-footer {
  background-color: #2c2c2c;
  color: rgba(255, 255, 255, 0.45);
}

/* =============================================
   2컬럼 레이아웃
   좌: 로고 / 우: 정책링크 + 사업자정보 + 카피
   ============================================= */
.one-ft-inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--typeB-space-s);
  padding: 40px var(--typeB-space-safe);
}

/* 좌: 로고 */
.one-ft-lf {
  flex: 0 0 30%;
  display: flex;
  align-items: flex-start;
  padding-top: 4px;
  justify-content: flex-end;
}

.one-ft-logo-link {
  display: block;
}

.one-ft-logo-link img {
  display: block;
  width: 100%;
  height: auto;
}

/* 우: 텍스트 컨텐츠 */
.one-ft-rg {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--typeB-gap-r);
}

/* 정책 링크 */
.one-ft-policy ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.one-ft-policy li {
  position: relative;
}

.one-ft-policy li+li::before {
  content: "|";
  color: rgba(255, 255, 255, 0.2);
  margin: 0 var(--typeB-gap-sm);
}

.one-ft-policy a {
  font-size: 0.9em;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.one-ft-policy a:hover {
  color: #fff;
}

/* 사업자 정보 */
.one-ft-info {
  margin: 0;
}

.one-ft-info dd {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
  word-break: keep-all;
  line-height: 1.6;
}

.one-ft-info dd:last-child {
  margin-bottom: 0;
}

.one-ft-label {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

/* 카피라이트 */
.one-ft-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  margin: 0;
}

/* =============================================
   Astra 스크롤 탑 버튼 — .ast-visible 클래스 방식
   (Astra JS가 붙이는 실제 클래스)
   ============================================= */
#ast-scroll-top {
  display: none;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: var(--main-color);
  border: none;
  border-radius: 50%;
  position: fixed;
  right: 28px;
  bottom: 2em;
  z-index: 998;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

#ast-scroll-top span {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Astra JS가 스크롤 시 .ast-visible 클래스를 추가함 */
#ast-scroll-top.ast-visible {
  display: flex !important;
}

#ast-scroll-top:hover {
  opacity: 0.5;
}

#ast-scroll-top .ast-arrow-svg {
  width: 12px;
  fill: #fff;
  color: #fff;
  transform: rotate(180deg) scale(1.2);
}

/* =============================================
   태블릿 이하 (≤ 1024px)
   ============================================= */
@media all and (max-width: 1024px) {
  .one-ft-inner {
    gap: var(--typeB-gap-xl);
    padding: var(--typeB-gap-xl) var(--typeB-space-safe);
  }

  .one-ft-logo-link img {
    max-width: 150px;
  }
}

/* =============================================
   모바일 (≤ 639px)
   ============================================= */
@media all and (max-width: 639px) {

  /* 1컬럼으로 전환 */
  .one-ft-inner {
    flex-direction: column;
    gap: var(--typeB-gap-lg);
    padding: var(--typeB-gap-xl) var(--typeB-space-safe) 6.5em;
    /* 퀵메뉴 높이 확보 */
  }

  .one-ft-lf {
    padding-top: 0;
  }

  .one-ft-logo-link img {
    max-width: 140px;
  }



  .one-ft-copy {
    font-size: 10px;
  }

  /* 스크롤 탑 버튼 */
  #ast-scroll-top {
    width: 42px;
    height: 42px;
    right: var(--typeB-space-safe);
    bottom: 5em;
  }
}