@charset "utf-8";
/* 공통 ***********************************************/
/*
 * Stage 2: :root design tokens moved to public/css/default.css
 * (source: src/styles/tokens.css). Selectors below unchanged.
 */

.custom-chk-inp-wrap {
    display: inline-block;
}

.custom-chk-inp-wrap .chk {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.custom-chk-inp-wrap input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.custom-chk-inp-wrap .chkbox {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 1.5px solid #888;
    border-radius: 4px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
    transition: all .2s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    opacity: .3;
}

.custom-chk-inp-wrap .txt {
    font-size: 14px;
    color: #111;
}

.custom-chk-inp-wrap .txt.all {
    font-size: 15px;
    font-weight: bold;
}

.custom-chk-inp-wrap .txt .privacy-link {
    text-decoration: underline;
    color: #111;
}

.custom-chk-inp-wrap input:checked + .chkbox {
    background-color: var(--primary);
    border-color: var(--primary);
    opacity: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* 공통 ***********************************************/

.sub-container .sub-cont {
    padding: 80px 0;
}

.sub-container .sub-visual {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    height: auto;
    /* 1번(히어로)=연한 블루 → 2번 첫 콘텐츠 흰색과 대비 */
    background: linear-gradient(180deg, #DBEAFE 0%, #EFF6FF 60%, #FFFFFF 100%) !important;
    background-image: linear-gradient(180deg, #DBEAFE 0%, #EFF6FF 60%, #FFFFFF 100%) !important;
    background-size: auto !important;
    background-repeat: no-repeat !important;
}

.sub-container .sub-visual::after {
    display: none;
}

.sub-container .sub-visual .sub-txt {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #0F172A;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    max-width: 1120px;
    margin: 0 auto;
    min-height: 280px;
    height: auto;
    padding: 110px 20px 48px;
}

.sub-container .sub-visual .sub-txt .df {
    max-width: 960px;
    margin: 0 auto;
    padding: 0;
}

.sub-container .sub-visual .sub-txt h1 {
    margin: 0 0 14px;
    font-size: var(--page-h1-size, 44px);
    font-weight: 800;
    line-height: 1.35;
    color: #0F172A;
    word-break: keep-all;
    overflow-wrap: normal;
    max-width: min(100%, 896px);
    white-space: normal;
    text-wrap: balance;
}

.sub-container .sub-visual .sub-txt h2 {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.2;
    color: #334155;
}

.sub-container .sub-visual .sub-txt p {
    margin: 0 auto;
    max-width: 640px;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
    color: #64748B;
    word-break: keep-all;
}

/* 히어로 CTA — 운전 연수 신청(primary) + 전화(secondary) */
.sub-container .sub-visual__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
}

.sub-container .sub-visual__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.sub-container .sub-visual__btn--secondary {
    background: #fff;
    color: var(--primary, #2563EB) !important;
    border: 1.5px solid #BFDBFE;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.sub-container .sub-visual__btn--secondary:hover {
    background: var(--primary-soft, #EFF6FF);
    color: var(--primary-dark, #1D4ED8) !important;
    border-color: #93C5FD;
}

.sub-container .sub-visual__btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sub-container .sub-visual__btn-arrow {
    font-size: 16px;
    line-height: 1;
}

/* Lucide arrow-right — 버튼 화살표 공통 */
@keyframes site-btn-arrow-nudge {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(4px);
    }
}

.gm-btn:not([href^="tel:"]):not(.gm-btn--ghost),
.scroll-apply-cta__btn--primary:not([href^="tel:"]),
.scroll-apply-cta__btn--light:not([href^="tel:"]),
.scroll-apply-cta__btn--kakao,
a.page-process__btn:not([href^="tel:"]):not([class*="--ghost"]),
a.page-price__btn:not([href^="tel:"]):not([class*="--ghost"]),
a.drive-intro__btn:not([href^="tel:"]):not([class*="--ghost"]),
a.drive-janglong__btn:not([href^="tel:"]):not([class*="--ghost"]),
a.drive-road__btn:not([href^="tel:"]):not([class*="--ghost"]),
a.drive-parking__btn:not([href^="tel:"]):not([class*="--ghost"]),
a.drive-guide__btn:not([href^="tel:"]):not([class*="--ghost"]),
a.drive-area__btn:not([href^="tel:"]):not([class*="--ghost"]),
a[class*="__btn--primary"]:not([href^="tel:"]):not(.footer-bnn__btn),
a[class*="__btn--line"]:not([href^="tel:"]):not(.footer-bnn__btn),
a[class*="__btn--light"]:not([href^="tel:"]):not(.footer-bnn__btn),
a[class*="__btn--secondary"]:not([href^="tel:"]):not(.footer-bnn__btn),
a[class*="__btn--ghost"]:not([href^="tel:"]):not(.footer-bnn__btn):not(.gm-btn--ghost),
.drive-intro__philosophy-link {
    gap: 6px;
}

.gm-btn:not([href^="tel:"]):not(.gm-btn--ghost)::after,
.scroll-apply-cta__btn--primary:not([href^="tel:"])::after,
.scroll-apply-cta__btn--light:not([href^="tel:"])::after,
.scroll-apply-cta__btn--kakao::after,
a.page-process__btn:not([href^="tel:"]):not([class*="--ghost"])::after,
a.page-price__btn:not([href^="tel:"]):not([class*="--ghost"])::after,
a.drive-intro__btn:not([href^="tel:"]):not([class*="--ghost"])::after,
a.drive-janglong__btn:not([href^="tel:"]):not([class*="--ghost"])::after,
a.drive-road__btn:not([href^="tel:"]):not([class*="--ghost"])::after,
a.drive-parking__btn:not([href^="tel:"]):not([class*="--ghost"])::after,
a.drive-guide__btn:not([href^="tel:"]):not([class*="--ghost"])::after,
a.drive-area__btn:not([href^="tel:"]):not([class*="--ghost"])::after,
a[class*="__btn--primary"]:not([href^="tel:"]):not(.footer-bnn__btn)::after,
a[class*="__btn--line"]:not([href^="tel:"]):not(.footer-bnn__btn)::after,
a[class*="__btn--light"]:not([href^="tel:"]):not(.footer-bnn__btn)::after,
a[class*="__btn--secondary"]:not([href^="tel:"]):not(.footer-bnn__btn)::after,
a[class*="__btn--ghost"]:not([href^="tel:"]):not(.footer-bnn__btn):not(.gm-btn--ghost)::after,
.drive-intro__philosophy-link::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask: var(--site-btn-arrow-mask) center / contain no-repeat;
    mask: var(--site-btn-arrow-mask) center / contain no-repeat;
    animation: site-btn-arrow-nudge 1.15s ease-in-out infinite;
}

/* HTML에 화살표 span이 있으면 ::after 중복 방지 */
a:has([class*="btn-arrow"])::after,
.drive-intro__philosophy-link:has(> span[aria-hidden])::after {
    content: none !important;
    display: none !important;
    animation: none !important;
}

[class*="btn-arrow"],
.drive-intro__philosophy-link > span[aria-hidden="true"],
.sub-container .sub-visual__btn-arrow {
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    font-size: 0;
    line-height: 0;
    color: inherit;
    background-color: currentColor;
    -webkit-mask: var(--site-btn-arrow-mask) center / contain no-repeat;
    mask: var(--site-btn-arrow-mask) center / contain no-repeat;
    animation: site-btn-arrow-nudge 1.15s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .gm-btn:not([href^="tel:"]):not(.gm-btn--ghost)::after,
    .scroll-apply-cta__btn--primary:not([href^="tel:"])::after,
    .scroll-apply-cta__btn--light:not([href^="tel:"])::after,
    .scroll-apply-cta__btn--kakao::after,
    a.page-process__btn:not([href^="tel:"]):not([class*="--ghost"])::after,
    a.page-price__btn:not([href^="tel:"]):not([class*="--ghost"])::after,
    a.drive-intro__btn:not([href^="tel:"]):not([class*="--ghost"])::after,
    a.drive-janglong__btn:not([href^="tel:"]):not([class*="--ghost"])::after,
    a.drive-road__btn:not([href^="tel:"]):not([class*="--ghost"])::after,
    a.drive-parking__btn:not([href^="tel:"]):not([class*="--ghost"])::after,
    a.drive-guide__btn:not([href^="tel:"]):not([class*="--ghost"])::after,
    a.drive-area__btn:not([href^="tel:"]):not([class*="--ghost"])::after,
    a[class*="__btn--primary"]:not([href^="tel:"]):not(.footer-bnn__btn)::after,
    a[class*="__btn--line"]:not([href^="tel:"]):not(.footer-bnn__btn)::after,
    a[class*="__btn--light"]:not([href^="tel:"]):not(.footer-bnn__btn)::after,
    a[class*="__btn--secondary"]:not([href^="tel:"]):not(.footer-bnn__btn)::after,
    a[class*="__btn--ghost"]:not([href^="tel:"]):not(.footer-bnn__btn):not(.gm-btn--ghost)::after,
    .drive-intro__philosophy-link::after,
    [class*="btn-arrow"],
    .drive-intro__philosophy-link > span[aria-hidden="true"],
    .sub-container .sub-visual__btn-arrow {
        animation: none;
    }
}

.sub-container .sub_nav_wrap {
    position: relative;
    margin-top: 140px;
}

.sub-container .sub_nav_wrap > ul.sub_menu {
    text-align: center;
    table-layout: fixed;
    width: 100%;
    max-width: 1440px;
    height: 70px;
    font-size: 0;
    margin: 0 auto;
}

.sub-container .sub_nav_wrap > ul.sub_menu > li {
    display: inline-block;
    line-height: 70px;
    position: relative;
    text-align: center;
    vertical-align: middle;
    font-size: 20px;
    color: #666;
}

.sub-container .sub_nav_wrap > ul.sub_menu > li.on {
    color: #fff;
    background: #0070B2;
    border-bottom: 2px solid #0070B2;
}

.sub-container .sub_nav_wrap > ul.sub_menu > li > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
}

.sub-container .sub_nav_tab ul {
    width: 100%;
    display: flex;
    width: 100%;
    height: 60px;
    align-items: center;
    text-align: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    background: rgb(51 51 53 / 96%);
}

.sub-container .sub_nav_tab ul li {
    width: 16%;
}

.sub-container .sub_nav_tab ul li a {
    display: inline-block;
    width: 100%;
    height: 60px;
    line-height: 60px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.sub-container .sub_nav_tab ul li a span {
    font-size: 20px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.86);
}

.sub-container .sub_nav_tab ul li a.active {
    position: relative;
    border-top: 3px solid #fff;
    color: #fff;
}

.sub-container .sub_nav_tab ul li a.active::after {
    content: "";
    position: absolute;
    bottom: 52px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #fff;
}

.sub-container .sub_nav_tab ul li a.active span {
    color: #fff;
}

@media (max-width:768px) {
    .sub-container .sub-visual .sub-txt {
        position: relative;
        z-index: 2;
        padding: 96px 16px 40px;
        text-align: center;
        justify-content: center;
        min-height: 240px;
    }
    
    .sub-container .sub-visual .sub-txt h1 {
        font-size: var(--page-h1-size-m, 32px);
        line-height: 1.35;
        white-space: normal;
        max-width: 100%;
        text-wrap: balance;
    }

    .sub-container .sub-visual .sub-txt h2 {
        font-size: 16px;
    }
    
    .sub-container .sub-visual .sub-txt p {
        font-size: 15px;
        padding: 0;
        word-break: keep-all;
    }

    .sub-container .sub-visual__cta {
        flex-direction: column;
        align-items: stretch;
        margin-top: 22px;
    }

    .sub-container .sub-visual__btn,
    .sub-container .sub-visual__cta .cta-btn {
        width: 100%;
    }
    
        .sub-container .sub_nav_tab ul {
        height: 50px;
        margin: -50px auto 0;
    }

    .sub-container .sub_nav_tab ul li a {
        height: 50px;
        line-height: 50px;
    }

    .sub-container .sub_nav_tab ul li a span {
        font-size: 14px;
    }

    .sub-container .sub_nav_tab ul li {
        width: 33.33333%;
    }

    .sub-container .sub_nav_tab ul li a.active::after {
        bottom: 42px;
    }
}


/* 서브 콘텐츠 공통 (필독 공지·FAQ 등) */
.sub-content {
    max-width: 1220px;
    margin: 0 auto;
    padding: var(--common-padding);
}

.sec-title {
    margin-bottom: 60px;
    text-align: center;
}

.sec-title h2,
.sec3 .sec3-dflx__title,
.gangnam-main .gm-head h2,
.site-ilinks__title,
.faq-hub__cta-title,
.page-price__contact-title {
    margin: 0 auto 16px;
    max-width: 480px;
    font-size: var(--sec-title-size);
    font-weight: 700;
    line-height: 1.35;
    color: #111;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-wrap: balance;
}

/* 좌측 정렬 섹션 타이틀 — 크기만 공통 토큰 사용 */
.area-hub__section-title,
.area-detail__section-title {
    font-size: var(--sec-title-size);
    font-weight: 700;
    line-height: 1.35;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-wrap: balance;
}

.sec-title h2 span,
.sec3 .sec3-dflx__title span {
    color: var(--primary);
}

/* PC에서만 쓰는 타이틀 균등 줄바꿈 */
.title-br {
    display: none;
}

@media (min-width: 769px) {
    .title-br {
        display: inline;
    }
}

.sec-title p,
.gangnam-main .gm-lead,
.site-ilinks__desc,
.faq-hub__cta-text,
.page-price__contact-text {
    margin: 0 auto;
    max-width: 640px;
    font-size: var(--sec-title-lead-size);
    line-height: 1.65;
    color: #666;
    word-break: keep-all;
    overflow-wrap: break-word;
}


@media (max-width: 768px) {
    .sec-title {
        margin-bottom: 32px;
    }

    .sec-title h2,
    .sec3 .sec3-dflx__title,
    .gangnam-main .gm-head h2,
    .site-ilinks__title,
    .faq-hub__cta-title,
    .page-price__contact-title,
    .area-hub__section-title,
    .area-detail__section-title {
        max-width: none;
        font-size: var(--sec-title-size-m);
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .sec-title p,
    .gangnam-main .gm-lead,
    .site-ilinks__desc,
    .faq-hub__cta-text,
    .page-price__contact-text {
        max-width: none;
        font-size: var(--sec-title-lead-size-m);
    }

}



/* 헤더 ***********************************************/
@font-face {
    font-family: 'ChangwonDanggamAsak';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/CWDangamAsac-Bold.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    z-index: 11;
    border-bottom: 1px solid rgba(234, 234, 234, 0.6);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .1s;
    transition: all .1s;
    background: #fff;
}

.header.white {
    background: #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05)
}

.header .inner {
    position: relative;
    height: 72px;
    margin: 0 auto;
    max-width: 1440px;

}

.header .inner .logo {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: auto;
    width: auto;
}

.header .inner .logo h2,
.header .inner .logo .logo-heading {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1;
}

.header .inner .logo a {
    position: relative;
    display: inline-block;
    z-index: 2;
    text-decoration: none;
}

.header .inner .logo .logo-text {
    font-family: 'ChangwonDanggamAsak', sans-serif;
    font-size: 26px;
    font-weight: normal;
    color: var(--primary);
    letter-spacing: -0.02em;
    white-space: nowrap;
    line-height: 1;
}

.header.white .logo .logo-text {
    color: var(--primary);
}

@media (max-width:768px) {
    .header .inner .logo .logo-text {
        font-size: 18px;
    }
}

.header .inner .menu_btn {
    position: absolute;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
}

.header .header_gnb {
    text-align: center;
}

.header .header_gnb .gnb_depth_1 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 28px;
}

.header .header_gnb .depth_1 {
    position: relative;
    display: flex;
    align-items: center;
    height: 72px;
}

.header .header_gnb .depth_1 > a {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #111;
    font-size: 15px;
    white-space: nowrap;
}

.header .header_gnb .depth_1 > a span {
    position: relative;
    display: block;
    line-height: normal;
    font-weight: 500;
    color: #111;
    font-size: 18px;
    white-space: nowrap;
}

.header .header_gnb .depth_1.is-active > a span {
    font-weight: 700;
    color: var(--primary, #0a7a5f);
}

.header.white .header_gnb .depth_1 > a,
.header.white .header_gnb .depth_1 > a > span {
    color: #111;
}

.header.white .header_gnb .depth_1.is-active > a span {
    color: var(--primary, #0a7a5f);
}

.header .header_gnb .depth_1.gnb-cta {
    height: auto;
}

.header .header_gnb .depth_1.gnb-cta.is-active > a.gnb-cta__link {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 0 0 4px var(--primary, #0a7a5f);
}

.header .header_gnb .depth_1.gnb-cta > a.gnb-cta__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.header .header_gnb .depth_1.gnb-cta > a.gnb-cta__link span {
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
}

.header .header_gnb .depth_1.gnb-cta > a.gnb-cta__link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #fff;
    stroke: #fff;
}

.header .header_gnb .depth_1.gnb-cta > a.gnb-cta__link:hover {
    background: var(--primary-dark);
    color: #fff !important;
}

.header .header_gnb .depth_1.gnb-cta > a.gnb-cta__link:hover span {
    color: #fff !important;
}

.header.white .header_gnb .depth_1.gnb-cta > a.gnb-cta__link,
.header.white .header_gnb .depth_1.gnb-cta > a.gnb-cta__link span {
    color: #fff !important;
}

.header .header_gnb .depth_1 .depth_item {
    background-color: var(--primary);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
    z-index: 50;
}

.header .header_gnb .depth_1.current .depth_item,
.header .header_gnb .depth_1:focus-within .depth_item {
    visibility: visible;
    opacity: 1;
    transition: all 0.5s;
}

.header .header_gnb .depth_1:focus-within .depth_item {
    height: auto;
    overflow: visible;
}

.header .header_gnb .depth_1 .depth_item .gnb_depth_2 {
    padding: 10px 0;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
}

.header .header_gnb .depth_1.current .depth_item .gnb_depth_2,
.header .header_gnb .depth_1:focus-within .depth_item .gnb_depth_2 {
    visibility: visible;
    opacity: 1;
    transition: all 0.5s;
}

.header .header_gnb .depth_2 > a {
    display: block;
    padding: 8px 12px;
    font-size: 15px;
    color: #fff;
    transition: color 0.1s;
    white-space: nowrap;
}

.header .header_gnb .depth_2 > a.active,
.header .header_gnb .depth_2 > a:hover,
.header .header_gnb .depth_2 > a:focus {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.header .header_gnb .depth_item li {
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.4s ease;
}

.header .header_gnb .depth_1.current .depth_item li.fade-up,
.header .header_gnb .depth_1:focus-within .depth_item li {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .header .header_gnb .depth_1 .depth_item,
    .header .header_gnb .depth_1 .depth_item .gnb_depth_2,
    .header .header_gnb .depth_item li {
        transition: none;
    }
}


.mob-header {
    position: relative;
}

.mob-header .dimmed {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 50;
    transition: opacity 0.3s ease;
}

.mob-header .dimmed.show {
    display: block;
}

/* ✅ 햄버거는 z-index 올림 */
.mob-header .mobBtn {
    position: relative;
    z-index: 1001;
}

/* 햄버거 */
.header .mobBtn {
    width: 24px;
    height: 18px;
    position: absolute;
    cursor: pointer;
    z-index: 1001;
    top: 50%;
    right: 0;
    transform: translate(-50%, -50%);
}

@media (min-width:769px) {
    .header .mobBtn {
        display: none;
    }
}

@media (max-width:768px) {
        .header .mobBtn {
        display: block;
    }
}

.header .mobBtn span,
.header .mobBtn::before,
.header .mobBtn::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    background: #222;
    left: 0;
    transition: 0.3s ease;
}

.header .mobBtn span {
    top: 8px;
}

.header .mobBtn::before {
    top: 0;
}

.header .mobBtn::after {
    bottom: 0;
}

/* 메뉴 레이어 */
.mob-header .mob-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100%;
    background: #fff;
    z-index: 51;
    padding: 20px;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mob-header .mob-nav.open {
    right: 0;
}

/* 닫기 버튼 */
.mob-header .nav-close {
    background: none;
    border: none;
    cursor: pointer;
}

/* nav-top */
.mob-header .nav-top {
    display: flex;
    justify-content: flex-end;
    align-items:flex-end;
}

.mob-header .nav-top img {
    width: 130px;
}

/* 메뉴 항목 */
.mob-header .nav-list {
    margin-top: 20px;
}

.mob-header .nav-item {
    border-bottom: 1px solid #eee;
}

.mob-header .mob-gnb__row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mob-header .mob-gnb__row .nav-link {
    flex: 1 1 auto;
    min-width: 0;
}

.mob-header .mob-gnb__toggle {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mob-header .mob-gnb__toggle .arrow {
    transition: transform 0.2s ease;
}

.mob-header .nav-item.open .mob-gnb__toggle .arrow {
    transform: rotate(180deg);
}

.mob-header .nav-link {
    width: 100%;
    background: none;
    border: none;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-transform: none;
    color: #222;
    text-decoration: none;
    min-height: 48px;
}

.mob-header .nav-item.is-active > .nav-link,
.mob-header .nav-item.is-active > .mob-gnb__row > .nav-link {
    color: var(--primary, #0a7a5f);
}

/* 공통 화살표 스타일 */
.mob-header .nav-link .arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

/* ▼ 아래 방향 기본 화살표 */
.mob-header .nav-item:not(.no-sub) .arrow {
    transform: rotate(0deg);
}

.mob-header .nav-item.open .arrow {
    transform: rotate(180deg);
}

/* 👉 오른쪽 방향 화살표는 회전 없음 */
.mob-header .nav-item.no-sub .arrow.right {
    transform: rotate(0deg);
}

.mob-header .nav-item--cta {
    margin-top: 16px;
    border-bottom: none;
}

.mob-header .nav-item--cta.is-active .nav-link--cta {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary, #0a7a5f);
}

.mob-header .nav-link--cta {
    justify-content: center;
    gap: 6px;
    padding: 17px 18px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
}

.mob-header .nav-link--cta svg {
    width: 16px;
    height: 16px;
    margin-left: 0;
    flex-shrink: 0;
    color: #fff;
    stroke: #fff;
}

.mob-header .sub-menu {
    display: none;
    padding: 10px 0 14px 12px;
    background: #f9f9f9;
    list-style: none;
}

.mob-header .nav-item.open .sub-menu {
    display: block;
}

.mob-header .sub-menu li {
    padding: 0;
    font-size: 14px;
    color: #555;
}

.mob-header .sub-menu a {
    display: block;
    padding: 12px 10px;
    color: #444;
    font-size: 16px;
    text-decoration: none;
    min-height: 44px;
}

.mob-header .sub-menu a.active {
    color: var(--primary, #0a7a5f);
    font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
    .mob-header .mob-gnb__toggle .arrow,
    .mob-header .nav-link .arrow,
    .mob-header .mob-nav {
        transition: none;
    }
}

/* 카피라이트 */
.mob-header .copyright {
    margin-top: 20px;
    font-size: 12px;
    color: #64748B;
}


@media (max-width:768px) {
    .header .inner {
        margin: 0 20px;
    }
    
    .header .header_gnb {
        display: none;
    }
}


/* 스크롤 하단 CTA — 다크 바 + 짧은 카피 + 전화·신청 ***********************************************/
.scroll-apply-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    padding-right: max(24px, 110px); /* 우측 퀵메뉴와 겹침 방지 */
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(42, 42, 42, 0.92) 0%, rgba(26, 26, 26, 0.94) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.18);
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none !important;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    box-sizing: border-box;
}

.scroll-apply-cta.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto !important;
    transform: translateY(0);
}

.scroll-apply-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    box-sizing: border-box;
}

.scroll-apply-cta__copy-wrap {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 10px 0 8px;
}

.scroll-apply-cta__copy {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.35;
    color: #fff !important;
}

.scroll-apply-cta__confetti {
    position: absolute;
    width: 10px;
    height: 6px;
    border-radius: 1px;
    pointer-events: none;
    z-index: 0;
}

.scroll-apply-cta__confetti--1 {
    top: -6px;
    left: 8%;
    background: #FACC15;
    transform: rotate(-28deg);
}

.scroll-apply-cta__confetti--2 {
    top: -4px;
    left: 42%;
    width: 8px;
    height: 5px;
    background: #F97316;
    transform: rotate(18deg);
}

.scroll-apply-cta__confetti--3 {
    top: -8px;
    left: 72%;
    width: 9px;
    height: 5px;
    background: #C4B5FD;
    transform: rotate(32deg);
}

.scroll-apply-cta__confetti--4 {
    bottom: -4px;
    left: 28%;
    width: 8px;
    height: 5px;
    background: #60A5FA;
    transform: rotate(-16deg);
}

.scroll-apply-cta__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.scroll-apply-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease, filter 0.15s ease;
    box-sizing: border-box;
}

.scroll-apply-cta__btn--primary {
    background: #2563EB !important;
    color: #fff !important;
}

.scroll-apply-cta__btn--primary:hover {
    background: #1D4ED8 !important;
    color: #fff !important;
}

.scroll-apply-cta__btn--kakao {
    background: #FEE500 !important;
    color: #191919 !important;
}

.scroll-apply-cta__btn--kakao:hover {
    background: #F5DC00 !important;
    color: #191919 !important;
}

.scroll-apply-cta__btn--light {
    background: #fff !important;
    color: #1A1A1A !important;
}

.scroll-apply-cta__btn--light:hover {
    background: #F1F5F9 !important;
    color: #1A1A1A !important;
}

@media (max-width: 1024px) {
    .scroll-apply-cta {
        padding-right: 24px;
    }

    .scroll-apply-cta__copy {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .scroll-apply-cta {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        z-index: 950; /* 하단 퀵바(1000) 아래, 위치는 그 위 */
        padding: 12px 16px;
        padding-right: 16px;
        padding-bottom: 12px;
    }

    .scroll-apply-cta__inner {
        flex-direction: column;
        gap: 10px;
    }

    .scroll-apply-cta__copy {
        font-size: 17px;
        text-align: center;
    }

    .scroll-apply-cta__actions {
        width: 100%;
    }

    .scroll-apply-cta__btn {
        flex: 1;
        min-height: 48px;
        padding: 0 16px;
        font-size: 16px;
        border-radius: 8px;
    }
}

/* 우측 고정 퀵 메뉴 ***********************************************/
.side-fixed-nav {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    background: #fff;
    border-radius: 20px 0 0 20px;
    box-shadow: -4px 4px 24px rgba(0, 0, 0, 0.12);
    padding: 12px 10px;
}

.side-fixed-nav__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.side-fixed-nav__list > li:not(:last-child) {
    margin-bottom: 4px;
}

.side-fixed-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 10px 8px;
    text-decoration: none;
    color: #222;
    border-radius: 12px;
    transition: background-color 0.2s ease;
}

.side-fixed-nav__item:hover {
    background: #f5f5f5;
}

.side-fixed-nav__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 6px;
    border-radius: 50%;
    background: #eee;
    overflow: hidden;
    flex-shrink: 0;
}

.side-fixed-nav__icon img,
.side-fixed-nav__icon svg {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.side-fixed-nav__item:first-child .side-fixed-nav__icon {
    background: var(--primary, #0d8f7a);
    color: #fff;
}

.side-fixed-nav__list > li:nth-child(2) .side-fixed-nav__icon {
    background: #fae100;
    color: #3c1e1e;
}

.side-fixed-nav__list > li:nth-child(3) .side-fixed-nav__icon {
    background: #e8f0ef;
    color: var(--primary, #0d8f7a);
}

.side-fixed-nav__list .side-fixed-nav__icon--kakao {
    background: #fae100;
    color: #3c1e1e;
}

.side-fixed-nav__icon--kakao img {
    width: 28px;
    height: 28px;
}

.side-fixed-nav__list > li:last-child .side-fixed-nav__icon {
    background: #e8f0ef;
    color: var(--primary, #0d8f7a);
}

.side-fixed-nav__label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
}

.side-fixed-nav__label-line {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    white-space: nowrap;
}


@media (min-width: 769px) {
    .side-fixed-nav__label-line {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }

    .side-fixed-nav {
        top: auto;
        right: 0;
        left: 0;
        bottom: 0;
        transform: none;
        width: 100%;
        max-width: none;
        padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .side-fixed-nav__list {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        width: 100%;
    }

    .side-fixed-nav__list > li {
        flex: 1 1 0;
        min-width: 0;
    }

    .side-fixed-nav__list > li:not(:last-child) {
        margin-bottom: 0;
    }

    .side-fixed-nav__item {
        min-width: 0;
        width: 100%;
        padding: 4px 2px;
        border-radius: 8px;
    }

    .side-fixed-nav__icon {
        width: 36px;
        height: 36px;
        margin-bottom: 4px;
    }

    .side-fixed-nav__icon--kakao img {
        width: 22px;
        height: 22px;
    }

    .side-fixed-nav__icon img,
    .side-fixed-nav__icon svg {
        width: 20px;
        height: 20px;
    }

    .side-fixed-nav__label-line {
        font-size: 14px;
        white-space: normal;
        word-break: keep-all;
        line-height: 1.2;
    }

}

/* 푸터 ***********************************************/
/*    footer    */
#footer {
    position: relative;
    padding: 64px 0 40px;
    background: #f7f8fa;
    border-top: 1px solid #e8ebef;
    color: #666;
}

/* /area/ 허브·상세: CTA 직후 푸터 이중 보더·여백 완화 */
body:has(main.area-hub) #footer,
body:has(main.area-detail) #footer {
    padding-top: 48px;
    border-top: none;
}

#footer .inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

#footer .ft-main {
    display: grid;
    grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
    gap: 40px 48px;
    align-items: start;
    padding-bottom: 40px;
}

#footer .ft-brand__logo {
    display: inline-block;
    margin: 0 0 14px;
    font-family: 'ChangwonDanggamAsak', sans-serif;
    font-size: 24px;
    font-weight: normal;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--primary, #2563EB);
    text-decoration: none;
    word-break: keep-all;
}

#footer .ft-brand__desc {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.55;
    color: #555;
    word-break: keep-all;
}

#footer .ft-brand__tag {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.5;
    color: #888;
    word-break: keep-all;
}

