@charset "utf-8";
@import url("./Pretendard.css");
/* Base & Reset */
html, body {
    width: 100%;
    /* 가로 스크롤 방지: 모바일 기기에서 화면이 옆으로 밀리는 현상 차단 */
    overflow-x: hidden; 
}

html {
    scroll-behavior: smooth; /* 내부 링크 이동 시 부드러운 스크롤 */
    scroll-padding-top: 100px; /* 상단 고정 메뉴(GNB) 높이만큼 여유 공간 확보 */
}

/* 4. 전역 폰트 적용 및 렌더링 최적화 */
body, h1, h2, h3, h4, h5, h6, input, textarea, select, button, .btn {
    font-family: var(--font-main) !important;
    
    /* 가독성 렌더링 옵션 (맥/아이폰/PC 통합 최적화) */
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    
    /* 정사각형 구조의 안정감을 위한 자간 조정 */
    letter-spacing: var(--ls-base);
}

/* 5. 상세 요소 스타일 */
body {
    font-weight: var(--fw-regular);
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
    word-break: keep-all; /* 단어 단위 줄바꿈 (요양원 사이트 가독성 핵심) */
}

h1, h2, h3, h4, h5, h6 {
    
    letter-spacing: var(--ls-tight);
    line-height: 1.3;
}

/* 본문 단락 */
p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: inherit;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* 레이아웃 계산 착오 방지 */
}
/* 강조 텍스트 */
strong, b {
    font-weight: var(--fw-bold);
    color: var(--bs-success-text-emphasis);
}

/* 주석이나 작은 글씨 */
.text-sm {
    font-size: 0.875rem;
    font-weight: var(--fw-light);
    color: #999;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;  /* 왼쪽 마진 자동 */
    margin-right: auto; /* 오른쪽 마진 자동 -> 중앙 정렬 */
}
    
hr {
    border: 0;           /* 기본 테두리 제거 (필수) */
    height: 1px;         /* 선 두께 */
    width: 100%;
    /* 양끝 투명(0) -> 중앙 #a0a0a0(투명도 1) -> 양끝 투명(0) */
    background-image: linear-gradient(to right, rgba(160, 160, 160, 0), rgba(160, 160, 160, 1), rgba(160, 160, 160, 0));
    margin: 10px 0;
}
.btn {
    font-family: var(--font-main);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-base);
}


/* 특정 클래스나, 모든 토글러 아이콘에 강제 적용 */
/* 일반 브라우저에서는 아무 영향이 없음 */
.hide-app { display: block; } 

/* body에 .is-app 클래스가 있을 때만 .hide-app을 숨김 */
body.is-app .hide-app {
    display: none !important;
}



.bg-c{background-color: #fdf2f5;}

/* Custom Typography (Bootstrap Extension) */
.fs-7 {
    font-size: 0.9375rem !important;
}

.fs-8 {
    font-size: 0.875rem !important;
}

.fs-9 {
    font-size: 0.8125rem !important;
}

.fs-10 {
    font-size: 0.75rem !important;
}

.fs-11 {
    font-size: 0.625rem !important;
}

/* Dividers */
.divide5 {
    width: 100%;
    height: 5px;
}
.divide10 {
    width: 100%;
    height: 10px;
}
.divide20 {
    width: 100%;
    height: 20px;
}
.divide30 {
    width: 100%;
    height: 30px;
}
.divide40 {
    width: 100%;
    height: 40px;
}
.divide50 {
    width: 100%;
    height: 50px;
}
.divide100 {
    width: 100%;
    height: 100px;
}
.divide200 {
    width: 100%;
    height: 200px;
}



/* Buttons & Backgrounds */
.theme-select-btn {
    background: #ffbb38;
    border-radius: 2px;
    border: 2px solid #aabb38;
    margin-left: 60px;
    height: 100%;
}

.theme-select-btn:hover {
    background: #ffbb38;
    color: #343a40;
}

@media (max-width: 992px) {
    .theme-select-btn {
        margin-right: 15px;
    }
}

.img-bg {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

.s-bg {
    background-color: #fff;
}

.s-bg01 {
    background-color: #e0abca21
}

.s-bg02 {
    background-color: #f8f9fa;
}

/* btns-icon */

 .btns-icon {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }

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

        .btns-icon {
            padding: 0px 20px;
        }
    }

    @media (max-width:768px) {
        .btns-icon {
            grid-template-columns: repeat(1, minmax(0, 1fr));
        }

        .btns-icon {
            padding: 0px 20px;
        }
    }

    .btns-icon>ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .btns-icon>ul>a {
        width: 100%;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        background: #fff;
        padding: 16px;
        cursor: pointer;
        text-align: left;

        display: grid;
        grid-template-columns: 70px 1fr;
        grid-template-rows: auto auto;
        grid-template-areas:
            "icon title"
            "icon desc";
        column-gap: 12px;
        row-gap: 4px;
    }


    .btns-icon>ul>a>i {
        grid-area: icon;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 70px;
        height: 70px;
    }

    .btns-icon>ul>a>i img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }


    .btns-icon>ul>a>h6 {
        grid-area: title;
        margin: 0;
        font-size: 18px;
        line-height: 1.3;
        margin-top: 5px;
    }

    .btns-icon>ul>a>span {
        grid-area: desc;
        display: block;
        font-size: 14px;
        line-height: 1.5;
        color: #6b7280;
        word-break: keep-all;
    }

    .btns-icon>ul>a:hover {
        border-color: #d1d5db;
        box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    }

