.site-footer {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--background-color);
}

.pc-only {
  display: flex;
}

.mobile-only {
  display: none;
}

.footer-content {
  justify-content: space-between;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-height: 29.7rem;
  padding: clamp(2rem, 5vw, 5.4rem) clamp(1.6rem, 3vw, 4rem);
}

.footer-left {
  display: flex;
  gap: 12.4rem;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: min(1.5vw, 1.6rem);
}

.footer-logo {
  width: 11rem;
}

.footer-logo img {
  width: 100%;
}

.company-info {
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1.9rem;
}

.info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.info-item {
  display: grid;
  grid-template-columns: 1fr 4fr;
}

.info-row .info-item {
  grid-template-columns: 1fr 1.5fr;
}
.info-row .info-item p {
  position: relative;
}
.info-row .info-item p:last-child::before {
  height: 1.6rem;
  content: "";
  position: absolute;
  top: 50%;
  left: -0.5rem;
  transform: translateY(-50%);
  border-left: 0.1rem solid #d0dae4;
}

.info-item dt {
  color: #d0dae4;
  font-family: "Inter", sans-serif;
}

.info-item dd {
  color: #8895a1;
  font-family: "Inter", sans-serif;
}

.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2rem;
}

.prpsns-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style-type: none;
  gap: 2.2rem;
}

.prpsns {
  position: relative;
  width: 2.5rem;
}

.prpsns img {
  width: 100%;
}

.prpsns:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.1rem;
  height: 0.6rem;
  background-color: #5e6c79;
}

.copyright {
  text-align: end;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: min(1.5vw, 1.6rem);
  line-height: 1.9rem;
  color: #5e6c79;
}
/* modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  /* -webkit-backdrop-filter: blur(5px); */
  z-index: 1000;
}

.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 86.5rem;
  height: 100%;
  max-height: 55.2rem;
  background: rgba(16, 30, 42, 0.1);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  z-index: 1001;
  display: flex;
  justify-content: flex-end;
  align-items: center;

  overflow: hidden;
}
.modal-content::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: url("/home_assets/img/popup/popup-back.png") no-repeat
    center/cover;
  z-index: -1;
}
.modal-element {
  width: 60%;
  padding: clamp(2.8rem, 5vw, 7.4rem);
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: clamp(2.4rem, 5vw, 2.8rem);
  font-weight: noremal;
  color: #b8a892;
  cursor: pointer;
  border: none;
  background: none;
}

.modal-header {
  margin-bottom: clamp(3.6rem, 5vw, 5.6rem);
  color: var(--white);
}

.modal-header h1 {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(2.8rem, 3vw, 3.2rem);
  line-height: 39px;
  margin-bottom: 2rem;
}
.modal-header p {
  font-family: "Pretendard", sans-serif;
  font-style: normal;
  font-weight: 200;
  font-size: clamp(1.4rem, 1vw, 1.6rem);
  line-height: 19px;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: clamp(1.8rem, 5vw, 2.3em);
  margin-bottom: 20px;
  color: #666;
  line-height: 1.6;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(0.8rem, 5vw, 1.2rem);
  line-height: 15px;
  color: var(--white);
}
.modal-body label {
  display: flex;
  flex-direction: column;
  gap: clamp(0.4rem, 1vw, 0.6rem);
}
.modal-body input {
  width: calc(100% - 1.6rem);
  border: 1px solid rgba(193, 157, 107, 0.5);
  background-color: transparent;
  outline: none;
  font-size: clamp(1.2rem, 1vw, 1.4rem);
  padding: clamp(0.6rem, 1vw, 0.8rem);
  color: var(--white);
}

.modal-footer {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  text-align: right;
}

.btn {
  border: none;
  cursor: pointer;
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;

  text-align: center;

  color: var(--white);
}

.btn-primary {
  width: 100%;
  background: #a48355;
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  padding: clamp(0.6rem, 3vw, 0.9rem);
}

.btn-signup {
  color: white;
  background-color: transparent;
  border: none;
  padding: 0;

  font-family: "Pretendard";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  text-align: right;
}

.btn-secondary:hover {
  background-color: #545b62;
}

.modal-overlay.active {
  display: block;
}

@media (max-width: 768px) {
  .pc-only {
    display: none;
  }

  .mobile-only {
    display: flex;
  }

  .footer-content {
    flex-direction: column;
    gap: 4.4rem;
    min-width: var(--min-width);
  }
  .footer-logo {
    padding-bottom: 4.4rem;
  }
  .footer-left {
    gap: 0;
    justify-content: space-between;
    /* align-items: flex-end; */
    flex-direction: column;
  }

  .company-info {
    justify-content: flex-start;
    padding-left: 1.6rem;
  }

  .info-list {
    font-size: 1.4rem;
  }

  .copyright {
    font-size: 1rem;
  }
  .modal-content {
    width: 90%;
  }
  .modal-element {
    width: 100%;
  }
}

/* 모달 내 인풋의 autofill 배경 없애기 */
#myModal input:-webkit-autofill,
#myModal input:-webkit-autofill:hover,
#myModal input:-webkit-autofill:focus,
#myModal input:-webkit-autofill:active {
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff !important;
  -webkit-box-shadow: 0 0 0px 1000px #0c1c27 inset !important;
  box-shadow: inset 0 0 0 1000px #0c1c27 !important;
  background-clip: padding-box;
}
