/* 메인 타이틀 */
.main-title {
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.main-title h2 {
  font-size: 40px;
}
.main-title h2 b {
  font-weight: 700;
}
.main-title h2 i {
  color: #004eb1;
  font-weight: 700;
}
.main-title h2 em {
  color: #358739;
  font-weight: 700;
}
.main-title h2 br {
  display: none;
}
.main-desc {
  font-size: 20px;
  margin-bottom: 20px;
}
.main-name {
  font-size: 16px;
  margin-bottom: 5px;
}
.main-name i {
  color: #004eb1;
}
.main-name em {
  color: #358739;
}
/* 병원소개 */
.sec1 {
  background: url("../img/sec1-bg.png") no-repeat 50% 50% / cover;
}
.sec1-content {
  position: relative;
}
.sec1-content ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.sec1-content li {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #042855 0%, #1757a8 100%);
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25);
}
.sec1-content li:nth-of-type(2),
.sec1-content li:nth-of-type(3) {
  background: linear-gradient(180deg, #214223 0%, #358739 100%);
}
.sec1-content li .bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  line-height: 0;
  z-index: 1;
  filter: brightness(0.5) contrast(1.2) saturate(1.2);
}
.sec1-content li .bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sec1-content li .inner {
  position: relative;
  max-width: 500px;
  z-index: 2;
  color: #fff;
  padding: 50px;
}
.sec1-content li:nth-of-type(2n) .inner {
  margin-left: auto;
  text-align: right;
}
.sec1-content li .inner .sec1-title {
  font-size: 30px;
  font-weight: 700;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 30px;
  opacity: 0.9;
}
.sec1-content li .inner .sec1-title i {
  font-size: 0.8em;
  font-weight: 400;
  display: block;
}
.sec1-content li .inner .sec1-desc {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}
.sec1-content li .inner .sec1-desc i {
  font-weight: 600;
}
/* 안쪽 박스·패딩 고정, 테두리 링만 커지며 흐려짐 (::before) */
@keyframes sec1BorderRipple {
  0% {
    transform: scale(1);
    opacity: 0.55;
    filter: blur(0);
  }
  100% {
    transform: scale(2);
    opacity: 0;
    filter: blur(12px);
  }
}

/* 원형 링: SVG stroke-dasharray → 시안처럼 작은 사각 도트 느낌 (CSS border dotted/dashed와 다름) */
.sec1-circle {
  /* stroke-dasharray 0 + round 캡 → 원을 따라 동그란 도트(구슬) */
  --sec1-dot-ring: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='47.5' fill='none' stroke='%23ffffff' stroke-width='3' stroke-dasharray='0 10' stroke-linecap='round'/%3E%3C/svg%3E");
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  box-sizing: border-box;
  border: none;
  padding: 22px;
  z-index: 3;
  overflow: visible;
}

.sec1-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 50%;
  box-sizing: border-box;
  border: none;
  background: var(--sec1-dot-ring) center / 100% 100% no-repeat;
  pointer-events: none;
  transform-origin: center center;
  animation: sec1BorderRipple 2.2s ease-out infinite;
}

/* 고정 도트 링 — 리플 위에 올려 선명하게 */
.sec1-circle::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 50%;
  box-sizing: border-box;
  pointer-events: none;
  background: var(--sec1-dot-ring) center / 100% 100% no-repeat;
}

.sec1-circle .box {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
  background: #fff;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .sec1-circle::before {
    animation: none;
    opacity: 0;
  }
}
.sec1-circle .os {
  color: #004eb1;
}
.sec1-circle .im {
  color: #358739;
}
/* 의료진소개 */
.sec2 {
  position: relative;
}
.sec2-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 1;
  /* 풀폭 배경에서 content_inner(95%, max 1280)의 7:5 분할선과 동일한 x 좌표 */
  --sec2-content-w: min(95vw, 1280px);
  --sec2-split-x: calc(
    (100% - var(--sec2-content-w)) / 2 + (var(--sec2-content-w) * 7 / 12)
  );
}
.sec2-bg .os {
  opacity: 0.18;
  background: #72abf8;
  flex: none;
  width: var(--sec2-split-x);
}
.sec2-bg .im {
  opacity: 0.18;
  background: #a9ea86;
  flex: 1;
}
.sec2-bg .logo-bg {
  background: url("../img/sec2-bg-logo.png") no-repeat 50% 50% / contain;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}
