@charset "utf-8";

/* 공통 */
.idFind,
.passwordFind,
.resiter {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0 auto;
}
h2 {
  font-size: 3.25rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 5rem;
}
.idFindBox,
.passwordFindBox {
  width: 45.75rem;
  border: 1px solid var(--gray);
  border-width: 1px 0;
  padding: 7.5rem 0;
  text-align: center;
}
h3 {
  font-size: 1.68rem;
  color: var(--black);
  margin-bottom: 0.93rem;
  line-height: 1.4;
}
p {
  font-size: 1.12rem;
  color: var(--deep-gray);
  margin-bottom: 3.12rem;
  line-height: 1.4;
}
button {
  width: 13.93rem;
  height: 3.75rem;
  border-radius: 3.12rem;
  margin-bottom: 0.62rem;
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--white);
  background: var(--black);
  transition: all 0.3s;
}
button:hover {
  background: var(--dark-gray);
}

.fegisterLeft {
  width: 45.75rem;
}
.fegisterLeft h3 {
  margin-bottom: 2.5rem;
}
.fegisterLeft .registerBox {
  border: 1px solid var(--black);
  border-width: 1px 0;
  padding: 0.93rem;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  font-weight: 500;
  line-height: 2.4;
  margin-bottom: 3.75rem;
}
.fegisterLeft .registerBox label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.37rem;
  cursor: pointer;
}
.fegisterLeft .registerBox label:first-child {
  font-size: 1.12rem;
  font-weight: 600;
  padding-bottom: 0.93rem;
  border-bottom: 1px solid var(--light-gray);
  margin-bottom: 0.93rem;
}
.fegisterLeft .registerBox label input[type="checkbox"] {
  width: 1.37rem;
  height: 1.37rem;
}
.fegisterLeft .registerBox label > a {
  position: absolute;
  right: 0;
  font-size: 0.87rem;
  color: var(--deep-gray);
  transition: all 0.3s;
}
.fegisterLeft .registerBox label > a:hover {
  color: var(--black);
}
.fegisterLeft .registerBox label > a::after {
  content: "";
  position: absolute;
  bottom: 0.37rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  width: 100%;
  height: 1px;
  background: var(--deep-gray);
}

/* 약관동의 자세히보기 모달창 */
.serviceModalArea,
.policyModalArea {
  position: fixed;
  inset: 0;
  background: var(--black70);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  display: none;
  opacity: 0; /* 투명도 0 */
  transition: all 0.3s ease; /* 부드러운 전환 */
}
.serviceModalArea.show,
.policyModalArea.show {
  display: flex; /* 보이게 */
  opacity: 1; /* fade in */
}
.serviceModalArea .serviceModal,
.policyModalArea .policyModal {
  width: 61.75rem;
  max-height: 43.75rem;
  background: var(--white);
  text-align: center;
  padding: 3.75rem;
  text-align: left;
  overflow: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}

/* 스크롤 바 디자인 */
.serviceModalArea .serviceModal::-webkit-scrollbar,
.policyModalArea .policyModal::-webkit-scrollbar {
  width: 0.5rem;
}
.serviceModalArea .serviceModal::-webkit-scrollbar-thumb,
.policyModalArea .policyModal::-webkit-scrollbar-thumb {
  background: var(--light-gray);
  border-radius: 0.25rem;
}

/* service */
.serviceModal > h2 {
  font-size: 2.68rem;
  margin-bottom: 5.62rem;
  text-align: left;
}
.serviceModal > h3 {
  font-size: 2rem;
  color: var(--black);
  margin-bottom: 1.25rem;
}
.serviceModal > h4 {
  font-size: 1.68rem;
  font-weight: 600;
  margin-bottom: 3.75rem;
}

.serviceModal > h5 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.87rem;
}
.serviceModal > p,
.serviceModal ol {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--deep-gray);
  line-height: 1.5;
  margin-bottom: 3.75rem;
}
.serviceModal ol li {
  list-style-type: decimal;
  margin-left: 1.25rem;
  margin-bottom: 0.62rem;
}
.serviceModal .line {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--deep-gray);
  margin-bottom: 3.75rem;
}
.serviceModal .text {
  margin-bottom: 0px;
}
.serviceModalArea .btnUseClose {
  position: absolute;
  top: 12%;
  right: 20%;
  transform: rotate(0);
  opacity: 0.5;
  width: 5.25rem;
  height: 5.25rem;
  border: none;
  background: transparent;
  transition: all 0.3s;
  outline: none;
}
.serviceModalArea .btnUseClose:hover {
  background: none;
  transform: rotate(90deg);
  opacity: 1;
  outline: none;
}
.serviceModalArea .btnUseClose:hover:focus {
  outline: none;
}

