/* Reset & Base Styles */
:root {
	--jayjun_gold: #a28a3d;
	--gray_3: #333;
	--gray_7: #777;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Malgun Gothic', '맑은 고딕', 'Apple SD Gothic Neo', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: var(--gray_3) !important;
    background-color: #fff;
    padding-top: 113px;
    overflow-x: hidden;
}

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

ul,
ol, 
li {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Visibility helpers */
.only-pc {
    display: block !important;
}

.only-mobile {
    display: none !important;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, #e0e4e8 0%, #d0d5da 100%);
    transition: transform 0.3s ease-in-out;
    border-bottom: 1px solid #eee;
}

.header-hidden {
    transform: translateY(-100%);
}

.header-top {
    background-color: rgba(250, 250, 250, 0.95);
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    width: 100%;
    /* height: 61px; */
    /* overflow: hidden; */
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.header-top .header-logo-small {
    flex: 0 0 auto;
}

.header-top .header-logo-small img {
    width: auto;
}

.header-main .header-logo-small {
    display: none;
}

.header-main .header-logo-small img {
    width: auto;
}

.header-links a {
    margin-right: 20px;
    font-size: 13px;
    color: #666;
    position: relative;
}

.header-links a:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    color: #ddd;
}

.header-links a:hover {
    color: var(--jayjun_gold);
}

.header-links .surgery-link:after {
    content: "↗";
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-52%);
    display: block;
    background-image: none;
    line-height: 1;
    font-size: 12px;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-user>a {
    font-size: 13px;
    color: #666;
    position: relative;
    padding-right: 15px;
}

.header-user>a:not(:last-of-type)::after {
    content: "|";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #ddd;
}

.header-user>a:hover {
    color: var(--jayjun_gold);
}

/* Language Dropdown */
.language {
    position: relative;
    display: inline-block;
    width: 110px;
    z-index: 999;
    margin-top: -3px;
    /* padding-left: 20px; */
}

/* 모바일용 language는 기본적으로 숨김 */
.language-mobile {
    display: none;
}

.language .dropbtn {
    width: 100%;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    box-sizing: border-box;
    background: #fff;
    border: solid 1px #ddd;
    color: #999;
    font-size: 12px;
    font-weight: 300;
    text-align: left;
    padding: 0 12px 0 20px;
    white-space: nowrap;
    cursor: pointer;
}

.language .dropbtn img {
    flex-shrink: 0;
    display: block;
    margin: 0;
    padding: 0;
}

.language .dropdown-content {
    display: none;
    z-index: 999;
    position: absolute;
    /* left: 20px; */
    background: #fff;
    /* width: 110px; */
    min-width: 110px;
    box-sizing: border-box;
    border: solid 1px #ddd;
    border-top: none;
    padding: 4px 10px;
}

.language .dropdown-content a {
    padding: 4px 0;
    display: block;
    padding-left: 30px;
    text-align: start;
}

.language:hover .dropdown-content {
    display: block;
}

.language .dropdown-content a:hover {
    font-weight: 600;
    color: #000;
}

.language .coun_01 {
    background: url('/img/jj_top_country_01.gif') left center no-repeat;
}

.language .coun_02 {
    background: url('/img/jj_top_country_02.gif') left center no-repeat;
}

.language .coun_03 {
    background: url('/img/jj_top_country_03.gif') left center no-repeat;
}

.language .coun_04 {
    background: url('/img/jj_top_country_04.gif') left center no-repeat;
}

.language .coun_05 {
    background: url('/img/jj_top_country_05.gif') left center no-repeat;
}

.language .coun_06 {
    background: url('/img/jj_top_country_06.gif') left center no-repeat;
}

/* Header Main */
.header-main {
    background-color: #fff;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    width: 100%;
}

.header-main .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.logo {
    display: none;
}

.logo a {
    font-size: 28px;
    font-weight: bold;
    color: var(--jayjun_gold);
}

/* Navigation */
.main-nav {
    flex: 1;
}

.main-nav > ul {
    margin: 0 !important;
}

.main-nav>ul {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.main-nav>ul>li {
    position: relative;
    display: flex;
    flex-direction: column;
}

.menu-link {
    display: flex;
    align-items: center;
}

.menu-link>a {
    font-size: 15px;
    font-weight: 500;
    padding: 14px 0;
    display: block;
    transition: all 0.3s;
    flex: 1;
	position: relative;
}

.menu-link > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--jayjun_gold);
    transition: width 0.2s ease;
}

