@charset "utf-8";
:root {
  --surface: #ffffff;
  --text: #1f3225;
  --accent: #2844D2;
  --accent-2: #1d34a3;
  --text-main: #111827;
  --text-sub: #6b7280;
  --line: rgba(17, 24, 39, 0.08);
  --secondary-line: #ddd;
  --ok-bg: #e8f0f6;
}
* {
  box-sizing: border-box;
}
.block_500 {
  display: none;
}
.inner {
  width: 100%;
  max-width: 1200px;
  position: relative;
  margin: 0px auto;
  padding: 0 15px;
}
body {
  font-family: "pretendard", sans-serif;
  color: var(--text);
}

html.notscroll, body.notscroll { overflow: hidden !important; touch-action: none; height: 100%; }


header {
  position: relative;
  background: #fff;
  padding: 18px 0;
  border-bottom: 1px solid #ccc;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
  width: 100%;
  z-index: 9999;
}
header h1 a img{
  width: 175px;
}

.top_section {
  width: 100%;
  height: calc(100dvh - 74px);
  background: url(../img/main_img_bg.png) no-repeat;
  background-position: center;
  
}

.top_section .inner {
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top_section .left_box img {
  /* width: 490px; */
}
/* 버튼 */
.top_section .btn_check {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 70px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.4px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.top_section .btn_check img {
  height: 22px;
}
/* 오른쪽 영역 */
.right_box {

}
.right_box_inner {
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
}

.right_box h2 {
  font-size: 62px;
  line-height: 1.3;
  color: var(--text-main);
  letter-spacing: -1.6px;
  margin: 0 0 35px;
  font-weight: 800;
  text-align: center;
}

.right_box h2 span {
  color: var(--accent);
}

.right_box .desc {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.right_box .desc span {
  color: #F31616;
  font-weight: 600;
}
.form_section {
  min-height: 100dvh;
  height: 100%;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
  border-top: 1px solid #eee;
}

.form_section .form_area {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

.form_section .head {
  padding: 25px 30px;
  border-bottom: 1px solid var(--line);
}

.form_section .head h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent-2);
  letter-spacing: -0.4px;
  line-height: 1.35;
}

.form_section  .desc {
  margin: 8px 0 0;
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.6;
}

.form_section .body {
  padding: 32px 30px;
}

.form_section .panel {
  padding: 0;
}

.form_section .panel.hidden {
  display: none !important;
}
.form_section .reset-panel {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.form_section .panel h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 20px;
  padding-left: 12px;
  position: relative;
  line-height: 1.4;
}

.form_section .panel h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 4px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent);
}

.form_section .panel .field label {
  display: block;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.form_section .panel .field input,
.form_section .panel .field select {
  width: 100%;
  height: 56px;
  border: 1px solid var(--secondary-line);
  border-radius: 12px;
  padding: 0 16px;
  font-size: 17px;
  color: var(--text-main);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;

}

.form_section .panel input::placeholder {
  color: #a3b2a7;
}

.form_section .panel input:focus,
.form_section .panel select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(17, 109, 101, 0.12);
  background: #fff;
}
.form_section .panel select.select_box {
  position: relative;
  width: 100%;
  position: relative;
  background: #fff url(../img/arrow_down.svg) no-repeat right 15px center / 15px 15px;
  padding-right: 40px;
}
.form_section .panel select.select_box::-ms-expand {
  display: none;
}

.form_section .phone-panel .field, .form_section .codeNumber-panel .field {
  margin-bottom: 20px;
}
.form_section .phone-panel .field .phone_wrap {
  display:flex; 
  align-items: center;
  gap:8px;
}


.check-wrap {
  margin-top: 20px;
  border: 1px solid var(--secondary-line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.total-check {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background: #f9fafb;
  cursor: pointer;
}
.total-check.active .arrow {
  transform: rotate(180deg);
}
.check-wrap .arrow {
  width: 13px;
  transition: transform 0.2s ease;
}
.check-wrap.active .arrow {
  transform: rotate(180deg);
}
.total-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-main);
}

.check-list {
  display: none;
  padding: 10px 15px;
}

