/* common */
.main_tit::before{
  content: 'ASAN ONE TOP ORTHOPEDIC CLINIC';
  display: block;
  text-transform: uppercase;
  color: #295E69;
  letter-spacing: 0.09em;
  font-size: 14px;
  font-weight: 400;
  font-family: "Pretendard Variable";
}
.main_tit{
  font-family: 'Paperlogy';
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.main_tit b{
  color: rgba(1, 1, 1, 0.15);
}
.main_tit b .copy{
  color: rgb(0, 0, 0);
}
/* h2 ani css */ 
.copy_e{
  position: relative;
  white-space: nowrap;
  display: inline-block;    
  line-height: 1.3em;
}
.copy_e .copy{
  position: absolute;
  display: inline-block;
  left: 0;
  top: 0;
  width: 0%;
  height: 100%;
  font-size: 1em;
  font-weight: inherit;
  line-height: 1.3em;
  /* color: #000; */
  opacity: 0.2;
  overflow: hidden;
  white-space: nowrap;
  transition: width 1s ease-in-out ;
}
.copy_e.active .copy{width: 100%;opacity: 1;}
.copy_e br{
  display: none;
}
.copy_e .copy br{
  display: none;
}
.split {
  display: block;
  line-height: 1.5;
}

.split .char {
  display: inline;
  vertical-align: top;
}
.no-aos {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.5s ease-in-out, transform 0.8s ease-in-out;
}
.no-aos.show{
  opacity: 1;
  transform: translateY(0);
}
/* secion1 */
.sec1{
  position: relative;
  background: url(../img/sec1_bg.png)no-repeat center/cover;
  overflow: hidden;
  width: 100%;
  background-attachment: fixed;
}
.sec1 img{
  width: 620px;
  object-fit: contain;
  display: block;
}

.sec1_wrap, h2 {
  position: relative;
  z-index: 2; /* content가 canvas 위에 보이도록 */
}

.sec1_flex{
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
}
.sec1_left{
  flex: 1;
}
.sec1_right{
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #295E69;
}
.sec1_right h3{
  font-family: "paperlogy";
  font-weight: 700;
  font-size: 53px;
  display: flex;
  align-items: flex-end;
}
.sec1_txt{
  color: #424242;
  font-size: 2.2rem;
  line-height: 1.3;
}
.sec1_sign p{
  color: #424242;
  font-size: 2.6rem;
  font-weight: 600;
}
.sec1 .sec1_sign strong{
  font-family: 'KimjungchulScript';
  color: #295E69;
  font-size: 4rem;
}
/* No.1 */
.shiny {
  color: #295E69; /* 메인 텍스트 색상 */
  background: -webkit-gradient(linear, left top, left bottom, from(#295E69), to(#295E69));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-family: "Paperlogy";
  font-size: 1.2em;
  font-weight: 900;
  position: relative;
  text-transform: uppercase;
}

.shiny::before {
  background-position: -180px;
  -webkit-animation: flare 5s infinite;
  -webkit-animation-timing-function: linear;
  background-image: linear-gradient(
  65deg,
  transparent 20%,
  rgba(255, 255, 255, 0.2) 20%,
  rgba(255, 255, 255, 0.3) 27%,
  transparent 27%,
  transparent 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  content: "No.1";
  color: #FFF;
  display: block;
  padding-right: 140px;
  position: absolute;
}

.shiny::after {
  content: "No.1";
  color: #FFF;
  display: block;
  position: absolute;
  text-shadow: 0 1px #1C3D46, 0 2px #1C3D46, 0 3px #1C3D46, 0 4px #1C3D46, 0 5px #1C3D46, 0 6px #1C3D46, 0 7px #1C3D46, 0 8px #1C3D46, 0 9px #1C3D46, 0 10px #1C3D46;
  top: 0;
  z-index: -1;
}


.inner-shiny::after,
.inner-shiny::before {
  -webkit-animation: sparkle 5s infinite;
  -webkit-animation-timing-function: linear;
  background: #FFF;
  border-radius: 100%;
  box-shadow: 0 0 5px #FFF, 0 0 10px #FFF, 0 0 15px #FFF, 0 0 20px #FFF, 0 0 25px #FFF, 0 0 30px #FFF, 0 0 35px #FFF;
  content: "";
  display: block;
  height: 10px;
  opacity: 0.7;
  position: absolute;
  width: 10px;
}

.inner-shiny::before {
  -webkit-animation-delay: 0.2s;
  height: 7px;
  left: 0.12em;
  top: 0.8em;
  width: 7px;
}

.inner-shiny::after {
  top: 0.32em;
  right: -5px;
}

@-webkit-keyframes flare {
  0% {
    background-position: -180px;
  }
  30% {
    background-position: 500px;
  }
  100% {
    background-position: 500px;
  }
}

@-webkit-keyframes sparkle {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 0;
  }
  40% {
    opacity: 0.8;
  }
  60% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
/* secion2 */
.sec2{
  background: url(../img/sec2_logo.png) bottom right no-repeat;
}
.sec2_flex{
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}
.sec2_left{
  background: #B9D4D9;
  border-radius: 20px;
  flex: 1.4;
}
.sec2_left img{
  display: block;
}
.sec2_right{
  flex: 2;
  font-family: "Paperlogy";
}
.sec2_right strong{
  color: #295E69;
  font-weight: 700;
  font-size: 2rem;
}
.sec2_right .txt_t{
  color: #295E69;
  font-size: 4.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sec2_right .txt_t h4{
  color: #fff;
  font-size: 2.4rem;
  border-radius: 10px;
  background: #F37042;
  padding: 0px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: fit-content;
  font-weight: 700;
  gap: 5px;
}
.sec2_right ul{
  font-size: 1.8rem;
  line-height: 1.5;
}
.sec2_right .ul_flex{
  display: flex;
  gap: 100px;
}
strong.animate__animated {
  display: inline-block;
}
/* aos animate 분리 css */
.sec2_right strong{
  opacity: 0;
}

.sec2_right.aos-animate strong{
  opacity: 1;
  animation: headShake 1s ease-in-out 0.5s 4;
}

/* sec3 */
.sec3{
  position: relative;
  background: #032E37;
  z-index: 0;
  height: 100%;
  overflow: hidden;
}
.sec3_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../img/sec3_bg_img1.png) no-repeat center/cover;
  z-index: -1;
  opacity: 1;
  transition: all 1s ease-out;
  transition-delay: 1s;
}
.sec3_bg.fade-out {
  opacity: 0;
}
/* .sec3::after{
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url(../img/sec3_bg_img1.png) no-repeat center/cover;
z-index: -1;
opacity: 0;
transform: translateX(-30%);
transition: all 1s ease-out;
transition-delay: 0s;
} */
/* .sec3.aos-animate::after{
opacity: 1;
transform: translateX(0);
transition-delay: 0.8s;
} */
.sec3 .main_tit b{
  color: rgba(255, 255, 255, 0.15);
}
.sec3 .main_tit b .copy{
  color: rgb(255, 255, 255);
}
.sec3 .main_tit::before{
  color: #fff;
}
.label_wrap{
  width: 50%;
  margin: 0 auto;
  text-align: center;
}
/* toggle */
.switch {
  display: inline-block;
  height: 75px;
  width: 685px;
  position: relative;
}
.switch input {
  display: none;
}
.slider {
  background-color: #fff;
  border-radius: 20px;
  height: 100%;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font-family: 'Paperlogy';
  font-weight: 700;
  box-sizing: border-box;
  cursor: pointer;
  margin: 0 auto;
}
.label {
  font-size: 30px;
  color: #999;
  width: 33.33%;
  text-align: center;
  z-index: 1;
}

.toggle {
  position: absolute;
  top: 7.5px;
  left: 7.5px;
  width: 212px;
  height: 60px;
  background: #006768;
  border-radius: 15px;
  transition: transform 0.4s;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.toggle-text {
  color: #fff;
  font-size: 30px;
  pointer-events: none;
}

/* 진료과목 카드 */
.clinic1_card_wrap{
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 600px;
  z-index: 1;
}
.clinic1_left{
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  background: #fff;
  width: 54%;
  padding: 63px 50px;
  height: 100%;
  font-family: "Paperlogy";
  font-weight: 400;
  font-size: 2.4rem;
}
.clinic1_left .color{
  font-weight: 800;
  font-size: 4rem;
  color: #042F38;
}
.clinic1_left b{
  font-weight: 800;
}
.s3_flex .line{
  height: 1px;
  background: #C8C8C8;
}
.clinic1_right{
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
  height: 100%;
  overflow: hidden;
  border-radius: 0 30px 30px 0;
  background: #F3F3F3;
}
.clinic1_right img{
  position: relative;
  display: block;
  height: 100%;
}
.txt_top, .txt_bot{
  display: flex;
  flex-direction: column;
  gap: 5px;
  letter-spacing: -0.0024em;
}
.txt_top em{
  font-weight: 700;
}
.clinic1_card .txt_top{
  font-size: 2.4rem;
  line-height: 1.5;
}
.clinic1_card .txt_top b{
  font-size: 36px;
}
.orange_box{
  border-radius: 10px;
  background: #F37042;
  height: fit-content;
  width: fit-content;
  padding: 2px 10px;
  color: #fff;
}
.clinic1_ulbox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0px;
}
.clinic1_ulbox ul {
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.clinic1_card_wrap.joint {
  display: none; 
}
.clinic1_ulbox_txt.flex {
  position: relative;
  padding: 0;
}
.clinic1_ulbox_txt.flex li.top-right {
  position: absolute;
  top: 0;
  right:10%;
  display: flex;
  flex-direction: column;
}
.child_tab{
  font-weight: 800;
  font-size: 4rem;
  display: flex;
  gap: 50px;
  color: #BEBEBE;
  cursor: pointer;
}
.child_tab .on{
  color: #042F38;
}


/* sec4 */
.sec4{
  background: url(../img/sec4_bg.png)no-repeat center/cover;
  position: relative;
  background-attachment: fixed;
}
/* 탭 전체 래퍼 */
.tab_wrap {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px;
  background: #fff;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.10);
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  top: 0;
  z-index: 99;
}
/* .tab_wrap.fixed{
position: fixed;
top: 99px;
z-index: 99;
left: 50%;
transform: translateX(-50%);
width: calc(100% - 700px);
max-width: 1280px;
} */
/* 개별 탭 */
.tab_wrap .tab {
  flex: 1;
  text-align: center;
  font-size: 2.2rem;
  font-weight: 600;
  color: #BEBEBE;
  cursor: pointer;
  padding: 8px 0;
  transition: all 0.3s ease;
  position: relative;
}

/* 활성화된 탭 */
.tab_wrap .tab.active {
  color: #fff;
  width: fit-content;
  height: fit-content;
  background: #295E69;
  border-radius: 15px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}
.blog-list {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 100px;
}
.blog_wrap{
  width: 90%;
  margin: 0 auto;
}
.blog-item {
  display: flex;
  align-items: center;
  gap: 0px;
  height: 550px;
  border-radius: 50px;
  border: 0.5px solid #eeeeee;
  background: #FFF;
  box-shadow: 0 4px 40px 10px rgba(0, 0, 0, 0.06);
  padding: 40px;
}

.blog-img {
  /* height: 100%; */
  transform: translateX(-100px);
  position: relative;
  z-index: 2;
  border-radius: 30px;
  overflow: hidden;
  flex: 2.5;
  box-shadow: 4px 0 20px 10px rgba(0, 0, 0, 0.08);
}

.blog-img img {
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-content {
  flex: 4.5;
  padding-right: 25px;
}

.blog-code {
  color: #295E69;
  display: block;
  font-weight: 800;
  font-size: 3.7rem;
}

.blog-title {
  font-size: 2.2rem;
  font-weight: 400;
  color: #0d0925;
  line-height: 1.5;
}

.blog-text {
  color: #295E69;
  font-weight: 800;
  font-size: 2.5rem;
}

.blog-button {
  display: inline-flex;
  background-image: linear-gradient(147deg, #fe8a39 0%, #fd3838 74%);
  padding: 15px 35px;
  border-radius: 50px;
  color: #fff;
  box-shadow: 0px 14px 80px rgba(252, 56, 56, 0.4);
  text-decoration: none;
  font-weight: 500;
  justify-content: center;
  text-align: center;
  letter-spacing: 1px;
}

/* quick _clinic */
.quick_logo_c {
  position: absolute;
  bottom: 15px;
  right: 5%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgb(41, 94, 105,0.2);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  cursor: pointer;
  z-index: 2;
  font-size: 18px;
  font-family: "Paperlogy";
  /* overflow: hidden; ← 제거해야 ripple 퍼짐 */
}
.quick_logo_c .arrow1{
  height: 30px;
  margin-bottom: 20px;
}
.quick_logo_c .ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%) scale(1);
  border-radius: 50%;
  background-color: rgb(41, 94, 105,0.3);
  animation: rippleEffect 2.5s infinite;
  z-index: 0;
}

.quick_logo_c .ripple:nth-child(3) {
  animation-delay: 1.25s;
}

@keyframes rippleEffect {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}
.quick_logo_c:hover span{
  animation: bounceImage 0.4s ease-in-out;
}
.quick_logo_c span {
  position: absolute;
  bottom: 22%;
  z-index: 1;
  font-size: 15px;
}
.clinic1_right .arrow{
  position: absolute;
  width: 20px;
  top: 20%;
}
.blog_ul{
  display: flex;
  align-items: center;
  border-radius: 20px;
  border: 4px solid #BFCFD2;
  background: rgba(191, 207, 210, 0.10);
  padding: 12px;
}
.blog_ul li{
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border-right: 2px solid rgb(127, 127, 127, 0.3);
  color: #6C6C6C;
  font-size: 1.8rem;
  font-weight: 500;
}
.blog_ul img{
  height: 70px;
  object-fit: contain;
}
.blog_ul li:last-child{
  border: none;
}
/* reverse */
.blog-item.reverse{
  flex-direction: row-reverse;
}
.blog-item.reverse .blog-img{
  transform: translateX(100px);
}
.blog_ul_last{
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 2.2rem;
}
/* sec5 */
/* arrow */
.arrow {
  display: inline-block;
  width: 60px;
  height: 60px;
  cursor: pointer;
}

.arrow-svg {
  width: 100%;
  height: 100%;
}

.arrow:hover circle {
  stroke: #295E69;
  stroke-width: 2.5px;
  transition: all .3s ease-in;
}

/* equipment */
.equ{
  background: url(../img/sec5_bg.png)no-repeat center/cover;
  background-attachment: fixed;
  position: relative;
}
.equ .container{
  position: relative;
}
.equ .container::before,
.equ .container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 35%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}
.equ .container::before {
  left: 0;
  background: linear-gradient(to right, #f7f7f7 0%, transparent 100%);
}
.equ .container::after {
  right: 0;
  background: linear-gradient(to left, #f7f7f7 0%, transparent 100%);
}
.img-fluid {
  max-width:100%;
}
.rounded-3 {
  border-radius:10px;
}
.equ .machine .swiper{
  padding-top: 40px;
  padding-bottom: 65px;
}
.equ .machine .swiper-slide{
  width: auto !important;
  max-width: 330px;
  flex-shrink: 0;
  cursor: pointer;
}
.equ .machine .swiper-wrapper{
  width: 100% !important;
}
.equ .machine .flip-card {
  width: 330px;
  height: 500px;
  text-align: center;
  background: #fff;
  border-radius: 25px;
  border: 5px solid rgba(41, 94, 105, 0.35);
  transition: outline 0.3s ease;
  overflow: visible;
}
/* 가운데 활성화 슬라이드일 때만 효과 적용 */

/* .equ .flip-card::before {
content: "";
position: absolute;
top: -10px;
left: -10px;
right: -10px;
bottom: -10px;
border: 10px solid rgba(0, 103, 104, 0.2);
border-radius: 38px;
z-index: -1;
opacity: 0;
transition: opacity 0.3s ease;
}
.equ .flip-card:hover::before {
opacity: 1;
}
.equ .flip-card:hover {
outline: 5px solid #009799;
outline-offset: 0px;
} */
.equ .machine .flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  transition: all 550ms cubic-bezier(0.1, 0.22, 0.8, 1.13);
  transform-style: preserve-3d;
  margin-bottom: 25px;
}
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  backface-visibility: hidden;
}
.flip-card-front {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.equ .machine.swiper{
  position: relative;
}
.equ_title{
  font-family: 'Paperlogy';
  font-weight: 600;
  font-size: 30px;
}
.equ .machine .swiper-pagination.swiper-pagination-progressbar.swiper-pagination-horizontal {
  top: auto;      /* top 제거 */
  bottom: -85px; /* 하단에 붙이기 */
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  margin: 0 auto;
  height: 7px;
  background: rgba(0,0,0,0.1);
  border-radius: 2px;
}
.equ .machine .swiper-pagination.swiper-pagination-progressbar {
  transition: all 0.5s ease-in-out;
}
.equ .machine .swiper-pagination .swiper-pagination-progressbar-fill {
  background: #295E69;
  transition: all 0.5s ease-in-out;
}

/* way */

.way{
  background: url(../img/sec6_bg.png)no-repeat center/cover;
  background-attachment: fixed;
  text-align: center;
  font-family: "Paperlogy";
}
.way_wrap{
  display: flex;
  justify-content: center;
  align-items: center;
}
.way_left, .map, .root_daum_roughmap_landing{
  border-radius: 50px 0 0 50px;
}
.way_left{
  width: 45%;
  height: 670px;
}
.way_right{
  position: relative;
  width: 55%;
  height: 670px;
  background: #fff;
  font-weight: 400;
  padding: 40px 50px;
  z-index: 1;
  border-radius: 0px 50px 50px 0px;
}
.root_daum_roughmap_landing{
  height: 670px;}
  
  .way_right::after {
    content: '';
    display: block;
    width: 90px;
    height: 90px;
    position: absolute;
    top: 30px;
    right: 30px;
    background: url(../img/way_logo.png?ver=250813) no-repeat center/cover;
  }
  .root_daum_roughmap .wrap_controllers, .root_daum_roughmap .cont .section{display: none;}
  
  .map_top{
    font-size: 33px;
  }
  .map_tit{
    display: flex;
    gap: 20px;
    align-items: center;
    color: #000;
    font-weight: 700;
  }
  
  .map_tit img{
    /* object-fit: contain; */
    aspect-ratio: 1/1;
  }
  .map_tit.color{
    font-size: 2rem;
    font-weight: 400;
  }
  .map_tit.color1{
    color: #006768;
    font-size: 30px;
  }
  .map_txt_ul{
    color: #000;
    font-size: 2.5rem;
  }
  .map_txt_ul em{
    font-weight: 800;
  }
  .map_txt_ul b{
  }
  .map_txt_ul li{
    display: flex;
    justify-content: space-between;
  }
  .map_txt_ul li em{
    width: 206px;
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
  }
  .map_txt_s{
    font-size: 2rem;
    color: #222222;
  }
  .map_txt_s.txt_b{
    font-weight: 700;
  }
  /* .map_txt_ul li:last-child{
  gap: 140px;
  } */
  .map_txt_ul .map_tit{
    justify-content: inherit;
  }
  .map_txt_ul li:last-child strong{
    display: flex;
    flex-direction: column;
    text-align: left;
  }
  .map_txt_ul li:last-child > strong i{
    font-size: 2.2rem;
    line-height: 1.5;
  }
  .map_tit_sticker{
    font-size: 2.2rem;
    width: auto;
    background: #295E69;
    border-radius: 10px;
    color: #fff;
    padding: 2px 10px;
  }
  .map_tit_wrap_y{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  