/* 메인 슬라이드 배너 */
.main_banner {
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.main_banner .swiper {
  width: 100%;
  height: 900px;
}

.main_banner .swiper .swiper-wrapper {
  width: 100%;
  height: 100%;
}

.main_banner .swiper .swiper-wrapper .swiper-slide {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .banner-pc,
.main_banner .swiper .swiper-wrapper .swiper-slide .banner-mobile {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .banner-pc {
  display: block;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .banner-mobile {
  display: none;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .banner-content-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .slide_dec {
  position: absolute;
  width: 70%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 10%;
  color: #fff;
  font-size: 48px;
  font-weight: 400;
  z-index: 2;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .slide-title {
  font-size: 48px;
  font-weight: 400;
  line-height: 64px;
  margin: 0 0 16px 0;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.main_banner .swiper .swiper-wrapper .swiper-slide .slide-description {
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  margin: 0 0 24px 0;
  opacity: 0.9;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.main_banner .swiper .swiper-wrapper .swiper-slide .slide-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .slide-link-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.main_banner .swiper .autoplay-progress {
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
  border-radius: 2px;
  z-index: 1;
}

.main_banner .swiper .autoplay-progress .autoplay-progress-bar {
  width: 0%;
  height: 100%;
  background: var(--point-color);
  transition: width 0s;
}

.main_banner .swiper .main-swiper-pagination {
  position: absolute;
  z-index: 1;
  bottom: 20px;
  display: flex;
  justify-content: center;
}

.main_banner .swiper .main-swiper-pagination .swiper-pagination-bullet {
  transition: all 0.3s ease-in-out;
}

.main_banner .swiper .main-swiper-pagination .swiper-pagination-bullet-active {
  background-color: #fff;
  width: 25px;
  border-radius: 10px;
}

/* 비디오 배너 스타일 */
.video-banner {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-video-pc {
  display: block;
  width: 100%;
  height: 100%;
}

.banner-video-mobile {
  display: none;
}

.banner-video-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 사이드 메뉴 */
.aside {
  position: fixed;
  top: 50%;
  right: 20px;
  width: 80px;
  transform: translateY(-50%);
  z-index: 100;
}

.side-menu {
  padding: 45px 10px;
  background: #fff;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.side-menu li {
  text-align: center;
}

.side-menu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #595857;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  gap: 6px;
  border-radius: 10px;
  padding: 5px;
}

.side-menu a:hover {
  background: #F5F5F5;
}

.side-menu img {
  width: 38px;
  height: 38px;
}

.btn-top {
  margin-top: 7px;
  margin-left: 20px;
}

.btn-top img {
  width: 43px;
  height: 43px;
}

/* 특화진료 */
.specialty-section {
  display: flex;
  align-items: stretch;
  max-width: 1920px;
  margin: 120px auto 0;
  padding-left: 12.5%;
  position: relative;
  gap: 60px;
  min-height: 420px;
  background: #fff;
  padding-bottom: 56px;
  overflow: hidden;
}

.specialty-title {
  width: 370px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.specialty-title h2 {
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #222;
  font-weight: 700;
  min-width: 220px;
}
.specialty-title p {
  color: #888;
  font-size: 17px;
  line-height: 1.5;
}
.specialty-swiper .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* max-width: 400px; */
  padding-bottom: 16px;
}
.specialty-swiper .swiper-slide img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: right;
  margin-bottom: 20px;
  cursor: pointer;
}
.specialty-label {
  font-size: 18px;
  color: #888;
  text-align: center;
  margin-bottom: 0;
  cursor: pointer;
}

.specialty-section .specialty-swiper-pagination {
  top: auto !important;
  left: 12.5% !important;
  margin: 0 auto !important;
  bottom: 0;
  max-width: 1440px !important;
  height: 4px !important;
  border-radius: 4px;
}
.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: #727272 !important;
  border-radius: 2px;
}

/* 갤러리 */
.gallery-section {
  max-width: 1520px;
  margin: 120px auto 0;
  padding: 0 40px;
  position: relative;
}

.gallery-top {
  margin-bottom: 60px;
  position: relative;
}

.gallery-top::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #e0e0e0, transparent);
  z-index: 1;
}

.gallery-top ul {
  display: flex;
  gap: 40px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
  background: #fff;
}

.gallery-top li {
  position: relative;
}

.gallery-top li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, transparent, #e0e0e0, transparent);
}

.gallery-top a {
  display: block;
  padding: 12px 32px;
  color: #888;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  border-radius: 40px;
  transition: all 0.3s ease;
  position: relative;
  background: #fff;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.gallery-top a:hover {
  color: #222;
  background: #f8f8f8;
  border-color: #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.gallery-top a.active {
  color: #fff;
  background: var(--point-color);
  border-color: var(--point-color);
  transform: translateY(-2px);
}

.gallery-top a.active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--point-color);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.gallery-bottom {
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 24px;
  width: 100%;
  padding: 0 20px;
}

.gallery-item {
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.gallery-item .category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.gallery-item:hover .category-badge {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1.4;
  object-fit: cover;
}

.gallery-label {
  padding: 10px 0;
  font-size: 16px;
  color: #333;
  width: 100%;
  text-align: center;
}

/* 갤러리 아이템 호버 효과 */
.gallery-item {
  cursor: pointer;
}

.gallery-item {
  position: relative;
}

.gallery-item img {
  position: relative;
  z-index: 1;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  z-index: 2;
  transition: all 0.3s ease;
}

.gallery-item:hover::before {
  width: 100%;
  height: 100%;
  border-color: var(--point-color);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 8px;
}

.gallery-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  z-index: 2;
  transition: all 0.3s ease 0.15s;
}

.gallery-item:hover::after {
  width: 100%;
  height: 100%;
  border-color: var(--point-color);
  border-left-color: transparent;
  border-top-color: transparent;
  border-radius: 8px;
}

.gallery-item:hover .gallery-label {
  color: var(--point-color);
}

/* 카테고리 제목 애니메이션 */
#galleryCategoryTitle {
  transition: opacity 0.3s ease;
}

/* 갤러리 아이템 이미지 스타일 */
.gallery-item img {
  border-radius: 8px;
}

/* Before & After */
.beforeafter-section {
  max-width: 1920px;
  margin: 120px auto 0;
  background: #F5F5F5;
  padding: 120px 0 120px 95px;
  position: relative;
  overflow: hidden;
}

.beforeafter-left {
  width: 979px;
  height: 712px;
}
.beforeafter-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.beforeafter-right {
  position: absolute;
  max-width: 1128px;
  width: 100%;
  top: 50%;
  left: 792px;
  transform: translateY(-50%);
  z-index: 2;
}

.beforeafter-info {
  margin-bottom: 32px;
}
.beforeafter-info h3 {
  font-size: 32px;
  color: #222;
  font-weight: 700;
  margin-bottom: 12px;
}
.beforeafter-info p {
  color: #888;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 0;
  display: inline;
}
.beforeafter-more {
  color: #888;
  font-size: 15px;
  margin-left: 12px;
  text-decoration: underline;
}

.beforeafter-swiper {
  margin-top: 32px;
  width: 100%;
  background: transparent;
  position: relative;
  padding-bottom: 50px !important;
}
.beforeafter-swiper .swiper-wrapper {
  align-items: flex-end;
}
.beforeafter-swiper .swiper-slide {
  cursor: pointer;
}
.ba-thumb {
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  aspect-ratio: 360 / 280;
}
.ba-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-thumb.ba-locked .ba-lock span {
  text-decoration: underline;
}
.beforeafter-swiper-pagination {
  max-width: 1080px !important;
  top: auto !important;
  bottom: 0;
}
.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: #727272 !important;
  border-radius: 2px;
}

/* 셀피 섹션 */
.selfie-section {
  width: 100%;
  height: 100%;
  max-width: 1920px;
  margin: 120px auto 0;
  position: relative;
  overflow: hidden;
}
.selfie-bg {
  width: 100%;
  height: 100%;
  filter: brightness(0.7);
}
.selfie-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  width: 90%;
}
.selfie-content h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.selfie-content p {
  font-size: 28px;
  margin-bottom: 24px;
}
.selfie-more {
  display: inline-block;
  padding: 10px 50px;
  border: 1px solid #fff;
  border-radius: 20px;
  color: #fff;
  font-size: 15px;
  background: transparent;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.selfie-more:hover {
  background: #fff;
  color: #222;
}

/* 유튜브 Shorts 영역 */
.shorts-section {
  max-width: 1920px;
  width: 100%;
  margin: 120px auto 0;
  text-align: center;
  position: relative;
  overflow: visible;
  padding-bottom: 200px;
  overflow: hidden;
}
.shorts-bg-text {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  font-size: 140px;
  font-weight: 900;
  background: #FFECEB;
  height: 474px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}
.shorts-title {
  font-size: 48px;
  margin: 0 auto 40px auto;
  color: #222;
  position: relative;
  z-index: 2;
  background: transparent;
}
.shorts-swiper-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.shorts-swiper {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 600px;
  overflow: hidden;
}
.shorts-swiper .swiper-wrapper {
  justify-content: center;
}
.shorts-swiper .swiper-slide {
  margin: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: filter 0.3s, opacity 0.3s, transform 0.3s, width 0.3s, height 0.3s;
  opacity: 0.5;
  filter: grayscale(0.3) blur(1px);
  pointer-events: none;
  transform: scale(0.8);
}
.shorts-swiper .swiper-slide-active {
  opacity: 1;
  filter: none;
  pointer-events: auto;
  z-index: 2;
  transform: scale(1.0);
  margin: 0 80px !important;
}
.shorts-video {
  width: 340px;
  height: 580px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: width 0.3s, height 0.3s;
}

.shorts-video iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.shorts-swiper-button-prev,
.shorts-swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  z-index: 10;
  border-radius: 50%;
  color: #fff;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}
.shorts-swiper-button-prev {
  margin-right: 490px;
}
.shorts-swiper-button-next {
  margin-left: 490px;
}
.shorts-swiper-button-prev::before {
  content: '';
  background: url('/images/icon/icon-arrow-left-1885662adddb1fc1802ce0083f80fe32.svg') no-repeat center / contain;
  width: 100%;
  height: 100%;
}
.shorts-swiper-button-next::before {
  content: '';
  background: url('/images/icon/icon-arrow-left-1885662adddb1fc1802ce0083f80fe32.svg') no-repeat center / contain;
  width: 100%;
  height: 100%;
  transform: rotate(180deg);
}

/* 유튜브 Swiper */
.youtube-section {
  width: 100%;
  max-width: 1520px;
  margin: 120px auto 0;
  padding: 0 40px;
}

.youtube-container {
  display: flex;
  gap: 27px;
}

.youtube-player {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 830px;
  width: 100%;
}

.youtube-player iframe {
  width: 100%;
  height: 545px;
}

.youtube-title {
  font-size: 20px;
  font-weight: 600;
  margin: 20px 0 8px 0;
  max-width: 880px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.youtube-desc {
  font-size: 16px;
  color: #555;
}

.youtube-list {
  max-width: 570px;
  max-height: 545px;
  width: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.youtube-list-item {
  display: flex;
  gap: 12px;
  cursor: pointer;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}

.youtube-list-item:hover,
.youtube-list-item.active {
  background: #f5f5f5;
}

.youtube-list-item img {
  width: 120px;
  height: 68px;
  object-fit: cover;
  border-radius: 8px;
}

.youtube-list-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.youtube-list-title {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
}

.youtube-list-desc {
  font-size: 13px;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 이벤트 */
.event-section {
  max-width: 1920px;
  margin: 120px auto 0;
  overflow: hidden;
  position: relative;
}

.event-left {
  width: 590px;
  height: 890px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #333;
  position: relative;
}
.event-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/surgery/event-thumb-c9377ec7bfda97fdd4156315d87163c0.jpg') no-repeat left center / cover;
  opacity: 0.5;
  z-index: -1;
}

.event-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 24px;
}

.event-desc {
  font-size: 18px;
  margin-bottom: 32px;
  color: #555;
}

.event-more {
  font-size: 15px;
  color: #888;
  text-decoration: underline;
}

.event-right {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 496px;
  transform: translateY(-50%);
}

.event-swiper {
  width: 100%;
}
.event-swiper .swiper-wrapper {
  align-items: center;
}
.event-swiper .swiper-slide {
  aspect-ratio: 345 / 345;
  position: relative;
  cursor: pointer;
  max-width: 345px;
}
.event-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-swiper .swiper-slide-active img {
  filter: brightness(1.05) saturate(1.1);
}
.event-swiper-pagination {
  max-width: 900px;
  text-align: center;
  top: auto !important;
  bottom: 0 !important;
  left: auto !important;
  right: 40% !important;
}
.event-swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--point-color);
  width: 30px;
  border-radius: 6px;
}
.event-info {
  position: absolute;
  inset: 0;
  color: #fff;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
}

