.hero {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background: var(--brand-500);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.3);
  animation: hero-bg-zoom ease-out 1s forwards;
}

.hero-text {
  position: absolute;
  top: 100px;
  height: calc(100% - 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

.hero-text-left {
  left: 0;
  align-items: flex-start;
  padding-left: min(6.25vw, 120px);
  transform: translateX(60%);
  animation-name: hero-spread-left;
}

.hero-text-right {
  right: 0;
  align-items: flex-end;
  text-align: right;
  padding-right: min(6.25vw, 120px);
  transform: translateX(-60%);
  animation-name: hero-spread-right;
}

.hero-year {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.hero-year-ghost-wrap {
  position: relative;
  width: clamp(309px, 24.1667vw, 464px);
}

.hero-year-ghost-wrap picture {
  display: contents;
}

.hero-year-ghost {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
}

.hero-year-ghost-blur {
  position: absolute;
  inset: 0;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.hero-text-left .hero-year-ghost-blur {
  -webkit-mask-image: url(../img/main/img-main-from.png);
  mask-image: url(../img/main/img-main-from.png);
}

.hero-text-right .hero-year-ghost-blur {
  -webkit-mask-image: url(../img/main/img-main-to.png);
  mask-image: url(../img/main/img-main-to.png);
}

.hero-year-number {
  font-weight: 900;
  font-size: var(--font-182);
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero-text-right .hero-year-number {
  letter-spacing: -0.03em;
}

.hero-caption {
  font-weight: 800;
  font-size: var(--font-30);
  text-transform: uppercase;
  color: var(--white);
}

.hero-center {
  position: absolute;
  left: 50%;
  top: calc(50% + 50px);
  transform: translate(-50%, -50%);
  width: 37.29%;
  aspect-ratio: 716 / 312;
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.4));
}

.hero-center-illustration {
  position: absolute;
  left: 50%;
  top: 0;
  width: 69.54%;
  aspect-ratio: 494 / 308;
  opacity: 0;
  transform: translateX(-50%) scale(0.85);
  animation: hero-illustration-in ease-out 1s forwards;
}

.hero-center-illustration-mo {
  display: none;
}

.hero-center-line {
  position: absolute;
  top: 50.64%;
  width: 18.44%;
  height: auto;
  opacity: 0;
  transform: scaleX(0);
  animation: hero-line-in 0.5s ease-out 1s forwards;
}

.hero-center-line-left {
  left: 0;
  transform-origin: right center;
}

.hero-center-line-right {
  right: 0;
  transform-origin: left center;
}

.hero-center-bubble {
  position: absolute;
  left: 50%;
  top: 4.49%;
  width: 39.8%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-align: center;
  opacity: 0;
  transform: translateX(-50%) scale(0.7);
  animation: hero-bubble-in 0.5s ease-out 1s forwards;
}

.hero-center-bubble-text {
  font-weight: 600;
  font-size: var(--font-24);
  line-height: 1.333;
  text-transform: uppercase;
  color: var(--white);
}

@keyframes hero-bg-zoom {
  to {
    transform: scale(1);
  }
}

@keyframes hero-spread-left {
  to {
    transform: translateX(0);
  }
}

@keyframes hero-spread-right {
  to {
    transform: translateX(0);
  }
}

@keyframes hero-illustration-in {
  to {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

@keyframes hero-line-in {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes hero-bubble-in {
  to {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

.intro {
  padding: min(6.66vw, 128px) 0;
  background: var(--white);
  overflow: hidden;
}

.intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: min(3.33vw, 64px);
  width: 87.5%;
  max-width: 1680px;
  margin: 0 auto;
}

.intro-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
}

.intro-counter {
  font-weight: 600;
  font-size: var(--font-16);
  line-height: 1.375;
  color: #b5b5b5;
}

.intro-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(94, 94, 94, 0.1);
  transition: 0.3s ease;
}
.intro-toggle:hover {
background-color: rgba(94, 94, 94, 0.25);
}

.intro-toggle-icon {
  width: 17.755px;
  height: 17.755px;
}

.intro-toggle-icon-play {
  display: none;
}

.intro-toggle[data-state="paused"] .intro-toggle-icon-pause {
  display: none;
}

.intro-toggle[data-state="paused"] .intro-toggle-icon-play {
  display: block;
}

.intro-body {
  display: flex;
  align-items: flex-start;
  gap: min(2.76vw, 53px);
  width: 100%;
}

.intro-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 0 0 clamp(280px, 22.4vw, 430px);
}

.intro-heading {
  font-weight: 800;
  font-size: var(--font-50);
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--brand-point-sky-blue);
}

.intro-desc {
  font-weight: 500;
  font-size: var(--font-20);
  line-height: 1.5;
  letter-spacing: -0.2px;
  color: #5e5e5e;
}

.intro-swiper {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  aspect-ratio: 1228.5 / 499.4;
  overflow: visible;
}

.intro-swiper .swiper-wrapper {
  height: 100%;
}

.intro-swiper .swiper-slide {
  opacity: 0;
}

.intro-cards {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.intro-card {
  position: absolute;
  overflow: hidden;
  box-shadow: 4px 0 12px 0 rgba(0, 0, 0, 0.2);
  transition: left 0.6s ease, right 0.6s ease, top 0.6s ease, bottom 0.6s ease,
    width 0.6s ease, height 0.6s ease, border-radius 0.6s ease, box-shadow 0.6s ease;
}

.intro-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0));
}

.intro-card[data-role="front"] {
  left: 0;
  top: 0;
  bottom: 0;
  width: 63.22%;
  z-index: 3;
  border-radius: clamp(18px, 1.39vw, 27px);
}

.intro-card[data-role="mid"] {
  left: 42.08%;
  top: 7.5%;
  bottom: 7.5%;
  width: 44.02%;
  z-index: 2;
  border-radius: clamp(14px, 1.07vw, 20px);
}

.intro-card[data-role="back"] {
  left: 68.7%;
  top: 15%;
  bottom: 15%;
  width: 31.29%;
  z-index: 1;
  border-radius: clamp(10px, 0.82vw, 16px);
}

.intro-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.intro-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #efefef;
  transition: 0.3s ease;
}
.intro-nav:hover {
    background-color: #d3d3d3;
}
.intro-nav img {
  width: 26.633px;
  height: 26.633px;
}

