.tabs li {
  min-height: 70px;
  position: relative;
  border-bottom-color: var(--gray-600); /* u-bb-1 색상 유지 */
}

/* 가운데서 퍼지는 서브컬러 라인 — u-bb-1 위에 덮어씌움 */
.tabs li::after {
  content: '';
  position: absolute;
  bottom: -1px; /* u-bb-1 border 위치에 정확히 맞춤 */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background-color: var(--sub-color);
  transition: width 0.35s ease;
}

.tabs li:hover::after,
.tabs li.active::after {
  width: 100%;
}

.tabs li a { color: var(--gray-600); }
.tabs li.active a,
 .tabs li:hover a {
  color: var(--sub-color);
  font-weight: 600;
}


/* ============================================================
// 임상증례
// ============================================================ */
.case_review .intro {
  background-image: url("../images/case_review.png");
  padding-top: 4.1667vw;
  height: 800px;
  background-size: cover;
}
@media screen and (max-width: 640px) {
  .case_review .intro {
    background-image: url("../images/case_review.png");
    padding-top: 4.1667vw;
    height: 50vh;
    background-position: center;
  }
}
/* ============================================================
// 원장님 칼럼
// ============================================================ */
.column .intro {
  background-image: url("../images/case_review.png");
  padding-top: 4.1667vw;
  height: 800px;
  background-size: cover;
}
@media screen and (max-width: 640px) {
  .column .intro {
    background-image: url("../images/case_review.png");
    padding-top: 4.1667vw;
    height: 50vh;
    background-position: center;
  }
}
/* ============================================================
// 병원소개
// ============================================================ */
@font-face {
  font-family: "KyoboHandwriting2020ParkDoYeon";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2112@1.0/KyoboHandwriting2020A.woff")
    format("woff");
  font-weight: normal;
  font-display: swap;
}

.introduce .intro {
  background-image: url("../images/introduceIntro.png");
  padding-top: 4.1667vw;
  height: 800px;
  background-size: cover;
}

.kyobo {
  font-family: "KyoboHandwriting2020ParkDoYeon" !important;
}
.introduce #sect01 .imgBox {
  margin-bottom: -20px;
}
.introduce ul li {
  min-height: 70px;
  position: relative;
  border-bottom-color: var(--gray-600); /* u-bb-1 색상 유지 */
}

/* 가운데서 퍼지는 서브컬러 라인 — u-bb-1 위에 덮어씌움 */
.introduce ul li::after {
  content: '';
  position: absolute;
  bottom: -1px; /* u-bb-1 border 위치에 정확히 맞춤 */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background-color: var(--sub-color);
  transition: width 0.35s ease;
}

.introduce ul li:hover::after,
.introduce ul li.active::after {
  width: 100%;
}

.introduce ul li a { color: var(--gray-600); }
.introduce ul li.active a,
.introduce ul li:hover a {
  color: var(--sub-color);
  font-weight: 600;
}

@media screen and (max-width: 992px) {
  .ddImg {
display: none;
}

}

/* ============================================================
// 의료진 소개
// ============================================================ */

.doctors .intro {
  background-image: url("../images/docIntro.png");
  padding-top: 4.1667vw;
  height: 800px;
  background-size: cover;
}

.doctors .career-content p { 
    font-size: 16px; 
    font-weight: 400; 
    line-height: 1.5; 
    letter-spacing: -0.01em; 
    color: var(--gray-700); 
    margin-bottom: 4px; 
}
.doctors .career-content ul,
.doctors .career-content ol { 
    padding-left: 20px; 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
}
.doctors .career-content li { 
    font-size: 16px; 
    color: var(--gray-700); 
    line-height: 1.5; 
}



.doctors #doc {

}
.doctors #doc .doc01 {
        margin-right: -120px;
}
.doctorsn #doc .doc02 {
      margin-left: -120px;
      z-index: 4;
}
.doctors #doc .doc03 {
  margin-left: -90px;
  z-index: 3;
}
.doctors #doc .doc04 {
  margin-left: -180px;
  z-index: 1;
}

