@charset "utf-8";
/* ============================================================
   스마트미디어 — 하위 페이지 전용 스타일
   메인(style.css)의 토큰·헤더·푸터를 그대로 쓰고, 하위 페이지에만
   필요한 요소(페이지 타이틀 밴드, 본문 조판, 표, 목록)만 여기 둔다.
   style.css 는 손대지 않는다.
   ============================================================ */

/* 그리드·플렉스 자식은 min-width:0 이 없으면 긴 한글이 칸을 밀어낸다 */
.sub-grid > *, .sub-table td, .sub-table th { min-width: 0; }

/* ---------- 페이지 타이틀 ---------- */
.page-head {
  padding: calc(var(--header-h) + 56px) 0 46px;
  background: #000;
  color: var(--on-dark);
  text-align: center;
}
.page-head .crumb {
  font-size: 13px; opacity: .72; letter-spacing: -.02em;
  margin-bottom: 14px;
}
.page-head .crumb a { text-decoration: none; }
.page-head .crumb a:hover { text-decoration: underline; }
.page-head h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(24px, 4.2vw, 42px); line-height: 1.32;
  letter-spacing: -.03em;
}
.page-head p.lead {
  margin-top: 16px; font-size: clamp(14px, 1.7vw, 17px);
  line-height: 1.8; color: #d8d8d8;
}

/* ---------- 본문 조판 ---------- */
.sub-section { padding: 64px 0; }
.sub-section + .sub-section { border-top: 1px solid var(--line); }
.sub-section h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(20px, 3vw, 30px); line-height: 1.4;
  letter-spacing: -.03em; margin-bottom: 20px;
}
.sub-section h3 {
  font-weight: 700; font-size: clamp(16px, 2.1vw, 20px);
  line-height: 1.5; margin: 30px 0 10px; letter-spacing: -.02em;
}
.sub-section p {
  font-size: clamp(14px, 1.6vw, 16px); line-height: 1.9;
  color: #333; margin-bottom: 14px;
}
.sub-section p:last-child { margin-bottom: 0; }
.sub-section strong { font-weight: 700; color: #000; }

.sub-list { margin: 8px 0 18px; }
.sub-list li {
  position: relative; padding-left: 18px; margin-bottom: 10px;
  font-size: clamp(14px, 1.6vw, 16px); line-height: 1.85; color: #333;
}
.sub-list li::before {
  content: ''; position: absolute; left: 2px; top: .78em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--navy);
}
.sub-list li strong { color: #000; }

/* ---------- 카드 그리드 ---------- */
.sub-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.sub-card {
  border: 1px solid var(--line); border-radius: 14px;
  padding: 24px 22px; background: #fff;
}
.sub-card h3 { margin: 0 0 10px; font-size: 17px; }
.sub-card p { font-size: 15px; line-height: 1.8; color: #444; margin: 0; }
.sub-card .no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--step); color: #fff; font-weight: 700; font-size: 15px;
  margin-bottom: 12px;
}

/* ---------- 표 ---------- */
.sub-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sub-table {
  width: 100%; border-collapse: collapse; font-size: 15px;
  line-height: 1.7; min-width: 0;
}
.sub-table th, .sub-table td {
  border: 1px solid var(--line); padding: 13px 14px;
  text-align: left; vertical-align: top; word-break: keep-all;
}
.sub-table th { background: #f6f7f9; font-weight: 700; width: 34%; }

/* ---------- 문답 ---------- */
.qa { border-top: 1px solid var(--line); }
.qa-item { border-bottom: 1px solid var(--line); padding: 24px 0; }
.qa-item h3 {
  margin: 0 0 10px; font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55; letter-spacing: -.02em;
}
.qa-item h3::before {
  content: 'Q. '; color: var(--navy); font-weight: 700;
}
.qa-item p {
  margin: 0; font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.9; color: #383838;
}

/* ---------- 다음 단계 링크 ---------- */
.next-links {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px;
}
.next-links a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 11px 20px; border-radius: 999px;
  border: 1px solid var(--navy); color: var(--navy);
  font-size: 15px; font-weight: 700; line-height: 1.3;
}
.next-links a:hover { background: var(--navy); color: #fff; }

/* ---------- 하단 상담 유도 ---------- */
.sub-cta { background: #f6f7f9; padding: 60px 0; text-align: center; }
.sub-cta h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(20px, 3vw, 30px); line-height: 1.4;
  letter-spacing: -.03em; margin-bottom: 14px;
}
.sub-cta p { font-size: 15px; line-height: 1.8; color: #444; margin-bottom: 24px; }
.sub-cta .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.sub-cta .btn { min-height: 52px; }

/* ---------- 푸터 사이트맵 ---------- */
.f-nav {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  justify-content: center; margin: 4px 0 22px;
}
.f-nav a {
  font-size: 14px; color: #d5d5d5; line-height: 1.6;
  padding: 4px 0; min-height: 24px;
}
.f-nav a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 760px) {
  .page-head { padding: calc(var(--header-h) + 34px) 0 34px; }
  .sub-section { padding: 44px 0; }
  .sub-card { padding: 20px 18px; }
  .sub-table th, .sub-table td { padding: 11px 12px; font-size: 14px; }
  .sub-table th { width: 38%; }
  .next-links a { font-size: 14px; padding: 10px 16px; }
}

/* ---------- 문의폼 iOS 자동확대 방지 ----------
   입력칸 글자가 16px 미만이면 iOS 사파리가 포커스 순간 화면을 확대한다.
   데스크톱 모양은 그대로 두고 모바일 폭에서만 16px 로 올린다. */
@media (max-width: 900px) {
  #inquiryForm input,
  #inquiryForm select,
  #inquiryForm textarea { font-size: 16px; }
}

/* ---------- 하위 페이지 헤더 ----------
   메인은 헤더가 투명하게 시작해도 흰 히어로 위라 글자가 보이지만,
   하위 페이지는 검은 타이틀 밴드 위라 검은 메뉴 글자가 묻힌다.
   하위 페이지에서는 헤더를 처음부터 흰색으로 고정한다. */
body.sub .site-header {
  background: #fff;
  box-shadow: 0 1px 14px rgba(0, 0, 0, .09);
}
body.sub .page-head { padding-top: calc(var(--header-h) + 74px); }
@media (max-width: 900px) {
  body.sub .page-head { padding-top: calc(var(--header-h) + 34px); }
}

/* 데스크톱 메뉴가 6개라 좁은 데스크톱 폭에서 간격을 줄인다 */
@media (min-width: 901px) and (max-width: 1180px) {
  .gnb { gap: 22px; }
  .gnb a { font-size: 15px; }
}
