@charset "utf-8";

/* 첫 화면 진입 모션 초기 상태: JS 실행 전 노출되는 깜빡임(FOUC) 방지 */
html.js-motion-pending .site-header .header-util,
html.js-motion-pending .site-header .gnb-wrap {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
}

html.js-motion-pending .hero {
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
}

html.js-motion-pending main>section:not(.hero),
html.js-motion-pending .footer {
    opacity: 0;
    transform: translateY(48px);
}

@media (max-width: 1023px) {

    html.js-motion-pending main>section:not(.hero),
    html.js-motion-pending .footer {
        transform: translateY(28px);
    }
}

@media (prefers-reduced-motion: reduce) {

    html.js-motion-pending .site-header .header-util,
    html.js-motion-pending .site-header .gnb-wrap,
    html.js-motion-pending .hero,
    html.js-motion-pending main>section:not(.hero),
    html.js-motion-pending .footer {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

/* 헤더 */
#wraper {
    display: flex;
    align-items: normal;
    justify-content: flex-start;
    flex-direction: column;
    min-height: 100%;
}

.container {
    flex: 1;
}

.site-header {
    position: relative;
    z-index: 300;
    background: var(--kf-white);
}

.site-header .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 112px;
    margin: 0 auto;
}

.site-header .logo img,
.site-header .brand {
    display: block;
    width: 160px;
    height: auto;
}

.header-util {
    display: flex;
    align-items: center;
    gap: 8px;
}

.util-btn,
.util-icon-btn,
.header-search,
.m-gnb-open {
    border: 1px solid var(--kf-gray-d);
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search {
    color: var(--kf-white);
    background: var(--kf-gray-2);
    border-color: var(--kf-gray-2);
}

/* 로그인 후 헤더 아이콘 메뉴 */
.util-icon-btn {
    position: relative;
    width: 48px;
    padding: 0;
}

.notification-count {
    position: absolute;
    top: 4px;
    right: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 2px solid var(--kf-white);
    border-radius: 50%;
    box-sizing: border-box;
    color: var(--kf-white);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    background: linear-gradient(135deg, #004DA0 0%, #5AB546 100%);
}

.util-btn:hover,
.util-btn:focus-visible,
.m-gnb-open:hover,
.m-gnb-open:focus-visible {
    color: var(--kf-primary-hover);
    background: #edf5f8;
    border-color: var(--kf-primary-default);
    box-shadow: 0 4px 12px rgba(24, 121, 162, 0.12);
}

.header-search:hover,
.header-search:focus-visible {
    background: var(--kf-primary-hover);
    border-color: var(--kf-primary-hover);
    box-shadow: 0 4px 12px rgba(24, 121, 162, 0.2);
}

.header-util .icon,
.mobile-menu-util .icon {
    transition: transform 0.2s ease;
}

.util-btn:not(.util-icon-btn):hover .icon,
.util-btn:not(.util-icon-btn):focus-visible .icon {
    transform: translateX(2px);
}

.header-search:hover .icon,
.header-search:focus-visible .icon {
    transform: scale(1.08);
}

/* 스크롤 헤더 */
body.has-smart-header {
    padding-top: var(--smart-header-height, 186px);
}

.site-header.is-smart-fixed {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    transform: none;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease;
}

.site-header.is-smart-fixed.is-hidden {
    transform: translateY(-101%);
    box-shadow: none;
}

/* 헤더 검색 패널 순차 노출 */
.header-search-panel .header-search-title,
.header-search-panel .search-box,
.header-search-panel .keywords-box,
.header-search-panel .header-search-close {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.36s ease, transform 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

.header-search-panel.open .header-search-title,
.header-search-panel.open .header-search-close {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.16s;
}

.header-search-panel.open .search-box {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.24s;
}

.header-search-panel.open .keywords-box {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.32s;
}

.header-search-panel.open .icon-logo-symbol {
    animation: search-symbol-float 2.8s ease-in-out 0.65s infinite alternate;
}

@keyframes search-symbol-float {
    from {
        transform: translate3d(0, 0, 0) rotate(-1deg);
    }

    to {
        transform: translate3d(0, -3px, 0) rotate(1.5deg);
    }
}

.header-search,
.m-gnb-open {
    width: 48px;
}

.m-gnb-open {
    display: none;
}

/* PC GNB */
.gnb-wrap {
    border-top: 1px solid var(--kf-gray-d);
    border-bottom: 1px solid var(--kf-gray-d);
}

.gnb-wrap nav {
    width: min(1500px, calc(100% - 48px));
    margin: 0 auto;
}

.gnb {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    height: 62px;
}

.gnb-dep-1 {
    position: relative;
    display: flex;
    align-items: stretch;
}

.gnb-dep-1>.nav-trigger,
.gnb-dep-1>.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    color: var(--kf-gray-2);
    font-size: 18px;
    font-weight: var(--kf-fw-sb);
    white-space: nowrap;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.gnb-dep-1>.nav-trigger:hover,
.gnb-dep-1>.nav-trigger:focus-visible,
.gnb-dep-1>.nav-link:hover,
.gnb-dep-1>.nav-link:focus-visible,
.gnb-dep-1.open>.nav-trigger {
    color: var(--kf-primary-hover);
    background: #edf4f7;
}

.gnb-dep-1>.nav-trigger::after {
    content: '';
    width: 20px;
    height: 20px;
    background: url('/images/www/images_new/icon-gnb-arrow.svg') no-repeat center center;
    transition: transform 0.2s ease;
}

.gnb-dep-1>.nav-trigger:hover::after,
.gnb-dep-1.open>.nav-trigger::after {
    transform: rotate(180deg);
}

.subnav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    min-width: 248px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--kf-gray-d);
    border-radius: 0 0 14px 14px;
    box-shadow: var(--page-shadow);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
        opacity 0.22s ease,
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.28s;
}

.gnb-dep-1.open>.subnav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
}

.subnav>li>a {
    display: block;
    padding: 13px 14px;
    border-radius: 8px;
}

.subnav>li>a:hover,
.subnav>li>a:focus-visible,
.subnav .menu-heading {
    color: var(--kf-primary-default);
    background: #f4f7f8;
}

/* PC 카테고리 2열 패널 */
.subnav.category-mega {
    display: flex;
    align-items: stretch;
    width: min(720px, calc(100vw - 48px));
    height: min(662px, calc(100vh - var(--smart-header-height, 184px) - 24px));
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 0 0 14px 14px;
}

.category-sidebar {
    display: flex;
    flex: 0 0 50%;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

.subnav.category-mega::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: #e6e8ea;
    pointer-events: none;
}

.category-list {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    padding: 8px 8px 0;
    overflow-y: auto;
}

.category-item {
    display: block;
    flex: 0 0 auto;
    min-width: 0;
}

.category-item>.category-primary {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--kf-gray-2);
    font-size: 16px;
    line-height: 1.35;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.category-name {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 32px;
    white-space: nowrap;
}

.category-item>.category-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 12px;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-left: auto;
    background: url('/images/www/images_new/icon-gnb-arrow-dep1.svg') center no-repeat;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.category-item>.category-primary:hover,