#footer .ft-brand__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
}

#footer .ft-brand__contact {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #374151;
}

#footer .ft-brand__contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

#footer .ft-brand__contact-icon svg,
#footer .ft-brand__contact-icon img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

#footer .ft-brand__contact-icon--phone {
    background: var(--primary, #2563EB);
    color: #fff;
}

#footer .ft-brand__contact-icon--kakao {
    background: #fae100;
    color: #3c1e1e;
}

#footer .ft-brand__contact-icon--kakao img {
    width: 28px;
    height: 28px;
}

#footer .ft-brand__contact-label {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

#footer .ft-brand__contact:hover .ft-brand__contact-label,
#footer .ft-brand__contact:focus .ft-brand__contact-label {
    color: var(--primary, #2563EB);
}

#footer .ft-nav {
    margin: 0;
    min-width: 0;
}

#footer .ft-nav__groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, 1.5fr);
    gap: 28px 24px;
}

#footer .ft-nav__group {
    min-width: 0;
}

#footer .ft-nav__title {
    display: block;
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #1f2937;
}

#footer .ft-nav__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer .ft-nav__list li {
    margin: 0;
}

#footer .ft-nav__list li + li {
    margin-top: 8px;
}

#footer .ft-nav__list a {
    display: inline-block;
    padding: 2px 0;
    min-height: 28px;
    font-size: 14px;
    line-height: 1.5;
    color: #5b6470;
    text-decoration: none;
    word-break: keep-all;
}

