/* 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', sans-serif; /* 기본 폰트 설정 */
        /* 텍스트 선택 방지 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
html {
    overflow-x: hidden;
}
html, body {
    width: 100%;
    min-width: 1000px;
    margin: 0;
    padding: 0;


}


#wrap {
    width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* 섹션 1 스타일 */
#section-1 {
    width: 100%;
    min-width: 1920px;
    background: no-repeat center top;
    background-size: 1920px auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: -5px;
    background-image: url('https://frogstock.speedgabia.com/smi/landing/images/pulse_40/section01_bg.png');
}
#section-1 .content {
    width: 1340px;
    margin: 0 auto;
    position: relative;
}
#section-1 .main-content {
    width: 1340px;
    height: auto;
    display: block;
    vertical-align: top;
}

/* 헤더 스타일 */
#header {
    width: 100%;
    min-width: 1920px;
    background: no-repeat center top;
    background-size: 1920px auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: -5px;
    background: #343439;
}
#header .content {
    width: 1340px;
    margin: 0 auto;
    position: relative;
}
#header .main-content {
    width: 600px;
    height: auto;
    margin: 0 auto;
    padding: 20px;
    display: block;    
}

/* 섹션 2 스타일 */
#section-2 {
    width: 100%;
    min-width: 1920px;
    background: no-repeat center top;
    background-size: 1920px auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: -5px;
    background-image: url('https://frogstock.speedgabia.com/smi/landing/images/pulse_40/section02_bg.png');
}
#section-2 .content {
    width: 1000px;
    margin: 0 auto;
    position: relative;
}
#section-2 .main-content {
    width: 1000px;
    height: auto;
    display: block;
    vertical-align: top;
}

/* 섹션 3 스타일 */
#section-3 {
    width: 100%;
    min-width: 1920px;
    background: no-repeat center top;
    background-image: url('https://frogstock.speedgabia.com/smi/landing/images/pulse_40/section03_bg.png');
    background-size: 1920px auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: -5px;
}
#section-3 .content {
    width: 1000px;  /* section3만 1356px */
    margin: 0 auto;
    position: relative;
}
#section-3 .main-content {
    width: 1000px;  /* section3 이미지도 1356px */
    height: auto;
    display: block;
    vertical-align: top;
}

/* 섹션 4 스타일 */
#section-4 {
    width: 100%;
    min-width: 1920px;
    background: no-repeat center top;
    background-image: url('https://frogstock.speedgabia.com/smi/landing/images/pulse_40/section04_bg.png');
    background-size: 1920px auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: -5px;
}
#section-4 .content {
    width: 1000px;
    margin: 0 auto;
    position: relative;
}
#section-4 .main-content {
    width: 1000px;
    height: auto;
    display: block;
    vertical-align: top;
}

/* 섹션 5 스타일 */
#section-5 {
    width: 100%;
    min-width: 1920px;
    background: no-repeat center top;
    background-image: url('https://frogstock.speedgabia.com/smi/landing/images/pulse_40/section05_bg.png');
    background-size: 1920px auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: -5px;
}

#section-5 .content {
    width: 1340px;
    margin: 0 auto;
    position: relative;
}

#section-5 .main-content {
    width: 1340px;
    height: auto;
    display: block;
    vertical-align: top;
}


.title-img {
    width: 1340px;
    display: block;
    margin: 0 auto 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}



.question-img {
    width: 1340px;
    display: block;
    margin: 0 auto 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* 공통 스타일 */
.choice-box {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.choice-area {
    width: 1000px;
    margin: 0 auto;
    display: flex;
}

/* 섹션 6 스타일 */
#section-6 {
    margin: 0;
}

#section-6 .choice-area {
    justify-content: center;
    gap: 40px;
    padding: 0;
}

#section-6 .choice-text {
    width: 232px;
    height: 55px;
    pointer-events: none;
}

#section-6 .survey-item-col .choice-area {
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

#section-6 .input-area {
    width: 645px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

#section-6 .input-box {
    width: 620px;
    height: 92px;
    border: 3px solid #444;
    border-radius: 3px;
    padding: 13px 13px 13px 26px;
    font-size: 33px;
    font-weight: 500;
    font-family: 'Noto Sans KR', sans-serif;
    display: block;
    margin: 0 auto;
    background-color: #fff;
}

#section-6 .choice-text-agree {
    width: 539px;   /* 실제 이미지 크기에 맞게 */
    height: 39px;
    margin-left: 10px;
    pointer-events: none;
    vertical-align: middle;
}

