/* ══════════════════════════════════════════════════════════
   2단 랜딩 — 왼쪽 본문 패널 + 오른쪽 스크롤 따라오는 폼
   랜딩마다 --main-color / --main-dark 두 개만 바꾸면 전체 톤이 바뀐다.
   (그림자·연한 배경은 color-mix 로 메인컬러에서 자동으로 뽑는다)
   ══════════════════════════════════════════════════════════ */
:root {
  --main-color: #1F6B4F;
  --main-dark: #134433;          /* 메인 hover / 강조 */
  --point-color: var(--main-color);
  --main-soft: color-mix(in srgb, var(--main-color) 15%, #fff);

  --accent: #E8C46A;   /* 노란 강조를 살짝 골드 쪽으로 */

  --page-bg: #F8F8F5;
  --line: #E8E5DA;
  --ink: #28261F;
  --body: #68645A;
  --muted: #969187;

  --radius-lg: 28px;
  --aside-w: 400px;
  --sticky-top: 24px;
}

.highlight {font-weight: 700; color: var(--point-color);}


/* ══════ PC 헤더 ══════ */
header {background: #fff; border-bottom: 1px solid var(--line);}
header .inner {display: flex; justify-content: space-between; align-items: center; height: 76px;}
header .inner .logo {width: 168px;}
header .inner .logo a {display: block;}
header .inner .logo a img {width: 100%; height: auto;}
header .inner .time_wrap {color: var(--body); font-size: 15px; font-weight: 500;}
header .inner .time_wrap span {margin-right: 6px; padding: 6px 12px; border-radius: 100px; background: var(--main-soft); color: var(--main-color); font-weight: 700;}


/* ══════ 전체 틀 ══════
   PC  : [히어로 | 폼] / [본문 | 폼]  — 폼 칸이 두 줄을 차지하고, 그 안에서 sticky 로 따라온다
   모바일: 히어로 → 폼 → 본문 */
.lp {padding: 32px 0 80px; background: var(--page-bg);}

.lp_layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--aside-w);
  grid-template-areas:
    "hero    aside"
    "content aside";
  gap: 24px 32px;
  align-items: start;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

/* 폼 칸은 본문 높이만큼 늘어나야 sticky 가 끝까지 따라온다 */
.lp_aside {grid-area: aside; align-self: stretch; min-width: 0;}
.lp_content {grid-area: content; display: flex; flex-direction: column; gap: 24px; min-width: 0;}


/* ══════ 히어로 ══════ */
.lp_hero {
  grid-area: hero;
  position: relative; overflow: hidden; isolation: isolate;
  padding: 64px 56px 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--main-color) 0%, var(--main-dark) 100%);
  color: #fff;
}
/* 장식 원 — 이미지 없이 깊이감만 준다 */
.lp_hero::before {content: ''; position: absolute; z-index: -1; top: -140px; right: -100px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 70%);}
.lp_hero::after {content: ''; position: absolute; z-index: -1; right: 40px; bottom: -160px; width: 320px; height: 320px; border: 40px solid rgba(255, 255, 255, 0.06); border-radius: 50%;}

.lp_hero .hero_label {display: inline-flex; padding: 7px 14px; border-radius: 100px; background: rgba(255, 255, 255, 0.16); font-size: 14px; font-weight: 700;}
.lp_hero h1 {max-width: 600px; margin-top: 18px; font-size: 48px; font-weight: 800; line-height: 1.25; letter-spacing: -1px; word-break: keep-all;}
.lp_hero .hero_desc {max-width: 560px; margin-top: 18px; font-size: 19px; line-height: 1.65; color: rgba(255, 255, 255, 0.85); word-break: keep-all;}

.lp_hero .hero_tags {display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px;}
.lp_hero .hero_tags li {padding: 7px 14px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 100px; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.92); white-space: nowrap;}

.lp_hero .hero_points {display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 44px;}
.lp_hero .hero_points li {display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 18px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(6px);}
.lp_hero .hero_points span {font-size: 14px; color: rgba(255, 255, 255, 0.75);}
.lp_hero .hero_points strong {font-size: 20px; font-weight: 800; word-break: keep-all;}