/* Breadcrumbs */
.breadcrumbs {
    background-image: url("../../../pages/img/etc/45.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 110px 0 50px 0;
    z-index: 2;
    overflow: hidden;
    text-align: center;
}

.breadcrumbs.overlay::before {
    background-color: #081828;
    opacity: 0.1;
    z-index: -1;
}

.breadcrumbs .breadcrumbs-content {
    position: relative;
    float: none;
    padding: 0px 100px;
    margin-bottom: 30px;
}

.breadcrumbs .breadcrumbs-content p {
    color: #fff;
    font-size: 0.8125rem;
    margin-top: 25px;
}

.breadcrumbs .breadcrumbs-content .page-title {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    position: relative;
    line-height: 35px;
    padding-bottom: 20px;
    margin-bottom: 5px;
}

.breadcrumbs .breadcrumbs-content .page-title:before {
    position: absolute;
    content: "";
    left: 50%;
    bottom: 0;
    height: 4px;
    width: 80px;
    background: var(--bs-color02);
    border-radius: 5px;
    margin-left: -40px;
}



.breadcrumbs .breadcrumb-nav li,
.breadcrumbs .breadcrumb-nav li a {
    display: inline-block;
    color: #fff;
    font-size: 0.9375rem !important;
    font-weight: 500;
}

.breadcrumbs .breadcrumb-nav li a {
    padding-right: 15px;
    margin-right: 15px;
    position: relative;
}

.breadcrumbs .breadcrumb-nav li a:hover {
    color: var(--bs-color02);
}

.breadcrumbs .breadcrumb-nav li a:after {
    content: '';
    height: 80%;
    width: 2px;
    background-color: #fff;
    position: absolute;
    top: 2px;
    right: 0;
}

/* Sections */
section {
    padding-top: 50px;
    padding-bottom: 50px;
    position: relative;
}



/* Override duplicate blocks (consolidated where appropriate) */
.breadcrumbs {
    padding-top: 150px;
    padding-bottom: 20px;
}

/* Section Title */
.section-title {
    text-align: center;
    /*margin-bottom: 80px;*/
    /*padding: 0 300px;*/
    position: relative;
    z-index: 5;
}

.section-title h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    color: var(--bs-color02);
    text-transform: uppercase;
}