.menu-link>a:hover {
    color: var(--jayjun_gold);
	font-weight: 600;
}

.menu-link > a:hover::after {
    width: 100%;
}

.submenu-arrow {
    display: none;
    margin-left: auto;
    transition: transform 0.3s;
    font-size: 12px;
}

.submenu {
    display: none;
    position: absolute;
    top: calc(100%);
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
    padding: 10px 15px;
    z-index: 100;
	border-top: 1px solid #eee;
}

.main-nav>ul>li:hover .submenu {
    display: block;
}

.submenu li {
    padding: 0;
}

.submenu li a {
    display: block;
    padding: 5px 3px;
    font-size: 14px;
    color: #666;
    transition: all 0.3s;
}

.submenu li a:hover {
    background-color: #f8f8f8;
    color: #111;
	font-weight: 600;
	padding-left: 10px;
}

/* Quick Menu */
.quick-menu {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.quick-item {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.quick-item:last-child {
    border-bottom: none;
}

.quick-item:hover {
    background-color: #f8f8f8;
}

.quick-item img {
    width: 40px;
    height: 40px;
    margin: 0 auto 5px;
}

.quick-title {
    display: block;
    font-size: 12px;
    color: var(--gray_3);
    margin-top: 5px;
}

.phone-number {
    font-size: 16px;
    font-weight: bold;
    color: var(--jayjun_gold);
    margin: 10px 0;
}

.hours {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 80px;
    right: 25px;
    width: 50px;
    height: 50px;
    background-color: var(--jayjun_gold);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 998;
}

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

.scroll-to-top:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Main Slider */
.main-slider {
    position: relative;
    width: 100%;
    height: 750px;
    overflow: hidden;
    background: #000;
}

.main-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.main-slider .slide.active {
    opacity: 1;
    z-index: 2;
}

.main-slider .slide a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.main-slider .slide>a>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 30px;
}

.slider-btn.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.slider-dots .dot.active {
    background: #fff;
    width: 40px;
    border-radius: 10px;
}

/* Main Content */
.main-content {
    padding: 0;
    margin-top: 30px;
}

.fl_le {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    justify-content: center;
    /*margin-bottom: -8px;*/
    overflow: hidden;
}

.fl_le a {
    display: inline-block;
    margin-bottom: 0px;
}

/* Remove tiny desktop gap between last-row images */
.last-row-wrapper {
    display: flex;
    gap: 0;
    font-size: 0;
}

@media (max-width: 768px) {
    .fl_le {
        margin-bottom: initial;
    }
}

@media (max-width: 1400px) {
    /*.fl_le {
        margin-bottom: -7px;
    }*/
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--gray_3);
}

/* Introduction Section */
.intro-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.intro-item {
    background-color: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.intro-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.intro-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #e0e0e0;
    border-radius: 50%;
    overflow: hidden;
}

.intro-item h3 {
    font-size: 18px;
    font-weight: bold;
    color: var(--gray_3);
}

/* Treatment Section */
.treatment-section {
    padding: 60px 0;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.treatment-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.treatment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.treatment-image {
    width: 100%;
    height: 200px;
    background-color: #e0e0e0;
    overflow: hidden;
}

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

.treatment-item h3 {
    font-size: 18px;
    font-weight: bold;
    padding: 15px;
    text-align: center;
    color: var(--gray_3);
}

.treatment-item p {
    font-size: 13px;
    color: #666;
    padding: 0 15px 15px;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #111;
    color: #fff;
    padding: 40px 0 20px;
}

/* Footer Menu Navigation */
#foot_1dul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 45px;
    list-style: none;
    padding: 12px 120px 25px;
    margin: 0 0 30px 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    border-bottom: 1px solid #222;
    /* background-color: #1a1a1a; */
    box-sizing: border-box;
}

.foot_1dli {
    position: relative;
    flex: 0 0 auto;
}

.foot_1da {
    display: block;
    padding: 6px 0;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    /* border-bottom: 2px solid transparent; */
}

.foot_1da:hover {
    color: var(--jayjun_gold);
    border-bottom-color: var(--jayjun_gold);
}