#footer .ft-nav__list a:hover,
#footer .ft-nav__list a:focus {
    color: var(--primary, #2563EB);
}

#footer .ft-nav__list a.is-active {
    color: var(--primary, #2563EB);
    font-weight: 700;
}

#footer .ft-nav__list a.ft-nav__link--cta {
    font-weight: 700;
    color: var(--primary, #2563EB);
}

#footer .ft-nav__group--contact {
    align-self: stretch;
    min-width: 280px;
}

#footer .ft-contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    min-width: 280px;
    min-height: 220px;
    padding: 28px 28px;
    border-radius: 16px;
    background: #1E293B;
    box-sizing: border-box;
}

#footer .ft-contact-card__label {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.88);
}

#footer .ft-contact-card__phone {
    display: block;
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

#footer .ft-contact-card__phone:hover,
#footer .ft-contact-card__phone:focus {
    color: #fff;
    opacity: 0.9;
}

#footer .ft-contact-card__note {
    margin: 0 0 20px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
    word-break: keep-all;
}

#footer .ft-contact-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    background: #334155;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

#footer .ft-contact-card__btn:hover,
#footer .ft-contact-card__btn:focus {
    background: #475569;
    color: #fff !important;
}

#footer .ft-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding-top: 24px;
    border-top: 1px solid #e4e8ee;
}

