/*--== apply common ============-- */
.page-apply {
  --font-red: #ff1515;
}
.note-ms {
  display: block;
  color: var(--color-main-green);
  margin-top: 0.3em;
}
.confirm-password-group {
  display: flex;
}
.js-confirm-password {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  color: var(--color-text);
  margin-left: clamp(16px, calc(-0.34285714285714164px + 4.190476190476191vw), 60px);
}
.js-confirm-password .js-confirm-icon {
  position: relative;
  display: inline-block;
  display: flex;
  align-items: center;
}
.js-confirm-password .js-confirm-icon .slash {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130%;
  height: 1px;
  background: #333;
  transform: translate(-50%, -50%) rotate(-45deg);
  transform-origin: center;
}
.js-confirm-password .js-confirm-icon.is-hide .slash {
  display: block;
}
.apply-confirmation .btn-group .btn-back::before,
.apply-completed .btn-top a::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  display: block;
  width: 20px;
  height: 100%;
  background-image: url(../../../assets/images/icons/icon-arrow-g.svg);
  background-size: 10px 16px;
  background-repeat: no-repeat;
  background-position: right center;
  transform: scaleX(-1);
  z-index: 1;
}
/*-- lab-page-header --*/
.page-apply .page-header-inner {
  text-align: center;
  margin-inline: auto;
}
/*-- lab-container --*/
.page-apply .lab-container {
  max-width: 750px;
  width: 89.222vw;
}
.page-apply .thanks.lab-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 750px;
  padding-bottom: clamp(60px, calc(52.57142857142857px + 1.9047619047619049vw), 80px);
}
.page-apply .lab-container-m {
  max-width: 896px;
  padding-bottom: clamp(60px, calc(52.57142857142857px + 1.9047619047619049vw), 80px);
}
.notes {
  padding: 20px 30px;
  margin-block: 70px 48px;
  background-color: var(--color-light-green);
}
/*-- form --*/
.page-apply main form {
  margin-bottom: clamp(32px, calc(14.17142857142857px + 4.571428571428571vw), 80px);
}
.header-emesg,
.footer-emesg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}
.header-emesg {
  color: var(--font-red);
  margin-top: 20px;
}
.terms-title {
  font-size: var(--font-size-18);
  font-weight: 500;
  text-align: center;
  margin-top: 32px;
  margin-bottom: 32px;
}
.terms-wapper {
  max-width: 720px;
  width: 100%;
  height: 288px;
  padding-block: clamp(22px, calc(19.02857142857143px + 0.7619047619047619vw), 30px);
  padding-inline: clamp(16px, calc(10.8px + 1.3333333333333335vw), 30px) clamp(18px, calc(17.257142857142856px + 0.19047619047619047vw), 20px);
  margin-inline: auto;
  border: var(--color-text) 1px solid;
  border-radius: 4px;
  overflow-y: hidden;
}
.terms-inner {
  height: 100%;
  padding-right: 22px;
  overflow-y: scroll;
  scrollbar-color: var(--color-main-green) var(--color-light-green);
}
.terms-checkbox {
  display: flex;
  justify-content: center;
  font-size: var(--font-size-18);
  margin-top: clamp(16px, calc(7.085714285714285px + 2.2857142857142856vw), 40px);
  margin-bottom: clamp(60px, calc(55.41579731743666px + 0.5961251862891207vw), 64px);
}
.terms-checkbox label span {
  position: relative;
  cursor: pointer;
}
.terms-checkbox label input:checked + span::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 7px;
  display: inline-block;
  width: 5px;
  height: 10px;
  border: solid var(--color-main-green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
/*--input-fields--*/
.input-fields {
  margin-top: clamp(60px, calc(52.57142857142857px + 1.9047619047619049vw), 80px);
}
.input-fields dl {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: flex-start;
  gap: 0 30px;
  margin-bottom: clamp(60px, calc(55.41579731743666px + 0.5961251862891207vw), 64px);
}
.input-fields dl > dt.fields-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-16-14);
  font-weight: 500;
}
.input-fields dl > dt.fields-title .need {
  color: var(--font-red);
  font-size: var(--font-size-12);
  padding: 0 0.4em 0.1em;
}
.input-fields dl > dd .msg {
  display: block;
  width: 100%;
  color: var(--font-red);
  margin-top: 10px;
}
.input-fields dl > dd .col2 {
  display: grid;
  gap: 0 20px;
  grid-template-columns: repeat(2, 1fr);
}
.input-fields dl > dd.address .col2 {
  margin-bottom: 10px;
}
.input-fields dl > dd.address input[type="text"] {
  margin-top: 5px;
}
.input-fields dl > dd.position {
  position: relative;
}
.input-fields dl > dd.position .select-arrow {
  position: absolute;
  top: 15px;
  right: 21px;
  width: 12px;
  height: 20px;
  margin: auto;
  background: url(../../../assets/images/icons/icon-arrow-gr.svg) center center no-repeat;
  background-size: 11px 18px;
  pointer-events: none;
  transform: rotate(90deg);
}
.input-fields input[type="text"],
.input-fields input[type="password"] {
  width: 100%;
  font-size: var(--font-size-16);
  padding: 14px;
  border: var(--color-black) 1px solid;
  border-radius: 5px;
}
.input-fields input[type="text"]::placeholder,
.input-fields input[type="password"]::placeholder {
  color: #cacaca;
  opacity: 1;
}
.input-fields select {
  width: 100%;
  font-size: var(--font-size-16);
  padding: 13px;
  background-color: var(--color-white);
  border: var(--color-black) 1px solid;
  border-radius: 5px;
  appearance: none;
}
.input-fields ul.checkbox {
  display: grid;
  grid-template-columns: repeat(4, auto);
  align-items: center;
  gap: 15px 10px;
}
.input-fields ul.checkbox li label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
}
.terms-checkbox label input,
.input-fields ul.checkbox li input {
  display: none;
}
.input-fields ul.checkbox li span {
  font-size: var(--font-size-16);
  position: relative;
}
.terms-checkbox label span::before,
.input-fields ul.checkbox li span::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: bottom;
  margin-right: 8px;
  border: var(--color-text) 1px solid;
  background-color: var(--color-white);
  border-radius: 2px;
}
.terms-checkbox label input:checked + span::before,
.input-fields ul.checkbox li input:checked + span::before {
  border-color: var(--color-main-green);
}
.input-fields ul.checkbox li input:checked + span::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 7px;
  display: inline-block;
  width: 5px;
  height: 10px;
  border: solid var(--color-main-green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
input.submit {
  display: block;
  max-width: 280px;
  width: 34.444vw;
  color: var(--color-main-orange);
  font-size: var(--font-size-18);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  padding-block: clamp(16px, calc(14.142857142857142px + 0.4761904761904762vw), 21px);
  margin-inline: auto;
  background-color: var(--color-white);
  border-radius: 4px;
  background: url(../../../assets/images/icons/icon-arrow-o.svg), var(--color-white);
  background-size:
    11px 18px,
    100% 100%;
  background-repeat: no-repeat, no-repeat;
  background-position:
    right clamp(20px, calc(17.4px + 0.6666666666666667vw), 27px) center,
    center;
  border: var(--color-main-orange) 1px solid;
  cursor: pointer;
  transition: all 0.4s ease;
}
input[type="submit"]:hover {
  opacity: 0.8;
}
.apply-password-group {
  position: relative;
}
.apply-password-group .js-view-password {
  top: 26px;
}
@media (min-width: 769px) {
  .input-fields ul.checkbox li.label-wide {
    grid-column: span 2;
  }
}
@media (max-width: 768px) {
  .input-fields dl {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0;
  }
  .input-fields dl > dt.fields-title {
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 16px;
  }
  .input-fields dl > dt.fields-title .need {
    margin-left: 10px;
  }
  .input-fields dl > dd {
    width: 100%;
  }
  .input-fields dl > dd.position .select-arrow {
    right: 12px;
  }
  .input-fields ul.checkbox {
    grid-template-columns: repeat(2, auto);
  }
  input.submit {
    width: 71.795vw;
  }
}
@media (max-width: 480px) {
  .input-fields dl > dd .col2 {
    display: block;
  }
  .input-fields input[name*="Name"] {
    max-width: initial;
    width: 100%;
  }
  .input-fields input[name="firstName"] {
    margin-left: 0;
    margin-top: 10px;
  }
}
/*-- apply-confirmation --*/
.apply-confirmation .btn-group {
  position: relative;
  margin-top: clamp(60px, calc(52.57142857142857px + 1.9047619047619049vw), 80px);
}
.apply-confirmation .btn-group .btn-back {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: all 0.4s ease;
  cursor: pointer;
}
.apply-confirmation .btn-group .btn-back:hover {
  opacity: 0.8;
}
.apply-confirmation .btn-group .btn-back input[type="submit"] {
  color: var(--color-text);
  font-size: var(--font-size-18);
  font-weight: 500;
  margin-left: 20px;
  background: none;
  border: none;
  cursor: pointer;
}
.apply-confirmation .btn-group .btn-orange {
  max-width: 280px;
  width: 36.444vw;
  font-size: var(--font-size-18);
  border: none;
}
@media (max-width: 768px) {
  .apply-confirmation .btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px 0;
  }
  .apply-confirmation .btn-group .btn-back {
    position: relative;
    transform: none;
  }
  .apply-confirmation .btn-group .btn-orange {
    width: 71.795vw;
  }
  .apply-confirmation .btn-group .btn-grey {
    width: 71.795vw;
  }
}
@media (max-width: 480px) {
  .apply-confirmation .btn-group {
    gap: 8.205vw 0;
  }
}
/*-- apply-completed --*/
.apply-completed .btn-top {
  display: flex;
  justify-content: center;
  margin-top: clamp(60px, calc(45.14285714285714px + 3.8095238095238098vw), 100px);
}
.apply-completed .btn-top a {
  position: relative;
  color: var(--color-text);
  font-size: var(--font-size-18);
  padding-left: 20px;
  transition: all 0.4s ease;
  text-decoration: none;
}
.apply-completed .btn-top a:hover {
  opacity: 0.8;
}
/*-- mypage-delete --*/
.apply-delete .btn-group {
  width: 80%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding-bottom: clamp(60px, 60px + 0vw, 60px);
  margin-inline: auto;
}
.apply-delete .btn-mypage {
  position: relative;
  max-width: 280px;
  width: 36.444vw;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  font-size: var(--font-size-18);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  padding-block: 21px 22px;
  background-image: var(--color-gradient-green);
  border-radius: 100px;
  transition: all 0.4s ease;
}
.apply-delete .btn-mypage::before {
  content: "";
  position: absolute;
  top: 1px;
  left: clamp(20px, calc(17.4px + 0.6666666666666667vw), 27px);
  display: block;
  width: 20px;
  height: 100%;
  background-image: url(../../../assets/images/icons/icon-arrow-w.svg);
  background-size: 10px 16px;
  background-repeat: no-repeat;
  background-position: right center;
  transform: scaleX(-1);
  z-index: 1;
}
.apply-delete .btn-mypage:hover {
  opacity: 0.8;
}
.apply-delete .btn-orange-border {
  max-width: 280px;
  width: 36.444vw;
  font-size: var(--font-size-18);
  font-weight: 500;
  padding-block: 21px 22px;
  background-size: 10px 16px;
  border-radius: 100px;
  cursor: pointer;
}
@media (max-width: 768px) {
  .apply-delete .btn-group {
    display: flex;
    flex-direction: column-reverse;
  }
  .apply-delete .btn-mypage,
  .apply-delete .btn-orange-border {
    width: 71.795vw;
  }
}
/*-- mypage-password --*/
.input-fields dl.password {
  display: block;
  max-width: 550px;
  margin-inline: auto;
}
.input-fields dl.password dt {
  margin-bottom: 15px;
}
.input-fields dl.password dt.new-pass {
  margin-top: 25px;
}
/*-- admin-approval --*/
.admin-approval .lab-page-header {
  padding-top: clamp(0px, calc(-91.17384843982168px + 11.88707280832095vw), 80px);
}
.admin-approval .lab-container p {
  text-align: center;
}
.admin-approval .btn-group {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding-bottom: clamp(60px, 60px + 0vw, 60px);
  margin-inline: auto;
}
.admin-approval .btn-grey {
  max-width: 280px;
  width: 36.444vw;
  border-radius: 100px;
  border: none;
}
@media (max-width: 768px) {
  .admin-approval .btn-group {
    display: flex;
    flex-direction: column;
  }
}