.sec2 .content_inner {
  position: relative;
  z-index: 3;
}
.sec2-wrap {
  display: flex;
}
.os-wrap {
  flex: 7;
}
.im-wrap {
  flex: 5;
}

.sec2-title {
  color: #004eb1;
  font-size: 24px;
  font-weight: 700;
}
.im-wrap .sec2-title {
  color: #358739;
}
.doctor-icon {
  width: 40px;
}
.im-wrap {
  box-sizing: content-box;
  justify-content: flex-end;
}
.os-wrap,
.im-wrap {
  display: flex;
  gap: 30px;
}
.os-doctor-wrap {
  width: 100%;
  display: flex;
  gap: 20px;
  padding-right: 30px;
}
.im-doctor-wrap {
  padding-left: 30px;
}
.doctor-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  max-width: 300px;
  min-height: 0;
  overflow: hidden;
  border-radius: 27px;
  box-shadow: 0 2.7px 6.3px 0 rgba(0, 0, 0, 0.2);
}
.doctor-box .doctor-img {
  background: #fff;
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  line-height: 0;
  overflow: hidden;
  padding: 10px 20px 0;
  aspect-ratio: 26 / 30;
}
.doctor-box .doctor-img img {
  width: 100%;
  object-fit: contain;
}
.doctor-box .box-bottom {
  background-color: #00316e;
  padding: 24px 20px;
  color: #fff;
  position: relative;
  flex: 1;
  margin-top: -1px;
}
.im-doctor-wrap .doctor-box .box-bottom {
  background-color: #144d00;
}
.doctor-box .box-bottom i {
  background-color: #e6eef9;
  color: #00316e;
  font-size: 16px;
  margin-bottom: 10px;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 50px;
  line-height: 1.35;
}
.im-doctor-wrap .doctor-box .box-bottom i {
  background-color: #e6f5e6;
  color: #144d00;
}
.doctor-box .box-bottom .doc-name {
  font-size: 30px;
  font-weight: 700;
}
.doctor-box .box-bottom .doc-desc {
  font-size: 24px;
  opacity: 0.8;
}
.doctor-box .box-bottom .more-view {
  position: absolute;
  bottom: 30px;
  right: 20px;
  line-height: 0;
  width: 30px;
}
/* sec3 / 통증부위 */
.sec3 {
  background: #fff url("../img/sec3-bg.png") no-repeat 50% 50% / cover;
  position: relative;
}
.sec3-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 1;
  /* 풀폭 배경에서 content_inner(95%, max 1280)의 7:5 분할선과 동일한 x 좌표 */
  --sec2-content-w: min(95vw, 1280px);
  --sec2-split-x: calc(
    (100% - var(--sec2-content-w)) / 2 + (var(--sec2-content-w) * 7 / 12)
  );
}
.sec3-bg .os {
  opacity: 0.18;
  background: linear-gradient(180deg, #72abf8 40%, #fff 90%);
  flex: none;
  width: var(--sec2-split-x);
}
.sec3-bg .im {
  opacity: 0.18;
  background: linear-gradient(180deg, #a9ea86 40%, #fff 90%);
  flex: 1;
}
.sec3-wrap {
  display: flex;
}
.sec3-os-wrap {
  flex: 7;
}
.sec3-im-wrap {
  flex: 5;
}
.sec3 .content_inner {
  position: relative;
  z-index: 3;
}
.sec3-os-wrap,
.sec3-im-wrap {
  display: flex;
  gap: 20px;
}
.human-wrap {
  line-height: 0;
  position: relative;
  max-width: 300px;
}
.human-wrap-text {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  line-height: 1;
  z-index: 1;
  font-size: 15px;
  color: #757575;
  white-space: nowrap;
  opacity: 0.8;
}
.btn-wrap {
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.btn-wrap a {
  min-width: 160px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 18px;
  color: #fff;
  padding: 6px 20px;
  border-radius: 50px;
  background: #004eb1;
  transition: background 0.3s ease;
  &:hover {
    background: #00316e;
  }
}
.btn-wrap a b {
  font-weight: 600;
}
.btn-wrap a svg {
  width: 1em;
  aspect-ratio: 1/1;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.btn-wrap a:hover svg {
  transform: translateX(5px);
}
.btn-wrap a.is-active {
  background: #00316e;
}
.btn-wrap a.is-active svg {
  transform: translateX(5px);
}
.btn-wrap a.w {
  background: #fff;
  color: #004eb1;
  border: 1px solid #004eb1;
  &:hover {
    background: #004eb1;
    color: #fff;
  }
}
.btn-wrap a.w:hover svg {
  transform: translateX(0px) rotate(180deg);

  & path {
    stroke: #fff;
    fill: #fff;
  }
}
.btn-wrap a.w.is-active {
  background: #004eb1;
  color: #fff;
}
.btn-wrap a.w.is-active svg {
  transform: translateX(0px) rotate(180deg);
}
.btn-wrap a.w.is-active path {
  stroke: #fff;
  fill: #fff;
}
.sec3-im-wrap .btn-wrap a {
  background: #358739;
}
.sec3-im-wrap .btn-wrap a:hover {
  background: #144d00;
}
.sec3-im-wrap .btn-wrap a:hover svg {
  transform: translateX(-5px);
}
.sec3-im-wrap .btn-wrap a.is-active {
  background: #144d00;
}
.sec3-im-wrap .btn-wrap a.is-active svg {
  transform: translateX(-5px);
}
.sec3-im-wrap .btn-wrap a.w {
  background: #fff;
  color: #358739;
  min-width: 200px;
  border: 1px solid #358739;
  &:hover {
    background: #358739;
    color: #fff;
  }
}
.sec3-im-wrap .btn-wrap a.w:hover svg {
  transform: translateX(0px) rotate(180deg);

  & path {
    stroke: #fff;
    fill: #fff;
  }
}
.sec3-im-wrap .btn-wrap a.w.is-active {
  background: #358739;
  color: #fff;
}
.sec3-im-wrap .btn-wrap a.w.is-active svg {
  transform: translateX(0px) rotate(180deg);
}
.sec3-im-wrap .btn-wrap a.w.is-active path {
  stroke: #fff;
  fill: #fff;
}
/* 통증부위 핀 */
.pin-wrap a {
  display: inline-block;
  position: absolute;
  /* top/left는 '왼쪽 위' 기준 — translate(-50%,-50%) 넣으면 예전에 맞춘 % 값 전부 틀어짐 */
  transform-origin: 50% 85%;
  transition:
    transform 0.28s ease,
    opacity 0.25s ease,
    filter 0.28s ease;
  animation: pinScale 3s linear infinite;
  max-width: 60px;
  cursor: pointer;
  transform: scale(1);
  z-index: 1;
  isolation: isolate;
}
/* 링 + 글로우(활성 시 눈에 잘 띄게) */
.pin-wrap a::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100% + 22px);
  height: calc(100% + 22px);
  min-width: 44px;
  min-height: 44px;
  transform: translate(-50%, -50%) scale(1);
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 0 5px rgba(0, 78, 177, 0.35),
    0 0 28px rgba(0, 161, 233, 0.65),
    0 6px 18px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}
.pin-wrap.im a::after {
  box-shadow:
    0 0 0 5px rgba(53, 135, 57, 0.4),
    0 0 28px rgba(74, 222, 128, 0.45),
    0 6px 18px rgba(0, 0, 0, 0.22);
}
.pin-wrap a:hover::after {
  opacity: 0.85;
}
@keyframes pinScale {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.78);
  }
}
.pin-wrap .neck {
  top: 12%;
  left: 40%;
}
.pin-wrap .shoulder {
  top: 17%;
  left: 19%;
}
.pin-wrap .waist {
  top: 34%;
  left: 40%;
}
.pin-wrap .elbow {
  top: 30%;
  left: 65%;
}
.pin-wrap .wrist {
  top: 44%;
  left: 8%;
}
.pin-wrap .hip {
  top: 44%;
  left: 27%;
}
.pin-wrap .knee {
  top: 64%;
  left: 49%;
}
.pin-wrap .ankle {
  top: 87%;
  left: 33%;
}
.pin-wrap.im .digestive {
  top: 29%;
  left: 44%;
  max-width: 100px;
}
.pin-wrap.im .respiratory {
  top: 6%;
  left: 41%;
}
.pin-wrap a.is-active {
  transform: scale(1.28);
  z-index: 4;
  animation: none;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}
