: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;}   /* 첫 화면 제목 */
