


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

.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: 10px;
    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;
    pointer-events: none;
    border-radius: 50%;
    width: 16px;
    height: 16px;
}

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

.pagi-circle {
    position: absolute;
    width: 8px;
    height: 8px;
    background:#fff;
    border-radius: 50%;
    pointer-events: none;
    opacity:0.5;
}

.is-active .pagi-circle {
  opacity: 1;
}

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

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

.career-wrap {
    overflow: hidden;
    /* line-height가 u-lh-15 = 1.5 이고 c-fs-32 = 32px 기준 → 6줄 = 32 * 1.5 * 6 */
    max-height: calc(22px * 1.5 * 6);
    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);
}
/* ############################################################
   블로그
############################################################
*/

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

@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%;
   aspect-ratio: 2 / 1;
}
.w-25-sm {
  width: 25%!important;
}
}


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

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

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

}



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

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