@charset "utf-8";
/* =========================================================
   인증 대상 (target.html) — target.css
   로드 순서: style.css → sub.css → target.css
   서브비주얼(.a2v)·2차메뉴(.a2tab)·라벨/제목(.a2-label, .a2-h2)은 sub.css "서브 공통"
   ========================================================= */

/* ---------- 1. 적용 범위 + 산업 분야 ---------- */
.tg-scope { padding: 120px 0 130px; }
.tg-scope__grid { display: grid; grid-template-columns: 420px 1fr; gap: 40px; align-items: end; }
.tg-scope__txt p { font-size: 18px; line-height: 1.85; color: var(--body); }
.tg-scope__txt p + p { margin-top: 14px; }
.tg-scope__txt strong { color: var(--navy); font-weight: 700; }
.tg-ind { margin-top: 64px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); overflow: hidden; border: 1px solid #DCE3EE; border-radius: 22px; background: #fff; }
.tg-ind li { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 40px 8px 34px; transition: background .3s; }
.tg-ind li + li { border-left: 1px solid #DCE3EE; }
.tg-ind li:hover { background: #F4F6FA; }
.tg-ind img { width: 88px; height: 88px; transition: transform .35s var(--ease); }
.tg-ind li:hover img { transform: translateY(-4px); }
.tg-ind span { font-size: 17px; font-weight: 700; color: var(--ink); }

/* ---------- 2. 주요 인증 대상 : 3 x 2 박스 ---------- */
.tg-types { padding: 130px 0 140px; background: #F4F6FA; }
.tg-types__head { text-align: center; }
.tg-types__head > p:last-child { margin-top: 20px; font-size: 17px; line-height: 1.85; color: var(--sub); }
.tg-types__list { margin-top: 60px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tg-type { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 40px 36px 36px; background: #fff; border: 1px solid #DCE3EE; border-radius: 22px; transition: box-shadow .3s, border-color .3s, transform .3s var(--ease); }
.tg-type::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #2454C6, #6A9BFF); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.tg-type:hover { transform: translateY(-4px); border-color: #C9D6EA; box-shadow: 0 18px 40px rgba(16, 38, 76, .08); }
.tg-type:hover::before { transform: scaleX(1); }
.tg-type__top { display: flex; justify-content: space-between; align-items: flex-start; }
.tg-type__ico { width: 96px; height: 96px; margin: -8px 0 0 -8px; }
.tg-type__no { font-size: 15px; font-weight: 800; letter-spacing: .1em; color: #8FA6D6; }
.tg-type__title { margin-top: 22px; font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.tg-type__desc { margin-top: 12px; font-size: 16px; line-height: 1.75; color: var(--sub); }
.tg-type__tags { margin-top: auto; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.tg-type__tags li { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: #EEF3FC; font-size: 13px; font-weight: 600; color: #2454C6; }

/* ---------- 3. 신청 전 확인 (담당자 띠 .tg-contact 는 sub.css 공통) ---------- */
.tg-check { padding: 120px 0 140px; }
.tg-notice { display: grid; grid-template-columns: 360px 1fr; gap: 40px; padding: 48px 52px; background: #fff; border: 1px solid #C9D6EA; border-radius: 22px; box-shadow: 0 16px 36px rgba(16, 38, 76, .06); }
.tg-notice__head { display: flex; gap: 18px; align-items: flex-start; }
.tg-notice__mark { flex: none; display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; background: var(--navy); color: #fff; font-size: 22px; font-weight: 800; }
.tg-notice__title { font-size: 28px; font-weight: 800; line-height: 1.35; letter-spacing: -.03em; color: var(--ink); }
.tg-notice__body p { font-size: 17px; line-height: 1.85; color: var(--body); }
.tg-notice__body p + p { margin-top: 12px; }
.tg-notice__body strong { color: var(--navy); font-weight: 700; }


/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
  .tg-scope__grid { grid-template-columns: 360px 1fr; }
  .tg-notice { grid-template-columns: 300px 1fr; }
}

@media (max-width: 1024px) {
  .tg-scope { padding: 88px 0 96px; }
  .tg-scope__grid { grid-template-columns: 1fr; gap: 24px; }
  .tg-ind { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tg-ind li:nth-child(4n+1) { border-left: 0; }
  .tg-ind li:nth-child(n+5) { border-top: 1px solid #DCE3EE; }
  /* 7개 + 빈 8번째 칸 : 금융 아래 / 스마트홈 우측 라인 */
  .tg-ind::after { content: ""; border-left: 1px solid #DCE3EE; border-top: 1px solid #DCE3EE; }
  .tg-types { padding: 96px 0; }
  .tg-types__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tg-check { padding: 88px 0 96px; }
  .tg-notice { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 768px) {
  .tg-scope { padding: 64px 0 72px; }
  .tg-scope__txt p { font-size: 15px; }
  .tg-ind { margin-top: 36px; border-radius: 18px; }
  .tg-ind li { gap: 10px; padding: 20px 4px 16px; }
  .tg-ind img { width: 56px; height: 56px; }
  .tg-ind span { font-size: 13px; }

  .tg-types { padding: 72px 0; }
  .tg-types__head { text-align: left; }
  .tg-types__head > p:last-child { font-size: 15px; }
  .tg-types__list { margin-top: 32px; grid-template-columns: 1fr; gap: 12px; }
  .tg-type { padding: 26px 22px; border-radius: 18px; }
  .tg-type__ico { width: 72px; height: 72px; margin: -6px 0 0 -6px; }
  .tg-type__title { margin-top: 14px; font-size: 21px; }
  .tg-type__desc { font-size: 15px; }
  .tg-type__tags { padding-top: 16px; }

  .tg-check { padding: 64px 0 72px; }
  .tg-notice { padding: 28px 22px; border-radius: 18px; }
  .tg-notice__head { gap: 12px; align-items: center; }
  .tg-notice__mark { width: 34px; height: 34px; font-size: 18px; }
  .tg-notice__title { font-size: 21px; }
  .tg-notice__body p { font-size: 15px; }
}
