#wrap { position: relative; overflow: clip; }
.w_custom { position: relative; width: calc(100% - 60px); max-width: 1500px; margin-inline: auto; }
main { position: relative; }
#container { padding-block: var(--row-gap140); }
#container:has(.site-main) { padding: 0; }
#container:has(.full-sec) { width: 100%; max-width: 100%; }
#container:has(.pd-dn) { padding-bottom: 0; }

/* body::-webkit-scrollbar {display: none; } */
body [class*="swiper-button"]:after { display: none; }
.link { position: absolute; inset: 0; z-index: 5; }
.blind { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-main { display: block; }
:where(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--point-color04); outline-offset: 3px; }
.ofc { overflow: hidden; }
.ofc img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.dragscroll { scrollbar-gutter: stable; }
.dragscroll::-webkit-scrollbar { width: clamp(3px, 0.6vw, 4px); }
.dragscroll::-webkit-scrollbar-track { background: #eee; border-radius: 10px; }
.dragscroll::-webkit-scrollbar-thumb { background: #aaa; border-radius: 10px; }
.bullet_list { display: flex; flex-direction: column; gap: 8px; }
.bullet_list li { display: flex; align-items: flex-start; gap: clamp(8px, 1vw, 12px); font-size: var(--text-18); font-weight: 400; line-height: 1.5; color: var(--black-color03); font-family: var(--font-type02); text-align: left; }
.bullet_list li:before { width: 4px; content: ""; aspect-ratio: auto 1; box-sizing: border-box; border-radius: 100%; background: var(--black-color08); translate: 0 clamp(8px, 0.9vw, 12px); flex-shrink: 0; }
.bullet_list li p { font-size: inherit; color: inherit; }
.bullet_list li>strong { font-weight: 600; }

@media (max-width:1600px) {
    br.for_pc { display: none; }
}

@media (max-width:1023px) {
    br.for_tm { display: none; }
}

@media (max-width:860px) {
    .w_custom { width: calc(100% - 30px); }
}

@media (max-width:320px) {
    .w_custom { width: calc(100% - 20px); }
}

/* ======================================== 빠른 상담문의 (Quick Inquiry) ======================================== */
#dbQuickInquiry { display: none; }

/* ── 공통 ── */
.db-qi-header { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; }
.db-qi-title { font-size: 1rem; font-weight: 700; color: var(--qi-text, #fff); }
.db-qi-close { background: none; border: none; color: var(--qi-text, #fff); font-size: 1.5rem; cursor: pointer; opacity: 0.7; line-height: 1; }
.db-qi-close:hover { opacity: 1; }
.db-qi-input { display: block; width: 100%; padding: 0.5rem 0.75rem; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 0.375rem; background: rgba(255, 255, 255, 0.15); color: var(--qi-text, #fff); font-size: 0.875rem; outline: none; transition: border-color 0.2s; }
.db-qi-input::placeholder { color: rgba(255, 255, 255, 0.6); }
.db-qi-input:focus { border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.25); }
.db-qi-privacy { display: flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; color: var(--qi-text, #fff); opacity: 0.85; cursor: pointer; flex-shrink: 0; }
.db-qi-privacy input[type="checkbox"] { width: 14px; height: 14px; flex-shrink: 0; }
.db-qi-privacy-link { color: var(--qi-text, #fff); text-decoration: underline; opacity: 0.8; margin-left: 0.25rem; }
.db-qi-privacy-link:hover { opacity: 1; }
.db-qi-btn { padding: 0.5rem 1.5rem; background: rgba(255, 255, 255, 0.95); color: var(--qi-bg, #1e40af); border: none; border-radius: 0.375rem; font-weight: 700; font-size: 0.875rem; cursor: pointer; transition: background 0.2s; white-space: nowrap; flex-shrink: 0; }
.db-qi-btn:hover { background: #fff; }
.db-qi-msg { text-align: center; font-size: 0.8rem; padding: 0.5rem; color: var(--qi-text, #fff); }
.db-qi-form { display: flex; flex-direction: column; gap: 0.5rem; padding: 0 1rem 1rem; }

/* ── 하단 고정 바 ── */
.db-qi-bottom { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9980; }
.db-qi-bottom-tab { display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; padding: 0.75rem; background: var(--qi-bg, #1e40af); color: var(--qi-text, #fff); border: none; cursor: pointer; font-size: 0.9rem; font-weight: 600; }
.db-qi-bottom-tab:hover { filter: brightness(1.1); }
.db-qi-bottom-panel { background: var(--qi-bg, #1e40af); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.db-qi-bottom-inner { max-width: 1200px; margin: 0 auto; }
.db-qi-form-row { flex-direction: row !important; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.db-qi-form-row .db-qi-input { width: auto; flex: 1 1 150px; min-width: 120px; }

/* 캡차 영역 */
.db-qi-captcha { flex: 0 0 auto; display: flex; align-items: center; }
.db-qi-captcha img { height: 40px !important; border-radius: 6px; }
.db-qi-captcha input[name="captcha_answer"] { height: 40px; padding: 0 10px; border: 1px solid #d1d5db; border-radius: 6px; width: 110px; font-size: 13px; color: #111; background: #fff; }

@media (max-width: 768px) {
    .db-qi-captcha { width: 100%; justify-content: flex-start; }
}

/* ── 우측 패널 ── */
.db-qi-right { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 9980; display: flex; align-items: flex-start; }
.db-qi-right-tab { writing-mode: vertical-rl; text-orientation: mixed; padding: 1rem 0.5rem; background: var(--qi-bg, #1e40af); color: var(--qi-text, #fff); border: none; border-radius: 0.5rem 0 0 0.5rem; cursor: pointer; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; }
.db-qi-right-tab:hover { filter: brightness(1.1); }
.db-qi-right-panel { display: none; width: 280px; background: var(--qi-bg, #1e40af); border-radius: 0.5rem 0 0 0.5rem; box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15); }

/* ── 반응형 ── */

@media (max-width: 768px) {
    .db-qi-form-row { flex-direction: column !important; }
    .db-qi-form-row .db-qi-input { width: 100%; flex: none; }
    .db-qi-right { right: 0; top: auto; bottom: 0; transform: none; left: 0; flex-direction: column; }
    .db-qi-right-tab { writing-mode: horizontal-tb; text-orientation: initial; border-radius: 0; width: 100%; text-align: center; }
    .db-qi-right-panel { width: 100%; border-radius: 0; }
}

/*──────────────────────────────────────────────────── Header ────────────────────────────────────────────────────*/
#header { position: fixed; height: var(--header-h); top: 0; z-index: 100; width: 100%; transition: all 0.3s; }
body:has(.sub_visual) #header { position: sticky; background: var(--point-white); }
#header .w_custom { height: 100%; max-width: 1800px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
#header .hd_left { display: flex; align-items: center; gap: 15px; height: 100%; }
#header .logo { height: 100%; display: flex; align-items: center; flex-shrink: 0; }
#header .logo a { display: flex; align-items: center; height: 100%; padding-block: 10px; }
#header .logo a img { height: clamp(44px, 5vw, 65px); }
#header .logo .kolas { display: flex; align-items: center; height: clamp(30px, 2.5vw, 40px); }
#header .logo .kolas:before { width: 1px; height: clamp(10px, 1.4vw, 14px); content: ""; background: var(--border-color01); margin-inline: clamp(10px, 1.5vw, 20px); display: inline-block; }
#header .gnb { display: flex; justify-content: center; height: 100%; text-align: center; }
#header .gnb>li { position: relative; font-size: var(--text-20); font-weight: 600; color: var(--black-color03); line-height: 1.4; letter-spacing: 0; transition: all 0.4s; }
#header .gnb>li>a { display: flex; align-items: center; justify-content: center; height: 100%; position: relative; padding-inline: clamp(20px, 1.5vw, 40px); }
#header .gnb>li.on>a { color: var(--point-color01); }
#header .gnb .dep02 { position: absolute; top: 100%; left: 0; width: 100%; padding-block: var(--row-gap20); opacity: 0; pointer-events: none; transition: inherit; background: var(--point-white); box-shadow: var(--shadow-01); }
#header .gnb>li:first-child .dep02::before { position: absolute; content: ''; width: 200vw; height: var(--dep02-height); background: var(--point-white); top: 0; left: 50%; translate: -50%; box-shadow: 0 -1px var(--border-color01), 5px 5px 5px rgba(0, 0, 0, 0.1); z-index: -1; }
#header .gnb .dep02>li { font-size: var(--text-17); transition: inherit; color: var(--black-color03); font-weight: 400; }
#header .gnb .dep02>li>a { display: block; padding: 8px 15px; }
#header .gnb .dep03 { display: none; }
#header .utility { position: relative; display: flex; align-items: center; gap: var(--row-gap30); flex-shrink: 0; }
#header .utility .btn_box { display: flex; gap: var(--row-gap20); align-items: center; }
#header .utility .btn_box a { display: inline-flex; align-items: center; justify-content: center; gap: var(--row-gap10); padding-inline: clamp(10px, 1.2vw, 24px); height: clamp(40px, 4.5vw, 48px); border: 1px solid var(--point-color02); font-size: var(--text-20); color: var(--point-color02); font-weight: 600; background: var(--point-white); }
#header .utility .btn_box a img { width: clamp(12px, 1.4vw, 16px); }
#header .utility .btn_box :is(.hd_tel, .hd_mail) { background: var(--point-color02); }
#header .utility .btn_box :is(.hd_tel, .hd_mail) :is(span, img) { filter: var(--filter-white); }
#header .allCate { display: flex; flex-direction: column; align-items: center; justify-content: center; width: clamp(20px, 2.4vw, 27px); aspect-ratio: auto 1; }

/*on*/
#header.on { box-shadow: inset 0 -1px 0 var(--border-color01); background: var(--point-white); }

/* hover */

@media (hover:hover) and (pointer: fine) {
    #header:hover { box-shadow: inset 0 -1px 0 var(--border-color01); background: var(--point-white); }
    #header .gnb>li:hover { color: var(--point-color01); }
    #header .gnb>li:hover>a { color: var(--point-color01); }
    #header .gnb>li:hover .dep02 { opacity: 1; pointer-events: all; }
    #header .gnb .dep02>li:hover { color: var(--point-color02); text-decoration: underline; font-weight: 600; }
}

@media (max-width:1750px) {
    #header .gnb { display: none; }
    #header .gnb>li { font-size: var(--text-17); }
}

@media (max-width:1500px) {
    #header .utility .btn_box a { font-size: var(--text-17); }
}

@media (max-width:1400px) {
    #header .gnb>li { font-size: var(--text-15); }
    #header .utility { gap: var(--row-gap20); }
    #header .utility .btn_box a { border: none; background: none; padding: 0; height: auto; width: clamp(20px, 2.4vw, 27px); }
    #header .utility .btn_box a span { display: none; }
    #header .utility :is(.hd_tel, .hd_mail) img { filter: none; }
    #header .utility .btn_box a img { height: 100%; width: auto; }
    #header .utility .btn_box :is(.hd_tel, .hd_mail) { background: none; }
    #header .utility .btn_box :is(.hd_tel, .hd_mail) :is(span, img) { filter: none; }
}

@media (max-width:1023px) {
}

@media (max-width:375px) {
    #header .utility .btn_box { display: none; }
}

/*─────────────────────────────────────────────────────────── Aside ───────────────────────────────────────────────────────────*/
#aside { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 999; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); display: flex; flex-direction: column; overflow: hidden; overflow-y: auto; padding-block: 10vh; box-sizing: border-box; opacity: 0; transition: all 0.6s; clip-path: inset(0 0 100% 0); }
#aside.on { opacity: 1; clip-path: inset(0); }
body:has(#aside.on) { overflow: clip; touch-action: none; }
#aside .w_custom { flex-shrink: 0; max-width: 1800px; min-height: 100%; display: flex; align-items: center; }
#aside .gnb { width: 100%; display: grid; align-items: start; justify-content: center; grid: auto / repeat(5, 1fr); gap: clamp(15px, 2.2vw, 40px); }
#aside .gnb>li { color: var(--black-color01); font-size: var(--text-20); text-align: center; }

@media (min-width:861px) {
    #aside .gnb>li { opacity: 0; translate: 0 100px; transition: all 0.8s 0.3s; }
    #aside.on .gnb>li { opacity: 1; translate: 0; }
    #aside.on .gnb>li:nth-child(2) { transition-delay: 0.4s; }
    #aside.on .gnb>li:nth-child(3) { transition-delay: 0.5s; }
    #aside.on .gnb>li:nth-child(4) { transition-delay: 0.6s; }
    #aside.on .gnb>li:nth-child(5) { transition-delay: 0.7s; }
    #aside.on .gnb>li:nth-child(6) { transition-delay: 0.8s; }
}

#aside .gnb>li>a { position: relative; display: block; font-size: var(--text-40); font-weight: 700; line-height: 1.4; padding-block: 30px; transition: all 0.4s; letter-spacing: 0; }
#aside .gnb>li>a:before { position: absolute; content: ''; top: 0; left: 50%; translate: -50%; width: 12px; height: 0; opacity: 0; border-radius: 100%; background: var(--point-color01); transition: all 0.3s; }
#aside .gnb .dep02 { position: relative; }
#aside .gnb .dep02>li>a { display: block; font-weight: 400; padding-block: clamp(7px, 1.7vw, 13px); color: var(--black-color06); line-height: 1.6; transition: all 0.4s; }
#aside .gnb .dep03 { display: none; }
#aside .utility { position: absolute; top: clamp(30px, 2.8vw, 50px); right: clamp(30px, 2.8vw, 50px); display: flex; align-items: center; gap: clamp(15px, 1.6vw, 30px); z-index: 2; }
#aside .close_btn { position: relative; width: clamp(30px, 4vw, 40px); aspect-ratio: auto 1; z-index: 9; }
#aside .close_btn span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(45deg); width: 100%; height: 2px; background: var(--black-color01); }
#aside .close_btn span+span { transform: translate(-50%, -50%) rotate(-45deg); }

/* over */

@media (hover:hover) and (pointer:fine) {
    #aside .gnb>li:hover>a { color: var(--point-color01); }
    #aside .gnb>li:hover>a:before { height: 12px; opacity: 1; }
    #aside .gnb .dep02>li:hover a { color: var(--point-color01); }
}

@media (max-width:1300px) {
    #aside .gnb { grid: auto / repeat(3, 1fr); }
}

@media (max-width:1023px) {
    #aside { padding-block: clamp(80px, 12vw, 120px); }
}

@media (max-width:860px) {
    #aside { display: block; }
    #aside .w_custom { align-items: flex-start; }
    #aside .gnb { grid-template: auto / repeat(1, 1fr); gap: 0; }
    #aside .gnb>li { padding-block: clamp(20px, 3vw, 25px); text-align: left; border-bottom: 1px solid rgba(0, 0, 0, 0.15); }
    #aside .gnb>li>a { padding-block: 0; }
    #aside .gnb>li>a:before { display: none; }
    #aside .gnb .dep02 { display: grid; gap: 0 20px; grid-template: auto / repeat(2, 1fr); margin-top: clamp(10px, 1.8vw, 15px); justify-content: flex-start; }
    #aside .utility { top: 15px; right: 15px; }
}

@media (max-width:479px) {
    #aside .gnb .dep02 { grid-template: auto / repeat(1, 1fr); }
}

/*─────────────────────────────────────────────────────────── Main ───────────────────────────────────────────────────────────*/

/*visual*/
.main_visual { position: relative; }
.visualSwiper { position: relative; background: var(--black-color01); }
.visualSwiper .swiper-slide { position: relative; height: auto; min-height: clamp(400px, 96vw, 960px); overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.visualSwiper .thumb { position: absolute; inset: 0; overflow: hidden; scale: 1; transition: all 6s; width: 100%; height: 100%; }
.visualSwiper .swiper-slide-active .thumb { scale: 1.1; }
.visualSwiper .title { display: flex; flex-direction: column; gap: var(--row-gap30); text-align: left; align-items: flex-start; translate: 0 -36%; }
.visualSwiper .title span { font-size: var(--text-18); color: var(--point-white); font-weight: 600; line-height: 1.2; background: var(--point-color02); padding: clamp(6px, 1vw, 10px) clamp(8px, 1.3vw, 16px); }
.visualSwiper .title h3 { font-size: var(--text-60); color: var(--black-color01); font-weight: 700; letter-spacing: -0.04em; line-height: 1.4; }
.visualSwiper .title h3 strong { color: var(--point-color02); font-weight: 700; }
.visualSwiper .title p { font-size: var(--text-20); color: var(--black-color03); font-weight: 400; }
.visualSwiper .txt-ani { opacity: 0; translate: 0 70px; }
.visualSwiper .swiper-slide-active .txt-ani { opacity: 1; translate: 0; transition: all 1.2s 0.2s; }
.visualSwiper .swiper-slide-active .txt-ani:nth-child(2) { transition-delay: 0.4s; }
.visualSwiper .swiper-slide-active .txt-ani:nth-child(3) { transition-delay: 0.7s; }
.visualSwiper .controller { position: absolute; left: 50%; translate: -50%; bottom: 37%; display: flex; align-items: center; gap: var(--row-gap30); z-index: 3; }
.visualSwiper [class*="swiper-button"] { position: relative; inset: auto; margin: 0; display: flex; align-items: center; justify-content: center; transition: all 0.4s; }
.visualSwiper [class*="swiper-button"].swiper-button-next { scale: -1 -1; }
.visualSwiper [class*="swiper-button"]::before { display: inline-flex; content: ''; width: clamp(9px, 1.2vw, 12px); aspect-ratio: auto 1; border: 2px solid var(--black-color03); rotate: 135deg; clip-path: var(--clip-poly02); border-radius: 2px; translate: 4px; }
.visualSwiper [class*="swiper-button"].play-btn { gap: 4px; }
.visualSwiper [class*="swiper-button"].play-btn::before,
.visualSwiper [class*="swiper-button"].play-btn::after { display: inline-flex; content: ''; width: 3px; height: clamp(10px, 1.4vw, 12px); background: var(--black-color03); border: 0; rotate: none; clip-path: none; translate: 0; border-radius: 10px; aspect-ratio: unset; }
.visualSwiper [class*="swiper-button"].play-btn.paused::before { width: clamp(10px, 1.4vw, 12px); height: auto; aspect-ratio: auto 1.3; border-radius: 0; clip-path: var(--clip-poly01); rotate: -90deg; translate: 2px; }
.visualSwiper [class*="swiper-button"].play-btn.paused::after { display: none; }
#wrap .visualSwiper .swiper-pagination-num { width: auto; display: flex; align-items: center; font-size: var(--text-18); color: rgba(17, 17, 17, 0.60); font-weight: 400; font-family: var(--font-type02); }
#wrap .visualSwiper .swiper-pagination-num strong { color: var(--black-color01); font-weight: 500; display: flex; align-items: center; }
#wrap .visualSwiper .swiper-pagination-num strong:after { width: clamp(2px, 0.4vw, 4px); aspect-ratio: auto 1; content: ""; background: var(--black-color10); display: inline-block; margin-inline: var(--row-gap20); }
.main_visual .vis_ico { position: absolute; left: 50%; background: var(--point-white); box-shadow: var(--shadow-02); bottom: clamp(40px, 7vw, 120px); z-index: 3; translate: -50%; }
.main_visual .vis_ico>ul { display: grid; grid: auto / repeat(4, 1fr); align-items: center; }
.main_visual .vis_ico li { position: relative; }
.main_visual .vis_ico li+li:before { width: 1px; height: clamp(30px, 6vw, 60px); content: ""; background: var(--border-color03); position: absolute; left: 0; top: 50%; translate: 0 -50%; }
.main_visual .vis_ico li a { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 24px); padding: var(--row-gap30); }
.main_visual .vis_ico li .ico { position: relative; display: flex; align-items: center; justify-content: center; width: clamp(50px, 7vw, 70px); aspect-ratio: auto 1; background: var(--gray-bg05); transition: all 0.3s; flex-shrink: 0; }
.main_visual .vis_ico li .ico .ov { display: none; }
.main_visual .vis_ico li :is(dl, .shortcut-text) { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(4px, 0.8vw, 8px); font-size: var(--text-18); color: var(--black-color05); font-weight: 400; }
.main_visual .vis_ico li :is(dt, .shortcut-text strong) { font-size: var(--text-22); color: var(--black-color03); font-weight: 600; line-height: 1.2; }

/* over */

@media (hover:hover) and (pointer:fine) {
    .main_visual .vis_ico li:hover .ico { background: var(--point-color01); }
    .main_visual .vis_ico li:hover .ico .ov { display: block; }
    .main_visual .vis_ico li:hover .ico .img { display: none; }
}

@media (max-width:1023px) {
    .main_visual .vis_ico>ul { align-items: start; }
    .main_visual .vis_ico li a { flex-direction: column; align-items: flex-start; }
}

@media (max-width:860px) {
    .visualSwiper .swiper-slide { justify-content: flex-start; padding-top: 12vw; }
    .visualSwiper .title { translate: 0; }
    .visualSwiper .controller { bottom: 45%; }
    .main_visual .vis_ico>ul { grid: auto / repeat(2, 1fr); }
    .main_visual .vis_ico li:nth-child(2n+1):before { display: none; }
    .main_visual .vis_ico li a { align-items: center; flex-direction: row; }
    .main_visual .vis_ico .ico img { max-width: 70%; }
}

@media (max-width:640px) {
    .visualSwiper .swiper-slide { padding-top: 16vw; height: 112vw; }
    .visualSwiper .controller { bottom: 40%; }
}

@media (max-width:479px) {
    .visualSwiper .swiper-slide { padding-top: 21vw; height: 155vw; }
    .visualSwiper .title { translate: 0 -15%; }
    .visualSwiper .controller { bottom: 56%; }
    .main_visual .vis_ico>ul { grid: auto / repeat(1, 1fr); }
    #wrap .main_visual .vis_ico li:before { display: none; }
}

@media (max-width:420px) {
    .visualSwiper .swiper-slide { height: 185vw; padding-top: 27vw; }
}

@media (max-width:375px) {
    .visualSwiper .swiper-slide { height: 700px; padding-top: 105px; }
    .visualSwiper .title h3 { font-size: var(--text-40); }
    .visualSwiper .controller { bottom: 58%; }
}

/*공통*/
.main_content { padding-block: var(--row-gap120) var(--row-gap100); }
.main_title { display: flex; flex-direction: column; gap: var(--row-gap20); align-items: flex-start; text-align: left; }
.main_title h3 { font-size: var(--text-48); color: var(--black-color01); font-weight: 700; }
.main_title h3 strong { color: var(--point-color02); font-weight: 700; }
.main_title p { font-size: var(--text-20); color: var(--black-color03); font-weight: 400; line-height: 1.6; }
.main_arw { position: relative; width: 16px; aspect-ratio: auto 1; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.3s; }
.main_arw:before { content: ""; width: 7px; aspect-ratio: auto 1; border: 2px solid var(--black-color01); border-width: 1px 1px 0 0; rotate: 45deg; display: inline-block; }
.main_arw:after { content: ""; width: 13px; height: 1px; background: var(--black-color01); translate: -65%; left: 50%; position: absolute; top: 47%; }
.bullet-list { display: flex; flex-direction: column; gap: var(--row-gap10); }
.bullet-list li { display: flex; align-items: flex-start; font-size: var(--text-18); color: var(--black-color03); font-weight: 400; gap: var(--row-gap10); }
.bullet-list li:before { width: 3px; aspect-ratio: auto 1; background: var(--point-color02); content: ""; display: inline-block; flex-shrink: 0; translate: 0 clamp(8px, 1vw, 12px); }

/* service */
.service_list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--row-gap20); }
.service_list .item { background: var(--gray-bg05); padding: var(--row-gap40); display: flex; flex-direction: column; gap: clamp(12px, 2.2vw, 24px); transition: all 0.3s; }
.service_list .title_box { display: flex; flex-direction: column; align-items: flex-start; gap: var(--row-gap10); }
.service_list .title_box .ico { width: clamp(50px, 6vw, 60px); aspect-ratio: auto 1; margin-bottom: var(--row-gap20); }
.service_list .title_box .ico .ov { display: none; }
.service_list .title_box h4 { font-size: var(--text-24); color: var(--black-color01); font-weight: 600; transition: all 0.3s; }
.service_list .title_box span { font-family: var(--font-type02); font-size: var(--text-18); color: var(--black-color08); font-weight: 400; line-height: 1.6; transition: all 0.3s; }
.service_list .bullet-list { padding-top: clamp(12px, 2.2vw, 24px); border-top: 1px solid var(--border-color01); }
.service_list .bullet-list a { display: flex; align-items: center; justify-content: space-between; gap: var(--row-gap10); width: 100%; }
.service_list .main_arw { opacity: 0; pointer-events: none; }
.service_list .main_arw:before { border-color: var(--point-color04); }
.service_list .main_arw:after { background: var(--point-color04); }

/*over*/

@media (hover:hover) and (pointer:fine) {
    .service_list .item:hover { background: var(--point-color02); }
    .service_list .item:hover .title_box .ico .ov { display: block; }
    .service_list .item:hover .title_box .ico .img { display: none; }
    .service_list .item:hover .title_box h4 { color: var(--point-white); }
    .service_list .item:hover .title_box span { color: rgba(255, 255, 255, 0.6); }
    .service_list .item .bullet-list li:hover .main_arw { opacity: 1; pointer-events: auto; }
    .service_list .item:hover .bullet-list li { color: var(--point-white); }
    .service_list .item:hover .bullet-list li:before { background: var(--point-color04); }
}

@media (max-width:1023px) {
    .service_list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width:640px) {
    .service_list { grid-template-columns: 1fr; }
}

/* case */
.main_case { padding-top: var(--row-gap20); }
.main_case_content { position: relative; min-height: clamp(360px, 36vw, 520px); display: flex; align-items: center; }
.main_case_panel { position: relative; padding: clamp(70px, 7.2vw, 100px) 0; display: flex; flex-direction: column; justify-content: center; gap: clamp(70px, 8vw, 120px); flex-shrink: 0; }
.main_case_panel:before { content: ""; width: 35.4167vw; min-width: 420px; max-width: 680px; min-height: clamp(360px, 36vw, 520px); background: var(--point-color01); position: absolute; top: 50%; left: -210px; translate: 0 -50%; }
.main_case_panel p { display: flex; flex-direction: column; font-family: var(--font-type02); font-size: var(--text-54); color: var(--point-white); font-weight: 700; line-height: 1.2; position: relative; padding-top: var(--row-gap30); }
.main_case_panel p:before { width: 8px; content: ""; aspect-ratio: auto 1; background: var(--point-color04); display: block; position: absolute; top: -8px; left: 0; }
.main_case_panel p strong { color: var(--point-color04); font-weight: 700; }
.main_case_controls { display: flex; align-items: center; gap: var(--row-gap30); }
.main_case_controls :is(button, a) { position: relative; width: 16px; aspect-ratio: auto 1; display: flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--point-white); }
.main_case_controls .swipe_arw::before { content: ""; width: 9px; aspect-ratio: auto 1; border: 1px solid var(--point-white); border-width: 1px 1px 0 0; display: block; rotate: -135deg; }
.case_button_next { scale: -1 -1; }
.case_button_play {    &::before,
    &::after { content: ""; width: 2px; height: 12px; background: var(--point-white); display: block; border-radius: 2px; }
 }
.case_button_play { gap: 4px; }
.case_button_play.paused::before { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--point-white); background: transparent; border-radius: 0; }
.case_button_play.paused::after { display: none; }
.case_more {    &::before,
    &::after { content: ""; position: absolute; background: var(--point-white); }
 }
.case_more::before { width: 16px; height: 2px; }
.case_more::after { width: 2px; height: 16px; }
.caseSwiper { position: absolute; left: 26.5%; right: 0; width: auto; overflow: hidden; padding-block: var(--row-gap40); }
.caseSwiper .swiper-slide { width: 380px; height: auto; background: var(--point-white); box-shadow: var(--shadow-03); }
.case_card { height: 400px; padding: var(--row-gap40); display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.case_card:before { width: 100%; height: 100%; content: ""; border: 2px solid var(--point-color03); position: absolute; top: 0; left: 0; opacity: 0; pointer-events: none; transition: all 0.3s; }
.case_card .info { display: flex; flex-direction: column; align-items: flex-start; gap: var(--row-gap20); }

/* 카테고리/말머리 뱃지 공용 — 메인 케이스 카드(.case_card_category), 게시판 말머리 탭(.bl-prefix-tab), 게시글 상세 제목의 태그(.bbs_view .view_tit h4 .tag)가 같은 모양을 쓴다. 여기가 단일 출처이므로 색·크기를 바꾸려면 이 규칙만 고치면 된다. (#wrap 이 붙은 선택자는 특이도가 높아, 뒤쪽 게시판 규칙에는 구조 속성만 남겨 두었다) */
.case_card_category,
#wrap .bl-prefix-tab,
#wrap .bbs_view .view_tit h4 .tag { border: 1px solid var(--point-color03); background: var(--point-white); padding: 7px 14px; font-size: var(--text-16); color: var(--point-color03); font-weight: 600; line-height: 1; }
.case_card_title { display: block; margin-top: var(--row-gap10); font-size: var(--text-26); color: var(--black-color03); font-weight: 600; line-height: 1.5; letter-spacing: -0.04em; text-overflow: ellipsis; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.case_card time { font-family: var(--font-type02); font-size: var(--text-17); color: var(--black-color08); }
.case_card_more { border-top: 1px solid var(--border-color01); padding-top: 30px; display: flex; align-items: center; justify-content: space-between; font-size: var(--text-18); color: var(--black-color08); font-weight: 600; letter-spacing: -0.04em; }
.case_card_more .main_arw:before { border-color: var(--black-color08); }
.case_card_more .main_arw:after { background: var(--black-color08); }

/*over*/

@media (hover:hover) and (pointer:fine) {
    .case_card:hover:before { opacity: 1; }
    .case_card:hover .case_card_category { background: var(--point-color03); color: var(--point-white); }
    .case_card:hover .case_card_more { color: var(--point-color03); }
    .case_card:hover .case_card_more .main_arw:before { border-color: var(--point-color03); }
    .case_card:hover .case_card_more .main_arw:after { background: var(--point-color03); }
}

@media (max-width:1700px) {
    .main_case_panel:before { left: -95px; width: 100%; }
}

@media (max-width:1280px) {
    .main_case_panel:before { min-width: 360px; }
    .caseSwiper { left: 390px; }
}

@media (max-width:860px) {
    .main_case_content { min-height: auto; display: block; position: relative; padding-block: var(--row-gap60); }
    .main_case_panel { padding-block: 0 40px; gap: var(--row-gap50); flex-direction: row; justify-content: space-between; align-items: flex-start; position: static; }
    .main_case_panel:before { max-width: initial; left: -30px; width: calc(100% + 60px); height: 100%; min-height: initial; }
    .main_case_panel p { flex-direction: row; gap: 5px; padding-top: 5px; flex-shrink: 0; }
    .main_case_controls { padding-top: 25px; }
    .caseSwiper { position: relative; left: auto; right: auto; width: calc(100% - 15px); margin: -40px 0 0 auto; padding-bottom: 10px; }
    .caseSwiper .swiper-slide { width: clamp(250px, 44vw, 320px); }
    .case_card { height: 100%; gap: var(--row-gap80); }
}

@media (max-width:479px) {
    .main_case_controls { padding-top: 15px; }
    .caseSwiper { width: calc(100% - 20px); }
    .caseSwiper .swiper-slide { width: 65vw; }
}

/* support */
.main_support { padding-top: var(--row-gap20); }
.support_list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--row-gap120); }
.support_item { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: var(--row-gap20); }
.support_item+.support_item:before { width: 1px; height: 100%; content: ""; background: var(--border-color01); position: absolute; left: calc(var(--row-gap120) / 2 * -1); top: 0; }
.support_head { display: flex; align-items: center; gap: 18px; }
.support_ico { width: clamp(40px, 5vw, 50px); aspect-ratio: auto 1; background: var(--point-color03); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.support_account .support_ico { background: var(--point-color02); }
.support_center .support_ico { background: var(--point-color04); }
.support_head h4 { font-size: var(--text-26); color: var(--black-color01); font-weight: 600; letter-spacing: -0.04em; }
.support_item>p { font-size: var(--text-19); color: var(--black-color05); font-weight: 400; line-height: 1.8; letter-spacing: -0.04em; }
.support_btn { border: 1px solid var(--border-color01); padding: clamp(8px, 1vw, 12px) clamp(10px, 1.5vw, 24px); display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: var(--text-18); color: var(--black-color01); font-weight: 500; letter-spacing: -0.04em; transition: all 0.3s; }
.support_btn .main_arw:before { border-color: var(--black-color01); }
.support_btn .main_arw:after { background: var(--black-color01); }
.support_btn_wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
.account_info { display: flex; flex-direction: column; gap: 12px; }
.support_account .down_ico { width: 16px; filter: var(--filter-black); }
.account_info strong,
.center_contact strong { font-family: var(--font-type02); font-size: var(--text-28); color: var(--black-color00); font-weight: 500; letter-spacing: 0; }
.account_info p { display: flex; align-items: center; gap: clamp(10px, 1.2vw, 14px); font-size: var(--text-17); color: var(--black-color05); line-height: 1.2; }
.account_info p span+span { display: flex; align-items: center; gap: clamp(10px, 1.2vw, 14px); }
.account_info p span+span::before { width: 1px; height: clamp(6px, 1.2vw, 12px); background: var(--border-color01); content: ""; display: inline-block; }
.center_contact { display: flex; align-items: center; gap: clamp(10px, 1.2vw, 18px); flex-wrap: wrap; }
.center_contact>a { font-family: var(--font-type02); font-size: var(--text-19); color: var(--black-color03); line-height: 1.2; }
.center_time { background: var(--gray-bg05); padding: clamp(16px, 1.2vw, 24px); display: flex; flex-wrap: wrap; gap: clamp(4px, 1vw, 12px) clamp(6px, 1.2vw, 14px); }
.center_time dl { display: flex; align-items: center; gap: var(--row-gap10); font-size: var(--text-17); line-height: 1.2; letter-spacing: -0.03em; }
.center_time dl+dl::before { width: 1px; height: clamp(8px, 1vw, 12px); background: var(--border-color01); content: ""; display: inline-block; margin-right: 4px; }
.center_time dt { color: var(--black-color05); font-weight: 500; }
.center_time dd { color: var(--black-color03); opacity: 0.8; }
.center_time p { width: 100%; font-size: var(--text-16); color: var(--black-color08); line-height: 1.2; letter-spacing: -0.03em; }

@media (hover:hover) and (pointer:fine) {
    .support_btn:hover { border-color: var(--point-color03); color: var(--point-color03); }
    .support_account .support_btn:hover { border-color: var(--point-color02); color: var(--point-color02); }
    .support_btn:hover .main_arw:before { border-color: var(--point-color03); }
    .support_btn:hover .main_arw:after { background: var(--point-color03); }
    .support_btn:hover .down_ico { filter: none; }
}

@media (max-width:1400px) {
    .support_list { gap: var(--row-gap60); }
    .support_item+.support_item:before { left: calc(var(--row-gap60) / 2 * -1); }
    .center_time { flex-direction: column; }
    .center_time dl+dl::before { display: none; }
    .support_btn_wrap { grid-template-columns: 1fr; }
}

@media (max-width:1023px) {
    .support_list { grid-template-columns: 1fr; gap: var(--row-gap60); }
    .support_item { min-height: auto; }
    .support_item+.support_item:before { left: 0; top: calc(var(--row-gap60) / 2 * -1); width: 100%; height: 1px; }
}

/*─────────────────────────────────────────────────────────── Footer ───────────────────────────────────────────────────────────*/
#footer { background: var(--point-color06); }
#footer .ft_top_info { display: flex; align-items: center; justify-content: space-between; padding-block: var(--row-gap70) var(--row-gap40); }
#footer .logo { height: clamp(44px, 5vw, 65px); filter: var(--filter-white); }
#footer .logo img { height: auto; }
#footer .ft_menu { display: flex; align-items: center; gap: 0 var(--row-gap40); flex-wrap: wrap; }
#footer .ft_menu li a { font-size: var(--text-18); color: rgba(255, 255, 255, 0.8); font-weight: 400; line-height: 1.6; }
#footer .ft_menu li.policy a { color: var(--point-white); }
#footer .ft_info_box { padding-block: var(--row-gap40) var(--row-gap70); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.addr-list { display: flex; flex-direction: column; gap: clamp(4px, 0.6vw, 8px); }
.addr-list li { display: flex; flex-wrap: wrap; gap: clamp(4px, 0.6vw, 8px) clamp(20px, 4vw, 44px); }
.addr-list dl { display: flex; gap: clamp(10px, 1.2vw, 14px); font-size: var(--text-17); color: var(--point-white); font-weight: 300; line-height: 1.6; position: relative; }
.addr-list dl+dl:before { width: clamp(2px, 0.2vw, 4px); aspect-ratio: auto 1; content: ""; border-radius: 100%; background: rgba(255, 255, 255, 0.20); position: absolute; top: 50%; left: calc(clamp(20px, 4vw, 44px) / 2 * -1); translate: 0 -50%; }
.addr-list dt { font-weight: 400; flex-shrink: 0; }
.addr-list dd { opacity: 0.7; }
#footer .copy { margin-top: var(--row-gap30); font-size: var(--text-16); color: var(--point-white); font-weight: 300; line-height: 1.6; opacity: 0.4; font-family: var(--font-type02); }

@media (max-width:860px) {
    .addr-list dl+dl:before { display: none; }
}

@media (max-width:640px) {
    #footer .ft_top_info { flex-direction: column; align-items: flex-start; gap: var(--row-gap20); }
}

/* 퀵 */
.quick-list { position: fixed; left: 50%; bottom: clamp(15px, 5vw, 50px); translate: -50%; max-width: 1880px; display: flex; flex-direction: column; align-items: flex-end; gap: clamp(5px, 2vw, 10px); z-index: 50; opacity: 0; pointer-events: none; transition: all 0.4s; }
body:has(#header.on:not(.end)) .quick-list { opacity: 1; }
body:has(#header.on:not(.end)) .quick-list>li { pointer-events: all; }
.quick-list>li { position: relative; width: clamp(50px, 6vw, 60px); aspect-ratio: auto 1; background: var(--point-color03); box-shadow: var(--shadow-04); }
.quick-list>li a { display: flex; align-items: center; justify-content: center; }

@media (min-width:861px) {
    .quick-list { width: calc(100% - 80px); }
}

/*──────────────────────────────────────────────────────────── 서브 공통 ────────────────────────────────────────────────────────────*/

/*visual*/
.sub_visual { height: clamp(350px, 54vw, 540px); position: relative; }
.sub_visual .thumb { width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
.sub_visual .thumb:before { width: 100%; height: 100%; content: ""; background: rgba(0, 0, 0, 0.5); position: absolute; top: 0; left: 0; }
.sub_visual .sv_title { text-align: center; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--point-white); box-sizing: border-box; position: relative; z-index: 3; }
.sub_visual .sv_title h2 { font-size: var(--text-60); font-weight: 700; line-height: 1.4; }
.sub_nav { position: absolute; left: 0; bottom: 0; width: 100%; background: rgba(0, 0, 0, 0.4); z-index: 3; }
.sub_nav .w_custom { width: 100%; }
.sub_nav .desc { position: relative; display: flex; height: clamp(50px, 6vw, 60px); font-size: var(--text-18); font-weight: 400; }
.sub_nav .desc :where(dt, dd) { position: relative; height: 100%; box-sizing: border-box; border-left: 1px solid rgba(255, 255, 255, 0.2); }
.sub_nav .desc dt a { display: flex; width: clamp(49px, 6vw, 59px); height: 100%; align-items: center; justify-content: center; font-size: 0; padding: clamp(16px, 2vw, 21px); box-sizing: border-box; }
.sub_nav .desc dt a img { height: 19px; }
.sub_nav .desc dd:last-child { border-right: 1px solid rgba(255, 255, 255, 0.2); }
.sub_nav .desc dd span { position: relative; display: flex; align-items: center; height: 100%; padding: 0 clamp(50px, 6vw, 60px) 0 clamp(15px, 2vw, 23px); box-sizing: border-box; font-family: var(--font-type02); font-weight: 300; color: var(--point-white); min-width: clamp(260px, 26vw, 299px); line-height: 1.4; cursor: pointer; letter-spacing: -0.03em; }
.sub_nav .desc dd span:before { position: absolute; content: ''; width: 8px; aspect-ratio: auto 1; border: solid var(--point-white); border-width: 0 0 2px 2px; top: 46%; right: clamp(15px, 2vw, 26px); transform: translateY(-50%) rotate(-45deg); border-radius: 1px; transition: all 0.4s; }
.sub_nav .desc dd.on span:before { transform: translateY(-50%) rotate(135deg); top: 48%; }
.sub_nav .desc dd ul { position: absolute; top: calc(100% + 1px); left: 0; width: calc(100% + 2px); padding: 20px 0; background: var(--point-white); border: 1px solid var(--border-color01); box-sizing: border-box; opacity: 0; pointer-events: none; transition: all 0.4s; z-index: 10; }
.sub_nav .desc dd.on ul { opacity: 1; pointer-events: all; }
.sub_nav .desc dd ul li a { display: block; font-weight: 400; color: var(--black-color02); padding: 11px 24px; box-sizing: border-box; line-height: 1.4; }
.sub_nav .desc dd ul li.on a { color: var(--point-color01); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; font-weight: 500; }

@media screen and (max-width: 640px) {
    .sub_nav .desc dt { border-left: 0; }
    .sub_nav .desc dt a { width: 49px; }
    .sub_nav .desc { height: 50px; }
    .sub_nav .desc dd:not(:last-child) { display: none; }
    .sub_nav .desc dd { width: calc(100% - 49px); }
    .sub_nav .desc dd:last-child { border-right: 0; }
}

/*input*/
#wrap [type="checkbox"] { display: inline-flex; align-items: center; justify-content: center; width: clamp(22px, 3.1vw, 25px); aspect-ratio: auto 1; border: 1px solid var(--border-color01); flex-shrink: 0; cursor: pointer; appearance: none; }
#wrap [type="checkbox"]::before { display: inline-flex; content: ''; width: clamp(10px, 1.7vw, 12px); aspect-ratio: auto 1.33; background: url('/images/chk_icon.svg') no-repeat center / 100% auto; filter: var(--filter-black) opacity(0.2); }
#wrap [type="checkbox"]:checked { border-color: var(--point-color01); background: var(--point-color01); }
#wrap [type="checkbox"]:checked:before { filter: var(--filter-white); }
#wrap label:has([type="checkbox"]) { display: inline-flex; align-items: flex-start; gap: 10px; font-size: var(--text-18); font-weight: 500; color: var(--black-color03); line-height: clamp(22px, 3.1vw, 25px); cursor: pointer; }
#wrap label:has([type="checkbox"]) em { font-weight: 600; color: var(--point-red02); display: contents; }
#wrap :is(input[type="text"], input[type="password"], input[type="number"], input[type="date"], input[type="email"], input[type="tel"], textarea) { height: clamp(48px, 6vw, 60px); line-height: 1.5; width: 100%; border: 1px solid var(--border-color01); color: var(--black-color05); font-weight: 400; font-size: var(--text-18); font-family: var(--font-type02); padding: 0 clamp(10px, 2vw, 20px); text-indent: 0; margin: 0; box-sizing: border-box; vertical-align: middle; text-align: left; outline: 0; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; box-sizing: border-box; }
#wrap textarea { min-height: 250px; resize: none; padding: 20px; }
#wrap :is(input[type="text"], input[type="password"], input[type="number"], input[type="date"], input[type="email"], input[type="tel"], textarea)::placeholder { color: var(--black-color08); font-weight: 400; }
#wrap :is(input[type="text"], input[type="password"], input[type="number"], input[type="date"], input[type="email"], input[type="tel"], textarea):focus { background: var(--point-white); border-color: var(--point-color01); }

/*title*/
.page_title { text-align: center; font-size: var(--text-50); color: var(--black-color01); font-weight: 600; margin-bottom: var(--row-gap60); }

/* 서브페이지 공통 상단 타이틀(케이커+대제목) — 여러 템플릿에서 공용. h3 span 자리는 영문표기 대신 한 줄 짧은 설명으로도 사용 */
.page-title { display: flex; flex-direction: column; align-items: center; gap: var(--row-gap15); padding-bottom: var(--row-gap50); }
.page-title :is(h1, h3) { display: flex; align-items: center; flex-direction: column; gap: 14px; font-size: var(--text-60); color: var(--black-color01); font-weight: 700; letter-spacing: -0.03em; text-align: center; }
.page-title :is(h1, h3) span { font-size: var(--text-20); color: var(--black-color08); font-weight: 400; letter-spacing: -0.02em; line-height: 1.5; }
.at-kicker { display: flex; align-items: center; gap: 10px; font-size: var(--text-18); color: var(--point-color02); font-weight: 600; }
.at-kicker span { color: var(--black-color08); font-weight: 400; }
.at-kicker span:before { content: "/"; margin-right: 10px; color: var(--black-color10); }

/* === sub_btn === */
#wrap .view_btn { position: relative; margin-top: var(--row-gap60); text-align: center; }

/*─────────────────────────────────────────────────────────── Analysis Template (분석서비스 상세페이지 기본템플릿) ───────────────────────────────────────────────────────────*/

/* 브레드크럼 */
.at-breadcrumb { padding-block: var(--row-gap25); }
.at-breadcrumb ol { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: var(--text-15); color: var(--black-color08); }
.at-breadcrumb li { display: flex; align-items: center; gap: 6px; }
.at-breadcrumb li:not(:last-child):after { content: ""; width: 5px; aspect-ratio: auto 1; border: 1px solid var(--black-color10); border-width: 1px 1px 0 0; rotate: 45deg; display: inline-block; }
.at-breadcrumb a:hover { color: var(--point-color02); text-decoration: underline; }
.at-breadcrumb li[aria-current="page"] { color: var(--black-color03); font-weight: 600; }

/* 좌측 목차 + 본문 2단 레이아웃 */
.at-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: start; gap: var(--row-gap40); }

/* 좌측 목차(TOC) */
.at-toc { display: flex; flex-direction: column; gap: var(--row-gap10); position: sticky; top: 130px; }
.at-toc a { display: flex; align-items: center; justify-content: space-between; gap: var(--row-gap10); padding: var(--row-gap15); border-radius: var(--radius-10); background: var(--point-white); font-size: var(--text-18); font-weight: 400; line-height: 1.3; color: var(--black-color00); transition: background 0.25s; }
.at-toc a>span { position: relative; display: flex; align-items: center; gap: var(--row-gap10); padding-left: 0; transition: padding 0.25s; }
.at-toc a::after { content: "\203A"; font-size: var(--text-18); color: var(--black-color03); opacity: 0; transition: opacity 0.25s; }

/* 활성 메뉴 */
.at-toc a.is-active { background: var(--gray-bg01); font-weight: 500; }
.at-toc a.is-active>span::before { opacity: 1; }
.at-toc a.is-active::after { opacity: 1; }

@media (hover:hover) and (pointer:fine) {
    .at-toc a:not(.is-active):hover { background: var(--gray-bg03); }
}

/* 본문 */
.at-content { display: flex; flex-direction: column; gap: var(--row-gap80); min-width: 0; }

/* 세트 — 제목(텍스트) → 글(에디터) → 그림(파일첨부, 다중) → 표(에디터) → 글(에디터) 1건. 필요한 만큼 반복 */
.at-set { display: flex; flex-direction: column; gap: var(--row-gap25); min-width: 0; }
.at-set+.at-set { padding-top: var(--row-gap80); border-top: 1px solid var(--border-color01); }
.at-set>h4 { position: relative; font-size: var(--text-36); color: var(--black-color01); font-weight: 700; letter-spacing: -0.03em; scroll-margin-top: calc(var(--header-h) + var(--row-gap25)); }
.at-set>h2 { position: relative; font-size: var(--text-36); color: var(--black-color01); font-weight: 700; letter-spacing: -0.03em; scroll-margin-top: calc(var(--header-h) + var(--row-gap25)); }
.at-product-detail { display: flex; flex-direction: column; gap: var(--row-gap80); padding-block: var(--row-gap80); }
.at-product-detail .at-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width:860px) {
    .at-product-detail .at-gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width:540px) {
    .at-product-detail .at-gallery { grid-template-columns: 1fr; }
}

/* Analysis product classification page */
.al-view .service_list { grid-template-columns: 1fr; gap: var(--row-gap30); }
.al-view .service_list .item { background: var(--gray-bg05); display: grid; grid-template-columns: minmax(220px, 380px) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; padding: var(--row-gap60); }
.al-view .service_list .item:hover .title_box :is(h2, h4) { color: var(--black-color01); }
.al-view .service_list .item:hover .title_box span { color: var(--black-color08); }
.al-view .service_list .item:hover .title_box .ico .ov { display: none; }
.al-view .service_list .item:hover .title_box .ico .img { display: block; }
.al-view .service_list .title_box :is(h2, h4) { font-size: var(--text-32); color: var(--black-color01); font-weight: 600; }
.al-view .service_list .title_box span { font-size: var(--text-20); }
.al-view .service_list .bullet-list { border-top: 0; padding-top: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: start; }
.al-view .service_list .bullet-list li { display: block; }
.al-view .service_list .bullet-list li:before { display: none; }
.al-view .service_list .bullet-list a { background: var(--point-white); padding: clamp(14px, 1.4vw, 17px) clamp(16px, 1.4vw, 20px); border: 1px solid var(--point-color03); font-size: var(--text-18); color: var(--point-color03); transition: all .25s; }
.al-view .service_list .bullet-list a:hover { background: var(--point-color01); color: var(--point-white); border-color: var(--point-color01); }
.al-view .service_list .main_arw { opacity: 1; pointer-events: auto; }
.al-view .service_list .main_arw:before { border-color: var(--point-color03); }
.al-view .service_list .main_arw:after { background: var(--point-color03); }
.al-view .service_list .bullet-list a:hover .main_arw:before { border-color: var(--point-white); }
.al-view .service_list .bullet-list a:hover .main_arw:after { background: var(--point-white); }
.product-category-empty { align-self: center; color: var(--black-color08); font-size: var(--text-16); }
.product-category-empty--page { padding: var(--row-gap80); text-align: center; background: var(--gray-bg05); }

@media (max-width:768px) {
    .al-view .service_list .item { grid-template-columns: 1fr; gap: var(--row-gap20); }
    .al-view .service_list .bullet-list { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

/* 글, 표 — 에디터 원시 태그 스타일링 */
.at-editor { font-size: var(--text-18); color: var(--black-color05); line-height: 1.9; letter-spacing: -0.02em; }
.at-editor :is(h5, h6) { color: var(--black-color01); font-weight: 700; margin: 0 0 0.6em; font-size: var(--text-18); }
.at-editor>p { margin: 0 0 1em; }
.at-editor p:last-child { margin-bottom: 0; }
.at-editor strong { font-weight: 700; color: var(--black-color02); }
.at-editor a { color: var(--point-color02); text-decoration: underline; text-underline-offset: 2px; }
.at-editor blockquote { font-family: var(--font-type02); font-size: var(--text-20); color: var(--black-color02); font-weight: 500; line-height: 1.6; border-left: 3px solid var(--point-color02); padding-left: var(--row-gap25); margin: 0 0 1em; }
.at-editor :is(ul, ol) { margin: 0 0 1em; display: flex; flex-direction: column; gap: 8px; }
.at-editor:last-child :is(ul, ol):last-child { margin-bottom: 0; }
.at-part .at-editor { display: grid; grid: auto / repeat(3, 1fr); gap: var(--row-gap30); }
.at-editor .part_box { background: var(--gray-bg05); border-radius: var(--radius-10); padding: var(--row-gap40); }
.at-editor .part_box>p { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: var(--text-24); color: var(--black-color01); }
.at-editor img { height: auto; display: block; }
.at-editor table { border-top: 2px solid var(--black-color01); }
.at-editor :is(th, td) { border-bottom: 1px solid var(--border-color01); padding: clamp(12px, 1.4vw, 18px); font-size: var(--text-18); line-height: 1.6; text-align: left; vertical-align: middle; }

/* 열 머리글(thead th)과 행 머리글(tbody th scope="row") 모두 음영 처리. 항목/내용 2열짜리 사양표는 행 머리글 방식을 쓴다 */
.at-editor :is(thead, tbody) th { background: var(--gray-bg05); color: var(--black-color03); font-weight: 600; }
.at-col-25 { width: 25%; }
.at-col-30 { width: 30%; }
.at-col-375 { width: 37.5%; }
.at-col-70 { width: 70%; }

@media (max-width:1023px) {
    .at-part .at-editor { grid: auto / repeat(1, 1fr); }
    .at-editor.table_box { min-width: 0; overflow: hidden; overflow-x: auto; overscroll-behavior-x: contain; width: calc(100% + 60px); margin-left: -30px; padding-left: 30px; display: flex; }
    .at-editor table { min-width: 1023px; }
}

@media (max-width:860px) {
    .at-editor.table_box { width: calc(100% + 30px); margin-left: -15px; padding-left: 15px; }
}

@media (max-width:320px) {
    .at-editor.table_box { width: calc(100% + 20px); margin-left: -10px; padding-left: 10px; }
}

/* 그림 — 파일첨부(다중) 갤러리 */
.at-gallery { display: flex; gap: var(--row-gap15); }
.at-gallery li { overflow: hidden; background: var(--gray-bg04); width: 100%; border-radius: var(--radius-10); }
.at-gallery img { width: 100%; height: clamp(200px, 18vw, 250px); object-fit: cover; display: block; }
.at-gallery figure { position: relative; margin: 0; height: 100%; }
.at-gallery figcaption { position: absolute; left: 0; bottom: 0; width: 100%; padding: var(--row-gap15); background: var(--point-color01); color: var(--point-white); font-size: var(--text-15); line-height: 1.5; font-weight: 500; text-align: center; box-sizing: border-box; }

@media (max-width:860px) {
    .at-gallery { flex-wrap: wrap; }
    .at-gallery img { height: auto; }
}

/* 하단 CTA */
.at-cta { display: flex; flex-direction: column; align-items: center; position: relative; padding-block: var(--row-gap140); }
.at-cta .bg { width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 1; }
.at-cta:before { width: 100%; height: 100%; content: ""; background: rgba(0, 0, 0, 0.5); position: absolute; top: 0; left: 0; z-index: 2; pointer-events: none; }
.at-cta .txt { display: flex; flex-direction: column; align-items: center; gap: var(--row-gap20); z-index: 3; }
.at-cta :is(h2, h4) { font-size: var(--text-50); color: var(--point-white); font-weight: 600; }
.at-cta p { font-size: var(--text-22); color: var(--point-white); }
.at-cta-btn { display: inline-flex; align-items: center; gap: var(--row-gap15); padding: clamp(12px, 1.4vw, 16px) clamp(20px, 2.2vw, 32px); background: var(--point-color01); color: var(--point-white); font-size: var(--text-19); font-weight: 600; transition: all 0.3s; margin-top: var(--row-gap40); }
.at-cta-btn .main_arw:before { border-color: var(--point-white); }
.at-cta-btn .main_arw:after { background: var(--point-white); }

@media (hover:hover) and (pointer:fine) {
    .at-cta-btn:hover { background: var(--point-color02); }
}

@media (max-width:1023px) {
    .at-layout { grid: auto / minmax(0, 1fr); }
    .at-toc { display: none; }
}

/* 좌측 목차 없이 본문만 넓게 쓰는 페이지 (예: 분석서비스 개요) */
.at-layout--full { grid-template-columns: minmax(0, 1fr); }

/* 상단 서비스 탭 */
.at-service-tabs { box-sizing: border-box; margin-bottom: var(--row-gap40); }
.at-service-tabs ul { display: flex; flex-wrap: wrap; gap: var(--row-gap10) var(--row-gap20); justify-content: center; }
.at-service-tabs a { display: flex; height: clamp(46px, 5.5vw, 56px); box-sizing: border-box; align-items: center; justify-content: center; text-align: center; border: 1px solid var(--border-color01); font-size: var(--text-20); color: var(--black-color08); font-weight: 500; transition: all 0.3s; padding-inline: var(--row-gap20); }
.at-service-tabs a[aria-current="page"] { background: var(--point-color01); color: var(--point-white); font-weight: 600; }

@media (hover:hover) and (pointer:fine) {
    .at-service-tabs a:not([aria-current="page"]):hover { background: var(--point-color01); color: var(--point-white); font-weight: 600; }
}

/* 분석서비스 목록(색인) — 카테고리(dt) + 세부 항목 목록(dd > .bullet_list) 그룹을 반복 */
.at-index { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--row-gap50) var(--row-gap60); }
.at-index-group dt { margin-bottom: var(--row-gap15); padding-bottom: var(--row-gap15); border-bottom: 2px solid var(--point-color01); }
.at-index-group dt :is(a, span) { font-size: var(--text-24); color: var(--black-color01); font-weight: 700; letter-spacing: -0.02em; }
.at-index-group dt a { transition: color 0.25s; }

@media (hover:hover) and (pointer:fine) {
    .at-index-group dt a:hover { color: var(--point-color01); }
}

@media (max-width:860px) {
    .at-index { grid-template-columns: 1fr; gap: var(--row-gap40); }
}

/*─────────────────────────────────────────────────────────── KOLAS 다이어그램 / 진행절차 카드 (page/field 전용) ───────────────────────────────────────────────────────────*/
.at-diagram-wrap { position: relative; border: 1px solid var(--border-color01); }
.at-diagram { margin: 0; }

/* 전체 폭을 채우는 구조 도식 SVG 전용 — 도식 안에 들어가는 장식 아이콘(.ico)까지 늘어나지 않도록 figure 직계 자식으로 한정한다 */
.at-diagram-wrap>.at-diagram>svg { width: 100%; height: auto; display: block; }

/* 인라인 SVG 아이콘 공통 색 — 마크업에 색을 박지 않고 여기서만 지정한다. stroke 는 SVG 상속 속성이라 루트에 한 번 주면 자식 도형이 따라간다 */
svg.ico { stroke: var(--point-color04); }

/* 면으로 채우는 강조 도형 (체크 배경 원 등) */
svg.ico .ico_accent { fill: var(--point-color04); stroke: none; }

/* 강조 도형 위에 흰색으로 얹는 표시 (체크 표시 등) */
svg.ico .ico_knockout { stroke: var(--point-white); }

/* 뒤 도형을 가리는 불투명 흰 판 (겹친 문서 아이콘의 앞장 등) */
svg.ico .ico_plate { fill: var(--point-white); }

/* 서식 다운로드 버튼 — 헤더 #header .utility .btn_box a (.hd_down) 과 같은 아웃라인 스타일. .at-editor a 의 밑줄·색을 덮어야 해서 a.down_btn 으로 특이도를 맞췄다. 헤더 쪽 반응형(아이콘만 남기기)은 헤더 공간 제약용이라 본문 버튼에는 적용하지 않는다 */
.down_btn_box { display: flex; flex-wrap: wrap; align-items: center; gap: var(--row-gap15); }
a.down_btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--row-gap10); padding-inline: clamp(10px, 1.2vw, 24px); /* 헤더는 height 고정이지만 본문 라벨은 길어 줄바꿈될 수 있으므로 min-height 로 둔다 */ min-height: clamp(40px, 4.5vw, 48px); padding-block: var(--row-gap10); border: 1px solid var(--point-color02); background: var(--point-white); font-size: var(--text-20); font-weight: 600; color: var(--point-color02); text-decoration: none; line-height: 1.35; }
a.down_btn img { flex: none; width: clamp(12px, 1.4vw, 16px); }

@media (max-width:1500px) {
    a.down_btn { font-size: var(--text-17); }
}

/* KOLAS 인정기구 계통도 — SVG 대신 일반 태그로 구성 (page/field 01번 세트). 좌: 단계 배지 / 중앙: 4단 노드 / 우: 설명 캡션. 연결선은 행 간격(--tree-gap) 가운데를 기준으로 그린다 */
.kolas_tree { --tree-gap: 46px; display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr) minmax(0, 190px); column-gap: var(--row-gap40); row-gap: var(--tree-gap); margin: 0; padding: var(--row-gap40) var(--row-gap30); }
.kolas_tree .stage,
.kolas_tree .note,
.kolas_tree .node { display: flex; align-items: center; justify-content: center; min-height: 46px; margin: 0; padding: var(--row-gap10); border: 1px solid var(--border-color01); background: var(--point-white); text-align: center; line-height: 1.35; }
.kolas_tree .stage { grid-column: 1; font-size: var(--text-15); font-weight: 700; color: var(--point-color02); }
.kolas_tree .note { grid-column: 3; font-size: var(--text-13); color: var(--black-color06); }
.kolas_tree .stage--intl,
.kolas_tree .note--intl { grid-row: 1; }
.kolas_tree .stage--region,
.kolas_tree .note--region { grid-row: 2; }

/* 국내상호인정 단계는 국가별 인정기구 + 기관유형 두 줄을 묶는다 */
.kolas_tree .stage--local,
.kolas_tree .note--local { grid-row: 3 / span 2; }
.kolas_tree .tier { grid-column: 2; position: relative; display: flex; margin: 0; padding: 0; list-style: none; }
.kolas_tree .tier--intl { grid-row: 1; justify-content: center; }
.kolas_tree .tier--region { grid-row: 2; }
.kolas_tree .tier--nation { grid-row: 3; }
.kolas_tree .tier--org { grid-row: 4; }
.kolas_tree .tier>li { position: relative; display: flex; flex: 1 1 0; padding-inline: var(--row-gap10); }

/* 최상단 ILAC 은 한 칸이지만 3분할 폭에 맞춰 가운데 정렬 */
.kolas_tree .tier--intl>li { flex: 0 0 33.333%; }
.kolas_tree .node { flex: 1 1 auto; font-size: var(--text-14); font-weight: 600; color: var(--point-color02); }
.kolas_tree .node--root { border-color: var(--point-color02); background: var(--point-color02); color: var(--point-white); font-size: var(--text-16); font-weight: 700; }
.kolas_tree .node--on { border-color: var(--point-color02); background: var(--point-color02); color: var(--point-white); font-weight: 700; }

/* 가로 연결선 — 3분할 기준 첫 칸 중심(1/6)에서 마지막 칸 중심(5/6)까지 */
.kolas_tree .is-branch:before { content: ""; position: absolute; top: calc(var(--tree-gap) / -2); left: 16.666%; right: 16.666%; height: 2px; background: var(--point-color02); }

/* 가로선에서 각 노드로 내려오는 세로선 */
.kolas_tree .is-branch>li:before { content: ""; position: absolute; top: calc(var(--tree-gap) / -2); left: calc(50% - 1px); width: 2px; height: calc(var(--tree-gap) / 2); background: var(--point-color02); }

/* 하위 단계를 거느린 노드(ILAC, APLAC, KOLAS)에서 가로선까지 내려가는 세로선 */
.kolas_tree .tier>li.is-parent:after { content: ""; position: absolute; top: 100%; left: calc(50% - 1px); width: 2px; height: calc(var(--tree-gap) / 2); background: var(--point-color02); }

@media (max-width:1024px) {
    .kolas_tree { grid-template-columns: minmax(0, 130px) minmax(0, 1fr) minmax(0, 130px); column-gap: var(--row-gap20); padding: var(--row-gap30) var(--row-gap20); }
}

@media (max-width:768px) {
    /* 좁은 화면에서는 3열 배치를 풀고 단계별로 세로 나열 — 연결선은 생략 */
    .kolas_tree { grid-template-columns: minmax(0, 1fr); row-gap: var(--row-gap15); }
    .kolas_tree .stage,
    .kolas_tree .note,
    .kolas_tree .tier { grid-column: 1; grid-row: auto; }
    .kolas_tree .stage { margin-top: var(--row-gap15); }
    .kolas_tree .tier { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--row-gap10); }
    .kolas_tree .tier--intl { grid-template-columns: minmax(0, 1fr); }
    .kolas_tree .tier>li { flex: none; padding-inline: 0; }
    .kolas_tree .is-branch:before,
    .kolas_tree .is-branch>li:before,
    .kolas_tree .tier>li.is-parent:after { display: none; }
}

/* KOLAS 컨설팅 진행 프로세스 — SVG 대신 일반 태그로 구성 (page/field 02번 세트). 좌: 분석 3요소 → 요구사항 종합 → 도출 / 우: 실행 단계. 화살표는 전부 CSS 셰브런 */
.kolas_flow { display: grid; grid-template-columns: minmax(0, 1.35fr) auto minmax(0, 1fr); align-items: center; column-gap: var(--row-gap30); margin: 0; padding: var(--row-gap40) var(--row-gap30); }
.kolas_flow .flow_main { grid-column: 1; }
.kolas_flow .box { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: var(--row-gap10) var(--row-gap15); border: 1px solid var(--border-color01); background: var(--point-white); text-align: center; font-size: var(--text-15); font-weight: 700; color: var(--point-color02); line-height: 1.35; }
.kolas_flow .box--on { border-color: var(--point-color03); background: var(--point-color03); color: var(--point-white); }

/* 1단계 — 분석 3요소 */
.kolas_flow .flow_analysis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--row-gap20); margin: 0; padding: 0; list-style: none; }
.kolas_flow .flow_analysis>li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--row-gap15); padding: var(--row-gap25) var(--row-gap10); border: 1px solid var(--border-color01); background: var(--point-white); text-align: center; }
.kolas_flow .flow_analysis .ico { flex: none; }
.kolas_flow .flow_analysis .label { margin: 0; font-size: var(--text-14); font-weight: 600; color: var(--point-color02); line-height: 1.35; }

/* 2단계 — ISO/IEC 17025 + KOLAS 요구사항 */
.kolas_flow .flow_formula { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--row-gap15); }
.kolas_flow .flow_formula .plus { font-size: var(--text-24); font-weight: 700; color: var(--point-color04); line-height: 1; }

/* 3단계 — 종합 도출 */
.kolas_flow .flow_result { display: flex; justify-content: center; margin: 0; }
.kolas_flow .flow_result .box { width: 100%; max-width: 320px; }

/* 우측 — 실행 단계 */
.kolas_flow .flow_steps { grid-column: 3; display: flex; flex-direction: column; gap: 40px; margin: 0; padding: 0; list-style: none; }
.kolas_flow .flow_steps>li { position: relative; }

/* 화살표 — 아래 방향(단계 사이)과 오른쪽 방향(좌→우 연결) 셰브런 */
.kolas_flow .flow_arrow,
.kolas_flow .flow_bridge { position: relative; height: 34px; margin: 0; }
.kolas_flow .flow_bridge { grid-column: 2; width: 34px; }
.kolas_flow .flow_arrow:before,
.kolas_flow .flow_bridge:before,
.kolas_flow .flow_steps>li+li:before { content: ""; position: absolute; width: 14px; height: 14px; border-right: 3px solid var(--point-color04); border-bottom: 3px solid var(--point-color04); }
.kolas_flow .flow_arrow:before { top: 50%; left: 50%; transform: translate(-50%, -60%) rotate(45deg); }
.kolas_flow .flow_bridge:before { top: 50%; left: 50%; transform: translate(-60%, -50%) rotate(-45deg); }
.kolas_flow .flow_steps>li+li:before { top: -30px; left: 50%; transform: translate(-50%, 0) rotate(45deg); }

@media (max-width:1024px) {
    /* 우측 실행 단계를 아래로 내리고 연결 화살표도 아래 방향으로 전환 */
    .kolas_flow { grid-template-columns: minmax(0, 1fr); row-gap: var(--row-gap25); }
    .kolas_flow .flow_main,
    .kolas_flow .flow_bridge,
    .kolas_flow .flow_steps { grid-column: 1; }
    .kolas_flow .flow_bridge { width: 100%; }
    .kolas_flow .flow_bridge:before { transform: translate(-50%, -60%) rotate(45deg); }
}

@media (max-width:560px) {
    .kolas_flow { padding: var(--row-gap30) var(--row-gap20); }
    .kolas_flow .flow_analysis,
    .kolas_flow .flow_formula { grid-template-columns: minmax(0, 1fr); }
    .kolas_flow .flow_formula .plus { text-align: center; }
    .kolas_flow .flow_steps { gap: 34px; }
    .kolas_flow .flow_steps>li+li:before { top: -26px; }
}

/* ===== 찾아오시는 길 (page/location) ===== 좌: 기관명 / 우: 연락처. 좁아지면 flex-wrap 이 알아서 줄을 바꾸므로 미디어쿼리가 없다. flex-basis 에 최소치를 주는 게 줄바꿈 시점을 정한다 */
.lc-info { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--row-gap30) clamp(24px, 6vw, 100px); padding-top: var(--row-gap50); border-top: 1px solid var(--black-color03); }
.lc-name { flex: 0 0 auto; margin: 0; font-size: var(--text-32); font-weight: 700; color: var(--black-color00); line-height: 1.3; }
.lc-contact { display: flex; flex: 1 1 min(100%, 420px); flex-wrap: wrap; gap: var(--row-gap20) clamp(20px, 4vw, 40px); min-width: 0; margin: 0; padding: 0; list-style: none; }
.lc-contact>li { display: flex; align-items: center; gap: var(--row-gap15); }
.lc-contact>li.is-full { flex-basis: 100%; }
.lc-ico { box-sizing: border-box; display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: clamp(30px, 3.6vw, 36px); aspect-ratio: 1 / 1; border-radius: var(--radius-06); background: var(--point-color02); }
.lc-ico svg { width: 60%; height: auto; stroke: var(--point-white); }
.lc-label { flex-shrink: 0; font-size: var(--text-18); font-weight: 600; color: var(--black-color03); line-height: 1.3; }
.lc-value { font-size: var(--text-18); color: var(--black-color06); line-height: 1.5; }

@media (hover:hover) and (pointer:fine) {
    a.lc-value:hover,
    .lc-value a:hover { color: var(--point-color02); text-decoration: underline; }
}

/* 지도 — iframe 이 컨테이너를 채운다 */
.lc-map { overflow: hidden; width: 100%; aspect-ratio: 1500 / 520; min-height: 280px; border-radius: var(--radius-20); background: var(--gray-bg04); }
.lc-map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* 교통편 — 좌: 회색 라벨 박스 / 우: 본문. 본문의 flex-basis 최소치(320px)가 확보되지 않으면 자동으로 줄이 바뀌고, 그때 라벨 박스는 flex-grow 로 한 줄을 채운다 */
.lc-way-list { margin: 0; padding: 0; list-style: none; }
.lc-way-list>li { display: flex; flex-wrap: wrap; gap: var(--row-gap20) var(--row-gap30); padding-block: var(--row-gap30); border-bottom: 1px solid var(--border-color03); }
.lc-way-list>li:first-child { padding-top: 0; }
.lc-way-name { box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: var(--row-gap15); flex: 1 1 clamp(110px, 14%, 190px); min-height: clamp(70px, 9vw, 100px); margin: 0; padding: var(--row-gap20); border-radius: var(--radius-20); background: var(--gray-bg02); font-size: var(--text-20); font-weight: 600; color: var(--point-color02); line-height: 1.3; text-align: center; }
.lc-way-name svg { flex: none; width: clamp(24px, 2.6vw, 30px); height: auto; stroke: var(--point-color04); }
.lc-way-body { display: flex; flex: 999 1 min(100%, 320px); flex-direction: column; justify-content: center; gap: var(--row-gap15); min-width: 0; }
.lc-way-desc { display: flex; flex-direction: column; gap: var(--row-gap10); margin: 0; padding: 0; list-style: none; font-size: var(--text-18); color: var(--black-color06); line-height: 1.7; }

/* 항목 앞머리 라벨 — 클래스로 한정한다. li > strong 로 잡으면 문장 중간의 강조까지 블록이 되어 줄이 쪼개진다 */
.lc-way-desc .head { display: block; margin-bottom: 4px; font-weight: 600; color: var(--point-color02); }

/* ===== 조직도 (page/organization) — 대표이사 → 부서 → 팀 ===== 칸 수(--og-cols)와 칸 사이 간격(--og-gap)만 바꾸면 가로 연결선 폭이 따라 계산된다. --og-col-w 의 100% 는 쓰이는 곳(.og-depts 와 그 자식) 기준이라 양쪽 모두 ul 폭으로 풀린다 */
.og-tree { position: relative; }

/* 대표이사 — 원형 노드 */
.og-ceo { box-sizing: border-box; width: clamp(160px, 20vw, 250px); aspect-ratio: 1 / 1; margin: 0 auto; padding: clamp(6px, 1.6vw, 20px); border-radius: 9999px; background: var(--point-color02); }
.og-ceo span { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1 / 1; border-radius: inherit; background: var(--point-white); font-size: var(--text-30); font-weight: 700; color: var(--point-color02); line-height: 1.3; text-align: center; }

/* 대표이사 아래 줄기 — 오른쪽에 기술연구소가 가지처럼 붙는다 */
.og-stem { position: relative; height: clamp(70px, 9vw, 110px); }
.og-stem:before { content: ""; position: absolute; top: 0; left: calc(50% - 1px); width: 1px; height: 100%; background: var(--border-color01); }
.og-staff { --og-branch: clamp(50px, 9vw, 140px); box-sizing: border-box; position: absolute; top: 50%; left: 50%; transform: translateY(-50%); margin: 0 0 0 var(--og-branch); display: flex; align-items: center; justify-content: center; min-width: clamp(110px, 15vw, 190px); min-height: clamp(44px, 5vw, 60px); padding: var(--row-gap10) var(--row-gap20); border-radius: var(--radius-14); background: var(--point-color03); font-size: var(--text-20); font-weight: 600; color: var(--point-white); white-space: nowrap; }
.og-staff:before { content: ""; position: absolute; top: 50%; right: 100%; width: var(--og-branch); height: 1px; background: var(--border-color01); }

/* 부서 줄 */
.og-depts { --og-cols: 4; --og-gap: clamp(16px, 5vw, 100px); --og-arm: clamp(30px, 4vw, 50px); --og-col-w: calc((100% - (var(--og-cols) - 1) * var(--og-gap)) / var(--og-cols)); position: relative; display: flex; flex-wrap: wrap; gap: var(--og-gap); margin: 0; padding: var(--og-arm) 0 0; list-style: none; }

/* 첫 칸 중심 ~ 마지막 칸 중심을 잇는 가로선 */
.og-depts:before { content: ""; position: absolute; top: 0; left: 50%; width: calc(100% - var(--og-col-w)); height: 1px; background: var(--border-color01); transform: translateX(-50%); }
.og-depts>li { box-sizing: border-box; position: relative; width: var(--og-col-w); }

/* 가로선에서 각 부서로 내려오는 세로선 */
.og-depts>li:before { content: ""; position: absolute; top: calc(var(--og-arm) * -1); left: calc(50% - 1px); width: 1px; height: var(--og-arm); background: var(--border-color01); }

/* 가로선 위의 점 */
.og-depts>li:after { content: ""; position: absolute; top: calc(var(--og-arm) * -1); left: 50%; width: 9px; aspect-ratio: 1 / 1; border-radius: 9999px; background: var(--point-color04); transform: translate(-50%, -50%); }
.og-depts>li>.name { box-sizing: border-box; display: flex; align-items: center; justify-content: center; min-height: clamp(50px, 6vw, 70px); margin: 0; padding: var(--row-gap10); border: 1px solid var(--point-color02); border-radius: var(--radius-14); background: var(--point-white); font-size: var(--text-20); font-weight: 600; color: var(--point-color02); text-align: center; line-height: 1.3; }

/* 부서 하위 팀 */
.og-teams { display: flex; flex-direction: column; gap: var(--row-gap10); margin: var(--row-gap20) 0 0; padding: 0; list-style: none; }
.og-teams li { box-sizing: border-box; display: flex; align-items: center; justify-content: center; min-height: clamp(42px, 5vw, 56px); padding: var(--row-gap10); border: 1px solid var(--border-color01); border-radius: var(--radius-10); background: var(--gray-bg05); font-size: var(--text-17); color: var(--black-color03); text-align: center; line-height: 1.3; }

/* 시험원 안내 카드 — 기본 3열(6개이므로 3×2). 트랙 최소폭을 '3등분 폭'으로 잡아 한 줄에 4개 이상 들어가지 못하게 하고, 3등분이 280px 아래로 내려가면 280px 바닥이 걸려 자동으로 2열 → 1열이 된다. 덕분에 열 수 전환에 미디어쿼리가 필요 없다 */
.og-intro { --og-intro-gap: var(--row-gap20); display: grid; grid-template-columns: repeat(auto-fit, minmax(max(280px, (100% - 2 * var(--og-intro-gap)) / 3), 1fr)); gap: var(--og-intro-gap); }
.og-intro .item { padding: var(--row-gap30) var(--row-gap25); border: 1px solid var(--border-color01); border-radius: var(--radius-10); background: var(--point-white); }
.og-intro .title { margin: 0 0 var(--row-gap15); padding-bottom: var(--row-gap10); border-bottom: 1px solid var(--border-color01); font-size: var(--text-20); font-weight: 700; color: var(--point-color02); }

/* 칸이 좁아지면 팀 이름이 뭉개지므로 2열로 — 열 수 전환은 clamp 로 표현할 수 없다 */

@media (max-width:768px) {
    .og-depts { --og-cols: 2; }
    /* 두 줄로 접히면 3번째부터는 위로 뻗는 세로선·점이 윗줄 카드를 침범한다. 아랫줄에는 이어줄 가로선 자체가 없으므로 연결 표시를 감춘다 */
    .og-depts>li:nth-of-type(n+3):before,
    .og-depts>li:nth-of-type(n+3):after { display: none; }
}

/* 원본이 작은 사진은 본문 폭 전체로 늘리지 않고 가운데에 좁게 둔다 */
.at-gallery--narrow { justify-content: center; }
.at-gallery--narrow li { width: min(100%, 600px); }

/* 대표 인사말 (page/greeting) — 리드 문구 + 본문 + 우측 서명 */
.greet_lead { margin: 0; font-size: var(--text-32); font-weight: 700; color: var(--point-color02); line-height: 1.45; letter-spacing: -0.03em; }
.greet_sign { display: flex; align-items: baseline; justify-content: flex-end; flex-wrap: wrap; gap: var(--row-gap10) var(--row-gap15); margin: 0; padding-top: var(--row-gap20); border-top: 1px solid var(--border-color01); font-size: var(--text-18); color: var(--black-color05); }
.greet_sign .name { font-size: var(--text-24); font-weight: 700; color: var(--black-color01); letter-spacing: 0.05em; }

/* ===== 연혁 타임라인 (page/about) — 가운데 세로선 기준 좌우 지그재그 ===== --hs-dot 은 연도 점의 세로 중심(h4 line-height 1.2 기준). 세로선·점·점선이 이 값을 공유한다. 세로선은 AOS 가 .aos-animate 를 붙일 때 height 가 0 → 100% 로 차오른다 */
.hs-list { display: flex; flex-direction: column; --hs-dot: calc(var(--text-40) * 0.6); --hs-dot-size: clamp(6px, 0.7vw, 9px); --hs-ring: clamp(4px, 0.55vw, 7px); --hs-arm: clamp(30px, 6vw, 60px); /* 월(dt) 칼럼 폭과 본문 사이 여백 — dd 폭이 이 값을 그대로 빼서 쓴다 */ --hs-month-w: clamp(40px, 6vw, 70px); --hs-month-gap: clamp(8px, 1.2vw, 15px); /* 한 줄 정렬(좁은 화면)에서 세로선이 놓이는 x 위치 */ --hs-rail: 7px; }
.hs-year { /* width 와 padding 을 함께 쓰므로 border-box 가 전제 — reset.css 에 전역 box-sizing 이 없어 Tailwind 에 의존하지 않도록 여기서 명시한다 */ box-sizing: border-box; position: relative; width: 50%; }
.hs-year:not(:last-child) { padding-bottom: clamp(40px, 7vw, 76px); }
.hs-year:not(:last-child):before,
.hs-year:not(:last-child):after { content: ""; position: absolute; top: var(--hs-dot); width: 1px; }
.hs-year:not(:last-child):before { height: 100%; background: var(--border-color01); }

/* 채워지는 선 — .aos-animate 규칙보다 반드시 앞에 와야 한다(특이도가 같아 순서로 결정) */
.hs-year:not(:last-child):after { height: 0; background: var(--point-color02); transition: height 0.4s; }
.hs-year.aos-animate:after { height: 100%; }
.hs-year h4 { margin-bottom: clamp(10px, 1.9vw, 19px); font-size: var(--text-40); font-weight: 700; color: var(--black-color01); line-height: 1.2; letter-spacing: 0; }
.hs-year h4 span:not(.blind) { display: block; }

/* 연도 점 */
.hs-year h4:before { content: ""; position: absolute; top: calc(var(--hs-dot) - var(--hs-dot-size) / 2); z-index: 2; width: var(--hs-dot-size); height: var(--hs-dot-size); border-radius: 100%; background: var(--black-color08); box-shadow: 0 0 0 var(--hs-ring) var(--border-color01); }

/* 점에서 본문 쪽으로 뻗는 점선 */
.hs-year h4:after { content: ""; position: absolute; top: var(--hs-dot); width: var(--hs-arm); height: 1px; border-top: 1px dashed var(--black-color06); }
.hs-year dl { display: flex; align-items: baseline; }
.hs-year dl+dl { margin-top: var(--row-gap30); }
.hs-year dt { flex-shrink: 0; width: var(--hs-month-w); padding-right: var(--hs-month-gap); font-size: var(--text-20); font-weight: 500; color: var(--point-color04); line-height: 1.5; }
.hs-year dd { width: calc(100% - var(--hs-month-w)); font-size: var(--text-18); color: var(--black-color06); line-height: 1.7; }
.hs-year dd ul { display: flex; flex-direction: column; gap: var(--row-gap15); font-size: var(--text-20); color: var(--black-color03); }
.hs-year dd li p { margin: 0; }
.hs-year dd li span { display: block; font-size: var(--text-17); color: var(--black-color08); }

/* 홀수 = 왼쪽(오른쪽 정렬), 짝수 = 오른쪽 — 배너가 없으므로 첫 연도가 왼쪽에 온다 */
.hs-year:nth-child(odd) { align-self: flex-start; padding-right: clamp(45px, 9vw, 91px); text-align: right; }
.hs-year:nth-child(odd):before,
.hs-year:nth-child(odd):after { left: 100%; }
.hs-year:nth-child(odd) h4:before { left: calc(100% - (var(--hs-dot-size) - 1px) / 2); }
.hs-year:nth-child(odd) h4:after { left: calc(100% - var(--hs-arm)); }
.hs-year:nth-child(odd) dl { justify-content: flex-end; }
.hs-year:nth-child(odd) dt { order: 2; padding-right: 0; padding-left: var(--hs-month-gap); }
.hs-year:nth-child(odd) dd { order: 1; }
.hs-year:nth-child(even) { align-self: flex-end; padding-left: clamp(45px, 9vw, 90px); }
.hs-year:nth-child(even):before,
.hs-year:nth-child(even):after { left: 0; }
.hs-year:nth-child(even) h4:before { left: calc((var(--hs-dot-size) - 1px) / -2); }
.hs-year:nth-child(even) h4:after { left: 0; }

/* 스크롤이 닿은 블록의 바로 다음 연도를 강조. 첫 연도는 앞 형제가 없어 위 규칙에 걸리지 않으므로 항상 강조 상태로 둔다 */
.hs-list>.aos-animate+.hs-year h4,
.hs-list>.hs-year:first-child h4 { color: var(--point-color02); }
.hs-list>.aos-animate+.hs-year h4:after,
.hs-list>.hs-year:first-child h4:after { border-color: var(--point-color02); }
.hs-list>.aos-animate+.hs-year h4:before,
.hs-list>.hs-year:first-child h4:before { background: var(--point-color02); box-shadow: 0 0 0 var(--hs-ring) var(--gray-bg04); }

/* 좁은 화면에서는 좌우 지그재그를 풀고 왼쪽 한 줄로 정렬한다. 정렬 방향·flex order 전환은 clamp 로 표현할 수 없어 이 구간만 미디어쿼리를 쓴다. (크기 값은 전부 위쪽 clamp 변수로 처리되므로 여기서는 배치만 바꾼다) */

@media (max-width:640px) {
    .hs-year { width: 100%; }
    .hs-year:nth-child(odd) { align-self: flex-end; padding-right: 0; padding-left: clamp(45px, 9vw, 91px); text-align: left; }
    .hs-year:nth-child(odd):before,
    .hs-year:nth-child(odd):after,
    .hs-year:nth-child(even):before,
    .hs-year:nth-child(even):after { left: var(--hs-rail); }
    .hs-year:nth-child(odd) h4:before,
    .hs-year:nth-child(even) h4:before { left: calc(var(--hs-rail) - (var(--hs-dot-size) - 1px) / 2); }
    .hs-year:nth-child(odd) h4:after,
    .hs-year:nth-child(even) h4:after { left: var(--hs-rail); }
    .hs-year:nth-child(odd) dl { justify-content: flex-start; }
    .hs-year:nth-child(odd) dt { order: 1; padding-right: var(--hs-month-gap); padding-left: 0; }
    .hs-year:nth-child(odd) dd { order: 2; }
}

/* 특징·확인방법 카드 목록 — 아이콘 + 제목 + 설명문 (page/verification). .main_process_list 와 달리 설명이 문장이라 왼쪽 정렬을 쓴다. 설명에 <strong> 등 인라인 태그를 써야 하므로 .bullet_list(li 가 flex) 대신 <p> 를 쓴다 */
.verify_list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--row-gap20); }
.verify_list .item { display: flex; flex-direction: column; gap: var(--row-gap15); padding: var(--row-gap30) var(--row-gap25); border: 1px solid var(--border-color01); border-radius: var(--radius-10); background: var(--point-white); }
.verify_list .head { display: flex; align-items: center; gap: var(--row-gap15); }
.verify_list .ico { flex: none; }
.verify_list .num { margin: 0; font-family: var(--font-type02); font-size: var(--text-14); font-weight: 700; color: var(--point-color04); line-height: 1; }
.verify_list .title { margin: var(--row-gap10) 0 0; font-size: var(--text-20); font-weight: 700; color: var(--point-color02); line-height: 1.35; }
.verify_list .desc { margin: 0; font-size: var(--text-16); color: var(--black-color05); line-height: 1.7; }
.verify_list .desc strong { font-weight: 700; color: var(--point-color02); }

/* 인페이지 탭 — 한 페이지 안에서 패널을 전환한다 (page/request). 페이지 이동용 .at-service-tabs 와 생김새는 같게 두고, 상태만 aria-selected 로 구분. 전환 스크립트는 writable/scripts/custom.js */
.at-tabs { box-sizing: border-box; margin-bottom: var(--row-gap40); }
.at-tabs ul { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--row-gap10) var(--row-gap20); margin: 0; padding: 0; list-style: none; }
.at-tabs [role="tab"] { box-sizing: border-box; display: flex; align-items: center; justify-content: center; height: clamp(46px, 5.5vw, 56px); padding-inline: var(--row-gap25); border: 1px solid var(--border-color01); background: var(--point-white); font-size: var(--text-20); font-weight: 500; color: var(--black-color08); text-align: center; cursor: pointer; transition: all 0.3s; }
.at-tabs [role="tab"][aria-selected="true"] { border-color: var(--point-color01); background: var(--point-color01); color: var(--point-white); font-weight: 600; }

@media (hover:hover) and (pointer:fine) {
    .at-tabs [role="tab"]:not([aria-selected="true"]):hover { border-color: var(--point-color01); background: var(--point-color01); color: var(--point-white); font-weight: 600; }
}

/* 패널 — .at-content 와 같은 간격 체계를 유지한다. display:flex 가 [hidden] 의 기본 display:none 을 덮으므로 아래 규칙이 반드시 필요 */
.at-tabpanel { display: flex; flex-direction: column; gap: var(--row-gap80); min-width: 0; }
.at-tabpanel[hidden] { display: none; }

/* 절차 안내도 — 아이콘 카드가 화살표로 이어지는 흐름도 (page/request). 원본의 사진 대신 인라인 SVG 아이콘을 쓰고, 화살표는 CSS 셰브런으로 그린다. 화살표는 모든 칸에 정의해 두고 열 수(breakpoint)에 따라 표시 여부만 바꾼다 */
.req_flow { --flow-gap: clamp(30px, 3.2vw, 54px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--row-gap25) var(--flow-gap); margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.req_flow>li { counter-increment: flow; position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--row-gap10); padding: var(--row-gap30) var(--row-gap20); border: 1px solid var(--border-color01); border-radius: var(--radius-10); background: var(--point-white); text-align: center; }
.req_flow .step { margin: 0; font-family: var(--font-type02); font-size: var(--text-14); font-weight: 700; color: var(--point-color04); line-height: 1; }
.req_flow .step:before { content: counter(flow, decimal-leading-zero); }
.req_flow .ico { flex: none; margin-top: var(--row-gap10); }
.req_flow .label { margin: 0; font-size: var(--text-17); font-weight: 600; color: var(--point-color02); line-height: 1.4; }
.req_flow .note { margin: 0; font-size: var(--text-14); color: var(--black-color06); line-height: 1.55; }

/* 강조 문구(원본에서 빨간색으로 표기된 단서) */
.req_flow .note--point { color: var(--point-color05); font-weight: 600; }
.req_flow>li:before { content: ""; display: none; position: absolute; top: 50%; right: calc(100% + var(--flow-gap) / 2); width: clamp(11px, 1.15vw, 16px); aspect-ratio: 1 / 1; border-right: clamp(3px, 0.3vw, 4px) solid var(--point-color04); border-bottom: clamp(3px, 0.3vw, 4px) solid var(--point-color04); transform: translate(50%, -50%) rotate(-45deg); }

/* 3열 — 각 줄의 첫 칸을 뺀 나머지 앞에 화살표 */
.req_flow>li:not(:nth-child(3n+1)):before { display: block; }

@media (max-width:1024px) {
    .req_flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .req_flow>li:before { display: none; }
    .req_flow>li:not(:nth-child(2n+1)):before { display: block; }
}

@media (max-width:640px) {
    /* 1열 — 화살표를 카드 위쪽으로 옮기고 아래를 향하게 */
    .req_flow { grid-template-columns: minmax(0, 1fr); gap: var(--flow-gap); }
    .req_flow>li:before { display: none; }
    .req_flow>li:not(:first-child):before { display: block; top: auto; right: auto; bottom: calc(100% + var(--flow-gap) / 2); left: 50%; transform: translate(-50%, 50%) rotate(45deg); }
}

/* 진행절차 카드 목록 (Figma .main_process_list 참고) */
.main_process_list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--row-gap20); }
.main_process_list .item { background: var(--point-white); border: 1px solid var(--border-color01); border-radius: var(--radius-10); padding: var(--row-gap30) var(--row-gap20) var(--row-gap25); display: flex; flex-direction: column; align-items: center; text-align: center; }
.main_process_list .step { margin: 0 0 var(--row-gap15); font-size: var(--text-16); font-weight: 600; color: var(--point-color02); letter-spacing: -0.3px; }
.main_process_list .ico { margin-bottom: var(--row-gap15); }
.main_process_list .title { margin: 0 0 var(--row-gap10); font-size: var(--text-20); font-weight: 700; color: var(--point-color02); }
.main_process_list .bullet_list { width: 100%; }
.main_process_list .bullet_list li { font-size: var(--text-15); }
.main_process_list .bullet_list li:before { translate: 0 8px; }

/* 내부심사 신청 및 심사방법 — 링 체인 스텝 (page/Internal-audit 전용). 굵은 테두리 원 안에 순번(01~05)과 단계명을 함께 넣고, 원과 원 사이를 화살표로 잇는다. 원 색은 밝은 파랑 → 진한 네이비로 순차 진행하며, 순번·화살표 색은 --ring-color 를 따라간다 */
.audit_process_steps { --ring-gap: clamp(22px, 2.4vw, 40px); --ring-border: clamp(8px, 1.1vw, 14px); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--ring-gap); counter-reset: step; list-style: none; margin: 0; padding: 0; }
.audit_process_steps>li { counter-increment: step; box-sizing: border-box; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; flex: 0 0 auto; /* 16.5vw ≒ (본문 폭 − 화살표 여백 4개) / 5 — 한 줄에 5개가 들어가는 최대치 */ width: clamp(140px, 16.5vw, 215px); aspect-ratio: 1 / 1; padding: clamp(8px, 1vw, 14px); border: var(--ring-border) solid var(--ring-color); border-radius: 50%; background: var(--point-white); box-shadow: var(--shadow-01); text-align: center; font-size: var(--text-20); font-weight: 600; color: var(--point-color02); /* 원 안은 세로 여유가 빠듯해 행간을 좁게 — 긴 라벨이 4줄까지 늘어나도 원을 밀지 않는다 */ line-height: 1.25; }

/* 순번 — 원 안, 단계명 위 */
.audit_process_steps>li:before { content: counter(step, decimal-leading-zero); font-family: var(--font-type02); font-size: clamp(18px, 2.2vw, 26px); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ring-color); line-height: 1; }

/* 연결 화살표 — 앞 원과의 여백 한가운데. right/bottom 의 100% 는 li 의 '패딩 박스' 기준이라 --ring-border 를 더해 보정한다. 색은 자기 원의 --ring-color 를 쓰므로 화살표도 원과 같은 그라데이션을 따라간다 */
.audit_process_steps>li:not(:first-child):after { content: ""; position: absolute; top: 50%; right: calc(100% + var(--ring-border) + var(--ring-gap) / 2 + 2px); width: clamp(11px, 1.15vw, 17px); aspect-ratio: 1 / 1; border-right: clamp(3px, 0.3vw, 4.5px) solid var(--ring-color); border-bottom: clamp(3px, 0.3vw, 4.5px) solid var(--ring-color); transform: translate(50%, -50%) rotate(-45deg); }
.audit_process_steps>li:nth-child(1) { --ring-color: var(--point-color04); }
.audit_process_steps>li:nth-child(2) { --ring-color: var(--point-color07); }
.audit_process_steps>li:nth-child(3) { --ring-color: var(--point-color03); }
.audit_process_steps>li:nth-child(4) { --ring-color: var(--point-color08); }
.audit_process_steps>li:nth-child(5) { --ring-color: var(--point-color02); }

/* 1024px 이하는 한 줄에 5개를 넣으면 글자가 뭉개지고, 줄바꿈에 맡기면 4+1 처럼 어정쩡하게 나뉘므로 아예 세로 체인으로 전환한다 */

@media (max-width:1024px) {
    .audit_process_steps { --ring-gap: var(--row-gap80); flex-direction: column; }
    .audit_process_steps>li { width: min(215px, 64vw); }
    /* 세로 배치에서는 화살표도 위쪽 여백으로 옮기고 아래를 향하게 */
    .audit_process_steps>li:not(:first-child):after { top: auto; right: auto; bottom: calc(100% + var(--ring-border) + var(--ring-gap) / 2); left: 50%; transform: translate(-50%, 50%) rotate(45deg); }
}

/* ===== 공용 FAQ 아코디언 (front/_faq.php) — 상품·페이지·SEO·게시판 어디서든 동일 디자인 ===== 디자인은 여기서만 통제. 뷰(_faq.php)에는 스타일 하드코딩 없음. 색·간격·타이포는 전부 reset.css 의 토큰(--point-*, --text-*, --row-gap-*)을 쓴다 */
.pf-faq-wrap { margin-top: var(--row-gap60); padding-bottom: var(--row-gap100); }
.pf-faq { margin: 0; }
.pf-faq-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--row-gap10); margin: 0 0 var(--row-gap30); padding-bottom: var(--row-gap20); border-bottom: 2px solid var(--point-color02); font-size: var(--text-30); font-weight: 700; color: var(--black-color01); letter-spacing: -0.03em; }
.pf-faq-title-sub { font-family: var(--font-type02); font-size: var(--text-15); font-weight: 500; color: var(--point-color04); letter-spacing: 0; }
.pf-faq-list { display: flex; flex-direction: column; gap: var(--row-gap10); }
.pf-faq-item { overflow: hidden; border: 1px solid var(--border-color01); border-radius: var(--radius-10); background: var(--point-white); transition: border-color .2s; }
.pf-faq-item.is-open { border-color: var(--point-color03); }
.pf-faq-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--row-gap15); padding: var(--row-gap20) var(--row-gap25); background: var(--trans-color); border: 0; text-align: left; cursor: pointer; transition: background-color .2s; }
/* 질문도 두 줄 이상이 되므로 Q 뱃지를 첫 줄에 맞춘다 (아래 .pf-faq-a 와 같은 보정) */
.pf-faq-q { display: flex; align-items: flex-start; gap: var(--row-gap15); min-width: 0; }
.pf-faq-q .pf-faq-badge { margin-top: calc((1.45 * var(--text-18) - clamp(28px, 3vw, 36px)) / 2); }

/* Q / A 뱃지 — 정사각형, 문자는 영문 서체 */
.pf-faq-badge { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: clamp(28px, 3vw, 36px); aspect-ratio: 1 / 1; border-radius: var(--radius-06); font-family: var(--font-type02); font-size: var(--text-16); font-weight: 700; color: var(--point-white); line-height: 1; }
.pf-faq-badge--q { background: var(--point-color02); }
.pf-faq-badge--a { background: var(--point-color04); }
.pf-faq-question { font-size: var(--text-18); font-weight: 600; color: var(--point-color02); line-height: 1.45; }
.pf-faq-arrow { flex-shrink: 0; width: clamp(18px, 2vw, 24px); height: auto; color: var(--black-color09); transition: transform .25s, color .2s; }
.pf-faq-item.is-open .pf-faq-arrow { transform: rotate(180deg); color: var(--point-color03); }
.pf-faq-answer { display: none; }
/* 답변도 여러 줄이 되므로 A 뱃지를 첫 줄에 맞춘다.
   뱃지 높이와 첫 줄 높이가 달라 두 중심이 맞도록 차이의 절반만큼 보정한다.
   (답변 본문은 --text-16 · line-height 1.75 이고 뱃지 글꼴도 --text-16 이라 1.75em 으로 계산된다) */
.pf-faq-a { display: flex; align-items: flex-start; gap: var(--row-gap15); padding: var(--row-gap20) var(--row-gap25); border-top: 1px solid var(--border-color01); background: var(--gray-bg05); }
.pf-faq-a .pf-faq-badge { margin-top: calc((1.75em - clamp(28px, 3vw, 36px)) / 2); }
.pf-faq-answer-text { flex: 1; min-width: 0; font-size: var(--text-16); color: var(--black-color05); line-height: 1.75; white-space: pre-line; }

/* HTML 답변(게시글)은 자체 포맷을 쓰므로 개행 보존 해제 */
.pf-faq-answer-text.db-user-content { white-space: normal; }

/* 질문 앞 prefix(말머리) 뱃지 */
.pf-faq-prefix { display: inline-block; margin-right: var(--row-gap10); padding: 2px 8px; border-radius: var(--radius-04); background: var(--gray-bg04); font-size: var(--text-13); font-weight: 600; color: var(--point-color02); }

/* FAQ 게시판 문맥 — 페이지 FAQ보다 위아래 여백을 줄인다 (아래에 페이지네이션이 붙으므로) */
.bl-page--faq .pf-faq-wrap { margin-top: 0; padding-bottom: var(--row-gap30); }
#wrap .bl-page--faq .bl-prefixes { margin-bottom: var(--row-gap20); }

@media (hover:hover) and (pointer: fine) {
    .pf-faq-item:hover { border-color: var(--border-color02); }
    .pf-faq-toggle:hover { background: var(--gray-bg05); }
}

@media (max-width:768px) {
    .pf-faq-toggle,
    .pf-faq-a { padding: var(--row-gap15) var(--row-gap20); }
    .pf-faq-question { font-size: var(--text-16); }
    .pf-faq-answer-text { font-size: var(--text-15); }
}

/*─────────────────────────────────────────────────────────── Board ───────────────────────────────────────────────────────────*/

/*input*/
#wrap [type="checkbox"] { display: inline-flex; align-items: center; justify-content: center; width: clamp(22px, 3.1vw, 25px); height: clamp(22px, 3.1vw, 25px); border: 1px solid var(--border-color01); flex-shrink: 0; cursor: pointer; appearance: none; }
#wrap [type="checkbox"]::before { display: inline-flex; content: ''; width: clamp(10px, 1.7vw, 12px); aspect-ratio: auto 1.33; background: url('/images/chk_icon.svg') no-repeat center / 100% auto; filter: var(--filter-black) opacity(0.2); }
#wrap [type="checkbox"]:checked { border-color: var(--point-color01); background: var(--point-color01); }
#wrap [type="checkbox"]:checked:before { filter: var(--filter-white); }
#wrap label:has([type="checkbox"]) { display: inline-flex; align-items: flex-start; gap: 10px; font-size: var(--text-18); font-weight: 500; color: var(--black-color03); line-height: clamp(22px, 3.1vw, 25px); cursor: pointer; }
#wrap label:has([type="checkbox"]) em { font-weight: 600; color: var(--point-red02); display: contents; }
#wrap [type="radio"] { display: inline-flex; align-items: center; justify-content: center; width: clamp(18px, 3.1vw, 22px); height: clamp(18px, 3.1vw, 22px); border: 1px solid var(--border-color01); flex-shrink: 0; cursor: pointer; appearance: none; border-radius: 100%; }
#wrap [type="radio"]::before { display: inline-flex; content: ''; width: clamp(10px, 1.7vw, 12px); aspect-ratio: auto 1; border-radius: 100%; background: var(--border-color01); }
#wrap [type="radio"]:checked { border-color: var(--point-color01); }
#wrap [type="radio"]:checked:before { background: var(--point-color01); }
#wrap :is(input[type="text"], input[type="password"], input[type="number"], input[type="date"], input[type="email"], input[type="tel"], textarea) { height: clamp(48px, 6vw, 60px); line-height: 1.5; width: 100%; border: 1px solid var(--border-color01); color: var(--black-color05); font-weight: 400; font-size: var(--text-18); font-family: var(--font-type02); padding: 0 clamp(10px, 2vw, 20px); text-indent: 0; margin: 0; box-sizing: border-box; vertical-align: middle; text-align: left; outline: 0; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; box-sizing: border-box; }
#wrap :is(textarea) { min-height: 250px; resize: none; padding: var(--row-gap20) !important; }
#wrap :is(input[type="text"], input[type="password"], input[type="number"], input[type="date"], input[type="email"], input[type="tel"], textarea)::placeholder { color: var(--black-color08); font-weight: 400; }
#wrap :is(input[type="text"], input[type="password"], input[type="number"], input[type="date"], input[type="email"], input[type="tel"], textarea):focus { background: var(--point-white); border-color: var(--point-color01); }

/* === sub_btn === */
#wrap .view_btn { position: relative; margin-top: var(--row-gap60); text-align: center; display: flex; align-items: center; justify-content: center; }
#wrap .view_btn.ta_right { justify-content: flex-end; }
#wrap .view_btn .main_more { display: flex; width: clamp(120px, 8.33vw, 160px); height: clamp(50px, 3.125vw, 60px); align-items: center; justify-content: center; background: var(--point-color01); color: var(--point-white); font-size: var(--text-20); font-weight: 500; line-height: 1.6; margin: 0; }

@media (max-width:860px) {
    #wrap .view_btn { flex-direction: column; gap: var(--row-gap20); }
    #wrap .view_btn.ta_right .main_more { align-self: flex-end; }
}

/* === 게시판 목록 상단 배너 (예: 시험참가자 신청) === */
#wrap .bl-top-banner { display: flex; flex-direction: column; gap: var(--row-gap15); margin-bottom: var(--row-gap30); }
#wrap .bl-top-banner img { display: block; width: 100%; height: auto; border-radius: var(--radius-10); }

/* === 말머리 필터 (게시판 목록 상단) === */
#wrap .bl-prefixes { display: flex; flex-wrap: wrap; align-items: center; gap: var(--row-gap10); }

/* 색·테두리·폰트는 위쪽 카테고리 뱃지 공용 규칙에서 상속. 다만 탭은 터치 대상이라 높이는 기존 크기를 유지한다 (공용 규칙의 padding 을 덮어씀) */
#wrap .bl-prefix-tab { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; height: clamp(36px, 4.5vw, 42px); padding: 0 clamp(16px, 2vw, 22px); transition: background .15s, border-color .15s, color .15s; }

/* 선택/hover 는 뱃지의 반전 상태 (.case_card:hover .case_card_category 와 동일) */
#wrap .bl-prefix-tab:hover,
#wrap .bl-prefix-tab.is-active { background: var(--point-color03); color: var(--point-white); }

/* === search === */
#wrap .search_wrap { margin-bottom:var(--row-gap40); display: flex; align-items: center; justify-content:flex-end; gap:var(--row-gap20); flex-wrap:wrap; }
#wrap .search_wrap:has(.bl-prefixes) { justify-content: space-between; }
#wrap .search_wrap .inp_box { display: flex; justify-content: flex-end; gap: 10px; width: 100%; }
#wrap .search_wrap .inp_box [type="text"] { width: 360px; }
#wrap .search_wrap .inp_box button { width: clamp(48px, 6vw, 60px); aspect-ratio: auto 1; background: var(--black-color01) url('/images/ico_search.svg') no-repeat center / clamp(16px, 2vw, 22px) auto; box-sizing: border-box; font-size: 0; }

/* === paging === */
#wrap .paging { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: flex; justify-content: center; align-items: center; width: max-content; text-align: center; }
#wrap .paging span { display: inline-block; vertical-align: top; }
#wrap .paging a { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; font-size: var(--text-17); font-weight: 500; color: var(--black-color08); padding: 0; border: 0; box-sizing: border-box; width: clamp(30px, 4vw, 40px); height: clamp(30px, 4vw, 40px); line-height: 1; min-width: auto; text-align: center; vertical-align: top; margin: 0 5px; }
#wrap .paging :is(.on a, a.on) { background: var(--black-color01); color: var(--point-white); font-weight: 600; }
#wrap .paging .arrow a { font-size: 0; width: clamp(20px, 3vw, 30px); background: no-repeat center; }
#wrap .paging .arrow.first a { background-image: url("/images/paging_first.svg"); }
#wrap .paging .arrow.prev a { background-image: url("/images/paging_prev.svg"); margin-right: 10px; }
#wrap .paging .arrow.next a { background-image: url("/images/paging_prev.svg"); margin-left: 10px; scale: -1 -1; }
#wrap .paging .arrow.last a { background-image: url("/images/paging_first.svg"); scale: -1 -1; }

@media (max-width:860px) {
    #wrap .paging { position: relative; left: inherit; top: inherit; translate: 0; width: 100%; }
    #wrap .paging+.btn_wrap { margin-top: var(--row-gap40); }
}

/* === list === */

/* 일반 */
#wrap .nodata { width: 100% !important; text-align: center !important; min-height: clamp(140px, 14.58vw, 280px); }
#wrap .bbs_table { position: relative; width: 100%; table-layout: fixed; font-size: var(--text-20); border-top: 1px solid var(--black-color01); }
#wrap .bbs_table :where(th, td) { line-height: 1.3; border-bottom: 1px solid var(--border-color01); padding: 26px 10px; text-align: center; }
#wrap .bbs_table th { font-size: 100%; font-weight: 500; color: var(--black-color01); }
#wrap .bbs_table td { font-size: 90%; font-weight: 400; color: var(--black-color08); }
#wrap .bbs_table td .icon-attach{margin:0 auto;}
#wrap .bbs_table td.left { font-size: 100%; text-align: left; padding-inline: var(--row-gap20); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; word-break: break-all; color: var(--black-color03); font-weight: 400; }
#wrap .bbs_table .notice td.left { font-weight: 500; }
#wrap .bbs_table .notice .tag { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; font-size: var(--text-16); color: var(--point-white); font-weight: 600; background: var(--point-color01); padding: 10px 20px 9px; line-height: 1; }
#wrap .bbs_table .for_t { display: none; }

/* over */

@media (hover:hover) and (pointer:fine) {
    #wrap .bbs_table tbody tr:not(:has(.nodata)):hover { background: var(--gray-bg01); }
}

@media (max-width:1023px) {
    #wrap .bbs_table .notice .tag { padding: 6px 14px 5px; }
}

@media (max-width:860px) {
    #wrap .bbs_table { display: block; }
    #wrap .bbs_table thead { display: none; }
    #wrap .bbs_table :where(tbody, tr, th, td) { display: block; width: 100%; border: 0; padding: 0; text-align: left; }
    #wrap .bbs_table tr { padding: var(--row-gap25); display: flex; flex-wrap: wrap; gap: var(--row-gap10) var(--row-gap20); border-bottom: 1px solid var(--border-color01); }
    #wrap .bbs_table td { width: auto; }
    #wrap .bbs_table td.left { width: 100%; padding: 0; }
    #wrap .bbs_table td.num { display: none; }
    #wrap .bbs_table .for_t { display: inline-block; }
}

/* === view === */
#wrap .bbs_view .view_tit { display: flex; flex-direction: column; gap: var(--row-gap30); box-sizing: border-box; padding-bottom: var(--row-gap40); border-bottom: 1px solid var(--border-color01); align-items: flex-start; }
#wrap .bbs_view .view_tit h4 { display: flex; align-items: center; gap: var(--row-gap20); }

/* 색·크기는 위쪽 카테고리 뱃지 공용 규칙에서 상속 — 여기는 구조만 */
#wrap .bbs_view .view_tit h4 .tag { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; flex: none; }
#wrap .bbs_view .view_tit h4 strong { color: var(--black-color03); font-weight: 600; line-height: 1.4; font-size: var(--text-34); }
#wrap .bbs_view .view_tit .name_box { display: flex; align-items: center; gap: var(--row-gap40); }
#wrap .bbs_view .view_tit .name_box dl { display: flex; align-items: center; gap: clamp(10px, 1.2vw, 16px); position: relative; }
#wrap .bbs_view .view_tit .name_box dl+dl:before { width: 1px; height: clamp(8px, 1vw, 12px); content: ""; background: var(--border-color01); display: inline-block; position: absolute; left: -20px; top: 50%; translate: 0 -50%; }
#wrap .bbs_view .view_tit .name_box :where(dt, dd) { font-size: var(--text-18); font-weight: 500; font-family: var(--font-type03); }
#wrap .bbs_view .view_tit .name_box dt { color: var(--black-color06); }
#wrap .bbs_view .view_tit .name_box dd { color: var(--black-color08); }
#wrap .bbs_view div.view_cont { border-bottom: 1px solid var(--border-color01); padding: clamp(25px, 4vw, 40px) 0; text-align: center; }
#wrap .bbs_view .extra_editor_wrap { display: flex; box-sizing: border-box; border-radius: var(--radius-10); background: var(--gray-bg01); align-items: center; padding: clamp(12px, 2.2vw, 27px) 0; border: none; margin-top: 40px; }
#wrap .bbs_view .extra_editor_wrap h5 { text-align: center; font-size: var(--text-18); color: var(--black-color03); font-weight: 500; width: clamp(100px, 15vw, 180px); flex-shrink: 0; background: none; }
#wrap .bbs_view .extra_editor_wrap>div.extra_cont { box-sizing: border-box; padding-inline: var(--row-gap60) clamp(12px, 3vw, 30px); position: relative; }
#wrap .bbs_view .extra_editor_wrap>div.extra_cont:before { width: 1px; height: clamp(8px, 1vw, 12px); content: ""; background: var(--border-color01); display: inline-block; position: absolute; left: 0; top: 50%; translate: 0 -50%; }
#wrap .bbs_view .extra_editor_wrap>div.extra_cont a { font-size: var(--text-18); color: var(--black-color06) !important; font-weight: 400; }

/* === write === */
#wrap .bbs_write { box-sizing: border-box; display: flex; flex-direction: column; flex-wrap: wrap; gap: var(--row-gap30); padding-block: var(--row-gap40); border-top: 1px solid var(--black-color00); border-bottom: 1px solid var(--border-color01); }
#wrap .bbs_write .line2 { gap: var(--row-gap60); }
#wrap .bbs_write dl { display: flex; flex-wrap: wrap; width: 100%; align-items: center; box-sizing: border-box; }
#wrap .bbs_write dl dt { width: clamp(140px, 12vw, 180px); box-sizing: border-box; padding-right: 15px; padding-left: 2px; color: var(--black-color03); font-weight: 500; font-size: var(--text-20); letter-spacing: -0.03em; }
#wrap .bbs_write dl dd { width: calc(100% - clamp(140px, 12vw, 180px)); display: flex; align-items: center; gap: 10px; }

/* 추가 필드(custom_fields)의 라디오/체크박스 선택지 가로배열 — dl/dd 안에서 사용 */
#wrap .bbs_write .bf-options { display: flex; flex-wrap: wrap; align-items: center; gap: 8px clamp(16px, 2vw, 24px); width: 100%; }
#wrap .bbs_write .bf-options label { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-18); font-weight: 400; color: var(--black-color05); cursor: pointer; }
#wrap .req .require_dot { color: var(--point-color02); }
#wrap dl dt:not(.req) .require_dot { display: none; }
#wrap .bbs_write .bbs_file dd { flex-direction: column; align-items: flex-start; }
#wrap .bbs_file input[type="file"] { display: none; }
#wrap .bbs_file .file_box { display: flex; align-items: center; gap: var(--row-gap10); }
#wrap .bbs_file .file_btn { display: inline-flex; align-items: center; justify-content: center; height: clamp(48px, 6vw, 60px); border: 1px solid var(--border-color01); font-size: var(--text-18); color: var(--black-color03); font-weight: 500; cursor: pointer; width: clamp(100px, 13vw, 130px); }

/* 사이트 전역 파일 input 자동 강화(enhanceFileInputs, front/layout/main.php) 용 마크업 — 모든 <input type="file"> 공통 */
#wrap .bf-file-wrap { display: inline-flex; align-items: center; flex-wrap: wrap; gap: var(--row-gap10); }
#wrap .bf-file-wrap .bf-file-enhanced { position: absolute; left: -9999px; opacity: 0; }
#wrap .bf-file-wrap .bf-file-btn { display: inline-flex; align-items: center; justify-content: center; height: clamp(40px, 5vw, 48px); padding: 0 clamp(16px, 2vw, 24px); border: 1px solid var(--border-color01); border-radius: var(--radius-10); background: var(--point-white); color: var(--black-color03); font-family: var(--font-type02); font-size: var(--text-16); font-weight: 500; line-height: 1; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s; }
#wrap .bf-file-wrap .bf-file-btn:hover { background: var(--gray-bg01); border-color: var(--black-color03); }
#wrap .bf-file-wrap .bf-file-name { font-family: var(--font-type02); font-size: var(--text-16); color: var(--black-color06); }
#wrap .captcha_wrap { display: flex; gap: 10px; padding: 10px; width: 170px; box-shadow: inset 0 0 0 1px var(--border-color01); box-sizing: border-box; }
#wrap .captcha input[type="text"] { width: calc(100% - 180px); }
#wrap .db-captcha-img { width: 100px; }
#wrap .db-captcha-refresh { display: flex; justify-content: center; align-items: center; width: 40px; height: 40px; background: var(--black-color08); }
#wrap .db-captcha-refresh svg,
.db-captcha-refresh path { stroke: #fff; }
#wrap .policy_wrap { padding-block: var(--row-gap40) 0; margin: 0; }
#wrap .policy_wrap button { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width:1023px) {
    #wrap .captcha dd { flex-wrap: wrap; }
    #wrap .captcha input[type="text"] { width: 100%; }
}

@media (max-width:860px) {
    #wrap .captcha_wrap { width: 151px; height: 50px; padding: 6px; gap: 6px; }
    #wrap .db-captcha-refresh { width: 38px; height: 38px; }
    #wrap .bbs_write .line2 { gap: var(--row-gap30); grid-template-columns: var(--grid-array01); }
    #wrap .bbs_write dl dt { width: clamp(120px, 17.58vw, 180px); }
    #wrap .bbs_write dl dd { width: calc(100% - clamp(120px, 17.58vw, 180px)); }
}

@media (max-width:479px) {
    #wrap .bbs_write { gap: var(--row-gap35); }
    #wrap .bbs_write dl { align-items: flex-start; flex-direction: column; gap: 10px; }
    #wrap .bbs_write dl dt,
    #wrap .bbs_write dl dd { width: 100%; }
}

/* === complete === */
#wrap .complete_box { width: 100%; box-sizing: border-box; border: 1px solid var(--border-color01); text-align: center; padding: var(--row-gap60); border-radius: var(--radius-15); }
#wrap .complete_box .chk_ico { width: var(--row-gap70); height: var(--row-gap70); margin: 0 auto; background-color: var(--gray-bg01); }
#wrap .complete_box .chk_ico .text-green-600 { color: var(--point-color01); }
#wrap .complete_box h4 { font-size: var(--text-28); color: var(--black-color03); font-weight: 600; margin-top: var(--row-gap30); }
#wrap .complete_box p { font-size: var(--text-20); color: var(--black-color05); margin-top: var(--row-gap20); }
#wrap .complete_box .view_btn { margin-top: var(--row-gap50); }

@media (max-width:1023px) {
    #wrap .complete_box .chk_ico { width: var(--row-gap95); height: var(--row-gap95); }
}
