  html, body, section {
    height: auto;
  }

  .intro-background {
    background: radial-gradient(circle, #ffffff 0%, #ffffff 40%, #DBE5F0 100%);
    padding: 80px 0;
  }
  
  .hospital-intro {
    padding-top: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
    background-color: transparent;
  }
  
  .intro-text {
    flex: 1;
    padding-right: 0;
    text-align: center;
  }
  
  .intro-title {
    font-family: 'Dream Orphans', sans-serif;
    font-size: 48px;
    color: #1D4074;
    margin-bottom: -10px;
  }
  
  .intro-subtitle {
    font-family: 'Pretendard', sans-serif;
    font-weight: 200;
    font-size: 24px;
    margin-bottom: 120px;
  }
  
  .intro-brand {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 24px;
    margin-bottom: 24px;
  }
  
  .intro-quote {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 24px;
    margin-bottom: 24px;
  }
  
  .intro-line {
    font-family: 'Pretendard', sans-serif;
    font-weight: 200;
    font-size: 20px;
    margin-bottom: 6px;
  }
  
  .intro-description {
    font-family: 'Pretendard', sans-serif;
    font-weight: 200;
    font-size: 24px;
    line-height: 1.8;
    margin-top: 30px;
  }
  
  .intro-image-wrapper {
    flex: 1;
    position: relative;
    padding: 5px;
    border: 2px solid #1D4074;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1.1;
    animation: slideInUp 1s ease-out;
  }
  
  .intro-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 95px;
    border-top-right-radius: 95px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  
  @keyframes slideInUp {
    from {
      transform: translateY(50px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  

  /* 소개 2번째 영역 */
  .reason-section {
    padding: 100px 20px;
    background: linear-gradient(to right, #ffffff 0%, #ffffff 50%, #DBE5F0 100%);
  }

  .reason-title-area {
    max-width: 1400px;   /* reason-blocks와 동일한 최대 너비 */
    margin: 0 auto;
    margin-bottom: 60px;
  }

  .reason-block-wrapper {
    margin-right: 60px; /* 가로 간격 조절 */
  }

  .reason-block-wrapper:last-child {
    margin-right: 0;
  }
  
  
  .reason-blocks {
    display: flex;
    flex-wrap: nowrap;
  
    justify-content: center;     /* ✅ 수평 가운데 정렬 */
    align-items: flex-start;     /* 계단형 유지 */
  
    max-width: 1400px;           /* 필요 시 전체 폭 제한 */
    margin: 0 auto;              /* ✅ 부모 기준 가운데 배치 */
  }
  
  .reason-block {
    width: 445px;
    display: flex;
    flex-direction: column;
  }
  
  /* 계단 효과 */
  .stair-1 {
    margin-top: 0;
  }
  .stair-2 {
    margin-top: 30px;
  }
  .stair-3 {
    margin-top: 60px;
  }
  
  .reason-image-wrapper {
    width: 100%;
    height: 234px;           /* ✅ 고정 높이 */
    border-radius: 100px;    /* ✅ 거의 원형 느낌 */
    overflow: hidden;        /* ✅ 초과 영역 잘리도록 */
    display: block;
  }
  
  .reason-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* ✅ 비율 유지하며 채우기 */
    border-radius: 100px;    /* ✅ 동일하게 둥글게 */
    display: block;
  }
  
  .reason-title-overlay {
    font-family: 'SF_HambakShow';
    font-size: 32px;
    color: #1D4074;
    font-weight: bold;
    line-height: 1.4;
    text-align: left;    /* 왼쪽 정렬 */
  }
  
  .underline-space {
    display: inline-block;
    border-bottom: 2px solid #1D4074;
    width: 80px;
    vertical-align: middle;
    margin: 0 4px;
  }

  .reason-title-combined {
    margin-top: 24px;
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }
  
  .reason-label {
    font-family: 'maruburi_semibold';
    font-size: 32px;
    margin-top: 24px;
    color: #000;
  }
  
  .reason-heading {
    font-family: 'Pretendard';
    font-size: 24px;
    font-weight: 400;
    margin-top: 4px;
    margin-bottom: 16px;
  }
  
  .reason-text {
    font-family: 'Pretendard';
    font-weight: 200;
    font-size: 20px;
    line-height: 1.6;
    color: #333;
  }
  
  .section-bottom-spacer {
    height: 120px; /* 푸터 고정 높이만큼 여유 공간 */
  }


/* 스태프 영역 */
.staff-section {
  margin-top: 120px;
  text-align: center;
  padding: 80px 20px;
  background: #fff;
}

/* 푸터 여백을 위한 가상 엘리먼트 */
.staff-section::after {
  content: '';
  display: block;
  height: 200px;
}

.staff-title h2 {
  font-family: 'dream orphans', sans-serif;
  font-weight: normal;
  font-size: 48px;
  color: #1D4074;
  margin-bottom: -3px;
}

.staff-title p {
  font-family: 'Pretendard', sans-serif;
  font-weight: 200; /* extralight */
  font-size: 24px;
  margin-bottom: 20px;
  color: #000;
}

.staff-title span {
  font-family: 'Pretendard', sans-serif;
  font-weight: 200; /* extralight */
  font-size: 20px;
  color: #555;
}

.staff-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.staff-card {
  width: 320px;
  min-width: 320px;
  min-height: 530px;
  overflow: hidden;
  border-radius: 0;
  cursor: pointer;
}

.staff-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.staff-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 120px;
  border-top-right-radius: 120px;
  min-height: 530px;
  min-width: 320px;
}

.staff-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
  background: none;
  border-top-left-radius: 120px;
  border-top-right-radius: 120px;
  overflow: hidden;
}

.staff-info,
.staff-extra {
  width: 100%;
  box-sizing: border-box;
  color: #fff;
  font-family: 'Pretendard', sans-serif;
  pointer-events: auto;
}

/* 기존 텍스트 */
.staff-info {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(255,255,255, 0.1) 100%);
  transition: transform 0.4s ease;
  z-index: 1;
  padding: 24px;
}

.staff-info p {
  font-size: 20px;
  font-family: 'Pretendard', sans-serif;
  font-weight: 200;
  margin-bottom: 4px;
  text-align: left;
}

.staff-info strong {
  font-size: 32px;
  font-weight: 600;
  font-family: 'Pretendard', sans-serif;
  text-align: left;
  display: block;
}

.staff-info span {
  font-size: 20px;
  font-weight: 200;
  font-family: 'Pretendard', sans-serif;
  margin-left: 6px;
}

/* 추가 텍스트 */
.staff-extra {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-weight: 200;
  font-size: 18px;
  transition: all 0.4s ease;
  background: none;
  padding: 0 24px;
}

.staff-extra p {
  margin: 0;
  text-align: left;
}

/* hover 시 애니메이션 처리 */
.staff-card:hover .staff-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 70%, rgba(255, 255, 255, 0.3) 100%);
}