.intro-controls .intro-pagination {
  position: static;
  display: flex;
  align-items: center;
  gap: 11px;
  width: auto;
}

.intro-controls .intro-pagination .swiper-pagination-bullet {
  width: 6.658px;
  height: 6.658px;
  margin: 0;
  border-radius: 37235380px;
  background: #efefef;
  opacity: 1;
  transition: width 0.3s ease, background 0.3s ease;
}

.intro-controls .intro-pagination .swiper-pagination-bullet-active {
  width: 62.143px;
  background: #c7c7c7;
}

/* 섹션 전체 높이 300vh 중 100vh 는 화면에 고정(핀)되고,
   남는 200vh 를 스크롤하는 동안 나침반 회전 + 사진 이동이 진행된다. */
.compass {
  position: relative;
  height: 300vh;
}

.compass-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #1c1c1c;
}

/* compass_bg 는 이미 어둡게 합성된 상태로 내려온 이미지라 별도 오버레이를 씌우지 않는다. */
.compass-bg {
  display: block;
  position: absolute;
  inset: 0;
}

.compass-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compass-inner {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.compass-text {
  position: absolute;
  left: 0;
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* 나침반(중앙 472px)이 시작되는 지점까지만 쓴다 — 좁은 화면에서 겹치지 않게. */
  max-width: min(37.7vw, 724px);
  padding-left: min(6.25vw, 120px);
  transform: translateY(-50%);
}

.compass-heading {
  font-weight: 800;
  font-size: var(--font-55);
  line-height: 1.2;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #f3bb02;
}

.compass-desc {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compass-desc p {
  font-weight: 500;
  font-size: var(--font-22);
  line-height: 1.6;
  letter-spacing: -0.05em;
  color: var(--white);
}

.compass-dial {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(24.58vw, 48.16vh, 472px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.compass-dial-frame {
  width: 100%;
  height: 100%;
}

/* 33 x 152 원본 비율을 나침반(472) 기준 퍼센트로 고정한다. */
.compass-dial-pointer {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6.9915%;
  height: 32.2034%;
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: center;
}

.compass .compass-track {
  position: absolute;
  top: 0;
  right: min(11.67vw, 224px);
  width: min(26.04vw, 500px);
  overflow: visible;
}

/* JS 가 잡아주기 전까지는 화면 아래(시작 위치)에 숨어 있는다. */
.compass-track .swiper-wrapper {
  display: flex;
  flex-direction: column;
  gap: min(1.98vw, 38px);
  height: auto;
  transform: translate3d(0, 100vh, 0);
  will-change: transform;
}

.compass .compass-slide {
  overflow: hidden;
  border-radius: clamp(10px, 0.83vw, 16px);
  aspect-ratio: 500 / 270;
  /* 벤더 swiper 의 transform 트랜지션이 PC 세로 이동에 끼어들지 않게 막는다. */
  transition: none;
}

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

.compass-more {
  position: absolute;
  left: 50%;
  top: 90.1%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  background-color: #f3bb02;
  font-weight: 600;
  font-size: var(--font-22);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--white);
  transform: translateX(-50%);
  transition: 0.3s ease;
}
.compass-more:hover {
    background-color: #d9a600;
}
.compass-more img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.mission {
  background: url(../img/main/img-mission-bg.png) center / cover no-repeat;
}

.mission-inner {
  display: flex;
  flex-direction: column;
  width: 87.5%;
  max-width: 1680px;
  margin: 0 auto;
  padding: min(6.25vw, 120px) 0;
}

.mission-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 1.25vw, 24px);
  margin-bottom: min(6.25vw, 120px);
}

.mission-eyebrow {
  font-weight: 500;
  font-size: var(--font-22);
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #5e5e5e;
}

.mission-heading {
  font-weight: 800;
  font-size: var(--font-72);
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--brand-point-sky-blue);
}

