/* 시안 D안 common.css + anim.css (tools/import_d_design.py) */
/* D안 공통 — 잰 값: 글자 #1c1c1c · 보조 #757575 · 옅은 회색 #f7f7f7/#eeeeee · 검정 · 메인 새싹 연두 #C4F59A (T-468, 옛 노랑 #ffe922). 굵은 제목(900). 글꼴 Pretendard 1종 */
:root { --ink: #1c1c1c; --sub: #757575; --bg2: #f7f7f7; --bg3: #eeeeee; --ye: #C4F59A; --ye2: #A6E27A; --deep: #45650F; --line: #e4e4e4; --wrap: 1200px; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #ff00ff; }
body { background: #fff; color: var(--ink); font-family: "Pretendard Variable", Pretendard, "Malgun Gothic", sans-serif; -webkit-font-smoothing: antialiased; letter-spacing: -0.03em; }
img { display: block; max-width: 100%; }
.part { display: flow-root; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.wrap { width: var(--wrap); margin: 0 auto; }
.k96 { font-size: 96px; line-height: 1.05; font-weight: 900; letter-spacing: -0.04em; }
.k52 { font-size: 52px; line-height: 1.2; font-weight: 900; }
.k46 { font-size: 46px; line-height: 1.25; font-weight: 900; }
.k28 { font-size: 28px; line-height: 1.35; font-weight: 900; }
.k22 { font-size: 22px; line-height: 1.4; font-weight: 900; }
.p18 { font-size: 18px; line-height: 1.7; color: #444; }
.p16 { font-size: 16px; line-height: 1.7; color: #444; }
.cap { font-size: 14px; color: var(--sub); }
.hl { background: linear-gradient(transparent 58%, var(--ye) 58%); }

/* 버튼: 검정 알약 → 노랑 · 흰 알약 */
.kb { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 22px; font-size: 15px; font-weight: 800; background: #000; color: #fff; border: 1px solid #000; white-space: nowrap; }
.kb::after { content: "→"; }
.kb-w { background: #fff; color: #000; }
.kb-s { height: 34px; padding: 0 16px; font-size: 13px; border-radius: 17px; }

/* 상단 메뉴 64px */
.kh { position: sticky; top: 0; z-index: 100; height: 64px; background: #fff; border-bottom: 1px solid var(--line); }
.kh .in { width: var(--wrap); height: 64px; margin: 0 auto; display: flex; align-items: center; }
.kh .logo img { height: 22px; width: auto; }
.kh nav { margin-left: 80px; display: flex; gap: 36px; font-size: 15px; font-weight: 800; }
.kh nav a { position: relative; padding: 4px 0; }
.kh nav a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--deep); }
.kh .rt { margin-left: auto; display: flex; gap: 8px; }
.kh.dk { background: #000; color: #fff; border-color: #222; }

/* 카드 */
.kcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.kcard { display: block; border-radius: 20px; background: #fff; box-shadow: 4px 8px 40px 4px rgba(0, 0, 0, .08); overflow: hidden; }
.kcard .im { aspect-ratio: 418 / 260; background: var(--bg3); position: relative; overflow: hidden; }
.kcard .im img { width: 100%; height: 100%; object-fit: cover; }
.kcard .bd { padding: 24px 26px 28px; }
.kcard .tag { display: inline-block; height: 26px; padding: 0 10px; border-radius: 13px; background: var(--ye); font-size: 12px; font-weight: 800; line-height: 26px; }
.kcard h3 { margin-top: 12px; font-size: 19px; line-height: 1.45; font-weight: 900; }
.kcard p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--sub); }
.ph-empty { position: absolute; inset: 0; display: grid; place-items: center; color: #aaa; font-size: 14px; font-weight: 700; }

/* 마지막 띠 (노랑 바탕 + 메일 줄) · 푸터 (흰 바탕, 큰 회색 로고) */
.kend { background: var(--ye); padding: 56px 0; }
.kend { overflow: hidden; } .kend .wrap { display: flex; justify-content: space-between; align-items: center; } .kch { position: relative; width: 330px; height: 110px; margin-left: auto; margin-right: 32px; }
.kend p { font-size: 22px; font-weight: 900; line-height: 1.4; }
.kf { padding: 64px 0 48px; }
.kf .top { display: grid; grid-template-columns: repeat(4, 180px) 1fr; gap: 24px; }
.kf h4 { font-size: 13px; font-weight: 900; margin-bottom: 10px; }
.kf .col a { display: block; font-size: 13px; line-height: 2; color: #555; }
.kf .info { font-size: 12px; line-height: 1.9; color: var(--sub); text-align: right; }
.kf .badges { margin-top: 10px; display: flex; gap: 10px; justify-content: flex-end; }
.kf .badges img { height: 30px; width: auto; max-width: 60px; object-fit: contain; }
.kf .big { margin-top: 56px; height: 64px; width: auto; opacity: .18; filter: grayscale(1); }

@media (max-width: 600px) {
  .wrap, .kh .in { width: auto; margin: 0 20px; }
  .kh nav, .kh .rt { display: none; }
  .kh .menu { margin-left: auto; width: 22px; height: 14px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
  .kh .menu::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 2px; background: currentColor; }
  .k96 { font-size: 56px; } .k52 { font-size: 32px; } .k46 { font-size: 28px; } .k28 { font-size: 22px; }
  .kcards { grid-template-columns: 1fr; } .kend .wrap { flex-direction: column; gap: 16px; align-items: flex-start; }
  .kf .top { grid-template-columns: 1fr 1fr; } .kf .info { text-align: left; grid-column: 1 / -1; } .kf .badges { justify-content: flex-start; }
}
.m-only { display: none; }
@media (max-width: 600px) { .m-only { display: block; } .d-only { display: none !important; } }
.kf .info a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* D안 움직임 (잰 값으로 새로 작성). 움직임 줄이기 설정이면 맨 아래에서 전부 끔 */
:root { --ka: cubic-bezier(.2, .7, 0, .95); }

/* 1) 가로 꽉 찬 히어로 넘김: 0.5초 미끄러짐, 5초마다, 점 12px (지금 1 · 나머지 0.3) */
.ks { position: relative; overflow: hidden; }
.ks .tr { display: flex; transition: transform .5s ease; }
.ks .tr > * { flex: 0 0 100%; }
.kdots { display: flex; gap: 10px; }
.kdots button { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; background: #fff; opacity: .3; cursor: pointer; transition: opacity .3s; }
.kdots button.on { opacity: 1; }
.kdots.dk button { background: #000; }
.karw { display: flex; gap: 8px; }
.karw button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #000; background: #fff; cursor: pointer; position: relative; transition: background-color .3s; }
.karw button:hover { background: var(--ye); }
.karw button::after { content: ""; position: absolute; left: 17px; top: 16px; width: 9px; height: 9px; border-left: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(45deg); }
.karw .nx::after { left: 14px; transform: rotate(-135deg); }

/* 2) 카드가 아래 100px 에서 0.8초 (같은 줄은 차례로) */
.js [data-up] { opacity: 0; transform: translateY(100px); transition: opacity .8s, transform .8s; }
.js [data-up].k-in { opacity: 1; transform: none; }

/* 3) 묶음 등장: 아래 54px 에서 (투명도 0.42초 · 이동 0.48초, cubic-bezier(.2,.7,0,.95)) */
.js [data-k] { opacity: 0; transform: translateY(54px); transition: opacity .42s var(--ka), transform .48s var(--ka); }
.js [data-k].k-in { opacity: 1; transform: none; }

/* 4) 글이 한 줄씩 아래 14px 에서 0.25초, 줄마다 0.2초 늦게 */
.js .klines .kl { display: block; opacity: 0; transform: translateY(14px); transition: opacity .25s, transform .25s; }
.js .klines.k-in .kl { opacity: 1; transform: none; }

/* 5) 기울어진 꼬리표가 툭 나타남 (각자 기울기, 0.4초) */
.js .stk { opacity: 0; transform: scale(.6) rotate(0deg); transition: opacity .4s, transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.js .stks.k-in .stk { opacity: 1; transform: scale(1) rotate(var(--r, -8deg)); }
.stk { transform: rotate(var(--r, -8deg)); }

/* 6) hover: 카드 그림자 진해지며 살짝 떠오름 · 흐린 카드 0.5 → 1 (0.3초) · 검정 버튼 → 노랑 */
.kcard { transition: box-shadow .3s, transform .3s; }
.kcard:hover { box-shadow: 0 8px 40px 8px rgba(0, 0, 0, .12); transform: translateY(-6px); }
.dim { opacity: .5; transition: opacity .3s; } .dim:hover { opacity: 1; }
.kb { transition: background-color .3s, color .3s, border-color .3s; }
.kb:hover { background: var(--ye2); color: #000; border-color: #000; }
.kb-w:hover { background: #000; color: #fff; }
.kh nav a, .kf .col a { transition: color .2s; } .kf .col a:hover { color: #000; }
.zm { overflow: hidden; } .zm img { transition: transform .4s; } a:hover > .zm img, .zm:hover img { transform: scale(1.05); }

/* 7) 연도 표시: 지금 보는 묶음 1, 나머지 0.3 (옆에 붙어 따라옴) */
.ynav a { opacity: .3; transition: opacity .3s; } .ynav a.on { opacity: 1; }

/* 8) 캐릭터: 기울어진 채 아래 30px·0.7배에서 툭 튀어나옴 (꼬리표와 같은 탄성, 0.5초) · 말풍선은 0.2초 늦게 */
.chr { position: absolute; z-index: 2; transform: rotate(var(--r, 0deg)); pointer-events: none; }
.js .pop { opacity: 0; transform: translateY(30px) rotate(var(--r, 0deg)) scale(.7); transition: opacity .5s, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.js .pop.k-in { opacity: 1; transform: rotate(var(--r, 0deg)); }
.bub { position: absolute; z-index: 3; background: #fff; border: 2px solid #000; border-radius: 18px; padding: 8px 14px; font-size: 14px; font-weight: 900; white-space: nowrap; }
.bub::after { content: ""; position: absolute; left: 22px; bottom: -9px; width: 14px; height: 14px; background: #fff; border-right: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(45deg); }
.js .bub { opacity: 0; transform: translateY(8px); transition: opacity .3s .2s, transform .3s .2s; } .js .bub.k-in { opacity: 1; transform: none; }
.ich { display: inline-block; height: 1.05em; width: auto; vertical-align: -0.12em; margin: 0 .05em; }

@media (prefers-reduced-motion: reduce) {
  .js .pop, .js .bub { opacity: 1 !important; transform: rotate(var(--r, 0deg)) !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-up], .js [data-k], .js .klines .kl, .js .stk { opacity: 1 !important; transform: none !important; }
  .js .stks .stk { transform: rotate(var(--r, -8deg)) !important; }
}
img.chr { width: auto !important; max-width: none; object-fit: contain !important; }
/* 캐릭터 옅은 그림자 (모든 캐릭터 같은 값 — 밝은 맹꽁이가 노랑 바탕에서 묻히지 않게) */
img.chr, .stkc, .ich { filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .16)) drop-shadow(0 1px 2px rgba(0, 0, 0, .12)); }

/* ---- 우리 추가분 (site_extra.css) ---- */
/* 홈페이지 D안 — 우리 추가분 (T-561). tools/import_d_design.py 가 site.css 끝에 붙인다. 시안 모양은 건드리지 않는다 */
/* 폼 보내기 버튼: 시안은 <a class="kb"> — 실제로 보내려고 <button> 으로 바꾼 것을 같은 모양으로 */
button.kb { font: inherit; letter-spacing: inherit; font-size: 15px; font-weight: 800; line-height: normal; cursor: pointer; -webkit-appearance: none; appearance: none; }
button.kb-s { font-size: 13px; }
.kchips span[data-v] { cursor: pointer; user-select: none; }
.kchips[hidden] { display: none !important; }
/* 보낸 뒤·오류 안내 (시안에 없는 줄 — 보냈을 때만 보인다) */
.fmsg { margin: 0 0 8px; padding: 14px 18px; border-radius: 12px; font-size: 15px; font-weight: 700; line-height: 1.5; }
.fmsg.ok { background: #effde6; color: #1f5f00; }
.fmsg.err { background: #fff1e6; color: #b34700; }
/* 시안 common.css 의 html { background: #ff00ff } 는 빈 곳 찾기용 — 맥·폰에서 끝까지 당기면 분홍이 보여서 흰색으로 */
html { background: #fff; }
/* 모바일 가로 넘침 (T-561 PM 10/28): 화면 끝에 걸쳐 놓은 캐릭터(img.chr, right:-30px 등)가 문서 폭을 넓혀 옆으로 밀렸다.
   보이는 모양은 그대로 두고 화면 밖 부분만 자른다 (세로는 그대로 보임) — clip 은 스크롤 상자를 만들지 않아 sticky 머리말에 영향 없음 */
body > * { overflow-x: clip; }  /* body 에 주면 화면(viewport)으로 넘어가 iOS 가 무시 → 맨 위 구역마다 */
/* 게임 영상 (T-600): 그림 자리를 <video class="kv"> 로 바꾼 곳 — 그 자리 img 와 같은 크기·자르기·어둡기 */
video.kv { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.hs video.kv, .as video.kv { opacity: .55; }
/* 게임별 테마색 (T-657) — 한 곳에서 관리. --gc 진한색(흰 바탕 글자 AA 4.5 이상) · --gbg 연한 배경(검정 글자 AA)
   색상(hue)이 서로·사이트 연두 #C4F59A(92°) 와 40° 이상 떨어지게. 근거 화면은 보고서 색 표 */
[data-game="symbius"]   { --gc: #12805C; --gbg: #BFEBD8; }  /* 160° 미션 화면 민트 */
[data-game="ocean"]     { --gc: #1565A8; --gbg: #BCDDF5; }  /* 207° 바닷속 파랑 */
[data-game="powerplan"] { --gc: #6B3FC4; --gbg: #DCCDF7; }  /* 260° 네온 보라 */
[data-game="riverrun"]  { --gc: #6F6A00; --gbg: #EAE69A; }  /* 57° 하천 갈대·노랑 (대표 11/03 18:00 분홍 말고) — 다른 색·연두와 33° 이상 */
[data-game="carbon"]    { --gc: #B5470F; --gbg: #FFD2B3; }  /* 22° 도시 지붕·예산 칩 주황 */
.kcard[data-game] .tag { background: var(--gbg); }
.hs[data-game] .cap { color: var(--gbg) !important; font-weight: 700; }
.hs[data-game] .cap::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--gbg); vertical-align: 1px; }
.nums2[data-game] b { color: #1c1c1c; }   /* 대표 11/03 18:00 "한눈에" 큰 글씨는 검정 (배경판만 게임 색) */
.nums2[data-game] > div { background: var(--gbg); }   /* 숫자 칸 바탕도 게임 연한 색 (진한 글자 46px 굵게 = 큰 글자 AA 3:1 이상) */
/* 게임 상세 히어로 (T-658, 대표 11/03 17:59 "영상 전체 크기로") — 상세 5종 [data-detail]:
   영상·그림 = 화면 가로 전체 16:9 (잘림·색 여백 0, 티저 자막이 다 보이게), 제목 상자는 그 아래. 폰도 같은 순서.
   곰·말풍선은 영상 위에 겹치지 않게 이 히어로에서만 숨김 */
.jh[data-detail] .ks, .jh[data-detail] .js-s { height: auto; }
.jh[data-detail] .js-s { display: flex; flex-direction: column; background: var(--gbg, #BFEBD8); }
.jh[data-detail] .js-s > video.kv, .jh[data-detail] .js-s > img:not(.chr) {
  position: static; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; opacity: 1; }
.jh[data-detail] .js-s > .chr, .jh[data-detail] .js-s > .bub { display: none; }
.jh[data-detail] .js-s > .tx { position: static; max-width: none; margin: 24px max(20px, calc((100% - 1200px) / 2)) 64px; }
.jh[data-detail] .kdots { bottom: 28px; }
/* 교육프로그램 칸의 하이라이트 영상 = 그 자리 그림과 같은 크기 (T-658) */
.pb video.kv { width: 300px; height: 180px; border-radius: 12px; box-shadow: 0 10px 24px rgba(0,0,0,.15); }
@media (max-width: 600px) { .pb video.kv { width: 100%; } }
/* 도입 사례 현장 사진 위 작은 이름표 (T-658) */
.gi .phcap { position: absolute; left: 14px; top: 14px; padding: 4px 10px; border-radius: 12px; background: rgba(0,0,0,.62); color: #fff; font-size: 12px; font-weight: 700; }

/* 게임 상세 폰: "한눈에" 칸이 한 줄씩 쌓일 때 동물 그림(top:-58px)이 위 칸 설명을 가리지 않게 칸 사이를 띄움 (T-676) */
@media (max-width: 600px) { div.nums2 { row-gap: 72px; } }   /* 쪽 <style> 의 gap:16px 보다 앞서게 div. */

/* ---- T-686 대표 수정 (11/04) ---- */
/* #7 폰: 16:9 영상이 세로로 긴 칸을 꽉 채우며 가운데만 남던 것(62% 잘림) → 화면 전체가 보이게, 위에 붙이고 남는 곳은 어두운 바탕 */
@media (max-width: 600px) {
  .hs video.kv, .js-s video.kv:not([data-side]), .as video.kv, .ph video.kv { object-fit: contain; object-position: center top; background: #000; }
}
/* #14 메인 게임 카드: 게임 이름(크게) → 설명 → 해시태그 표 */
.kcard .bd > h3:first-child { margin-top: 0; font-size: 22px; }
.kcard .bd > p + .tag { margin-top: 14px; }
/* #10 회사소개 "핵심 IP" 카드 — 캐릭터 그림은 칸 안에 다 보이게 */
.kip-grid { margin-top: 32px; }
.kip .im { background: var(--gbg, #C4F59A); }
.kip .im img { object-fit: contain; padding: 18px; }
.kip .more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 800; }
.kip.tech .im { display: grid; place-items: center; background: #111; }
.kip.tech .im b { color: #C4F59A; font-size: 56px; font-weight: 900; letter-spacing: .04em; }
/* #16 게임 상세 소개: 가운데 긴 문단 → 왼쪽 정렬 + 칸 4개 */
.jl .box.split { text-align: left; }
.jl .box.split h2 { margin-top: 8px; }
.jl .facts { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; padding: 0; }
.jl .facts li { border-radius: 18px; background: #fff; padding: 20px 22px; }
.jl .facts span { display: block; font-size: 13px; font-weight: 700; color: var(--sub); }
.jl .facts b { display: block; margin-top: 6px; font-size: 18px; font-weight: 900; line-height: 1.4; }
@media (max-width: 600px) { .jl .facts { grid-template-columns: 1fr 1fr; } .jl .facts b { font-size: 15px; } }
/* #17 상세 첫 장: 큰 글씨 게임 이름이 위, 해시태그 줄이 아래 */
.js-s .tx h1:first-child { margin: 0 0 8px; }
/* #19 자료실: 이메일 한 번 받고 내려받기 · 파일 없는 카드는 "준비 중" + 못 누름 */
.rget { padding: 0 0 8px; }
.rget .rbox { border-radius: 24px; background: var(--bg2); padding: 28px 32px; }
.rget .rt { display: block; font-size: 20px; font-weight: 900; }
.rget .rl { margin-top: 6px; font-size: 14px; color: var(--sub); }
.rget .rrow { margin-top: 16px; display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 12px; align-items: end; }
.rget label { display: block; font-size: 13px; font-weight: 800; }
.rget label b { color: #e60; }
.rget input[type=text] { display: block; width: 100%; margin-top: 6px; height: 48px; padding: 0 16px; border: 2px solid #ddd; border-radius: 12px; background: #fff; font-size: 15px; }
.rget input[type=text]:focus { border-color: #000; outline: none; }
.rget .kb { height: 48px; }
.rget .rck { margin-top: 12px; font-weight: 500; font-size: 13px; }
.rget .rck input { width: 18px; height: 18px; margin: 0 6px 0 0; vertical-align: -3px; accent-color: #000; }
.rget .rdone { font-size: 15px; font-weight: 800; }
.rget .fmsg { margin-bottom: 12px; }
.kcard.off { cursor: default; }
.kcard.off .im { filter: grayscale(.6); opacity: .7; }
.kcard.off .bd p { color: #999; }
.kb.off { background: #e5e5e5; color: #888; border-color: #e5e5e5; cursor: default; pointer-events: none; }
@media (max-width: 600px) { .rget .rbox { padding: 22px 18px; } .rget .rrow { grid-template-columns: 1fr; } }

/* #22 (대표 11/04 17:07) 게임 상세 맨 위 영상·그림: 화면에 다 보이게 — 높이를 보이는 화면(머리말 64px + 아래 제목 상자 조금) 안으로 줄이고
   비율 그대로(contain), 양옆 빈 곳은 같은 장면을 흐리게 깐다 (--bg = 포스터/그 그림) */
.jh[data-detail] .js-s { position: relative; isolation: isolate; overflow: hidden; }
.jh[data-detail] .js-s::before { content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: -1; height: min(56.25vw, calc(100svh - 184px));
  background: var(--bg) center / cover no-repeat; filter: blur(28px) brightness(.8); transform: scale(1.12); }
.jh[data-detail] .js-s > video.kv, .jh[data-detail] .js-s > img:not(.chr) { max-height: calc(100svh - 184px); object-fit: contain; background: transparent; }
/* #22 "게임 화면" 3칸: 16:9 원본 그대로 (예전 2:1:1 칸 높이 260 = 좌우 잘림) */
.jsec .gal { grid-template-columns: repeat(3, 1fr); }
.jsec .gal div { height: auto; aspect-ratio: 16 / 9; overflow: hidden; }
.jsec .gal img { object-fit: contain; }
@media (max-width: 600px) { .jsec .gal { grid-template-columns: 1fr; } }

/* #23 (대표 11/04 17:07) 게임 상세 "어떤 게임인가요" — 설명 2~3문장 · 진행 순서 · 배우는 것 (맨 위 카드 아래, 대상·차시 칸과 겹치지 않게) */
.jab { padding: 0 0 100px; margin-top: -40px; }
.jab-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.jab-in > div { border-radius: 24px; background: #fff; border: 2px solid var(--gbg, #eee); padding: 32px; }
.jab-d { background: var(--gbg, #f4f4f4) !important; }
.jab-d .p18 { margin-top: 10px; line-height: 1.7; }
.jab h3 { margin: 0 0 16px; font-size: 20px; font-weight: 900; }
.jab-f { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.jab-f li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line, #eee); line-height: 1.55; }
.jab-f li:first-child { border-top: 0; padding-top: 0; }
.jab-f b { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; font-size: 14px; }
.jab-l { margin: 0; padding: 0 0 0 20px; line-height: 1.7; }
.jab-l li + li { margin-top: 8px; }
@media (max-width: 900px) { .jab-in { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .jab { padding-bottom: 72px; margin-top: -24px; } .jab-in > div { padding: 24px 20px; } }

/* #24 (대표 11/04 17:24) 메인·무료 체험 맨 위 영상: 1920×1080 등에서 아래로 넘치고(버튼 잘림) 위아래가 잘리던 것 →
   높이 = 16:9 와 보이는 화면(머리말 64px 뺀) 중 작은 쪽, 영상은 비율 그대로(contain), 빈 곳은 같은 장면 흐리게(--bg). 폰(600 이하)은 예전 그대로 */
@media (min-width: 601px) {
  .hero[data-hero] .ks, .hero[data-hero] .hs, .jh[data-hero]:not([data-detail]) .ks, .jh[data-hero]:not([data-detail]) .js-s { height: min(56.25vw, calc(100svh - 64px)); }
  .hero[data-hero] .hs, .jh[data-hero]:not([data-detail]) .js-s { isolation: isolate; overflow: hidden; }
  .hero[data-hero] .hs::before, .jh[data-hero]:not([data-detail]) .js-s::before { content: ""; position: absolute; inset: -60px; z-index: -1;
    background: var(--bg) center / cover no-repeat; filter: blur(28px) brightness(.55); transform: scale(1.12); }
  .hero[data-hero] .hs > video.kv, .hero[data-hero] .hs > img, .jh[data-hero]:not([data-detail]) .js-s > video.kv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: transparent; }
  /* #25 빈 곳 바닥은 늘 어두운 색 — 흐린 포스터가 늦게 오거나 가장자리가 옅어져도 흰색이 비치지 않게 (대표 11/04 17:34) */
  .hero[data-hero] .hs, .hero[data-hero] .hs.first, .hero[data-hero] .hs[style*="background:#000"], .jh[data-hero]:not([data-detail]) .js-s { background: #111 !important; }
  .hero[data-hero] .ks, .hero[data-hero] .tr, .jh[data-hero]:not([data-detail]) .ks { background: #111; }
  .hero[data-hero] .hs > video.kv, .hero[data-hero] .hs > img { opacity: 1; filter: brightness(.55); }   /* 예전 opacity .55 + 검정 바탕과 같은 어둡기 (흐린 배경이 비치지 않게) */
  .hero[data-hero] .hs .tx { bottom: max(72px, min(140px, 12svh)); z-index: 1; }
  .jh[data-hero]:not([data-detail]) .js-s .tx { top: min(120px, 10svh); z-index: 1; }
}

/* #25b 양옆 흐린 장면 = 재생 중인 영상 (site.js 가 canvas.kvbg 에 그림). 폰(600 이하)은 쓰지 않음 */
canvas.kvbg { display: none; }
@media (min-width: 601px) {
  .hero[data-hero] .hs > canvas.kvbg, .jh[data-hero] .js-s > canvas.kvbg { display: block; position: absolute; left: -60px; top: -60px; width: calc(100% + 120px); height: calc(100% + 120px);
    z-index: -1; filter: blur(26px) brightness(.72) saturate(1.1); opacity: 0; transition: opacity .5s; pointer-events: none; }
  .jh[data-detail] .js-s > canvas.kvbg { height: calc(min(56.25vw, calc(100svh - 184px)) + 120px); filter: blur(26px) brightness(.85) saturate(1.1); }
  .kvbg-on > canvas.kvbg { opacity: 1 !important; }
  .hero[data-hero] .hs::before, .jh[data-hero]:not([data-detail]) .js-s::before { filter: blur(28px) brightness(.72); }   /* 포스터 층도 덜 어둡게 — 흐린 장면이 보이게 */
}

/* ---- 구매·견적 (T-701) ---- */
.yh .yhs { margin-top: 16px; } .yh .yha { margin-top: 20px; }
.ysteps { padding-top: 48px; } .ysteps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ysteps li { border: 2px solid #000; border-radius: 20px; padding: 18px 20px; background: #fff; } .ysteps b { display: block; font-size: 17px; font-weight: 900; } .ysteps span { display: block; margin-top: 4px; font-size: 14px; color: #555; }
.ygo { margin-top: 16px; font-size: 15px; font-weight: 800; } .ygo a { text-decoration: underline; text-underline-offset: 3px; }
#p-docs, #p-faq { padding-top: 80px; }
.s1 .pbody { max-width: 760px; margin: 28px auto 0; text-align: center; line-height: 1.7; } .s4 .p16 a, .s1 .pbody a { text-decoration: underline; }
.pnums { margin-top: 32px; } .pnums code { margin-top: 12px; font: 800 20px/1.3 inherit; letter-spacing: .02em; word-break: break-all; }
.pnums .pcopy { margin-top: auto; align-self: flex-start; background: #000; color: #fff; border: 0; border-radius: 16px; padding: 6px 14px; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.qt-done p + p { margin-top: 10px; } .qt-done ol { margin: 6px 0 0; padding-left: 20px; font-weight: 500; list-style: decimal; } .qt-done ol a { text-decoration: underline; } .fm .qt-done .kb { color: #fff; width: auto; height: 44px; margin-top: 4px; padding: 0 22px; }
@media (max-width: 600px) { .ysteps ol { grid-template-columns: 1fr 1fr; } }

/* ---- 뉴스·보도자료 · 공식 SNS (T-702) ---- */
.anews, .asns { padding: 0 0 100px; } .nhead { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ngrid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ncard { display: flex; flex-direction: column; border: 2px solid #000; border-radius: 20px; overflow: hidden; background: #fff; transition: transform .3s; }
.ncard:hover { transform: translateY(-4px); }
.ncard .nim { position: relative; aspect-ratio: 16 / 10; background: var(--bg2); overflow: hidden; } .ncard .nim > .nphoto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ncard .nph { display: grid; place-items: center; width: 100%; height: 100%; background: #C4F59A; } .ncard[data-cat="press"] .nph { background: #A9DDF0; } .ncard[data-cat="news"] .nph { background: #FFD8A8; }
.ncard .nph img { width: 40%; opacity: .5; }
.ncard .ntx { padding: 18px 20px 22px; } .ncard .ntx b { display: block; margin-top: 6px; font-size: 18px; line-height: 1.45; font-weight: 900; }
.nmeta { font-size: 13px; color: #555; } .ncat { font-weight: 800; color: #000; }
.nsum { margin-top: 8px; font-size: 15px; line-height: 1.6; color: #444; } .nsrc { margin-top: 8px; font-size: 14px; font-weight: 800; text-decoration: underline; }
.asns .p16 { margin-top: 10px; } .sbtns { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.sprev { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .sbox { border-radius: 20px; background: var(--bg2); padding: 24px; }
.sbox ul { margin-top: 12px; list-style: none; padding: 0; } .sbox li + li { margin-top: 10px; } .sbox a { display: flex; gap: 12px; align-items: center; }
.sbox img { width: 112px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; flex: none; } .sbox span { flex: 1; font-weight: 700; line-height: 1.45; } .sbox i { font-style: normal; font-size: 13px; color: #666; white-space: nowrap; }
.nlist, .ndetail { padding: 80px 0 120px; } .nlist .cap a, .ndetail .cap a { text-decoration: underline; } .nsub { margin-top: 12px; }
.nfilter { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; } .nfilter a { padding: 8px 16px; border-radius: 20px; border: 2px solid #000; font-weight: 800; font-size: 14px; } .nfilter a.on { background: #000; color: #fff; }
.nrows { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; } .nrows .ncard { flex-direction: row; } .nrows .ncard .nim { width: 280px; flex: none; aspect-ratio: auto; min-height: 170px; }
.nmore { margin-top: 28px; text-align: center; } .nempty { margin-top: 40px; font-size: 17px; color: #555; }
.ndetail .wrap { max-width: 860px; } .ndetail .nmeta { margin-top: 24px; } .ndetail h1 { margin-top: 10px; }
.nfig { margin: 32px 0 0; } .nfig img { width: 100%; border-radius: 20px; } .nbody { margin-top: 32px; font-size: 17px; line-height: 1.85; } .nbody p + p { margin-top: 1em; }
.nsrcb { margin-top: 32px; } .nback { margin-top: 28px; font-weight: 800; } .nother { margin-top: 64px; }
.kf .ksns { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 14px; font-size: 13px; font-weight: 800; }
@media (max-width: 600px) { .ngrid, .sprev { grid-template-columns: 1fr; } .nrows .ncard { flex-direction: column; } .nrows .ncard .nim { width: auto; aspect-ratio: 16 / 10; min-height: 0; } .nhead { flex-wrap: wrap; } }

.pnums .pnote { margin-top: 4px; font-size: 13px; color: #555; }   /* T-975 */