.event-swiper .swiper-slide:hover .event-info {
  transform: translateY(0);
  opacity: 1;
}

.event-info .event-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
  opacity: 0;
}

.event-info .event-date {
  font-size: 14px;
  color: #fff;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
  opacity: 0;
}

.event-swiper .swiper-slide:hover .event-info .event-title,
.event-swiper .swiper-slide:hover .event-info .event-date {
  transform: translateY(0);
  opacity: 1;
}


/* 의료진 */
.doctor-section {
  max-width: 1920px;
  width: 100%;
  margin: 120px auto;
  padding: 0 40px;
  position: relative;
}
.doctor-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}
.doctor-desc {
  font-size: 16px;
  color: #888;
  margin-bottom: 40px;
  text-align: center;
}
.doctor-swiper {
  max-width: 1440px;
  width: 100%;
  position: relative;
  padding-bottom: 40px;
}
.doctor-swiper .swiper-wrapper {
  align-items: center;
}
.doctor-swiper .swiper-slide {
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 840px;
  position: relative;
}
.doctor-swiper .swiper-slide img {
  height: 100%;
  object-fit: cover;
}
.doctor-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  color: #fff;
  padding: 0 0 77px 48px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
}

.doctor-swiper .swiper-slide:hover .doctor-info {
  transform: translateY(0);
  opacity: 1;
}
.doctor-role {
  font-size: 20px;
  margin-bottom: 4px;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
  opacity: 0;
}

