/* Typography & Spacing System */
:root {
    --primary-color: #f47d31;
    --title-main: clamp(36px, 6vw, 60px);
    --title-sub: clamp(20px, 3vw, 30px);
    --text-body: 16px;
    --text-desc: 18px;
    --section-padding: clamp(60px, 10vw, 120px) 0;
}
.mb_none{display: none;}
.pc-only { display: block; }
.mo-only { display: none; }

@media (max-width: 1024px) {
    .pc-only { display: none; }
    .mo-only { display: block; }
}
.section { padding: var(--section-padding); margin: 0 auto; }
.title-area { margin-bottom: clamp(40px, 6vw, 60px); text-align: center; }
#before-after { overflow-x: hidden;}
/* Global Title Styles */
.section-title-main { font-size: var(--title-main); color: var(--primary-color); font-weight: 900; line-height: 1.1; margin-bottom: 10px; }
.section-title-sub { font-size: var(--title-sub); font-weight: 700; color: #111;   margin: 20px 0 30px; }
.section-desc { font-size: var(--text-body); color: #666; line-height: 1.6; word-break: keep-all; max-width: 800px; margin: 0 auto; }

* { margin: 0; padding: 0; box-sizing: border-box; }
body, html { font-family: 'Pretendard', sans-serif; line-height: 1.5; color: #333; overflow-x: hidden; width: 100%; word-break: keep-all; }
body.menu-open { overflow: hidden; }
p, span, h1, h2, h3, h4, h5, h6 { word-break: keep-all; }
ul, li { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; width: 100%; height: 100%; object-fit: cover; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }

.inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; }
.section { padding: 80px 0;margin: 0 auto;}
.root_daum_roughmap .cont{display: none;}
#daumRoughmapContainer1768876346833{width: 100% !important; height: 100%;aspect-ratio: 16 / 9 !important;}
#daumRoughmapContainer1768876346833 .wrap_map{width: 100% !important; height: calc(100% - 32px) !important;aspect-ratio: 16 / 9 !important;cursor: default !important; pointer-events: none !important;}
#daumRoughmapContainer1768876346833 .map{width: 100% !important; height: 100%;aspect-ratio: 16 / 9 !important;cursor: default !important; pointer-events: none !important;}

@media (max-width: 1024px) {
    h1, h2, h3, h4, h5, h6, p, span, a, li, 
    .section-title-main, .section-title-sub, .section-desc, 
    .hero .sub-title, .hero .main-title, 
    .problem-footer p, .stage-item-desc, .card-desc,
    .rev-desc, .doctor-item .message, .faq-q, .faq-a .a-inner {
        text-wrap: balance;
    }
    br.mo { display: none; }
}

/* Header */
#header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 20px 0; transition: background 0.3s; }
#header .inner { display: flex; justify-content: flex-end; align-items: center; }
#header .logo { display: none; }

/* Menu Toggle Buttons (+ / -) */
.menu-controls { position: fixed; right: 20px; top: 20px; z-index: 1100; display: flex; gap: 10px; }
.btn-ctrl { 
    width: 44px; 
    height: 44px; 
    background: #ff8a3d; 
    border-radius: 50%; 
    position: relative;
    border: none; 
    cursor: pointer; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.15); 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-ctrl::before, .btn-ctrl::after {
    content: '';
    position: absolute;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

/* Minus Icon */
.btn-ctrl.btn-close::before { width: 18px; height: 3px; }

/* Plus Icon */
.btn-ctrl.btn-open::before { width: 18px; height: 3px; }
.btn-ctrl.btn-open::after { width: 3px; height: 18px; }

/* Button Visibility Logic */
.menu-controls.open .btn-open { display: none; }
.menu-controls:not(.open) .btn-close { display: none; }

.btn-ctrl:hover { transform: scale(1.1); background: #f47d31; box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

/* GNB */
#header .gnb { 
    position: fixed; 
    top: 0; 
    right: -100%; 
    /* width: 280px; 
    height: 100vh;  */
    background: none; 
    backdrop-filter: none;
    padding: 100px 30px 0; 
    transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1); 
    z-index: 1050; 
    display: block;
    pointer-events: none;
}
#header .gnb.open { right: 0; pointer-events: auto; }
#header .gnb ul { text-align: right; background: rgba(0,0,0,0.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: -5px 0 20px rgba(0,0,0,0.3); padding: 20px 25px; border-radius: 15px; }
#header .gnb li { margin-bottom: 20px; opacity: 0; transform: translateX(30px); transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
#header .gnb.open li { opacity: 1; transform: translateX(0); }

/* Sequence Delays when opening */
#header .gnb.open li:nth-child(1) { transition-delay: 0.1s; }
#header .gnb.open li:nth-child(2) { transition-delay: 0.15s; }
#header .gnb.open li:nth-child(3) { transition-delay: 0.2s; }
#header .gnb.open li:nth-child(4) { transition-delay: 0.25s; }
#header .gnb.open li:nth-child(5) { transition-delay: 0.3s; }
#header .gnb.open li:nth-child(6) { transition-delay: 0.35s; }
#header .gnb.open li:nth-child(7) { transition-delay: 0.4s; }
#header .gnb.open li:nth-child(8) { transition-delay: 0.45s; }
#header .gnb.open li:nth-child(9) { transition-delay: 0.5s; }

#header .gnb a { 
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    transition: 0.2s;
    display: inline-block;
    letter-spacing: px;
    line-height: 1.0;
    position: relative;
}
#header .gnb a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}
#header .gnb a:hover { color: #fff; transform: translateX(-5px); }
#header .gnb a:hover::after,
#header .gnb li.active a::after { width: 100%; }
#header .gnb li.active a { color: #fff; }

@media (max-width: 768px) {
    #header .gnb { padding: 120px 20px 0; }
    .menu-controls { right: 15px; top: 70px; }
    .btn-ctrl { width: 40px; height: 40px; font-size: 24px; }
}
@media (max-width: 768px) {
    #header .gnb li { margin-bottom: 10px; }
    #header .gnb a { font-size: 20px; }
}
/* Hero & Problem Combined Area */
.hero-problem-wrap { background-color: #fff; position: relative; }

.hero { width: 100%; aspect-ratio: 1280 / 850; background-color: #e6e6e6; display: flex; flex-direction: column; justify-content: flex-end; position: relative; min-height: 600px; padding-bottom: 40px; max-height: 800px; overflow: hidden; }
.hero-bg-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-bg-slider .swiper-slide { background-size: cover; background-position: center top; background-repeat: no-repeat; width: 100%; height: 100%; }
.hero::before { display: none; }
.hero .hero-content { color: #fff; text-align: center; width: 100%; position: relative; bottom: -20px; z-index: 10; }
.hero .sub-title { font-size: clamp(18px, 2vw, 24px); font-weight: 400; margin-bottom: 15px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); letter-spacing: -0.5px; }
.hero .main-title { font-size: clamp(40px, 10vw, 120px);  font-weight: 900; letter-spacing: -4px; color: #fff; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.hero .main-title .title-top { font-size: clamp(24px, 4vw, 48px); font-weight: 700; letter-spacing: -1px; }
.hero .main-title .title-mid { }

/* Fixed & Absolute Elements from Image */
.top-banner { position: fixed; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 500px; background: #000; color: #fff; display: flex; justify-content: center; align-items: center; padding: 10px 20px; border-bottom-left-radius: 15px; border-bottom-right-radius: 15px; z-index: 1000; font-size: clamp(10px, 3.5vw, 14px); gap: clamp(5px, 2vw, 15px); white-space: nowrap; }
.top-banner a { color: #f47d31; font-weight: 700; border-bottom: 1px solid #f47d31; }

.side-floating { position: fixed; top: 50%; transform: translateY(-50%); left: clamp(10px, 2vw, 20px); width: clamp(60px, 8vw, 110px); z-index: 1000; cursor: pointer; display: block; text-decoration: none; }
.side-floating .floating-box { background: #333; border-radius: clamp(20px, 3vw, 40px); overflow: hidden; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.3); transition: 0.3s; }
.side-floating .floating-box:hover { transform: scale(1.05); }
.side-floating .img-wrap { aspect-ratio: 1 / 1.1; width: 100%; }
.side-floating .text { padding: clamp(5px, 1.5vw, 15px) 5px; color: #fff; font-size: clamp(10px, 1.2vw, 14px); font-weight: 800; line-height: 1.3; }
@media (max-width: 768px) {
    .side-floating {display: none;}
}
.zoom-controls { position: absolute; top: 80px; right: 20px; display: flex; gap: 10px; z-index: 50; }
.zoom-controls button { width: 40px; height: 40px; border-radius: 50%; background: #f47d31; color: #fff; font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }

/* Problem (Now follows naturally after Hero) */
.problem { background: #fff; text-align: center; position: relative; padding-top: 0px;}
.problem .title-bottom { display: block; color: var(--primary-color); font-size: clamp(40px, 10vw, 150px); font-weight: 900;  letter-spacing: -2px; margin-bottom: 30px; background: #fff; line-height: 0.9; }
.problem .title-area h3 { font-size: var(--title-sub); margin-bottom: 15px; font-weight: 800; }
.problem .title-area h3 strong { color: var(--primary-color); }
.problem .title-area p { font-size: var(--text-desc); color: #666; margin-bottom: 50px; }

.problem-visual { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 50px; max-width: 900px; margin-left: auto; margin-right: auto; }
.problem-visual .visual-item { width: 100%; }
.problem-visual .visual-item .img-wrap { width: 100%; aspect-ratio: 300 / 225; border-radius: 10px; overflow: hidden; margin-bottom: 10px; }
.problem-visual .visual-item span { font-weight: 700; color: var(--primary-color); font-size: 18px; }

@media (max-width: 768px) {
    .problem-visual { grid-template-columns: repeat(2, 1fr); gap: 15px; padding: 0 20px; }
}
@media (max-width: 480px) {
    .problem-visual { grid-template-columns: repeat(1, 1fr); }
}

.problem-footer p { font-size: clamp(20px, 3vw, 24px); margin-bottom: 30px; font-weight: 700; }
.problem-footer .btn-check { display: inline-block; background: var(--primary-color); color: #fff; padding: 15px 40px; border-radius: 30px; font-weight: 700; font-size: 18px; margin-bottom: 15px; }
.problem-footer .btn-desc { display: block; font-size: 14px; color: #888; }

/* Problem GIF Area */
.problem-gif { 
    max-width: 900px; 
    margin: 60px auto 0; 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    position: relative; 
    aspect-ratio: 16 / 9; 
    background: #fff;
    display: block;
}
.problem-gif #lottie-placeholder { 
    width: 100%; 
    height: 100%; 
    display: block; 
    object-fit: cover; 
    position: absolute; 
    top: 0; 
    left: 0; 
    z-index: 10; 
    transition: opacity 0.5s; 
}
.problem-gif #lottie-anim { 
    width: 100%; 
    height: 100%; 
    position: absolute; 
    top: 0; 
    left: 0; 
    z-index: 5; 
}
.problem-gif #lottie-anim div {
    width: 100%;
    height: 100%;
}
.problem-gif #lottie-anim canvas {
    width: 100% !important;
    height: 100% !important;
}
.problem-gif.loaded #lottie-placeholder { 
    opacity: 0; 
    pointer-events: none; 
}

/* Protocol */
.protocol { color: #fff; text-align: center; }
.protocol .title-area h3 { font-size: var(--title-sub); font-weight: 800;color: #fff; }
.protocol .title-area p { font-size: var(--text-desc); margin-bottom: 15px; font-weight: 700; }
.protocol .title-area .desc { font-size: var(--text-body); opacity: 0.8; margin-bottom: 40px; display: block; }
.protocol .protocol-desc {margin-top: 60px; text-align: center;font-size: var(--text-desc); font-weight: 700;}

/* Protocol Tabs */
.protocol-tabs { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 45px; 
    margin-bottom: 60px; 
    padding: 0 20px;
}
.protocol-tabs button { 
    background: rgba(255, 255, 255, 0.4); 
    color: #5d4037; 
    padding: 15px 0; 
    border-radius: 100px; 
    font-size: clamp(20px, 3vw, 24px); 
    font-weight: 800; 
    width: 100%; 
    max-width: 400px; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    border: none; 
    line-height: 1.2; 
    position: relative;
    cursor: pointer;
}
.protocol-tabs button span { 
    display: block; 
    position: absolute;
    bottom: -26px;
    left: 0;
    right: 0;
    font-size: clamp(14px, 2vw, 16px); 
    font-weight: 500; 
    color: #fff;
    opacity: 1 !important; 
    word-break: keep-all; 
    text-shadow: 0 1px 5px rgba(0,0,0,0.1);
}
.protocol-tabs button.active { 
    background: #fff; 
    color: #000; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.15); 
    transform: translateY(-2px);
}
.protocol-tabs button.active span { 
    color: #fff; 
    opacity: 1; 
}

.protocol-visual { margin-bottom: 40px; max-width: 1024px; margin: 0 auto; position: relative; }
.protocol-visual .visual-box { width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; }
.problem-footer-title{color: #f47d31;}
.protocol-prev, .protocol-next { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: rgba(255, 255, 255, 0.3); 
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #000; 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.protocol-prev svg, .protocol-next svg { width: 24px; height: 24px; transition: transform 0.3s; }
.protocol-prev:hover, .protocol-next:hover { 
    background: #fff; 
    color: #f47d31; 
    border-color: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.protocol-prev:hover svg { transform: translateX(-2px); }
.protocol-next:hover svg { transform: translateX(2px); }
.protocol-prev { left: 20px; }
.protocol-next { right: 20px; }

@media (max-width: 768px) {
    .protocol-prev, .protocol-next { width: 40px; height: 40px; }
    .protocol-prev svg, .protocol-next svg { width: 20px; height: 20px; }
    .protocol-prev { left: 10px; }
    .protocol-next { right: 10px; }
}

/* Detail */
.detail { background: #fff; }
.detail-item { margin-bottom: clamp(60px, 10vw, 120px); }
.detail-item:last-child { margin-bottom: 0; }
.detail-item .label { color: var(--primary-color); font-weight: 700; font-size: 14px;  margin-bottom: 10px; display: block;  text-align: center; text-transform: uppercase; letter-spacing: 1px;}
.detail-item h4 { font-size: var(--title-sub); font-weight: 800; margin-bottom: 15px;  text-align: center;}
.detail-item .desc { font-size: var(--text-desc); color: #666; margin-bottom: 40px;  text-align: center; word-break: keep-all; line-height: 1.6;}
.detail-content { display: flex; align-items: center; gap: clamp(30px, 5vw, 60px); justify-content: center;}
.detail-content.reverse {/*  flex-direction: row-reverse;  */}
.detail-content .img-box { width: 40%; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; max-width: 600px;}
.detail-content .text-box { width: 40%;}
.detail-content .text-box p { font-size: var(--text-body); margin-bottom: 20px; color: #444; line-height: 1.7; }

/* Stage */
.stage { color: #fff; text-align: center; }
.stage .title-area { margin-bottom: 60px; }
.stage .stage-tabs { display: flex; flex-direction: column; align-items: center; gap: 15px; margin-bottom: 80px; }
.stage-tabs button { width: 80%;min-width: 260px; max-width: 400px; padding: 15px 0; border-radius: 40px; background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.6); font-size: clamp(20px, 3vw, 24px); font-weight: 800; transition: background 0.3s, color 0.3s, border-color 0.3s; border: none; line-height: 1.2; }
.stage-tabs button.active { background: var(--primary-color); color: #fff; }

/* Regeneration Layout (Vertical Stack) */
.stage-item-wrap { display: flex; flex-direction: column; gap: 80px; align-items: center; }
.stage-info-box { width: 100%; max-width: 800px; }
.stage-item-title { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 25px; }
.stage-visual { width: 100%; aspect-ratio: 16 / 9; border-radius: 40px; overflow: hidden; margin-bottom: 30px; background: #333; }
.stage-item-desc { font-size: 16px; color: #fff; line-height: 1.6; word-break: keep-all; }

/* Grid Layouts (Remodeling & Resurfacing) */
.stage-grid-remodeling, .stage-grid-resurfacing { 
    display: grid; 
    gap: 60px 20px; 
    max-width: 1100px; 
    margin: 0 auto; 
}
.stage-grid-remodeling { grid-template-columns: repeat(3, 1fr); }
.stage-grid-resurfacing { grid-template-columns: repeat(2, 1fr); max-width: 800px; }

.grid-card { 
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center; 
}
.card-title { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 20px; min-height: 3em; line-height: 1.4; display: flex; align-items: center; justify-content: center; }
.card-visual { width: 100%; aspect-ratio: 1 / 1; background: #eee; border-radius: 20px; margin-bottom: 20px; overflow: hidden; flex-shrink: 0; }
.card-desc { font-size: 14px; color: #fff; line-height: 1.6; word-break: keep-all; flex-grow: 1; }

@media (max-width: 1024px) {
    .stage-grid-remodeling { grid-template-columns: repeat(2, 1fr);max-width: 800px; }
}

@media (max-width: 768px) {
    .stage-grid-resurfacing { grid-template-columns: 1fr;}
    .stage-grid-resurfacing .grid-card {width: 50%;margin: 0 auto; }
    .stage-grid-remodeling, .stage-grid-resurfacing {gap: 0 20px; }
    .stage-item-desc, .card-desc { font-size: 14px;}
    .card-desc { display: none;}
    .stage-visual { border-radius: 20px; }
}

/* Before After */
.before-after { position: relative; color: #fff; text-align: center; padding-bottom: 0; overflow: hidden; }
.before-after .title-area { margin-bottom: 60px; }
.before-after .title-area h3 { font-size: var(--title-main); color: var(--primary-color); font-weight: 900; line-height: 1.1; margin-bottom: 10px; color: #fff; }
.before-after .title-area p { font-size: var(--text-desc); font-weight: 700; margin:20px 0 30px; }
.before-after .title-area .desc { font-size: var(--text-body); opacity: 0.8; font-weight: 400; }

.ba-slider.swiper { overflow: visible; }
.ba-slider { position: relative; max-width: 600px; margin: 0 auto; transform-style: preserve-3d; }
.ba-visual { width: 100%; display: flex; justify-content: center; transition: 1s; background: transparent; }
.ba-visual img { width: 100%; height: auto; object-fit: contain; transform: translate3d(0,0,0); backface-visibility: hidden; }

.ba-slider .swiper-slide { transition: 1s; pointer-events: none; background: transparent !important; }
.ba-slider .swiper-slide-active { pointer-events: auto; }
.ba-slider .swiper-slide-next .ba-visual,
.ba-slider .swiper-slide-prev .ba-visual { filter: brightness(0.5); }
.ba-slider .swiper-slide-active .ba-visual { filter: none; }

.ba-prev, .ba-next { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    cursor: pointer; 
    z-index: 20; 
    width: 40px; 
    height: 40px; 
    color: #000;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}
.ba-prev { left: -60px; }
.ba-next { right: -60px; }
.ba-prev svg, .ba-next svg { width: 30px; height: 30px; stroke-width: 3; }
.ba-prev:hover, .ba-next:hover { opacity: 0.5; }

@media (max-width: 1024px) {
    .ba-slider { max-width: 85%; }
    .ba-prev { left: 5px; background: rgba(255,255,255,0.3); border-radius: 50%; }
    .ba-next { right: 5px; background: rgba(255,255,255,0.3); border-radius: 50%; }
}

@media (max-width: 768px) {
    .before-after { overflow-x: hidden; }
}

/* Case Grid */
.case-grid { background: #fff; text-align: center; }
.case-tabs { display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; }
.case-tabs button { padding: 12px 35px; border-radius: 30px; border: 1px solid #ddd; background: #fff; color: #999; font-size: 18px; font-weight: 500; transition: 0.3s; }
.case-tabs button.active { background: #f47d31; border-color: #f47d31; color: #fff; box-shadow: 0 5px 15px rgba(244, 125, 49, 0.3); }

.grid-container { display: none; grid-template-columns: repeat(3, 1fr); gap: 40px 20px; }
.grid-container.active { display: grid; }

.grid-item { width: 100%; }
.grid-item .img-group { margin-bottom: 15px; border: 1px solid #eee; overflow: hidden; }
.grid-item .img-wrap { width: 100%; aspect-ratio: 1.5 / 1; overflow: hidden; }
.grid-item .img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.grid-item .info { text-align: center; padding: 10px 0; }
.grid-item .info p { font-size: 15px; color: #444; font-weight: 500; line-height: 1.6; margin-bottom: 2px; }
.grid-item .info .type { color: #f47d31; font-weight: 700; }

/* Footer */
#footer { color: #666; padding: 40px 0; text-align: center; }

/* Video */
.video { background-color: #f9f0f0; text-align: center; }
.video .title-area { margin-bottom: 60px; }
.video .video-title { font-size: var(--title-main); color: var(--primary-color); font-weight: 900; margin-bottom: 15px; letter-spacing: -2px; line-height: 1; }
.video .video-subtitle { font-size: var(--title-sub); color: #333; font-weight: 700; }

.video-slider-wrap { position: relative; max-width: 900px; margin: 0 auto; }
.video-list { width: 100%; overflow: visible !important; }
.video-list .swiper-wrapper { display: flex; flex-direction: column; gap: 40px; }
.video-item { width: 100%; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.iframe-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.iframe-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

.video-prev, .video-next { 
    display: none; 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    cursor: pointer; 
    z-index: 20; 
    width: 50px; 
    height: 50px; 
    color: #f47d31;
    transition: 0.3s;
    align-items: center;
    justify-content: center;
}
.video-prev { left: -70px; }
.video-next { right: -70px; }
.video-prev svg, .video-next svg { width: 30px; height: 30px; stroke-width: 3; }
.video-prev:hover, .video-next:hover { transform: translateY(-50%) scale(1.1); }

@media (max-width: 1024px) {
    .video-list { overflow: hidden !important; }
    .video-list .swiper-wrapper { flex-direction: row; gap: 0; }
    .video-slider-wrap { padding-top: 50px; }
    .video-prev, .video-next { 
        display: flex;
        top: 0; 
        bottom: auto;
        transform: none; 
        background: #fff; 
        border-radius: 50%;
        width: 44px;
        height: 44px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .video-prev { left: auto; right: 54px; }
    .video-next { right: 0; }
    .video-prev:hover, .video-next:hover { transform: translateY(-2px); }
}

/* WHY RODAM */
.why-rodam { position: relative; text-align: center; background-color: #fff; }
.why-rodam .main-title { font-size: var(--title-main); color: var(--primary-color); font-weight: 900; letter-spacing: -2px; line-height: 1; margin-bottom: 15px; }
.why-rodam .sub-title { font-size: var(--title-sub); font-weight: 800; color: #111; margin-bottom: 10px; }
.why-rodam .sub-title .highlight { color: var(--primary-color); }
.why-rodam .desc { font-size: var(--text-body); color: #888; display: block; margin-bottom: 60px; }

.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; position: relative; max-width: 1100px; margin: 0 auto; }
.why-grid-line-v { position: absolute; top: 0; left: 50%; width: 1px; height: 100%; background: #f47d31; transform: translateX(-50%); z-index: 1; transform-origin: top; }
.why-grid-line-h { position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: #f47d31; transform: translateY(-50%); z-index: 1; transform-origin: left; }
.why-grid::before, .why-grid::after { display: none; }

.why-item { display: flex; flex-direction: column; padding: 60px 40px; position: relative; min-height: 480px; }
.why-item.reverse { flex-direction: column; } /* 03, 04번도 순차적 배치 유지 (HTML 순서대로) */

/* 상단 행 (01, 02): 이미지를 상단에 고정, 텍스트를 하단(중앙선 쪽)으로 밀기 */
.why-grid .why-item:nth-child(3),
.why-grid .why-item:nth-child(4) { justify-content: flex-start; }
.why-grid .why-item:nth-child(3) .text-box,
.why-grid .why-item:nth-child(4) .text-box { margin-top: auto; margin-top: 20px;}

/* 하단 행 (03, 04): 텍스트를 상단(중앙선 쪽)에 고정, 이미지를 하단으로 밀기 */
.why-grid .why-item:nth-child(5),
.why-grid .why-item:nth-child(6) { justify-content: flex-start; }
.why-grid .why-item:nth-child(5) .img-box,
.why-grid .why-item:nth-child(6) .img-box { margin-top: auto; margin-bottom: 0; }
.why-grid .why-item:nth-child(5) .text-box,
.why-grid .why-item:nth-child(6) .text-box { padding-top: 0; padding-bottom: 30px; }

.why-item .img-box { width: 100%; aspect-ratio: 480 / 280; border-radius: 20px; overflow: hidden; }
.why-item .img-box img { width: 100%; height: 100%; object-fit: cover; }

.why-item .text-box { position: relative; width: 100%; }

/* 숫자 라벨 (중앙 십자선 교차점에 밀집 배치) */
.why-item .num { 
    position: absolute; 
    font-size: 24px; 
    font-weight: 500; 
    color: #f47d31; 
    z-index: 10;
    background: #fff;
    padding: 2px 8px;
    line-height: 1;
    width: 45px;
}

/* 2x2 그리드 중앙 교차점으로 모으되, 중첩되지 않게 각 아이템의 모서리에 배치 */
.why-grid .why-item:nth-of-type(3) .num { bottom: 10px; right: 20px; }
.why-grid .why-item:nth-of-type(4) .num { bottom: 10px; left: 20px; }
.why-grid .why-item:nth-of-type(5) .num { top: 20px; right: 20px; }
.why-grid .why-item:nth-of-type(6) .num { top: 20px; left: 20px; }

.why-item .text-box h4 { font-size: clamp(18px, 2vw, 22px); font-weight: 700; color: #111; margin-bottom: 15px; }
.why-item .text-box p { font-size: 15px; color: #666; line-height: 1.6; word-break: keep-all; }

/* Common Reason Sections */
.reason-section { text-align: center; background-color: #f9f9f9; padding: var(--section-padding); }
.reason-label { font-size: 14px; font-weight: 700; color: var(--primary-color); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; display: block;}
.reason-title { font-size: var(--title-sub); font-weight: 800; color: #111; margin-bottom: 40px; word-break: keep-all; line-height: 1.3; }
.reason-title strong { color: var(--primary-color); }

/* Reason 01 (Circles) */
.circle-grid { display: flex; justify-content: center; align-items: center; gap: 3%; max-width: 1000px; margin: 0 auto; }
.circle-item { width: 30%; max-width: 320px; aspect-ratio: 1 / 1; background: #e6e6e6; border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 20px; transition: transform 0.3s; flex-shrink: 0; }
.circle-item:hover { transform: translateY(-10px); background: var(--primary-color); color: #fff; }
.circle-item .txt { font-size: clamp(10px, 1.2vw, 18px); font-weight: 600; margin-bottom: 5px; white-space: nowrap; }
.circle-item .val { font-size: clamp(16px, 2.5vw, 48px); font-weight: 900; white-space: nowrap; }
.circle-item:hover .val { color: #fff; }

/* Reason 02 (Reviews) */
.review-summary { margin-bottom: 50px; }
.review-summary .total { font-size: clamp(36px, 10vw, 80px); color: var(--primary-color); font-weight: 900; display: block; line-height: 1; }
.review-summary .date { font-size: 14px; color: #999; margin-top: 10px; }

.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }
.btn-more-reviews { display: none; }
.review-item { background: #fff; padding: 30px; border-radius: 20px; text-align: left;/*  box-shadow: 0 5px 20px rgba(0,0,0,0.05); */ border: 1px solid #f47d31;}
.review-item .rev-title { font-size: 18px; font-weight: 800; color: #f47d31; margin-bottom: 12px; }
.review-item .rev-desc { font-size: 14px; color: #666; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; line-clamp: 3; overflow: hidden; }
@media (max-width: 768px) {
    .review-item .rev-desc{-webkit-line-clamp: unset; line-clamp: unset;}
}
/* Reason 03 (Research) */
.reason-desc { font-size: var(--text-desc); color: #666; margin-bottom: 60px; line-height: 1.7; word-break: keep-all; }
.research-visual { display: flex; justify-content: center; gap: clamp(20px, 3vw, 40px); max-width: 1200px; margin: 0 auto; }
.paper-item { flex: 1; max-width: 350px; }
.paper-item .img-wrap { width: 100%; aspect-ratio: 1 / 1.3; border-radius: 10px; overflow: hidden; margin-bottom: 25px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.paper-item .year { font-size: clamp(12px, 1.5vw, 20px); font-weight: 800; color: #444; text-align: left; display: block; line-height: 1.3; }

/* Reason 04 (Doctor Team) */
.reason-04 { }
.doctor-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 60px 40px;
    margin-bottom: 100px;
    justify-content: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.doctor-item {
    text-align: center;
    width: calc((100% - 80px) / 3);
    min-width: 240px;
}
.doctor-item .doc-img {
    width: clamp(200px, 25vw, 300px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}
.doctor-item .doc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.doctor-item .name {
    font-size: 24px;
    font-weight: 800;
    color: #333;
    margin-bottom: 15px;
}
.doctor-item .message {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    word-break: keep-all;
}

.team-visual-wrap { width: 100%; max-width: 1400px; margin: 0 auto 50px; overflow: hidden; border-radius: 20px; }
.team-visual-wrap img { width: 100%; height: auto; display: block; }

/* FAQ Section */
.faq { background-color: #f2f2f2; text-align: center; padding: var(--section-padding); }
.faq .faq-main-title { font-size: var(--title-main); color: var(--primary-color); font-weight: 900; margin-bottom: 15px; letter-spacing: -2px; line-height: 1; }
.faq .faq-sub-title { font-size: var(--title-sub); font-weight: 800; color: #111; margin-bottom: 20px; }
.faq .faq-desc { font-size: var(--text-body); color: #888; line-height: 1.6; margin-bottom: 60px; }

.faq-list { max-width: 800px; margin: 0 auto 60px; display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.faq-item.active { background: #000; }
.faq-item.active + .faq-a { display: block; } /* fallback for display logic if needed */

.faq-q { width: 100%; padding: 25px 35px; display: flex; justify-content: space-between; align-items: center; font-size: 18px; font-weight: 800; color: #111; text-align: left; }
.faq-item.active .faq-q { color: #fff; }
.faq-q .icon { position: relative; width: 24px; height: 24px; background: #f47d31; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.3s; flex-shrink: 0; margin-left: 20px; }
.faq-q .icon::before, .faq-q .icon::after { content: ''; position: absolute; background: #fff; border-radius: 2px; }
.faq-q .icon::before { width: 12px; height: 2px; }
.faq-q .icon::after { width: 2px; height: 12px; transition: 0.3s; }

.faq-item.active .faq-q .icon { background: #f47d31; }
.faq-item.active .faq-q .icon::after { transform: rotate(90deg); opacity: 0; }

.faq-a { display: none; background: #fff; text-align: left; }
.faq-item.active .faq-a { display: block; }
.faq-a .a-inner { padding: 30px 40px; font-size: 16px; color: #666; line-height: 1.8; word-break: keep-all; }

/* FAQ Buttons */
.faq-btns { display: flex; justify-content: center; gap: 15px; }
.faq-btns a { display: inline-flex; align-items: center; justify-content: center; width: 250px; height: 60px; border-radius: 30px; font-size: 18px; font-weight: 700; transition: 0.3s; }
.faq-btns .btn-consult { background: #f47d31; color: #fff; box-shadow: 0 10px 20px rgba(244, 125, 49, 0.2); }
.faq-btns .btn-diagnosis { background: #000; color: #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.faq-btns a:hover { transform: translateY(-5px); opacity: 0.9; }

@media (max-width: 768px) {
    .faq { padding: 60px 0; }
    .faq-list { padding: 0 20px; }
    .faq-q { padding: 20px 25px; font-size: 16px; }
    .faq-a .a-inner { padding: 25px 30px; font-size: 14px; }
    .faq-btns { flex-direction: column; align-items: center; }
    .faq-btns a { width: 100%; max-width: 320px; }
}

@media (max-width: 1024px) {
    .doctor-grid {
        gap: 40px 20px;
    }
    .doctor-item {
        width: calc((100% - 40px) / 3);
    }
}

@media (max-width: 768px) {
    .doctor-grid {
        flex-direction: column;
        align-items: center;
    }
    .doctor-item {
        width: 100%;
        min-width: auto;
        max-width: 400px;
    }
    .doctor-item .message br {
        display: none;
    }
}

@media (max-width: 768px) {
    .why-rodam { padding: 60px 0; }
    .why-grid { grid-template-columns: 1fr; }
    .why-grid-line-v, .why-grid-line-h { display: none; }
    .why-grid::before, .why-grid::after { display: none; }
    .why-item { padding: 40px 20px; border-bottom: 1px solid #eee; }
    .why-item:last-child { border-bottom: none; }
    .why-item.reverse { flex-direction: column; }
    .why-item.reverse .img-box { margin-top: 0; margin-bottom: 30px; }
    .why-item.reverse .text-box { padding-top: 0; padding-bottom: 30px; }
    .why-item .num { position: static; display: inline-block; margin-bottom: 10px; font-size: 20px; }
    .why-item .text-box p br { display: none; }
}

@media (max-width: 390px) {
    .top-banner { 
        font-size: clamp(9px, 3.2vw, 12px); 
        gap: 8px; 
        padding: 8px 15px;
    }
}

@media (max-width: 1024px) {
    .detail-content { flex-direction: column; text-align: center; }
    .detail-content .img-box{ width: 100%;max-width: 300px;}
    .detail-content .text-box{ width: 100%;}
    .grid-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    #wrap { overflow-x: hidden; width: 100%; position: relative; }
    .menu-controls { top: 70px; right: 15px; }
    .research-visual {  align-items: center; gap: 20px; }
    .paper-item { width: 100%; max-width: 280px; }
    .review-grid { grid-template-columns: 1fr; }
    .review-item:nth-child(n+5) { display: none; }
    .review-grid.open .review-item { display: block; }
    .btn-more-reviews { 
        display: inline-block; 
        margin: 30px auto 0; 
        padding: 12px 40px; 
        border: 1px solid #f47d31; 
        color: #f47d31; 
        background: #fff; 
        border-radius: 30px; 
        font-weight: 700; 
        font-size: 16px; 
        cursor: pointer;
    }
    .circle-grid { flex-direction: row; justify-content: center; align-items: center; gap: 2%; }
    .circle-item { width: 32%; }
    .case-tabs { flex-direction: column; align-items: center; width: 100%; max-width: 400px; margin-left: auto; margin-right: auto; }
    .case-tabs button { width: 100%; max-width: none; }
    .grid-container { grid-template-columns: repeat(1, 1fr); }
    .case-grid .grid-container{ grid-template-columns: repeat(2, 1fr); gap: 10px 5px;}
    .case-grid .grid-container .grid-item:nth-of-type(9){ display: none; }
    .case-grid .grid-item .img-wrap { cursor: pointer; }
    .case-grid .grid-item .img-group { margin-bottom: 0px; }
    .case-grid .grid-item .info { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 0; }
    .case-grid .grid-item .info p { font-size: 12px; margin-bottom: 0; position: relative; }
    .case-grid .grid-item .info p:not(:last-child)::after { content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); width: 1px; height: 12px; background: #ccc; }

    
}

/* Image Popup Modal */
.image-popup { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; background: rgba(0,0,0,0.9); cursor: pointer; }
.image-popup.active { display: flex; align-items: center; justify-content: center; }
.image-popup .popup-content { width: 90%; max-width: 500px; }
.image-popup .popup-content img { width: 100%; height: auto; border-radius: 10px; pointer-events: none; }

/* 간편상담 모달 */
.contactFloat {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1101;
    pointer-events: none;
}

.contactFloat > .container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.contactFloat > .container > .contact {
    width: 100%;
    height: 100%;
    
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.595);
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: auto;
}
.contactFloat > .container > .contact.active {
    display: flex;
    opacity: 1;
}

.contactFloat > .container > .contact > #consultForm {
    width: 400px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    bottom: 80px;
}


.contactFloat > .container > .contact > #consultForm .close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    border: none;
    background-color: white;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
    box-shadow: -5px 3px 10px 0 rgb(0 0 0 / 16%);
}

.contactFloat > .container > .contact > #consultForm .close-btn:hover {
    background-color: rgb(210, 209, 209);
}


.contactFloat > .container > .contact > #consultForm h2 {
    color: #5a4e47;
    text-align: center;
    font-size: 24px;
    margin-bottom: 10px;
}

.contactFloat > .container > .contact > #consultForm p {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    margin-top: 0;
}

.contactFloat > .container > .contact > #consultForm .form-group {
    margin-bottom: 15px;
}

.contactFloat > .container > .contact > #consultForm .form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.contactFloat > .container > .contact > #consultForm .required {
    color: red;
}

.contactFloat > .container > .contact > #consultForm .form-group input[type="text"] {
    width: 80%;
    padding: 8px;
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 4px;
}

.contactFloat > .container > .contact > #consultForm .phone-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contactFloat > .container > .contact > #consultForm .phone-input input {
    width: 80px !important;
}

.contactFloat > .container > .contact > #consultForm .phone-input span {
    color: #666;
}

.contactFloat > .container > .contact > #consultForm .checkbox-group {
    margin: 20px 0;
}

.contactFloat > .container > .contact > #consultForm .checkbox-group label {
    display: block;
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.contactFloat > .container > .contact > #consultForm .submit-btn {
    width: 100%;
    padding: 15px;
    background: #f47d31;
    color: #FFFFFF;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.contactFloat > .container > .contact > #consultForm .submit-btn:hover {
    background: #f47d31;
}

.contactFloat > .container > .contact > #consultForm .notice {
    margin-top: 15px;
    text-align: center;
    color: #333;
}

.contactFloat > .container > .contact > #consultForm .notice > span {
    font-weight: bold;
}

.contactFloat > .container > .contact > #consultForm .sub-notice {
    font-size: 12px;
    color: #999;
    text-align: center;
}

.contactFloat > .btnBox {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 99;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    pointer-events: auto;
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 600px;
    justify-content: center;
    padding: 0 20px;
}
.contactFloat > .btnBox.hidden {
    display: none;
    opacity: 0;
}

.contactFloat > .btnBox > button {
    flex: 1;
    height: 60px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.contactFloat > .btnBox > button svg {
    width: 20px;
    height: 20px;
    opacity: 0.9;
    flex-shrink: 0;
}

.contactFloat > .btnBox > button span {
    font-size: 13px;
    letter-spacing: -0.5px;
    line-height: 1;
}

/* 간편 상담 신청 - 오렌지 그라데이션 + 글래스 */
.contactFloat > .btnBox > .btn-consult-trigger {
    background: linear-gradient(135deg, rgba(244, 125, 49, 0.9), rgba(255, 138, 61, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
}

/* 카카오 상담 - 카카오 옐로우 + 글래스 */
.contactFloat > .btnBox > .btn-kakao {
    background: linear-gradient(135deg, rgba(254, 229, 0, 0.9), rgba(255, 235, 59, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #3c1e1e;
}

/* 흉터 진단 하기 - 블랙 + 글래스 */
.contactFloat > .btnBox > .sub_btn {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(51, 51, 51, 0.7));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
}

.contactFloat > .btnBox > button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.contactFloat > .btnBox > button:active {
    transform: translateY(-1px);
}

@media all and (max-width: 478px) {
    .contactFloat > .btnBox {
        bottom: 15px;
        padding: 0 12px;
        gap: 8px;
        max-width: 100%;
    }

    .contactFloat > .btnBox > button {
        height: 46px;
        font-size: 13px;
        border-radius: 14px;
        padding: 0 5px;
        gap: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .contactFloat > .btnBox > button svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .contactFloat > .btnBox > button span {
        font-size: 11px;
        line-height: 1.2;
        display: inline-block;
        vertical-align: middle;
        white-space: nowrap;
    }

    .contactFloat > .container > .contact > #consultForm {
        width: 300px;
        bottom: 0;
    }
    .contactFloat > .container > .contact > #consultForm .form-group input[type="text"] {
        width: 79%;
    }
    .contactFloat > .container > .contact > #consultForm .phone-input input {
        width: 50px !important;
    }
}

/* footer */
footer {width: 100%; padding: 40px 0; background-color: #212121; color: #fff;}
footer .inner {max-width: 1500px; width: 100%; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start;}

footer .inner h1 {position: relative; top: 20px;}

footer .inner .center {width: 590px; position: relative; top: 20px;}
footer .inner .center .top {display: flex; align-items: center; gap: 30px;}
footer .inner .center .top a {font-size: 14px; position: relative;}
footer .inner .center .top a::before {content: ''; position: absolute; top: 4px; right: -15px; width: 1px; height: 14px; background-color: #fff;}
footer .inner .center .top a:last-child::before {display: none;}
footer .inner .line {width: 100%; height: 3px; background-color: #fff; margin: 12px 0;}
footer .inner .center .bottom {display: flex; align-items: center; gap: 4px; color: #9d9d9d; flex-direction: row; flex-wrap: wrap;}
footer .inner .center .bottom p {font-size: 13px;}
footer .inner .center .bottom span {font-size: 13px;}

footer .inner .right .contents {display: flex; align-items: center; margin-bottom: 3px;}
footer .inner .right .contents:last-child {margin-bottom: 0;}
footer .inner .right .contents p {font-size: 11px;}
footer .inner .right .contents p:nth-child(1) {width: 110px; margin-right: 10px;}
footer .inner .right .contents p:nth-child(2) {width: 70px; margin-right: 20px;}
footer .inner .right .contents p:nth-child(3) {width: 150px;margin-right: 20px;}

@media(max-width:1550px){

    footer .inner {padding: 0 16px;}


}

@media(max-width:1500px){

    footer .inner {flex-direction: row; flex-wrap: wrap;}
    footer .inner h1 {width: 100%; top: 0; margin: 0 auto 25px; text-align: center;}
    footer .inner h1 > img {display: block; margin: 0 auto;width: 100px;}



}

@media(max-width:643px){
    footer .inner h1 > img {display: block; margin: 0 auto;width: 100px;}
    footer .inner .center .bottom {justify-content: center;}
    footer .inner .center .bottom p {flex-direction: column; justify-content: center; align-items: center;text-align: center;}
    footer .inner .center .bottom span {display: none;}
    
    footer .inner .right .contents {display: flex; flex-direction: row; flex-wrap: wrap; margin-bottom: 10px;}
    footer .inner .right .contents:last-child {margin-bottom: 0;}
    footer .inner .right .contents p {font-size: 12px; line-height: 14px; color: #fff; font-weight: 300; width: 180px;}
    footer .inner .right .contents p:nth-child(even) {width: calc(100% - 180px);}

    footer .inner .right .contents {margin:25px 0;justify-content: center;}
    footer .inner .right .contents p {width: 100%; text-align: center;}
    footer .inner .right .contents p:first-child {margin-bottom: 4px;}
    footer .inner .right .contents p:nth-child(even) {width: 100%;}
    footer .inner .right .contents p:nth-child(2) {width: 80px;}
    footer .inner .right .contents p:nth-child(3) {width: 170px;}
    footer .inner .right .contents p:nth-child(4) {margin-top: 2px;}

}


@media(max-width:480px){

    footer .inner h1 > img {display: block; margin: 0 auto;width: 100px;}
    footer .inner .bottom .top {gap: 12px;}
    footer .inner .bottom .top a {font-size: 12px;}
    footer .inner .bottom .top a::before {height: 12px; right: -6px;}

}