/* ONVIA 공통 틀: 머리말·모바일 메뉴·꼬리말·약관 팝업 (아임웹 화면 실측 2026-11-25 기준) */
/* 기본값: 아임웹(부트스트랩 3 기반) 화면과 같은 기본값만 옮김 — 실측 2026-11-25 */
html { -webkit-text-size-adjust: 100%; font-size: 10px; }
*, *::before, *::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb; } /* 아임웹 tailwind 기본값과 동일 */
@media (min-width: 992px) { body { overflow-y: scroll; } } /* 아임웹: 992px 이상에서 짧은 페이지도 스크롤바 자리를 항상 둠(실측 2026-11-27) */
body.ox-noscroll, body.ox-modal-open { overflow: hidden; }
body { margin: 0; background: #0b0e0f; color: #363636; font-family: "IBM Plex Sans", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; font-size: 14px; line-height: 1.5; }
h1, h2, h3 { margin: 20px 0 10px; }
h4, h5, h6 { margin: 10px 0; }
/* 아임웹 사이트 디자인 설정(custom.cm)과 같은 값 */
.ox h1, .ox h2, .ox h3, .ox h4, .ox h5, .ox h6 { font-family: "IBM Plex Sans", "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans", sans-serif; font-weight: normal; font-style: normal; line-height: 1.2; }
.ox h1 { font-size: 4em; } .ox h2 { font-size: 3.214em; } .ox h3 { font-size: 2.571em; }
.ox h4 { font-size: 2.143em; } .ox h5 { font-size: 1.714em; } .ox h6 { font-size: 1.286em; line-height: 1.4; }
.ox a, .ox a:hover { color: #363636; }
strong { font-weight: 600; }
i { display: inline-block; } /* 아임웹 화면과 같게(별점 반 칸 표시) */
h1 small, h2 small, h3 small { font-size: 65%; } h4 small, h5 small, h6 small { font-size: 75%; }
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { font-weight: 400; line-height: 1; color: #777; } /* 부트스트랩 기본값 */
.ox label { font-weight: normal; font-size: 1em; display: inline-block; max-width: 100%; width: 100%; margin-bottom: 5px; color: #363636; }
@media (max-width: 992px) { html { overflow-x: clip; } }
@media (max-width: 767px) {
  .ox h1 { font-size: 32px; } .ox h2 { font-size: 28px; } .ox h3 { font-size: 24px; }
  .ox h4 { font-size: 20px; line-height: 1.5em; } .ox h5 { font-size: 18px; line-height: 1.5em; } .ox h6 { font-size: 16px; }
}
p { margin: 0 0 10px; }
ul, ol { margin: 0 0 10px; }
img { max-width: 100%; vertical-align: middle; border-width: 0; }
button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0; } input { line-height: normal; } summary { display: block; } /* 부트스트랩 기본값 */
button, [role=button] { cursor: pointer; }
.ox a:focus, .ox button:focus, .ox input:not([type=checkbox]):not([type=radio]):focus, .ox select:focus, .ox textarea:focus { outline: none; }
.ox input[type=checkbox]:focus, .ox input[type=radio]:focus { outline: 5px auto -webkit-focus-ring-color !important; outline-offset: -2px; } /* 부트스트랩 기본값(아임웹과 같음) */ /* 아임웹: 키보드로 이동해도 테두리 없음(실측 2026-11-26) */
.ox button { border-radius: 3px; } /* 아임웹 기본값 */
table { border-collapse: collapse; border-spacing: 0; border-style: none; }
hr { margin: 20px 0; border: 0; border-top: 1px solid #eee; }
#ox-main { display: block; }

/* 머리말 (PC, 1100px 이상 기준 크기. 992~1099px는 아임웹처럼 줄여 보임) */
.ox-header { position: sticky; top: 0; z-index: 1000; background: #0b0e0f; }
.ox-hd-pc { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 88px; padding: 0 15px; color: #f0f1ef; }
.ox .ox-brand:hover, .ox .ox-brand:hover * { color: #f0f1ef; } /* 아임웹: 로고 글자는 마우스를 올려도 흰색 그대로(실측 2026-11-27) */
.ox .ox-brand { display: inline-flex; align-items: center; justify-self: start; text-decoration: none; color: #f0f1ef; }
.ox-logo { width: 60px; height: 40px; display: block; object-fit: contain; margin-left: 27px; }
.ox-brand__txt { display: flex; flex-direction: column; align-items: center; width: 137px; padding-top: 4px; font-family: "IBM Plex Sans", "Pretendard Variable", Pretendard, sans-serif; }
.ox-brand__tag { font-size: 16px; line-height: 22px; white-space: nowrap; margin-left: 10px; transform: translateX(0.43px); }
.ox-brand__tag b { font-weight: 400; } .ox-brand__tag span { letter-spacing: 1px; }
.ox-brand__name { font-size: 30px; line-height: 38px; font-weight: 700; letter-spacing: 1px; margin-top: 4px; }
.ox-nav ul, .ox-mnav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.ox-nav a { display: flex; align-items: center; height: 51px; padding: 0 14px; color: #f0f1ef; text-decoration: none; font-size: 20px; line-height: 24px; font-family: "Pretendard English", "Pretendard Variable", Pretendard, sans-serif; white-space: nowrap; }
@media (min-width: 1311px) { .ox-hd-pc { padding: 0 25px; } } /* 아임웹 custom.cm: 1310px 이하 15px, 그보다 넓으면 25px (실측 2026-11-27) */
.ox-nav { transform: translateY(-0.6px); } /* 아임웹 메뉴 글자 위치(31.4px)와 맞춤 */
.ox-nav a span { border-radius: 5px; transition: color .2s; } .ox-nav a.is-active span { padding: 4px 15px; }
.ox .ox-nav a:hover span, .ox-nav a.is-active span { color: #f26a3d; }
.ox-nav a.is-active span { background: #0b0e0f; }
.ox .ox-cta { justify-self: end; display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 4px; background: #f15a2b; color: #e6ebec; text-decoration: none; font-family: "IBM Plex Sans", "Pretendard Variable", Pretendard, sans-serif; font-size: 16px; letter-spacing: 1px; line-height: 23px; white-space: nowrap; }
.ox .ox-cta { border: 0 solid rgb(255,111,97); }
.ox .ox-cta:hover { background: #e6ebec; color: #212121; border-width: .8px; border-color: rgba(255,111,97,.6); } /* 아임웹 버튼 롤오버와 같음(실측) */
.ox-cta svg { flex: none; width: 15px; height: 14px; } .ox-cta span { padding-left: 6.4px; }
/* 아임웹과 같은 태블릿 축소: 767~1024px 화면 전체 0.85배 */
@media (max-width: 1024px) and (min-width: 767px) { body { zoom: .85; } }

/* 머리말 (모바일·태블릿 991px 이하, 768~991px는 아임웹처럼 줄여 보임) */
.ox-hd-m, .ox-mnav { display: none; }
@media (max-width: 991px) {
  .ox-header { position: relative; }
  .ox-hd-pc { display: none; }
  .ox-hd-m { display: block; text-align: center; background: #0b0e0f; }
  .ox-mlogo img { width: 55px; height: 55px; display: block; margin: 0 auto; object-fit: contain; }
  .ox-mtag { margin: 0; height: 23px; line-height: 19px; padding-top: 2px; font-size: 14px; color: #f0f1ef; white-space: nowrap; font-family: "IBM Plex Sans", "Pretendard Variable", Pretendard, sans-serif; }
  .ox-mnav { display: block; position: sticky; top: 0; z-index: 1000; background: #0b0e0f; border-bottom: 1px solid #3f494a; overflow-x: auto; scrollbar-width: none; }
  .ox-mnav::-webkit-scrollbar { display: none; }
  .ox-mnav ul { height: 45px; align-items: center; gap: 46.62px; padding: 0 14.79px 0 18.31px; justify-content: flex-start; width: max-content; }
  .ox-mnav li { flex: none; display: flex; align-items: center; }
  .ox-mnav a { display: inline-flex; align-items: center; padding: 0; border-radius: 4px; border: 0; color: #f0f1ef; text-decoration: none; font-size: 12px; line-height: 18px; font-weight: 700; letter-spacing: 1px; font-family: "IBM Plex Sans", "Pretendard Variable", Pretendard, sans-serif; white-space: nowrap; }
  .ox-mnav a.is-active { padding: 4px 13px; background: #f26a3d; border: 1px solid #f26a3d; color: #fff; font-weight: 400; }
}

/* 꼬리말 */
/* 아임웹 꼬리말 구조·계산값 그대로(실측 2026-11-26: 1280 높이 186.2, 375 높이 188) */
.ox-footer { background: #0b0e0f; padding: 20px 15px; text-align: center; font-size: 12px; line-height: 18px; font-weight: 400; color: #f0f1ef; font-family: "IBM Plex Sans", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", "Nanum Gothic", "Noto Sans", sans-serif; }
.ox-ft-text { margin: 5px 0 10px; }
.ox .ox-ft-text p { margin: 0; height: 18px; font-size: 12px; line-height: 18px; }
.ox-ft-text span { color: #bdc5c7; }
.ox-ft-nav { height: 23.2px; }
.ox .ox-footer__links { display: inline-block; margin: 0; padding: 0; list-style: none; height: 18px; vertical-align: baseline; }
.ox-footer__links li { display: inline-block; list-style: none; height: 18px; font-size: 12px; line-height: 18px; }
.ox-footer__links li.b { font-weight: 700; }
.ox-footer__links a { color: #f0f1ef; text-decoration: none; padding: 3px 7.5px; font-size: 12px; line-height: 18px; }
@media (max-width: 991px) { .ox-ft-nav { height: 18px; margin: 7px 0; } } /* 아임웹: 991px 이하 */
.ox .ox-footer__links a, .ox .ox-footer__links a:hover { color: #f0f1ef; text-decoration: none; } /* 아임웹: 마우스 올려도 변화 없음(실측) */

/* 약관 팝업 */
.ox-dialog { position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.ox-dialog[hidden] { display: none; }
.ox-dialog__box { background: #fff; color: #222; width: min(760px, 100%); max-height: 86vh; display: flex; flex-direction: column; border-radius: 6px; overflow: hidden; }
.ox-dialog__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid #e5e5e5; }
.ox-dialog__head h4 { margin: 0; font-size: 18px; font-weight: 700; }
.ox-dialog__close { border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: #333; padding: 0 4px; }
.ox-dialog__body { padding: 20px 22px 28px; overflow: auto; font-size: 14px; line-height: 1.7; word-break: keep-all; }
body.ox-noscroll { overflow: hidden; }

/* 약관 단독 페이지 */
.ox-doc { background: #fff; color: #222; padding: 56px 16px 72px; }
.ox-doc__in { max-width: 760px; margin: 0 auto; font-size: 15px; line-height: 1.75; word-break: keep-all; }
.ox-doc h1 { font-size: 26px; margin: 0 0 24px; }

/* 404 */
.ox-404 { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #f0f1ef; text-align: center; padding: 80px 16px; }
.ox-404 h1 { font-size: 28px; margin: 0 0 12px; }
.ox-404 a { color: #f26a3d; }

/* 아임웹 '모바일 숨김' 1px 구역 */
@media (max-width: 991px) { .ox-topline--tab { display: none; } } /* 소개·서비스: 991px 이하 숨김(실측 2026-11-27) */
@media (max-width: 1024px) { body.ox-hdr-fixed .ox-topline--tab { display: none; } } /* 소개: 1024px 이하 숨김 */
/* 아임웹 992~1024px(화면 0.85배 구간): 머리말 높이 88.35px, 소개 페이지는 투명 고정 머리말이라 본문이 13.25px 머리말 밑으로 올라감(실측 2026-11-27) */
@media (min-width: 992px) and (max-width: 1024px) { .ox-hd-pc { height: 88.35px; } body.ox-hdr-fixed #ox-main { margin-top: -12.42px; }
  /* 아임웹과 같게: 처음 스크롤하면 머리말이 고정되며 자리표시가 75.09px(줌 전 값)로 들어가 본문이 13.26px(화면 11.27px) 올라감 */
  body.ox-scrolled:not(.ox-hdr-fixed) #ox-main { margin-top: -13.26px; } }
/* 아임웹 모바일 기본값: 입력칸 글자 16px(iOS 확대 방지) */
@media (max-width: 767px) { input, textarea, select { font-size: 16px !important; } }

/* 아임웹 'PC 모드로 보기' 버튼 (휴대폰에서만, 실측 2026-11-26) */
.ox-pcmode { margin-top: 6px; padding: 15px 0 30px; text-align: center; }
.ox-pcmode[hidden] { display: none; }
.ox-footer:has(.ox-pcmode:not([hidden])) { padding-bottom: 20px; }
.ox .ox-pcmode__btn { border-radius: 2px; }
.ox-pcmode__btn { display: inline-block; padding: 10px 20px; border: 1px solid rgba(240,241,239,.2); border-radius: 2px; background: #0b0e0f; color: #f0f1ef; font-size: 12px; line-height: 17px; letter-spacing: 1px; cursor: pointer; }
#ox-main > .ox-pcmode { background: #0b0e0f; }
/* 휴대폰 꼬리말 줄간격 (아임웹 실측: 글 줄 15px, 26/80/98/141/183) */

/* 아임웹 꼬리말 링크 묶음 뒤 보이지 않는 공백(2.84px)과 같게 - 모바일·태블릿만 */
@media (max-width: 991px) { .ox .ox-footer__links { padding-right: 2.84px; } }
/* 아임웹 머리말 글자 위치(소수점 단위)와 같게 */
@media (min-width: 1025px) { .ox-brand__name { position: relative; left: -0.24px; top: 0.4px; } }
@media (min-width: 992px) and (max-width: 1024px) { .ox-brand__tag { transform: translate(0.43px, 0.48px); } .ox-nav a { position: relative; top: 0.44px; } }
