/* 1. 컨트롤 박스 위치 잡기 (우측 하단) */
.swiper-controls {
  position: absolute;
  bottom: 50px; /* 바닥에서의 높이 (시안에 맞춰 조절) */
  right: 15%; /* 우측에서의 거리 (시안에 맞춰 조절) */
  z-index: 10;
  display: flex; /* 가로 배치 핵심 */
  align-items: center; /* 수직 중앙 정렬 */
  gap: 30px; /* 점과 숫자 사이의 간격 */
}

/* 2. 불릿(점) 스타일 커스텀 */
/* Swiper 기본 절대위치 속성을 해제해야 flex 안에서 잘 보입니다 */
.swiper-controls .swiper-pagination {
  position: static;
  width: auto;
  text-align: left;
}

.swiper-controls .swiper-pagination-bullet {
  width: 10px; /* 점 너비 */
  height: 10px; /* 점 높이 */
  background: #fff; /* 점 색상 */
  opacity: 0.4; /* 비활성 투명도 */
  margin: 0 6px !important; /* 점 사이 간격 */
  vertical-align: middle;
  position: relative;
  transition: all 0.5s;
}

.swiper-controls .swiper-pagination-bullet-active {
  opacity: 1; /* 활성 투명도 (진하게) */
  background: #fff;
}
.swiper-controls .swiper-pagination-bullet:after {
  content: "";
  position: absolute;
  border: 1px solid #fff;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  border-radius: 999px;
  transition: all 0.5s;
  opacity: 0;
}
.swiper-controls
  .swiper-pagination-bullet.swiper-pagination-bullet-active:after {
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  opacity: 1;
}
/* 3. 숫자(Fraction) 스타일 커스텀 */
.fraction-pagination {
  white-space: nowrap;
  color: #fff;
  font-family: "Noto Sans KR", sans-serif; /* 폰트 설정 */
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 1px;
}

/* (선택) 현재 페이지 숫자를 더 굵게 만들고 싶다면 JS에서 <b>태그 감싸고 아래 추가 */
.fraction-pagination b {
  font-weight: 700;
}

.main-slide-sub {
  z-index: 2;
  position: absolute;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  overflow: hidden;
}
.main-slide-sub h2 {
  transition: all 1s;
  font-size: 50px;
  font-weight: 400;
  transform: translateY(100%);
  opacity: 0;
}
.main-slide .swiper-slide-active h2 {
  transform: translateY(0);
  opacity: 1;
}
.main-slide h2 span {
  font-weight: 700;
}
.swiper-wrapper > div {
  overflow: hidden;
}
.main-slide-02 .slide2-sub {
  background-color: #ffffffde;
  border-radius: 999px;
  gap: 10px;
  padding: 0px 12px;
  font-weight: 800;
  display: flex;
  margin: 0 auto;
  width: 370px;
  align-items: center;
  justify-content: center;
}
.main-slide-02 .slide2-sub img {
  width: 40px;
}
.main-slide-02 .slide2-sub span {
  color: #000;
  font-weight: 700;
  font-size: 28px;
}
.main-slide {
  overflow: hidden;
}
.main-slide img {
  transition: all 5s;
  transform: scale(1.1);
}
.main-slide .swiper-slide-active img {
  transform: scale(1);
}

/* main 01 */
.main-quick-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 120px;
}
.main-quick-btn strong {
  font-size: 30px;
  font-weight: 700;
  color: #1a6eb6;
}
.main-quick-btn p {
  white-space: pre-line;
}
.main-quick-btn div:nth-child(3) {
  min-height: 100px;
}
.main-quick-btn .more-btn {
  display: inline-block;
  position: relative;
  border: 1px solid #1a6eb6;
  padding: 4px 18px;
  color: #1a6eb6;
  font-weight: 700;
  transition: all 0.5s;
  font-size: 16px;
}
.main-quick-btn .more-btn:after {
  z-index: -1;
  content: "";
  position: absolute;
  background-color: #1a6eb6;
  top: 0;
  left: 0;
  bottom: 0;
  right: 100%;
  transition: all 0.5s;
}
.main-quick-btn .more-btn:hover {
  color: #fff;
}
.main-quick-btn .more-btn:hover:after {
  right: 0;
}