.foot_2dul {
    display: block;
    position: static;
    background-color: transparent;
    min-width: auto;
    padding: 6px 0 0 0;
    margin: 0;
    list-style: none;
    box-shadow: none;
    overflow: hidden;
}

.foot_2dli {
    list-style: none;
    overflow: hidden;
}

.foot_2dli a {
    display: block;
    padding: 3px 0;
    font-size: 14px;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s;
}

.foot_2dli a:hover {
    color: var(--jayjun_gold);
    /* padding-left: 5px; */
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #222;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-links > div {
    display: flex;
    align-items: center;
}

.footer-links > div:last-child {
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 14px;
    color: #bdc3c7;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    font-size: 0;
    color: #aaa;
    width: 35px;
    height: 35px;
    /*background-color: rgba(0, 0, 0, 1);*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.footer-social a:hover {
    color: #fff;
    /*background-color: rgba(0, 0, 0, 1);*/
}

.footer-social a img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(67%);
    transition: filter 0.3s;
}

.footer-social a:hover img {
    filter: brightness(0) saturate(100%) invert(100%);
}

.footer-info {
    margin-bottom: 20px;
}

.company-info p {
    font-size: 13px;
    color: #bdc3c7;
    margin-bottom: 5px;
}

.surgery-link-footer {
    margin-bottom: 15px;
}

.surgery-link-footer a {
    color: #fff;
    font-weight: bold;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #222;
}

.footer-copyright p {
    font-size: 12px;
    color: #999;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    position: relative;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
    background: #fff;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    z-index: 1001;
    color: #000;
}

.mobile-menu-toggle:hover {
    transform: translateY(-1px);
    background: #f8f8f8;
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 3px;
    background-color: #000 !important;
    margin: 0;
    border-radius: 1px;
    transition: all 0.3s ease;
    box-shadow: none;
    opacity: 1;
    flex: 0 0 3px;
    position: relative;
    z-index: 1;
}

.mobile-menu-toggle.active {
    background: #fff;
    border: none;
}

