/* 공통 */
body {
  -webkit-font-smoothing: antialiased;      /* 크롬, 사파리용 */
  -moz-osx-font-smoothing: grayscale;       /* macOS 파이어폭스용 */
}
body{
  width: 100%;
}
/* 오버레이 기본 비활성 상태 */
.dimmed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* 활성화 시 */
.dimmed.active {
  opacity: 1;
  pointer-events: auto;
}
/* common */
.main_tit::before{
  content: 'ST. MARY 365 RUN ORTHOPEDIC CLINIC';
  display: block;
  text-transform: uppercase;
  color: #1976BB;
  letter-spacing: 1.62px;
  font-size: 14px;
  font-weight: 400;
  font-family: "Pretendard Variable";
}
.main_tit{
  font-family: 'Paperlogy7';
  font-size: 50px;
  letter-spacing: -0.0054em;
}
.main_tit b{
  color: rgba(1, 1, 1, 0.15);
}
.main_tit b .copy{
  color: rgb(0, 0, 0);
}
.main_tit p{
  font-family: "Pretendard Variable";
  letter-spacing: -0.0054em;
  font-weight: 500;
  font-size: 2.4rem;
}
/* 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: inline-block;
  opacity: 1;
}
.split .char {
  display: inline-block;
  opacity: 0;
}

/* main start */

/* intro */
.intro{
  background: url(../img/intro_bg.png?ver=20250428)no-repeat center/cover;
  position: relative;
  z-index: -2;
  background-attachment: fixed;
}
.intro_left{
  display: flex;
  justify-content: center;
  gap: 20px;
}
.intro_left .intro_l_t{
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.intro_l_t img{
  display: block;
  width: 67px;
  object-fit: contain;
}
.intro_l_c .txt{
  font-family: "Paperlogy7";
  font-size: 5rem;
  color: #0E3075;
  line-height: 1.2;
}
.intro_l_c>div:last-child{
  font-family: "Paperlogy4";
}
.intro_l_c>div:last-child i{
  font-family: "Paperlogy8";
  color: #0E3075;
}
.intro_left .intro_l_c{
  font-family: "Pretendard Variable";
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 1.4;
  letter-spacing: 0.022em;
  display: flex;
  flex-direction: column;
  gap: 35px;
}
.intro_cc{
  display: flex;
  gap: 27px;
}
.intro_right{
  max-width: 450px;
  position: relative;
  height: fit-content;
}
.intro_right img {
  display: block;
}
.intro_logo1{
  display: none;
}
/* 파란 커버 */
.intro_right::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  background: #0E3075;
  z-index: -1;
}
/* doc*/
.doc{
  position: relative;
}
.doc_wrap_c{
  display: flex;
  gap: 140px;
  justify-content: center;
  align-items: center;
}
.doc_left.main img{
  display: block;
  max-width: 500px;
}
.doc_right.main{
  display: flex;
  flex-direction: column;
  gap: 25px;
  position: relative;
}
.doc_right.main >div:first-child{
  font-family: "Paperlogy3";
  font-size: 3rem;
  line-height: 1.4;
}
.doc_right.main >div:nth-of-type(2){
  font-family: "Paperlogy7";
  font-size: 4.5rem;
  color: #0E3075;
  display: flex;
  align-items: center;
  gap: 15px;
}
.doc_right.main >div:nth-of-type(2) i{
  font-size: 3rem;
  color: #000;
  font-family: "Paperlogy5";
  display: flex;
  align-items: center;
}
.doc_right.main ul li:first-child{
  font-family: "Paperlogy7";
  font-size: 2.8rem;
  color: #0E3075;
}
.doc_right.main ul li{
  font-family: "Pretendard Variable";
  line-height: 1.4;
  font-weight: 500;
  font-size: 2rem;
}
.see_more{
  width: 230px;
  padding: 5px 10px;
  border-radius: 60px;
  border: 2px solid #000;
  font-size: 3rem;
  font-family: "Paperlogy3";
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  color: #000;
  position: absolute;
  bottom: 0;
  right: 0;
}
.see_more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  position: relative;
  z-index: 1;
  color: inherit;
}
.see_more::before{
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  background: #0E3075;
  transition: all .6s ease;
  z-index: 0;
}
.see_more:hover::before{
  left: 0;
}
.see_more:hover{
  color: #fff;
  border-color:#0E3075;
}
.see_more .more {
  position: relative;
  width: 14px;
  height: 14px;
  display: inline-block;
  transition: transform 0.6s ease;
}
/* 두 막대 (십자가 모양) */
.see_more .more::before,
.see_more .more::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.see_more .more::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
/* hover 시 십자가 전체 회전 */
.see_more a:hover .more {
  transform: rotate(360deg);
}
.ocean { 
  height: 0%;
  width:100%;
  position:absolute;
  bottom:0;
  left:0;
  z-index: -1;
}
.wave {
  background: url(../img/wave.svg) repeat-x;
  position: absolute;
  top: -198px;
  width: 6400px;
  height: 198px;
  animation: wave 7s cubic-bezier( 0.36, 0.45, 0.63, 0.53) infinite;
  transform: translate3d(0, 0, 0);
}

