@charset "utf-8";
/* 은평성심재가복지센터 서브페이지 */
/* @latest 2026.12.02 OSY */


/* =========================================================
   0. FONT / 변수
========================================================= */
@font-face { font-family: 'Paperlogy'; src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-1Thin.woff2') format('woff2'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-2ExtraLight.woff2') format('woff2'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

:root {
    /* ===== 포인트 컬러: 메인과 동일 (이것만 바꾸면 전체 톤 변경) ===== */
    /* A안: 딥 포레스트 그린 */
    /*
    --accent: #2F5D46;
    --accent-dark: #234536;
    --accent-light: #E6EFE9;
    */

    /* B안: 테라코타 */
    --accent: #C2571A;
    --accent-dark: #9E4413;
    --accent-light: #FBEBDD;

    /* ===== 텍스트 ===== */
    --text-dark: #2B2622;
    --text-sub: #5A5048;
    --text-body: #3A322D;       /* 본문 설명 텍스트 (font-weight 500 과 함께 사용) - 흰 배경 12.6:1 */
    --text-gray: #8A7F75;

    /* ===== 배경 / 선 ===== */
    --bg-warm: #FAF3E8;
    --line: #E8DDD0;
    --line-dark: #CBBBA8;

    /* ===== 버튼 ===== */
    --primary-btn: var(--accent);
    --sub-btn: #E8B93C;
    --green-btn: var(--accent);

    /* ===== 로고 컬러 (섹션 대제목용) ===== */
    --logo-yellow: #FAC104;         /* 장식/배경 전용 - 글자색 사용 X (흰 배경 1.65:1) */
    --logo-orange: #FC6803;         /* 장식/배경 전용 - 글자색 사용 X (흰 배경 2.95:1) */
    --logo-orange-lg: #E25B00;      /* 큰 글씨(24px 이상) 글자색 - 흰 3.66:1 / 웜 3.32:1 */
    --logo-orange-sm: #B84A00;      /* 작은 글씨 글자색 - 흰 5.23:1 / 웜 4.74:1 */

    /* ===== 기타 ===== */
    --warn: #C0392B;
    --radius-lg: 24px;
    --radius: 16px;
    --radius-sm: 8px;

    /* ===== 기존 변수명 유지 (HTML 클래스 호환용) ===== */
    --point-orange-dark: var(--accent-dark);
    --point-orange: var(--accent);
    --point-orange-light: var(--accent-light);
    --point-green-dark: var(--accent-dark);
    --point-green: var(--accent);
    --point-green-light: var(--accent-light);
}

/* =========================================================
    헤더 / 메뉴  ※ 사이트 공통 영역 : .epss365 미적용
========================================================= */
   .header .inner,
   .menu .inner { max-width: 1600px; }
   .lnb > li > a { font-family: 'Paperlogy' !important; font-size: 26px; }
   /* 전화 박스 : 마지막 두 메뉴(전화상담 02-356-9305 / 010-8903-3653)를 하나의 박스로 묶음
      - 끝에서 2번째(02) = 박스 왼쪽, 마지막(010) = 박스 오른쪽, 사이에 흰 구분선
      - 글자 크기는 --tel-fs 로 조정 (두 번호가 들어가 일반 메뉴보다 작게) */
   .lnb { --tel-fs: 18px; --tel-h: 40px; }
   .lnb > li:nth-last-of-type(-n+2) { width: auto !important; }
   .lnb > li:nth-last-of-type(-n+2) > a { position: relative; overflow: hidden; height: var(--tel-h); line-height: var(--tel-h); padding: 0 16px; font-size: var(--tel-fs); color: #fff; font-weight: 600 !important; white-space: nowrap; box-sizing: border-box; background-color: var(--accent); border: 1.5px solid var(--accent); box-shadow: 0 8px 12px -6px rgba(158, 68, 19, 0.45); transition: background-color 0.35s ease, border-color 0.35s ease !important; }
   .lnb > li:nth-last-of-type(2) > a { margin-left: 12px; margin-right: 0; border-right: 0; border-radius: 14px 0 0 14px; }
   .lnb > li:nth-last-of-type(1) > a { margin-left: 0; border-left: 1px solid rgba(255, 255, 255, 0.45); border-radius: 0 14px 14px 0; }
   .lnb > li:nth-last-of-type(-n+2):hover > a, .lnb > li:nth-last-of-type(-n+2) > a:hover, .lnb > li:nth-last-of-type(-n+2) > a:focus { color: #fff; background-color: var(--accent-dark); border-color: var(--accent-dark); }
   .lnb > li:nth-last-of-type(1):hover > a, .lnb > li:nth-last-of-type(1) > a:hover, .lnb > li:nth-last-of-type(1) > a:focus { border-left-color: rgba(255, 255, 255, 0.45); }
   .lnb > li:nth-last-of-type(-n+2) > a::before { display: none; }  /* 테마의 구분선(|) 숨김 */
   /* '전화상담' 글자 숨김 : 메뉴명(관리자)은 그대로 두고 화면에는 번호만 표시 → 메뉴의 번호가 바뀌면 아래 content 도 같이 수정 */
   .lnb > li:nth-last-of-type(2) > a { font-size: 0 !important; }
   .lnb > li:nth-last-of-type(2) > a::before { content: "02-356-9305"; display: inline !important; font-family: 'Paperlogy' !important; font-weight: inherit !important; font-style: normal; letter-spacing: inherit; line-height: inherit; position: static; width: auto; height: auto; margin: 0; padding: 0; font-size: var(--tel-fs); color: #fff; background: none; border: 0; opacity: 1; transform: none; }
   .head-group .lnb > li:nth-last-of-type(-n+2) > a:focus-visible { outline: 2px solid #fff; outline-offset: -5px; }
   .head-group .lnb > li:nth-last-of-type(2) > a:focus-visible { border-radius: 14px 0 0 14px; }
   .head-group .lnb > li:nth-last-of-type(1) > a:focus-visible { border-radius: 0 14px 14px 0; }

   /* 은은하게 빛이 왼쪽 → 오른쪽으로 지나가는 효과 (02 → 010 순서로 이어짐) */
   .lnb > li:nth-last-of-type(-n+2) > a::after { content: ""; display: block; position: absolute; top: 0; left: 0; width: 40%; height: 100%; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.32) 50%, rgba(255, 255, 255, 0) 100%); transform: translateX(-150%) skewX(-20deg); animation: navShine 3.8s ease-in-out infinite; pointer-events: none; }
   .lnb > li:nth-last-of-type(1) > a::after { animation-delay: 0.9s; }
   @keyframes navShine { 0% { transform: translateX(-150%) skewX(-20deg); } 45%, 100% { transform: translateX(350%) skewX(-20deg); } }
   @media (prefers-reduced-motion: reduce) { .lnb > li:nth-last-of-type(-n+2) > a::after { animation: none; display: none; } }

   /* 전화 박스 줄바꿈 : 메뉴가 두 줄이 되면 두 번호가 같이 아랫줄로 내려감 (991px 이상, 990 이하는 테마가 .lnb 를 숨김)
      - 테마(headerDesign01)는 li 를 inline-block 으로 나열 → 하나씩 따로 줄바꿈됨. flex 로 바꿔 오른쪽 정렬 유지
      - 02 칸 오른쪽에 010 너비(--tel-w)만큼 자리를 미리 잡고, 010 은 그 자리로 당겨 붙임 → 둘 중 하나만 내려가는 일이 없음
      - --tel-row-gap : 두 줄이 됐을 때 윗줄 메뉴와 전화 박스 사이 간격 (한 줄일 때는 적용 안 됨) */
   @media (min-width: 991px) {
       .menu .inner { display: flex !important; align-items: center; }   /* 테마는 table(로고 칸 + 메뉴 칸) → flex 로 바꿔 세로 가운데 유지 */
       .menu .logo { flex: 0 0 auto; width: auto; display: block; margin-right: 24px; }   /* 로고 너비만큼 차지 (20% 고정이면 좁은 화면에서 로고가 잘림) → 나머지는 메뉴 */
       .lnb { --tel-w: calc(var(--tel-fs) * 7.6 + 32px); --tel-row-gap: 16px; flex: 1 1 0; min-width: 0; display: flex !important; flex-wrap: wrap; justify-content: flex-end; align-items: center; row-gap: var(--tel-row-gap); line-height: 25px; }
       .lnb > li { flex: 0 0 auto; margin-left: 0; }
       .lnb > li:nth-last-of-type(2) { margin-right: var(--tel-w); }
       .lnb > li:nth-last-of-type(1) { margin-left: calc(-1 * var(--tel-w)); }
       .lnb > li:nth-last-of-type(1) > a { width: var(--tel-w); padding: 0; text-align: center; box-sizing: border-box; }
   }


   /* ---------------------------------------------------------
      헤더 테마(headerDesign01) 컬러 덮어쓰기
      - 모듈 구조 변경 불가 → CSS 로만 제어
      - 테마 기본색(#003975 / #013a74 / #2d59b0) → 프로젝트 포인트 컬러
      - 테마 css 로드 순서와 상관없이 적용되도록 .head-group 을 앞에 붙여 우선순위 확보
      - 마지막 두 메뉴(li:nth-last-of-type(-n+2))는 위의 전화 박스 스타일 유지 → 제외
   --------------------------------------------------------- */
   /* 상단 바 (gnb) */
   .head-group .header { background-color: var(--bg-warm); border-bottom-color: var(--line) !important; }
   .head-group ul.gnb1 li:first-child a { border-right-color: var(--accent); }
   .head-group ul.gnb1 li a,
   .head-group ul.gnb li a { color: var(--text-sub); transition: color .25s; }
   .head-group ul.gnb1 li a:hover, .head-group ul.gnb1 li a:focus,
   .head-group ul.gnb li a:hover, .head-group ul.gnb li a:focus { color: var(--accent-dark); }
   .head-group ul.gnb li.link-group select:focus { border-color: var(--accent); outline: 2px solid var(--accent-light); }

   /* 1depth : 글자색 + 아래 밑줄 바 (hover / 포커스 / 현재 메뉴) */
   .head-group .lnb > li:not(:nth-last-of-type(-n+2)) > a { color: var(--text-dark); transition: color .25s; }
   .head-group .lnb > li:not(:nth-last-of-type(-n+2)) > a:after { content: ""; display: block; position: absolute; left: 20px; right: 20px; bottom: -10px; height: 3px; background-color: var(--accent); border-radius: 3px; transform: scaleX(0); transition: transform .3s ease; }
   .head-group .lnb > li:not(:nth-last-of-type(-n+2)):hover > a,
   .head-group .lnb > li:not(:nth-last-of-type(-n+2)):focus-within > a,
   .head-group .lnb > li:not(:nth-last-of-type(-n+2)).selected > a { color: var(--accent-dark); opacity: 1; }
   .head-group .lnb > li:not(:nth-last-of-type(-n+2)):hover > a:after,
   .head-group .lnb > li:not(:nth-last-of-type(-n+2)):focus-within > a:after,
   .head-group .lnb > li:not(:nth-last-of-type(-n+2)).selected > a:after { transform: scaleX(1); }
   .head-group .lnb > li > a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

   /* 2depth 드롭다운 */
   .head-group .lnb > li > ul { background-color: #fff; border-color: var(--line); border-top: 3px solid var(--accent); box-shadow: 0 12px 24px rgba(158, 68, 19, .10); }
   .head-group .lnb > li > a + ul > li > a { color: var(--text-dark); transition: background-color .2s, color .2s; }
   .head-group .lnb > li > a + ul > li > a:hover,
   .head-group .lnb > li > a + ul > li:hover > a,
   .head-group .lnb > li > a + ul > li > a:focus { color: var(--accent-dark); background-color: var(--accent-light); }
   .head-group .lnb > li > a + ul > li.selected > a { color: #fff; font-weight: 600; background-color: var(--accent-dark); }   /* 흰 글자 대비 6.6:1 */
   .head-group .lnb > li > a + ul > li > a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

   /* 3depth */
   .head-group .lnb > li > a + ul > li > a + ul { background-color: var(--bg-warm); }
   .head-group .lnb > li > a + ul > li > a + ul > li:before { color: var(--accent); }
   .head-group .lnb > li > a + ul > li > a + ul > li a { color: var(--text-sub); }
   .head-group .lnb > li > a + ul > li > a + ul > li a:hover,
   .head-group .lnb > li > a + ul > li > a + ul > li a:focus,
   .head-group .lnb > li > a + ul > li > a + ul > li.selected a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }

   /* 전체메뉴 버튼 */
   .head-group .all_menu .btn_allmenu { background-color: var(--accent-dark); transition: background-color .25s; }
   .head-group .all_menu .btn_allmenu:hover, .head-group .all_menu .btn_allmenu:focus { background-color: var(--accent); }

   /* 검색 입력 */
   .head-group #searchPannel .search_box .search_box_inner input[type="text"]:focus { outline: 2px solid var(--accent-light); border-color: var(--accent); background-color: #fff; }

   /* 고정 헤더 */
   .head-group.fixedhead .lnb > li:not(:nth-last-of-type(-n+2)) > a:after { bottom: -6px; }

   /* 모바일 메뉴 (#m_nav) */
   .head-group #m_nav li > a:hover,
   .head-group #m_nav li > a:focus { color: var(--accent-dark); }
   .head-group #m_nav li.mnGroup.selected > a,
   .head-group #m_nav li.selected > a { color: var(--accent-dark); }
   .head-group #m_nav > li.mnGroup.selected > a { background-color: var(--accent-light); }
   .head-group #m_nav li > ul { background-color: var(--bg-warm); }
   .head-group #m_nav li ul li ul { background-color: #F3E8D8; }
   .head-group #m_nav > li.mobile_gnb, .head-group #m_nav > li:last-child { background-color: var(--text-dark); }
   .head-group .showMenu .mobileMenu { color: #fff !important; }   /* 버튼 배경(accent-dark) 위 흰 아이콘 */
   .head-group .showMenu .mobileMenu::before, .head-group .showMenu .mobileMenu::after, .head-group .showMenu .mobileMenu span { color: #fff; border-color: #fff; }
   @media (prefers-reduced-motion: reduce) { .head-group .lnb > li > a:after { transition: none; } }


   
/* =========================================================
   1. 공통
   ※ 푸터 / .subCon / 회원가입 약관 은 사이트 공통 영역 : .epss365 미적용
========================================================= */
.footer .inner { max-width: 1600px; }
.footer-area-001 .addressArea .footerLogo img { max-width: 100% !important; max-height: none !important; }

.subCon > div { max-width: 1600px !important; margin-left: auto; margin-right: auto; color: var(--text-dark); }
.subCon > div,
.subCon > div *:not(.fa):not([class*="fa-"]),
.subCon h4.tit { font-family: 'Paperlogy', 'Noto Sans KR', sans-serif !important; }
.subCon > div { letter-spacing: -0.02em; }
/* 관리자 에디터(.subCon 없음)에서도 실제 화면과 같은 폰트로 보이도록 서브 table 에 직접 지정 */
.epss365 table.__se_tbl,
.epss365 table.__se_tbl *:not(.fa):not([class*="fa-"]) { font-family: 'Paperlogy', 'Noto Sans KR', sans-serif !important; letter-spacing: -0.02em; }
.subCon .location { max-width: 1600px !important; } 
.subCon h4.tit { max-width: 1600px !important; }
/* 게시글 상세 제목(.brdDetailTit) 글자 크기 : 은평성심 소식 목록 제목(--ig-tit-fs)과 같은 단계로 맞춤
   ※ 상세 화면에서는 머리말(.epss365)이 주석 처리되어 :has(.news_board) 로 범위를 좁힐 수 없음 → 게시판 상세 공통 적용 */
.board001 .list_tit .brdDetailTit { font-size: 28px !important; line-height: 1.45; word-break: keep-all; }
@media (max-width: 1024px) { .board001 .list_tit .brdDetailTit { font-size: 24px !important; } }
@media (max-width: 768px)  { .board001 .list_tit .brdDetailTit { font-size: 22px !important; } }
@media (max-width: 480px)  { .board001 .list_tit .brdDetailTit { font-size: 18px !important; } }
@media (max-width: 400px)  { .board001 .list_tit .brdDetailTit { font-size: 22px !important; } }
/* 상세 하단 이전글/다음글 제목 : 상세 제목보다 한 단계 작게 */
.brdotherPostTBL.basic-table01 tbody tr td.txt-l a { font-size: 22px !important; line-height: 1.45; word-break: keep-all; }
@media (max-width: 1024px) { .brdotherPostTBL.basic-table01 tbody tr td.txt-l a { font-size: 20px !important; } }
@media (max-width: 768px)  { .brdotherPostTBL.basic-table01 tbody tr td.txt-l a { font-size: 19px !important; } }
@media (max-width: 480px)  { .brdotherPostTBL.basic-table01 tbody tr td.txt-l a { font-size: 16px !important; } }
@media (max-width: 400px)  { .brdotherPostTBL.basic-table01 tbody tr td.txt-l a { font-size: 18px !important; } }

/* 정책 약관 */
div.sbscrbWrap .signupWrap ul.signText table { border: 0 !important; }
div.sbscrbWrap .signupWrap ul.signText table tr td { padding-top: 8px !important; padding-bottom: 8px !important; border: 0 !important; }

/* 이미지 */
.epss365 table.__se_tbl img { max-width: 100%; height: auto; vertical-align: middle; }


/* =========================================================
   2. 컬러 / 텍스트 유틸
========================================================= */
.epss365 .color-orange-dark { color: var(--point-orange-dark); }
.epss365 .color-orange      { color: var(--point-orange); }
.epss365 .color-orang-light { color: var(--point-orange-light); }
.epss365 .color-green-dark  { color: var(--point-green-dark); }
.epss365 .color-green       { color: var(--point-green); }
.epss365 .color-green-light { color: var(--point-green-light); }

.epss365 .font-accent { color: var(--accent-dark) !important; font-weight: 600; }
.epss365 .font-accent-dark { color: var(--accent-dark) !important; font-weight: 600; }
.epss365 .font-dark { color: var(--text-dark) !important; }
.epss365 .font-sub { color: var(--text-sub) !important; }
.epss365 .font-gray { color: var(--text-gray) !important; }
.epss365 .font-red { color: var(--warn) !important; font-weight: 600; }

.epss365 .bg-accent { background-color: var(--accent-dark) !important; color: #fff; }
.epss365 .bg-accent-light { background-color: var(--accent-light) !important; }
.epss365 .bg-warm { background-color: var(--bg-warm) !important; }

/* 형광펜 강조 : <span class="mark">텍스트</span> */
.epss365 .mark { background: linear-gradient(transparent 62%, rgba(232, 185, 60, .45) 62%); padding: 0 2px; font-weight: 700; color: var(--text-dark); }
.epss365 .mark.mark_accent { background: linear-gradient(transparent 62%, var(--accent-light) 62%); }

/* 태그 : <span class="tag">1~5등급</span> */
.epss365 .tag { display: inline-block; padding: 3px 12px; margin: 0 2px; font-size: 19px; font-weight: 600; line-height: 1.5; color: var(--accent-dark); background-color: var(--accent-light); border-radius: 999px; vertical-align: 1px; }
.epss365 .tag.tag_fill { color: #fff; background-color: var(--accent-dark); }
.epss365 .tag.tag_sub  { color: var(--text-dark); background-color: var(--sub-btn); }
.epss365 .tag.tag_line { color: var(--accent-dark); background-color: #fff; border: 1px solid var(--accent-dark); }


/* =========================================================
   3. 기본 레이아웃 (subpage_wrap)
   <table class="__se_tbl wd100 subpage_wrap"><tbody><tr class="tit_dp_01"><td>제목</td></tr> ...
========================================================= */
.epss365 .subpage_wrap { width: 100% !important; border: 0 !important; }
.epss365 .subpage_wrap > tbody > tr > td { position: relative; word-wrap: break-word; word-break: keep-all; box-sizing: border-box; border: 0; color: var(--text-dark); }

/* 섹션 대제목 (가운데 정렬) - 로고 컬러 사용
   <tr class="sec_label"><td>OUR SERVICE</td></tr>   (선택)
   <tr class="sec_tit"><td>어르신의 <span class="point">하루</span>를 <span class="hl">함께합니다</span></td></tr>
   <tr class="sec_desc"><td>설명</td></tr>
   - .point : 로고 오렌지 글자 (큰 글씨 대비 확보한 톤)
   - .hl    : 로고 옐로 형광펜 (글자는 진한색 유지)                                   */
.epss365 .subpage_wrap .sec_label > td { padding: 0 0 10px; font-size: 19px; font-weight: 700; letter-spacing: .14em; text-align: center; color: var(--logo-orange-sm); }
.epss365 .subpage_wrap .sec_tit > td { padding: 0 0 14px; font-size: 44px; font-weight: 700; line-height: 1.4; text-align: center; color: var(--text-dark); }
.epss365 .subpage_wrap .sec_tit > td:before { display: block; content: ''; width: 12px; height: 12px; margin: 0 auto 20px; transform: translateX(-11px); background-color: var(--logo-yellow); border-radius: 50%; box-shadow: 22px 0 0 var(--logo-orange); }
.epss365 .subpage_wrap .sec_label + .sec_tit > td:before { display: none; }
.epss365 .subpage_wrap .sec_tit > td:after { display: block; content: ''; width: 56px; height: 4px; margin: 22px auto 0; background: linear-gradient(90deg, var(--logo-yellow) 50%, var(--logo-orange) 50%); border-radius: 2px; }
.epss365 .subpage_wrap .sec_tit .point { color: var(--logo-orange-lg); font-weight: 800; }
/* 형광펜 밑줄 : 페이지 열린 뒤 0.7초 후 좌→우로 그어짐 */
.epss365 .subpage_wrap .sec_tit .hl,
.epss365 .tbl_card .card_tit .hl { padding: 0 4px; background-image: linear-gradient(transparent 60%, rgba(250, 193, 4, .5) 60%); background-repeat: no-repeat; background-position: left bottom; background-size: 0% 100%; animation: sub_hl_draw .8s cubic-bezier(.65, 0, .35, 1) .7s forwards; }
/* 인사말 본문 : 애니메이션 없이 처음부터 그어진 상태 */
.epss365 .tbl_greeting .greet_body .hl { padding: 0 4px; background-image: linear-gradient(transparent 60%, rgba(250, 193, 4, .5) 60%); background-repeat: no-repeat; }
@keyframes sub_hl_draw { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@media (prefers-reduced-motion: reduce) {
    .epss365 .subpage_wrap .sec_tit .hl,
    .epss365 .tbl_card .card_tit .hl { animation: none; background-size: 100% 100%; }
}
.epss365 .subpage_wrap .sec_desc > td { padding: 0 0 40px; font-size: 22px; line-height: 1.7; text-align: center; font-weight: 500; color: var(--text-body); }

/* 제목 1depth */
.epss365 .subpage_wrap .tit_dp_01 > td { padding: 6px 0 10px 30px; font-size: 32px; font-weight: 700; line-height: 1.4; }
.epss365 .subpage_wrap .tit_dp_01 > td:before,
.epss365 .subpage_wrap .tit_dp_01 > td:after { position: absolute; top: 22px; content: ''; width: 12px; height: 12px; border-radius: 50%; }
.epss365 .subpage_wrap .tit_dp_01 > td:before { left: 0; z-index: 1; background-color: var(--accent); }
.epss365 .subpage_wrap .tit_dp_01 > td:after { left: 8px; background-color: var(--sub-btn); }

/* 제목 2depth */
.epss365 .subpage_wrap .tit_dp_02 > td { padding: 12px 0 6px 30px; font-size: 27px; font-weight: 600; line-height: 1.45; color: var(--accent-dark); }
.epss365 .subpage_wrap .tit_dp_02.blt > td { padding-left: 46px; }
.epss365 .subpage_wrap .tit_dp_02.blt > td:before { position: absolute; top: 28px; left: 30px; content: ''; width: 8px; height: 8px; border: 2px solid var(--accent); border-radius: 50%; box-sizing: border-box; }

/* 제목 3depth */
.epss365 .subpage_wrap .tit_dp_03 > td { padding: 8px 0 4px 30px; font-size: 24px; font-weight: 600; line-height: 1.5; }

/* 본문 */
.epss365 .subpage_wrap .txt_dp_01 > td { padding: 4px 0 4px 30px; font-size: 22px; line-height: 1.75; }
.epss365 .subpage_wrap .txt_dp_02 > td { padding: 3px 0 3px 46px; font-size: 21px; line-height: 1.7; font-weight: 500; color: var(--text-body); }
.epss365 .subpage_wrap .txt_dp_03 > td { padding: 2px 0 2px 60px; font-size: 20px; line-height: 1.65; font-weight: 500; color: var(--text-body); }
.epss365 .subpage_wrap .txt_dp_04 > td { padding: 2px 0 2px 72px; font-size: 19px; line-height: 1.6; color: var(--text-gray); }
.epss365 .subpage_wrap .tit_dp_01 + .txt_dp_01 > td { padding-top: 6px; }

/* 불릿 (tr 에 blt 추가) */
.epss365 .subpage_wrap .txt_dp_01.blt > td { padding-left: 46px; }
.epss365 .subpage_wrap .txt_dp_01.blt > td:before { position: absolute; top: 20px; left: 32px; content: ''; width: 6px; height: 6px; background-color: var(--accent); border-radius: 50%; }
.epss365 .subpage_wrap .txt_dp_02.blt > td { padding-left: 60px; }
.epss365 .subpage_wrap .txt_dp_02.blt > td:before { position: absolute; top: 20px; left: 47px; content: ''; width: 7px; height: 2px; background-color: var(--text-body); }
.epss365 .subpage_wrap .txt_dp_03.blt > td { padding-left: 72px; }
.epss365 .subpage_wrap .txt_dp_03.blt > td:before { position: absolute; top: 17px; left: 62px; content: ''; width: 4px; height: 4px; background-color: var(--accent); border-radius: 50%; opacity: .7; }

/* 체크 불릿 (tr 에 chk 추가) */
.epss365 .subpage_wrap .txt_dp_01.chk > td { padding-left: 64px; }
.epss365 .subpage_wrap .txt_dp_01.chk > td:before { position: absolute; top: 8px; left: 30px; font-family: FontAwesome !important; content: "\f00c"; font-size: 14px; width: 24px; height: 24px; line-height: 24px; text-align: center; color: #fff; background-color: var(--accent); border-radius: 50%; margin-top: 3px; }

/* 경고 (tr 에 txt_warn 추가) */
.epss365 .subpage_wrap .txt_warn > td { color: var(--warn) !important; font-weight: 600; }
.epss365 .subpage_wrap .txt_warn > td:before { position: absolute; line-height: 1; font-family: FontAwesome !important; content: "\f06a"; }
.epss365 .subpage_wrap .txt_dp_01.txt_warn > td { padding-left: 60px; }
.epss365 .subpage_wrap .txt_dp_01.txt_warn > td:before { top: 11px; left: 30px; font-size: 24px; }
.epss365 .subpage_wrap .txt_dp_02.txt_warn > td { padding-left: 74px; }
.epss365 .subpage_wrap .txt_dp_02.txt_warn > td:before { top: 9px; left: 46px; font-size: 23px; }
.epss365 .subpage_wrap .txt_dp_03.txt_warn > td { padding-left: 86px; }
.epss365 .subpage_wrap .txt_dp_03.txt_warn > td:before { top: 8px; left: 60px; font-size: 21px; }

/* 참고 ※ (tr 에 txt_ref 추가) */
.epss365 .subpage_wrap .txt_ref > td { color: var(--text-gray); font-size: 19px; }
.epss365 .subpage_wrap .txt_ref > td:before { position: absolute; content: "※"; }
.epss365 .subpage_wrap .txt_dp_01.txt_ref > td { padding-left: 50px; }
.epss365 .subpage_wrap .txt_dp_01.txt_ref > td:before { left: 30px; }
.epss365 .subpage_wrap .txt_dp_02.txt_ref > td { padding-left: 66px; }
.epss365 .subpage_wrap .txt_dp_02.txt_ref > td:before { left: 46px; }

/* 들여쓰기 없음 (tr 에 no_ind 추가) */
.epss365 .subpage_wrap tr.no_ind > td { padding-left: 0 !important; }
.epss365 .subpage_wrap tr.no_ind.blt > td { padding-left: 16px !important; }
.epss365 .subpage_wrap tr.no_ind.blt > td:before { left: 2px; }
.epss365 .subpage_wrap tr.no_ind.chk > td { padding-left: 34px !important; }
.epss365 .subpage_wrap tr.no_ind.chk > td:before { left: 0; }
.epss365 .subpage_wrap tr.no_ind.txt_warn > td { padding-left: 30px !important; }
.epss365 .subpage_wrap tr.no_ind.txt_warn > td:before { left: 0; }
.epss365 .subpage_wrap tr.no_ind.txt_ref > td { padding-left: 24px !important; }
.epss365 .subpage_wrap tr.no_ind.txt_ref > td:before { left: 0; }

/* 목록 2열 배치 : <table class="__se_tbl wd100 subpage_wrap list_col2"> (짧은 항목 나열용, 왼쪽→오른쪽 순서) */
.epss365 table.subpage_wrap.list_col2 > tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.epss365 table.subpage_wrap.list_col2 > tbody > tr,
.epss365 table.subpage_wrap.list_col2 > tbody > tr > td { display: block; }
.epss365 table.subpage_wrap.list_col2 > tbody > tr > td { position: relative; word-break: keep-all; }
@media (max-width: 360px) { .epss365 table.subpage_wrap.list_col2 > tbody { grid-template-columns: 1fr; } }

/* 컴포넌트 삽입용 행 : <tr class="tbl_row"><td> 테이블 </td></tr> */
.epss365 .subpage_wrap .tbl_row > td { padding: 12px 0 4px 30px; }
.epss365 .subpage_wrap .tbl_row.no_ind > td { padding-left: 0; }

/* 버튼 영역 */
.epss365 .subpage_wrap .btn_area > td { padding-top: 20px; padding-bottom: 20px; }

/* 구분선 */
.epss365 .subpage_wrap .line_row > td { height: 1px; padding: 0 !important; background-color: var(--line); }


/* =========================================================
   4. 박스 (subpage_box + boxst_0N)
   <table class="__se_tbl wd100 subpage_box boxst_01"><tbody><tr><td>
       <table class="__se_tbl wd100 subpage_wrap"> ... </table>
   </td></tr></tbody></table>
========================================================= */
.epss365 .subpage_box { width: 100% !important; border-collapse: separate !important; border-spacing: 0; border: 0 !important; }
.epss365 .subpage_box > tbody > tr > td { padding: 36px 40px; border-radius: var(--radius-lg); box-sizing: border-box; word-break: keep-all; }
.epss365 .subpage_box .box_tit > td { padding: 0 0 10px 40px !important; font-size: 27px; font-weight: 700; line-height: 1.45; color: var(--accent-dark); }
.epss365 .subpage_box .box_tit > td:before { position: absolute; top: 5px; left: 0; font-family: FontAwesome !important; content: "\f058"; font-size: 28px; color: var(--accent); }
.epss365 .subpage_box .box_tit.ico_info > td:before { content: "\f05a"; }
.epss365 .subpage_box .box_tit.ico_bell > td:before { content: "\f0f3"; }
.epss365 .subpage_box .box_tit.ico_heart > td:before { content: "\f004"; font-size: 25px; top: 7px; }
.epss365 .subpage_box .box_tit.ico_phone > td:before { content: "\f095"; }

/* 01 : 포인트 라이트 */
.epss365 .subpage_box.boxst_01 > tbody > tr > td { background-color: var(--accent-light); }
/* 02 : 웜 베이지 */
.epss365 .subpage_box.boxst_02 > tbody > tr > td { background-color: var(--bg-warm); }
/* 03 : 라인 */
.epss365 .subpage_box.boxst_03 > tbody > tr > td { background-color: #fff; border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(43, 38, 34, .05); }
/* 04 : 포인트 채움 (강조) */
.epss365 .subpage_box.boxst_04 > tbody > tr > td { background-color: var(--accent-dark); }
.epss365 .subpage_box.boxst_04 .subpage_wrap td,
.epss365 .subpage_box.boxst_04 .box_tit > td,
.epss365 .subpage_box.boxst_04 .box_tit > td:before { color: #fff !important; }
.epss365 .subpage_box.boxst_04 .subpage_wrap .blt > td:before { background-color: #fff; }
.epss365 .subpage_box.boxst_04 .tit_dp_01 > td:before { background-color: #fff; }
/* 05 : 점선 (안내/공지) */
.epss365 .subpage_box.boxst_05 > tbody > tr > td { background-color: #fff; border: 2px dashed var(--line-dark); }
/* 06 : 좌측 포인트 라인 */
.epss365 .subpage_box.boxst_06 > tbody > tr > td { background-color: var(--bg-warm); border-left: 6px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; }

/* 질문-답변 박스 : 박스 table 에 qna 추가 → 왼쪽에 정보 아이콘 + 퍼지는 링
   질문은 <b class="qna_q">질문?</b> 로 작성 (box_tit 를 써도 됨 - 기존 아이콘은 숨김) */
.epss365 .subpage_box.qna > tbody > tr > td { position: relative; padding-left: 124px; }
.epss365 .subpage_box.qna > tbody > tr > td:before,
.epss365 .subpage_box.qna > tbody > tr > td:after { position: absolute; top: 34px; left: 40px; width: 58px; height: 58px; border-radius: 50%; }
.epss365 .subpage_box.qna > tbody > tr > td:before { z-index: 1; font-family: FontAwesome !important; content: "\f129"; font-size: 30px; line-height: 58px; text-align: center; color: #fff; background-color: var(--accent-dark); box-shadow: 0 6px 14px rgba(158, 68, 19, .25); }
.epss365 .subpage_box.qna > tbody > tr > td:after { content: ''; background-color: var(--logo-orange); animation: sub_qna_ping 2.4s ease-out infinite; }
@keyframes sub_qna_ping { 0% { transform: scale(1); opacity: .45; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
.epss365 .subpage_box.qna .qna_q { display: block; margin-bottom: 6px; font-size: 26px; font-weight: 700; line-height: 1.5; color: var(--accent-dark); }
.epss365 .subpage_box.qna .box_tit > td { padding-left: 0 !important; font-size: 26px; }
.epss365 .subpage_box.qna .box_tit > td:before { display: none; }
.epss365 .subpage_box.boxst_04.qna > tbody > tr > td:before { color: var(--accent-dark); background-color: #fff; }
.epss365 .subpage_box.boxst_04.qna .qna_q { color: #fff; }
/* qna 박스 안 불릿 : 불릿을 질문(box_tit) 시작점에 맞춤 */
.epss365 .subpage_box.qna .subpage_wrap .txt_dp_01.blt > td { padding-left: 16px; }
.epss365 .subpage_box.qna .subpage_wrap .txt_dp_01.blt > td:before { left: 1px; }
@media (prefers-reduced-motion: reduce) {
    .epss365 .subpage_box.qna > tbody > tr > td:after { animation: none; opacity: 0; }
}


/* =========================================================
   5. 버튼
   <a href="#" class="wzbtn-lg btn_her btn_link">텍스트</a>
========================================================= */
.epss365 .btn_her { position: relative; display: inline-block; margin: 3px 2px; padding: 15px 28px; font-size: 20px; font-weight: 600; line-height: 1.3; color: #fff !important; background-color: var(--accent-dark); border: 1px solid var(--accent-dark); border-radius: 999px; text-decoration: none !important; transition: background-color .25s, color .25s, border-color .25s; }
.epss365 .btn_her:hover, .epss365 .btn_her:focus { background-color: #7A3410; border-color: #7A3410; }
.epss365 .btn_her.btn_sub { color: var(--text-dark) !important; background-color: var(--sub-btn); border-color: var(--sub-btn); }
.epss365 .btn_her.btn_sub:hover, .epss365 .btn_her.btn_sub:focus { background-color: #D6A82E; border-color: #D6A82E; }
.epss365 .btn_her.btn_line { color: var(--accent-dark) !important; background-color: #fff; border-color: var(--accent-dark); }
.epss365 .btn_her.btn_line:hover, .epss365 .btn_her.btn_line:focus { color: #fff !important; background-color: var(--accent-dark); }
.epss365 .btn_her.btn_gray { color: var(--text-dark) !important; background-color: #EFE9E1; border-color: #EFE9E1; }
.epss365 .btn_her.btn_gray:hover, .epss365 .btn_her.btn_gray:focus { background-color: var(--line-dark); border-color: var(--line-dark); }
.epss365 .btn_her.btn_sm { padding: 8px 18px; font-size: 19px; }
/* 지도 앱 버튼 : 각 서비스 브랜드 컬러 */
.epss365 .btn_her.btn_kakao { color: rgba(25, 25, 25, .85) !important; background-color: #FEE500; border-color: #FEE500; }
.epss365 .btn_her.btn_kakao:hover, .epss365 .btn_her.btn_kakao:focus { background-color: #F2D900; border-color: #F2D900; }
.epss365 .btn_her.btn_naver { color: #FFFFFF !important; background-color: #03C75A; border-color: #03C75A; }
.epss365 .btn_her.btn_naver:hover, .epss365 .btn_her.btn_naver:focus { background-color: #02B350; border-color: #02B350; }

.epss365 .btn_her:before { font-family: FontAwesome !important; font-weight: normal; margin-right: 8px; }
.epss365 .btn_link:before { content: "\f08e"; }
.epss365 .btn_file:before { content: "\f019"; }
.epss365 .btn_tel:before  { content: "\f095"; }
.epss365 .btn_map:before  { content: "\f041"; }
/* 화살표 hover : margin 대신 transform 으로 이동 → 버튼 너비가 변하지 않음 (tbl_cta 처럼 버튼 너비를 맞춘 곳에서 다른 버튼까지 늘어나는 문제 방지) */
.epss365 .btn_arrow:after { display: inline-block; font-family: FontAwesome !important; content: "\f105"; margin-left: 10px; transition: transform .25s; }
.epss365 .btn_arrow:hover:after, .epss365 .btn_arrow:focus:after { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .epss365 .btn_arrow:after { transition: none; } }


/* =========================================================
   6. 표 (subpage_tbl)
   tr.thead > th 헤더 / tr > th 행 제목 / td 내용
========================================================= */
.epss365 .subpage_tbl { width: 100% !important; border-collapse: collapse; border-top: 2px solid var(--accent) !important; }
.epss365 .subpage_tbl th, .epss365 .subpage_tbl td { padding: 14px 16px; line-height: 1.55; word-break: keep-all; vertical-align: middle; border: 0; border-bottom: 1px solid var(--line); box-sizing: border-box; }
.epss365 .subpage_tbl .thead th { font-size: 21px; font-weight: 700; text-align: center; color: var(--accent-dark); background-color: var(--accent-light); border-bottom: 1px solid var(--line-dark); }
.epss365 .subpage_tbl th { font-size: 20px; font-weight: 600; text-align: center; color: var(--text-dark); background-color: var(--bg-warm); }
.epss365 .subpage_tbl td { font-size: 20px; text-align: center; font-weight: 500; color: var(--text-body); background-color: #fff; }
.epss365 .subpage_tbl tr > *:not(:first-child) { border-left: 1px solid var(--line); }
.epss365 .subpage_tbl td.txt-l, .epss365 .subpage_tbl th.txt-l { text-align: left; }
.epss365 .subpage_tbl td.on { font-weight: 700; color: var(--accent-dark); }

/* 포인트 헤더 */
.epss365 .subpage_tbl.tbl_color { border-top-color: var(--accent-dark) !important; }
.epss365 .subpage_tbl.tbl_color .thead th { color: #fff; background-color: var(--accent-dark); border-bottom-color: var(--accent-dark); }
.epss365 .subpage_tbl.tbl_color .thead th:not(:first-child) { border-left-color: rgba(255, 255, 255, .25); }

/* 셀 안 목록 */
.epss365 .tbl_list { width: 100% !important; margin: 4px 0; border: 0 !important; }
.epss365 .tbl_list td { position: relative; padding: 3px 0 3px 14px !important; text-align: left !important; font-size: 19px; line-height: 1.5; border: 0 !important; background: none !important; }
.epss365 .tbl_list td:before { position: absolute; top: 16px; left: 0; content: ''; width: 4px; height: 4px; background-color: var(--accent); border-radius: 50%; }


/* =========================================================
   7. 카드 (tbl_card) - td 개수만큼 균등 분할
   <table class="__se_tbl wd100 tbl_card"><tbody><tr>
       <td><p class="card_icon">아이콘/이미지</p><p class="card_tit">제목</p><p class="card_txt">내용</p></td> ...
========================================================= */
.epss365 .tbl_card, .epss365 .tbl_card > tbody { display: block !important; width: 100% !important; border: 0 !important; }
.epss365 .tbl_card > tbody > tr { display: flex !important; flex-wrap: wrap; gap: 20px; }
.epss365 .tbl_card > tbody > tr + tr { margin-top: 20px; }
.epss365 .tbl_card > tbody > tr > td { display: flex !important; flex-direction: column; align-items: center; flex: 1 1 0; min-width: 0; width: auto !important; --card-pt: 36px; --card-px: 26px; padding: var(--card-pt) var(--card-px) 32px; text-align: center; word-break: keep-all; background-color: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-sizing: border-box; transition: transform .25s, box-shadow .25s, border-color .25s; }
.epss365 .tbl_card > tbody > tr > td:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 12px 28px rgba(194, 87, 26, .12); }
.epss365 .tbl_card .card_icon { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; margin: 0 0 20px; font-size: 40px; color: var(--accent); background-color: var(--accent-light); border-radius: 50%; overflow: hidden; }
/* 이미지 사용
   - p.card_icon > img          : 투명 PNG/SVG 아이콘 (원 안 60%)
   - p.card_icon.photo > img    : 사진으로 원을 꽉 채움
   - p.card_icon.illust > img   : 원 배경 없이 큰 일러스트
   - p.card_thumb > img         : 카드 상단 가로형 사진 (card_icon 대신, td 의 첫 요소로 사용)
                                  카드 위·좌·우 여백 없이 꽉 차게 붙음 (16:10) */
.epss365 .tbl_card .card_icon img { width: auto; height: auto; max-width: 60%; max-height: 60%; object-fit: contain; }
.epss365 .tbl_card .card_icon.photo img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.epss365 .tbl_card .card_icon.illust { width: auto; height: 120px; background: none; border-radius: 0; overflow: visible; }
.epss365 .tbl_card .card_icon.illust img { width: auto; height: 100%; max-width: none; max-height: none; }
.epss365 .tbl_card > tbody > tr > td:has(> .card_thumb) { overflow: hidden; }
.epss365 .tbl_card .card_thumb { display: block; flex: 0 0 auto; width: calc(100% + var(--card-px) * 2); margin: calc(var(--card-pt) * -1) calc(var(--card-px) * -1) 24px; overflow: hidden; border-radius: 0; aspect-ratio: 16 / 10; background-color: var(--bg-warm); }
.epss365 .tbl_card .card_thumb img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.epss365 .tbl_card .card_num { display: block; margin: 0 0 8px; font-size: 19px; font-weight: 700; letter-spacing: .05em; color: var(--accent-dark); }
.epss365 .tbl_card .card_tit { display: block; margin: 0 0 10px; font-size: 32px; font-weight: 700; line-height: 1.4; color: var(--text-dark); }
.epss365 .tbl_card .card_txt { display: block; margin: 0; font-size: 24px; line-height: 1.65; font-weight: 500; color: var(--text-body); }
.epss365 .tbl_card .card_btn { margin-top: auto; padding-top: 20px; }

/* 변형 : 웜배경 / 좌측정렬 / 포인트 */
.epss365 .tbl_card.card_warm > tbody > tr > td { background-color: var(--bg-warm); border-color: #F1E6D6; transition: transform .25s, box-shadow .25s, border-color .25s, background-color .25s; }
.epss365 .tbl_card.card_warm .card_icon { background-color: #fff; transition: background-color .25s; }
/* 웜 카드 hover : 흰 배경 + 포인트 테두리로 경계를 분명하게 (그림자는 약하게) */
.epss365 .tbl_card.card_warm > tbody > tr > td:hover { background-color: #fff; border-color: var(--accent); box-shadow: 0 8px 20px rgba(158, 68, 19, .08); }
.epss365 .tbl_card.card_warm > tbody > tr > td:hover .card_icon { background-color: var(--accent-light); }
.epss365 .tbl_card.card_warm > tbody > tr > td:hover .card_tags .tag { background-color: var(--bg-warm); }
.epss365 .tbl_card.card_left > tbody > tr > td { align-items: flex-start; text-align: left; }
.epss365 .tbl_card > tbody > tr > td.on { background-color: var(--accent-dark); border-color: var(--accent-dark); }
.epss365 .tbl_card > tbody > tr > td.on .card_tit,
.epss365 .tbl_card > tbody > tr > td.on .card_txt,
.epss365 .tbl_card > tbody > tr > td.on .card_num { color: #fff; }
.epss365 .tbl_card > tbody > tr > td.on .card_icon { background-color: rgba(255, 255, 255, .18); color: #fff; }
/* 카드 단계 톤 : td 에 tone_warm(밝음) → tone_peach(중간) → on(진함) 순으로 명도 차이를 둠 */
.epss365 .tbl_card > tbody > tr > td.tone_warm { background-color: var(--bg-warm); border-color: #F1E6D6; }
.epss365 .tbl_card > tbody > tr > td.tone_peach { background-color: #F6D9BF; border-color: #EFC9A6; }
.epss365 .tbl_card > tbody > tr > td.tone_peach .card_big { color: var(--accent-dark); }   /* 피치 배경 위 4.7:1 (logo-orange-lg 는 2.7:1 로 미달) */
.epss365 .tbl_card > tbody > tr > td.tone_warm .card_tags .tag,
.epss365 .tbl_card > tbody > tr > td.tone_peach .card_tags .tag { background-color: #fff; }


/* =========================================================
   8. 이용 절차 (tbl_step)
   <tr><td><p class="step_num">STEP 01</p><p class="step_tit">제목</p><p class="step_txt">내용</p></td> ...
========================================================= */
.epss365 .tbl_step, .epss365 .tbl_step > tbody { display: block !important; width: 100% !important; border: 0 !important; }
.epss365 .tbl_step > tbody > tr { display: flex !important; gap: 36px; }
.epss365 .tbl_step > tbody > tr > td { position: relative; display: flex !important; flex-direction: column; align-items: center; flex: 1 1 0; min-width: 0; width: auto !important; padding: 30px 18px 28px; text-align: center; word-break: keep-all; background-color: var(--bg-warm); border-radius: var(--radius-lg); box-sizing: border-box; }
.epss365 .tbl_step > tbody > tr > td:not(:last-child):after { position: absolute; top: 50%; right: -27px; transform: translateY(-50%); font-family: FontAwesome !important; content: "\f105"; font-size: 30px; color: var(--accent); }
.epss365 .tbl_step .step_num { display: inline-block; margin: 0 0 14px; padding: 5px 16px; font-size: 19px; font-weight: 700; letter-spacing: .04em; color: #fff; background-color: var(--accent-dark); border-radius: 999px; }
.epss365 .tbl_step .step_icon { display: block; margin: 0 0 12px; font-size: 38px; color: var(--accent); }
/* 이미지 사용 : p.step_icon > img (아이콘 64px) / p.step_icon.illust > img (일러스트 96px) */
.epss365 .tbl_step .step_icon img { width: auto; height: 64px; max-width: 100%; object-fit: contain; }
.epss365 .tbl_step .step_icon.illust img { height: 96px; }
.epss365 .tbl_step .step_tit { display: block; margin: 0 0 8px; font-size: 24px; font-weight: 700; line-height: 1.4; color: var(--text-dark); }
.epss365 .tbl_step .step_txt { display: block; margin: 0; font-size: 19px; line-height: 1.6; font-weight: 500; color: var(--text-body); }
.epss365 .tbl_step > tbody > tr > td:last-child { background-color: var(--accent-light); }


/* =========================================================
   9. 정보 목록 (tbl_info) - 오시는길, 연락처, 개요 등
   <tr><td class="info_tit"><i class="fa fa-map-marker"></i> 주소</td><td class="info_txt">내용</td></tr>
========================================================= */
.epss365 .tbl_info { width: 100% !important; border-collapse: collapse; border: 0 !important; border-top: 2px solid var(--text-dark) !important; }
.epss365 .tbl_info > tbody > tr > td { padding: 22px 24px; font-size: 21px; line-height: 1.65; word-break: keep-all; vertical-align: top; border: 0; border-bottom: 1px solid var(--line); box-sizing: border-box; }
.epss365 .tbl_info .info_tit { width: 240px !important; font-weight: 700; color: var(--accent-dark); background-color: var(--bg-warm); }
.epss365 .tbl_info .info_tit .fa { width: 26px; margin-right: 8px; font-size: 24px; text-align: center; color: var(--accent); }
.epss365 .tbl_info .info_txt { font-weight: 500; color: var(--text-body); }
.epss365 .tbl_info .info_txt a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.epss365 .tbl_info .stit { display: inline-block; min-width: 5em; margin-right: 10px; font-weight: 700; color: var(--text-dark); }
.epss365 .tbl_info .info_line { display: block; }
.epss365 .tbl_info .info_line + .info_line { margin-top: 6px; }


/* =========================================================
   10. 연혁 (tbl_history)
   <tr><td class="year" rowspan="N">2026</td><td class="date">03</td><td class="desc">내용</td></tr>
========================================================= */
.epss365 .tbl_history { width: 100% !important; border-collapse: collapse; border: 0 !important; }
.epss365 .tbl_history td { padding: 0; border: 0; vertical-align: top; word-break: keep-all; }
.epss365 .tbl_history .year { width: 180px !important; padding: 10px 20px 0 0; font-size: 40px; font-weight: 800; line-height: 1.2; color: var(--accent); }
.epss365 .tbl_history .date { position: relative; width: 100px !important; padding: 16px 0 16px 34px; font-size: 22px; font-weight: 700; color: var(--text-dark); }
.epss365 .tbl_history .date:before { position: absolute; top: 0; bottom: 0; left: 7px; content: ''; width: 2px; background-color: var(--line); }
.epss365 .tbl_history .date:after { position: absolute; top: 26px; left: 1px; content: ''; width: 14px; height: 14px; background-color: #fff; border: 3px solid var(--accent); border-radius: 50%; box-sizing: border-box; }
.epss365 .tbl_history .desc { padding: 16px 0; font-size: 21px; line-height: 1.6; font-weight: 500; color: var(--text-body); border-bottom: 1px dashed var(--line); }
.epss365 .tbl_history tr:has(.year) .date:after { background-color: var(--accent); }
.epss365 .tbl_history tr:has(.year):not(:first-child) td { border-top: 1px solid var(--line-dark); }


/* =========================================================
   11. 인사말 (tbl_greeting)
========================================================= */
.epss365 .tbl_greeting { width: 100% !important; border: 0 !important; }
.epss365 .tbl_greeting td { padding: 0; border: 0; word-break: keep-all; }
.epss365 .tbl_greeting .greet_img > td { padding-bottom: 50px; }
.epss365 .tbl_greeting .greet_img img { width: 100%; border-radius: var(--radius-lg); }
.epss365 .tbl_greeting .greet_tit > td { position: relative; padding: 0 0 30px; font-size: 40px; font-weight: 700; line-height: 1.5; color: var(--text-dark); }
.epss365 .tbl_greeting .greet_tit > td:before { display: block; font-family: FontAwesome !important; content: "\f10d"; margin-bottom: 14px; font-size: 36px; color: var(--sub-btn); }
.epss365 .tbl_greeting .greet_tit .font-accent { font-weight: 700; }
.epss365 .tbl_greeting .greet_body > td { padding: 30px 0 0; font-size: 22px; font-weight: 500; line-height: 1.9; color: var(--text-body); border-top: 1px solid var(--line); }
.epss365 .tbl_greeting .greet_body p + p { margin-top: 18px; }
.epss365 .tbl_greeting .greet_sign > td { padding: 40px 0 0; font-size: 22px; line-height: 1.6; text-align: right; font-weight: 500; color: var(--text-body); }
.epss365 .tbl_greeting .greet_sign .name { margin-left: 10px; font-size: 32px; font-weight: 700; color: var(--text-dark); }


/* =========================================================
   12. 이미지 + 텍스트 (tbl_split)
   <tr><td class="split_img"><img></td><td class="split_txt"> 내용 </td></tr>
   tr 에 reverse 추가 시 좌우 반전
========================================================= */
.epss365 .tbl_split, .epss365 .tbl_split > tbody { display: block !important; width: 100% !important; border: 0 !important; }
.epss365 .tbl_split > tbody > tr { display: flex !important; align-items: center; gap: 56px; }
.epss365 .tbl_split > tbody > tr + tr { margin-top: 60px; }
.epss365 .tbl_split > tbody > tr.reverse { flex-direction: row-reverse; }
.epss365 .tbl_split > tbody > tr > td { padding: 0; border: 0; word-break: keep-all; box-sizing: border-box; }
.epss365 .tbl_split .split_img { flex: 0 0 45%; width: auto !important; }
.epss365 .tbl_split .split_img img { width: 100%; border-radius: var(--radius-lg); }
.epss365 .tbl_split .split_txt { flex: 1 1 0; min-width: 0; width: auto !important; }
.epss365 .tbl_split .split_label { display: block; margin-bottom: 10px; font-size: 19px; font-weight: 700; letter-spacing: .08em; color: var(--accent-dark); }
.epss365 .tbl_split .split_tit { display: block; margin-bottom: 18px; font-size: 36px; font-weight: 700; line-height: 1.4; color: var(--text-dark); }
.epss365 .tbl_split .split_desc { display: block; font-size: 22px; line-height: 1.8; font-weight: 500; color: var(--text-body); }


/* =========================================================
   12-1. 섹션 간격 : 섹션 첫 table 에 sec_gap 추가
========================================================= */
.epss365 table.sec_gap { margin-top: 96px !important; }
.epss365 table.sec_gap_s { margin-top: 28px !important; }


/* =========================================================
   12-2. 카드 확장
   - p.card_tags > span.tag : 세부 항목 태그
   - p.card_big + span.card_unit : 큰 숫자
   - tbl_card.card_plus : 카드 사이 + 표시 (조건 A + 조건 B)
   - tbl_card.card_sm : 작은 카드 (품목 등)
========================================================= */
.epss365 .tbl_card .card_tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 0; }
.epss365 .tbl_card.card_left .card_tags { justify-content: flex-start; }
.epss365 .tbl_card .card_tags .tag { margin: 0; padding: 7px 16px; font-size: 19px; font-weight: 500; color: var(--text-dark); background-color: var(--bg-warm); }
.epss365 .tbl_card.card_warm .card_tags .tag { background-color: #fff; }

.epss365 .tbl_card .card_big { display: block; margin: 0 0 6px; font-size: 60px; font-weight: 800; line-height: 1.1; color: var(--logo-orange-lg); }
.epss365 .tbl_card .card_big .card_unit { margin-left: 4px; font-size: 28px; font-weight: 700; }
.epss365 .tbl_card > tbody > tr > td.on .card_big { color: var(--logo-yellow); }   /* 진한 배경 위 3.86:1 (큰 글씨 기준 통과) */

/* --plus-gap : 카드 사이 간격. + 원의 중심은 항상 '카드 끝(테두리 1px 포함) + 간격의 절반' 에 위치 */
.epss365 .tbl_card.card_plus { --plus-gap: 72px; }
.epss365 .tbl_card.card_plus > tbody > tr { gap: var(--plus-gap); }
.epss365 .tbl_card.card_plus > tbody > tr > td { position: relative; overflow: visible; }
.epss365 .tbl_card.card_plus > tbody > tr > td:not(:last-child):after { position: absolute; top: 50%; left: calc(100% + 1px + var(--plus-gap) / 2); z-index: 2; transform: translate(-50%, -50%); font-family: FontAwesome !important; content: "\f067"; width: 56px; height: 56px; line-height: 56px; font-size: 26px; text-align: center; color: #fff; background-color: var(--accent); border: 4px solid #fff; border-radius: 50%; box-sizing: content-box; box-shadow: 0 6px 16px rgba(194, 87, 26, .25); }   /* 흰 + 와 대비 4.49:1 (기호 기준 3:1 통과) */
.epss365 .tbl_card.card_plus > tbody > tr > td:hover { transform: none; }
.epss365 .tbl_card.card_plus .card_icon.illust { height: 170px; margin-bottom: 26px; }

/* 카드 일러스트(card_icon.illust) 공통 : 평소엔 그림자 없음 → hover / 포커스 시 이미지가 살짝 뜨고 바닥에 타원 그림자 */
.epss365 .tbl_card .card_icon.illust { position: relative; }
.epss365 .tbl_card .card_icon.illust img { position: relative; z-index: 1; transition: transform .3s ease; }
.epss365 .tbl_card .card_icon.illust:after { position: absolute; left: 50%; bottom: -14px; width: 70%; height: 18px; content: ''; background: radial-gradient(closest-side, rgba(158, 68, 19, .30), rgba(158, 68, 19, 0)); border-radius: 50%; transform: translateX(-50%) scale(.6); opacity: 0; transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
.epss365 .tbl_card > tbody > tr > td:hover .card_icon.illust img,
.epss365 .tbl_card > tbody > tr > td:focus-within .card_icon.illust img { transform: translateY(-6px); }
.epss365 .tbl_card > tbody > tr > td:hover .card_icon.illust:after,
.epss365 .tbl_card > tbody > tr > td:focus-within .card_icon.illust:after { opacity: 1; transform: translateX(-50%) scale(1); }
/* 웜 카드의 흰 원 배경(평소·hover)이 일러스트에 깔리지 않도록 */
.epss365 .tbl_card.card_warm .card_icon.illust,
.epss365 .tbl_card.card_warm > tbody > tr > td:hover .card_icon.illust { background: none; }
@media (prefers-reduced-motion: reduce) {
    .epss365 .tbl_card .card_icon.illust img,
    .epss365 .tbl_card .card_icon.illust:after { transition: none; }
}


/* =========================================================
   12-2-1. 시간 원형 (card_clock) - 시계방향으로 채워지는 링 (CSS 전용)
   <p class="card_clock clock_60"><span class="clock_num">60<span class="card_unit">분</span></span></p>
   - clock_60 : 링 한 바퀴(60분)가 채워짐
   - clock_90 : 한 바퀴 채운 뒤 반 바퀴(30분)가 더 진한 색으로 겹쳐 채워짐
   - 10초 주기 반복 : 60분 → 90분 순서로 시간차 진행 후 잠시 유지, 되감기
   - 동작 줄이기 설정 시 애니메이션 없이 완성된 상태로 표시
========================================================= */
@property --clock-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --clock-b { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.epss365 .tbl_card .card_clock { position: relative; display: flex; align-items: center; justify-content: center; width: 210px; height: 210px; margin: 0 0 22px; border-radius: 50%; --clock-a: 0deg; --clock-b: 0deg;
    background: conic-gradient(var(--accent-dark) 0deg var(--clock-b), var(--logo-orange) var(--clock-b) var(--clock-a), var(--accent-light) var(--clock-a) 360deg);
    box-shadow: 0 10px 24px rgba(158, 68, 19, .14); }
.epss365 .tbl_card .card_clock:before { position: absolute; inset: 24px; content: ''; background-color: #fff; border-radius: 50%; box-shadow: inset 0 2px 6px rgba(43, 38, 34, .06); }
.epss365 .tbl_card .card_clock .clock_num { position: relative; z-index: 1; font-size: 58px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--logo-orange-lg); }
.epss365 .tbl_card .card_clock .clock_num .card_unit { margin-left: 2px; font-size: 26px; font-weight: 700; }
.epss365 .tbl_card .card_clock.clock_60 { animation: sub_clock_60 10s linear infinite; }
.epss365 .tbl_card .card_clock.clock_90 { animation: sub_clock_90 10s linear infinite; }
.epss365 .tbl_card .card_clock.clock_90 .clock_num { color: var(--accent-dark); }
@keyframes sub_clock_60 {
    0%, 4%    { --clock-a: 0deg; }
    20%, 88%  { --clock-a: 360deg; }
    96%, 100% { --clock-a: 0deg; }
}
@keyframes sub_clock_90 {
    0%, 24%   { --clock-a: 0deg;   --clock-b: 0deg; }
    40%       { --clock-a: 360deg; --clock-b: 0deg; }
    50%, 88%  { --clock-a: 360deg; --clock-b: 180deg; }
    96%, 100% { --clock-a: 0deg;   --clock-b: 0deg; }
}
@media (prefers-reduced-motion: reduce) {
    .epss365 .tbl_card .card_clock.clock_60 { animation: none; --clock-a: 360deg; }
    .epss365 .tbl_card .card_clock.clock_90 { animation: none; --clock-a: 360deg; --clock-b: 180deg; }
}

.epss365 .tbl_card.card_sm > tbody > tr { gap: 14px; }
.epss365 .tbl_card.card_sm > tbody > tr > td { --card-pt: 26px; --card-px: 14px; padding: var(--card-pt) var(--card-px) 22px; border-radius: var(--radius); }
.epss365 .tbl_card.card_sm .card_icon { width: 68px; height: 68px; margin-bottom: 14px; font-size: 28px; }
.epss365 .tbl_card.card_sm .card_icon.illust { width: auto; height: 80px; }
.epss365 .tbl_card.card_sm .card_tit { margin: 0; font-size: 25px; }
/* card_illust_lg : 큰 일러스트 + 넉넉한 상하 여백 (요양보호사 모집 상단 카드) */
.epss365 .tbl_card.card_sm.card_illust_lg > tbody > tr > td { --card-pt: 48px; padding: var(--card-pt) var(--card-px) 44px; }
.epss365 .tbl_card.card_sm.card_illust_lg .card_icon.illust { height: 160px; margin-bottom: 26px; }

/* 카드 안 체크 목록 */
.epss365 .tbl_card .subpage_wrap { margin-top: 14px; }
.epss365 .tbl_card .subpage_wrap .txt_dp_01 > td { font-size: 21px; }


/* =========================================================
   12-3. 강조 띠 (tbl_stat) : 큰 숫자 + 설명
   <tr><td class="stat_num">85~100<span>%</span></td><td class="stat_txt"><p class="stat_tit">..</p><p class="stat_desc">..</p></td></tr>
========================================================= */
.epss365 .tbl_stat, .epss365 .tbl_stat > tbody { display: block !important; width: 100% !important; border: 0 !important; }
.epss365 .tbl_stat > tbody { padding: 36px 48px; background-color: var(--bg-warm); border-radius: var(--radius-lg); box-sizing: border-box; }
.epss365 .tbl_stat > tbody > tr { display: flex !important; align-items: center; gap: 40px; }
.epss365 .tbl_stat > tbody > tr > td { padding: 0; border: 0; word-break: keep-all; }
.epss365 .tbl_stat .stat_num { flex: 0 0 auto; font-size: 72px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--logo-orange-lg); }
.epss365 .tbl_stat .stat_num span { font-size: 40px; }
.epss365 .tbl_stat .stat_txt { flex: 1 1 0; min-width: 0; padding-left: 40px !important; border-left: 2px solid var(--line) !important; }
.epss365 .tbl_stat .stat_tit { display: block; margin: 0 0 6px; font-size: 27px; font-weight: 700; color: var(--text-dark); }
.epss365 .tbl_stat .stat_desc { display: block; margin: 0; font-size: 21px; line-height: 1.65; font-weight: 500; color: var(--text-body); }

/* 12-3-1. 비율 막대 (stat_bar) : 노랑(본인부담) 100% 위로 오렌지(국가지원)가 85%까지 채워짐
   <tr class="stat_bar"><td>
       <p class="bar_lbls">
           <span class="bar_lbl bar_gov"><span class="bar_dot"></span>국가지원 <b>85~100%</b></span>
           <span class="bar_lbl bar_my"><span class="bar_dot"></span>내 부담 <b>0~15%</b></span>
       </p>
       <p class="bar_track"><span class="bar_fill"></span></p>
   </td></tr>
   ※ 숫자+설명 줄(tr) 위에 배치 (하단 구분선)
   ※ 비율 변경 : <p class="bar_track" style="--bar-gov:90%;">
   하단 안내 : <tr class="stat_note"><td><i class="fa fa-info-circle" aria-hidden="true"></i>안내 문구</td></tr> */
.epss365 .tbl_stat > tbody > tr.stat_bar { display: block !important; margin-bottom: 32px; padding-bottom: 30px; border-bottom: 2px solid var(--line); }
.epss365 .tbl_stat > tbody > tr.stat_bar > td { display: block; width: 100%; }
.epss365 .tbl_stat .bar_lbls { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 20px; margin: 0 0 14px; }
.epss365 .tbl_stat .bar_lbl { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--text-dark); }
.epss365 .tbl_stat .bar_lbl b { font-size: 26px; font-weight: 800; }
.epss365 .tbl_stat .bar_lbl.bar_gov b { color: var(--logo-orange-lg); }
.epss365 .tbl_stat .bar_lbl.bar_my { margin-left: auto; }
.epss365 .tbl_stat .bar_lbl.bar_my b { color: var(--text-dark); }

/* 하단 안내 (정보 아이콘 + 문구) */
.epss365 .tbl_stat > tbody > tr.stat_note { display: block !important; margin-top: 28px; padding-top: 24px; border-top: 2px solid var(--line); }
.epss365 .tbl_stat > tbody > tr.stat_note > td { position: relative; display: block; width: 100%; padding-left: 34px; font-size: 19px; line-height: 1.6; font-weight: 500; color: var(--text-sub); box-sizing: border-box; }
.epss365 .tbl_stat .stat_note .fa { position: absolute; top: 3px; left: 0; font-size: 24px; line-height: 1; color: var(--accent-dark); }
.epss365 .tbl_stat .bar_dot { flex: 0 0 auto; display: inline-block; width: 14px; height: 14px; border-radius: 4px; }
.epss365 .tbl_stat .bar_gov .bar_dot { background-color: var(--logo-orange); }
.epss365 .tbl_stat .bar_my .bar_dot { background-color: var(--logo-yellow); }
.epss365 .tbl_stat .bar_track { --bar-gov: 85%; position: relative; display: block; height: 32px; margin: 0; overflow: hidden; background-color: var(--logo-yellow); border-radius: 16px; box-shadow: inset 0 2px 4px rgba(43,38,34,.08); }
.epss365 .tbl_stat .bar_fill { position: absolute; top: 0; left: 0; bottom: 0; display: block; width: var(--bar-gov); background-color: var(--logo-orange); border-right: 3px solid #fff; border-radius: 16px 0 0 16px; box-sizing: border-box; animation: sub_bar_fill 1.6s cubic-bezier(.22,.8,.3,1) .6s both; }
@keyframes sub_bar_fill { from { width: 0; border-right-width: 0; } to { width: var(--bar-gov); } }
@media (prefers-reduced-motion: reduce) {
    .epss365 .tbl_stat .bar_fill { animation: none; }
}


/* =========================================================
   12-4. 상담 유도 (tbl_cta)
   <tr><td class="cta_txt"><p class="cta_tit">..</p><p class="cta_desc">..</p></td><td class="cta_btn"> 버튼 </td></tr>
========================================================= */
.epss365 .tbl_cta, .epss365 .tbl_cta > tbody { display: block !important; width: 100% !important; border: 0 !important; }
.epss365 .tbl_cta > tbody > tr { position: relative; display: flex !important; align-items: center; justify-content: space-between; gap: 30px; padding: 44px 52px; background-color: var(--accent-dark); border-radius: var(--radius-lg); box-sizing: border-box; overflow: hidden; }
.epss365 .tbl_cta > tbody > tr:before { position: absolute; top: -60px; right: -40px; content: ''; width: 220px; height: 220px; background-color: var(--logo-orange); border-radius: 50%; opacity: .25; }
.epss365 .tbl_cta > tbody > tr:after { position: absolute; bottom: -70px; right: 150px; content: ''; width: 150px; height: 150px; background-color: var(--logo-yellow); border-radius: 50%; opacity: .2; }
.epss365 .tbl_cta > tbody > tr > td { position: relative; z-index: 1; padding: 0; border: 0; word-break: keep-all; }
.epss365 .tbl_cta .cta_txt { flex: 1 1 0; min-width: 0; }
.epss365 .tbl_cta .cta_tit { display: block; margin: 0 0 8px; font-size: 32px; font-weight: 700; line-height: 1.45; color: #fff; }
.epss365 .tbl_cta .cta_desc { display: block; margin: 0; font-size: 21px; line-height: 1.65; color: #fff; opacity: .92; }
.epss365 .tbl_cta .cta_btn { flex: 0 0 auto; display: flex !important; flex-direction: column; gap: 10px; }
.epss365 .tbl_cta .cta_btn .btn_her { margin: 0; text-align: center; }

/* 흰 버튼 (진한 배경 위) */
.epss365 .btn_her.btn_white { color: var(--accent-dark) !important; background-color: #fff; border-color: #fff; }
.epss365 .btn_her.btn_white:hover, .epss365 .btn_her.btn_white:focus { background-color: var(--accent-light); border-color: var(--accent-light); }


/* =========================================================
   12-5. 세로 절차 (tbl_flow) - 설명이 긴 단계 안내
   <tr><td class="flow_icon"><p class="flow_ico"><i class="fa fa-phone"></i></p></td>
       <td class="flow_txt"><p class="flow_num">STEP 01</p><p class="flow_tit">제목</p><p class="flow_desc">내용</p></td></tr>
   p.flow_ico 안에 img 사용 가능
========================================================= */
.epss365 .tbl_flow { width: 100% !important; border: 0 !important; border-collapse: separate !important; border-spacing: 0 24px; }
.epss365 .tbl_flow > tbody > tr > td { padding: 0; border: 0; vertical-align: top; word-break: keep-all; }
.epss365 .tbl_flow .flow_icon { position: relative; width: 124px !important; padding-right: 28px; }
.epss365 .tbl_flow .flow_icon:before { position: absolute; top: 96px; bottom: -24px; left: 47px; content: ''; border-left: 2px dashed var(--line-dark); }
.epss365 .tbl_flow > tbody > tr:last-child .flow_icon:before { display: none; }
.epss365 .tbl_flow .flow_ico { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; margin: 0; font-size: 40px; color: var(--accent); background-color: var(--accent-light); border-radius: 50%; }
.epss365 .tbl_flow .flow_ico img { width: auto; height: auto; max-width: 60%; max-height: 60%; }
.epss365 .tbl_flow > tbody > tr:last-child .flow_ico { color: #fff; background-color: var(--accent-dark); }
.epss365 .tbl_flow .flow_txt { padding: 28px 36px !important; background-color: var(--bg-warm); border-radius: var(--radius-lg); }
.epss365 .tbl_flow .flow_num { display: inline-block; margin: 0 0 10px; padding: 5px 16px; font-size: 19px; font-weight: 700; letter-spacing: .04em; color: #fff; background-color: var(--accent-dark); border-radius: 999px; }
.epss365 .tbl_flow .flow_tit { display: block; margin: 0 0 8px; font-size: 28px; font-weight: 700; line-height: 1.4; color: var(--text-dark); }
.epss365 .tbl_flow .flow_desc { display: block; margin: 0; font-size: 22px; line-height: 1.7; font-weight: 500; color: var(--text-body); }
.epss365 .tbl_flow .flow_desc a { color: var(--accent-dark); font-weight: 700; white-space: nowrap; }


/* =========================================================
   12-6. 카드 안 전화번호 : <a class="card_tel" href="tel:...">02-000-0000</a>
========================================================= */
.epss365 .tbl_card .card_tel { display: block; margin: 4px 0 6px; font-size: 44px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: var(--accent-dark) !important; text-decoration: none !important; }
.epss365 .tbl_card > tbody > tr > td.on .card_tel { color: var(--logo-yellow) !important; }   /* 진한 배경 위 노랑 강조 3.86:1 (44px 굵은 글씨 = 큰 글씨 기준 통과) */
.epss365 .tbl_card .card_tel:hover, .epss365 .tbl_card .card_tel:focus { text-decoration: underline !important; text-underline-offset: 6px; }


/* =========================================================
   12-7. 지도 (tbl_map)
   <tr><td class="map_area"> 지도 퍼가기 iframe 또는 약도 img </td></tr>
   <tr class="map_btn"><td> 지도 앱 버튼 </td></tr>
   - 지도 코드가 없을 땐 p.map_ph(안내 문구)가 보임
========================================================= */
.epss365 .tbl_map { width: 100% !important; border: 0 !important; border-collapse: separate !important; border-spacing: 0; }
.epss365 .tbl_map > tbody > tr > td { padding: 0; border: 0; }
.epss365 .tbl_map .map_area { height: 480px; text-align: center; vertical-align: middle; background-color: var(--bg-warm); border-radius: var(--radius-lg); overflow: hidden; }
.epss365 .tbl_map .map_area iframe,
.epss365 .tbl_map .map_area img { display: block; width: 100% !important; height: 100% !important; max-width: none; border: 0; object-fit: cover; }
/* 약도 이미지일 때 : 고정 높이 대신 이미지 원본 비율로 (잘림 방지) / iframe 지도는 기존 고정 높이 유지 */
.epss365 .tbl_map .map_area:has(> img) { height: auto; }
.epss365 .tbl_map .map_area:has(> img) img { height: auto !important; }
.epss365 .tbl_map .map_ph { margin: 0; font-size: 22px; line-height: 1.6; font-weight: 500; color: var(--text-body); }
.epss365 .tbl_map .map_ph .fa { display: block; margin-bottom: 14px; font-size: 60px; color: var(--accent); }
.epss365 .tbl_map .map_btn > td { padding-top: 16px; text-align: right; }


/* =========================================================
   12-8. 게시판 머리말 (tbl_bhead)
   <tr><td class="bh_txt"><p class="bh_label">..</p><p class="bh_tit">..</p><p class="bh_desc">..</p><p class="bh_tags">..</p></td>
       <td class="bh_side"> (선택) 전화번호 / 안내 </td></tr>
   - bh_side 없이 bh_txt 만 써도 됨
========================================================= */
.epss365 .tbl_bhead, .epss365 .tbl_bhead > tbody { display: block !important; width: 100% !important; border: 0 !important; }
.epss365 .tbl_bhead > tbody > tr { display: flex !important; align-items: stretch; gap: 40px; padding: 44px 48px; background-color: var(--bg-warm); border-radius: var(--radius-lg); box-sizing: border-box; }
.epss365 .tbl_bhead > tbody > tr > td { padding: 0; border: 0; word-break: keep-all; box-sizing: border-box; }
.epss365 .tbl_bhead .bh_txt { flex: 1 1 0; min-width: 0; }
.epss365 .tbl_bhead .bh_label { display: block; margin: 0 0 10px; font-size: 19px; font-weight: 700; letter-spacing: .12em; color: var(--logo-orange-sm); }
.epss365 .tbl_bhead .bh_label:before { display: inline-block; content: ''; width: 10px; height: 10px; margin: 0 26px 2px 0; vertical-align: middle; background-color: var(--logo-yellow); border-radius: 50%; box-shadow: 16px 0 0 var(--logo-orange); }
.epss365 .tbl_bhead .bh_tit { display: block; margin: 0 0 14px; font-size: 36px; font-weight: 700; line-height: 1.35; color: var(--text-dark); }
.epss365 .tbl_bhead .bh_desc { display: block; margin: 0; font-size: 22px; line-height: 1.7; font-weight: 500; color: var(--text-body); }
.epss365 .tbl_bhead .bh_tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.epss365 .tbl_bhead .bh_tags .tag { margin: 0; padding: 7px 16px; font-weight: 500; color: var(--text-dark); background-color: #fff; }
.epss365 .tbl_bhead .bh_tags .tag b { color: var(--accent-dark); }
.epss365 .tbl_bhead .bh_side { flex: 0 0 340px; display: flex !important; flex-direction: column; justify-content: center; gap: 6px; padding: 28px 30px; background-color: #fff; border-radius: var(--radius); }
.epss365 .tbl_bhead .bh_side_tit { display: block; margin: 0 0 4px; font-size: 21px; font-weight: 700; color: var(--text-dark); }
.epss365 .tbl_bhead .bh_side_tit .fa { margin-right: 8px; color: var(--accent); }
.epss365 .tbl_bhead .bh_side_txt { display: block; margin: 0; font-size: 20px; line-height: 1.65; font-weight: 500; color: var(--text-body); }
.epss365 .tbl_bhead .bh_tel { display: block; font-size: 32px; font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; color: var(--accent-dark) !important; text-decoration: none !important; }
.epss365 .tbl_bhead .bh_tel small { display: block; font-size: 19px; font-weight: 500; letter-spacing: 0; color: var(--text-sub); }
.epss365 .tbl_bhead .bh_tel + .bh_tel { margin-top: 8px; }

/* 작은 절차 : tbl_step 에 step_sm 추가 (머리말 아래 간단한 진행 순서) */
.epss365 .tbl_step.step_sm > tbody > tr { gap: 30px; }
.epss365 .tbl_step.step_sm > tbody > tr > td { flex-direction: row; justify-content: center; gap: 14px; padding: 20px 18px; text-align: left; border-radius: var(--radius); }
.epss365 .tbl_step.step_sm > tbody > tr > td:not(:last-child):after { right: -24px; font-size: 26px; }
.epss365 .tbl_step.step_sm .step_num { flex: 0 0 auto; margin: 0; }
.epss365 .tbl_step.step_sm .step_tit { margin: 0; font-size: 22px; }


/* =========================================================
   12-9. 질문 유도 배너 (tbl_ask) : 서브페이지 하단 (만족도 평가 대신) → 질문답변 게시판으로 연결
   <tr><td class="ask_icon"><p class="ask_ico"><i class="fa fa-comments"></i><span class="ask_q">?</span></p></td>
       <td class="ask_txt"><p class="ask_label">Q&amp;A</p><p class="ask_tit">..</p><p class="ask_desc">..</p>
           <p class="ask_chips"><span class="ask_chip">질문합니다</span> ..</p></td>
       <td class="ask_btn"><a class="btn_her btn_write btn_arrow" href="/subList/21001000404">질문 남기기</a></td></tr>
   - 바로 위에 진한 상담 배너(tbl_cta)가 오는 경우가 많아서 색을 다르게 : 로고 노랑→피치 그라데이션 + 차콜 버튼
   - 반응형은 화면 너비가 아니라 배너 자체 너비 기준(@container) → 왼쪽 메뉴·관리자 미리보기처럼 본문이 좁을 때도 안 깨짐
========================================================= */
.epss365 .tbl_ask, .epss365 .tbl_ask > tbody { display: block !important; width: 100% !important; border: 0 !important; }
.epss365 .tbl_ask { container: ask / inline-size; }
.epss365 .tbl_ask > tbody > tr { position: relative; display: flex !important; align-items: center; gap: 36px; padding: 44px 52px; background: linear-gradient(120deg, #FFF3D1 0%, #FDE9D6 100%); border: 2px solid #F5D9A8; border-radius: var(--radius-lg); box-sizing: border-box; overflow: hidden; }
.epss365 .tbl_ask > tbody > tr:before { position: absolute; top: 0; left: 0; right: 0; content: ""; height: 6px; background: linear-gradient(90deg, var(--logo-yellow), var(--logo-orange)); }   /* 상단 로고 컬러 띠 */
.epss365 .tbl_ask > tbody > tr:after { position: absolute; right: -40px; bottom: -80px; content: ""; width: 220px; height: 220px; background-color: #fff; border-radius: 50%; opacity: .45; pointer-events: none; }   /* 장식 원 */
.epss365 .tbl_ask > tbody > tr > td { position: relative; z-index: 1; padding: 0; border: 0; word-break: keep-all; box-sizing: border-box; }
.epss365 .tbl_ask .ask_icon { flex: 0 0 auto; }
.epss365 .tbl_ask .ask_ico { position: relative; display: flex; align-items: center; justify-content: center; width: 116px; height: 116px; margin: 0; font-size: 50px; color: #fff; background: linear-gradient(135deg, var(--logo-orange) 0%, var(--accent-dark) 100%); border-radius: 50%; box-shadow: 0 12px 24px rgba(226, 91, 0, .28); }
.epss365 .tbl_ask .ask_ico .ask_q { position: absolute; top: -6px; right: -8px; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; font-size: 24px; font-weight: 800; line-height: 1; color: var(--text-dark); background-color: var(--logo-yellow); border: 3px solid #fff; border-radius: 50%; animation: sub_ask_bob 2.6s ease-in-out infinite; }   /* 노랑 위 진한 글자 10:1 */
@keyframes sub_ask_bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.epss365 .tbl_ask .ask_txt { flex: 1 1 0; min-width: 0; }
.epss365 .tbl_ask .ask_label { display: block; margin: 0 0 8px; font-size: 19px; font-weight: 700; letter-spacing: .12em; color: var(--logo-orange-sm); }
.epss365 .tbl_ask .ask_tit { display: block; margin: 0 0 8px; font-size: 34px; font-weight: 800; line-height: 1.35; color: var(--text-dark); }
.epss365 .tbl_ask .ask_desc { display: block; margin: 0; font-size: 21px; line-height: 1.65; font-weight: 500; color: var(--text-body); }
.epss365 .tbl_ask .ask_chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; }
/* 말풍선 모양 태그 */
.epss365 .tbl_ask .ask_chip { position: relative; display: inline-block; padding: 8px 18px; font-size: 19px; font-weight: 700; line-height: 1.4; white-space: nowrap; color: var(--accent-dark); background-color: #fff; border-radius: 999px 999px 999px 6px; box-shadow: 0 4px 10px rgba(158, 68, 19, .10); }
.epss365 .tbl_ask .ask_btn { flex: 0 0 auto; }
/* 버튼 : 위 상담 배너(테라코타·노랑 버튼)와 구분되도록 차콜 */
.epss365 .tbl_ask .ask_btn .btn_her { margin: 0; padding: 20px 36px; font-size: 22px; white-space: nowrap; background-color: var(--text-dark); border-color: var(--text-dark); box-shadow: 0 10px 20px rgba(43, 38, 34, .2); }
.epss365 .tbl_ask .ask_btn .btn_her:hover, .epss365 .tbl_ask .ask_btn .btn_her:focus { background-color: var(--accent-dark); border-color: var(--accent-dark); }
.epss365 .btn_write:before { content: "\f040"; }   /* 연필 */
@media (prefers-reduced-motion: reduce) { .epss365 .tbl_ask .ask_ico .ask_q { animation: none; } }

/* 배너 너비 900px 이하 : 버튼을 아랫줄로 */
@container ask (max-width: 900px) {
    .epss365 .tbl_ask > tbody > tr { flex-wrap: wrap; gap: 24px 28px; padding: 40px 36px 36px; }
    .epss365 .tbl_ask .ask_btn { flex: 1 1 100%; padding-left: 144px; }
}
/* 배너 너비 600px 이하 : 모바일 */
@container ask (max-width: 600px) {
    .epss365 .tbl_ask > tbody > tr { gap: 18px 16px; padding: 32px 22px 24px; border-radius: var(--radius); }
    .epss365 .tbl_ask .ask_icon { align-self: flex-start; }
    .epss365 .tbl_ask .ask_ico { width: 64px; height: 64px; font-size: 28px; }
    .epss365 .tbl_ask .ask_ico .ask_q { top: -4px; right: -6px; width: 28px; height: 28px; font-size: 17px; border-width: 2px; }
    .epss365 .tbl_ask .ask_label { margin-bottom: 4px; font-size: 18px; }
    .epss365 .tbl_ask .ask_tit { font-size: 25px; }
    .epss365 .tbl_ask .ask_desc { font-size: 19px; }
    .epss365 .tbl_ask .ask_chips { gap: 8px; margin-top: 14px; }
    .epss365 .tbl_ask .ask_chip { padding: 6px 14px; font-size: 18px; }
    .epss365 .tbl_ask .ask_btn { padding-left: 0; }
    .epss365 .tbl_ask .ask_btn .btn_her { display: block; padding: 16px 20px; font-size: 20px; text-align: center; }
}

/* 상담 유도(tbl_cta)도 배너 자체 너비 기준으로 (본문이 좁을 때 글자가 한 단어씩 줄바꿈되던 문제) */
.epss365 .tbl_cta { container: cta / inline-size; }
@container cta (max-width: 900px) {
    .epss365 .tbl_cta > tbody > tr { flex-direction: column; align-items: stretch; gap: 22px; padding: 36px 32px; }
    .epss365 .tbl_cta .cta_btn { flex-direction: row; flex-wrap: wrap; }
}
@container cta (max-width: 600px) {
    .epss365 .tbl_cta > tbody > tr { padding: 32px 22px; border-radius: var(--radius); }
    .epss365 .tbl_cta .cta_tit { font-size: 26px; }
    .epss365 .tbl_cta .cta_desc { font-size: 19px; }
    .epss365 .tbl_cta .cta_btn { flex-direction: column; }
    .epss365 .tbl_cta .cta_btn .btn_her { display: block; white-space: nowrap; }
}


/* =========================================================
   13. 반응형
========================================================= */
@media (max-width: 1024px) {
    /* 대제목 */
    .epss365 .subpage_wrap .sec_tit > td { font-size: 38px; }

    /* 절차 : 4단계 이상이면 2열 (3단계 이하는 한 줄 유지) */
    .epss365 .tbl_step > tbody > tr { gap: 28px; }
    .epss365 .tbl_step > tbody > tr > td:not(:last-child):after { right: -23px; font-size: 26px; }
    .epss365 .tbl_step > tbody > tr:has(> td:nth-child(4)) { flex-wrap: wrap; gap: 20px; }
    .epss365 .tbl_step > tbody > tr:has(> td:nth-child(4)) > td { flex: 1 1 calc(50% - 10px); }
    .epss365 .tbl_step > tbody > tr:has(> td:nth-child(4)) > td:not(:last-child):after { display: none; }

    /* 카드 : 한 줄에 4개 이상이면 2열 / 작은 카드 5개 이상이면 3열 */
    .epss365 .tbl_card > tbody > tr:has(> td:nth-child(4)) > td { flex: 1 1 calc(50% - 10px); }
    .epss365 .tbl_card.card_sm > tbody > tr:has(> td:nth-child(5)) > td { flex: 1 1 calc(33.333% - 10px); }

    /* 이미지+텍스트 */
    .epss365 .tbl_split > tbody > tr { gap: 36px; }
    .epss365 .tbl_split .split_img { flex-basis: 40%; }

    /* 강조 띠 / 정보 / 머리말 */
    .epss365 .tbl_stat > tbody { padding: 32px 36px; }
    .epss365 .tbl_stat > tbody > tr { gap: 28px; }
    .epss365 .tbl_stat .stat_num { font-size: 56px; }
    .epss365 .tbl_stat .stat_txt { padding-left: 28px !important; }
    .epss365 .tbl_info .info_tit { width: 190px !important; }
    .epss365 .tbl_bhead > tbody > tr { flex-direction: column; gap: 24px; padding: 36px 36px; }
    .epss365 .tbl_bhead .bh_side { flex: 1 1 auto; }

    /* 상담 유도 : 세로 */
    .epss365 .tbl_cta > tbody > tr { flex-direction: column; align-items: flex-start; gap: 22px; }
    .epss365 .tbl_cta .cta_btn { flex-direction: row; flex-wrap: wrap; }

}

@media (max-width: 768px) {
    /* 레이아웃 */
    .epss365 .subpage_wrap .sec_tit > td { font-size: 32px; }   /* 32px bold = 큰 글씨 기준 유지 → .point 대비 OK */
    .epss365 .subpage_wrap .sec_tit > td:after { margin-top: 16px; }
    .epss365 .subpage_wrap .sec_label > td { font-size: 18px; }
    .epss365 .subpage_wrap .sec_desc > td { padding-bottom: 28px; font-size: 20px; }
    .epss365 .subpage_wrap .tit_dp_01 > td { padding-left: 26px; font-size: 26px; }
    .epss365 .subpage_wrap .tit_dp_01 > td:before, .epss365 .subpage_wrap .tit_dp_01 > td:after { top: 19px; width: 10px; height: 10px; }
    .epss365 .subpage_wrap .tit_dp_01 > td:after { left: 7px; }
    .epss365 .subpage_wrap .tit_dp_02 > td { padding-left: 0; font-size: 23px; }
    .epss365 .subpage_wrap .tit_dp_02.blt > td { padding-left: 16px; }
    .epss365 .subpage_wrap .tit_dp_02.blt > td:before { top: 25px; left: 0; }
    .epss365 .subpage_wrap .tit_dp_03 > td { padding-left: 0; font-size: 21px; }
    .epss365 .subpage_wrap .txt_dp_01 > td { padding-left: 0; font-size: 20px; }
    .epss365 .subpage_wrap .txt_dp_02 > td { padding-left: 14px; font-size: 19px; }
    .epss365 .subpage_wrap .txt_dp_03 > td { padding-left: 26px; font-size: 18px; }
    .epss365 .subpage_wrap .txt_dp_04 > td { padding-left: 36px; font-size: 18px; }
    .epss365 .subpage_wrap .txt_dp_01.blt > td { padding-left: 16px; }
    .epss365 .subpage_wrap .txt_dp_01.blt > td:before { top: 18px; left: 1px; }
    .epss365 .subpage_wrap .txt_dp_02.blt > td { padding-left: 30px; }
    .epss365 .subpage_wrap .txt_dp_02.blt > td:before { top: 18px; left: 15px; }
    .epss365 .subpage_wrap .txt_dp_03.blt > td { padding-left: 38px; }
    .epss365 .subpage_wrap .txt_dp_03.blt > td:before { top: 15px; left: 27px; }
    .epss365 .subpage_wrap .txt_dp_01.chk > td { padding-left: 32px; }
    .epss365 .subpage_wrap .txt_dp_01.chk > td:before { left: 0; }
    .epss365 .subpage_wrap .txt_dp_01.txt_warn > td { padding-left: 30px; }
    .epss365 .subpage_wrap .txt_dp_01.txt_warn > td:before { left: 0; }
    .epss365 .subpage_wrap .txt_dp_02.txt_warn > td { padding-left: 44px; }
    .epss365 .subpage_wrap .txt_dp_02.txt_warn > td:before { left: 14px; }
    .epss365 .subpage_wrap .txt_dp_03.txt_warn > td { padding-left: 54px; }
    .epss365 .subpage_wrap .txt_dp_03.txt_warn > td:before { left: 26px; }
    .epss365 .subpage_wrap .txt_dp_01.txt_ref > td { padding-left: 24px; }
    .epss365 .subpage_wrap .txt_dp_01.txt_ref > td:before { left: 0; }
    .epss365 .subpage_wrap .txt_dp_02.txt_ref > td { padding-left: 38px; }
    .epss365 .subpage_wrap .txt_dp_02.txt_ref > td:before { left: 14px; }
    .epss365 .subpage_wrap .tbl_row > td { padding-left: 0; }

    /* 박스 */
    .epss365 .subpage_box > tbody > tr > td { padding: 26px 20px; border-radius: var(--radius); }
    .epss365 .subpage_box .box_tit > td { font-size: 23px; }
    .epss365 .subpage_box.qna > tbody > tr > td { padding-left: 82px; }
    .epss365 .subpage_box.qna > tbody > tr > td:before,
    .epss365 .subpage_box.qna > tbody > tr > td:after { top: 24px; left: 18px; width: 46px; height: 46px; }
    .epss365 .subpage_box.qna > tbody > tr > td:before { font-size: 24px; line-height: 46px; }
    .epss365 .subpage_box.qna .qna_q,
    .epss365 .subpage_box.qna .box_tit > td { font-size: 22px; }

    /* 버튼 */
    .epss365 .btn_her { padding: 12px 20px; font-size: 19px; }

    /* 표 : 넘치면 표 안에서 가로 스크롤 / tbl_scroll 추가 시 최소 640px 유지 */
    .epss365 .subpage_tbl th, .epss365 .subpage_tbl td { padding: 10px 8px; font-size: 18px; }
    .epss365 .subpage_tbl .thead th { font-size: 19px; }
    .epss365 .subpage_tbl { display: block !important; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .epss365 .subpage_tbl > tbody { display: table; width: 100%; }
    .epss365 .subpage_tbl.tbl_scroll > tbody { min-width: 640px; }

    /* 카드 */
    .epss365 .tbl_card > tbody > tr { gap: 12px; }
    .epss365 .tbl_card > tbody > tr + tr { margin-top: 12px; }
    .epss365 .tbl_card > tbody > tr > td { --card-pt: 26px; --card-px: 16px; padding: var(--card-pt) var(--card-px) 22px; border-radius: var(--radius); }
    /* 카드 : 768px 이하 한 줄에 하나씩 (card_m2 / card_sm 은 2열 유지, card_sm 5개 이상은 3열) */
    .epss365 .tbl_card > tbody > tr > td,
    .epss365 .tbl_card > tbody > tr:has(> td:nth-child(4)) > td { flex: 1 1 100%; }
    .epss365 .tbl_card.card_m2 > tbody > tr > td,
    .epss365 .tbl_card.card_m2 > tbody > tr:has(> td:nth-child(4)) > td,
    .epss365 .tbl_card.card_sm > tbody > tr > td,
    .epss365 .tbl_card.card_sm > tbody > tr:has(> td:nth-child(4)) > td { flex: 1 1 calc(50% - 6px); }
    .epss365 .tbl_card.card_sm > tbody > tr:has(> td:nth-child(5)) > td { flex: 1 1 calc(33.333% - 7px); }
    .epss365 .tbl_card .card_icon { width: 72px; height: 72px; margin-bottom: 14px; font-size: 30px; }
    .epss365 .tbl_card .card_tit { font-size: 26px; }
    .epss365 .tbl_card .card_txt { font-size: 21px; }

    /* 절차 : 세로 */
    .epss365 .tbl_step > tbody > tr { flex-direction: column; gap: 30px; }
    .epss365 .tbl_step > tbody > tr > td { flex: 1 1 auto; padding: 24px 18px; border-radius: var(--radius); }
    .epss365 .tbl_step > tbody > tr > td:not(:last-child):after { display: block; top: auto; right: auto; bottom: -30px; left: 50%; transform: translateX(-50%); content: "\f107"; font-size: 26px; }
    .epss365 .tbl_step > tbody > tr:has(> td:nth-child(4)) { flex-wrap: nowrap; gap: 30px; }
    .epss365 .tbl_step > tbody > tr:has(> td:nth-child(4)) > td { flex: 1 1 auto; }
    .epss365 .tbl_step > tbody > tr:has(> td:nth-child(4)) > td:not(:last-child):after { display: block; }

    /* 정보 : 세로 */
    .epss365 .tbl_info, .epss365 .tbl_info > tbody, .epss365 .tbl_info > tbody > tr, .epss365 .tbl_info > tbody > tr > td { display: block !important; width: 100% !important; }
    .epss365 .tbl_info > tbody > tr > td { padding: 14px 16px; font-size: 19px; }
    .epss365 .tbl_info .info_tit { width: 100% !important; border-bottom: 0; }

    /* 연혁 */
    .epss365 .tbl_history .year { width: 90px !important; padding-right: 8px; font-size: 26px; }
    .epss365 .tbl_history .date { width: 66px !important; padding-left: 26px; font-size: 18px; }
    .epss365 .tbl_history .desc { font-size: 18px; }

    /* 인사말 */
    .epss365 .tbl_greeting .greet_img > td { padding-bottom: 30px; }
    .epss365 .tbl_greeting .greet_tit > td { font-size: 28px; }
    .epss365 .tbl_greeting .greet_body > td { font-size: 19px; }
    .epss365 .tbl_greeting .greet_sign .name { font-size: 26px; }

    /* 이미지+텍스트 : 세로 */
    .epss365 .tbl_split > tbody > tr, .epss365 .tbl_split > tbody > tr.reverse { flex-direction: column; align-items: stretch; gap: 22px; }
    .epss365 .tbl_split > tbody > tr + tr { margin-top: 44px; }
    .epss365 .tbl_split .split_img { flex: 1 1 auto; }
    .epss365 .tbl_split .split_tit { font-size: 28px; }
    .epss365 .tbl_split .split_desc { font-size: 19px; }

    /* 섹션 간격 */
    .epss365 table.sec_gap { margin-top: 72px !important; }

    /* 카드 확장 */
    .epss365 .tbl_card .card_tags .tag { padding: 5px 12px; font-size: 18px; }
    .epss365 .tbl_card .card_big { font-size: 48px; }
    .epss365 .tbl_card .card_clock { width: 170px; height: 170px; }
    .epss365 .tbl_card .card_clock:before { inset: 20px; }
    .epss365 .tbl_card .card_clock .clock_num { font-size: 46px; }
    .epss365 .tbl_card .card_clock .clock_num .card_unit { font-size: 22px; }
    .epss365 .tbl_card.card_plus { --plus-gap: 64px; }
    .epss365 .tbl_card.card_plus > tbody > tr { flex-direction: column; }
    .epss365 .tbl_card.card_plus > tbody > tr > td:not(:last-child):after { top: calc(100% + 1px + var(--plus-gap) / 2); left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; line-height: 48px; font-size: 22px; }
    .epss365 .tbl_card.card_plus .card_icon.illust { height: 130px; margin-bottom: 20px; }
    .epss365 .tbl_card.card_sm > tbody > tr { gap: 10px; }
    .epss365 .tbl_card.card_sm > tbody > tr > td { --card-pt: 20px; --card-px: 8px; padding: var(--card-pt) var(--card-px) 16px; }
    .epss365 .tbl_card.card_sm .card_icon { width: 56px; height: 56px; font-size: 24px; }
    .epss365 .tbl_card .card_icon.illust { height: 96px; }
    .epss365 .tbl_card.card_sm .card_icon.illust { height: 64px; }
    .epss365 .tbl_card.card_sm .card_tit { font-size: 21px; }
    .epss365 .tbl_card.card_sm.card_illust_lg > tbody > tr > td { --card-pt: 32px; padding: var(--card-pt) var(--card-px) 28px; }
    .epss365 .tbl_card.card_sm.card_illust_lg .card_icon.illust { height: 120px; margin-bottom: 18px; }

    /* 강조 띠 */
    .epss365 .tbl_stat > tbody { padding: 28px 24px; border-radius: var(--radius); }
    .epss365 .tbl_stat > tbody > tr { flex-direction: column; align-items: flex-start; gap: 16px; }
    .epss365 .tbl_stat > tbody > tr.stat_bar { margin-bottom: 24px; padding-bottom: 24px; }
    .epss365 .tbl_stat .bar_lbl { font-size: 19px; }
    .epss365 .tbl_stat .bar_lbls { flex-wrap: nowrap; gap: 12px; }
    .epss365 .tbl_stat .bar_lbl { gap: 6px; font-size: 18px; white-space: nowrap; }
    .epss365 .tbl_stat .bar_lbl b { font-size: 20px; }
    .epss365 .tbl_stat .bar_dot { width: 12px; height: 12px; border-radius: 3px; }
    .epss365 .tbl_stat > tbody > tr.stat_note { margin-top: 22px; padding-top: 20px; }
    .epss365 .tbl_stat > tbody > tr.stat_note > td { padding-left: 30px; font-size: 18px; }
    .epss365 .tbl_stat .stat_note .fa { font-size: 22px; }
    .epss365 .tbl_stat .bar_track { height: 26px; }
    .epss365 .tbl_stat .stat_num { font-size: 56px; }
    .epss365 .tbl_stat .stat_num span { font-size: 32px; }
    .epss365 .tbl_stat .stat_txt { padding: 16px 0 0 !important; border-left: 0 !important; border-top: 2px solid var(--line) !important; }
    .epss365 .tbl_stat .stat_tit { font-size: 23px; }
    .epss365 .tbl_stat .stat_desc { font-size: 19px; }

    /* 상담 유도 */
    .epss365 .tbl_cta > tbody > tr { flex-direction: column; align-items: stretch; gap: 22px; padding: 32px 24px; border-radius: var(--radius); }
    .epss365 .tbl_cta .cta_tit { font-size: 26px; }
    .epss365 .tbl_cta .cta_desc { font-size: 19px; }

    /* 세로 절차 */
    .epss365 .tbl_flow { border-spacing: 0 16px; }
    .epss365 .tbl_flow .flow_icon { width: 76px !important; padding-right: 12px; }
    .epss365 .tbl_flow .flow_icon:before { top: 64px; bottom: -16px; left: 31px; }
    .epss365 .tbl_flow .flow_ico { width: 64px; height: 64px; font-size: 26px; }
    .epss365 .tbl_flow .flow_txt { padding: 20px 20px !important; border-radius: var(--radius); }
    .epss365 .tbl_flow .flow_num { font-size: 18px; padding: 4px 14px; }
    .epss365 .tbl_flow .flow_tit { font-size: 23px; }
    .epss365 .tbl_flow .flow_desc { font-size: 19px; }

    /* 카드 전화번호 */
    .epss365 .tbl_card .card_tel { font-size: 34px; }

    /* 대제목 설명 : 강제 줄바꿈 해제 (좁은 화면에서 자연스럽게) */
    .epss365 .subpage_wrap .sec_desc br { display: none; }

    /* 상담 유도 버튼 : 세로 꽉 차게 */
    .epss365 .tbl_cta .cta_btn { flex-direction: column; }

    /* 게시판 머리말 */
    .epss365 .tbl_bhead > tbody > tr { gap: 20px; padding: 28px 22px; border-radius: var(--radius); }
    .epss365 .tbl_bhead .bh_label { font-size: 18px; }
    .epss365 .tbl_bhead .bh_tit { font-size: 28px; }
    .epss365 .tbl_bhead .bh_desc { font-size: 19px; }
    .epss365 .tbl_bhead .bh_tags .tag { padding: 5px 12px; font-size: 18px; }
    .epss365 .tbl_bhead .bh_side { padding: 22px 20px; }
    .epss365 .tbl_bhead .bh_side_tit { font-size: 20px; }
    .epss365 .tbl_bhead .bh_side_txt { font-size: 18px; }
    .epss365 .tbl_bhead .bh_tel { font-size: 28px; }
    .epss365 .tbl_bhead .bh_tel small { font-size: 18px; }

    /* 작은 절차 */
    .epss365 .tbl_step.step_sm > tbody > tr { flex-direction: row; gap: 8px; }
    .epss365 .tbl_step.step_sm > tbody > tr > td { flex: 1 1 0; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; padding: 14px 8px; text-align: center; }
    .epss365 .tbl_step.step_sm > tbody > tr > td:not(:last-child):after { display: none; }
    .epss365 .tbl_step.step_sm .step_tit { font-size: 18px; }

    /* 지도 */
    .epss365 .tbl_map .map_area { height: 300px; border-radius: var(--radius); }
    .epss365 .tbl_map .map_ph { font-size: 19px; }
    .epss365 .tbl_map .map_btn > td { text-align: center; }

}

@media (max-width: 480px) {
    /* 작은 카드 5개 이상 : 480px 이하에서는 2열 */
    .epss365 .tbl_card.card_sm > tbody > tr:has(> td:nth-child(5)) > td { flex: 1 1 calc(50% - 6px); }
    /* card_first_full : 2열일 때 첫 카드만 한 줄 전체 (가족요양 지원 - 인정되는 가족 관계) */
    .epss365 .tbl_card.card_sm.card_first_full > tbody > tr > td:first-child { flex-basis: 100%; }
}

/* =========================================================
   상담/신청 등록 폼 (.register-box) : 신청형 게시판에서만 2열
   - 적용 대상 : 머리말이 <div class="epss365 job_apply"> 또는 <div class="epss365 consult_apply"> 인 게시판만
     (다른 게시판 등록 화면은 기존 table 그대로)
   - 새 게시판에 쓰려면 아래 선택자의 :has( ... ) 안에 더블클래스를 추가
   - PC : 항목 2열 (th + td 한 쌍이 한 칸)
   - 799px 이하 : 1열 (라벨 위 / 입력 아래, input·select·textarea 100%)
   ※ unityBoard.css 가 이 파일보다 뒤에 로드되므로 #bbs_area:has(...) 로 우선순위 확보
   ※ unityBoard.css 의 !important(td padding, input min-width)는 !important 로 덮어씀
========================================================= */

/* ----- 공통 : table → grid ----- */
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table,
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table > tbody { display: block; width: 100%; }
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table > caption { display: none; }
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table > colgroup { display: none; }

/* PC : 2열 */
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table > tbody {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    border-top: 2px solid #333;
}
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table > tbody > tr {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: center;
    border-top: 0;
    border-bottom: 1px solid #ececec;
}
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table > tbody > tr:first-child { border-top: 0; }
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table > tbody > tr > th,
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table > tbody > tr > td { border-bottom: 0; }

/* 라벨 : 오른쪽 정렬 */
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table .subTit {
    width: auto !important;
    text-align: left;
    padding: 12px 0 !important;
    word-break: keep-all;
}
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table > tbody > tr > td {
    width: auto;
    padding: 12px 0 12px 16px !important;
    min-width: 0;
}

/* 빈 td(임시저장 영역) 숨김 */
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table > tbody > tr > td:has(> #tmprntt_area) { display: none; }

/* 한 줄 전체 차지 : 내용(에디터) / 자동입력방지 / 저작권 안내 */
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table > tbody > tr:has(> td[colspan="4"]),
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table > tbody > tr:has(> td[colspan="5"]) { grid-column: 1 / -1; }
/* 저작권 안내(th 없는 행) */
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table > tbody > tr:has(> td[colspan="5"]) { display: block; }
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table > tbody > tr:has(> td[colspan="5"]) > td { padding: 20px 0 !important; text-align: center; }

/* 입력 요소 : 칸 너비에 맞춤 (unityBoard.css min-width:300px 해제) */
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table td input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="button"]):not([type="submit"]),
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table td select,
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table td textarea {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0 !important;
}


/* ----- 799px 이하 : 1열 ----- */
@media (max-width: 799px) {
    #bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table > tbody { grid-template-columns: 1fr; }
    #bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table > tbody > tr { grid-template-columns: 1fr; align-items: stretch; }

    /* 라벨 위 / 입력 아래 */
    #bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table .subTit { width: 100% !important; padding: 14px 0 0 !important; /* text-align: left; ← 모바일만 왼쪽으로 바꾸려면 주석 해제 */ }
    #bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table > tbody > tr > td { padding: 8px 0 14px !important; }

    /* input / select / textarea 가로 100% */
    #bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table td input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="button"]):not([type="submit"]),
    #bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table td select,
    #bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table td textarea { width: 100% !important; }

    /* 자동입력방지 : 이미지 / 음성 / 입력+확인 버튼을 세로로 쌓고 입력칸은 남은 폭 전부 */
    #bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table td#codeAnswerView > div { float: none !important; width: 100%; }
    #bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table td#codeAnswerView .m-fl { float: none !important; width: auto; }
    #bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table td#codeAnswerView .wm10 { margin: 0 0 6px; }
    #bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table td#codeAnswerView .wm80 { display: flex; align-items: center; gap: 6px; width: 100%; }
    #bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table td#codeAnswerView .wm80 input { flex: 1 1 auto; width: auto !important; }
    #bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .register-box .subject table td#codeAnswerView .wm80 .wzbtn { flex: 0 0 auto; }
}


/* =========================================================
   신청형 게시판 (더블클래스)
   - 간편 구인 지원  : <div class="epss365 job_apply">
   - 맞춤돌봄 상담   : <div class="epss365 consult_apply">
   - 같은 .register-box 폼을 쓰지만 저장 버튼 문구만 다르게 표시
   - epss365 박스는 폼(#regFrm)의 형제(#bbs_area 안)라서 :has() 를 #bbs_area 에 건다
   - 버튼 원문 '저장' 은 font-size:0 으로 감추고 ::after 로 새 문구 출력
   ※ 버튼 글자 크기 --apply-btn-fs / 라벨 --apply-tit-fs / 입력 --apply-input-fs 로 조절
========================================================= */
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) {
    --apply-btn-fs: 22px;
    --apply-tit-fs: 19px;
    --apply-input-fs: 18px;
}

/* ----- 버튼 영역 : 우측 정렬 ----- */
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .ctr-box {
    text-align: right;
    justify-content: flex-end;
}

/* ----- 저장 버튼 : 대표 버튼 컬러 ----- */
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .ctr-box .btn-save {
    font-size: 0 !important;
    padding: 16px 40px !important;
    color: #fff !important;
    background: var(--primary-btn) !important;
    border: 1px solid var(--primary-btn) !important;
    border-radius: var(--radius-sm);
    transition: background-color .25s, border-color .25s;
}
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .ctr-box .btn-save:hover,
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .ctr-box .btn-save:focus {
    background: var(--accent-dark) !important;
    border-color: var(--accent-dark) !important;
}
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) .ctr-box .btn-save::after {
    display: inline-block;
    vertical-align: middle;
    font-size: var(--apply-btn-fs);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
}
#bbs_area:has(.epss365.job_apply) .ctr-box .btn-save::after { content: '간편 구인 지원 완료하기'; }
#bbs_area:has(.epss365.consult_apply) .ctr-box .btn-save::after { content: '맞춤돌봄 상담 신청하기'; }

/* ----- 라벨(.subTit) : 글자 확대 + 상하 여백 ----- */
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) #regFrm .register-box .subject table .subTit {
    font-size: var(--apply-tit-fs) !important;
    padding: 18px 0 !important;
}
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) #regFrm .register-box .subject table > tbody > tr > td {
    padding: 16px 0 16px 16px !important;
}

/* ----- 입력폼 : 글자 확대 + 내부 여백 ----- */
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) #regFrm .register-box .subject table td input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="button"]):not([type="submit"]),
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) #regFrm .register-box .subject table td select,
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) #regFrm .register-box .subject table td textarea {
    font-size: var(--apply-input-fs) !important;
    line-height: 1.5 !important;
    height: auto !important;
    padding: 12px 14px !important;
}
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) #regFrm .register-box .subject table td input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="button"]):not([type="submit"]),
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) #regFrm .register-box .subject table td select {
    min-height: 54px;
}
#bbs_area:has(.epss365.job_apply, .epss365.consult_apply) #regFrm .register-box .subject table td select { padding-right: 36px !important; }

/* ----- 799px 이하 : 라벨 위 / 입력 아래 여백 ----- */
@media (max-width: 799px) {
    #bbs_area:has(.epss365.job_apply, .epss365.consult_apply) #regFrm .register-box .subject table .subTit { padding: 18px 0 0 !important; }
    #bbs_area:has(.epss365.job_apply, .epss365.consult_apply) #regFrm .register-box .subject table > tbody > tr > td { padding: 10px 0 18px !important; }
}


/* =========================================================
   퀵메뉴(subQuickMenu)
========================================================= */
/* ----- 메인 퀵메뉴 잘림 해결 : 화면(뷰포트) 기준으로 고정 ----- */
.subQuickMenu.iconbox .toggleBtn { display: none !important; }
.subQuickMenu.iconbox .floating .quick .movBtn { background-color: #fff; }

:root { --qm-gap: 24px; }
/* @media (min-width: 991px) {
    body:has(.widequick152) .subQuickPosition { top: 0 !important; left: 0; margin: 0 !important; height: 0; }
    body:has(.widequick152) .subQuickWrap,
    body:has(.widequick152) .subQuickMenu.iconbox,
    body:has(.widequick152) .subQuickMenu.iconbox .position { position: static !important; width: 100% !important; height: 0 !important; min-height: 0 !important; margin: 0 !important; transform: none !important; }
    body:has(.widequick152) .subQuickMenu.iconbox .floating,
    body:has(.widequick152) .subQuickMenu.iconbox .floating .quick { width: 90px !important; }  
    body:has(.widequick152) .subQuickMenu.iconbox .floating { position: absolute !important; top: var(--qm-top, 0px); right: var(--qm-right, 16px); margin: 0 !important; }
    body:has(.widequick152) .subQuickMenu.iconbox .menuContents { display: block !important; }
} */

/* 퀵메뉴 : 이미지 usrimgId=31392 를 가진 메뉴의 a 태그에 #fae100 적용 */
.subQuickMenu.iconbox .menuContents ul li { box-shadow: 3px 3px 20px rgb(60 30 30 / 50%); }
.subQuickMenu .menuContents ul li a:has(img[src*="usrimgId=31392"]) { background-color: #fae100; }
.subQuickMenu .menuContents ul li a:has(img[src*="usrimgId=31392"]):before { background: #fff; } 


/* =========================================================
   게시판(FAQ) : 머리말(epss365) + 검색창(search-box) + 질문/답변(board_faq)
========================================================= */
:root { --bhead-gap: 40px; }   /* 머리말 ↔ 검색창 / 검색창 ↔ 목록 간격 */

/* ----- 머리말과 게시판 영역 사이 간격 (faqBoard.css 의 mb30 margin-bottom:0 대응) ----- */
.allbox #bbs_area > div.mb30:has(> .epss365 .tbl_bhead) { margin-bottom: var(--bhead-gap); }

/* ----- 검색창 : 머리말 톤에 맞춤 (머리말이 있을 때만) ----- */
#bbs_area:has(.epss365 .tbl_bhead) .search-box {
    margin: 0 0 var(--bhead-gap);
    padding: 40px 48px;
    background-color: #fff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--accent);   /* 상단 포인트 라인 : 웜 배경 머리말과 구분 */
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 28px rgba(43, 38, 34, .07);
}
#bbs_area:has(.epss365 .tbl_bhead) .search-box p {
    padding: 0 0 20px;
    font-size: 22px; font-weight: 500; line-height: 1.7; letter-spacing: -0.02em;
    color: var(--text-body);
}
#bbs_area:has(.epss365 .tbl_bhead) .search-box p span { font-weight: 700; color: var(--accent-dark); }
#bbs_area:has(.epss365 .tbl_bhead) .search-box > div { display: flex; justify-content: center; align-items: stretch; gap: 8px; }
#bbs_area:has(.epss365 .tbl_bhead) .search-box > div input[type="text"] {
    flex: 0 1 560px; width: auto; min-width: 0; height: 56px; padding: 0 20px; box-sizing: border-box;
    font-size: 20px; font-weight: 500; color: var(--text-dark);
    background-color: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius-sm);
}
#bbs_area:has(.epss365 .tbl_bhead) .search-box > div input[type="text"]:focus { border-color: var(--accent); outline: 0; box-shadow: 0 0 0 3px var(--accent-light); }
#bbs_area:has(.epss365 .tbl_bhead) .search-box > div a.btn-srch {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; height: 56px; margin: 0; padding: 0 30px; box-sizing: border-box;
    font-size: 20px; font-weight: 700; line-height: 1; color: #fff !important;
    background-color: var(--accent); border: 0; border-radius: var(--radius-sm); text-decoration: none;
}
#bbs_area:has(.epss365 .tbl_bhead) .search-box > div a.btn-srch:hover,
#bbs_area:has(.epss365 .tbl_bhead) .search-box > div a.btn-srch:focus { background-color: var(--accent-dark); }

/* ----- FAQ 질문(Q) / 답변(A) ----- */
/* Q */
#bbs_area .basic-table.board_faq tbody tr td > div ul li:first-child { padding: 28px 60px 26px 72px; }
#bbs_area .basic-table.board_faq tbody tr td > div > ul > li:first-child:before { left: 24px; top: 28px; font-size: 26px; font-weight: 700; line-height: 1.2; color: var(--accent-dark); }
#bbs_area .basic-table.board_faq tbody tr td > div ul li:first-child > a { font-size: 22px; font-weight: 700; line-height: 1.5; letter-spacing: -0.02em; color: var(--text-dark); word-break: keep-all; }
#bbs_area .basic-table.board_faq tbody tr td > div ul li:first-child > a:hover { color: var(--accent-dark); }
/* A */
#bbs_area .basic-table.board_faq tbody tr td > div ul li:nth-child(2) { padding: 26px 40px 32px 72px; background-color: var(--bg-warm); }
#bbs_area .basic-table.board_faq tbody tr td > div > ul > li:nth-child(2):before { left: 24px; top: 26px; width: auto; height: auto; font-size: 26px; font-weight: 700; line-height: 1.2; color: var(--accent); }
#bbs_area .basic-table.board_faq tbody tr td > div ul li:nth-child(2) > div { font-size: 20px; font-weight: 500; line-height: 1.75; letter-spacing: -0.02em; color: var(--text-body); word-break: keep-all; }

@media (max-width: 768px) {
    :root { --bhead-gap: 28px; }
    #bbs_area:has(.epss365 .tbl_bhead) .search-box { padding: 28px 22px; border-radius: var(--radius); }
    #bbs_area:has(.epss365 .tbl_bhead) .search-box p { padding-bottom: 16px; font-size: 19px; }
    #bbs_area:has(.epss365 .tbl_bhead) .search-box > div input[type="text"] { flex: 1 1 auto; height: 50px; font-size: 18px; }
    #bbs_area:has(.epss365 .tbl_bhead) .search-box > div a.btn-srch { height: 50px; padding: 0 22px; font-size: 18px; }

    #bbs_area .basic-table.board_faq tbody tr td > div ul li:first-child { padding: 22px 40px 20px 52px; }
    #bbs_area .basic-table.board_faq tbody tr td > div > ul > li:first-child:before { left: 16px; top: 22px; font-size: 22px; }
    #bbs_area .basic-table.board_faq tbody tr td > div ul li:first-child > a { font-size: 19px; }
    #bbs_area .basic-table.board_faq tbody tr td > div ul li:nth-child(2) { padding: 20px 22px 26px 52px; }
    #bbs_area .basic-table.board_faq tbody tr td > div > ul > li:nth-child(2):before { left: 16px; top: 20px; font-size: 22px; }
    #bbs_area .basic-table.board_faq tbody tr td > div ul li:nth-child(2) > div { font-size: 17px; }
}


/* =========================================================
   은평성심 소식 (epss365 news_board) - 인스타그램 격자형 목록
   - 적용 범위 : .epss365.news_board 머리말이 들어 있는 게시판(#bbs_area)에만 적용
     (:has 사용 → 다른 게시판의 앨범/목록 화면에는 영향 없음)
   - 마크업 구조 : #bbs_area > [ .mb30 > .epss365.news_board ] + [ form#listFrm > ul.album > li > .alBox ]
     .alBox > a(썸네일) + p(체크박스 / 제목 a / NEW img) + .inquiry(조회·시간·작성자)
   - 배치 : li 하나가 즉석카메라(폴라로이드) 사진 → 흰 테두리 안에 썸네일(정비율), 아래 넓은 여백에 ♥ + 제목
   ※ 조절값은 아래 변수만 바꾸면 됨
     --ig-cols 한 줄 칸 수 / --ig-gap 좌우 간격 / --ig-row-gap 위아래 간격
     --ig-ratio 썸네일 비율 (정사각형 1 / 1, 인스타 세로형 3 / 4, 가로형 4 / 3)
     --ig-pad 사진 테두리(위·좌·우) 두께 / --ig-pad-b 아래 여백(제목 영역)
     --ig-tit-fs 제목 글자 크기 / --ig-heart 하트 색
   ※ 하트 : Google Material Icons 'favorite'(채움) SVG 를 mask-image 로 사용 → 색은 --ig-heart 로 변경
========================================================= */
#bbs_area:has(.epss365.news_board) {
    --ig-cols: 3; --ig-gap: 28px; --ig-row-gap: 32px; --ig-ratio: 1 / 1;
    --ig-pad: 14px; --ig-pad-b: 22px;
    --ig-tit-fs: 28px; --ig-heart: #ED4956;
    --ig-heart-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}

/* 격자 */
/* ※ album.js 가 ul 에 높이, li 에 position:absolute + top/left 를 inline 으로 넣어 배치(창 크기 바뀔 때마다 재계산) → !important 로 해제하고 grid 로 배치 */
#bbs_area:has(.epss365.news_board) ul.album { position: static !important; display: grid !important; grid-template-columns: repeat(var(--ig-cols), minmax(0, 1fr)); gap: var(--ig-row-gap) var(--ig-gap); width: 100% !important; max-width: none !important; height: auto !important; min-height: 0 !important; margin: 0 0 40px !important; padding: 0 !important; box-sizing: border-box; list-style: none; float: none !important; }
/* clearfix 가상요소가 격자 칸을 차지하지 않도록 */
#bbs_area:has(.epss365.news_board) ul.album::before,
#bbs_area:has(.epss365.news_board) ul.album::after { content: none; display: none; }

/* 타일(li) : 즉석카메라 사진처럼 흰 바탕 + 테두리 + 그림자, 아래쪽 여백을 넓게 (높이는 같은 줄끼리 맞춰짐) */
#bbs_area:has(.epss365.news_board) ul.album > li { position: relative !important; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; min-width: 0; float: none !important; width: auto !important; height: auto !important; min-height: 0 !important; margin: 0 !important; padding: var(--ig-pad) var(--ig-pad) var(--ig-pad-b); box-sizing: border-box; overflow: visible; background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 6px 18px rgba(43, 38, 34, .08); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
#bbs_area:has(.epss365.news_board) ul.album > li:hover,
#bbs_area:has(.epss365.news_board) ul.album > li:focus-within { transform: translateY(-4px); border-color: var(--line-dark); box-shadow: 0 14px 28px rgba(43, 38, 34, .14); }
/* ※ album.js 가 li / .alBox / .imgBox / img 에 inline 으로 width·height 를 넣어 썸네일이 좌상단에 작게 쏠림 → !important 로 해제 */
#bbs_area:has(.epss365.news_board) ul.album .alBox { position: relative; inset: auto; width: 100% !important; height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0; border: 0; background: none; box-shadow: none; }

/* 썸네일 : 링크(a)가 정비율 박스 */
#bbs_area:has(.epss365.news_board) ul.album .alBox > a { position: relative; display: block; width: 100% !important; height: auto !important; margin: 0 !important; aspect-ratio: var(--ig-ratio); overflow: hidden; background: #ececec; border-radius: 2px; }
#bbs_area:has(.epss365.news_board) ul.album .imgBox { position: absolute !important; inset: 0 !important; display: block; width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important; overflow: hidden; }
#bbs_area:has(.epss365.news_board) ul.album .imgBox img { position: absolute !important; inset: 0 !important; display: block; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; margin: 0 !important; object-fit: cover; transform: none; transition: transform .4s ease; }
/* 썸네일 어두운 막 없음 (솔루션 기본 효과까지 제거) */
#bbs_area:has(.epss365.news_board) ul.album .alBox::after,
#bbs_area:has(.epss365.news_board) ul.album .alBox > a::after { content: none; display: none; }

/* 제목 : 썸네일 아래, 썸네일 너비만큼 / 앞에 채워진 하트 / 최대 2줄까지 표시
   - p 는 static → 체크박스·NEW 배지는 .alBox(썸네일 모서리) 기준으로 배치
   - 솔루션 기본 CSS 의 한 줄 말줄임(nowrap / 고정 높이)을 해제 */
#bbs_area:has(.epss365.news_board) ul.album .alBox > p { position: static; display: block !important; width: 100% !important; max-width: none !important; float: none !important; margin: 0; padding: 0; height: auto !important; max-height: none !important; overflow: visible !important; white-space: normal !important; }
#bbs_area:has(.epss365.news_board) ul.album .alBox > p > a { position: static; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; height: auto !important; max-height: none !important; white-space: normal !important; text-overflow: clip; width: 100% !important; max-width: none !important; float: none !important; margin: 16px 0 0; padding: 0; box-sizing: border-box; font-size: var(--ig-tit-fs); font-weight: 700; line-height: 1.45; letter-spacing: -0.02em; color: var(--text-dark); text-align: left; text-decoration: none; word-break: keep-all; opacity: 1; transform: none; transition: color .25s ease; }
#bbs_area:has(.epss365.news_board) ul.album .alBox > p > a::before { content: ''; display: inline-block; width: 1em; height: 1em; margin: 0 .3em 0 0; vertical-align: -0.14em; background-color: var(--ig-heart); -webkit-mask: var(--ig-heart-svg) no-repeat center / contain; mask: var(--ig-heart-svg) no-repeat center / contain; }
#bbs_area:has(.epss365.news_board) ul.album .alBox > p > a:hover,
#bbs_area:has(.epss365.news_board) ul.album .alBox > p > a:focus { color: var(--accent-dark); }

/* 조회수 · 시간 : 제목 아래 작게 (작성자는 숨김) */
#bbs_area:has(.epss365.news_board) ul.album .inquiry { position: static; margin: 6px 0 0; padding: 0; font-size: 16px; color: var(--text-gray); text-align: left; opacity: 1; }
#bbs_area:has(.epss365.news_board) ul.album .inquiry ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
#bbs_area:has(.epss365.news_board) ul.album .inquiry li { float: none; margin: 0; padding: 0; color: inherit; }
#bbs_area:has(.epss365.news_board) ul.album .inquiry > span { display: none; }

/* NEW 배지 : 솔루션 new.png 이미지는 숨기고 박스 + 'N' 글자로 표시
   - img 는 ::before 를 가질 수 없어서 부모 p 의 ::before 로 그림 (p 가 static → .alBox 기준 배치)
   - 배지 크기 --new-size / 위치 --new-pos 로 조절 */
#bbs_area:has(.epss365.news_board) ul.album .alBox > p > img[src*="ntt/new"] { display: none; }
#bbs_area:has(.epss365.news_board) ul.album .alBox > p:has(> img[src*="ntt/new"])::before { --new-size: 26px; --new-pos: 10px; content: 'N'; position: absolute; top: var(--new-pos); right: var(--new-pos); z-index: 4; display: flex; align-items: center; justify-content: center; width: var(--new-size); height: var(--new-size); font-size: calc(var(--new-size) * .58); font-weight: 800; line-height: 1; color: #fff; background-color: var(--accent); border-radius: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); pointer-events: none; }

/* 관리자용 체크박스 : 평소엔 숨기고 hover / 선택 시 표시 */
#bbs_area:has(.epss365.news_board) ul.album .alBox > p > input[type="checkbox"] { position: absolute; top: 10px; left: 10px; z-index: 5; width: 18px; height: 18px; margin: 0; opacity: 0; cursor: pointer; transition: opacity .2s ease; }
#bbs_area:has(.epss365.news_board) ul.album > li:hover input[type="checkbox"],
#bbs_area:has(.epss365.news_board) ul.album > li:focus-within input[type="checkbox"],
#bbs_area:has(.epss365.news_board) ul.album > li:has(input[type="checkbox"]:checked) input[type="checkbox"] { opacity: 1; }

/* 키보드 포커스 */
#bbs_area:has(.epss365.news_board) ul.album .alBox > a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
#bbs_area:has(.epss365.news_board) ul.album .alBox > p > a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* 목록형 빈 표(앨범 모드의 비어 있는 thead)는 숨김 */
#bbs_area:has(.epss365.news_board) table.basic-table01:not(:has(tbody tr)) { display: none; }


/* 마우스 hover (PC) : 카드가 살짝 뜨고(위 li:hover) 썸네일 확대 + 제목 색 (어둡게 하지 않음) */
@media (hover: hover) {
    #bbs_area:has(.epss365.news_board) ul.album > li:hover .imgBox img,
    #bbs_area:has(.epss365.news_board) ul.album > li:focus-within .imgBox img { transform: scale(1.05); }
    #bbs_area:has(.epss365.news_board) ul.album > li:hover .alBox > p > a { color: var(--accent-dark); }
}
@media (prefers-reduced-motion: reduce) {
    #bbs_area:has(.epss365.news_board) ul.album > li,
    #bbs_area:has(.epss365.news_board) ul.album .imgBox img { transition: none; }
    #bbs_area:has(.epss365.news_board) ul.album > li:hover,
    #bbs_area:has(.epss365.news_board) ul.album > li:focus-within { transform: none; }
}

/* ===== 은평성심 소식 격자 보정 (기존 인스타그램 격자 블록 바로 아래에 추가) ===== */
#bbs_area:has(.epss365.news_board) ul.album > li { min-height: 0; margin: 0; }
#bbs_area:has(.epss365.news_board) ul.album > li::before { content: none; display: none; }
#bbs_area:has(.epss365.news_board) ul.album .alBox { float: none; width: 100%; box-sizing: border-box; }
#bbs_area:has(.epss365.news_board) ul.album .alBox > a { float: none; width: 100%; }
#bbs_area:has(.epss365.news_board) ul.album .alBox > p { float: none; width: 100%; text-align: left; transition: none; }
#bbs_area:has(.epss365.news_board) ul.album .inquiry { float: none; width: 100%; box-sizing: border-box; text-align: left; font-size: var(--ig-meta-size); }
#bbs_area:has(.epss365.news_board) ul.album .inquiry ul { width: auto; }

/* 태블릿 / 모바일
   - 1025px 이상 : 3칸 / 1024px 이하 : 3칸(간격 축소) / 768px 이하 : 2칸 / 400px 이하 : 1칸 */
@media (max-width: 1024px) {
    #bbs_area:has(.epss365.news_board) { --ig-gap: 20px; --ig-row-gap: 24px; --ig-pad: 12px; --ig-pad-b: 18px; --ig-tit-fs: 24px; }
    #bbs_area:has(.epss365.news_board) ul.album .inquiry { font-size: 15px; }
}
@media (max-width: 768px) {
    #bbs_area:has(.epss365.news_board) { --ig-cols: 2; --ig-gap: 14px; --ig-row-gap: 18px; --ig-pad: 10px; --ig-pad-b: 16px; --ig-tit-fs: 22px; }
    #bbs_area:has(.epss365.news_board) ul.album { margin-bottom: 30px !important; }
    #bbs_area:has(.epss365.news_board) ul.album .alBox > p > a { margin-top: 12px; }
    #bbs_area:has(.epss365.news_board) ul.album .inquiry { font-size: 14px; }
    #bbs_area:has(.epss365.news_board) ul.album .alBox > p:has(> img[src*="ntt/new"])::before { --new-size: 22px; --new-pos: 8px; border-radius: 5px; }
    /* 터치 기기에서 카드가 떠 있는 상태로 남지 않도록 */
    #bbs_area:has(.epss365.news_board) ul.album > li:hover,
    #bbs_area:has(.epss365.news_board) ul.album > li:focus-within { transform: none; }
}
@media (max-width: 480px) {
    #bbs_area:has(.epss365.news_board) { --ig-gap: 10px; --ig-row-gap: 14px; --ig-pad: 8px; --ig-pad-b: 14px; --ig-tit-fs: 18px; }
    #bbs_area:has(.epss365.news_board) ul.album .alBox > p > a { margin-top: 10px; }
    #bbs_area:has(.epss365.news_board) ul.album .inquiry { margin-top: 4px; font-size: 13px; }
    #bbs_area:has(.epss365.news_board) ul.album .alBox > p:has(> img[src*="ntt/new"])::before { --new-size: 20px; --new-pos: 6px; border-radius: 4px; }
}
@media (max-width: 400px) {
    #bbs_area:has(.epss365.news_board) { --ig-cols: 1; --ig-row-gap: 18px; --ig-pad: 10px; --ig-pad-b: 16px; --ig-tit-fs: 22px; }
    #bbs_area:has(.epss365.news_board) ul.album .inquiry { font-size: 14px; }
}