:root {
  --main-color: #FFC21A;        /* 이 값 하나로 전체 색이 바뀐다 (그림의 노란 부분 포함) */
  --main-dark: #E5A800;         /* 메인 hover / 눌림 · 그림 그림자 쪽 */
  --main-ink: #191F28;          /* ★ 옐로 메인컬러 위 글씨 — 흰 글씨는 대비가 부족해서 차콜을 쓴다 (대비 약 12:1) */
  --main-text: #9A6F00;         /* 흰 바탕 위 '노란 강조 글씨' — 노랑 그대로는 안 읽혀서 진한 황토색 */
  --main-soft: color-mix(in srgb, var(--main-color) 8%, #fff);    /* 선택된 칸 · 목록 hover */
  --main-tint: color-mix(in srgb, var(--main-color) 18%, #fff);   /* 태그 바탕 · 제목 밑줄 */
  --main-line: color-mix(in srgb, var(--main-color) 45%, #fff);   /* 포커스 링 */

  /* 슬라이드·카드 파스텔 6색 (.tone_1 ~ .tone_6) */
  --tone-1: color-mix(in srgb, var(--main-color) 22%, #fff);   /* 연노랑 */
  --tone-2: #EEF1F5;                                            /* 연회색 */
  --tone-3: #FFE9DE;                                            /* 연살구 */
  --tone-4: #E7F4EE;                                            /* 연민트 */
  --tone-5: #F0EDFA;                                            /* 연라벤더 */
  --tone-6: #FFF0DB;                                            /* 연주황 */

  --ink: #191F28;                /* 제목 */
  --body: #4E5968;               /* 본문 */
  --muted: #8B95A1;              /* 보조 글씨 */
  --line: #E5E8EB;               /* 구분선 */
  --bg: #F5F6F8;                 /* 회색 바탕 */
  --black-btn: #191F28;          /* 동그란 검정 버튼 */
  --error: #F04452;

  --r-xl: 32px;                  /* 큰 카드 · 슬라이드 */
  --r-lg: 28px;                  /* 폼 카드 */
  --r-md: 22px;                  /* 보통 카드 */
  --r-sm: 14px;                  /* 입력칸 */
  --shadow: 0 16px 44px -18px rgba(25, 31, 40, 0.22);

  --wrap: 1240px;
  --narrow: 900px;
  --sec-pad: 120px;              /* 섹션 위아래 여백 */
}

.highlight {font-weight: 700; color: var(--main-text);}
.c_red {color: #D7261E;}   /* 심의 필수 문구(약관 참조·면책) 빨간 글자 — 순수 red 는 흰 바탕 대비가 4:1 이라 조금 진하게 */

/* 심의 문구 상자 — index.php 의 p9_notice() 가 출력 */
.red_notice {margin-top: 20px; font-size: 14px; font-weight: 600; line-height: 1.65; word-break: keep-all;}
.red_notice p + p {margin-top: 2px;}

/* 화면에는 안 보이고 스크린리더만 읽는다 */
.sr_only {position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;}

/* 아이콘 묶음 SVG — 자리 차지 없이 숨긴다 */
.ico_sprite {position: absolute; width: 0; height: 0; overflow: hidden;}

/* 서랍이 열려 있는 동안 뒤 화면 스크롤 잠금 */
html.is_locked, html.is_locked body {overflow: hidden;}


#section1 > .inner, #section_company > .inner,
#section2 > .inner,
#section3 > .inner, #section_point > .inner,
#section4 > .inner,
#section_process > .inner,
#section_qna > .inner, #section_guide > .inner {width: min(var(--wrap), calc(100% - 48px)); max-width: none; margin: 0 auto;}

/* 흰 섹션과 회색 섹션을 번갈아 둔다 */
/* 순서: hero(흰) → company(흰, 안에 회색 띠) → section2(회) → section3(흰) → point(회) → section4(흰) → process(회) → qna(흰) → guide(회) */
#section2, #section3, #section_point, #section4, #section_process, #section_qna, #section_guide {padding: var(--sec-pad) 0;}
#section_company {padding: 0 0 calc(var(--sec-pad) * 0.8);}
#section1, #section_company, #section3, #section4, #section_qna {background: #fff;}
#section2, #section_point, #section_process, #section_guide {background: var(--bg);}


/* ══════════════════════════════════════════════════
   ★ 표지판 포인트 — 이 랜딩의 핵심 모양
   노란 마름모(.sign_dia)를 라벨·번호·주의 표시 앞에 둔다. 안에 <b> 글자를 넣을 수 있다.
   ══════════════════════════════════════════════════ */
.sign_dia {position: relative; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 22px; height: 22px; vertical-align: middle;}
.sign_dia::before {content: ''; position: absolute; inset: 3px; border-radius: 4px; background: var(--main-color); transform: rotate(45deg);}
.sign_dia b {position: relative; font-size: 11px; font-weight: 800; line-height: 1; color: var(--main-ink);}

/* 파스텔 바탕 6색 — 슬라이드·카드 공통 */
.tone_1 {background: var(--tone-1);}
.tone_2 {background: var(--tone-2);}
.tone_3 {background: var(--tone-3);}
.tone_4 {background: var(--tone-4);}
.tone_5 {background: var(--tone-5);}
.tone_6 {background: var(--tone-6);}

/* 동그란 버튼 — 기본 검정 ↗ */
.round_btn {display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: var(--black-btn); color: #fff; cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.2s;}
.round_btn svg {width: 18px; height: 18px;}
.round_btn:hover {background: var(--main-color); color: var(--main-ink); transform: rotate(45deg);}
.round_btn:focus-visible {outline: 3px solid var(--main-line); outline-offset: 3px;}

/* 카드 전체가 버튼처럼 — index.php 스크립트가 카드 클릭을 카드 안 버튼으로 넘긴다 */
.js_card {cursor: pointer; transition: transform 0.2s;}
.js_card:hover {transform: translateY(-4px);}
.js_card:hover .round_btn {background: var(--main-color); color: var(--main-ink); transform: rotate(45deg);}

/* 3D 느낌 아이콘 */
.ico3d {display: block; flex-shrink: 0; width: 88px; height: 88px;}


/* ══════ #section1 — 왼쪽 제목 + 3장 슬라이드 / 오른쪽 폼 카드 ══════ */
/* 위 여백 — 헤더 높이(--hd-h)는 header.php 의 겹치기 규칙이 #section1 padding-top 으로 주고, 나머지는 .hero_wrap 이 준다 */
#section1 {position: relative;}
/* ★ 왼쪽(.hero_main)과 오른쪽 폼 카드의 높이를 맞춘다
   — 두 칸을 같은 높이로 늘리고(stretch), 남는 높이는 왼쪽은 슬라이드가, 오른쪽은 폼 안 여백(신뢰 지표 위)이 나눠 갖는다 */
#section1 .hero_wrap {display: grid; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 40px; align-items: stretch; padding: 28px 0 72px;}
#section1 .hero_main {display: flex; flex-direction: column; min-width: 0;}
#section1 .hero_head {margin-bottom: 24px;}
#section1 .hero_slider {display: flex; flex-direction: column; flex: 1; min-width: 0;}
#section1 .hero_steps {margin-top: 14px;}

/* ── 제목 ── */
#section1 .hero_badge {display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--body);}
/* <b>·<em> — 노란 형광펜 밑줄 */
#section1 .hero_title {margin-top: 10px; font-size: 44px; font-weight: 800; line-height: 1.3; letter-spacing: -1.6px; color: var(--ink); word-break: keep-all;}
#section1 .hero_title b,
#section1 .hero_title em {font-weight: 800; font-style: normal; background: linear-gradient(transparent 60%, var(--tone-1) 60%); -webkit-box-decoration-break: clone; box-decoration-break: clone;}
#section1 .hero_desc {margin-top: 12px; font-size: 17px; line-height: 1.65; color: var(--body); word-break: keep-all;}
#section1 .hero_desc br {display: none;}   /* PC 는 한 줄로 — 왼쪽 높이를 폼에 맞추려고 */

/* ── 슬라이드 — 가로 스크롤 스냅 (PC 3장, 1150 이하 2장, 모바일 1.7장) ── */
#section1 .slide_track {display: flex; flex: 1; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none;}
#section1 .slide_track::-webkit-scrollbar {display: none;}
#section1 .slide {position: relative; display: flex; flex-direction: column; flex: 0 0 calc((100% - 32px) / 3); min-height: 280px; padding: 24px 24px 18px; overflow: hidden; border-radius: var(--r-xl); scroll-snap-align: start;}
#section1 .slide_tag {align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 12px 0 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.78); font-size: 13px; font-weight: 700; color: var(--body);}
#section1 .slide_title {margin-top: 16px; font-size: 24px; font-weight: 800; line-height: 1.38; letter-spacing: -0.8px; color: var(--ink); word-break: keep-all;}
#section1 .slide_note {margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--body); word-break: keep-all;}
/* 그림은 글 아래 오른쪽 — 글과 겹치지 않게 흐름 안에 두고, 남는 높이만큼 아래로 밀린다 */
#section1 .slide_ill {flex-shrink: 0; width: 104px; height: 104px; margin: auto -4px 0 auto; padding-top: 6px; box-sizing: content-box; object-fit: contain; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);}
#section1 .slide:hover .slide_ill {transform: translateY(-6px);}

/* 슬라이드 컨트롤 — 슬라이드 아래 오른쪽: 01 / 06 · 진행 막대 · ‹ ⏸ › */
#section1 .slide_ctrl {display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 14px;}
#section1 .ctrl_num {font-size: 15px; font-weight: 600; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums;}
#section1 .ctrl_num b {font-weight: 800; color: var(--ink);}
#section1 .ctrl_bar {width: 96px; height: 3px; overflow: hidden; border-radius: 3px; background: var(--line);}
#section1 .ctrl_bar i {display: block; width: 0; height: 100%; background: var(--ink);}
#section1 .ctrl_bar i.run {animation: ctrl_bar 4.5s linear forwards;}
@keyframes ctrl_bar {to {width: 100%;}}
#section1 .ctrl_btns {display: flex; gap: 6px;}
#section1 .ctrl_btn {display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; transition: background 0.15s;}
#section1 .ctrl_btn svg {width: 16px; height: 16px;}
#section1 .ctrl_btn:hover {background: var(--bg);}
#section1 .ctrl_btn:focus-visible {outline: 3px solid var(--main-line); outline-offset: 2px;}
/* 멈춤 ⏸ / 재생 ▶ 아이콘 */
#section1 .ctrl_pause span {width: 10px; height: 12px; border-left: 3px solid var(--ink); border-right: 3px solid var(--ink);}
#section1 .ctrl_pause.is_paused span {width: 0; height: 0; margin-left: 3px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid var(--ink); border-right: 0;}

/* 신청부터 가입까지 — 슬라이드 아래 회색 띠(라벨 | ◆1 ─ ◆2 ─ ◆3 ─ 4), 마지막(가입 결정)만 노란 알약 */
#section1 .hero_steps {display: flex; align-items: center; gap: 20px; padding: 14px 18px 14px 22px; border-radius: 22px; background: var(--bg);}
#section1 .hero_steps_label {flex-shrink: 0; font-size: 14px; font-weight: 700; color: var(--muted); white-space: nowrap;}
#section1 .hero_steps ol {display: flex; align-items: center; flex: 1; min-width: 0;}
#section1 .hero_steps li {display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0;}
#section1 .hero_steps li:last-child {flex: none; height: 36px; padding: 0 14px 0 8px; border-radius: 999px; background: var(--main-color);}
/* 단계 사이 점선 */
#section1 .hero_steps li:not(:last-child)::after {content: ''; flex: 1; min-width: 12px; height: 2px; margin: 0 6px; background: repeating-linear-gradient(90deg, #C9D0D8 0 6px, transparent 6px 10px);}
#section1 .hero_steps .sign_dia::before {background: #fff; box-shadow: inset 0 0 0 1.5px #C9D0D8;}
#section1 .hero_steps li:last-child .sign_dia::before {box-shadow: none;}
#section1 .hero_steps .txt {font-size: 14.5px; font-weight: 700; line-height: 1.35; color: var(--ink); white-space: nowrap;}

/* ── 오른쪽 폼 카드 — 한 화면에 다섯 칸, 버튼 한 번 ── */
#section1 .form_wrap {display: flex; flex-direction: column; padding: 30px 28px 24px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow), 0 0 0 1px var(--line); scroll-margin-top: 100px;}
/* 폼을 서랍으로 옮긴 동안 — 빈 카드에 안내만 남긴다 */
#section1 .form_wrap.is_moved .form_head,
#section1 .form_wrap.is_moved .form_sub {opacity: 0.35;}
/* 폼이 왼쪽보다 짧으면 남는 높이를 신뢰 지표 위 여백으로 — 버튼까지는 위에 붙어 있고 지표만 카드 바닥으로 */
#section1 .card_form {display: flex; flex-direction: column; flex: 1;}
#section1 .form_wrap .hero_stats {margin-top: auto;}
#section1 .form_wrap .submit_btn {margin-bottom: 18px;}

.form_wrap .form_head {display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;}
.form_wrap .form_head h2 {font-size: 23px; font-weight: 800; line-height: 1.38; letter-spacing: -0.8px; color: var(--ink); word-break: keep-all;}
.form_wrap .form_head h2 b {color: var(--main-text);}
.form_wrap .form_ico {flex-shrink: 0; width: 52px; height: 52px; margin-top: -4px;}
.form_wrap .form_sub {margin: 4px 0 20px; font-size: 14px; color: var(--muted);}

.form_wrap .form_fields {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px;}
.form_wrap .field {min-width: 0;}
.form_wrap .field.is_full {grid-column: 1 / -1;}
.form_wrap .field > label,
.form_wrap .field_label {display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--body);}

/* 입력칸 — 회색 면, 포커스 때 흰 바탕 + 노란 테두리 */
.form_wrap input[type='text'],
.form_wrap .phone_select,
.form_wrap .region_select,
.form_wrap .select_btn {display: block; width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid transparent; border-radius: var(--r-sm); background-color: var(--bg); font-size: 16px; font-weight: 600; color: var(--ink); outline: none; transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;}
.form_wrap input[type='text']::placeholder {font-weight: 500; color: #B0B8C1;}
.form_wrap input[type='text']:focus,
.form_wrap .phone_select:focus,
.form_wrap .region_select:focus,
.form_wrap .select_btn:focus-visible,
.form_wrap .select_wrap.open .select_btn {border-color: var(--main-dark); background-color: #fff; box-shadow: 0 0 0 4px var(--main-tint);}

/* 선택칸 — 오른쪽 화살표 */
.form_wrap .phone_select,
.form_wrap .region_select,
.form_wrap .select_btn {padding-right: 36px; background-image: url("../img/arrow_down.svg"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; -webkit-appearance: none; appearance: none; cursor: pointer;}
.form_wrap .region_select:has(option[value='']:checked) {font-weight: 500; color: #B0B8C1;}
.form_wrap .region_select option {font-weight: 500; color: var(--ink);}

/* 성별 — 회색 바 안 두 칸, 고르면 흰 칩 */
.form_wrap .gender_wrap {display: grid; grid-template-columns: 1fr 1fr; gap: 4px; height: 50px; padding: 4px; border-radius: var(--r-sm); background: var(--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; margin: 0; border-radius: 10px; font-size: 16px; font-weight: 600; color: var(--muted); cursor: pointer; user-select: none; transition: background 0.15s, color 0.15s, box-shadow 0.15s;}
.form_wrap .gender_wrap input[type='radio']:checked + label {background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 4px rgba(25, 31, 40, 0.12);}
.form_wrap .gender_wrap input[type='radio']:focus-visible + label {outline: 3px solid var(--main-line); outline-offset: 1px;}

/* 지역 목록 — PC(마우스)에서만 index.php 스크립트가 .is_custom 을 붙이고 직접 만든 목록을 보여 준다.
   기본 select 의 펼침 목록은 높이를 정할 수 없어서다. 모바일은 기본 선택창 그대로.
   값은 숨겨 둔 원래 select 에 들어가므로 공용 main.js 의 검사·전송은 그대로 동작한다. */
.form_wrap .select_wrap {position: relative;}
.form_wrap .select_wrap.is_custom .region_select {position: absolute; inset: 0; opacity: 0; pointer-events: none;}
.form_wrap .select_btn {text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.form_wrap .select_btn.is_placeholder {font-weight: 500; color: #B0B8C1;}
.form_wrap .select_list {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30;
  display: none;
  max-height: 228px;              /* 목록 최대 높이 — 넘치면 안에서 스크롤 */
  overflow-y: auto; overscroll-behavior: contain;
  padding: 6px; border-radius: var(--r-sm); background: #fff;
  box-shadow: 0 18px 40px -16px rgba(25, 31, 40, 0.35), 0 0 0 1px var(--line);
  scrollbar-width: thin; scrollbar-color: #D1D6DB transparent;
}
.form_wrap .select_list::-webkit-scrollbar {width: 6px;}
.form_wrap .select_list::-webkit-scrollbar-thumb {border-radius: 6px; background: #D1D6DB;}
.form_wrap .select_wrap.up .select_list {top: auto; bottom: calc(100% + 6px);}   /* 아래 공간이 모자라면 위로 연다 */
.form_wrap .select_wrap.open .select_list {display: block; animation: select_open 0.15s ease;}
@keyframes select_open {from {opacity: 0; transform: translateY(-4px);} to {opacity: 1; transform: none;}}
.form_wrap .select_list li {padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--body); cursor: pointer;}
.form_wrap .select_list li.is_active {background: var(--main-soft); color: var(--ink);}
.form_wrap .select_list li[aria-selected='true'] {color: var(--main-text); font-weight: 700;}

/* 연락처 — 국번 | 번호 */
.form_wrap .phone_input_wrap {display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px;}

.form_wrap .form_privacy {display: flex; gap: 6px; margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--muted); word-break: keep-all;}
.form_wrap .form_privacy svg {flex-shrink: 0; width: 15px; height: 15px; margin-top: 2px;}

/* 신청 버튼 — 옐로 바탕 + 차콜 글씨 */
.form_wrap .submit_btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; height: 58px; margin-top: 14px; padding: 0 24px;
  border: 0; border-radius: 16px; background: var(--main-color); color: var(--main-ink);
  font-size: 18px; font-weight: 800; letter-spacing: -0.3px; cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.form_wrap .submit_btn svg {width: 18px; height: 18px; transition: transform 0.15s;}
.form_wrap .submit_btn:hover {background: var(--main-dark);}
.form_wrap .submit_btn:hover svg {transform: translateX(3px);}
.form_wrap .submit_btn:active {transform: scale(0.98);}
.form_wrap .submit_btn:focus-visible {outline: 3px solid var(--ink); outline-offset: 3px;}

/* 신뢰 지표 — 버튼 아래, 원형 표지판(노란 테두리 원) 3칸 */
.form_wrap .hero_stats {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);}
.form_wrap .hero_stats li {position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0 4px; text-align: center;}
.form_wrap .hero_stats li + li::before {content: ''; position: absolute; left: 0; top: 8%; bottom: 8%; width: 1px; background: var(--line);}
.form_wrap .hero_stats strong {display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 3px solid var(--main-color); border-radius: 50%; font-size: 17px; font-weight: 800; line-height: 1; letter-spacing: -0.5px; color: var(--ink);}
.form_wrap .hero_stats strong small {margin: 3px 0 0 1px; font-size: 11px; font-weight: 700;}
.form_wrap .hero_stats span {font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--body); word-break: keep-all;}


/* ══════ 스크롤 중 폼 열기 — PC 세로 사이드 탭 / 모바일 하단 버튼 → 서랍 · 바텀시트 ══════ */
/* 사이드 탭 — 오른쪽 가장자리 세로 표지판 (PC 769px 이상) */
.side_tab {
  position: fixed; right: 0; top: 50%; z-index: 40;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: 60px; padding: 20px 0; margin-top: -100px;
  border: 0; border-radius: 18px 0 0 18px; background: var(--main-color); color: var(--main-ink);
  font-size: 16px; font-weight: 700; letter-spacing: 0.04em; cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s, padding 0.2s, background 0.15s;
}
.side_tab span {writing-mode: vertical-rl;}
.side_tab .sign_dia::before {background: #fff;}
.side_tab.show {opacity: 1; visibility: visible;}
.side_tab:hover {padding-right: 6px; background: var(--main-dark);}
.side_tab:focus-visible {outline: 3px solid var(--ink); outline-offset: 2px;}
@media (max-width: 768px) {
  .side_tab {display: none;}}

/* 서랍 — PC 는 오른쪽에서, 모바일은 아래에서 나온다.
   ※ 서랍은 헤더(z-index 100)보다 위, 공용 동의 모달보다는 아래여야 한다 — 서랍 111 / 딤 110. 동의 모달이 112 이상인지 확인한다.
   ※ transform 을 쓰면 그 안에서 position:fixed 인 요소가 서랍 안에 갇히므로 right / bottom 값으로 움직인다. */
.drawer_dim {position: fixed; inset: 0; z-index: 110; background: rgba(25, 31, 40, 0.42); opacity: 0; transition: opacity 0.3s;}
.drawer_dim.is_open {opacity: 1;}
.form_drawer {
  position: fixed; top: 0; right: -480px; z-index: 111;
  display: flex; flex-direction: column;
  width: 440px; max-width: 100%; height: 100%;
  background: #fff; box-shadow: -20px 0 50px -20px rgba(25, 31, 40, 0.3);
  transition: right 0.3s ease;
}
.form_drawer.is_open {right: 0;}
.form_drawer[hidden], .drawer_dim[hidden] {display: none;}
.drawer_head {display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 28px 28px 18px;}
.drawer_title {font-size: 22px; font-weight: 800; line-height: 1.38; letter-spacing: -0.8px; color: var(--ink);}
.drawer_title b {color: var(--main-text);}
.drawer_close {display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: var(--bg); color: var(--ink); cursor: pointer;}
.drawer_close svg {width: 18px; height: 18px;}
.drawer_close:focus-visible {outline: 3px solid var(--main-line); outline-offset: 2px;}
.drawer_body {flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 28px 28px;}


/* ══════ 섹션 머리 ══════ */
.title_wrap {max-width: 760px; margin: 0 0 48px;}
.title_wrap.is_center {margin: 0 auto 48px; text-align: center;}
.title_wrap .section_label {display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 700; color: var(--body);}
.title_wrap h2 {margin-top: 12px; font-size: 40px; font-weight: 800; line-height: 1.32; letter-spacing: -1.5px; color: var(--ink); word-break: keep-all;}
/* <b> — 노란 형광펜 밑줄 */
.title_wrap h2 b {font-weight: 800; background: linear-gradient(transparent 62%, var(--tone-1) 62%); -webkit-box-decoration-break: clone; box-decoration-break: clone;}
.title_wrap p {margin-top: 14px; font-size: 17px; line-height: 1.7; color: var(--body); word-break: keep-all;}


/* ── section_company: 보험사 — 히어로 바로 아래 회색 띠 하나 (왼쪽 큰 숫자 · 오른쪽 이니셜 칩 4×2) ── */
#section_company .company_band {display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 40px; align-items: center; padding: 40px 44px; border-radius: var(--r-xl); background: var(--bg);}
#section_company .company_num {display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; color: var(--body);}
#section_company .company_num b {margin-right: 1px; font-size: 30px; font-weight: 900; line-height: 1; color: var(--ink);}
#section_company .company_head h2 {margin-top: 10px; font-size: 26px; font-weight: 800; line-height: 1.38; letter-spacing: -0.9px; color: var(--ink); word-break: keep-all;}
#section_company .company_head > p:last-child {margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--body); word-break: keep-all;}
#section_company .company_list {display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;}
#section_company .company_list li {display: flex; align-items: center; justify-content: center; height: 72px; padding: 0 12px; border-radius: 18px; background: #fff;}
/* 보험사 텍스트 로고 — 이니셜(--co-init)은 크고 굵게, 나머지 글자(--co-rest)는 조금 작게 */
/* 심의 기준: 실제 보험사를 유추할 수 있는 이니셜·CI 색 금지 → A~H 보험사. 기호 색(--co-color)은 index.php 에서 CI 가 아닌 장식 색으로 */
#section_company .co_logo {display: flex; align-items: center; gap: 2px; color: var(--ink); font-size: 19px; font-weight: 800; letter-spacing: -0.8px; line-height: 1; white-space: nowrap;}
#section_company .co_logo b {color: var(--co-color, var(--main-text)); font-size: 1.3em; font-weight: 900; letter-spacing: 0;}
#section_company .company_foot {margin-top: 16px; font-size: 13.5px; line-height: 1.6; color: var(--muted); word-break: keep-all;}


/* ── section2: 자동차보험 vs 운전자보험 — 비교표, 운전자보험 칸은 노란 세로 띠로 강조 ── */
#section2 .compare_table {position: relative; display: flex; flex-direction: column;}
/* 운전자보험 칸 전체를 감싸는 노란 테두리 띠 (표 위아래 끝까지) */
#section2 .compare_table::before {content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: calc((100% - 220px) / 2); border-radius: var(--r-xl); background: #fff; box-shadow: 0 0 0 3px var(--main-color), var(--shadow); pointer-events: none;}
#section2 .cmp_row {position: relative; display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr); align-items: center;}
#section2 .cmp_row + .cmp_row {border-top: 1px solid var(--line);}
#section2 .cmp_row:not(.cmp_head) {min-height: 84px;}
#section2 .cmp_label {padding: 0 24px 0 4px; font-size: 16px; font-weight: 800; color: var(--ink); word-break: keep-all;}
#section2 .cmp_cell {padding: 22px 32px; font-size: 16.5px; line-height: 1.6; color: var(--body); word-break: keep-all;}
#section2 .cmp_cell.is_point {font-weight: 700; color: var(--ink);}
#section2 .cmp_row:not(.cmp_head) .cmp_cell.is_point {position: relative;}
#section2 .m_label {display: none;}
/* 표 머리 — 그림 + 이름 + 한 줄 */
#section2 .cmp_head {border-bottom: 1px solid var(--line);}
#section2 .cmp_head .cmp_cell {display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 30px 32px 24px;}
#section2 .cmp_head strong {margin-top: 12px; font-size: 22px; font-weight: 800; letter-spacing: -0.6px; color: var(--ink);}
#section2 .cmp_head .cmp_cell > span {font-size: 14.5px; font-weight: 600; color: var(--muted);}
#section2 .cmp_head .cmp_cell.is_point > span {display: inline-flex; padding: 3px 10px; border-radius: 8px; background: var(--main-color); font-size: 13px; font-weight: 700; color: var(--main-ink);}
#section2 .cmp_ill {width: 76px; height: 76px; object-fit: contain;}
#section2 .cmp_head .cmp_cell:not(.is_point) .cmp_ill {filter: grayscale(1); opacity: 0.55;}


/* ── section3: 사고 처리 과정별 보장 — 가로 도로 위 번호 표지판 4개, 아래에 보장 카드 ── */
#section3 .road_list {position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-top: 4px;}
/* 도로 — 표지판 높이에 깔리는 회색 띠 + 노란 중앙 점선 */
#section3 .road_list::before {content: ''; position: absolute; left: -8px; right: -8px; top: 22px; height: 34px; border-radius: 17px; background: #4E5968 repeating-linear-gradient(90deg, var(--main-color) 0 28px, transparent 28px 52px) 0 50% / 100% 4px no-repeat;}
#section3 .road_item {position: relative; display: flex; flex-direction: column; align-items: center;}
#section3 .road_sign {position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 80px; height: 80px;}
#section3 .road_sign::before {content: ''; position: absolute; inset: 12px; border-radius: 12px; background: var(--main-color); box-shadow: 0 0 0 5px #fff, 0 10px 20px -8px rgba(25, 31, 40, 0.35); transform: rotate(45deg);}
#section3 .road_sign b {position: relative; font-size: 22px; font-weight: 900; color: var(--main-ink);}
#section3 .road_when {margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--body); text-align: center; word-break: keep-all;}
#section3 .road_card {display: flex; flex-direction: column; flex: 1; width: 100%; margin-top: 16px; padding: 26px 24px 28px; border-radius: var(--r-md); background: var(--bg);}
#section3 .road_card .ico3d {width: 64px; height: 64px; margin-bottom: 16px; object-fit: contain;}
#section3 .tag {align-self: flex-start; padding: 3px 10px; border-radius: 8px; background: var(--main-tint); font-size: 12.5px; font-weight: 700; color: var(--main-text);}
#section3 h3 {margin-top: 8px; font-size: 20px; font-weight: 800; line-height: 1.38; letter-spacing: -0.6px; color: var(--ink); word-break: keep-all;}
#section3 .road_card p {margin-top: 8px; font-size: 15px; line-height: 1.68; color: var(--body); word-break: keep-all;}

/* 보장하지 않거나 달라지는 경우 — 연노랑 상자 */
#section3 .road_except {display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 28px; padding: 26px 32px; border-radius: var(--r-md); background: var(--main-soft); box-shadow: inset 0 0 0 1px var(--main-tint);}
#section3 .except_title {display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 800; color: var(--ink); word-break: keep-all;}
#section3 .road_except ul li {position: relative; padding-left: 14px; font-size: 15px; line-height: 1.7; color: var(--body); word-break: keep-all;}
#section3 .road_except ul li + li {margin-top: 4px;}
#section3 .road_except ul li::before {content: ''; position: absolute; left: 0; top: 0.72em; width: 5px; height: 5px; border-radius: 1px; background: var(--main-dark); transform: rotate(45deg);}


/* ── section_point: 비교 포인트 — 탭 4개 + 흰 판(왼쪽 글 · 오른쪽 그림) ── */
#section_point .tab_list {display: flex; gap: 8px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none;}
#section_point .tab_list::-webkit-scrollbar {display: none;}
#section_point .tab_btn {display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; height: 52px; padding: 0 22px 0 14px; border: 0; border-radius: 999px; background: #fff; font-size: 16px; font-weight: 700; color: var(--body); white-space: nowrap; cursor: pointer; transition: background 0.15s, color 0.15s;}
#section_point .tab_btn .sign_dia::before {background: var(--bg); box-shadow: inset 0 0 0 1.5px #C9D0D8;}
#section_point .tab_btn:hover {color: var(--ink);}
#section_point .tab_btn[aria-selected='true'] {background: var(--ink); color: #fff;}
#section_point .tab_btn[aria-selected='true'] .sign_dia::before {background: var(--main-color); box-shadow: none;}
#section_point .tab_btn:focus-visible {outline: 3px solid var(--main-line); outline-offset: 2px;}

#section_point .tab_panel {display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: center; min-height: 400px; padding: 48px 52px; border-radius: var(--r-xl); background: #fff;}
#section_point .tab_panel[hidden] {display: none;}
#section_point .tab_panel:not([hidden]) {animation: panel_in 0.3s ease;}
@keyframes panel_in {from {opacity: 0; transform: translateY(8px);} to {opacity: 1; transform: none;}}
#section_point .panel_txt h3 {font-size: 28px; font-weight: 800; line-height: 1.38; letter-spacing: -0.9px; color: var(--ink); word-break: keep-all;}
#section_point .panel_desc {margin-top: 10px; font-size: 16.5px; line-height: 1.7; color: var(--body); word-break: keep-all;}
#section_point .panel_checks {margin-top: 24px;}
#section_point .panel_checks li {position: relative; padding: 14px 0 14px 34px; border-top: 1px dashed var(--line); font-size: 15.5px; line-height: 1.65; color: var(--ink); word-break: keep-all;}
#section_point .panel_checks li:last-child {border-bottom: 1px dashed var(--line);}
#section_point .panel_checks li::before {content: ''; position: absolute; left: 0; top: 15px; width: 22px; height: 22px; border-radius: 50%; background: var(--main-color) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%23191F28' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 12px;}
#section_point .panel_types {display: grid; gap: 10px; margin-top: 24px;}
#section_point .panel_types li {display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 20px; border-radius: 16px; background: var(--bg);}
#section_point .panel_types strong {font-size: 16px; font-weight: 800; color: var(--ink);}
#section_point .panel_types span {font-size: 14.5px; line-height: 1.6; color: var(--body); word-break: keep-all;}
#section_point .panel_txt .more_link {margin-top: 20px;}
#section_point .panel_visual {display: flex; align-items: center; justify-content: center; height: 100%; min-height: 300px; border-radius: var(--r-md); background: var(--tone-1);}
#section_point .panel_ill {width: 220px; height: 220px; object-fit: contain;}
#section_point .tab_panel:nth-of-type(3) .panel_visual {background: var(--tone-2);}
#section_point .tab_panel:nth-of-type(4) .panel_visual {background: var(--tone-4);}
#section_point .tab_panel:nth-of-type(5) .panel_visual {background: var(--tone-5);}

/* 가입 조건 한눈에 — 탭 아래 가로 띠 4칸 */
#section_point .join_strip {margin-top: 20px; padding: 30px 36px; border-radius: var(--r-xl); background: #fff;}
#section_point .join_title {font-size: 18px; font-weight: 800; color: var(--ink);}
#section_point .join_title b {font-weight: 800; background: linear-gradient(transparent 60%, var(--tone-1) 60%);}
#section_point .join_list {display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px;}
#section_point .join_list > div {padding: 0 22px;}
#section_point .join_list > div:first-child {padding-left: 0;}
#section_point .join_list > div + div {border-left: 1px solid var(--line);}
#section_point .join_list dt {display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 800; color: var(--ink);}
#section_point .join_list dt::before {content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--main-color); transform: rotate(45deg);}
#section_point .join_list dd {margin: 6px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--body); word-break: keep-all;}
#section_point .join_note {margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); word-break: keep-all;}


/* ── section4: 가입 전 확인 — 주의 표지판 카드 4장 + 화면 폭 노란 CTA 띠 ── */
#section4 .checklist {display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;}
#section4 .checklist li {position: relative; display: flex; flex-direction: column; padding: 30px 26px 28px; border-radius: var(--r-md); background: var(--bg);}
/* 노란 주의 표지(둥근 마름모 + 차콜 테두리) */
#section4 .warn_sign {position: relative; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 0 0 18px -4px;}
#section4 .warn_sign::before {content: ''; position: absolute; inset: 8px; border: 3px solid var(--ink); border-radius: 9px; background: var(--main-color); transform: rotate(45deg);}
#section4 .warn_sign b {position: relative; font-size: 20px; font-weight: 900; color: var(--main-ink);}
#section4 .check_no {font-size: 12.5px; font-weight: 800; letter-spacing: 1px; color: var(--main-text);}
#section4 h3 {margin-top: 6px; font-size: 19px; font-weight: 800; line-height: 1.4; letter-spacing: -0.5px; color: var(--ink); word-break: keep-all;}
#section4 .checklist p {margin-top: 8px; font-size: 15px; line-height: 1.68; color: var(--body); word-break: keep-all;}

#section4 .cta_band {position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 28px; align-items: center; margin-top: 28px; padding: 36px 44px; overflow: hidden; border-radius: var(--r-xl); background: var(--main-color); color: var(--main-ink);}
/* 사선 줄무늬 — 공사 구간 표지 느낌 (아주 옅게) */
#section4 .cta_band::before {content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent 0 24px, rgba(255, 255, 255, 0.16) 24px 48px); pointer-events: none;}
#section4 .cta_band:hover {transform: none;}
#section4 .cta_txt {position: relative;}
#section4 .cta_title {font-size: 28px; font-weight: 800; line-height: 1.4; letter-spacing: -1px; word-break: keep-all;}
#section4 .cta_title b {font-weight: 800; background: linear-gradient(transparent 62%, rgba(255, 255, 255, 0.55) 62%);}
#section4 .cta_sub {margin-top: 8px; font-size: 15px; font-weight: 600; color: #5C4600; word-break: keep-all;}
#section4 .cta_ill {position: relative; width: 120px; height: 120px; object-fit: contain;}
#section4 .cta_btn {position: relative; gap: 6px; width: auto; height: 60px; padding: 0 26px 0 30px; border-radius: 16px; font-size: 17px; font-weight: 800; white-space: nowrap;}
#section4 .cta_btn:hover,
#section4 .cta_band:hover .cta_btn {background: #333D4B; color: #fff; transform: none;}


/* ── section_process: 진행 순서 — 마름모 표지판 4개를 점선으로 잇는다 ── */
#section_process .process_list {position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;}
#section_process .process_list::before {content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 46px; height: 2px; background: repeating-linear-gradient(90deg, #C9D0D8 0 8px, transparent 8px 14px);}
#section_process .process_list li {position: relative; padding: 0 12px; text-align: center;}
#section_process .step_sign {position: relative; display: flex; align-items: center; justify-content: center; width: 92px; height: 92px; margin: 0 auto;}
#section_process .step_sign::before {content: ''; position: absolute; inset: 13px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 22px -10px rgba(25, 31, 40, 0.25); transform: rotate(45deg);}
#section_process .step_sign b {position: relative; font-size: 24px; font-weight: 800; color: var(--ink);}
#section_process .process_list li:last-child .step_sign::before {background: var(--main-color); box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--main-dark) 70%, transparent);}
#section_process h3 {margin-top: 18px; font-size: 20px; font-weight: 800; letter-spacing: -0.5px; color: var(--ink); word-break: keep-all;}
#section_process p {margin-top: 6px; font-size: 15px; line-height: 1.65; color: var(--body); word-break: keep-all;}
#section_process .process_note {display: flex; align-items: center; justify-content: center; gap: 6px; width: fit-content; margin: 40px auto 0; padding: 10px 20px 10px 14px; border-radius: 999px; background: var(--main-soft); box-shadow: inset 0 0 0 1px var(--main-tint); font-size: 16px; font-weight: 600; color: var(--ink); word-break: keep-all;}


/* ── 자주 묻는 질문 — 왼쪽 제목 + 상담 버튼 / 오른쪽 둥근 칸 목록 ── */
#section_qna .qna_wrap {display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 64px; align-items: start;}
#section_qna .title_wrap {position: sticky; top: 120px; margin: 0;}
#section_qna .qna_cta {display: inline-flex; align-items: center; gap: 6px; height: 54px; margin-top: 28px; padding: 0 22px 0 26px; border: 0; border-radius: 16px; background: var(--main-color); color: var(--main-ink); font-size: 17px; font-weight: 800; cursor: pointer; transition: background 0.15s;}
#section_qna .qna_cta svg {width: 18px; height: 18px;}
#section_qna .qna_cta:hover {background: var(--main-dark);}
#section_qna .qna_cta:focus-visible {outline: 3px solid var(--ink); outline-offset: 3px;}

#section_qna .qna_list {display: flex; flex-direction: column; gap: 12px;}
#section_qna .qna_item {border-radius: var(--r-md); background: var(--bg); transition: box-shadow 0.2s;}
#section_qna .qna_question {display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 16px 16px 26px; border: 0; background: none; text-align: left; cursor: pointer;}
#section_qna .qna_num {flex-shrink: 0; font-size: 18px; font-weight: 800; color: var(--main-dark);}
#section_qna .qna_text {flex: 1; font-size: 17px; font-weight: 700; line-height: 1.45; letter-spacing: -0.4px; color: var(--ink); word-break: keep-all;}

/* 동그란 화살표 — 열리면 뒤집힌다 */
#section_qna .qna_icon {display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--ink); transition: background 0.15s, color 0.15s, transform 0.25s;}
#section_qna .qna_icon svg {width: 18px; height: 18px;}
#section_qna .qna_question:hover .qna_icon {background: var(--main-tint);}

#section_qna .qna_answer {display: none; padding: 0 26px 24px 57px;}
#section_qna .qna_answer p {font-size: 16px; line-height: 1.75; color: var(--body); word-break: keep-all;}

#section_qna .qna_item.active {background: #fff; box-shadow: inset 0 0 0 2px var(--main-color);}
#section_qna .qna_item.active .qna_icon {background: var(--main-color); color: var(--main-ink); transform: rotate(180deg);}
#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);}}


/* ── 서브페이지로 가는 '자세히 보기' 링크 ── */
.more_link {display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; color: var(--ink); word-break: keep-all;}
.more_link::after,
#section4 .check_link::after,
#section_qna .qna_more::after {content: '›'; font-size: 1.3em; line-height: 1; transition: transform 0.15s;}
.more_link:hover::after,
#section4 .check_link:hover::after,
#section_qna .qna_more:hover::after {transform: translateX(3px);}
#section4 .check_link {display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; padding: 7px 14px; border-radius: 999px; background: var(--bg); font-size: 14px; font-weight: 700; color: var(--body); word-break: keep-all;}
#section_qna .qna_more {display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 15px; font-weight: 700; color: var(--main-text);}

/* 섹션 아래 '자세히 보기' 링크 */
.sec_more {margin-top: 28px; text-align: center;}


/* ── section_guide: 서브페이지로 가는 파스텔 카드 ── */
#section_guide .guide_list {display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;}
#section_guide .guide_card {position: relative; display: flex; flex-direction: column; align-items: flex-start; height: 100%; min-height: 280px; padding: 28px 26px 24px; border-radius: var(--r-xl); color: inherit; text-decoration: none; transition: transform 0.2s;}
#section_guide .guide_card:hover {transform: translateY(-4px);}
#section_guide .guide_card:hover .round_btn {background: var(--main-color); color: var(--main-ink); transform: rotate(45deg);}
#section_guide .guide_card:focus-visible {outline: 3px solid var(--ink); outline-offset: 3px;}
#section_guide .guide_tag {display: inline-flex; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.8); font-size: 12.5px; font-weight: 700; color: var(--body);}
#section_guide .guide_card strong {display: block; margin: 14px 0 6px; font-size: 20px; font-weight: 800; line-height: 1.4; letter-spacing: -0.5px; color: var(--ink); word-break: keep-all;}
#section_guide .guide_card p {font-size: 15px; line-height: 1.6; color: var(--body); word-break: keep-all;}
#section_guide .ico3d {width: 72px; height: 72px; margin-top: auto; padding-top: 18px; box-sizing: content-box; object-fit: contain;}
#section_guide .round_btn {position: absolute; right: 22px; bottom: 22px; width: 48px; height: 48px;}


/* ── 스크롤 등장 효과 — index.php 스크립트가 .reveal 을 붙이고, 화면에 들어오면 .is_in ── */
.reveal {opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease;}
.reveal.is_in {opacity: 1; transform: none;}
.js_card.reveal.is_in:hover {transform: translateY(-4px);}


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

@media (max-width: 1300px) {
  .inner {width: 93%;}}

@media (max-width: 1200px) {
  :root {--sec-pad: 104px;}
  #section1 .hero_wrap {grid-template-columns: minmax(0, 1fr) 380px; column-gap: 28px;}
  #section1 .hero_title {font-size: 36px;}
  #section1 .slide {padding: 24px 22px;}
  #section1 .slide_title {font-size: 21px;}
  #section1 .slide_ill {width: 92px; height: 92px;}
  #section1 .form_wrap {padding: 28px 22px 22px;}
  #section1 .hero_steps_label {display: none;}
  #section1 .hero_steps .txt {font-size: 13.5px;}

  #section_company .company_band {grid-template-columns: 300px minmax(0, 1fr); gap: 28px; padding: 34px 32px;}
  #section2 .cmp_row {grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1fr);}
  #section2 .compare_table::before {width: calc((100% - 170px) / 2);}
  #section_point .tab_panel {grid-template-columns: minmax(0, 1fr) 300px; padding: 40px;}
  #section4 .checklist {grid-template-columns: repeat(2, minmax(0, 1fr));}
  #section_qna .qna_wrap {grid-template-columns: 280px minmax(0, 1fr); gap: 40px;}
  #section_guide .guide_list {grid-template-columns: repeat(2, minmax(0, 1fr));}}

/* 한 단 — 제목 → 슬라이드 → 폼 → 진행 순서 */
@media (max-width: 1150px) {
  :root {--sec-pad: 92px;}
  #section1 > .inner, #section_company > .inner,
  #section2 > .inner,
  #section3 > .inner, #section_point > .inner,
  #section4 > .inner,
  #section_process > .inner,
  #section_qna > .inner, #section_guide > .inner {width: min(760px, calc(100% - 32px));}

  /* 왼쪽 묶음을 풀어서 제목 → 슬라이드 → 폼 → 진행 순서 순으로 세운다 */
  #section1 .hero_wrap {display: flex; flex-direction: column; padding-bottom: 56px;}
  #section1 .hero_main {display: contents;}
  #section1 .hero_head {order: 1;}
  #section1 .hero_slider {order: 2; flex: none;}
  #section1 .form_wrap {order: 3; margin-top: 24px;}
  #section1 .hero_steps {order: 4;}
  #section1 .slide {flex-basis: calc((100% - 16px) / 2); height: 320px; min-height: 0;}
  #section1 .card_form {flex: none;}
  #section1 .form_wrap .hero_stats {margin-top: 18px;}
  #section1 .hero_steps_label {display: block;}

  #section_company .company_band {grid-template-columns: minmax(0, 1fr); gap: 24px;}
  #section3 .road_list {grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px;}
  #section3 .road_list::before {display: none;}
  #section3 .road_except {grid-template-columns: minmax(0, 1fr); gap: 12px;}
  #section_point .tab_panel {grid-template-columns: minmax(0, 1fr); gap: 28px;}
  #section_point .panel_visual {order: -1; min-height: 200px;}
  #section_point .panel_ill {width: 160px; height: 160px;}
  #section_point .join_list {grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px;}
  #section_point .join_list > div:nth-child(3) {padding-left: 0; border-left: 0;}
  #section4 .cta_band {grid-template-columns: minmax(0, 1fr) auto; padding: 34px 32px;}
  #section4 .cta_ill {display: none;}
  #section_process .process_list {grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px;}
  #section_process .process_list::before {display: none;}
  #section_qna .qna_wrap {grid-template-columns: minmax(0, 1fr); gap: 32px;}
  #section_qna .title_wrap {position: static;}}

@media (max-width: 768px) {
  :root {--sec-pad: 80px;}
  #section1 .hero_wrap {padding: 12px 0 40px;}

  /* 제목·슬라이드를 낮게 — 첫 화면에 폼이 바로 걸치게 */
  #section1 .hero_head {margin-bottom: 16px;}
  #section1 .hero_badge {font-size: 13.5px;}
  #section1 .hero_title {margin-top: 6px; font-size: 26px; letter-spacing: -0.9px;}
  #section1 .hero_desc {display: none;}   /* 폼이 위로 올라오도록 모바일은 뺀다 */
  #section1 .slide_track {gap: 10px; margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px;}
  #section1 .slide {flex-basis: calc((100% - 10px) / 1.7); height: 190px; padding: 18px; border-radius: 22px;}
  #section1 .slide_tag {height: 26px; font-size: 12px;}
  #section1 .slide_title {margin-top: 10px; font-size: 18px; letter-spacing: -0.6px;}
  #section1 .slide_note {display: none;}
  #section1 .slide_ill {position: absolute; right: 10px; bottom: 8px; width: 86px; height: 86px; margin: 0; padding: 0;}
  #section1 .slide_ctrl {margin-top: 10px;}
  #section1 .ctrl_bar, #section1 .ctrl_btns {display: none;}   /* 모바일은 손가락으로 넘기고 번호만 보여 준다 */
  #section1 .ctrl_num {font-size: 13.5px;}

  #section1 .form_wrap {margin-top: 18px; padding: 24px 18px 20px; border-radius: 24px;}
  .form_wrap .form_head h2 {font-size: 21px;}
  .form_wrap .form_ico {width: 44px; height: 44px;}
  .form_wrap .form_sub {margin-bottom: 16px;}

  /* 신청부터 가입까지 — 폼 아래, 라벨 위 + 4칸 */
  #section1 .hero_steps {display: block; margin-top: 12px; padding: 14px 10px 12px; border-radius: 20px;}
  #section1 .hero_steps_label {margin-bottom: 10px; font-size: 12.5px; text-align: center;}
  #section1 .hero_steps ol {display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px;}
  #section1 .hero_steps li,
  #section1 .hero_steps li:last-child {flex-direction: column; justify-content: center; gap: 4px; height: auto; padding: 8px 2px; border-radius: 12px; text-align: center;}
  #section1 .hero_steps li:not(:last-child)::after {display: none;}
  #section1 .hero_steps .txt {font-size: 12.5px; white-space: normal; word-break: keep-all;}

  /* 바텀시트 — 아래에서 올라온다 */
  .form_drawer {top: auto; right: 0; left: 0; bottom: -100%; width: 100%; height: auto; max-height: 90vh; max-height: 90dvh; border-radius: 24px 24px 0 0; box-shadow: 0 -20px 50px -20px rgba(25, 31, 40, 0.3); transition: bottom 0.3s ease;}
  .form_drawer.is_open {right: 0; bottom: 0;}
  .drawer_head {padding: 22px 20px 14px;}
  .drawer_title {font-size: 20px;}
  .drawer_body {padding: 0 20px calc(20px + env(safe-area-inset-bottom));}

  .title_wrap {margin-bottom: 32px;}
  .title_wrap h2 {font-size: 30px; letter-spacing: -1px;}
  .title_wrap p {font-size: 16px;}

  #section_company {padding: 8px 0 56px;}
  #section_company .company_band {padding: 28px 22px; border-radius: var(--r-lg);}
  #section_company .company_head h2 {font-size: 23px;}
  #section_company .company_list {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;}
  #section_company .company_list li {height: 60px; border-radius: 16px;}
  #section_company .co_logo {font-size: 17px;}

  /* 비교표 — 줄마다 카드 하나, 안에 두 보험을 위아래로 */
  #section2 .compare_table {gap: 12px;}
  #section2 .compare_table::before {display: none;}
  #section2 .cmp_row,
  #section2 .cmp_row + .cmp_row {display: block; min-height: 0; padding: 20px 20px 16px; border: 0; border-radius: var(--r-md); background: #fff;}
  #section2 .cmp_row.cmp_head {display: none;}   /* 모바일은 칸마다 이름표(.m_label)를 붙이므로 표 머리를 뺀다 */
  #section2 .cmp_label {display: block; padding: 0 0 10px; font-size: 16px;}
  #section2 .cmp_cell {display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px dashed var(--line); font-size: 15px;}
  #section2 .cmp_cell.is_point {margin: 4px -10px 0; padding: 10px; border: 0; border-radius: 12px; background: var(--main-soft); box-shadow: inset 0 0 0 1.5px var(--main-color);}
  #section2 .m_label {display: block; font-size: 13px; font-weight: 700; font-style: normal; color: var(--muted);}
  #section2 .cmp_cell.is_point .m_label {color: var(--main-text);}

  /* 도로 타임라인 — 왼쪽 세로 도로 위 표지판 */
  #section3 .road_list {grid-template-columns: minmax(0, 1fr); row-gap: 20px; padding-left: 56px;}
  #section3 .road_list::before {display: block; left: 14px; right: auto; top: 0; bottom: 0; width: 26px; height: auto; border-radius: 13px; background: #4E5968 repeating-linear-gradient(180deg, var(--main-color) 0 22px, transparent 22px 40px) 50% 0 / 3px 100% no-repeat;}
  #section3 .road_item {align-items: stretch;}
  #section3 .road_sign {position: absolute; left: -59px; top: -6px; width: 60px; height: 60px;}
  #section3 .road_sign::before {inset: 9px; border-radius: 9px; box-shadow: 0 0 0 4px #fff;}
  #section3 .road_sign b {font-size: 18px;}
  #section3 .road_when {margin-top: 10px; font-size: 14.5px; text-align: left;}
  #section3 .road_card {margin-top: 10px; padding: 22px 20px;}
  #section3 .road_card .ico3d {width: 52px; height: 52px; margin-bottom: 12px;}
  #section3 h3 {font-size: 18px;}
  #section3 .road_except {padding: 22px 20px;}

  #section_point .tab_list {margin: 0 -16px 14px; padding: 0 16px;}
  #section_point .tab_btn {height: 46px; padding: 0 18px 0 12px; font-size: 15px;}
  #section_point .tab_panel {padding: 24px 20px 28px; border-radius: var(--r-lg);}
  #section_point .panel_visual {min-height: 160px;}
  #section_point .panel_ill {width: 130px; height: 130px;}
  #section_point .panel_txt h3 {font-size: 22px;}
  #section_point .panel_desc {font-size: 15px;}
  #section_point .panel_checks li {font-size: 14.5px;}
  #section_point .panel_types li {grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 14px 16px;}
  #section_point .join_strip {padding: 24px 20px; border-radius: var(--r-lg);}
  #section_point .join_list {grid-template-columns: minmax(0, 1fr); row-gap: 14px;}
  #section_point .join_list > div,
  #section_point .join_list > div + div {padding: 0; border-left: 0;}
  #section_point .join_list > div + div {padding-top: 14px; border-top: 1px solid var(--line);}

  #section4 .checklist {grid-template-columns: minmax(0, 1fr); gap: 10px;}
  #section4 .checklist li {display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 22px 20px;}
  #section4 .warn_sign {grid-row: 1 / span 3; width: 48px; height: 48px; margin: -4px 0 0 -4px;}
  #section4 .warn_sign::before {inset: 7px;}
  #section4 .check_no, #section4 h3, #section4 .checklist p {grid-column: 2;}
  #section4 h3 {font-size: 17px;}
  #section4 .checklist p {font-size: 14.5px;}
  #section4 .cta_band {grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 30px 24px 24px; border-radius: var(--r-lg);}
  #section4 .cta_title {font-size: 23px;}
  #section4 .cta_btn {width: 100%;}

  #section_qna .qna_question {padding: 12px 12px 12px 20px;}
  #section_qna .qna_text {font-size: 16px;}
  #section_qna .qna_answer {padding: 0 20px 20px;}
  #section_qna .qna_cta {width: 100%; justify-content: center;}

  #section_guide .guide_list {grid-template-columns: minmax(0, 1fr);}
  #section_guide .guide_card {min-height: 220px; border-radius: var(--r-lg);}}

@media (max-width: 550px) {
  :root {--sec-pad: 64px;}
  #section1 > .inner, #section_company > .inner,
  #section2 > .inner,
  #section3 > .inner, #section_point > .inner,
  #section4 > .inner,
  #section_process > .inner,
  #section_qna > .inner, #section_guide > .inner {width: calc(100% - 28px);}
  #section1 .slide_track {margin: 0 -14px; padding: 0 14px; scroll-padding: 0 14px;}
  #section1 .slide {flex-basis: calc((100% - 10px) / 1.25);}
  #section_point .tab_list {margin: 0 -14px 14px; padding: 0 14px;}

  .form_wrap .form_fields {gap: 10px 8px;}
  .form_wrap .field > label, .form_wrap .field_label {margin-bottom: 5px; font-size: 13.5px;}
  .form_wrap input[type='text'], .form_wrap .phone_select, .form_wrap .region_select, .form_wrap .select_btn {padding: 0 12px;}
  .form_wrap .phone_select, .form_wrap .region_select {padding-right: 30px; background-position: right 10px center;}
  .form_wrap .phone_input_wrap {grid-template-columns: 86px minmax(0, 1fr);}
  .form_wrap .submit_btn {height: 56px; font-size: 17px;}
  .form_wrap .form_privacy {font-size: 12.5px;}
  .form_wrap .hero_stats strong {width: 42px; height: 42px; font-size: 16px;}
  .form_wrap .hero_stats span {font-size: 12px;}
  #section1 .hero_steps {padding: 12px 6px 10px; border-radius: 18px;}
  #section1 .hero_steps .txt {font-size: 12px;}

  .title_wrap {margin-bottom: 28px;}
  .title_wrap .section_label {font-size: 13.5px;}
  .title_wrap h2 {margin-top: 10px; font-size: 26px; letter-spacing: -0.8px;}
  .title_wrap p {margin-top: 12px; font-size: 15px;}
  .title_wrap h2 br {display: none;}

  #section_company .company_head h2 br {display: none;}
  #section_company .co_logo {font-size: 16px;}

  #section2 .cmp_cell {grid-template-columns: 72px minmax(0, 1fr); font-size: 14.5px;}

  #section_process .process_list {grid-template-columns: minmax(0, 1fr); row-gap: 28px;}
  #section_process .step_sign {width: 80px; height: 80px;}
  #section_process h3 {margin-top: 12px; font-size: 18px;}
  #section_process p {font-size: 14.5px;}
  #section_process .process_note {margin-top: 30px; font-size: 14.5px;}

  #section_qna .qna_list {gap: 10px;}
  #section_qna .qna_item {border-radius: 20px;}
  #section_qna .qna_question {gap: 10px; padding: 10px 10px 10px 16px;}
  #section_qna .qna_num {font-size: 16px;}
  #section_qna .qna_text {font-size: 15.5px;}
  #section_qna .qna_icon {width: 38px; height: 38px;}
  #section_qna .qna_answer {padding: 0 16px 18px;}
  #section_qna .qna_answer p {font-size: 15px;}

  #section_guide .guide_card {min-height: 200px; padding: 24px 22px 22px;}
  #section_guide .guide_card strong {font-size: 18px;}
  #section_guide .guide_card p {font-size: 14.5px;}
  #section_guide .ico3d {width: 60px; height: 60px;}

  .more_link {font-size: 15px;}}

/* 아주 좁을 때 — 폼 한 줄에 한 칸 */
@media (max-width: 360px) {
  .form_wrap .form_fields {grid-template-columns: minmax(0, 1fr);}
  .form_wrap .phone_input_wrap {grid-template-columns: 80px minmax(0, 1fr);}
  #section1 .hero_title {font-size: 23px;}
  #section1 .slide_title {font-size: 17px;}
  .form_wrap .hero_stats span {font-size: 11.5px;}
  #section1 .hero_steps .txt {font-size: 11.5px;}
  #section_company .company_list {grid-template-columns: minmax(0, 1fr);}}

@media (hover: none) {
  .round_btn:hover {background: var(--black-btn); color: #fff; transform: none;}
  .js_card:hover, .js_card.reveal.is_in:hover {transform: none;}
  .js_card:hover .round_btn {background: var(--black-btn); color: #fff; transform: none;}
  #section1 .slide:hover .slide_ill {transform: none;}
  .form_wrap .submit_btn:hover {background: var(--main-color);}
  .form_wrap .submit_btn:hover svg {transform: none;}
  .side_tab:hover {padding-right: 0; background: var(--main-color);}
  #section_point .tab_btn:hover {color: var(--body);}
  #section_point .tab_btn[aria-selected='true']:hover {color: #fff;}
  #section_qna .qna_question:hover .qna_icon {background: #fff;}
  #section_qna .qna_item.active .qna_question:hover .qna_icon {background: var(--main-color);}
  #section_qna .qna_cta:hover {background: var(--main-color);}
  #section_guide .guide_card:hover {transform: none;}
  #section_guide .guide_card:hover .round_btn {background: var(--black-btn); color: #fff; transform: none;}
  .more_link:hover::after, #section4 .check_link:hover::after, #section_qna .qna_more:hover::after {transform: none;}}

@media (prefers-reduced-motion: reduce) {
  #section1 .slide_track {scroll-behavior: auto;}
  #section1 .slide_ill {transition: none;}
  #section1 .ctrl_bar i.run {animation: none;}
  #section_point .tab_panel:not([hidden]) {animation: none;}
  .round_btn, .js_card, .form_wrap .submit_btn, .form_wrap .submit_btn svg, .form_wrap .gender_wrap label,
  .form_wrap input[type='text'], .form_wrap .phone_select, .form_wrap .region_select, .form_wrap .select_btn,
  .side_tab, .form_drawer, .drawer_dim, #section_point .tab_btn {transition: none;}
  .form_wrap .select_wrap.open .select_list {animation: none;}
  #section_qna .qna_item.active .qna_answer {animation: none;}
  #section_qna .qna_icon, #section_guide .guide_card {transition: none;}

  .reveal {opacity: 1; transform: none; transition: none;}}


/* ── 신청 유도 플로팅 버튼 (모바일 전용) ── */
.to_top {
  position: fixed; left: 50%; bottom: 24px; z-index: 40;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 60px; padding: 0 30px;
  border: 0; border-radius: 999px;
  background: var(--main-color); color: var(--main-ink);   /* 옐로 위라 차콜 글씨 */
  font-size: 17px; font-weight: 700; letter-spacing: -0.3px; white-space: nowrap;
  box-shadow: 0 12px 32px color-mix(in srgb, var(--main-dark) 40%, transparent);
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 24px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.3s ease, background 0.15s;
}
.to_top.show {opacity: 1; visibility: visible; transform: translate(-50%, 0);}
.to_top:hover {background: var(--main-dark);}
.to_top svg {width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;}

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

/* 신청 유도 플로팅 버튼 — 모바일(768px 이하)에서만 보인다. PC는 오른쪽 세로 사이드 탭(.side_tab)이 같은 역할을 한다 */
@media (min-width: 769px) {
  .to_top {display: none;}}

@media (max-width: 550px) {
  .to_top {left: 16px; right: 16px; bottom: 12px; height: 56px; transform: translateY(24px);}
  .to_top.show {transform: translateY(0);}}
@media (hover: none) {
  .to_top:hover {background: var(--main-color);}
  .to_top.on_dark:hover {background: #fff;}}
@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;}}


/* ══════ 약관 문서 페이지 (개인정보처리방침 · 이용약관) ══════ */
.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-text);}

.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-text); 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: 12px; 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;}}