.doctors .docModal .modal-dialog {
  max-width: 87.5vw!important;
  width: 100%;
  height: 90vh;
}
.doctors .docModal .modal-dialog button {
  position: absolute;
  right: 40px;
  top: 40px;
  background-color: var(--main-color);
  border-radius: 999px;
  width: 60px;
  height: 60px;
  color: #fff;
}

.modal-dialog-scrollable .modal-content {
      max-height: 100%;
    overflow: hidden;
    height: 70vh;
}

@media screen and (max-width: 992px) {
  
.doctors #doc .doc01 {
      margin-left: 0;
      z-index: 2;
}
.doctors #doc .doc02 {
      margin-left: 0;
      z-index: 4;
}
.doctors #doc .doc03 {
  margin-left: 0;
  z-index: 3;
}
.doctors #doc .doc04 {
  margin-left: 0;
  z-index: 1;
}

.doctors .docModal .modal-dialog {

  height: 80vh;
}

}



.doctors .career {
    height: 430px;
    overflow-y: scroll;
}
.doctors .career {
    scrollbar-width: thin;                    /* Firefox */
    scrollbar-color: var(--sub-color) var(--gray-100); /* Firefox */
}

.doctors .career::-webkit-scrollbar {
    width: 4px;                               /* 이게 없으면 아래 두 개 무시됨 */
}
.doctors .career::-webkit-scrollbar-track {
    background-color: var(--gray-100);
}
.doctors .career::-webkit-scrollbar-thumb {
    background-color: var(--sub-color);
    border-radius: 100px;
}
.doctors .career::-webkit-scrollbar-button {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
}


.doctors .doc-thumb-list li {
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.25s ease;
    border-radius: 999px;
}

.doctors .doc-thumb-list li.active {
    border-color: var(--sub-color);
}


/* Service Section */
.doctors #sect03 {
  position: relative;
  background: #000;
}

.doctors #sect03 .slide-wrap {
  position: relative;
}
.doctors #sect03 .slide-wrap .sticky {
  height: 100vh;
  overflow: hidden;
}

/* 데스크톱 */
/* .doctors #sect03 .pc {
  display: none;
  position: relative;
  height: 100%;
} */
@media (min-width: 769px) {
  .doctors #sect03 .pc {
    display: block;
  }
  .doctors #sect03 .slide-wrap.d-md-block {
    display: block !important;
  }
}

/* Left Text */
.doctors #sect03 .left-text {
  position: absolute;
  left: 10vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}
.doctors #sect03 .left-text .service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.doctors #sect03 .left-text .service-list li {
  color: #8f8f8f;
  transition: color 0.3s, font-size 0.3s;
}
.doctors #sect03 .left-text .service-list li.active {
  color: var(--dark);
  font-weight: 600;
  font-size: var(--sp-36) !important;
}

.doctors #sect03 .service-list li h4,
.doctors #sect03 .service-list li p {
    display: none;
}

.doctors #sect03 .service-list li.active h4,
.doctors #sect03 .service-list li.active p {
    display: block;
}

/* Center Image */
.doctors #sect03 .img-box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 23.4375vw;
  height: 31.25vw;
  z-index: 5;
}
.doctors #sect03 .pc .img-box .img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s;

}
.doctors #sect03 .pc .img-box .img.show {
  opacity: 1;
}

/* Right Text */
.doctors #sect03 .right-text {
  position: absolute;
  right: 10vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}
.doctors #sect03 .right-text .label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7292vw;
  letter-spacing: 0.1042vw;
  margin-bottom: 0.7813vw;
  display: block;
}
.doctors #sect03 .right-text .sub-title,
.doctors #sect03 .right-text .main-title {
  transition: opacity 0.3s;
}
.doctors #sect03 .right-text .main-title {
  font-weight: bold;
}

.doctors #sect03 .pc-pagination {
    position: absolute;
      bottom: 14.5833vw;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.doctors #sect03 .pc-bullet {
    width: 8px;
    height: 8px;
    border-radius: 100px;
    background: rgba(255,255,255,0.3);
    transition: all 0.3s;
    cursor: pointer;
}
.doctors #sect03 .pc-bullet.active {
    background: var(--sub-color);
    width: 24px;
}