.section-title h2 {
    font-size: 1.5rem;
    /*margin-bottom: 25px;*/
    line-height: 42px;
    text-transform: capitalize;
    position: relative;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.section-title p {
    font-size: 1.25rem;
    margin: 10px 0 10px;
    line-height: 2.15rem;
}

.center-line {
    display: inline-block;
    width: 70px;
    height: 1px;
    border-top: 1px solid var(--bs-color02);
    ;
    margin: auto;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .section-title {
        /*padding: 0 200px;
        margin-bottom: 70px;*/
    }

    .section-title p {
        font-size: 1.2rem;
        line-height: 1.7rem;
        ;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .section-title {
        /*padding: 0 20px;
        margin-bottom: 70px;*/
    }

    .section-title h3 {
        font-size: 0.875rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
        line-height: 32px;
        margin-bottom: 20px;
    }

    .section-title p {
        font-size: 1.2rem;
        line-height: 1.7rem;
        ;
    }
}

@media (max-width: 767px) {
    .section-title {
        /*padding: 0 10px;
        margin-bottom: 60px;*/
    }

    .section-title h3 {
        font-size: 0.875remx;
    }

    .section-title h2 {
        font-size: 1.5rem;
        line-height: 30px;
        /* margin-bottom: 18px;*/
    }

    .section-title p {
        font-size: 1.1rem;
        line-height: 1.5rem;
    }
}

.section-title.align-right {
    padding: 0 0 0 600px;
}

.section-title.align-right h2:before {
    display: none;
}

.section-title.align-right h2:after {
    position: absolute;
    right: 0;
    bottom: -1px;
    height: 2px;
    width: 50px;
    background: var(--bs-color02);
    content: "";
}

.section-title.align-left {
    padding: 0 600px 0 0;
}

.section-title.align-left h2:before {
    left: 0;
    margin-left: 0;
}

/* Scroll Top */
.scroll-top {
    width: 45px;
    height: 45px;
    line-height: 45px;
    background: var(--bs-color02);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.875rem;
    color: #fff !important;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9;
    cursor: pointer;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .3s ease-out 0s;
}


.scroll-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.scroll-top:hover {
    box-shadow: 0 1rem 3rem rgba(35, 38, 45, 0.15) !important;
    transform: translate3d(0, -5px, 0);
    background-color: #081828;
}


/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999999;
    width: 100%;
    height: 100%;
    background-color: #fff;
    overflow: hidden;
}

.preloader-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.preloader-icon {
    width: 100px;
    height: 100px;
    display: inline-block;
    padding: 0px;
}

.preloader-icon span {
    position: absolute;
    display: inline-block;
    width: 100px;
    height: 100px;
    border-radius: 100%;
    background: var(--bs-color02);
    animation: preloader-fx 1.6s linear infinite;
}

.preloader-icon span:last-child {
    animation-delay: -0.8s;
}

@keyframes preloader-fx {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(1, 1);
        opacity: 0;
    }
}

/* Header & Navbar */
.header {
    position: absolute;
    width: 100%;
    transition: all 0.4s ease;
    background-color: #fff;
}

.navbar-area {
    width: 100%;
    z-index: 99;
    transition: all 0.3s ease-out 0s;
    background: #ffffff00;
    padding: 0;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.09);
    /*position: relative;*/
    top: 0;
    left: 0;
}

.navbar-toggler {
    padding: 0.11rem 0.27rem;
    border: var(--bs-border-width, 1px) solid rgba(254, 254, 254, 0.7);
    border-radius: 0.29rem;
    font-size: 1.05rem;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: none !important;
    background-color: #fff !important;
    -webkit-mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 100%;
    mask-size: 100%;
}

.navbar-toggler:focus,
.btn:focus,
button:focus,
input:focus,
textarea:focus,
a:focus {
    text-decoration: none;
    outline: none !important;
    box-shadow: none !important;
}


    /* Offcanvas 동작을 위한 필수 CSS 강제 주입 */
    .offcanvas {
        position: fixed;
        bottom: 0;
        z-index: 1045;
        display: flex;
        flex-direction: column;
        max-width: 100%;
        visibility: hidden;
        background-color: #fff; /* 배경색 흰색 */
        background-clip: padding-box;
        outline: 0;
        /*box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.975);*/
       
        transition: transform 0s ease-in-out !important;
    }
    @media (max-width: 991px) {
      .offcanvas {
       
        background-color: #fff; /* 배경색 흰색 */
        background-clip: padding-box;
        outline: 0;
        /*box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.975);*/
       
        transition: transform 0s ease-in-out !important;
    }  
    /* 왼쪽에서 나오는 메뉴 설정 */
    .offcanvas-start {
        top: 0;
        left: 0;
        width: 60% !important;
        max-width: 400px;
        border-right: 1px solid rgba(0, 0, 0, 0.2);
        border-top-right-radius: 20px;
        transform: translateX(-100%); /* 평소에는 왼쪽 화면 밖으로 숨김 */
    }

    

    /* 버튼을 눌러서 'show' 클래스가 붙었을 때 화면 안으로 이동 */
    .offcanvas.show {
        transform: none; /* 제자리로 이동 */
        visibility: visible;
    }
    
    /* 배경이 어두워지는 효과 (Backdrop) - 부트스트랩 JS 버전에 따라 자동 적용 안될 수도 있음 */
    .offcanvas-backdrop.show {
        opacity: 0.5;
    }

}