.privacy_box {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.privacy_box.total-text {
  padding: 0;
}
.privacy_box.total-text label {
  font-size: 16px;
}
.privacy_box .privacy-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.privacy_box .privacy-item .privacy-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.privacy_box:last-child {
  border-bottom: none;
}

.privacy_box label {
  font-size: 15px;
  color: var(--text-main);
  cursor: pointer;
  line-height: 1.3;
}
.privacy_box .privacy-title label {
  font-weight: 700;
}
.sub_list {
  display: none;
  padding: 12px 0 8px 28px;
}

.essential_box.active .sub_list {
  display: block;
}

.sub_list h4 {
  margin: 4px 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

/* sub_item */
.sub_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}

.sub_check {
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
}
.sub_check input[type="checkbox"] {

}
/* 이미지처럼 작은 체크만 표시 */
.sub_check i {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
}

/* 기본 체크 */
.sub_check i::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0px;
  width: 5px;
  height: 9px;
  border: solid #b8c0cc;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* 체크됐을 때 파란 체크 */
.sub_check input[type="checkbox"]:checked + i::after {
  border-color: var(--accent);
}

/* 텍스트 */
.sub_check label {
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #5f6673;
}

/* 보기 버튼 */
.sub_item button {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 12px;
  color: #838383;
  cursor: pointer;
}

.essential_box {
  position: relative;
  cursor: pointer;
}

.essential_box .arrow {
  transition: transform 0.2s ease;
}

.essential_box.active .arrow {
  transform: rotate(180deg);
}

.essential_box.active .sub_list {
  display: block;
}

.check-wrap .privacy-item i {
  display: block;
  width: 18px;
  height: 18px;
  border: 1px solid #cdcdcd;
  border-radius: 3px;
  background: #fff;
  position: relative;
  cursor: pointer;
}

.check-wrap .privacy-item i::after {
  content: "";
  width: 4px;
  height: 8px;
  border: solid #cdcdcd;
  border-width: 0 2px 2px 0;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.check-wrap .privacy-item input[type="checkbox"]:checked + i {
  background: var(--accent);
  border-color: var(--accent);
}

.check-wrap .privacy-item input[type="checkbox"]:checked + i::after {
  border-color: #fff;
}

.privacy_box input[type="checkbox"] {
  position: absolute;
  top: 50%;
  left: 0%;
  opacity: 0;
  width: 18px;
  height: 18px;
  z-index: 9999;
  transform: translate(0%, -50%);
  cursor: pointer;
}

.privacy_box button {
  font-size: 13px;
  color:#838383;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 400;
}

.privacy_box input[name="agree__marketing"] + label {
  color: var(--text-sub);
}
.privacy_box input:checked + label {
  font-weight: 600;
  color: var(--accent);
}
.notice_wrap {
  overflow: hidden;
}

/* 상단 버튼 */
.notice_wrap .notice_btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 12px 6px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  border-bottom: 1px solid var(--line);
  margin-top: 20px;
}
.notice_wrap .notice_btn span {
  color: var(--accent);
}
.notice_wrap .notice_btn img {
  width: 13px;
}
.notice_text_wrap {
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-sub);
  background: #f9fafb;
}
.notice_text_wrap br {
  margin-bottom: 6px;
}
.notice_text_wrap strong {
  color: var(--accent);
}