.doctor-name {
  font-size: 36px;
  margin-bottom: 4px;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
  opacity: 0;
}

.doctor-eng {
  font-size: 20px;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
  opacity: 0;
}

.doctor-swiper .swiper-slide:hover .doctor-role,
.doctor-swiper .swiper-slide:hover .doctor-name,
.doctor-swiper .swiper-slide:hover .doctor-eng {
  transform: translateY(0);
  opacity: 1;
}
.doctor-swiper-button-prev,
.doctor-swiper-button-next {
  position: absolute;
  top: 50%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  color: #fff;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transform: translateY(-50%);
  border: none;
}
.doctor-swiper-button-prev { left: 95px; }
.doctor-swiper-button-next { right: 95px; }
.doctor-swiper-button-prev::after {
  content: '';
  display: block;
  width: 80px;
  height: 80px;
  background-color: #888;
  mask: url('/images/icon/icon-arrow-left-1885662adddb1fc1802ce0083f80fe32.svg') no-repeat center / contain;
  -webkit-mask: url('/images/icon/icon-arrow-left-1885662adddb1fc1802ce0083f80fe32.svg') no-repeat center / contain;
}
.doctor-swiper-button-next::after {
  content: '';
  display: block;
  width: 80px;
  height: 80px;
  background-color: #888;
  mask: url('/images/icon/icon-arrow-left-1885662adddb1fc1802ce0083f80fe32.svg') no-repeat center / contain;
  -webkit-mask: url('/images/icon/icon-arrow-left-1885662adddb1fc1802ce0083f80fe32.svg') no-repeat center / contain;
  transform: rotate(180deg);
}




