/* 복지용구 페이지 전용 (sub-pages 담당). 참고 사이트에 없는 새 페이지라 서비스안내와 같은 틀·값으로 만듦 */
/* =====================================================================
   하위 페이지 공통 (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}
/* ===================== 하위 페이지 공통 끝 ===================== */

.yg-sec{--pt:90px;--pb:50px}
.yg-pt30{padding-top:30px}
.yg-lead{margin-inline:auto}

/* 큰 사진 (서비스안내 방문목욕 큰 사진과 같은 모양) */
.yg-main-img,.yg-kinds img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;background:#d9d9d9}

/* 주요 목적: 글 3칸 (서비스 내용 글과 같은 h4 + 본문, 가운데) */
.yg-goals{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:40px;text-align:center}
.yg-goals > li{margin:0}

/* 종류: 사진 + 글 2칸 (서비스 내용 2칸과 같음) */
.yg-kinds{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);column-gap:40px;row-gap:90px;text-align:center}
.yg-kinds > li{margin:0}
.yg-kinds img{margin-bottom:15px}
.yg-kind__text{max-width:640px;margin-inline:auto}
.yg-kind__text > p:not(:last-child){padding-bottom:12px}
/* 품목: 원문 목록을 그대로 한 줄 글처럼 (가운데 점으로 나눔) */
.yg-tags{list-style:none;margin:0 0 12px;padding:0;font-size:18px;line-height:32px}
.yg-tags li{display:inline}
.yg-tags li:not(:last-child)::after{content:" · ";color:#999}
.yg-note{font-family:var(--f-bd);font-weight:700;color:var(--accent,#009fe3)}

/* 대상·절차·역할: 가운데 줄 목록 */
.yg-lines{list-style:none;margin:0;padding:0;font-size:18px;line-height:32px}
.yg-lines--num{counter-reset:yg}
.yg-lines--num li{counter-increment:yg}
.yg-lines--num li::before{content:counter(yg) ". ";font-family:var(--f-bd);font-weight:700}

@media (max-width:999px){
  .yg-goals{grid-template-columns:1fr;gap:25px}
  .yg-kinds{grid-template-columns:1fr;row-gap:25px}
}
