/* 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;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding-top: 125px !important;
    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;
}

/* 배너 섹션 */
.banner-section {
    width: 100%;
    max-width: 1820px;
    /* margin-top: 80px; */
    margin-bottom: 0;
}

@media (max-width: 768px) {
	/* .banner-section {
		width: 180%;
		margin-left: -40%;
        overflow: hidden;
	} */
}

/* 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: 0px solid #ffffff;
}

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

.header-top {
    background-color: #fff;
    border-bottom: 0px solid #ffffff;
    height: 80px;
    /* overflow: hidden; */
}

.header-top a:hover,
.header-top button:hover {
    color: #c2af74 !important;
}

.header-top .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    gap: 15px;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
}

.header-top .header-logo-small {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    flex: none;
}

.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: #007bff;
}

.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;
}

div.QR {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 0;
    padding-left: 15px;
    z-index: 9999;
    vertical-align: middle;
    box-sizing: border-box;
}

/* 트리거~드롭다운 사이 호버 유지용(높이에 포함되지 않음) */
div.QR::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 10px;
}

/* Login | Sign Up 과 동일한 세로 구분(텍스트 |, #ddd) — 트리거 박스 수직 중앙 */
div.QR::before {
    content: "|";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    height: 1em;
    margin: auto 0;
    color: #ddd;
    font-size: 13px;
    line-height: 1;
    pointer-events: none;
    display: block;
}

div.QR .QR-trigger {
    display: inline-block;
    margin: 0;
    padding: 6px 12px;
    border: 1px solid #fff;
    border-radius: 2px;
    background: #fff;
    color: #111;
    font-size: 12px;
    font-weight: 500;
    font-family: inherit;
    line-height: 1.2;
    cursor: pointer;
    box-sizing: border-box;
    user-select: none;
}

div.QR .QR-trigger:hover,
div.QR .QR-trigger:focus {
    /* border-color: #999; */
    outline: none;
}

div.QR .QR-trigger:focus-visible {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

div.QR ul,
div.QR .QR-list {
    display: none;
    position: absolute;
    top: calc(100% - 4px);
    right: 0;
    left: 0;
    padding: 6px;
    margin: 0;
    list-style: none;
    border: 1px solid #333;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    z-index: 10000;
    min-width: 140px;
    box-sizing: border-box;
}

div.QR:hover ul,
div.QR:focus-within ul,
div.QR:hover .QR-list,
div.QR:focus-within .QR-list {
    display: block;
}

div.QR li {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 6px;
    color: #111;
    font-size: 11px;
    font-weight: 600;
}

.footer-links.footer-links-split .skin.goto a.surgery-link {
    position: relative;
    display: inline-block;
    padding-right: 38px;
    margin-right: 8px;
    border-right: 1px solid #8c8c8c;
}

.footer-links.footer-links-split .skin.goto a.surgery-link:after {
    content: "↗";
    position: absolute;
    right: 22px;
    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;
    margin-left: auto;
}

.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: #007bff;
}

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

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

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

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

.language .dropdown-content {
    display: none;
    z-index: 999;
    position: absolute;
    left: 0;
    right: 0;
    top: 80%;
    box-sizing: border-box;
    background: #fff;
    border: solid 1px #ddd;
    border-top: none;
    padding: 4px 16px;
}

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

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

.language .dropdown-content a:hover {
    font-weight: 500;
    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.1); */
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

.header-main .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.logo {
    display: none;
}

.logo a {
    font-size: 28px;
    font-weight: bold;
    color: #007bff;
}

/* Navigation */
.main-nav {
    max-width: 1400px;
    width: 100%;
	height: 45px;
    flex: 1;
}

.main-nav>ul {
    display: flex;
    gap: 25px;
}

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

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

.menu-link>a {
    font-size: 17px;
    font-weight: 500;
    padding: 12px 0;
    display: block;
    transition: color 0.3s;
    flex: 1;
}

.menu-link>a:hover {
    color: #007bff;
}

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

.submenu {
    display: none;
    position: absolute;
    top: 45px;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    z-index: 100;
}

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

.submenu li {
    padding: 0;
}

.submenu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
}

.submenu li a:hover {
    background-color: #eee;
    color: #000000;
    /* color: #007bff; */
}

