/* =========================================================
   통통통 학원관리 가이드 (/guides/) 공통 스타일
   - 기반: Pico CSS 2.0.6 (vendor/pico.min.css) 위에 덮어쓰기
   - 원칙: 큰 글자, 높은 대비, 넓은 터치 영역 (중장년 원장님·학부모 고려)

   디자인 기준 (임의 선택이 아니라 통통통 실제 자산에서 가져옴)
   - 색: 공식 로고(og 이미지)와 basic/pro 로고 배지에서 추출
       글자 먹색  #3e3938  로고 워드마크 "통통통."
       pro 남보라 #575891  로고 고리 상단 · pro 배지  → 가이드 기본 강조색
       basic 분홍 #df5680  basic 배지 (버튼 배경은 대비 확보를 위해 #c23c69)
       주황       #f7961d  로고 고리 하단 (장식용 띠에만 사용)
   - 글꼴: Pretendard (사내 지정)
   - 로고: assets/img/logo-tongtongtong.png (사내 제공 원본)
   - 모서리: 4px(버튼·태그) / 8px(카드·표) 두 단계만 사용, 알약 모양 없음
   - 그림자 없음: 구분은 선과 여백으로
   ========================================================= */

/* ---------- 1. 디자인 토큰 ---------- */
:root {
  --ink: #3e3938;            /* 흰 배경 대비 약 11:1 */
  --ink-sub: #5c5655;        /* 흰 배경 대비 약 7:1 */
  --brand: #575891;          /* pro 남보라, 흰 배경 대비 약 6.5:1 */
  --brand-strong: #46477a;
  --brand-soft: #efeff6;
  --brand-line: #d5d5e6;
  --basic: #c23c69;          /* basic 분홍(버튼용 진한 톤), 흰 글자 대비 약 5:1 */
  --basic-strong: #a52f58;
  --basic-logo: #df5680;
  --orange: #f7961d;
  --line: #e2dfde;
  --surface: #ffffff;
  --surface-soft: #f7f6f6;
  --r-sm: 4px;
  --r-md: 8px;

  /* Pico 변수 재정의: 글꼴·크기 */
  --pico-font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --pico-font-size: 112.5%;          /* 기본 18px */
  --pico-line-height: 1.8;
  --pico-border-radius: var(--r-sm);
  --pico-spacing: 1rem;
  --pico-typography-spacing-vertical: 1.25rem;
}

/* Pico 변수 재정의: 색상 (Pico의 테마 선택자보다 우선하도록 같은 선택자로 지정) */
[data-theme="light"],
:root:not([data-theme="dark"]) {
  --pico-color: var(--ink);
  --pico-muted-color: var(--ink-sub);
  --pico-background-color: var(--surface);
  --pico-primary: var(--brand);
  --pico-primary-background: var(--brand);
  --pico-primary-border: var(--brand);
  --pico-primary-underline: rgba(87, 88, 145, .45);
  --pico-primary-hover: var(--brand-strong);
  --pico-primary-hover-background: var(--brand-strong);
  --pico-primary-hover-border: var(--brand-strong);
  --pico-primary-hover-underline: var(--brand-strong);
  --pico-primary-focus: rgba(87, 88, 145, .35);
  --pico-primary-inverse: #fff;
  --pico-secondary: var(--ink-sub);
  --pico-card-background-color: var(--surface);
}
@media (min-width: 768px) {
  :root { --pico-font-size: 118.75%; } /* 19px */
}

/* 글자 크기 조절 (guides.js가 html[data-fs] 설정) */
:root[data-fs="lg"] { --pico-font-size: 125%; }       /* 20px */
:root[data-fs="xl"] { --pico-font-size: 137.5%; }     /* 22px */
@media (min-width: 768px) {
  :root[data-fs="lg"] { --pico-font-size: 131.25%; }  /* 21px */
  :root[data-fs="xl"] { --pico-font-size: 143.75%; }  /* 23px */
}