#section-6 .input-area select.input-box {
    /* background: #fff !important; */
    color: #222;
    border: 3px solid #444;
    border-radius: 3px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-align: center;
    height: 92px;
    box-sizing: border-box;
    background-image: url('data:image/svg+xml;utf8,<svg fill=\"%23333\" stroke=\"%23bbb\" stroke-width=\"1\" height=\"20\" viewBox=\"0 0 20 20\" width=\"20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5.516 7.548a1 1 0 0 1 1.415 0L10 10.617l3.07-3.07a1 1 0 1 1 1.415 1.415l-3.777 3.778a1 1 0 0 1-1.415 0L5.516 8.963a1 1 0 0 1 0-1.415z\"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 35px 35px;
    padding-right: 48px;
}



/* 섹션 8 스타일 */
#section-8 {
    margin-top: 20px;
}

#section-8 .choice-area {
    flex-wrap: wrap;
    gap: 30px;
    padding-left: 90px;
}

#section-8 .death-text,
#section-8 .injury-text,
#section-8 .status-text {
    pointer-events: none;
}

#section-8 .death-text {
    width: 123px;
    height: 39px;
}

#section-8 .injury-text {
    width: 163px;
    height: 39px;
}

/* 체크박스 숨김 및 이미지 변경 */
input[type="checkbox"] {
    display: none;
}



/* 입력 폼 스타일 수정 */
/* .input-area {
    width: 1000px;
    margin: 0 auto;
    padding-left: 90px;
} */

/* .input-box {
    width: 600px;
    height: 98px;
    border: 3px solid #444;
    border-radius: 3px;
    padding: 13px 13px 13px 26px;
    font-size: 37px;
    font-weight: 500;
    font-family: 'Noto Sans KR', sans-serif; 
}

.input-box::placeholder {
    color: #666;
    font-size: 37px;
    font-weight: 500;
    font-family: 'Noto Sans KR', sans-serif; 
}

.input-box:focus {
    outline: none;
    border-color: #000;
} */

/* 이미지 미리 로드를 위한 숨김 처리 */
.preload {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* 보험 상태 체크박스 스타일 */
.status-text {
    height: 39px;
    pointer-events: none;
}

/* 버튼 영역 스타일 */
.button-area {
    width: 1000px;
    margin: 0 auto 0;
    text-align: center;
}

.next-button {
    width: 616px;
    height: 157px;
    cursor: pointer;
    /* 드래그 방지 */
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

/* footer 스타일 */
footer {
    width: 100%;
    min-width: 1920px;
    margin: 300px auto 0;
    background-color: #e5e9ee;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.footer-content {
    width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
    position: relative;
}

.company-info {
    font-size: 1.2rem;
    line-height: 1.4;
    color: #919497;
    padding: 0 90px;
    text-align: center;
}

.company-info p {
    margin: 5px 0;
}

/* 섹션 7 스타일 */
#section-7 {
    margin: 20px 0;
}

#section-7 .choice-area {
    width: 1000px;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding-left: 90px;
}

#section-7 .choice-text {
    width: 180px;
    height: 45px;
    pointer-events: none;
}

#section-7 .notice-img {
    width: 800px;
    margin: 20px auto;
    display: block;
}

/* 체크박스 이미지 크기 */
#section-7 .choice-text-death {
    width: 123px;
    height: 39px;
    pointer-events: none;
}

#section-7 .choice-text-injury {
    width: 163px;
    height: 39px;
    pointer-events: none;
}

#section-7 .choice-text-hitrun {
    width: 163px;
    height: 39px;
    pointer-events: none;
}

#section-7 .choice-text-teen {
    width: 251px;
    height: 39px;
    pointer-events: none;
}

/* 경찰 조사 체크박스 이미지 크기 */
#section-7 .choice-text-before {
    width: 370px;
    height: 39px;
    pointer-events: none;
}

#section-7 .choice-text-after {
    width: 408px;
    height: 39px;
    pointer-events: none;
}





/* 체크박스 공통 스타일 */
.choice-text {
    height: 39px;
    pointer-events: none;
}

/* 체크박스 영역 스타일 */
.choice-box {
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* 체크박스 숨김 */
input[type="checkbox"] {
    display: none;
}



/* 섹션 9 스타일 */
#section-9 {
    width: 1000px;
    margin: 0 auto;
    padding: 0;
}