/* 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: #333;
    margin-top: 5px;
}

.phone-number {
    font-size: 16px;
    font-weight: bold;
    color: #007bff;
    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: #007bff;
    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: -10px;
}

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

@media (min-width: 769px) {
    .mobile-sub-select-menu {
        display: none !important;
    }
    .mobile-menu-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .wrapper {
        margin: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
    }
    .wrapper {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    .fl_le {
        margin-bottom: initial;
    }
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

/* 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: #333;
}

/* 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: #333;
}

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

/* Footer */
.footer {
    padding: 40px 0;
    width: 100%; 
    background: #111; 
    color: #ddd;
}

.footer .footer-bottom-menu {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    box-sizing: border-box;
}

@media (min-width: 1025px) {
    .footer .footer-bottom-menu {
        width: 1400px;
        max-width: 100%;
    }
}

/* 푸터 1차 메뉴: 가로로 채우며 위·아래 2행 (grid-auto-flow: column) */
.footer .footer-bottom-menu ul.foot_1dul {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    justify-content: center;
    align-items: start;
    column-gap: 64px;
    row-gap: 16px;
    padding: 16px 40px;
}

/* Footer Menu Navigation */
#foot_1dul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    color: #333;
    margin: 0 0 30px 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100%;
    /* border-bottom: 1px solid #222; */
    background-color: transparent;
    box-sizing: border-box;
}

.foot_1dli {
    position: relative;
    flex: 0 0 auto;
    max-width: 180px;
}

.footer .footer-bottom-menu .foot_1dli {
    max-width: 200px;
    width: auto;
    position: relative;
    z-index: 1;
}

.footer .footer-bottom-menu .foot_1dli:hover,
.footer .footer-bottom-menu .foot_1dli:focus-within {
    z-index: 100;
}

.footer .footer-bottom-menu .foot_1da {
    font-weight: 500;
}

.footer .footer-bottom-menu .foot_2dul {
    padding: 2px 0;
    margin: 0;
}

.footer .footer-bottom-menu .foot_2dli {
    margin: 2px 0;
}

@media (max-width: 576px) {
    .footer .footer-bottom-menu ul.foot_1dul {
        column-gap: 24px;
        row-gap: 12px;
        padding: 16px 24px;
    }

    .footer .footer-bottom-menu .foot_1dli {
        max-width: 160px;
    }
}

.foot_1da {
    display: block;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
    border-bottom: 2px solid transparent;
    word-break: keep-all;
    white-space: normal;
    line-height: 1.4;
}

.foot_1da:hover {
    color: #c2934e;
}

.foot_2dul {
    display: block;
    position: static;
    background-color: transparent;
    min-width: auto;
    color: #aaa;
    list-style: none;
    box-shadow: none;
}

.foot_2dli {
    list-style: none;
}

.foot_2dli a {
    display: block;
    padding: 3px 0;
    font-size: 14px;
    word-break: keep-all;
    white-space: normal;
    line-height: 1.3;
    color: #999;
    text-decoration: none;
    transition: all 0.3s;
}

.foot_2dli a:hover {
    color: #c2934e;
    padding-left: 0px !important;
}

.footer-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
}

/* Footer Styles */

.footer-wrapper {
    margin: 0 auto;
    width: 100%;
    background-color: #111;
}

.footer-wrapper > div.company-info {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 10px 0 10px;
}

.footer-links {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex: 0 0 auto;
    align-items: center;
}

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

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

.footer-social {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-social .sns .footer-sns-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-social .sns .footer-sns-list > li {
    margin: 0 4px;
	opacity: .5;
}
.footer-social .sns .footer-sns-list > li:hover {
	opacity: 1;
}

.footer-social a {
    font-size: 0;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    background-color: #111;
}

.footer-social a:hover {
}

.footer-info {
    display: flex;
    flex-direction: row;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    gap: 30px;
    align-items: center;
    padding: 10px;
    border-top: 1px solid #b0b0b0;
    border-bottom: 1px solid #b0b0b0;
    box-sizing: border-box;
}

/* 링크 행: Location/Precautions 왼쪽, Aesthetic 오른쪽, 세로 가운데 */
.footer-links.footer-links-split {
    flex: 1 1 auto;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
    gap: 16px;
}

.footer-links.footer-links-split .links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
}