/* ---------- 2. 기본 ---------- */
html { -webkit-text-size-adjust: 100%; }
body {
  word-break: keep-all;
  overflow-wrap: break-word;
  background: var(--surface);
}
h1, h2, h3 { color: var(--ink); letter-spacing: -0.02em; line-height: 1.4; }
h1 { --pico-font-size: 1.85rem; margin-bottom: 1rem; font-weight: 800; }
h2 { --pico-font-size: 1.45rem; margin: 0 0 1rem; font-weight: 800; }
h3 { --pico-font-size: 1.15rem; margin: 2rem 0 .75rem; }
p, li, dd, td, th { color: var(--ink); }
strong { font-weight: 700; color: inherit; }
a { text-underline-offset: 3px; }

.wrap { width: 100%; max-width: 54rem; margin: 0 auto; padding: 0 1rem; }

/* Pico가 article·nav에 주는 기본 카드/가로정렬 스타일 해제 */
article.wrap { background: none; box-shadow: none; border-radius: 0; padding: 0 1rem; margin: 0 auto; }
nav.toc, nav.breadcrumb { display: block; }
nav.toc ol, nav.breadcrumb ol { margin-left: 0; margin-right: 0; }
nav.toc li, nav.breadcrumb li { padding: 0; display: block; }
nav.breadcrumb li { display: inline-flex; align-items: center; }
nav.toc a, nav.breadcrumb a { margin: 0; }
nav.breadcrumb a { padding: 0; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm);
}
.skip-link:focus { top: .75rem; }

.icon { width: 1.35em; height: 1.35em; flex: 0 0 auto; vertical-align: -0.25em; }

/* Pico 버튼 공통: 작은 모서리, 그림자 없음 */
[role="button"], button { border-radius: var(--r-sm); box-shadow: none; }

/* ---------- 3. 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header nav { min-height: 3.75rem; }
.site-header nav ul { gap: .5rem; margin: 0; }
.site-header nav li { padding: 0; }
.site-header nav a { margin: 0; }
/* 헤더는 '글자 크기' 설정과 무관하게 고정 크기(px) — 버튼 줄바꿈·넘침 방지 */
.site-header .logo { display: inline-flex; align-items: center; text-decoration: none; }
.site-header .logo img { height: 44px; width: auto; display: block; }
@media (max-width: 720px) { .site-header .logo img { height: 38px; } }
.site-header [role="button"] {
  font-size: 15px; font-weight: 700; line-height: 1.3;
  padding: .55rem 1rem; white-space: nowrap;
}
/* 학원관리 가이드: 회색 테두리 버튼 */
.site-header .act-guide [role="button"] { color: var(--ink); border-color: var(--line); background: #fff; }
.site-header .act-guide [role="button"]:hover { border-color: var(--ink-sub); }
/* basic: 분홍 (basic 로고 배지 색) */
.act-basic [role="button"], a.btn-basic {
  background: var(--basic); border-color: var(--basic); color: #fff;
}
.act-basic [role="button"]:hover, a.btn-basic:hover { background: var(--basic-strong); border-color: var(--basic-strong); }
/* pro: 남보라 테두리 (pro 로고 배지 색) */
.site-header .act-pro [role="button"] { background: #fff; color: var(--brand); border-color: var(--brand); }

/* 모바일 헤더: 1줄(로고·가이드) + 2줄(basic·pro 신청 버튼) */
@media (max-width: 720px) {
  .site-header { position: static; }
  .site-header nav.header-nav {
    display: grid; grid-template-columns: 1fr 1fr; align-items: center;
    gap: .5rem; padding-top: .6rem; padding-bottom: .7rem;
  }
  .site-header nav ul.brand { grid-column: 1; grid-row: 1; }
  .site-header nav ul.actions { display: contents; }
  .site-header .act-guide { grid-column: 2; grid-row: 1; justify-self: end; }
  .site-header .act-basic { grid-column: 1; grid-row: 2; }
  .site-header .act-pro { grid-column: 2; grid-row: 2; }
  .site-header .act-basic [role="button"],
  .site-header .act-pro [role="button"] {
    width: 100%; white-space: normal; padding: .6rem .4rem; min-height: 3rem; font-size: 14px;
    display: flex; align-items: center; justify-content: center; text-align: center;
  }
}

/* ---------- 4. 히어로 ---------- */
/* 로고 고리의 세 색(남보라·분홍·주황)을 그대로 띠로 사용 — 색이 섞이는 그라데이션이 아님 */
.hero {
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
}
.hero::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand) 0 33.33%, var(--basic-logo) 33.33% 66.66%, var(--orange) 66.66% 100%);
}

