/* 원플로우 하위 페이지 스타일 (site.css 다음에 불러온다) */

/* 배너 */
.is-sub .subBannerBox { position: relative; width: auto; max-width: none; height: 360px; margin: 0 24px; border-radius: 20px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: none; }
.is-sub .subBannerBox::before { z-index: 1; background: linear-gradient(0deg, rgba(16, 12, 20, .55) 0%, rgba(16, 12, 20, .35) 100%); }
.subvis__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.subvis__body { position: relative; z-index: 2; margin-top: -48px; text-align: center; }
.is-sub .subBannerBoxTitle { font-size: clamp(32px, 3.4vw, 48px); font-weight: 700; letter-spacing: -0.04em; text-shadow: none; color: #fff; }

/* 서브 메뉴 막대: 홈 버튼은 로고 보라보다 연한 보라 */
.is-sub .v-submenu-container { margin-top: -60px; }
.is-sub .v-submenu { max-width: 1240px; }
.is-sub .v-submenu-home { width: 72px; background: #7D55A6; color: #fff; font-size: 20px; }
.is-sub .v-submenu-home:hover, .is-sub .v-submenu-home:focus { background: #8C66B3; color: #fff; }
.is-sub .v-submenu-item, .is-sub .v-submenu-btn_box { height: 60px; background: rgba(23, 20, 28, .8); border-color: rgba(255, 255, 255, .14); font-size: 16px; font-weight: 500; }
.is-sub .v-submenu-item:hover, .is-sub .v-submenu-item.active { background: rgba(23, 20, 28, .94); }
.is-sub .v-dropdown-menu { background: rgba(23, 20, 28, .96); border-color: rgba(255, 255, 255, .14); }
.is-sub .v-dropdown-menu { right: auto; min-width: calc(100% + 1px); width: max-content; }
.is-sub .v-dropdown-item { font-size: 15px; white-space: nowrap; padding: 14px 24px; }

/* CMS 본문 (관리자에서 수정하는 HTML) */
/* 예전 base_style.css 의 body * { word-break: break-all } 을 덮는다 */
.is-sub * { word-break: keep-all; overflow-wrap: break-word; }
.cms-body :where(h2, h3, p, ul, dl, dd, figure) { margin-block: 0; }
.cms-body :where(ul, dl, dd) { margin-inline: 0; padding: 0; }
.cms-body :where(ul) { list-style: none; }
.cms-body img { display: block; max-width: 100%; }
.cms-body a:hover { color: inherit; }

/* 원플로우 소개 */
.ab-intro { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: end; padding-top: 60px; }
.ab-intro__title { font-size: clamp(34px, 4vw, 56px); line-height: 1.25; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); }
.ab-intro__text { font-size: 18px; line-height: 1.85; text-align: justify; text-justify: inter-character; }
.ab-intro__text p:first-child { font-size: 20px; font-weight: 600; color: var(--ink); }
.ab-intro__text p + p { margin-top: 14px; }
.ab-wide { margin-top: 48px; }
.ab-wide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); }