.mobile-menu-toggle.active:hover {
    background: #f8f8f8;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
	width: 21px;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(15px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
	width: 21px;
}

.mobile-sub-select-menu {
    display: none;
}

/* Responsive Design */
@media (max-width: 1400px) {
	.footer-top {
		margin-right: 10%;
		margin-left: 10%;
	}
	.footer-info {
		margin-left: 10%;
	}
}
@media (max-width: 1024px) {
    body {
        padding-top: 100px;
    }

    /*.fl_le {
        margin-bottom: -7px;
    }*/

    .header-top .container {
        padding: 0 15px;
    }

    .header-main .container {
        padding: 0 15px;
    }

    .treatment-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .quick-menu {
        right: 10px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 140px;
        padding-bottom: 60px;
    }

    /* Header Top Mobile */
    .header-top {
        padding: 8px 0;
    }

    .header-top .container {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: space-between;
    }

    .header-links {
        order: 1;
        flex: 0 1 auto;
        text-align: left;
    }

    .header-links a {
        font-size: 12px;
        margin-right: 15px;
    }

    .header-links .home-link {
        display: none;
    }

    .header-links a:not(:last-child)::after {
        right: -9px;
        top: 50%;
        transform: translateY(-50%);
    }

    .header-top .header-logo-small {
        display: none;
    }

    .header-logo-small {
        order: 3;
        width: 100%;
        text-align: center;
    }

    .header-logo-small img {
        max-height: 30px;
        margin: 0 auto;
    }

    .header-user {
        order: 2;
        flex: 0 1 auto;
        justify-content: flex-end;
        gap: 10px;
    }

    .header-user>a {
        font-size: 12px;
        padding-right: 10px;
    }

    .header-user>a:not(:last-of-type)::after {
        top: 50%;
        transform: translateY(-50%);
    }

    /* Language Dropdown Mobile */
    .language {
        display: none !important; /* header-top의 language 숨김 */
    }
    
    /* 모바일에서 header-main의 language만 표시 */
    .language-mobile {
        display: flex !important;
        align-items: center;
        position: relative;
        order: 3;
        flex: 0 0 90px;
        height: 35px;
    }

    .language-mobile .dropbtn {
        width: 100%;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 4px;
        font-size: 11px;
        padding: 0 8px 0 10px;
        box-sizing: border-box;
        background: #fff;
        border: solid 1px #ddd;
        color: #999;
        white-space: nowrap;
        cursor: pointer;
    }

    .language-mobile .dropbtn img {
        flex-shrink: 0;
        display: block;
        margin: 0;
        padding: 0;
    }

    .language-mobile .dropdown-content {
        display: none !important;
        position: absolute;
        top: 27px;
        background: #fff;
        width: 100%;
        min-width: 100%;
        padding: 2px 10px;
        right: auto;
        left: 0;
        box-sizing: border-box;
        border: solid 1px #ddd;
        border-top: none;
        z-index: 999;
        margin-top: 0;
    }

    .language-mobile .dropdown-content a {
        padding: 3px 0;
        padding-left: 25px;
        font-size: 12px;
        display: block;
    }
    
    .language-mobile .dropdown-content.show {
        display: block !important;
    }

    /* Header Main Mobile */
    .header-main {
        padding: 8px 0;
        height: 51px;
        /*overflow: hidden;*/
    }

    .header-main .container {
        display: flex !important;
        flex-wrap: wrap;
        position: relative;
        justify-content: space-between;
        align-items: center;
        min-width: auto;
        width: 100%;
        padding: 0 15px;
    }

    .logo {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        order: 1;
        flex: 0 0 35px;
        height: 35px;
        width: 35px;
    }

    .header-main .header-logo-small {
        position: absolute;
		top: 1px;
        left: 50%;
        transform: translateX(-50%);
        display: flex !important;
        align-items: center;
        justify-content: center;
        height: 35px;
        z-index: 1;
    }

    .header-main .header-logo-small img {
        max-height: 35px;
        display: block;
    }

    /* Navigation Mobile */
    .main-nav {
        display: none;
        order: 4;
        flex: 0 0 100%;
        width: 100%;
        margin-top: 15px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        overflow: hidden;
        animation: slideDown 0.3s ease-out;
        z-index: 10001;
        position: relative;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .main-nav.active {
        display: block;
    }

    .main-nav>ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav>ul>li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        display: flex;
        flex-direction: column;
        transition: background-color 0.2s ease;
    }

    .main-nav>ul>li:last-child {
        border-bottom: none;
    }

    .main-nav>ul>li:hover {
        background-color: rgba(100, 100, 100, 0.06);
    }

    .menu-link {
        display: flex;
        align-items: center;
        padding: 12px 20px;
        position: relative;
    }

    .menu-link>a {
        font-size: 15px;
        font-weight: 500;
        flex: 1;
        padding: 0;
        color: #2c3e50;
        transition: color 0.2s ease;
    }

    .menu-link>a:hover {
        color: var(--jayjun_gold);
    }
	.menu-link > a:hover::after {
		width: 0;
	}

    .submenu-arrow {
        display: inline-block;
        margin-left: auto;
        margin-right: 10px;
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 4px solid #95a5a6;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .main-nav>ul>li.active .submenu-arrow {
        transform: rotate(180deg);
        border-top-color: var(--jayjun_gold);
    }

    .submenu {
        position: static;
        display: none;
        box-shadow: none;
        background: linear-gradient(135deg, rgba(250, 250, 250, 0.7) 0%, rgba(250, 250, 250, 0.9) 100%);
        padding: 8px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        width: 100%;
        flex-shrink: 0;
        animation: fadeIn 0.2s ease-out;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            max-height: 0;
        }

        to {
            opacity: 1;
            max-height: 200px;
        }
    }

    .main-nav>ul>li.active .submenu {
        display: block;
    }

    /* 모바일에서는 hover로 서브메뉴가 고정 오픈되지 않도록 제어 */
    .main-nav>ul>li:hover .submenu {
        display: none;
    }

    .main-nav>ul>li.active:hover .submenu {
        display: block;
    }

    .submenu li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    }

    .submenu li:last-child {
        border-bottom: none;
    }

    .submenu li a {
        padding: 8px 40px 8px 40px;
        font-size: 14px;
        color: var(--gray_3);
        transition: all 0.2s ease;
        position: relative;
        pointer-events: auto;
    }

    .submenu li a:before {
        content: "\00a0 \00a0";
        position: absolute;
        left: 20px;
        color: #667eea;
        font-weight: bold;
    }

    .submenu li a:hover {
        background-color: rgba(100, 100, 100, 0.06);
        color: var(--jayjun_gold);
        padding-left: 45px;
    }

    .submenu li a:hover:before {
        left: 25px;
    }

    /* Content */
    .intro-grid,
    .treatment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .main-slider {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .main-slider .slide>a>img {
        object-fit: cover;
        object-position: center;
    }

    .quick-menu {
        display: none;
    }

    #foot_1dul {
        display: none;
    }

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

    .footer-links {
        align-items: center;
    }

    .footer-links > div:first-child {
        width: 100%;
        justify-content: center;
    }

    .footer-logo {
        max-width: 100px !important;
        height: auto !important;
    }
}