/* 뒤로가기 (허브 제외 모든 가이드 페이지) */
.back-link {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 2.75rem; padding: .4rem .9rem .4rem .7rem; margin-bottom: 1rem;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff;
  color: var(--ink); font-size: 16px; font-weight: 700; text-decoration: none;
}
.back-link:hover { border-color: var(--brand); color: var(--brand); }
.back-link .icon { width: 1.15em; height: 1.15em; vertical-align: 0; }

.breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: .25rem .5rem;
  list-style: none; margin: 0 0 1.25rem; padding: 0;
  font-size: .9rem; color: var(--ink-sub);
}
.breadcrumb li { list-style: none; margin: 0; padding: 0; color: var(--ink-sub); }
.breadcrumb li + li::before { content: "›"; margin-right: .5rem; color: #9a9493; }
.breadcrumb a { color: var(--ink-sub); }

.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .9rem; font-weight: 700; color: var(--brand-strong);
  background: var(--brand-soft); border: 0;
  padding: .15rem .6rem; border-radius: var(--r-sm); margin-bottom: .9rem;
}
.lead { font-size: 1.1rem; line-height: 1.85; margin-bottom: 1rem; }
.meta-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem;
  margin-top: 1.25rem;
}

/* 글자 크기 조절 버튼 */
.fs-control { display: flex; align-items: center; gap: .5rem; margin: 0; }
.fs-control[hidden] { display: none; }
.fs-control .fs-label { font-size: .9rem; color: var(--ink-sub); display: inline-flex; align-items: center; gap: .3rem; }
.fs-control [role="group"] { margin: 0; width: auto; border-radius: var(--r-sm); box-shadow: none; }
.fs-control button {
  font-size: .9rem; padding: .45rem .85rem; min-height: 2.75rem;
  background: #fff; color: var(--ink); border-color: var(--line);
}
.fs-control button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- 5. 본문 섹션 ---------- */
main { padding: 2rem 0 4rem; }
.section { padding: 2.25rem 0 .5rem; scroll-margin-top: 5rem; }
/* 제목 앞 짧은 남보라 막대 하나로 구획 표시 (아이콘 상자 대신) */
.section-title { border-left: 4px solid var(--brand); padding-left: .75rem; }

/* 카드: 선으로만 구분 */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
}
.card-soft { background: var(--surface-soft); }

