:root {
  --main-color: #1A44BF;
  --main-dark: #11318F;          /* 메인 hover / 눌림 */
  --main-ink: #fff;              /* 메인컬러 바탕 위 글씨색 (sub.css 도 사용) */
  --main-text: var(--main-color);/* 흰 바탕 위 메인컬러 강조 글씨색 (sub.css 도 사용) */
  --point-color: var(--main-color);
  --main-soft: color-mix(in srgb, var(--main-color) 7%, #fff);

  --accent: #FF8A7E;             /* 형광펜 밑줄 · 어두운 띠 위 강조 */

  --ink: #0E1525;                /* 제목 · 굵은 선 */
  --body: #434D60;               /* 본문 */
  --muted: #8A93A6;              /* 보조 글씨 */
  --line: #E3E7EE;               /* 얇은 구분선 */
  --field: #CBD2DE;              /* 입력창 테두리 */
  --surface: #F4F6FA;            /* 옅은 바탕 */

  /* 히어로 — 옅은 파랑 바탕 위에 모눈 무늬 */
  --hero-bg: color-mix(in srgb, var(--main-color) 6%, #fff);
  --hero-grid: color-mix(in srgb, var(--main-color) 9%, transparent);

  --wrap: 1200px;
  --aside-w: 400px;
  --sec-pad: 120px;              /* 섹션 위아래 여백 */
}

.highlight {font-weight: 700; color: var(--point-color);}
/* 광고 심의 빨간 문구 — 순수 red 는 흰 바탕 대비가 부족해 조금 진하게. 기존 ※ 안내 안에 <span class="c_red"> 로 넣는다 */
.c_red, .red_text {color: #D7261E !important;}



body {counter-reset: sec;}

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

#section2, #section3, #section_company, #section4, #section5, #section_compare, #section_ratio, #section_quiz, #section_process, #section_qna {padding: var(--sec-pad) 0; background: #fff;}
#section3, #section_company, #section5, #section_compare, #section_quiz, #section_process, #section_qna {border-top: 1px solid var(--line);}


/* ══════ #section1 ══════ */
#section1 {background: #fff;}

#section1 .content_wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--aside-w);
  padding-top: 40px;
}


/* ── 히어로 ── */
#section1 .hero_main {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-width: 0; min-height: 600px;
  padding: 64px 64px 48px;
  border: 1px solid var(--line); border-right: 0;
  background:
    linear-gradient(var(--hero-grid) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--hero-bg);
  color: var(--ink);
}

/* 슬라이드는 같은 칸에 겹쳐 두고 active 만 보인다 — 가장 긴 슬라이드 높이가 기준.
   이전 슬라이드가 다 사라진 뒤에 다음 슬라이드가 나타나서 글자가 겹쳐 보이지 않는다. */
#section1 .hero_slides {display: grid; flex: 1;}
#section1 .hero_slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
#section1 .hero_slide.active {
  opacity: 1; visibility: visible;
  transition: opacity 0.45s ease 0.3s, visibility 0s linear 0.3s;
}

#section1 .hero_slide .hero_txt {width: 70%;}

#section1 .hero_label {display: inline-flex; padding: 6px 12px; background: var(--main-color); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: -0.2px;}

/* 제목 — 검정 / <b> 메인컬러 / <em> 노란 형광펜 밑줄 */
#section1 .hero_title {margin-top: 24px; font-size: 54px; font-weight: 800; line-height: 1.2; letter-spacing: -2px; color: var(--ink); word-break: keep-all;}
#section1 .hero_title b {font-weight: 800; color: var(--main-color);}
#section1 .hero_title em {font-style: normal; background: linear-gradient(transparent 62%, var(--accent) 62%, var(--accent) 92%, transparent 92%);}

#section1 .hero_note {margin-top: 22px; font-size: 17px; line-height: 1.65; color: var(--body); word-break: keep-all;}


#section1 .hero_benefit {display: flex; flex-wrap: wrap; flex-direction: column; gap: 24px 56px; margin-top: 44px; padding-top: 28px; border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);}
#section1 .hero_benefit dl {min-width: 0;}
#section1 .hero_benefit dt {margin-bottom: 12px; font-size: 14px; font-weight: 800; letter-spacing: 0.5px; color: var(--main-color);}
#section1 .hero_benefit dd {position: relative; margin: 0; padding-left: 16px; font-size: 19px; font-weight: 600; line-height: 1.5; color: var(--ink); word-break: keep-all;}
#section1 .hero_benefit dd::before {content: ''; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; background: var(--main-color);}
#section1 .hero_benefit dd + dd {margin-top: 6px;}
#section1 .hero_benefit dd small {margin-left: 2px; font-size: 0.75em; color: var(--body);}

#section1 .hero_visual {position: absolute; bottom: 50px; right: 0;}
#section1 .hero_visual img {display: block; width: 100%; max-width: 400px; height: auto;}

/* 슬라이드 표시 — 가로 막대 + 멈춤 */
#section1 .hero_ctrl {display: flex; align-items: center; gap: 6px; margin-top: 36px;}
#section1 .hero_dot {width: 24px; height: 3px; padding: 0; border: 0; background: color-mix(in srgb, var(--ink) 20%, transparent); cursor: pointer; transition: width 0.3s ease, background 0.3s ease;}
#section1 .hero_dot.active {width: 48px; background: var(--ink);}
#section1 .hero_pause {position: relative; width: 16px; height: 16px; margin-left: 10px; padding: 0; border: 0; background: none; cursor: pointer;}
#section1 .hero_pause::before,
#section1 .hero_pause::after {content: ''; position: absolute; top: 3px; width: 3px; height: 10px; background: var(--ink);}
#section1 .hero_pause::before {left: 4px;}
#section1 .hero_pause::after {right: 4px;}
#section1 .hero_pause.paused::before {width: 0; height: 0; background: none; border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent transparent transparent var(--ink);}
#section1 .hero_pause.paused::after {display: none;}
#section1 .hero_dot:focus-visible, #section1 .hero_pause:focus-visible {outline: 2px solid var(--main-color); outline-offset: 3px;}


/* 신청 폼 (오른쪽) */
#section1 .form_wrap {
  display: flex; flex-direction: column; justify-content: center;
  min-width: 0;
  padding: 44px 36px 36px;
  border: 1px solid var(--line); border-top: 4px solid var(--main-color);
  background: #fff;
}
#section1 .form_wrap form {width: 100%;}