.wave:nth-of-type(2) {
  top: -175px;
  animation: wave 7s cubic-bezier( 0.36, 0.45, 0.63, 0.53) -.125s infinite, swell 7s ease -1.25s infinite;
  opacity: 1;
}

@keyframes wave {
  0% {
    margin-left: 0;
  }
  100% {
    margin-left: -1600px;
  }
}

@keyframes swell {
  0%, 100% {
    transform: translate3d(0,-25px,0);
  }
  50% {
    transform: translate3d(0,5px,0);
  }
}

/* clinic1 */
.clinic1{
  background: linear-gradient(180deg, #edf3f9 50%, #FFF 100%);
}
.clinic1_img {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.clinic1_img img {
  display: block;
  width: 100%;
  filter: grayscale(100%) brightness(40%) contrast(100%);
  transition: filter 0.6s ease;
}
.clinic1_img .clinic1_txt {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  z-index: 2;
}
.clinic1_img .tit {
  font-size: 1.5rem;
  font-weight: bold;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}
.clinic1_img .desc {
  font-size: 1rem;
  margin-top: 15px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
  font-family: "Paperlogy5";
  font-size: 2.5rem;
  line-height: 1.4;
}
/* 그라데이션 오버레이 */
.clinic1_img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 98, 160, 1), rgba(0,0,0,0));
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
}
/* 기본 on 상태 */
.clinic1_img.on::after {
  opacity: 1;
}
.clinic1_img.on img {
  filter: grayscale(0%);
}
.clinic1_img.on .desc {
  opacity: 1;
  transform: translateY(0);
}
.clinic1_img.on .see_more1 .more1 {
  transform: rotate(360deg);
}
.clinic1_img.on .see_more1 {
  opacity: 1;
  transform: translateY(0);
}