.mission-lead {
  font-weight: 700;
  font-size: var(--font-44);
  line-height: 1.3;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #5e5e5e;
}

.mission-slider-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: min(1.04vw, 20px);
  width: fit-content;
  margin-left: auto;
}

.mission-nav {
  position: absolute;
  top: 50%;
  width: clamp(40px, 3.33vw, 64px);
  height: clamp(40px, 3.33vw, 64px);
  padding: 0;
  border: none;
  background: none;
}

.mission-nav-prev {
  left: -20px;
  transform: translate(-100%, -50%);
}

.mission-nav-next {
  right: -20px;
  transform: translate(100%, -50%);
}

.mission-nav picture {
  display: contents;
}

.mission-nav img {
  display: block;
  width: 100%;
  height: 100%;
}

.mission-nav-prev img {
  transform: rotate(180deg);
}

.mission-swiper {
  position: relative;
  flex: 0 1 clamp(663px, 51.77vw, 994px);
  aspect-ratio: 994 / 557;
  border-radius: clamp(11px, 0.83vw, 16px);
  overflow: hidden;
  margin-left: 0;
  margin-right: 0;
}

.mission-swiper .swiper-wrapper,
.mission-swiper .swiper-slide {
  height: 100%;
}

.mission-slide-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-swiper .mission-pagination {
  position: absolute;
  left: 0;
  right: 0;
  top: auto;
  bottom: clamp(12px, 1.09vw, 21px);
  width: auto;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.mission-swiper .mission-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0;
  border-radius: 999px;
  background: var(--white);
  opacity: 1;
  transition: width 0.3s ease, background 0.3s ease;
}

.mission-swiper .mission-pagination .swiper-pagination-bullet-active {
  width: 32px;
  background: var(--brand-point-sky-blue);
}

.mission-quote {
  align-self: flex-end;
  margin-top: 40px;
  font-weight: 400;
  font-size: var(--font-44);
  line-height: 1.3;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-align: right;
  color: #5e5e5e;
}

.news {
  padding: min(6.25vw, 120px) 0;
  background: #f9f9f9;
}

.news-inner {
  display: flex;
  align-items: flex-start;
  gap: min(2.5vw, 48px);
  width: 87.5%;
  max-width: 1680px;
  margin: 0 auto;
}

.news-tabs {
  display: none;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 28px;
  flex: 1 1 0;
  min-width: 0;
  padding: clamp(28px, 2.92vw, 56px);
  background: var(--white);
  border: 1px solid #e5e5e5;
  border-radius: clamp(16px, 1.25vw, 24px);
}

