
.u-shimmer > a {
  display: block;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 992px) {
  .vh-100 {
    height: auto!important;
  }
}

/* ############################################################
   메인 슬라이드 섹션
############################################################
*/

.main #sect01 {
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 72px);
}

.main #sect01 .swiper-slide {
  background-size: cover !important;
  background-position: center;
}

.main #sect01 .spinner {
  bottom: 2.6042vw;
  left: 50%;
  transform: translateX(-50%);
  background-image: url("/images/spinLogo.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.main #sect01 .swiper-custom-nav {
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 60%;
  max-width: 400px;
  background: rgba(0, 0, 0, 0.22);
  padding: 10px 40px;
  border-radius: 999px;
}
.main #sect01 .swiper-custom-current,
.main #sect01 .swiper-custom-total {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  line-height: 1;
}
.main #sect01 .swiper-progress-bar {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  overflow: hidden;
}
.main #sect01 .swiper-progress-fill {
  height: 100%;
  background: #fff;
  border-radius: 2px;
  transition: width 0.4s ease;
  width: 0%;
}
.main #sect01 .swiper-custom-prev,
.main #sect01 .swiper-custom-next {
  flex-shrink: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: opacity 0.2s;
}
.main #sect01 .swiper-custom-prev:hover,
.main #sect01 .swiper-custom-next:hover {
  opacity: 0.6;
}

.swiper-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-bottom: 100px;
}

.pagi-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: color 0.3s;
}

.pagi-item.is-active {
    color: #fff;
    font-size: 1.4rem;
}

.pagi-circle {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    pointer-events: none;
}

@media screen and (max-width: 992px) {
  .main {
    padding-top: var(--header-height);
  }
    .main #sect01 {
    aspect-ratio: 9 / 16;
  }
  #swiper-main .swiper-pagination {
    position: absolute;
    bottom: 0vh;
    left: 50vw;
    transform: translateX(-50%);
    width: auto;
    text-align: left;
    margin-bottom: 40px;
  }
  .pagi-circle {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    pointer-events: none;
}
  .main #sect01 .swiper-custom-nav {
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 80%;
    max-width: 400px;
    background: rgba(0, 0, 0, 0.22);
    padding: 10px 40px;
    border-radius: 999px;
  }
  .pagi-item {
    font-size: 1rem;
  }
  .pagi-item.is-active {
    color: #fff;
    font-size: 1.2rem;
}
  .main #sect01 .swiper-custom-current,
  .main #sect01 .swiper-custom-total {
    font-size: 14px;
  }
}


.imgFlow {
  overflow: hidden;
}
.imgFlow .img-slider {
  overflow: hidden;
}
.imgFlow .img-slider-track {
  animation: scroll 20s linear infinite;
}
.imgFlow .img-slider-track img {
  height: 120px;
  flex-shrink: 0;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.main #subject {
  background-color: var(--sub-color2);
}

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

  .imgFlow {
    display: none;
  }

  .imgFlow .img-slider-track {
    animation: scroll 5s linear infinite;
  }
  .imgFlow .img-slider-track img {
  height: 90px;
  flex-shrink: 0;
}
}

.main #docList {
  background-size: cover;
  background-position: center;
}
.main #docList .doc-btn:hover {
  opacity: 1 !important;
}
.main #docList .doc-btn img {
  border: 2px solid;
  border-color: transparent;
}
.main #docList .doc-btn.active {
  opacity: 1 !important;
}
.main #docList .doc-btn.active img {
  border-color: var(--sub-color) !important;
}
.main #docList .doc-btn.active p {
  color: var(--sub-color) !important;
}
.main #docList .tab-content {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.main #docList .tab-content.active {
  display: flex;
  opacity: 1;
}