/* 입력 폼 스타일 */
#section-9 .input-box {
    width: 600px;
    height: 98px;
    border: 3px solid #444;
    border-radius: 3px;
    padding: 13px 13px 13px 26px;
    font-size: 37px;
    font-weight: 500;
    font-family: 'Noto Sans KR', sans-serif;
}

/* 체크박스 숨김 */
input[type="checkbox"] {
    display: none;
}


.choice-text {
    margin-left: 10px;
    pointer-events: none;
}

.view-policy {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-left: 30px;
}

/* 버튼 영역 */
.button-area {
    width: 1000px;
    margin: 50px auto;
    text-align: center;
}

.submit-button {
    cursor: pointer;
    transition: opacity 0.3s;
}

.submit-button:hover {
    opacity: 0.9;
}




/* 데스크톱 큰 화면 대응 */
@media screen and (min-width: 1001px) {
    html {
        font-size: 10px;
    }
    
    body {
        width: 1000px;
        margin: 0 auto;
        min-height: 100vh;
    }

    #wrap {
        width: 1000px;
        margin: 0 auto;
        min-height: 100vh;
    }
}

@media screen and (max-width: 1000px) {
    footer {
        width: 1920px;
        transform: scale(calc(100vw / 1000)) translateX(-50%);
        transform-origin: left top;
    }
}

/* 반응형 스케일링 */
@media screen and (max-width: 1000px) {
    html {
        width: 1000px;
        height: 100vh; 
    }

    html, body {
        width: 1000px;
        overflow-x: hidden; /* overflow-x 대신 overflow 사용 */

        margin: 0;
        padding: 0;
     }
    body {
        position: relative;
        width: 1000px;               
        transform-origin: left top;
        -webkit-transform-origin: left top;
        transform: scale(calc(100vw / 1000));
        -webkit-transform: scale(calc(100vw / 1000));
    }

    #wrap {
        width: 1000px;
        margin: 0;
        position: relative;
        min-height: 100%;  /* 최소 높이 설정 */
    }
}

@media screen and (max-width: 1000px) {
    #section-1, #section-2, #section-3, #section-4, #section-5 {
        width: 1920px;
        transform: scale(calc(100vw / 1000)) translateX(-50%);
        transform-origin: left top;
    }
}




/* ===== 플로팅 배너 ===== */
.floating-banner {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 9999;
    background: linear-gradient(to right, #fd2121 0%, #a20303  100%);
    text-align: center;
    padding: 20px 0;
    transition: opacity 0.3s;
}
.floating-banner img {
    width: 619px;
    
    height: auto;
    display: block;
    margin: 0 auto;
}

@media screen and (max-width: 600px) {
    .floating-banner {
        padding: 40px 0;
    }
}

/* =========================
   개인정보 처리방침 모달 (modal)
   ========================= */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
  overflow: auto;
  animation: fadeIn 0.3s;
}
.modal-content {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  width: 92%;
  max-width: 800px;
  margin: 0 auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  max-height: 80%;
  overflow: hidden;
  animation: slideIn 0.3s;
}
.modal-header {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  background: #f5f5f5;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.modal-header h2 {
  margin: 0;
  font-size: 20px;
  color: #222;
  font-weight: 700;
}
.close-modal {
  color: #777;
  font-size: 2.8rem;
  font-weight: 900;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 14px;
  line-height: 1;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

@media (min-width: 600px) {
  .close-modal {
    font-size: 3.2rem;
    width: 64px;
    height: 64px;
  }
}
@media (min-width: 1000px) {
  .close-modal {
    font-size: 3.6rem;
    width: 32px;
    height: 32px;
  }
}
.modal-body {
  padding: 24px 20px;
  overflow-y: auto;
  font-size: 1.05rem;
  color: #222;
  line-height: 1.7;
}
.modal-body h1,
.modal-body h2,
.modal-body h3 {
  margin-top: 1.5em;
  margin-bottom: 0.7em;
  font-weight: 700;
  color: #1a1a1a;
}
.modal-body ul {
  margin: 0 0 1em 1.2em;
  padding: 0;
  list-style: disc;
}
.modal-body li {
  margin-bottom: 0.5em;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideIn {
  from { transform: translate(-50%, -60%); opacity: 0; }
  to { transform: translate(-50%, -50%); opacity: 1; }
}



/* 기존 modal-policy 스타일 제거 */
.modal-policy, .modal-policy__content, .modal-policy__close, .modal-policy__body { display: none !important; }