.news-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
}

.news-card-title {
  display: flex;
  flex-direction: column;
  gap: min(0.833vw, 16px);
}

.news-card-eyebrow {
  font-weight: 600;
  font-size: var(--font-22);
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #5e5e5e;
}

.news-card-heading {
  font-weight: 600;
  font-size: var(--font-55);
  text-transform: uppercase;
  color: var(--brand-point-sky-blue);
}

.news-card-more {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 5px;
  padding: 7px 17px;
  border: 1px solid #00202b;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #00202b;
  transition: background-color 0.25s ease;
}

.news-card-more:hover {
  background-color: rgba(0, 32, 43, 0.06);
}

.news-card-more img {
  width: 10px;
  height: 10px;
}

.news-card-more-mo {
  display: none;
}

.news-card-body {
  display: flex;
  align-items: stretch;
  gap: clamp(12px, 1.04vw, 20px);
}

.news-list {
  --news-item-h: clamp(80px, 6.25vw, 120px);
  flex: 1 1 auto;
  min-width: 0;
  max-height: calc(4 * var(--news-item-h) + 3 * 12px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  scrollbar-width: none;
  width: 100%;
}

.news-list::-webkit-scrollbar {
  display: none;
}

.news-item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: clamp(14px, 1.56vw, 30px);
  height: var(--news-item-h);
  padding: 0 clamp(13px, 0.99vw, 19px);
  background: #f5f5f5;
  border-radius: clamp(11px, 0.83vw, 16px);
  overflow: hidden;
  text-decoration: none;
  transition: background 0.2s ease;
}

.news-item:hover {
  background: #efefef;
}

.news-item-img {
  flex-shrink: 0;
  width: clamp(93px, 7.29vw, 140px);
  height: clamp(56px, 4.375vw, 84px);
  object-fit: cover;
  border-radius: 5px;
}

.news-item-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.news-item-title {
  font-weight: 700;
  font-size: var(--font-24);
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #5e5e5e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-item-desc {
  font-weight: 500;
  font-size: var(--font-18);
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: #979797;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-scrollbar {
  position: relative;
  flex-shrink: 0;
  align-self: stretch;
  width: 2px;
  background: rgba(2, 179, 243, 0.2);
  border-radius: 999px;
  cursor: pointer;
}

.news-scrollbar-thumb {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: var(--brand-point-sky-blue);
  cursor: grab;
}

.news-scrollbar-thumb:active {
  cursor: grabbing;
}

.clinics {
  padding: 32px 0 87px;
  background: var(--white);
}

.clinics-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: min(3.75vw, 72px);
  grid-template-areas: "left map";
  align-items: start;
  width: 87.5%;
  max-width: 1680px;
  margin: 0 auto;
}

.clinics-left {
  grid-area: left;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.clinics-heading {
  grid-area: heading;
  margin-top: 70px;
  font-weight: 800;
  font-size: var(--font-72);
  line-height: 1.15;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--brand-point-sky-blue);
}

.clinics-regions {
  grid-area: regions;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: min(4.166vw, 80px);
}

.clinics-region-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(8px, 0.63vw, 12px) clamp(18px, 1.46vw, 28px);
  max-height: 50px;
  background: #f8f8f8;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--font-22);
  letter-spacing: -0.05em;
  color: #5e5e5e;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.clinics-region-btn img {
  width: 16px;
  height: 16px;
  transition: filter 0.2s ease;
}

.clinics-region-btn.is-active {
  background: var(--brand-point-sky-blue);
  color: var(--white);
}

.clinics-region-btn.is-active img {
  filter: brightness(0) invert(1);
}

.clinics-panel {
  grid-area: panel;
  display: flex;
  flex-direction: column;
  gap: min(1.45vw, 28px);
  max-width: 880px;
  padding: clamp(28px, 2.92vw, 56px);
  margin-top: min(5.88vw, 113px);
  background: #f8f8f8;
  border-radius: clamp(16px, 1.25vw, 24px);
  overflow: hidden;
}

.clinics-panel-title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  font-size: var(--font-32);
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #5e5e5e;
}

.clinics-panel-title img {
  width: 20px;
  height: 20px;
}