.main #docList .col-lg-4 {
  cursor: pointer;
}
.main #docList .doc-detail {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  overflow-y: scroll;
  border-radius: 40px 40px 999px 999px;
}
.main #docList .col-lg-4.is-open .doc-detail {
  opacity: 1;
  pointer-events: auto;
}
.main #docList .doc-detail .detail-close:hover {
  background: rgba(37, 69, 107, 0.25) !important;
}
.main #docList [data-doc-card] {
  position: relative;
}
.main #docList .doc-detail {
  position: absolute;
  inset: 0;
  min-height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  overflow-y: auto;
}
.main #docList [data-doc-card].is-open .doc-detail {
  opacity: 1;
  pointer-events: auto;
}

[data-doc-card].is-open {
  z-index: 100;
}

@media screen and (max-width: 992px) {
  .doc-card-1 {
    order: 2;
  }
  .doc-card-2 {
    order: 1;
  }
  .doc-card-3 {
    order: 3;
  }
}


/* ############################################################
     진료과목
############################################################
*/

/* 카드 */
/* 카드 - div에서 배경 제거 */
.main #subject .reveal-img-bg {
  min-height: clamp(380px, 42vw, 580px);
  cursor: pointer;
}

/* 각 a 패널에 개별 배경 */
.main #subject .dual-card .panel {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 2.8vw, 42px) clamp(18px, 2.2vw, 34px);
  will-change: transform;
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
  background-size: cover;
  background-position: center;
}
.main #subject .dual-card .panel-1 {
  transform: translateX(0%);
  z-index: 2;
}
.main #subject .dual-card .panel-2 {
  transform: translateX(100%);
  z-index: 3;
}
.main #subject .dual-card.show-second .panel-1 {
  transform: translateX(-100%);
}
.main #subject .dual-card.show-second .panel-2 {
  transform: translateX(0%);
}

.main #subject .dual-card .panel .panel-bottom {
  position: absolute !important;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

/* img-01 카드의 각 패널 배경 */
.main #subject .img-01 .panel-1 {
  background-image: url("/images/subject01BG.png");
}
.main #subject .img-01 .panel-2 {
  background-image: url("/images/subject01hover.png");
}

/* img-02 카드의 각 패널 배경 */
.main #subject .img-02 .panel-1 {
  background-image: url("/images/subject02BG.png");
}
.main #subject .img-02 .panel-2 {
  background-image: url("/images/subject02hover.png");
}

/* img-03 카드의 각 패널 배경 */
.main #subject .img-03 .panel-1 {
  background-image: url("/images/subject03BG.png");
}
.main #subject .img-03 .panel-2 {
  background-image: url("/images/subject03hover.png");
}

/* 오버레이 */
.main #subject .dual-card .panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 35, 70, 0.3) 0%,
    rgba(8, 22, 55, 0.62) 100%
  );
  z-index: 0;
  transition: background 0.4s;
}
.main #subject .dual-card .panel:hover::before {
  background: linear-gradient(
    to bottom,
    rgba(15, 35, 70, 0.48) 0%,
    rgba(8, 22, 55, 0.78) 100%
  );
}

/* 텍스트가 오버레이 위에 올라오도록 */
.main #subject .dual-card .panel > * {
  position: relative;
  z-index: 1;
}

/* 정방향: 1 → 2 → 3 */
.main #subject .dual-card:nth-child(1) .panel {
  transition-delay: 0ms;
}
.main #subject .dual-card:nth-child(2) .panel {
  transition-delay: 150ms;
}
.main #subject .dual-card:nth-child(3) .panel {
  transition-delay: 300ms;
}

/* 역방향: 3 → 2 → 1 */
.main #subject .dual-card.show-second:nth-child(1) .panel {
  transition-delay: 300ms;
}
.main #subject .dual-card.show-second:nth-child(2) .panel {
  transition-delay: 150ms;
}
.main #subject .dual-card.show-second:nth-child(3) .panel {
  transition-delay: 0ms;
}
.main #subject .dual-card.auto-reveal .panel-1 {
  transform: translateX(-100%);
}
.main #subject .dual-card.auto-reveal .panel-2 {
  transform: translateX(0%);
}
.main #subject .dual-card.auto-reveal:nth-child(1) .panel {
  transition-delay: 300ms;
}
.main #subject .dual-card.auto-reveal:nth-child(2) .panel {
  transition-delay: 150ms;
}
.main #subject .dual-card.auto-reveal:nth-child(3) .panel {
  transition-delay: 0ms;
}