/* 한눈에 보기 */
.summary h2 { --pico-font-size: 1.15rem; margin-bottom: .75rem; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { list-style: none; display: flex; gap: .6rem; align-items: flex-start; padding: .35rem 0; margin: 0; }
.check-list .icon { color: var(--brand); margin-top: .2em; vertical-align: 0; }

/* 목차: 번호 목록 형태 */
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 1.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.toc li { list-style: none; margin: 0; border-bottom: 1px solid var(--line); }
.toc a {
  display: flex; align-items: center; gap: .6rem; min-height: 3rem;
  padding: .45rem 0; color: var(--ink); text-decoration: none; font-weight: 600;
}
.toc a:hover { color: var(--brand); text-decoration: underline; }
.toc .num { color: var(--brand); font-weight: 800; min-width: 1.2em; }

/* 기능 목록: 상자 대신 위쪽 선으로 나눈 2열 목록 */
.feature-grid { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0 2rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.feature-grid > li { list-style: none; margin: 0; }
.feature-grid .card { height: 100%; margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 1rem 0 1.25rem; background: none; }
.feature-grid h3 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .4rem; --pico-font-size: 1.1rem; }
.feature-grid h3 .icon { color: var(--brand); vertical-align: 0; width: 1.2em; height: 1.2em; }
.feature-grid p { margin: 0; }
.tag {
  display: inline-block; font-size: .8rem; font-weight: 700; color: var(--brand-strong);
  background: var(--brand-soft); border-radius: var(--r-sm); padding: .05rem .45rem; margin-left: .25rem;
}

/* 단계 */
ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1rem; }
ol.steps > li {
  list-style: none; counter-increment: step; position: relative;
  padding: 0 0 1.5rem 3.4rem; margin: 0;
}
ol.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: -.05rem;
  width: 2.4rem; height: 2.4rem; border-radius: var(--r-sm);
  background: var(--brand); color: #fff; font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
ol.steps > li:not(:last-child)::after {
  content: ""; position: absolute; left: 1.15rem; top: 2.6rem; bottom: .3rem;
  width: 2px; background: var(--brand-line);
}
ol.steps > li > strong:first-child { display: block; font-size: 1.1rem; margin-bottom: .2rem; }
.store-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .75rem; }
.store-links [role="button"] { display: inline-flex; align-items: center; gap: .45rem; min-height: 3rem; font-weight: 700; }

/* 표: 데스크톱은 표, 모바일은 블록으로 쌓기 */
.table-wrap { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin-bottom: 1rem; }
.table-wrap table { margin: 0; }
table caption { text-align: left; font-size: .9rem; color: var(--ink-sub); padding: .75rem 1rem 0; caption-side: top; }
table th, table td { padding: .9rem 1rem; vertical-align: top; }
table thead th { background: var(--surface-soft); font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--line); white-space: nowrap; }
table tbody th { font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) {
  .table-wrap.stack { border: 0; border-radius: 0; overflow: visible; }
  .stack table, .stack tbody, .stack tr, .stack th, .stack td { display: block; width: 100%; }
  .stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .stack caption { display: block; padding: 0 0 .5rem; }
  .stack tr {
    border: 1px solid var(--line); border-radius: var(--r-md);
    margin-bottom: .9rem; padding: 0 0 .35rem; background: #fff; overflow: hidden;
  }
  .table-wrap.stack table tbody th { width: 100%; background: var(--surface-soft); color: var(--ink); border-bottom: 1px solid var(--line); white-space: normal; }
  .stack td { border-bottom: 0; padding: .55rem 1rem; }
  .stack td[data-label]::before {
    content: attr(data-label);
    display: block; font-size: .85rem; font-weight: 700; color: var(--ink-sub); margin-bottom: .1rem;
  }
}