.clinics-doctor-list {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.clinics-doctor-list::-webkit-scrollbar {
  display: none;
}

.clinics-doctor {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  width: clamp(80px, 5.95vw, 114px);
}

.clinics-doctor-avatar {
  width: 100%;
  aspect-ratio: 1;
  background: #efefef;
  border-radius: clamp(8px, 0.63vw, 12px);
}

.clinics-doctor-avatar-icon {
  display: none;
}

.clinics-doctor-name {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-align: center;
  color: #000;
  white-space: nowrap;
}

.clinics-panel-progress {
  position: relative;
  width: clamp(160px, 15.63vw, 300px);
  height: 2px;
  background: rgba(94, 94, 94, 0.15);
  border-radius: 999px;
  cursor: pointer;
  margin: min(3.22vw, 62px) auto 0;
}

.clinics-panel-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 31%;
  height: 100%;
  background: #5e5e5e;
  border-radius: 999px;
  cursor: grab;
}

.clinics-panel-progress-fill:active {
  cursor: grabbing;
}

.clinics-map {
  grid-area: map;
  position: relative;
  min-width: 0;
}

.clinics-map-img {
  display: block;
  width: 100%;
  height: auto;
}

.clinics-map-pointer {
  position: absolute;
  width: clamp(18px, 1.35vw, 26px);
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  transform: translate(-50%, -100%);
  transition: transform 0.2s ease;
}

.clinics-map-pointer img {
  display: block;
  width: 100%;
  height: auto;
}

.clinics-map-pointer:hover {
  transform: translate(-50%, -100%) scale(1.15);
}