@media (max-width: 992px) {

  .main #subject {
    background-color: var(--white);
  }
  .main #subject .dual-card {
    height: auto !important;
    min-height: 220px !important;
    display: block !important;
    margin-bottom: 16px;
    border-radius: 20px;
    overflow: hidden !important;
  }

  .main #subject .dual-card .panel {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    min-height: 220px;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    padding: 28px 24px !important;
    transform: none !important;
    opacity: 1 !important;
    clip-path: none !important;
    margin-bottom: 16px;
    border-radius: 20px;
    overflow: hidden;
  }

  .main #subject .dual-card .panel:last-child {
    margin-bottom: 0;
  }

  .main #subject .dual-card .u-vertical {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    margin: 0 0 10px 0 !important;
  }
  .main #subject .dual-card .panel .panel-bottom {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .main #subject .hover-reveal-bg .panel-1,
  .main #subject .hover-reveal-bg .panel-2 {
    transform: none !important;
    opacity: 1 !important;
  }

  .main #subject .u-fluid-xl.d-flex.vh-100 {
    height: auto !important;
    min-height: auto !important;
  }
}


/* ############################################################
     진료과목 배경호버
############################################################
*/

.main #subjectHover {

}
#bg-wrap > div:not(#bg-a):not(#bg-b) {
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 992px) {
  .main #subjectHover .hover01 {
    background-image: url('/images/hover01.png');
    background-position: center;
    background-size: cover;
  }
   .main #subjectHover .hover02 {
    background-image: url('/images/hover02.png');
    background-position: center;
    background-size: cover;
  }
   .main #subjectHover .hover03 {
    background-image: url('/images/hover03.png');
    background-position: center;
    background-size: cover;
  }
   .main #subjectHover .hover04 {
    background-image: url('/images/hover04.png');
    background-position: center;
    background-size: cover;
  }

}

/* ############################################################
   의사
############################################################
*/

.career-wrap {
    overflow: hidden;
    transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.career-wrap.open {
    max-height: 2000px; /* 충분히 큰 값 */
}
 
/* ── 버튼 회전 ── */
.career-toggle img {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.career-toggle.open img {
    transform: rotate(45deg);
}

/* ############################################################
   책 표지
############################################################
*/

.book_wrap {
  display: inline-block;
}

.book-reflection {
    transform: scaleY(-1);
    height: 100%;
    max-height: var(--sp-120);
    width: 100%;
    object-fit: cover;
    object-position: bottom;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, transparent 80%);
}


/* ############################################################
   진료시스템
############################################################
*/

.reason-slider-outer {
  height: 700px;
}

.reason-slider-outer .reasonSwiper {
  height: 100%;
}

.reason-slider-outer .reasonSwiper .swiper-slide {
  border-radius: 40px;
}
.reason-prev {
  position: absolute;
  left: var(--sp-40);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background-color: transparent;
  border: none;
  font-size: var(--sp-120);
  color: var(--white);
  font-weight: 100;
}
.reason-next {
  position: absolute;
  right: var(--sp-40);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background-color: transparent;
  border: none;
  font-size: var(--sp-120);
  color: var(--white);
  font-weight: 100;
}

.main #firstSystem {
  background-size: cover;
  background-position: center;
}
.main #firstSystem aside {
  top: 7.8125vw;
  height: fit-content;
  padding-bottom: 5.2vw;
}
.main #firstSystem .box .position-absolute {
  right: 1.5625vw;
  bottom: 1.5625vw;
}
.main #firstSystem .scroll-container {
  overflow-y: auto;
}