.pin-wrap a.is-active::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.08);
}
.pin-wrap a.is-active img {
  filter: brightness(1.12) contrast(1.08)
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.9));
}
.pin-wrap a.is-dim {
  opacity: 0.5;
}
[data-pain-group].has-active .pin-wrap a:not(.is-active) {
  opacity: 0.5;
}

/* 통증부위(sec3) 아래 흐르는 텍스트 */

.sec3-marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #eee;
  font-size: min(128px, 10vw);
  font-weight: 900;
  opacity: 0.4;
  line-height: 0.85;
}
.sec3-marquee__track {
  display: flex;
  width: max-content;
  animation: sec3Marquee 102s linear infinite;
}
.sec3-marquee__text {
  flex: 0 0 auto;
  white-space: nowrap;
}
@keyframes sec3Marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sec3-marquee__track {
    animation: none;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
  }
  .sec3-marquee__text {
    padding-right: 1rem;
  }
  .sec3-marquee__text:last-child {
    display: none;
  }
}
/* sec4/둘러보기 */
.sec4 {
  background: #fff;
  position: relative;
}
.sec4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  opacity: 0.8;
  background: linear-gradient(270deg, #e8f5f1 0%, #edf7ff 70%);
}
.tour-swiper .swiper-wrapper .swiper-slide {
  width: min(55%, 600px);
  line-height: 0;
}
.tour-pagination.swiper-pagination {
  position: relative;
  margin-top: 40px;
}
.tour-pagination .swiper-pagination-bullet-active {
  background: #2a2e33;
}

