.main_before {
  height: 80px;
  width: 100%;
}

/* .reveal-text, .reveal-text1, .reveal-text2, .reveal-text3, .reveal-text4 , .reveal-text5 ,.reveal-text6 ,.reveal-text7 {
display: inline-block;
color: black;
white-space: nowrap;
overflow: hidden;
width: 0%;
transition: width 2s ease-out;
}
.reveal-text.active, .reveal-text1.active, .reveal-text2.active, .reveal-text3.active, .reveal-text4.active ,.reveal-text5.active ,.reveal-text6.active ,.reveal-text7.active {
width: 100%;
} */

.reveal-text,
.reveal-text1,
.reveal-text2,
.reveal-text3,
.reveal-text4,
.reveal-text5,
.reveal-text6,
.reveal-text7 {
  display: inline-block;
  color: black;
  -webkit-mask-image: linear-gradient(to right, black 0%, black 100%);
  -webkit-mask-size: 0% 100%;
  -webkit-mask-repeat: no-repeat;
  transition: -webkit-mask-size 2s ease-out;
}
.reveal-text3 {
  display: inline-block;
  color: black;
  -webkit-mask-image: linear-gradient(to right, black 0%, black 100%);
  -webkit-mask-size: 0% 100%;
  -webkit-mask-repeat: no-repeat;
  transition: -webkit-mask-size 2s ease-out;
  min-width: 200px; /* 최소 너비 설정 */
}
.reveal-text.active,
.reveal-text1.active,
.reveal-text2.active,
.reveal-text3.active,
.reveal-text4.active,
.reveal-text5.active,
.reveal-text6.active,
.reveal-text7.active {
  -webkit-mask-size: 100% 100%;
}

