/* 요양등급이란? 페이지 전용 (sub-pages 담당). 공통 머리말·배너·애니메이션은 base.css */
/* =====================================================================
   하위 페이지 공통 (grade/about/service/yonggoo 네 파일에 같은 내용)
   글씨·문단·구분선·표·버튼은 base.css v1(원본 실측 반영)을 그대로 씀. 여기는 하위 페이지 배치만.
   출처: rainbowgimpo.com 실측(11/26), _자료/효과_명세.md 1.5.
   ===================================================================== */
/* 섹션·줄 간격: 명세 1.5 (일반 행 아래 40px, 전체 너비 섹션 0) */
.sp-sec{position:relative;padding:var(--pt,0) 0 var(--pb,0);margin-bottom:40px}
.sp-sec--30{--pt:30px;--pb:30px}
.sp-sec--50{--pt:50px;--pb:50px}
.sp-sec--70{--pt:70px;--pb:70px}
.sp-sec--90{--pt:90px;--pb:90px}
.sp-sec--150{--pt:150px;--pb:150px}
.sp-sec--last{margin-bottom:27px}
.sp-sec--gray{background:var(--bg-soft,#f4f4f4);margin-bottom:0}
.sp-row{margin-bottom:40px}
.sp-row:last-child{margin-bottom:0}
.sp-row--pad30{padding:30px 0}
.sp-center{text-align:center}
.sp-center > [style*="max-width"]{margin-inline:auto}
.sp-lead{margin-inline:auto}

/* 표 아래 20px: 원본 tablepress 표는 칸의 마지막이어도 늘 아래 20px (통합검수 확인 필요 4번 원인) */
.sp-sec .price-table{margin:0 0 20px}
/* ===================== 하위 페이지 공통 끝 ===================== */

/* ---------- 장기요양 인정 절차: 원형 카드 4개 (참고 그림 Group-14617~14620, 640px 기준 비율) ---------- */
.grade-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:40px}
.grade-steps > li{container-type:inline-size;margin:0;padding:0}
.grade-circle{box-sizing:border-box;aspect-ratio:1/1;border-radius:50%;border:5cqw solid #009fe3;background:#fff;
  display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:0 7cqw 2cqw;color:#000}
.grade-circle__num{display:block;font-size:clamp(18px,7cqw,21px);line-height:1.15;font-family:var(--f-hv);font-weight:900}
.grade-circle__title{display:block;font-size:clamp(16px,6.3cqw,19px);line-height:1.3;font-family:var(--f-eb);font-weight:800;margin-top:1.6cqw;word-break:keep-all}
/* 설명 글: hlee 11/26 "너무 작아요" → 원본 그림 비율(약 13px·#5b5b5b) 대신 18px 안팎(최소 16px)·#333. 글이 커져서 원 안에서 자연 줄바꿈 */
.grade-nowrap{white-space:nowrap}   /* "1-5등급"이 1- 에서 꺾이지 않게 */
.grade-circle__desc{display:block;font-size:clamp(16px,5.8cqw,17.5px);line-height:1.5;font-weight:400;color:#333;margin-top:3.6cqw;word-break:keep-all;text-wrap:balance}
@media (max-width:999px){.grade-steps{grid-template-columns:repeat(2,1fr);gap:40px}}
@media (max-width:690px){.grade-steps{grid-template-columns:1fr;gap:25px}}
@media (min-width:691px) and (max-width:999px){.grade-steps{margin-bottom:40px}}   /* 원본 태블릿: 1/4 칸이 반씩 2줄이 되며 칸마다 아래 40px (마지막 줄 포함) */


/* ---------- 무료 도움 안내: 사진 배경 + 검정 50% + 빠른 패럴랙스 ---------- */
.grade-cta{margin:50px 0;color:#fff;overflow:hidden;isolation:isolate}
.grade-cta__bg{position:absolute;inset:0;overflow:hidden;z-index:-2}
.grade-cta__img{position:absolute;left:0;right:0;top:0;height:100%;background-size:cover;background-position:center center;background-repeat:no-repeat;
  transform:scale(1.005);will-change:transform}
.grade-cta__overlay{position:absolute;inset:0;background:#000;opacity:.5;z-index:-1}
.grade-cta h2{color:#fff;margin-bottom:27px}
@media (prefers-reduced-motion:reduce){.grade-cta__img{top:0!important;height:100%!important;transform:none!important}}