/* main 02 */
.main-banner {
  position: relative;
  color: #fff;
  background: url(../img/main/main-bg_01.jpg) center/cover no-repeat;
  background-attachment: fixed;
}
.main-banner .deco {
  position: absolute;
  left: 20px;
  bottom: 20px;
  top: 20px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.4rem;
}
.main-banner .banner-con {
  padding: 200px 0;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-direction: column;
}
.main-banner .banner-con p {
  font-size: 24px;
}

/* main 03 */
.main-area-3 {
  background-color: #0e4a4c;
  color: #fff;
  padding-bottom: 120px;
}

/* ===== 상단 탭 ===== */
.svc-tabs {
  width: 100%;
  padding: 0 20px;
  margin: 0 auto 28px;
}

.svc-tab-slide {
  width: auto !important; /* slidesPerView:auto 대응 */
}

.svc-tab {
  appearance: none;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  padding: 12px 0;
  width: 200px;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  cursor: pointer;
  transition: transform 120ms ease, background-color 120ms ease,
    color 120ms ease, border-color 120ms ease;
  white-space: nowrap;
}

.svc-tab:active {
  transform: scale(0.98);
}

.svc-tab.is-active {
  background: #ffffff;
  color: #0e4a4c;
  border-color: #ffffff;
}

/* 탭 간격 */
.svc-tabs .swiper-wrapper {
  gap: 4px;
}

/* ===== 메인 슬라이드 ===== */
.svc-main {
  width: 100%;
  padding: 0 20px;
}

/* 카드(이미지+텍스트) */
.svc-card {
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 1.2fr) minmax(280px, 0.8fr);
  gap: 32px;
  align-items: center;
}

/* 좌측 이미지 박스 */
.svc-media {
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.svc-media img {
  display: block;
  width: 100%;
  height: auto;
}

/* 우측 텍스트 */
.svc-copy {
  color: #ffffff;
}

.svc-num {
  font-size: 44px;
  font-weight: 800;
  opacity: 0.6;
  margin-bottom: 10px;
}

.svc-title {
  margin: 0 0 14px;
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -1px;
}

.svc-bullets {
  margin: 0;
  padding: 0;
}

.svc-bullets li {
  position: relative;
  padding-left: 14px;
  line-height: 1.7;
  font-size: 18px;
  opacity: 0.95;
}

.svc-bullets li::before {
  content: "·";
  position: absolute;
  left: 0;
  top: 0;
}

/* ===== 하단 네비게이션(라인) ===== */
.svc-nav {
  margin: 24px auto 0;
  padding: 0 20px;
}

.svc-progress {
  position: relative;
  height: 18px;
  cursor: pointer;
}

.svc-progress-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.svc-progress-fill {
  position: absolute;
  left: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  width: 0%;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
}

.svc-progress-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 6px;
  border-radius: 999px;
  border: 0;
  background: #ffffff;
  cursor: grab;
}

.svc-progress-thumb:active {
  cursor: grabbing;
}

.info-interior{
  background-color: #eff3f9;
  overflow: hidden;
}

/* ===== 상단 라벨 pagination ===== */
.info-interior .top-pagination {
  position: relative;
  padding-top: 170px;
  margin: 0 auto 22px;
  overflow: auto;
  top: -50px;
  /* 스크롤 힌트 감추기용 */
  scrollbar-width: none;

  display: none;
}

.info-interior .top-pagination .swiper-pagination {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: max-content;
  padding: 0 6px;
  justify-content: space-between;
}
/* 연결선 */
.info-interior .top-pagination .swiper-pagination::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 2px;
  background: #9f9f9f;
  z-index: 0;
}

/* 각 라벨(불릿) */
.info-interior .top-pagination .swiper-pagination-bullet {
  position: relative;
  z-index: 1;
  opacity: 1;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  justify-content: center;
}
.top-pagination .swiper-pagination-bullet .label {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  color: #7a7a7a;
  transition: color 0.25s ease;
}
.info-interior .top-pagination .swiper-pagination-bullet .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #9f9f9f;
  box-shadow: 0 0 0 6px #fff inset; /* 라인 위에 살짝 떠 보이게 */
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
/* 활성 라벨 */
.info-interior .top-pagination .swiper-pagination-bullet-active .label {
  color: #1a6eb6;
}
.info-interior .top-pagination .swiper-pagination-bullet-active .dot {
  background: #1a6eb6;
  transform: scale(1.1);
}

