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

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

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


.doctors .career {
    max-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: 0;
  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: 0;
  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;
}

@media screen and (max-width: 992px) {
    /* Left Text */
.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: 50%;
        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 {
        filter: invert(1);
    position: absolute;
    right: 50px;
    top: 50px;
    width: 5vw;
    height: 5vw;
    max-width: 70px;
    max-height: 70px;
    background-color: #9abce1;
    border-radius: 100%;
    z-index: 3;
}

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

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

