@charset 'utf-8';

@font-face {
  font-family: "Pretendard-Regular";
  src: url("https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff")
    format("woff");
  font-weight: 400;
  font-style: normal;
}

.ir-inline {
  z-index: -1;
  overflow: hidden;
  display: inline-block;
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
}

#renewal-popup {
  overflow: hidden;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 88%;
  max-width: 340px;
  padding: 0;
  margin: 0;
  border: 0 none;
  border-radius: 12px;
  background: transparent;
  transform: translate(-50%, -50%);
}

#renewal-popup::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

#renewal-popup .renewal-popup__visual {
  margin: 0;
  font-size: 0;
}

#renewal-popup .renewal-popup__visual img {
  width: 100%;
}

#renewal-popup .renewal-popup-body {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: #fff;
}

#renewal-popup .renewal-popup__link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  border-radius: 8px;
  font-family: "Pretendard-Regular", sans-serif !important;
  font-weight: 700;
  font-size: 18px;
  color: #3775ef;
  letter-spacing: 0.01em;
  text-decoration: none;
  background: #eaf1ff;
}

#renewal-popup .renewal-popup__link + .renewal-popup__link {
  margin-top: 12px;
}

#renewal-popup .renewal-popup-menu {
  display: flex;
  align-items: center;
  margin-top: 18px;
}

#renewal-popup .renewal-popup-menu button {
  margin-left: auto;
  font-family: "Pretendard-Regular", sans-serif !important;
  font-size: 16px;
  color: #b5b5b5;
  letter-spacing: 0.01em;
}

#renewal-popup .renewal-popup__x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 20px;
  background: url(../image/icon__x.svg) no-repeat center / contain;
  aspect-ratio: 1 / 1;
}

.custom-check {
  --check-size: 24px;
  --check-gap: 3px;
  --point-color: #3775ef;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.custom-check [type="checkbox"] {
  display: none;
  appearance: none;
}

.custom-check-label {
  align-self: stretch;
  display: flex;
  align-items: center;
  font-family: "Pretendard-Regular", sans-serif !important;
  font-size: 16px;
  color: #b5b5b5;
  letter-spacing: 0.01em;
}

.custom-check-label__wrap {
  display: flex;
  align-items: flex-start;
  gap: var(--check-gap);
}

.custom-check-label__wrap::before {
  flex: 0 0 auto;
  width: var(--check-size);
  background: url(../image/icon__check--off.svg) no-repeat center / contain;
  aspect-ratio: 1/1;
  content: "";
}

input:checked + .custom-check-label__wrap span {
  color: var(--point-color);
}

input:checked + .custom-check-label__wrap::before {
  background-image: url(../image/icon__check--on.svg);
}

@media (min-width: 960px) {
  #renewal-popup {
    width: 440px;
    max-width: initial;
    border-radius: 24px;
  }

  #renewal-popup .renewal-popup-body {
    padding: 30px;
  }

  #renewal-popup .renewal-popup__x {
    top: 20px;
    right: 20px;
    width: 30px;
  }

  #renewal-popup .renewal-popup__link {
    padding: 18px;
    font-size: 26px;
  }

  .custom-check {
    --check-size: 28px;
    --check-gap: 5px;
  }

  .custom-check-label {
    font-size: 20px;
  }

  #renewal-popup .renewal-popup-menu {
    margin-top: 24px;
  }

  #renewal-popup .renewal-popup-menu button {
    font-size: 20px;
  }
}