.ab-biz { padding-top: 70px; }
.ab-biz .sec-title { margin-bottom: 40px; }
.ab-biz__row { display: grid; grid-template-columns: 300px 1fr 300px; gap: 56px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.ab-biz__row:last-child { border-bottom: 1px solid var(--line); }
.ab-biz__title { font-size: 26px; line-height: 1.4; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.ab-biz__list li { position: relative; padding-left: 16px; font-size: 17px; line-height: 2; }
.ab-biz__list li::before { content: ""; position: absolute; left: 0; top: .95em; width: 5px; height: 5px; background: var(--brand); }
.ab-biz__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.ab-biz__img img { width: 100%; height: 100%; object-fit: cover; }

.ab-way { margin-top: 70px; padding: 60px 0; background: var(--surface); }
.ab-way__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.ab-way__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; }
.ab-way__img img { width: 100%; height: 100%; object-fit: cover; }
.ab-way__list { margin-top: 40px; }
.ab-way__list > div { padding: 24px 0; border-top: 1px solid #D9D5DE; }
.ab-way__list dt { font-size: 20px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.ab-way__list dd { margin-top: 8px; font-size: 16px; line-height: 1.75; color: var(--muted); text-align: justify; text-justify: inter-character; }

.ab-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 60px; padding-bottom: 70px; }
.ab-cta__title { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.4; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); }

/* 대표 인사말 */
.gr { display: grid; grid-template-columns: 5fr 6fr; gap: 96px; align-items: start; padding-top: 60px; padding-bottom: 70px; }
.gr__photo { position: sticky; top: calc(var(--gnb-h) + 40px); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.gr__photo img { width: 100%; height: 100%; object-fit: cover; }
.gr__title { font-size: clamp(28px, 3vw, 40px); line-height: 1.45; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); }
.gr__body { margin-top: 48px; }
.gr__body p { font-size: 18px; line-height: 1.95; text-align: justify; text-justify: inter-character; }
.gr__body p + p { margin-top: 22px; }
.gr__sign { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 600; color: var(--ink); }

/* 오시는 길 */
.loc { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; padding-top: 60px; padding-bottom: 70px; }
.loc__map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.loc__map img, .loc__map iframe { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }
.loc__list > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.loc__list > div:last-child { border-bottom: 1px solid var(--line); }
.loc__list dt { font-size: 15px; color: var(--muted); }
.loc__list dd { font-size: 17px; font-weight: 500; color: var(--ink); }
.loc__list a { border-bottom: 0; }
.loc__list a:hover { color: var(--brand); }
.loc__nav { margin-top: 40px; }
.loc__nav-title { font-size: 15px; font-weight: 600; color: var(--muted); }
.loc__nav-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.navbtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; transition: border-color .2s, transform .15s; }
.navbtn:hover { border-color: var(--ink); color: var(--ink); }
.navbtn:active { transform: translateY(1px); }
.navbtn__mark { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font-size: 13px; font-weight: 800; color: #fff; }
.navbtn--tmap .navbtn__mark { background: #2B63F6; }
.navbtn--naver .navbtn__mark { background: #03C75A; }
.navbtn--kakao .navbtn__mark { background: #FEE500; color: #191919; }
.navbtn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

@media (max-width: 1024px) {
    .is-sub .subBannerBox { height: 240px; margin: 0 12px; border-radius: 16px; }
    .subvis__body { margin-top: 0; }
    .ab-intro, .gr, .loc { padding-top: 36px; }
    .ab-intro { grid-template-columns: 1fr; gap: 28px; }
    .ab-intro__text { font-size: 17px; }
    .ab-intro__text p:first-child { font-size: 18px; }
    .ab-wide { margin-top: 56px; }
    .ab-wide img { aspect-ratio: 4 / 3; }
    .ab-biz { padding-top: 44px; }
    .ab-biz__row { grid-template-columns: 1fr; gap: 20px; padding: 36px 0; }
    .ab-biz__title { font-size: 22px; }
    .ab-biz__title br { display: none; }
    .ab-biz__list li { font-size: 16px; line-height: 1.9; }
    .ab-way { margin-top: 44px; padding: 36px 0; }
    .ab-way__grid { grid-template-columns: 1fr; gap: 40px; }
    .ab-cta { flex-direction: column; align-items: flex-start; padding-top: 36px; padding-bottom: 44px; }
    .gr { grid-template-columns: 1fr; gap: 40px; padding-bottom: 44px; }
    .gr__photo { position: static; aspect-ratio: 4 / 4.4; }
    .gr__body p { font-size: 17px; }
    .loc { grid-template-columns: 1fr; gap: 32px; padding-bottom: 44px; }
}
@media (max-width: 560px) {
    .loc__list > div { grid-template-columns: 88px 1fr; }
    .navbtn { height: 52px; font-size: 14px; gap: 6px; }
}
.loc__nav-note { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ===== 프로그램 분야 페이지 ===== */
.cms-edit { position: fixed; right: 32px; bottom: 32px; z-index: 30; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 24px; box-shadow: 0 10px 24px -10px rgba(94, 45, 136, .6); }
.cms-edit:hover { background: var(--brand-deep); color: #fff; }

.pg :where(h2, h3, p, dl, dd, figure) { margin-block: 0; }
.pg :where(dd) { margin-inline: 0; }
.pg img { display: block; max-width: 100%; }

.pg-intro { display: grid; grid-template-columns: 6fr 5fr; gap: 80px; align-items: center; padding-top: 60px; }
.pg-intro__title { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.35; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); }
.pg-intro__body { margin-top: 32px; }
.pg-intro__body p { font-size: 17.5px; line-height: 1.85; text-align: justify; text-justify: inter-character; }
.pg-intro__body p + p { margin-top: 12px; }
.pg-intro__meta { display: flex; gap: 20px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15.5px; }
.pg-intro__meta dt { color: var(--muted); }
.pg-intro__meta dd { font-weight: 600; color: var(--ink); }
.pg-intro__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.pg-intro__img img { width: 100%; height: 100%; object-fit: cover; }

.pg-items { padding-top: 70px; }
.pg-items .sec-title { margin-bottom: 44px; }
.pg-items__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 64px 40px; }
.pg-item__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface); }
.pg-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pg-item:hover .pg-item__img img { transform: scale(1.03); }
.pg-item__title { margin-top: 24px; font-size: 22px; line-height: 1.4; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.pg-item__desc { margin-top: 10px; font-size: 16.5px; line-height: 1.8; text-align: justify; text-justify: inter-character; }
.pg-item__meta { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 18px; font-size: 14.5px; }
.pg-item__meta div { display: flex; gap: 8px; }
.pg-item__meta dt { color: var(--muted); }
.pg-item__meta dd { font-weight: 500; color: var(--ink); }

.pg-flow { margin-top: 70px; padding: 55px 0; background: var(--surface); }
.pg-flow .flow { margin-top: 44px; }

.pg-cases { padding-top: 70px; }
.pg-cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pg-case__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.pg-case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pg-case:hover .pg-case__img img { transform: scale(1.04); }
.pg-case__title { margin-top: 18px; font-size: 18px; line-height: 1.5; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.pg-case:hover .pg-case__title { color: var(--brand); }
.pg-case__date { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
.pg-cases__empty { padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; color: var(--muted); }

.pg-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 60px; padding-bottom: 70px; }
.pg-cta__title { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.4; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); }

@media (max-width: 1024px) {
    .pg-intro { grid-template-columns: 1fr; gap: 40px; padding-top: 36px; }
    .pg-intro__img { aspect-ratio: 4 / 3; }
    .pg-items, .pg-cases { padding-top: 44px; }
    .pg-items__grid { grid-template-columns: 1fr; gap: 48px; }
    .pg-item__title { font-size: 20px; }
    .pg-flow { margin-top: 44px; padding: 36px 0; }
    .pg-cases__grid { grid-template-columns: 1fr; gap: 36px; }
    .pg-cta { flex-direction: column; align-items: flex-start; padding-top: 36px; padding-bottom: 44px; }
    .cms-edit { right: 16px; bottom: 16px; }
}
.flow { list-style: none; padding: 0; }
.is-sub .subBannerBoxTitle { text-decoration: none; border: 0; }

/* ===== 게시판 (원플로우 소식) ===== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.btn--outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.bd :where(h2, h3, p, ul), .post :where(h2, p, figure, ul), .ask :where(h2, p, ol, fieldset, dl, dd), .done :where(h2, p) { margin-block: 0; }
.bd :where(ul), .post :where(ul), .ask :where(ol) { list-style: none; padding: 0; }
.bd img, .post img { display: block; max-width: 100%; }

.bd { padding-top: 55px; padding-bottom: 70px; }
.bd-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bd-title { font-size: clamp(28px, 2.8vw, 40px); font-weight: 700; letter-spacing: -0.035em; color: var(--ink); }
.bd-search { display: flex; align-items: center; width: 320px; height: 48px; padding: 0 6px 0 20px; border: 1px solid var(--line); border-radius: 999px; background: #fff; transition: border-color .2s; }
.bd-search:focus-within { border-color: var(--brand); }
.bd-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); }
.bd-search input::placeholder { color: #8F8996; }
.bd-search button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: none; font-size: 20px; color: var(--ink); cursor: pointer; }
.bd-search button:hover { background: var(--surface); }
.bd-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.bd-tabs a { display: inline-flex; align-items: center; height: 42px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text); transition: border-color .2s, background-color .2s, color .2s; }
.bd-tabs a:hover { border-color: var(--ink); color: var(--ink); }
.bd-tabs a[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.bd-result { margin-top: 28px; font-size: 15px; color: var(--muted); }
.bd-empty { margin-top: 48px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; color: var(--muted); }

.bd-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; margin-top: 48px; }
.bd-card { display: block; }
.bd-card__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.bd-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bd-card:hover .bd-card__img img { transform: scale(1.04); }
.bd-card__cate { margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--brand); }
.bd-card__title { margin-top: 6px; font-size: 19px; line-height: 1.5; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
.bd-card__img + .bd-card__title { margin-top: 20px; }
.bd-card:hover .bd-card__title { color: var(--brand); }
.bd-card__date { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }

.bd-rows { margin-top: 40px; border-top: 2px solid var(--ink); }
.bd-rows li { border-bottom: 1px solid var(--line); }
.bd-rows a { display: flex; align-items: center; gap: 16px; padding: 24px 8px; color: var(--ink); transition: background-color .2s; }
.bd-rows a:hover { background: var(--surface); }
.bd-rows__pin { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--brand); font-size: 13px; font-weight: 600; color: #fff; }
.bd-rows__title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; font-weight: 500; }
.bd-rows__date { flex: none; font-size: 15px; color: var(--muted); }

.bd-paging { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.bd-paging a { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 6px; border-radius: 999px; font-size: 15px; color: var(--text); }
.bd-paging a:hover { background: var(--surface); }
.bd-paging a[aria-current="page"] { background: var(--ink); color: #fff; font-weight: 600; }
.bd-admin { margin-top: 40px; text-align: right; }

/* 글 보기 */
.post { max-width: 880px; padding-top: 50px; padding-bottom: 70px; }
.post-board { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--muted); }
.post-board:hover { color: var(--brand); }
.post-cate { margin-top: 40px; font-size: 15px; font-weight: 600; color: var(--brand); }
.post-board + .post-title { margin-top: 40px; }
.post-title { margin-top: 10px; font-size: clamp(28px, 3vw, 40px); line-height: 1.4; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); }
.post-meta { margin-top: 16px; padding-bottom: 36px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.post-hero { margin-top: 48px; border-radius: var(--radius); overflow: hidden; }
.post-hero img { width: 100%; height: auto; }
.post-body { margin-top: 48px; font-size: 17.5px; line-height: 1.9; color: var(--text); }
.post-body p { margin: 0 0 18px; text-align: justify; text-justify: inter-character; }
.post-body h3 { margin: 48px 0 14px; font-size: 22px; line-height: 1.45; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.post-body img { height: auto; border-radius: 12px; }
.post-body .post-img { margin: 32px 0; }
.post-body .post-img img { display: block; max-width: 100%; margin: 0 auto; }
.post-body a { color: var(--brand); text-decoration: none; }
.post-body blockquote { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 1px solid #CDBEDB; }
.post-body blockquote p { margin: 0; font-size: 18px; color: var(--ink); text-align: left; }
.post-body blockquote cite { display: block; margin-top: 8px; font-size: 14px; font-style: normal; color: var(--muted); }
.post-body .news-src { margin-top: 40px; }
.post-files { margin-top: 40px; padding: 20px 24px; border-radius: 12px; background: var(--surface); }
.post-files li + li { margin-top: 8px; }
.post-files a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); }
.post-nav { margin-top: 32px; border-top: 1px solid var(--line); }
.post-nav a { display: flex; gap: 24px; padding: 22px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
.post-nav a:hover strong { color: var(--brand); }
.post-nav span { flex: none; width: 64px; font-size: 14px; color: var(--muted); }
.post-nav strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 500; }
.post-actions { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }

/* 문의하기 */
.ask { display: grid; grid-template-columns: 4fr 7fr; gap: 80px; align-items: start; padding-top: 55px; padding-bottom: 70px; }
.ask-side { position: sticky; top: calc(var(--gnb-h) + 40px); }
.ask-title { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.45; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); }
.ask-steps { margin-top: 40px; counter-reset: step; }
.ask-steps li { position: relative; padding: 0 0 26px 40px; }
.ask-steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); font-size: 13px; font-weight: 700; color: var(--brand); }
.ask-steps li:not(:last-child)::after { content: ""; position: absolute; left: 12.5px; top: 32px; bottom: 6px; width: 1px; background: var(--line); }
.ask-steps strong { display: block; font-size: 17px; font-weight: 700; color: var(--ink); }
.ask-steps span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.ask-tel { margin-top: 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.ask-tel span { display: block; font-size: 14px; color: var(--muted); }
.ask-tel a { display: inline-block; margin-top: 4px; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.ask-tel a:hover { color: var(--brand); }

.ask-form { padding: 48px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.ask-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ask-field { margin: 0 0 32px; padding: 0; border: 0; min-width: 0; }
.ask-field legend, .ask-input label { display: block; margin-bottom: 10px; padding: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.ask-form em { margin-left: 4px; font-size: 12.5px; font-style: normal; font-weight: 600; color: var(--brand); }
.ask-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ask-seg label, .ask-chips label { position: relative; cursor: pointer; }
.ask-seg input, .ask-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ask-seg span { display: flex; align-items: center; justify-content: center; height: 54px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; font-weight: 500; color: var(--text); text-align: center; transition: border-color .2s, background-color .2s, color .2s; }
.ask-seg input:checked + span { border-color: var(--brand); background: #F4EFF8; color: var(--brand); font-weight: 600; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-chips span { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--text); transition: border-color .2s, background-color .2s, color .2s; }
.ask-chips input:checked + span { border-color: var(--brand); background: var(--brand); color: #fff; }
.ask-seg input:focus-visible + span, .ask-chips input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.ask-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; margin-bottom: 24px; }
.ask-input input, .ask-input textarea { display: block; width: 100%; padding: 14px 16px; border: 1px solid #D6D2DC; border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.ask-input input { height: 52px; }
.ask-input textarea { resize: vertical; min-height: 180px; line-height: 1.7; }
.ask-input input::placeholder, .ask-input textarea::placeholder { color: #8F8996; }
.ask-input input:focus, .ask-input textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(94, 45, 136, .14); }
.ask-input [aria-invalid="true"] { border-color: #C2334D; }
.ask-agree { margin-top: 28px; padding: 20px 22px; border-radius: 12px; background: var(--surface); }
.ask-agree > label { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; }
.ask-agree input { width: 20px; height: 20px; accent-color: var(--brand); }
.ask-agree details { margin-top: 12px; font-size: 14px; color: var(--muted); }
.ask-agree summary { cursor: pointer; color: var(--text); }
.ask-agree dl { margin: 12px 0 8px; }
.ask-agree dl div { display: flex; gap: 12px; padding: 4px 0; }
.ask-agree dt { flex: none; width: 64px; color: var(--text); }
.ask-error { margin-top: 20px; font-size: 15px; font-weight: 500; color: #B4233F; }
.ask-submit { width: 100%; height: 58px; margin-top: 28px; font-size: 17px; }
.ask-submit:disabled { opacity: .6; cursor: wait; }

/* 접수 완료 */
.done { max-width: 640px; padding-top: 70px; padding-bottom: 80px; text-align: center; }
.done-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #F4EFF8; font-size: 34px; color: var(--brand); }
.done-title { margin-top: 28px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; letter-spacing: -0.035em; color: var(--ink); }
.done-text { margin-top: 16px; font-size: 17px; line-height: 1.8; color: var(--text); }
.done-text a { font-weight: 600; color: var(--brand); }
.done-actions { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }

@media (max-width: 1024px) {
    .bd, .ask { padding-top: 32px; padding-bottom: 44px; }
    .bd-head { flex-direction: column; align-items: stretch; gap: 20px; }
    .bd-search { width: 100%; }
    .bd-tabs { flex-wrap: nowrap; overflow-x: auto; margin-top: 24px; scrollbar-width: none; }
    .bd-tabs a { flex: none; }
    .bd-cards { grid-template-columns: 1fr 1fr; gap: 40px 16px; margin-top: 32px; }
    .bd-card__title { font-size: 16px; }
    .bd-rows a { flex-wrap: wrap; gap: 6px 12px; padding: 20px 4px; }
    .bd-rows__title { flex-basis: 100%; order: 2; white-space: normal; }
    .bd-rows__date { order: 3; font-size: 14px; }
    .post { padding-top: 56px; padding-bottom: 44px; }
    .post-body { font-size: 16.5px; }
    .ask { grid-template-columns: 1fr; gap: 40px; }
    .ask-side { position: static; }
    .ask-form { padding: 28px 20px; }
    .ask-grid { grid-template-columns: 1fr; }
    .done { padding-top: 44px; padding-bottom: 50px; }
}
@media (max-width: 560px) {
    .bd-cards { grid-template-columns: 1fr; }
    .ask-seg { grid-template-columns: 1fr; }
}
.gr__sign strong { margin-left: 8px; font-size: 20px; font-weight: 700; letter-spacing: .06em; }
/* 링크 밑줄 없음 (예전 공용 CSS 의 밑줄까지 덮음) */
.is-sub a, .is-sub a:hover, .is-sub a:focus { text-decoration: none; }
/* 구글 지도 왼쪽 위 "지도에서 열기" 카드는 지도 안쪽이라 꾸밀 수 없어, 지도를 위로 올려 가린다 */
.loc__map { position: relative; }
.loc__map iframe { position: absolute; left: 0; top: -150px; height: calc(100% + 150px); }

/* ===== 2026-11 개편 (구성내용.docx) ===== */
/* 회사소개: 가치, 사업분야 줄(링크) */
.ab-values { padding-top: 70px; }
.ab-values__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 44px 0 0; padding: 0; list-style: none; counter-reset: v; }
.ab-values__list li { padding-top: 28px; border-top: 1px solid #D9D5DE; }
.ab-values__list li:first-child { border-top-color: var(--brand); }
.ab-values__list li::before { counter-increment: v; content: "0" counter(v); display: block; margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--brand); }
.ab-values__list strong { display: block; font-size: 21px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.ab-values__list span { display: block; margin-top: 10px; font-size: 15.5px; line-height: 1.75; color: var(--muted); text-align: justify; text-justify: inter-character; }
a.ab-biz__row { color: inherit; }
a.ab-biz__row:hover .ab-biz__title { color: var(--brand); }
.ab-biz__title { transition: color .2s; }
.ab-biz__title span { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 600; color: var(--brand); }
.ab-biz__img img { transition: transform 1s var(--ease); }
a.ab-biz__row:hover .ab-biz__img img { transform: scale(1.04); }

/* 대표 경력 */
.hist { display: grid; grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; padding-top: 60px; padding-bottom: 70px; }
.hist :where(h2, h3, p, ul, ol) { margin: 0; padding: 0; list-style: none; }
.hist__head { position: sticky; top: calc(var(--gnb-h) + 40px); }
.hist__title { font-size: clamp(28px, 3vw, 40px); line-height: 1.45; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); }
.hist__sign { margin-top: 32px; font-size: 15px; font-weight: 600; color: var(--muted); }
.hist__sign strong { margin-left: 8px; font-size: 20px; color: var(--ink); letter-spacing: .06em; }
.hist__list { border-bottom: 1px solid var(--line); }
.hist__item { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 40px 0; border-top: 1px solid var(--line); }
.hist__item:first-child { border-top-color: var(--ink); }
.hist__when { padding-top: 4px; font-size: 16px; font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }
.hist__org { font-size: 24px; line-height: 1.4; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.hist__org span { margin-left: 10px; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.hist__item ul { margin-top: 16px; }
.hist__item ul li { position: relative; padding-left: 16px; font-size: 17px; line-height: 2; }
.hist__item ul li::before { content: ""; position: absolute; left: 0; top: .95em; width: 5px; height: 5px; background: var(--brand); }

/* 운영 프로세스 */
.proc { padding-top: 60px; }
.proc :where(h2, p, ol) { margin: 0; padding: 0; list-style: none; }
.proc__head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.proc__title { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.35; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); }
.proc__lead { font-size: 18px; line-height: 1.85; text-align: justify; text-justify: inter-character; }
.proc__list { margin-top: 40px; border-bottom: 1px solid var(--line); }
.proc__list li { display: grid; grid-template-columns: 140px 320px 1fr; gap: 32px; align-items: baseline; padding: 40px 0; border-top: 1px solid var(--line); }
.proc__list li:first-child { border-top-color: var(--ink); }
.proc__no { font-size: 44px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; color: var(--brand); font-variant-numeric: tabular-nums; }
.proc__list strong { font-size: 23px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.proc__list p { font-size: 17px; line-height: 1.8; text-align: justify; text-justify: inter-character; }

/* 사업분야: 주요 프로그램 목록 */
.pg-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; margin: 0; padding: 0; list-style: none; }
.pg-list li { display: grid; grid-template-columns: 56px 1fr; padding: 28px 0; border-top: 1px solid var(--line); }
.pg-list__no { padding-top: 3px; font-size: 15px; font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }
.pg-list__title { font-size: 20px; line-height: 1.5; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
.pg-list__desc { margin-top: 6px; font-size: 15.5px; line-height: 1.75; color: var(--muted); }
.pg .mentor { margin-top: 70px; }

/* 프로멘토 */
.pm :where(h2, h3, p, ul, ol, dl, dd, figure) { margin: 0; padding: 0; }
.pm :where(ul, ol) { list-style: none; }
.pm img { display: block; max-width: 100%; }
.pm-hero { display: grid; grid-template-columns: 5fr 6fr; gap: 72px; align-items: center; padding-top: 60px; }
.pm-hero__title { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.3; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); }
.pm-hero__lead { margin-top: 28px; font-size: 18px; line-height: 1.85; text-align: justify; text-justify: inter-character; }
.pm-hero__meta { margin-top: 32px; border-top: 1px solid var(--line); }
.pm-hero__meta div { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.pm-hero__meta dt { flex: none; width: 76px; color: var(--muted); }
.pm-hero__meta dd { font-weight: 600; color: var(--ink); }
.pm-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.pm-hero__cover { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; cursor: zoom-in; box-shadow: 0 32px 64px -36px rgba(23, 20, 28, .4); }
.pm-hero__cover img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.pm-hero__cover:hover img { transform: scale(1.02); }
.pm-hero__zoom { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(23, 20, 28, .78); font-size: 20px; color: #fff; transition: background-color .2s; }
.pm-hero__cover:hover .pm-hero__zoom { background: var(--brand); }

.pm-stats ul { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 52px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.pm-stats li { padding: 36px 0 36px 32px; }
.pm-stats li:first-child { padding-left: 0; }
.pm-stats li + li { border-left: 1px solid var(--line); }
.pm-stats strong { display: block; font-size: clamp(36px, 3.6vw, 52px); line-height: 1.1; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pm-stats span { display: block; margin-top: 10px; font-size: 15px; color: var(--muted); }

.pm-why { padding-top: 70px; }
.pm-why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.pm-why__col { padding: 44px; border: 1px solid var(--line); border-radius: 20px; }
.pm-why__col h3 { padding-bottom: 22px; border-bottom: 1px solid var(--line); font-size: 21px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.pm-why__col ul { margin-top: 14px; }
.pm-why__col ul li { position: relative; padding: 12px 0 12px 18px; font-size: 17px; color: var(--text); }
.pm-why__col ul li::before { content: ""; position: absolute; left: 0; top: 1.4em; width: 6px; height: 1px; background: var(--muted); }
.pm-why__col--on { border-color: var(--night); background: var(--night); }
.pm-why__col--on h3 { border-bottom-color: rgba(255, 255, 255, .16); color: #fff; }
.pm-why__col--on dl div { padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.pm-why__col--on dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.pm-why__col--on dt { font-size: 18px; font-weight: 600; color: #fff; }
.pm-why__col--on dd { margin-top: 6px; font-size: 15.5px; line-height: 1.75; color: rgba(255, 255, 255, .7); text-align: justify; text-justify: inter-character; }

.pm-steps { margin-top: 70px; padding: 60px 0; background: var(--surface); }
.pm-steps__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.pm-steps__list > li { padding: 32px 28px 36px; border-radius: var(--radius); background: #fff; }
.pm-steps__no { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--brand); }
.pm-steps__list h3 { margin-top: 14px; font-size: 21px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.pm-steps__list ul { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.pm-steps__list ul li { position: relative; padding-left: 14px; font-size: 15.5px; line-height: 1.95; color: var(--text); }
.pm-steps__list ul li::before { content: ""; position: absolute; left: 0; top: .95em; width: 4px; height: 4px; background: var(--brand); }
.pm .mentor { margin-top: 70px; }

.pm-ship { padding-top: 70px; }
.pm-ship__note { font-size: 16px; color: var(--muted); }
.pm-ship__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pm-ship__col { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pm-ship__col h3 { padding: 20px 24px; background: var(--surface); font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.pm-ship__col li { padding: 16px 24px; border-top: 1px solid var(--line); }
.pm-ship__col li p:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pm-ship__col strong { font-size: 16px; font-weight: 600; color: var(--ink); }
.pm-ship__col li span { flex: none; padding: 2px 9px; border-radius: 999px; background: #F4EFF8; font-size: 12.5px; font-weight: 600; color: var(--brand); }
.pm-ship__job { margin-top: 4px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.pm-ship__foot { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* 소개서 뷰어: 가로 스크롤 스냅 + 쪽 바로가기 + 전체 화면 */
.pm-viewer { padding-top: 70px; }
.pm-viewer .link-arrow { white-space: nowrap; }
.pm-viewer .link-arrow small { font-size: 13px; font-weight: 500; color: var(--muted); }
@media (max-width: 1024px) { .pm-viewer .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; } }
.viewer { padding: 24px; border-radius: 20px; background: var(--surface); }
/* 슬라이드·아래 막대·쪽 줄이 한 화면에 들어오도록 화면 높이에 맞춰 폭을 줄인다 */
.viewer__stage, .viewer__bar, .viewer__thumbs { max-width: max(560px, calc((100dvh - var(--gnb-h) - 300px) * 16 / 9)); margin-inline: auto; }
.viewer:fullscreen :is(.viewer__stage, .viewer__bar, .viewer__thumbs), .viewer.is-full :is(.viewer__stage, .viewer__bar, .viewer__thumbs) { max-width: none; width: 100%; }
.viewer:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.viewer__stage { position: relative; }
.viewer__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(23, 20, 28, .06), 0 24px 48px -32px rgba(23, 20, 28, .35); }
.viewer__track::-webkit-scrollbar { display: none; }
.viewer__slide { flex: 0 0 100%; margin: 0; aspect-ratio: 16 / 9; scroll-snap-align: center; scroll-snap-stop: always; }
.viewer__slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.viewer__nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, .96); font-size: 22px; color: var(--ink); cursor: pointer; box-shadow: 0 8px 20px -10px rgba(23, 20, 28, .35); transition: opacity .2s, background-color .2s, color .2s; }
.viewer__nav:hover { background: var(--ink); color: #fff; }
.viewer__nav--prev { left: 16px; }
.viewer__nav--next { right: 16px; }
.viewer__nav:disabled { opacity: 0; pointer-events: none; }
.viewer__bar { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 0 4px; }
.viewer__count { flex: none; margin: 0; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.viewer__count b { font-weight: 700; color: var(--ink); }
.viewer__count span { margin: 0 6px; }
.viewer__title { flex: 1; min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15.5px; font-weight: 500; color: var(--ink); }
.viewer__full { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .2s; }
.viewer__full:hover { border-color: var(--ink); }
.viewer__thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 148px; gap: 10px; margin: 18px 0 0; padding: 4px 4px 10px; list-style: none; overflow-x: auto; scrollbar-width: thin; }
.viewer__thumbs button { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: #fff; cursor: pointer; opacity: .62; transition: opacity .2s; }
.viewer__thumbs button:hover, .viewer__thumbs button[aria-current="true"] { opacity: 1; }
.viewer__thumbs button::after { content: ""; position: absolute; inset: 0; border: 2px solid transparent; border-radius: 8px; transition: border-color .2s; }
.viewer__thumbs button[aria-current="true"]::after { border-color: var(--brand); }
.viewer__thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.viewer__thumbs span { position: absolute; left: 6px; bottom: 6px; padding: 0 6px; border-radius: 4px; background: rgba(23, 20, 28, .72); font-size: 11px; line-height: 18px; font-weight: 600; color: #fff; }

/* 전체 화면 (브라우저 전체 화면, 안 되면 화면 덮기) */
.viewer:fullscreen, .viewer.is-full { display: flex; flex-direction: column; padding: 20px 28px; border-radius: 0; background: #121015; }
.viewer.is-full { position: fixed; inset: 0; z-index: 100; }
.viewer:fullscreen .viewer__stage, .viewer.is-full .viewer__stage { flex: 1; min-height: 0; display: flex; }
.viewer:fullscreen .viewer__track, .viewer.is-full .viewer__track { width: 100%; background: transparent; box-shadow: none; }
.viewer:fullscreen .viewer__slide, .viewer.is-full .viewer__slide { aspect-ratio: auto; height: 100%; }
.viewer:fullscreen .viewer__nav, .viewer.is-full .viewer__nav { border-color: transparent; background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; }
.viewer:fullscreen .viewer__nav:hover, .viewer.is-full .viewer__nav:hover { background: #fff; color: var(--ink); }
.viewer:fullscreen .viewer__count, .viewer.is-full .viewer__count { color: rgba(255, 255, 255, .55); }
.viewer:fullscreen .viewer__count b, .viewer.is-full .viewer__count b, .viewer:fullscreen .viewer__title, .viewer.is-full .viewer__title { color: #fff; }
.viewer:fullscreen .viewer__full, .viewer.is-full .viewer__full { border-color: rgba(255, 255, 255, .24); background: transparent; color: #fff; }
.viewer:fullscreen .viewer__thumbs, .viewer.is-full .viewer__thumbs { grid-auto-columns: 112px; }
.viewer:fullscreen .viewer__thumbs button, .viewer.is-full .viewer__thumbs button { background: #2A2630; }

@media (max-width: 1200px) {
    .proc__list li { grid-template-columns: 100px 260px 1fr; }
    .pm-steps__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
    .ab-values { padding-top: 44px; }
    .ab-values__list { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
    .hist { grid-template-columns: 1fr; gap: 40px; padding-top: 36px; padding-bottom: 44px; }
    .hist__head { position: static; }
    .hist__item { grid-template-columns: 1fr; gap: 10px; padding: 32px 0; }
    .hist__org { font-size: 21px; }
    .hist__item ul li { font-size: 16px; line-height: 1.9; }
    .proc { padding-top: 36px; }
    .proc__head { grid-template-columns: 1fr; gap: 24px; }
    .proc__lead { font-size: 17px; }
    .proc__list { margin-top: 48px; }
    .proc__list li { grid-template-columns: 64px 1fr; gap: 8px 16px; padding: 28px 0; }
    .proc__list p { grid-column: 2; font-size: 16px; }
    .proc__no { font-size: 28px; }
    .proc__list strong { font-size: 20px; }
    .pg-list { grid-template-columns: 1fr; }
    .pg-list li { padding: 22px 0; }
    .pg-list__title { font-size: 18px; }
    .pg .mentor, .pm .mentor { margin-top: 44px; }
    .pm-hero { grid-template-columns: 1fr; gap: 40px; padding-top: 36px; }
    .pm-stats ul { grid-template-columns: 1fr 1fr; margin-top: 32px; }
    .pm-stats li, .pm-stats li:first-child { padding: 24px 0 24px 20px; }
    .pm-stats li:nth-child(odd) { padding-left: 0; border-left: 0; }
    .pm-stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
    .pm-why, .pm-ship, .pm-viewer { padding-top: 44px; }
    .pm-why__grid { grid-template-columns: 1fr; }
    .pm-why__col { padding: 28px 24px; }
    .pm-steps { margin-top: 44px; padding: 36px 0; }
    .pm-ship .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .pm-ship__grid { grid-template-columns: 1fr; }
    .viewer { padding: 12px; border-radius: 16px; }
    .viewer__nav { width: 40px; height: 40px; margin-top: -20px; font-size: 18px; }
    .viewer__nav--prev { left: 8px; }
    .viewer__nav--next { right: 8px; }
    .viewer__thumbs { grid-auto-columns: 108px; }
    .viewer__full span { display: none; }
    .viewer__full { width: 40px; padding: 0; justify-content: center; }
    .viewer:fullscreen, .viewer.is-full { padding: 12px; }
}
@media (max-width: 560px) {
    .ab-values__list { grid-template-columns: 1fr; }
    .pm-steps__list { grid-template-columns: 1fr; }
    .viewer__title { font-size: 14px; }
}

/* ===== 제목 한 줄 (2026-11-05): 큰 제목은 2단 밖으로 빼서 전체 폭을 쓰고, 좁은 화면에서는 균형 있게 줄바꿈 ===== */
.pg-intro__title, .pm-hero__title, .ab-intro__title, .hist__title, .proc__title, .pg-cta__title, .ab-cta__title { text-wrap: balance; }
.pg-intro { display: block; }
.pg-intro__grid { display: grid; grid-template-columns: 6fr 5fr; gap: 80px; align-items: center; margin-top: 48px; }
.pg-intro__body { margin-top: 0; }
.pg-intro__img { aspect-ratio: 5 / 4; }
.pm-hero { display: block; }
.pm-hero__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 72px; align-items: center; margin-top: 48px; }
.pm-hero__lead { margin-top: 0; }
.ab-intro { grid-template-columns: 1fr; gap: 40px; align-items: start; }
.ab-intro__text p:first-child { margin-bottom: 6px; }
.hist { grid-template-columns: 1fr; gap: 64px; }
.hist__head { position: static; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hist__sign { margin-top: 0; flex: none; }
.proc__head { grid-template-columns: 1fr; gap: 28px; }
.proc__lead { max-width: none; }
@media (max-width: 1024px) {
    .pg-intro__grid, .pm-hero__grid { grid-template-columns: 1fr; gap: 36px; margin-top: 28px; }
    .pg-intro__img { aspect-ratio: 4 / 3; }
    .ab-intro { gap: 28px; }
    .hist { gap: 40px; }
    .hist__head { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* 게시판 아래: 페이징은 가운데, 글쓰기(관리자)는 같은 줄 오른쪽, 세로 가운데 맞춤 */
.bd-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 32px; }
.bd-foot .bd-paging { grid-column: 2; margin-top: 0; }
.bd-foot .bd-admin { grid-column: 3; justify-self: end; margin-top: 0; }

/* 프로멘토: 기존 프로그램 → 프로멘토 (문제와 해결을 한 줄씩 짝지음) */
.pm-vs { margin-top: 44px; border-radius: 20px; overflow: hidden; background: linear-gradient(90deg, var(--surface) 0 calc(42% + 28px), var(--night) calc(42% + 28px)); }
.pm-vs__head, .pm-vs__list li { display: grid; grid-template-columns: 42% 56px 1fr; align-items: center; }
.pm-vs__head { margin: 0; font-size: 15px; font-weight: 600; }
.pm-vs__head span { padding: 26px 40px 22px; color: var(--muted); }
.pm-vs__head span + span { grid-column: 3; padding-left: 12px; color: rgba(255, 255, 255, .6); }
.pm-vs__list { margin: 0; padding: 0; list-style: none; }
.pm-vs__list li { align-items: stretch; }
.pm-vs__arrow { align-self: center; }
.pm-vs__before { display: flex; align-items: center; margin: 0; padding: 28px 40px; border-top: 1px solid #E2DEE7; font-size: 17px; line-height: 1.6; color: #8A8492; }
.pm-vs__arrow { justify-self: center; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); font-size: 18px; color: #fff; }
.pm-vs__after { padding: 28px 40px 28px 12px; border-top: 1px solid rgba(255, 255, 255, .12); }
.pm-vs__after strong { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.pm-vs__after span { display: block; margin-top: 6px; font-size: 15.5px; line-height: 1.7; color: rgba(255, 255, 255, .7); text-align: justify; text-justify: inter-character; }
@media (max-width: 1024px) {
    .pm-vs { background: var(--night); }
    .pm-vs__head { display: none; }
    .pm-vs__list li { grid-template-columns: 1fr; border-top: 0; }
    .pm-vs__list li + li { border-top: 1px solid rgba(255, 255, 255, .12); }
    .pm-vs__before { padding: 22px 22px 0; font-size: 15px; color: rgba(255, 255, 255, .5); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .3); }
    .pm-vs__arrow { display: none; }
    .pm-vs__after { padding: 8px 22px 24px; border-top: 0; }
    .pm-vs__before { border-top: 0; display: block; }
    .pm-vs__after strong { font-size: 18px; }
}
.viewer:fullscreen .viewer__thumbs, .viewer.is-full .viewer__thumbs { scrollbar-color: rgba(255, 255, 255, .28) transparent; }

/* 사업분야 첫 단: 왼쪽 글 아래 가로 사진, 오른쪽 사진은 왼쪽 높이에 맞춤 */
.pg-intro__grid { align-items: stretch; }
.pg-intro__text { display: flex; flex-direction: column; }
.pg-intro__sub { margin: auto 0 0; padding-top: 36px; }
.pg-intro__sub img { aspect-ratio: 16 / 7; border-radius: var(--radius); }
.pg-intro__sub img { width: 100%; object-fit: cover; }
/* 오른쪽 사진은 높이를 정하지 않고 왼쪽 높이를 따라간다 */
.pg-intro__img { position: relative; aspect-ratio: auto; }
.pg-intro__img img { position: absolute; inset: 0; height: 100%; }
@media (max-width: 1024px) {
    .pg-intro__sub { display: none; }
    .pg-intro__img { aspect-ratio: 4 / 3; }
}

/* 주요 프로그램 목록: 모든 칸 아래에 선 (마지막 줄이 한 칸이어도 위아래가 닫히게) */
.pg-list li { border-top: 0; border-bottom: 1px solid var(--line); }
.pg-list li:nth-child(-n+2) { border-top: 1px solid var(--line); }
@media (max-width: 1024px) { .pg-list li:nth-child(2) { border-top: 0; } }

/* 문의하기 관심 분야: 모바일은 선택 상자 */
.ask-select { display: none; clear: both; }   /* bootstrap 이 legend 를 float 시켜 옆으로 밀리지 않게 */
.ask-select select { display: block; width: 100%; height: 54px; padding: 0 48px 0 18px; border: 1px solid #D6D2DC; border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); appearance: none; -webkit-appearance: none; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.ask-select select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(94, 45, 136, .14); }
.ask-select select:invalid, .ask-select select:has(option[value=""]:checked) { color: #8F8996; }
.ask-select > * { grid-area: 1 / 1; }
.ask-select i { justify-self: end; align-self: center; margin-right: 18px; font-size: 18px; line-height: 1; color: var(--brand); pointer-events: none; }
@media (max-width: 560px) {
    .ask-field .ask-chips { display: none; }
    .ask-select { display: grid; grid-template-columns: minmax(0, 1fr); }
}

/* ===== 플로팅 라벨 (문의 폼, PC·모바일 공통) ===== */
.ask-float { position: relative; }
.ask-float input, .ask-float textarea, .ask-select select { padding: 26px 18px 8px; }
.ask-float input { height: 62px; }
.ask-float textarea { min-height: 200px; padding-top: 32px; }
.ask-float label, .ask-select label {
    position: absolute; left: 19px; top: 20px; z-index: 1; display: block; margin: 0; padding: 0;
    font-size: 16px; font-weight: 500; line-height: 1.4; color: #8A8492; pointer-events: none;
    transform-origin: left top; transition: transform .2s var(--ease), color .2s;
}
.ask-float label em, .ask-select label em { margin-left: 4px; font-size: 12px; }
/* 입력 중이거나 값이 있으면 라벨을 위로 작게 */
.ask-float input:focus + label, .ask-float input:not(:placeholder-shown) + label, .ask-float input:-webkit-autofill + label,
.ask-float textarea:focus + label, .ask-float textarea:not(:placeholder-shown) + label,
.ask-select label { transform: translateY(-11px) scale(.78); }
.ask-float input:focus + label, .ask-float textarea:focus + label, .ask-select select:focus ~ label { color: var(--brand); }
.ask-float textarea + label { background: #fff; padding-right: 6px; }
/* 예시 문구는 라벨이 올라간 뒤 입력할 때만 보인다 */
.ask-float input::placeholder, .ask-float textarea::placeholder { color: transparent; transition: color .2s; }
.ask-float input:focus::placeholder, .ask-float textarea:focus::placeholder { color: #A39DAA; }
.ask-float [aria-invalid="true"] + label { color: #B4233F; }
/* 선택 상자: 라벨은 늘 위, 값은 아래 */
.ask-select select { height: 62px; padding-right: 48px; }
.ask-select label { z-index: 2; }
.ask-select { position: relative; }
@media (max-width: 560px) {
    .ask-field:has(.ask-select) legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .ask-field { margin-bottom: 20px; }
    .ask-grid { gap: 12px; margin-bottom: 12px; }
    .ask-seg { gap: 8px; }
    .ask-seg span { height: 50px; }
}

/* ===== 모바일 정리 (폰 폭 767px 이하) ===== */
@media (max-width: 767px) {
    .is-sub .subBannerBox { height: 170px; }
    .is-sub .subBannerBoxTitle { font-size: 26px; }
    .pg-intro__title, .pm-hero__title, .ab-intro__title, .hist__title, .proc__title { font-size: 25px; line-height: 1.35; }
    .pg-cta__title, .ab-cta__title { font-size: 20px; }
    .pg-intro__body p, .pm-hero__lead, .ab-intro__text, .proc__lead { font-size: 15.5px; }
    .ab-intro__text p:first-child { font-size: 16.5px; }

    /* 사업분야: 사례 2열 */
    .pg-cases__grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
    .pg-case__title { margin-top: 10px; font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .pg-case__date { font-size: 12.5px; }
    .pg-list__title { font-size: 16px; }

    /* 회사소개: 가치 2x2 (설명 숨김), 사업분야 줄은 사진 먼저 */
    .ab-values__list { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
    .ab-values__list strong { font-size: 17px; }
    .ab-values__list span { display: none; }
    .ab-biz__row { gap: 14px; padding: 28px 0; }
    .ab-biz__img { order: -1; aspect-ratio: 16 / 9; }
    .ab-biz__title { font-size: 19px; }
    .ab-biz__title span { margin-bottom: 4px; font-size: 13px; }
    .ab-biz__list li { font-size: 14.5px; line-height: 1.85; }

    .hist__org { font-size: 18px; }
    .hist__item ul li { font-size: 14.5px; }
    .proc__list strong { font-size: 17px; }
    .proc__list p { font-size: 14.5px; }

    /* 프로멘토: 표지는 아래 뷰어와 겹쳐 숨김, 4단계·조선 멘토단은 옆으로 넘기기 */
    .pm-hero__cover { display: none; }
    .pm-stats strong { font-size: 30px; }
    .pm-stats span { font-size: 13px; }
    .pm-steps__list, .pm-ship__grid {
        display: grid; grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; gap: 10px;
        margin-inline: -20px; padding: 0 20px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none;
    }
    .pm-steps__list::-webkit-scrollbar, .pm-ship__grid::-webkit-scrollbar { display: none; }
    .pm-steps__list > li, .pm-ship__col { scroll-snap-align: start; }
    .pm-steps__list > li { padding: 24px 22px; }
    .pm-steps__list h3 { font-size: 18px; }
    .pm-steps__list ul li { font-size: 14.5px; }
    .pm-ship__col li { padding: 12px 18px; }
    .pm-ship__col h3 { padding: 16px 18px; font-size: 16px; }
    .pm-ship__note { font-size: 14px; }
    .pm-vs__after strong { font-size: 16.5px; }
    .pm-vs__after span { font-size: 14px; }

    .bd-card__title { font-size: 15px; }
    .post-title { font-size: 24px; }
}
@media (max-width: 767px) {
    .bd-cards, .bd-cards[class] { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
    .bd-card__cate { margin-top: 12px; font-size: 12.5px; }
    .bd-card__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .bd-card__date { margin-top: 6px; font-size: 12.5px; }
    .bd-title { font-size: 24px; }
    .ask-steps { display: none; }
    .ask-title { font-size: 22px; }
    .ask-tel { margin-top: 20px; padding-top: 18px; }
    .ask-tel a { font-size: 22px; }
    .ask { gap: 28px; }
}

.ask-agree__tail { font-style: normal; }
.ask-agree em { white-space: nowrap; }
@media (max-width: 767px) { .ask-agree__tail { display: none; } }   /* 모바일에서 두 줄이 되지 않게 */
/* 모바일 CTA: 제목 아래 버튼을 가운데, 폭을 넓게 */
@media (max-width: 767px) {
    .pg-cta, .ab-cta { align-items: stretch; gap: 20px; }
    .pg-cta .btn, .ab-cta .btn { align-self: center; width: 100%; max-width: 360px; height: 54px; }
}
@media (max-width: 767px) { .pg-cta__title, .ab-cta__title { text-align: center; } }
/* 오시는 길 모바일: 지도 → 길찾기 → 주소·연락처 */
@media (max-width: 767px) {
    .loc { gap: 0; }
    .loc__info { display: contents; }
    .loc__map { order: 1; }
    .loc__nav { order: 2; margin-top: 14px; }
    .loc__nav-title { display: none; }
    .loc__nav-btns { margin-top: 0; }
    .loc__list { order: 3; margin-top: 28px; }
}
@media (max-width: 767px) {
    .loc__list > div { grid-template-columns: 72px 1fr; gap: 10px; padding: 16px 0; }
    .loc__list dt { font-size: 14px; }
    .loc__list dd { font-size: 15px; }
}