.sticky {
    position: fixed;
    z-index: 99;
    background-color: #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.09);
    transition: all 0.3s ease-out 0s;
    top: 0;
    padding: 0;
}

.navbar-brand .logo-scroll {
    display: none !important;
}

.navbar-brand .logo-default {
    display: block !important;
}

.sticky .navbar-brand .logo-default {
    display: none !important;
}

.sticky .navbar-brand .logo-scroll {
    display: block !important;
}

.sticky .navbar-toggler {
    border: var(--bs-border-width, 1px) solid rgba(3, 3, 3, 0.29);
}

.sticky .navbar-toggler-icon {
    background-color: #333 !important;
    -webkit-mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 100%;
    mask-size: 100%;
}   


/* --- 로고 스위칭 스타일 끝 --- */
.navbar-expand-lg .navbar-nav {
    margin-left: auto !important;
}

.header .navbar .navbar-nav .nav-item a.active,
.sticky .navbar .navbar-nav .nav-item a.active {
    color: var(--bs-color02);
}

.sticky .navbar .navbar-nav .nav-item a {
    color: #333;
}

.sticky .navbar .navbar-nav .nav-item .sub-menu a.active {
    color: #fff;
}

.sticky .navbar .mobile-menu-btn .toggler-icon {
    background: #333;
}

.header .toolbar-area {
    padding: 5px 0;
    background: #c5649900;
}

.header .toolbar-area a,
.header .toolbar-area .toolbar-social ul li .title,
.header .toolbar-area .toolbar-social ul li a {
    color: #fff;
    font-size: 0.875rem;
}

.header .toolbar-area .toolbar-social {
    margin-top: 8px;
    color: #fff;
}

.header .toolbar-area .toolbar-social ul li {
    display: inline-block;
    margin-right: 15px;
}

.header .toolbar-area .toolbar-social ul li:last-child {
    margin: 0;
}

.header .toolbar-area .toolbar-social ul li a:hover {
    transform: translateY(-2px);
}

.header .toolbar-login {
    float: right;
}

.header .toolbar-login a {
    display: inline-block;
    margin-right: 20px;
    color: #fff;
    font-weight: 500;
    font-size: 0.8125rem;
}

.header .toolbar-login a:hover {
    opacity: 0.7;
}

.header .toolbar-login a:last-child {
    margin: 0;
}

.header .toolbar-login .btn {
    color: var(--bs-color02);
    padding: 6px 20px;
    font-size: 0.8125rem;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid transparent;
    font-weight: 600;
}

.header .toolbar-login .btn:before {
    display: none;
}

.header .toolbar-login .btn:hover {
    color: #fff;
    opacity: 1;
    background-color: transparent;
    border-color: #fff;
}

.navbar-area.sticky .toolbar-area {
    display: none;
}

.navbar {
    padding: 0;
    position: relative;
    transition: all 0.3s ease-out 0s;
}

.navbar-brand {
    padding: 0;
    color: var(--bs-color02);
    font-weight: 800;
}

.navbar-brand img {
    width: 100%;
}

.mobile-menu-btn {
    padding: 0px;
}

.mobile-menu-btn:focus {
    text-decoration: none;
    outline: none;
    box-shadow: none;
}