.doc-main-img img {
  min-width: 531px;
}
@media screen and (min-width: 993px) and (max-width:1200px) {
  .doctors #sect03 .right-text {
    right: 5vw;
  }
  .doctors #sect03 .left-text  {
    left: 5vw;
  }
}

@media screen and (max-width: 992px) {
    /* Left Text */

   .doc-main-img img {
  min-width: 0;
}

.doctors #sect03 .left-text {

         left: 50%;
        top: 10%;
        transform: translateX(-50%);
        z-index: 10;
    }
.doctors #sect03 .left-text .service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.doctors #sect03 .left-text .service-list li {
  color: #8f8f8f;
  transition: color 0.3s, font-size 0.3s;
}
.doctors #sect03 .left-text .service-list li.active {
  color: var(--dark);
  font-weight: 600;
  font-size: var(--sp-36) !important;
}

.doctors #sect03 .service-list li h4,
.doctors #sect03 .service-list li p {
    display: none;
}

.doctors #sect03 .service-list li.active h4,
.doctors #sect03 .service-list li.active p {
    display: block;
}

/* Center Image */
.doctors #sect03 .img-box {
        position: absolute;
        left: 50%;
        top: 53%;
        transform: translate(-50%, -50%);
        width: 50vw;
        height: auto;
        z-index: 5;
        aspect-ratio: 1 / 1.5;
}
.doctors #sect03 .pc .img-box .img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s;

}
.doctors #sect03 .pc .img-box .img.show {
  opacity: 1;
}

/* Right Text */
.doctors #sect03 .right-text {
        position: absolute;
        right: 50%;
        top: 75%;
        transform: translateX(50%);
        z-index: 10;
}
.doctors #sect03 .right-text .label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7292vw;
  letter-spacing: 0.1042vw;
  margin-bottom: 0.7813vw;
  display: block;
}
.doctors #sect03 .right-text .sub-title,
.doctors #sect03 .right-text .main-title {
  transition: opacity 0.3s;
}
.doctors #sect03 .right-text .main-title {
  font-weight: bold;
}

.doctors #sect03 .pc-pagination {
    position: absolute;
      bottom: 14.5833vw;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.doctors #sect03 .pc-bullet {
    width: 8px;
    height: 8px;
    border-radius: 100px;
    background: rgba(255,255,255,0.3);
    transition: all 0.3s;
    cursor: pointer;
}
.doctors #sect03 .pc-bullet.active {
    background: var(--sub-color);
    width: 24px;
}

}

/* 모바일 Swiper — swiper-service2 로 통일 */
.doctors #sect03 .swiper-service2 {
  height: 100%;
  padding: 40px 10px;
}
.doctors #sect03 .swiper-service2 .swiper-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.doctors #sect03 .swiper-service2 .img-box {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}
.doctors #sect03 .swiper-service2 .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doctors #sect03 .swiper-pagination {
  bottom: 20px;
}
.doctors #sect03 .swiper-pagination .swiper-pagination-bullet-active {
  background: var(--sub-color);
}

/* ============================================================
// 장비 소개
// ============================================================ */

.device .intro {
    background-image: url('../images/deviceIntro.png');
      padding-top: 4.1667vw;
  height: 800px;
  background-size: cover;
}

.device .box {
    max-width: 340px;
}
.device .modal-dialog {
    max-width: 1280px!important;
}
.device .modal-dialog .modal-content {
    min-height: 650px;
    border-radius: 30px;
}
.device .modal-dialog .modal-header {
    border-bottom: none;
}

.device .modal-dialog .modal-header button {
position: absolute;
    right: 40px;
    top: 40px;
    background-color: var(--main-color);
    border-radius: 999px;
    width: 60px;
    height: 60px;
    color: #fff;
}

/* ============================================================
// 진료안내
// ============================================================ */

.info .intro {
        background-image: url('../images/infoIntro.png');
      padding-top: 4.1667vw;
  height: 800px;
  background-size: cover;
}

.info .metro {
    color: #FCA92F;
}
.info .metro span {
    background-color: #FCA92F;
}
.info .bus span {
    color: #3A99E9!important;
}

