header {position: fixed; top: 0; left: 0; width: 100%; z-index: 200;  transition: height 0.3s ease, box-shadow 0.3s ease;}

.header_wrap.scrolled {
  height: 125px;
  background-color: #26c0be;
  align-items: center;
  flex-direction: inherit;

}

.header_m.scrolled {

  background-color: #26c0be;

}

.m_close_btn {background-color: transparent;}

.header_wrap.scrolled > .hd_inner > .logo img {width: 80%; }
.logo img {display: block;}

.header_wrap {transition: transform 0.3s ease; height: 170px; display: flex; flex-direction: column-reverse;}
.hd_inner {width: 1440px; margin: 0 auto; }
.hd_inner .logo{width: 30%;}
.hd_inner .hd_menu {width: 70%;}
.hd_menu {font-size: 24px; font-weight: 400; color: #FFF;}
.hd_lc > span {display: inline-block; width: 50px; height: 50px; border-radius: 100px; color: #FFF; text-align: center; background-color: #3dad31; font-size: 30px; font-weight: 500; line-height: 50px; margin-right: 15px;}
.hd_lc > p {color: #01475e; font-weight: 500; font-size: 24px;}
.hd_call {justify-content: end;}
.hd_call > span {display: inline-block; margin-right: 15px;}
.hd_call p {font-size: 24px; font-weight: 400; color: #26c0be; font-family: 'Nanum Gothic', sans-serif;}

/* 메인 슬라이드 */
.main_slide {width: 100%; position: relative; overflow: hidden;}
.main_text {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 100; width: 1440px;}
.main_text > h3 {font-size: 34px; color: #FFF; font-weight: 300;}
.main_text > h3 > b {font-weight: 600;}
.main_text > .bar {display: inline-block; margin: 40px 0px; background-color: #56f5e8; width: 237px; height: 5px;}
.main_text .sub_eg {font-size: 30px; color: #56f5e8; font-weight: 300;}
.main_text .mt_y {font-size: 31px; color: #fcf418; font-weight: 300; margin-bottom: 10px;}
.main_bn_right {position: absolute; top: 60%; left: 50%; transform: translateY(-50%); z-index: 99;}

.main_bn_right2 {position: absolute; top: 70%; left: 50%; transform: translateY(-50%); z-index: 99;}

.main_text .sub_eg > b {font-weight: 700;}
.main_banner {height: 1080px;}
.main_banner_li > img {width: 100%; height: 100%; object-fit: cover;}
#sec1 {margin-top: -160px;}
#sec2 {margin-top: -130px; padding-top: 130px;}
#sec1 .sec_tt_wrap { padding-top: 170px; margin-top: 160px;}
#sec3 .sec_tt_wrap {margin-top: 0; padding-top: 170px;}
#sec4 {margin-top: -130px; padding-top: 130px;}
#sec5 .sec_tt_wrap {margin-top: 0; padding-top: 170px;}

.bg_sb_txt1 {color: #FFF; font-size: 24px; margin-top: 20px;}


.slide-aos-img {
  opacity: 0;
  transform: translateX(80px);
}

.swiper-slide-active .slide-aos-img {
  animation: slideInRight 1s ease-in-out forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 의료진 소개 */
.sec_tt_wrap {text-align: center; color: #01475e; margin-bottom: 130px; margin-top: 170px;}
.sec_tt_wrap > h4 {font-size: 54px; font-weight: 300; margin-bottom: 5px;}
.sec_tt_wrap > h4 > b {font-weight: 600;}
.ledger_wrap1 {}
.sec_tt_wrap > .sec_sub_txt {font-size: 24px; font-weight: 300;}
.ld_w_top {gap: 0 120px; position: relative; width: 1440px; margin: 0 auto;}
.led_left {width: 895px; position: relative; height: 1350px;}
.led_left > img {position: absolute; bottom: -50px;}
.led_right {padding-top: 70px;}
.led_right > p {color: #01475e; font-size: 20px; font-weight: 400; line-height: 34px;}
.led_right > p > span {color: #FFF; display: block; margin-top: 140px;}
.led_right > span {color: #01475e;}
.led_right > span {font-size: 36px; font-weight: 300; display: block; margin-bottom: 10px;}
.led_right > span > b {font-size: 48px; font-weight: 600;}
.ld_w_bt {overflow: hidden; background: url(../img/prf_bg.png) no-repeat; background-size: cover; width: 100%; height: 800px; position: absolute; bottom: 0px; z-index: -1;}
.ys_mark_fixed {position: fixed; bottom: 70px; right: 50%;
  transform: translateX(700px); pointer-events: none;}

.ld_w_b_rt {position: absolute; color: #FFF; font-size: 24px; position: absolute; }

.led_right .led_in_txt > h6 {font-size: 36px;}
.led_right .led_in_txt > p {font-size: 20px;}

/* 진료과목 */
.tar_txt {gap: 10px; flex-wrap: wrap;}
.tar_txt > span {display: inline-block; border: 1px solid #FFF; border-radius: 20px; width: 120px; height: 40px; text-align: center; color: #FFF; line-height: 38px;}

.t_row_txt > h6 {font-size: 36px; font-weight: 600; margin-bottom: 20px;}
.t_row_txt > p {font-size: 24px; font-weight: 300; margin-bottom: 40px;}
.section2 {padding-bottom: 160px;}

/* 둘러보기 슬라이드 */
.section3 {background-color: #eff5f5; padding-bottom: 170px; z-index: 0; position: relative;}
.section1 {background-color: #f5f5f5; z-index: 9; position: relative;}
.section4 {padding-bottom: 170px;}

/* 약속 */
.promise_li {width: 1440px; margin: 0 auto;}
.promise_li > li {width: 270px; height: auto;}
.promise_li > li > img {width: 100%;}
/* 진료안내 */
.guide_box {width: 1440px; margin: 0 auto; border: 1px solid #021120; position: relative; }
.guide_wrap1 {height: 430px;}
.guide_left_img {background: url(../img/guide_left.png) no-repeat; background-size: cover; width: 50%; height: 100%; position: relative; border-right: 1px solid #021120;}
.guide_left_img > h5 {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #FFF; font-size: 30px; width: 100%; text-align: center; font-weight: 300;}
.guide_left_img > h5 > b {font-weight: 600;}
.guide_date {width: 50%;}
.guide_date > li {align-items: center; justify-content: center; color: #01475e; margin-bottom: 12px;}
.guide_date > li:last-child {margin-bottom: 0;}
.guide_date > li > span {font-size: 30px; font-weight: 600; width: 140px;}
.guide_date > li > p {font-weight: 400; font-size: 30px;}
.guide_date > li > span.lnc {letter-spacing: -3px;}
.guide_date > li > span.sd_t {letter-spacing: -0.6px;}
.guide_top {position: absolute; background-color: #26c0be; top: -50px; left: 50%; transform: translateX(-50%); color: #FFF; font-weight: 600; border: 5px solid #fff; border-radius: 100px; width: 600px; height: 100px; font-size: 48px; text-align: center; line-height: 88px;  z-index: 100;}
.guide_date h6 {margin-top: 40px; font-size: 30px; font-weight: 400; text-align: center; color: #ff4e00;}
.gd_icon {position: absolute; bottom: -40px; gap: 80px; left: 50%; transform: translateX(-50%);}
.gd_icon > a {display: inline-block; width: 80px; height: 80px; border-radius: 100px; background-color: #01475e; position: relative;}
.gd_icon > a > img {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);}
.rv_in_wrap {justify-content: center; align-items: center; margin-top: 106px;}
.re_in_left  {align-items: center; color: #01475e;}
.re_in_left > img {display: inline-block; width: 60px; margin-right: 20px;}
.re_in_left > p {text-align: right;}
.rv_in_wrap .l_bar {width: 2px; height: 56px; background-color: #b4b4b4; display: inline-block; margin: 0 30px;}
.re_in_left > p{font-size: 36px; font-weight: 600; line-height: 30px;}
.re_in_left > p > span{font-size: 24px; font-weight: 300;}
.re_in_right {color: #26c0be;}
.re_in_right > p {font-size: 72px; font-family: 'Nanum Gothic', sans-serif;}
.re_in_right > p > span {font-weight: 600;}
.sec_gray {background-color: #eff5f5;}
.section5 {padding-bottom: 150px;}
.map_wrap {width: 1440px; height: 600px; margin: 0 auto; border: 1px solid #adadad; box-shadow: 1px 1px 45px rgba(0,0,0,0.3); margin-bottom: 80px;}
.prm_txt {font-size: 45px; font-weight: 300; padding-top: 140px; text-align: center; color: #029e9c; letter-spacing: -3px; width: fit-content; margin: 0 auto;}
.prm_txt b {font-weight: 600;}
.prm_txt hr {margin: 20px 0; display: block !important;}
/* map */
.root_daum_roughmap .wrap_controllers {display: none;}
.root_daum_roughmap .cont .section.lst {display: none;}
.root_daum_roughmap .map {border: none;}
.map_bt_txt {justify-content: center; width: 1440px; margin: 0 auto;}
.map_t_in {width: 60%; margin: 0 auto; position: relative;}
.map_t_in.map_t_in2 {width: 85%; float: right;}
.map_air_wrap {margin-left: 20px;}

.map_t_in_w {width: 50%; position: relative;}
.map_t_in_w.map_t_in_w1{width: 40%;}
.map_t_in_w..map_t_in_w2{width: 60%;}
.map_t_in_w::before {content: ""; display: inline-block; width: 1px; height: 70px; background-color: #89929b; position: absolute; top: 50%; left: 0; transform: translateY(-50%);}
.map_t_in_w.map_t_in_w2::after{content: ""; display: inline-block; width: 1px; height: 70px; background-color: #89929b; position: absolute; top: 50%; right: 0; transform: translateY(-50%);}
.map_t_in > h6 {font-weight: 600; margin-bottom: 36px; color: #01475e; font-size: 27px;}
.map_t_ad {font-size: 20px;}
.map_t_ad > .gr_txt {background-color: #07b524;}
.map_t_ad > .or_txt {background-color: #ffb600;}
.map_t_ad > .bl_txt {background-color: #0784d3;}
.map_t_ad > .sky_txt {background-color: #dd4319;}
.map_t_ad > .air_txt1 {background-color: #13b6a5;}
.map_t_ad > .air_txt2 {background-color: #bb46ac;}

.map_t_ad > span { font-weight: 600; display: inline-block; border-radius: 50px; font-size: 20px; color: #FFF; text-align: center;}
.map_t_in1 .map_t_ad1 {gap: 6px;}
.map_t_in1 span {width: 120px; }
.map_t_in2 span {width: 80px; }
.map_t_in_w1 .map_t_ad {margin-bottom: 20px;}
.map_t_in_w2 .map_t_ad {margin-bottom: 20px; gap: 8px;}
.map_t_ad > p {color: #01475e;}
.map_t_ad > p > span {font-weight: 600;}
.map_t_ad_con {position: relative;}
.map_t_ad_con.map_t_ad_con1::before {content: ""; display: inline-block; position: absolute; background: url(../img/subway.png) no-repeat; width: 60px; height: 60px; top: 50%; left: -70px; transform: translateY(-50%);}
.map_t_ad_con.map_t_ad_con2::before {content: ""; display: inline-block; position: absolute; background: url(../img/bus.png) no-repeat; width: 46px; height: 55px; top: 50%; left: -70px; transform: translateY(-50%); background-size: cover;}
.map_t_in_w1 .map_t_in {width: 60%;}
.m_last_wrap {width: fit-content; margin: 70px auto 0;}
.m_last_wrap > span {display: inline-block; width: 46px; height: 46px; color: #FFF; font-size: 30px; background-color: #01475e; text-align: center; border-radius: 100px; margin-right: 10px; font-weight: 600;}
.map_last_txt { font-size: 20px; font-weight: 400; color: #01475e; text-align: center;}

/* footer */
footer {background-color: #2c9896; padding: 120px 0px; color: #FFF;}
.footer_inner {width: 1400px; margin: 0 auto;}
.footer_inner {justify-content: center;}
.footer_left > span {margin-bottom: 20px; font-weight: 600; font-size: 30px; display: block;}
.footer_left > p {font-size: 20px; font-weight: 300;}
.footer_left > p > span {font-weight: 500;}
.footer_left > p .br1 {display: none;}
.bt_menu > li {width: calc(100% / 3); height: 60px; align-items: center; justify-content: center;}
.bt_menu > li > a {display: block; color: #FFF; font-size: 24px; text-align: center; }
.bt_menu > li:first-child {background-color: #405da2;}
.bt_menu > li:nth-child(2) {background-color: #00c73c;}
.bt_menu > li:last-child {background-color: #fe8b02;}
.bt_menu > li > img {width: 30px; margin-right: 15px;}
.bottom_menu_wrap {display: none;}

/* sidemenu */
.side_menu_wrap {position: fixed; right: 2%; bottom: 8%; z-index: 1000;  transition: transform 0.3s ease;}
.side_menu {width: 72px; height: 377px; border-radius: 100px; background-color: #2c9896; color: #FFF; display: flex; flex-flow: column; align-items: center; padding-top: 30px; box-shadow: 1px 1px 20px rgba(0,0,0,0.2);}
.side_menu > li > a > img {width: 30px; margin: 0 auto;}
.side_menu > li {padding: 14px 0; position: relative; border-bottom: 1px solid #FFF;}
.side_menu > li:last-child {border: none;}
.top_btn {position: relative; width: 72px; height: 72px; background-color: #FFF; box-shadow: 1px 1px 20px rgba(0,0,0,0.3); border-radius: 100px; margin-top: 10px;  transition: opacity 0.3s;} 
.top_btn > img {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);}

/* mb_header */
.header_m {position: fixed; top: 0; left: 0; z-index: 1000; width: 100%;  display: none; padding: 25px 20px;}
.header_inner_m {width: 100%;}
.header_inner_m > h1 {width: 50%;}
.header_inner_m > button > img {width: 28px;}
.header_inner_m > a {width: 28px;}
.header_inner_m > a > img {width: 100%;}
.header_inner_m > button.m_h_btn1 > img {width: 32px;}

.m_t_menu {background-color: #c2eded; color: #01475e; font-size: 16px; font-weight: 500; position: absolute; left: 0; z-index: 1000; width: 100%;}
.m_t_menu > li {padding: 15px; border-bottom: 1px solid #FFF; width: 100%; text-align: center;}
.m_t_menu > li > a {display: block; width: 100%;}

.m_tnb {display: none;}
.mid_slide {width: 1920px; margin: 0 auto; position: relative;}


.mid_slide .swiper {
  width: 85%; margin: 0 auto;  overflow: hidden; 
}

.mid_slide .swiper-wrapper {height: auto;}


.mid_slide .swiper-slide {
  width: 50%; /* 고정 너비로 겹침 조정 */
  overflow: hidden;
  background: #fff;
}

.mid_slide .swiper-slide img {
  width: 100%;
  display: block;
}

.mid_slide .swiper-button-prev,
.mid_slide .swiper-button-next {
  color: #333;
}

.mid_slide .swiper-button-next, .mid_slide .swiper-button-prev {background-color: #142537; color: #FFF; padding: 15px; font-size: 5px; height: auto; width: auto;}

.mid_slide .swiper-button-prev:after, .mid_slide .swiper-button-next:after {font-size: 22px;}


.tooltip-custom {
      position: absolute;
      bottom: 110%;
      left: 50%;
      transform: translateX(-50%);
      background-color: #333;
      color: #fff;
      padding: 6px 10px;
      border-radius: 4px;
      font-size: 12px;
      white-space: nowrap;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s;
    }

    .gd_icon > a:hover .tooltip-custom {
      opacity: 1;
      pointer-events: auto;
    }

.popup {width: 100vw; height: 100vh; position: fixed; top: 0; left: 0; z-index: 2000; display: none;}
.popup_bg {width: 100%; height: 100%; background: rgba(0,0,0,0.4); position: relative;}
.popup_box {position: absolute; top: 15%; left: 50%; transform: translateX(-50%); width: 900px; height: 760px; overflow: hidden; background-color: #FFF;  box-shadow: 0 5px 15px rgba(0,0,0,.5); border-radius: 6px;}
.modal-header {padding: 15px; border-bottom: 1px solid #e5e5e5; }
.modal-header > h4 {font-size: 18px; font-weight: 500; color: #565656;}
.pop_con {padding: 15px; overflow-y: scroll; height: calc(100% - 110px);}
.pop_con > h5 {font-size: 35px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;}
.p_tb table {width: 100%;  table-layout: fixed; border-left: 1px solid #eee;}
.p_tb table thead th {background-color: #fbfbfb; padding: 10px; font-weight: 400; border-top: 2px solid #01475e; border-bottom: 1px solid #eee; border-right: 1px solid #eee;}
.p_tb table tr td {text-align: center; padding: 10px; border-bottom: 1px solid #eee; border-right: 1px solid #eee;}

.modal-footer {position: fixed; bottom: 0; left: 0; width: 100%; padding: 15px; background-color: #FFF; border-top: 1px solid #e5e5e5; justify-content: end;}
.pop_con .p_tb {padding-bottom: 10px;}
.modal-footer > button {    border: 1px solid #aaa; padding: 5px 15px; border-radius: 5px;}

body.no-scroll {
  overflow: hidden;
}

.sub_banner {width: 100%; height: 800px; background: url(../img/sub.png) no-repeat; background-size: cover; position: relative; background-position: center;}

.sub_banner .main_text {text-align: center;}
.sub_banner .main_text > h3 {font-size: 60px;}
.sub_banner .main_text {top: 55%;}
.sub_con {padding: 180px 15px; }
.sub_con > p {text-align: center; font-size: 24px; color: #555; font-weight: 400; }
.sub_con > p:first-child {margin-bottom: 20px;}
.sub_con > p:nth-child(2) {margin-bottom: 100px;}
.sub_con table {width: 1400px; margin: 0 auto; text-align: center; border-top:1px solid #bfbfbf; border-left: #bfbfbf;   border-collapse: collapse; border-right: 1px solid #bfbfbf; font-size: 24px;}
.sub_con table tr th {background-color: #e1f6f1; color: #555555;  border-left: 1px solid #bfbfbf;  border-bottom: 1px solid #bfbfbf; padding: 20px 10px; font-weight: 500;}
.sub_con table tr td {color: #555555;  border-left: 1px solid #bfbfbf;  border-bottom: 1px solid #bfbfbf;  padding: 20px 10px;}
.sub_tb {width: 1440px; margin: 0 auto;}

.m_map_in {text-align: center; justify-content: center; gap: 15px; margin-bottom: 30px;}
.m_map_in > img {width: 25px;}
.m_map_in > p {text-align: center; color: #01475e; font-weight: 600; font-size: 20px;}
.m_map_in2 {text-align: center; justify-content: center; gap: 10px;}
.m_map_in2 > span {display: block; width: 120px; height: 28px; font-size: 18px;text-align: center; font-weight: 600; color: #FFF; border-radius: 15px;}
.mm_gt {background-color: #07b524;}
.mm_yt {background-color: #ffb600;}
.mm_lt {text-align: center; font-size: 18px; margin-top: 23px; color: #01475e; font-weight: 300;}
.mm_lt > b {font-weight: 600;}
.m_map1 {margin-bottom: 50px;}
.m_map_bt {display: none; text-align: center; width: 600px; margin: 0 auto;}
.mmt_in2 > span {width: 80px; height: 28px; border-radius: 15px; margin-right: 20px; display: block; color: #FFF; font-weight: 600; font-size: 18px;}
.mmt_in2 > span.mmt_txt2_1 {background-color: #0784d3;}
.mmt_in2 > p {font-size: 18px; color: #01475e; text-align: left; width: 72%;}
.mmt_in2 { margin-bottom: 20px;}
.mmt_txt2_2 { background-color: #dd4319;}
.mmt_txt2_3 { background-color: #13b6a5;}
.mmt_txt2_4 { background-color: #bb46ac;}
.map_br {display: none;}

/* 공지사항 */
#fboardlist {padding-top: 170px; padding-bottom: 120px;}

#sec5 .wrap_map {
    position: relative !important;
    left: 50% !important;
    top: 50%;
    transform: translate(-50%, -50%) !important; /* 중앙 정렬 */
    margin: 0 auto !important;
    min-width: 1200px !important; 
    min-height: 600px !important;
}