.form_wrap h2 {font-size: 26px; font-weight: 800; line-height: 1.35; letter-spacing: -0.8px; 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 ul {display: flex; flex-direction: column; gap: 18px; margin-top: 28px;}
.form_wrap li > label,
.form_wrap .name_wrap > label,
.form_wrap .field_label,
.form_wrap .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: 56px; padding: 0 16px;
  border: 1px solid var(--field); border-radius: 0; background: #fff;
  font-size: 17px; color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form_wrap input[type='text']::placeholder {color: #A9B1C0;}
.form_wrap input[type='text']:focus,
.form_wrap .phone_select:focus {outline: none; border-color: var(--main-color); box-shadow: inset 0 0 0 1px var(--main-color);}

/* 이름 + 성별 한 줄 — 성별은 이름 입력창 높이에 맞춰 아래쪽에 붙인다 */
.form_wrap .basic_info_item {display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end;}
.form_wrap .name_wrap {min-width: 0;}
.form_wrap .gender_field {flex-shrink: 0;}

/* 성별 — 테두리 상자 안의 두 칸, 고른 쪽만 검정으로 채운다 */
.form_wrap .gender_wrap {display: flex; height: 56px; border: 1px solid var(--field); background: #fff;}
.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: 54px; margin: 0; font-size: 16px; font-weight: 600; color: var(--muted); cursor: pointer; user-select: none; transition: background 0.15s, color 0.15s;}
.form_wrap .gender_wrap label + input + label {border-left: 1px solid var(--field);}
.form_wrap .gender_wrap input[type='radio']:checked + label {background: var(--ink); color: #fff; font-weight: 700;}
.form_wrap .gender_wrap input[type='radio']:focus-visible + label {outline: 2px solid var(--main-color); outline-offset: -2px;}

/* 생년월일 | 지역 한 줄 */
.form_wrap .birth_region_item {display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px;}
.form_wrap .birth_region_item > div {min-width: 0;}
.form_wrap .birth_region_item label {display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--ink);}

/* 지역 — 입력칸과 같은 각진 테두리, 화살표는 오른쪽 */
.form_wrap .select_wrap {position: relative;}
.form_wrap .region_select,
.form_wrap .select_btn {
  display: block; width: 100%; height: 56px; padding: 0 40px 0 16px;
  border: 1px solid var(--field); border-radius: 0;
  background: #fff url("../img/arrow_down.svg") no-repeat right 12px center / 20px;
  font-size: 17px; color: var(--ink); text-align: left;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form_wrap .region_select:has(option[value='']:checked) {color: #A9B1C0;}
.form_wrap .region_select option {color: var(--ink);}
.form_wrap .region_select:focus,
.form_wrap .select_btn:focus-visible,
.form_wrap .select_wrap.open .select_btn {outline: none; border-color: var(--main-color); box-shadow: inset 0 0 0 1px var(--main-color);}

/* 지역 목록 — PC(마우스)에서만 index.php 스크립트가 .is_custom 을 붙이고 직접 만든 목록을 보여 준다.
   기본 select 의 펼침 목록은 높이를 정할 수 없어서다. 모바일은 기본 선택창 그대로. */
.form_wrap .select_wrap.is_custom .region_select {position: absolute; inset: 0; opacity: 0; pointer-events: none;}
.form_wrap .select_btn {white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.form_wrap .select_btn.is_placeholder {color: #A9B1C0;}
.form_wrap .select_list {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 30;
  display: none; flex-direction: column; gap: 0; margin: 0;
  max-height: 228px;              /* 목록 최대 높이 — 넘치면 안에서 스크롤 */
  overflow-y: auto; overscroll-behavior: contain;
  padding: 4px; border: 1px solid var(--field); background: #fff;
  box-shadow: 0 16px 36px rgba(14, 21, 37, 0.12);
}
.form_wrap .select_wrap.up .select_list {top: auto; bottom: calc(100% + 4px);}   /* 아래 공간이 모자라면 위로 연다 */
.form_wrap .select_wrap.open .select_list {display: block;}
.form_wrap .select_list li {padding: 10px 12px; font-size: 15px; font-weight: 600; color: var(--body); cursor: pointer;}
.form_wrap .select_list li.is_active {background: var(--surface); color: var(--ink);}
.form_wrap .select_list li[aria-selected='true'] {background: var(--main-soft); color: var(--main-color); font-weight: 800;}

/* 연락처 — 국번 + 번호 */
.form_wrap .phone_input_wrap {display: grid; grid-template-columns: 100px 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 {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 64px; margin-top: 28px;
  border: 0; border-radius: 0; background: var(--main-color); color: #fff;
  font-size: 18px; font-weight: 800; letter-spacing: -0.3px; cursor: pointer;
  transition: background 0.15s;
}
.form_wrap .submit_btn::after {content: '→'; font-weight: 400; transition: transform 0.15s;}
.form_wrap .submit_btn:hover {background: var(--main-dark);}
.form_wrap .submit_btn:hover::after {transform: translateX(4px);}
.form_wrap .btn_wrap {display: flex; gap: 8px; margin-top: 28px;}
.form_wrap .btn_wrap .submit_btn {flex: 1; margin-top: 0;}
.form_wrap .btn_wrap .prev_btn {flex: 0 0 30%; height: 64px; border: 1px solid var(--field); background: #fff; font-size: 17px; font-weight: 700; color: var(--body); cursor: pointer;}

/* 안심 문구 — 버튼 바로 아래 */
.form_wrap .form_privacy {margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--muted); text-align: center; word-break: keep-all;}

/* 신청부터 가입까지 — 폼 아래 작게 (폼보다 눈에 띄지 않게), 각진 번호 칸을 가는 선으로 잇는다 */
#section1 .hero_steps {margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);}
#section1 .hero_steps_label {font-size: 12px; font-weight: 800; letter-spacing: 0.5px; color: var(--muted);}
#section1 .hero_steps ol {display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px;}
#section1 .hero_steps li {position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; line-height: 1.35; color: var(--ink); text-align: center; word-break: keep-all;}
#section1 .hero_steps li:not(:first-child)::before {content: ''; position: absolute; top: 12px; right: calc(50% + 14px); width: calc(100% - 28px); border-top: 1px solid var(--field);}
#section1 .hero_steps .num {display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 1px solid var(--ink); background: #fff; font-size: 12px; font-weight: 800; color: var(--ink);}
#section1 .hero_steps li:last-child .num {border-color: var(--main-color); background: var(--main-color); color: #fff;}


#section1 .hero_stats {grid-column: 1 / -1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-bottom: 1px solid var(--line);}
#section1 .hero_stats li {padding: 28px 32px; border-left: 1px solid var(--line);}
#section1 .hero_stats li:first-child {border-left: 0; padding-left: 0;}
#section1 .hero_stats strong {display: block; font-size: 36px; font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; color: var(--ink);}
#section1 .hero_stats strong small {margin-left: 2px; font-size: 18px; font-weight: 700; letter-spacing: 0;}
#section1 .hero_stats span {display: block; margin-top: 8px; font-size: 15px; color: var(--body);}


.title_wrap {display: grid; grid-template-columns: 280px minmax(0, 1fr); column-gap: 48px; margin-bottom: 64px;}
.title_wrap .section_label {grid-row: 1 / span 2; display: block; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted);}
/* 섹션 번호 — 나오는 순서대로 01, 02 … 자동으로 매긴다 */
.title_wrap .section_label::before {counter-increment: sec; content: counter(sec, decimal-leading-zero); display: block; margin-bottom: 14px; font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -3px; color: var(--main-color);}
.title_wrap h2 {font-size: 42px; font-weight: 800; line-height: 1.28; letter-spacing: -1.5px; color: var(--ink); word-break: keep-all;}
.title_wrap h2 b {color: var(--main-color);}
.title_wrap p {grid-column: 2; margin-top: 18px; font-size: 17px; line-height: 1.7; color: var(--body); word-break: keep-all;}

/* 섹션 하단 ※ 안내 */
#section3 .notice,
#section5 .notice {margin-top: 24px; font-size: 14px; line-height: 1.6; color: var(--muted); word-break: keep-all;}


/* ── section2 ── */
#section2 .why_list {display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink);}
#section2 .why_list li {padding: 40px 36px 8px; border-left: 1px solid var(--line);}
#section2 .why_list li:first-child {padding-left: 0; border-left: 0;}
#section2 .icon {display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: 28px; background: var(--surface); font-size: 30px;}
#section2 h3 {margin-bottom: 12px; font-size: 22px; font-weight: 800; letter-spacing: -0.6px; color: var(--ink); word-break: keep-all;}
#section2 p {font-size: 16px; line-height: 1.7; color: var(--body); word-break: keep-all;}
#section2 p b {color: var(--ink); font-weight: 700;}
#section2 p small {display: block; margin-top: 6px; font-size: 13px; color: var(--muted);}   /* 통계 출처 */


/* ── section3 ── */
#section3 .coverage_list {display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); border-left: 1px solid var(--line);}
#section3 .coverage_list li {padding: 36px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background 0.2s;}
#section3 .coverage_list li:hover {background: var(--main-soft);}
#section3 .tag {display: inline-block; margin-bottom: 20px; padding: 4px 9px; border: 1px solid var(--main-color); background: var(--main-color); font-size: 12px; font-weight: 700; color: #fff;}
#section3 .tag.option {background: transparent; border-color: var(--ink); color: var(--ink);}
#section3 h3 {margin-bottom: 10px; font-size: 21px; font-weight: 800; letter-spacing: -0.5px; color: var(--ink); word-break: keep-all;}
#section3 p {font-size: 15px; line-height: 1.7; color: var(--body); word-break: keep-all;}

/* ── section_company ── */
#section_company .company_list {display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); border-left: 1px solid var(--line);}
#section_company .company_list li {display: flex; align-items: center; justify-content: center; height: 120px; padding: 0 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background 0.2s;}
#section_company .company_list li:hover {background: var(--main-soft);}
#section_company .company_list img {display: block; max-width: 150px; max-height: 44px; width: auto; height: auto; object-fit: contain;}

/* 보험사 텍스트 로고 — 심의 기준 ⑥: 이니셜(A·B…)만 칸마다 다른 장식 색(index.php 의 --co-init), '보험사' 글자는 모두 진한 색 */
#section_company .co_logo {display: flex; align-items: center; gap: 2px; color: var(--ink); font-size: 24px; font-weight: 800; letter-spacing: -1px; line-height: 1; white-space: nowrap;}
#section_company .co_logo b {color: var(--co-init, var(--main-color)); font-size: 1.3em; font-weight: 900; letter-spacing: 0;}

/* 안내 + 상담 버튼 */
#section_company .company_foot {display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px;}
#section_company .company_foot p {font-size: 14px; line-height: 1.6; color: var(--muted); word-break: keep-all;}
#section_company .company_foot button {display: flex; align-items: center; gap: 10px; flex-shrink: 0; height: 60px; padding: 0 32px; border: 0; background: var(--ink); color: #fff; font-size: 17px; font-weight: 800; cursor: pointer; transition: background 0.15s;}
#section_company .company_foot button::after {content: '→'; font-weight: 400; transition: transform 0.15s;}
#section_company .company_foot button:hover {background: var(--main-color);}
#section_company .company_foot button:hover::after {transform: translateX(4px);}


/* ── section4 ── */
#section4 {background: var(--ink);}
#section4 .title_wrap .section_label {color: rgba(255, 255, 255, 0.5);}
#section4 .title_wrap .section_label::before {color: var(--accent);}
#section4 .title_wrap h2 {color: #fff;}
#section4 .title_wrap h2 b {color: var(--accent);}
#section4 .title_wrap p {color: rgba(255, 255, 255, 0.65);}

/* 목록은 제목 오른쪽 칸에 맞춰 들여 시작한다 */
#section4 .checklist {margin-left: calc(280px + 48px); border-top: 2px solid #fff;}
#section4 .checklist li {display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 30px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14);}
#section4 .num {font-size: 28px; font-weight: 800; line-height: 1.1; letter-spacing: -1px; color: var(--accent);}
#section4 h3 {margin-bottom: 8px; font-size: 21px; font-weight: 700; letter-spacing: -0.5px; color: #fff; word-break: keep-all;}
#section4 .txt p {font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, 0.65); word-break: keep-all;}

/* 중간 CTA —*/
#section4 .cta_box {display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 72px; padding: 44px 48px; background: var(--accent);}
#section4 .cta_box p {font-size: 28px; font-weight: 800; line-height: 1.35; letter-spacing: -1px; color: var(--ink); word-break: keep-all;}
#section4 .cta_box button {display: flex; align-items: center; gap: 10px; flex-shrink: 0; height: 64px; padding: 0 40px; border: 0; background: var(--ink); color: #fff; font-size: 17px; font-weight: 800; cursor: pointer; transition: background 0.15s;}
#section4 .cta_box button::after {content: '→'; font-weight: 400; transition: transform 0.15s;}
#section4 .cta_box button:hover {background: var(--main-color);}
#section4 .cta_box button:hover::after {transform: translateX(4px);}


/* ── section5 ── */
#section5 .disease_list {display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;}
#section5 .disease_list > li {border: 1px solid var(--line); border-top: 2px solid var(--ink);}
#section5 .card_head {display: flex; align-items: center; gap: 16px; padding: 24px 28px; background: var(--surface);}
#section5 .card_head .icon {display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 52px; height: 52px; background: #fff; font-size: 28px;}
#section5 .card_head h3 {font-size: 20px; font-weight: 800; color: var(--ink);}
#section5 .card_head p {margin-top: 4px; font-size: 14.5px; line-height: 1.55; color: var(--body); word-break: keep-all;}
#section5 .disease_items {padding: 4px 28px 8px;}
#section5 .disease_items li {display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5;}
#section5 .disease_items li:last-child {border-bottom: 0;}
#section5 .disease_items b {flex-shrink: 0; font-weight: 700; color: var(--ink);}
#section5 .disease_items span {color: var(--body); text-align: right; word-break: keep-all;}


/* ── section_process ── */
#section_process .process_list {display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); border-left: 1px solid var(--line);}
#section_process .process_list li {position: relative; padding: 36px 32px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);}
/* 칸 사이 화살표 */
#section_process .process_list li:not(:last-child)::after {content: ''; position: absolute; top: 50%; right: -9px; z-index: 1; width: 16px; height: 16px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); background: #fff; transform: translateY(-50%) rotate(45deg);}
#section_process .step {display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 28px; background: var(--ink); font-size: 18px; font-weight: 800; color: #fff;}
#section_process h3 {margin-bottom: 10px; font-size: 21px; font-weight: 800; letter-spacing: -0.5px; color: var(--ink); word-break: keep-all;}
#section_process p {font-size: 15px; line-height: 1.7; color: var(--body); word-break: keep-all;}
/* 마지막 단계(가입 결정) */
#section_process .process_list li:last-child {background: var(--main-color);}
#section_process .process_list li:last-child .step {background: #fff; color: var(--main-color);}
#section_process .process_list li:last-child h3 {color: #fff;}
#section_process .process_list li:last-child p {color: rgba(255, 255, 255, 0.8);}


/* ── 자주 묻는 질문 ── */
#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: 20px; width: 100%; padding: 28px 0; border: 0; background: none; text-align: left; cursor: pointer;}
#section_qna .qna_num {display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; background: var(--ink); font-size: 14px; font-weight: 800; color: #fff;}
#section_qna .qna_text {flex: 1; font-size: 19px; font-weight: 700; line-height: 1.45; letter-spacing: -0.4px; color: var(--ink); word-break: keep-all; transition: color 0.15s;}

#section_qna .qna_arrow {display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; border: 1px solid var(--field); font-size: 24px; font-weight: 300; line-height: 1; color: var(--ink); transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.25s;}
#section_qna .qna_question:hover .qna_text {color: var(--main-color);}

#section_qna .qna_answer {display: none; padding: 0 60px 32px 64px;}
#section_qna .qna_answer p {padding-left: 20px; border-left: 3px solid var(--main-color); font-size: 16px; line-height: 1.8; color: var(--body); word-break: keep-all;}

#section_qna .qna_item.active .qna_num {background: var(--main-color);}
#section_qna .qna_item.active .qna_text {color: var(--main-color);}
#section_qna .qna_item.active .qna_arrow {background: var(--main-color); border-color: var(--main-color); color: #fff; transform: rotate(45deg);}
#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: 8px; margin-top: 20px; padding-bottom: 4px; border-bottom: 2px solid var(--main-color); font-size: 16px; font-weight: 800; color: var(--main-color); word-break: keep-all;}
.more_link::after {content: '→'; font-weight: 400; transition: transform 0.15s;}
.more_link:hover::after {transform: translateX(4px);}

/* 체크리스트(어두운 띠) — 코랄 글씨 */
#section4 .check_link {display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--accent); word-break: keep-all;}
#section4 .check_link::after {content: '→'; font-weight: 400; transition: transform 0.15s;}
#section4 .check_link:hover {text-decoration: underline; text-underline-offset: 3px;}
#section4 .check_link:hover::after {transform: translateX(4px);}

/* 자주 묻는 질문 — 답변 왼쪽 선에 맞춰 들여 쓴다 */
#section_qna .qna_more {display: inline-flex; align-items: center; gap: 6px; margin: 14px 0 0 23px; font-size: 15px; font-weight: 700; color: var(--main-color);}
#section_qna .qna_more::after {content: '→'; font-weight: 400; transition: transform 0.15s;}
#section_qna .qna_more:hover {text-decoration: underline; text-underline-offset: 3px;}
#section_qna .qna_more:hover::after {transform: translateX(4px);}


/* ── 스크롤 등장 효과 — 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;}


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

@media (max-width: 1300px) {
  .inner {width: 93%;}
  #section1 .content_wrap {--aside-w: 370px;}
  #section1 .hero_main {padding: 56px 48px 44px;}
  #section1 .hero_title {font-size: 48px;}
  .title_wrap {grid-template-columns: 220px minmax(0, 1fr); column-gap: 40px;}
  #section4 .checklist {margin-left: calc(220px + 40px);}}

@media (max-width: 1200px) {
  :root {--sec-pad: 100px;}
  #section1 .hero_slide {grid-template-columns: minmax(0, 1fr) minmax(0, 38%);}
  #section1 .hero_title {font-size: 42px;}
  #section3 .coverage_list {grid-template-columns: repeat(2, 1fr);}
  #section_process .process_list {grid-template-columns: repeat(2, 1fr);}
  #section_process .process_list li:nth-child(2)::after {display: none;}   /* 줄 끝 칸은 화살표를 뺀다 */
}

/* 한 줄로 세운다 — 히어로 → 폼 → 지표 → 본문 */
@media (max-width: 1150px) {
  :root {--sec-pad: 88px;}
  #section1 > .inner,
  #section2 > .inner,
  #section3 > .inner,
  #section_company > .inner,
  #section4 > .inner,
  #section5 > .inner,
  #section_compare > .inner,
  #section_ratio > .inner,
  #section_quiz > .inner,
  #section_process > .inner,
  #section_qna > .inner {width: min(720px, calc(100% - 32px));}

  #section1 .content_wrap {grid-template-columns: minmax(0, 1fr); padding-top: 20px;}
  #section1 .hero_main {min-height: 0; border-right: 1px solid var(--line); border-bottom: 0;}
  /* 하단 버튼으로 폼에 올 때 모바일 고정 헤더에 가리지 않게 */
  #section1 .form_wrap {scroll-margin-top: 84px;}

  /* 섹션 머리 */
  .title_wrap {grid-template-columns: minmax(0, 1fr); margin-bottom: 44px;}
  .title_wrap .section_label {grid-row: auto; margin-bottom: 18px;}
  .title_wrap .section_label::before {font-size: 48px; margin-bottom: 10px;}
  .title_wrap p {grid-column: 1;}
  #section4 .checklist {margin-left: 0;}

  #section2 .why_list {grid-template-columns: minmax(0, 1fr);}
  #section2 .why_list li {display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 20px; padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line);}
  #section2 .icon {grid-row: span 2; margin: 0;}
  #section5 .disease_list {grid-template-columns: minmax(0, 1fr);}}

@media (max-width: 768px) {
  :root {--sec-pad: 72px;}
  #section1 .hero_main {padding: 44px 28px 32px;}
  #section1 .hero_slide {grid-template-columns: minmax(0, 1fr);}
  #section1 .hero_visual {order: -1; justify-content: flex-end; margin-bottom: -16px;}
  #section1 .hero_visual img {max-width: 200px;}
  #section1 .hero_title {margin-top: 16px; font-size: 34px; letter-spacing: -1.2px;}
  #section1 .hero_note {font-size: 15px;}
  #section1 .hero_benefit {gap: 20px 32px; margin-top: 32px; padding-top: 22px;}
  #section1 .hero_benefit dd {font-size: 17px;}
  #section1 .hero_ctrl {margin-top: 28px;}
  #section1 .hero_stats li {padding: 22px 18px;}
  #section1 .hero_stats strong {font-size: 28px;}
  #section1 .hero_stats span {font-size: 14px;}

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

  #section4 .checklist li {grid-template-columns: 52px minmax(0, 1fr); padding: 24px 0;}
  #section4 .num {font-size: 22px;}
  #section4 h3 {font-size: 18px;}
  #section4 .cta_box {flex-direction: column; align-items: stretch; margin-top: 56px; padding: 32px 28px;}
  #section4 .cta_box p {font-size: 23px;}
  #section4 .cta_box button {justify-content: center;}

  #section_qna .qna_answer {padding: 0 0 28px 64px;}

  #section_company .company_list li {height: 96px; padding: 0 16px;}
  #section_company .company_list img {max-width: 120px; max-height: 36px;}
  #section_company .company_foot {flex-direction: column; align-items: stretch; gap: 16px;}
  #section_company .company_foot button {justify-content: center;}}

@media (max-width: 550px) {
  :root {--sec-pad: 56px;}
  #section1 > .inner,
  #section2 > .inner,
  #section3 > .inner,
  #section_company > .inner,
  #section4 > .inner,
  #section5 > .inner,
  #section_compare > .inner,
  #section_ratio > .inner,
  #section_quiz > .inner,
  #section_process > .inner,
  #section_qna > .inner {width: calc(100% - 32px);}
  #section1 .content_wrap {padding-top: 12px;}

  #section1 .hero_main {padding: 32px 22px 24px;}
  #section1 .hero_slide .hero_txt {width: 100%;}
  #section1 .hero_label {font-size: 13px;}
  #section1 .hero_title {font-size: 29px; letter-spacing: -1px;}
  #section1 .hero_visual img {display: none;}
  #section1 .hero_note {font-size: 14px;}
  #section1 .hero_note br {display: none;}
  #section1 .hero_benefit {gap: 16px 24px; margin-top: 26px;}
  #section1 .hero_benefit dt {font-size: 13px;}
  #section1 .hero_benefit dd {font-size: 15px;}

  #section1 .form_wrap {padding: 30px 20px 22px;}
  .form_wrap h2 {font-size: 22px;}
  .form_wrap input[type='text'], .form_wrap .phone_select, .form_wrap .region_select, .form_wrap .select_btn {height: 52px; font-size: 16px;}
  #section1 .hero_steps li {font-size: 11.5px;}
  #section_company .co_logo {font-size: 17px;}
  .form_wrap .gender_wrap, .form_wrap .choice_btn {height: 52px;}
  .form_wrap .gender_wrap label {width: 48px;}
  .form_wrap .phone_input_wrap {grid-template-columns: 90px minmax(0, 1fr);}
  .form_wrap .submit_btn, .form_wrap .btn_wrap .prev_btn {height: 58px; font-size: 17px;}

  /* 지표 */
  #section1 .hero_stats {grid-auto-flow: row;}
  #section1 .hero_stats li {display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: baseline; padding: 16px 0; border-left: 0; border-top: 1px solid var(--line);}
  #section1 .hero_stats li:first-child {border-top: 0;}
  #section1 .hero_stats strong {font-size: 24px;}
  #section1 .hero_stats span {margin-top: 0;}

  .title_wrap {margin-bottom: 32px;}
  .title_wrap .section_label {font-size: 12px; letter-spacing: 1.5px;}
  .title_wrap .section_label::before {font-size: 40px;}
  .title_wrap h2 {font-size: 26px; letter-spacing: -0.8px;}
  .title_wrap p {margin-top: 14px; font-size: 15px;}
  .title_wrap p br {display: none;}

  #section2 .why_list li {grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding: 22px 0;}
  #section2 .icon {width: 48px; height: 48px; font-size: 24px;}
  #section2 h3 {font-size: 18px;}
  #section2 p {font-size: 15px;}

  #section3 .coverage_list {grid-template-columns: minmax(0, 1fr);}
  #section3 .coverage_list li {padding: 24px 20px;}
  #section3 .tag {margin-bottom: 14px;}
  #section3 h3 {font-size: 18px;}

  #section_company .company_list {grid-template-columns: repeat(2, 1fr);}
  #section_company .company_list li {height: 80px;}
  #section_company .company_list img {max-width: 110px; max-height: 32px;}
  #section_company .company_foot p {font-size: 13px;}
  #section_company .company_foot button {height: 56px; font-size: 16px;}

  #section4 .cta_box {padding: 28px 20px;}
  #section4 .cta_box p {font-size: 20px;}

  #section5 .card_head {padding: 20px;}
  #section5 .disease_items {padding: 4px 20px 8px;}
  #section5 .disease_items li {flex-direction: column; gap: 2px;}
  #section5 .disease_items span {text-align: left; font-size: 14px;}
  #section5 .card_head h3 {font-size: 18px;}

  #section_process .process_list {grid-template-columns: minmax(0, 1fr);}
  #section_process .process_list li {display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; padding: 22px 20px;}
  #section_process .process_list li::after {display: none;}
  #section_process .step {width: 40px; height: 40px; margin-bottom: 0; font-size: 16px;}
  #section_process h3 {margin-bottom: 6px; font-size: 18px;}
  #section_process p {font-size: 14.5px;}

  #section_qna .qna_question {gap: 14px; padding: 20px 0;}
  #section_qna .qna_num {width: 36px; height: 36px; font-size: 12px;}
  #section_qna .qna_text {font-size: 16px;}
  #section_qna .qna_arrow {width: 32px; height: 32px; font-size: 20px;}
  #section_qna .qna_answer {padding: 0 0 22px;}
  #section_qna .qna_answer p {padding-left: 14px; font-size: 15px;}
  #section_qna .qna_more {margin-left: 17px; font-size: 14px;}
  .more_link {font-size: 15px;}}

@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 {background: var(--main-color);}
  .form_wrap .submit_btn:hover::after, #section4 .cta_box button:hover::after {transform: none;}
  #section3 .coverage_list li:hover {background: 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);}
  #section4 .cta_box button:hover {background: var(--ink);}
  #section_company .company_list li:hover {background: none;}
  #section_company .company_foot button:hover {background: var(--ink);}
  #section_company .company_foot button:hover::after {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 .hero_slide, #section1 .hero_dot {transition: none;}
  #section_qna .qna_item.active .qna_answer {animation: none;}
  .form_wrap .submit_btn, .form_wrap .submit_btn::after, #section4 .cta_box button, #section_qna .qna_arrow, .form_wrap .region_select, .form_wrap .select_btn {transition: none;}
  #section_company .company_foot button, #section_company .company_foot button::after {transition: none;}
  .reveal {opacity: 1; transform: none; transition: none;}}





/* ─ 하단 고정 폼 (PC 전용) —*/
.bottom_form {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  border-top: 2px solid var(--ink);
  background: #fff;
  box-shadow: 0 -12px 30px rgba(14, 21, 37, 0.08);
  opacity: 0; visibility: hidden;
  transform: translateY(100%);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.3s ease;
}
.bottom_form.show {opacity: 1; visibility: visible; transform: translateY(0);}

.bottom_form_inner {display: flex; align-items: center; gap: 28px; width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; padding: 14px 0;}

.bottom_form_title {flex-shrink: 0; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--body); word-break: keep-all;}
.bottom_form_title b {display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.6px; color: var(--ink);}

.bottom_form_fields {display: flex; align-items: center; flex: 1; gap: 8px; min-width: 0;}

/* 입력칸 */
.bf_field {
  display: flex; flex-direction: column; justify-content: center;
  height: 60px; padding: 0 16px; min-width: 0;
  border: 1px solid var(--field); background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.bf_field:focus-within {border-color: var(--main-color); box-shadow: inset 0 0 0 1px var(--main-color);}
.bf_field label {font-size: 12px; font-weight: 700; line-height: 1.3; color: var(--muted);}
.bf_field input,
.bf_field select {height: 26px; padding: 0; border: 0; border-radius: 0; background: none; font-size: 16px; color: var(--ink); outline: none;}
.bf_field input {width: 100%;}
.bf_field input::placeholder {color: #A9B1C0;}

.bf_name {flex: 1.1;}
.bf_birth {flex: 1;}
.bf_phone {flex: 1.6;}
/* 지역 — 하단 폼 */
.bf_region {flex: 0.9;}
.bf_region select {width: 100%; padding-right: 18px; background: url("../img/arrow_down.svg") no-repeat right center / 16px; cursor: pointer; appearance: none; -webkit-appearance: none;}
.bf_region select:has(option[value='']:checked) {color: #A9B1C0;}
.bf_region select option {color: var(--ink);}
.bf_phone_row {display: flex; align-items: center; gap: 10px;}
.bf_phone_row select {flex-shrink: 0; padding-right: 18px; background: url("../img/arrow_down.svg") no-repeat right center / 16px; cursor: pointer; appearance: none; -webkit-appearance: none;}

/* 성별  */
.bf_gender {display: flex; flex-shrink: 0; height: 60px; border: 1px solid var(--field); background: #fff;}
.bf_gender input[type='radio'] {position: absolute; opacity: 0; pointer-events: none;}
.bf_gender label {display: flex; align-items: center; justify-content: center; width: 50px; font-size: 16px; font-weight: 600; color: var(--muted); cursor: pointer; user-select: none; transition: background 0.15s, color 0.15s;}
.bf_gender label + input + label {border-left: 1px solid var(--field);}
.bf_gender input[type='radio']:checked + label {background: var(--ink); color: #fff; font-weight: 700;}
.bf_gender input[type='radio']:focus-visible + label {outline: 2px solid var(--main-color); outline-offset: -2px;}

.bottom_form_submit {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; height: 60px; padding: 0 32px;
  border: 0; border-radius: 0; background: var(--main-color); color: #fff;
  font-size: 17px; font-weight: 800; cursor: pointer;
  transition: background 0.15s;
}
.bottom_form_submit::after {content: '→'; font-weight: 400; transition: transform 0.15s;}
.bottom_form_submit:hover {background: var(--main-dark);}
.bottom_form_submit:hover::after {transform: translateX(4px);}


@media (max-width: 1300px) {
  .bottom_form_title {display: none;}}
/* 모바일·태블릿은 하단 폼 대신 아래 신청 유도 버튼을 쓴다 */
@media (max-width: 1150px) {
  .bottom_form {display: none;}}
@media (prefers-reduced-motion: reduce) {
  .bottom_form, .bf_field, .bf_gender label, .bottom_form_submit, .bottom_form_submit::after {transition: none;}}

/* ── 신청 유도 버튼 (모바일 전용) ── */
.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 rgba(14, 21, 37, 0.12);
  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: square; stroke-linejoin: miter;}

/* 어두운 푸터 위에 올라오면 색을 뒤집는다 */
.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);}

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

/* PC — 하단 고정 폼이 신청 유도 버튼을 대신한다.*/
@media (min-width: 1151px) {
  .to_top {display: 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-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: 0; 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;}}


/* ══════ #section_compare — 상조회사 비교표 ══════
 * 서브페이지 .sub_table 과 같은 모양 (윗선 2px · 머리줄 옅은 바탕). 추천 줄은 메인 옅은 색. */
#section_compare .compare_wrap {overflow-x: auto; -webkit-overflow-scrolling: touch;}
#section_compare .compare_table {min-width: 860px; border-top: 2px solid var(--ink); font-size: 15px; line-height: 1.6;}
#section_compare .compare_table th,
#section_compare .compare_table td {padding: 18px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; white-space: nowrap; color: var(--body); background: #fff;}
#section_compare .compare_table thead th {background: var(--surface); font-size: 14px; font-weight: 800; color: var(--ink);}
#section_compare .compare_table th:first-child {position: sticky; left: 0; z-index: 1; text-align: left;}   /* 옆으로 밀어도 회사명은 남는다 */
#section_compare .compare_table tbody th {font-size: 16px; font-weight: 800; color: var(--ink);}
#section_compare .compare_table td small {display: block; font-size: 13px; color: var(--muted);}
#section_compare .compare_table .ratio {font-size: 16px; font-weight: 800; color: var(--ink);}
#section_compare .compare_table tr.pick > * {background: var(--main-soft);}
#section_compare .compare_table tr.pick .ratio {color: var(--main-color);}
#section_compare .pick_tag {display: inline-block; margin-left: 8px; padding: 2px 7px; background: var(--main-color); font-size: 12px; font-weight: 700; line-height: 1.4; color: #fff; vertical-align: 2px;}
#section_compare .notice {margin-top: 24px; font-size: 14px; line-height: 1.6; color: var(--muted); word-break: keep-all;}

/* ══════ #section_quiz — 1분 진단 ══════
 * 체크리스트처럼 제목 오른쪽 칸에 맞춰 놓는다. 보기는 자주 묻는 질문 줄과 같은 선·글자 굵기. */
#section_quiz .quiz_box {margin-left: calc(280px + 48px); padding: 44px 48px 48px; border: 1px solid var(--line); border-top: 2px solid var(--ink);}
#section_quiz .quiz_step {display: none;}
#section_quiz .quiz_step.active {display: block; animation: qna_open 0.3s ease;}
#section_quiz .quiz_count {font-size: 14px; font-weight: 800; color: var(--main-color);}
#section_quiz .quiz_step h3 {margin: 8px 0 24px; font-size: 24px; font-weight: 800; line-height: 1.4; letter-spacing: -0.6px; color: var(--ink); word-break: keep-all;}
#section_quiz .quiz_opts {display: grid; gap: 10px;}
#section_quiz .quiz_opt {width: 100%; padding: 18px 22px; border: 1px solid var(--field); background: #fff; text-align: left; font-size: 17px; font-weight: 600; line-height: 1.5; color: var(--ink); cursor: pointer; transition: border-color 0.15s, background 0.15s, color 0.15s;}
#section_quiz .quiz_opt:hover {border-color: var(--main-color); background: var(--main-soft); color: var(--main-color);}
#section_quiz .quiz_opt:focus-visible,
#section_quiz .quiz_apply:focus-visible,
#section_quiz .quiz_reset:focus-visible {outline: 2px solid var(--main-color); outline-offset: 2px;}
#section_quiz .quiz_result {padding-left: 20px; border-left: 3px solid var(--main-color);}
#section_quiz .quiz_result_label {font-size: 14px; color: var(--muted);}
#section_quiz .quiz_result_name {margin: 4px 0 8px; font-size: 30px; font-weight: 800; line-height: 1.3; letter-spacing: -1px; color: var(--ink);}
#section_quiz .quiz_result_desc {font-size: 16px; line-height: 1.7; color: var(--body); word-break: keep-all;}
#section_quiz .quiz_actions {display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px;}
#section_quiz .quiz_apply {display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 36px; border: 0; background: var(--main-color); font-size: 17px; font-weight: 800; color: #fff; cursor: pointer; transition: background 0.15s;}
#section_quiz .quiz_apply::after {content: '→'; font-weight: 400; transition: transform 0.15s;}
#section_quiz .quiz_apply:hover {background: var(--main-dark);}
#section_quiz .quiz_apply:hover::after {transform: translateX(4px);}
#section_quiz .quiz_reset {border: 0; background: none; font-size: 15px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;}

@media (max-width: 1150px) {
  #section_quiz .quiz_box {margin-left: 0;}}

@media (max-width: 768px) {
  #section_quiz .quiz_box {padding: 32px 24px 36px;}
  #section_quiz .quiz_step h3 {font-size: 20px;}
  #section_quiz .quiz_opt {padding: 16px 18px; font-size: 16px;}
  #section_quiz .quiz_result_name {font-size: 25px;}
  #section_quiz .quiz_apply {width: 100%; justify-content: center;}}

@media (max-width: 550px) {
  #section_compare .compare_table th,
  #section_compare .compare_table td {padding: 14px 12px; font-size: 14px;}
  #section_quiz .quiz_box {padding: 28px 18px 30px;}}


/* ════════════════════════════════════════════════════════════════
 * 상조 메인 페이지 — 미니멀 · 파스텔 <body class="sangjo"> 에만 적용 (서브페이지는 그대로)
 *
 *   색   : 파스텔 민트(주) + 파스텔 살구(보조). 버튼은 민트 바탕에 짙은 녹색 글씨 (대비 4.5:1 이상)
 *   모양 : 선은 거의 보이지 않게, 면은 옅게. 그림자·굵은 선 없음
 *   글꼴 : 프리텐다드, 제목 500~600 · 본문 16~18px · 줄간격 1.75
 * 되돌리려면 이 블록과 index.php 의 body class 만 지우면 된다.
 * ════════════════════════════════════════════════════════════════ */
body.sangjo {
  --mint: #F2F5F3;            /* 폼 면 */
  --mint-btn: #3F7A63;        /* 버튼 바탕 */
  --mint-btn-hover: #33664F;
  --mint-ink: #2E5C4A;        /* 민트 위 글씨 · 강조 글씨 */
  --mint-bar: #5E9C80;        /* 추천 막대 */
  --peach: #F2F5F3;           /* 진단·상담 유도 면 */
  --pick: #EEF5F1;            /* 추천 줄 */
  --track: #E8EBE9;           /* 막대 바탕 */
  --bar: #C6CEC9;             /* 다른 회사 막대 */
  --hair: #E3E7E4;            /* 가는 선 */

  --main-color: #3F7A63;      /* 공용 모달·하단 고정 폼 버튼 (흰 글씨 대비 확보) */
  --main-dark: #33664F;
  --main-text: var(--mint-ink);
  --point-color: var(--mint-ink);
  --main-soft: var(--pick);
  --accent: var(--mint-btn);
  --ink: #2A2E2C;
  --body: #5A605D;
  --muted: #6B716E;
  --line: var(--hair);
  --field: #DDE3DF;
  --surface: var(--mint);
  --sec-pad: 120px;
  font-family: 'Pretendard', 'Pretendard Variable', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: var(--ink);
}
.sangjo section,
.sangjo section * {letter-spacing: -0.01em;}

/* 버튼 공통 — 파스텔 민트 바탕 + 짙은 녹색 글씨 */
.sangjo .hero_btn,
.sangjo .form_wrap .submit_btn,
.sangjo #section4 .cta_box button,
.sangjo #section_quiz .quiz_apply,
.sangjo #section5 .more_link {border: 0; border-radius: 10px; background: var(--mint-btn); color: #fff; font-weight: 600; transition: background 0.2s;}
.sangjo .hero_btn:hover,
.sangjo .form_wrap .submit_btn:hover,
.sangjo #section4 .cta_box button:hover,
.sangjo #section_quiz .quiz_apply:hover,
.sangjo #section5 .more_link:hover {background: var(--mint-btn-hover); color: #fff;}
.sangjo .form_wrap .submit_btn::after,
.sangjo #section4 .cta_box button::after,
.sangjo #section_quiz .quiz_apply::after,
.sangjo #section5 .more_link::after {content: none;}

/* ── 첫 화면 ── */
.sangjo #section1 .content_wrap {grid-template-columns: minmax(0, 1fr) 380px; gap: 40px 48px; align-items: start; padding: 48px 0 40px;}
.sangjo #section1 .hero_main {min-height: 0; padding: 0; border: 0; background: none;}
.sangjo #section1 .hero_date {font-size: 14px; color: var(--muted);}
/* 제목 묶음 — 연한 초록 판, 오른쪽 아래에 상담사 캐릭터가 판 바닥에 서 있다 */
.sangjo #section1 .hero_intro {position: relative; min-height: 340px; padding: 48px 210px 48px 48px; border-radius: 24px; background: var(--mint);}
.sangjo #section1 .hero_guide {position: absolute; right: 20px; bottom: 0; width: 196px; height: auto; pointer-events: none;}
.sangjo #section1 .hero_title {margin-top: 16px; font-size: clamp(28px, 3vw, 38px); font-weight: 600; line-height: 1.38; letter-spacing: -0.03em; color: var(--ink);}
.sangjo #section1 .hero_note {margin-top: 20px; max-width: 32em; font-size: 17px; line-height: 1.8; color: var(--body);}

.sangjo .hero_chart {margin: 48px 0 0;}
.sangjo .hero_chart figcaption {display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; font-size: 14px; line-height: 1.6;}
.sangjo .hero_chart figcaption strong {font-weight: 600;}
.sangjo .hero_chart figcaption span {color: var(--muted);}
.sangjo .hero_chart ul {margin-top: 18px; display: flex; flex-direction: column; gap: 14px;}
.sangjo .hero_chart li {display: grid; grid-template-columns: 120px minmax(0, 1fr) 52px; align-items: center; gap: 16px;}
.sangjo .hero_chart .hc_name {font-size: 15px; color: var(--body);}
.sangjo .hero_chart .is_pick .hc_name {font-weight: 600; color: var(--ink);}
.sangjo .hero_chart .hc_bar {position: relative; display: block; height: 6px; border-radius: 3px; background: var(--track);}
.sangjo .hero_chart .hc_bar i {position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--bar);}
.sangjo .hero_chart .is_pick .hc_bar i {background: var(--mint-bar);}
.sangjo .hero_chart .hc_bar::after {content: ''; position: absolute; left: 83.333%; top: -6px; bottom: -6px; border-left: 1px dashed #A9AFAB;}   /* 100% 기준선 */
.sangjo .hero_chart .hc_val {font-size: 15px; font-weight: 500; text-align: right; color: var(--body); font-variant-numeric: tabular-nums;}
.sangjo .hero_chart .is_pick .hc_val {font-weight: 600; color: var(--mint-ink);}
.sangjo .hero_chart_note {margin-top: 16px; font-size: 13px; color: var(--muted);}

.sangjo .hero_links {display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 40px;}
.sangjo .hero_btn,
.sangjo .hero_btn:hover {background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px #CBD5CF;}
.sangjo .hero_btn:hover {box-shadow: inset 0 0 0 1px var(--mint-bar); color: var(--mint-ink);}
.sangjo .hero_btn {display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; font-size: 16px;}
.sangjo .hero_link {font-size: 16px; font-weight: 500; color: var(--body); text-decoration: underline; text-decoration-color: #CBD1CD; text-underline-offset: 5px;}
.sangjo .hero_btn:focus-visible,
.sangjo .hero_link:focus-visible {outline: 2px solid var(--mint-ink); outline-offset: 3px;}

/* 신청 폼 — 파스텔 민트 면, 입력칸은 흰색 */
.sangjo #section1 .form_wrap {justify-content: flex-start; padding: 36px 32px 30px; border: 1px solid #DDE3DF; border-radius: 24px; background: #fff;}
.sangjo .form_wrap h2 {font-size: 21px; font-weight: 600; letter-spacing: -0.02em;}
.sangjo .form_wrap h2 b {font-weight: 600; color: inherit;}
.sangjo .form_wrap ul {gap: 16px; margin-top: 24px;}
.sangjo .form_wrap li > label,
.sangjo .form_wrap .name_wrap > label,
.sangjo .form_wrap .field_label {font-weight: 500; color: var(--body);}
.sangjo .form_wrap input[type='text'],
.sangjo .form_wrap .phone_select {height: 52px; border-color: var(--field); border-radius: 10px; background-color: #fff;}
.sangjo .form_wrap input[type='text']:focus,
.sangjo .form_wrap .phone_select:focus {border-color: var(--mint-bar); box-shadow: inset 0 0 0 1px var(--mint-bar);}
.sangjo .form_wrap .gender_wrap {height: 52px; border-color: var(--field); border-radius: 10px; overflow: hidden;}
.sangjo .form_wrap .gender_wrap label + input + label {border-left-color: var(--field);}
.sangjo .form_wrap .gender_wrap input[type='radio']:checked + label {background: var(--mint-btn); color: #fff; font-weight: 700;}
.sangjo .form_wrap .submit_btn {height: 56px; margin-top: 24px; font-size: 17px;}
.sangjo .form_wrap .form_privacy {text-align: left; color: var(--muted);}

/* ── 섹션 공통 — 선 없이 여백만 ── */
.sangjo #section4, .sangjo #section_compare,
.sangjo #section3, .sangjo #section5, .sangjo #section_qna {border-top: 0; background: #fff;}
.sangjo .title_wrap {display: block; max-width: 600px; margin-bottom: 44px;}
.sangjo .title_wrap .section_label {display: none;}
.sangjo .title_wrap h2 {font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; line-height: 1.45; letter-spacing: -0.025em; color: var(--ink);}
.sangjo .title_wrap h2 b {font-weight: 600; color: inherit;}
.sangjo .title_wrap p {margin-top: 12px; font-size: 16px; line-height: 1.8; color: var(--body);}

/* ── 확인할 5가지 — 왼쪽 제목은 따라 내려오고, 오른쪽은 확인 항목 줄 ── */
.sangjo #section4 > .inner {display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 40px 96px; align-items: start;}
.sangjo #section4 .title_wrap {position: sticky; top: 120px; margin: 0;}
.sangjo #section4 .title_wrap h2 {color: var(--ink);}
.sangjo #section4 .title_wrap h2 b {color: inherit;}
.sangjo #section4 .title_wrap p {color: var(--body);}
.sangjo #section4 .checklist {display: block; margin: 0; border-top: 1px solid var(--hair);}
.sangjo #section4 .checklist li {display: grid; grid-template-columns: 24px minmax(140px, 190px) minmax(0, 1fr); gap: 6px 20px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--hair);}
.sangjo #section4 .txt {display: contents;}
.sangjo #section4 .chk {position: relative; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: #E3EFE8;}
.sangjo #section4 .chk::after {content: ''; position: absolute; left: 8px; top: 5px; width: 6px; height: 11px; border: solid var(--mint-ink); border-width: 0 2px 2px 0; transform: rotate(45deg);}
.sangjo #section4 h3 {margin: 0; font-size: 17px; font-weight: 600; line-height: 1.5; color: var(--ink);}
.sangjo #section4 .txt p {font-size: 16px; line-height: 1.75; color: var(--body);}

/* ── 비교표 — 연한 초록 띠 위에 흰 표, 표 바로 아래 상담 유도 ── */
.sangjo #section_compare {background: var(--mint);}
.sangjo #section_compare .compare_wrap {padding: 6px 24px; border-radius: 20px; background: #fff;}
.sangjo #section_compare .compare_table {min-width: 980px; border-top: 0; font-size: 15px;}
.sangjo #section_compare .compare_table th,
.sangjo #section_compare .compare_table td {padding: 20px 16px; border-bottom: 1px solid var(--hair); text-align: left; color: var(--ink); background: #fff;}
.sangjo #section_compare .compare_table tbody tr:last-child > * {border-bottom: 0;}
.sangjo #section_compare .compare_table thead th {font-size: 13px; font-weight: 500; color: var(--muted);}
.sangjo #section_compare .compare_table tbody th {font-size: 15px; font-weight: 600;}
.sangjo #section_compare .compare_table td small {color: var(--muted);}
.sangjo #section_compare .compare_table tr.pick > * {background: var(--pick);}
.sangjo #section_compare .pick_tag {margin-left: 6px; padding: 0; background: none; font-size: 13px; font-weight: 600; color: var(--mint-ink);}
.sangjo #section_compare .compare_table .ratio {white-space: nowrap;}
.sangjo #section_compare .ratio_num {display: inline-block; width: 48px; text-align: right; font-weight: 500; font-variant-numeric: tabular-nums;}
.sangjo #section_compare tr.pick .ratio_num {font-weight: 600; color: var(--mint-ink);}
.sangjo #section_compare .ratio_bar {position: relative; display: inline-block; width: 150px; height: 6px; margin-left: 12px; border-radius: 3px; background: var(--track); vertical-align: middle;}
.sangjo #section_compare .ratio_bar i {position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--bar);}
.sangjo #section_compare tr.pick .ratio_bar i {background: var(--mint-bar);}
.sangjo #section_compare .ratio_bar::after {content: ''; position: absolute; left: 83.333%; top: -6px; bottom: -6px; border-left: 1px dashed #A9AFAB;}
.sangjo #section_compare .notice {margin-top: 20px; font-size: 13px; line-height: 1.75; color: var(--muted);}
.sangjo .cta_band {display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: 56px; padding: 36px 40px; border-radius: 20px; background: #fff;}
.sangjo .cta_band p {font-size: 19px; font-weight: 600; line-height: 1.6; letter-spacing: -0.02em; color: var(--ink); word-break: keep-all;}
.sangjo .cta_band button {height: 56px; padding: 0 28px; border: 0; border-radius: 10px; background: var(--mint-btn); color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; transition: background 0.2s;}
.sangjo .cta_band button:hover {background: var(--mint-btn-hover);}
.sangjo .cta_band button:focus-visible {outline: 2px solid var(--mint-ink); outline-offset: 3px;}

/* ── 추천 이유 — 공시 수치 3개를 크게, 나머지 혜택은 아래 줄 ── */
.sangjo #section3 .figure_list {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));}
.sangjo #section3 .figure_list li {padding: 4px 32px 4px 0;}
.sangjo #section3 .figure_list li + li {padding-left: 32px; border-left: 1px solid var(--hair);}
.sangjo #section3 .figure_list h3 {font-size: 15px; font-weight: 500; color: var(--body);}
.sangjo #section3 .figure_list .fig {margin: 8px 0 14px; font-size: clamp(30px, 3.2vw, 40px); font-weight: 600; line-height: 1.2; letter-spacing: -0.03em; color: var(--mint-ink); font-variant-numeric: tabular-nums; white-space: nowrap;}
.sangjo #section3 .figure_list p {font-size: 15px; line-height: 1.75; color: var(--body); word-break: keep-all;}
.sangjo #section3 .reason_more {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 64px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--hair);}
.sangjo #section3 .reason_more h3 {font-size: 17px; font-weight: 600; color: var(--ink);}
.sangjo #section3 .reason_more p {margin-top: 6px; font-size: 15px; line-height: 1.75; color: var(--body); word-break: keep-all;}

/* ── 대표 상품 — 상품 카드 4개 ── */
.sangjo #section5 .product_list {display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;}
.sangjo #section5 .product_list li {display: flex; flex-direction: column; padding: 28px 24px 26px; border: 1px solid #DDE3DF; border-radius: 16px; background: #fff;}
.sangjo #section5 .product_list h3 {font-size: 18px; font-weight: 600; color: var(--ink);}
.sangjo #section5 .p_price {margin-top: 4px; font-size: 15px; color: var(--muted);}
.sangjo #section5 .p_pay {margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--hair);}
.sangjo #section5 .p_pay div {display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0;}
.sangjo #section5 .p_pay dt {font-size: 14px; color: var(--muted);}
.sangjo #section5 .p_pay dd {margin: 0; font-size: 18px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap;}
.sangjo #section5 .p_desc {margin-top: auto; padding-top: 18px; font-size: 15px; line-height: 1.7; color: var(--body); word-break: keep-all;}
.sangjo #section5 .notice {margin-top: 24px; font-size: 13px; line-height: 1.75; color: var(--muted);}
.sangjo #section5 .more_link {display: inline-flex; align-items: center; min-height: 52px; margin-top: 32px; padding: 0 24px; font-size: 16px; cursor: pointer;}

/* ── 자주 묻는 질문 — 연한 띠, 가운데 좁은 칸에 흰 줄 ── */
.sangjo #section_qna {background: var(--mint);}
.sangjo #section_qna > .inner {width: min(800px, calc(100% - 48px));}
.sangjo #section_qna .title_wrap {max-width: none; margin: 0 0 36px; text-align: center;}
.sangjo #section_qna .qna_list {display: flex; flex-direction: column; gap: 10px; border-top: 0;}
.sangjo #section_qna .qna_item {border: 0; border-radius: 14px; background: #fff;}
.sangjo #section_qna .qna_num {display: none;}
.sangjo #section_qna .qna_question {gap: 16px; padding: 22px 24px;}
.sangjo #section_qna .qna_text {font-size: 17px; font-weight: 500;}
.sangjo #section_qna .qna_question:hover .qna_text,
.sangjo #section_qna .qna_item.active .qna_text {color: var(--mint-ink);}
.sangjo #section_qna .qna_arrow {width: 32px; height: 32px; border: 0; font-size: 24px; font-weight: 300; color: var(--mint-ink);}
.sangjo #section_qna .qna_item.active .qna_arrow {background: none; color: var(--mint-ink);}
.sangjo #section_qna .qna_question:focus-visible {outline: 2px solid var(--mint-ink); outline-offset: -2px; border-radius: 14px;}
.sangjo #section_qna .qna_answer {padding: 0 24px 24px;}
.sangjo #section_qna .qna_answer p {padding-left: 0; border-left: 0; font-size: 16px;}

@media (max-width: 1150px) {
  body.sangjo {--sec-pad: 88px;}
  .sangjo #section1 .content_wrap {grid-template-columns: minmax(0, 1fr); gap: 48px; padding: 48px 0 24px;}
  .sangjo #section4 > .inner {grid-template-columns: minmax(0, 1fr);}
  .sangjo #section4 .title_wrap {position: static;}
  .sangjo #section5 .product_list {grid-template-columns: repeat(2, minmax(0, 1fr));}}

@media (max-width: 768px) {
  body.sangjo {--sec-pad: 64px;}
  .sangjo #section1 .hero_note {font-size: 16px;}
  .sangjo #section1 .hero_note br {display: none;}
  .sangjo .hero_chart li {grid-template-columns: 96px minmax(0, 1fr) 46px; gap: 10px;}
  .sangjo .hero_chart .hc_name {font-size: 14px;}
  .sangjo #section1 .form_wrap {padding: 28px 22px 24px;}
  .sangjo #section1 .hero_intro {min-height: 0; padding: 28px 22px 0; border-radius: 20px;}
  .sangjo #section1 .hero_guide {position: static; display: block; width: 150px; margin: 8px 0 0 auto;}
  .sangjo #section4 .checklist li {grid-template-columns: 24px minmax(0, 1fr); gap: 4px 14px; padding: 22px 0;}
  .sangjo #section4 .txt p {grid-column: 2;}
  .sangjo #section_compare .compare_wrap {padding: 4px 12px; border-radius: 14px;}
  .sangjo .cta_band {margin-top: 40px; padding: 28px 22px 24px;}
  .sangjo .cta_band p {font-size: 17px;}
  .sangjo .cta_band p br {display: none;}
  .sangjo .cta_band button {width: 100%;}
  .sangjo #section3 .figure_list {grid-template-columns: minmax(0, 1fr);}
  .sangjo #section3 .figure_list li,
  .sangjo #section3 .figure_list li + li {padding: 24px 0; border-left: 0;}
  .sangjo #section3 .figure_list li + li {border-top: 1px solid var(--hair);}
  .sangjo #section3 .reason_more {grid-template-columns: minmax(0, 1fr); margin-top: 24px;}
  .sangjo #section5 .product_list {grid-template-columns: minmax(0, 1fr);}
  .sangjo #section_qna > .inner {width: calc(100% - 32px);}
  .sangjo #section_qna .title_wrap {text-align: left;}
  .sangjo #section_qna .title_wrap p br {display: none;}
  .sangjo #section_qna .qna_question {padding: 18px 18px;}
  .sangjo #section_qna .qna_text {font-size: 16px;}
  .sangjo #section_qna .qna_answer {padding: 0 18px 20px;}}

/* ── 출처 링크 — 밑줄로만 표시, 새 창으로 열린다 ── */
.sangjo .src_link {color: var(--mint-ink); text-decoration: underline; text-decoration-color: var(--mint-bar); text-decoration-thickness: 1px; text-underline-offset: 3px;}
.sangjo .src_link:hover {text-decoration-color: currentColor;}
.sangjo .src_link:focus-visible {outline: 2px solid var(--mint-ink); outline-offset: 2px; border-radius: 2px;}
.sangjo #section_qna .qna_more {display: inline-block; margin: 12px 0 0; font-size: 15px; font-weight: 500;}
.sangjo #section_qna .qna_more::after {content: none;}
.sangjo #section_qna .qna_more:hover {text-decoration-color: currentColor;}

/* ── 헤더 — 로고 크게, 메뉴 없음 (서브페이지 삭제, 2026.10.28)
 * 메뉴 목록은 공통 파일 common/header.php 안에 있어서 여기서 숨긴다. ── */
header.header .inner {height: 88px;}
header.header .inner .logo {width: 250px;}
header.header .inner .hd_right {display: none;}
@media (max-width: 768px) {
  header.header .inner {height: 60px;}
  header.header .inner .logo {width: 170px;}}

/* ── 지급여력비율 설명 — 연한 초록 띠, 왼쪽 계산식·용어, 오른쪽 예시 막대 두 개 ── */
.sangjo #section_ratio {border-top: 0; background: var(--mint);}
.sangjo .ratio_explain {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;}
.sangjo .ratio_formula,
.sangjo .ratio_cases {padding: 36px; border-radius: 20px; background: #fff;}
.sangjo .formula {display: flex; flex-direction: column; gap: 6px;}
.sangjo .formula .f_name {font-size: 15px; font-weight: 500; color: var(--muted);}
.sangjo .formula .f_eq {font-size: clamp(20px, 2vw, 24px); font-weight: 600; line-height: 1.45; color: var(--ink); word-break: keep-all;}
.sangjo .ratio_terms {margin: 28px 0 0; border-top: 1px solid var(--hair);}
.sangjo .ratio_terms > div {padding: 18px 0; border-bottom: 1px solid var(--hair);}
.sangjo .ratio_terms > div:last-child {padding-bottom: 0; border-bottom: 0;}
.sangjo .ratio_terms dt {font-size: 16px; font-weight: 600; color: var(--mint-ink);}
.sangjo .ratio_terms dd {margin: 4px 0 0; font-size: 16px; line-height: 1.75; color: var(--body); word-break: keep-all;}
.sangjo .ratio_cases {display: flex; flex-direction: column; gap: 32px;}
.sangjo .ratio_case {margin: 0;}
.sangjo .ratio_case figcaption {display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 15px; color: var(--body);}
.sangjo .ratio_case figcaption strong {font-size: 18px; font-weight: 600;}
.sangjo .ratio_case.is_ok strong, .sangjo .ratio_case.is_ok .rc_calc b {color: var(--mint-ink);}
.sangjo .ratio_case.is_low strong, .sangjo .ratio_case.is_low .rc_calc b {color: #9A5B45;}
.sangjo .rc_bar {position: relative; height: 14px; margin: 16px 0 14px; border-radius: 7px; background: var(--track);}
.sangjo .rc_bar i {position: absolute; top: 0; bottom: 0;}
.sangjo .rc_bar .rc_base {left: 0; border-radius: 7px 0 0 7px; background: var(--bar);}
.sangjo .rc_bar .rc_plus {border-radius: 0 7px 7px 0; background: var(--mint-bar);}
.sangjo .rc_bar .rc_minus {background: repeating-linear-gradient(135deg, #E3BFAE 0 3px, transparent 3px 7px);}   /* 마이너스 자본만큼 깎인 몫 */
.sangjo .rc_bar::after {content: ''; position: absolute; left: 83.333%; top: -6px; bottom: -6px; border-left: 1px dashed #8F9692;}
.sangjo .rc_calc {font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums;}
.sangjo .rc_calc b {font-weight: 700;}
.sangjo .rc_desc {margin-top: 4px; font-size: 15px; line-height: 1.7; color: var(--body); word-break: keep-all;}
.sangjo .rc_note {margin-top: auto; font-size: 13px; color: var(--muted);}
.sangjo .ratio_tip {max-width: 54em; margin-top: 32px; font-size: 15px; line-height: 1.8; color: var(--body); word-break: keep-all;}
@media (max-width: 768px) {
  .sangjo .ratio_explain {grid-template-columns: minmax(0, 1fr);}
  .sangjo .ratio_formula,
  .sangjo .ratio_cases {padding: 26px 22px;}
  .sangjo .ratio_cases {gap: 28px;}}

/* 그래프는 설명 섹션 안으로 옮김 — 흰 판에 담는다 / 첫 화면은 제목 판이 폼 높이에 맞춰 늘어난다 */
.sangjo #section_ratio .hero_chart {margin: 20px 0 0; padding: 36px; border-radius: 20px; background: #fff;}
.sangjo #section1 .content_wrap {align-items: stretch;}
.sangjo #section1 .hero_main {display: flex; flex-direction: column;}
.sangjo #section1 .hero_intro {flex: 1; display: flex; flex-direction: column; justify-content: center;}
@media (max-width: 768px) {
  .sangjo #section_ratio .hero_chart {padding: 26px 22px;}}

/* 첫 화면 여백 줄이기 — 폼을 촘촘하게 해서 높이를 낮추고, 캐릭터를 키워 제목 판의 빈 곳을 채운다 */
.sangjo #section1 .content_wrap {padding: 40px 0 32px;}
.sangjo #section1 .form_wrap {padding: 28px 28px 26px;}
.sangjo #section1 .form_wrap h2 {font-size: 20px;}
.sangjo #section1 .form_wrap ul {gap: 12px; margin-top: 18px;}
.sangjo #section1 .form_wrap input[type='text'],
.sangjo #section1 .form_wrap .phone_select,
.sangjo #section1 .form_wrap .gender_wrap {height: 48px;}
.sangjo #section1 .form_wrap .submit_btn {height: 54px; margin-top: 18px;}
.sangjo #section1 .hero_intro {min-height: 0; padding: 40px 290px 40px 44px;}
.sangjo #section1 .hero_guide {right: 14px; width: 262px;}
@media (max-width: 1150px) and (min-width: 769px) {
  .sangjo #section1 .hero_intro {padding-right: 240px;}
  .sangjo #section1 .hero_guide {width: 220px;}}
@media (max-width: 768px) {
  .sangjo #section1 .content_wrap {padding: 24px 0 16px;}
  .sangjo #section1 .form_wrap {padding: 26px 22px 24px;}
  .sangjo #section1 .hero_intro {padding: 28px 22px 0;}
  .sangjo #section1 .hero_guide {width: 170px;}}

/* ══ 글자 크기 기준 (50~70대 가독성) ══
 * 큰 제목 28~46px · 소제목 20 · 본문 18 · 보조 17 · 라벨 16 · 주석 15 (px)
 * 글자 간격: 24px 이상 큰 글씨는 -2px, 나머지는 -1px (맨 아래 규칙) */
body.sangjo .title_wrap h2 {font-size: clamp(28px, 2.8vw, 36px);}
body.sangjo .title_wrap p {font-size: 18px;}
body.sangjo #section1 .hero_title {font-size: clamp(32px, 3.2vw, 40px);}
body.sangjo #section1 .hero_date {font-size: 16px;}
body.sangjo #section1 .hero_note {font-size: 18px;}
body.sangjo #section1 .hero_intro {padding-right: 272px;}
body.sangjo #section1 .hero_guide {width: 248px;}

/* 신청 폼 */
body.sangjo #section1 .form_wrap h2 {font-size: 22px;}
body.sangjo #section1 .form_wrap li > label,
body.sangjo #section1 .form_wrap .name_wrap > label,
body.sangjo #section1 .form_wrap .field_label {font-size: 16px;}
body.sangjo #section1 .form_wrap input[type='text'],
body.sangjo #section1 .form_wrap .phone_select {font-size: 18px;}
body.sangjo #section1 .form_wrap .gender_wrap label {font-size: 18px;}
body.sangjo #section1 .form_wrap .submit_btn {font-size: 19px;}

/* 지급여력비율 설명 + 그래프 */
body.sangjo .formula .f_name {font-size: 17px;}
body.sangjo .formula .f_eq {font-size: clamp(22px, 2.2vw, 28px);}
body.sangjo .ratio_terms dt {font-size: 18px;}
body.sangjo .ratio_terms dd {font-size: 18px;}
body.sangjo .ratio_case figcaption {font-size: 17px;}
body.sangjo .ratio_case figcaption strong {font-size: 20px;}
body.sangjo .rc_calc {font-size: 18px;}
body.sangjo .rc_desc {font-size: 17px;}
body.sangjo .rc_note {font-size: 15px;}
body.sangjo .ratio_tip {font-size: 17px;}
body.sangjo .hero_chart figcaption {font-size: 16px;}
body.sangjo .hero_chart li {grid-template-columns: 150px minmax(0, 1fr) 60px;}
body.sangjo .hero_chart .hc_name,
body.sangjo .hero_chart .hc_val {font-size: 17px;}
body.sangjo .hero_chart_note {font-size: 15px;}

/* 확인할 5가지 */
body.sangjo #section4 .checklist li {grid-template-columns: 24px minmax(160px, 210px) minmax(0, 1fr);}
body.sangjo #section4 .chk {margin-top: 4px;}
body.sangjo #section4 h3 {font-size: 20px;}
body.sangjo #section4 .txt p {font-size: 18px;}

/* 비교표 */
body.sangjo #section_compare .compare_table {min-width: 1080px; font-size: 17px;}
body.sangjo #section_compare .compare_table thead th {font-size: 15px;}
body.sangjo #section_compare .compare_table tbody th {font-size: 17px;}
body.sangjo #section_compare .compare_table td small {font-size: 15px;}
body.sangjo #section_compare .pick_tag {font-size: 15px;}
body.sangjo #section_compare .ratio_num {width: 56px; font-size: 17px;}
body.sangjo #section_compare .notice,
body.sangjo #section5 .notice {font-size: 15px;}
body.sangjo #section3 .title_wrap p {font-size: 18px;}
body.sangjo .cta_band p {font-size: 22px;}
body.sangjo .cta_band button,
body.sangjo #section5 .more_link {font-size: 18px;}

/* 추천 이유 */
body.sangjo #section3 .figure_list h3 {font-size: 17px;}
body.sangjo #section3 .figure_list .fig {font-size: clamp(34px, 3.6vw, 46px);}
body.sangjo #section3 .figure_list p {font-size: 17px;}
body.sangjo #section3 .reason_more h3 {font-size: 20px;}
body.sangjo #section3 .reason_more p {font-size: 17px;}

/* 대표 상품 */
body.sangjo #section5 .product_list h3 {font-size: 20px;}
body.sangjo #section5 .p_price {font-size: 17px;}
body.sangjo #section5 .p_pay dt {font-size: 16px;}
body.sangjo #section5 .p_pay dd {font-size: 20px;}
body.sangjo #section5 .p_desc {font-size: 17px;}

/* 자주 묻는 질문 */
body.sangjo #section_qna .qna_text {font-size: 19px;}
body.sangjo #section_qna .qna_answer p {font-size: 18px;}
body.sangjo #section_qna .qna_more {font-size: 17px;}

@media (max-width: 1150px) and (min-width: 769px) {
  body.sangjo #section1 .hero_intro {padding-right: 240px;}
  body.sangjo #section1 .hero_guide {width: 220px;}}

@media (max-width: 768px) {
  body.sangjo .title_wrap p,
  body.sangjo #section1 .hero_note,
  body.sangjo #section4 .txt p,
  body.sangjo .ratio_terms dd,
  body.sangjo .rc_calc,
  body.sangjo #section_qna .qna_answer p {font-size: 17px;}
  body.sangjo #section1 .hero_intro {padding-right: 22px;}
  body.sangjo #section1 .hero_guide {width: 170px;}
  body.sangjo .hero_chart li {grid-template-columns: 112px minmax(0, 1fr) 52px; gap: 10px;}
  body.sangjo .hero_chart .hc_name,
  body.sangjo .hero_chart .hc_val {font-size: 16px;}
  body.sangjo #section_qna .qna_text {font-size: 18px;}
  body.sangjo .cta_band p {font-size: 19px;}
  body.sangjo #section1 .hero_title {font-size: 28px;}
  body.sangjo #section4 .checklist li {grid-template-columns: 24px minmax(0, 1fr);}
  body.sangjo #section4 h3 {font-size: 19px;}}

/* ══ 지급여력비율 — 쉬운 말 버전 (질문 한 줄 → 안심/주의 기준 → 회사별 막대 → 계산식은 접어 둠) ══ */
body.sangjo .rs_head {display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); align-items: center; gap: 24px 48px;}
body.sangjo .rs_lead {font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; line-height: 1.5; color: var(--ink); word-break: keep-all;}
body.sangjo .rs_lead_sub {margin-top: 12px; font-size: 18px; line-height: 1.7; color: var(--body); word-break: keep-all;}
body.sangjo .rs_rule {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;}
body.sangjo .rs_rule li {padding: 26px 26px 24px; border-radius: 20px; background: #fff;}
body.sangjo .rs_rule strong {display: block; margin-top: 14px; font-size: 26px; font-weight: 700; line-height: 1.3;}
body.sangjo .rs_rule p {margin-top: 8px; font-size: 17px; line-height: 1.7; color: var(--body); word-break: keep-all;}
body.sangjo .rs_rule .is_ok strong {color: var(--mint-ink);}
body.sangjo .rs_rule .is_low strong {color: #8A4B35;}

/* 안심/주의 표시 — 색만으로 구분하지 않도록 글자를 함께 쓴다 */
body.sangjo .rs_badge {display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 30px; padding: 0 12px; border-radius: 15px; font-size: 15px; font-weight: 700; white-space: nowrap;}
body.sangjo .is_ok > .rs_badge {background: #E3EFE8; color: var(--mint-ink);}
body.sangjo .is_low > .rs_badge {background: #F6E4DA; color: #8A4B35;}

/* 회사별 막대 */
body.sangjo #section_ratio .rs_chart {margin-top: 24px;}
body.sangjo .rs_chart figcaption strong {font-size: 20px;}
body.sangjo .rs_chart ul {margin-top: 44px; gap: 18px;}
body.sangjo .rs_chart li {grid-template-columns: 150px minmax(0, 1fr) 60px 60px;}
body.sangjo .rs_chart .hc_bar {height: 10px; border-radius: 5px;}
body.sangjo .rs_chart .hc_bar i {border-radius: 5px;}
body.sangjo .rs_chart .is_ok .hc_bar i {background: var(--mint-bar);}
body.sangjo .rs_chart .is_low .hc_bar i {background: #D9A58F;}
body.sangjo .rs_chart .hc_val {font-weight: 600;}
body.sangjo .rs_chart .is_ok .hc_val {color: var(--mint-ink);}
body.sangjo .rs_chart .is_low .hc_val {color: #8A4B35;}
body.sangjo .rs_chart .hc_name {color: var(--ink);}
body.sangjo .rs_chart .hc_bar::after {top: -8px; bottom: -8px; border-left: 2px dashed #8F9692;}
body.sangjo .rs_chart li:first-child .hc_bar::before {content: '100%'; position: absolute; left: 83.333%; bottom: calc(100% + 12px); transform: translateX(-50%); font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap;}

/* 계산식 — 궁금한 사람만 펼친다 */
body.sangjo .rs_more {margin-top: 20px;}
body.sangjo .rs_more summary {display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 17px; font-weight: 600; color: var(--mint-ink); cursor: pointer; list-style: none;}
body.sangjo .rs_more summary::-webkit-details-marker {display: none;}
body.sangjo .rs_more summary::after {content: '+'; font-size: 22px; font-weight: 400; line-height: 1;}
body.sangjo .rs_more[open] summary::after {content: '−';}
body.sangjo .rs_more summary:focus-visible {outline: 2px solid var(--mint-ink); outline-offset: 3px; border-radius: 4px;}
body.sangjo .rs_more_body {margin-top: 8px; padding: 24px 28px; border-radius: 16px; background: #fff;}
body.sangjo .rs_more_body p {font-size: 17px; line-height: 1.75; color: var(--body); word-break: keep-all;}
body.sangjo .rs_more_body p + p {margin-top: 6px;}
body.sangjo .rs_more_body .rs_formula {margin-bottom: 10px; font-size: 19px; font-weight: 600; color: var(--ink);}
body.sangjo .rs_more_body b {font-weight: 600; color: var(--ink);}

@media (max-width: 1150px) {
  body.sangjo .rs_head {grid-template-columns: minmax(0, 1fr);}}
@media (max-width: 768px) {
  body.sangjo .rs_lead br {display: none;}
  body.sangjo .rs_rule {grid-template-columns: minmax(0, 1fr); gap: 12px;}
  body.sangjo .rs_rule li {padding: 22px 20px 20px;}
  body.sangjo .rs_rule strong {font-size: 24px;}
  body.sangjo .rs_chart ul {margin-top: 40px; gap: 16px;}
  body.sangjo .rs_chart li {grid-template-columns: 112px minmax(0, 1fr) 46px 46px; gap: 8px;}
  body.sangjo .rs_chart .hc_name {white-space: nowrap;}
  body.sangjo .rs_chart .hc_name {font-size: 15px;}
  body.sangjo .rs_chart .rs_badge {min-width: 0; height: 26px; padding: 0 8px; font-size: 14px;}
  body.sangjo .rs_more_body {padding: 20px;}}

/* 첫 화면 강조 글씨 — 초록 / 신청 폼 제목 가운데 */
body.sangjo #section1 .hl {font-style: normal; color: var(--mint-ink);}
body.sangjo #section1 .hero_title .hl {background: none; color: var(--main-color);}
body.sangjo #section1 .hero_note .hl {font-weight: 600;}
body.sangjo #section1 .form_wrap h2 {text-align: center;}

/* 지급여력비율 앞 — 왜·언제 돌려주는지 */
body.sangjo .rs_why {display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); align-items: center; gap: 24px 48px;}
body.sangjo .rs_why_txt h3 {font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; line-height: 1.5; color: var(--ink); word-break: keep-all;}
body.sangjo .rs_why_txt p {margin-top: 14px; font-size: 18px; line-height: 1.75; color: var(--body); word-break: keep-all;}
body.sangjo .rs_when {margin: 0; padding: 8px 28px; border-radius: 20px; background: #fff;}
body.sangjo .rs_when > div {display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 4px 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--hair);}
body.sangjo .rs_when > div:last-child {border-bottom: 0;}
body.sangjo .rs_when dt {font-size: 19px; font-weight: 600; color: var(--mint-ink); word-break: keep-all;}
body.sangjo .rs_when dd {margin: 0; font-size: 17px; line-height: 1.7; color: var(--body); word-break: keep-all;}
body.sangjo .rs_bridge {margin: 48px 0 40px; padding-top: 40px; border-top: 1px solid #DDE3DF; font-size: 20px; font-weight: 600; line-height: 1.7; color: var(--ink); word-break: keep-all;}
@media (max-width: 1150px) {
  body.sangjo .rs_why {grid-template-columns: minmax(0, 1fr);}}
@media (max-width: 768px) {
  body.sangjo .rs_why_txt h3 br, body.sangjo .rs_bridge br {display: none;}
  body.sangjo .rs_why_txt p {font-size: 17px;}
  body.sangjo .rs_when {padding: 4px 20px;}
  body.sangjo .rs_when > div {grid-template-columns: minmax(0, 1fr); padding: 18px 0;}
  body.sangjo .rs_bridge {margin: 36px 0 28px; padding-top: 28px; font-size: 18px;}}

/* 첫 화면 꽃장식 — 흰 배경 이미지를 multiply 로 겹쳐 판 색에 녹인다 (흰색은 사라지고 그림자만 남음)
 * 제목 판 왼쪽 위 + 폼 오른쪽 아래(뒤집어서) 대각선으로 감싼다. 글자·입력칸과는 겹치지 않는다. */
body.sangjo #section1 .hero_flower,
body.sangjo #section1 .form_flower {position: absolute; height: auto; mix-blend-mode: multiply; pointer-events: none; user-select: none;}
body.sangjo #section1 .hero_main {overflow: visible;}   /* 꽃이 판 모서리 밖으로 걸치도록 */
body.sangjo #section1 .hero_flower {left: -40px; top: -40px; width: 160px;}
body.sangjo #section1 .form_wrap {position: relative;}
body.sangjo #section1 .content_wrap {padding: 72px 0 88px;}   /* 첫 화면 위아래 여백 */
@media (max-width: 768px) {
  body.sangjo #section1 .content_wrap {padding: 40px 0 48px;}}
body.sangjo #section1 .form_flower {right: -46px; bottom: -46px; width: 122px; transform: rotate(180deg);}
@media (max-width: 768px) {
  body.sangjo #section1 .hero_flower {left: -12px; top: -18px; width: 108px;}
  body.sangjo #section1 .hero_intro {padding-top: 72px;}
  body.sangjo #section1 .form_flower {display: none;}}

/* 섹션 순서 변경(첫 화면 → 확인할 5가지 → 지급여력비율 → 비교표)에 맞춘 배경 리듬: 흰 · 초록 · 흰 · 초록 */
body.sangjo #section4 {background: var(--mint);}
body.sangjo #section4 .checklist,
body.sangjo #section4 .checklist li {border-color: #DDE3DF;}
body.sangjo #section4 .chk {background: #fff;}
body.sangjo #section_ratio {background: #fff;}
body.sangjo .rs_when,
body.sangjo .rs_rule li,
body.sangjo #section_ratio .rs_chart,
body.sangjo .rs_more_body {background: var(--mint);}
body.sangjo .rs_chart .hc_bar {background: #E1E6E3;}
body.sangjo .rs_bridge {border-top-color: var(--hair);}

/* ══ 확인할 5가지 — 벤토 격자 (ui-ux-pro-max: Bento Box Grid — 크기가 다른 카드로 위계, 모서리 통일, 6→2→1칸)
 * 위: 공정위가 강조하는 두 항목을 큰 카드로 / 아래: 나머지 세 항목은 작은 카드 */
body.sangjo #section4 > .inner {display: block;}
body.sangjo #section4 .title_wrap {position: static; max-width: none; margin: 0 0 72px; text-align: center;}
body.sangjo #section4 .title_wrap h2 br {display: none;}
body.sangjo #section4 .title_wrap h2 {text-wrap: balance;}
body.sangjo #section4 .check_bento {display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin: 0; border: 0;}
body.sangjo #section4 .check_bento li {grid-column: span 2; display: block; padding: 30px 28px 28px; border: 0; border-radius: 24px; background: #fff;}
body.sangjo #section4 .check_bento li.is_key {grid-column: span 3; padding: 40px 40px 36px;}
body.sangjo #section4 .chk {display: block; position: relative; width: 34px; height: 34px; margin: 0; border-radius: 10px; background: var(--mint-bar); box-shadow: none;}
body.sangjo #section4 .chk::after {left: 12px; top: 7px; width: 7px; height: 14px; border-color: #fff; border-width: 0 3px 3px 0;}
body.sangjo #section4 .is_key .chk {width: 40px; height: 40px; border-radius: 12px; background: var(--mint-btn);}
body.sangjo #section4 .is_key .chk::after {left: 14px; top: 8px; width: 8px; height: 16px;}
body.sangjo #section4 .txt {display: block;}
body.sangjo #section4 .key_tag {margin-top: 22px; font-size: 15px; font-weight: 600; color: var(--mint-ink);}
body.sangjo #section4 h3 {margin-top: 20px; font-size: 20px;}
body.sangjo #section4 .is_key .key_tag + h3 {margin-top: 6px;}
body.sangjo #section4 .is_key h3 {font-size: 26px;}
body.sangjo #section4 .txt p:not(.key_tag) {margin-top: 8px; font-size: 17px; line-height: 1.75;}
body.sangjo #section4 .is_key .txt p:not(.key_tag) {margin-top: 10px; font-size: 18px;}
@media (max-width: 1150px) {
  body.sangjo #section4 .check_bento {grid-template-columns: repeat(2, minmax(0, 1fr));}
  body.sangjo #section4 .check_bento li,
  body.sangjo #section4 .check_bento li.is_key {grid-column: span 1;}
  body.sangjo #section4 .check_bento li:last-child {grid-column: span 2;}}
@media (max-width: 768px) {
  body.sangjo #section4 .title_wrap {margin-bottom: 44px;}
  body.sangjo #section4 .check_bento {grid-template-columns: minmax(0, 1fr); gap: 12px;}
  body.sangjo #section4 .check_bento li,
  body.sangjo #section4 .check_bento li.is_key,
  body.sangjo #section4 .check_bento li:last-child {grid-column: auto; padding: 24px 22px;}
  body.sangjo #section4 .is_key h3 {font-size: 22px;}
  body.sangjo #section4 .is_key .txt p:not(.key_tag) {font-size: 17px;}}

/* 확인할 5가지 — 카드 안은 가로: 왼쪽 체크 아이콘, 오른쪽 제목·설명 */
body.sangjo #section4 .check_bento li {display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 0 14px; align-items: start;}
body.sangjo #section4 .check_bento li.is_key {grid-template-columns: 44px minmax(0, 1fr); gap: 0 16px;}
body.sangjo #section4 .chk_icon {display: block; width: 38px; height: auto;}
body.sangjo #section4 .is_key .chk_icon {width: 44px;}
body.sangjo #section4 .chk_icon + .txt h3,
body.sangjo #section4 .chk_icon + .txt .key_tag {margin-top: 6px;}
body.sangjo #section4 .is_key .key_tag + h3 {margin-top: 4px;}
@media (max-width: 768px) {
  body.sangjo #section4 .check_bento li,
  body.sangjo #section4 .check_bento li.is_key {grid-template-columns: 34px minmax(0, 1fr); gap: 0 12px;}
  body.sangjo #section4 .chk_icon,
  body.sangjo #section4 .is_key .chk_icon {width: 34px;}
  body.sangjo #section4 .chk_icon + .txt h3,
  body.sangjo #section4 .chk_icon + .txt .key_tag {margin-top: 2px;}}

/* 확인할 5가지 — 공정위 강조 카드 2개의 오른쪽 위 모서리에 리본(sc2_img4)을 걸친다 */
body.sangjo #section4 .check_bento li.is_key {position: relative;}
body.sangjo #section4 .key_ribbon {position: absolute; right: -18px; top: -26px; width: 100px; height: auto; transform: rotate(14deg); pointer-events: none;}
@media (max-width: 768px) {
  body.sangjo #section4 .key_ribbon {right: -8px; top: -18px; width: 72px;}}

/* ══ 지급여력비율 — 세 단계 카드 (ui-ux-pro-max: Storytelling + Data, 단계 표시 / progressive-disclosure)
 * ① 낸 돈은 회사가 맡아 둔다  ② 다 갖고 있나 = 지급여력비율(안심/주의)  ③ 회사별 막대(한 줄 전체) */
body.sangjo #section_ratio .title_wrap {max-width: none; margin: 0 0 56px; text-align: center;}
body.sangjo #section_ratio .title_wrap h2 br {display: none;}
body.sangjo .rs_steps {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none;}
body.sangjo .rs_step {padding: 36px 36px 32px; border-radius: 24px; background: var(--mint);}
body.sangjo .rs_step.rs_step_chart {grid-column: 1 / -1; padding: 0; background: none;}
body.sangjo .rs_num {display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--mint-btn); color: #fff; font-size: 17px; font-weight: 700; line-height: 1;}
body.sangjo .rs_step:not(.rs_step_chart) {display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; align-content: start;}
body.sangjo .rs_step:not(.rs_step_chart) > :not(.rs_num):not(h3) {grid-column: 1 / -1;}
body.sangjo .rs_step h3 {align-self: center; margin: 0; font-size: 24px; font-weight: 600; line-height: 1.45; color: var(--ink); word-break: keep-all;}
body.sangjo .rs_step_lead {margin-top: 14px !important;}
body.sangjo .rs_step_lead {margin-top: 8px; font-size: 18px; line-height: 1.7; color: var(--body); word-break: keep-all;}
body.sangjo .rs_cases {margin: 22px 0 0; border-top: 1px solid #DDE3DF;}
body.sangjo .rs_cases > div {display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid #DDE3DF;}
body.sangjo .rs_cases > div:last-child {padding-bottom: 0; border-bottom: 0;}
body.sangjo .rs_cases dt {font-size: 17px; font-weight: 600; color: var(--mint-ink); word-break: keep-all;}
body.sangjo .rs_cases dd {margin: 0; font-size: 17px; line-height: 1.7; color: var(--body); word-break: keep-all;}
body.sangjo .rs_legend {display: flex; flex-direction: column; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none;}
body.sangjo .rs_legend li {display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border-radius: 16px; background: #fff;}
body.sangjo .rs_legend strong {display: block; font-size: 20px; font-weight: 700; line-height: 1.3;}
body.sangjo .rs_legend .is_ok strong {color: var(--mint-ink);}
body.sangjo .rs_legend .is_low strong {color: #8A4B35;}
body.sangjo .rs_legend p {margin-top: 4px; font-size: 16px; line-height: 1.65; color: var(--body); word-break: keep-all;}
body.sangjo .rs_legend .rs_badge {margin-top: 1px;}
body.sangjo #section_ratio .rs_chart {margin: 0; padding: 36px; border-radius: 24px; background: var(--mint);}
body.sangjo .rs_chart figcaption {display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; justify-content: flex-start;}
body.sangjo .rs_chart figcaption .rs_num {font-size: 17px; color: #fff;}
body.sangjo .rs_chart figcaption strong {font-size: 22px; font-weight: 600; color: var(--ink);}
body.sangjo .rs_chart .rs_cap_note {margin-left: auto; font-size: 16px; color: var(--muted);}
body.sangjo .rs_foot {margin-top: 24px;}
body.sangjo .rs_foot .rs_more {margin: 0;}
body.sangjo .rs_foot .ratio_tip {max-width: none; margin-top: 8px;}
@media (max-width: 1150px) {
  body.sangjo .rs_steps {grid-template-columns: minmax(0, 1fr);}}
@media (max-width: 768px) {
  body.sangjo #section_ratio .title_wrap {margin-bottom: 32px;}
  body.sangjo .rs_step {padding: 26px 22px 24px;}
  body.sangjo .rs_step h3 {font-size: 21px;}
  body.sangjo .rs_step_lead {font-size: 17px;}
  body.sangjo .rs_cases > div {grid-template-columns: minmax(0, 1fr);}
  body.sangjo .rs_legend li {padding: 16px;}
  body.sangjo #section_ratio .rs_chart {padding: 26px 20px;}
  body.sangjo .rs_chart figcaption strong {font-size: 19px;}
  body.sangjo .rs_chart .rs_cap_note {margin-left: 0; width: 100%; font-size: 15px;}}

/* ══ ③ 회사별 막대 — 5개 회사 모두 같은 모양 (특정 회사 강조 없음). 100% 글씨는 맨 아래 줄 밑에 */
body.sangjo .rs_chart ul {margin-top: 24px;}
body.sangjo .rs_chart li {grid-template-columns: 170px minmax(0, 1fr) 64px 60px; column-gap: 16px;}
body.sangjo .rs_chart .hc_val {font-weight: 600;}
body.sangjo .rs_chart li:first-child .hc_bar::before {content: none;}
body.sangjo .rs_chart li:last-child .hc_bar::before {content: '100%'; position: absolute; left: 83.333%; top: calc(100% + 12px); transform: translateX(-50%); font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap;}
body.sangjo .rs_chart .hero_chart_note {margin-top: 40px;}
@media (max-width: 1150px) {
  body.sangjo .rs_chart li {grid-template-columns: 150px minmax(0, 1fr) 60px 56px;}}
@media (max-width: 768px) {
  /* 모바일: 이름은 위 줄, 막대·숫자·표시는 아래 줄 — 막대를 길게 */
  body.sangjo .rs_chart ul {gap: 14px;}
  body.sangjo .rs_chart li {grid-template-columns: minmax(0, 1fr) 50px 48px; grid-template-areas: "name name name" "bar val badge"; gap: 6px 10px;}
  body.sangjo .rs_chart .hc_name {grid-area: name;}
  body.sangjo .rs_chart .hc_bar {grid-area: bar;}
  body.sangjo .rs_chart .hc_val {grid-area: val;}
  body.sangjo .rs_chart .rs_badge {grid-area: badge;}
  body.sangjo .rs_chart .hero_chart_note {margin-top: 34px;}}

/* ══ 지급여력비율 ① 돈의 흐름 그림 (ui-ux-pro-max: Flow/Process — 출발→도착 흐름, 이름 항상 보이게, 모바일은 단순하게)
 * 세 단계 카드는 모두 한 줄 전체로: ① 흐름 그림 → ② 안심/주의 → ③ 회사별 막대 */
body.sangjo .rs_steps {grid-template-columns: minmax(0, 1fr);}
body.sangjo .rs_flow {display: grid; grid-template-columns: 150px minmax(70px, 1fr) 210px minmax(70px, 1fr) minmax(0, 1.6fr); align-items: center; gap: 0 12px; margin-top: 32px;}
body.sangjo .fl_node {display: flex; flex-direction: column; align-items: center; text-align: center;}
body.sangjo .fl_icon {display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%; background: #fff; color: var(--mint-ink); box-shadow: 0 0 0 1px #DDE3DF;}
body.sangjo .fl_icon svg {width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;}
body.sangjo .fl_company .fl_icon {width: 100px; height: 100px; background: var(--mint-btn); color: #fff; box-shadow: none;}
body.sangjo .fl_company .fl_icon svg {width: 48px; height: 48px;}
body.sangjo .fl_node strong {margin-top: 12px; font-size: 19px; font-weight: 700; color: var(--ink);}
body.sangjo .fl_node > span:not(.fl_icon) {margin-top: 2px; font-size: 16px; color: var(--body);}
body.sangjo .fl_ratio {margin-top: 10px; padding: 6px 12px; border-radius: 999px; background: #E3EFE8; font-size: 14px; font-style: normal; font-weight: 600; color: var(--mint-ink); white-space: nowrap;}
/* 화살표: 가는 선 + 끝 삼각형, 위에 이름 */
body.sangjo .fl_arrow {position: relative; height: 2px; margin-top: -40px; background: #9FBFAF;}
body.sangjo .fl_arrow::after {content: ''; position: absolute; right: -2px; top: 50%; transform: translateY(-50%); border: 7px solid transparent; border-left: 10px solid #9FBFAF; border-right: 0;}
body.sangjo .fl_arrow span {position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); font-size: 15px; font-weight: 600; color: var(--mint-ink); white-space: nowrap;}
/* 세 갈래: 왼쪽 세로선에서 가지가 뻗는 모양 */
body.sangjo .fl_out {position: relative; display: flex; flex-direction: column; gap: 10px; margin: 0 0 0 4px; padding: 0 0 0 22px; list-style: none; border-left: 2px solid #9FBFAF; border-radius: 0;}
body.sangjo .fl_out li {position: relative; display: flex; flex-direction: column; padding: 12px 16px; border-radius: 14px; background: #fff;}
body.sangjo .fl_out li::before {content: ''; position: absolute; left: -24px; top: 50%; width: 22px; height: 2px; background: #9FBFAF;}
body.sangjo .fl_out strong {font-size: 16px; font-weight: 600; color: var(--muted);}
body.sangjo .fl_out span {margin-top: 2px; font-size: 18px; font-weight: 700; color: var(--mint-ink); word-break: keep-all;}
body.sangjo .fl_out small {font-size: 14px; font-weight: 500; color: var(--muted);}
/* ② 안심/주의는 두 칸 나란히 */
body.sangjo .rs_legend {flex-direction: row;}
body.sangjo .rs_legend li {flex: 1 1 0;}
@media (max-width: 1150px) {
  /* 태블릿·모바일: 위에서 아래로 */
  body.sangjo .rs_flow {grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 24px;}
  body.sangjo .fl_arrow {justify-self: center; width: 2px; height: 46px; margin: 10px 0;}
  body.sangjo .fl_arrow::after {right: auto; left: 50%; top: auto; bottom: -2px; transform: translateX(-50%); border: 7px solid transparent; border-top: 10px solid #9FBFAF; border-bottom: 0;}
  body.sangjo .fl_arrow span {left: 14px; bottom: 50%; transform: translateY(50%);}
  body.sangjo .fl_out {flex-direction: row; margin: 0; padding: 0; border-left: 0;}
  body.sangjo .fl_out li {flex: 1 1 0;}
  body.sangjo .fl_out li::before {display: none;}}
@media (max-width: 768px) {
  /* 모바일: 세 갈래도 세로로 */
  body.sangjo .fl_out {flex-direction: column;}
  body.sangjo .rs_flow {grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 24px;}
  body.sangjo .fl_arrow {justify-self: center; width: 2px; height: 46px; margin: 10px 0;}
  body.sangjo .fl_arrow::after {right: auto; left: 50%; top: auto; bottom: -2px; transform: translateX(-50%); border: 7px solid transparent; border-top: 10px solid #9FBFAF; border-bottom: 0;}
  body.sangjo .fl_arrow span {left: 14px; bottom: 50%; transform: translateY(50%);}
  body.sangjo .fl_icon {width: 68px; height: 68px;}
  body.sangjo .fl_company .fl_icon {width: 80px; height: 80px;}
  body.sangjo .fl_out {margin: 0; padding: 0; border-left: 0;}
  body.sangjo .fl_out li::before {display: none;}
  body.sangjo .rs_legend {flex-direction: column;}}

/* 돌려받는 세 경우는 "셋 중 하나" — PC는 갈래 모양으로 보이지만, 위아래·나란히로 바뀌면
 * 셋 다 해당하는 것처럼 보이므로 화살표 이름을 바꾸고 경우 사이에 "또는"을 넣는다 */
body.sangjo .fl_arrow i {font-style: normal;}
body.sangjo .fl_lbl_mo {display: none;}
@media (max-width: 1150px) {
  body.sangjo .fl_lbl_pc {display: none;}
  body.sangjo .fl_lbl_mo {display: inline;}
  body.sangjo .fl_out {gap: 64px;}
  body.sangjo .fl_out li + li::before {content: '또는'; display: flex; align-items: center; justify-content: center; position: absolute; left: -48px; top: 50%; width: 32px; height: 32px; transform: translateY(-50%); border-radius: 50%; background: #E3EFE8; font-size: 13px; font-weight: 700; color: var(--mint-ink); letter-spacing: -0.5px;}}
@media (max-width: 768px) {
  body.sangjo .fl_out {gap: 64px;}
  body.sangjo .fl_out li + li::before {left: 50%; top: -48px; transform: translateX(-50%); width: auto; height: 32px; padding: 0 14px; border-radius: 999px;}}

/* ══ 5곳 비교표 — 공시 자료를 옮긴 담백한 표: 카드·막대·알약 표시 없이 선과 숫자만
 * 위 굵은 선 + 줄 사이 가는 선, 숫자는 오른쪽 정렬·고정폭 숫자, 안심/주의·추천은 글자색으로만. 모바일은 회사별 목록 */
body.sangjo #section_compare .title_wrap {max-width: none; margin: 0 0 20px; text-align: center;}
body.sangjo #section_compare .title_wrap h2 br {display: none;}
body.sangjo #section_compare .cp_lead {max-width: 46em; margin: 0 auto 40px; font-size: 16px; line-height: 1.75; color: var(--muted); text-align: center; word-break: keep-all;}
body.sangjo #section_compare .compare_wrap {padding: 0; border-radius: 0; background: none; overflow: visible;}
body.sangjo #section_compare .compare_table {width: 100%; min-width: 0; border-collapse: collapse; border-top: 2px solid var(--ink); font-size: 17px;}
body.sangjo #section_compare .compare_table th,
body.sangjo #section_compare .compare_table td {position: static; padding: 24px 18px; border: 0; border-bottom: 1px solid #D3DBD6; background: transparent; text-align: left; vertical-align: top; color: var(--ink); box-shadow: none;}
body.sangjo #section_compare .compare_table thead th {padding: 14px 18px; font-size: 15px; font-weight: 600; color: var(--body);}
body.sangjo #section_compare .compare_table .num {text-align: right;}
body.sangjo #section_compare .compare_table tr.pick > * {background: #E8F1EC;}
body.sangjo #section_compare .cp_name {font-size: 18px; font-weight: 700; color: var(--ink);}
body.sangjo #section_compare .cp_pick {margin-left: 8px; font-size: 14px; font-style: normal; font-weight: 700; color: var(--mint-btn);}
body.sangjo #section_compare tbody th small {display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--muted);}
body.sangjo #section_compare .cp_num {font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap;}
body.sangjo #section_compare .cp_state {display: block; margin-top: 2px; font-size: 14px; font-weight: 600;}
body.sangjo #section_compare td.is_ok .cp_num, body.sangjo #section_compare td.is_ok .cp_state {color: var(--mint-ink);}
body.sangjo #section_compare td.is_low .cp_num, body.sangjo #section_compare td.is_low .cp_state {color: #8A4B35;}
body.sangjo #section_compare .cp_guard {font-size: 16px; line-height: 1.6; color: var(--body); word-break: keep-all;}
body.sangjo #section_compare .cp_guard b {font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums;}
body.sangjo #section_compare .cp_item {display: block; font-size: 16px; font-weight: 500; color: var(--ink); word-break: keep-all;}
body.sangjo #section_compare td small {display: block; margin-top: 4px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums;}
body.sangjo #section_compare .cp_notes {margin: 18px 0 0; padding: 0; list-style: none;}
body.sangjo #section_compare .cp_notes li {position: relative; padding-left: 16px; font-size: 15px; line-height: 1.75; color: var(--muted); word-break: keep-all;}
body.sangjo #section_compare .cp_notes li::before {content: '※'; position: absolute; left: 0;}
@media (max-width: 1150px) {
  /* 태블릿·모바일: 회사별 목록 — 회사 이름 아래에 "항목  값" 줄. 둥근 카드 없이 선으로만 나눈다 */
  body.sangjo #section_compare .compare_table,
  body.sangjo #section_compare .compare_table tbody,
  body.sangjo #section_compare .compare_table tr,
  body.sangjo #section_compare .compare_table th,
  body.sangjo #section_compare .compare_table td {display: block;}
  body.sangjo #section_compare .compare_table thead {position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);}
  body.sangjo #section_compare .compare_table tbody tr {padding: 20px 14px 12px; border-bottom: 1px solid #C9D3CE;}
  body.sangjo #section_compare .compare_table tbody th {padding: 0 0 8px; border: 0; background: none;}
  body.sangjo #section_compare .compare_table tbody th small {display: inline; margin: 0 0 0 8px;}
  body.sangjo #section_compare .compare_table td {display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 12px; padding: 8px 0; border: 0; background: none; text-align: left;}
  body.sangjo #section_compare .compare_table tr.pick > * {background: none;}
  body.sangjo #section_compare .compare_table tr.pick {background: #E8F1EC;}
  body.sangjo #section_compare .compare_table td::before {content: attr(data-label); grid-row: 1 / span 2; font-size: 15px; color: var(--muted);}
  body.sangjo #section_compare .compare_table td > * {grid-column: 2;}
  body.sangjo #section_compare td.num .cp_state {display: inline; margin-left: 8px;}
  body.sangjo #section_compare .compare_table td.num {display: block; padding-left: 116px; position: relative; text-align: left;}
  body.sangjo #section_compare td.num::before {position: absolute; left: 0; top: 10px;}
  body.sangjo #section_compare .cp_num {font-size: 18px;}}
@media (max-width: 768px) {
  body.sangjo #section_compare .cp_lead {margin-bottom: 28px; font-size: 15px;}
  body.sangjo #section_compare .compare_table td {grid-template-columns: 92px minmax(0, 1fr);}
  body.sangjo #section_compare .compare_table td.num {padding-left: 104px;}}

/* ══ 5곳 비교표 — ui-ux-pro-max 디자인 시스템 적용: Trust & Authority(근거 수치 먼저) + Minimalism & Swiss Style
 * 격자, 높은 대비(진한 머리줄), 각진 모서리, 분명한 글자 위계. 둥근 카드·알약 표시 없음. 색은 기존 세이지 초록 유지 */
/* 핵심 수치 3칸 — 세로 선으로 나눈 격자 */
body.sangjo #section_compare .cp_stats {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 48px; border-top: 2px solid var(--mint-ink); border-bottom: 1px solid #C9D3CE;}
body.sangjo #section_compare .cp_stats > div {padding: 28px 28px 26px; border-left: 1px solid #C9D3CE;}
body.sangjo #section_compare .cp_stats > div:first-child {border-left: 0; padding-left: 0;}
body.sangjo #section_compare .cp_stats dt {font-size: 16px; font-weight: 600; color: var(--body);}
body.sangjo #section_compare .cp_stats dd {margin: 10px 0 0;}
body.sangjo #section_compare .cp_stats strong {display: block; font-size: clamp(32px, 3.2vw, 44px); font-weight: 700; line-height: 1.15; color: var(--mint-ink); font-variant-numeric: tabular-nums;}
body.sangjo #section_compare .cp_stats dd span {display: block; margin-top: 8px; font-size: 16px; color: var(--muted);}
body.sangjo #section_compare .cp_lead {margin: 0 0 16px; text-align: left; font-size: 15px;}
/* 표 — 진한 머리줄, 각진 모서리 */
body.sangjo #section_compare .compare_table {border-top: 0; background: #fff;}
body.sangjo #section_compare .compare_table thead th {padding: 16px 18px; background: var(--mint-ink); color: #fff; font-size: 15px; font-weight: 600; border-bottom: 0;}
body.sangjo #section_compare .compare_table th,
body.sangjo #section_compare .compare_table td {border-bottom: 1px solid #DCE3DF;}
body.sangjo #section_compare .compare_table tr.pick > * {background: #F1F7F3;}
body.sangjo #section_compare .compare_table tr.pick > th {box-shadow: inset 6px 0 0 var(--mint-btn);}
body.sangjo #section_compare .cp_num {font-size: 22px;}
/* 안심·주의 — 작은 네모 + 글자 */
body.sangjo #section_compare .cp_state::before {content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 6px; vertical-align: 1px; background: currentColor;}
@media (max-width: 1150px) {
  body.sangjo #section_compare .cp_stats {grid-template-columns: minmax(0, 1fr); border-bottom: 0;}
  body.sangjo #section_compare .cp_stats > div,
  body.sangjo #section_compare .cp_stats > div:first-child {display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4px 16px; padding: 18px 0; border-left: 0; border-bottom: 1px solid #C9D3CE;}
  body.sangjo #section_compare .cp_stats dd {margin: 0; text-align: right;}
  body.sangjo #section_compare .cp_stats strong {font-size: 28px;}
  body.sangjo #section_compare .cp_stats dd span {margin-top: 2px; font-size: 14px;}
  body.sangjo #section_compare .compare_table {background: none; border-top: 2px solid var(--mint-ink);}
  body.sangjo #section_compare .compare_table tbody tr {background: #fff; border-bottom: 1px solid #C9D3CE;}
  body.sangjo #section_compare .compare_table tr.pick {background: #F1F7F3; box-shadow: inset 6px 0 0 var(--mint-btn);}
  body.sangjo #section_compare .compare_table tr.pick > th {box-shadow: none;}}
@media (max-width: 768px) {
  body.sangjo #section_compare .cp_stats {margin-bottom: 32px;}
  body.sangjo #section_compare .cp_stats > div,
  body.sangjo #section_compare .cp_stats > div:first-child {grid-template-columns: minmax(0, 1fr);}
  body.sangjo #section_compare .cp_stats dd {text-align: left;}
  body.sangjo #section_compare .cp_stats strong {font-size: 26px;}}

/* ══ 웅진프리드라이프 추천 도장 — 빨간 인주 자국 + 도장 그림
 * ui-ux-pro-max: Skeuomorphism(잉크 질감은 노이즈 필터, 실감 그림자) / 장식 그림은 aria 숨김, 자국은 글자로 읽힘 / 배지 글자 한 줄 */
body.sangjo #section_compare .compare_table tbody th {position: relative;}
body.sangjo #section_compare .cp_seal {position: absolute; right: -44px; top: 50%; z-index: 2; width: 100px; height: 100px; transform: translateY(-50%) rotate(-13deg); color: #C4261F; pointer-events: none;}
body.sangjo #section_compare .seal_ink {display: block; width: 100%; height: 100%; opacity: .95; mix-blend-mode: multiply;}
body.sangjo #section_compare .seal_main {font-size: 38px; font-weight: 900;}
body.sangjo #section_compare .seal_arc {font-size: 15px; font-weight: 800;}
body.sangjo #section_compare .cp_seal text {letter-spacing: 1px !important;}
body.sangjo #section_compare .cp_seal .seal_main {letter-spacing: 0 !important;}
body.sangjo #section_compare .seal_tool {position: absolute; right: -30px; top: -58px; width: 70px; max-width: none; height: auto; transform: rotate(26deg); filter: drop-shadow(0 6px 6px rgba(30, 60, 40, .22));}
@media (max-width: 1150px) {
  body.sangjo #section_compare .compare_table tbody tr.pick {position: relative;}
  body.sangjo #section_compare .compare_table tbody tr.pick > th {position: static;}
  body.sangjo #section_compare .cp_seal {right: 14px; top: 12px; width: 84px; height: 84px; transform: rotate(-13deg);}
  body.sangjo #section_compare .cp_lead {margin-bottom: 48px;}
  body.sangjo #section_compare .seal_tool {right: -4px; top: -46px; width: 58px;}}

/* ══ 하단 고정 폼(PC) · 신청 버튼(모바일) — 페이지 디자인에 맞춤
 * ui-ux-pro-max: fixed-element-offset(고정 바 높이만큼 아래 여백) / focus-not-obscured / safe-area-awareness(휴대폰 아래 제스처 영역 피함)
 * 첫 화면 폼과 같은 둥근 입력칸·옅은 테두리, 초록 성별 선택·버튼, 화살표 없음 */
body.sangjo .bottom_form {border-top: 1px solid #DDE3DF; box-shadow: 0 -10px 28px rgba(46, 92, 74, .08);}
body.sangjo .bottom_form_inner {gap: 24px; padding: 14px 0;}
body.sangjo .bottom_form_title {font-size: 15px; font-weight: 500; color: var(--muted);}
body.sangjo .bottom_form_title b {font-size: 20px; font-weight: 700; color: var(--ink);}
body.sangjo .bottom_form_fields {gap: 10px;}
body.sangjo .bf_field {height: 58px; padding: 0 16px; border: 1px solid var(--field); border-radius: 12px; background: #fff;}
body.sangjo .bf_field:focus-within {border-color: var(--mint-bar); box-shadow: inset 0 0 0 1px var(--mint-bar);}
body.sangjo .bf_field label {font-size: 13px; font-weight: 500; color: var(--muted);}
body.sangjo .bf_field input,
body.sangjo .bf_field select {font-size: 17px; color: var(--ink);}
body.sangjo .bf_field input::placeholder {color: #A3ACA7;}
body.sangjo .bf_gender {height: 58px; border: 1px solid var(--field); border-radius: 12px; overflow: hidden;}
body.sangjo .bf_gender label {width: 52px; font-size: 17px; font-weight: 500; color: var(--body);}
body.sangjo .bf_gender label + input + label {border-left-color: var(--field);}
body.sangjo .bf_gender input[type='radio']:checked + label {background: var(--mint-btn); color: #fff; font-weight: 700;}
body.sangjo .bf_gender input[type='radio']:focus-visible + label {outline-color: var(--mint-ink);}
body.sangjo .bottom_form_submit {height: 58px; padding: 0 30px; border-radius: 12px; background: var(--mint-btn); font-size: 18px; font-weight: 600;}
body.sangjo .bottom_form_submit::after {content: none;}
body.sangjo .bottom_form_submit:hover {background: var(--mint-btn-hover);}
body.sangjo .bottom_form_submit:focus-visible {outline: 2px solid var(--mint-ink); outline-offset: 3px;}
/* 고정 바가 페이지 끝(푸터)을 가리지 않게 — 바 높이만큼 아래 여백 */
@media (min-width: 1151px) {
  body.sangjo {padding-bottom: 88px;}}

/* 모바일 신청 버튼 — 화면 끝에 붙은 띠 대신, 가장자리에서 띄운 둥근 버튼 */
body.sangjo .to_top {left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: auto; padding: 17px 20px; border-radius: 14px; background: var(--mint-btn); font-size: 18px; font-weight: 600; box-shadow: 0 8px 24px rgba(46, 92, 74, .28);}
body.sangjo .to_top svg {stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.4;}
body.sangjo .to_top.on_dark {background: #fff; color: var(--mint-btn); box-shadow: 0 8px 24px rgba(0, 0, 0, .3);}
body.sangjo .to_top.on_dark svg {stroke: var(--mint-btn);}
body.sangjo .to_top:focus-visible {outline: 3px solid #fff; outline-offset: -6px;}
@media (max-width: 1150px) {
  body.sangjo {padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));}}

/* ══ 추천 이유 — 근거 목록 (ui-ux-pro-max: Trust & Authority, Swiss 격자)
 * 줄마다 [큰 수치 | 항목·설명 | 출처 링크]. 위 굵은 선 + 줄 사이 가는 선. 둥근 카드·알약 없음 */
body.sangjo #section3 .title_wrap {max-width: none; margin: 0 0 48px; text-align: center;}
body.sangjo #section3 .title_wrap h2 br {display: none;}
body.sangjo #section3 .title_wrap p {max-width: 40em; margin-left: auto; margin-right: auto;}
body.sangjo #section3 .reason_list {margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--mint-ink);}
body.sangjo #section3 .reason_list li {display: grid; grid-template-columns: 260px minmax(0, 1fr) 160px; align-items: center; gap: 12px 40px; padding: 30px 8px; border-bottom: 1px solid #D3DBD6;}
body.sangjo #section3 .rl_fig {font-size: clamp(30px, 3vw, 40px); font-weight: 700; line-height: 1.15; color: var(--mint-ink); font-variant-numeric: tabular-nums; white-space: nowrap;}
body.sangjo #section3 .rl_txt h3 {margin: 0; font-size: 20px; font-weight: 700; color: var(--ink);}
body.sangjo #section3 .rl_txt p {margin-top: 6px; font-size: 17px; line-height: 1.75; color: var(--body); word-break: keep-all;}
body.sangjo #section3 .rl_src {justify-self: end; font-size: 15px; font-weight: 600; white-space: nowrap;}
body.sangjo #section3 .rl_src::after {content: ' ↗'; font-weight: 400;}
@media (max-width: 1150px) {
  body.sangjo #section3 .reason_list li {grid-template-columns: 200px minmax(0, 1fr); gap: 8px 28px;}
  body.sangjo #section3 .rl_src {grid-column: 2; justify-self: start;}}
@media (max-width: 768px) {
  body.sangjo #section3 .title_wrap {margin-bottom: 28px;}
  body.sangjo #section3 .reason_list li {grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 24px 4px;}
  body.sangjo #section3 .rl_src {grid-column: auto;}
  body.sangjo #section3 .rl_fig {font-size: 30px;}}

/* 추천 이유 — 오른쪽에 추천하는 상담사(sc5_img1). 목록이 주인공, 캐릭터는 보조(장식 숨김·자리 미리 확보)
 * 캐릭터 높이 = 목록 높이: 머리 끝은 목록 위 굵은 선, 발은 아래 선에 맞춘다 (목록 길이가 바뀌어도 따라감) */
body.sangjo #section3 .reason_body {display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: stretch; gap: 0 40px;}
body.sangjo #section3 .reason_list li {grid-template-columns: 252px minmax(0, 1fr) 124px; gap: 10px 28px;}
body.sangjo #section3 .reason_guide_wrap {position: relative; min-height: 320px;}
body.sangjo #section3 .reason_guide {position: absolute; left: 50%; top: 0; bottom: 0; width: auto; height: 100%; max-width: none; transform: translateX(-50%);}
@media (max-width: 1150px) {
  body.sangjo #section3 .reason_body {grid-template-columns: minmax(0, 1fr) 190px; gap: 0 16px;}
  body.sangjo #section3 .reason_guide_wrap {display: flex; align-items: flex-end; min-height: 0;}
  body.sangjo #section3 .reason_guide {position: static; width: 100%; height: auto; transform: none;}
  body.sangjo #section3 .reason_list li {grid-template-columns: 180px minmax(0, 1fr); gap: 8px 20px;}
  body.sangjo #section3 .rl_fig {font-size: 26px;}}
@media (max-width: 768px) {
  body.sangjo #section3 .reason_body {grid-template-columns: minmax(0, 1fr);}
  body.sangjo #section3 .reason_guide_wrap {grid-row: 1; min-height: 0; margin: 0 0 16px;}
  body.sangjo #section3 .reason_guide {position: static; display: block; width: 120px; height: auto; margin: 0 auto; transform: none;}
  body.sangjo #section3 .reason_list li {grid-template-columns: minmax(0, 1fr);}}

/* 추천 이유 — 목록·캐릭터 사이 간격 넓힘, 섹션 높이 줄임 (줄 여백·섹션 여백·제목 아래 여백 축소. 캐릭터는 목록 높이를 따라 함께 작아짐) */
body.sangjo #section3 {padding: 96px 0;}
body.sangjo #section3 .title_wrap {margin-bottom: 36px;}
@media (min-width: 1151px) {   /* PC 전용 — 모바일·태블릿 칸 규칙을 덮지 않게 */
  body.sangjo #section3 .reason_body {grid-template-columns: minmax(0, 1fr) 310px; column-gap: 72px;}
  body.sangjo #section3 .reason_list li {grid-template-columns: 236px minmax(0, 1fr) 120px; column-gap: 24px;}}
body.sangjo #section3 .reason_list li {padding: 20px 8px;}
body.sangjo #section3 .rl_txt p {margin-top: 4px; line-height: 1.65;}
@media (max-width: 1150px) {
  body.sangjo #section3 {padding: 72px 0;}
  body.sangjo #section3 .reason_body {grid-template-columns: minmax(0, 1fr) 170px; column-gap: 32px;}}
@media (max-width: 768px) {
  body.sangjo #section3 {padding: 56px 0;}
  body.sangjo #section3 .title_wrap {margin-bottom: 20px;}
  body.sangjo #section3 .reason_body {grid-template-columns: minmax(0, 1fr); column-gap: 0;}
  body.sangjo #section3 .reason_list li {padding: 18px 4px;}}

/* 추천 이유 — 출처 링크는 줄마다 빼고 목록 아래 한 줄로 (공정위 공시 · 웅진 상품안내 하나씩) */
@media (min-width: 1151px) {
  body.sangjo #section3 .reason_list li {grid-template-columns: 236px minmax(0, 1fr);}}
body.sangjo #section3 .reason_src {display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin-top: 20px; font-size: 15px; color: var(--muted);}
body.sangjo #section3 .reason_src a {display: inline-block; padding: 11px 0; margin: -11px 0; font-size: 16px; font-weight: 600; white-space: nowrap;}
body.sangjo #section3 .reason_src a::after {content: ' ↗'; font-weight: 400;}
@media (max-width: 768px) {
  body.sangjo #section3 .reason_src {display: grid; grid-template-columns: auto minmax(0, 1fr); justify-items: start; gap: 14px 16px; margin-top: 16px;}
  body.sangjo #section3 .reason_src a {grid-column: 2;}
  body.sangjo #section3 .reason_src a:first-of-type {grid-row: 1;}}

/* ══ 대표 상품 여러 개 (ver2/ 전용) — ui-ux-pro-max: Pricing Page + CTA (상품별 가격 칸 + 칸마다 상담 버튼) / 토글은 상태를 바로 바꿈
 * 비교표·추천 이유와 같은 선 구분 격자. 둥근 카드·알약 없음. 월 납입금은 고른 기간 기준 하나만 크게. 본 페이지(단일 상품)에는 이 클래스가 없다 */
body.sangjo #section5 .title_wrap + .pd_toggle {margin-top: -12px;}
body.sangjo #section5 .pd_toggle {display: flex; width: max-content; margin: 0 auto 40px; padding: 4px; border: 1px solid #C9D3CE; border-radius: 12px; background: #fff;}
body.sangjo #section5 .pd_toggle button {min-width: 132px; height: 48px; padding: 0 20px; border: 0; border-radius: 9px; background: none; font-size: 17px; font-weight: 600; color: var(--body); cursor: pointer;}
body.sangjo #section5 .pd_toggle button[aria-pressed='true'] {background: var(--mint-btn); color: #fff;}
body.sangjo #section5 .pd_toggle button:focus-visible {outline: 2px solid var(--mint-ink); outline-offset: 2px;}
body.sangjo #section5 .pd_cols {display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--mint-ink); border-bottom: 1px solid #D3DBD6;}
body.sangjo #section5 .pd_cols li {display: flex; flex-direction: column; padding: 30px 26px 28px; border-left: 1px solid #D3DBD6;}
body.sangjo #section5 .pd_cols li:first-child {border-left: 0; padding-left: 4px;}
body.sangjo #section5 .pd_cols h3 {margin: 0; font-size: 20px; font-weight: 700;}
body.sangjo #section5 .pd_cols h3 a {color: var(--ink); text-decoration-color: #C9D3CE;}
body.sangjo #section5 .pd_amount {margin-top: 6px; font-size: 16px; color: var(--muted);}
body.sangjo #section5 .pd_price {margin-top: 22px; font-size: 18px; font-weight: 600; color: var(--mint-ink); font-variant-numeric: tabular-nums;}
body.sangjo #section5 .pd_price strong {font-size: clamp(30px, 2.8vw, 38px); font-weight: 700; line-height: 1.1;}
body.sangjo #section5 .pd_term {margin-top: 4px; font-size: 15px; color: var(--muted);}
body.sangjo #section5 li.is_only .pd_term {color: #8A4B35;}
body.sangjo #section5 .pd_desc {margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hair); font-size: 16px; line-height: 1.7; color: var(--body); word-break: keep-all; flex: 1;}
body.sangjo #section5 .pd_cta {align-self: flex-start; height: 48px; margin-top: 20px; padding: 0 18px; border: 1px solid var(--mint-btn); border-radius: 10px; background: #fff; font-size: 16px; font-weight: 600; color: var(--mint-btn); cursor: pointer; transition: background .2s, color .2s;}
body.sangjo #section5 .pd_cta:hover {background: var(--mint-btn); color: #fff;}
body.sangjo #section5 .pd_cta:focus-visible {outline: 2px solid var(--mint-ink); outline-offset: 2px;}
body.sangjo #section5 .pd_cols h3 a {display: inline-block; padding: 11px 0; margin: -11px 0;}   /* 누르는 영역 44px */
body.sangjo #section5 .pd_price strong {letter-spacing: -2px !important;}
@media (max-width: 1150px) {
  body.sangjo #section5 .pd_cols {grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 0;}
  body.sangjo #section5 .pd_cols li {padding: 26px 22px; border-bottom: 1px solid #D3DBD6;}
  body.sangjo #section5 .pd_cols li:nth-child(odd) {border-left: 0; padding-left: 4px;}}
@media (max-width: 768px) {
  body.sangjo #section5 .pd_toggle {width: 100%; margin-bottom: 24px;}
  body.sangjo #section5 .pd_toggle button {flex: 1; min-width: 0;}
  body.sangjo #section5 .pd_cols {grid-template-columns: minmax(0, 1fr);}
  body.sangjo #section5 .pd_cols li,
  body.sangjo #section5 .pd_cols li:nth-child(odd) {display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 22px 4px; border-left: 0;}
  body.sangjo #section5 .pd_cols h3, body.sangjo #section5 .pd_amount {grid-column: 1;}
  body.sangjo #section5 .pd_price {grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; text-align: right;}
  body.sangjo #section5 .pd_term {grid-column: 2; text-align: right; margin: 0;}
  body.sangjo #section5 .pd_desc, body.sangjo #section5 .pd_cta {grid-column: 1 / -1;}
  body.sangjo #section5 .pd_price strong {font-size: 28px;}}

/* ══ 상품 안내 — ui-ux-pro-max: Pricing-Focused Landing(단일 상품)
 * 왼쪽 진한 초록 가격 칸(이 섹션의 유일한 강조 · PC는 스크롤해도 따라옴) + 오른쪽 포함 서비스 선 구분 목록.
 * 월 납입금 → 총액(월 × 회)을 그대로 보여 준다. 태블릿은 가격 칸이 위로(가로 2단), 모바일은 모두 한 줄 */
body.sangjo .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;}
body.sangjo #section5 .title_wrap {max-width: none; margin: 0 0 40px; text-align: center;}
body.sangjo #section5 .title_wrap h2 br {display: none;}
body.sangjo #section5 .ps_wrap {display: grid; grid-template-columns: 360px minmax(0, 1fr); align-items: start; gap: 0 64px;}
/* 가격 칸 */
body.sangjo #section5 .ps_card {position: sticky; top: 40px; padding: 34px 30px 30px; border-radius: 24px; background: var(--mint-ink); color: #fff;}
body.sangjo #section5 .ps_card h3 {margin: 0; font-size: 20px; font-weight: 700; color: #fff;}
body.sangjo #section5 .ps_price {margin-top: 22px; font-size: 22px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums;}
body.sangjo #section5 .ps_price span {font-size: 20px; opacity: .85;}
body.sangjo #section5 .ps_price strong {font-size: 52px; font-weight: 700; letter-spacing: -2px !important;}
body.sangjo #section5 .ps_term {margin-top: 10px; font-size: 17px; color: rgba(255, 255, 255, .8);}
body.sangjo #section5 .ps_total {margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .22);}
body.sangjo #section5 .ps_total dt {font-size: 15px; color: rgba(255, 255, 255, .8);}
body.sangjo #section5 .ps_total dd {display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 4px 0 0;}
body.sangjo #section5 .ps_total dd strong {font-size: 26px; font-weight: 700; letter-spacing: -2px !important; font-variant-numeric: tabular-nums;}
body.sangjo #section5 .ps_total dd span {font-size: 15px; color: rgba(255, 255, 255, .75);}
body.sangjo #section5 .ps_keys {display: flex; flex-direction: column; gap: 10px; margin: 24px 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .22);}
body.sangjo #section5 .ps_keys li {position: relative; padding-left: 28px; font-size: 17px; font-weight: 600; line-height: 1.5; word-break: keep-all;}
body.sangjo #section5 .ps_keys li::before {content: ''; position: absolute; left: 3px; top: 5px; width: 6px; height: 12px; border: solid #BFE3D0; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);}
body.sangjo #section5 .ps_cta {width: 100%; height: 58px; margin-top: 28px; border: 0; border-radius: 12px; background: #fff; font-size: 18px; font-weight: 700; color: var(--mint-ink); cursor: pointer; transition: background-color .15s;}
body.sangjo #section5 .ps_cta:hover {background: #E6F1EB;}
body.sangjo #section5 .ps_cta:focus-visible {outline: 3px solid #BFE3D0; outline-offset: 3px;}
/* 포함 서비스 목록 — 비교표·추천 이유와 같은 선 격자 */
body.sangjo #section5 .ps_group + .ps_group {margin-top: 52px;}
body.sangjo #section5 .ps_group h3 {margin: 0; font-size: 22px; font-weight: 700; color: var(--ink);}
body.sangjo #section5 .ps_group_lead {margin-top: 4px; font-size: 16px; color: var(--muted); word-break: keep-all;}
body.sangjo #section5 .ps_list {margin: 16px 0 0; border-top: 2px solid var(--mint-ink);}
body.sangjo #section5 .ps_list > div {display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 24px; padding: 16px 4px; border-bottom: 1px solid #D3DBD6;}
body.sangjo #section5 .ps_list dt {font-size: 17px; font-weight: 700; line-height: 1.65; color: var(--ink);}
body.sangjo #section5 .ps_list dd {margin: 0; font-size: 17px; line-height: 1.65; color: var(--body); word-break: keep-all;}
body.sangjo #section5 .ps_list small {display: block; margin-top: 2px; font-size: 15px; line-height: 1.6; color: var(--muted);}
body.sangjo #section5 .ps_switch ul {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; margin: 16px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--mint-ink);}
body.sangjo #section5 .ps_switch li {display: flex; flex-direction: column; gap: 4px; padding: 18px 4px; border-bottom: 1px solid #D3DBD6;}
body.sangjo #section5 .ps_switch strong {font-size: 18px; font-weight: 700; color: var(--mint-ink);}
body.sangjo #section5 .ps_switch span {font-size: 16px; line-height: 1.65; color: var(--body); word-break: keep-all;}
body.sangjo #section5 .notice {margin-top: 32px;}
@media (max-width: 1150px) {
  /* 태블릿: 가격 칸을 위로, 칸 안은 [가격·총액 | 핵심·버튼] 두 단 */
  body.sangjo #section5 .ps_wrap {grid-template-columns: minmax(0, 1fr); gap: 44px;}
  body.sangjo #section5 .ps_card {position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; padding: 30px 28px;}
  body.sangjo #section5 .ps_card > h3, body.sangjo #section5 .ps_price, body.sangjo #section5 .ps_term, body.sangjo #section5 .ps_total {grid-column: 1;}
  body.sangjo #section5 .ps_keys {grid-column: 2; grid-row: 1 / span 4; align-self: start; margin: 0; padding: 0 0 0 40px; border-top: 0; border-left: 1px solid rgba(255, 255, 255, .22);}
  body.sangjo #section5 .ps_cta {grid-column: 1 / -1;}}
@media (max-width: 768px) {
  body.sangjo #section5 .title_wrap {margin-bottom: 28px;}
  body.sangjo #section5 .ps_wrap {gap: 36px;}
  body.sangjo #section5 .ps_card {display: block; padding: 28px 22px 22px; border-radius: 20px;}
  body.sangjo #section5 .ps_price strong {font-size: 44px;}
  body.sangjo #section5 .ps_keys {margin-top: 20px; padding: 18px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .22);}
  body.sangjo #section5 .ps_cta {margin-top: 22px;}
  body.sangjo #section5 .ps_group + .ps_group {margin-top: 40px;}
  body.sangjo #section5 .ps_group h3 {font-size: 20px;}
  body.sangjo #section5 .ps_list > div {grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 2px;}
  body.sangjo #section5 .ps_switch ul {grid-template-columns: minmax(0, 1fr);}
  body.sangjo #section5 .ps_switch li {padding: 16px 2px;}}

/* 상품 안내 — 실사 사진: 장례 서비스는 목록 위 사진 띠(3장), 전환 서비스는 항목마다 사진 칸.
 * 사진은 설명을 돕는 보조라 alt 는 비우고 글로 내용을 전한다. 비율 고정(3:2, 4:3)으로 자리 미리 확보 */
body.sangjo #section5 .ps_photos {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; padding: 0; list-style: none;}
body.sangjo #section5 .ps_photos figure {margin: 0;}
body.sangjo #section5 .ps_photos img {display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; background: #EEF2EF;}
body.sangjo #section5 .ps_photos figcaption {margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--body); word-break: keep-all;}
body.sangjo #section5 .ps_photos + .ps_list {margin-top: 24px;}
body.sangjo #section5 .ps_switch ul {grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 20px; border-top: 0;}
body.sangjo #section5 .ps_switch li {gap: 12px; padding: 0 0 24px; border-bottom: 0;}
body.sangjo #section5 .ps_switch li img {display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: #EEF2EF;}
body.sangjo #section5 .ps_switch li > div {display: flex; flex-direction: column; gap: 4px;}
@media (max-width: 768px) {
  /* 모바일: 장례 사진은 첫 장 크게 + 두 장 나란히, 전환 서비스는 [작은 사진 | 글] 가로 줄 */
  body.sangjo #section5 .ps_photos {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px;}
  body.sangjo #section5 .ps_photos li:first-child {grid-column: 1 / -1;}
  body.sangjo #section5 .ps_photos figcaption {font-size: 14px;}
  body.sangjo #section5 .ps_switch ul {grid-template-columns: minmax(0, 1fr); border-top: 2px solid var(--mint-ink);}
  body.sangjo #section5 .ps_switch li {flex-direction: row; align-items: flex-start; gap: 14px; padding: 16px 2px; border-bottom: 1px solid #D3DBD6;}
  body.sangjo #section5 .ps_switch li img {flex: 0 0 104px; width: 104px; border-radius: 10px;}}

/* 자주 묻는 질문 — 제목 위 말풍선 그림(qna.png). 섹션의 성격을 알려 주는 보조 그림이라 작게, 가운데 / 장식은 읽기에서 숨김 */
body.sangjo #section_qna .qna_visual {display: block; width: 150px; height: auto; margin: 0 auto 16px;}
@media (max-width: 768px) {
  body.sangjo #section_qna .title_wrap {text-align: center;}
  body.sangjo #section_qna .qna_visual {width: 110px; margin-bottom: 12px;}}

/* ══ 모바일 점검(ui-ux-pro-max: touch-target 44px) — 따로 떨어진 링크는 누르는 영역을 44px 높이로 넓힌다 (보이는 모양은 그대로) */
body.sangjo #section3 .rl_src,
body.sangjo #section1 .hero_date .src_link,
body.sangjo .cp_notes .src_link,
body.sangjo #section5 .notice .src_link,
body.sangjo #section_qna .qna_more {display: inline-block; padding: 11px 0; margin: -11px 0;}
body.sangjo header.header .logo a {display: flex; align-items: center; min-height: 44px;}

/* 모바일 점검 — 한글은 단어 단위로 줄바꿈(마지막 한 글자만 떨어지지 않게), 아주 긴 낱말만 예외로 끊음 */
body.sangjo main, body.sangjo section {word-break: keep-all; overflow-wrap: anywhere;}
@media (max-width: 768px) {
  /* 추천 도장 — 좁은 화면에서는 작게, 회사 이름 줄 높이에만 걸쳐 숫자를 덮지 않게 */
  body.sangjo #section_compare .cp_seal {top: -8px; right: 8px; width: 66px; height: 66px;}
  body.sangjo #section_compare .seal_tool {right: -2px; top: -36px; width: 46px;}
  body.sangjo #section_compare .compare_table tbody tr.pick > th {padding-right: 70px;}}

/* ══ 가로 스크롤 방지 (ui-ux-pro-max: horizontal-scroll · Table Handling · breakpoint-consistency)
 * 넘치기 전에 세로 배치로 바꾸고, 장식이 화면 밖으로 나가도 스크롤이 생기지 않게 한다 */
/* 2) 추천 이유 캐릭터 — 목록이 길어져도 칸 폭 안에서만 커진다 (발은 아래 선) */
@media (min-width: 1151px) {
  body.sangjo #section3 .reason_guide {left: 0; right: 0; top: 0; bottom: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transform: none;}}
/* 3) 비교표 모바일 목록 — 아주 좁은 화면(400px 이하)은 항목 이름을 값 위로 올려 세로로 */
@media (max-width: 400px) {
  body.sangjo #section_compare .compare_table td {grid-template-columns: minmax(0, 1fr); row-gap: 2px;}
  body.sangjo #section_compare .compare_table td::before {grid-row: auto; font-size: 14px;}
  body.sangjo #section_compare .compare_table td > * {grid-column: 1;}
  body.sangjo #section_compare .compare_table td.num {padding-left: 0;}
  body.sangjo #section_compare .compare_table td.num::before {position: static; display: block; margin-bottom: 2px;}}

/* ══ 장식(꽃·리본)이 화면 밖으로 나가지 않게 — 자르지 않고 위치·크기로 맞춘다
 * --gut : 본문 칸 바깥에 남는 여백(안전 여유를 뺀 값). 장식은 이만큼까지만 칸 밖으로 걸친다.
 *   PC   : 본문 폭 min(1200px, 100% - 48px) → 여백 = (화면 - 본문)/2, 스크롤바 몫 10px 여유
 *   태블릿: 본문 폭 min(720px, 100% - 32px)
 *   모바일: 본문 폭 100% - 32px → 여백 16px, 2px 여유 */
body.sangjo {--gut: calc((100vw - min(1200px, 100vw - 48px)) / 2 - 10px);}
@media (max-width: 1150px) {body.sangjo {--gut: calc((100vw - min(720px, 100vw - 32px)) / 2 - 10px);}}
@media (max-width: 768px)  {body.sangjo {--gut: 14px;}}
/* 첫 화면 왼쪽 위 꽃 — 화면이 좁을수록 작게, 왼쪽으로는 여백만큼만 */
/* 첫 화면 꽃: 크기는 지키고(작아지지 않게), 옆 여백이 모자라면 카드를 그만큼 안쪽으로 들여 자리를 만든다 */
body.sangjo #section1 {--ffw: clamp(100px, 8.5vw, 122px); --hfw: clamp(120px, 11vw, 160px);}
body.sangjo #section1 .content_wrap {padding-left: max(0px, calc(var(--ffw) * 0.36 - var(--gut))); padding-right: max(0px, calc(var(--ffw) * 0.36 - var(--gut)));}
body.sangjo #section1 .hero_flower {width: var(--hfw); left: calc(var(--hfw) * -0.25); top: calc(var(--hfw) * -0.25);}
/* 폼 꽃: 모서리에 꽃송이가 오도록 가로·세로를 같은 비율(크기의 36%)로 걸친다 */
body.sangjo #section1 .form_flower {width: var(--ffw); right: calc(var(--ffw) * -0.36); bottom: calc(var(--ffw) * -0.36);}
/* 확인할 5가지 리본 */
body.sangjo #section4 .key_ribbon {width: clamp(60px, 7vw, 100px); right: max(-18px, calc(-1 * var(--gut) + 8px));}   /* 기울인 만큼(약 8px) 더 안쪽 */
@media (max-width: 768px) {
  body.sangjo #section1 .hero_flower {width: 96px; left: calc(-1 * var(--gut)); top: -20px;}
  body.sangjo #section1 .hero_intro {padding-top: 68px;}
  body.sangjo #section1 .content_wrap {padding-left: 0; padding-right: 0;}
  body.sangjo #section4 .key_ribbon {width: 64px; right: calc(-1 * var(--gut) + 6px); top: -18px;}}

/* ── 글자 간격 — 페이지 전체 -1px (요소마다 따로 준 값도 모두 덮는다) ── */
body.sangjo, body.sangjo * {letter-spacing: -1px !important;}
body.sangjo .title_wrap h2, body.sangjo .title_wrap h2 *,
body.sangjo .figure_list .fig, body.sangjo .formula .f_eq, body.sangjo .rs_lead, body.sangjo .rs_lead *, body.sangjo .rs_rule strong, body.sangjo .rs_why_txt h3, body.sangjo #section4 .is_key h3, body.sangjo .rs_step h3, body.sangjo #section_compare .cp_stats strong, body.sangjo #section3 .rl_fig {letter-spacing: -2px !important;}   /* 24px 이상 큰 글씨 */
body.sangjo #section1 .hero_title, body.sangjo #section1 .hero_title * {letter-spacing: -3px !important;}   /* 첫 화면 제목 */


/* ══════════════════════════════════════════════════════════════════════
 * 첫 화면(#section1) — 플랫 디자인 (ui-ux-pro-max: Flat + 신뢰·전환)
 *   글: 로고 → 날짜 '견적 확인중' → 제목 두 줄 → 설명 두 줄 → TM 안내
 *   배경: bg1 (섹션 전체) · 그림: sc1_img1 (판 오른쪽 아래)
 *   그림자·그라데이션 없이 단색만. 본문 대비 4.5:1 이상, 포커스 표시, 모션 줄이기 지원
 * ══════════════════════════════════════════════════════════════════════ */
body.sangjo #section1 {
  background: none;
  --s1-primary: #5B21B6;        /* 강조·선택·포커스 — 흰 글씨 대비 9.0:1 */
  --s1-primary-hover: #4C1D95;
  --s1-cta: #000;               /* 신청 버튼 — 검정 + 흰 글씨 */
  --s1-cta-hover: #222;
  --s1-ink: #111;               /* 제목 */
  --s1-body: #3F3B5C;           /* 본문 — 배경 위 8.7:1 */
  --s1-muted: #5B5775;          /* 보조 — 배경 위 5.6:1 */
  --s1-field: #7C7399;          /* 입력칸 테두리 — 흰 바탕 4.4:1 */
  --s1-line: #C4B5FD;           /* 카드·알약 테두리 */
  --s1-ring: rgba(91, 33, 182, 0.35);
  --s1-live: #6D28D9;           /* 견적 확인중 점 */
  --s1-overlap: 32px;           /* 폼이 판 아래로 걸치는 높이 */
}

body.sangjo #section1 .content_wrap {display: block; padding: 28px 0 8px;}

/* 판 — 투명. 글은 왼쪽 세로 가운데, 그림은 오른쪽 아래 (그림 폭만큼 오른쪽 여백을 비운다) */
body.sangjo #section1 .s1_panel {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 520px;
  padding: 56px calc(min(760px, 62%) * 0.87 + 24px) calc(var(--s1-overlap) + 56px) 64px;
  background: none;
}

body.sangjo #section1 .s1_logo {display: block; width: auto; height: 44px;}

/* 날짜 + 견적 확인중 — 점은 3번(5초 안)만 퍼지고 멈춘다 */
body.sangjo #section1 .s1_live {display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 7px 14px 7px 12px; border: 1px solid var(--s1-line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--s1-body);}
body.sangjo #section1 .s1_live time {font-weight: 700; color: var(--s1-ink); font-variant-numeric: tabular-nums;}
body.sangjo #section1 .s1_live i {position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--s1-live);}
body.sangjo #section1 .s1_live i::after {content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: s1-ping 1.6s cubic-bezier(0, 0, 0.2, 1) 3;}
@keyframes s1-ping {75%, 100% {transform: scale(2.6); opacity: 0;}}

/* 글자 간격: 전역 -1px 을 섹션1 안에서만 완화 (제목은 아래에서 따로 줄인다) */
body.sangjo #section1 .s1_panel, body.sangjo #section1 .s1_panel *,
body.sangjo #section1 .form_wrap, body.sangjo #section1 .form_wrap * {letter-spacing: -0.01em !important;}

body.sangjo #section1 .s1_title {margin-top: 0; font-size: 52px; font-weight: 800; line-height: 1.22; color: var(--s1-ink); word-break: keep-all;}
body.sangjo #section1 .s1_title em {font-style: normal; color: var(--s1-primary);}
body.sangjo #section1 .s1_title, body.sangjo #section1 .s1_title * {letter-spacing: -0.03em !important;}

body.sangjo #section1 .s1_sub {margin-top: 20px; font-size: 19px; line-height: 1.6; color: var(--s1-body); word-break: keep-all;}
body.sangjo #section1 .s1_sub strong {font-weight: 700; color: var(--s1-ink);}

body.sangjo #section1 .s1_notice {margin-top: 28px; font-size: 14px; line-height: 1.5; color: var(--s1-muted); word-break: keep-all;}

/* 그림 — 판 오른쪽 아래. 왼쪽 가장자리는 흐리게 (배경과 자연스럽게 섞이도록 곱하기 합성) */
body.sangjo #section1 .s1_visual {position: absolute; right: 0; bottom: 0; width: min(760px, 62%);}
body.sangjo #section1 .s1_visual img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 13%);
          mask-image: linear-gradient(90deg, transparent 0, #000 13%);
}

/* 신청 폼 — 판 아래에 걸친 흰 카드. 테두리로만 구분 (그림자 없음). PC 는 가로 한 줄 */
body.sangjo #section1 .form_wrap {
  position: relative; z-index: 2;
  display: block;
  margin: calc(-1 * var(--s1-overlap)) 28px 0;
  padding: 24px 28px 28px;
  border: 1px solid var(--s1-line); border-radius: 16px;
  background: #fff;
}
body.sangjo #section1 .form_wrap form {display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: end; column-gap: 14px;}
body.sangjo #section1 .form_wrap h2 {grid-column: 1 / -1; margin-bottom: 18px; font-size: 21px; font-weight: 700; line-height: 1.4; color: var(--s1-ink);}
body.sangjo #section1 .form_wrap h2 b {font-weight: 700; color: var(--s1-primary);}
body.sangjo #section1 .form_wrap ul {display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 14px; margin: 0;}

body.sangjo #section1 .form_wrap li > label,
body.sangjo #section1 .form_wrap .name_wrap > label,
body.sangjo #section1 .form_wrap .field_label {margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--s1-body);}

body.sangjo #section1 .form_wrap input[type='text'],
body.sangjo #section1 .form_wrap .phone_select {height: 52px; border: 1px solid var(--s1-field); border-radius: 10px; background-color: #fff; color: var(--s1-ink);}
body.sangjo #section1 .form_wrap input[type='text']::placeholder {color: #64748B;}
body.sangjo #section1 .form_wrap input[type='text']:focus,
body.sangjo #section1 .form_wrap .phone_select:focus {outline: none; border-color: var(--s1-primary); box-shadow: 0 0 0 3px var(--s1-ring);}

body.sangjo #section1 .form_wrap .gender_wrap {height: 52px; border: 1px solid var(--s1-field); border-radius: 10px; overflow: hidden; background: #fff;}
body.sangjo #section1 .form_wrap .gender_wrap label + input + label {border-left-color: var(--s1-field);}
body.sangjo #section1 .form_wrap .gender_wrap input[type='radio']:checked + label {background: var(--s1-primary); color: #fff;}
body.sangjo #section1 .form_wrap .gender_wrap input[type='radio']:focus-visible + label {outline: 2px solid var(--s1-primary); outline-offset: -5px;}
body.sangjo #section1 .form_wrap .gender_wrap input[type='radio']:checked:focus-visible + label {outline-color: #fff;}

/* 신청 버튼 — 단색 주황 (CTA). 그라데이션·그림자 없음 */
body.sangjo #section1 .form_wrap .submit_btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 52px; margin: 0;
  border: 0; border-radius: 10px;
  background: var(--s1-cta);
  font-size: 17px; font-weight: 700; color: #fff; cursor: pointer;
  transition: background-color 0.2s ease;
}
body.sangjo #section1 .form_wrap .submit_btn::after {content: '→'; font-weight: 400;}
body.sangjo #section1 .form_wrap .submit_btn:active {background: var(--s1-cta-hover);}
body.sangjo #section1 .form_wrap .submit_btn:focus-visible {outline: 3px solid var(--s1-ring); outline-offset: 2px;}
body.sangjo #section1 .form_wrap .submit_btn:disabled {opacity: 0.6; cursor: progress;}
@media (hover: hover) {
  body.sangjo #section1 .form_wrap .submit_btn:hover {background: var(--s1-cta-hover);}}

@media (max-width: 1300px) and (min-width: 1151px) {
  body.sangjo #section1 .s1_panel {padding-left: 48px;}
  body.sangjo #section1 .s1_title {font-size: 46px;}}

/* 태블릿 — 글은 가운데 정렬, 그 아래 그림을 가운데 두고 양쪽 소매를 흐리게, 폼은 두 칸 */
@media (max-width: 1150px) {
  body.sangjo #section1 .content_wrap {padding: 20px 0 8px;}
  body.sangjo #section1 .s1_panel {display: block; min-height: 0; padding: 44px 40px 0; text-align: center;}
  body.sangjo #section1 .s1_live {display: flex; width: fit-content; margin-left: auto; margin-right: auto;}
  body.sangjo #section1 .s1_logo {margin: 0 auto;}
  body.sangjo #section1 .s1_title {font-size: 44px;}
  body.sangjo #section1 .s1_visual {position: relative; right: auto; bottom: auto; width: min(100%, 760px); margin: 28px auto 0;}
  body.sangjo #section1 .s1_visual img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  }
  body.sangjo #section1 .form_wrap {margin: calc(-1 * var(--s1-overlap)) 20px 0;}
  body.sangjo #section1 .form_wrap form {display: block;}
  body.sangjo #section1 .form_wrap ul {grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);}
  body.sangjo #section1 .form_wrap ul > li:last-child {grid-column: 1 / -1;}
  body.sangjo #section1 .form_wrap .submit_btn {height: 56px; margin-top: 18px;}}

/* 모바일 — 그림은 판 끝까지 채우고 9:8 로 가운데를 잘라 쓴다, 폼은 한 칸 */
@media (max-width: 768px) {
  body.sangjo #section1 {--s1-overlap: 24px;}
  body.sangjo #section1 .content_wrap {padding: 16px 0 4px;}
  body.sangjo #section1 .s1_panel {padding: 28px 20px 0;}
  body.sangjo #section1 .s1_logo {height: 36px;}
  body.sangjo #section1 .s1_live {margin-top: 18px; font-size: 13px;}
  body.sangjo #section1 .s1_title {margin-top: 14px; font-size: 34px;}
  body.sangjo #section1 .s1_sub {margin-top: 14px; font-size: 16.5px;}
  body.sangjo #section1 .s1_notice {margin-top: 14px; font-size: 13px;}
  body.sangjo #section1 .s1_visual {width: auto; margin: 16px -20px 0;}
  body.sangjo #section1 .s1_visual img {aspect-ratio: 9 / 8; object-fit: cover; -webkit-mask-image: none; mask-image: none;}
  body.sangjo #section1 .form_wrap {margin: calc(-1 * var(--s1-overlap)) 10px 0; padding: 22px 20px; border-radius: 16px;}
  body.sangjo #section1 .form_wrap h2 {margin-bottom: 16px; font-size: 20px;}
  body.sangjo #section1 .form_wrap ul {display: flex; flex-direction: column; gap: 14px;}}
@media (max-width: 360px) {
  body.sangjo #section1 .s1_title {font-size: 30px;}}
@media (prefers-reduced-motion: reduce) {
  body.sangjo #section1 .s1_live i::after {animation: none;}
  body.sangjo #section1 .form_wrap .submit_btn {transition: none;}}

/* 날짜 + 견적 확인중 배지 — 헤더 로고와 메뉴 사이 (index.php 스크립트가 옮긴다, common/header.php 는 그대로)
 *   한 줄 고정, 글자 대비 4.5:1 이상, 점은 3번만 깜빡이고 멈춤 (ui-ux-pro-max: badge chip · contextual status) */
body.sangjo header .s1_live {display: inline-flex; align-items: center; gap: 8px; flex: none; height: 36px; margin: 0; padding: 0 14px; border: 1px solid #C4B5FD; border-radius: 999px; background: #E0D8F9; font-size: 14px; font-weight: 600; line-height: 1; color: #3B2A6B; white-space: nowrap;}
body.sangjo header .s1_live time {font-weight: 700; font-variant-numeric: tabular-nums;}
body.sangjo header .s1_live i {position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #6D28D9;}
body.sangjo header .s1_live i::after {content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: s1-ping 1.6s cubic-bezier(0, 0, 0.2, 1) 3;}
@media (max-width: 768px) {
  body.sangjo header .s1_live {height: 32px; padding: 0 10px; gap: 6px; font-size: 12px;}}
@media (prefers-reduced-motion: reduce) {
  body.sangjo header .s1_live i::after {animation: none;}}

/* 헤더 + 첫 화면을 한 배경으로 — 래퍼(.s1_wrap)에 bg1 을 깔고, 헤더·섹션1 은 투명하게 둔다 (common/header.php 는 그대로) */
body.sangjo .s1_wrap {background: #EAE7FB url("../img/bg1.webp") center bottom / cover no-repeat;}
body.sangjo header.header {background: transparent; border-bottom: 0;}
/* 모바일 헤더는 고정이라 스크롤 시 본문이 비쳐 보이지 않게 단색을 깐다 — bg1 윗부분 색(#EAE7FB)이라 첫 화면과 이어진다 */
@media (max-width: 768px) {
  body.sangjo header.header {background: #EAE7FB; border-bottom: 1px solid #E0D8F9;}}

/* 첫 화면 글 — 제목 · 설명 · 안내만 새로 꾸몄다 (로고·배지·그림·폼은 그대로) */
body.sangjo #section1 .s1_title {margin-top: 0; font-size: 52px; font-weight: 800; line-height: 1.2; color: var(--s1-ink); word-break: keep-all;}
body.sangjo #section1 .s1_title em {font-style: normal; color: var(--s1-ink); background: #E0D8F9; padding: 0 0.14em; margin: 0 -0.14em; border-radius: 12px; box-decoration-break: clone; -webkit-box-decoration-break: clone;}

/* 설명 — 왼쪽 파란 줄, 첫 줄은 굵게 */
body.sangjo #section1 .s1_sub {margin-top: 24px; padding-left: 16px; border-left: 3px solid var(--s1-primary); font-size: 19px; line-height: 1.6; color: var(--s1-body); word-break: keep-all;}
body.sangjo #section1 .s1_sub strong {display: block; font-weight: 700; color: var(--s1-ink);}
body.sangjo #section1 .s1_sub br {display: none;}

/* 안내 — 흰 칩, 앞에 보라 점 */
body.sangjo #section1 .s1_notice {display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 10px 14px; border: 1px solid var(--s1-line); border-radius: 12px; background: #fff; font-size: 14px; line-height: 1.5; color: var(--s1-muted); word-break: keep-all;}
body.sangjo #section1 .s1_notice::before {content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #6D28D9;}

@media (max-width: 1300px) and (min-width: 1151px) {
  body.sangjo #section1 .s1_title {font-size: 46px;}}
@media (max-width: 1150px) {
  body.sangjo #section1 .s1_title {font-size: 44px;}
  body.sangjo #section1 .s1_sub {padding-left: 0; border-left: 0;}}
@media (max-width: 768px) {
  body.sangjo #section1 .s1_title {font-size: 34px;}
  body.sangjo #section1 .s1_sub {margin-top: 16px; font-size: 16.5px;}
  body.sangjo #section1 .s1_notice {margin-top: 18px; padding: 9px 12px; font-size: 13px;}}
@media (max-width: 360px) {
  body.sangjo #section1 .s1_title {font-size: 30px;}}

/* 설명 아래 링크 — 누르면 신청 카드로 내려간다. 안내 문구와 간격도 함께 맞춘다 */
body.sangjo #section1 .s1_cta {display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--s1-primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;}
body.sangjo #section1 .s1_cta:focus-visible {outline: 3px solid var(--s1-ring); outline-offset: 3px; border-radius: 4px;}
body.sangjo #section1 .s1_notice {margin-top: 12px;}

/* 첫 화면 글 — 꾸밈 없이 그대로 쓴다 (제목 강조 배경, 설명 세로줄·굵은 글씨, 안내 칩, 링크 테두리 없음) */
body.sangjo #section1 .s1_title em {color: inherit; background: none; padding: 0;}
body.sangjo #section1 .s1_sub {padding-left: 0; border-left: 0;}
body.sangjo #section1 .s1_sub strong {display: inline; font-weight: 400; color: inherit;}
body.sangjo #section1 .s1_sub br {display: inline;}
body.sangjo #section1 .s1_cta {display: inline; height: auto; margin-top: 20px; padding: 0; border: 0; border-radius: 0; background: none; font-size: 16px; font-weight: 400; color: var(--s1-primary); text-decoration: underline; text-underline-offset: 4px;}
body.sangjo #section1 .s1_notice {display: block; margin-top: 20px; padding: 0; border: 0; border-radius: 0; background: none; font-size: 14px; line-height: 1.6; color: var(--s1-muted);}
body.sangjo #section1 .s1_notice::before {content: none; display: none;}

/* 첫 화면 글자 크기 — 키움 (PC 제목 60 · 설명 22 · 링크 18 · 안내 16) */
body.sangjo #section1 .s1_title {font-size: 60px;}
body.sangjo #section1 .s1_sub {font-size: 22px;}
body.sangjo #section1 .s1_cta {font-size: 18px;}
body.sangjo #section1 .s1_notice {font-size: 16px;}
@media (max-width: 1300px) and (min-width: 1151px) {
  body.sangjo #section1 .s1_title {font-size: 54px;}
  body.sangjo #section1 .s1_sub {font-size: 20px;}}
@media (max-width: 1150px) {
  body.sangjo #section1 .s1_title {font-size: 52px;}
  body.sangjo #section1 .s1_sub {font-size: 21px;}}
@media (max-width: 768px) {
  body.sangjo #section1 .s1_title {font-size: 40px;}
  body.sangjo #section1 .s1_sub {font-size: 18px;}
  body.sangjo #section1 .s1_cta {font-size: 17px;}
  body.sangjo #section1 .s1_notice {font-size: 14px;}}
@media (max-width: 360px) {
  body.sangjo #section1 .s1_title {font-size: 34px;}}

/* 신청 카드 — 메인 컬러 E0D8F9. 입력칸은 흰색으로 남겨 글자 대비를 지키고, 선택·버튼은 진한 보라 */
body.sangjo #section1 .form_wrap {background: #E0D8F9;}

/* 신청 폼 — ui-ux-pro-max 폼 규칙 (보이는 라벨 · 칸 아래 오류 연결 · 포커스 링 · 터치 52px · 8px 간격 · 대비 4.5:1)
 *   카드 색은 메인 컬러 E0D8F9. 입력칸은 흰색(글자 대비), 선택과 버튼은 진한 보라 */

body.sangjo #section1 .form_wrap {margin: 0; padding: 32px; border: 1px solid var(--s1-line); border-radius: 20px; background: #E0D8F9;}
body.sangjo #section1 .form_wrap form {display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: end; column-gap: 16px;}
body.sangjo #section1 .form_wrap h2 {grid-column: 1 / -1; margin: 0 0 20px; font-size: 22px; font-weight: 700; line-height: 1.4; color: var(--s1-ink);}
body.sangjo #section1 .form_wrap h2 b {color: var(--s1-primary);}
body.sangjo #section1 .form_wrap ul {display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; margin: 0;}
body.sangjo #section1 .form_wrap .basic_info_item {display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end;}

/* 라벨은 칸 위에 항상 보인다 */
body.sangjo #section1 .form_wrap li > label,
body.sangjo #section1 .form_wrap .name_wrap > label,
body.sangjo #section1 .form_wrap .field_label {display: block; margin: 0 0 8px; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--s1-ink);}

/* 입력칸 — 높이 52px, 글자 16px (모바일 확대 방지) */
body.sangjo #section1 .form_wrap input[type='text'],
body.sangjo #section1 .form_wrap .phone_select {height: 52px; border: 1px solid var(--s1-field); border-radius: 12px; background-color: #fff; color: var(--s1-ink); font-size: 16px;}
body.sangjo #section1 .form_wrap input[type='text'] {padding: 0 16px;}
body.sangjo #section1 .form_wrap .phone_select {padding: 0 34px 0 14px;}
body.sangjo #section1 .form_wrap input[type='text']::placeholder {color: #6B6785;}
body.sangjo #section1 .form_wrap input[type='text']:focus,
body.sangjo #section1 .form_wrap .phone_select:focus {outline: none; border-color: var(--s1-primary); box-shadow: 0 0 0 3px var(--s1-ring);}
body.sangjo #section1 .form_wrap input[type='text'][aria-invalid='true'] {border-color: #B91C1C;}

/* 성별 — 선택된 칸은 진한 보라 */
body.sangjo #section1 .form_wrap .gender_wrap {height: 52px; border: 1px solid var(--s1-field); border-radius: 12px; overflow: hidden; background: #fff;}
body.sangjo #section1 .form_wrap .gender_wrap label {font-size: 16px; font-weight: 600; color: var(--s1-body);}
body.sangjo #section1 .form_wrap .gender_wrap label + input + label {border-left: 1px solid var(--s1-field);}
body.sangjo #section1 .form_wrap .gender_wrap input[type='radio']:checked + label {background: var(--s1-primary); color: #fff; font-weight: 700;}
body.sangjo #section1 .form_wrap .gender_wrap input[type='radio']:focus-visible + label {outline: 2px solid var(--s1-primary); outline-offset: -3px;}

/* 신청 버튼 */
body.sangjo #section1 .form_wrap .submit_btn {height: 52px; margin: 0; border: 0; border-radius: 12px; background: var(--s1-cta); font-size: 17px; font-weight: 700; color: #fff; cursor: pointer; transition: background-color 0.2s ease;}
body.sangjo #section1 .form_wrap .submit_btn:active {background: var(--s1-cta-hover);}
body.sangjo #section1 .form_wrap .submit_btn:focus-visible {outline: 3px solid var(--s1-ring); outline-offset: 2px;}
body.sangjo #section1 .form_wrap .submit_btn:disabled {opacity: 0.6; cursor: progress;}
@media (hover: hover) {
  body.sangjo #section1 .form_wrap .submit_btn:hover {background: var(--s1-cta-hover);}}

/* 태블릿 — 이름·성별 한 줄, 생년월일·연락처 두 칸 */
@media (max-width: 1150px) {
  body.sangjo #section1 .form_wrap {padding: 28px;}
  body.sangjo #section1 .form_wrap form {display: block;}
  body.sangjo #section1 .form_wrap ul {grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);}
  body.sangjo #section1 .form_wrap ul > li:first-child {grid-column: 1 / -1;}
  body.sangjo #section1 .form_wrap .submit_btn {height: 56px; margin-top: 20px;}}

/* 모바일 — 한 칸, 모든 칸 세로로 쌓고 16px 간격 */
@media (max-width: 768px) {
  body.sangjo #section1 .form_wrap {padding: 24px 20px; border-radius: 16px;}
  body.sangjo #section1 .form_wrap h2 {margin-bottom: 16px; font-size: 20px;}
  body.sangjo #section1 .form_wrap ul {display: flex; flex-direction: column; gap: 16px;}
  body.sangjo #section1 .form_wrap .basic_info_item {grid-template-columns: 1fr;}
  body.sangjo #section1 .form_wrap .gender_wrap label {flex: 1; width: auto;}}

/* 배경은 흰색 — 헤더와 첫 화면 */
body.sangjo .s1_wrap {background: #fff;}
@media (max-width: 768px) {
  body.sangjo header.header {background: #fff; border-bottom: 1px solid #E5E7EB;}}

/* 신청 폼 — 섹션1 아래로 섹션2 위쪽 여백(--sec-pad) 안에서 걸친다. 제목은 가리지 않는 높이만큼만 */
body.sangjo #section1 {padding-bottom: 0;}
body.sangjo #section1 .content_wrap {padding-bottom: 0;}
body.sangjo #section1 .form_wrap {position: relative; z-index: 2; margin-bottom: -72px;}
@media (max-width: 1150px) {
  body.sangjo #section1 .form_wrap {margin-bottom: -64px;}}
@media (max-width: 768px) {
  body.sangjo #section1 .form_wrap {margin-bottom: -40px;}}
@media (max-width: 360px) {
  body.sangjo #section1 .form_wrap {margin-bottom: -28px;}}

/* 배경 되돌림 — 첫 화면은 bg1 (흰색 취소). 신청 카드는 메인 컬러 그대로 */
body.sangjo .s1_wrap {background: #EAE7FB url("../img/bg1.webp") center bottom / cover no-repeat;}
@media (max-width: 768px) {
  body.sangjo header.header {background: #EAE7FB; border-bottom: 1px solid #E0D8F9;}}

/* 신청 카드 배경 — 흰색 */
body.sangjo #section1 .form_wrap {background: #fff;}

/* 제목 — 두 줄 모두 메인 컬러 바탕. 글자는 진한 색 (연보라 글씨는 연보라 배경에 묻힌다) */
body.sangjo #section1 .s1_title {display: inline; padding: 0 0.16em; background: #E0D8F9; box-decoration-break: clone; -webkit-box-decoration-break: clone;}

/* 제목 — 글자 메인 컬러 E0D8F9, 바탕은 진한 보라 3B2A6B (글자 대비 9:1) */
body.sangjo #section1 .s1_title {color: #E0D8F9; background: #3B2A6B;}

/* 제목 — 글자만 메인 컬러 E0D8F9, 바탕 없음 */
body.sangjo #section1 .s1_title {color: #E0D8F9; background: none;}

/* 제목 — 글자 진한 보라 6D28D9 (연보라 배경 위 대비 약 6:1), 바탕 없음 */
body.sangjo #section1 .s1_title {color: #6D28D9; background: none;}

/* 제목 — 글자 보라 7C3AED (연보라 배경 위 대비 약 4.9:1), 바탕 없음 */
body.sangjo #section1 .s1_title {color: #7C3AED; background: none;}

/* 제목 — 글자 보라 8B5CF6 (연보라 배경 위 대비 약 3.7:1, 큰 글씨 기준 통과), 바탕 없음 */
body.sangjo #section1 .s1_title {color: #8B5CF6; background: none;}

/* 제목 — 글자 탁한 보라 7A6A9E (채도를 낮춰 덜 쨍하게, 연보라 배경 위 대비 약 4.1:1), 바탕 없음 */
body.sangjo #section1 .s1_title {color: #7A6A9E; background: none;}

/* 제목 — 글자 탁한 보라 66578A (7A6A9E 보다 어둡게, 연보라 배경 위 대비 약 5.5:1), 바탕 없음 */
body.sangjo #section1 .s1_title {color: #66578A; background: none;}

/* 제목 — 글자 검정 111111, 바탕 없음 */
body.sangjo #section1 .s1_title {color: #111111; background: none;}

/* 제목 — 글자는 검정, '상조 납입금,' 만 탁한 보라 66578A */
body.sangjo #section1 .s1_title {color: #111111;}
body.sangjo #section1 .s1_title .s1_title_hl {color: #66578A;}

/* 제목 — '상조 납입금,' 어두운 보라 4C1D95 */
body.sangjo #section1 .s1_title .s1_title_hl {color: #4C1D95;}

/* 신청 폼 — 버튼·선택 칸은 메인 컬러 E0D8F9 바탕 + 진한 보라 글씨 (대비 8.9:1), 폼 글씨는 어두운 보라 4C1D95 (흰 카드 위 대비 11:1) */
body.sangjo #section1 .form_wrap h2, body.sangjo #section1 .form_wrap h2 b {color: #4C1D95;}
body.sangjo #section1 .form_wrap li > label, body.sangjo #section1 .form_wrap .name_wrap > label, body.sangjo #section1 .form_wrap .field_label {color: #4C1D95;}
body.sangjo #section1 .form_wrap input[type='text'], body.sangjo #section1 .form_wrap .phone_select {color: #4C1D95;}
body.sangjo #section1 .form_wrap .gender_wrap label {color: #4C1D95;}
body.sangjo #section1 .form_wrap .gender_wrap input[type='radio']:checked + label {background: #E0D8F9; color: #3B2A6B;}
body.sangjo #section1 .form_wrap .submit_btn {background: #E0D8F9; color: #3B2A6B;}
body.sangjo #section1 .form_wrap .submit_btn:active {background: #CFC3F2;}
@media (hover: hover) {
  body.sangjo #section1 .form_wrap .submit_btn:hover {background: #CFC3F2;}}

/* 버튼 — 검정 바탕, 흰 글씨 (대비 21:1) */
body.sangjo #section1 .form_wrap .submit_btn {background: #000; color: #fff;}
body.sangjo #section1 .form_wrap .submit_btn:active {background: #222;}
@media (hover: hover) {
  body.sangjo #section1 .form_wrap .submit_btn:hover {background: #222;}}

/* 입력칸 — 메인 컬러 E0D8F9 를 투명도 0.3 으로 깐다 (테두리는 그대로) */
body.sangjo #section1 .form_wrap input[type='text'], body.sangjo #section1 .form_wrap .phone_select {background-color: rgba(224, 216, 249, 0.3);}

/* 입력칸 — 테두리 없음 (배경 색으로만 칸을 구분) */
body.sangjo #section1 .form_wrap input[type='text'], body.sangjo #section1 .form_wrap .phone_select {border: 0;}

/* 성별 버튼 — 테두리 없음, 입력칸과 같은 연한 메인 컬러 바탕 (칸 구분용) */
body.sangjo #section1 .form_wrap .gender_wrap {border: 0; background: rgba(224, 216, 249, 0.3);}
body.sangjo #section1 .form_wrap .gender_wrap label + input + label {border-left: 0;}

/* 신청 카드 — 테두리 없음, 연보라 그림자를 넓게 퍼뜨려 그라데이션처럼 */
body.sangjo #section1 .form_wrap {border: 0; box-shadow: 0 28px 72px -16px rgba(124, 58, 237, 0.28), 0 8px 24px -8px rgba(124, 58, 237, 0.12);}

/* 신청 카드 그림자 — 더 넓게 퍼지게 */
body.sangjo #section1 .form_wrap {box-shadow: 0 40px 120px -20px rgba(124, 58, 237, 0.3), 0 12px 48px -12px rgba(124, 58, 237, 0.14);}

/* 그림 — 곱하기 합성 끄고 배경 위에 올린다 (곱하기 때문에 배경 밑에 깔린 것처럼 보였다) */
body.sangjo #section1 .s1_visual {z-index: 1;}
body.sangjo #section1 .s1_visual img {mix-blend-mode: normal;}

/* 공용 모달 — 강조색을 메인 컬러 계열 진한 보라 4C1D95 로 (버튼 흰 글씨 대비 약 11:1). 연보라 E0D8F9 는 버튼 글씨가 안 보여 쓰지 않는다 */
body.sangjo .gmodal {--modal-accent: #4C1D95;}

/* 섹션2 윗여백 — 신청 폼이 내려와 걸치는 만큼 더 준다 (기본 --sec-pad 에 추가) */
body.sangjo #section4 {padding-top: calc(var(--sec-pad) + 80px);}
@media (max-width: 1150px) {
  body.sangjo #section4 {padding-top: calc(var(--sec-pad) + 64px);}}
@media (max-width: 768px) {
  body.sangjo #section4 {padding-top: calc(var(--sec-pad) + 48px);}}
@media (max-width: 360px) {
  body.sangjo #section4 {padding-top: calc(var(--sec-pad) + 36px);}}

/* 섹션2 윗여백 — 한 번 더 늘림 (기본 --sec-pad 에 추가) */
body.sangjo #section4 {padding-top: calc(var(--sec-pad) + 160px);}
@media (max-width: 1150px) {
  body.sangjo #section4 {padding-top: calc(var(--sec-pad) + 120px);}}
@media (max-width: 768px) {
  body.sangjo #section4 {padding-top: calc(var(--sec-pad) + 96px);}}
@media (max-width: 360px) {
  body.sangjo #section4 {padding-top: calc(var(--sec-pad) + 72px);}}

/* 최근 신청 띠 — 신청 카드 아래, 한 줄씩 위로 넘어간다 (데이터 없으면 숨김) */
body.sangjo #section1 .s1_recent {position: relative; display: flex; align-items: center; height: 44px; margin-top: 20px; padding: 0 16px; overflow: hidden; border-radius: 12px; background: rgba(224, 216, 249, 0.3); font-size: 15px; line-height: 1.4; color: #4C1D95;}
body.sangjo #section1 .s1_recent[hidden] {display: none;}
body.sangjo #section1 .s1_recent_item {margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: transform 0.4s ease, opacity 0.4s ease;}
body.sangjo #section1 .s1_recent_item.is-out {opacity: 0; transform: translateY(-100%);}
body.sangjo #section1 .s1_recent_item.is-jump {transition: none; opacity: 0; transform: translateY(100%);}
@media (prefers-reduced-motion: reduce) {
  body.sangjo #section1 .s1_recent_item {transition: none;}}

/* 최근 신청 띠 — 5줄을 한 번에 보여주고, 한 줄씩 위로 올라간다 (줄 높이 28px × 5줄) */
body.sangjo #section1 .s1_recent {display: block; height: 140px; margin-top: 20px; padding: 0 16px; overflow: hidden; border-radius: 12px; background: rgba(224, 216, 249, 0.3); font-size: 15px; color: #4C1D95;}
body.sangjo #section1 .s1_recent[hidden] {display: none;}
body.sangjo #section1 .s1_recent_list {margin: 0; padding: 0; list-style: none;}
body.sangjo #section1 .s1_recent_list li {height: 28px; line-height: 28px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}

/* 최근 신청 띠 — ui-ux-pro-max: 자동 넘김에는 멈춤 버튼, 마우스 올리면 멈춤, 움직임 줄이기면 처음부터 멈춤 */
body.sangjo #section1 .s1_recent {display: block; height: auto; margin-top: 20px; padding: 14px 16px 12px; border-radius: 16px; background: rgba(224, 216, 249, 0.3);}
body.sangjo #section1 .s1_recent[hidden] {display: none;}
body.sangjo #section1 .s1_recent_head {display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px;}
body.sangjo #section1 .s1_recent_label {font-size: 13px; font-weight: 700; color: #4C1D95;}
body.sangjo #section1 .s1_recent_toggle {min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; color: #4C1D95; cursor: pointer;}
body.sangjo #section1 .s1_recent_toggle:focus-visible {outline: 3px solid var(--s1-ring); outline-offset: 2px;}
body.sangjo #section1 .s1_recent_view {height: 140px; overflow: hidden;}

/* 최근 신청 띠 — 다듬기: 박스 없이 카드 안 구분선 목록, 위아래 페이드, 조용한 버튼 */
body.sangjo #section1 .s1_recent {margin-top: 24px; padding: 16px 0 0; border-radius: 0; background: none; border-top: 1px solid #EDE9FE;}
body.sangjo #section1 .s1_recent_head {margin-bottom: 10px;}
body.sangjo #section1 .s1_recent_label {display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #4C1D95;}
body.sangjo #section1 .s1_recent_label::before {content: ''; width: 6px; height: 6px; border-radius: 50%; background: #7C3AED;}
body.sangjo #section1 .s1_recent_toggle {min-height: 32px; padding: 0 2px; border: 0; background: none; font-size: 13px; font-weight: 600; color: #5B5775; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;}
body.sangjo #section1 .s1_recent_view {height: 140px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);}
body.sangjo #section1 .s1_recent_list li {box-sizing: border-box; height: 28px; line-height: 28px; font-size: 14px; color: #3F3B5C; border-bottom: 1px solid #F1EEFB;}

/* 최근 신청 띠 — 가로 3칸만 보이고, 한 칸씩 왼쪽으로 밀려간다 */
body.sangjo #section1 .s1_recent_view {height: auto; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);}
body.sangjo #section1 .s1_recent_list {display: flex; gap: 10px;}
body.sangjo #section1 .s1_recent_list li {flex: 0 0 calc((100% - 20px) / 3); box-sizing: border-box; height: 64px; padding: 12px 14px; border: 1px solid #E9E3FB; border-radius: 12px; background: #fff; font-size: 13px; line-height: 1.45; color: #3F3B5C; white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;}
@media (max-width: 768px) {
  body.sangjo #section1 .s1_recent_list li {padding: 10px; font-size: 12.5px;}}

/* 최근 신청 띠 — 신청 폼 안에 있어 폼 목록 규칙(3열 그리드, 모바일 세로)을 받던 것을 되돌린다: 가로 한 줄, 3칸 */
body.sangjo #section1 .form_wrap .s1_recent_list {display: flex; flex-direction: row; grid-template-columns: none; gap: 10px; margin: 0; padding: 0;}
body.sangjo #section1 .form_wrap .s1_recent_list li {flex: 0 0 calc((100% - 20px) / 3); grid-column: auto; box-sizing: border-box; height: 64px; margin: 0; padding: 12px 14px; border: 1px solid #E9E3FB; border-radius: 12px; background: #fff; font-size: 13px; line-height: 1.45; color: #3F3B5C; white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;}
body.sangjo #section1 .form_wrap .s1_recent_list li:last-child {grid-column: auto;}
@media (max-width: 768px) {
  body.sangjo #section1 .form_wrap .s1_recent_list li {padding: 10px; font-size: 12.5px;}}

/* 최근 신청 카드 — 예시 태그 · 이름 · 시간을 나눠 보여준다 (2줄 자르기 없음) */
body.sangjo #section1 .form_wrap .s1_recent_list li {display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; height: 84px; padding: 14px 16px; border: 1px solid #EDE9FE; border-radius: 14px; background: #fff; line-height: 1.4; white-space: nowrap; overflow: hidden;}
body.sangjo #section1 .form_wrap .s1_recent_tag {padding: 2px 8px; border-radius: 999px; background: #EDE9FE; font-size: 11px; font-weight: 700; line-height: 1.6; color: #5B21B6;}
body.sangjo #section1 .form_wrap .s1_recent_list li strong {max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: 15px; font-weight: 700; color: #1E1B3A;}
body.sangjo #section1 .form_wrap .s1_recent_when {font-size: 13px; color: #5B5775;}
@media (max-width: 768px) {
  body.sangjo #section1 .form_wrap .s1_recent_list li {height: 80px; padding: 12px; gap: 4px;}
  body.sangjo #section1 .form_wrap .s1_recent_list li strong {font-size: 14px;}
  body.sangjo #section1 .form_wrap .s1_recent_when {font-size: 12px;}}

/* 최근 신청 띠 — 양쪽 페이드 제거: 가장자리에서 카드가 흐려지며 잘려 보이던 문제 */
body.sangjo #section1 .s1_recent_view {-webkit-mask-image: none; mask-image: none;}

/* 최근 신청 카드 — 모서리 둥글기 100px (캡슐 모양). 둥근 끝에 글씨가 닿지 않게 좌우 여백을 넓힘 */
body.sangjo #section1 .form_wrap .s1_recent_list li {border-radius: 100px; padding: 14px 22px;}
@media (max-width: 768px) {
  body.sangjo #section1 .form_wrap .s1_recent_list li {padding: 12px 16px;}}

/* 최근 신청 카드 — 태그 · 이름 · 시간을 한 줄로 가로 배치 */
body.sangjo #section1 .form_wrap .s1_recent_list li {flex-direction: row; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 22px;}
body.sangjo #section1 .form_wrap .s1_recent_list li strong {min-width: 0; flex: 0 1 auto;}
body.sangjo #section1 .form_wrap .s1_recent_tag,
body.sangjo #section1 .form_wrap .s1_recent_when {flex: none;}
@media (max-width: 768px) {
  body.sangjo #section1 .form_wrap .s1_recent_list li {height: 52px; padding: 0 14px; gap: 6px;}}

/* 최근 신청 카드 — 배경 회색, 테두리 없음 */
body.sangjo #section1 .form_wrap .s1_recent_list li {background: #F3F4F6; border: 0;}

/* 최근 신청 카드 — 글씨 키움 (이름 17 · 시간 15 · 태그 12) */
body.sangjo #section1 .form_wrap .s1_recent_list li {height: 60px;}
body.sangjo #section1 .form_wrap .s1_recent_list li strong {font-size: 17px;}
body.sangjo #section1 .form_wrap .s1_recent_when {font-size: 15px;}
body.sangjo #section1 .form_wrap .s1_recent_tag {font-size: 12px;}
@media (max-width: 768px) {
  body.sangjo #section1 .form_wrap .s1_recent_list li {height: 56px;}
  body.sangjo #section1 .form_wrap .s1_recent_list li strong {font-size: 15px;}
  body.sangjo #section1 .form_wrap .s1_recent_when {font-size: 13px;}
  body.sangjo #section1 .form_wrap .s1_recent_tag {font-size: 11px;}}

/* 최근 신청 카드 — 앞에 보라 동그라미 (보험료 기준 앞 점과 같은 색) */
body.sangjo #section1 .form_wrap .s1_recent_list li::before {content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #7C3AED;}

/* ── 섹션2 (section_why): 미리 비교해야 하는 이유 + 진행 과정 그림 ──
   ui-ux-pro-max: Feature showcase — 왼쪽 제목·이유 카드 4개, 오른쪽 그림. 카드 한 장에 메시지 하나, 번호 배지는 메인 컬러 E0D8F9 */
body.sangjo #section_why {padding: var(--sec-pad) 0; background: #F7F5FE;}
body.sangjo #section_why > .inner {display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); grid-template-areas: "head visual" "list visual"; gap: 40px 80px; align-items: center; width: min(var(--wrap), calc(100% - 48px)); max-width: none; margin: 0 auto;}
body.sangjo #section_why .why_head {grid-area: head; align-self: end;}
body.sangjo #section_why .why_title {margin: 0; font-size: 44px; font-weight: 800; line-height: 1.3; letter-spacing: -1.5px; color: #111; word-break: keep-all;}
body.sangjo #section_why .why_title span {color: #4C1D95;}
body.sangjo #section_why .why_sub {margin-top: 16px; font-size: 20px; line-height: 1.6; color: #4B5563; word-break: keep-all;}
body.sangjo #section_why .why_list {grid-area: list; align-self: start; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none;}
body.sangjo #section_why .why_list li {display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: center; padding: 22px 28px; border-radius: 20px; background: #fff; box-shadow: 0 12px 32px -16px rgba(76, 29, 149, 0.22);}
body.sangjo #section_why .why_num {display: flex; align-items: center; justify-content: center; height: 36px; border-radius: 100px; background: #E0D8F9; font-size: 16px; font-weight: 800; color: #4C1D95; font-variant-numeric: tabular-nums;}
body.sangjo #section_why .why_txt h3 {margin: 0; font-size: 21px; font-weight: 700; line-height: 1.4; letter-spacing: -0.5px; color: #111; word-break: keep-all;}
body.sangjo #section_why .why_txt p {margin-top: 4px; font-size: 17px; line-height: 1.5; color: #4B5563; word-break: keep-all;}
body.sangjo #section_why .why_visual {grid-area: visual; margin: 0;}
body.sangjo #section_why .why_visual img {display: block; width: 100%; height: auto;}

@media (max-width: 1150px) {
  body.sangjo #section_why > .inner {grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 32px 48px;}
  body.sangjo #section_why .why_title {font-size: 38px;}}
@media (max-width: 900px) {
  body.sangjo #section_why > .inner {grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "visual" "list"; gap: 32px;}
  body.sangjo #section_why .why_head {text-align: center;}
  body.sangjo #section_why .why_visual {justify-self: center; width: min(100%, 480px);}}
@media (max-width: 768px) {
  body.sangjo #section_why > .inner {width: calc(100% - 32px);}
  body.sangjo #section_why .why_title {font-size: 30px; letter-spacing: -1px;}
  body.sangjo #section_why .why_sub {margin-top: 10px; font-size: 17px;}
  body.sangjo #section_why .why_list li {grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px 20px; border-radius: 16px;}
  body.sangjo #section_why .why_num {height: 30px; font-size: 14px;}
  body.sangjo #section_why .why_txt h3 {font-size: 18px;}
  body.sangjo #section_why .why_txt p {font-size: 15px;}}
@media (max-width: 360px) {
  body.sangjo #section_why .why_title {font-size: 26px;}}

/* 폼이 걸치는 윗여백은 이제 바로 아래 섹션인 section_why 가 받는다. 체크리스트(section4)는 기본 여백으로 */
body.sangjo #section_why {padding-top: calc(var(--sec-pad) + 160px);}
body.sangjo #section4 {padding-top: var(--sec-pad);}
@media (max-width: 1150px) {
  body.sangjo #section_why {padding-top: calc(var(--sec-pad) + 120px);}}
@media (max-width: 768px) {
  body.sangjo #section_why {padding-top: calc(var(--sec-pad) + 96px);}}
@media (max-width: 360px) {
  body.sangjo #section_why {padding-top: calc(var(--sec-pad) + 72px);}}

/* 하단 고정 폼 (PC) — 상단 신청 폼과 같은 색: 글씨 4C1D95, 입력칸 메인 컬러 30% 바탕·보더 없음, 성별 선택 E0D8F9, 버튼 검정 */
body.sangjo .bottom_form {background: #fff; border-top: 1px solid #EDE9FE; box-shadow: 0 -16px 48px -12px rgba(124, 58, 237, 0.18);}
body.sangjo .bottom_form_title {color: #6B5B95;}
body.sangjo .bottom_form_title b {color: #4C1D95;}
body.sangjo .bf_field {border: 0; background: rgba(224, 216, 249, 0.3);}
body.sangjo .bf_field:focus-within {border: 0; box-shadow: inset 0 0 0 2px #7C3AED;}
body.sangjo .bf_field label {color: #4C1D95;}
body.sangjo .bf_field input,
body.sangjo .bf_field select {color: #111;}
body.sangjo .bf_field input::placeholder {color: #9C8FC4;}
body.sangjo .bf_gender {border: 0; background: rgba(224, 216, 249, 0.3);}
body.sangjo .bf_gender label {color: #4C1D95;}
body.sangjo .bf_gender label + input + label {border-left: 1px solid #fff;}
body.sangjo .bf_gender input[type='radio']:checked + label {background: #E0D8F9; color: #3B2A6B;}
body.sangjo .bf_gender input[type='radio']:focus-visible + label {outline-color: #7C3AED;}
body.sangjo .bottom_form_submit {background: #000; color: #fff;}
body.sangjo .bottom_form_submit:hover,
body.sangjo .bottom_form_submit:active {background: #222;}
body.sangjo .bottom_form_submit:focus-visible {outline-color: #7C3AED;}

/* ── 섹션3 (section_fit): 이런 분이라면 상담받아 보세요 ──
   광고 랜딩 — 자기 상황에 공감하게 하는 체크리스트. 섹션2(연보라)와 번갈아 흰 바탕, 카드는 연보라 면.
   체크 아이콘은 장식(aria-hidden), 강조어는 진한 보라 4C1D95 (흰/연보라 위 대비 10:1 이상) */
body.sangjo #section_fit {padding: var(--sec-pad) 0; background: #fff;}
body.sangjo #section_fit > .inner {width: min(var(--wrap), calc(100% - 48px)); max-width: none; margin: 0 auto;}
body.sangjo #section_fit .fit_title {margin: 0 0 56px; font-size: 44px; font-weight: 800; line-height: 1.3; letter-spacing: -1.5px; text-align: center; color: #111; word-break: keep-all;}
body.sangjo #section_fit .fit_title br {display: none;}
body.sangjo #section_fit .fit_title span {color: #4C1D95;}
body.sangjo #section_fit .fit_list {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 960px; margin: 0 auto; padding: 0; list-style: none;}
body.sangjo #section_fit .fit_list li {display: flex; align-items: center; gap: 18px; min-height: 108px; padding: 24px 32px; border-radius: 24px; background: #F7F5FE;}
body.sangjo #section_fit .fit_chk {display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #E0D8F9;}
body.sangjo #section_fit .fit_chk svg {width: 24px; height: 24px; fill: none; stroke: #4C1D95; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;}
body.sangjo #section_fit .fit_list p {margin: 0; font-size: 21px; font-weight: 500; line-height: 1.45; letter-spacing: -0.5px; color: #111; word-break: keep-all;}
body.sangjo #section_fit .fit_list strong {font-weight: 800; color: #4C1D95;}
body.sangjo #section_fit .fit_note {width: fit-content; margin: 40px auto 0; padding: 16px 32px; border-radius: 100px; background: #E0D8F9; font-size: 20px; font-weight: 600; line-height: 1.4; text-align: center; color: #3B2A6B; word-break: keep-all;}
body.sangjo #section_fit .fit_note strong {font-weight: 800; color: #4C1D95;}

@media (max-width: 1150px) {
  body.sangjo #section_fit .fit_title {font-size: 38px;}}
@media (max-width: 768px) {
  body.sangjo #section_fit > .inner {width: calc(100% - 32px);}
  body.sangjo #section_fit .fit_title {margin-bottom: 32px; font-size: 30px; letter-spacing: -1px;}
  body.sangjo #section_fit .fit_title br {display: inline;}
  body.sangjo #section_fit .fit_list {grid-template-columns: minmax(0, 1fr); gap: 10px;}
  body.sangjo #section_fit .fit_list li {gap: 14px; min-height: 0; padding: 18px 20px; border-radius: 18px;}
  body.sangjo #section_fit .fit_chk {width: 36px; height: 36px;}
  body.sangjo #section_fit .fit_chk svg {width: 20px; height: 20px;}
  body.sangjo #section_fit .fit_list p {font-size: 17px;}
  body.sangjo #section_fit .fit_note {width: auto; margin-top: 24px; padding: 14px 20px; font-size: 16px;}}
@media (max-width: 360px) {
  body.sangjo #section_fit .fit_title {font-size: 26px;}
  body.sangjo #section_fit .fit_list p {font-size: 16px;}}

/* 섹션3 그림(sc3_img1) — PC: 왼쪽 그림 / 오른쪽 제목·체크리스트·안내 (섹션2와 좌우 반대로 지그재그).
   그림은 고민하는 모습을 보여 주는 장식이라 alt 비움 (내용은 옆 글이 전한다) */
body.sangjo #section_fit > .inner {display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); grid-template-areas: "visual title" "visual list" "visual note"; grid-template-rows: auto auto 1fr; gap: 0 72px; align-items: start;}
body.sangjo #section_fit .fit_visual {grid-area: visual; align-self: center; margin: 0;}
body.sangjo #section_fit .fit_visual img {display: block; width: 100%; height: auto;}
body.sangjo #section_fit .fit_title {grid-area: title; margin-bottom: 36px; text-align: left;}
body.sangjo #section_fit .fit_title br {display: inline;}
body.sangjo #section_fit .fit_list {grid-area: list; grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: none; margin: 0;}
body.sangjo #section_fit .fit_list li {min-height: 0; padding: 20px 28px; border-radius: 20px;}
body.sangjo #section_fit .fit_note {grid-area: note; margin: 24px 0 0;}
@media (min-width: 901px) {
  body.sangjo #section_fit > .inner {align-content: center;}
  body.sangjo #section_fit .fit_title {align-self: end;}}
@media (max-width: 1150px) {
  body.sangjo #section_fit > .inner {grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 0 48px;}}
@media (max-width: 900px) {
  body.sangjo #section_fit > .inner {grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "visual" "list" "note"; grid-template-rows: none;}
  body.sangjo #section_fit .fit_title {margin-bottom: 20px; text-align: center;}
  body.sangjo #section_fit .fit_visual {justify-self: center; width: min(70%, 360px); margin-bottom: 24px;}
  body.sangjo #section_fit .fit_note {justify-self: center;}}
@media (max-width: 768px) {
  body.sangjo #section_fit .fit_list li {padding: 18px 20px; border-radius: 18px;}
  body.sangjo #section_fit .fit_note {justify-self: stretch; margin-top: 20px;}}

/* 섹션2 이유 카드 — 04처럼 설명 줄이 없는 카드도 높이를 똑같이 (가장 높은 카드에 맞추고 글은 세로 가운데) */
body.sangjo #section_why .why_list {grid-auto-rows: 1fr;}

/* ── 모바일 점검 (375px 기준, Pretendard 실측) ── */

/* 최근 신청 카드 — 보이는 카드 수(--n)와 두 줄 배치(is-stack)는 index.php 스크립트가 실제 글자 너비를 재서 정한다.
   한 줄 3장 → 한 줄 2장 → 두 줄(● 이름 / 시간) 2장 → 두 줄 1장 순서로, 이름이 잘리지 않는 첫 배치 */
body.sangjo #section1 .form_wrap .s1_recent_list li {flex: 0 0 calc((100% - (var(--n, 3) - 1) * 10px) / var(--n, 3));}
body.sangjo #section1 .form_wrap .s1_recent_list.is-stack li {display: grid; grid-template-columns: auto auto; justify-content: center; align-content: center; gap: 2px 6px; padding: 0 8px; border-radius: 18px;}
body.sangjo #section1 .form_wrap .s1_recent_list.is-stack li::before {align-self: center;}
body.sangjo #section1 .form_wrap .s1_recent_list.is-stack .s1_recent_when,
body.sangjo #section1 .form_wrap .s1_recent_list.is-stack .s1_recent_tag {grid-column: 1 / -1; justify-self: center;}
body.sangjo #section1 .form_wrap .s1_recent_list.is-measure li {flex: 0 0 auto; width: max-content; max-width: none;}

/* 줄바꿈 균형 — 마지막 줄에 한 글자('분', '있습니다.')만 떨어지지 않게 (지원 안 하는 브라우저는 기존처럼 줄바꿈) */
body.sangjo #section1 .s1_sub,
body.sangjo #section1 .s1_notice,
body.sangjo #section_why .why_sub,
body.sangjo #section_why .why_txt h3,
body.sangjo #section_why .why_txt p,
body.sangjo #section_fit .fit_list p,
body.sangjo #section_fit .fit_note {text-wrap: balance;}

/* 모바일 하단 신청 버튼 — 민트에서 신청 폼 버튼과 같은 검정으로. 어두운 푸터 위에서는 흰 바탕 + 검정 글씨 */
body.sangjo .to_top {background: #000; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);}
body.sangjo .to_top:active {background: #222;}
body.sangjo .to_top.on_dark {background: #fff; color: #111; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);}
body.sangjo .to_top.on_dark svg {stroke: #111;}

/* 신청 폼 (태블릿 769~1150px) — 첫 줄(이름·성별)과 연락처만 한 줄 전체라 생년월일이 왼쪽 반 칸에 남던 것을 모든 칸 한 줄 전체로 */
@media (max-width: 1150px) {
  body.sangjo #section1 .form_wrap ul {grid-template-columns: minmax(0, 1fr);}}

/* 섹션2·3 안쪽 여백 — 태블릿(≤1150px)은 섹션1 폼과 같은 720px 한 칸에 세로로 쌓는다 (넓은 2단은 PC 만).
   모바일(≤768px)은 좌우 24px */
@media (max-width: 1150px) {
  body.sangjo #section_why > .inner,
  body.sangjo #section_fit > .inner {width: min(720px, calc(100% - 48px));}
  body.sangjo #section_why > .inner {grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "visual" "list"; gap: 32px;}
  body.sangjo #section_why .why_head {text-align: center;}
  body.sangjo #section_why .why_visual {justify-self: center; width: min(100%, 480px);}
  body.sangjo #section_fit > .inner {grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "visual" "list" "note"; grid-template-rows: none;}
  body.sangjo #section_fit .fit_title {margin-bottom: 20px; text-align: center;}
  body.sangjo #section_fit .fit_visual {justify-self: center; width: min(70%, 360px); margin-bottom: 24px;}
  body.sangjo #section_fit .fit_note {justify-self: center;}}
@media (max-width: 768px) {
  body.sangjo #section_why > .inner,
  body.sangjo #section_fit > .inner {width: calc(100% - 48px);}
  body.sangjo #section_fit .fit_note {justify-self: stretch;}}

/* 최근 신청 카드 (태블릿 769~1150px) — PC 글씨(17/15px)로는 폼 폭(664px)에 3장이 안 들어가 2장만 보이던 것을 모바일 크기로 맞춰 3장 */
@media (max-width: 1150px) {
  body.sangjo #section1 .form_wrap .s1_recent_list li {height: 56px; padding: 0 14px; gap: 6px;}
  body.sangjo #section1 .form_wrap .s1_recent_list li strong {font-size: 15px;}
  body.sangjo #section1 .form_wrap .s1_recent_when {font-size: 13px;}
  body.sangjo #section1 .form_wrap .s1_recent_tag {font-size: 11px;}}

/* 헤더 (360px 이하) — 로고 170px + 날짜 배지가 헤더 폭(화면의 93%)을 넘던 것을 로고 140px 로 */
@media (max-width: 360px) {
  body.sangjo header.header .inner .logo {width: 140px;}}

/* 성별 버튼 — 선택된 칸(연보라)에서도 키보드 포커스 테두리가 보이게 (흰 테두리는 예전 진파랑 바탕용) */
body.sangjo #section1 .form_wrap .gender_wrap input[type='radio']:checked:focus-visible + label {outline-color: var(--s1-primary);}

/* 모바일 탭 하이라이트 — 안드로이드 기본 파란 상자 대신 메인 보라를 옅게 */
body.sangjo {-webkit-tap-highlight-color: rgba(124, 58, 237, 0.12);}