/* Hover 시 */
.clinic1_img:hover img {
  filter: grayscale(0%);
}
.clinic1_img:hover .desc {
  opacity: 1;
  transform: translateY(0);
}
.clinic1_img:hover::after {
  opacity: 1;
}
.clinic1_wrap_c{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 40px;
  margin: 0 auto;
  max-width: 1200px;
}
.see_more1{
  width: 80px;
  height: 80px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  color: #ffffff;
  opacity: 0;
  transform: translateY(40px);
  transition: all .6s ease;
}
.clinic1_img:hover{
  color: #fff;
  border-color:#ffffff;
}
.see_more1 .more1 {
  position: relative;
  width: 35px;
  height: 35px;
  display: inline-block;
  transition: transform 0.6s ease;
}
/* 두 막대 (십자가 모양) */
.see_more1 .more1::before,
.see_more1 .more1::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 4px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.see_more1 .more1::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
/* hover 시 십자가 전체 회전 */
.clinic1_img:hover .see_more1 .more1 {
  transform: rotate(360deg);
}
.clinic1_img:hover .see_more1 {
  opacity: 1;
  transform: translateY(0);
}
.clinic1_img .tit{
  font-family: "Paperlogy7";
  font-size: 4rem;
}
.clinic1_img .desc{
  font-family: "Paperlogy5";
}
/* place */
.place{
  background: url(../img/place_logo.png)no-repeat top left;
  background-size: 700px;
}
/* 둘러 보기 */
.tour_swiper .swiper-slide{
  width: auto;
  height: auto;
  line-height: 0;
  max-width: 85%;
}
.tour_pagination{
  text-align: center;
  margin-top: 50px;
}
.tour_swiper .swiper-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.tour_pagination .swiper-pagination-bullet{
  background: #C3C3C3;
  opacity: 1;
}
.tour_pagination .swiper-pagination-bullet-active{
  background: #0E3075;
}
/* way */
.way{
  background: url(../img/way_bg.png?ver=20250428)no-repeat center/cover;
  background-attachment: fixed;
  text-align: center;
}
.way_wrap{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.way_left{
  width: 45%;
  height: 620px;
}
.way_right{
  position: relative;
  width: 55%;
  height: 700px;
  background: #fff;
  padding: 40px 50px;
  font-family: 'Paperlogy7';
  z-index: 1;
}
.root_daum_roughmap_landing{
  height: 640px;}
  
  .way_right::after {
    content: '';
    display: block;
    width: 90px;
    height: 90px;
    position: absolute;
    top: 30px;
    right: 30px;
    background: url(../img/way_logo.png) no-repeat center/cover;
  }
  .root_daum_roughmap .wrap_controllers, .root_daum_roughmap .cont .section{display: none;}
  
  .map_top{
    font-size: 4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .map_top i{
    color: #0E3075;
  }
  .map_tit{
    display: flex;
    gap: 20px;
    align-items: center;
    color: #0E3075;;
    margin-bottom: 5px;
    font-family: "Paperlogy8";
    font-size: 4.5rem;
  }
  .map_tit.s{
    color: #000;
    font-size: 3rem;
  }
  .map_tit img{
    /* object-fit: contain; */
    aspect-ratio: 1/1;
  }
  .map_tit.color{
    font-family: 'Paperlogy5';
    font-size: 20px;
    line-height: 1.2;
    font-weight: 400;
  }
  .map_tit.color1{
    color: #006768;
    font-family: 'Paperlogy7';
    font-size: 30px;
  }
  .map_txt_ul{
    color: #000;
    font-size: 3rem;
  }
  .map_txt_ul strong{
    font-family: 'Paperlogy5';
  }
  .map_txt_ul b{
    font-family: 'Paperlogy7';
  }
  .map_txt_ul li{
    display: flex;
    justify-content: space-between;
  }
  .map_txt_ul li em{
    width: 160px;
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
  }
  .map_txt_s{
    font-size: 2rem;
    font-family: 'Paperlogy5';
    color: #464646;
  }
  .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-family: 'Paperlogy5';
    font-size: 2.2rem;
    line-height: 1.5;
  }
  .way_right::after {
    content: '';
    display: block;
    width: 90px;
    height: 90px;
    position: absolute;
    top: 30px;
    right: 30px;
    background: url(../img/way_logo.png) no-repeat center / cover;
  }
  .map_tit_wrap{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .parking_tmap{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
  }
  .tmap {
    padding: 50px;
    border-radius: 20px;
    background: #D7DFEE;
    box-shadow: 4px 5px 10px 0 rgba(0, 0, 0, 0.10);
    border: 5px solid #1976BB;
    font-size: 4rem;
    font-family: "Paperlogy7";
    color: #000; /* 글자색 기본 */
    transition: all 0.3s ease; /* 부드러운 전환 */
    line-height: 1.3;
    flex: 1;
    height: 300px;
  }
  
  
  .tmap:hover {
    background: #e8f1f8;
    color: #000;
  }
  
  .tmap a{
    display: block;
    width: 100%;
    
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    
  }
.tmap img{
  max-width: 60px;
}
.parking_gif{
  width: 100%;
}