.form_section .row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 20px 0;
  position: relative;
}
.form_section .row::before {
  content: "-";
  display: block;
  position: absolute;
  top: 68%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.form_section .row .field {
  flex: 1;
}
.button-row {
  margin-top: 30px;
  display: flex;
  gap: 12px;
}

.button-row form,
.button-row button {
  margin: 0;
}

.form_section .next_btn {
  width: 100%;
  height: 58px;
  border: none;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form_section .next_btn {
  background: var(--accent);
  color: #fff;
}

.form_section .secondary {
  background: #fff;
  color: var(--text-main);
  border: 1px solid var(--accent);
}

.form_section button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.timer {
  margin-bottom: 5px;
  font-size: 14px;
  color: #c24141;
  font-weight: 700;
}

.timer.expired {
  color: #c24141;
}

.msg,
.err {
  display: none;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
}

.msg {
  background: #edf8f1;
  border: 1px solid #cde8d4;
  color: #166534;
}

.err {
  background: #fff4f4;
  border: 1px solid #f1c9c9;
  color: #b42318;
}

.popup_pre {
  padding: 12px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.6;
  color: #333;
  white-space: pre-line;
}
.popup_pre h3 {
  font-size: 14px;
  font-weight: 700;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-box {
  min-width: 240px;
  background: #fff;
  border: 1px solid #e4e9ef;
  border-radius: 16px;
  padding: 22px 24px;
  text-align: center;
  color: #1f2937;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.loading-overlay.hidden {
  display: none;
}


/* 모달 레이어 배경 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999999;
}

.modal-overlay.hidden {
  display: none;
}

/* 모달 본체 */
.modal-content {
  background: #fff;
  width: 90%;
  max-width: 460px;
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  animation: modalAppear 0.3s ease-out;
  display: block; /* 기본적으로 보임 */
}

.modal-result-content {
  display: none !important; 
}

.modal-result-content.on {
  display: block !important;
}
@keyframes modalAppear {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 아이콘 영역 */
.modal-icon {
  margin-bottom: 20px;
}
.modal-icon img {
  width: 80px;
  height: auto;
}

/* 타이틀 및 텍스트 */
.modal-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #333;
  letter-spacing: -0.5px;
}
.modal-title img {
  width: 60px;
  margin: 0 auto;
}
.modal-title span {
  color: var(--accent); 
}

.modal-desc {
  font-size: 18px;
  color: #666;
  line-height: 1.4;
  margin-bottom: 30px;
  letter-spacing: -1px;
}

/* 버튼 영역 */
.modal-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-btns button {
  width: 100%;
  padding: 15px;
  border-radius: 8px;
  font-size: 19px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.modal-btns .btn-confirm {
  background-color: var(--accent);
  color: #fff;
}

.modal-btns .btn-cancel {
  background-color: #e5e5e5;
  color: #333;
}
.essential_info {
  background: #fff;
  color: #111;
  padding: 50px 0;
  width: 100%;
}
.essential_info h3 {
  margin-bottom: 35px;
  font-size: 25px;
  font-weight: 700;
}
.essential_info ul {
  margin-bottom: 15px;
}
.essential_info ul li {
  color: #111;
  position: relative;
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 10px;
}
.essential_info p {
  font-size: 16px;
  line-height: 1.5;
  color: #111;
}
@media (max-width: 1300px) {
  .top_section .left_box img {
    width: 430px;
  }
  .right_box .desc {
    font-size: 25px;
  }
  .right_box h2 {
    font-size: 52px;
  }

}
@media (max-width: 900px) {
  .top_section {
    height: 100%;
    background: url(../img/mo_main_img_bg.png) no-repeat;
    background-position: center bottom 70px;    /* bottom 기준에서 20px 위로 */
    background-size: cover;
    padding: 75px 0 50px 0;
  }
  .top_section .inner {
    display: flex;
    flex-direction: column-reverse;
    gap: 50px;
  }
}
@media (max-width: 768px) {
  .form_section {

  }

  .form_section .form_area {

  }
  .top_section .left_box img {
    width: 80%;
    margin: 0 auto;
  }
  .right_box h2 {
    font-size: 45px;
  }
  .top_section .btn_check {
    height: 65px;
    font-size: 25px;
  }
  .form_section .head {
    padding: 17px 20px;
  }

  .form_section .head h3 {
    font-size: 22px;
  }

  .form_section .body {
    padding: 23px 20px
  }

  .form_section .panel .field label {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .form_section .panel h2 {
    font-size: 19px;
    margin-bottom: 16px;
  }
  .form_section .panel h2::before {
    top: 2px;
  }
  .button-row {
    flex-direction: column;
  }

  .form_section .panel .field input,
  .form_section .panel .field select {
    font-size: 16px;
  }
  .form_section .panel .field input, .form_section .panel .field select {
    height: 50px;
    font-size: 16px;
  }
  .privacy_box label {
    font-size: 14px;
  }
  .sub_list {
    padding: 12px 0 8px 21px;
  }
  .sub_list h4 {
    font-size: 13px;
  }
  .sub_check {
    gap: 2px;
  }
  .notice_wrap .notice_btn {
    margin-top: 10px;
  }
  .essential_info {
    padding: 35px 0;
  }
  .essential_info h3 {
    margin-bottom: 25px;
    font-size: 20px;
  } 
  .essential_info ul li {
    font-size: 13px;
  }
}
@media (max-width: 500px) {
  header {
    padding: 15px 0;
  }
  header h1 a img {
    width: 150px;
  }
  .form_section .head h3 {
      font-size: 20px;
  }
  .block_500 {
    display: block;
  } 
  .form_section .panel h2 {
    font-size: 17px;
  }
  .form_section .panel h2::before {
    top: 1px;
  }
  .form_section .panel select.select_box {
    background: #fff url(../img/arrow_down.svg) no-repeat right 15px center / 15px 10px;
    padding-right: 22px;
  }

  .top_section {
    padding: 40px 0;
  }
  .top_section .inner {
    gap: 30px;
  }
  .top_section .btn_check {
    height: 60px;
    font-size: 22px;
  }
  .right_box_inner {
    margin-bottom: 20px;
  }
  .right_box h2 {
    font-size: 38px;
    margin-bottom: 0;
  }
  .right_box .desc {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .form_section .next_btn {
    height: 50px;
  }
  .privacy_box .privacy-item .privacy-title {
    gap: 3px;
  }
  .privacy_box label {
    font-size: 13px;
  } 
  .privacy_box.total-text label {
    font-size: 15px;
  }
  .privacy_box button {
    font-size: 12px;
  }
  .check-wrap .privacy-item i {
    width: 16px;
    height: 16px;
  }
  .check-wrap .privacy-item i::after{
    width: 3px;
    height: 7px;
    top: 6px;
  }
  .essential_info h3 {
    margin-bottom: 20px;
    font-size: 18px;
}
  .essential_info ul li {
    font-size: 12px;
  }
}