*{padding:0; margin:0; font-family:'Paperlogy'; letter-spacing: -0.5px; }
ul,ol{list-style:none;}
img{display:block;}
a{text-decoration:none; color:#333;}

/* 에니메이션  css*/
/* 기본상태 */
[data-animate]{opacity:0;transition:all .8s ease}

/* 활성화 시 */
[data-animate].animated{opacity:1;transform:none}

/* 방향별 초기 위치 */
[data-animate="fadeInUp"]{transform:translateY(40px)}
[data-animate="fadeInDown"]{transform:translateY(-40px)}
[data-animate="fadeInLeft"]{transform:translateX(-40px)}
[data-animate="fadeInRight"]{transform:translateX(40px)}
[data-animate="zoomIn"]{transform:scale(0.8)}
[data-animate="zoomOut"]{transform:scale(1.2)}

/* 활성화 시 (공통) */
[data-animate="fadeInUp"].animated,
[data-animate="fadeInDown"].animated,
[data-animate="fadeInLeft"].animated,
[data-animate="fadeInRight"].animated,
[data-animate="zoomIn"].animated,
[data-animate="zoomOut"].animated{
  opacity:1;
  transform:translate(0,0) scale(1);
}

/**** 에니메이션  css ****/


/* 상단 GO메뉴 */
.go-top{position:fixed;right:20px;bottom:-50px;width:48px;height:48px;line-height:48px;text-align:center;background:#2b80fc;color:#fff;font-size:22px;border-radius:50%;box-shadow:0 4px 10px rgba(0,0,0,0.2);cursor:pointer;z-index:999;opacity:0;transition:all .4s ease}
.go-top.show{bottom:20px;opacity:1}
.go-top:hover{background:#0633c1}


body{margin:0;padding:0;font-family:'Paperlogy',sans-serif;color:#222}
/* ===== 기본 헤더 ===== */
#header{width:100%;position:fixed;top:0;left:0;z-index:999;background:transparent;padding:30px 0;border-bottom:1px solid rgba(238,238,238,0.5);transition:all .4s}
.header-inner{width:100%;max-width:1840px;margin:0 auto;padding:0 40px;display:flex;align-items:center;justify-content:space-between;transition:all .3s}
.logo a{display:flex;flex-direction:column;text-decoration:none;color:#fff;position:relative}
.logo img{height:42px;margin-bottom:6px;transition:opacity .3s}
.logo .logo-dark{position:absolute;top:0;left:0;opacity:0}

/* ===== PC 메뉴 ===== */
.gnb>ul{display:flex;list-style:none;gap:110px;margin:0;padding:0;position:relative}
.gnb>ul>li{position:relative}
.gnb>ul>li>a{font-size:20px;color:#fff;text-decoration:none;font-weight:600;transition:color .3s,padding .3s;display:block;padding:8px 0;position:relative}
.gnb>ul>li:hover>a{color:#ffd400}
.submenu{position:absolute;top:100%;left:50%;transform:translateX(-50%) translateY(15px);background:rgba(255,255,255,0.87);backdrop-filter:blur(8px);border-radius:20px;padding:12px 40px;list-style:none;box-shadow:0 8px 20px rgba(0,0,0,0.25);opacity:0;visibility:hidden;transition:all .35s ease;text-align:left;z-index:1000;width:max-content;min-width:auto}
.submenu li{display:block;margin:10px 0;opacity:0;transform:translateY(10px);transition:all .3s ease}
.submenu a{display:block;color:#222;font-size:15px;font-weight:400;text-decoration:none;transition:color .2s; text-align: center;}
.submenu a:hover{color:#0033a0}
.gnb>ul>li:hover .submenu{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.gnb>ul>li:hover .submenu li{opacity:1;transform:translateY(0)}
.gnb>ul>li:hover .submenu li:nth-child(1){transition-delay:.05s}
.gnb>ul>li:hover .submenu li:nth-child(2){transition-delay:.1s}
.gnb>ul>li:hover .submenu li:nth-child(3){transition-delay:.15s}
.gnb>ul>li:hover .submenu li:nth-child(4){transition-delay:.2s}
.call a{background:#0033a0;color:#fff;padding:10px 22px;border-radius:30px;font-size:15px;text-decoration:none;transition:all .3s}

/* ===== 스크롤 시 ===== */
#header.scroll{background:#fff;border-bottom:1px solid rgba(0,0,0,0.1);box-shadow:0 4px 12px rgba(0,0,0,0.05);padding:20px 0}
#header.scroll .gnb a{color:#000}
#header.scroll .gnb a:hover{color:#0033a0}
#header.scroll .logo .logo-white{opacity:0}
#header.scroll .logo .logo-dark{opacity:1}
#header.scroll .call a{background:#000;color:#fff}

/* 햄버거 버튼 */
.menu-toggle{display:none;position:relative;width:30px;height:24px;flex-shrink:0;flex-direction:column;justify-content:space-between;cursor:pointer;z-index:2000;margin-left:20px}
.menu-toggle span{ display:block;width:100%;height:3px;background:#fff;border-radius:2px; transition:all .3s;transform-origin:center;}
.menu-toggle.active span:nth-child(1){transform:rotate(45deg) translateY(0px);}
.menu-toggle.active span:nth-child(2){opacity:0;}
.menu-toggle.active span:nth-child(3){transform:rotate(-45deg) translateY(-0px);}
#header.scroll .menu-toggle span{background:#000}  /* 스크롤 시 검정 */
.menu-toggle.active span{background:#000}           /* 메뉴 열릴 때도 검정 */

/* 모바일 메뉴 활성화 영역 */
@media (max-width:1024px){
  .header-inner{padding:0 20px;position:relative}
  .menu-toggle{display:flex;position:absolute;right:60px;top:50%;transform:translateY(-50%);z-index:2000} /* ✅ 항상 우측에 완전 노출 */
  .call{display:none} /* 전화버튼은 모바일에서 숨김 */
  .gnb{position:fixed;top:0;right:-100%;width:280px;height:100vh;background:#fff;box-shadow:-4px 0 15px rgba(0,0,0,0.15);flex-direction:column;align-items:flex-start;padding:100px 30px;transition:right .4s ease;z-index:1500;overflow-y:auto}
  .gnb.active{right:0}
  .gnb>ul{flex-direction:column;gap:20px;width:100%}
  .gnb>ul>li>a{color:#000;font-size:18px;padding:8px 0;border-bottom:1px solid #eee;width:100%}
  .submenu{position:static;transform:none;opacity:1;visibility:visible;background:none;box-shadow:none;padding:0 0 0 10px;border-radius:0;backdrop-filter:none;width:100%}
  .submenu li{opacity:1;transform:none;margin:5px 0}
  .submenu a{color:#444;font-size:15px}
}

/* 작은 모바일(480px 이하) */
@media (max-width:480px){
  .logo img{height:30px;}
  .gnb{width:240px;padding:80px 20px}
  .gnb>ul>li>a{font-size:18px}
  .submenu a{font-size:15px; line-height:1.4;}
}

.mobile-call{display:none;text-align:center;padding:16px 0;border-top:1px solid #eee}
.mobile-call a{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#47aa1b;color:#fff;font-size:18px;font-weight:600;padding:12px 28px;border-radius:40px;text-decoration:none;transition:.3s}
.mobile-call a:hover{background:#3b8c16}
.mobile-call i{font-size:18px}

/* ✅ 모바일에서만 표시 */
@media (max-width:768px){
.mobile-call{display:block}
}


/*메인 비쥬얼*/
.main-visual{width:100%;height:800px;position:relative;overflow:hidden}
.slider{width:100%;height:100%;position:relative;z-index:1}
.slide{width:100%;height:900px;background-size:cover;background-position:center;position:absolute;top:0;left:0;opacity:0;transition:opacity 1s ease;z-index:1}
.slide.active{opacity:1;z-index:2}
.slide::after{content:'';position:absolute;inset:0;background:rgba(0,0,0,0.25);z-index:3;pointer-events:none}
.visual-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;text-align:center;text-shadow:0 2px 8px rgba(0,0,0,0.6);z-index:4}
.visual-text h2{font-size:55px;font-weight:800;line-height:1.3;margin:0}
.visual-text p{font-size:24px;margin-top:20px;font-weight:400}
.slider button{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,0.2);border:none;width:60px;height:60px;border-radius:50%;color:#fff;font-size:24px;cursor:pointer;backdrop-filter:blur(4px);transition:background .3s,transform .3s;z-index:5}
.slider button:hover{background:rgba(255,255,255,0.4);transform:translateY(-50%) scale(1.05)}
.slider .prev{left:40px}
.slider .next{right:40px}

/* ================================
   ✅ 반응형 - 1600px 이하 (대형화면 축소)
================================ */
@media (max-width:1600px){
.main-visual{height:780px}
.slide{height:780px}
.visual-text h2{font-size:44px}
.visual-text p{font-size:19px}
.slider button{width:54px;height:54px;font-size:22px}
}

/* ================================
   ✅ 반응형 - 1280px 이하 (노트북 / 태블릿 가로)
================================ */
@media (max-width:1280px){
.main-visual{height:680px}
.slide{height:680px}
.visual-text h2{font-size:38px}
.visual-text p{font-size:18px}
.slider button{width:50px;height:50px;font-size:20px}
}

/* ================================
   ✅ 반응형 - 1024px 이하 (태블릿)
================================ */
@media (max-width:1024px){
.main-visual{height:580px}
.slide{height:580px}
.visual-text h2{font-size:32px;line-height:1.3}
.visual-text p{font-size:17px;margin-top:16px}
.slider button{width:44px;height:44px;font-size:18px}
}

/* ================================
   ✅ 반응형 - 768px 이하 (모바일)
================================ */
@media (max-width:768px){
.main-visual{height:480px}
.slide{height:480px}
.visual-text h2{font-size:26px;line-height:1.3}
.visual-text p{font-size:15px;margin-top:12px}
.slider button{width:38px;height:38px;font-size:16px}
.slider .prev{left:20px}
.slider .next{right:20px}
}

/* ================================
   ✅ 반응형 - 480px 이하 (소형 모바일)
================================ */
@media (max-width:480px){
.main-visual{height:400px}
.slide{height:400px}
.visual-text h2{font-size:22px}
.visual-text p{font-size:14px}
.slider button{display:none} /* 작은 화면에서는 화살표 제거 */
}
/* 공지사항 롤링 영역 */
.main-notice{width:100%;background:#f9f9f9;border-top:1px solid #eee;border-bottom:1px solid #eee;padding:12px 0}
.notice-inner{width:1400px;margin:0 auto;display:flex;align-items:center;justify-content:flex-start;gap:20px;overflow:hidden}
.notice-box{display:flex;align-items:center;gap:20px;width:100%}
.notice-title{font-size:18px;font-weight:700;color:#333;display:flex;align-items:center;gap:8px;flex-shrink:0}
.notice-title i{color:#5b91f6;font-size:18px}
.notice-rolling{overflow:hidden;height:24px;flex:1}
.notice-rolling ul{margin:0;padding:0;list-style:none}
.notice-rolling li{height:24px;line-height:24px}
.notice-rolling a{color:#555;text-decoration:none;display:block;transition:.3s}
.notice-rolling a:hover{color:#1b4cb1;text-decoration:underline}

/* 1400px ↓ */
@media(max-width:1400px){
.notice-inner{width:95%;gap:16px}
.notice-title{font-size:17px}
.notice-title i{font-size:17px}
}

/* 1024px ↓ */
@media(max-width:1024px){
.notice-inner{flex-direction:row;align-items:center;gap:14px}
.notice-title{font-size:16px}
.notice-rolling{height:22px}
.notice-rolling li{height:22px;line-height:22px}
}

/* 768px ↓ */
@media(max-width:768px){
.notice-inner{width:92%;gap:10px}
.notice-title{font-size:15px;gap:6px}
.notice-title i{font-size:15px}
.notice-rolling{height:24px;overflow:hidden;max-height:none} /* ✅ 수정: 항상 한 줄만 표시 */
.notice-rolling li{height:24px;line-height:24px}
.notice-rolling a{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}

/* 480px ↓ */
@media(max-width:480px){
.main-notice{padding:10px 0}
.notice-inner{flex-direction:column;align-items:flex-start;gap:4px}
.notice-title{font-size:15px;margin-bottom:2px}
.notice-title i{font-size:14px}
.notice-rolling{width:100%;height:24px;overflow:hidden} /* ✅ 수정: 모바일에서도 한 줄 롤링 유지 */
.notice-rolling li{height:24px;line-height:24px}
.notice-rolling a{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}




/*메인 병원소개*/
.about-section{width:100%;background:#fff;padding:100px 0}
.about-inner{width:1400px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:60px}
.about-slider{position:relative;overflow:hidden;border-radius:20px;height:420px;max-width:680px;flex:0 0 680px}
.about-track{display:flex;transition:transform 1s ease;height:100%}
.about-slide{position:absolute;inset:0;opacity:0;transition:opacity 1s ease}
.about-slide img{width:100%;height:100%;object-fit:cover;display:block}
.about-slide.active{opacity:1;z-index:2}
.about-prev,.about-next{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,0.4);border:none;width:46px;height:46px;border-radius:50%;color:#222;font-size:20px;cursor:pointer;transition:background .3s;z-index:5}
.about-prev:hover,.about-next:hover{background:rgba(255,255,255,0.8)}
.about-prev{left:20px}
.about-next{right:20px}
.about-text{flex:1;color:#333}
.about-text h2{font-size:40px;line-height:1.2;font-weight:700;margin:0 0 30px 0}
.about-text h2 strong{font-weight:700;color:#2f6fff}
.about-text p{font-size:20px;line-height:1.4;color:#555;margin:0 0 40px 0}
.btn-more{display:inline-block;background:#1951c7;color:#fff;font-size:17px;font-weight:600;padding:14px 36px;border-radius:30px;text-decoration:none;transition:background .3s}
.btn-more:hover{background:#002070}

/* ================================
   ✅ 반응형 - 1280px 이하 (태블릿)
================================ */
@media (max-width:1280px){
.about-inner{width:90%;padding:0 20px;box-sizing:border-box;gap:40px}
.about-text h2{font-size:34px;margin-bottom:25px}
.about-text p{font-size:18px;margin-bottom:30px}
.about-slider{height:380px;max-width:600px;flex:0 0 600px}}

/* ================================
   ✅ 반응형 - 1024px 이하 (중간 태블릿)
================================ */
@media (max-width:1024px){
.about-inner{flex-direction:column;align-items:center;gap:50px}
.about-slider{width:100%;max-width:700px;height:auto;aspect-ratio:16/10;flex:auto}
.about-text{text-align:center}
.about-text h2{font-size:32px}
.about-text p{font-size:18px}
.btn-more{font-size:16px;padding:12px 30px}
}

/* ================================
   ✅ 반응형 - 768px 이하 (모바일)
================================ */
@media (max-width:768px){
.about-section{padding:70px 0}
.about-inner{width:100%;padding:0 16px;gap:40px}
  .about-slider{aspect-ratio:4/3;border-radius:16px;max-width:100%;height:auto}
  .about-slide img{width:100%;height:100%;object-fit:cover;display:block;}
.about-text{text-align:center}
.about-text h2{font-size:26px;line-height:1.3;margin-bottom:20px}
.about-text p{font-size:16px;margin-bottom:25px}
.btn-more{font-size:15px;padding:10px 26px}
.about-prev,.about-next{width:38px;height:38px;font-size:16px}
}

/* ================================
   ✅ 반응형 - 480px 이하 (소형 모바일)
================================ */
@media (max-width:480px){
.about-section{padding:60px 0}
.about-slider{aspect-ratio:1/1;height:auto}
    .about-text h2{font-size:22px;margin-bottom:16px}
.about-text p{font-size:15px;margin-bottom:20px}
.btn-more{font-size:14px;padding:9px 22px}
}





/*메인 진료분야안내*/
.dept-section{width:100%;position:relative;overflow:hidden;color:#fff}
.dept-bg img{width:100%;height:908px;object-fit:cover;display:block}
.dept-section::after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.2);z-index:1}
.dept-inner{position:absolute;top:0;left:50%;transform:translateX(-50%);width:1400px;height:100%;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.dept-title p{font-size:20px;opacity:0.9;margin-bottom:10px}
.dept-title h2{font-size:40px;line-height:1.2;font-weight:800;margin-bottom:60px}
.dept-boxes{display:grid;grid-template-columns:repeat(5,1fr);gap:15px;justify-content:center}
.dept-boxes a.dept-box{text-decoration:none;color:#fff;background:rgba(27,76,177,0.6);border-radius:20px;padding:50px 20px;box-sizing:border-box;height:440px;width:330px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;transition:transform .3s,background .3s}
.dept-boxes a.dept-box:hover{transform:translateY(-8px);background:rgba(27,76,177,0.8)}
.dept-box h3{font-size:26px;font-weight:700;margin-bottom:10px}
.dept-box .subtitle{font-size:18px;font-weight:400;line-height:1.5;margin-bottom:40px}
.dept-box .icon{position:relative;width:106px;height:105px;margin-bottom:40px;transition:transform .3s ease}
.dept-box .icon img{width:100%;height:auto;display:block;transition:opacity .3s ease,transform .3s ease}
.dept-box:hover .icon{transform:scale(1.15)}
.dept-box:hover .icon img{opacity:.9}
.dept-box .desc{font-size:16px;line-height:1.4;font-weight:300;color:#fff}
.dept-box:nth-child(1):hover .icon img{content:url('/img/main_icon_dept1_on.png')}
.dept-box:nth-child(2):hover .icon img{content:url('/img/main_icon_dept2_on.png')}
.dept-box:nth-child(3):hover .icon img{content:url('/img/main_icon_dept3_on.png')}
.dept-box:nth-child(4):hover .icon img{content:url('/img/main_icon_dept4_on.png')}
.dept-box:nth-child(5):hover .icon img{content:url('/img/main_icon_dept5_on.png')}
.dept-box:nth-child(6):hover .icon img{content:url('/img/main_icon_dept6_on.png')}

@media(max-width:1280px){
.dept-inner{width:90%;padding:0 20px;box-sizing:border-box}
.dept-title h2{font-size:34px;margin-bottom:50px}
.dept-boxes{grid-template-columns:repeat(3,1fr);gap:20px}
.dept-boxes a.dept-box{height:400px;width:auto;padding:40px 15px}
.dept-box h3{font-size:22px}
.dept-box .subtitle{font-size:16px;margin-bottom:30px}
.dept-box .desc{font-size:15px}
}

@media(max-width:768px){
.dept-section{position:relative;height:auto}
.dept-bg img{height:100%;min-height:170vh;object-fit:cover}
.dept-inner{position:absolute;top:0;left:50%;transform:translateX(-50%);width:100%;max-width:700px;padding:80px 20px;box-sizing:border-box;text-align:center;z-index:2}
.dept-title p{font-size:17px}
.dept-title h2{font-size:28px;margin-bottom:40px}
.dept-boxes{grid-template-columns:repeat(2,1fr);gap:16px}
.dept-boxes a.dept-box{height:auto;min-height:340px;padding:30px 10px}
.dept-box .icon{width:80px;height:80px;margin-bottom:25px}
.dept-box h3{font-size:20px;margin-bottom:6px}
.dept-box .subtitle{font-size:15px;margin-bottom:20px}
.dept-box .desc{font-size:14px}
}

@media(max-width:480px){
.dept-bg img{min-height:290vh}
.dept-boxes{grid-template-columns:1fr;gap:14px}
.dept-boxes a.dept-box{width:100%;min-height:320px}
.dept-box .icon{width:70px;height:70px;margin-bottom:20px}
.dept-box h3{font-size:18px}
.dept-box .subtitle{font-size:14px;margin-bottom:15px}
.dept-box .desc{font-size:13px;line-height:1.5}
}







/*메인 장비소개*/
.equip-section{width:100%;background:#fff;padding:100px 0;text-align:center;position:relative;overflow:hidden}
.equip-inner{width:1400px;margin:0 auto;position:relative}
.equip-title p{font-size:20px;color:#555;margin-bottom:10px}
.equip-title h2{font-size:40px;font-weight:800;color:#111;line-height:1.4;margin-bottom:60px}
.equip-slider{position:relative;width:100%;max-width:1400px;margin:0 auto}
.equip-viewport{overflow:hidden;position:relative;width:100%}
.equip-track{display:flex;gap:32px;transition:transform .8s ease;will-change:transform}
.equip-item{flex:0 0 326px;background:#fff;border:1px solid #ddd;border-radius:30px;box-sizing:border-box;padding:30px 20px;transition:transform .3s,box-shadow .3s,opacity .3s}
.equip-item img{width:100%;height:260px;object-fit:contain;border-radius:20px;margin-bottom:20px;display:block}
.equip-item p{font-size:20px;color:#111;margin:0;font-weight:600}
.equip-item:hover{transform:scale(0.96);opacity:0.95;box-shadow:0 6px 20px rgba(0,0,0,.1)}
.equip-prev,.equip-next{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border:none;border-radius:50%;background:rgba(0,0,0,.05);color:#333;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:10;transition:background .25s}
.equip-prev:hover,.equip-next:hover{background:rgba(0,0,0,.12)}
.equip-prev{left:8px}
.equip-next{right:8px}

@media(max-width:1920px){
.equip-inner{width:1400px;margin:0 auto;position:relative}
.equip-viewport{overflow:hidden;width:100%}
.equip-track{display:flex;gap:32px;transition:transform .8s ease;will-change:transform}
.equip-item{flex:0 0 calc((100% - 96px)/4);background:#fff;border:1px solid #ddd;border-radius:30px;box-sizing:border-box;padding:30px 20px;transition:transform .3s,box-shadow .3s,opacity .3s}
}

@media(max-width:1280px){
.equip-inner{width:90%;padding:0 20px;box-sizing:border-box}
.equip-item{flex:0 0 calc((100% - 64px)/3)}
}

@media(max-width:1024px){
.equip-item{flex:0 0 calc((100% - 32px)/2)}
}

@media(max-width:768px){
.equip-inner{width:100%;padding:0 16px}
.equip-title h2{font-size:28px;}
.equip-track{gap:20px;justify-content:center}
.equip-item{flex:0 0 80%;max-width:80%;margin:0 auto}
.equip-item img{height:220px}
.equip-item p{font-size:18px}
.equip-prev,.equip-next{width:38px;height:38px;font-size:18px;top:50%;transform:translateY(-50%);background:rgba(0,0,0,0.05)}
.equip-prev{left:10px}
.equip-next{right:10px}
}

@media(max-width:480px){
.equip-item{flex:0 0 90%;max-width:90%}
.equip-item img{height:200px}
.equip-item p{font-size:16px}
.equip-prev,.equip-next{width:34px;height:34px;font-size:16px}
}




/*메인 진료서비스 4개원형*/
.service-section{width:100%;height:617px;position:relative;overflow:hidden;text-align:center;color:#111}
.service-bg img{width:100%;height:100%;object-fit:cover;display:block}
.service-section::after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(255,255,255,0);z-index:1}
.service-inner{position:absolute;top:0;left:50%;transform:translateX(-50%);width:1400px;height:100%;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center}
.service-subtitle{font-size:20px;color:#333;margin-bottom:10px}
.service-title{font-size:40px;font-weight:800;line-height:1.2;margin-bottom:60px;color:#111}
.service-circles{display:flex;gap:60px;justify-content:center;align-items:center;flex-wrap:nowrap}
.circle{width:200px;height:200px;position:relative}
.circle a{text-decoration:none;display:block;width:100%;height:100%}
.circle-inner{width:100%;height:100%;border-radius:50%;background:rgba(44,158,203,1);box-shadow:0 0 0 15px rgba(44,158,203,0.2);display:flex;align-items:center;justify-content:center;transition:all .35s ease}
.circle-inner span{color:#fff;font-size:30px;font-weight:700;line-height:1.2}
.circle:hover .circle-inner{background:#1b4cb1;box-shadow:0 0 0 20px rgba(27,76,177,0.25);transform:scale(1.08)}

@media(max-width:1280px){
.service-inner{width:90%;padding:0 20px;box-sizing:border-box}
.service-title{font-size:34px;margin-bottom:50px}
.service-circles{gap:40px}
.circle{width:180px;height:180px}
.circle-inner span{font-size:26px}
}

@media(max-width:1024px){
.service-section{height:auto;padding:80px 0}
.service-bg img{height:auto;min-height:600px;object-fit:cover}
.service-inner{position:relative;top:0;left:0;transform:none;width:100%;max-width:900px;margin:0 auto;z-index:2;padding:60px 20px}
.service-title{font-size:30px;margin-bottom:40px}
.service-subtitle{font-size:18px;margin-bottom:8px}
.service-circles{flex-wrap:wrap;gap:30px;justify-content:center}
.circle{width:160px;height:160px}
.circle-inner span{font-size:24px}
}

@media(max-width:768px){
.service-section{height:auto;padding:60px 0;background:#fff}
.service-bg{display:none}
.service-inner{position:relative;top:0;left:0;transform:none;width:100%;padding:0 20px;text-align:center}
.service-title{font-size:26px;margin-bottom:30px;color:#111}
.service-subtitle{font-size:16px;margin-bottom:15px;color:#333}
.service-circles{flex-direction:column;gap:20px;align-items:center;justify-content:center}
.circle{width:160px;height:160px}
.circle-inner{box-shadow:none;background:#1b4cb1}
.circle-inner span{font-size:20px}
}

@media(max-width:480px){
.service-title{font-size:22px;margin-bottom:25px}
.service-subtitle{font-size:15px;margin-bottom:10px}
.circle{width:140px;height:140px}
.circle-inner span{font-size:18px}
}



/*메인 고객지원*/
.support-section{width:100%;background:#fff;padding:100px 0}
.support-inner{width:1400px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;gap:0}
.support-left{flex:0 0 590px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.support-left h2{font-size:40px;font-weight:600;color:#112a5f;margin-bottom:20px}
.support-left .line{width:1px;height:40px;background:#112a5f;margin-bottom:25px;display:block}
.support-info p{font-size:18px;line-height:1.4;color:#112a5f;margin:0 0 10px 0}
.support-info strong{font-size:18px;font-weight:700;color:#112a5f;margin:0 0 10px 0}
.support-desc{font-size:16px;line-height:1.4;color:#555;margin:20px 0 30px}
.btn-inquiry{display:inline-block;background:#112a5f;color:#fff;font-size:18px;font-weight:600;padding:12px 40px;border-radius:8px;text-decoration:none;transition:background .3s}
.btn-inquiry:hover{background:#1268ea}
.support-right{flex:0 0 810px;height:400px;border-radius:20px;overflow:hidden;box-shadow:0 4px 15px rgba(0,0,0,0.1)}
#map{width:100%;height:100%}

/* 반응형 - 1280px 이하 */
@media (max-width:1280px){
.support-inner{width:90%;flex-direction:column;align-items:center;gap:50px}
.support-left{flex:0 0 auto;width:100%;text-align:center}
.support-left h2{font-size:34px}
.support-info p,.support-info strong{font-size:17px}
.support-desc{font-size:15px}
.support-right{flex:0 0 auto;width:100%;max-width:800px;height:380px}
}

/* 반응형 - 768px 이하 (모바일) */
@media (max-width:768px){
.support-section{padding:60px 0}
.support-left h2{font-size:28px}
.support-info p,.support-info strong{font-size:16px;line-height:1.6}
.support-desc{font-size:14px;line-height:1.6}
.btn-inquiry{font-size:16px;padding:10px 30px}
.support-right{width:100%;height:300px}
}





/*하단*/
#footer{width:100%;background:#d0dde6;padding:40px 0;color:#111;font-family:'Paperlogy',sans-serif}
.footer-inner{width:1400px;margin:0 auto;text-align:center}
.footer-logo img{display:block;height:40px;margin:30px auto}
.footer-info p{margin:4px 0;font-size:15px;line-height:1.6;color:#222}
.footer-info .bar{font-size:16px;color:#8b8b8b;margin:0 8px}
.footer-info .footer-call{font-size:18px;font-weight:700;background:#7aafd2;color:#fff;display:inline-block;padding:10px 130px;border-radius:30px}
.footer-info .footer-call a{font-size:18px;font-weight:700;color:#fff;}
.footer-info .footer-call .bar{font-size:16px;color:#fff;margin:0 10px}
.footer-info .footer-time{font-size:18px;font-weight:600;color:#000;padding-bottom:20px}
.footer-info .footer-copy{margin-top:15px;font-size:13px;color:#555}

/* 반응형 1280px 이하 */
@media (max-width:1280px){
.footer-inner{width:90%;padding:0 20px;box-sizing:border-box}
.footer-info .footer-call{padding:10px 100px;font-size:17px}
.footer-info p{font-size:14px}
}

/* 반응형 768px 이하 */
@media (max-width:768px){
#footer{padding:60px 0 80px}
.footer-inner{width:100%;padding:0 20px;text-align:center}
.footer-logo img{height:34px;margin:20px auto}
.footer-info p{font-size:12px;line-height:1.6}
.footer-info .bar{font-size:12px;margin:0 4px}
.footer-info .footer-call{display:block;width:100%;margin:20px auto 0 auto;padding:10px 0;font-size:14px;border-radius:25px}
.footer-info .footer-call a{font-size:15px;font-weight:700;color:#fff;}
.footer-info .footer-time{font-size:15px}
.footer-info .footer-copy{font-size:12px;margin-top:10px}
}

/* 반응형480px 이하 */
@media (max-width:480px){
.footer-info .footer-call a{font-size:13px;font-weight:700;color:#fff;}
}


/*서브css*/
/*서브공통*/
.sub-visual{width:100%;height:420px;background-repeat:no-repeat;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;position:relative;text-align:center;color:#fff}
.sub-visual::after{content:'';position:absolute;inset:0;background:rgba(0,0,0,0.35);z-index:1}
.sub-visual-inner{position:relative;z-index:2}
.sub-visual-inner h2{font-size:48px;font-weight:700;margin-top: 60px; margin-bottom:10px}
.sub-visual-inner p{font-size:20px;opacity:.9}
/* ================================
   ✅ 반응형 - 1280px 이하 (태블릿)
================================ */
@media (max-width:1280px){
.sub-visual{height:360px}
.sub-visual-inner h2{font-size:40px;margin-top:50px}
.sub-visual-inner p{font-size:18px}
}

/* ================================
   ✅ 반응형 - 1024px 이하 (중간 태블릿)
================================ */
@media (max-width:1024px){
.sub-visual{height:320px;padding:0 20px;box-sizing:border-box}
.sub-visual-inner h2{font-size:34px;margin-top:40px}
.sub-visual-inner p{font-size:17px}
}

/* ================================
   ✅ 반응형 - 768px 이하 (모바일)
================================ */
@media (max-width:768px){
.sub-visual{height:280px;padding:0 16px}
.sub-visual-inner h2{font-size:28px;margin-top:30px;line-height:1.3}
.sub-visual-inner p{font-size:15px;opacity:.85}
}

/* ================================
   ✅ 반응형 - 480px 이하 (소형 모바일)
================================ */
@media (max-width:480px){
.sub-visual{height:240px;padding:0 12px}
.sub-visual-inner h2{font-size:22px;margin-top:20px;line-height:1.4}
.sub-visual-inner p{font-size:14px;opacity:.8}
}



.sub-nav{width:100%;background:#fafafa;border-bottom:1px solid #e5e5e5;position:relative;z-index:10;font-size:13px}
.sub-nav-inner{width:1400px;margin:0 auto;padding:10px 20px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between}
.sub-nav .sub-breadcrumb{display:flex;align-items:center;gap:8px;font-size:13px;color:#666;list-style:none;margin:0;padding:0}
.sub-nav .sub-breadcrumb li{display:flex;align-items:center;gap:8px;white-space:nowrap}
.sub-nav .sub-breadcrumb li a{color:#555;text-decoration:none;font-size:15px;transition:color .2s}
.sub-nav .sub-breadcrumb li a:hover{color:#1b4cb1}
.sub-nav .sub-breadcrumb li i{font-size:15px;color:#aaa; padding-right: 8px;}
.sub-nav .sub-breadcrumb li > .current,
.sub-nav .sub-breadcrumb li > a.current{color:#1b4cb1;font-size:15px;font-weight:600}

/* SNS 아이콘 영역 */
.sub-sns{display:flex;align-items:center;gap:14px}
.sub-sns a{display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center;border-radius:50%;background:#fff;border:1px solid #ddd;color:#555;font-size:14px;transition:all .25s ease;box-shadow:0 1px 3px rgba(0,0,0,0.05)}
.sub-sns a:hover{color:#fff;transform:translateY(-2px)}
.sub-sns a:nth-child(1):hover{background:#1877f2;border-color:#1877f2} /* Facebook */
.sub-sns a:nth-child(2):hover{background:#49b229;border-color:#49b229} /* Instagram */
.sub-sns a:nth-child(3):hover{background:#ffe812;border-color:#ffe812;color:#3b1e1e} /* KakaoTalk */

/* 반응형 */
@media(max-width:1024px){
  .sub-sns{gap:10px}
  .sub-sns a{width:28px;height:28px;font-size:13px}
}
@media(max-width:480px){
  .sub-sns{display:none} /* 모바일에서는 숨김 (공간 절약) */
}


/* 반응형 */
@media(max-width:1024px){
.sub-nav-inner{width:100%;padding:8px 16px;overflow-x:auto;scrollbar-width:none}
.sub-breadcrumb{gap:6px;font-size:12px}
.sub-breadcrumb li i{font-size:10px}
.sub-nav-select{display:none}
}



.sub-content{width:100%;padding:30px 0;background:#fff}
/* ====================================
   공용 서브 타이틀 영역
==================================== */
.sub-content .sub-title{width:100%;background:#fff;padding:0px 0 40px;text-align:center}
.sub-content .sub-title-inner{width:1400px;margin:0 auto}
.sub-content .sub-title-inner h2{font-size:40px;font-weight:800;color:#000;margin-bottom:10px}
.sub-content .sub-title-inner p{font-size:12px;font-weight:500;letter-spacing:0.05em;color:#888;margin-bottom:30px}
.sub-content .sub-title-inner .sub-line{display:block;width:1px;height:60px;background:#000;margin:0 auto}

/* 반응형 1280 이하 */
@media (max-width:1280px){
.sub-content .sub-title{padding:80px 0 50px}
.sub-content .sub-title-inner{width:90%}
.sub-content .sub-title-inner h2{font-size:40px}
.sub-content .sub-title-inner p{font-size:15px}
.sub-content .sub-title-inner .sub-line{height:50px}
}

/* 반응형 768 이하 (모바일) */
@media (max-width:768px){
.sub-content .sub-title{padding:60px 0 40px}
.sub-content .sub-title-inner h2{font-size:30px}
.sub-content .sub-title-inner p{font-size:14px}
.sub-content .sub-title-inner .sub-line{height:40px}
}

/* 반응형 480 이하 (소형 모바일) */
@media (max-width:480px){
.sub-content .sub-title{padding:50px 0 10px}
.sub-content .sub-title-inner h2{font-size:26px}
.sub-content .sub-title-inner p{font-size:11px}
.sub-content .sub-title-inner .sub-line{height:30px}
}
/******  공용 서브 타이틀 영역 끝 ******/

.sub-inner{width:100%;margin:0 auto;padding:80px 0;box-sizing:border-box}
.sub-body{margin-top:10px;}
.sub-body img{display:block; margin:0 auto;  text-align:center; }
.sub-body-notice{border:0px #f50 solid; width:100%;max-width:1400px; margin:0 auto; }
/* 섹션별 내부 정렬 기본값 (각 섹션에서 개별로 재정의 가능) */
.section-inner{width:1400px;margin:0 auto;box-sizing:border-box;position:relative}

/* 반응형: 섹션 내부는 항상 중앙정렬 + 여백 유연 */
@media(max-width:1400px){
.section-inner{width:90%;padding:0 20px}
}
@media(max-width:768px){
.sub-inner{padding:60px 0}
.section-inner{width:94%;padding:0 16px}
}
@media(max-width:480px){
.sub-inner{padding:50px 0}
.section-inner{width:96%;padding:0 10px}
}


/*서브-인사말*/
.greeting-section{width:100%;background:#fff;padding:40px 0}
.greeting-inner{width:100%;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:52px;box-sizing:border-box}
.greeting-left{flex:1 1 50%;height:649px;overflow:hidden;border-radius:0 60px 60px 0;margin-right:26px}
.greeting-left img{width:100%;height:100%;object-fit:cover;display:block}
.greeting-right{flex:1 1 50%;margin-left:26px;color:#333;line-height:1.6;box-sizing:border-box}
.greeting-right h2{font-size:45px;font-weight:800;line-height:1.2;color:#424242;margin-bottom:30px}
.greeting-right h2 span{font-size:45px;font-weight:800;color:#ff4e1f}
.greeting-right p{font-size:18px;color:#555;margin-bottom:30px;word-break:keep-all}
.greeting-sign{display:block;font-size:18px;font-weight:600;color:#111}

@media(max-width:1280px){
.greeting-inner{max-width:90%;gap:40px}
.greeting-right h2{font-size:34px}
.greeting-right h2 span{font-size:34px}
.greeting-right p{font-size:16px}
}
@media(max-width:1024px){
.greeting-inner{flex-direction:column;gap:50px;max-width:94%}
.greeting-left{width:100%;height:auto;margin:0}
.greeting-left img{height:auto}
.greeting-right{width:100%;margin:0;text-align:center}
.greeting-right h2{font-size:32px}
.greeting-right p{font-size:16px}
.greeting-sign{text-align:center}
}
@media(max-width:768px){
.greeting-section{padding:50px 0}
.greeting-right h2{font-size:26px}
.greeting-right h2 span{font-size:26px}
.greeting-right p{font-size:15px;line-height:1.5}
}
@media(max-width:480px){
.greeting-section{padding:30px 0}
.greeting-right h2{font-size:22px}
.greeting-right h2 span{font-size:22px}
.greeting-right p{font-size:14px}
}


/*서브-시설소개*/

.facility-section{width:100%;background:#fff;padding:40px 0;text-align:center}
.facility-inner{width:1400px;margin:0 auto;box-sizing:border-box}
.facility-title{margin-bottom:60px}
.facility-title h2{font-size:45px;font-weight:800;line-height:1.4;color:#333}
.facility-title h2 span{font-size:45px;color:#f58220;font-weight:800}
.facility-title p{font-size:17px;color:#666;margin-top:12px}
.facility-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:50px 40px}
.facility-item{display:flex;flex-direction:column;align-items:center;gap:14px}
.facility-item img{width:100%;height:280px;object-fit:cover;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,0.08)}
.facility-item p{font-size:18px;font-weight:600;color:#333;margin:0}

/* ✅ 반응형 */
@media(max-width:1200px){
    .facility-inner{width:95%}
    .facility-grid{gap:40px 30px}}
@media(max-width:1024px){
    .facility-grid{grid-template-columns:repeat(2,1fr)}
    .facility-item img{height:220px}}
@media(max-width:768px){
    .facility-section{padding:60px 0}
    .facility-title h2{font-size:30px}
    .facility-title h2 span{font-size:30px;}
    .facility-title p{font-size:15px}
    .facility-grid{grid-template-columns:1fr;gap:30px}
    .facility-item img{height:auto}
}

@media(max-width:480px){
    .facility-title h2{font-size:22px}
    .facility-title h2 span{font-size:22px;}
}





/*서브-오시는 길*/
.location-section{width:100%;background:#fff;padding:40px 0;text-align:center}
.location-inner{width:1400px;margin:0 auto;box-sizing:border-box}
.location-title h2{font-size:45px;line-height:1.2;font-weight:800;color:#424242;margin-bottom:40px}
.location-title h2 span{font-size:45px; font-weight:800; color:#47aa1b}
.map-wrap{width:100%;height:440px;overflow:hidden;border-radius:20px;margin-bottom:40px;border:1px #d4d4d4 solid;}
.map-wrap img{width:100%;height:auto;object-fit:cover;display:block;border-radius:20px; }
.location-info ul{list-style:none;margin:0;padding:0;text-align:left}
.location-info li{font-size:17px;color:#333;line-height:1.8;margin-bottom:8px;display:flex;align-items:center;gap:10px}
.location-info i{font-size:20px;width:24px;text-align:center}
.location-info i.fa-location-dot{color:#f28c1d}
.location-info i.fa-bus{color:#1b8cd8}
.location-info i.fa-train-subway{color:#39b54a}

@media(max-width:1280px){
.location-inner{width:90%;padding:0 20px}
.location-title h2{font-size:38px}
.location-title h2 span{font-size:38px; }    
.map-wrap{height:400px}
.location-info li{font-size:16px}
}

@media(max-width:1024px){
.location-title h2{font-size:34px;line-height:1.3}
.location-title h2 span{font-size:34px;} 
.map-wrap{height:380px}
.location-info li{font-size:15px;flex-wrap:wrap;gap:6px}
}

@media(max-width:768px){
.location-section{padding:60px 0}
.location-title h2{font-size:28px;margin-bottom:30px}
.location-title h2 span{font-size:28px;} 
.map-wrap{height:340px;border-radius:16px}
.location-info li{font-size:14px;line-height:1.6}
.location-info i{font-size:18px;width:20px}
}

@media(max-width:480px){
.location-section{padding:50px 0}
.location-title h2{font-size:22px;line-height:1.3}
.location-title h2 span{font-size:22px;}     
.map-wrap{height:280px}
.location-info li{font-size:13px}
.location-info i{font-size:16px;width:18px}
}


/*서브-진료시간*/
.hours-section{width:100%;background:#fff;padding:40px 0;text-align:center;color:#333}
.hours-inner{width:1400px;margin:0 auto;box-sizing:border-box}
.hours-title h2{font-size:45px;font-weight:800;color:#454545;margin-bottom:70px;line-height:1.2}
.hours-title h2 span{font-size:45px; font-weight:800; color:#47aa1b}
.hours-content{display:flex;justify-content:space-between;align-items:flex-start;gap:40px;text-align:left}
.hours-left{flex:0 0 796px;height:418px;border-radius:20px;overflow:hidden}
.hours-left img{width:100%;height:100%;object-fit:cover;display:block;border-radius:20px}
.hours-right{flex:1;color:#444;line-height:1.7}
.hours-right h3{font-size:24px;font-weight:700;margin-bottom:10px;line-height:1.2}
.hours-right h3 span{font-size:24px;font-weight:700;color:#ff4e1f}
.hours-right ul{list-style:none;padding:0;margin:0 0 30px 0}
.hours-right ul li{font-size:17px;margin-bottom:7px}
.hours-right ul li strong{font-weight: 600;}
.hours-right h4{font-size:18px;font-weight:700;color:#973bd1;margin-bottom:7px;line-height:1.3}
.hours-right p{font-size:16px;color:#555;line-height:1.6}

@media(max-width:1280px){
.hours-inner{width:90%;padding:0 20px}
.hours-title h2{font-size:38px;margin-bottom:40px}
.hours-title h2 span{font-size:38px}
.hours-left{flex:0 0 60%;height:auto}
.hours-right h3{font-size:22px}
.hours-right h3 span{font-size:22px}
.hours-right ul li{font-size:16px}
}

@media(max-width:1024px){
.hours-content{flex-direction:column;align-items:center;text-align:center}
.hours-left{flex:none;width:100%;max-width:700px;height:auto}
.hours-right{flex:none;width:100%;text-align:left;margin-top:10px}
.hours-title h2{font-size:34px;margin-bottom:30px}
.hours-title h2 span{font-size:34px}
.hours-right h3{font-size:20px;line-height:1.4}
.hours-right h3 span{font-size:20px}
.hours-right ul li{font-size:15px;line-height:1.6}
.hours-right h4{font-size:17px}
.hours-right p{font-size:15px}
}

@media(max-width:768px){
.hours-section{padding:50px 0}
.hours-title h2{font-size:28px;margin-bottom:20px}
.hours-title h2 span{font-size:28px}
.hours-left{width:100%;height:auto}
.hours-right h3{font-size:18px}
.hours-right h3 span{font-size:18px}
.hours-right ul li{font-size:14px}
.hours-right h4{font-size:16px}
.hours-right p{font-size:14px}
}

@media(max-width:480px){
.hours-section{padding:40px 0}
.hours-title h2{font-size:22px;margin-bottom:15px}
.hours-title h2 span{font-size:22px}
.hours-right h3{font-size:16px;line-height:1.5}
.hours-right h3 span{font-size:16px}
.hours-right ul li{font-size:13px;line-height:1.5}
.hours-right h4{font-size:15px}
.hours-right p{font-size:13px;line-height:1.5}
}


.process-section{width:100%;background:#fff;padding:100px 0;text-align:center}
.process-inner{width:1400px;margin:0 auto;box-sizing:border-box}
.process-title h2{display:inline-block;background:#5b91f6;color:#fff;font-size:24px;font-weight:700;padding:10px 30px;border-radius:25px;margin-bottom:60px}
.process-items{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.process-item{flex:0 0 300px;background:#dbe6f3;width:300px;height:300px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:18px;box-sizing:border-box}
.process-item h3{font-size:24px;font-weight:700;color:#000;margin-bottom:14px;position:relative}
.process-item h3::after{content:'';display:block;width:70px;height:2px;background:#000;margin:10px auto 0 auto}
.process-item p{font-size:18px;font-weight: 400; color:#111;line-height:1.6;margin:0}

@media(max-width:1280px){
.process-inner{width:90%;padding:0 20px}
.process-items{gap:16px}
.process-item{flex:0 0 260px;width:260px;height:260px}
.process-item h3{font-size:22px}
.process-item h3::after{width:50px}
.process-item p{font-size:16px}
}

@media(max-width:1024px){
.process-items{flex-wrap:wrap;justify-content:center;gap:24px}
.process-item{width:260px;height:260px;margin-bottom:20px;flex:none}
.process-item h3{font-size:21px}
.process-item p{font-size:16px}
.process-title h2{font-size:20px;margin-bottom:40px}
}

@media(max-width:768px){
.process-section{padding:80px 0}
.process-inner{width:100%;padding:0 16px}
.process-items{flex-direction:column;align-items:center;gap:24px}
.process-item{flex:none;width:80%;max-width:240px;height:240px}
.process-item h3{font-size:20px;margin-bottom:10px}
.process-item h3::after{width:40px}
.process-item p{font-size:15px}
}

@media(max-width:480px){
.process-section{padding:60px 0}
.process-title h2{font-size:18px;padding:8px 20px;margin-bottom:30px}
.process-items{gap:20px}
.process-item{width:90%;max-width:220px;height:220px}
.process-item h3{font-size:18px}
.process-item h3::after{width:36px}
.process-item p{font-size:14px;line-height:1.5}
}


.check-section{width:100%;background:#fff;padding:60px 0 150px;text-align:center}
.check-inner{width:1400px;margin:0 auto;box-sizing:border-box}
.check-title h2{display:inline-block;background:#5b91f6;color:#fff;font-size:24px;font-weight:700;padding:10px 30px;border-radius:25px;margin-bottom:70px}
.check-items{display:flex;justify-content:space-between;align-items:flex-start;gap:30px}
.check-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center}
.check-item img{width:198px;height:213px;object-fit:contain;margin-bottom:20px;display:block}
.check-item h3{font-size:24px;font-weight:700;color:#000;margin-bottom:10px}
.check-item .line{display:block;width:60px;height:2px;background:#000;margin:10px auto 20px auto}
.check-item p{font-size:18px;font-weight:400;line-height:1.4;color:#111;margin:0;word-break:keep-all}

@media(max-width:1280px){
.check-inner{width:90%;padding:0 20px}
.check-items{gap:20px}
.check-item img{width:180px;height:195px}
.check-item h3{font-size:22px}
.check-item p{font-size:17px}
}

@media(max-width:1024px){
.check-section{padding:60px 0}
.check-items{flex-wrap:wrap;justify-content:center;gap:30px}
.check-item{flex:0 0 45%;max-width:45%}
.check-item img{width:170px;height:185px}
.check-item h3{font-size:21px}
.check-item p{font-size:16px}
.check-title h2{font-size:22px;margin-bottom:50px}
}

@media(max-width:768px){
.check-section{padding:50px 0}
.check-inner{width:100%;padding:0 16px}
.check-items{flex-direction:column;align-items:center;gap:40px}
.check-item{flex:none;width:100%;max-width:360px}
.check-item img{width:160px;height:175px;margin-bottom:16px}
.check-item h3{font-size:20px;margin-bottom:8px}
.check-item .line{width:50px;margin:8px auto 16px auto}
.check-item p{font-size:15px;line-height:1.5}
.check-title h2{font-size:20px;margin-bottom:40px}
}

@media(max-width:480px){
.check-section{padding:40px 0}
.check-title h2{font-size:18px;padding:8px 20px;margin-bottom:30px}
.check-items{gap:28px}
.check-item img{width:150px;height:160px}
.check-item h3{font-size:18px}
.check-item .line{width:40px}
.check-item p{font-size:14px;line-height:1.5}
}


.surgery-section{width:100%;background:url('/img/sub_img_07.jpg') no-repeat center/cover;padding:100px 0;text-align:center;color:#fff;position:relative; background-attachment: fixed;}
.surgery-section::after{content:'';position:absolute;inset:0;background:rgba(0,0,0,0.45);z-index:1}
.surgery-inner{width:1400px;margin:0 auto;position:relative;z-index:2;text-align:left}
.surgery-title{text-align:center;margin-bottom:70px}
.surgery-title h2{display:inline-block;background:#5b91f6;color:#fff;font-size:24px;font-weight:700;padding:10px 30px;border-radius:25px}
.surgery-steps{display:flex;justify-content:space-between;align-items:stretch;gap:40px} /* ✅ stretch로 높이 통일 */
.surgery-step{flex:1;display:flex;flex-direction:column;justify-content:flex-start;padding:40px 5px;border-right:1px solid rgba(255,255,255,0.3);box-sizing:border-box}
.surgery-step:last-child{border-right:none}
.surgery-step h3{font-size:24px;font-weight:700;margin-bottom:20px;color:#fff}
.surgery-step p{font-size:18px;line-height:1.4;margin:0;color:#f0f0f0}
.surgery-step p span{font-size:18px;color:#ffeb00;font-weight:700}
.surgery-step ul{list-style:none;margin:0;padding:0}
.surgery-step ul li{font-size:18px;line-height:1.4;color:#eee;margin-bottom:5px}

/* ===============================
   ✅ 반응형 1280px 이하 (태블릿)
================================ */
@media(max-width:1280px){
.surgery-inner{width:90%;padding:0 20px;box-sizing:border-box}
.surgery-steps{gap:30px}
.surgery-step{padding:30px 10px}
.surgery-step h3{font-size:22px}
.surgery-step p,
.surgery-step p span,
.surgery-step ul li{font-size:17px}
}

/* ===============================
   ✅ 반응형 1024px 이하 (중간 태블릿)
================================ */
@media(max-width:1024px){
.surgery-section{padding:80px 0;background-attachment:scroll}
.surgery-inner{width:92%}
.surgery-steps{gap:24px}
.surgery-step{padding:28px 8px}
.surgery-step h3{font-size:21px;margin-bottom:16px}
.surgery-step p,
.surgery-step ul li{font-size:16px;line-height:1.5}
.surgery-step p span{font-size:16px}
}

/* ===============================
   ✅ 반응형 768px 이하 (모바일)
================================ */
@media(max-width:768px){
.surgery-section{padding:70px 0;background-attachment:scroll}
.surgery-inner{width:100%;padding:0 16px}
.surgery-steps{flex-direction:column;gap:20px}
.surgery-step{border-right:none;border-bottom:1px solid rgba(255,255,255,0.25);padding:24px 10px;text-align:center}
.surgery-step:last-child{border-bottom:none}
.surgery-step h3{font-size:20px;margin-bottom:14px}
.surgery-step p,
.surgery-step p span,
.surgery-step ul li{font-size:15px;line-height:1.5}
}

/* ===============================
   ✅ 반응형 480px 이하 (소형 모바일)
================================ */
@media(max-width:480px){
.surgery-section{padding:60px 0}
.surgery-title h2{font-size:18px;padding:8px 20px}
.surgery-steps{gap:16px}
.surgery-step{padding:20px 6px}
.surgery-step h3{font-size:18px;margin-bottom:12px}
.surgery-step p,
.surgery-step p span,
.surgery-step ul li{font-size:14px;line-height:1.5}
}



/*서브-진료항목*/
.department-section {width:100%;background:#fff;padding:80px 0}
.department-inner {width:1400px;margin:0 auto;box-sizing:border-box}
.department-title {max-width:1400px;width:100%;margin:0 auto 100px;display:flex;align-items:center;gap:25px;text-align:left;justify-content:flex-start}
.department-title img {width:150px;height:auto;flex-shrink:0;display:block;margin:0;padding:0;align-self:flex-start}
.department-title .title-text {flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;margin:0;padding-left:40px;overflow-wrap:anywhere;word-break:normal}
.department-title .title-text span {font-size:40px;font-weight:700;color:#5b91f6;line-height:1.3}
.department-title .title-text strong {font-size:40px;font-weight:800;color:#454545;line-height:1.3}
.department-items {display:flex;justify-content:space-between;align-items:flex-start;gap:80px}
.department-col {flex:1;display:flex;flex-direction:column;gap:40px}
.department-item {display:flex;align-items:flex-start;gap:16px}
.department-item img {width:100px;height:auto;flex-shrink:0;margin-top:4px}
.department-item .text {text-align:left}
.department-item h3 {font-size:22px;font-weight:800;color:#000;margin:0 0 6px 0}
.department-item p {font-size:17px;font-weight:400;color:#333;line-height:1.6;margin:0;word-break:keep-all}
.department-col:first-child {border-right:1px solid #ddd;padding-right:60px}
.department-col:last-child {padding-left:60px}

@media (max-width:1400px) {
  .department-inner {width:100%;padding:0 40px}
  .department-title {flex-direction:column;align-items:flex-start;text-align:left;gap:20px}
  .department-title .title-text {padding-left:0}
  .department-items {flex-direction:column;gap:60px}
  .department-col:first-child,
  .department-col:last-child {border:none;padding:0}
}

@media (max-width:1024px) {
  .department-items {flex-direction:row;flex-wrap:wrap;gap:40px}
  .department-col {width:100%;padding:0 !important;border:none !important}
  .department-item {gap:12px;align-items:flex-start}
  .department-title img {width:120px}
  .department-title .title-text span,
  .department-title .title-text strong {font-size:32px}
  .department-item img {width:80px}
  .department-item h3 {font-size:20px}
  .department-item p {font-size:16px}
}

@media (max-width:768px) {
  .department-section {padding:60px 0}
  .department-title .title-text span,
  .department-title .title-text strong {font-size:26px}
  .department-items {gap:40px}
  .department-item {gap:12px}
}

@media (max-width:480px) {
  .department-title img {width:100px}
  .department-title .title-text span,
  .department-title .title-text strong {font-size:22px}
  .department-item img {width:60px}
  .department-item h3 {font-size:18px}
  .department-item p {font-size:15px}
}


/*의료진 소개*/
.doctor-schedule{width:100%;background:#fff;padding:40px 0;text-align:center}
.schedule-inner{width:1400px;margin:0 auto;box-sizing:border-box}
/*
.schedule-title h2{font-size:45px;font-weight:800;color:#333;line-height:1.3;margin-bottom:20px}
.schedule-title h2 span{font-size:45px;color:#47aa1b;font-weight:800}
.schedule-info{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:60px 0;}
.schedule-info .work-time{display:flex;align-items:center;gap:15px}
.schedule-info .work-time img{width:73px;height:auto;display:block}
.schedule-info .time-text p{font-size:24px;color:#333;line-height:1.6;font-weight:500;margin:0; text-align: left;}
.schedule-info .notice{flex-shrink:0;background:#5b91f6;color:#fff;font-size:20px;font-weight:600;padding:14px 32px;border-radius:40px;white-space:nowrap}
*/
.schedule-title h2{font-size:45px;font-weight:800;color:#333;line-height:1.3;margin-bottom:40px}
.schedule-title h2 span{font-size:45px;color:#47aa1b;font-weight:800}
.schedule-info{display:flex;align-items:flex-start;justify-content:space-between;gap:60px;max-width:1400px;margin:0 auto}
.work-left{flex:0 0 50%;max-width:700px;display:flex;flex-direction:column;gap:24px}
.work-time{display:flex;align-items:flex-start;gap:14px}
.work-time img{width:70px;height:auto;display:block;margin:0;padding:0}
.work-time .time-text p{font-size:22px;color:#333;font-weight:700;line-height:1.6;margin:0;padding:0;text-align:left}
.work-time .time-text strong{font-size:22px;font-weight:400;color:#111}
.work-notice{background:#5b91f6;color:#fff;font-size:18px;font-weight:600;padding:18px 28px;border-radius:50px;line-height:1.5; text-align: center}

.work-notice strong{color:#ffff00;font-size:18px;font-weight:500;}
.work-right{flex:1;max-width:640px; text-align: left}
.work-right ul{margin:0;padding:0;list-style:none}
.work-right li{font-size:18px;color:#333;font-weight:500;line-height:1.5;margin-bottom:10px}
.work-right li span{font-size:18px; font-weight:700}
.work-right li em{display:block;font-size:15px;color:#999;font-style:normal;margin-top:2px}




.doctor-row{display:flex;align-items:flex-start;justify-content:space-between;gap:50px;margin-top: 50px; margin-bottom:70px;text-align:left}
.doctor-photo{flex:0 0 320px;text-align:center}
.photo-box {width:100%; aspect-ratio:337 / 202; background:#ffffff; border-radius:8px; overflow:hidden; margin-bottom:10px; display:flex; align-items:center; justify-content:center;}
.photo-box img {width:100%; height:100%; object-fit:contain; display:block;}

.doctor-name{font-size:18px;font-weight:700;color:#333;margin:0}
.doctor-table{flex:1}
.doctor-table table{width:100%;border-collapse:collapse;border:1px solid #ccc;text-align:center;font-size:16px; margin-top: 25px; }
.doctor-table th,.doctor-table td{border:1px solid #ccc;padding:10px}
.doctor-table th:first-child{font-size: 18px;font-weight:700;color:#333}
.doctor-table th{background:#f3f7fb;font-size: 22px;font-weight:700;color:#333}
.doctor-table td{font-size: 22px;color:#333}
.doctor-table td:contains("●"){color:#f00}
.doctor-table td:contains("○"){color:#1b8cd8}


@media (max-width: 1400px){
  .schedule-inner {width:100%; padding:0 20px;}
}

@media (max-width: 1024px){
/*  .schedule-info {flex-direction:column; gap:20px;}*/
  .doctor-row {flex-direction:column;}
  .doctor-photo {width:100%; flex:none;}
  .photo-box {height:200px;}
  .doctor-table {width:100%;}
.schedule-info{flex-direction:column;gap:40px}
.work-left,.work-right{max-width:100%;flex:1}
.work-time img{width:70px}
.work-time .time-text p{font-size:20px}
    .work-time .time-text strong{font-size:20px;}

.work-notice{font-size:16px;padding:14px 22px;border-radius:30px}
  .doctor-table th,
  .doctor-table td {font-size:18px; padding:10px;}

    
    
}

@media (max-width: 768px){
.schedule-title h2{font-size:32px;margin-bottom:30px}
.schedule-title h2 span{font-size:32px}
.work-time img{width:60px}
.work-time .time-text p{font-size:18px}
        .work-time .time-text strong{font-size:18px;}
.work-notice{font-size:15px;line-height:1.6;text-align:center}
.work-right li{font-size:16px;line-height:1.6}
.work-right li em{font-size:14px}
  .photo-box {height:180px;}
  .schedule-info .time-text p {font-size:18px;}
  .doctor-table th,
  .doctor-table td {font-size:16px; padding:8px;}
  .schedule-info .notice {font-size:16px; padding:10px 20px;}
  .doctor-table th:first-child{font-size: 14px;}
}

@media (max-width: 480px){
.schedule-title h2{font-size:26px}
.schedule-title h2 span{font-size:26px}
.work-time{flex-direction:column;align-items:flex-start}
.work-time img{width:50px; margin: 0 auto;}
.work-time .time-text p{font-size:16px}
        .work-time .time-text strong{font-size:16px;}
.work-notice{font-size:14px;padding:12px 16px}
.work-right li{font-size:15px}
    .work-right li span{font-size:15px; }
  .photo-box {height:160px;}
  .doctor-table th,
  .doctor-table td {font-size:15px; padding:6px;}
  .doctor-table th:first-child{font-size: 12px;}
}















/*온라인 문의메일*/
.inquiry-section{width:100%;background:#fff;padding:0px 0}
.inquiry-inner{width:1400px;margin:0 auto;text-align:center}
.inquiry-intro h2{font-size:40px;font-weight:700;margin-bottom:10px;color:#111}
.inquiry-intro p{font-size:18px;color:#555;margin-bottom:50px;line-height:1.6}

.inquiry-form{width:100%;max-width:700px;margin:0 auto;text-align:left}
.form-group{margin-bottom:20px}
.form-group label{display:block;font-size:16px;font-weight:600;margin-bottom:8px;color:#222}
.form-group input,
.form-group textarea{width:100%;border:1px solid #ddd;border-radius:8px;padding:12px 14px;font-size:16px;color:#333;box-sizing:border-box;transition:border .3s}
.form-group input:focus,
.form-group textarea:focus{border-color:#1b4cb1;outline:none}

.form-agree{display:flex;justify-content:space-between;align-items:center;font-size:15px;color:#333;margin-top:10px;margin-bottom:30px}
.form-agree input{margin-right:6px}
.form-agree label{font-size:16px;font-weight:600;margin-bottom:8px;color:#222}
.btn-privacy{color:#1b4cb1;text-decoration:underline;font-size:14px;cursor:pointer}
.btn-submit{background:#1b4cb1;color:#fff;font-size:18px;font-weight:600;padding:14px 60px;border:none;border-radius:30px;cursor:pointer;transition:background .3s}
.btn-submit:hover{background:#002b80}

/* 팝업 */
.privacy-popup{display:none;position:fixed;inset:0;background:rgba(0,0,0,0.6);z-index:9999;align-items:center;justify-content:center}
.privacy-popup.active{display:flex}
.popup-content{background:#fff;width:90%;max-width:500px;border-radius:12px;padding:30px;box-sizing:border-box;text-align:left;position:relative}
.popup-content h3{font-size:22px;font-weight:700;margin-bottom:15px;color:#111}
.popup-body p{font-size:15px;color:#444;line-height:1.6;margin-bottom:20px}
.popup-close{display:block;width:100%;background:#1b4cb1;color:#fff;padding:10px 0;border:none;border-radius:6px;font-size:16px;cursor:pointer}
.popup-close:hover{background:#002b80}

/* 반응형 */
@media(max-width:768px){
.inquiry-inner{width:100%;padding:0 16px}
.inquiry-intro h2{font-size:30px}
.inquiry-intro p{font-size:16px}
.btn-submit{width:100%}
.form-agree{flex-direction:column;align-items:flex-start;gap:6px}
}
/*//온라인 문의메일*/