/* sec1 */
.sec1 {
  background: url("../img/main-s1-bg.png") no-repeat 50% 50% / cover;
  background-attachment: fixed;
  position: relative;
}
.sec1 .main-title {
  overflow: visible;
}
.main-title {
  text-align: center;
  margin-bottom: 60px;
}
.main-title i {
  font-size: 20px;
  font-weight: 300;
  color: #8e8e8e;
  margin-bottom: 5px;
  letter-spacing: 0.04em;
  font-family: "MaruBuri";
}
.main-title h2 {
  font-size: 60px;
  font-weight: 800;
  color: #294989;
}
.main-title .desc {
  margin-top: 40px;
  font-size: 20px;
  font-weight: 400;
  opacity: 0.8;
}
.sec1 .main-title i {
  color: #fff;
}
.sec1 .main-title h2 {
  color: #fff;
}
/* 진료과목: Swiper 컨테이너 (601px 이상 4열, 600px 이하 1열 슬라이드) */
.sec1_swiper.swiper {
  overflow: visible;
}
.sec1_swiper .swiper-slide {
  height: auto;
}
.sec1-card {
  display: flex;
  flex-direction: column;
  border-radius: 36px;
  background: #fff;
  padding: 36px;
  box-shadow: 2px 2px 20px 5px rgba(6, 11, 27, 0.3);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  border: 2px solid transparent;
  height: 100%;
}
.sec1-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px 8px rgba(41, 73, 137, 0.25);
  border-color: rgba(41, 73, 137, 0.15);
}
.sec1-card .num {
  color: #cecece;
  font-size: 40px;
  letter-spacing: -0.08em;
  line-height: 1;
  transition: color 0.35s ease;
}
.sec1-card:hover .num {
  color: #00a1e9;
  opacity: 0.9;
}
.sec1-card .sec1-title {
  color: #294989;
  font-size: 36px;
  font-weight: 700;
  margin: 5px 0 10px;
  transition: color 0.35s ease;
}
.sec1-card:hover .sec1-title {
  color: #00a1e9;
}
.sec1-card ol {
  font-size: 20px;
  line-height: 1.5;
  opacity: 0.8;
}
.sec1-card .img-wrap {
  align-self: flex-end;
  max-width: 100px;
  width: 60%;
  margin-top: 10px;
  transition: transform 0.35s ease;
}
.sec1-card:hover .img-wrap {
  transform: scale(1.08);
}
.sec1-card .more {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  aspect-ratio: 1/1;
  border-radius: 15px;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.04) 100%),
    linear-gradient(130deg, #fafafa 3.57%, #dedede 96.43%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.35s ease,
    transform 0.35s ease;
}
.sec1-card:hover .more {
  background:
    linear-gradient(
      0deg,
      rgba(41, 73, 137, 0.12) 0%,
      rgba(41, 73, 137, 0.12) 100%
    ),
    linear-gradient(130deg, #e8f4fc 3.57%, #b8d9f0 96.43%);
  transform: scale(1.05);
}
.sec1-card .more img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.sec1_swiper .swiper-pagination {
  margin-top: 24px;
}
.sec1_swiper .swiper-pagination-bullet {
  background: #00a1e9;
}
.sec1_swiper .swiper-pagination-bullet-active {
  transform: scale(1.2);
}
@media (min-width: 601px) {
  .sec1_swiper .swiper-pagination {
    display: none;
  }
}
@media (min-width: 1280px) {
  /* 큰 화면: 8개 카드 4×2 그리드로 전체 노출 (Swiper 비사용) */
  .sec1_swiper .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    transform: none !important;
  }
  .sec1_swiper .swiper-slide {
    width: auto !important;
  }
}
/* 진료과목 */
.sec2 {
  position: relative;
}