.mobile-menu-btn .toggler-icon {
    width: 30px;
    height: 2px;
    background-color: #222;
    display: block;
    margin: 5px 0;
    position: relative;
    transition: all 0.3s ease-out 0s;
}

.mobile-menu-btn.active .toggler-icon:nth-of-type(1) {
    transform: rotate(45deg);
    top: 7px;
}

.mobile-menu-btn.active .toggler-icon:nth-of-type(2) {
    opacity: 0;
}

.mobile-menu-btn.active .toggler-icon:nth-of-type(3) {
    transform: rotate(135deg);
    top: -7px;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
    .navbar-collapse {
        position: absolute;
        top: 165% !important;
        left: 0;
        width: 100%;
        background-color: #fff;
        z-index: 9;
        box-shadow: 0px 15px 20px 0px rgba(0, 0, 0, 0.1);
        padding: 10px 20px;
        max-height: 350px;
        overflow-y: scroll;
    }
}

.navbar-nav .nav-item {
    z-index: 1;
    position: relative;
    margin-left: 50px;
}

.navbar-nav .nav-item:first-child {
    margin: 0;
}

.navbar-nav .nav-item:hover a,
.navbar-nav .nav-item a.active {
    color: #fff;
}

.navbar-nav .nav-item a {
    padding: 22px 0;
    display: inline-flex;
    align-items: center;
    font-size: 1.150rem;
    font-weight: 500;
    color: #fff;
    transition: all 0.3s ease-out 0s;
    position: relative;
    text-transform: capitalize;
}

.navbar-nav .nav-item a::after {
    opacity: 0;
    visibility: hidden;
}

.navbar-nav .nav-item a::before {
    content: '';
    position: absolute;
    top: 17px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
}

.navbar-nav .nav-item a.active:before,
.navbar-nav .nav-item:hover a:before {
    opacity: 1;
    visibility: visible;
    width: 100%;
    top: 17px;
}

.sticky .navbar-nav .nav-item a::before {
    background-color: var(--bs-color02);
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .navbar-nav .nav-item a.dd-menu {
        padding-right: 30px;
    }

    .navbar-nav .nav-item a.dd-menu::after {
        right: 13px;
    }

    .navbar-nav .nav-item a {
        padding: 22px 0 !important;
    }

    .header .search-form .form-control {
        width: 130px !important;
    }

    .header .search-form {
        margin-left: 30px !important;
    }
}

.navbar-nav .nav-item a.dd-menu::after {
    content: "\ea58";
    font: normal normal normal 1em/1 "LineIcons";
    position: absolute;
    right: 17px;
    font-size: 10px;
    top: 50%;
    margin-left: 5px;
    height: 10px;
    margin-top: -5px;
    transition: all 0.3s ease-out 0s;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
    .navbar-nav .nav-item a.dd-menu::after {
        top: 16px;
        right: 0;
        transform: rotate(180deg);
    }

    .navbar-nav .nav-item a.collapsed::after {
        transform: rotate(0deg);
    }

}

.navbar-nav .nav-item:hover>.sub-menu {
    top: 100%;
    opacity: 1;
    visibility: visible;
}

.navbar-nav .nav-item:hover>.sub-menu .sub-menu {
    left: 100%;
    top: 0;
}

.navbar-nav .nav-item .sub-menu {
    min-width: 150px;
    background-color: #fff;
    box-shadow: 0px 13px 20px rgba(0, 0, 0, 0.09);
    position: absolute;
    top: 100% !important;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out 0s;
    padding: 10px 0;
    border-bottom: 4px solid var(--bs-color02);
    border-top: 1px solid rgba(0, 0, 0, 0.09);
}

.navbar-nav .nav-item .sub-menu .nav-item a {
    padding: 6px 15px !important;
    color: #081828;
    display: block;
    font-size: 15px;
    font-weight: 500;
    text-transform: capitalize;
}

.navbar-nav .nav-item .sub-menu .nav-item a:before {
    display: none;
}

.navbar-nav .nav-item .sub-menu.left-menu {
    left: -100%;
}