.category-item>.category-primary:focus-visible,
.category-item>.category-primary[aria-expanded='true'] {
    color: var(--kf-primary-default);
    background: #f5f6f7;
}

.category-item>.category-primary[aria-expanded='true'] {
    font-weight: 700;
}

.category-item>.category-primary:hover::after,
.category-item>.category-primary:focus-visible::after,
.category-item>.category-primary[aria-expanded='true']::after {
    opacity: 1;
    transform: translate(2px, -50%);
}

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    overflow: hidden;
    border-radius: 9px;
    background: var(--kf-gray-f5);
    transition: all ease .5s;
}

.category-item>.category-primary:hover .category-icon,
.category-item>.category-primary:focus-visible .category-icon,
.category-item>.category-primary[aria-expanded='true'] .category-icon {

    background: #fff;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-detail {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    padding: 32px 24px;
    overflow-y: auto;
    background: #fff;
}

/* 카테고리 스크롤바 숨김 */
.category-list,
.category-detail,
.mobile-menu .category-mega {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.category-list::-webkit-scrollbar,
.category-detail::-webkit-scrollbar,
.mobile-menu .category-mega::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.category-detail[hidden] {
    display: none !important;
}

.category-detail-head>h3 {
    margin: 0 12px 32px;
    color: var(--kf-gray-2);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.category-detail-head {
    list-style: none;
}

.category-group {
    margin: 0 12px;
    padding: 20px 0;
    border-top: 1px solid #e6e8ea;
}

.category-detail-head+.category-group {
    padding-top: 0;
    border-top: 0;
}

.category-group-title {
    display: inline-flex;
    margin: 0 0 10px;
    color: var(--kf-gray-2);
    font-size: 16px;
    font-weight: 700;
}

.category-links>li>a,
.category-branch>a,
.category-fourth a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 0;
    color: #4b4b4b;
    font-size: 14px;
}

.category-links a:hover,
.category-links a:focus-visible {
    color: var(--kf-primary-default);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.category-branch {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.category-branch>a {
    flex: 1 1 0;
    min-width: 0;
    min-height: 40px;
}

.category-branch.is-expanded>a {
    color: var(--kf-gray-2);
    font-weight: 700;
}

.category-fourth-toggle {
    display: flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 7px;
    background: transparent;
}

.category-fourth-toggle span {
    display: block;
    width: 24px;
    height: 24px;
    background: url('/images/www/images_new/icon-gnb-arrow-dep2.svg') center no-repeat;
}

.category-fourth-toggle[aria-expanded='true'] span {
    background-image: url('/images/www/images_new/icon-gnb-arrow-dep2-active.svg');
}

.category-fourth-toggle:hover,
.category-fourth-toggle:focus-visible {
    background: #edf4f7;
}

.category-fourth {
    flex: 0 0 100%;
    min-width: 0;
    padding: 12px;
    background: #f7f7f7;
    border-radius: 8px;
}

.category-fourth[hidden] {
    display: none;
}

.goAllCate {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin: 0 8px 8px;
    padding: 4px 12px;
    border: 1px solid var(--kf-gray-c);
    border-radius: 8px;
    background: #fff;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.goAllCate::after {
    content: '';
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-left: auto;
    background: url('/images/www/images_new/icon-arrow-mo-dep2.svg') center no-repeat;
}

.goAllCate:hover,
.goAllCate:focus-visible {
    color: var(--kf-primary-hover);
    background: #edf5f8;
    border-color: var(--kf-primary-default);
}

.goAllCate:hover .category-icon,
.goAllCate:focus-visible .category-icon {
    background-color: var(--kf-white);
}

.category-back {
    display: none;
}

/* 모바일 메뉴 공통 */

body.is-menu-open {
    overflow: hidden;
}

.mobile-menu {
    display: none;
}

/* 푸터 / 고정 UI / 검색 패널 */

.footer {
    padding: 64px 0;
}

.footer-bottom,
.footer-org,
.footer-links {
    display: flex;
    align-items: center;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-logo img {
    width: 164px;
}

.footer-info {
    color: var(--kf-gray-4);
}

.footer-bottom {
    justify-content: space-between;
    gap: 24px;
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--kf-gray-d);
}

.footer-links {
    gap: 16px;
}

.copyright {
    margin-top: 8px;
    color: var(--kf-gray-6);
    font-size: 14px;
}

.footer-org {
    gap: 18px;
}

/* 챗봇 / TOP */
.fixed-wp {
    position: fixed;
    right: 40px;
    bottom: 48px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--kf-transition-base);
}

.chatbot-wp {
    position: relative;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.32s ease,
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear;
}

body.video-is-visible .chatbot-wp {
    visibility: hidden;
    opacity: 0;
    transform: translateY(48px);
    pointer-events: none;
    transition:
        opacity 0.24s ease,
        transform 0.38s ease,
        visibility 0s linear 0.38s;
}

.chatbot {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .4rem;
    width: 72px;
    height: 72px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #E6222E, #004DA0 75%);
    box-shadow: var(--kf-shadow);
}

.chatbot-text {
    position: relative;
    display: block;
    width: 51px;
    height: 11px;
    overflow: hidden;
    line-height: 0;
}

.chatbot-text img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 100%;
    max-height: 100%;
    opacity: 0;
    transform: translate(-50%, -50%);
    animation: chatbot-text-fade 6s ease-in-out infinite;
}

.chatbot-text img:last-child {
    animation-delay: -3s;
}

@keyframes chatbot-text-fade {

    0%,
    43%,
    100% {
        opacity: 1;
    }

    50%,
    93% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chatbot-text img {
        animation: none;
    }

    .chatbot-text img:first-child {
        opacity: 1;
    }
}

.chatbot-pop {
    position: absolute;
    right: 0;
    bottom: 88px;
    width: 320px;
    padding: 16px 48px 16px 16px;
    background: var(--kf-white);
    border-radius: 16px;
    box-shadow: var(--kf-shadow);
}

.chatbot-pop[hidden] {
    display: none;
}

.chatbot-message-close {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: #f1f3f5;

}

.chatbot-pop strong {
    font-weight: 700;
}

.chatbot-pop p {
    margin-top: 4px;
    color: var(--kf-gray-6);
    font-size: 14px;
}

.top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 64px;
    height: 64px;
    max-height: 0;
    min-height: 0;
    margin-top: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transform: translateY(14px) scale(0.92);
    transform-origin: center top;
    pointer-events: none;
    will-change: max-height, margin-top, opacity, transform;

    border: 0;
    border-radius: 8px;
    color: var(--kf-gray-2);
    background: var(--kf-white);
    box-shadow: var(--kf-shadow);
    font-size: 90%;
    z-index: 88;

    transition:
        max-height 0.46s cubic-bezier(0.22, 1, 0.36, 1),
        margin-top 0.46s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.3s ease,
        transform 0.46s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.46s;
}

.top-btn.show {
    max-height: 64px;
    min-height: 64px;
    margin-top: 16px;
    visibility: visible;
    opacity: 1;
    display: flex !important;
    flex-direction: column;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition-delay: 0s;
}