/* ══════ 신청 폼 (오른쪽) ══════ */
.lp_aside .form_wrap {
  position: sticky; top: var(--sticky-top);
  padding: 32px 28px 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(17, 24, 39, 0.08);
}

.form_wrap .form_badge {display: inline-flex; padding: 6px 12px; border-radius: 100px; background: var(--main-soft); color: var(--main-color); font-size: 13px; font-weight: 700;}
.form_wrap h2 {margin-top: 12px; font-size: 24px; font-weight: 800; line-height: 1.35; color: var(--ink); word-break: keep-all;}
.form_wrap .form_desc {margin-top: 6px; font-size: 15px; color: var(--muted); word-break: keep-all;}

.form_wrap .form_fields {display: flex; flex-direction: column; gap: 16px; margin-top: 24px;}
.form_wrap .field_label {display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--ink);}

.form_wrap input[type='text'],
.form_wrap .phone_select {
  width: 100%; height: 54px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  font-size: 17px; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form_wrap input[type='text']::placeholder {color: #B0B7C3;}
.form_wrap input[type='text']:focus,
.form_wrap .phone_select:focus {outline: none; border-color: var(--main-color); box-shadow: 0 0 0 4px color-mix(in srgb, var(--main-color) 14%, transparent);}

/* 이름 + 성별 한 줄 */
.form_wrap .basic_info_item {display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end;}

/* 성별 — 회색 바탕 위에서 선택된 쪽만 흰 칩으로 떠오르는 세그먼트 */
.form_wrap .gender_wrap {display: flex; gap: 4px; height: 54px; padding: 4px; border-radius: 12px; background: var(--page-bg);}
.form_wrap .gender_wrap input[type='radio'] {position: absolute; opacity: 0; pointer-events: none;}
.form_wrap .gender_wrap label {display: flex; align-items: center; justify-content: center; width: 52px; border-radius: 9px; font-size: 16px; font-weight: 600; color: var(--muted); cursor: pointer; user-select: none; transition: background 0.2s, color 0.2s, box-shadow 0.2s;}
.form_wrap .gender_wrap input[type='radio']:checked + label {background: #fff; color: var(--main-color); font-weight: 800; box-shadow: 0 2px 8px rgba(17, 24, 39, 0.1);}
.form_wrap .gender_wrap input[type='radio']:focus-visible + label {outline: 2px solid var(--main-color); outline-offset: 1px;}

/* 연락처 — 국번 + 번호 */
.form_wrap .phone_input_wrap {display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px;}
.form_wrap .phone_select {padding: 0 34px 0 14px; background: #fff url("../img/arrow_down.svg") no-repeat right 10px center / 20px; cursor: pointer; appearance: none; -webkit-appearance: none;}

.form_wrap .submit_btn {
  width: 100%; height: 60px; margin-top: 22px;
  border-radius: 14px; background: var(--main-color); color: #fff;
  font-size: 18px; font-weight: 800; cursor: pointer;
  box-shadow: 0 12px 24px color-mix(in srgb, var(--main-color) 30%, transparent);
  transition: filter 0.2s, transform 0.2s;
}
.form_wrap .submit_btn:hover {filter: brightness(1.08); transform: translateY(-1px);}

.form_wrap .form_trust {display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px;}
.form_wrap .form_trust li {display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted);}
.form_wrap .form_trust li::before {content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--main-color);}

/* ── 2단계 폼 (필요할 때 사용) ── */
.form_wrap .form_step {display: none;}
.form_wrap .form_step.active {display: block;}
.form_wrap li.question_item {display: flex; flex-direction: column; gap: 10px;}
.form_wrap .label {font-size: 17px; font-weight: 700; color: var(--ink);}
.form_wrap .choice_wrap {display: flex; gap: 8px;}
.form_wrap .choice_btn {flex: 1; height: 54px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 17px; font-weight: 600; color: var(--body); cursor: pointer; transition: all 0.2s;}
.form_wrap .choice_btn.active {border-color: var(--main-color); background: var(--main-color); color: #fff;}
.form_wrap .btn_wrap {display: flex; gap: 8px; margin-top: 22px;}
.form_wrap .btn_wrap .submit_btn {flex: 1; margin-top: 0;}
.form_wrap .btn_wrap .prev_btn {flex: 0 0 30%; height: 60px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font-size: 17px; font-weight: 700; color: var(--body); cursor: pointer;}

/* 노트북처럼 화면 높이가 낮으면 폼이 잘리지 않게 줄인다 */
@media (min-width: 1151px) and (max-height: 800px) {
  .lp_aside .form_wrap {padding: 24px 24px 22px;}
  .form_wrap h2 {font-size: 21px;}
  .form_wrap .form_desc, .form_wrap .form_trust {display: none;}
  .form_wrap .form_fields {gap: 12px; margin-top: 18px;}
  .form_wrap input[type='text'], .form_wrap .phone_select, .form_wrap .gender_wrap {height: 48px;}
  .form_wrap .submit_btn {height: 54px; margin-top: 18px;}
}


/* ══════ 본문 섹션 공통 — 흰 패널 ══════ */
.lp_section {padding: 64px 56px; border-radius: var(--radius-lg); background: #fff;}

.sec_head {margin-bottom: 40px;}
.sec_head .sec_label {display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 14px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--main-color);}
.sec_head .sec_label::before {content: ''; width: 18px; height: 2px; background: currentColor;}
.sec_head h2 {font-size: 34px; font-weight: 800; line-height: 1.35; letter-spacing: -0.5px; color: var(--ink); word-break: keep-all;}
.sec_head h2 b {color: var(--main-color);}
.sec_head p {margin-top: 14px; font-size: 17px; line-height: 1.7; color: var(--body); word-break: keep-all;}


/* ── 한눈에 보기 — 테두리 숫자 카드 3개 ── */
#section_point .point_list {display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;}
#section_point .point_list li {padding: 28px 24px; border-radius: 20px; background: var(--page-bg);}
#section_point .point_num {display: block; margin-bottom: 18px; font-size: 44px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--main-color);}
#section_point h3 {margin-bottom: 8px; font-size: 19px; font-weight: 800; color: var(--ink); word-break: keep-all;}
#section_point p {font-size: 15px; line-height: 1.65; color: var(--body); word-break: keep-all;}


/* ── 왜 비교해야 할까 — 표처럼 줄 나눈 목록 ── */
#section_compare .compare_list {border-top: 2px solid var(--ink);}
#section_compare .compare_list li {display: grid; grid-template-columns: 56px 220px minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 24px 4px; border-bottom: 1px solid var(--line);}
#section_compare .num {font-size: 15px; font-weight: 800; color: var(--main-color);}
#section_compare h3 {font-size: 19px; font-weight: 800; color: var(--ink); word-break: keep-all;}
#section_compare p {font-size: 16px; line-height: 1.65; color: var(--body); word-break: keep-all;}
#section_compare p b {color: var(--ink); font-weight: 700;}


/* ── 주요 보장 항목 — 테두리 카드 그리드 ── */
#section_cover .cover_grid {display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;}
#section_cover .cover_grid li {padding: 24px 22px; border: 1px solid var(--line); border-radius: 18px; transition: border-color 0.2s, box-shadow 0.2s;}
#section_cover .cover_grid li:hover {border-color: var(--main-color); box-shadow: 0 10px 24px color-mix(in srgb, var(--main-color) 10%, transparent);}
#section_cover .cover_cat {display: inline-block; margin-bottom: 14px; padding: 4px 10px; border-radius: 8px; background: var(--main-soft); font-size: 13px; font-weight: 700; color: var(--main-color);}
#section_cover h3 {margin-bottom: 8px; font-size: 19px; font-weight: 800; color: var(--ink);}
#section_cover p {font-size: 15px; line-height: 1.65; color: var(--body); word-break: keep-all;}


/* ── 상담 진행 순서 — 점선으로 이어진 4단계 ── */
#section_process .process_list {display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;}
#section_process .process_list li {position: relative;}
#section_process .process_list li:not(:last-child)::after {content: ''; position: absolute; top: 24px; left: 60px; right: -4px; border-top: 2px dashed var(--line);}
#section_process .step {position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--main-color); color: #fff; font-size: 18px; font-weight: 800; box-shadow: 0 0 0 6px var(--main-soft);}
#section_process h3 {margin-top: 20px; margin-bottom: 6px; font-size: 18px; font-weight: 800; color: var(--ink);}
#section_process p {font-size: 15px; line-height: 1.65; color: var(--body); word-break: keep-all;}


/* ── 가입 전 확인사항 — 흐름을 끊어주는 어두운 패널 ── */
#section_check {background: var(--ink);}
#section_check .sec_head .sec_label {color: var(--accent);}
#section_check .sec_head h2 {color: #fff;}
#section_check .sec_head h2 b {color: var(--accent);}
#section_check .sec_head p {color: rgba(255, 255, 255, 0.68);}

#section_check .check_list {display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;}
#section_check .check_list li {display: flex; align-items: flex-start; gap: 14px; padding: 24px 22px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px; background: rgba(255, 255, 255, 0.05);}
#section_check .check_icon {display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--accent);}
#section_check .check_icon svg {width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;}
#section_check h3 {margin-bottom: 6px; font-size: 17px; font-weight: 700; color: #fff;}
#section_check p {font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, 0.68); word-break: keep-all;}


/* ── 자주 묻는 질문 ── */
#section_qna .qna_list {border-top: 2px solid var(--ink);}
#section_qna .qna_item {border-bottom: 1px solid var(--line);}
#section_qna .qna_question {display: flex; align-items: center; gap: 14px; width: 100%; padding: 24px 4px; border: 0; background: none; text-align: left; cursor: pointer;}
#section_qna .qna_q {flex-shrink: 0; font-size: 20px; font-weight: 800; color: var(--main-color);}
#section_qna .qna_text {flex: 1; font-size: 18px; font-weight: 700; line-height: 1.45; color: var(--ink); word-break: keep-all; transition: color 0.2s;}
#section_qna .qna_arrow {position: relative; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--page-bg); transition: background 0.2s, transform 0.3s;}
#section_qna .qna_arrow::before {content: ''; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translate(-50%, -70%) rotate(45deg);}
#section_qna .qna_question:hover .qna_text {color: var(--main-color);}

#section_qna .qna_answer {display: none; padding: 0 4px 24px;}
#section_qna .qna_answer_box {display: flex; align-items: flex-start; gap: 14px; padding: 20px 22px; border-radius: 16px; background: var(--page-bg);}
#section_qna .qna_a {flex-shrink: 0; font-size: 20px; font-weight: 800; line-height: 1.4; color: var(--muted);}
#section_qna .qna_answer p {flex: 1; font-size: 16px; line-height: 1.75; color: var(--body); word-break: keep-all;}

#section_qna .qna_item.active .qna_text {color: var(--main-color);}
#section_qna .qna_item.active .qna_arrow {background: var(--main-color); transform: rotate(180deg);}
#section_qna .qna_item.active .qna_arrow::before {border-color: #fff;}
#section_qna .qna_item.active .qna_answer {display: block; animation: qna_open 0.3s ease;}
@keyframes qna_open {from {opacity: 0; transform: translateY(-6px);} to {opacity: 1; transform: translateY(0);}}


/* ── 마지막 CTA ── */
#section_cta {display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 44px 48px; background: linear-gradient(135deg, var(--main-color) 0%, var(--main-dark) 100%); color: #fff;}
#section_cta strong {display: block; font-size: 26px; font-weight: 800; line-height: 1.35; word-break: keep-all;}
#section_cta p {margin-top: 6px; font-size: 16px; color: rgba(255, 255, 255, 0.8); word-break: keep-all;}
#section_cta button {flex-shrink: 0; padding: 18px 36px; border-radius: 100px; background: #fff; color: var(--main-color); font-size: 17px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); transition: transform 0.2s;}
#section_cta button:hover {transform: translateY(-2px);}


/* ══════════════════════════════════════════════════
   반응형
   ══════════════════════════════════════════════════ */

@media (max-width: 1300px) {
  .inner {width: 93%;}
  .lp_layout {--aside-w: 370px; gap: 20px 24px;}
  .lp_hero {padding: 56px 44px 40px;}
  .lp_hero h1 {font-size: 42px;}
  .lp_section {padding: 56px 44px;}
  #section_compare .compare_list li {grid-template-columns: 44px 180px minmax(0, 1fr);}
}

/* 모바일 헤더가 sticky 로 붙는 구간 — 폼이 헤더 밑으로 숨지 않게 내린다 */
@media (max-width: 1200px) {
  :root {--sticky-top: 88px;}
  .lp_hero .hero_points {grid-template-columns: 1fr; gap: 8px;}
  .lp_hero .hero_points li {flex-direction: row; justify-content: space-between; align-items: center; padding: 14px 18px;}
  .lp_hero .hero_points strong {font-size: 17px;}
  #section_point .point_list {grid-template-columns: 1fr;}
  #section_point .point_list li {display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 8px;}
  #section_point .point_num {grid-row: span 2; margin: 0; font-size: 36px;}
  #section_cover .cover_grid {grid-template-columns: repeat(2, 1fr);}
  #section_process .process_list {grid-template-columns: repeat(2, 1fr); row-gap: 28px;}
  #section_process .process_list li::after {display: none;}
  #section_check .check_list {grid-template-columns: 1fr;}
}

/* 한 줄로 세운다 — 히어로 → 폼 → 본문 */
@media (max-width: 1150px) {
  .lp {padding: 20px 0 60px;}
  .lp_layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "hero" "aside" "content";
    gap: 16px;
    width: min(720px, calc(100% - 32px));
  }
  .lp_content {gap: 16px;}
  .lp_aside .form_wrap {position: static; scroll-margin-top: 84px;}
  .lp_hero .hero_points {grid-template-columns: repeat(3, 1fr);}
  .lp_hero .hero_points li {flex-direction: column; align-items: flex-start;}
}

@media (max-width: 768px) {
  .lp_hero {padding: 44px 28px 32px;}
  .lp_hero h1 {font-size: 34px;}
  .lp_hero .hero_desc {font-size: 17px;}
  .lp_hero .hero_points {grid-template-columns: 1fr;}
  .lp_hero .hero_points li {flex-direction: row; align-items: center;}

  .lp_section {padding: 44px 28px;}
  .sec_head {margin-bottom: 30px;}
  .sec_head h2 {font-size: 27px;}
  .sec_head p {font-size: 16px;}

  #section_compare .compare_list li {grid-template-columns: 36px minmax(0, 1fr); row-gap: 6px; padding: 20px 2px;}
  #section_compare .num {grid-row: span 2;}
  #section_compare h3 {font-size: 17px;}
  #section_compare p {font-size: 15px;}

  #section_cta {flex-direction: column; align-items: stretch; text-align: center; padding: 36px 28px;}
  #section_cta strong {font-size: 22px;}
  #section_cta button {width: 100%;}
}

@media (max-width: 550px) {
  .lp {padding: 12px 0 48px;}
  .lp_layout, .lp_content {gap: 12px;}
  .lp_layout {width: calc(100% - 24px);}
  :root {--radius-lg: 22px;}

  .lp_hero {padding: 36px 22px 24px;}
  .lp_hero h1 {font-size: 28px; letter-spacing: -0.5px;}
  .lp_hero .hero_desc {font-size: 16px;}
  .lp_hero .hero_desc br {display: none;}
  .lp_hero .hero_tags {gap: 6px; margin-top: 18px;}
  .lp_hero .hero_tags li {padding: 6px 11px; font-size: 13px;}
  .lp_hero .hero_points {margin-top: 28px;}
  .lp_hero .hero_points span {font-size: 13px;}
  .lp_hero .hero_points strong {font-size: 16px;}

  .lp_aside .form_wrap {padding: 26px 20px 22px;}
  .form_wrap h2 {font-size: 21px;}
  /* 입력창 글자는 16px 아래로 내리지 않는다 — iOS 가 화면을 확대해 버린다 */
  .form_wrap input[type='text'], .form_wrap .phone_select {height: 52px; font-size: 16px;}
  .form_wrap .gender_wrap {height: 52px;}
  .form_wrap .gender_wrap label {width: 46px;}
  .form_wrap .phone_input_wrap {grid-template-columns: 88px minmax(0, 1fr);}
  .form_wrap .submit_btn {height: 56px; font-size: 17px;}

  .lp_section {padding: 36px 20px;}
  .sec_head {margin-bottom: 24px;}
  .sec_head .sec_label {font-size: 12px;}
  .sec_head h2 {font-size: 23px;}
  .sec_head p {font-size: 15px;}
  .sec_head p br {display: none;}

  #section_point .point_list li {grid-template-columns: 52px minmax(0, 1fr); padding: 22px 18px;}
  #section_point .point_num {font-size: 30px;}
  #section_point h3 {font-size: 17px;}

  #section_cover .cover_grid {grid-template-columns: 1fr; gap: 10px;}
  #section_cover .cover_grid li {padding: 20px 18px;}
  #section_cover h3 {font-size: 17px;}

  #section_process .process_list {grid-template-columns: 1fr; row-gap: 20px;}
  #section_process .process_list li {display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start;}
  #section_process .step {width: 40px; height: 40px; font-size: 16px; box-shadow: 0 0 0 5px var(--main-soft);}
  #section_process h3 {margin-top: 6px; font-size: 17px;}

  #section_check .check_list li {padding: 20px 18px;}

  #section_qna .qna_question {padding: 18px 0; gap: 10px;}
  #section_qna .qna_q {font-size: 17px;}
  #section_qna .qna_text {font-size: 16px;}
  #section_qna .qna_arrow {width: 28px; height: 28px;}
  #section_qna .qna_answer {padding: 0 0 18px;}
  #section_qna .qna_answer_box {padding: 16px; gap: 10px;}
  #section_qna .qna_a {font-size: 17px;}
  #section_qna .qna_answer p {font-size: 15px;}

  #section_cta {padding: 30px 20px;}
  #section_cta strong {font-size: 20px;}
}

@media (max-width: 360px) {
  /* 정말 좁을 때만 성별을 이름 아래로 내린다 */
  .form_wrap .basic_info_item {grid-template-columns: 1fr;}
  .form_wrap .gender_wrap label {flex: 1; width: auto;}
}

@media (hover: none) {
  .form_wrap .submit_btn:hover {transform: none;}
  #section_cover .cover_grid li:hover {border-color: var(--line); box-shadow: none;}
  #section_qna .qna_question:hover .qna_text {color: var(--ink);}
  #section_qna .qna_item.active .qna_question:hover .qna_text {color: var(--main-color);}
  #section_cta button:hover {transform: none;}
}

@media (prefers-reduced-motion: reduce) {
  #section_qna .qna_item.active .qna_answer {animation: none;}
  .form_wrap .submit_btn, #section_cta button, #section_qna .qna_arrow {transition: none;}
}


/* ══════════════════════════════════════════════════
   아래는 기존과 같은 공용 영역 — 하단 고지, 푸터, 모바일 헤더, 신청 유도 버튼, 약관 페이지
   ══════════════════════════════════════════════════ */

.bottom_wrap { padding:40px 0; background:#f7f7f7; border-top:1px solid #e5e5e5; }
.bottom_wrap .inner { max-width:1200px; margin:0 auto; }
.bottom_wrap .inner h3 { margin:0 0 20px; font-size:20px; font-weight:700; color:#333; }
.bottom_wrap .inner ul { margin:0; padding:0; list-style:none; }
.bottom_wrap .inner ul li {font-size:15px; line-height:1.8; color:#555; word-break:keep-all; }
.bottom_wrap .inner ul li:last-child { margin-bottom:0; }
.bottom_wrap .inner .compliance_info { margin-top:25px; padding-top:20px; border-top:1px solid #ddd; }
.bottom_wrap .inner .compliance_info p { margin:6px 0; font-size:14px; line-height:1.7; color:#666; }
.bottom_wrap .inner .compliance_info p strong { font-weight:700; color:#444; }

/* ── 푸터 — 메인컬러를 따르지 않고 중립 다크를 쓴다 ── */
.footer {padding: 54px 0 44px; background: #252525; color: rgba(255, 255, 255, 0.68);}
.footer_main {display: flex; align-items: flex-start; justify-content: space-between; gap: 40px;}
.footer_info {display: flex; flex-wrap: wrap; align-items: center; gap: 7px 18px; max-width: 760px; font-style: normal; font-size: 14px; line-height: 1.7;}
.footer_info strong {width: 100%; margin-bottom: 2px; color: #fff; font-size: 17px; font-weight: 700; letter-spacing: -0.3px;}
.footer_info span {position: relative;}
.footer_info span + span::before {content: ''; position: absolute; left: -10px; top: 50%; width: 3px; height: 3px; transform: translateY(-50%); border-radius: 50%; background: rgba(255, 255, 255, 0.35);}
.footer_info .addr {flex-basis: 100%;}
.footer_info .addr::before {display: none;}
.footer_links {display: flex; align-items: center; gap: 22px; flex-shrink: 0;}
.footer_links a {position: relative; font-size: 14px; font-weight: 600; color: #fff; transition: opacity 0.15s ease;}
.footer_links a:hover {opacity: 0.65;}
.footer_links a + a::before {content: ''; position: absolute; left: -11px; top: 50%; width: 1px; height: 12px; transform: translateY(-50%); background: rgba(255, 255, 255, 0.28);}
.footer .copyright {margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 13px; color: rgba(255, 255, 255, 0.45);}

/* ── 모바일 헤더 — 1200px 이하에서만 보인다 ── */
.m_header {display: none;}
.m_menu_dim {display: none;}

@media (max-width: 1200px) {
  header {display: none;}

  .m_header {display: block; position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 2px 12px rgba(23, 59, 108, 0.1);}
  .m_header_bar {display: flex; align-items: center; justify-content: space-between; padding: 12px 18px;}
  .m_header_bar .logo {width: 156px;}
  .m_header_bar .logo a {display: block;}
  .m_header_bar .logo a img {width: 100%; height: auto;}

  .m_menu_btn {display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0; border: 0; background: none; cursor: pointer;}
  .m_menu_btn span {display: block; width: 24px; height: 2px; margin: 0 auto; border-radius: 2px; background: var(--main-color); transition: transform 0.25s ease, opacity 0.2s ease;}
  .m_menu_btn.open span:nth-child(1) {transform: translateY(7px) rotate(45deg);}
  .m_menu_btn.open span:nth-child(2) {opacity: 0;}
  .m_menu_btn.open span:nth-child(3) {transform: translateY(-7px) rotate(-45deg);}

  .m_menu {display: grid; grid-template-rows: 0fr; overflow: hidden; background: #fff; border-top: 1px solid #eef1f5; transition: grid-template-rows 0.28s ease;}
  .m_menu.open {grid-template-rows: 1fr;}
  .m_menu_inner {min-height: 0; overflow: hidden;}

  .m_menu_list {display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 16px 18px 6px;}
  .m_menu_list li {border: 1px solid #dfe4ea; border-radius: 10px; background: #fff; transition: background 0.15s ease, border-color 0.15s ease;}
  .m_menu_list li a {display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-size: 15px; font-weight: 600; color: #333;}
  .m_menu_list li a img {width: 24px; height: 24px; object-fit: contain;}
  .m_menu_list li.active {background: var(--main-color); border-color: var(--main-color);}
  .m_menu_list li.active a {color: #fff;}
  .m_menu_list li.active a img {filter: brightness(0) invert(1);}

  .m_menu_date {padding: 10px 18px 18px; color: #8a94a2; font-size: 13px; text-align: center;}

  .m_menu_dim {display: block; position: fixed; inset: 0; z-index: 50; background: rgba(23, 59, 108, 0.35); opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease;}
  .m_menu_dim.open {opacity: 1; visibility: visible;}
}

@media (prefers-reduced-motion: reduce) {
  .m_menu, .m_menu_btn span, .m_menu_dim {transition: none;}
}

/* ── 신청 유도 버튼 — 모바일 하단 바 전용 (PC 는 폼이 늘 보이므로 숨긴다) ── */
.to_top {display: none;}

@media (max-width: 1150px) {
  .to_top {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 18px 20px;
    border: 0; border-radius: 0;
    background: var(--main-color); color: #fff;
    font-size: 18px; font-weight: 700; letter-spacing: -0.3px;
    box-shadow: 0 -6px 20px color-mix(in srgb, var(--main-color) 22%, transparent);
    cursor: pointer;

    opacity: 0; visibility: hidden;
    transform: translateY(100%);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  }
  .to_top.show {opacity: 1; visibility: visible; transform: translateY(0);}
  .to_top svg {width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;}

  /* 어두운 푸터 위에 올라오면 색을 뒤집는다 */
  .to_top.on_dark {background: #fff; color: var(--main-color); box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.3);}
  .to_top.on_dark svg {stroke: var(--main-color);}

  /* 바가 푸터 마지막 내용을 가리지 않도록 */
  .footer {padding-bottom: 92px;}
}

@media (prefers-reduced-motion: reduce) {
  .to_top {transition: none;}
}

@media (max-width: 768px) {
  .m_header_bar .logo {width: 120px;}
  .m_header_bar .m_header_date {font-size: 14px;}

  .footer {padding: 38px 0 92px;}
  .footer_main {flex-direction: column; gap: 22px;}
  .footer_info {gap: 5px 16px; margin-top: 20px; font-size: 13.5px;}
  .footer .copyright {margin-top: 18px; font-size: 12.5px;}

  .bottom_wrap {padding: 32px 0;}
  .bottom_wrap .inner h3 {margin-bottom: 14px; font-size: 17px;}
  .bottom_wrap .inner ul li {font-size: 13.5px; line-height: 1.75;}
  .bottom_wrap .inner .compliance_info p {font-size: 13px;}
}


/* ══════ 약관 문서 페이지 (개인정보처리방침 · 이용약관) ══════ */
.doc_page {padding: 70px 0 90px;}
.doc_page .inner {max-width: 860px;}

.doc_back {display: inline-block; margin-bottom: 20px; color: #888; font-size: 14px; transition: color 0.15s ease;}
.doc_back:hover {color: var(--main-color);}

.doc_page h1 {padding-bottom: 24px; border-bottom: 2px solid #222; font-size: 32px; font-weight: 800; letter-spacing: -0.5px;}

.doc_body {padding-top: 34px; color: #555; font-size: 16px; line-height: 1.8; word-break: keep-all;}
.doc_body h3 {margin: 40px 0 14px; color: #222; font-size: 19px; font-weight: 700;}
.doc_body h3:first-child {margin-top: 0;}
.doc_body p {margin-bottom: 14px;}
.doc_body a {color: var(--main-color); font-weight: 600; text-decoration: underline;}

.doc_body ul {margin: 0 0 14px; padding-left: 4px; list-style: none;}
.doc_body ul li {position: relative; padding-left: 15px; margin-bottom: 7px;}
.doc_body ul li::before {content: ''; position: absolute; left: 0; top: 12px; width: 4px; height: 4px; border-radius: 50%; background: #bbb;}

.doc_body table {width: 100%; margin: 0 0 18px; border-top: 2px solid var(--main-color); border-collapse: collapse;}
.doc_body table th,
.doc_body table td {padding: 14px 16px; border-bottom: 1px solid #e8ecf1; font-size: 15px; line-height: 1.7; text-align: left; vertical-align: top;}
.doc_body table th {width: 150px; background: #f7f9fc; color: #333; font-weight: 700;}

.doc_body .note {padding: 16px 18px; border-radius: 10px; background: #f5f7fa; color: #666; font-size: 14.5px; line-height: 1.75;}

@media (max-width: 768px) {
  .doc_page {padding: 40px 0 70px;}
  .doc_page h1 {padding-bottom: 18px; font-size: 24px;}
  .doc_body {padding-top: 26px; font-size: 15px;}
  .doc_body h3 {margin: 32px 0 12px; font-size: 17px;}

  .doc_body table,
  .doc_body table tbody,
  .doc_body table tr,
  .doc_body table th,
  .doc_body table td {display: block; width: 100%;}
  .doc_body table tr:first-child {display: none;}
  .doc_body table tr {padding: 13px 0; border-bottom: 1px solid #e8ecf1;}
  .doc_body table tr:last-child {border-bottom: 0;}
  .doc_body table th,
  .doc_body table td {padding: 0; border: 0;}
  .doc_body table th {margin-bottom: 4px; background: none; color: #888; font-size: 13.5px; font-weight: 600;}
  .doc_body table td {font-size: 14.5px; color: #555;}
  .doc_body .note {font-size: 13.5px;}
}