﻿@charset "utf-8";
/* ==========================================================================
   토마토스탁론 리뉴얼 공통 컴포넌트 (시안 3종 공통 구조)
   - 색/모서리/그림자 등은 theme.css 의 CSS 변수로 시안별로 바뀝니다.
   ========================================================================== */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); word-break: keep-all; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; border: 0; vertical-align: middle; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; border-spacing: 0; }
.blind, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.clear { clear: both; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---------- layout ---------- */
.lv-inner { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.lv-main { min-height: 60vh; }
.lv-section { padding: 56px 0; }
.lv-section--tight { padding: 32px 0; }
.lv-section--alt { background: var(--surface-2); }
.lv-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.lv-sec-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.3; }
.lv-sec-head p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.lv-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--primary); letter-spacing: 0.02em; margin-bottom: 6px; }

.lv-grid { display: grid; gap: 16px; }
.lv-grid > * { min-width: 0; }
.lv-grid--2 { grid-template-columns: repeat(2, 1fr); }
.lv-grid--3 { grid-template-columns: repeat(3, 1fr); }
.lv-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- top warning banner (기존 주의 문구) ---------- */
.lv-notice-bar { background: var(--notice-bg); color: var(--notice-text); font-size: 13px; line-height: 1.5; }
.lv-notice-bar .lv-inner { display: flex; gap: 12px; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.lv-notice-bar p { flex: 1; }
.lv-notice-bar strong { color: var(--notice-strong); font-weight: 700; }
.lv-notice-bar button { flex: none; background: none; border: 1px solid currentColor; border-radius: 999px; padding: 2px 10px; font-size: 12px; opacity: .8; }

/* ---------- header ---------- */
.lv-header { position: sticky; top: 0; z-index: 900; background: var(--header-bg); border-bottom: 1px solid var(--header-line); }
.lv-header .lv-inner { display: flex; align-items: center; height: var(--header-h); gap: 32px; }
.lv-logo { display: flex; align-items: center; gap: 10px; flex: none; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; color: var(--header-text); }
.lv-logo img { height: 22px; }
.lv-logo span { padding-left: 10px; border-left: 1px solid var(--header-line-strong); }
.lv-gnb { display: flex; gap: 4px; flex: 1; }
.lv-gnb > li { position: relative; }
.lv-gnb > li > a { display: block; padding: 10px 14px; font-weight: 600; font-size: 16px; color: var(--header-text); border-radius: 10px; }
.lv-gnb > li > a:hover, .lv-gnb > li.is-on > a { color: var(--primary); }
.lv-gnb .lv-sub { position: absolute; left: 0; top: 100%; min-width: 180px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 8px; display: none; }
.lv-gnb > li:hover .lv-sub, .lv-gnb > li:focus-within .lv-sub { display: block; }
.lv-gnb .lv-sub a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 15px; color: var(--text); }
.lv-gnb .lv-sub a:hover { background: var(--surface-2); color: var(--primary); }
.lv-util { display: flex; align-items: center; gap: 10px; flex: none; }
.lv-tel { font-weight: 800; font-size: 18px; color: var(--header-text); letter-spacing: -0.02em; display: flex; align-items: center; gap: 6px; }
.lv-tel svg { width: 18px; height: 18px; }
.lv-menu-btn { display: none; width: 40px; height: 40px; border: 0; background: none; padding: 8px; color: var(--header-text); }
.lv-menu-btn svg { width: 24px; height: 24px; }

/* mobile drawer */
.lv-drawer { position: fixed; inset: 0; z-index: 1000; display: none; }
.lv-drawer.is-open { display: block; }
.lv-drawer__dim { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.lv-drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(86vw, 360px); background: var(--surface); padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; }
.lv-drawer__head { display: flex; justify-content: space-between; align-items: center; }
.lv-drawer__close { border: 0; background: none; font-size: 28px; line-height: 1; width: 40px; height: 40px; }
.lv-drawer nav > ul > li { border-bottom: 1px solid var(--line); padding: 12px 0; }
.lv-drawer nav > ul > li > a { font-weight: 700; font-size: 17px; display: block; }
.lv-drawer nav .lv-sub { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
.lv-drawer nav .lv-sub a { font-size: 14px; color: var(--muted); }

/* ---------- buttons / form ---------- */
.lv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 48px; padding: 0 22px; border-radius: var(--radius-btn); border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-weight: 700; font-size: 15px; white-space: nowrap; transition: background .15s, color .15s, transform .15s; }
.lv-btn:hover { background: var(--surface-2); }
.lv-btn--primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.lv-btn--primary:hover { background: var(--primary-strong); }
.lv-btn--dark { background: var(--text); border-color: var(--text); color: var(--surface); }
.lv-btn--ghost { background: transparent; }
.lv-btn--sm { height: 36px; padding: 0 14px; font-size: 14px; }
.lv-btn--block { display: flex; width: 100%; }
.lv-input, .lv-select, .lv-textarea,
.s_content input[type=text], .s_content select, .s_content textarea { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-input); background: var(--surface); font-size: 15px; }
.lv-textarea, .s_content textarea { height: auto; min-height: 120px; padding: 12px 14px; }
.lv-input:focus, .lv-select:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px var(--primary-weak); }

