@charset "utf-8";
html,
body {
  scroll-behavior: smooth;
}
body {
  background-color: #222222;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img {
  display: block;
  width: 100%;
}

.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
ul {
  list-style: none;
}

.section01 {
  position: relative;
}
.section01_btn {
  position: absolute;
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%);
  width: 84%;
  cursor: pointer;
}

.form_wrapper {
  background-color: #fff;
  padding: 5% 0;
  width: 100%;
  border-top: 1px solid #ccc;
}
form {
  width: 85%;
  margin: 0 auto;
}
.form_box {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}
.form_box label {
  font-size: clamp(16px, 3vw, 26px);
  margin-bottom: 10px;
  font-weight: bold;
}
.form_box input {
  font-size: clamp(20px, 3vw, 26px);
  padding: 10px 15px;
  border-radius: 10px;
  height: 50px;
  border: 1px solid #999999;
}
.form_box input::placeholder {
  font-size: clamp(20px, 3vw, 26px);
  color: #cccccc;
}
#counsel_hp {
  width: 100%;
  border-radius: 0 10px 10px 0;
}
.startNum {
  background: #00206d;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-radius: 10px 0 0 10px;
  color: #fff;
  font-weight: bold;
  height: 50px;
  font-size: 20px;
}
.hp_container {
  display: flex;
  align-items: stretch;
  gap: 0px;
}

.button_group {
  display: flex;
  gap: 10px;
}

.subscription_btn {
  flex: 1;
  padding: 12px;
  font-size: clamp(14px, 2vw, 18px);
  border: 2px solid #999999;
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  font-weight: bold;
  font-size: clamp(16px, 3vw, 26px);
}

.subscription_btn:hover {
  border-color: #00206d;
  color: #00206d;
}

.subscription_btn.active {
  background-color: #cfddff;
  color: #00206d;
  border-color: #00206d;
}

/* Radio Button Group 스타일 */
.insurance-group {
  display: flex;
  gap: 20px;
  align-items: center;
}

.insurance-group input[type='radio'] {
  display: none;
}

.insurance-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  height: 50px;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: bold;
  border: 2px solid #999999;
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.insurance-label:hover {
  border-color: #00206d;
  color: #00206d;
}

.insurance-group input[type='radio']:checked + .insurance-label {
  background-color: #d3e0ff;
  color: #00206d;
  border-color: #00206d;
}

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

.privacy_box input {
  width: 20px;
  height: 20px;
  cursor: pointer;
}
#privacy_agreement {
  width: 20px;
  height: 20px;
  margin-right: 2%;
  cursor: pointer;
}
.label_privacy_agreement {
  font-size: clamp(14px, 2vw, 20px);
}
.privacy_modal {
  font-weight: bold;
  cursor: pointer;
  font-size: clamp(14px, 2vw, 20px);
}
.form_box button {
}
.consult_request_btn {
  display: block;
  width: 100%;
}

.section04 {
  position: relative;
  background-image: url('../img/04_bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 18% 0 8%;
}

.section04_swiper {
  width: 100%;
}

.section04 .swiper-pagination {
  bottom: 6% !important;
}

.section04 .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.section04 .swiper-pagination-bullet-active {
  background: #ffffff;
}
/*모달창*/
#privacy_modal_container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 100;
}
.privacy_modal_content {
  position: absolute;
  width: 80%;
  max-width: 720px;
  height: 65%;
  max-height: 80vh;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 16px;
  border-radius: 10px;
}
.privacy_modal_close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}
.privacy_modal_contents {
  width: 100%;
  height: calc(100% - 36px);
  overflow-y: auto; /* 세로 스크롤을 자동으로 생성 */
  overflow-x: hidden; /* 가로 스크롤을 숨김 */
}
.close {
  border: 0;
  background: #222222;
  color: #ffffff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  font-weight: bold;
}

/* 신청대상 미여 모달 */
#ineligible_modal_container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 100;
}

.ineligible_modal_content {
  position: absolute;
  width: 80%;
  max-width: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 0;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.ineligible_modal_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #eeeeee;
}

.ineligible_modal_header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

.ineligible_close {
  background: none;
  border: none;
  font-size: 28px;
  color: #999999;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.ineligible_close:hover {
  color: #333333;
}

.ineligible_modal_body {
  padding: 24px 16px;
  text-align: center;
}

.ineligible_modal_body p {
  margin: 0;
  font-size: clamp(14px, 2vw, 18px);
  color: #333333;
  line-height: 1.5;
}

.ineligible_modal_footer {
  display: flex;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid #eeeeee;
}

.ineligible_confirm {
  flex: 1;
  padding: 12px;
  background-color: #00206d;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.ineligible_confirm:hover {
  background-color: #001950;
}

@media (max-width: 768px) {
  #privacy_agreement {
    width: 15px;
    height: 15px;
  }
  .privacy_modal_content {
    width: 90%;
    height: 72%;
    padding: 12px;
  }
}
