/* sub-top-banner */
.sub-top-banner {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sub-top-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 110%;
  background: url("../img/sub-top-banner1.png") no-repeat center center / cover;
  z-index: 0;
  animation: movingBackground 28s ease-in-out infinite;
}
.sub-top-banner.sub2::before {
  background: url("../img/sub-top-banner2.png") no-repeat center center / cover;
}
.sub-top-banner.sub3::before {
  background: url("../img/sub-top-banner3.png") no-repeat center center / cover;
}
.sub-top-banner.sub4::before {
  background: url("../img/sub-top-banner4.png") no-repeat center center / cover;
}
.sub-top-banner.sub5::before {
  background: url("../img/sub-top-banner5.png") no-repeat center center / cover;
}

/* 가로 패닝 + 아주 약한 줌 (이전: 대각 이동 + 강한 줌) */
@keyframes movingBackground {
  0% {
    transform: translate(-8%, -6%) scale(1.08);
  }
  50% {
    transform: translate(2%, -6%) scale(1.1);
  }
  100% {
    transform: translate(-8%, -6%) scale(1.08);
  }
}

.sub-top-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.sub-top-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 104px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sub-top-banner-title {
  color: #c6e9e0;
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 10px;
}

.sub-top-banner-subtitle {
  font-size: 40px;
}
/* sub-tab */
.sub-tab {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 10px;
  font-size: 20px;
}
.sub-tab .content_inner {
  display: flex;
  justify-content: center;
}
.sub-tab ul {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 10px;
}
.sub-tab ul li {
  flex: 1 0 23%;
  background: #eee;
  color: #7b8591;
  text-align: center;
  transition: background 0.2s ease-in-out;
}
.sub-tab ul li:hover {
  background: rgba(216, 222, 228, 0.8);
  color: #0a2142;
}
.sub-tab ul li a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 15px 10px;
}
.sub-tab ul li.active {
  color: #0a2142;
  background: rgba(216, 222, 228, 0.8);
  font-weight: 600;
}
/* m1-1 */
.m1-1 {
  position: relative;
  background: url("../img/m1-1-bg.png") no-repeat center center / cover;
}
.m1-subtitle {
  text-align: center;
  display: flex;
  gap: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 80px;
  text-align: center;
}
.m1-subtitle i {
  color: #7b8591;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 10px;
}
.m1-subtitle.white i {
  color: #fff !important;
  margin-bottom: 0 !important;
}
.m1-subtitle.white h2 {
  color: #fff !important;
}
.m1-1 .m1-subtitle i {
  font-size: 24px;
}
.m1-subtitle h2 {
  color: #2a2e33;
  font-size: 40px;
}
.m1-subtitle h2 i {
  font-size: inherit !important;
  color: #1d8b71;
  font-weight: inherit;
}
.m1-subtitle h2 strong {
  color: #154385;
  font-weight: 700;
}
.m1-1-content {
  display: flex;
  align-items: center;
  gap: 60px;
}
.m1-1-img-wrap {
  width: 80%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.m11-img-box {
  width: 100%;
  line-height: 0;
}
.m11-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.m1-1-text-wrap {
  width: 100%;
}
.m1-1-text-title {
  font-size: 30px;
  margin-bottom: 20px;
}
.m1-1-text-title strong {
  color: #154385;
  font-weight: 700;
}
.m1-1-text-desc p:not(:last-of-type) {
  margin-bottom: 12px;
  opacity: 0.8;
}
.m1-1-text-desc p i {
  font-weight: 600;
}
/* m1_2 */
.m1-2 {
  position: relative;
  overflow: hidden;
}

/* 왼쪽 세로 흐르는 문구 (위→아래 무한 스크롤) */
.m1-2-marquee {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}
.m1-2-marquee__track {
  display: flex;
  flex-direction: column;
  animation: m1-2-marquee-flow 128s linear infinite;
}
.m1-2-marquee__chunk {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
  padding: 1rem 0;
}
.m1-2-marquee__item {
  display: block;
  font-size: min(110px, 10vw);
  font-weight: 900;
  text-transform: uppercase;
  color: #d8dee4;
  opacity: 0.25;
  white-space: nowrap;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 0.85;
}
@keyframes m1-2-marquee-flow {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}
/* m1-2-content */
.m1-2 .innerTop {
  position: relative !important;
  z-index: 2;
}
.m1-2-content {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 80px;
  margin-left: calc((100vw - 1280px) / 2);
  background: linear-gradient(
    160deg,
    rgba(238, 242, 249, 0.7) 10.4%,
    rgba(238, 242, 249, 0.1) 79.17%
  );
}
.doctor-left {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.doctor-info {
  background: #185bbc url(../img/doctor-info-bg.png) no-repeat 100% 100% /
    contain;
  color: #fff;
  padding: 30px;
  transform: translate(-20px, -20px);
  position: relative;
}
.doctor-info::before {
  content: "";
  position: absolute;
  bottom: -20px;
  left: -0px;
  width: 10px;
  height: 10px;
  border-top: 10px solid #001f4b;
  border-right: 10px solid #001f4b;
  border-left: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.doctor-name {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
}
.doctor-name .name {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}
.doctor-career {
  font-size: 20px;
  font-weight: 400;
  opacity: 0.9;
}
.doctor-img-wrap {
  width: 100%;
  line-height: 0;
}
.doctor-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.doctor-right {
  width: 100%;
  padding: 40px 0;
  padding-right: calc((100vw - 1280px) / 2);
}
.doctor-right .doctor-right-inner:not(:last-of-type) {
  margin-bottom: 20px;
}
.doctor-title {
  color: #0a2142;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
}
.doctor-list-wrap {
  display: flex;
  gap: 20px;
}
.doctor-list {
  width: 100%;
  color: rgba(42, 46, 51, 0.7);
  font-size: 16px;
}
.doctor-list li::before {
  content: "•";
  display: inline-block;
  margin-right: 10px;
}
/* 수료증 무한 흐름 슬라이더 - 동일 높이 */
.doctor-card {
  overflow: hidden;
}
.doctor-card__track {
  display: flex;
  width: max-content;
  animation: doctorCardFlow 50s linear infinite;
}
.doctor-card__track:hover {
  animation-play-state: paused;
}
.doctor-card__list {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.doctor-card__slide {
  flex-shrink: 0;
  height: 220px;
  width: auto;
  min-height: 370px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fc;
  overflow: hidden;
}
.doctor-card__slide img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
@keyframes doctorCardFlow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .doctor-card__track {
    animation: none;
  }
}
/* m1_3 */
/* 보유장비 */
.m1-3 {
  background: url("../img/m1-3-bg.png") no-repeat center center / cover;
  background-attachment: fixed;
}
.m1-3 .swiper.tour-slider {
  width: 100%;
}
.m1-3 .tour-slider .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 55%;
}
.m1-3 .tour-slider .swiper-slide img {
  display: block;
  width: 100%;
}
.tour-slider-pagination.swiper-pagination {
  position: relative;
  bottom: 0;
  margin-top: 30px;
}
.m1-3 .tour-slider .swiper-pagination-bullet-active {
  background: #2a2e33;
}
/* m1-3-content */
.item_wrap {
  display: flex;
  gap: 20px;
}
.item_wrap:not(:last-of-type) {
  margin-bottom: 80px;
}
.item_left {
  background: url("../img/m13-2-bg.png") no-repeat 50% 50% / cover;
  border-radius: 0 30px 30px 0;
  padding: 95px 0;
}
.item_wrap_im .item_left {
  background: url("../img/m13-3-bg.png") no-repeat 50% 50% / cover;
}
.item_left .inner {
  margin-left: calc(calc(100vw - 1280px) / 2);
  color: #fff;
  min-width: 300px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 50px;
}

.item_left h3 {
  font-size: 40px;
  font-weight: 700;
}

.item_left i {
  margin-top: 20px;
  font-size: 18px;
  display: block;
  font-weight: 400;
}

.arr_wrap {
  margin-top: 60px;
  display: flex;
  gap: 10px;
}

.arr_wrap img {
  width: 60px;
  cursor: pointer;
  transition: 0.3s;
  transition-delay: 0s;
}

.arr_wrap img:nth-of-type(1):hover {
  transform: translateX(-7px);
  transition-delay: 0.3s;
}

.arr_wrap img:nth-of-type(2):hover {
  transform: translateX(7px);
  transition-delay: 0.3s;
}

.c6_swiper_wrap {
  overflow: initial;
  position: relative;
  width: 100%;
  padding-bottom: 50px;
}

.c6_swiper_wrap .swiper-wrapper .swiper-slide {
  max-width: 450px;
  padding: 10px;
}
.c6_swiper_wrap .swiper-wrapper .swiper-slide .box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  padding: 40px 20px 0 20px;
  background: linear-gradient(180deg, #f5f5f5 0%, #fff 19.71%);
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
}

.c6_name {
  color: #1d8b71;
  font-size: 30px;
  font-weight: 700;
}
.c6_name + i {
  font-size: 18px;
  letter-spacing: -0.06em;
  text-align: center;
  margin-top: 10px;
  color: #7b8591;
}

.item_pagination.swiper-pagination-progressbar {
  position: relative;
  margin-top: 70px;
  background: rgba(71, 107, 178, 0.2);
}

.item_pagination.swiper-pagination-progressbar
  .swiper-pagination-progressbar-fill {
  background: #223974;
}
/* m1-4 */
.m1-4 {
  background: url("../img/m1-4-bg.png") no-repeat center center / cover;
}
/* m2-1 */
.bottom-text {
  position: relative;
}

/* 하단 가로 무한 마퀴 (TEUN 연두 / TEUN Clinic 하늘) */
.m2-1-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}
.m2-1-marquee__track {
  display: flex;
  width: max-content;
  animation: m2-1-marquee-x 100s linear infinite;
}
.m2-1-marquee__group {
  font-size: min(110px, 10vw);
  font-weight: 900;
  line-height: 0.85;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.15;
  padding-right: 2.5rem;
  white-space: nowrap;
}
.m2-1-marquee__gap {
  display: inline-block;
  width: 1.75rem;
}
.m2-marquee-mint {
  color: #c6e9e0;
}
.m2-marquee-sky {
  color: #c9daf0;
}

@keyframes m2-1-marquee-x {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .m2-1-marquee__track {
    animation: none;
  }
}

.m2-1.bottom-text .sub-tab,
.m2-1.bottom-text > .content_inner {
  position: relative;
  z-index: 1;
}
/* m2-subtitle */
.m2-subtitle {
  display: flex;
  gap: 0;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 70px;
}
.m2-subtitle i {
  color: #7b8591;
  font-size: 18px;
  margin-bottom: 10px;
}
.m2-subtitle h2 {
  color: #154385;
  font-size: 52px;
  font-weight: 700;
  position: relative;
}
.m2-subtitle h2::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  max-width: 100%;
  height: 4px;
  background: #c9daf0;
  transition: width 2s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.8s;
}
.m2-subtitle.is-line-visible h2::before {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .m2-subtitle h2::before {
    transition: none;
  }
}
.m2-1-content {
  display: flex;
  align-items: center;
  gap: 60px;
}
.m2-1-content-left {
  flex: 7;
  line-height: 0;
  box-shadow: 0 0 12px 3px rgba(0, 38, 92, 0.1);
}
.m2-1-content-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.m2-1-content-right {
  flex: 5;
  font-size: 20px;
  opacity: 0.9;
}
.m2-1-content-right i {
  font-size: 1.5em;
  font-weight: 600;
  color: #154385;
  line-height: 1;
}
/* m2-2 */
.m2-2 {
  background: url("../img/m2-2-bg.png") no-repeat center center / cover;
  background-attachment: fixed;
}
.m2-2-content {
  display: flex;
  gap: 20px;
}
.m2-2-content-left {
  background: #e3f4ef;
}
.m2-2-content-right {
  background: #dfe9f6;
}
.m2-2-box {
  width: 100%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.17);
}
.box-info {
  padding: 40px;
  text-align: center;
}
.m2-2-content-left .box-info {
  color: #146351;
}
.m2-2-content-right .box-info {
  color: #0a2142;
}
.box-info i {
  font-size: 18px;
  font-weight: 400;
}
.box-title {
  font-size: 40px;
  font-weight: 700;
}
.box-image {
  line-height: 0;
}
.box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.box-text {
  padding: 60px 28px;
}
.box-text p {
  padding: 0px 35px;
}
.m2-2-content-left .box-text p {
  color: rgba(20, 99, 81, 0.8);
}
.m2-2-content-right .box-text p {
  color: rgba(10, 33, 66, 0.8);
}
.box-text ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 10px;
  font-size: 24px;
  color: rgba(42, 46, 51, 0.8);
}
.box-text ul li {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}
.box-text ul li::before {
  content: "";
  aspect-ratio: 1/1;
  width: 1.5em;
}
.m2-2-content-left .box-text ul li::before {
  background: url("../img/m2-1-check-green.png") no-repeat center center /
    contain;
}
.m2-2-content-right .box-text ul li::before {
  background: url("../img/m2-1-check-blue.png") no-repeat center center /
    contain;
}
/* m2-3 */
.m2-3 {
  background: url("../img/m2-3-bg.png") no-repeat center center / cover;
  background-attachment: fixed;
}