/* 헤더 검색 패널 */
.header-search-panel {
    position: fixed;
    top: var(--smart-header-height, 185px);
    right: 0;
    left: 0;
    z-index: 110;
    visibility: hidden;
    padding: 28px 0 32px;
    background: rgba(255, 255, 255, 0.99);
    border-block: 1px solid #e2e5e8;
    box-shadow: 0 18px 36px rgba(24, 34, 45, 0.12);
    opacity: 0;
    transform: translateY(-10px);
    transition:
        visibility 0s linear 0.55s,
        opacity 0.42s ease,
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.header-search-panel.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

.header-search-inner {
    position: relative;
    width: min(900px, calc(100% - 48px));
    margin: 0 auto;
}

.header-search-title {
    margin-bottom: 16px;
    color: var(--kf-gray-2);
    font-size: 22px;
    font-weight: 700;
}

.header-search-close {
    position: absolute;
    top: -2px;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 9px;
    border: 1px solid var(--kf-gray-d);
    border-radius: 50%;
    background: var(--kf-white);
}

.header-search-dim {
    position: fixed;
    inset: var(--smart-header-height, 185px) 0 0;
    z-index: 105;
    visibility: hidden;
    background: rgba(15, 24, 33, 0.28);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.42s ease, visibility 0s linear 0.42s;
}

.header-search-dim.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
}

/* 비디오 팝업 */
.video-popup[hidden] {
    display: none !important;
}

.video-popup {
    position: fixed;
    align-items: center;
    justify-content: center;
    right: 30px;
    bottom: 22px;
    z-index: 180;
    width: min(440px, calc(100vw - 48px));
    overflow: hidden;
    color: var(--kf-white);
    background: #090909;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.video-container {
    position: relative;
    display: block;
    width: 100%;
    padding: 8px 8px 0;
    border: 0;
    background: #090909;
}

.video-link {
    display: flex;
    color: inherit;
}

.video-container iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 10px;
}

.video-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 32px;
    height: 32px;
    color: var(--kf-white);
    background: rgba(0, 0, 0, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-popup-actions {
    display: flex;
    margin-top: 8px;
    border-top: 1px solid #333;
}

.video-popup-actions>* {
    flex: 1 1 0;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--kf-white);
    font-size: 12px;
    background: var(--kf-gray-2);
    border: 0;
}

.video-popup-actions *+* {
    border-left: 1px solid var(--kf-gray-2);
}



/* 공통 검색 폼 */
.search-box .sch-input {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 64px;
    padding: 0 8px 0 20px;
    background: var(--kf-white);
    border: 1px solid #99afff;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(33, 56, 80, 0.1);
}

.sch-input input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
}

.search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #aaa;
    transition: 0.2s ease;
}

.search-submit.is-ready {
    background: var(--kf-primary-default);
    box-shadow: 0 6px 14px rgba(24, 142, 181, 0.28);
}

.search-submit.is-ready:hover,
.search-submit.is-ready:focus-visible {
    background: var(--kf-primary-hover);
    transform: scale(1.04);
}