.navbar-nav .nav-item .sub-menu.collapse:not(.show) {
    display: block;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
    .navbar-nav .nav-item .sub-menu.collapse:not(.show) {
        display: none;
    }

    .navbar-nav .nav-item {
        margin: 0;
    }

    .navbar-nav .nav-item a::before {
        display: none;
    }

    .navbar-nav .nav-item .sub-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 0;
        border: none;
        margin-left: 15px;
        margin-right: 15px;
    }

    .navbar-nav .nav-item .sub-menu .nav-item a {
        padding: 12px 12px;
    }

    .navbar-nav .nav-item .sub-menu .nav-item a:hover {
        background: #fff !important;
        color: var(--bs-color02) !important;
    }

    .navbar-nav .nav-item .sub-menu::after {
        display: none;
    }

    .navbar-nav .nav-item a {
        color: #051441;
        display: flex;
        justify-content: space-between;
        padding: 10px 0;
    }

    .navbar-nav .nav-item a::after {
        opacity: 1;
        visibility: visible;
    }

    .nav-inner {
        padding: 18px 0;
    }

    .navbar-nav .nav-item .sub-menu>li.active {
        background: #fff !important;
        color: var(--bs-color02) !important;
    }

    .header.style3.navbar-area .header-social {
        display: none;
    }

    .navbar-nav .nav-item .sub-menu>li.active>a,
    .navbar-nav .nav-item .sub-menu>li:hover>a {
        color: var(--bs-color02) !important;
        background-color: #fff !important;
    }
    .navbar-nav .nav-item:hover a,
    .sticky .navbar-nav .nav-item:hover a,
    .navbar-nav .nav-item a.active {
        color: #000;
    }
}



.navbar-nav .nav-item .sub-menu>li {
    display: block;
    margin-left: 0;
}

.navbar-nav .nav-item .sub-menu>li:last-child {
    border: none;
}

.navbar-nav .nav-item .sub-menu>li.active>a,
.navbar-nav .nav-item .sub-menu>li:hover>a {
    color: #fff !important;
    background-color: var(--bs-color02) !important;
}

.navbar-nav .nav-item .sub-menu>li>a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    color: #222;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    font-weight: 400;
}

.navbar-nav .nav-item .sub-menu>li:first-child a {
    border: none;
}

.navbar-nav .nav-item .sub-menu>li>a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--bs-color02);
}



/* Services */
.services {
    padding: 40px 0;
    background-color: #fff;
}

.services .icon-box {
    text-align: center;
    border: 1px solid #ebebeb;
    padding: 80px 20px;
    transition: all ease-in-out 0.3s;
    background: #fff;
}

.services .icon-box .icon {
    margin: 0 auto;
    width: 64px;
    height: 64px;
    background: var(--bs-color02);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: 0.3s;
}

.services .icon-box .icon i {
    color: #151515;
    font-size: 28px;
    transition: ease-in-out 0.3s;
}

.services .icon-box h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 24px;
}

.services .icon-box h4 a {
    color: #151515;
    transition: ease-in-out 0.3s;
}

.services .icon-box h4 a:hover {
    color: var(--bs-color02);
}

.services .icon-box p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.services .icon-box:hover {
    border-color: #fff;
    box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
}

/* Main Product */
.main-product {
    padding: 40px 0;
    background-color: #fff;
}

.main-product .section-title {
    margin-bottom: 30px;
}

.main-product .goods {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.main-product .goods .goods-img {
    position: relative;
    overflow: hidden;
}

.main-product .goods .goods-info {
    padding: 25px 15px;
}

.main-product .goods .goods-info h4 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 18px;
    color: #151515;
}

.main-product .goods .goods-info span {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #aaaaaa;
}

.main-product .goods .goods-info p {
    font-style: italic;
    font-size: 14px;
    line-height: 26px;
    color: #777777;
}

/* Inner Page & Partner */
.inner-page {
    padding: 30px 0;
    background-color: #fff;
}

.partner {
    padding: 80px 0;
    background-color: #fff;
}

.partner .swiper-slide img {
    opacity: 0.5;
    transition: 0.3s;
    filter: grayscale(100);
}

.partner .swiper-slide img:hover {
    filter: none;
    opacity: 1;
}

.partner .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.partner .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    opacity: 1;
    background-color: #ddd;
}