.main #firstSystem .scroll-container::-webkit-scrollbar {
  display: none;
}

.main #firstSystem .reason-tab {
  border: 1px solid #fff;
  border-bottom: none;
  border-left: none;
  color: #fff;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.5s;
}

.main #firstSystem .reason-tab:hover {
  background: linear-gradient(90deg, #2f60c7 0%, #002063 100%);
}
.main #firstSystem .reason-tab.active {
  background: linear-gradient(90deg, #2f60c7 0%, #002063 100%);
}

@media screen and (max-width: 992px) {
  .reason-tabs {
    overflow-x: scroll;
    flex-wrap: wrap;
  }
  .reason-tabs::-webkit-scrollbar {
    display: none;
  }
  .reason-tab {
    white-space: nowrap;
    border-radius: 0 !important;
  }
      .reason-slider-outer {
        height: 600px;
    }
}


/* ############################################################
     장비소개
############################################################
*/

.main #deviceRow .device-tabs {
  gap: 3px;
  overflow: hidden;
}
.main #deviceRow .device-tab {
  background-color: var(--sub-color);
  border-radius: 20px 20px 0 0;
  color: #fff;
  font-style: normal;
  font-weight: 700;
  line-height: 160%; /* 32px */
  letter-spacing: -1px;
  font-size: var(--sp-16);
  text-align: center;
  white-space: nowrap;
  flex: 1;
}
.main #deviceRow .device-tab.active {
  background-color: #fff;
  color: var(--dark);
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);
}
.main #deviceRow .device-panel {
  display: none;
}
.main #deviceRow .device-panel.active {
  display: flex;
}
.main #deviceRow .box {
  max-width: 350px;
}

.main #deviceRow .box h6 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


@media (max-width: 992px) {
  .main #deviceRow .device-tab {
    border-radius: 4px 4px 0 0;
    min-width: 30%;
  }
  .main #deviceRow .device-tabs {
    overflow: auto;
    overflow-x: scroll !important;
  }
  .main #deviceRow .device-tabs::-webkit-scrollbar {
    display: none;
  }
  .main #deviceRow .box {
    max-width: 100vw;
  }

}

/* ############################################################
장비소개 세로
############################################################
*/

#equipmentVerical .equipment-tab-panel {
  display: none;
}

#equipmentVerical .equipment-tab-panel.active {
  display: block;
  animation: fadeInTab 0.4s ease;
}
#equipmentVerical .equipment-tab-panel img {
  width: 100%;
  height: 100%;
  max-height: 525px;
}
#equipmentVerical .tabWrap {
  max-height: 550px;
}
#equipmentVerical .equipment-tab-menu {
  overflow-y: scroll;
  height: 100%;
  max-height: 550px;
}
#equipmentVerical .equipment-tab-menu::-webkit-scrollbar {
  display: none;
}
#equipmentVerical .equipment-tab-menu li {
  height: 20%;
}

@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 992px) {
      #equipmentVerical .tabWrap {
        max-height: 5000px;
    }
}


/* ############################################################
비포 애프터
############################################################
*/

#baBoard .ba-filter {
  padding: 13px 32px;
  border: none;
  background: transparent;
  color: var(--gray-600);
  transition: all 0.2s;
}
#baBoard .ba-filter:hover,
#baBoard .ba-filter.active {
  background: var(--main-color) !important;
  border-color: var(--point);
  color: #fff !important;
  font-weight: 700;
}

#baBoard .ba-img-wrap {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 630/360;
  background: var(--gray-200);
}
#baBoard .ba-img-wrap img {
  width: 100%;
  height: 100%;
}
#baBoard .ba-label {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 6px 18px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  border-radius: 6px;
}
#baBoard .ba-label.before {
  background: rgba(0, 0, 0, 0.55);
}
#baBoard .ba-label.after {
  background: var(--sub-color);
}