@media (max-width: 1240px) {
  /* 갤러리 */
  .gallery-section {
    padding: 0 20px;
  }
  
  .gallery-top ul {
    gap: 30px;
  }
  
  .gallery-top li:not(:last-child)::after {
    right: -15px;
    height: 18px;
  }
  
  .gallery-top a {
    font-size: 16px;
    padding: 14px 28px;
  }

  /* Before & After */
  .beforeafter-section {
    padding: 100px 0 100px 40px;
  }
  .beforeafter-left {
    display: none;
  }
  .beforeafter-right {
    position: relative;
    left: auto;
    transform: none;
  }
  .beforeafter-swiper-pagination {
    width: 97% !important;
  }

  /* 이벤트 */
  .event-left {
    display: none;
  }
  .event-section {
    margin: 100px auto 0;
    padding-left: 40px;
  }
  .event-right {
    position: relative;
    left: auto;
    transform: none;
    top: auto;
    width: 100%;
  }
}


@media (max-width: 1024px) {
  /* 특화진료 */
  .specialty-section {
    padding-left: 40px;
  }
  .specialty-title {
    display: none;
  }
  .specialty-section .specialty-swiper-pagination {
    left: 40px !important;
    width: 93% !important;
  }

  /* 유튜브 */
  .youtube-section {
    padding-right: 120px;
  }
  .youtube-container {
    flex-direction: column;
  }
  .youtube-title, .youtube-desc {
    display: none;
  }
  .youtube-player iframe {
    width: 100%;
  }
  .youtube-list {
    max-width: 100%;
  }

  /* 의료진 */
  .doctor-section {
    padding: 0 20px;
    margin: 80px auto;
  }
  .doctor-title {
    font-size: 32px;
  }
  .doctor-desc {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .doctor-swiper .swiper-slide {
    height: 700px;
  }
  .doctor-role {
    font-size: 18px;
  }
  .doctor-name {
    font-size: 32px;
  }
  .doctor-eng {
    font-size: 18px;
  }

  /* 이벤트 */
  .event-section {
    margin: 80px auto 0;
  }
  .event-info {
    padding: 15px;
    font-size: 16px;
  }
  .event-title {
    font-size: 20px;
    margin-bottom: 6px;
  }
  .event-date {
    font-size: 13px;
  }
  .event-label {
    font-size: 15px;
  }
  .event-price {
    font-size: 24px;
  }
  .event-extra {
    font-size: 11px;
  }
}


@media (max-width: 768px) {
  .main_banner .swiper {
    height: 500px;
  }
  
  .main_banner .swiper .swiper-wrapper .swiper-slide .banner-pc {
    display: none;
  }
  
  .main_banner .swiper .swiper-wrapper .swiper-slide .banner-mobile {
    display: block;
  }

  .main_banner .swiper .swiper-wrapper .swiper-slide .slide_dec {
    font-size: 24px;
  }
  
  .main_banner .swiper .swiper-wrapper .swiper-slide .slide-title {
    font-size: 24px;
    line-height: 32px;
  }
  
  .main_banner .swiper .swiper-wrapper .swiper-slide .slide-description {
    font-size: 14px;
    line-height: 20px;
  }
  
  .main_banner .swiper .swiper-wrapper .swiper-slide .slide-link-btn {
    font-size: 12px;
    padding: 6px 12px;
    gap: 4px;
  }

  .main_banner .swiper .autoplay-progress {
    width: 150px;
  }

  .banner-video-pc {
    display: none;
  }
  
  .banner-video-mobile {
    display: block;
    width: 100%;
    height: 100%;
  }

  /* 사이드 메뉴 */
  .aside {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    transform: none;
  }
  .side-menu {
    flex-direction: row;
    width: 100%;
    border-radius: 0;
    padding: 8px 0;
    gap: 0;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.10);
    justify-content: center;
    align-items: center;
    border-top: 1px solid #ececec;
  }
  .side-menu li {
    width: 90px;
  }
  .side-menu a {
    font-size: 11px;
    padding: 2px 4px;
    transition: background 0.2s;
  }
  .side-menu a:hover {
    background: #f2f2f2;
    color: #222;
  }
  .side-menu img {
    width: 28px;
    height: 28px;
    margin-bottom: 2px;
  }
  .btn-top {
    display: none !important;
  }

  /* 특화진료 */
  .specialty-section {
    padding-left: 16px;
    margin-top: 100px;
  }
  .specialty-section .specialty-swiper-pagination {
    left: 16px !important;
  }

  /* 갤러리 */
  .gallery-section {
    padding: 0 16px;
    margin-top: 100px;
  }
  .gallery-top {
    margin-bottom: 40px;
  }
  .gallery-top ul {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .gallery-top li:not(:last-child)::after {
    display: none;
  }
  .gallery-top a {
    font-size: 14px;
    padding: 12px 20px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 16px;
    padding: 0;
  }
  .gallery-label {
    font-size: 12px;
  }

  .gallery-item .category-badge {
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 10px;
  }

  /* Before & After */
  .beforeafter-section {
    padding: 100px 0 100px 16px;
  }

  /* 셀피 */
  .selfie-section {
    margin-top: 100px;
  }
  .selfie-bg img {
    min-height: 400px;
    object-fit: cover;
  }
  .selfie-content h2 {
    font-size: 24px;
  }
  .selfie-content p {
    font-size: 16px;
  }
  .selfie-more {
    font-size: 13px;
  }

  /* Shorts */
  .shorts-section {
    margin-top: 100px;
    padding-bottom: 70px;
  }
  .shorts-title {
    font-size: 24px;
    margin-bottom: 0;
    padding-left: 16px;
  }
  .shorts-bg-text {
    height: 340px;
    font-size: 28px;
  }
  .shorts-swiper .swiper-slide-active {
    margin: 0 !important;
  }
  .shorts-swiper .swiper-wrapper {
    justify-content: normal;
  }
  .shorts-swiper-button-prev {
    margin-right: 80%;
  }
  .shorts-swiper-button-next {
    margin-left: 80%;
  }

  /* 유튜브 */
  .youtube-section {
    padding: 0 16px;
  }
  .youtube-player iframe {
    width: 100%;
  }
  .youtube-list-item img {
    width: 80px;
  }

  /* 이벤트 */
  .event-section {
    margin: 100px auto 0;
    padding: 0 16px;
  }
  .event-info {
    padding: 12px;
    font-size: 14px;
  }
  .event-title {
    font-size: 18px;
    margin-bottom: 4px;
  }
  .event-date {
    font-size: 12px;
  }
  .event-label {
    font-size: 13px;
  }
  .event-price {
    font-size: 20px;
  }
  .event-extra {
    font-size: 10px;
  }

  /* 의료진 */
  .doctor-section {
    padding: 0 16px;
  }
  .doctor-title {
    font-size: 28px;
    margin-bottom: 6px;
  }
  .doctor-desc {
    font-size: 14px;
    margin-bottom: 30px;
  }
  .doctor-swiper {
    padding-bottom: 30px;
  }
  .doctor-swiper .swiper-slide {
    height: 600px;
  }
  .doctor-role {
    font-size: 16px;
  }
  .doctor-name {
    font-size: 28px;
  }
  .doctor-eng {
    font-size: 16px;
  }
  .doctor-swiper-button-prev,
  .doctor-swiper-button-next {
    display: none;
  }

  /* 상담 버튼 */
  .consultation {
    bottom: 70px;
    right: 12px;
  }
}

@media (max-width: 480px) {
  /* 의료진 */
  .doctor-section {
    padding: 0 12px;
    margin: 60px auto;
  }
  .doctor-title {
    font-size: 24px;
    margin-bottom: 4px;
  }
  .doctor-desc {
    font-size: 13px;
    margin-bottom: 25px;
  }
  .doctor-swiper {
    padding-bottom: 25px;
  }
  .doctor-swiper .swiper-slide {
    height: 400px;
  }
  .doctor-info {
    padding: 0 0 30px 20px;
  }
  .doctor-role {
    font-size: 14px;
    margin-bottom: 2px;
  }
  .doctor-name {
    font-size: 24px;
    margin-bottom: 2px;
  }
  .doctor-eng {
    font-size: 14px;
  }
}