.keywords-box,
.keywrods {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.keywords-box {
    margin-top: 12px;
}

.keyword {
    padding: 4px 12px;
    color: var(--kf-gray-4);
    background: rgba(0, 0, 0, 0.05);
    border: 0;
    border-radius: 999px;
}

/* 메인 검색 히어로 */
main {
    overflow: hidden;
}

main>section:not(:first-child) {
    padding: 88px 0;
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(1840px, calc(100% - 80px));
    height: 288px;
    margin: 40px auto;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(90deg, #fff2f2, #eef3f8 75%);
    border-radius: 32px;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    width: 295px;
    height: 206px;
    background: url("/images/www/images_new/main-hero-deco-1.svg") no-repeat center center;
}

.hero::before {
    top: -48px;
    left: 48px;
}

.hero::after {
    right: 116px;
    bottom: -48px;
}

.hero-blue {
    position: absolute;
    bottom: -88px;
    left: 15%;
    width: 180px;
    height: 234px;
    background: url("/images/www/images_new/main-hero-deco-2.svg") no-repeat center center;
}

.hero-emblem {
    position: absolute;
    top: 32px;
    right: 15%;
    width: 164px;
    height: 200px;
    background: url("/images/www/images_new/main-hero-deco-3.svg") no-repeat center center;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 680px;
    max-width: calc(100% - 32px);
}

.hero h1 {
    color: var(--kf-gray-2);
    font-size: 40px;
    font-weight: 700;
}

.hero-title-char {
    display: inline-block;
}

.hero-title-char.is-space {
    width: 0.28em;
}

.hero-sub {
    margin: 4px 0 12px;
}

/* 신상품 / What's Hot */
.news-hot {
    display: flex;
    gap: 32px;
    padding-top: 0 !important;
}

.news-hot .main-panel {
    position: relative;
    flex: 1 1 0;
}

.news-hot .product-swiper .swiper-slide a {
    display: block;
}

.main-panel,
.panel {
    min-width: 0;
    padding: 24px;
    background: var(--kf-white);
    border: 1px solid var(--kf-gray-c);
    border-radius: 16px;
}

.panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.panel-title h2 {
    color: var(--kf-gray-2);
    font-size: 24px;
    font-weight: 700;
}

.panel-title p {
    margin-top: 4px;
    color: var(--kf-gray-6);
}

.product-swiper,
.main-banner-swiper {
    min-width: 0;
    overflow: hidden;
}

.product-image {
    position: relative;
    background: #fff;
    justify-content: center;
    display: flex;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    padding: 16px;
    border: 1px solid var(--kf-gray-d);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    color: var(--kf-primary-default);
    font-size: 12px;
    font-weight: var(--kf-fw-b);
    background: #eafaff;
    border-radius: 999px;
}

.prod-info h3 {
    display: -webkit-box;
    margin-top: 16px;
    overflow: hidden;
    color: var(--kf-gray-2);
    font-size: 18px;
    font-weight: 600;
    overflow-wrap: anywhere;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.prod-info p {
    margin-top: 5px;
    color: var(--kf-gray-6);
    font-size: 14px;
}

.main-banner-swiper .swiper-slide a {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 684 / 358;
    overflow: hidden;
}

.main-banner-swiper .swiper-slide a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.main-banner-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.news-hot .main-panel .swiper-indicator {
    position: absolute;
    top: 24px;
    right: 24px;
}

/* 카테고리 퀵 링크 */

.categories {
    padding: 88px 0;
    text-align: center;
    background: var(--kf-gray-f5);
}

.main-h2 {
    font-size: 32px;
    font-weight: var(--kf-fw-b);
    color: var(--kf-gray-2);
}

.categories h2 {
    margin-bottom: 24px;
}

.category-link>ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category-link>ul>li {
    flex: 0 0 calc((100% - 132px) / 12);
    min-width: 0;
}

.category-link li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    height: 100%;
    padding: 7px;
    border-radius: 14px;
    overflow-wrap: anywhere;
    word-break: normal;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.category-link .img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--kf-white);
    border-radius: 12px;
    transition: 0.3s ease;
}

.category-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.category-link li .img:hover,
.category-link li .img:focus-visible {

    box-shadow: 0 14px 34px rgba(119, 123, 124, 0.14);
}

.category-link li a:hover,
.category-link li a:focus-visible {
    transform: translateY(-8px);
}

.category-link li a:hover img,
.category-link li a:focus-visible img {
    transform: scale(1.08) rotate(2deg);
}

.category-more {
    justify-content: center;
    width: 240px;
    margin-top: 24px;
    border-color: var(--kf-gray-c);
}

/* 온라인 전시관 */
.pavilion {
    padding: 88px 0;
}

.pavilion .section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.pavilion .section-head p {
    margin-top: 7px;
    color: var(--kf-gray-6);
    font-size: 18px;
}

.more-link,
.button-arrow {
    display: flex;
    align-items: center;
    gap: 4px;
}

.more-link::after,
.button-arrow::after {
    content: '';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: url(/images/www/images_new/icon-arrow-r-bk.svg) no-repeat center;
    transition: transform 0.2s ease;
}

.more-link.arrow-w::after,
.button-arrow.arrow-w::after {
    background: url(/images/www/images_new/icon-arrow-r-w.svg) no-repeat center;
}

.more-link.blank::after,
.button-arrow.blank::after {
    background: url(/images/www/images_new/icon-link-blank.svg) no-repeat center;
}

.more-link.blank.arrow-w::after,
.button-arrow.blank.arrow-w::after {
    background: url(/images/www/images_new/icon-link-blank-w.svg) no-repeat center;
}

.expo-grid {
    display: flex;
    gap: 32px;
}

.expo-card {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    color: inherit;
    overflow: hidden;
    background: var(--kf-white);
    border: 1px solid #b8c0c4;
    border-radius: 12px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.expo-card:hover,
.expo-card:focus-visible {
    border-color: var(--kf-primary-default);
    box-shadow: 0 12px 28px rgba(24, 121, 162, 0.12);
}

.expo-card:hover .expo-link,
.expo-card:focus-visible .expo-link {
    color: var(--kf-primary-hover);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.expo-card:hover .expo-link::after,
.expo-card:focus-visible .expo-link::after {
    transform: translateX(4px);
}

.expo-card .img {
    width: 100%;
    aspect-ratio: 732 / 240;
    overflow: hidden;
}

.expo-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expo-body {
    padding: 24px;
}

.expo-body h3 {
    color: var(--kf-gray-2);
    font-size: 24px;
    font-weight: 700;
}

.expo-desc {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 12px;
    color: var(--kf-gray-6);
}

.expo-desc li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.expo-link {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #eee;
    transition: color 0.2s ease;
}

.more-link:hover::after,
.more-link:focus-visible::after,
.button-arrow:hover::after,
.button-arrow:focus-visible::after {
    transform: translateX(4px);
}

/* 주요 서비스 */
.services {
    padding: 88px 0;
    background: #F4FBFD;
}

.services .service-grid {
    --service-gap: 32px;
    display: flex;
    gap: var(--service-gap);
}

.services .service-card {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    flex: 1;
    gap: 24px;
    padding: 32px;
    overflow: hidden;
    color: inherit;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services .service-card-r {
    display: flex;
    gap: var(--service-gap);
    flex-direction: column;
}

.services .service-grid>.service-card,
.services .service-card-r {
    flex: 1 1 calc((100% - var(--service-gap)) / 2);
}

.services .service-card:hover,
.services .service-card:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 22px 46px rgba(13, 78, 100, 0.16);
}

.services .service-card.rfq {
    background: #ade5f4;
}

.services .service-card.bms {
    flex: unset;
    background: #ebf4dd;
}

.services .service-card.ai {
    background: #dff2fe;
}

.services .card-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.services .service-card.rfq .card-top {
    flex-direction: column;
    flex: 1;
}

.services .service-card.rfq .card-top .service-img {
    text-align: right;
}

.services .tit-s {
    margin-bottom: 8px;
    font-size: 18px;
}

.services .service-text {
    color: var(--kf-gray-2);
    font-size: 28px;
    font-weight: var(--kf-fw-b);
}

.service-add {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    color: var(--kf-gray-6);
}

.service-img img {
    width: 100%;
    height: auto;
    max-width: 260px;
    max-height: 320px;
    object-fit: contain;
}

.service-cta {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px;
    background: var(--kf-white);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.services .cta-copy {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.services .cta-copy>span {
    min-width: 0;
}

.services .service-cta>.btn {
    flex-shrink: 0;
    height: 56px;
    padding-inline: 20px;
    font-size: 18px;
    font-weight: var(--kf-fw-b);
}

.services .cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.services .rfq .cta-icon {
    background-color: #D3F3FA;
}

.services .bms .cta-icon {
    background-color: #F4F9EC;
}

.services .ai .cta-icon {
    background-color: #E6F6FF;
}

.rfq .service-cta .btn {
    color: var(--kf-white);
    font-weight: var(--kf-fw-b);
    background: var(--kf-gray-2);
}

.services .service-card:hover .service-cta .btn,
.services .service-card:focus-visible .service-cta .btn {
    color: var(--kf-white);
    background: var(--kf-primary-hover);
    border-color: var(--kf-primary-hover);
    box-shadow: 0 5px 12px rgba(24, 98, 132, 0.18);
}

.services .service-card:hover .service-cta .button-arrow::after,
.services .service-card:focus-visible .service-cta .button-arrow::after {
    background-image: url('/images/www/images_new/icon-arrow-r-w.svg');
    transform: translateX(4px);
}

.services .service-card.ai:hover .service-cta .button-arrow::after,
.services .service-card.ai:focus-visible .service-cta .button-arrow::after {
    background-image: url('/images/www/images_new/icon-link-blank-w.svg');
}

/* 플랫폼 / 이용 순서 */
main>section.platform {
    position: relative;
    padding: 88px 0 200px;
    color: var(--kf-white);
    background: var(--kf-primary-hover);
    background-size: 100% 80%;
}

.platform-row>.inner {
    display: flex;
    gap: 40px;
}

.platform-copy {
    flex: 1 1 0;
}

.platform-row .platform-cards {
    flex: 2.2 1 0;
}

.platform-copy h2 {
    color: var(--kf-white);
}

.platform-copy p {
    margin: 8px 0 20px;
    font-size: 18px;
}

.ghost-buttons {
    display: flex;
    gap: 8px;
}

.ghost-buttons .btn {
    color: var(--kf-white);
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(255, 255, 255, 0.48);
}

.ghost-buttons .btn:hover,
.ghost-buttons .btn:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--kf-white);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.12);
}

.howto-copy .btn:hover,
.howto-copy .btn:focus-visible {
    color: var(--kf-white);
    background: var(--kf-primary-hover);
    border-color: var(--kf-primary-hover);
    box-shadow: 0 5px 14px rgba(24, 98, 132, 0.18);
}

.footer-links a {
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--kf-primary-hover);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.platform-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.platform-card {
    display: flex;
    flex: 0 0 calc((100% - 72px) / 4);
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    min-height: 220px;
    gap: 16px;
    padding: 24px;
    color: var(--kf-gray-2);
    font-size: 20px;
    font-weight: 700;
    background: var(--kf-white);
    border-radius: 12px;
}

.platform-card .img {
    text-align: right;
}

main>section.howto {
    position: relative;
    z-index: 1;
    margin-top: -120px;
    padding-top: 0;
}

.howto>div {
    display: flex;
    gap: 24px;
    min-height: 202px;
    padding: 30px;
    color: var(--kf-gray-2);
    background: var(--kf-white);
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: var(--page-shadow);

}

.howto-copy {
    flex: 1 1 0;
}

.howto-copy h2 {
    font-size: 24px;
    font-weight: 700;
}

.howto-copy p {
    margin: 7px 0 12px;
}

.howto-copy .btn {
    display: inline-flex;
}

.howto .steps {
    display: flex;
    flex: 2.2 1 0;
    flex-wrap: wrap;
    gap: 40px;
}

.howto .step {
    position: relative;
    display: flex;
    flex: 0 0 calc((100% - 120px) / 4);
    min-width: 0;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #f4fbfd;
    border: 1px solid #d8eef4;
    border-radius: 8px;
}

.howto .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -32px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: url('/images/www/images_new/icon-arrow-setps.svg') no-repeat center center;
}

.howto .step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--kf-primary-default);
}