/* time_table */
.time_table {
  position: relative;
  background: url("../img/time-table-bg.png") no-repeat 50% 50% / cover;
  background-attachment: fixed;
}
.time-table-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.time-table-map-wrap {
  width: 100%;
  height: 300px;
  border-radius: 30px;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.time-table-map-wrap .root_daum_roughmap {
  width: 100%;
  height: 100%;
}
.time-table-text-wrap {
  width: 100%;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.time-table-text-wrap .box {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25);
  overflow: hidden;
  padding: 30px;
}
.time-table-text-wrap .address-box {
  background: #f4f4f4;
  & .box-title {
    background: #4a4a4a;
  }
}
.time-table-text-wrap .os-time-box {
  background: #f5f8ff;
  & .box-title {
    background: #004eb1;
  }
}
.time-table-text-wrap .im-time-box {
  background: #f6fbf2;
  & .box-title {
    background: #358739;
  }
}
.box .box-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  border-radius: 50px;
  padding: 6px 20px;
  color: #fff;
  margin-bottom: 20px;
}
.box .box-title img {
  width: 1.2em;
  aspect-ratio: 1/1;
  object-fit: contain;
  flex-shrink: 0;
  line-height: 0;
}
.box address {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 30px;
}
.time-table-text-wrap .box .tel-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 34px;
  font-weight: 700;
  background: #4a4a4a;
  padding: 6px 20px;
  border-radius: 50px;
  color: #fff;
}
.time-table-text-wrap .box .tel-box img {
  width: 1.2em;
  aspect-ratio: 1/1;
  object-fit: contain;
  flex-shrink: 0;
  line-height: 0;
}
.time-table-text-wrap .box .time-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 20px;
}
.time-table-text-wrap .box .time-list li {
  display: flex;
  position: relative;
  padding-left: 15px;
}
.time-table-text-wrap .box .time-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #004eb1;
}
.time-table-text-wrap .box .time-list li em {
  display: flex;
  gap: 10px;
}
.time-table-text-wrap .box .time-list li em > span:first-child {
  display: flex;
  justify-content: space-between;
  width: 100px;
  flex-shrink: 0;
  font-weight: 700;
}
.time-table-text-wrap .box .time-list .night {
  display: inline-flex;
  gap: 10px;
  background: #00316e;
  padding: 1px 10px;
  border-radius: 50px;
  color: #fff;
  & b {
    color: #fff;
  }
}
.time-table-text-wrap .box .time-list .night-txt {
  font-size: 16px;
  color: #ffe355;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.time-table-text-wrap .box .time-list .night-txt img {
  width: 1.2em;
  aspect-ratio: 1/1;
  object-fit: contain;
  flex-shrink: 0;
  line-height: 0;
}
.time-table-text-wrap .os-time-box.box .time-list li em > span:first-child {
  color: #004eb1;
}
.box.os-time-box b {
  color: #004eb1;
}
.box.im-time-box b {
  color: #358739;
}
.time-table-text-wrap .box.im-time-box .time-list li::before {
  background: #358739;
}
.time-table-text-wrap .im-time-box.box .time-list span {
  color: #358739;
}
.time-table-text-wrap .box .time-list .lunch span {
  color: #333;
}
.time-table-text-wrap .box .etc {
  font-size: 16px;
  color: #333;
  opacity: 0.7;
  margin-top: 20px;
}
.time-table-button-wrap {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 20px;
}
.time-table-button-wrap a {
  display: inline-flex;
  padding: 10px 40px;
  justify-content: center;
  align-items: center;
  gap: 20px;
  color: #757575;
  font-size: 20px;
  font-weight: 500;
  border-radius: 50px;
  background: #fff;
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
}
.time-table-button-wrap a img {
  width: 1.3em;
  aspect-ratio: 1/1;
  object-fit: contain;
  flex-shrink: 0;
  line-height: 0;
}
/* 버스/자동차 안내 */
.time_table .bus-car-wrap,
.m1_5 .bus-car-wrap {
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2);
  padding: 30px;
  display: flex;
}
.time_table .bus-wrap,
.m1_5 .bus-wrap {
  width: 100%;
  padding-right: 30px;
  border-right: 1px solid rgba(117, 117, 117, 0.4);
}
.time_table .bus-car-wrap .box-title,
.m1_5 .bus-car-wrap .box-title {
  background: #00316e;
}
.time_table .car-wrap,
.m1_5 .car-wrap {
  padding-left: 30px;
  width: 100%;
}
.time_table .bus-car-body,
.m1_5 .bus-car-body {
  font-size: 18px;
  color: #555;
}
.time_table .bus-route:last-of-type,
.m1_5 .bus-route:last-of-type {
  margin-top: 10px;
}
.time_table .bus-route__stop strong,
.m1_5 .bus-route__stop strong {
  color: #00316e;
  font-weight: 700;
}
.time_table .bus-route__buses,
.m1_5 .bus-route__buses {
  padding-left: 0.35em;
  position: relative;
}
.time_table .bus-route__buses::before,
.m1_5 .bus-route__buses::before {
  content: "•";
  margin-right: 0.35em;
  color: #555;
  font-weight: 700;
}
.time_table .bus-route__buses-label,
.m1_5 .bus-route__buses-label {
  font-weight: 700;
}
.time_table .car-nav__lead,
.m1_5 .car-nav__lead {
  font-size: 18px;
  color: #555;
  line-height: 1.3;
}
.time_table .car-nav__lead strong,
.m1_5 .car-nav__lead strong {
  color: #00316e;
  font-weight: 700;
}
.time_table .car-parking,
.m1_5 .car-parking {
  margin-top: 20px;
}
.time_table .car-parking__row,
.m1_5 .car-parking__row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.time_table .car-parking__badge,
.m1_5 .car-parking__badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  aspect-ratio: 1/1;
  padding: 8px;
  border-radius: 10px;
  background: #00316e;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-align: center;
}
.time_table .car-parking__badge-line,
.m1_5 .car-parking__badge-line {
  display: block;
}
.time_table .car-parking__list,
.m1_5 .car-parking__list {
  margin: 0;
  padding: 0 0 0 1.15em;
  list-style: disc;
  color: #00316e;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.02em;
}
.time_table .car-parking__foot,
.m1_5 .car-parking__foot {
  margin-top: 10px;
  font-size: 18px;
  color: #555;
}
.only-mo {
  display: none !important;
}
.only-pc {
  display: block !important;
}