#footer .ft-bottom__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
}

#footer .ft-bottom__links a {
    color: inherit;
    text-decoration: none;
}

#footer .ft-bottom__links a:hover {
    color: var(--primary, #2563EB);
}

#footer .ft-bottom__sep {
    color: #c5cad3;
}

#footer .ft-bottom__copy {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #64748B;
}

@media (max-width: 1100px) {
    #footer .ft-main {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    #footer .ft-nav__groups {
        grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(240px, 1.4fr);
    }
}

@media (max-width: 900px) {
    #footer .ft-nav__groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
    }

    #footer .ft-nav__group--contact {
        grid-column: 1 / -1;
    }

    #footer .ft-contact-card {
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    #footer {
        padding: 48px 0 32px;
    }

    #footer .ft-main {
        padding-bottom: 32px;
        gap: 28px;
    }

    #footer .ft-brand__logo {
        font-size: 22px;
    }

    #footer .ft-nav__title {
        margin-bottom: 12px;
    }

    #footer .ft-nav__list a {
        font-size: 14px;
        min-height: 32px;
        padding: 4px 0;
    }

    #footer .ft-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    #footer .ft-nav__groups {
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
    }
}

.footer_sns .inner {
    background: #fff;
}

.footer_sns .inner .dflx ul {
    display: flex;
    justify-content: space-between;
    height: 300px;

}

