@charset "utf-8";

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

/* =============================================
   2컬럼 레이아웃
   좌: 로고 / 우: 정보 + SNS
   ============================================= */
.one-ft-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  padding: 36px var(--typeB-space-safe);
}

/* ── 좌: 로고 */
.one-ft-lf {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

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

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

/* ── 우: 정보 + SNS */
.one-ft-rg {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ── 텍스트 정보 묶음 */
.one-ft-info-wrap {
  flex: 1;
  min-width: 0;
}

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

.one-ft-info dd {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  word-break: keep-all;
  margin: 0;
}

/* 카피라이트 */
.one-ft-copy {
  font-size: 12px;
  color: #6b6b6b;
  margin: 0;
}

/* ── SNS 아이콘 */
.one-ft-sns {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.one-ft-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: border-color 0.2s;
}

.one-ft-sns a:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

.one-ft-sns a img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

/* =============================================
   Astra 스크롤 탑 버튼
   ============================================= */
#ast-scroll-top {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  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;
}

#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 (max-width: 1024px) {
  .one-ft-inner {
    gap: 28px;
    padding: 28px var(--typeB-space-safe);
  }

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

  .one-ft-sns {
    flex-direction: row;
    gap: 8px;
  }

  .one-ft-sns a {
    width: 38px;
    height: 38px;
  }

  .one-ft-sns a img {
    width: 18px;
    height: 18px;
  }
}

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

  /* 전체: 1컬럼 세로 정렬 */
  .one-ft-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 28px var(--typeB-space-safe) 7em;
  }

  /* 로고 */
  .one-ft-lf {
    width: 100%;
  }

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

  /* 우측 영역: 세로 정렬 */
  .one-ft-rg {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* 텍스트 */
  .one-ft-info dd {
    font-size: 12px;
    line-height: 1.8;
  }

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

  /* SNS: 가로 정렬 */
  .one-ft-sns {
    flex-direction: row;
    gap: 8px;
  }

  .one-ft-sns a,
  .one-ft-sns a img {
    width: 42px;
    height: 42px;
  }

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