/* 반응형 */

@media (min-width: 0px) and (max-width: 1520px) {
}
@media (min-width: 0px) and (max-width: 1320px) {
  .main-desc {
    margin-bottom: 8px;
  }
  .main-title {
    margin-bottom: 60px;
  }
  .main-title h2 {
    font-size: 36px;
  }
  .sec1-circle {
    width: 160px;
    padding: 8px;
  }
  .sec1-content li .inner {
    width: 90%;
    padding: 30px;
  }
  .sec1-content li .inner .sec1-title {
    font-size: 28px;
    padding-bottom: 10px;
    margin-bottom: 20px;
  }
  .sec1-content li .inner .sec1-desc {
    font-size: 17px;
  }
  .sec3-os-wrap {
    padding-right: 20px;
  }
  .sec3-im-wrap {
    padding-left: 20px;
  }
  .time-table-text-wrap .box .tel-box {
    font-size: 24px;
  }
  .time-table-text-wrap .box {
    padding: 30px 20px;
  }
  .doctor-box .box-bottom {
    padding: 20px 16px;
  }
  .doctor-box .box-bottom i {
    font-size: 14px;
  }
  .doctor-box .box-bottom .doc-desc {
    font-size: 20px;
  }
  .doctor-box .box-bottom .doc-name {
    font-size: 24px;
  }
  .time-table-text-wrap .box .time-list {
    font-size: 18px;
  }
  .time-table-text-wrap .box .time-list li em > span:first-child {
    width: 90px;
  }
}
@media (min-width: 0px) and (max-width: 1100px) {
  .time_table .bus-car-wrap,
  .m1_5 .bus-car-wrap {
    border-radius: 30px 20px;
  }
  .time_table .bus-wrap,
  .m1_5 .bus-wrap {
    padding-right: 20px;
  }
  .time_table .car-wrap,
  .m1_5 .car-wrap {
    padding-left: 20px;
  }
}
@media (min-width: 0px) and (max-width: 1080px) {
  .main-title {
    margin-bottom: 48px;
  }
  .main-title h2 {
    font-size: 32px;
  }
  .main-desc {
    font-size: 18px;
  }
  .sec2-wrap {
    flex-direction: column;
    gap: 60px;
  }
  .os-wrap {
    flex: 1;
  }
  .im-wrap {
    flex: 1;
    justify-content: flex-start;
  }
  .sec2-bg {
    --sec2-split-x: 100%;
    background: linear-gradient(
      to bottom,
      rgba(114, 171, 248, 0.18) 30%,
      rgba(169, 234, 134, 0.18) 100%
    );
  }
  .sec2-bg .os {
    opacity: 0;
  }
  .sec2-bg .logo-bg {
    background-size: cover;
  }
  .im-doctor-wrap {
    padding-left: 0px;
  }
  .os-doctor-wrap {
    padding-right: 0px;
    width: auto;
  }
  .os-wrap,
  .im-wrap {
    width: 100%;
    justify-content: space-between;
  }
  .sec2-title {
    font-size: 28px;
  }
  .sec2-title br {
    display: none;
  }
  /* sec3 */
  .sec3-bg {
    --sec2-split-x: 100%;
    background: linear-gradient(
      to bottom,
      rgba(114, 171, 248, 0.18) 30%,
      rgba(169, 234, 134, 0.18) 100%
    );
  }
  .sec3-bg .os {
    opacity: 0;
  }
  .sec3-wrap {
    flex-direction: column;
    gap: 40px;
  }
  .sec3-os-wrap,
  .sec3-im-wrap {
    justify-content: center;
    flex: 1;
  }
  .sec3-im-wrap {
    padding-left: 200px;
  }
  /* 진료시간 카드: 주소 1행 전체 → 정형외과·내과 2열 */
  .time-table-text-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .time-table-text-wrap .address-box {
    grid-column: 1 / -1;
  }
  .time-table-button-wrap a {
    padding: 8px 30px;
    gap: 15px;
    font-size: 18px;
  }
}
@media (min-width: 0px) and (max-width: 900px) {
  .main-title h2 {
    font-size: 28px;
  }
  .sec1-content li .inner {
    width: 90%;
    padding: 24px;
  }
  .sec1-content ul {
    gap: 12px;
  }
  .sec1-content li .inner .sec1-desc {
    font-size: 16px;
  }
  .sec1-content li .inner .sec1-title {
    font-size: 24px;
    padding-bottom: 7px;
    margin-bottom: 14px;
  }
  .sec2-title {
    width: 25%;
  }

  .im-doctor-wrap,
  .os-doctor-wrap {
    width: 75%;
  }
  .doctor-box {
    width: 48%;
  }
  .doctor-box .box-bottom .more-view {
    bottom: 20px;
    right: 10px;
    width: 22px;
  }
  .btn-wrap {
    gap: 18px;
  }
  .btn-wrap a {
    min-width: 150px;
    gap: 8px;
    font-size: 17px;
  }
}