.footer_sns .inner .dflx ul li {
    width: 33.333333%;
    display: inline-block;
    height: 100%;
    border-top: 1px solid #111;
}



.footer_sns .inner .dflx ul li:not(:last-child) {
    border-right: 1px solid #111;
}

.footer_sns .inner .dflx ul li a {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.footer_sns .inner .dflx ul li a:hover {
    background: #f1f1f1;
}

.footer_sns .inner .dflx ul li a .top {
    font-size: 24px;
    font-family: var(--eng-font);
}

.footer_sns .inner .dflx ul li a .bot .df {
    display: flex;
    justify-content: flex-end;
    font-weight: 400;
    font-size: 40px;
    font-family: var(--eng-font);
}

/* ✅ Dim */
.ft-policy-dim {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
}

/* ✅ Modal */
.ft-policy-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    background: #fff;
    border-radius: 8px;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.ft-policy-inner {
    padding: 2rem;
    position: relative;
}

.ft-policy-content {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.ft-policy-content .ft-policy-item:not(:last-child) {
    margin-bottom: 24px;
}

.ft-policy-content .ft-policy-item h4 {
    font-size: 15px;
}

.ft-policy-content .ft-policy-item ul {
    margin-top: 8px;
}

.ft-policy-content .ft-policy-item ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.ft-policy-item ul li::before {
    content: "•";
    flex-shrink: 0;
    color: #333;
}


/* ✅ Close Button */
.ft-policy-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
}

/* ✅ 공통 모달 스타일은 기존 유지 */

.ft-policy-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
    /* 골드/주황 느낌 */
    margin-bottom: 1.2rem;
}


