/*
 * 상속세 랜딩(inherit.taxcpa.co.kr) — www 테마(Inergy) 위에 얹는 랜딩 보정층.
 *
 * 겉모습은 www 와 같은 테마 파일이 그린다(/css/plugins/{bootstrap.min,animate,fontawesome-all.min,themify-icons,default,nav-menu}.css
 * → /css/styles.css → /css/custom.css). 이 파일은 그 뒤(맨 끝)에 읽혀 두 가지만 한다.
 *   ① www 에 없는 랜딩 기능을 테마 언어로 — 상담 폼(www js/consult-form.js 모양)·신고기한 계산 결과(칼럼 「계산 예시」 post-calc)·
 *      모바일 하단 바·FAQ <details>(테마 accordion-style 값)·근거 법령 접기(칼럼 post-sources)·히어로 사진(jarallax <img>).
 *   ② 테마를 실으면서 생긴 충돌 — 포커스 표시 제거, 본문 링크 구별, 표, 고정 헤더 전환 때 본문 튐, 앵커 여백,
 *      움직임 줄이기, WOW 가 숨긴 요소(접근성 트리·찾기·Tab — §13), 스크롤 링이 폼·버튼을 가림(§11), 건너뛰기 링크가 헤더 아래에 깔림, 인쇄.
 * 색은 테마 그대로다(네이비 #112437 · 주황 #F38734 · 청록 #117865 · 본문 #575a7b). 대비 보정은 하나만 한다 — 주황 배경(#F38734) 위의 글자는 남색 #112437(6.25:1). 흰 글자(2.52:1)는 접근성 기준에 못 미친다
 * (2026-11-24 사무소 결정 — 배경·모양은 테마 그대로. 그 밖의 색은 www 와 같다). ②의 포커스 링은 키보드일 때만 보인다 — 마우스 방문자에게 달라지는 것은 문장 안 링크의 밑줄뿐이다.
 * ⚠ 테마 공용 파일(/css/·/js/)은 고치지 않는다 — www·고객 자료실·칼럼이 같은 파일을 해시로 부른다. 랜딩 전용 규칙은 여기에만 둔다.
 * ⚠ 잰 값(.consult-form 높이 예약, 헤더 높이, 히어로 여백)은 폼 문구·칸·글꼴을 바꾸면 다시 잰다.
 */

/* ── 0. 기본 ─────────────────────────────────────────────────────────── */
/* 앵커·포커스 대상이 고정 헤더(992px 이상, 높이 약 71px) 아래로 숨지 않게. 모바일은 헤더가 고정되지 않아 위 여백은 작게,
   아래는 하단 바(60px + 안전영역) 만큼(WCAG 2.4.11) — 요소의 scroll-margin 과 더해진다 */