.staff-card:hover .staff-info {
  transform: translateY(0%);
  background: none;
}

.staff-card:hover .staff-extra {
  max-height: 500px;
  opacity: 1;
  padding: 24px;
}

/* 반응형 처리 */
@media (max-width: 768px) {
  .staff-wrapper {
    gap: 30px;
  }
  
  .staff-card {
    width: 280px;
    min-width: 280px;
    min-height: 480px;
  }
  
  .staff-image img {
    min-height: 480px;
    min-width: 280px;
  }
  
  .staff-title h2 {
    font-size: 36px;
  }
  
  .staff-title p {
    font-size: 20px;
  }
  
  .staff-title span {
    font-size: 18px;
  }
}


/* Around Geunal 영역 */
.around-section {
  margin-top: 120px;
  text-align: center;
  padding: 80px 20px;
  background: #fff;
}

/* 푸터 여백을 위한 가상 엘리먼트 */
.around-section::after {
  content: '';
  display: block;
  height: 120px;
}

.around-title h2 {
  font-family: 'dream orphans', sans-serif;
  font-weight: normal;
  font-size: 48px;
  color: #1D4074;
  margin-bottom: -3px;
}

.around-title p {
  font-family: 'Pretendard', sans-serif;
  font-weight: 200; /* extralight */
  font-size: 24px;
  margin-bottom: 20px;
  color: #000;
}

.around-title span {
  font-family: 'Pretendard', sans-serif;
  font-weight: 200; /* extralight */
  font-size: 20px;
  color: #555;
}



/* Around Geunal 영역 */
.around-section {
  margin-top: 120px;
  text-align: center;
  padding: 80px 20px;
  background: #fff;
}

/* 푸터 여백을 위한 가상 엘리먼트 */
.around-section::after {
  content: '';
  display: block;
  height: 120px;
}

.around-title h2 {
  font-family: 'dream orphans', sans-serif;
  font-weight: normal;
  font-size: 48px;
  color: #1D4074;
  margin-bottom: -3px;
}