.footer-links.footer-links-split .footer-links-sep {
    display: block;
    width: 1px;
    align-self: stretch;
    min-height: 14px;
    background-color: #8c8c8c;
    flex-shrink: 0;
    user-select: none;
    margin: 0;
    padding: 0;
}

.footer-links.footer-links-split .skin.goto {
    flex-shrink: 0;
}

.company-info {
    flex: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.company-info p,
.company-info .company-info-text {
    font-size: 13px;
    color: #aaa;
    margin: 0;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
}

.company-info p:first-child,
.company-info .company-info-text:first-child {
    text-align: left;
}

.company-info p:last-child:not(:only-child),
.company-info .company-info-text:last-child:not(:only-child) {
    text-align: right;
}

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

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

.footer-copyright {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    text-align: center;
    padding: 20px 0 !important;
    /* border-top: 1px solid #a5a5a5; */
}

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

/* 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: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    z-index: 1001;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    appearance: none;
    -webkit-appearance: none;
}

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

.mobile-menu-toggle:focus,
.mobile-menu-toggle:focus-visible,
.mobile-menu-toggle:active {
    outline: none;
    box-shadow: none;
}

.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;
}

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

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

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    body {
        padding-top: 100px;
    }

    .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: 90px !important;
        padding-bottom: 50px !important;
    }

    .header {
        border-bottom: 1px solid #ffffff !important;
    }

    /* Header Top Mobile */
    .header-top {
        height: 31px;
        overflow: hidden;
        padding: 0;
        border-bottom: 1px solid #ffffff !important;
    }

    .header-top .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        padding: 8px 15px;
        box-sizing: border-box;
        flex-wrap: nowrap;
    }

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

    .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 {
        text-align: center;
    }

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

    .header-user {
        order: 2;
        flex: 0 1 auto;
        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-user .QR {
        display: none !important;
    }

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

    .language-mobile .dropbtn {
        width: 90px;
        height: 28px;
        font-size: 12px;
        padding: 0 8px 0 10px;
        background: #fff;
        border: solid 1px #ddd;
        color: #333;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
    }

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

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

    .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;
        background-color: #fff !important;
		border: none;
    }

    .header-main .container {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box;
        gap: 0 !important;
        position: relative;
    }

    .logo {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        order: 1;
        flex: 0 0 35px;
        height: 35px;
        width: 35px;
        background: #fff;
        border: none;
        cursor: pointer;
        padding: 8px;
        border-radius: 0;
        box-shadow: none;
        transition: all 0.3s ease;
        z-index: 1001;
        outline: none !important;
        -webkit-tap-highlight-color: transparent;
        appearance: none;
        -webkit-appearance: none;
    }

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

    .mobile-menu-toggle:focus,
    .mobile-menu-toggle:focus-visible,
    .mobile-menu-toggle:active {
        outline: none !important;
        box-shadow: none !important;
    }

    .mobile-menu-toggle span {
        display: block !important;
        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;
    }

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

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

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

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

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

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

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

    .header-main .language-mobile {
        order: 3;
        flex: 0 0 auto;
        height: 35px;
    }

    /* Navigation Mobile */
    .main-nav {
        display: none;
		height: auto;
        order: 4;
        flex: 0 0 100%;
        width: 100%;
        margin-top: 15px;
		margin-bottom: 30px;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
        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-y: auto;
        overflow-x: hidden;
        max-height: calc(100vh - 120px);
        animation: slideDown 0.3s ease-out;
        z-index: 900;
        position: relative;
        box-sizing: border-box;
    }

    @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: transparent;
    }

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

    .menu-link>a {
        font-size: 15px;
        font-weight: 500;
        flex: 1;
        padding: 0;
        color: #000000;
        transition: color 0.2s ease;
        -webkit-tap-highlight-color: transparent;
        tap-highlight-color: transparent;
    }

    .menu-link>a:hover,
    .menu-link>a:active,
    .menu-link>a:focus {
        color: #c2934e;
    }

    .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 #333333;
        transition: all 0.3s ease;
        transform-origin: center;
    }

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

    .submenu {
        position: static;
        display: none;
        box-shadow: none;
        background: linear-gradient(135deg, rgba(248, 249, 250, 0.95) 0%, rgba(241, 243, 244, 0.95) 100%);
        padding: 13px 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;
    }

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

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

    .submenu li a {
        padding: 13px 40px 13px 40px;
        font-size: 14px;
        color: #000000;
        transition: all 0.2s ease;
        position: relative;
        pointer-events: auto;
        -webkit-tap-highlight-color: transparent;
        tap-highlight-color: transparent;
    }

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

    .submenu li a:hover,
    .submenu li a:active,
    .submenu li a:focus {
        background-color: rgba(0, 0, 0, 0.04);
        color: #000000;
        padding-left: 45px;
    }

    .submenu li a:hover:before,
    .submenu li a:active:before,
    .submenu li a:focus:before {
        left: 25px;
        color: #000000;
    }

    /* 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-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;
    }

    .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);
    }
}

.fl_le .last-row-wrapper a:last-child {
    margin-left: -4px;
}

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

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

    .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 {
        width: 90px;
    }

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

    .language .dropbtn img {
        /* padding-top: 5px;
        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: 100% !important;
        height: auto !important;
    }
}

.container {
    padding: 0 15px;
}

@media (max-width: 768px) {

    .footer .container {
        display: none;
    }

    .footer-top {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px;
        align-items: center;
    }

    .footer-links {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        gap: 15px;
        width: 100%;
    }

    .footer-social {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        gap: 15px;
        width: 100%;
    }

    .footer-info {
        display: flex !important;
        flex-direction: column !important;
        gap: 0;
        align-items: center;
        padding: 20px;
		border:none;
    }

    .footer-info > *:not(:last-child) {
        border-bottom: 1px solid #b0b0b0;
        padding-bottom: 16px;
        margin-bottom: 16px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .footer-links {
        width: 100%;
        justify-content: center;
    }

    .footer-links.footer-links-split {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 12px 20px;
    }

    .footer-links.footer-links-split .skin.goto {
        border-left: 1px solid #8c8c8c;
        padding-left: 16px;
        margin-left: 4px;
        box-sizing: border-box;
    }

    .footer-links.footer-links-split .skin.goto a.surgery-link {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
    }

    .footer-links.footer-links-split .skin.goto a.surgery-link:after {
        right: -14px;
    }

    .company-info {
        width: 100%;
        max-width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px 16px;
    }

    .company-info .company-info-text:first-child {
        text-align: center;
    }

    .company-info .company-info-text:last-child:not(:only-child) {
        text-align: center;
        width: 100%;
        max-width: 100%;
    }

    .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: 100;
        border-top: 1px solid #eee;
    }

    .mobile-bottom-menu a {
        flex: 1;
        text-align: center;
        padding: 10px 0 4px 0;
        font-size: 13px;
        color: #333;
        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;
        color: #c2934e;
    }

    .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: linear-gradient(135deg, #dedede 0%, rgba(42, 125, 225, 0.10) 50%, #cacaca 100%); */
    color: rgb(59, 59, 59);
    padding: 60px 20px;
    margin-top: 176px !important;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.page-banner .title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.page-banner .subtitle {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .page-banner {
        margin-top: 90px !important;
        padding: 40px 15px;
    }

    .page-banner .title {
        font-size: 24px;
    }

    .page-banner .subtitle {
        font-size: 14px;
    }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transition: transform 0.3s ease;
    width: 100%;
}

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