/* ---------- cards ---------- */
.lv-card { background: var(--surface); border: 1px solid var(--card-line); border-radius: var(--radius); padding: 24px; box-shadow: var(--card-shadow); }
.lv-card h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.lv-card p { color: var(--muted); font-size: 15px; }
.lv-card--link { display: block; transition: transform .15s, box-shadow .15s; }
.lv-card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.lv-icon { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--primary-weak); color: var(--primary); margin-bottom: 14px; }
.lv-icon svg { width: 26px; height: 26px; }

/* ---------- hero (메인) ---------- */
.lv-hero { padding: 28px 0 8px; }
.lv-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: stretch; }
.lv-slider { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); aspect-ratio: 16 / 5; }
.lv-slider__fallback { justify-content: flex-start !important; padding: 0 48px; background: var(--slider-fallback, linear-gradient(120deg, #fff1ef, #ffe3df)) !important; }
.lv-slider__fallback h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; margin-bottom: 10px; }
.lv-slider__fallback p { color: var(--text-2); }
.lv-slider__item > a { display: block; width: 100%; height: 100%; }
.lv-slider__track { position: relative; height: 100%; }
.lv-hero__left { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.lv-quicklinks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; flex: 1; }
.lv-quicklinks a { background: var(--surface-2); border-radius: var(--radius-sm); padding: 16px 18px; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; min-height: 0; transition: background .15s, transform .15s; }
.lv-quicklinks a:hover { transform: translateY(-2px); }
.lv-quicklinks b { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.lv-quicklinks small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.lv-quicklinks svg { width: 28px; height: 28px; color: var(--primary); align-self: center; flex: none; }
.lv-slider__item { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--surface-2); opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.lv-slider__item.is-on, .lv-slider__item:only-child { opacity: 1; visibility: visible; z-index: 1; transition: opacity .6s ease; }
.lv-slider__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lv-slider__ctrl { position: absolute; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 2px; background: rgba(0,0,0,.38); color: #fff; border-radius: 999px; padding: 2px 4px; font-size: 11px; opacity: .85; transition: opacity .15s; }
.lv-slider:hover .lv-slider__ctrl { opacity: 1; }
.lv-slider__ctrl button { width: 22px; height: 22px; border: 0; background: none; color: #fff; font-size: 11px; }
.lv-slider__count b { font-weight: 800; }

/* ---------- quick consult (상담신청 카드) ---------- */
.lv-consult { background: var(--surface); border: 1px solid var(--card-line); border-radius: var(--radius); padding: 24px; box-shadow: var(--card-shadow); display: flex; flex-direction: column; gap: 12px; }
.lv-consult__title { display: flex; align-items: center; justify-content: space-between; }
.lv-consult__title h2 { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.lv-consult__title span { font-size: 12px; color: var(--primary); font-weight: 700; background: var(--primary-weak); border-radius: 999px; padding: 2px 10px; }
.lv-consult label.lv-lbl { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
.lv-consult .lv-phone { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 6px; align-items: center; }
.lv-consult .lv-agree { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.lv-consult .lv-agree a { text-decoration: underline; cursor: pointer; color: var(--text); }
.lv-consult .lv-agree label { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.lv-consult .lv-agree input { accent-color: var(--primary); width: 16px; height: 16px; }
.lv-consult input.lv-btn { cursor: pointer; }
.lv-consult__cs { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; display: flex; align-items: center; justify-content: space-between; }
.lv-consult__cs small { display: block; color: var(--muted); font-size: 13px; }
.lv-consult__cs strong { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.lv-consult__login { border-top: 1px dashed var(--line); padding-top: 12px; font-size: 13px; color: var(--muted); }
.lv-consult__login summary { cursor: pointer; font-weight: 600; color: var(--text); }
.lv-consult__login .lv-login-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; margin-top: 8px; }
.lv-consult__login .lv-login-row input { height: 40px; font-size: 14px; }
.lv-consult__login .lv-login-links { display: flex; gap: 12px; margin-top: 6px; }
.lv-consult__login .lv-login-links a { text-decoration: underline; }
.lv-consult__logged { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* 상담 모달 (서브페이지) */
.lv-modal { position: fixed; inset: 0; z-index: 1100; display: none; align-items: center; justify-content: center; padding: 16px; }
.lv-modal.is-open, .mw_login.open { display: flex; }
.lv-modal__dim, .mw_login > .bg { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.lv-modal__box { position: relative; width: 100%; max-width: 420px; max-height: 90vh; overflow-y: auto; }
.lv-modal__close { position: absolute; right: 12px; top: 12px; z-index: 2; width: 36px; height: 36px; border: 0; background: var(--surface-2); border-radius: 50%; font-size: 20px; line-height: 1; }

/* 기존 약관/완료 레이어 (.mw_login) 재사용 */
.mw_login { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; padding: 16px; }
.mw_login .g_login { position: relative; background: var(--surface); border-radius: var(--radius); width: 100%; max-width: 640px; max-height: 86vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow); }
.mw_login .lg_title { padding: 18px 56px 18px 22px; font-weight: 800; font-size: 17px; border-bottom: 1px solid var(--line); position: relative; }
.mw_login .lg_title span { color: var(--primary); }
.mw_login .lg_title .close { position: absolute; right: 14px; top: 12px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--surface-2); cursor: pointer; font-size: 14px; font-weight: 700; }
.mw_login .lg_content { padding: 18px 22px; overflow-y: auto; font-size: 14px; line-height: 1.7; color: var(--text-2); }
.mw_login .lg_content ul { list-style: none; padding-left: 8px; }
.mw_login .lg_txt { padding: 36px 22px; text-align: center; font-size: 17px; font-weight: 700; }

/* ---------- 증권사 칩 ---------- */
.lv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lv-chip { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--text-2); }
.lv-chip:hover { border-color: var(--primary); color: var(--primary); }
.lv-chip.is-on { background: var(--chip-on-bg); border-color: var(--chip-on-bg); color: var(--chip-on-text); }

/* ---------- 상품 비교표 ---------- */
.lv-table-wrap { width: 100%; overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); -webkit-overflow-scrolling: touch; }
.lv-table { width: 100%; min-width: 860px; font-size: 14px; text-align: center; }
.lv-table td .lv-btn--sm { height: 34px; padding: 0 14px; font-size: 13px; }
.lv-table th { background: var(--table-head-bg); color: var(--table-head-text); font-weight: 700; padding: 12px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; font-size: 13px; }
.lv-table thead tr + tr th { font-weight: 600; font-size: 12px; padding-top: 6px; }
.lv-table th a { color: inherit; display: inline-flex; align-items: center; gap: 2px; }
.lv-table th a::after { content: "↕"; font-size: 11px; opacity: .45; }
.lv-table th a.is-on { color: var(--primary); }
.lv-table th a.is-on::after { content: "↓"; opacity: 1; }
.lv-table td { padding: 14px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--text-2); }
.lv-table tbody tr:hover td { background: var(--row-hover); }
.lv-table tbody tr:last-child td { border-bottom: 0; }
.lv-table .lv-logo-cell img { display: block; margin: 2px auto; max-height: 26px; width: auto; }
.lv-table .lv-name { font-weight: 600; color: var(--text); }
.lv-table .lv-rate { font-size: 18px; font-weight: 800; color: var(--rate); }
.lv-table .is-reco { color: var(--text); font-weight: 700; }
.lv-table tr.is-reco-row td:first-child { box-shadow: inset 3px 0 0 var(--primary); }
.lv-empty { padding: 40px 0; text-align: center; color: var(--muted); }

/* 모바일 카드형 상품 리스트 */
.lv-pcards { display: none; }
.lv-pcard { background: var(--surface); border: 1px solid var(--card-line); border-radius: var(--radius-sm); padding: 18px; box-shadow: var(--card-shadow); }
.lv-pcard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.lv-pcard__logos img { display: block; max-height: 22px; width: auto; margin-bottom: 4px; }
.lv-pcard__name { font-weight: 700; font-size: 15px; margin-top: 6px; }
.lv-pcard__rate { text-align: right; }
.lv-pcard__rate small { display: block; font-size: 12px; color: var(--muted); }
.lv-pcard__rate b { font-size: 24px; font-weight: 800; color: var(--rate); letter-spacing: -0.02em; }
.lv-pcard dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; margin: 14px 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lv-pcard dt { font-size: 12px; color: var(--muted); }
.lv-pcard dd { font-size: 14px; font-weight: 600; }
.lv-disclaimer { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- 서브페이지 ---------- */
.lv-subhero { background: var(--subhero-bg); color: var(--subhero-text); padding: 44px 0 40px; }
.lv-subhero .lv-crumb { font-size: 13px; opacity: .75; margin-bottom: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.lv-subhero .lv-crumb a:hover { text-decoration: underline; }
.lv-subhero h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; }
.lv-subhero p { margin-top: 8px; opacity: .85; font-size: 16px; }
.lv-tabs { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 50; }
.lv-tabs ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; position: relative; }
.lv-tabs ul::-webkit-scrollbar { display: none; }
.lv-tabs a { display: block; padding: 16px 14px 14px; font-weight: 600; font-size: 15px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.lv-tabs a:hover { color: var(--text); }
.lv-tabs a.is-on { color: var(--text); border-bottom-color: var(--primary); }
.lv-sub-body { padding: 48px 0 72px; }
.lv-sub-body .lv-h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 18px; }
.lv-sub-body .lv-h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; margin: 32px 0 12px; }
.lv-prose { font-size: 16px; line-height: 1.8; color: var(--text-2); }
.lv-prose p + p { margin-top: 12px; }
.lv-prose ul { list-style: disc; padding-left: 20px; }
.lv-prose ol { list-style: decimal; padding-left: 20px; }
.lv-prose li + li { margin-top: 4px; }
.lv-prose strong, .lv-prose b { color: var(--text); }

/* 게시판 */
.lv-board { width: 100%; border-top: 2px solid var(--text); font-size: 15px; }
.lv-board th { padding: 14px 8px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--muted); font-size: 14px; }
.lv-board td { padding: 16px 8px; border-bottom: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 14px; }
.lv-board td.title { text-align: left; color: var(--text); font-size: 15px; }
.lv-board td.title a:hover { color: var(--primary); text-decoration: underline; }
.lv-board-search { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.lv-board-search table td { padding: 0 8px 0 0; font-size: 14px; }
.lv-board-search input[type=text] { width: 240px; height: 42px; }
.lv-board-search input[type=submit], .lv-board-search .submit { height: 42px; padding: 0 20px; border-radius: var(--radius-btn); border: 0; background: var(--text); color: var(--surface); font-weight: 700; cursor: pointer; }
.lv-pager { text-align: center; margin-top: 28px; font-size: 14px; }
.lv-pager a, .lv-pager span { display: inline-flex; min-width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 8px; margin: 0 2px; padding: 0 6px; }
.lv-pager a:hover { background: var(--surface-2); }
.lv-pager span, .lv-pager .current, .lv-pager b { background: var(--text); color: var(--surface); font-weight: 700; }
.lv-pager table { margin: 0 auto; }
.lv-view { border-top: 2px solid var(--text); }
.lv-view__head { padding: 22px 4px; border-bottom: 1px solid var(--line); }
.lv-view__head h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.lv-view__meta { display: flex; gap: 16px; color: var(--muted); font-size: 14px; margin-top: 8px; }
.lv-view__body { padding: 32px 4px; border-bottom: 1px solid var(--line); line-height: 1.8; overflow-x: auto; }
.lv-view__body img { height: auto; }
.lv-view__nav { border-bottom: 1px solid var(--line); }
.lv-view__nav div { display: flex; gap: 16px; padding: 14px 4px; border-top: 1px solid var(--line); font-size: 14px; }
.lv-view__nav div:first-child { border-top: 0; }
.lv-view__nav b { flex: none; width: 60px; color: var(--muted); font-weight: 600; }
.lv-view__nav a:hover { color: var(--primary); }
.lv-view__nav tr td { padding: 0; }
.lv-view__btns { display: flex; justify-content: flex-end; margin-top: 20px; }

/* FAQ */
.lv-faq { border-top: 2px solid var(--text); }
.lv-faq details { border-bottom: 1px solid var(--line); }
.lv-faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 4px; font-weight: 700; font-size: 16px; position: relative; display: flex; gap: 12px; }
.lv-faq summary::-webkit-details-marker { display: none; }
.lv-faq summary::before { content: "Q"; color: var(--primary); font-weight: 800; flex: none; }
.lv-faq summary::after { content: ""; position: absolute; right: 12px; top: 26px; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.lv-faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.lv-faq .lv-faq__a { padding: 0 4px 22px 30px; color: var(--text-2); line-height: 1.8; }

/* 단계/타임라인 */
.lv-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: step; }
.lv-steps li { background: var(--surface); border: 1px solid var(--card-line); border-radius: var(--radius-sm); padding: 20px; position: relative; }
.lv-steps li::before { counter-increment: step; content: "STEP " counter(step, decimal-leading-zero); display: block; font-size: 12px; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.lv-steps b { display: block; font-size: 16px; margin-bottom: 4px; }
.lv-steps p { font-size: 14px; color: var(--muted); }
.lv-timeline { border-left: 2px solid var(--line); margin-left: 8px; }
.lv-timeline > li { position: relative; padding: 0 0 28px 28px; }
.lv-timeline > li::before { content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--primary); }
.lv-timeline .lv-year { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.lv-timeline dl { display: grid; grid-template-columns: 56px 1fr; gap: 6px 12px; font-size: 15px; }
.lv-timeline dt { color: var(--primary); font-weight: 700; }
.lv-timeline dd { color: var(--text-2); }

/* 정보 표 (회사개요 등) */
.lv-dl-table { width: 100%; border-top: 2px solid var(--text); font-size: 15px; }
.lv-dl-table th { width: 180px; text-align: left; padding: 16px 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-weight: 700; vertical-align: top; }
.lv-dl-table td { padding: 16px 12px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.lv-note { background: var(--surface-2); border-radius: var(--radius-sm); padding: 16px 18px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.lv-note strong { color: var(--text); }
.lv-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--primary-weak); color: var(--primary); }

/* ---------- CTA band ---------- */
.lv-cta { background: var(--cta-bg); color: var(--cta-text); border-radius: var(--radius); padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.lv-cta h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.lv-cta p { opacity: .85; margin-top: 4px; }
.lv-cta .lv-cta__tel { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }

/* ---------- footer ---------- */
.lv-footer { background: var(--footer-bg); color: var(--footer-text); font-size: 13px; padding: 36px 0 48px; margin-top: 0; }
.lv-footer__links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 20px; font-size: 14px; font-weight: 600; }
.lv-footer__links a { color: var(--footer-strong); }
.lv-footer__links a.is-strong { font-weight: 800; }
.lv-footer__info { line-height: 1.8; }
.lv-footer__info span + span::before { content: "|"; margin: 0 8px; opacity: .4; }
.lv-footer__warn { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--footer-line); line-height: 1.7; opacity: .85; }
.lv-footer__copy { margin-top: 12px; opacity: .7; }
.lv-footer__logo { font-weight: 800; font-size: 18px; color: var(--footer-strong); margin-bottom: 14px; display: block; letter-spacing: -0.02em; }

/* ---------- floating quick ---------- */
.lv-quick { position: fixed; right: 20px; bottom: 24px; z-index: 800; display: flex; flex-direction: column; gap: 10px; }
.lv-quick a, .lv-quick button { width: 56px; height: 56px; border-radius: 50%; border: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; font-size: 10px; font-weight: 700; box-shadow: 0 6px 18px rgba(0,0,0,.18); background: var(--surface); color: var(--text); }
.lv-quick .is-primary { background: var(--primary); color: var(--on-primary); }
.lv-quick svg { width: 22px; height: 22px; margin-bottom: 1px; }
.lv-quick .lv-top { opacity: 0; pointer-events: none; transition: opacity .2s; }
.lv-quick .lv-top.is-show { opacity: 1; pointer-events: auto; }
.lv-mbar { display: none; }

/* ---------- 상세검색 레이어(기존 컨트롤 재사용) ---------- */
#divpop2 { position: fixed !important; inset: 0 !important; left: 0 !important; top: 0 !important; width: auto !important; height: auto !important; z-index: 1150 !important; background: rgba(0,0,0,.5); align-items: center; justify-content: center; padding: 16px; }
#divpop2 > * { max-width: 100%; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .lv-gnb > li > a { padding: 10px 10px; font-size: 15px; }
  .lv-header .lv-inner { gap: 16px; }
}
@media (max-width: 1024px) {
  .lv-table-wrap.lv-has-cards { display: none; }
  .lv-pcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 960px) {
  :root { --header-h: 60px; }
  .lv-gnb, .lv-util .lv-hide-m { display: none; }
  .lv-menu-btn { display: inline-flex; }
  .lv-header .lv-inner { justify-content: space-between; }
  .lv-hero__grid { grid-template-columns: 1fr; }
  .lv-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .lv-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .lv-steps { grid-template-columns: repeat(2, 1fr); }
  .lv-quicklinks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .lv-inner { padding: 0 16px; }
  .lv-section { padding: 40px 0; }
  .lv-sec-head h2 { font-size: 22px; }
  .lv-grid--2, .lv-grid--3 { grid-template-columns: 1fr; }
  .lv-pcards { grid-template-columns: 1fr; }
  .lv-slider__ctrl { right: 10px; bottom: 8px; padding: 2px 4px; font-size: 11px; }
  .lv-slider__ctrl button { width: 20px; height: 20px; font-size: 11px; }
  .lv-quicklinks { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .lv-quicklinks a { min-height: 0; padding: 12px 4px; flex-direction: column-reverse; align-items: center; justify-content: center; gap: 6px; text-align: center; }
  .lv-quicklinks a svg { align-self: center; width: 24px; height: 24px; }
  .lv-quicklinks b { font-size: 12.5px; letter-spacing: -0.04em; }
  .lv-quicklinks small { display: none; }
  .lv-subhero { padding: 32px 0 28px; }
  .lv-slider { border-radius: var(--radius-sm); }
  .lv-slider__fallback { padding: 0 24px; }
  .lv-slider__fallback h2 { font-size: 22px; }
  .lv-slider__fallback p { font-size: 13px; }
  .lv-subhero h1 { font-size: 26px; }
  .lv-sub-body { padding: 32px 0 56px; }
  .lv-board colgroup, .lv-board thead { display: none; }
  .lv-board, .lv-board tbody { display: block; width: 100%; }
  .lv-board tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 14px 2px; border-bottom: 1px solid var(--line); }
  .lv-board td { display: block; border: 0; padding: 0; text-align: left; }
  .lv-board td.title { flex: 1 1 100%; font-size: 15px; }
  .lv-board td.hide-m, .lv-board td.frm { display: none; }
  .lv-board td.date, .lv-board td.hit { font-size: 12.5px; }
  .lv-board td.hit::before { content: "조회 "; }
  .lv-dl-table th { width: 100px; }
  .lv-cta { padding: 28px 22px; }
  .lv-cta .lv-cta__tel { font-size: 26px; }
  .lv-quick { right: 14px; bottom: 84px; }
  .lv-quick .lv-hide-m { display: none; }
  .lv-quick .is-primary { display: none; }
  .lv-consult .lv-agree { font-size: 12.5px; gap: 4px 10px; }
  .lv-mbar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 850; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
  .lv-mbar .lv-btn { height: 48px; }
  .lv-footer { padding-bottom: 96px; }
  .lv-board-search input[type=text] { width: 100%; }
  .lv-notice-bar { font-size: 11.5px; }
  .lv-notice-bar p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .lv-notice-bar p.is-open { display: block; }
  .lv-slider__fallback .lv-eyebrow, .lv-slider__fallback p { display: none; }
}

/* ---------- 상세검색 레이어 ---------- */
.lv-search { background: var(--surface); border-radius: var(--radius); width: 100%; max-width: 1040px; max-height: 92vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow); }
.lv-search__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.lv-search__head h2 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.lv-search__close { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
.lv-search__body { display: grid; grid-template-columns: 300px 1fr; gap: 20px; padding: 20px 22px; overflow-y: auto; }
.lv-search__filters { display: flex; flex-direction: column; gap: 16px; }
.lv-search b { display: block; font-size: 14px; margin-bottom: 6px; }
.lv-search .lv-list { width: 100%; height: 120px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 12px; font-size: 14px; }
.lv-search__cond li { display: flex; align-items: center; gap: 6px; padding: 6px 0; font-size: 14px; }
.lv-search__cond li > span { flex: 1; color: var(--text-2); }
.lv-search__cond button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface); font-weight: 700; }
.lv-search__cond input[type=text] { width: 48px; height: 30px; text-align: center; border: 1px solid var(--line-strong); border-radius: 8px; font-weight: 700; }
.lv-search__cond em { font-style: normal; color: var(--muted); font-size: 12px; width: 36px; }
.lv-search__radio label { display: inline-flex; gap: 4px; align-items: center; }
.lv-search__result iframe { width: 100%; height: 470px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
@media (max-width: 860px) {
  .lv-search__body { grid-template-columns: 1fr; }
  .lv-search__result iframe { height: 420px; }
}
.lv-modal .lv-consult__title { padding-right: 40px; }

/* 서브 본문 이미지 : 넘치거나 늘어나지 않게 */
.lv-sub-body img { max-width: 100%; height: auto; }
.lv-poster { display: block; max-width: 760px; margin: 0 auto; border-radius: var(--radius-sm); overflow: hidden; }
.lv-poster img { display: block; width: 100%; height: auto; }
.lv-btn--soft { background: var(--primary-weak); border-color: transparent; color: var(--primary); }
.lv-btn--soft:hover { background: var(--primary); color: var(--on-primary); }
.lv-pager { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lv-pager .PagerContainerTable td { padding: 0; }
.lv-pager .PagerInfoCell { padding-right: 8px !important; color: var(--muted); white-space: nowrap; }
@media (max-width: 720px) {
  .lv-pager .PagerInfoCell { display: none; }
  .lv-pager a, .lv-pager span { min-width: 30px; height: 30px; margin: 0 1px; padding: 0 4px; font-size: 13px; }
}

/* ONE-ID 로그인 : 펼쳐도 카드 높이가 변하지 않도록 팝오버로 */
.lv-consult { position: relative; }
.lv-consult__login { position: relative; }
.lv-consult__login summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; }
.lv-consult__login summary::-webkit-details-marker { display: none; }
.lv-consult__login summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: -3px 0 0 4px; transition: transform .15s; }
.lv-consult__login details[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.lv-login-pop { position: absolute; left: -12px; right: -12px; bottom: calc(100% + 8px); z-index: 20; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 14px; }
.lv-login-pop .lv-login-row { margin-top: 0; }
.lv-modal .lv-login-pop { position: static; box-shadow: none; border: 0; padding: 8px 0 0; }
.lv-search__cond input[type=radio] { width: 16px; height: 16px; accent-color: var(--primary); margin: 0; }
.lv-search__radio label { margin-left: 8px; font-size: 14px; }
.lv-view__nav div:has(> span:empty) { display: none; }

/* 메인 상단 : 왼쪽(배너+바로가기)과 오른쪽(상담 카드) 아래선 맞춤 */
#lvConsultSlot { display: flex; flex-direction: column; }
#lvConsultSlot > .lv-consult { flex: 1; justify-content: space-between; }
#lvConsultSlot .lv-consult__cs { padding-top: 12px; margin-top: 0; }
#lvConsultSlot .lv-consult__cs strong { font-size: 22px; }
@media (max-width: 960px) {
  .lv-quicklinks { flex: none; }
}

/* 관리자 배너 이미지 가장자리(원본에 1~5px 밝은 선) 잘라내기 */
.lv-slider__item img { transform: scale(1.004); transform-origin: center; }
.lv-slider__ctrl { z-index: 3; }

/* lv-search-size : 상세검색 창 크기 (가로 너무 넓고 세로 짧던 문제) */
#divpop2 > .lv-search { width: min(1120px, 100%); max-width: none; height: min(780px, calc(100vh - 32px)); max-height: none; }
#divpop2 .lv-search__body { flex: 1; min-height: 0; grid-template-rows: minmax(0, 1fr); }
#divpop2 .lv-search__filters { overflow-y: auto; min-height: 0; }
#divpop2 .lv-search__result { display: flex; flex-direction: column; min-height: 0; }
#divpop2 .lv-search__result iframe { flex: 1; height: auto; min-height: 320px; }
@media (max-width: 860px) {
  #divpop2 > .lv-search { height: calc(100vh - 24px); }
  #divpop2 .lv-search__body { grid-template-rows: auto; overflow-y: auto; }
  #divpop2 .lv-search__filters, #divpop2 .lv-search__result { overflow: visible; min-height: auto; }
  #divpop2 .lv-search__result iframe { flex: none; height: 62vh; }
}