/* 비교표 값 표시 (색만이 아니라 글자로도 구분) */
.v-yes { color: var(--brand-strong); font-weight: 700; }
.v-no { color: #6d6766; }
.v-opt { color: #8a4b00; font-weight: 700; }
table.compare tbody th { width: 30%; white-space: normal; }
table.compare thead th:nth-child(2), table.compare thead th:nth-child(3) { width: 35%; }
.table-source { font-size: .9rem; color: var(--ink-sub); margin: -.25rem 0 1rem; }

/* 플랜 카드 (basic / pro): 각 제품 로고 배지 색으로 상단 표시 */
.plan-grid { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.plan-grid > li { list-style: none; margin: 0; }
.plan-card { height: 100%; margin: 0; border-top: 4px solid var(--brand); display: flex; flex-direction: column; }
.plan-card [role="button"] { margin-top: auto; }
.plan-card.basic { border-top-color: var(--basic-logo); }
.plan-card.basic h3 .icon, .plan-card.basic .plan-stage { color: var(--basic); }
.plan-card.basic [role="button"]:not(.outline) { background: var(--basic); border-color: var(--basic); color: #fff; }
.plan-card.basic [role="button"]:not(.outline):hover { background: var(--basic-strong); border-color: var(--basic-strong); }
.plan-card h3 { margin: 0 0 .25rem; display: flex; align-items: center; gap: .5rem; --pico-font-size: 1.25rem; }
.plan-card h3 .icon { color: var(--brand); vertical-align: 0; }
.plan-card .plan-stage { font-weight: 700; color: var(--brand-strong); margin-bottom: .75rem; }
.plan-card ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.plan-card li { margin: .25rem 0; }
.plan-card .price { background: var(--surface-soft); border-radius: var(--r-sm); padding: .6rem .85rem; margin-bottom: 1rem; }
.plan-card [role="button"] { width: 100%; min-height: 3rem; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* 화면 캡처 이미지 */
figure.shot { margin: .5rem 0 1.5rem; }
figure.shot img {
  display: block; width: 100%; max-width: 40rem; height: auto;
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
}
figure.shot figcaption { font-size: .9rem; color: var(--ink-sub); margin-top: .5rem; }

/* 출처 표시 */
.source-box {
  font-size: .95rem; color: var(--ink-sub);
  border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem;
}
.source-box p { margin: 0 0 .25rem; color: var(--ink-sub); }
.source-box a { word-break: break-all; }

/* 안내 문구 */
.note {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .95rem; color: var(--ink);
  background: var(--surface-soft); border: 0; border-left: 3px solid var(--ink-sub);
  border-radius: 0; padding: .8rem 1rem; margin: .5rem 0 1rem;
}
.note .icon { color: var(--ink-sub); margin-top: .15em; vertical-align: 0; }
.note p { margin: 0; }

/* FAQ */
dl.faq { margin: 0; }
dl.faq dt {
  position: relative; font-weight: 700; font-size: 1.05rem;
  margin: 0; padding: 1.1rem 0 .4rem 2.4rem; border-top: 1px solid var(--line);
}
dl.faq dt:first-child { border-top: 0; }
dl.faq dt::before, dl.faq dd::before {
  position: absolute; left: 0;
  width: 1.7rem; height: 1.7rem; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem;
}
dl.faq dt::before { content: "Q"; top: 1.05rem; background: var(--brand); color: #fff; }
dl.faq dd { position: relative; margin: 0; padding: .2rem 0 1.1rem 2.4rem; }
dl.faq dd::before { content: "A"; top: .25rem; background: var(--surface-soft); color: var(--ink); border: 1px solid var(--line); }

/* 관련 가이드: 줄 목록 */
.related { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 1.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.related li { list-style: none; margin: 0; border-top: 1px solid var(--line); }
.related a {
  display: flex; flex-direction: column; align-items: flex-start; height: 100%; padding: .9rem 0 1rem;
  color: var(--ink); text-decoration: none; font-weight: 700;
}
.related a:hover { color: var(--brand); }
.related a span { display: block; font-weight: 400; font-size: .92rem; color: var(--ink-sub); margin-top: .25rem; }
/* 자세히 보기: 다른 페이지로 이동한다는 표시.
   GEO: 링크 설명(앵커 텍스트)은 페이지 제목 그대로 두기 위해 HTML 글자가 아니라 CSS로 그린다. */
.related a::after {
  content: "자세히 보기";
  display: inline-flex; align-items: center; min-height: 2.5rem; margin-top: auto; position: relative; top: .75rem; margin-bottom: .75rem;
  padding: .35rem .85rem; border: 1px solid var(--brand); border-radius: var(--r-sm);
  color: var(--brand); background: #fff; font-size: 15px; font-weight: 700;
}
.related a:hover::after { background: var(--brand); color: #fff; }

/* 본문 문장 안의 다른 가이드 링크: 문구는 그대로, 모양만 테두리 버튼으로 (이동 경로 인지) */
a.link-more {
  display: inline-flex; align-items: center; gap: .25rem;
  margin: .15rem .1rem; padding: .05rem .55rem;
  border: 1px solid var(--brand); border-radius: var(--r-sm);
  color: var(--brand); background: #fff; font-weight: 700; text-decoration: none;
}
a.link-more:hover { background: var(--brand); color: #fff; }

/* CTA */
.cta-box {
  margin-top: 2.5rem; padding: 1.5rem; border-radius: var(--r-md);
  background: var(--surface-soft); border: 1px solid var(--line);
}
.cta-box p { margin-bottom: 1rem; }
.cta-box .actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cta-box [role="button"] { min-height: 3rem; display: inline-flex; align-items: center; font-weight: 700; }

/* ---------- 6. 푸터 ---------- */
.site-footer { background: var(--surface-soft); border-top: 1px solid var(--line); padding: 1.75rem 0 2.5rem; }
.site-footer p { font-size: .9rem; color: var(--ink-sub); margin: .2rem 0; }
.site-footer a { color: var(--ink-sub); }
/* ---------- 공통 푸터 ---------- */
/* 초기화 */
.tong-footer {padding:0; background:#fff; border-top:1px solid #dedede; font-size:13px; line-height:1.5; color:#7E7E7E;}
.tong-footer ul, .tong-footer li, .tong-footer p, .tong-footer address, .tong-footer details, .tong-footer summary {margin:0; padding:0; list-style:none; font-style:normal; font-size:inherit; line-height:inherit; color:inherit; border:0;}
.tong-footer a {text-decoration:none;}
.tong-footer b {white-space:nowrap;}
.tong-footer .ft-m {display:none;}

/* PC */
.tong-footer .f-menu-wrap {border-bottom:1px solid #dedede;}
.tong-footer .f-menu-wrap .footer-inner {display:flex; align-items:center; justify-content:center; max-width:1164px; height:62px; margin:0 auto;}
.tong-footer .f-menu-list {display:flex;}
.tong-footer .f-menu-list a {display:block; width:100%; font-size:15px; color:#7E7E7E; box-sizing:border-box;}
.tong-footer .f-menu-list a:hover, .tong-footer .f-menu-list a:focus-visible {text-decoration:underline;}
.tong-footer .f-menu-list li:nth-child(3) a {font-weight:600; color:#333333;}
.tong-footer .f-menu-list li:not(:last-child) a::after {content:""; width:1px; height:13px; background:#C3CAD4; display:inline-block; vertical-align:middle; margin:0 30px;}
.tong-footer .footer-info {display:flex; background:#F6F7F8;}
.tong-footer .footer-info .layout-inner {width:100%; max-width:1165px; margin:0 auto;}
.tong-footer .info-contents {display:flex; padding:40px 0; align-items:stretch;}
.tong-footer .info-contents .f-logo img {display:block; width:130px; height:auto;}
.tong-footer .info-contents .addr-info {font-size:12px; color:#7E7E7E; line-height:22px; padding-left:50px; flex-grow:1;}
.tong-footer .info-contents .addr-info ul {margin:0 0 15px;}
.tong-footer .info-contents .addr-info ul li {display:flex; flex-wrap:wrap; align-items:center; font-size:13px; line-height:23px; color:#333333;}
.tong-footer .info-contents .addr-info ul li p + p::before {content:""; width:1px; height:12px; display:inline-block; vertical-align:middle; background:#C3CAD4; margin:0 13px; position:relative; top:-1px;}
.tong-footer .info-contents .addr-info ul li span {color:#7E7E7E;}
.tong-footer .info-contents .addr-info ul li b {font-weight:700; color:#333333;}

/* 모바일 */
.tong-footer .ft-m .footer-inner .addr-info {padding-bottom:15px;}
.tong-footer .ft-m .addr-info ul li, .tong-footer .ft-m .address-info li {font-size:13px; line-height:23px; color:#333;}
.tong-footer .ft-m .addr-info ul li b {font-weight:700; color:#333;}
.tong-footer .ft-m .addr-info ul li span, .tong-footer .ft-m .address-info li span {color:#7e7e7e;}
.tong-footer .ft-m .ml15 {margin-left:15px;}
.tong-footer .ft-m .ml20 {margin-left:20px;}
.tong-footer .ft-m > .footer-inner {padding:20px 20px 105px;}
.tong-footer .btn-tgl-footer {position:relative; display:flex; align-items:center; justify-content:center; width:100%; height:46px; background:#f5f7fa; border:1px solid #CCD1D7; border-radius:4px; box-sizing:border-box; font-size:15px; line-height:1; color:#151515; font-weight:500; cursor:pointer;}
.tong-footer .btn-tgl-footer::-webkit-details-marker {display:none;}
.tong-footer .btn-tgl-footer::after {content:''; position:static; float:none; width:0; height:0; margin-left:7px; background:none; border-top:6px solid #666666; border-left:6px solid transparent; border-right:6px solid transparent; transform:none; transition:transform .5s;}
.tong-footer .tgl-footer[open] .btn-tgl-footer::after {transform:rotate(180deg);}
.tong-footer .btn-tgl-footer:focus-visible {outline:2px solid var(--brand); outline-offset:2px;}
.tong-footer .address-info {margin-top:13px; text-align:left;}

@media (max-width:1163px) {
  .tong-footer {border-top:none;}
  .tong-footer .ft-pc {display:none;}
  .tong-footer .ft-m {display:block;}
  .tong-footer .f-menu-wrap {padding:0 20px; border-width:1px; border-style:solid none solid none; border-color:#E0E6EF; background:#EBEFF5;}
  .tong-footer .f-menu-wrap .footer-inner {justify-content:left; height:45px; padding-left:0;}
  .tong-footer .f-menu-list li a {padding-right:19px; font-size:13px;}
  .tong-footer .f-menu-list li a::after {display:none !important;}
  .tong-footer .f-menu-list li:last-child a {padding-right:0;}
}
/* ( ~ 359px) */
@media (max-width:359px) {
  .tong-footer .f-menu-list li a {padding-right:10px; font-size:12px; white-space:nowrap;}
  .tong-footer .f-menu-list li:last-child a {padding-right:0;}
}

/* ---------- 7. 모바일 ---------- */
@media (max-width: 640px) {
  h1 { --pico-font-size: 1.6rem; }
  h2 { --pico-font-size: 1.3rem; }
  .lead { font-size: 1.05rem; }
  .card { padding: 1.1rem 1.1rem; }
  .meta-row { flex-direction: column; align-items: flex-start; }
}

/* 검수 필요 표시 (사내 확인 후 <mark class="review"> 태그와 주석을 삭제) */
mark.review {
  background: #fff3b0; color: var(--ink); padding: .05em .3em; border-radius: var(--r-sm);
  outline: 2px dashed #e0a800; outline-offset: 1px;
}
mark.review::before { content: "검수 필요 · "; font-size: .8em; font-weight: 800; color: #8a5a00; }

/* 인쇄 */
@media print {
  .site-header, .fs-control, .toc, .cta-box, .back-link { display: none !important; }
}

/* basic-qna (예상질문 반영) */
.qa-item{margin-block:1.25rem 1.75rem}
.qa-item h3{font-size:1.08rem;margin-bottom:.5rem}
.qa-list{padding-left:1.1rem}
.qa-list li{margin-bottom:.35rem}
.scope-note{font-size:.9rem;color:var(--pico-muted-color)}