.header-main {
    background-color: #ffffff;
    padding: 0;
}

.main-nav > ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.main-nav>ul>li {
    margin: 0;
    padding: 0;
    white-space: nowrap;
    line-height: 1;
    padding: 10px 0 9px 0;
}

.main-nav>ul>li:hover {
    border-bottom: 2px solid #b09e64 !important;
}

/* 데스크탑: 현재 URL에 해당하는 부모 메뉴 — hover와 동일 밑줄 */
@media (min-width: 1025px) {
    .main-nav > ul > li.nav-current-parent {
        border-bottom: 2px solid #b09e64 !important;
    }
}

.menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 12px;
    margin: 0;
    line-height: 1;
}

.main-nav a {
    color: #000000;
    text-decoration: none;
    display: block;
    font-size: 14px;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.main-nav a:hover,
.main-nav a:active,
.main-nav a:focus {
    color: #b09e64 !important;
}

.menu-link>a {
    color: #000000;
}

.submenu {
    background-color: #ffffff;
}

.submenu li {
    margin-bottom: 10px;
    padding-left: 0px;
}

.submenu a {
    color: #000000;
    font-size: 14px;
    padding: 5px 10px 5px 0;
}

.submenu a:hover {
    color: #333;
    background-color: #1a1a1a;
    border-radius: 3px;
}

.submenu-arrow {
    color: #ffffff;
    margin-left: auto;
    display: inline-flex;
}

@media (max-width: 768px) {
    body {
        padding-top: 87px !important;
    }

    .header-main {
        background-color: #fff;
        min-height: 55px;
        overflow: visible;
    }

    .main-nav a,
    .main-nav a:hover,
    .main-nav a:active,
    .main-nav a:focus {
        color: #000000 !important;
    }

    .main-nav {
        text-align: left;
        width: 100%;
        background: #ffffff;
        color: #000000;
    }

    .main-nav>ul {
        justify-content: flex-start;
        align-items: flex-start;
        width: 100%;
        background: #ffffff;
    }

    .main-nav>ul>li {
        width: 100%;
        padding: 10px 0;
        background: #ffffff;
    }

    .main-nav>ul>li .submenu {
        display: none;
        background-color: #ffffff;
    }

	.main-nav>ul>li .submenu li:last-child {
		margin-bottom: 0;
	}

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

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

    .main-nav>ul>li:hover .submenu li a {
        color: #000000;
    }

    .menu-link {
        text-align: left;
        width: 100%;
        background: #ffffff;
        border-bottom: none;
    }

    .menu-link>a {
        font-weight: 600;
        letter-spacing: 0.2px;
        color: #000000;
    }

    .menu-link>a:hover,
    .menu-link>a:active,
    .menu-link>a:focus {
        color: #c2934e !important;
    }

    .main-nav>ul>li:hover {
        background-color: #ffffff;
    }

    .submenu {
        background-color: #ffffff;
        padding: 11px 0 15px 0;
        border-bottom: none;
    }

    .submenu li {
        margin-bottom: 11px;
    }

    .submenu a {
        font-size: 14px;
        color: #000000;
    }

    .submenu a:hover,
    .submenu a:active,
    .submenu a:focus {
        color: #c2934e !important;
        background-color: #f0f0f0;
    }

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

/* index.jsp */
.wrapper {
    position: relative;
    /* width: 1100px; */
    margin: 0 auto;
}

.main-inner {
    overflow: hidden;
}

.main-inner .main_top {
    overflow: hidden;
}

.main-inner .main_top img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* 메인 비디오 이미지 */
.main-video-img {
    height: 258px;
    object-fit: cover;
    object-position: center;
    width: 100%;
    display: block;
}

.main-inner .main_top_left div {
    margin-bottom: 16px;
}

.main-inner .main_top_left div:last-child {
    margin-bottom: 0;
}

/* 배너 Swiper 스타일 */
.banner-swiper {
    --banner-crop-visible-x: 0.57;
    /* 가로로 보이는 원본 비율. 작을수록 양쪽을 더 자름 (0.5 = 가운데 50%) */
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

/* 가로 크롭: 래퍼 overflow + 이미지 가로 확대 (common.lib.jsp 배너 마크업과 함께 사용) */
.banner-swiper .banner-slide-crop {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    align-self: stretch;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    line-height: 0;
}

.banner-swiper .banner-slide-crop img {
    width: calc(100% / var(--banner-crop-visible-x, 0.5)) !important;
    max-width: none !important;
    height: auto;
    display: block;
}

.banner-swiper .swiper-wrapper {
    width: 100% !important;
    height: auto !important;
    overflow: visible;
    display: flex;
    transition: transform 0.3s ease;
}

/* flex에서 자식 % 기준이 무너지지 않게: 가로 꽉 채우고 세로는 콘텐츠 높이 */
.banner-swiper .swiper-slide {
    width: 100% !important;
    height: auto !important;
    min-width: 0;
    flex-shrink: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.banner-swiper .swiper-slide > a {
    display: flex !important;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    line-height: 0;
}

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

/* 구 메인 콘텐츠 캐러셀 전용 (540px 고정폭) */
.main-inner .main_top .main_top_left .swiper-wrapper {
    width: 540px;
    height: 259px;
    overflow: hidden;
    display: flex;
    transition: transform 0.3s ease;
}

.main-inner .main_top .main_top_left .swiper-slide {
    width: 540px;
    /* height: 247px; */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-inner .main_top .main_top_left {
    overflow: hidden;
    float: left;
    margin-right: 20px;
    width: 540px;
}

.main-inner .main_top .main_top_left div {
    float: left;
    width: 100%;
}

.main-inner .main_top .main_top_left div.half {
    width: 50%;
}

.main-inner .main_top .main_top_right {
    overflow: hidden;
    float: left;
    width: 540px;
}

.main-inner .main_top .main_top_right ul {
    overflow: hidden;
    margin-bottom: 18px;
    display: flex;
    gap: 20px;
    height: 258px;
}

.main-inner .main_top .main_top_right ul li {
    flex: 1;
    float: none;
    width: auto;
    height: 100%;
    overflow: hidden;
}

.main-inner .main_top .main_top_right ul li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-inner .main_top .main_top_right ul li:first-child {
    margin-right: 0;
}

.main-inner .main_top .main_top_right .mainconslide {
    width: 540px;
    overflow: hidden;
    height: 260px;
}

.main-inner .main_top .main_top_right .mainconslide .banner-swiper .swiper-wrapper {
    width: 100% !important;
    height: 100% !important;
    display: flex;
    overflow: visible;
}

.main-inner .main_top .main_top_right .mainconslide .banner-swiper .swiper-slide {
    width: 100% !important;
    height: 100% !important;
    flex-shrink: 0;
}

.main-inner .main_top .main_top_right .swiper-wrapper {
    width: 540px;
    height: 247px;
    overflow: hidden;
}

.main-inner .main_top .main_top_right .swiper-wrapper .swiper-slide {
    float: left;
}

.main-inner .main_bottom {
    overflow: hidden;
    margin-top: 20px;
}

.main-inner .main_bottom {
    overflow: hidden;
    margin-top: 20px;
}

.main-inner .main_bottom ul li {
    float: left;
    margin-right: 20px;
    width: 260px;
}

.main-inner .main_bottom ul li img {
    width: 100%;
}

.main-inner .main_bottom ul li.last {
    margin-right: 0;
}

/* main_top_right 한줄 레이아웃 */
.main-inner .main_top .main_top_right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.main-inner .main_top .main_top_right>ul {
    display: flex;
    gap: 20px;
    margin-bottom: 17px;
}

.main-inner .main_top .main_top_right ul li {
    flex: 1;
    float: none;
    width: auto;
    margin: 0;
}

.main-inner .main_top .main_top_right ul li:first-child {
    margin-right: 0;
}

/* 반응형 디자인 - 태블릿 (768px - 1099px) */
@media (max-width: 1099px) {
    .wrapper {
        width: 90%;
        margin: 40px auto;
    }

    .main-inner .main_top {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .main-inner .main_top .main_top_left {
        float: none;
        width: 100%;
        margin-right: 0;
    }

    .main-inner .main_top .main_top_right {
        float: none;
        width: 100%;
    }

    .main-inner .main_top .main_top_right>ul {
        display: flex;
        gap: 20px;
        margin-bottom: 20px;
    }

    .main-inner .main_top .main_top_right ul li {
        flex: 1;
        width: calc(50% - 10px);
    }

    .main-inner .main_bottom ul li {
        width: calc(50% - 10px);
    }

    .main-inner .main_bottom ul li:nth-child(2n) {
        margin-right: 0;
    }

    .main-inner .main_bottom ul li:nth-child(2n+1) {
        margin-right: 20px;
    }
}

/* 반응형 디자인 - 모바일 (480px - 767px) */
@media (max-width: 767px) {
    .wrapper {
        width: 95%;
        margin: 30px auto;
    }

    .footer {
        padding-top: 0 !important;
    }

    .main-inner .main_top {
        display: flex;
        flex-direction: column;
        gap: 10px;
        /* margin-top: 16px; */
    }

    .main-inner .main_bottom ul li,
    .main_top .main_top_left div,
    .mobile-margin-20,
    .main-inner .main_bottom {
        margin-top: 0px !important;
        /* margin-bottom: 12px !important; */
    }

    .main-video-img {
        height: auto !important;
        aspect-ratio: auto;
        padding-top: 0 !important;
    }

    .main-inner .main_top .main_top_right {
        float: none;
        width: 100%;
    }

    .main-inner .main_top .main_top_right>ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 10px;
        height: auto !important;
    }

    .main-inner .main_top .main_top_right ul li {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 0;
        height: auto !important;
    }

    .main-inner .main_top .main_top_right ul li img {
        width: 100%;
        height: auto !important;
        max-width: 100%;
        object-fit: contain;
    }

    /* 전역 .swiper-* 금지: 영문 메인 등 Swiper(slidesPerView) 너비·translate와 충돌함 */
    .main-inner .main_top .swiper-wrapper {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
    }

    .main-inner .main_top .swiper-slide {
        width: 100% !important;
        height: auto !important;
        min-height: 200px;
    }

    .main-inner .main_top .swiper-slide img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* 배너: 가로 100%, 높이 auto (이미지 비율 자동 유지) */
    .banner-swiper {
        --banner-crop-visible-x: 0.57; /* 모바일: 가운데 70% (양쪽 15% 잘림) */
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        margin-bottom: 10px !important;
    }

    .banner-swiper .swiper-wrapper {
        height: auto !important;
    }

    .banner-swiper .swiper-slide {
        height: auto !important;
        min-height: unset;
    }

    /* 크롭 래퍼 안 이미지는 .banner-slide-crop img 규칙 사용 — 직접 자식 img 만 100% (구 마크업) */
    .banner-swiper .swiper-slide > img,
    .banner-swiper .swiper-slide > a > img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* mainconslide: 모바일에서 540px 고정폭 해제, aspect-ratio 기반 높이 사용 */
    .main-inner .main_top .main_top_right .mainconslide {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
    }

    .main-inner .main_top .main_top_right .mainconslide .banner-swiper,
    .main-inner .main_top .main_top_right .mainconslide .banner-swiper .swiper-wrapper,
    .main-inner .main_top .main_top_right .mainconslide .banner-swiper .swiper-slide {
        height: auto !important;
    }

    .main-inner .main_bottom ul li {
        float: left;
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .main-inner .main_bottom ul li img {
        width: 100%;
        height: auto;
    }

    .main-inner .main_bottom ul li.last {
        margin-right: 0;
    }

    .main-inner .main_top .main_top_right .mainconslide {
        height: initial !important;
    }

    .main-inner .main_top_left div {
        margin-bottom: 10px;
    }
}

/* 소형 모바일 (480px 이하) */
@media (max-width: 480px) {
    .wrapper {
        width: 100%;
        margin: 20px auto;
        padding: 0;
    }

    .main-inner .main_top .main_top_right>ul {
        margin-bottom: 10px;
    }

}

@media (max-width: 768px) {
    body {
        padding-top: 117px !important;
    }

    .header {
        border-bottom: 0px solid #ffffff !important;
    }

    .header-links {
        padding-left: 10px;
    }
}

/* Google reCAPTCHA 오버플로우 해결 */
.g-recaptcha {
    overflow: hidden;
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.g-recaptcha iframe {
    overflow: hidden;
    border: none;
}

/* 모바일에서 reCAPTCHA 스케일 처리 */
@media (max-width: 768px) {
    .g-recaptcha {
        transform: scale(0.77);
        transform-origin: 0 0;
        width: fit-content;
    }
}

/* Mobile Select Menu Nav */
.mobile-menu-nav .mobile-menu-select-wrap {
    display: flex;
    flex-direction: row;
    gap: 3px;
    width: 100%;
    padding: 5px 10px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-sizing: border-box;
}

.mobile-menu-nav .mobile-menu-select {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    height: 42px;
    padding: 0 20px 0 10px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
}