/* 일반 본문 */
.ft-policy-content .ft-policy-item ul li,
.ft-policy-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.ft-policy-content p {
    margin-top: 8px;
}


@media (max-width:768px) {
    .footer_sns .inner {
        background: #fff;
    }

    .footer_sns .inner .dflx ul {
        flex-direction: column;
        height: auto;
    }

    .footer_sns .inner .dflx ul li {
        width: 100%;
        border-top: none;
    }

    .footer_sns .inner .dflx ul li:first-child {
        border-top: 1px solid #111;
    }

    .footer_sns .inner .dflx ul li:not(:last-child) {
        border-bottom: 1px solid #111;
        border-right: none;
    }

    .footer_sns .inner .dflx ul li a {
        flex-direction: row;
        align-items: center;
        padding: 20px;
    }

    .footer_sns .inner .dflx ul li a .top {
        font-size: 18px;
    }

    .footer_sns .inner .dflx ul li a .bot .df {
        font-size: 22px;
    }
}

/* site-ilinks — 폭/풀블리드는 sec-bg-* 기준 (padding:0 으로 깨지 말 것) */

.sub-content > .site-ilinks.sec-bg-white,
.faq-hub__inner > .site-ilinks.sec-bg-white,
.area-hub__inner > .site-ilinks.sec-bg-white,
.area-hub__extra > .site-ilinks.sec-bg-white,
.area-detail__inner > .site-ilinks.sec-bg-white,
.sub-content > .site-ilinks.sec-bg-surface,
.faq-hub__inner > .site-ilinks.sec-bg-surface,
.area-hub__inner > .site-ilinks.sec-bg-surface,
.area-hub__extra > .site-ilinks.sec-bg-surface,
.area-detail__inner > .site-ilinks.sec-bg-surface {
    padding-top: 100px;
    padding-bottom: 100px;
}