@media (max-width: 560px) {
    .fl_le {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        justify-items: center;
        align-items: center;
        margin-bottom: 0px;
    }

    .fl_le img {
        width: 100%;
        height: auto;
    }

    .last-row-wrapper {
        grid-column: 1 / -1; /* 첫 번째 열부터 마지막 열까지 차지 */
        display: flex;
        justify-content: center; /* 자식 요소를 가운데 정렬 */
    }

    .fl_le .last-row-wrapper img {
        width: 67%;
        height: auto;
        margin-left: calc((100% - 67%) / 2);
    }

    .mobile-sub-select-menu {
        display: block;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 137px;
    }

    /* Header Top Mobile Small */
    .header-top {
        padding: 6px 0;
    }

    .header-logo-small img {
        max-height: 25px;
    }

    .header-links a {
        font-size: 11px;
        margin-right: 10px;
    }

    .header-user {
        gap: 8px;
    }

    .header-user a {
        font-size: 11px;
    }

    .language .dropbtn {
        width: 90px;
        height: 20px;
        font-size: 10px;
        padding-left: 8px;
    }

    .language .dropbtn img {
        /* padding-top: 4px;
        padding-right: 8px; */
        width: 8px;
    }

    /* Navigation Mobile Small */
    .main-nav>ul>li>a {
        padding: 10px 8px;
        font-size: 14px;
    }

    .submenu li a {
        padding: 6px 40px;
        font-size: 14px;
    }

    /* Content Mobile Small */
    .intro-grid,
    .treatment-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .section-title {
        font-size: 22px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

    .submenu li[data-parent="상담"][data-name="HOME"] {
        display: none;
    }

    .footer-logo {
        max-width: 120% !important;
        height: auto !important;
    }
}

.container {
    padding: 0 15px;
}

@media (max-width: 768px) {
    .only-pc {
        display: none !important;
    }

    .only-mobile {
        display: block !important;
    }

    .mobile-bottom-menu {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
    display: flex;
    z-index: 9999;
    border-top: 1px solid #eee;
    }
    .mobile-bottom-menu a {
    flex: 1;
    text-align: center;
    padding: 10px 0 4px 0;
    font-size: 13px;
    color: var(--gray_3);
    text-decoration: none;
    border-right: 1px solid #eee;
    background: #fff;
    transition: background 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    }
    .mobile-bottom-menu a:last-child {
    border-right: none;
    }
    .mobile-bottom-menu a:hover {
    background: #f5f5f5;
    }
    .mobile-bottom-menu .icon {
    width: 24px;
    height: 24px;
    margin-bottom: 2px;
    display: block;
    }
    .mobile-bottom-menu .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    }
}

/* 페이지 배너 */
.page-banner {
    width: 100%;
    background: #fff;
    color: var(--gray_3);
    padding: 50px 20px 30px 20px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.page-banner .title {
    font-size: 2rem;
	font-weight: 400;
    /*font-weight: 700;
    margin-bottom: 8px;*/
    letter-spacing: -1px;
}

.page-banner .subtitle {
	display: none;
    /*font-size: 24px;
    position: relative;
    max-width: 800px;
    margin: 0 auto 30px;
    overflow: hidden;*/
}

@media (max-width: 768px) {
    .page-banner {
		display: none;
        /* margin-top: 90px !important;
        padding: 30px 15px;*/
    }

    /*.page-banner .title {
        font-size: 16px;
    }

    .page-banner .subtitle {
        font-size: 24px;
    }*/
}