/* sec2 의료진 탭: 왼쪽 대표 사진, 오른쪽 썸네일+이름+경력+자격 */
.sec2-doctor-tab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
.sec2-doctor-main {
  position: relative;
}
.sec2-doctor-main-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 20px;
}
.sec2-doctor-main .sec2-doctor-img-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow: visible;
}
.sec2-doctor-main .sec2-doctor-img-wrap .bg-logo {
  position: absolute;
  top: 50%;
  right: 0;
  width: 130%;
  height: 100%;
  min-width: 130%;
  min-height: 100%;
  transform: translateY(-55%);
  object-fit: contain;
  object-position: 100% 50%;
  display: block;
  pointer-events: none;
}
.sec2-doctor-main .sec2-doctor-img-wrap.is-active {
  opacity: 1;
}
.sec2-doctor-main .sec2-doctor-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 2;
}
.sec2-doctor-info .sec2-doctor-panel {
  display: none;
}
.sec2-doctor-info .sec2-doctor-panel.is-active {
  display: block;
}
.sec2-doctor-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sec2-doctor-thumbs {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.sec2-thumb {
  width: 152px;
  aspect-ratio: 19/10;
  padding: 0;
  list-style: none;
  border: 2px solid transparent;
  overflow: hidden;
  background: none;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease;
  background-color: #e0e0e0;
}
.sec2-thumb:hover {
  background-color: #e0e0e081;
}
.sec2-thumb.is-active {
  border-color: #2cabe1;
  background-color: #fff;
}
.sec2-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sec2-doctor-name {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.sec2-doctor-name-ko {
  color: #333;
  font-size: 20px;
  font-weight: 700;
}
.sec2-doctor-name-ko b {
  color: #294989;
  font-size: 1.5em;
}

.sec2-doctor-name-en {
  color: #e0e0e0;
  font-size: 20px;
}
.sec2-doctor-name ::after {
  content: "";
  position: absolute;
  width: 50vw;
  height: 1px;
  bottom: 0;
  left: 0;
  display: block;
  background-color: #e0e0e0;
}
.sec2-doctor-career {
  color: #333;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 700;
}
.sec2-doctor-cert {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 18px;
  line-height: 1.7;
  margin-top: 20px;
  color: #333;
}
.sec2-doctor-cert li {
  position: relative;
  padding-left: 14px;
}
.sec2-doctor-cert li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #294989;
}
/* 둘러보기 */
.sec3 {
  background: url("../img/main-s3-bg.png") no-repeat 50% 50% / cover;
  background-attachment: fixed;
  position: relative;
}
.tour_swiper.swiper {
  overflow: visible;
  line-height: 0;
}
.tour_swiper .swiper-slide {
  width: auto;
  height: auto;
  line-height: 0;
  max-width: 60%;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 2px 2px 20px rgba(23, 37, 73, 0.25);
  position: relative;
  transition: opacity 0.3s ease;
  line-height: 0;
  aspect-ratio: 16/9;
}
.tour_swiper .swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #333;
  opacity: 0.5;
  border-radius: 30px;
  z-index: 1;
  line-height: 0;
  transition: opacity 0.3s ease;
}
.tour_swiper .swiper-slide-active::before {
  opacity: 0;
  line-height: 0;
}
.tour_swiper .swiper-slide img {
  position: relative;
  line-height: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sec3.page .swiper-scrollbar.tour_pagination {
  position: relative;
  margin-top: 60px;
  z-index: 2;
}
.sec3.page .swiper-scrollbar-drag {
  background: #00a1e9;
}

/* time_table */
.time_table {
  position: relative;
}
.time-table-top-box {
  border-radius: 40px;
  box-shadow: 2px 2px 20px rgba(134, 148, 186, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 40px;
}
.time-table-top-box .top-box {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px 30px;
  background: #f2f9ff;
  color: #003876;
  font-size: 28px;
}
.time-table-top-box .top-box b {
  font-weight: 700;
  display: block;
}
.time-table-top-box .top-box b i {
  background: #a8d0ff;
}
.time-table-top-box .top-box svg {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.time-table-top-box .bottom-box {
  padding: 20px 30px;
  background: #fff;
  font-size: 30px;
  font-weight: 700;
  text-align: center;
}
.time_table .main-title {
  position: relative;
  z-index: 2;
}
.time-table-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 20px;
}
.time-table-wrap:not(:last-child) {
  margin-bottom: 20px;
}
.time-table-left-wrap {
  flex: 7;
  border-radius: 30px;
  box-shadow: 0 0 18px 0 rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.time-table-left-wrap .root_daum_roughmap .cont .section.lst {
  display: none;
}
.time-table-left-wrap .root_daum_roughmap .wrap_controllers {
  display: none;
}
.time-table-left-wrap .root_daum_roughmap {
  width: 100%;
  height: 100%;
}
.time-table-left-wrap .root_daum_roughmap .wrap_map {
  height: 100%;
  min-height: 300px;
}
.time-table-right-wrap {
  flex: 5;
}
.time-table-left-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.time-table-box {
  padding: 40px;
  border-radius: 40px;
}
.time-table-box.time {
  background: #294989;
  color: #fff;
  height: 100%;
  position: relative;
}
.time-table-box.time::before {
  content: "";
  position: absolute;
  top: 40px;
  right: 40px;
  width: 50px;
  aspect-ratio: 1/1;
  background: url("../img/time-table-box-logo.png") no-repeat 100% 100% /
    contain;
}
.time-table-box.time .title {
  font-size: 30px;
  font-weight: 700;
}
.time-table-box .tel {
  font-size: 30px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  background: #fff;
  color: #294989;
  padding: 8px 30px;
}
.time-table-box .tel img {
  width: 1em;
  aspect-ratio: 1/1;
  object-fit: contain;
}
.time-table-box .time-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 20px 0;
  font-size: 28px;
}
.time-table-box .time-wrap li {
  display: flex;
  gap: 30px;
}
.time-table-box .time-wrap li span {
  width: 110px;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
}
.time-table-box .time-wrap-bottom {
  font-size: 18px;
  opacity: 0.7;
  margin-bottom: 30px;
}
.time-table-box.location {
  border: 2px solid #e0edfc;
  background: #fff;
  font-size: 20px;
}
.time-table-box.location .title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #2cabe1;
}
.time-table-box.location .title.bus {
  color: #294989;
  margin-top: 40px;
}
.time-table-box.location .title img {
  width: 1.8em;
  aspect-ratio: 1/1;
  object-fit: contain;
}
.time-table-box.location strong {
  display: block;
  font-weight: 700;
  margin-top: 10px;
}
.time-table-box.location i {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.7;
}
.time-table-box.location i::before {
  content: "·";
  margin-right: 5px;
  font-weight: 700;
}
/* 반응형 */

@media (min-width: 0px) and (max-width: 1520px) {
}
@media (min-width: 0px) and (max-width: 1280px) {
  .main-title {
    margin-bottom: 50px;
  }
  .main-title h2 {
    font-size: 50px;
  }
  .main-title .desc {
    margin-top: 10px;
  }
  .sec1-card .sec1-title {
    font-size: 30px;
  }
  .sec1-card ol {
    font-size: 18px;
    line-height: 1.7;
  }
  .time-table-top-box .top-box {
    gap: 10px;
    padding: 15px 20px;
    font-size: 22px;
  }
  .time-table-top-box .top-box svg {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
  }
  .time-table-top-box .bottom-box {
    padding: 15px 20px;
    font-size: 21px;
  }
  .time-table-box .time-wrap {
    font-size: 20px;
  }
}
@media (min-width: 0px) and (max-width: 1080px) {
}
@media (min-width: 0px) and (max-width: 900px) {
  .main-title {
    margin-bottom: 40px;
  }
  .main-title h2 {
    font-size: 45px;
  }
  .sec1_swiper .swiper-slide {
    position: relative;
  }
  .sec1-card .img-wrap {
    position: absolute;
    bottom: 10px;
    right: 10px;
    opacity: 0.5;
  }
  .sec1-card .num {
    font-size: 36px;
  }
  .sec2-doctor-tab {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sec2-doctor-main-inner {
    width: 70%;
    max-width: 400px;
    margin: 0 auto;
  }
  .sec2-thumb {
    width: 100px;
  }
  .time-table-top-box .top-box {
    align-items: flex-start;
  }
  .time-table-wrap {
    flex-direction: column;
  }
  .time-table-wrap:last-child {
    flex-direction: column-reverse;
  }
  .root_daum_roughmap .map {
    min-height: 300px;
  }
  .time-table-top-box .top-box svg {
    width: 30px;
    height: 30px;
  }
  .time-table-top-box .top-box {
    font-size: 20px;
  }
  .time-table-top-box .bottom-box {
    font-size: 17px;
  }
}

@media (min-width: 0px) and (max-width: 600px) {
  .main-title h2 {
    font-size: 8.5vw;
  }

  .main-title i {
    font-size: 4.3vw;
  }
  .main-title .desc {
    font-size: 4vw;
  }
  .sec1 .content_inner {
    width: 100%;
  }
  .sec1_swiper .swiper-pagination {
    margin-top: 20px;
    position: relative;
  }
  .sec1-card {
    padding: 28px 24px;
  }
  .sec1-card .sec1-title {
    font-size: 28px;
  }
  .sec1-card ol {
    font-size: 16px;
  }
  .sec1-card .num {
    font-size: 32px;
  }
  .sec2-doctor-main .sec2-doctor-img-wrap .bg-logo {
    right: -15%;
  }
  .sec2-doctor-name-ko {
    font-size: 4.5vw;
  }
  .sec2-doctor-name-en {
    font-size: 5vw;
  }
  .sec2-doctor-career {
    font-size: 4vw;
  }
  .sec2-doctor-cert {
    font-size: 3.7vw;
  }
  .sec3.page .swiper-scrollbar.tour_pagination {
    margin-top: 30px;
  }
  .tour_swiper .swiper-slide {
    border-radius: 16px;
  }
  .tour_swiper .swiper-slide::before {
    border-radius: 16px;
  }
  .time-table-top-box .top-box {
    font-size: 3.5vw;
    gap: 5px;
  }
  .time-table-top-box .bottom-box {
    font-size: 4vw;
  }
  .time-table-top-box .top-box svg {
    width: 5vw;
    height: 5vw;
  }
  .time-table-box {
    padding: 20px;
    border-radius: 20px;
  }
  .time-table-box.time::before {
    width: 30px;
    aspect-ratio: 1/1;
    top: 20px;
    right: 20px;
  }
  .time-table-box.time .title {
    font-size: 7vw;
  }
  .time-table-box.time .tel {
    font-size: 6vw;
    padding: 6px 20px;
  }
  .time-table-box .time-wrap {
    gap: 8px;
    margin: 10px 0;
    font-size: 4.2vw;
  }
  .time-table-box .time-wrap li span {
    width: 22vw;
  }
  .time-table-box .time-wrap-bottom {
    font-size: 3.8vw;
    margin-bottom: 10px;
  }
  .time-table-box.location .title {
    font-size: 6vw;
  }
  .time-table-box.location {
    padding: 20px;
    border-radius: 20px;
    font-size: 4vw;
  }
  .time-table-box.location i {
    font-size: 3.5vw;
  }
}
@media (min-width: 0px) and (max-width: 360px) {
}