.clinics-map-pointer.is-active {
  z-index: 2;
  transform: translate(-50%, -100%) scale(1.25);
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    animation: none;
    transform: scale(1);
  }

  .hero-text-left,
  .hero-text-right {
    animation: none;
    transform: none;
  }

  .hero-center {
    animation: none;
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  .hero-center-illustration,
  .hero-center-illustration-mo {
    animation: none;
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }

  .hero-center-line-left,
  .hero-center-line-right {
    animation: none;
    opacity: 1;
    transform: scaleX(1);
  }

  .hero-center-bubble {
    animation: none;
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

@media (max-width: 1280px) {
  .hero-year-number {
    font-size: 100px;
  }

  .hero-center-bubble-text {
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  .hero-text {
    gap: 10px;
  }

  .hero-text-left,
  .hero-text-right {
    animation: hero-mo-float-up ease-out 0.8s forwards;
    opacity: 0;
    transform: translateY(40px);
  }

  .hero-text-left {
    top: 114px;
    height: auto;
    justify-content: flex-start;
    padding-left: 20px;
    animation-delay: 0.1s;
  }

  .hero-text-right {
    top: auto;
    bottom: 40px;
    height: auto;
    justify-content: flex-start;
    padding-right: 20px;
    animation-delay: 0.5s;
  }

  .hero-year-ghost-wrap {
    width: auto;
    height: 56px;
  }

  .hero-text-left .hero-year-ghost-wrap {
    aspect-ratio: 159 / 56;
  }

  .hero-text-right .hero-year-ghost-wrap {
    aspect-ratio: 156 / 56;
  }

  .hero-text-left .hero-year-ghost-blur {
    -webkit-mask-image: url(../img/main/img-main-from-mo.png);
    mask-image: url(../img/main/img-main-from-mo.png);
  }

  .hero-text-right .hero-year-ghost-blur {
    -webkit-mask-image: url(../img/main/img-main-to-mo.png);
    mask-image: url(../img/main/img-main-to-mo.png);
  }

  .hero-year-number {
    font-size: 56px;
    line-height: 1;
  }

  .hero-text-right .hero-year-number {
    letter-spacing: -0.02em;
  }

  .hero-caption {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .hero-center {
    left: 50%;
    top: calc(50% + 37px);
    width: clamp(280px, 87vw, 342px);
    aspect-ratio: 342 / 250;
    animation: hero-mo-float-up-center ease-out 0.8s forwards;
    animation-delay: 0.3s;
    opacity: 0;
    transform: translate(-50%, calc(-50% + 40px));
  }

  .hero-center-illustration,
  .hero-center-line {
    display: none;
  }

  .hero-center-illustration-mo {
    display: block;
    position: absolute;
    left: 50%;
    top: 7.26%;
    width: 100%;
    transform: translateX(-50%);
  }

  .hero-center-bubble {
    top: 10.8%;
    width: 57.89%;
    animation: none;
    opacity: 1;
    transform: translateX(-50%);
  }

  .hero-center-bubble-text {
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  /* 모바일은 핀 없이 일반 흐름 — 나침반은 슬라이드 이동에 맞춰 돈다. */
  .compass {
    height: auto;
  }

  /* 좌우 여백을 sticky 가 아니라 각 요소에 주어야 슬라이더만 화면 끝까지 쓸 수 있다. */
  .compass-sticky {
    position: relative;
    height: auto;
    padding: 80px 0;
  }

  /* static 으로 두면 절대배치된 .compass-bg 아래에 깔려 텍스트가 가려진다. */
  .compass-inner {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0 auto;
  }

  /* 좌우 20px 여백을 뺀 안쪽이 시안의 353px 이 되도록 393px 로 잡는다. */
  .compass-text {
    position: static;
    gap: 20px;
    width: 100%;
    max-width: 393px;
    padding: 0 20px;
    transform: none;
  }

  .compass-heading {
    font-weight: 700;
    font-size: 28px;
    line-height: 1.4;
    letter-spacing: -0.02em;
  }

  .compass-desc {
    gap: 4px;
  }

  .compass-desc p {
    font-size: 17px;
    letter-spacing: -0.02em;
  }

  .compass-dial {
    position: relative;
    left: auto;
    top: auto;
    width: calc(100% - 40px);
    max-width: 353px;
    transform: none;
    max-width: 400px;
  }

  .compass-dial-pointer {
    transition-property: transform;
    transition-timing-function: ease-out;
  }

  /* 화면 폭을 다 쓰고 안에서 잘라야 양옆 슬라이드가 화면 끝까지 보이면서도
     loop 되감기 순간의 재배치가 밖으로 새지 않는다. */
  .compass .compass-track {
    position: static;
    width: 100%;
    overflow: hidden;
  }

  .compass-track .swiper-wrapper {
    flex-direction: row;
    gap: 0;
    transform: none;
  }

  .compass .compass-slide {
    width: calc(100% - 40px);
    max-width: 353px;
    border-radius: 11.296px;
  }

  .compass-more {
    position: static;
    height: 40px;
    margin-top: 28px;
    gap: 4px;
    padding: 0 18px;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: -0.02em;
    transform: none;
  }

  .mission {
    position: relative;
    background: url(../img/main/img-mission-bg-mo.png) bottom left / cover no-repeat;
    padding: 80px 20px 220px;
  }

  .mission-inner {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .mission-title {
    gap: 0;
    margin-bottom: 40px;
  }

  .mission-eyebrow {
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.02em;
  }

  .mission-heading {
    font-size: 28px;
    line-height: 1.4;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .mission-lead {
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .mission-slider-row {
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    gap: 0;
  }

  .mission-nav {
    position: static;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }

  .mission-nav-prev,
  .mission-nav-next {
    transform: none;
  }

  .mission-nav-prev img {
    transform: none;
  }

  .mission-swiper {
    flex: 1 1 auto;
    min-width: 0;
    aspect-ratio: 320 / 179.2;
    border-radius: 5px;
  }

  .mission-swiper .mission-pagination {
    bottom: 10px;
    gap: 4px;
  }

  .mission-swiper .mission-pagination .swiper-pagination-bullet {
    width: 4px;
    height: 4px;
  }

  .mission-swiper .mission-pagination .swiper-pagination-bullet-active {
    width: 16px;
  }

  .mission-quote {
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .mission-quote-break-pc {
    display: none;
  }

  .intro {
    padding: 80px 20px;
  }

  .intro-inner {
    width: 100%;
    max-width: none;
    gap: 19px;
  }

  .intro-top {
    display: none;
  }

  .intro-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .intro-text {
    flex: none;
    width: 100%;
  }

  .intro-heading {
    font-size: 28px;
    line-height: 1.4;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .intro-desc {
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: -0.02em;
  }

  .intro-swiper {
    flex: none;
    width: 100%;
    aspect-ratio: 353 / 227;
  }

  .intro-card[data-role="front"] {
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    border-radius: 12px;
  }

  .intro-card[data-role="mid"] {
    left: 66.5%;
    top: 7.6%;
    bottom: 7.5%;
    width: 69.5%;
    border-radius: 9px;
  }

  .intro-card[data-role="back"] {
    left: 108.5%;
    top: 15%;
    bottom: 15%;
    width: 49.5%;
    border-radius: 7px;
  }

  .intro-controls {
    gap: 13px;
  }

  .intro-nav {
    width: 26px;
    height: 26px;
  }

  .intro-nav img {
    width: 17px;
    height: 17px;
  }

  .intro-controls .intro-pagination {
    gap: 7px;
  }

  .intro-controls .intro-pagination .swiper-pagination-bullet {
    width: 4px;
    height: 4px;
  }

  .intro-controls .intro-pagination .swiper-pagination-bullet-active {
    width: 40px;
  }

  .news {
    padding: 80px 24px;
  }

  .news-inner {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: none;
    gap: 20px;
    background: var(--white);
    border: 1px solid #e5e5e5;
    border-radius: 11px;
    padding: 20px 10px;
  }

  .news-tabs {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #e6e6e6;
  }

  .news-tab {
    flex: 1 0 0;
    padding: 5px 12px;
    border-bottom: 2px solid transparent;
    font-family: inherit;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.02em;
    color: #666;
    cursor: pointer;
  }

  .news-tab.is-active {
    border-bottom-color: var(--brand-point-sky-blue);
    color: var(--brand-point-sky-blue);
  }

  .news-card-header {
    padding-left: 7px;
  }

  .news-card {
    display: none;
    width: 100%;
    gap: 12px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
  }

  .news-card.is-active {
    display: flex;
  }

  .news-card-title {
    gap: 0;
  }

  .news-card-eyebrow {
    font-size: 16px;
  }

  .news-card-heading {
    font-size: 28px;
  }

  .news-card-more-pc {
    display: none;
  }

  .news-card-more-mo {
    display: inline-flex;
    align-self: center;
    margin-top: 8px;
    padding: 8px 18px;
    font-size: 16px;
  }

  .news-list {
    --news-item-h: 74.8px;
  }

  .news-item {
    gap: 0 12px;
    background: unset;
    padding: 0;
    border-radius: 0;
  }

  .news-item-img {
    width: 112px;
    height: 74.8px;
    border-radius: 5px;
  }

  .news-item-text {
    gap: 1px;
  }

  .news-item-title {
    font-size: 17px;
  }

  .news-item-desc {
    font-size: 16px;
  }

  .clinics {
    padding: 80px 20px;
  }

  .clinics-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "map"
      "regions"
      "panel";
    gap: 20px;
    width: 100%;
    max-width: none;
  }

  .clinics-left {
    display: contents;
  }

  .clinics-heading {
    margin-top: 0;
    font-size: 36px;
    line-height: 1.4;
  }

  .clinics-map {
    width: 100%;
    max-width: 353px;
    margin: 0 auto;
  }

  .clinics-map-pointer {
    width: 12px;
    height: 17px;
  }

  .clinics-regions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 0;
    width: 100%;
  }

  .clinics-region-btn {
    width: 100%;
    justify-content: center;
    height: 40px;
    padding: 10px 20px;
    font-size: 17px;
  }

  .clinics-region-btn img {
    width: 12px;
    height: 12px;
  }

  .clinics-region-btn-pc-only {
    display: none;
  }

  .clinics-panel {
    width: 100%;
    max-width: none;
    gap: 20px;
    padding: 20px;
    margin-top: 0;
    border-radius: 24px;
  }

  .clinics-panel-title {
    margin-bottom: 8px;
    font-size: 20px;
  }

  .clinics-doctor {
    width: 114px;
  }

  .clinics-doctor-avatar {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-top: 40px;
    overflow: hidden;
  }

  .clinics-doctor-avatar-icon {
    display: block;
    width: 72%;
    height: auto;
  }

  .clinics-panel-progress {
    width: 300px;
    max-width: 100%;
    margin-top: 0;
  }
}

@keyframes hero-mo-float-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-mo-float-up-center {
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 380px) {
  .hero-center-bubble-text {
    font-size: 16px;
  }

  .hero-caption {
    font-size: 22px;
  }
}