.howto .step .num {
    color: var(--kf-primary-default);
    font-size: 14px;
    font-weight: 700;
}

/* 관련 기관 / 푸터 */
main>section.related {
    padding: 56px 0;
    background: var(--kf-gray-f5);
}

.related-swiper {
    padding-inline: 44px;
    overflow: hidden;
}

.related-swiper .swiper-slide {
    display: flex;
    align-items: center;
    height: 64px;
    padding: 6px 12px;
    background: var(--kf-white);
    border: 1px solid #eee;
    border-radius: 8px;
}

.related-swiper .swiper-slide a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.related-swiper img {
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.related-swiper .swiper-navigation .bg-box {
    background-color: var(--kf-gray-f5);
    position: absolute;
    top: -64px;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 64px;

}

.related-swiper .swiper-navigation .bg-box.button-prev {
    left: -44px;
    padding-right: 12px;
    background: linear-gradient(90deg, rgba(245, 245, 245, 1) 40%, rgba(245, 245, 245, 0) 100%);
}

.related-swiper .swiper-navigation .bg-box.button-next {
    right: -44px;
    padding-left: 12px;
    background: linear-gradient(90deg, rgba(245, 245, 245, 0) 0%, rgba(245, 245, 245, 1) 70%);
}

.related-swiper .swiper-navigation button {
    width: 32px;
    height: 32px;
    margin: 0;
}

.related-swiper .swiper-navigation [class^="swiper-button-"]::after {
    width: 1.6rem;
    height: 1.6rem;
}

/* 콘텐츠 오버플로 방지 */

.hero::before,
.hero::after,
.hero-blue,
.hero-emblem {
    pointer-events: none;
    background-size: contain;
}

.hero-blue,
.hero-emblem {
    --hero-deco-opacity: 1;
    opacity: var(--hero-deco-opacity);
}

.panel-title,
.expo-card,
.expo-desc li,
.services .text-box,
.services .cta-copy,
.platform-copy,
.platform-cards,
.howto-copy,
.howto .steps,
.footer-bottom>div {
    min-width: 0;
}

.expo-desc,
.footer-links,
.footer-org,
.ghost-buttons {
    flex-wrap: wrap;
}

.expo-link::after,
.more-link::after,
.button-arrow::after {
    flex-shrink: 0;
}

.services .service-card,
.services .service-card-r {
    min-width: 0;
}

.services .card-top>.text-box {
    flex: 1;
}

.services .service-img {
    flex: 0 1 40%;
    min-width: 0;
    align-self: center;
}

.services .rfq .service-img {
    align-self: flex-end;
}

.footer-org img {
    max-width: 100%;
    height: auto;
}

.header-search-title {
    padding-right: 48px;
}

.header-search-panel .keywords-box,
.header-search-panel .keywrods {
    flex-wrap: wrap;
}

/* 로고 애니메이션: K 회전 / 워드마크 웨이브(common.js) */
.site-header .brand {
    display: inline-flex;
    column-gap: 5.3333333333%;
    align-items: center;
    vertical-align: top;
}

.site-header .brand-logo {
    display: block;
    width: 100%;
    height: auto;
    min-width: 0;
    overflow: visible;
}

.brand-symbol {
    flex: 45 1 0;
    transform-origin: center;
}

.brand-wordmark {
    flex: 97 1 0;
}

.brand.is-logo-animating .brand-symbol {
    animation: logo-symbol-turn 850ms cubic-bezier(0.4, 0, 0.2, 1) 1;
}

@keyframes logo-symbol-turn {
    from {
        transform: perspective(240px) rotateY(0deg);
    }

    to {
        transform: perspective(240px) rotateY(360deg);
    }
}

/* PC */
@media (min-width:1280px) {
    .mobile-menu {
        display: none !important;
    }

    /* 서비스 카드 */
    .services .card-top {
        position: relative;
    }

    .services .card-top>.text-box {
        flex: none;
        width: 100%;
    }

    .services .bms .text-box {
        max-width: calc(100% - 240px);
    }

    .services .ai .text-box {
        max-width: calc(100% - 260px);
    }

    .services .service-img {
        position: absolute;
        top: 32px;
        right: 24px;
        flex: none;
        width: 213px;
    }

    .services .rfq .service-img {
        top: auto;
        right: 0;
        bottom: 0;
        width: 317px;
    }

    .services .ai .service-img {
        top: -12px;
        right: 44px;
        width: 201px;
    }

    .services .service-img img {
        max-width: none;
        max-height: none;
    }

    .services .service-card.rfq {
        gap: 32px;
    }

    .services .service-card.bms {
        min-height: 408px;
    }

    .services .service-card.ai {
        min-height: 332px;
    }
}

/* 태블릿 이하 */
@media (max-width:1279px) {
    .notification-count {
        width: 16px;
        height: 16px;
        font-size: 11px;
    }

    .gnb-dep-1>.nav-trigger,
    .gnb-dep-1>.nav-link {
        gap: 6px;
        padding-inline: 10px;
        font-size: 16px;
    }

    .gnb-dep-1:last-child>.subnav {
        right: 0;
        left: auto;
    }

    .news-hot,
    .expo-grid {
        gap: 24px;
    }

    .services .service-grid {
        --service-gap: 24px;
    }

    .news-hot .main-panel .swiper-indicator {
        position: static;
        margin-top: 20px;
    }

    .prod-info h3 {
        -webkit-line-clamp: 2;

    }

    .category-link>ul {
        gap: 16px;
    }

    .category-link>ul>li {
        flex-basis: calc((100% - 80px) / 6);
    }

    .category-link .img {
        max-width: 112px;
    }

    .services .service-card {
        padding: 24px;
    }

    .services .service-text {
        font-size: 23px;
    }

    .services .service-img {
        flex-basis: 34%;
    }

    .services .service-cta {
        flex-wrap: wrap;
    }

    .service-cta>.btn {
        margin-left: auto;
    }

    .platform-row>.inner,
    .howto>div {
        flex-direction: column;
        gap: 28px;
    }

    .platform-copy,
    .platform-row .platform-cards,
    .howto-copy,
    .howto .steps {
        flex: none;
        width: 100%;
    }

    .platform-copy p br {
        display: none;
    }

    .platform-card {
        min-height: 190px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    /* 모바일 헤더 */
    .site-header .header-top {
        height: 72px;
    }

    .site-header .logo img,
    .site-header .brand {
        width: 132px;
    }

    /* 로그인 후 유틸 버튼은 모바일 헤더에서 숨기고 전체메뉴 안에서만 노출 */
    .header-util>.util-btn {
        display: none;
    }

    .header-search,
    .m-gnb-open {
        width: 44px;
        height: 44px;
        padding: 0;
    }

    .m-gnb-open {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .gnb-wrap {
        display: none;
    }

    /* 모바일 검색 영역 */
    .header-search-panel {
        top: var(--smart-header-height, 72px);
        max-height: calc(100dvh - var(--smart-header-height, 72px));
        padding: 24px 0 28px;
        overflow-y: auto;
    }

    .header-search-inner {
        width: calc(100% - 32px);
    }

    .header-search-title {
        font-size: 20px;
    }

    .header-search-panel .search-box .sch-input {
        height: 56px;
        padding-left: 16px;
    }

    .header-search-dim {
        inset: var(--smart-header-height, 72px) 0 0;
    }

    /* 모바일 전체 메뉴 */
    .mobile-menu[hidden] {
        display: none !important;
    }

    .mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 500;
        display: block;
        color: var(--kf-gray-2);
        background: var(--kf-white);
    }

    .mobile-menu-shell {
        position: relative;
        height: 100%;

        overflow: hidden;
    }

    .mobile-menu-util {
        display: flex;
        align-items: center;
        gap: 8px;
        height: 64px;
        padding: 0 16px;
        border-bottom: 1px solid #e3e7ea;
    }

    .mobile-menu-util a {
        height: 40px;
        padding: 0 8px;
        font-size: 13px;
    }

    .mobile-menu-util .util-btn {
        display: inline-flex;
    }

    .mobile-menu-util .util-icon-btn {
        width: 40px;
        height: 40px;
        padding: 0;
        align-items: center;
        justify-content: center;
        flex: 0 0 40px;
    }

    .mobile-menu-util .util-icon-btn:hover,
    .mobile-menu-util .util-icon-btn:focus-visible {
        width: 40px;
        padding: 0;
        transform: none;
    }

    /* 메뉴 마지막 포커스 */
    .mobile-menu-close {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 0;
        background: transparent;
        font-size: 28px;
        line-height: 1;
    }

    .mobile-menu-body {
        display: flex;
        height: calc(100dvh - 64px);
        overflow: hidden;
    }

    .mobile-menu-tabs {
        flex: 0 0 max(104px, 29vw);
        min-width: 0;
        overflow-y: auto;
        background: #eef3f7;
        border-right: 1px solid #e1e6eb;
    }

    .mobile-menu-tab {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 64px;
        padding: 12px;
        border: 0;
        border-bottom: 1px solid #e4e9ed;
        color: #36414b;
        background: transparent;
        text-align: left;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.35;
    }

    .mobile-menu-tab[aria-selected='true'] {
        color: var(--kf-primary-default);
        background: var(--kf-white);
    }

    .mobile-menu-panels {
        flex: 1 1 0;
        min-width: 0;
        height: 100%;
        overflow: hidden;
    }

    .mobile-menu-panel {
        position: relative;
        height: 100%;
        padding: 22px 16px;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: var(--kf-white);
    }

    .mobile-menu-panel[hidden] {
        display: none !important;
    }

    .mobile-panel-title {
        margin-bottom: 8px;
        padding-bottom: 14px;
        border-bottom: 1px solid #bdc6ce;
        font-size: 17px;
        font-weight: 700;
    }

    .mobile-subnav {
        position: static;
        display: block;
        min-width: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .mobile-subnav>li>a,
    .mobile-direct-link {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 16px 6px;
        border-bottom: 1px solid #e6e9ec;
        color: #30363b;
        font-size: 14px;
    }

    .mobile-subnav>li>a::after,
    .mobile-direct-link::after {
        content: '';
        flex: 0 0 24px;
        width: 24px;
        height: 24px;
        margin-left: auto;
        background: url('/images/www/images_new/icon-arrow-mo-dep2.svg') center no-repeat;
        transition: transform 0.2s ease;
    }

    .mobile-subnav>li>a:hover,
    .mobile-subnav>li>a:focus-visible,
    .mobile-direct-link:hover,
    .mobile-direct-link:focus-visible {
        color: var(--kf-primary-hover);
        background: #edf5f8;
    }

    .mobile-subnav>li>a:hover::after,
    .mobile-subnav>li>a:focus-visible::after,
    .mobile-direct-link:hover::after,
    .mobile-direct-link:focus-visible::after {
        transform: translateX(2px);
    }

    /* 모바일 카테고리 1차 목록 */
    .mobile-menu .category-mega {
        position: static;
        display: block;
        width: auto;
        min-width: 0;
        height: auto;
        min-height: 0;
        padding: 0;
        overflow: visible;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        transition: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .mobile-menu .category-list {
        display: flex;
        flex: none;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
        height: auto;
        padding: 8px 0 0;
        overflow: visible;
    }

    .mobile-menu .category-item {
        display: block;
        flex: 0 0 calc((100% - 24px) / 4);
        min-width: 0;
    }

    .mobile-menu .category-sidebar {
        flex: none;
        width: 100%;
        height: auto;
    }

    .mobile-menu .category-mega::after {
        display: none;
    }

    .mobile-menu .category-primary {
        display: flex;
        height: 100%;
        min-height: 96px;
        margin: 0;
        padding: 8px 4px;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        text-align: center;
        font-size: 11px;
        line-height: 1.25;
    }

    .mobile-menu .category-primary::after {
        display: none;
    }

    .mobile-menu .category-name {
        flex: none;
        width: 100%;
        padding-right: 0;
        white-space: normal;
    }

    .mobile-menu .category-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    /* 카테고리 하위 목록 */
    .mobile-menu .category-detail {
        position: absolute;
        inset: 0;
        z-index: 3;
        display: block;
        width: 100%;
        height: 100%;
        padding: 18px 16px 40px;
        overflow-y: auto;
        background: var(--kf-white);
        border: 0;
    }

    .mobile-menu .category-detail[hidden] {
        display: none !important;
    }

    .mobile-menu .category-detail-head {
        position: static;
    }

    .mobile-menu .category-back {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        min-height: 38px;
        margin-bottom: 12px;
        padding: 0 8px 0 0;
        border: 0;
        background: transparent;
        font-size: 13px;
    }

    .mobile-menu .category-detail-head>h3 {
        margin-bottom: 14px;
        font-size: 19px;
    }

    .mobile-menu .category-group {
        padding: 15px 0;
    }

    .mobile-menu .category-group-title {
        font-size: 15px;
    }

    .mobile-menu .category-links>li>a,
    .mobile-menu .category-branch>a,
    .mobile-menu .category-fourth a {
        min-height: 42px;
        font-size: 14px;
    }

    .mobile-menu .goAllCate {
        position: static;
        width: 100%;
        min-height: 48px;
        margin: 16px 0 0;
        padding: 4px;
    }

    body.has-smart-header {
        padding-top: var(--smart-header-height, 72px);
    }

    .mobile-menu .category-primary,
    .mobile-menu-tab {
        overflow-wrap: anywhere;
        word-break: normal;
    }

}

/* 태블릿 / 모바일 */
@media (max-width:1023px) {
    body {
        font-size: var(--kf-fs-xs);
    }

    .is-pc {
        display: none !important;
    }

    .is-tablet {
        display: block !important;
    }

    .btn-l {
        height: 48px;
        font-size: 16px;
    }

    .icon {
        height: 20px;
        width: 20px;
        background-size: cover;
    }

    .tabs .tab-list {
        flex-wrap: wrap;
    }

    .tabs .tab-list a {
        padding: 0 16px;
        height: 40px;
        font-size: 14px;
    }

    main>section:not(:first-child) {
        padding-block: 64px;
    }

    .hero {
        width: calc(100% - 48px);
        height: auto;
        min-height: 280px;
        margin-block: 24px 32px;
        padding: 32px 24px;
        border-radius: 24px;
    }

    .hero-inner {
        width: 100%;
        max-width: 680px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero::before {
        left: -100px;
        opacity: 0.45;
    }

    .hero::after {
        right: -120px;
        opacity: 0.45;
    }

    .hero-blue {
        left: 0;
        bottom: -130px;
    }

    .hero-emblem {
        right: 0;
        --hero-deco-opacity: 0.3;
    }

    .news-hot,
    .services .service-grid {
        flex-direction: column;
    }

    .news-hot .main-panel,
    .services .service-grid>.service-card,
    .services .service-card-r {
        flex: none;
        width: 100%;
    }

    .main-h2 {
        font-size: 28px;
    }

    .expo-image {
        height: auto;
        aspect-ratio: 3 / 1;
    }

    .expo-body {
        padding: 20px;
    }

    .expo-body h3 {
        font-size: 21px;
    }

    .expo-desc {
        gap: 8px 16px;
    }

    .expo-link {
        margin-top: 18px;
        padding-top: 18px;
    }

    .services .service-card.rfq .card-top {
        flex-direction: row;
        align-items: center;
    }

    .services .service-text {
        font-size: 25px;
    }

    .services .rfq .service-img {
        align-self: center;
    }

    .services .service-cta {
        flex-wrap: nowrap;
    }

    main>section.platform {
        padding: 64px 0 144px;
    }

    .platform-cards {
        gap: 16px;
    }

    .platform-card {
        flex-basis: calc((100% - 48px) / 4);
        padding: 20px;
        font-size: 18px;
    }

    main>section.howto {
        margin-top: -80px;
    }

    .howto>div {
        padding: 24px;
    }

    .howto .steps {
        gap: 16px;
    }

    .howto .step {
        flex-basis: calc((100% - 16px) / 2);
    }

    .howto .step:not(:last-child)::after {
        display: none;
    }

    .howto .step-icon {
        width: 56px;
        height: 56px;
    }

    main>section.related {
        padding-block: 36px;
    }

    .footer {
        padding-block: 40px;
    }

    .footer-top {
        gap: 24px;
    }

    .footer-bottom {
        margin-top: 24px;
        padding-top: 24px;
    }

    .fixed-wp {
        right: 24px;
        bottom: 24px;
    }

    .chatbot {
        width: 64px;
        height: 64px;
    }

    .video-popup {
        right: 24px;
        bottom: 24px;
        width: 320px;
    }
}

/* 모바일 */
@media (max-width:640px) {
    .site-header .header-top {
        height: 64px;
    }

    .site-header .logo img,
    .site-header .brand {
        width: 116px;
    }

    .mobile-menu-util {
        gap: 4px;
        padding: 0 12px;
    }

    .header-util {
        gap: 6px;

    }

    .mobile-menu-util a {
        padding: 0 6px;
        gap: 4px;
        border-radius: 6px;
        font-size: 12px;
    }

    .header-search,
    .m-gnb-open {
        width: 42px;
        height: 42px;
    }

    .header-search-panel {
        top: var(--smart-header-height, 64px);
        max-height: calc(100dvh - var(--smart-header-height, 64px));
    }

    .header-search-panel .keywords-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-search-panel .keywrods {
        justify-content: flex-start;
    }

    .header-search-dim {
        inset: var(--smart-header-height, 64px) 0 0;
    }

    :root {
        --kf-contents-size: calc(100% - 32px);
    }

    .is-m {
        display: block !important;
    }

    body.has-smart-header {
        padding-top: var(--smart-header-height, 64px);
    }

    main>section:not(:first-child) {
        padding-block: 44px;
    }

    .hero {
        width: calc(100% - 32px);
        min-height: 0;
        margin: 16px auto 24px;
        padding: 28px 16px;
        border-radius: 20px;
    }

    .hero-inner {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-sub {
        margin: 6px 0 18px;
        font-size: 14px;
    }

    .hero::before,
    .hero::after {
        width: 180px;
        height: 126px;
        opacity: 0.25;
    }

    .hero-blue {
        width: 110px;
        height: 145px;
        bottom: -94px;
        left: -20px;
    }

    .hero-emblem {
        width: 95px;
        height: 116px;
        top: -8px;
        right: -18px;
        --hero-deco-opacity: 0.16;
    }

    .search-box .sch-input,
    .header-search-panel .search-box .sch-input {
        height: 54px;
        gap: 8px;
        padding: 0 6px 0 12px;
    }

    .sch-input input {
        width: 100%;
        padding: 0;
        font-size: 16px;
    }

    .search-submit {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .hero .sch-input>.icon-logo-symbol {
        display: none;
    }

    .hero .keywords-box {
        flex-direction: column;
        gap: 8px;
        margin-top: 16px;
    }

    .hero .keywrods {
        flex-wrap: wrap;
        gap: 6px;
    }

    .keyword {
        padding: 6px 10px;
        font-size: 13px;
    }

    .header-search-title {
        font-size: 19px;
    }

    .news-hot {
        gap: 20px;
    }

    .main-panel,
    .panel {
        padding: 18px;
        border-radius: 14px;
    }

    .panel-head {
        margin-bottom: 18px;
        gap: 12px;
    }

    .panel-title h2 {
        font-size: 22px;
    }

    .panel-title p {
        margin-top: 6px;
    }

    .product-image {
        padding: 10px;
    }

    .prod-info h3 {
        margin-top: 12px;
        font-size: 15px;
    }

    .prod-info p {
        font-size: 13px;
    }

    .badge {
        top: 6px;
        left: 6px;
        padding: 2px 6px;
        font-size: 11px;
    }

    .main-banner-swiper .swiper-slide img,
    .main-banner-swiper .swiper-slide a::before {
        border-radius: 10px;
    }

    .news-hot .swiper-pagination.swiper-pagination-fraction {
        padding-inline: 12px;
    }

    .main-h2 {
        font-size: 25px;
    }

    .categories h2 {
        margin-bottom: 20px;
    }

    .category-link>ul {
        gap: 12px 6px;
    }

    .category-link>ul>li {
        flex-basis: calc((100% - 18px) / 4);
    }

    .category-link li a {
        padding: 4px;
        gap: 6px;
        font-size: 12px;
        line-height: 1.35;
    }

    .category-link .img {
        max-width: 96px;
        border-radius: 10px;
    }

    .category-more {
        width: min(240px, 100%);
        margin-top: 20px;
    }

    .pavilion .section-head {
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 20px;
    }

    .pavilion .section-head p {
        font-size: 14px;
    }

    .pavilion .section-head>.more-link {
        flex-shrink: 0;
        margin-top: 5px;
    }

    .expo-grid {
        flex-direction: column;
        gap: 20px;
    }

    .expo-card {
        flex: none;
        width: 100%;
    }

    .expo-body {
        padding: 18px;
    }

    .expo-body h3 {
        font-size: 20px;
    }

    .expo-desc {
        align-items: flex-start;
        flex-direction: column;
    }

    .expo-link {
        font-size: 14px;
    }

    .services .service-grid {
        --service-gap: 20px;
    }

    .services .service-card {
        padding: 22px 18px;
        gap: 20px;
    }

    .services .card-top,
    .services .service-card.rfq .card-top {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .services .service-text {
        font-size: 22px;
        line-height: 1.45;
    }

    .services .tit-s {
        font-size: 16px;
    }

    .services .service-img,
    .services .rfq .service-img {
        flex: none;
        width: 48%;
        max-width: 180px;
        align-self: flex-end;
    }

    .service-img img {
        max-height: 165px;
    }

    .service-add {
        flex-wrap: wrap;
        font-size: 13px;
    }

    .services .service-cta {
        flex-wrap: wrap;
        padding: 12px;
        gap: 12px;
    }

    .services .cta-copy {
        width: 100%;
        font-size: 13px;
        gap: 8px;
    }

    .services .cta-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .services .cta-icon img {
        max-width: 28px;
        max-height: 28px;
    }

    .services .service-cta>.btn {
        width: 100%;
        margin-left: 0;
        font-size: 14px;
    }

    main>section.platform {
        padding: 44px 0 108px;
    }

    .platform-copy p {
        font-size: 15px;
    }

    .ghost-buttons .btn {
        font-size: 14px;
        padding-inline: 12px;
        gap: 4px;
    }

    .platform-cards {
        gap: 12px;
    }

    .platform-card {
        flex-basis: calc((100% - 12px) / 2);
        min-height: 160px;
        padding: 18px;
        font-size: 17px;
    }

    .platform-card .img img {
        width: 52px;
        height: 52px;
        object-fit: contain;
    }

    main>section.howto {
        margin-top: -64px;
    }

    .howto>div {
        padding: 22px 18px;
        gap: 22px;
    }

    .howto-copy h2 {
        font-size: 22px;
    }

    .howto .steps {
        gap: 12px;
    }

    .howto .step {
        flex-basis: calc((100% - 12px) / 2);
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .howto .step-icon {
        width: 48px;
        height: 48px;
    }

    .howto .step-icon img {
        max-width: 25px;
        max-height: 25px;
    }

    main>section.related {
        padding-block: 28px;
    }

    .related-swiper {
        padding-inline: 32px;
    }

    .related-swiper .swiper-slide {
        padding-inline: 8px;
    }

    .related-swiper .swiper-navigation .bg-box.button-prev {
        left: -32px;
        padding-right: 0;
    }

    .related-swiper .swiper-navigation .bg-box.button-next {
        right: -32px;
        padding-left: 0;
    }

    .footer {
        padding: 32px 0 104px;
    }

    .footer-logo img {
        width: 138px;
    }

    .footer-top {
        gap: 20px;
    }

    .footer-info {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .footer-links {
        gap: 10px 16px;
        font-size: 13px;
    }

    .copyright {
        margin-top: 16px;
        font-size: 12px;
    }

    .footer-org {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .fixed-wp {
        right: 16px;
        bottom: max(16px, env(safe-area-inset-bottom));
    }

    .chatbot {
        width: 56px;
        height: 56px;
        gap: 2px;
    }

    .chatbot-icon {
        max-width: 28px;
        max-height: 24px;
    }

    .chatbot-text {
        width: 40px;
        height: 10px;
    }

    .chatbot-pop {
        width: min(300px, calc(100vw - 32px));
        bottom: 70px;
        font-size: 14px;
    }

    .top-btn {
        width: 52px;
        height: 52px;
    }

    .top-btn.show {
        max-height: 52px;
        min-height: 52px;
        margin-top: 12px;
    }

    .video-popup {
        right: 16px;
        bottom: max(16px, env(safe-area-inset-bottom));
        width: min(280px, calc((100dvh - 120px) * 0.5));
        border-radius: 12px;
    }

    .video-popup-actions>* {
        height: 36px;
    }

    .popup-cookie {
        padding: 16px;
    }

    .popup-cookie-panel {
        --popup-slide-max-height: calc(100dvh - 136px);
        max-height: calc(100dvh - 32px);
        border-radius: 14px;
    }

    .popup-cookie-head,
    .popup-cookie-footer {
        min-height: 52px;
        padding-inline: 12px;
    }

    .popup-cookie-head>strong {
        font-size: 16px;
    }

    .popup-cookie-head .swiper-pagination {
        padding-inline: 10px;
    }

    .popup-cookie-head [class^="swiper-button-"] {
        width: 36px;
        height: 36px;
    }

    .popup-cookie-footer button {
        padding-inline: 10px;
        font-size: 13px;
    }

    .mobile-menu-tabs {
        flex-basis: max(100px, 29vw);
    }

    .mobile-menu-panel {
        padding: 18px 12px;
    }

    #mobile-menu-panel-4>ul>li:nth-child(2),
    #mobile-menu-panel-4>ul>li:nth-child(3) {
        display: none;
    }

    .mobile-menu .category-item {
        flex-basis: calc((100% - 16px) / 3);
    }

    .mobile-menu .category-primary {
        font-size: 12px;
    }

    .mobile-menu .category-detail {
        padding-inline: 12px;
    }
}

/* 인쇄 */
@media print {
    body.has-smart-header {
        padding-top: 0;
    }

    .fixed-wp,
    .video-popup,
    .popup-cookie,
    .header-search-panel,
    .header-search-dim,
    .mobile-menu {
        display: none !important;
    }
}