.info .time .u-bg-light {
    min-height: 200px;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
}
.info .time .col-12 {
    flex: 1;
}
.info .link .col-md-4 {
    aspect-ratio: 465/412;
}
.info .transport .col-md-4 {
    flex: 1;
}

.info .transport .col-md-4 .u-bg-white {
    width: 5.72916vw;
}
.info .wrap_controllers {
    display: none;
}
.info .cont {
      display: none;
}

.info .root_daum_roughmap_landing {
    width: 100%;
}


/* ============================================================
// 임상증례
// ============================================================ */

.case_list .intro {
        background-image: url('../images/case_listIntro.png');
      padding-top: 4.1667vw;
  height: 800px;
  background-size: cover;
}

.case_list #sect01 .tabs {
  max-width: 980px;
}
.case_list #sect01 .tabs ul li {
    min-height: 0;
}
.case_list #sect01 .tabs ul li button {
  background-color: transparent;
}
.case_list #sect01 .tabs ul li button.active {
  background-color: var(--main-color);
  color: var(--white) !important;
}
.case_list #sect01 .review-tab-contents {
  display: none;
}
.case_list #sect01 .review-tab-contents.active {
  display: grid;
}
.case_list #sect01 .box {
  max-width: 350px;
}
.case_list #sect01 .tabs li::after,
 .case_list    #sect01 .tabs li::before {
        display: none !important;
        content: none !important;
    }

    /* ============================================================
// 원장님 칼럼
// ============================================================ */
.column_list .intro {
        background-image: url('../images/column_listIntro.png');
      padding-top: 4.1667vw;
  height: 800px;
  background-size: cover;
}

    /* ============================================================
// 둘러보기
// ============================================================ */
.interior  .intro {
          background-image: url('../images/interiorIntro.png');
      padding-top: 4.1667vw;
  height: 800px;
  background-size: cover;
}

.interior #interior .img-slider {
  overflow: hidden;
}
.interior #interior .img-slider-track {
  animation: scroll 20s linear infinite;

}
.interior #interior .img-slider-track img {
  height: 90px;
  flex-shrink: 0;
}
.interior #interior .interior-tabs {
  max-width: 640px;
}
.interior #interior .interior-tab-btn {
  color: #969696;
  white-space: nowrap;
}
.interior #interior .interior-tab-btn.active {
  color: #fff !important;
  background-color: var(--sub-color) !important;
}
.interior #interior .interior-tab-content {
  display: none;
}
.interior #interior .interior-tab-content.active {
  display: block;
}
.interior #interior .placeTitle {
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.45);
  max-height: 5.2083vw;
  border-radius: 0 0 40px 0;
  min-width: 25vw;
}
.interior #interior .swiper-button-next {
  position: relative !important;
  right: unset !important;
  left: unset !important;
  top: unset !important;
  margin-top: unset !important;
  width: 50% !important;
  border-radius: 0 0 40px 0;
}
.interior #interior .swiper-button-prev {
  position: relative !important;
  right: unset !important;
  left: unset !important;
  top: unset !important;
  margin-top: unset !important;
  width: 50% !important;
}

.interior #interior .swiper-thumbnails {
  display: flex;
  gap: 12px;
  margin-top: var(--sp-100);
  flex-wrap: wrap;
}

.interior #interior .swiper-thumbnails .thumb {
  width: calc((100% - 12px * 4) / 5); /* 슬라이드 수에 따라 조정 */
  aspect-ratio: 275/160;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.interior #interior .swiper-thumbnails .thumb.active {
  opacity: 1;
  outline: 2px solid var(--sub-color); /* u-bg-sub 색상으로 */
}

.interior #interior .swiper-thumbnails .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 992px) {
 .interior #interior .swiper-button-next:after {
    font-size: 24px;
  }
   .interior #interior .swiper-button-prev:after {
    font-size: 24px;
  }
}


@media screen and (max-width: 992px) {


 .interior #interior .placeTitle {
    max-height: 17.948vw !important;
    border-radius: 0 0 20px 20px;
  }
 .interior #interior .swiper-button-next {
    border-radius: 0 0 20px 0 !important;
  }

  .interior #interior .swiper-thumbnails .thumb {
    width: calc((100% - 12px * 2) / 3);
  }
  
}
