.floating-button {
  position: fixed;
  bottom: 100px;
  right: 5vw;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.floating-button.hide {
  opacity: 0;
  visibility: hidden;
}

.floating-button img {
  width: 20vw;
  max-width: 100px;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}

.floating-apply-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #ffffff;
  color: #0058ff;
  font-weight: bold;
  font-size: 10px;
  max-font-size: 17px;
  width: 20vw;
  max-width: 100px;
  height: 8vw;
  max-height: 30px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* YESEO footer */
.yeseo-footer {
  background: #000820;
  color: #ffffff;
  padding-top: 40px;
  padding-bottom: 80px;
}

.yeseo-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 48px;
  min-height: 550px;
}

.yeseo-footer-main {
  /*
   * 상담 신청 본문(.conApply .container)과 같은 외곽 폭 기준을 사용한다.
   * 실제 모바일 좌우 여백은 아래 768px media query에서 본문과 동일한 1rem padding으로 맞춘다.
   */
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
}

.yeseo-footer-logos {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.yeseo-footer-logo--yeseo {
  width: 153px;
  height: 24px;
  object-fit: contain;
}

.yeseo-footer-logo--rn {
  width: 68px;
  height: 18px;
  object-fit: contain;
}

.yeseo-footer-divider {
  width: 1px;
  height: 30px;
  background: #ffffff;
  opacity: 0.9;
}

.yeseo-footer-text {
  font-size: 12px;
  line-height: 1.6;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.yeseo-footer-text--desktop {
  display: none;
}

.yeseo-footer-spacer {
  height: 12px;
}

.yeseo-footer-meta {
  font-size: 12px;
  line-height: 1.6;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.44);
}

.yeseo-footer-meta--desktop {
  display: none;
}

.yeseo-footer-link {
  color: rgba(255, 255, 255, 0.44);
  text-decoration: underline;
}

.yeseo-footer-right {
  margin-top: 120px;
}

.yeseo-footer-sns {
  display: flex;
  gap: 12px;
}

.yeseo-sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 5px;
  background: #003AFF;
  transition: background 0.2s ease;
}

.yeseo-sns-link:hover {
  background: #0033cc;
}

.yeseo-sns-link:active {
  background: #0029a3;
}

.yeseo-sns-link img {
  width: 26px;
  height: 26px;
}

@media screen and (max-width: 768px) {
  .yeseo-footer-main {
    /*
     * 본문 .container가 768px 이하에서 좌우 1rem padding을 갖기 때문에
     * footer 내부 콘텐츠 기준선도 같은 padding 값으로 맞춘다.
     */
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media screen and (min-width: 1280px) {
  .yeseo-footer-inner {
    padding: 140px 40px 80px;
    min-height: 800px;
  }

  .yeseo-footer-main {
    flex-direction: row;
    justify-content: space-between;
  }

  .yeseo-footer-logos {
    gap: 30px;
    margin-bottom: 64px;
  }

  .yeseo-footer-logo--yeseo {
    width: 226px;
    height: 56px;
  }

  .yeseo-footer-logo--rn {
    width: 158px;
    height: 44px;
  }

  .yeseo-footer-text {
    font-size: 20px;
    color: #ffffff;
  }

  .yeseo-footer-text--mobile {
    display: none;
  }

  .yeseo-footer-text--desktop {
    display: block;
  }

  .yeseo-footer-meta {
    font-size: 18px;
  }

  .yeseo-footer-meta--mobile {
    display: none;
  }

  .yeseo-footer-meta--desktop {
    display: block;
  }

  .yeseo-footer-right {
    margin-top: 0;
  }

  .yeseo-sns-link {
    width: 53px;
    height: 53px;
  }

  .yeseo-sns-link img {
    width: 30px;
    height: 30px;
  }

  .privacy-policy-footer .yeseo-footer-main {
    /*
     * /web2/privacyPolicyF의 큰 웹 화면에서만 footer 콘텐츠 폭을 넓힌다.
     * 공용 footer fragment는 유지하고, privacyPolicyF wrapper 내부에서만 폭을 override한다.
     */
    max-width: 86.5rem;
    margin: 0 auto;
  }

  .privacy-policy-footer .yeseo-footer-left {
    /*
     * privacyPolicyF에서는 footer 내부 콘텐츠 영역도 확장된 86.5rem 컨테이너 전체를 사용하게 한다.
     * 텍스트 정렬은 기존 왼쪽 정렬을 유지하고, 선택 영역/기준 폭만 중앙 컨테이너와 맞춘다.
     */
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 320px) {
  .floating-button {
    bottom: 80px;
    right: 3vw;
  }

  .floating-apply-link {
    font-size: 10px;
    width: 25vw;
    height: 9vw;
  }
}