.fade-word {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-word.active {
  opacity: 1;
}
h2 {
  text-transform: uppercase;
  position: relative;
  margin-bottom: 5rem;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  z-index: 2;
  font-family: MICEGothicBold;
  font-weight: bold;
  margin-top: 5rem;
}
h2::after {
  content: "NORYANJIN ASAN PAIN CLINIC";
  display: block;
  font-size: 1.2rem;
  font-family: MICEGothic;
  font-weight: normal;
  text-transform: uppercase;
  color: #00616a;
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}
h2::before {
  content: "";
  display: inline-block;
  width: 66px;
  height: 97px;
  background: url(../img/h2_logo.png) no-repeat center/ contain;
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}
h3 {
  color: #000;
  font-family: MICEGothicBold;
  font-size: 2.3rem;
  font-weight: Bold;
}
h3 i {
  color: #00616a;
  font-family: MICEGothicBold;
  font-size: 2.8rem;
  font-weight: Bold;
}
h4 {
  text-align: center;
  font-family: MICEGothic;
  font-size: 3.3rem;
  font-weight: normal;
  line-height: 4.2rem;
  letter-spacing: -0.33px;
}
.h4_center {
  text-align: center;
}
.clinic_color1 {
  color: #00616a;
  font-family: MICEGothicBold;
  font-weight: Bold;
}
.clinic_color2 {
  color: #ef8a00;
  font-family: MICEGothicBold;
  font-weight: Bold;
}

h5.picto1::before {
  content: "";
  display: inline-block;
  width: 35px;
  height: 35px;
  background: url(../img/picto1.png) no-repeat center/ contain;
}
h5.picto2::before {
  content: "";
  display: inline-block;
  width: 35px;
  height: 35px;
  background: url(../img/picto2.png) no-repeat center/ contain;
}
h5.picto3::before {
  content: "";
  display: inline-block;
  width: 35px;
  height: 35px;
  background: url(../img/picto3.png) no-repeat center/ contain;
}
h5.picto4::before {
  content: "";
  display: inline-block;
  width: 35px;
  height: 35px;
  background: url(../img/picto4.png) no-repeat center/ contain;
}

h5 {
  color: #00616a;
  font-family: "Pretendard Variable";
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 34px;
  letter-spacing: -0.38px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/*************** introduce ******************/

.introduce {
  background: url(../img/intro_bg.png) no-repeat center/cover;
  position: relative;
  overflow: hidden;
}
.intro_txt_wrap {
  width: 60%;
  margin: 0 auto;
  text-align: center;
  transition:
    opacity 1s ease,
    transform 1s ease;
}
.intro_logo {
  width: 196.181px;
  margin: 0 auto;
}
.intro_txt_wrap > div {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.intro_txt_wrap .intro_top {
  padding: 1.5rem 2rem;
  border-radius: 50px;
  border: 3px solid #6a99a6;
  display: block;
  font-size: 4rem;
  font-weight: normal;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.intro_top i {
  font-family: MICEGothicBold;
  font-weight: Bold;
  color: #ef8a00;
}
.intro_txt_wrap span {
  font-family: "Pretendard Variable";
  font-size: 2rem;
  font-weight: 400;
  line-height: 30px;
}
.intro_txt_wrap .intro_span_bold {
  font-family: MICEGothicBold;
  font-weight: Bold;
  font-size: 2.4rem;
}
.intro_txt_wrap .intro_span_bold i {
  color: #00616a;
}
.intro_span_bold.reveal-mask {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

@keyframes revealText {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/*************** 의료진 소개 ******************/

.doc_bg {
  margin-right: calc(50% - 760px);
  padding-left: calc(40% - 860px);
  border-radius: 0px 100px 0px 0px;
  color: #000;
  background-color: #cbe1e8;
  position: relative;
  overflow: visible;
  margin-bottom: 0;
}
.doc_bg01 {
  background-color: #e8e8e8;
  margin-bottom: 0;
}
.spacer {
  width: 50%;
  height: 30rem;
  background-color: #fff;
  position: relative;
}
.doc_bg .container {
  max-width: 1570px;
  height: 560px;
  display: flex;
  gap: clamp(2rem, 15vw, 28rem);
  padding: 5rem 0rem;
}
.doc_inner {
  display: flex;
}
.doc1_img {
  bottom: 254px;
  left: 280px;
  position: relative;
  flex-shrink: 0;
}
.doc_bg .doc2_img {
  bottom: 280px;
}
.doc1_txt {
  color: #000;
  font-family: MICEGothic;
  font-size: 2rem;
  font-weight: normal;
}
.doc1_ul {
  display: flex;
  gap: 30px;
}
.doc1_ul ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.doc1_ul > ul > li:first-of-type {
  font-family: MICEGothicBold;
  font-weight: Bold;
}
.doc_bg_logo {
  position: absolute;
  bottom: 10%;
  left: 180px;
  height: 80%;
}
.doc_bg::before {
  content: "";
  display: block;
  width: 196px;
  height: 199px;
  background: url(../img/doc_logo_lotation.png) no-repeat center;
  background-size: cover;
  position: absolute;
  transition: 300s;
  transform: rotate(10000deg);
  top: -60px;
  right: calc(50% - 960px);
  z-index: -1;
  animation: rotateLogo 25s linear infinite;
}
@keyframes rotateLogo {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*************** 진료 과목 ******************/

.clinic > div:nth-of-type(1) {
  background:
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url(../img/title01_bg.png) no-repeat center/cover;
  transition: background 0.4s ease-in-out;
  position: relative;
}
.clinic > div:nth-of-type(1):hover {
  background: url(../img/title01_bg.png) no-repeat center/cover;
}
.clinic > div .clinicBox {
  justify-content: flex-start;
  padding: 5rem;
}
.clinic > div:hover .clinicBox {
  opacity: 0;
}

.clinic > div:nth-of-type(2) {
  background:
    linear-gradient(rgba(0, 97, 106, 0.8), rgba(0, 97, 106, 0.8)),
    url(../img/title02_bg.png) no-repeat center/cover;
  transition: background 0.4s ease-in-out;
}
.clinic > div:nth-of-type(2):hover {
  background: url(../img/title02_bg.png) no-repeat center/cover;
}
.clinic > div:nth-of-type(3) {
  background:
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url(../img/title03_bg.png) no-repeat center/cover;
  transition: background 0.4s ease-in-out;
}
.clinic > div:nth-of-type(3):hover {
  background: url(../img/title03_bg.png) no-repeat center/cover;
}
.clinic > div:nth-of-type(4) {
  background:
    linear-gradient(rgba(0, 97, 106, 0.8), rgba(0, 97, 106, 0.8)),
    url(../img/title04_bg.png) no-repeat center/cover;
  transition: background 0.4s ease-in-out;
}
.clinic > div:nth-of-type(4):hover {
  background: url(../img/title04_bg.png) no-repeat center/cover;
}

.clinic {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
}
.clinic > div {
  border-radius: 57px;
  box-shadow: 0 6px 7px rgba(0, 0, 0, 0.4);
}
.clinicBox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 302px;
  height: 544px;
}
.clinicLine {
  position: relative;
  bottom: -50px;
  width: calc(100% + 20px);
  height: 1px;
  background-color: #ccc;
  margin-top: 2rem;
}
.thumb {
  width: 155px;
  height: 136px;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.clinicBox .title_txt {
  color: #ef8a00;
  text-align: center;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
  font-family: MICEGOthicBold;
  font-size: 4rem;
  font-weight: bold;
  line-height: 6rem;
  margin-bottom: 1.5rem;
}
.clinicBox span {
  color: #fff;
  text-align: center;
  font-family: pretendard;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 4rem;
}

.clinicLine .dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}
.clinicLine .dot .in {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #fff;
}
.clinic > div:hover .clinicLine .dot {
  background-color: #ef8a00;
}

/*************** 비수술 클리닉 ******************/

.clinic01,
.clinic02,
.clinic03,
.clinic04 {
  position: relative;
  z-index: 1;
}
.clinicTheraphy.clinic01::before,
.clinicTheraphy.clinic02::before,
.clinicTheraphy.clinic03::before,
.clinicTheraphy.clinic04::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 57%;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  background-image: linear-gradient(
    rgba(212, 230, 235, 0.7),
    rgba(212, 230, 235, 0.7)
  );
}
.clinicTheraphy.clinic01::before {
  background-image:
    linear-gradient(rgba(212, 230, 235, 0.7), rgba(212, 230, 235, 0.7)),
    url(../img/clinic02_01_bg.png);
}

.clinicTheraphy.clinic02::before {
  background-image:
    linear-gradient(rgba(212, 230, 235, 0.7), rgba(212, 230, 235, 0.7)),
    url(../img/clinic02_02_bg.png);
}

.clinicTheraphy.clinic03::before {
  background-image:
    linear-gradient(rgba(212, 230, 235, 0.7), rgba(212, 230, 235, 0.7)),
    url(../img/clinic02_03_bg.png);
}

.clinicTheraphy.clinic04::before {
  background-image:
    linear-gradient(rgba(212, 230, 235, 0.7), rgba(212, 230, 235, 0.7)),
    url(../img/clinic02_04_bg.png);
}

.clinicTheraphy.clinic01::after {
  top: 47%;
}
.clinicTheraphy::after {
  content: "NORYANJIN ASAN PAIN CLINIC NORYANJIN ASAN PAIN CLINICNORYANJIN ASAN PAIN CLINIC NORYANJIN ASAN PAIN CLINICNORYANJIN ASAN PAIN CLINIC NORYANJIN ASAN PAIN CLINIC\A NORYANJIN ASAN PAIN CLINIC NORYANJIN ASAN PAIN CLINICNORYANJIN ASAN PAIN CLINIC NORYANJIN ASAN PAIN CLINIC\A NORYANJIN ASAN PAIN CLINIC NORYANJIN ASAN PAIN CLINICNORYANJIN ASAN PAIN CLINIC NORYANJIN ASAN PAIN CLINIC\A NORYANJIN ASAN PAIN CLINIC NORYANJIN ASAN PAIN CLINIC";
  display: block;
  width: auto;
  /* height: 200px; */
  color: rgba(255, 255, 255, 0.4);
  font-family: "Pretendard Variable";
  font-size: 12rem;
  font-weight: 700;
  white-space: pre;
  position: absolute;
  top: 45%;
  white-space: nowrap;
  animation: moveTxt1 800s linear infinite;
  line-height: 1;
  letter-spacing: -1.1px;
  z-index: -1;
}
@keyframes moveTxt1 {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.clinic_wrap {
  display: flex;
  gap: 60px;
  align-items: center;
}
.clinic_left {
  position: relative;
  border-radius: 100px;
  z-index: 1;
  flex: 1;
}
.clinic_left::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 7px;
  width: 100%;
  height: 100%;
  background-color: #6a99a6; /* 연보라색 */
  border-radius: 90px;
  z-index: -1;
}
.clinic_left img,
.reverse_left img {
  display: block;
  width: 100%;
  height: auto;
  transition: clip-path 1.2s ease-out;
}

.clinic_left img {
  clip-path: inset(0 0 0 100%);
}

.reverse_left img {
  clip-path: inset(0 100% 0 0);
}
.clinic_left.reveal img,
.reverse_left.reveal img {
  clip-path: inset(0 0% 0 0);
}
.clinic_left.reverse_left::after {
  bottom: -2px;
  left: 7px;
}
.clinic_right {
  flex: 1;
  margin-top: 140px;
}
.clinic_right.reverse_right {
  margin-top: 250px;
}
.clinic_right span {
  font-family: "Pretendard Variable";
  font-size: 2.7rem;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: -0.27px;
  margin-left: 4.6rem;
  display: block;
}
.clinic_wrap.reverse {
  flex-direction: row-reverse;
}
/*************** 보유장비 ******************/
.equ {
  background: url("../img/equ_bg.png") no-repeat center / cover;
}
/*************** 둘러보기 ******************/
.tour_wrap {
  background: rgba(203, 225, 232, 0.39);
}
.tour_wrap .swiper-wrapper {
  display: flex;
  align-items: center;
}
.tour_wrap .tour_swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  line-height: 0;
  background: #333; /* 이미지 없는 경우 대비 */
  transition: transform 1s ease-in-out;
  transform: scale(0.85); /* 기본 크기를 작게 설정 */
  opacity: 0.8; /* 투명도 조정 */
}
/* 활성화된 슬라이드는 크기를 원래대로 */
.tour_wrap .tour_swiper .swiper-slide-active {
  transform: scale(1); /* 중앙 슬라이드는 원래 크기 */
  opacity: 1; /* 투명도 완전하게 */
}
.tour_wrap .swiper-slide img {
  /* width: 100%; */
  height: auto;
  /* object-fit: cover; */
}
.tour_pagination.swiper-pagination-progressbar {
  position: relative;
  margin: 80px auto 150px;
  background: #fff;
}
.tour_pagination.swiper-pagination-progressbar
  .swiper-pagination-progressbar-fill {
  background: #6a99a6;
}
/*************** way ******************/
.way_flex_wrap {
  display: flex;
  justify-content: center;
  flex-direction: column-reverse;
  width: 67%;
  margin: 0 auto;
}
.way_box .box1 .box2 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.way_box1Top {
  padding: 2rem 2rem;
  display: flex;
  gap: 10px;
  align-items: center;
  height: 90px;
  background: #00616a;
  font-size: 2.6rem;
  color: #fff;
  border-radius: 29px;
}
.way_box1Top i,
.time i {
  font-family: MICEGothicBold;
  font-weight: bold;
}
.way_box1Bottom {
  width: 100%;
  background: #00616a;
  border-radius: 29px;
  padding: 5rem 5rem;
  font-size: 2.6rem;
  color: #fff;
}
.time {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.time i {
  width: 40%;
  display: inline-block;
}
.box2Bottom .click {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: center;
}
.click {
  transition: color 0.3s ease;
  color: #00616a;
}
.way_box1Bottom a:hover .click {
  color: #ef8a00;
}
.click::before {
  content: "";
  display: inline-block;
  width: 33.81px;
  height: 45.902px;
  background: url(../img/way_click.png) no-repeat center/ contain;
}
.time li:first-child {
  font-size: 3.2rem;
  font-family: MICEGothicBold;
  font-weight: bold;
}
.way_box .box2Top {
  background: #f0f0f0;
  color: #000;
}
.way_box .box2Bottom {
  background: #f0f0f0;
  color: #000;
  height: 620px;
  position: relative;
}
.way_logo {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 195px;
  border-radius: 0px 0px 29px 0px;
}
.time_small,
.time_small_m {
  font-size: 2rem;
}
.way_park_wrap {
  display: flex;
  flex-direction: column;
}
.way_park_imgbox {
  height: 330px;
  position: relative;
  z-index: 1;
  object-fit: contain;
}
.time_small_m,
.way_park_a_wrap_m .click {
  display: none;
}

/*************** location ************/
.location_wrap .root_daum_roughmap .cont {
  display: none;
}
.location_wrap .root_daum_roughmap .wrap_map {
  height: 100%;
  min-height: 800px;
}
.map_wrap .root_daum_roughmap .cont {
  display: none;
}
.map_wrap .root_daum_roughmap .wrap_map {
  height: 100%;
  min-height: 300px;
}
.location_wrap > div {
  display: flex;
  flex: 1;
}
.location_img {
  width: 100%;
  height: 300px;
  overflow: hidden;
}
.location_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.time li {
  display: flex;
  justify-content: space-between;
}

/* 추가 수정 원장님*/
.doc_bg01 .container {
  max-width: 1570px;
  height: 560px;
  display: flex;
  gap: clamp(2rem, 15vw, 23rem);
  padding: 5rem 0rem;
}
