* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  overflow-x: hidden;
  background: #333;
}

img {
  display: block;
}

.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.section02 {
  background: linear-gradient(180deg, #50b2ff 0%, #b0e0ff 100%);
  padding: 80px 20px;
}

.section02 .inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section02 .list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 50px;
}

.section02 p {
  margin-top: 10px;
}

.section02 .list.reveal-ready img {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.section02 .list.reveal-ready img.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.form_section {
  background: #fff;
}

.form_section .inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

#form {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 20px;
}

#form .name_box,
#form .phone_box,
#form .birth_box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

#form .name_box .name-label,
#form .phone_box .num-label,
#form .birth_box .birth-label {
  font-size: 14px;
  color: #000;
  font-weight: bold;
  font-size: 25px;
}

.phone_input {
  display: flex;
  align-items: center;
  gap: 0px;
  width: 100%;
}
.phone_input span {
  background: #00428c;
  color: #fff;
  border-radius: 5px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 5px 0 0 5px;
}

#submitBtn {
  background: #0166da;
  color: #fff;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  padding: 15px 0;
  border-radius: 5px;
}

#form .name_box input,
#form .phone_box input,
#form .birth_box input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 20px;
  height: 50px;
}

#form .phone_box input {
  border-radius: 0 5px 5px 0;
}

#form #privacy_agree {
  width: 30px;
  height: 30px;
}

.privacy_box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.privacy_box label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

#agreeView {
  color: #1233da;
  text-decoration: underline;
}

.cursor {
  cursor: pointer;
}

/* 개인정보 모달 */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 11000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  padding: 20px;
}

.modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  width: min(640px, 100%);
  max-height: min(80vh, 720px);
  overflow-y: auto;
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-content h3 {
  font-size: 24px;
  margin: 0 0 8px;
}

.modal-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
  color: #1f2a44;
  font-weight: 700;
  cursor: pointer;
}

footer {
  background: #08003c;
  padding: 30px 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: calc(150px + env(safe-area-inset-bottom));
}

footer p.title {
  color: #fff;
  font-size: 25px;
  font-weight: bold;
  margin-top: 20px;
}

footer p {
  color: #fff;
  font-size: 14px;
}

footer img {
  width: 200px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  img {
    width: 100%;
    height: auto;
  }
  .section02 {
    padding: 50px 15px;
  }

  .section02 .title {
    width: 80%;
  }
  .section02 .list {
    gap: 5px;
    margin-top: 30px;
  }

  #form {
    padding: 20px;
    gap: 10px;
    /* font-size: 16px; */
    word-break: keep-all;
  }
  #form #privacy_agree {
    width: 25px;
    height: 25px;
  }
  .privacy_box {
    font-size: 16px;
  }
}