.site-ilinks__head {
    margin: 0 0 36px;
    text-align: center;
}

.site-ilinks__title {
    /* 크기·줄간격은 상단 섹션 타이틀 공통 토큰 */
    color: #111;
}

.site-ilinks__desc {
    /* 크기·색은 상단 섹션 리드 공통 토큰 */
    color: #666;
}

.site-ilinks__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-ilinks__card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    min-height: 148px;
    padding: 22px 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e5e9f0;
    box-shadow: 0 6px 18px rgba(20, 40, 60, 0.04);
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.site-ilinks__card:hover,
.site-ilinks__card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    outline: none;
}

.site-ilinks__card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.site-ilinks__card-title {
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.28);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #0F172A;
    word-break: keep-all;
}

.site-ilinks__card-icon {
    flex-shrink: 0;
    color: #334155;
    margin-top: 2px;
}

.site-ilinks__card-desc {
    font-size: 15px;
    line-height: 1.65;
    color: #475569;
    word-break: keep-all;
}

@media (max-width: 900px) {
    .sub-content > .site-ilinks.sec-bg-white,
    .faq-hub__inner > .site-ilinks.sec-bg-white,
    .area-hub__inner > .site-ilinks.sec-bg-white,
    .area-hub__extra > .site-ilinks.sec-bg-white,
    .area-detail__inner > .site-ilinks.sec-bg-white,
    .sub-content > .site-ilinks.sec-bg-surface,
    .faq-hub__inner > .site-ilinks.sec-bg-surface,
    .area-hub__inner > .site-ilinks.sec-bg-surface,
    .area-hub__extra > .site-ilinks.sec-bg-surface,
    .area-detail__inner > .site-ilinks.sec-bg-surface {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .site-ilinks__title {
        max-width: none;
        margin-bottom: 12px;
    }

    .site-ilinks__grid {
        grid-template-columns: 1fr;
    }

    .site-ilinks__card {
        min-height: 0;
    }
}

.gm-section.gm-ilinks {
    background: var(--surface, #F8FAFC);
}

.gm-section.gm-ilinks .site-ilinks {
    margin: 0;
    padding: 0;
}

/* 설명 텍스트 — PC에서 대략 2줄 폭, 모바일은 화면 기준 */
.site-ilinks__desc,
.area-hub__lead,
.area-detail__lead,
.faq-hub__cta-text {
    margin-left: auto;
    margin-right: auto;
    max-width: 640px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .site-ilinks__desc,
    .area-hub__lead,
    .area-detail__lead,
    .faq-hub__cta-text {
        max-width: none;
    }
}