.m2-3-content {
  display: flex;
  gap: 30px;
}
.m2-3-content li {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
}
.img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.img-wrap img {
  width: 100%;
  height: 100%;
  max-width: 100px;
  object-fit: contain;
}
.m2-3-content-text {
  font-size: 22px;
  font-weight: 700;
  color: #0a2142;
  text-align: center;
  padding: 30px 20px;
  background: #e7eff9;
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.13);
}
.m2-3-content li:nth-of-type(2n) .m2-3-content-text {
  background: #eff9f6;
  color: #146351;
}
/* treatment-wrap */
.treatment-wrap {
  background: linear-gradient(270deg, #f4f4f4 0%, #fff 70%);
  display: flex;
}
.treatment-left {
  background: url("../img/m2-3-treatment-left-bg.png") no-repeat center center /
    cover;
  border-radius: 0 30px 30px 0;
  width: 30%;
}
.treatment-left .inner {
  width: 100%;
  color: #fff;
  margin-left: auto;
  max-width: 400px;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-right: 140px;
  padding-top: 140px;
  padding-bottom: 140px;
}
.treatment-wrap .treatment-title {
  text-align: left;
  text-wrap: nowrap;
  font-size: 40px;
  color: #0a2142;
  margin-bottom: 40px;
}
.treatment-right {
  width: calc(70% + 100px);
  padding-top: 140px;
  padding-bottom: 140px;
  margin-left: -100px;
}
.treatment-swiper-wrap {
  width: 100%;
}
.treatment-swiper-wrap .swiper-wrapper {
  padding: 10px;
}
.treatment-swiper-wrap .swiper-slide {
  box-sizing: border-box;
  height: auto;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  line-height: 0;
  display: flex;
  flex-direction: column;
}
.treatment-swiper-wrap .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.treatment-text-desc {
  background: #fff;
  font-size: 20px;
  font-weight: 400;
  color: rgba(42, 46, 51, 0.7);
  padding: 60px 70px 40px 70px;
  flex: 1;
  line-height: 1.5;
  position: relative;
}
.treatment-text {
  position: absolute;
  top: 0;
  left: 30px;
  transform: translateY(-50%);
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  color: #0a2142;
  text-align: center;
  line-height: 1;
  padding: 20px 40px;
  border-radius: 50px;
  background: linear-gradient(180deg, #fff 30%, #f2f7ff 100%);
  box-shadow: 0 3px 2px 0 rgba(0, 0, 0, 0.1);
}
.treatment-arr-wrap {
  display: flex;
  gap: 20px;
}
.treatment-arr-wrap img {
  width: 50px;
  cursor: pointer;
  transition: 0.3s;
  transition-delay: 0s;
}
.treatment-arr-wrap img:nth-of-type(1):hover {
  transform: translateX(-10px);
  transition-delay: 0.3s;
}
.treatment-arr-wrap img:nth-of-type(2):hover {
  transform: translateX(7px);
  transition-delay: 0.3s;
}
.special-wrap.sub5 {
  background: url("../img/m52-special-bg.png") no-repeat center center / cover;
}
/* m3-subtitle */
.m3-subtitle {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
}
.m3-subtitle img {
  width: 50px;
  height: auto;
}
.m3-1 {
  background: #00306e;
}
.cir_box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cir_box .line {
  flex: 1;
  height: 1px;
  background-color: #fff;
  position: relative;
}
.cir_box .line::before {
  content: "";
  background-color: #00306e;
  width: 100%;
  height: 200%;
  right: 0;
  top: 0;
  display: block;
  position: absolute;
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
/* 첫 연결선은 바로, 마지막 연결선은 4번째 원 마스크 종료 후(1.85s + 0.65s) */
.cir_box .line:first-of-type::before {
  transition-delay: 0s;
}
.cir_box .line:last-of-type::before {
  transition-delay: 2.55s;
}
.cir_box.active .line::before {
  width: 0%;
}
.cir_box .cir {
  position: relative;
  width: calc(1280px / 4);
  aspect-ratio: 1/1;
  border-radius: 50%;
  position: relative;
  border: 1px solid #fff;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cir_box .cir::before {
  content: "";
  background-color: #00306e;
  width: calc(100% + 5px);
  height: 105%;
  right: -2px;
  top: -2px;
  display: block;
  position: absolute;
  z-index: 1;
  transition: width 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.35s;
}
.cir_box.active .cir::before {
  width: 0%;
}
.cir_box .cir:nth-child(2)::before {
  transform: translateX(-1px);
  transition-delay: 0.35s;
}
.cir_box .cir:nth-child(3)::before {
  transform: translateX(-1px);
  transition-delay: 0.85s;
}
.cir_box .cir:nth-child(4)::before {
  transform: translateX(-1px);
  transition-delay: 1.35s;
}
.cir_box .cir:nth-child(5)::before {
  transform: translateX(-1px);
  transition-delay: 1.85s;
}
.cir_box .cir .text_box {
  position: relative;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease;
  min-height: 160px;
}
.cir_box.active .cir:nth-child(2) .text_box {
  opacity: 1;
  transition-delay: 0.95s;
}
.cir_box.active .cir:nth-child(3) .text_box {
  opacity: 1;
  transition-delay: 1.45s;
}
.cir_box.active .cir:nth-child(4) .text_box {
  opacity: 1;
  transition-delay: 1.95s;
}
.cir_box.active .cir:nth-child(5) .text_box {
  opacity: 1;
  transition-delay: 2.45s;
}
.cir_box .cir .text_box .num {
  color: #c9daf0;
  font-family: "MaruBuri";
  font-size: 65px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.5;
  margin-bottom: 16px;
}
.cir_box .cir .text_box .txt {
  font-size: 24px;
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  .cir_box .line::before,
  .cir_box .cir::before {
    transition-duration: 0.01ms;
    transition-delay: 0s !important;
  }
  .cir_box.active .cir .text_box {
    opacity: 1;
    transition: none;
    transition-delay: 0s;
  }
}
/* m3-1 gray */
.m3-1.gray {
  background: #54575b;
}
.m3-1.gray .cir_box .line {
  background-color: #c9daf0;
}
.m3-1.gray .cir_box .line::before {
  background-color: #54575b;
}
.m3-1.gray .cir_box .cir {
  border-color: #c9daf0;
}
.m3-1.gray .cir_box .cir::before {
  background-color: #54575b;
}
/* m3-6 */
.m3-6 {
  background: url("../img/m3-6-bg.png") no-repeat center center / cover;
}
.m3-6 .m1-subtitle i,
.m3-7-2 .m1-subtitle i {
  opacity: 0.7;
}
.m3-6-content {
  display: flex;
  gap: 40px;
}
.m3-6-box {
  width: 100%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
}
.m3-6-content-left {
  background: linear-gradient(180deg, #fff 40%, #f9fbff 100%);
  box-shadow: 0 2px 10px 5px rgba(1, 43, 103, 0.13);
}
.m3-6-content-right {
  background: linear-gradient(180deg, #fff 40%, #f9fffe 100%);
  box-shadow: 0 2px 10px 5px rgba(12, 98, 78, 0.13);
}
.m3-6-box img {
  max-width: 260px;
  width: 100%;
  margin-bottom: 40px;
}
.m3-6-title {
  font-size: 30px;
  font-weight: 700;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.m3-6-content-left .m3-6-title {
  color: #154385;
  border-bottom: 1px solid #c9daf0;
}
.m3-6-content-right .m3-6-title {
  color: #1d8b71;
  border-bottom: 1px solid #c6e9e0;
}
.m3-6-desc {
  font-size: 22px;
  opacity: 0.7;
}
.m3-7 .cir_box .cir {
  width: calc(1280px / 5);
}
.m3-7 .cir_box .cir .text_box {
  min-height: auto;
}
/* 5개 원: 다섯 번째( nth-child(6) ) + 마지막 연결선은 5번째 원 마스크 끝난 뒤 */
.m3-7 .cir_box .cir:nth-child(6)::before {
  transform: translateX(-1px);
  transition-delay: 2.35s;
}
.m3-7 .cir_box.active .cir:nth-child(6) .text_box {
  opacity: 1;
  transition-delay: 2.95s;
}
.m3-7 .cir_box .line:last-of-type::before {
  transition-delay: 3.05s;
}
/* m3-7-2 */
.m3-7-2 {
  background: url("../img/m3-7-2-bg.png") no-repeat center center / cover;
  background-attachment: fixed;
}
.m3-7-2-content {
  display: flex;
  gap: 20px;
}
.m3-7-2-content li {
  width: 100%;
  background: #edf5ff;
  box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  overflow: hidden;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #154385;
}
.m3-7-2-content li:nth-of-type(2n) {
  background: #eef0f3;
  color: #2a2e33;
  opacity: 0.8;
}
.m3-7-2-content li .m3-7-2-img-wrap {
  width: 100%;
  border-radius: 50%;
  overflow: hidden;
  max-width: 200px;
  aspect-ratio: 1/1;
  line-height: 0;
  padding: 0;
}
.m3-7-2-content li .m3-7-2-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* m4-1 */
.m4-1 {
  position: relative;
}
.m4-1::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  height: 30%;
  background: linear-gradient(
    90deg,
    rgba(227, 244, 239, 0.4) 0%,
    rgba(223, 233, 246, 0.4) 100%
  );
}
.m4-1-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.m4-1-marquee__track {
  display: flex;
  width: max-content;
  animation: m4-1-marquee-x 100s linear infinite;
}
.m4-1-marquee__group {
  font-size: min(110px, 10vw);
  font-weight: 900;
  line-height: 0.85;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.45;
  padding-right: 2.5rem;
  white-space: nowrap;
}
.m4-1-marquee__unit {
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px #d8dee4;
}
.m4-1-marquee__gap {
  display: inline-block;
  width: 1.75rem;
}

@keyframes m4-1-marquee-x {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .m4-1-marquee__track {
    animation: none;
  }
}
.m4-1-content {
  position: relative;
  z-index: 1;
  background: url("../img/m4-1-content-bg.png") no-repeat center center / cover;
}
.m4-2-content {
  background: url("../img/m4-2-content-bg.png") no-repeat center center / cover;
}
.m4-cover {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}
.m4-cover-title {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #c6e9e0;
  margin-bottom: 50px;
}
.m4-cover-content {
  font-size: 20px;
}
/* m4-1-2 */
.m4-1-2 {
  background: url("../img/m4-1-2-bg.png") no-repeat center center / cover;
  background-attachment: fixed;
}
.m4-1-2-title {
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
}
.m4-1-2-title i {
  color: #1d8b71;
  font-size: 18px;
}
.m4-1-2-title span {
  font-size: 40px;
}
.m4-1-2 .animate_me .img_wr .dim {
  background: #1d8b71;
}
.m4-1-2-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.m4-1-2-list li {
  font-size: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.m4-1-2-list li span {
  opacity: 0.9;
}
.m4-1-2-list li::before {
  content: "";
  width: 1.5em;
  aspect-ratio: 1/1;
  background: url("../img/m4-1-2-list-icon.png") no-repeat center center /
    contain;
  flex-shrink: 0;
}
.m4-1-3 .treatment-left {
  background: url("../img/m4-1-3-bg.png") no-repeat center center / cover;
  border-radius: 0;
}
.m4-1-3.treatment-wrap .treatment-title {
  color: #005844;
}
.m4-1-3 .treatment-text {
  background: linear-gradient(180deg, #fff 30%, #f3fefc 100%);
  color: #146351;
}
.treatment-text-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 10px;
}
.m4-1-2-list li b {
  display: block;
  color: #146351;
}
/* m4-3-3 */
.m4-3-content {
  background: url("../img/m4-3-content-bg.png") no-repeat center center / cover;
}
.m4-3-3 {
  background: linear-gradient(180deg, #ebf0ef 0%, #f5fbf9 80%);
}
.m4-1-2-title.center {
  text-align: center;
}
.m4-3-3-content {
  position: relative;
  border-radius: 20px;
  min-height: 180px;
  display: flex;
  align-items: center;
}
.m4-3-3-marquee {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  width: 100vw;
}
.m4-3-3-marquee__track {
  display: flex;
  width: max-content;
  animation: m4-3-3-marquee-x 100s linear infinite;
}
.m4-3-3-marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.m4-3-3-marquee__unit {
  font-size: min(110px, 10vw);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  opacity: 0.65;
}
.m4-3-3-marquee__gap {
  display: inline-block;
  width: clamp(24px, 2.5vw, 48px);
}
@keyframes m4-3-3-marquee-x {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .m4-3-3-marquee__track {
    animation: none;
  }
}
.m4-3-3-list {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 20px;
  width: 100%;
}
.m4-3-3-list li {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #146351;
  background: linear-gradient(180deg, #fff 40%, #f9fffe 100%);
  box-shadow: 0 2px 10px 3px rgba(12, 98, 78, 0.1);
}
.m4-3-3-list li:nth-of-type(2n) {
  color: rgba(42, 46, 51, 0.9);
  background: linear-gradient(180deg, #fff 40%, #f8f8f8 100%);
  box-shadow: 0 2px 10px 3px rgba(75, 75, 75, 0.1);
}
.m4-3-3-list li .m4-3-3-img-wrap {
  width: 100%;
  border-radius: 50%;
  overflow: hidden;
  max-width: 200px;
  aspect-ratio: 1/1;
  line-height: 0;
  padding: 0;
}
.m4-3-3-list li .m4-3-3-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* m5-1-content */
.m5-1-content {
  background: url("../img/m5-1-content-bg.png") no-repeat center center / cover;
}