#baBoard .ba-pagination {
  margin-top: 32px !important;
  text-align: center;
}
#baBoard .ba-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--gray-300);
  opacity: 1;
  margin: 0 5px;
}
#baBoard .ba-pagination .swiper-pagination-bullet-active {
  background: var(--sub-color);
}

#baBoard .ba-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 52px;
  color: var(--gray-400);
  cursor: pointer;
  z-index: 10;
  padding: 0;
  transition: color 0.2s;
}
#baBoard .ba-arrow:hover {
  color: var(--sub-color);
}
#baBoard .ba-prev {
  left: 0;
}
#baBoard .ba-next {
  right: 0;
}

@media (max-width: 992px) {
  #baBoard .ba-slide-inner {
    grid-template-columns: 1fr !important;
  }
  #baBoard .ba-filte {
    min-width: 49% !important;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1.5625vw);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ############################################################
   블로그
############################################################
*/

.masonry-grid {
  columns: 4;
}
.masonry-item {
    break-inside: avoid;
}
.masonry-item img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.masonry-item a:hover img {
    transform: scale(1.02);
    opacity: 0.85;
}
.masonry-item.is-hidden {
    display: none;
}
#masonryBtn {
    transition: background 0.2s;
    letter-spacing: 0.05em;
}
#masonryBtn:hover {
    background: rgba(255,255,255,0.1);
}

@media (max-width: 992px) { .masonry-grid { columns: 2; } }
@media (max-width: 576px) { .masonry-grid { columns: 1; } }


/* ############################################################
   약속
############################################################
*/

#promise .boxWrap .box:nth-child(odd) {
   transform: translateY(calc(0px + var(--sp-52)));
}
#promise .boxWrap .box:nth-child(even) {
    transform: translateY(calc(0px - var(--sp-52)));
}

#promise .box {
  background-color: var(--light);;
  width: 35%;
  max-width: calc(35% - var(--sp-40));
  max-height: 610px;
  aspect-ratio: 601 / 611;
  transition: all 0.5s;
}
#promise .box span {
  color: var(--sub-color);
}
#promise .box h3 {
  color: var(--dark);
}
#promise .box p {
  color: var(--gray-700);
}

#promise .box:hover {
  background-color: var(--main-color);
}
#promise .box:hover span {
  color: var(--point);
}
#promise .box:hover h3 {
   color: var(--white);
}
#promise .box:hover  p {
  color: var(--gray-100);
}
#promise .box:hover img {
  filter: brightness(100);
}


#promise .box:last-child:hover {
 background-color: var(--light);;
}

#promise .box:last-child:hover img {
  filter: none!important
}

@media screen and (max-width: 992px) {
  #promise .boxWrap .box:nth-child(odd) {
   transform: translateY(0);
}
#promise .boxWrap .box:nth-child(even) {
    transform: translateY(0);
}

#promise .box {
  width: 100%;
   max-width: 100%;
}
.w-25-sm {
  width: 25%!important;
}
}

/* ############################################################
  리뷰
############################################################
*/


@keyframes rv-ltr { from { transform: translateX(100%); } to { transform: translateX(0%); } }
@keyframes rv-rtl { from { transform: translateX(-100%); } to { transform: translateX(0); } }

.rv-track--ltr { animation: rv-ltr 20s linear infinite; }
.rv-track--rtl { animation: rv-rtl 20s linear infinite; }


/* ############################################################
  임상 증례
############################################################
*/

main .content article {
  width: 100%;
  max-width: calc(50% - 30px);
}

@media screen and (max-width: 992px) {
  #imsang .box {
      max-width: calc(50% - 14px);
  }
main .content article {
  width: 100%;
  max-width: calc(50% - 15px);
}

}



/* ############################################################
 지도
############################################################
*/

#daumRoughmapContainer1778212318243 {
  width: 100%!important;
  height: 100%!important;
}
.cont {
  display: none;
}
.wrap_controllers {
  display: none;
}