/* ===== 메인 슬라이더 ===== */
.info-interior .gallery {
  position: relative;
}
.info-interior .swiper {
  width: 100%;
  border-radius: 24px;
  overflow: visible;
  /* background: #ddd; */
}
.info-interior .swiper-slide {
  height: 56vw; /* 모바일에서 세로 비율 */
  max-height: 540px; /* 데스크톱 상한 */
  min-height: 240px;
  border-radius: 30px;
  overflow: hidden;
}
.info-interior .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 네비 버튼 */
.info-interior .swiper-button-prev,
.info-interior .swiper-button-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}
.info-interior .swiper-button-prev::after,
.info-interior .swiper-button-next::after {
  font-size: 16px;
  color: #333;
  font-weight: 700;
}
.info-interior .swiper-button-prev {
  left: 18px;
}
.info-interior .swiper-button-next {
  right: 18px;
}
.info-interior .swiper-button-disabled {
  opacity: 0.35;
}

/* 반응형 미세 조정 */
@media (min-width: 768px) {
  
  .info-interior .top-pagination .swiper-pagination {
    gap: 38px;
  }
  .info-interior .top-pagination .swiper-pagination::before {
    top: 7px;
  }
  .info-interior .top-pagination .swiper-pagination-bullet {
    height: 16px;
    width: 16px;
    background-color: #9f9f9f;
  }
  .info-interior
    .top-pagination
    .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #1a6eb6;
  }
  .info-interior .top-pagination .swiper-pagination-bullet .label {
    font-size: 16px;
    transform: translateY(-25px);
  }
  .info-interior .swiper-button-prev,
  .info-interior .swiper-button-next {
    width: 48px;
    height: 48px;
  }
}
@media (min-width: 1024px) {
  .info-interior .swiper-slide {
    max-height: 620px;
    border-radius: 28px;
  }
  .info-interior .top-pagination {
    overflow: visible;
  }
}

/* info-map */
.info-map h4.info-map-title-con {
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.info-map p {
  font-size: 18px;
}
.info-map h4.info-map-title-con .info-map-title {
  color: #1a6eb6;
}
.info-map h4.info-map-title-con img {
  height: 35px;
}
.info-map .info-map-sub {
  font-size: 30px;
  font-weight: 800;
}
.info-map-sub .info-time {
  display: flex;
  gap: 30px;
}
.info-map-sub .info-time li:nth-child(1) {
  width: 20%;
}
.info-map-btn {
  max-width: 90%;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
}
.info-map-btn a{

}
.info-map-btn a {
  margin: 0 4px;
  display: block;
  border: 2px solid #1a6eb6;
  border-radius: 15px;
  box-sizing: border-box;
  background-color: #1a6eb6;
  color: #fff;
  padding: 8px 30px;
  font-size: 24px;
  font-weight: 800;
  transition: all 0.2s;
}
.info-map-btn > div:not(:last-child){
  width: 50%;
}
.info-map-btn > div:last-child{
  margin-top: 12px;
  width: 100%;
}

.info-map-btn > div:last-child a {
  border: 2px solid #b6b6b6;
  background-color: #fff;
  color: #272727;
  transition: all 0.2s;
}



@media(max-width:1200px) {
  .main-slide-sub h2 {
    font-size: 35px;
  }
  .main-area-02 .main-area-02_box li > div{
    padding: 20px;
  }
  .main-area-02 .main-area-02_box li > div > span:first-child{
    font-size: 18px;
  }
  .main-area-02_box h2{
    font-size: 35px;
  }
  .main-quick-btn strong{
    font-size: 24px;
  }
  .main-quick-btn{
    padding-bottom: 40px;
  }
}
@media(max-width:769px) {
  .main-quick-btn{
    min-height: 400px;
  }
  .swiper-controls{
    bottom: 20px;
  }
  .map {
    margin-top: 40px !important;
  }
  .main-slide-sub h2 {
    font-size: 24px;
  }
  .main-area-02 .main-area-02_box li > div{
    padding: 10px;
  }
  .main-area-02_box h2{
    font-size: 22px;
  }
  .main-area-02 .main-area-02_box li > div > div:last-child > span{
    margin-bottom: 0px;
  }
  .doctor-intro p{
    font-size: 24px;
  }

  .info-map-btn {
    max-width: 100%;
  }

  .info-map-btn a{
    font-size: 18px;
    padding: 2px;
  }

  .main-quick-btn strong {
            font-size: 20px;
        line-height: 1.6;
        margin-bottom: 10px;
  }

  .info-map .info-map-sub{
    font-size: 18px;
  }
  
  
}

@media(max-width:469px) {
    .doctor-intro p{
      font-size: 20px;
    }
}