.site-footer {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  border-top: var(--stroke-1) solid var(--semantic-border-hover);
  color: var(--neutral-tx3-sub);
  background: var(--semantic-border);
}

.site-footer__inner {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 40px 14px;
  text-align: center;
}

.site-footer a,
.site-footer button {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer button:hover,
.site-footer button:focus-visible {
  color: var(--neutral-tx2-title);
}

.site-footer a:focus-visible,
.site-footer button:focus-visible {
  outline: var(--stroke-2) solid var(--brand-primary-dark);
  outline-offset: var(--stroke-2);
}

.site-footer__social,
.site-footer__guide,
.site-footer__policy,
.site-footer__company-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer__social {
  gap: 20px;
}

.site-footer__social-link {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--semantic-bg);
}

.site-footer__social-link picture,
.site-footer__social-link img {
  display: block;
}

.site-footer__guide {
  gap: var(--spacing-lg);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-20);
}

.site-footer__divider {
  width: 100%;
  height: var(--stroke-1);
  margin: 0;
  border: 0;
  background: var(--semantic-border-hover);
}

.site-footer__policy {
  width: 100%;
  flex-wrap: wrap;
  gap: 0 10px;
  font-size: var(--font-size-base);
  line-height: var(--line-height-20);
}

.site-footer__policy-row {
  display: contents;
}

.site-footer__policy-row > *:not(:last-child)::after,
.site-footer__policy-row:not(:last-child) > *:last-child::after,
.site-footer__company-row > *:not(:last-child)::after {
  display: inline-block;
  width: var(--stroke-1);
  height: 12px;
  margin-left: 10px;
  vertical-align: middle;
  background: var(--semantic-input-border);
  content: "";
}

.site-footer__policy-strong {
  font-weight: var(--font-weight-bold);
}

.site-footer__company-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
}

.site-footer__company-toggle-icon,
.site-footer__company-toggle[aria-expanded="true"] .site-footer__company-toggle-icon--collapsed,
.site-footer__company-toggle[aria-expanded="false"] .site-footer__company-toggle-icon--expanded {
  display: none;
}

.site-footer__company-toggle[aria-expanded="false"] .site-footer__company-toggle-icon--collapsed,
.site-footer__company-toggle[aria-expanded="true"] .site-footer__company-toggle-icon--expanded {
  display: block;
}

.site-footer__company {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-micro);
  font-size: var(--font-size-sm);
  font-style: normal;
  line-height: var(--line-height-16);
}

.site-footer__company[hidden] {
  display: flex;
}

.site-footer__company-row {
  width: 100%;
  flex-wrap: wrap;
  gap: 0 10px;
}

.site-footer__notice {
  width: 100%;
  font-size: var(--font-size-xs);
  line-height: var(--line-height-14);
}

.site-footer__notice p,
.site-footer__copyright {
  margin: 0;
}

.site-footer__copyright {
  font-size: var(--font-size-xs);
  line-height: var(--line-height-14);
}

@media (max-width: 767px) {
  .site-footer__inner {
    gap: 20px;
  }

  .site-footer__guide,
  .site-footer__policy {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-16);
  }

  .site-footer__social-link {
    width: 36px;
    height: 36px;
  }

  .site-footer__policy {
    max-width: 332px;
    flex-direction: column;
    gap: 0;
  }

  .site-footer__policy-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 10px;
  }

  .site-footer__policy-row:not(:last-child) > *:last-child::after {
    display: none;
  }

  .site-footer__policy-row > *:not(:last-child)::after {
    display: inline-block;
    width: var(--stroke-1);
    height: 12px;
    margin-left: 10px;
    vertical-align: middle;
    background: var(--semantic-input-border);
    content: "";
  }

  .site-footer__company-toggle {
    display: inline-flex;
  }

  .site-footer__company-toggle::after {
    display: none;
  }

  .site-footer__company-label {
    display: none;
  }

  .site-footer__company[hidden] {
    display: none;
  }

  .site-footer__company {
    font-size: var(--font-size-xs);
    line-height: var(--line-height-14);
  }

  .site-footer__notice,
  .site-footer__copyright {
    font-size: 10px;
    line-height: 12px;
  }
}

/*
 * 2026-10-26 Figma common › Footer › footer-main(1024:69171) 반영
 * SNS: 원 배경 없이 PC 30px·간격 32 / 모바일 26px·간격 28 · 저작권 #949494 · 모바일 안내문은 Figma 줄바꿈 판(--mo)
 */
.site-footer .site-footer__social {
  gap: 32px;
}

.site-footer .site-footer__social-link {
  width: 30px;
  height: 30px;
  border-radius: 0;
  background: transparent;
}

.site-footer .site-footer__copyright {
  color: var(--neutral-tx3-sub, #949494);
}

.site-footer .site-footer__notice--mo {
  display: none;
}

@media (max-width: 767px) {
  .site-footer .site-footer__inner {
    padding: 28px 14px;
  }

  .site-footer .site-footer__social {
    gap: 28px;
  }

  .site-footer .site-footer__social-link {
    width: 26px;
    height: 26px;
  }

  .site-footer .site-footer__notice--pc {
    display: none;
  }

  .site-footer .site-footer__notice--mo {
    display: block;
    white-space: nowrap;
  }
}

/* 2026-11-03 요청 — 360px 보다 좁은 화면(320 등)은 안내문을 보통 줄바꿈으로(Figma 줄바꿈 그대로 두면 가장 긴 줄 342px 이 화면 밖으로 나가 페이지가 가로로 늘어난다) */
@media (max-width: 359px) {
  .site-footer .site-footer__notice--mo,
  .site-footer .site-footer__notice--mo p {
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
}