@media (min-width: 0px) and (max-width: 768px) {
  .sec3-im-wrap {
    padding-left: 0;
  }
  .time_table .bus-car-wrap,
  .m1_5 .bus-car-wrap {
    flex-direction: column;
  }
  .time_table .bus-wrap,
  .m1_5 .bus-wrap {
    padding-right: 0;
    padding-bottom: 20px;
    border-right: none;
    border-bottom: 1px solid rgba(117, 117, 117, 0.4);
  }
  .time_table .car-wrap,
  .m1_5 .car-wrap {
    padding-left: 0;
    padding-top: 20px;
  }
  .time-table-text-wrap {
    grid-template-columns: 1fr;
  }
  .main-title h2 br {
    display: block;
  }
}
@media (min-width: 0px) and (max-width: 640px) {
  .time_table .bus-car-wrap,
  .m1_5 .bus-car-wrap {
    padding: 20px 12px;
  }
  .time_table .car-parking__list,
  .m1_5 .car-parking__list {
    font-size: min(14px, 4vw);
  }
  .time_table .car-parking__badge,
  .m1_5 .car-parking__badge {
    flex-direction: row;
    aspect-ratio: auto;
  }
  .time_table .car-parking__row,
  .m1_5 .car-parking__row {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (min-width: 0px) and (max-width: 600px) {
  .main-desc {
    font-size: min(16px, 4vw);
  }
  .main-title {
    margin-bottom: 36px;
  }
  .main-name {
    font-size: min(14px, 3vw);
  }
  .main-title h2 {
    font-size: min(30px, 7vw);
  }
  .sec1-content ul {
    grid-template-columns: 1fr;
  }
  .sec1-circle {
    display: none;
  }

  .sec1-content li:nth-of-type(2),
  .sec1-content li:nth-of-type(4) {
    background: linear-gradient(180deg, #214223 0%, #358739 100%);
  }
  .sec1-content li:nth-of-type(1),
  .sec1-content li:nth-of-type(3) {
    background: linear-gradient(180deg, #042855 0%, #1757a8 100%);
  }
  .sec1-content li:nth-of-type(2n) .inner {
    margin-left: 0;
    text-align: left;
  }
  .sec1-content li .inner .sec1-title {
    font-size: min(24px, 6vw);
    padding-bottom: 7px;
  }
  .sec1-content li .inner .sec1-desc {
    font-size: min(16px, 4vw);
  }
  .sec1-content li .inner {
    padding: 30px 20px;
  }
  .sec1-content li .inner .sec1-title {
    font-size: min(24px, 6vw);
    padding-bottom: 7px;
    margin-bottom: 14px;
  }
  .sec1-content li .inner .sec1-desc {
    font-size: min(16px, 4vw);
  }
  .sec1-content li .inner {
    padding: 30px 20px;
  }
  .os-wrap,
  .im-wrap {
    flex-direction: column;
  }
  .im-doctor-wrap,
  .os-doctor-wrap {
    width: 100%;
  }
  .sec2-title {
    width: 100%;
  }
  .doctor-box .box-bottom i {
    font-size: min(14px, 3vw);
  }
  .doctor-box .box-bottom .doc-name {
    font-size: min(20px, 5vw);
  }
  .doctor-box .box-bottom .doc-desc {
    font-size: min(16px, 4vw);
  }
  .im-doctor-wrap .doctor-box .box-bottom i {
    border-radius: 8px;
  }
  .doctor-box .box-bottom {
    padding: 20px 10px;
  }
  .doctor-box .doctor-img {
    padding: 10px 10px 0;
  }
  .doctor-box {
    border-radius: 14px;
  }
  .only-pc {
    display: none !important;
  }
  .only-mo {
    display: flex !important;
    flex-direction: row-reverse;
  }
  .sec3-os-wrap {
    padding-right: 0;
  }
  .sec3-im-wrap,
  .sec3-os-wrap {
    align-items: flex-start;
    gap: 0;
  }
  .btn-wrap {
    gap: 12px;
  }
  .btn-wrap a {
    font-size: min(15px, 4vw);
    min-width: 120px;
    padding: 6px 10px;
  }
  .sec3-im-wrap .btn-wrap a.w {
    min-width: 155px;
  }
  .pin-wrap a {
    max-width: 48px;
  }
  .pin-wrap.im .digestive {
    max-width: 70px;
  }
  .time-table-text-wrap .box {
    padding: 20px 20px;
  }
  .box .box-title {
    font-size: min(22px, 5vw);
    padding: 3px 15px 3px 10px;
    margin-bottom: 10px;
    gap: 8px;
  }
  .time-table-text-wrap .box address {
    font-size: min(18px, 4.5vw);
    margin-bottom: 20px;
  }
  .time-table-text-wrap .box .tel-box {
    font-size: min(20px, 4.5vw);
    padding: 5px 15px 3px 10px;
    gap: 8px;
  }
  .time-table-text-wrap .box .time-list {
    font-size: min(18px, 4.5vw);
    gap: 6px;
  }
  .time-table-text-wrap .box .time-list .night-txt {
    font-size: min(16px, 4vw);
    gap: 4px;
  }
  .time-table-text-wrap .box .time-list .night-txt img {
    width: 1em;
  }
  .time-table-text-wrap .box .etc {
    font-size: min(16px, 4vw);
    margin-top: 10px;
  }
  .time-table-text-wrap .box .time-list li em > span:first-child {
    width: min(80px, 21vw);
  }
  .time-table-button-wrap {
    gap: 4vw;
  }
  .time-table-button-wrap a {
    padding: 6px 4vw;
    gap: 4vw;
    font-size: min(14px, 3.5vw);
  }
  .human-wrap-text {
    font-size: min(14px, 3.5vw);
  }
}
@media (min-width: 0px) and (max-width: 340px) {
  .btn-wrap {
    padding-top: 20px;
  }
  .btn-wrap a {
    min-width: 33vw;
  }
  .sec3-im-wrap .btn-wrap a.w {
    min-width: 43vw;
  }
}
