@charset "utf-8";
/* =========================================================
   MSI 공통 스타일 (2026 리뉴얼)
   - 기존 디자인(색상·배치) 유지 + 모바일 반응형
   - 기준폭: PC 1000px / 메뉴 1180px, 모바일 분기 1024px · 768px
   ========================================================= */

@font-face {
    font-family: 'Nanum Barun Gothic';
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/NanumBarunGothic.woff2') format('woff2');
}
@font-face {
    font-family: 'Nanum Barun Gothic';
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/NanumBarunGothicBold.woff2') format('woff2');
}

:root {
    --c-point: #ff4200;      /* 주황 포인트 (메뉴 hover, 강조) */
    --c-point2: #ff4513;     /* 하단 경고문 */
    --c-navy: #162d44;       /* 메인 특징 영역 */
    --c-navy2: #1d2f4d;
    --c-blue: #47a1e7;       /* 전화번호 등 파랑 강조 */
    --c-cream: #fbfada;      /* 상단 바탕 */
    --c-line: #c9c9c9;
    --c-gray: #737a84;       /* 하단 링크 영역 */
    --c-text: #444;
    --c-dark: #1b1b1b;
    --w-inner: 1000px;
    --w-gnb: 1180px;
    --header-h: 169px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body { margin: 0; color: var(--c-text); font-family: 'Nanum Barun Gothic', 'NanumBarunGothic', 'Malgun Gothic', '맑은 고딕', 'Apple SD Gothic Neo', sans-serif; font-size: 15px; line-height: 1.6; background: #fff; word-break: keep-all; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { max-width: 100%; height: auto; vertical-align: top; border: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: #000; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: normal; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }
.blind { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inner { width: 100%; max-width: var(--w-inner); margin: 0 auto; }
:focus-visible { outline: 2px solid var(--c-point); outline-offset: 2px; }

.skip { position: absolute; left: 0; top: -100px; z-index: 10000; padding: 12px 20px; background: navy; color: #fff; }
.skip:focus { top: 0; color: #fff; }

/* =========================================================
   Header
   ========================================================= */
#header { position: sticky; top: 0; z-index: 900; background: #fff; }
.header-top { background: var(--c-cream); border-bottom: 1px solid var(--c-line); }
.header-top-inner { display: flex; align-items: stretch; height: 115px; }
.brand { display: flex; align-items: center; gap: 26px; flex: 1; border-right: 1px solid var(--c-line); }
.logo img { width: 64px; height: auto; }
.brand-info { color: var(--c-dark); letter-spacing: -0.03em; }
.brand-name { font-size: 26px; line-height: 1.35; letter-spacing: -0.05em; }
.brand-name small { font-size: 15px; color: #444; margin-left: 4px; }
.brand-reg { font-size: 20px; line-height: 1.5; letter-spacing: -0.05em; white-space: nowrap; }
.brand-tel { margin-left: 4px; }
.brand-tel a { color: var(--c-point); font-weight: 700; font-size: 25px; letter-spacing: -0.03em; }
.header-notice { width: 334px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding-left: 14px; }
.header-notice img { width: 304px; }
.btn-guard { display: inline-block; padding: 1px 10px; background: #1d2f4d; color: #fff !important; font-size: 12px; line-height: 18px; }
.btn-guard:hover { background: var(--c-point); }
.m-call, .m-menu-btn, .m-gnb-notice { display: none; }

/* GNB */
#gnb { border-bottom: 1px solid var(--c-line); background: #fff; }
.gnb-list { display: flex; max-width: var(--w-gnb); margin: 0 auto; border-left: 1px solid var(--c-line); border-right: 1px solid var(--c-line); }
.gnb-list > li { flex: 1 1 0; border-left: 1px solid var(--c-line); text-align: center; }
.gnb-list > li:first-child { border-left: 0; }
.gnb-list > li > a,
.gnb-list > li > button { display: block; width: 100%; height: 52px; line-height: 52px; font-size: 14px; color: var(--c-dark); letter-spacing: -0.04em; white-space: nowrap; border-bottom: 3px solid transparent; }
.gnb-list > li > a:hover,
.gnb-list > li > button:hover,
.gnb-list > li.on > a,
.gnb-list > li.on > button { color: var(--c-point); }
.gnb-list > li > a:hover,
.gnb-list > li.on > a { border-bottom-color: var(--c-point); }
.gnb-list > li > button { line-height: 49px; }

/* 하위메뉴: 메뉴 바로 아래 가로 한 줄 */
.gnb-sub { display: none; position: absolute; left: 0; right: 0; background: #fff; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); box-shadow: 0 6px 12px rgba(0,0,0,.06); }
.gnb-sub ul { display: flex; max-width: var(--w-gnb); }
.gnb-sub li { flex: 1 1 0; border-left: 1px solid var(--c-line); }
.gnb-sub li:last-child { border-right: 1px solid var(--c-line); }
.gnb-sub a { display: flex; align-items: center; justify-content: center; height: 52px; padding: 0 8px; font-size: 13px; line-height: 1.3; color: var(--c-dark); letter-spacing: -0.04em; border-bottom: 3px solid transparent; }
.gnb-sub a:hover, .gnb-sub li.on a { color: var(--c-point); border-bottom-color: var(--c-point); }
.has-sub:hover .gnb-sub, .has-sub:focus-within .gnb-sub, .has-sub.open .gnb-sub { display: block; }
.gnb-dim { display: none; }

/* =========================================================
   Main
   ========================================================= */
.main-hero { position: relative; height: 600px; background: #f4f4f4 url('../img/main_hero.jpg') no-repeat 50% 50%; display: flex; align-items: center; }
.main-hero .inner { padding-top: 40px; color: #222; }
.hero-catch { font-size: 24px; letter-spacing: -0.04em; }
.hero-catch em, .hero-desc em { color: var(--c-point); font-weight: 700; }
.hero-title { display: flex; align-items: center; gap: 14px; margin: 10px 0 14px 20px; font-size: 46px; font-weight: 400; line-height: 1; letter-spacing: -0.02em; color: #222; }
.hero-title::after { content: ''; width: 106px; height: 1px; background: #444; }
.hero-desc { font-size: 24px; line-height: 1.45; letter-spacing: -0.04em; }
.hero-desc em { font-weight: 400; }

.main-feature { background: var(--c-navy); color: #fff; }
.main-feature ul { display: flex; padding: 16px 0; }
.main-feature li { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 208px; padding: 18px 10px; text-align: center; background-image: radial-gradient(circle, #8a96a6 1px, transparent 1.6px); background-size: 3px 8px; background-repeat: repeat-y; background-position: 0 0; }
.main-feature li:first-child { background: none; }
.ft-head { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 18px; }
.ft-head img { width: auto; height: 100px; }
.ft-head strong { color: var(--c-point); font-size: 32px; font-style: italic; font-weight: 700; letter-spacing: -0.05em; }
.main-feature p { font-size: 18px; line-height: 1.5; letter-spacing: -0.04em; }
.main-feature p em, .em-tel { color: var(--c-blue); }
.em-tel { font-size: 1.5em; vertical-align: -0.08em; }

/* =========================================================
   Footer
   ========================================================= */
.ft-util { background: var(--c-gray); padding: 36px 16px 22px; }
.ft-links ul { display: flex; flex-wrap: wrap; justify-content: center; margin-bottom: 14px; }
.ft-links li { position: relative; padding: 0 24px; }
.ft-links li + li::before { content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 14px; margin-top: -7px; background: rgba(255,255,255,.75); }
.ft-links a { color: #fff; font-size: 16px; letter-spacing: -0.03em; }
.ft-links a:hover { color: var(--c-point); }
.ft-banner { display: flex; justify-content: center; gap: 50px; padding-top: 12px; }
.ft-banner a { width: 200px; }
.ft-banner img { width: 100%; }

.ft-info { background: #000; color: #e1e1e1; text-align: center; padding: 34px 16px 30px; font-size: 21px; line-height: 1.55; letter-spacing: -0.02em; }
.ft-row { display: flex; flex-wrap: wrap; justify-content: center; margin-bottom: 10px; }
.ft-row > div { display: flex; position: relative; padding: 0 14px; }
.ft-row > div + div::before { content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 0.95em; margin-top: -0.48em; background: #e1e1e1; }
.ft-row dt::after { content: ' :'; white-space: pre; }
.ft-row dt:first-child + dd { padding-left: 6px; }
.ft-tel { color: var(--c-blue); }
.ft-info .ft-gap { margin-top: 16px; }
.ft-warn { color: var(--c-point2); }

/* =========================================================
   Main popups
   ========================================================= */
.main-popups { position: fixed; top: calc(var(--header-h) + 12px); left: 0; right: 0; z-index: 950; display: flex; justify-content: center; align-items: flex-start; gap: 16px; padding: 0 16px; pointer-events: none; }
.mpop { position: relative; flex: 0 1 auto; pointer-events: auto; background: #fff; border: 1px solid #ccc; border-radius: 8px; overflow: hidden; box-shadow: 0 0 12px rgba(0,0,0,.3); max-width: calc((100vw - 48px) / 2); }
.mpop:only-child, .mpop:has(+ .mpop[hidden]), .mpop[hidden] + .mpop { max-width: calc(100vw - 32px); }
.mpop[hidden] { display: none; }
.mpop.video { border: 0; border-radius: 0; }
.mpop-body { max-height: calc(100vh - var(--header-h) - 90px); overflow: auto; }
.mpop-body img { display: block; width: 100%; }
.mpop-audio { display: flex; justify-content: center; align-items: center; height: 80px; background: #eee; }
.mpop-audio audio { width: 90%; }
.mpop-close { position: absolute; top: 6px; right: 6px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 18px; line-height: 32px; text-align: center; }
.mpop-close:hover { background: var(--c-point); }
.mpop-progress { height: 4px; background: #ddd; }
.mpop-progress span { display: block; height: 100%; width: 0; background: #4caf50; }
.mpop-foot { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; font-size: 13px; background: #f5f5f5; border-top: 1px solid #ddd; }
.mpop-foot label { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.mpop-dots { display: flex; gap: 6px; }
.mpop-dots button { width: 8px; height: 8px; border-radius: 50%; background: #bbb; }
.mpop-dots button.on { background: var(--c-point); }

/* =========================================================
   Tablet (≤1180) : 메뉴 폭 맞춤
   ========================================================= */
@media (max-width: 1180px) {
    .gnb-list > li > a, .gnb-list > li > button { font-size: 13px; letter-spacing: -0.07em; }
}

/* =========================================================
   Mobile / Tablet (≤1024) : 햄버거 메뉴
   ========================================================= */
@media (max-width: 1024px) {
    :root { --header-h: 64px; }
    body { font-size: 15px; }
    .inner { padding-left: 16px; padding-right: 16px; }

    .header-top-inner { height: 64px; align-items: center; gap: 10px; }
    .brand { border-right: 0; gap: 12px; min-width: 0; }
    .logo img { width: 46px; }
    .brand-info { min-width: 0; }
    .brand-name { font-size: 15px; font-weight: 700; margin: 0; padding: 0; white-space: nowrap; }
    .brand-name small { display: none; }
    .brand-reg { font-size: 11px; color: #555; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .brand-tel { display: none; }
    .header-notice { display: none; }
    .m-call { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--c-point); }
    .m-call svg { width: 20px; height: 20px; fill: #fff; }
    .m-menu-btn { display: flex; flex-direction: column; justify-content: center; gap: 5px; flex: none; width: 40px; height: 40px; padding: 0 9px; }
    .m-menu-btn span { display: block; height: 2px; background: #222; transition: transform .2s, opacity .2s; }
    .menu-open .m-menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-open .m-menu-btn span:nth-child(2) { opacity: 0; }
    .menu-open .m-menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    #gnb { position: fixed; top: var(--header-h); right: 0; bottom: 0; width: min(320px, 86vw); overflow-y: auto; border-left: 1px solid var(--c-line); transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; z-index: 901; }
    .menu-open #gnb { transform: none; visibility: visible; }
    .gnb-dim { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: rgba(0,0,0,.4); z-index: 899; }
    .gnb-dim[hidden] { display: none; }
    .menu-open { overflow: hidden; }

    .gnb-list { display: block; border: 0; }
    .gnb-list > li { border: 0; border-bottom: 1px solid #e5e5e5; text-align: left; }
    .gnb-list > li > a, .gnb-list > li > button { height: auto; line-height: 1.4; padding: 15px 20px; font-size: 16px; letter-spacing: -0.03em; border-bottom: 0; text-align: left; white-space: normal; }
    .gnb-list > li.on > a { border-left: 4px solid var(--c-point); padding-left: 16px; }
    .has-sub > button { position: relative; }
    .has-sub > button::after { content: ''; position: absolute; right: 22px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid #888; border-bottom: 2px solid #888; transform: rotate(45deg); transition: transform .2s; }
    .has-sub.open > button::after { transform: rotate(-135deg); margin-top: -2px; }
    .gnb-sub { position: static; box-shadow: none; border: 0; background: #f7f7f7; }
    .has-sub:hover .gnb-sub, .has-sub:focus-within .gnb-sub { display: none; }
    .has-sub.open .gnb-sub { display: block; }
    .gnb-sub ul { display: block; padding: 4px 0; }
    .gnb-sub li, .gnb-sub li:last-child { border: 0; }
    .gnb-sub a { display: block; height: auto; padding: 10px 20px 10px 32px; font-size: 14px; text-align: left; border: 0; }
    .m-gnb-notice { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 16px; }
    .m-gnb-notice img { width: 260px; }

    /* main */
    .main-hero { height: auto; min-height: 340px; background-size: cover; background-position: 62% 50%; align-items: flex-end; }
    .main-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.7) 55%, rgba(255,255,255,0) 100%); }
    .main-hero .inner { position: relative; padding-top: 40px; padding-bottom: 40px; }
    .hero-catch { font-size: 18px; }
    .hero-title { font-size: 36px; margin: 8px 0 10px 12px; }
    .hero-title::after { width: 70px; }
    .hero-desc { font-size: 17px; }

    .main-feature ul { flex-direction: column; padding: 8px 16px; }
    .main-feature li { flex: none; flex-direction: row; justify-content: flex-start; gap: 16px; min-height: 0; padding: 18px 4px; text-align: left; background: none; border-top: 1px dotted #6c7a8c; }
    .main-feature li:first-child { border-top: 0; }
    .ft-head { flex-direction: column; gap: 4px; margin: 0; flex: none; width: 96px; }
    .ft-head img { height: 58px; }
    .ft-head strong { font-size: 19px; }
    .main-feature p { font-size: 15px; }
    .main-feature p br { display: none; }
    .em-tel { font-size: 1.25em; }

    /* footer */
    .ft-util { padding: 24px 0 20px; }
    .ft-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
    .ft-links ul { display: contents; }
    .ft-links li { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
    .ft-links li + li::before { display: none; }
    .ft-links a { font-size: 13px; line-height: 1.4; display: block; }
    .ft-banner { flex-wrap: wrap; gap: 10px; padding-top: 18px; }
    .ft-banner a { width: calc(50% - 5px); max-width: 200px; }

    .ft-info { font-size: 13px; padding: 24px 0; line-height: 1.7; }
    .ft-row { margin-bottom: 2px; }
    .ft-row > div { padding: 0 8px; }
    .ft-info .ft-gap { margin-top: 10px; }

    /* popups: 모바일은 한 번에 하나씩 (popup.js) */
    .mpop { max-width: calc(100vw - 32px); }
}

@media (max-width: 480px) {
    .brand-reg { font-size: 10.5px; }
    .ft-row { flex-direction: column; }
    .ft-row > div { justify-content: center; }
    .ft-row > div + div::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =========================================================
   Sub pages (공통)
   ========================================================= */
.sub-top { height: 147px; display: flex; align-items: center; background: #eee url('../img/sub_top.jpg') no-repeat 50% 50%; border-bottom: 1px solid #ddd; }
.sub-top h2 { font-size: 35px; line-height: 1.2; color: #1a1a1a; letter-spacing: -0.04em; }
.sub-top p { margin-top: 10px; font-size: 16px; color: #000; }
.contents { padding-top: 50px; padding-bottom: 80px; }
.sec-title { margin: 50px 0 16px; font-size: 26px; color: #222; letter-spacing: -0.04em; }
.sec-title:first-child { margin-top: 0; }
.txt { font-size: 15px; line-height: 1.8; color: #444; }
.txt + .txt { margin-top: 10px; }
.c-point { color: var(--c-point); }
.c-blue { color: #1f6fc0; }
.mgt40 { margin-top: 40px; }

/* 상단 사진 + 남색 문구 배너 */
.sub-hero { display: flex; min-height: 325px; background: var(--c-navy2); margin-bottom: 50px; }
.sub-hero-img { flex: 0 0 43%; background: url('../img/sub01_photo.jpg') no-repeat 50% 50% / cover; }
.sub-hero-txt { flex: 1; display: flex; align-items: center; padding: 30px 34px; color: #fff; font-size: 27px; font-weight: 700; line-height: 1.45; letter-spacing: -0.05em; }
.sub-hero-txt em { color: var(--c-point); }

/* 상품 안내 (pill + 내용) */
.info-list dl { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.info-list dt { flex: none; min-width: 58px; padding: 2px 16px; border-radius: 20px; background: var(--c-navy2); color: #fff; font-size: 14px; text-align: center; white-space: nowrap; }
.info-list dd { padding-top: 2px; font-size: 15px; color: #444; }

/* 표 */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 10px; }
.tbl { border-top: 2px solid #323232; font-size: 15px; text-align: center; }
.tbl th, .tbl td { padding: 13px 10px; border-bottom: 1px solid #d5d5d5; border-left: 1px solid #e3e3e3; }
.tbl th:first-child, .tbl td:first-child { border-left: 0; }
.tbl thead th { background: #f6f6f6; color: #222; font-weight: 700; }
.tbl thead tr + tr th:first-child { border-left: 1px solid #e3e3e3; }
.tbl td.num { text-align: right; padding-right: 18px; font-variant-numeric: tabular-nums; }
.tbl tbody th { background: #fafafa; font-weight: 400; }
.tbl-note { font-size: 13px; color: #777; }
.scroll-hint { display: none; font-size: 12px; color: #888; margin-bottom: 6px; }

/* 대출 절차 STEP */
.steps { display: flex; gap: 0; margin: 0 0 50px; padding: 44px 24px; background: linear-gradient(135deg, #eef0f3, #f8f8f8); }
.steps li { position: relative; flex: 1 1 0; padding: 32px 18px 30px; text-align: center; background: #fff; }
.steps li:nth-child(odd) { background: var(--c-navy2); color: #fff; }
.steps li + li::before { content: '›'; position: absolute; left: -20px; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: var(--c-point); color: #fff; font-size: 28px; line-height: 36px; z-index: 1; }
.steps .no { display: block; color: var(--c-point); font-size: 20px; font-weight: 700; }
.steps strong { display: block; font-size: 20px; padding-bottom: 14px; margin: 4px auto 14px; max-width: 120px; border-bottom: 2px solid #999; }
.steps p { font-size: 14px; line-height: 1.7; }

/* 회사소개 */
.greeting h3 { font-size: 34px; color: #222; letter-spacing: -0.04em; margin-bottom: 26px; }
.greeting h3 span, .greeting .em { color: var(--c-point); }
.greeting p { font-size: 16px; line-height: 1.9; margin-bottom: 18px; }
.greeting .lead { font-size: 20px; color: #222; }
.greeting .sign { display: flex; justify-content: flex-end; align-items: baseline; gap: 18px; margin: 30px 0 50px; font-size: 16px; }
.greeting .sign dd { font-size: 26px; color: #111; letter-spacing: 0.4em; }
.slogan { padding: 20px; background: var(--c-navy2); color: #fff; text-align: center; font-size: 24px; font-weight: 700; letter-spacing: -0.04em; }
.main-feature.boxed ul { padding: 16px 20px; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 18px; border: 1px solid #bbb; background: #fff; font-size: 14px; color: #333; }
.btn:hover { border-color: #333; color: #000; }
.btn-dark { background: #333; border-color: #333; color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-down::before { content: ''; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 3h2v10l4-4 1.4 1.4L12 16.8 5.6 10.4 7 9l4 4V3zM4 19h16v2H4z'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 3h2v10l4-4 1.4 1.4L12 16.8 5.6 10.4 7 9l4 4V3zM4 19h16v2H4z'/%3E%3C/svg%3E") no-repeat center / contain; }

/* 첨부파일 목록 */
.files { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 16px 20px; margin-top: 30px; background: #f7f7f7; border: 1px solid #e3e3e3; }
.files > strong { font-size: 14px; color: #222; margin-right: 6px; }
.files a { color: #1f3c9c; font-size: 14px; }
.files a:hover { text-decoration: underline; }

/* 게시판 목록 */
.board-list .tbl td.subject { text-align: left; }
.board-list .tbl td.subject a:hover { color: var(--c-point); text-decoration: underline; }
.board-list .col-no { width: 90px; } .board-list .col-date { width: 140px; } .board-list .col-writer { width: 130px; }
.board-empty { padding: 60px 0 !important; color: #888; }
.paging { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin-top: 30px; }
.paging a, .paging strong { min-width: 34px; height: 34px; padding: 0 6px; border: 1px solid #ddd; font-size: 14px; line-height: 32px; text-align: center; color: #555; }
.paging strong { background: #333; border-color: #333; color: #fff; }
.paging a:hover { border-color: #333; color: #000; }
.paging .disabled { opacity: .35; pointer-events: none; }

/* 게시판 보기 */
.board-view { border-top: 2px solid #323232; }
.bv-head { padding: 22px 20px; border-bottom: 1px solid #d5d5d5; }
.bv-head h3 { font-size: 20px; color: #222; line-height: 1.5; }
.bv-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px; font-size: 14px; color: #777; }
.bv-file { padding: 12px 20px; border-bottom: 1px solid #e3e3e3; background: #fafafa; font-size: 14px; }
.bv-file a { color: #1f3c9c; }
.bv-body { padding: 30px 20px 40px; font-size: 15px; line-height: 1.9; border-bottom: 1px solid #d5d5d5; overflow-wrap: anywhere; }
.bv-body img { max-width: 100%; }
.bv-nav { border-bottom: 1px solid #d5d5d5; }
.bv-nav li { display: flex; gap: 20px; padding: 13px 20px; font-size: 14px; }
.bv-nav li + li { border-top: 1px solid #eee; }
.bv-nav span { flex: none; width: 60px; color: #888; }
.bv-nav a:hover { color: var(--c-point); }
.bv-btns { text-align: right; margin-top: 20px; }

/* FAQ */
.faq { border-top: 2px solid #323232; }
.faq li { border-bottom: 1px solid #d5d5d5; }
.faq-q { position: relative; display: flex; align-items: flex-start; gap: 14px; width: 100%; padding: 18px 50px 18px 20px; text-align: left; font-size: 16px; color: #222; }
.faq-q::before, .faq-a::before { flex: none; width: 28px; height: 28px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 14px; line-height: 28px; text-align: center; }
.faq-q::before { content: 'Q'; background: var(--c-navy2); }
.faq-q::after { content: ''; position: absolute; right: 24px; top: 26px; width: 9px; height: 9px; border-right: 2px solid #888; border-bottom: 2px solid #888; transform: rotate(45deg); transition: transform .2s; }
.faq-q[aria-expanded="true"] { color: var(--c-point); }
.faq-q[aria-expanded="true"]::after { transform: rotate(-135deg); top: 30px; }
.faq-q span { padding-top: 2px; }
.faq-a { display: flex; gap: 14px; padding: 20px 20px 24px; background: #f8f8f8; border-top: 1px solid #e8e8e8; font-size: 15px; line-height: 1.8; }
.faq-a::before { content: 'A'; background: var(--c-point); }
.faq-a[hidden] { display: none; }

/* 조회 */
.search-box { display: flex; justify-content: center; gap: 8px; padding: 26px 20px; margin-bottom: 30px; background: #f5f5f5; border: 1px solid #e3e3e3; }
.search-box input { width: 260px; max-width: 100%; height: 44px; padding: 0 14px; border: 1px solid #aaa; font: inherit; font-size: 15px; }
.search-box .btn { height: 44px; }
.result-msg { padding: 40px 0 !important; color: #888; }

/* 안내문 박스 (개인신용정보·채무조정) */
.doc-box { border: 1px solid #333; padding: 26px 30px 30px; }
.doc-box-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px dashed #888; }
.doc-box-head h3 { font-size: 18px; color: #222; }
.doc-text { font-size: 14px; line-height: 1.95; color: #444; white-space: pre-line; overflow-wrap: anywhere; }
.doc-sec { margin-top: 28px; }
.doc-sec h4 { font-size: 16px; color: #222; margin-bottom: 10px; }
.doc-sec ul li { position: relative; padding-left: 12px; font-size: 14px; line-height: 1.8; }
.doc-sec ul li::before { content: '-'; position: absolute; left: 0; }
.person-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.person-tabs a { padding: 8px 14px; border: 1px solid #ccc; font-size: 13px; color: #444; background: #fff; }
.person-tabs a:hover { border-color: #333; color: #000; }
.person-tabs a.on { background: var(--c-navy2); border-color: var(--c-navy2); color: #fff; }

/* 채무조정 표/절차 */
.proc { display: flex; gap: 10px; margin: 6px 0 4px; }
.proc li { flex: 1 1 0; padding: 14px 10px; background: #f3f5f8; border-top: 3px solid var(--c-navy2); font-size: 13px; line-height: 1.6; text-align: center; }
.proc li strong { display: block; font-size: 15px; color: var(--c-navy2); margin-bottom: 6px; }

@media (max-width: 1024px) {
    .sub-top { height: 100px; background-size: auto 100%; }
    .sub-top h2 { font-size: 24px; }
    .sub-top p { margin-top: 4px; font-size: 14px; }
    .contents { padding-top: 28px; padding-bottom: 50px; }
    .sec-title { font-size: 20px; margin: 36px 0 12px; }
    .sub-hero { flex-direction: column; min-height: 0; margin-bottom: 30px; }
    .sub-hero-img { flex: none; height: 180px; }
    .sub-hero-txt { font-size: 19px; padding: 22px 20px; }
    .info-list dl { flex-direction: column; gap: 4px; margin-bottom: 14px; }
    .tbl { font-size: 13px; }
    .tbl th, .tbl td { padding: 10px 6px; }
    .tbl-wide { min-width: 680px; }
    .scroll-hint { display: block; }
    .steps { flex-direction: column; gap: 22px; padding: 22px 16px; }
    .steps li { padding: 22px 16px; }
    .steps li + li::before { content: '›'; left: 50%; top: -31px; margin: 0 0 0 -20px; transform: rotate(90deg); }
    .greeting h3 { font-size: 24px; }
    .greeting p { font-size: 15px; }
    .greeting p br { display: none; }
    .greeting .lead { font-size: 17px; }
    .slogan { font-size: 17px; }
    .board-list .col-writer, .board-list .writer, .board-list .col-no, .board-list .no { display: none; }
    .board-list .col-date { width: 92px; }
    .board-list td:nth-child(3) { white-space: nowrap; font-size: 12px; }
    .bv-head { padding: 18px 12px; } .bv-head h3 { font-size: 17px; }
    .bv-body { padding: 22px 12px 30px; font-size: 14px; }
    .bv-nav li { gap: 10px; padding: 12px; }
    .faq-q { padding: 15px 40px 15px 10px; font-size: 15px; gap: 10px; }
    .faq-q::after { right: 16px; top: 23px; }
    .faq-a { padding: 16px 12px 18px; font-size: 14px; gap: 10px; }
    .search-box { padding: 18px 12px; }
    .search-box input { flex: 1; width: auto; min-width: 0; }
    .doc-box { padding: 18px 14px 22px; }
    .doc-text { font-size: 13.5px; }
    .proc { flex-direction: column; }
}

/* 법정 고지 (팝업/단독 페이지) */
.guide-page { background: #f4f4f4; }
.guide-head { display: flex; align-items: center; gap: 14px; padding: 14px 24px; background: var(--c-cream); border-bottom: 1px solid var(--c-line); }
.guide-logo img { width: 52px; }
.guide-head span { font-size: 15px; color: #333; }
.guide-main { max-width: 860px; margin: 0 auto; padding: 26px 24px 40px; background: #fff; min-height: calc(100vh - 70px); }
.guide-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 2px solid #323232; }
.guide-title h1 { font-size: 22px; color: #222; letter-spacing: -0.04em; }
.guide-ver { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.guide-ver select { height: 36px; padding: 0 8px; border: 1px solid #aaa; font: inherit; font-size: 14px; max-width: 70vw; }
.guide-text { font-size: 14px; }
.guide-btns { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.guide-btns [hidden] { display: none; }
@media (max-width: 1024px) {
    .guide-head { padding: 10px 16px; }
    .guide-main { padding: 20px 16px 30px; }
    .guide-title h1 { font-size: 18px; }
}