/* policy */
.policyModal > h2 {
  font-size: 2.68rem;
  margin-bottom: 5.62rem;
  text-align: left;
}
.policyModal > h3 {
  font-size: 2rem;
  color: var(--black);
  margin-bottom: 1.25rem;
}
.policyModal > h4 {
  font-size: 1.68rem;
  font-weight: 600;
  margin-bottom: 3.75rem;
}

.policyModal > h5 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.87rem;
}
.policyModal > p,
.policyModal ol {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--deep-gray);
  line-height: 1.5;
  margin-bottom: 3.75rem;
}
.policyModal ol li {
  list-style-type: decimal;
  margin-left: 1.25rem;
  margin-bottom: 0.62rem;
}
.policyModal .line {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--deep-gray);
  margin-bottom: 3.75rem;
}
.policyModal .text {
  margin-bottom: 0px;
}
.policyModal table {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--deep-gray);
  width: 100%;
  margin-bottom: 0.93rem;
}
.policyModal th,
.policyModal td {
  height: 1.5rem;
  padding: 1.5rem 1rem;
  text-align: left;
}
.policyModal th {
  border-top: 1px solid var(--black);
}
.policyModal td {
  border: 1px solid var(--light-gray);
  border-width: 1px 0;
}

.policyModalArea .btnInfoClose {
  position: absolute;
  top: 12%;
  right: 20%;
  transform: rotate(0);
  opacity: 0.5;
  width: 5.25rem;
  height: 5.25rem;
  border: none;
  background: transparent;
  transition: all 0.3s;
  outline: none;
}
.policyModalArea .btnInfoClose:hover {
  background: none;
  transform: rotate(90deg);
  opacity: 1;
  outline: none;
}
.policyModalArea .btnInfoClose:hover:focus {
  outline: none;
}

/* ==========태블릿 반응형============= */
@media screen and (max-width: 1023px) {
  /* 공통 */
  .idFind,
  .passwordFind,
  .resiter {
    height: auto;
    padding: 12.5rem 0 7.5rem;
  }
  h2 {
    font-size: 2.75rem;
    margin-bottom: 3.75rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  p {
    font-size: 1.06rem;
    margin-bottom: 1.25rem;
  }
  button {
    height: 3.62rem;
    font-size: 1.06rem;
  }
  button:hover {
    background: var(--black);
  }

  .fegisterLeft .registerBox label:first-child {
    font-size: 1.06rem;
  }
  .fegisterLeft .registerBox label > a:hover {
    color: var(--deep-gray);
  }

  /* 약관동의 자세히보기 모달창 */
  .serviceModalArea .serviceModal,
  .policyModalArea .policyModal {
    width: 61.75rem;
    max-height: 64.62rem;
  }

  /* service */
  .serviceModal > h2 {
    font-size: 2.25rem;
  }
  .serviceModal > h3 {
    font-size: 1.75rem;
  }
  .serviceModal > h4 {
    font-size: 1.5rem;
  }

  .serviceModal > h5 {
    font-size: 1.37rem;
  }
  .serviceModal > p,
  .serviceModal ol {
    font-size: 1.06rem;
  }
  .serviceModal .line {
    font-size: 0.98rem;
  }
  .serviceModalArea .btnUseClose {
    top: 0;
    right: 0;
    width: 4.5rem;
    height: 4.5rem;
  }
    .serviceModalArea .btnUseClose svg {
      width: 100%;
      height: 100%;
    }
  .serviceModalArea .btnUseClose:hover {
    transform: rotate(0deg);
    opacity: 0.5;
  }

  /* policy */
  .policyModal > h2 {
    font-size: 2.25rem;
  }
  .policyModal > h3 {
    font-size: 1.75rem;
  }
  .policyModal > h4 {
    font-size: 1.5rem;
  }

  .policyModal > h5 {
    font-size: 1.37rem;
  }
  .policyModal > p,
  .policyModal ol {
    font-size: 1.06rem;
    margin-bottom: 1.25rem;
  }
  .policyModal ol li {
    list-style-type: decimal;
    margin-left: 1.25rem;
    margin-bottom: 0.62rem;
  }
  .policyModal .line {
    font-size: 0.98rem;
  }
  .policyModal table {
    font-size: 1.06rem;
  }
  .policyModalArea .btnInfoClose {
    top: 0;
    right: 0;
    width: 4.5rem;
    height: 4.5rem;
  }
  .policyModalArea .btnInfoClose svg {
    width: 100%; height: 100%;
  }
  .policyModalArea .btnInfoClose:hover {
    transform: rotate(0deg);
    opacity: 0.5;
  }
}