.around-title p {
  font-family: 'Pretendard', sans-serif;
  font-weight: 200; /* extralight */
  font-size: 24px;
  margin-bottom: 20px;
  color: #000;
}

.around-title span {
  font-family: 'Pretendard', sans-serif;
  font-weight: 200; /* extralight */
  font-size: 20px;
  color: #555;
}

/* 슬라이드 컨테이너 */
.slide-container {
  border: none;
  position: relative;
  max-width: 1200px;
  margin: 60px auto 0;
  border-radius: 60px;
  overflow: hidden;
}

.slide-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.slide-track {
  display: flex;
  width: 1500%; /* 15개 슬라이드 기준 */
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide-item {
  width: 6.666%; /* 15개 슬라이드 기준 (100/15) */
  height: 100%;
  flex-shrink: 0;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 슬라이드 컨트롤 버튼 */
.slide-controls {
  position: absolute;
  bottom: 30px;
  left: 30px;
  display: flex;
  z-index: 10;
  border-radius: 25px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.slide-btn {
  width: 50px;
  height: 50px;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  font-size: 24px;
  font-weight: 900;
  color: #1D4074;
}

.slide-btn:first-child::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 80%;
  background: rgba(29, 64, 116, 0.2);
}

.slide-btn:hover {
  background: rgba(255, 255, 255, 0.7);
}

.slide-btn.prev::before {
  content: '<';
}

.slide-btn.next::before {
  content: '>';
}

/* 반응형 처리 */
@media (max-width: 768px) {
  .around-section {
    padding: 60px 20px;
  }
  
  .around-title h2 {
    font-size: 36px;
  }
  
  .around-title p {
    font-size: 20px;
  }
  
  .around-title span {
    font-size: 18px;
  }
  
  .slide-container {
    margin: 40px auto 0;
    border-radius: 20px;
  }
  
  .slide-wrapper {
    height: 400px;
  }
  
  .slide-controls {
    bottom: 20px;
    left: 20px;
    border-radius: 20px;
  }
  
  .slide-btn {
    width: 40px;
    height: 40px;
  }
}



/* Visit Geunal 영역 */
.visit-section {
  margin-top: 120px;
  padding: 80px 20px;
  background: #fff;
}

/* 푸터 여백을 위한 가상 엘리먼트 */
.visit-section::after {
  content: '';
  display: block;
  height: 120px;
}

.visit-title {
  text-align: left;
  margin-bottom: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.visit-title h2 {
  font-family: 'dream orphans', sans-serif;
  font-weight: normal;
  font-size: 48px;
  color: #1D4074;
  margin-bottom: -3px;
  text-align: left; /* center에서 left로 변경 */
}

.visit-title p {
  font-family: 'Pretendard', sans-serif;
  font-weight: 200;
  font-size: 24px;
  color: #000;
  text-align: center; /* 유지 */
  position: relative; /* 추가 */
  left: 33%; /* 추가 */
  transform: translateX(-50%); /* 추가 */
  width: fit-content; /* 추가 */
}

/* 메인 컨텐츠 영역 */
.visit-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: center; /* 중앙 정렬로 변경 */
  position: relative;
}

/* 구분선 - 안내영역 높이에 맞춤 */
.divider-line {
  width: 1px;
  background: #ddd;
  flex-shrink: 0;
  align-self: stretch; /* 부모 높이에 맞춰서 늘어남 */
}

/* 지도 영역 */
.map-container {
  flex: 1;
  max-width: 500px;
  display: flex;
  align-items: center; /* 지도도 세로 중앙 정렬 */
}

.map-wrapper {
  padding: 5px;
  width: 100%;
  height: 500px;
  min-height: 600px;
  border-top-left-radius: 250px;  /* 추가 */
  border-top-right-radius: 250px; /* 추가 */
  border: 1px solid #000000;
  overflow: hidden;
}

#map {
  width: 100%;
  height: 100%;
  border-top-left-radius: 250px;
  border-top-right-radius: 250px;
}

.map-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 정보 영역 */
.info-container {
  flex: 1;
  max-width: 600px;
}

.clinic-info {
  margin-bottom: 40px;
  animation: slideInFromRight 0.8s ease-out;
  animation-delay: 0.1s;
  animation-fill-mode: both;
}

.clinic-name {
  font-family: 'Pretendard', sans-serif;
  font-weight: 600;
  font-size: 32px;
  color: #000;
  margin-bottom: 15px;
}

.clinic-address {
  font-family: 'Pretendard', sans-serif;
  font-weight: 200;
  font-size: 20px;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.5;
}

.clinic-label {
  font-family: 'Pretendard', sans-serif;
  font-weight: 200;
  font-size: 20px;
  color: #555;
  margin-bottom: 8px;
}

.clinic-phone {
  font-family: 'Pretendard', sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: #000;
  margin-bottom: 40px;
}

/* 진료시간 */
.hours-section {
  margin-bottom: 40px;
  animation: slideInFromRight 0.8s ease-out;
  animation-delay: 0.3s;
  animation-fill-mode: both;
}

.hours-title {
  font-family: 'Pretendard', sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #000;
  margin-bottom: 20px;
}

.hours-list {
  margin-bottom: 15px;
}

.hours-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.hours-day {
  font-family: 'Pretendard', sans-serif;
  font-weight: 200;
  font-size: 20px;
  color: #000;
  min-width: 60px;
}

.hours-time {
  font-family: 'Pretendard', sans-serif;
  font-weight: 200;
  font-size: 20px;
  color: #000;
}

/* 금요일 야간 시간 전체 스타일 */
.hours-time.friday-night {
  font-weight: 500; /* medium */
  font-size: 20px;
  font-family: 'Pretendard', sans-serif;
}

.hours-time.night {
  font-weight: 500;
  font-size: 20px;
  font-family: 'Pretendard', sans-serif;
}

.hours-note {
  font-family: 'Pretendard', sans-serif;
  font-weight: 100;
  font-size: 20px;
  color: #888;
  margin-top: 25px;
}

/* 교통정보 */
.transport-section {
  margin-bottom: 30px;
}

.transport-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.transport-item:last-child {
  margin-bottom: 0; /* 추가 */
}

/* 교통 텍스트 영역에 슬라이드 애니메이션 추가 */
.transport-item > div:last-child {
  animation: slideInFromRight 0.8s ease-out;
}

/* 슬라이드 인 애니메이션 정의 */
@keyframes slideInFromRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.transport-item:nth-child(1) > div:last-child {
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

.transport-item:nth-child(2) > div:last-child {
  animation-delay: 0.4s;
  animation-fill-mode: both;
}

.transport-item:nth-child(3) > div:last-child {
  animation-delay: 0.6s;
  animation-fill-mode: both;
}

.transport-icon {
  width: 30px;
  height: 30px;
  margin-right: 35px;
  margin-top: 10px;
  flex-shrink: 0;
  align-self: flex-start;
  display: flex; /* 추가 */
  flex-direction: column; /* 추가 */
  align-items: center; /* 추가 */
}

.transport-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 아이콘 라벨 스타일 추가 */
.transport-label {
  font-family: 'Pretendard', sans-serif;
  font-weight: 500; /* medium */
  font-size: 18px;
  color: #000;
  margin-top: 5px;
  text-align: center;
  white-space: nowrap;
}

.transport-text {
  font-family: 'Pretendard', sans-serif;
  font-weight: 200;
  font-size: 20px;
  color: #000;
  line-height: 1.5;
}

.transport-text .medium {
  font-weight: 500;
}

.bus-numbers .medium {
  font-weight: 500;
}

.bus-numbers {
  font-family: 'Pretendard', sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: #000;
  line-height: 1.6;
  margin-top: 5px;
}

/* 반응형 처리 */
@media (max-width: 768px) {
  .visit-section {
    padding: 60px 20px;
  }
  
  .visit-title h2 {
    font-size: 36px;
  }
  
  .visit-title p {
    font-size: 20px;
  }
  
  .visit-content {
    flex-direction: column;
    gap: 40px;
    align-items: stretch; /* 모바일에서는 stretch로 복귀 */
  }
  
  .map-container {
    align-items: stretch; /* 모바일에서는 stretch */
  }
  
  .divider-line {
    display: none;
  }
  
  .map-wrapper {
    height: 350px;
    min-height: 350px; /* 모바일에서는 최소 높이 축소 */
  }
  
  .clinic-name {
    font-size: 28px;
  }
  
  .clinic-address,
  .clinic-label,
  .hours-time,
  .hours-note,
  .transport-text,
  .bus-numbers {
    font-size: 18px;
  }
  
  .clinic-phone {
    font-size: 22px;
  }
  
  .hours-title {
    font-size: 22px;
  }
}