html { scroll-behavior: smooth; scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }
@media (min-width: 992px) { html { scroll-padding-top: 84px; } }
@media (max-width: 991px) { html { scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }
/* 낮은 화면은 991px 이하(가로 모드 폰 — 헤더 고정·하단 바 없음)만 여백을 줄인다. 992px 이상은 높이가 낮아도 테마 헤더가 고정되므로
   84px 를 그대로 둔다(1366×768 노트북 125% ≈ 1093×490 에서 「○○ 보기」 앵커 대상과 Shift+Tab 초점이 헤더 밑에 숨었다) */
@media (max-width: 991px) and (max-height: 500px) { html { scroll-padding-top: 12px; scroll-padding-bottom: 12px; } }
/* 한글은 어절 단위로 줄을 바꾼다(테마 기본은 음절에서 끊는다). 아주 긴 영문·숫자만 강제로 끊는다 */
body, footer { word-break: keep-all; overflow-wrap: anywhere; }
a[href^="tel:"] { white-space: nowrap; }   /* 전화번호가 줄 끝에서 「02-6952-」로 끊기지 않게 */

/* ── 1. 접근성·충돌 보정 ─────────────────────────────────────────────── */
/* ① 포커스 복구 — default.css:45 a:focus·button:focus{outline:none}(특이도 0,1,1)이 :focus-visible 을 이겨 키보드 표시가 없었다.
      글 입력 칸은 마우스로 눌러도 :focus-visible 이라 여기서 빼고 테마의 주황 테두리를 그대로 쓴다(마우스 모양 그대로) */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible,
input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible { outline: 3px solid #112437 !important; outline-offset: 2px; }
/* 어두운 바탕(히어로 글·마지막 안내·푸터·제목 띠·투명 헤더)에서는 주황 링(네이비 위 6.25:1) */
.hero-copy :focus-visible, .cta-band :focus-visible, footer :focus-visible, .page-title-section :focus-visible,
.header-style1:not(.scrollHeader) .navbar-brand:focus-visible,
.header-style1:not(.scrollHeader) .navbar-toggler:focus-visible { outline-color: #F38734 !important; }
@media (min-width: 992px) {
  .header-style1:not(.scrollHeader) .navbar-nav > li > a:focus-visible,
  .header-style1:not(.scrollHeader) .attr-nav a:focus-visible { outline-color: #F38734 !important; }
}
/* 햄버거를 button 으로 두어 생긴 Bootstrap 초점 그림자(마우스로 눌러도 생긴다) — 테마의 div 와 같게 지운다 */
.header-style1 .navbar-toggler:focus { box-shadow: none; }
/* 글 입력칸 — 테마는 outline 을 지우고 1px 주황 테두리(흰 바탕 2.52:1)만 남긴다. 글 입력칸은 마우스로 눌러도 :focus-visible 이라,
   키보드로 들어왔을 때만(html.kbd — Tab 에서 달고 마우스·터치를 누르면 뗀다, main.inherit.js ①) 남색 링을 더한다. 마우스 모양은 테마 그대로 */
html.kbd .consult-fields .form-control:focus-visible, html.kbd .calc-card .form-control:focus-visible,
html.kbd .consult-fields input[type="date"].form-control:focus-within, html.kbd .calc-card input[type="date"].form-control:focus-within { outline: 3px solid #112437 !important; outline-offset: 2px; }
/* ↑ 날짜 칸은 Shift+Tab 으로 들어오면 초점이 안쪽 연·월·일 칸에 있어 :focus·:focus-visible 이 칸 자체에 걸리지 않는다(크롬) — :focus-within 으로 */

/* ② 본문 속 링크 — 테마 링크는 본문과 같은 회색에 밑줄이 없어 글자와 구별되지 않는다(WCAG 1.4.1). 문장 안 링크만 밑줄 */
.form-fallback a, .consent-notice a, .consult-fields .fine a, .form-done a, .form-msg a, .page-404-body .fine a {
  color: #117865; text-decoration: underline; text-underline-offset: 3px; }
.form-fallback a:hover, .consent-notice a:hover, .consult-fields .fine a:hover, .form-done a:hover, .form-msg a:hover,
.page-404-body .fine a:hover { color: #F38734; }

/* ③ 건너뛰기 링크 — 테마 header{z-index:99999} 아래에 깔리지 않게 그 위로 */
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000000; padding: 10px 16px; background: #112437; color: #fff; font-weight: 700; }
.skip-link:focus, .skip-link:focus-visible { left: max(8px, env(safe-area-inset-left)); color: #fff; outline-color: #F38734 !important; }

/* ④ 고정 헤더 전환 때 본문이 튀지 않게 — 992px 이상에서 175px 넘게 내리면 .navbar-default 가 position:fixed 로 흐름에서 빠져
      header 높이가 0 이 되고 본문이 그만큼 위로 튄다(www 실측 68.5px). 메뉴 앵커로 이동하는 도중에 목표가 어긋났다.
      header 가 고정 전 높이를 그대로 지키게 한다(모양은 같다) */
@media (min-width: 992px) { header.header-style1 { min-height: 71px; } }

/* 화면에서만 감춘다(화면낭독기는 읽는다) */
@media (max-width: 575px) {
  .sr-sm { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
  .hide-sm { display: none; }
}

/* ── 2. 헤더 ────────────────────────────────────────────────────────── */
.header-style1 .attr-nav .header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .3px; }
.header-style1 .attr-nav .header-phone i { font-size: 15px; }
/* 메뉴 hover — www 메뉴는 주황으로 바뀐다(styles.css 의 규칙이 하위 메뉴가 있는 li.has-sub 에만 걸린다). 랜딩 메뉴는 하위 메뉴 없는 앵커라
   같은 색을 직접 준다(투명 헤더·고정 헤더 둘 다, 전환 시간은 nav-menu.css 의 500ms 그대로) */
@media (min-width: 992px) { .header-style1 .navbar-nav > li > a:hover { color: #F38734; } }
/* 가로 모드 노치 아이폰(viewport-fit=cover) — 로고·햄버거가 안전영역 밖으로 나가지 않게. 991px 이하에서만 건다:
   이 규칙(특정성 0,2,0)이 테마 px-lg-1-6·px-xl-2-5·px-xxl-2-9(!important 없음)를 이겨 992px 이상에서 로고·상담 버튼이 화면 끝 12px 에
   붙었다(www 는 26·40·46px — 2026-11-17 재검증). 노치 가로 모드 폰(844·932px)은 이 범위 안이다 */
@media (max-width: 991.98px) {
  .header-style1 .container-fluid { padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
}

/* ── 3. 히어로 ──────────────────────────────────────────────────────── */
/* jarallax 공식 CSS(jarallax.css) — 사진(img.jarallax-img)을 스크립트가 옮기기 전에도 같은 자리에 덮어 둔다(옮길 때 흔들림 없음).
   테마 덮개(:before z-index 1)와 글(.container z-index 2)은 그 위다 */
.jarallax { position: relative; z-index: 0; }
.jarallax > .jarallax-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero-landing { background-color: #112437; }   /* 사진을 받기 전 */
/* 투명 헤더(992px 이상 −96px · 그 아래 −73px 겹침) 아래로 내용을 내린다. 상담 카드가 화면보다 길어 히어로는 첫 화면보다 길다 */
.hero-landing .hero-row { padding-top: 132px; padding-bottom: 80px; }
@media (max-width: 991px) { .hero-landing .hero-row { padding-top: 96px; padding-bottom: 56px; } }
@media (max-width: 575px) { .hero-landing .hero-row { padding-top: 94px; padding-bottom: 36px; } }
.hero-copy .hero-lede { color: rgba(255, 255, 255, .9); font-size: 1.1rem; line-height: 1.7; max-width: 34em; margin-bottom: 1.25rem; }
/* 칩 — www 사진 띠(save-money)의 아이콘 목록 모양에 테마 체크(주황) */
.hero-chips { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 1.75rem; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 15px; line-height: 1.5; }
.hero-chips li i { color: #F38734; font-size: 13px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn-style2 { gap: 8px; }
.hero-actions .btn-style2 i { font-size: 15px; }
@media (min-width: 992px) { .hero-copy { padding-top: 56px; } }   /* 배지가 카드 제목 높이쯤에 오게 */
@media (max-width: 991px) { .hero-copy { margin-bottom: 2.5rem; } }
/* 폰(575px 이하) — 주 버튼은 한 줄을 다 쓰고, 전화·카카오톡은 나란히(첫 화면에 버튼이 다 들게) */
@media (max-width: 575px) {
  .hero-copy .hero-lede { font-size: 1rem; line-height: 1.65; margin-bottom: 1rem; }
  .hero-chips { gap: 4px 14px; margin-bottom: 1.25rem; }
  .hero-chips li { font-size: 14px; }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-actions .btn-style2.primary { grid-column: 1 / -1; }
  .hero-actions .btn-style2:not(.primary) { min-width: 0; padding: 15px 8px; gap: 6px; font-size: clamp(14px, 4vw, 15px) !important; }
}
/* 359px 이하 — 전화·카카오톡 알약의 안쪽 여백이 6px 로 줄어 아이콘·끝 숫자가 둥근 끝에 닿았다 */
@media (max-width: 359px) { .hero-actions .btn-style2:not(.primary) { font-size: 13px !important; gap: 5px; } }
/* 992~1399px — 첫 화면 버튼 셋을 한 줄에(글 칸 536~641px 에 버튼 합 660px 이라 카카오톡만 둘째 줄로 내려갔다). 안쪽 여백만 줄이고,
   992~1199(글 칸 536px)는 글자를 15px 로 하고 「으로 상담」을 뺀다 — 폰·하단 바와 같은 「카카오톡 접수」(옛 판도 이 폭에서는 짧은 글자였다).
   1400px 이상은 테마 그대로 */
@media (min-width: 992px) and (max-width: 1399.98px) { .hero-actions .btn-style2 { padding-left: 20px; padding-right: 20px; } }
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-actions .btn-style2 { padding-left: 16px; padding-right: 16px; font-size: 15px !important; }
  .hero-actions .hide-sm { display: none; }
}
/* 높이가 낮은 화면 — 첫 화면 버튼이 다 들게 세로 여백만 줄인다(글자 크기·제목 클래스는 그대로).
   데스크톱 1024×768·1280×720·1366×768: 글 칸 위 여백 56 → 20px(배지가 카드 제목보다 조금 위로 간다). 폰 360×640 등: 문단 사이 */
@media (min-width: 992px) and (max-height: 820px) { .hero-copy { padding-top: 20px; } }
@media (max-width: 575px) and (max-height: 700px) {
  .hero-landing .hero-row { padding-top: 80px; }
  .hero-copy h1 { margin-bottom: .75rem !important; }
  .hero-copy .hero-lede { line-height: 1.55; margin-bottom: .75rem; }
  .hero-chips { margin-bottom: .75rem; }
  .hero-actions { gap: 8px; }
}
/* 폰·작은 태블릿 — 테마 덮개(left-overlay-dark: 왼쪽만 짙은 −80° 그라데이션 × .5)는 글이 화면 폭을 다 쓰는 767px 이하에서 리드·안내·서명
   (작은 흰 글)의 오른쪽이 밝은 사진 위에 놓여 4.5:1 에 못 미쳤다. 큰 제목이 있는 위쪽은 테마 그대로 두고, 그 아래만 덮개를 한 겹 더 깐다 */
@media (max-width: 767px) {
  .hero-landing:after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(17, 36, 55, 0) 0, rgba(17, 36, 55, 0) 150px, rgba(17, 36, 55, .62) 300px, rgba(17, 36, 55, .62) 100%); }
  .hero-copy .hero-sign { color: rgba(255, 255, 255, .85); }
}

/* 상담 카드 — www 상담 카드(bg-white primary-shadow) + 카드 반경 10px */
.consult-card { scroll-margin-top: 12px; }
/* 폰에서는 안쪽 여백을 줄인다(테마 1.9rem 이면 390px 에서 칸 폭이 305px 라 고르기 칩 글자가 두 줄로 꺾였다) */
@media (max-width: 575px) { .consult-card { padding: 1.5rem 1.25rem; } }
/* 글자는 칸 라벨(성함·연락처)과 같은 16px — 360px 폰에서 두 번째 줄이 꺾이지 않게 좁은 화면만 15px 까지 줄인다(사무소 지시 2026-11-25) */
.consult-card .consult-sub { font-size: clamp(15px, 4.1vw, 16px); margin-bottom: 1.25rem; }
.consult-card .consult-sub strong { color: #112437; white-space: nowrap; }
/* 스크립트가 폼을 넣을 자리 — 폼 높이(선택 칸을 접은 상태)를 미리 잡아 둔다. 스크립트가 늦게 돌 때 카드가 안내 한 줄 높이에서
   폼 높이로 커지는 것을 줄인다. 테마 히어로는 화면 높이 이상(full-screen·min-vh-100)이고 글 칸은 카드 윗변에 맞춰 두어, 카드가 자라도
   첫 화면 안에서 움직이는 것은 없다 — 그래서 값은 실측 폼 높이의 **최솟값**으로 둔다(넘치게 잡으면 카드 아래가 빈다).
   실측(2026-11-25 — 칸 셋, 동의 고지 접음): 1200px 이상 418 · 992~1199 486 · 400~991 465 · 360~390 486 · 320~344 530.
   폼 문구·칸·글꼴을 바꾸면 다시 잰다.
   접수 화면으로 바뀌면 풀어 준다(.is-done — inherit.js done()). 스크립트를 끈 브라우저는 잡지 않는다(scripting) */
@media (scripting: enabled) {
  .consult-form { min-height: 464px; }
}
@media (min-width: 1200px) and (scripting: enabled) {
  .consult-form { min-height: 417px; }
}
.consult-form.is-done { min-height: 0; }
.form-fallback { margin: 0; }

/* ── 4. 상담 폼 — inherit.js 가 그리는 칸을 www 폼(js/consult-form.js) 모양으로 ───────────── */
.consult-fields .field { margin-bottom: 1rem; }
/* 라벨 왼쪽 · 칸 오른쪽(성함·연락처·문의 내용, 사무소 지시 2026-11-25) — 카드 세로를 줄인다. 라벨 열은 「연락처 필수」가 한 줄에
   드는 폭이고 「문의 내용 필수」는 두 줄로 선다(칸이 높아 자리가 남는다). 오류 글은 칸 아래(오른쪽 열) */
.consult-fields .field-row { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); align-items: center; column-gap: 8px; margin-bottom: .75rem; }
.consult-fields .field.field-row > label { margin-bottom: 0; }
.consult-fields .field-row > textarea { align-self: start; }
.consult-fields .field-row > .field-err { grid-column: 2; }
.consult-fields .field > label { display: block; margin-bottom: .5rem; font-size: 1rem; font-weight: 700; line-height: 1.5; }
.consult-fields .req { color: #F38734; font-size: .85rem; font-weight: 800; margin-left: 2px; }   /* www 「 *」 자리 */
/* 문의 내용 — 글에 맞춰 길어진다(inherit.js grow). 칸 안에 스크롤바가 생기지 않게 넘침을 감추고 크기 손잡이도 뺀다 */
.consult-fields textarea.form-control { min-height: 202px; resize: none; overflow: hidden; }
@media (min-width: 1200px) { .consult-fields textarea.form-control { min-height: 155px; } }
.consult-fields .field-row > label[for="cf-message"] { align-self: start; padding-top: .6rem; }
.consult-fields .field-row > label[for="cf-message"] .req { display: block; margin-left: 0; }
.consult-fields .form-control[aria-invalid="true"] { border-color: #b42318; }
.consult-fields .field-err { color: #b42318; font-size: 13.5px; margin: .4rem 0 0; text-wrap: balance; }   /* 예시 번호가 「010- / 1234-5678」로 끊기지 않게 고르게 */
/* 동의 — 짧은 라벨(체크박스 이름) + 전체 고지(aria-describedby). 체크는 테마 form-check-input(체크하면 주황) */
.consult-fields .consent { margin: 0 0 .75rem; }
.consult-fields .consent-check { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; font-weight: 700; line-height: 1.4; cursor: pointer; }
.consult-fields .consent-check .form-check-input { float: none; flex: none; width: 20px; height: 20px; margin: 0; }
.consult-fields .consent-check .form-check-input[aria-invalid="true"] { border-color: #b42318; box-shadow: 0 0 0 2px rgba(180, 35, 24, .25); }
.consult-fields .consent .field-err { margin: 0 0 .4rem 30px; }
/* 고지는 접어 두고 「내용 보기」로 펼친다(2026-11-25) — 좁으면 단추가 다음 줄로 내려간다 */
.consult-fields .consent-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 10px; }
.consult-fields .consent-toggle { min-height: 44px; padding: 0 2px; border: 0; background: none; color: #117865; font-size: 14px; font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.consult-fields .consent-toggle:hover { color: #112437; }
@media (max-width: 400px) { .consult-fields .consent-check { gap: 8px; font-size: 15px; } .consult-fields .consent-toggle { font-size: 13px; } }
@media (max-width: 374px) { .consult-fields .consent-row { column-gap: 6px; } .consult-fields .consent-check { gap: 7px; font-size: 14px; } .consult-fields .consent-toggle { font-size: 12.5px; } }
.consult-fields .consent-notice { font-size: 13px; line-height: 1.6; margin: 0 0 .25rem; padding: 10px 14px; background: #f8f9fa; border-radius: .375rem; }
.consult-fields .consent-notice p { margin: 0 0 3px; }
.consult-fields .consent-notice p:last-child { margin-bottom: 0; }
/* 실패·결과 안내 — www 폼의 안내 상자(왼쪽 4px: 실패 주황 · 접수 청록). 스크립트가 이 칸으로 포커스를 옮긴다 */
.consult-fields .form-msg { background: #f8f9fa; border-left: 4px solid #F38734; border-radius: .375rem; padding: 1rem; margin: 0 0 1rem; font-size: 15px; scroll-margin: 12px; }
.consult-fields .form-msg.is-error { color: #b42318; }
.consult-fields .form-msg.is-ok { border-left-color: #117865; color: #117865; }
/* 보내기 — btn-style2 에는 비활성 모양이 없다 */
.consult-fields .btn-style2[disabled] { opacity: .65; cursor: progress; }
.consult-fields .btn-style2.is-locked { cursor: not-allowed; }
.consult-fields .fine { font-size: 13px; line-height: 1.6; margin: .75rem 0 0; }
/* 허니팟 — 사람 눈에는 안 보이게 화면 밖으로(display:none 이면 일부 봇이 알아챈다) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* 접수 화면 */
.form-done h3 { font-size: 1.3rem; color: #117865; margin-bottom: .5rem; }
.form-done ul { padding-left: 1.2em; margin: 0 0 1rem; list-style: disc; }

/* ── 5. 신고기한 계산 카드 — www 「상속세 계산기」 위젯(energy-type) · 결과는 칼럼 「계산 예시」(post-calc) 모양 ─── */
.calc-card .form-control { font-size: 16px; }   /* iOS 확대 방지 */
/* 외국 주소 체크 — 누르는 자리를 44px 높이로 */
.dl-check { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; font-size: 15px; line-height: 1.5; cursor: pointer; }
.dl-check .form-check-input { float: none; flex: none; width: 20px; height: 20px; margin: 0; }
.dl-result { background: #1c2733; color: #dfe7ef; border-radius: 8px; padding: 16px 20px; margin: 1rem 0; font-size: 15px; }
.dl-empty { margin: 0; color: #dfe7ef; }
.dl-list { margin: 0; }
/* 날짜는 한 덩어리로 둔다(nowrap) — 한 줄에 안 들어가면 날짜가 다음 줄 오른쪽으로 내려간다 */
.dl-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; padding: 5px 0; border-bottom: 1px dashed rgba(255, 255, 255, .15); }
.dl-row:last-child { border-bottom: 0; }
.dl-row dt { font-weight: 500; font-size: 14px; color: #dfe7ef; }
.dl-row dd { margin: 0 0 0 auto; font-weight: 700; color: #fff; text-align: right; white-space: nowrap; }
/* 대체공휴일로 미뤄진 상속포기 기간의 「안전하게는 ○일까지」 */
.dl-safe { display: block; font-size: 13px; font-weight: 700; color: #F38734; white-space: normal; }
/* 남은 일수 — 결과 강조(post-calc 결과 줄의 주황). 두 줄이 되면 둥근 상자가 되도록 반경은 한 줄 높이의 절반 */
.dl-days { display: inline-block; margin-top: 10px; padding: 4px 12px; border-radius: 17px; background: #F38734; color: #112437; font-weight: 800; font-size: 14px; }
.dl-days.is-over { background: #fdf3ec; color: #b42318; }
.dl-note { margin: 8px 0 0; font-size: 13px; line-height: 1.6; color: #ffd9b8; }
.dl-note.dl-warn { color: #F38734; font-weight: 700; }
.calc-card .btn-style2 { margin-bottom: .25rem; }
.calc-card .fine { font-size: 13px; line-height: 1.6; margin: .75rem 0 0; }
@media (max-width: 575px) { .dl-days { font-size: 13px; padding: 4px 10px; } }
@media (max-width: 359px) {
  .calc-card { padding-left: 1rem !important; padding-right: 1rem !important; }
  .dl-result { padding: 14px 12px; }
  .dl-days { font-size: 12.5px; padding: 4px 8px; }
}
/* 신고기한 섹션 배치(index.html .dl-layout) — 992px 이상은 그리드: 왼쪽 열(7)에 직답 → 기한 표, 오른쪽 열(5)에 계산 카드가 두 줄을 차지한다.
   계산 카드(650px, 결과를 띄우면 850~1030px)가 직답(320px)보다 훨씬 길어 왼쪽 아래가 330~630px 비고 표는 그 아래 전폭에 따로 놓였다.
   둘째 줄은 1fr — 카드가 더 길면 남는 높이는 표 아래로 가고 직답 줄은 늘지 않는다. 열 너비·간격은 Bootstrap col-lg-7/5 와 같다
   (그리드 칸 안에서는 col-lg-* 의 width 를 풀고 좌우 패딩(거터)만 쓴다). 991px 이하는 Bootstrap 행 그대로 한 열: 직답 → 계산 카드 → 표 */
@media (min-width: 992px) {
  .row.dl-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto 1fr; align-items: start; }
  .row.dl-layout > * { width: auto; max-width: none; }
  .row.dl-layout > .dl-answer { grid-column: 1; grid-row: 1; }
  .row.dl-layout > .dl-calc { grid-column: 2; grid-row: 1 / span 2; }
  .row.dl-layout > .dl-table { grid-column: 1; grid-row: 2; }
}

/* ── 6. 본문 블록 ─────────────────────────────────────────────────────── */
/* 문장 끝 화살표는 장식이다 — 「/ ""」 대체 글자로 링크 이름에서 뺀다(www 칼럼 카드 「Read More ⟶」) */
.more { display: inline-flex; align-items: center; min-height: 44px; }
.more::after, .center-note a::after { content: "\27F6"; content: "\27F6" / ""; margin-left: .4em; }
.who-box { background: #fff; }
.who-box p { margin-bottom: .5rem; }
p.fine { font-size: 13.5px; line-height: 1.65; margin: .75rem 0 0; }
.basis { font-size: 14px; margin: 1.5rem 0 0; }
/* 줄바꿈 — 제목은 줄 길이를 고르게(끝줄 한 낱말 「가지」·「괜찮습니다」), 문단은 끝줄에 한 낱말만 남지 않게(「경우」·「안내합니다.」).
   글자는 그대로이고 지원하지 않는 브라우저는 지금처럼 줄을 바꾼다 */
main h2, main h3, .timeline-content p { text-wrap: balance; }   /* 타임라인 문단은 두세 줄이라 고르게 */
.who-box p, .consult-sub, .hero-copy .hero-lede, .qa p, .cta-band p, .process-lead, .answer p { text-wrap: pretty; }
/* 전폭 문단의 한 줄이 99~102자였다 — 진행 순서 리드와 같은 52em 에서 접는다 */
#tax > .container > p.mb-5, .qa p { max-width: 52em; }
/* 위젯 제목 — www 위젯 제목(div.sidebar-title)과 같은 줄높이·자간. 랜딩은 개요를 위해 h3 라 테마 제목 값(줄높이 1.2·좁은 자간)이 걸렸다 */
.energy-type h3.sidebar-title { line-height: 1.7; letter-spacing: .5px; }
/* 테마가 가상요소로 그리는 아이콘 글자(Themify 사용자 영역)는 화면낭독기에 이름 없는 글자로 읽힌다 — 같은 글리프에 빈 대체 글자 */
.docs-list.list-style2 li:before { content: "\e64d"; content: "\e64d" / ""; }
.vertical-timeline:after { content: "\e64b"; content: "\e64b" / ""; }
/* 표 — www 칼럼 표(table-bordered + table-light). custom.css 의 같은 규칙은 .card-body 안에서만 걸려 여기서 다시 잡는다 */
table { caption-side: top; }   /* Bootstrap 리부트는 표 제목을 아래로 보낸다 */
.table-responsive-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-responsive-wrap caption { padding: 0 0 .75rem; color: #112437; font-weight: 800; font-size: 1.05rem; }
.table-responsive-wrap .table { font-size: 15px; }
/* 칸 안에서는 낱말 가운데를 끊지 않는다(overflow-wrap: normal) — 폰에서 「배우/자/상속/공제」처럼 부서졌다. 모자라면 표가 옆으로 밀린다(감싼 칸만 가로 스크롤) */
.table-responsive-wrap .table th, .table-responsive-wrap .table td { word-break: keep-all; overflow-wrap: normal; vertical-align: top; line-height: 1.55; padding: .75rem .9rem; }
.table-responsive-wrap .table th { color: #112437; font-weight: 700; }
.tbl-num td { white-space: nowrap; }
@media (max-width: 575px) {
  .table-responsive-wrap .table { font-size: 14px; }
  .table-responsive-wrap .table th, .table-responsive-wrap .table td { padding: .6rem; }
}
/* 계산기 띠 — www 「상속세 계산기」 위젯(energy-type)을 가로로 */
.calc-banner { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.calc-banner .sidebar-title { margin-bottom: .5rem; }
@media (min-width: 992px) {
  .calc-banner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2.5rem; }
  .calc-banner .btn-style2 { flex: none; }
}
/* 문답 카드 — 짝 카드(h-100 으로 높이만 같다)의 칼럼 링크 상자를 카드 아래에 맞춘다(한쪽 카드 아래만 30~90px 비었다) */
.qa { scroll-margin-top: 12px; display: flex; flex-direction: column; }
.qa .related-link-card { margin-top: auto; }
/* 칼럼 링크 — www 「관련 칼럼 카드」(custom.css related-link-card). 「칼럼: 제목」을 한 문장(한 링크 이름)으로 두려고 span 을 줄로 세운다.
   화살표는 장식이라 CSS 로 그린다(custom.css .related-link-card__arrow 와 같은 값) */
.related-link-card__label, .related-link-card__title { display: block; }
.related-link-card > a::after { content: "\2192"; content: "\2192" / ""; display: none; align-items: center; padding: 0 22px; color: #F38734; font-size: 1.8rem; font-weight: 600; }
@media (min-width: 768px) { .related-link-card > a::after { display: flex; } }
/* 진행 순서 — www 연혁 타임라인. 순서가 의미라 ol 로 둔다(테마 CSS 는 클래스로 걸려 그대로 그린다) */
.process-lead { max-width: 52em; margin-bottom: 3.5rem; }
.vertical-timeline ol.timeline-items { list-style: none; margin: 0; padding-left: 0; }
.vertical-timeline .text h3 { margin-bottom: .5rem; }
.docs .sidebar-title { margin-bottom: 1.25rem; }
.docs-list { margin: 0 0 1rem; }
@media (min-width: 768px) { .docs-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; } }
.energy-type .docs-list li { margin-bottom: 6px; line-height: 1.7; padding-top: 2px; padding-bottom: 2px; }
.energy-type .docs-list li:before { line-height: 32px; }
/* 담당 공인회계사 — www 구성원 프로필 카드 */
.person-card > img { border-top-left-radius: var(--bs-card-inner-border-radius); border-top-right-radius: var(--bs-card-inner-border-radius); }
/* 직함 — www team-details 의 직함(16px · 500 · 자간 .5px). 「프로필 보기」는 카드 아래에 맞추고(이력 줄 수가 달라 27px 어긋났다)
   누르는 높이를 44px 로(btn-style2 small 은 40px — 모양은 그대로, 높이만) */
.person-card h3 span { display: block; margin-top: .3rem; font-size: 1rem; font-weight: 500; letter-spacing: .5px; color: #F38734; }
.person-card .card-body { display: flex; flex-direction: column; }
.person-card .card-body > .btn-style2 { margin-top: auto; align-self: flex-start; min-height: 44px; }
.person-list li { position: relative; padding-left: 1.6rem; margin-bottom: .5rem; }
.person-list li::before { content: "\e64c"; content: "\e64c" / ""; font-family: 'themify'; position: absolute; left: 0; top: 0; color: #117865; font-size: 14px; }
.center-note { text-align: center; margin: 3rem 0 0; font-weight: 700; }
/* inline-flex 로 두면 「칼럼 」 끝 빈칸이 접혀 「칼럼21편」으로 붙었다(안의 <span data-cat5-count> 가 따로 떨어진다) — 블록 여백으로 44px */
.center-note a { display: inline-block; padding: 10px 0; }

/* ── 7. 자주 묻는 질문 — <details data-faq> 에 테마 아코디언(accordion-style, styles.css:2645-2732) 값을 입힌다 ─────── */
.accordion-style .card { background: #fff; }
.accordion-style .faq > summary { list-style: none; position: relative; display: block; cursor: pointer; padding: 20px 55px 20px 25px;
  font-size: 18px; line-height: 26px; font-weight: 400; color: #212121; background: transparent; border-radius: .3rem; }
.accordion-style .faq > summary::-webkit-details-marker { display: none; }
/* 닫힘 「+」 회색 상자 · 열림 「−」 흰 상자(주황 막대) — 장식이라 「/ ""」로 이름에서 뺀다(펼침 상태는 details 가 알린다) */
.accordion-style .faq > summary::after { content: "+"; content: "+" / ""; position: absolute; right: 17px; top: 17px; width: 25px; height: 25px;
  line-height: 24px; text-align: center; font-size: 20px; color: #212121; background: #ececec; border-radius: .3rem; }
.accordion-style .faq[open] > summary { background: #F38734; color: #112437; border-radius: .3rem .3rem 0 0; }
.accordion-style .faq[open] > summary::after { content: "-"; content: "-" / ""; line-height: 22px; color: #F38734; background: #fff; }
.accordion-style .faq > .faq-a { padding: 25px 30px 25px 26px; line-height: 24px; text-align: left; }
.accordion-style .faq > .faq-a p { margin-bottom: 0; }
@media (max-width: 991px) {
  .accordion-style .faq > summary { padding: 20px 50px 20px 18px; }
  .accordion-style .faq > summary::after { top: 20px; }
  .accordion-style .faq > .faq-a { padding: 20px 18px; }
}

/* ── 8. 마지막 안내 — www 사진 띠(save-money). 사진 전·스크립트 없이도 네이비 ───────────────── */
.cta-band { background-color: #112437; }
.cta-band .cta-actions { gap: 10px; }
/* 992~1199px — 오른쪽 칸이 좁아 버튼 둘이 세로로 쌓이는데 폭(155·219px)이 달라 들쭉날쭉했다 — 같은 폭으로 */
@media (min-width: 992px) and (max-width: 1199.98px) { .cta-band .cta-actions .btn-style2 { min-width: 219px; } }

/* ── 9. 오시는 길 — 지도 그림(왼쪽 2/3) + 주소·버튼(오른쪽 1/3), 991px 이하는 위아래로 ─────────────────── */
.location-card { margin-left: 0; margin-right: 0; }
.location-map { position: relative; background: #f1f0ec; }
/* 992~1199px 는 오른쪽 주소 상자가 더 길다 — 그림을 상자 높이까지 채운다(양옆이 조금 잘린다. 핀·역 이름은 가운데 쪽이라 남는다) */
.location-map picture, .location-map img { display: block; width: 100%; height: 100%; }
.location-map img { object-fit: cover; }
/* 지도 자료의 출처(ODbL) — 그림 오른쪽 아래 구석 */
.map-credit { position: absolute; right: 0; bottom: 0; margin: 0; padding: 1px 8px; background: rgba(255, 255, 255, .85); font-size: 11px; line-height: 1.7; }
.map-credit a { color: #575a7b; }
/* 폰 — 그림이 작아 역 이름표와 붙는다: 그림 아래 한 줄로 */
@media (max-width: 575px) { .map-credit { position: static; background: none; text-align: right; font-size: 10.5px; } }
.map-credit a:hover { color: #112437; text-decoration: underline; }
.location-info { display: flex; flex-direction: column; justify-content: center; }
.location-list { margin: 0 0 1.5rem; }
.location-list > div { padding: .7rem 0; border-bottom: 1px solid #e9ecef; }
.location-list > div:first-child { padding-top: 0; }
.location-list dt { font-size: 14px; font-weight: 700; color: #117865; margin-bottom: 2px; }
.location-list dd { margin: 0; color: #112437; font-weight: 600; line-height: 1.6; }
.location-list dd a { display: inline-block; color: #112437; padding: 4px 0; }
.location-list dd a:hover { color: #F38734; }
.location-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.location-actions .btn-style2 { min-height: 44px; justify-content: center; padding-left: 8px; padding-right: 8px; white-space: nowrap; }

/* ── 10. 푸터 — www 내부 페이지 푸터(task5·faq) ─────────────────────────────────── */
footer .footer-services { color: rgba(255, 255, 255, .8); margin: 0; }
footer .footer-hours { color: rgba(255, 255, 255, .8); font-size: .9rem; margin: .75rem 0 0; }
/* 아래 띠 링크 — 터치 화면(991px 이하)에서만 누르는 높이 44px(글 높이 22px, 320px 에서 두 줄 사이가 2px 였다).
   데스크톱은 www 와 같은 촘촘한 띠로 둔다 */
footer .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; }
@media (max-width: 991px) { footer .footer-links a { display: inline-flex; align-items: center; min-height: 44px; } }
@media (min-width: 768px) { footer .footer-links { justify-content: flex-start; } }
/* 스크롤 링(테마: ≥1200 오른쪽 50px·바닥 40px, 그 아래 30px·20px, 지름 60px)이 페이지 끝에서 소셜 아이콘을 덮지 않게 그 자리를 비운다 —
   www 처럼 끝까지 링(맨 위로)이 보이면서 아이콘은 가려지지 않는다. 768px 이상은 아이콘이 오른쪽 끝에 붙는다(그 아래는 가운데라 겹치지 않는다).
   ⚠ 768~1199px 은 아이콘 칸 폭이 216px 이고 아이콘 묶음이 150px(li 사이 공백 포함)라 66px 를 넘기면 두 줄로 접힌다 — 그 구간은
   64px(992~1005px 은 링이 끝에서 숨는다, 링크 보호 우선). 1200px 이상은 테마 컨테이너가 1170px 라 96px 가 필요하고 칸이 넓어 들어간다.
   웹 글꼴을 못 받으면 공백 폭이 달라져 접힐 수 있어 줄바꿈을 막는다(912px 에서 글꼴 요청이 실패한 실행에서 두 줄이 됐다) */
@media (min-width: 768px) { footer .social-icon-style1 { white-space: nowrap; } }
@media (min-width: 768px) and (max-width: 1199.98px) { footer .social-icon-style1 { margin-right: 64px; } }
@media (min-width: 1200px) { footer .social-icon-style1 { margin-right: 96px; } }
/* 이메일은 골뱅이 뒤(<wbr>)에서만 줄을 바꾼다 — 본문 규칙(overflow-wrap:anywhere)으로는 992~1199px 에서 「…co / m」으로 끊겼다 */
footer .email a { overflow-wrap: normal; word-break: normal; }

/* ── 11. 모바일 하단 고정 바 — www 에 없는 랜딩 전용(전환). 테마 언어(흰 바·primary-shadow 위로·주 칸은 btn-style2.primary) ─── */
/* 숨은 동안은 visibility 로 Tab·화면낭독기에서 뺀다(내려가는 움직임이 끝난 뒤 숨도록 지연). 쌓임: 헤더 99999 > 바 9999 > 스크롤 링 100 */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; display: grid; grid-template-columns: 1fr 1fr 1.15fr;
  background: #fff; border-top: 1px solid #efefef; box-shadow: 0 -3px 10px 0 rgba(41, 45, 194, .08);
  padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  transform: translateY(110%); visibility: hidden; transition: transform .4s ease, visibility 0s linear .4s; }
.sticky-bar.is-shown { transform: none; visibility: visible; transition: transform .4s ease, visibility 0s; }
.sticky-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; padding: 6px 4px;
  color: #112437; font-weight: 800; font-size: 15px; line-height: 1.2; text-align: center; }
.sticky-bar a + a { border-left: 1px solid #efefef; }
.sticky-bar a i { color: #117865; font-size: 17px; }
.sticky-bar a span { display: flex; flex-direction: column; }
.sticky-bar small { font-size: 11px; font-weight: 600; color: #575a7b; }
.sticky-bar a:focus-visible { outline-offset: -4px; }
.sticky-bar .is-primary { background: #F38734; color: #112437; }
.sticky-bar .is-primary i { color: #112437; }
.sticky-bar .is-primary:hover, .sticky-bar .is-primary:active { background: #117865; color: #fff; }
.sticky-bar .is-primary:hover i, .sticky-bar .is-primary:active i { color: #fff; }

/* 주황 배경 위의 글자 — 남색(6.25:1). 테마의 btn-style2.primary 는 흰 글자(2.52:1)다. 올림·누름 때는 테마가 초록 배경·흰 글자(5.39:1)로 바꾸므로
   그대로 둔다. 반대로 청록 기본 버튼은 올림 때 테마가 주황 배경·흰 글자(!important)로 바꾸므로 그때만 남색으로 누른다 */
.btn-style2.primary { color: #112437; }
.btn-style2:not(.primary):hover, .btn-style2:not(.primary):active, .btn-style2:not(.primary):focus { color: #112437 !important; }
.text-navy { color: #112437 !important; }
/* 머리 메뉴의 상담 버튼 — 테마 머리 규칙(.header-style1 .attr-nav > ul > li > a, 흰 글자)이 더 구체적이라 따로 눌러 준다 */
.header-style1 .attr-nav > ul > li > a.btn-style2.primary { color: #112437; }
/* 진행 단계 번호(주황 원) */
.vertical-timeline .count { color: #112437; }
@media (min-width: 992px) { .sticky-bar { display: none !important; } }
/* 바가 가리는 만큼 페이지 끝을 늘린다 — body 가 아니라 푸터에 더해 늘어난 자리도 네이비로(흰 띠가 남지 않게) */
@media (max-width: 991px) { body.has-bar footer { padding-bottom: calc(60px + env(safe-area-inset-bottom)); } }
/* 스크롤 링(테마: 1199px 이하 바닥 20px, z-index 100)이 하단 바의 「상담 신청」 칸을 덮고 탭을 가로챘다 — 바 위로 올린다 */
@media (max-width: 991px) { body.has-bar .scroll-top-percentage { bottom: calc(80px + env(safe-area-inset-bottom)); } }
/* 상담 폼·신고기한 계산 카드·마지막 안내 버튼·하단 바·푸터 링크가 링 자리에 닿아 있는 동안은 숨긴다(inherit.js ringGuard 가 .is-off) —
   바가 숨은 동안(카드가 보이거나 입력 중) 링이 폼 칩·입력칸·보내기 버튼을 덮고 탭을 가로채 맨 위로 올렸다. 숨을 때는 테마의 사라지는
   모양(작아지며 흐려짐) 그대로, 누르기는 바로 막는다 */
.scroll-top-percentage.is-off, .scroll-top-percentage.is-off.active { opacity: 0; visibility: hidden; transform: scale(0); pointer-events: none; }
/* 키보드로 다니는 동안(html.kbd — Tab 에서 달고 마우스·터치를 누르면 뗀다)은 링을 숨긴다. 링은 aria-hidden·초점 불가라 키보드로는
   쓸 수 없고, 앞으로 Tab 할 때 초점 받은 링크 일부를 덮었다 */
html.kbd .scroll-top-percentage, html.kbd .scroll-top-percentage.active { opacity: 0; visibility: hidden; pointer-events: none; }
/* 가로 모드 노치 아이폰 — 링이 오른쪽 안전영역 밖으로 나가지 않게(1199px 이하 테마 값 30px 에 더한다) */
@media (max-width: 1199px) { .scroll-top-percentage { right: calc(30px + env(safe-area-inset-right)); } }
/* 낮은 화면(가로 모드 폰 등, 높이 500px 이하) — 하단 바는 쓰지 않는다 */
@media (max-height: 500px) {
  .sticky-bar { display: none !important; }
  body.has-bar footer { padding-bottom: 0; }
  body.has-bar .scroll-top-percentage { bottom: 20px; }
}

/* ── 12. 404 ─────────────────────────────────────────────────────────── */
.page-title-section { background-color: #112437; }   /* 사진 전·스크립트 없이도 */
.page-404 .attr-nav { margin-right: 0; }             /* 991px 이하 햄버거 자리(70px) — 이 페이지에는 햄버거가 없다 */
@media (max-width: 991px) {
  .page-404 .header-phone { width: 45px; height: 45px; justify-content: center; }
  .page-404 .header-phone-num { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
  .page-404 .header-phone i { font-size: 18px; }
}

/* ── 13. 등장 효과(WOW) · 움직임 줄이기 · 키보드 방문자 ─────────────────────────────── */
/* WOW — 테마 wow.js 1.1.3 은 아직 화면에 들어오지 않은 .wow 를 인라인 visibility:hidden 으로 숨긴다. 그러면 그 안의 제목·FAQ·표가
   스크롤하기 전까지 접근성 트리(화면낭독기의 제목 이동·훑어 읽기), 브라우저 찾기(Ctrl+F), JS 를 돌리는 크롤러에서 빠졌다(제목 30개 중 12개).
   그래서 visibility 는 늘 visible 로 두고(인라인을 이기는 !important), 같은 「아직 안 보임」을 투명도로 만든다:
     html.wow-on  — main.inherit.js 05 가 wow.init() 바로 앞에 단다(스크립트가 없거나 WOW 가 못 실리면 처음부터 다 보인다)
     .wow-shown   — WOW 가 상자를 등장시킬 때 callback 이 단다 — WOW 가 애니메이션 이름을 붙이는 것과 같은 프레임(requestAnimationFrame)이라
                    animate.css 의 fill-mode:both 가 지연(data-wow-delay) 동안 첫 프레임(불투명도 0)을 지켜 깜빡임이 없다.
                    ⚠ animated 클래스는 기준이 될 수 없다 — WOW 가 animationend 에 뗀다.
     .wow-focus   — 초점이 .wow 상자 안으로 들어오면 main.inherit.js ② 가 wow-shown 과 함께 단다. 그 상자는 움직임 없이 바로 다 보이고
                    (등장 중이면 끝 모습으로), 나중에 WOW 가 붙이는 등장 효과도 꺼진다(보이던 것이 다시 사라졌다 나타나지 않게).
   보이는 모양·등장 순서는 테마 그대로다. 인쇄·움직임 줄이기에서는 숨기지 않는다(screen · no-preference 한정) */
.wow { visibility: visible !important; }
@media screen and (prefers-reduced-motion: no-preference) {
  html.wow-on .wow:not(.wow-shown) { opacity: 0; }
}
.wow.wow-focus { animation: none !important; }
/* 마지막 안내의 버튼은 그 자체가 .wow 상자이고 테마 btn-style2 는 transition: all .4s 라, 초점으로 드러낼 때 투명 → 보임이 0.4초 흐려졌다.
   hover 에 쓰는 색 전환만 남긴다(모양 그대로) */
.btn-style2.wow.wow-focus { transition: color .4s ease, background .4s ease, border-color .4s ease; }
/* 테마 CSS·JS 에는 prefers-reduced-motion 대응이 없다. 휠 가로채기(SmoothScroll)·패럴랙스(jarallax)·jQuery 애니메이션·스크롤 링의 굴림은
   main.inherit.js ④ 가 푼다 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wow { visibility: visible !important; animation: none !important; }
  .shape-one:after, .shape-two:after, .team-shape1:after, .team-shape2:after, .team-details-shape2:after,
  .testimonial-shape1:after, .testimonial-shape2:after { animation: none !important; }
  header.scrollHeader .navbar-default { animation: none !important; }
  .scroll-top-percentage, .scroll-top-percentage.active { animation: none !important; transition: none !important; }
  .btn-style2, .btn-style2:after { transition: none !important; }
  .cursor-helper-outer, .cursor-helper-inner { transition: none !important; }
  .sticky-bar, .sticky-bar.is-shown { transition: none; }
}

/* 고대비(강제 색) 모드 — 배경색이 지워져 고른 칩이 안 보이던 것을 시스템 강조색으로.
   체크박스(동의·외국 주소)는 Bootstrap 이 appearance:none + 흰 선 SVG 배경으로 체크를 그려, 배경이 Canvas(흰색)로 바뀌면 체크해도 빈 상자였다 —
   이 모드에서만 브라우저 기본 체크박스로 돌린다(시스템 색으로 그린다) */
@media (forced-colors: active) {
  .consent-check .form-check-input, .dl-check .form-check-input { -webkit-appearance: auto; appearance: auto; background-image: none; }
}
/* 스크립트를 끈 브라우저 — 커서 헬퍼는 마우스를 따라오지 못하고 왼쪽 위 점으로만 남는다 */
@media (scripting: none) { .cursor-helper { display: none; } }
/* 인쇄(A4·배경 그래픽 끔이 브라우저 기본) — 화면 전용 요소는 빼고 글을 남색으로 읽히게 한다.
   · 빼는 것: 헤더(메뉴·전화·상담 버튼 — nav-menu.js 가 메뉴에 인라인 display 를 넣어 세로로 찍혔다)·하단 바·스크롤 링·커서·장식 도형·
     패럴랙스 사진(jarallax 의 <img> 는 배경 끔과 무관하게 찍혀 흰 제목을 가렸고 마지막 쪽에 다시 찍혔다)·사진 띠 덮개·지연 로딩 일러스트
   · 히어로는 화면 높이(min-height)를 풀고, 흰 글자(히어로·마지막 안내·푸터·제목 띠·버튼·계산 결과·열린 FAQ)는 남색으로
   · 타임라인은 한 열 — 테마의 좁은 화면 규칙이 @media screen 이라 인쇄에는 데스크톱 두 열(가운데 원 여백 200px)이 종이 폭에 걸렸다 */
@media print {
  header, .sticky-bar, .scroll-top-percentage, .cursor-helper, .skip-link { display: none !important; }
  .wow { visibility: visible !important; opacity: 1 !important; animation: none !important; }
  [id^="jarallax-container"], .jarallax-img, .team-shape1, .team-shape2, .testimonial-shape1, .testimonial-shape2, .team-details-shape2,
  .shape-one, .shape-two, .cta-band .overlay, .person-card > img { display: none !important; }
  .hero-landing, .cta-band, .page-title-section, footer { background: none !important; }
  .hero-landing:before, .hero-landing:after, .page-title-section:before { display: none !important; }
  .hero-landing.full-screen, .hero-landing .hero-row.min-vh-100 { min-height: 0 !important; }
  .hero-landing .hero-row { padding-top: 24px; padding-bottom: 24px; }
  .top-position1 { margin-top: 0 !important; }
  .hero-copy, .hero-copy *, .cta-band, .cta-band *, footer, footer *, .page-title-section, .page-title-section *,
  .btn-style2, .dl-result, .dl-result *, .dl-days, .accordion-style .faq[open] > summary { color: #112437 !important; text-shadow: none !important; }
  .btn-style2 { border-color: #112437 !important; }
  footer .footer-logo { filter: invert(1) brightness(.3); }
  .vertical-timeline .item, .vertical-timeline .item:nth-child(even) { flex-direction: row; text-align: left; }
  .vertical-timeline .timeline-content, .vertical-timeline .item:nth-child(even) .timeline-content { flex-basis: 100%; flex-direction: row; }
  .vertical-timeline .text, .vertical-timeline .item:nth-child(even) .text { margin: 0 0 0 16px; padding: 12px 16px; }
  .vertical-timeline .count, .vertical-timeline .item:nth-child(odd) .count, .vertical-timeline .item:nth-child(even) .count { margin: 0; flex: none; }
  .vertical-timeline .item:not(:last-child) { margin-bottom: 16px; }
  .vertical-timeline:before, .vertical-timeline:after, .vertical-timeline .timeline-items:before { display: none; }
  section, section.md { padding: 32px 0 !important; }
  .location-actions, .profile-actions, .profile-cta, .column-cta, .column-more { display: none; }
  .qa, .who-box, .table-responsive-wrap, .vertical-timeline .item, .accordion-style .card, .calc-card, .person-card { break-inside: avoid; }
  /* 제목·섹션 머리가 쪽 끝에 홀로 남지 않게. 담당자 카드는 화면용 같은 높이(h-100)·아래 맞춤을 풀어 둔다(쪽이 나뉠 때 버튼이 카드 밖으로 나왔다) */
  .sec-title, #who .container > .text-center, #faq .container > .text-center, main h2, main h3 { break-inside: avoid; break-after: avoid; }
  .person-card { height: auto !important; }
  .person-card .card-body { display: block; }
  .person-card .card-body > .btn-style2 { margin-top: 0; }
}

/* ── 구역 끝의 상담 버튼(2026-11-25) — 테마 알약 버튼(btn-style2 primary rounded-pill)을 가운데에. 누르면 상담 카드로 간다 ── */
.mid-cta { margin: 2.5rem 0 0; text-align: center; }
@media (max-width: 575px) { .mid-cta { margin-top: 2rem; } .mid-cta .btn-style2 { width: 100%; padding-left: 12px; padding-right: 12px; } }
@media print { .mid-cta { display: none; } }

/* ── 14. 담당 공인회계사 프로필(/profile-01·02.html, 2026-11-25) — www team-details 와 같은 틀(테마 클래스) ── */
.profile-page .page-title-section ul li a { text-transform: none; }
.profile-list a { display: flex; align-items: flex-start; min-height: 32px; }
.profile-list a i { flex: none; width: 1.4em; text-align: center; margin-top: 2px; }
.profile-actions { display: grid; gap: 10px; }
.profile-actions .btn-style2 { justify-content: center; text-align: center; }
.profile-cta { margin-top: 1rem; padding: 1.75rem; background: #f8f9fa; border-left: 4px solid #F38734; border-radius: 6px; }
.profile-cta p { color: #112437; font-weight: 600; margin-bottom: 1.25rem; }
.profile-cta .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.profile-more { margin: 1.5rem 0 0; font-weight: 700; }
.profile-more a { display: inline-block; padding: 10px 0; }
@media (max-width: 575px) { .profile-cta { padding: 1.25rem; } .profile-cta .btn-style2 { width: 100%; text-align: center; padding-left: 12px; padding-right: 12px; } }

/* ── 15. 세무 칼럼(/column/<slug>.html · /column.html, 2026-11-25) — 글은 www 칼럼 그대로(css/custom.css 의 칼럼 블록)이고 틀만 이 사이트 것 ── */
/* 제목이 문장이라 테마 크기(64px)면 폰·PC 모두 서너 줄이 된다 — 글이 빨리 보이게 줄인다 */
.column-page .page-title-section h1 { font-size: clamp(26px, 3.6vw, 44px); line-height: 1.3; max-width: 22em; text-wrap: balance; }
.column-page .page-title-section ul li a { text-transform: none; }
.column-section { padding-top: 72px; overflow: visible; }   /* 테마 section 은 overflow:hidden 이라 오른쪽 상자가 따라 내려오지 않는다 */
.column-page .card-style4 { word-break: keep-all; }         /* 테마 카드는 낱말 가운데에서 끊는다(「공시가 / 격」) */
@media (max-width: 991px) { .column-section { padding-top: 56px; } }
@media (max-width: 575px) { .column-page article[data-column] > .card-body { padding: 1.5rem 1.15rem; } }
/* 359px 이하 — 순서도의 「예」 칸이 글 상자 밖으로 몇 px 나갔다 */
@media (max-width: 359px) { .column-page article[data-column] > .card-body { padding: 1.25rem .75rem; } .column-page .post-flow { font-size: 13.5px; } }
/* 글 안의 「함께 읽기」 카드 — www 카드에는 화살표 칸이 이미 있다(랜딩 카드용 화살표를 겹쳐 그리지 않는다) */
.column-page .related-link-card > a::after { content: none; }
/* 오른쪽 상담 상자 — PC 에서는 글을 따라 내려오고(고정 머리말 아래), 991px 이하는 글 아래에 놓인다 */
@media (min-width: 992px) { .column-side { position: sticky; top: 108px; } }
@media (max-width: 991px) { .column-side { margin-top: 2rem; } }
.column-cta { padding: 1.75rem; background: #f8f9fa; border-left: 4px solid #F38734; border-radius: 6px; }
.column-cta h2 { margin-bottom: .75rem; }
.column-cta .btns { display: grid; gap: 10px; }
.column-cta .btn-style2 { justify-content: center; text-align: center; padding-left: 12px; padding-right: 12px; }
.column-list .column-cta { margin-top: 3rem; }
@media (min-width: 576px) { .column-list .column-cta .btns { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575px) { .column-cta { padding: 1.35rem; } }
.column-back { margin: .75rem 0 0; font-weight: 700; }
.column-back a { display: inline-block; padding: 10px 0; color: #117865; }
.column-back a:hover { color: #F38734; }
.column-lead { margin-bottom: 2.5rem; }
.column-more { margin-top: 4rem; }
.column-more > h2 { margin-bottom: 2rem; }
.column-more .center-note { margin-top: 2rem; }
.column-thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.column-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 15px; line-height: 1.6; }