.partner .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--bs-color02);
}

/* Footer */
/* 공통 링크 스타일 */
#footer {
   
    background-color: #081828;
    color: #D2D6DC;
    font-size: 14px;
    padding-bottom: 30px;
}
#footer a {
    color: #D2D6DC;
    text-decoration: none;
    transition: color 0.3s, background-color 0.3s;
}

#footer a:hover {
    color: var(--accent-color);
}

/* 레이아웃 섹션 */
#footer .footer-top {
    padding: 40px 0 20px;
}

#footer .footer-info {
    margin-bottom: 10px;
}

/* 타이틀 스타일 (H3, H4 통합 관리 가능하지만 기존 디자인 유지) */
#footer h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    margin: 0 0 20px;
    padding: 2px 0;
    line-height: 1;
}

/* span에 같은 색상을 주는 중복 코드는 제거함 (상속됨) */

#footer .footer-info p {
    font-size: 14px;
    line-height: 24px;
    color: #fff;
    margin-bottom: 0;
}

#footer h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 15px; /* 시각적 여백 추가 */
}

#footer .footer-links{
    margin-bottom: 10px;
}

#footer .footer-links a {
    color: #fff; /* 기본 흰색 */
    display: inline-block;
    line-height: 1;
}

#footer .footer-links a:hover {
   
    color: var(--bs-color03);
}
/* a:hover는 상단의 공통 스타일을 따름 */

/* 카피라이트 */
#footer .copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1); /* 구분선 추가 제안 */
}

/*text-slider*/
/* 텍스트 수직 정렬을 위해 line-height를 높이와 맞춤 */
.text-swiper .swiper-slide {
    display: flex;
    align-items: center;
    /* 세로 중앙 정렬 */
    white-space: nowrap;
    /* 줄바꿈 방지 */
    cursor: default;
    font-size: 0.875rem;
    color: #fff;
}
    .bg-gr1 {
    background: rgb(251, 244, 248);
    background: -moz-linear-gradient(166deg, rgba(251, 244, 248,1) 0%, rgba(255,255,255,0.7763480392156863) 100%);
    background: -webkit-linear-gradient(166deg, rgba(251, 244, 248, 1) 0%, rgba(255, 255, 255, 0.7763480392156863) 100%);
    background: linear-gradient(166deg, rgba(251, 244, 248, 1) 0%, rgba(255, 255, 255, 0.7763480392156863) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FBF4F8",endColorstr="#ffffff",GradientType=1);
    }
	
/*--------------------------------------------------------------
# APP BUTTON
--------------------------------------------------------------*/
/* app 버튼 레이아웃 */
    .badge-container {
        display: flex;
        gap: 12px;
        justify-content: center;
        align-items: center;
        padding: 20px;
        flex-wrap: wrap;
    }

    .store-badge {
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        background: #fff;
        color: #000;
        padding: 5px 16px;
        border-radius: 7px;
        border: 1px solid #e0e0e0;
        transition: all 0.2s;
        min-width: 160px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .store-badge:hover {
        background: #f8f9fa;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .store-badge .icon {
        width: 30px;
        height: 30px;
        margin-right: 10px;
        flex-shrink: 0;
    }

    .top-text {
        font-size: 14px;
        font-weight: 700;
        color: #000;
        line-height: 1.2;
        text-align: left;
    }

    .bottom-text {
        font-size: 11px;
        color: #5f6368;
        text-align: left;
    }
    
    /* 커스텀 알림창 스타일 (공통) */
        #customAlert {
            display: none;
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 9999;
            justify-content: center;
            align-items: center;
        }
        .alert-content {
            background: #fff;
            padding: 25px;
            border-radius: 12px;
            max-width: 350px;
            width: 90%;
            text-align: center;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }
        .alert-content h5 { margin-bottom: 15px; font-weight: bold; color: #333; }
        .alert-content p { font-size: 1.1rem; color: #666; margin-bottom: 20px; white-space: pre-wrap; }
        .alert-btn {
            width: 100%; padding: 10px; background-color: #198754;
            color: white; border: none; border-radius: 6px; font-weight: 500;
            cursor: pointer;
        }
