@media (min-width: 0px) and (max-width: 1300px) {
  .s3_left_inner {
    margin-left: 5vw;
    margin-right: 2vw;
  }
  .s3_right_swiper .swiper-slide{
    align-items: center;
  }
}
@media (min-width: 0px) and (max-width: 1280px) {
  .s3_left .s3_arr {
    right: -32px;
    width: 75px;
    height: 120px;
    padding: 14px;
    border-radius: 13px;
  }
  .s3_right_inner{
    margin-right: auto;
  }
  .s3_right_swiper .swiper-slide>*{
    width: 85%;
  }
  .content-wrap .right{
    padding: 30px;
  }
  .navigate-wrap{
    bottom: 30px;
  }
  .navigate-wrap .right{
    padding: 0px 30px;
  }
  .content-wrap .right h3{
    font-size: 35px;
  }
  .content-wrap .right h4{
    font-size: 22px;
  }
  .sec1{
    background-size: 59vw 44vw;
  }
  .map_flex{
    flex-direction: column;
  }
  .map_wrap.main .root_daum_roughmap{
    height: 300px;
  }
  .sub_tab li,
  .sub_tab::before{
    width: 19vw;
  }
  .sub-first01 .doc1,
  .sub-first01 .doc2{
    width: 20vw;
    height: 29vw;
  }
  
  .sub1-2-ul > ul{
    max-height: 17vw;
  }
  .gallery-single.swiper{
    height: auto !important;
  }
  .font-title-sub{
    font-size: 3.1vw;
  }
  .sub-forth-main-content .content img,
  .sub-forth-main-content .content .txt{
    min-width: 0;
  }
  .sub-forth-main-content .content .txt,
  .sub-forth-main-content .content.reverse .txt{
    position: static;
    padding: 60px 20px;
  }
  .sub-forth-bot-content .contents-img{
    gap: 10px;
  }
  .sub-forth-bot-content .bg-img{
    padding: 270px 20px 40px;
  }
  .sub-location::before{
    background-size: 59vw 44vw;
  }
}
@media (min-width: 0px) and (max-width: 1080px) {
  .sub-first01 .doc1,
  .sub-first01 .doc2{
    position: static;
    width: 230px;
    height: 320px;
  }
  .sub-first01 .img{
    justify-content: center;
  }
  .sub-second01-content .main-box .content{
    gap: 20px;
  }
  .sub-forth-main-content .content img,
  .sub-forth-main-content .content .txt{
    flex: 1 1 0;
  }
  .sub-forth-bot-content .bg-img{
    padding: 170px 15px 20px;
  }
  .sub-location-bot,
  .sub-location .map_flex.reverse{
    flex-direction: column;
  }
  .sub-location .root_daum_roughmap_landing{
    height: 300px;
  }
  .sub-location-bot .left img{
    width: 100%;
    margin: 0 auto;
  }
}
@media (min-width: 0px) and (max-width: 900px) {
  .con3,
  .content-wrap,
  .sec2-content-wrap{
    flex-direction: column;
  }
  .content-wrap{
    gap: 4rem;
  }
  .s3_left .s3_arr{
    display: none;
  }
  .content-wrap .right h3{
    font-size: var(--title-size); 
  }
  .content-wrap .right h4{
    font-size: var(--body-m-size);
  }
  .navigate-wrap .right{
    position: relative;
    padding: 0px 30px;
  }
  .content-wrap .right::after{
    content: '';
    display: block;
    width: 100px;
    height: 100px;
    background: url(../img/main_sec1-round_logo.png) no-repeat center;
    background-size: cover;
    position: absolute;
    transition: 300s;
    transform: rotate(10000deg);
    top: -40px;
    right: -40px;
    z-index: 1;
    animation: rotateLogo 30s linear infinite;
  }
  .content-wrap .left,
  .content-wrap .right{
    flex: 1;
    width: 100%;
  }
  .content-wrap .left img{
    width: 100%;
  }
  .sec1-swiper-wrap::after,
  .navigate-wrap .left{
    display: none;
  }
  .content-wrap .inner-box{
    margin-bottom: 10rem;
  }
  .map-bot{
    flex-direction: column;
    gap: 3rem;
  }
  .s3_right::before{
    display: none;
  }
  .sub_tab_wrap h2{
    height: 40vw;
    padding: 0;
    display: flex;
    justify-content: center;
  }
  .sub_tab{
    position: relative;
    z-index: 20;
    height: 55px;
  }
  .sub_tab li a{
    position: relative;
    z-index: 50;
  }

  .sub-first01::after,
  .sub-first02::after{
    top: 20vw;
    font-size: 20vw;
  }
  .sub-1-2-top{
    flex-direction: column;
    gap: 7vw;
    align-items: center;
  }
  .sub-1-2-top .right{
    width: 100%;
    padding: 20px;
  }
  .sub-1-2-top .left{
    width: 50vw;
    flex: 1;
  }
  .sub1-2-ul > ul{
    max-height: 200px;
  }
  .sub-first02 .txt-bot{
    padding: 20px;
  }
  .sub-second01-content .main-box .content,
  .sub-second01-content .main-box .content.reverse{
    flex-direction: column;
    gap: 5vw;
  }
  .font-title-sub{
    font-size: 5vw;
  }
  .sub-second01-content .top-txt{
    padding: 20px 0px;
    gap: 15px;
  }
  .br-m{
    display: block;
  }
  .sub-forth-main-content .content,
  .sub-forth-main-content .content.reverse{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
  }
  .sub-forth-main-content .content .txt, .sub-forth-main-content .content.reverse .txt{
    width: 100%;
  }
  .sub-forth-bot-content .contents-img .contents span{
    font-size: 18px;
  }
  .sub-forth-main-content .content.reverse .txt::before{
    left: auto;
    right: -35px;
  }
  .sub-location::before{
    top: -100px;
  }
  .sub_tab_wrap .long,
  .sub_tab_wrap .long::before{
    width: 220px;
  }
  .header_menu .gnb:hover .depth2,
  .header_inner:has(.header_menu .gnb:hover) .h_left-box, .header_inner:has(.header_menu .gnb:hover) .bg_depth2,
  .header_menu .gnb > li:hover .depth2,
  .h_left-box{
    pointer-events: none;
  }
}
@media (min-width: 0px) and (max-width: 768px) {
  
  .sub-first01 .font-title{
    font-size: 6.5vw;
  }
  .sub13_ul .ul-wrap{
    gap: 4vw;
  }
  .sub13_ul{
    grid-template-columns: repeat(2, 1fr);
    gap: 7vw 3vw;
  }
  .theraphy-content-wrap .content-img{
    gap: 10px;
    margin-bottom: 5vw;
  }
  .sub-forth-bot-content .contents-img {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    justify-items: center;
    
  }
  .sub-forth-bot-content .contents-img .contents span{
    font-size: 22px;
  }
  .sub-forth-bot-content .bg-img{
    padding-top: 17vw;
  }
    .sub-location-map-wrap .map_txt_inner, 
   .sub-location-map-wrap .map_tit_inner{
    padding: 20px;
  }

}
@media (min-width: 0px) and (max-width: 600px) {
  .content-wrap .inner-box {
    margin-bottom: 8rem;
  }
  .content-wrap{
    gap: 2rem;
  }
  /* .sec1 {
    background-size: 89vw 74vw;
  } */
  .main-tit-logo{
    width: 12vw;
    height: auto;
  }
  .main-tit-small-txt{
    font-size: 1.2rem;
  }
  .main_tit{
    font-size: 8vw;
  }
  .main-tit-bot{
    font-size: 5vw;
  }
  :root {
    --title-size: 7vw;
    --title-line: 1.25;
    
    /* --title-sub-size:;
    --title-sub-line:; */
    
    /* --body-size: ;
    --body-line:; */
    
    --body-m-size: 5vw;
    /* 
    --body-s-size: ;
    --body-s-line: ; */
  }
  .content-wrap .inner-box{
    padding: 15px;
  }
  .content-box  .txt-inner h3{
    font-size: 8vw;
  }
  .s3_right_swiper .swiper-slide>*{
    width: 90%;
  }
  .tour_pagination{
    margin-top: 3rem;
  }
  .tour_pagination .swiper-pagination-bullet{
    width: 10px;
    height: 10px;
  }
  .s3_txt{
    font-size: 20px;
  }
  .map_txt_inner,
  .map-bot{
    padding: 25px;
  }
  .location_txt_ul li{
    gap: 5vw;
  }
  .location_txt_ul{
    font-size: 4.1vw;
  }
  .location_txt_ul li strong{
    width: 20vw;
  }
  .map_phone{
    font-size: 30px;
  }
  .map_tit{
    font-size: 25px;
  }
  .location-small,
  .map-bot .location-small .first,
  .map-bot .location-small .second,
  .map-bot .location-small .third{
    font-size: 3.8vw;
  }
  .sub_tab{
    height: 9vw;
    font-size: 2.9vw;
    margin-bottom: 5vw;
  }
  .sub-first-txt p{
    font-size: 3.1vw;
  }
  .gallery-nav .swiper-slide img{
    height: 20vw !important;
  }
  .sub13_ul p,
  .sub13_ul h3,
  .sub-second01-content .content p{
    font-size: 4.2vw;
  }
  .top-img-contents{
    padding: 12vw 5vw;
  }
     .sub_tab_wrap .long,
  .sub_tab_wrap .long::before{
    width: 200px;
  }
}
@media (min-width: 0px) and (max-width: 450px) {
  .main-tit-bot{
    font-size: 5vw;
  }
  p {
    font-size: 16px;
    line-height: 1.5;
  }
  .content-wrap .right{
    padding: 7vw 5vw 5vw;
  }
  .content-wrap .right::after{
    width: 12vw;
    height: 12vw;
    top: 2vw;
    right: 2vw;
  }
  .navigate-wrap .arrow-wrap button{
    width: 40px;
    height: 40px;
  }
  .navigate-wrap .right{
    padding: 0px 20px;
  }
  .s3_left_inner h3{
    font-size: 19px;
  }
  .s3_txt{
    font-size: 4.5vw;
  }
  .map_txt_inner, .map-bot{
    padding: 20px;
  }
  .sub_line{
    height: 30px;
  }
  .s3-more-inner{
    width: 130px;
  }
  .sub-1-2-top{
    gap: 0;
  }
  .s3_tit{
    gap: 10px;
  }
    .sub1-2-ul{
      gap: 20px;
    }
    .sub-first02 .ul-title{
      line-height: 1;
      margin-bottom: 10px;
    }
    .sub-first02{
      padding-bottom: 0;
    }
  .location-small, .map-bot .location-small .first, .map-bot .location-small .second, .map-bot .location-small .third,
  .sub-location-bot .left em, .location-small em{
    font-size: 4.3vw;
  }
  .sub-location-bot .left em, .location-small em,
  .location-small{
    line-height: 1.5;
  }
  .sub_tab_wrap h2{
    /* padding:12vw 0px 12vw; */
    padding: 20vw 0px 12vw;
  }
  .sub-first01 .doc1, .sub-first01 .doc2{
    width: 40vw;
    height: 55vw;
  }
  .br-m{
    display: none;
  }
  .br-m1{
    display: block;
  }
  .timeline-items .dot{
    width: 3vw;
    height: 3vw;
  }
  .timeline-items p,
  .top-img-contents,
  .sub-forth-main-content p{
    font-size: 4.3vw;
  }
  .sub_tab_wrap h2 i{
    font-size: 3vw;
  }
  .br-mobile-none{
    display: none;
  }
  .timeline-line{
    margin-bottom: 2px;
  }
  .sub-forth-main-content .content, .sub-forth-main-content .content.reverse{
    gap: 10px;
  }
  .sub-forth-main-content .content .txt, .sub-forth-main-content .content.reverse .txt{
    padding: 5vw;
  }
  .sub-forth-main-content h4{
    font-size: 5vw;
  }
  .sub-forth-bot-content .contents-img .contents span{
    font-size: 3.5vw;
  }
  .sub-forth01 h3{
    font-size: 16px;
  }
  .sub-forth-main-content .content img{
    position: relative;
    z-index: -1;
        border-radius: 25px;
  }
  .sub-forth-main-content .content.reverse .txt::before,
  .sub-forth-main-content .content .txt::before{
    width: 8vw;
    height: 8vw;
    top: 2vw;
    right: 2vw;
  }
    .sub-location::before{
    top: -190px;
  }
  .s3_left_ul li{
    line-height: 2.5;
  }
  .s3_left{
    position: relative;
    z-index: 10;
  }
  .s3_left_inner {
  position: relative;
  z-index: 11;
  pointer-events: auto;
  touch-action: manipulation;
}
.s3_tit{
  gap: 5px;
}
.s3_tit span{
  width: 7vw;
  height: 7vw;
}
.tour_pagination .swiper-pagination-bullet{
  margin: 0 4px !important;
}
.gallery-nav .swiper-slide {
  pointer-events: auto;
  touch-action: manipulation;
}
.sec2 h4{
  line-height: 1.4;
  margin-bottom: 10px;
}
.s3_more, .s3-more-inner{
  font-size: 17px;
  height: 40px;
}
.sub-first01::after, .sub-first02::after{
  top: 15vw;
}
.sub-second01-content .top-txt h3 img,
.sub-forth-main-content .content .txt .icon{
  width: 20px;
  height: 20px;
}
.sub-forth-bot-content .contents-img .contents span img{
  width: 15px;
  height: 15px;
  aspect-ratio: 1/1;
}
.sub-second01-content .top-txt h3,
.sub-forth-bot-content .contents-img .contents span{
  gap: 5px;
}
.sub_tab li a span::after{
  height: 1px;
}
.sub1-2-ul > ul {
    max-height: none;
    overflow: visible;
  }
    .sub-first-txt p {
        font-size: 4.2vw;
        line-height: 1.7;
    }

    .sub_tab {
    width: 100%;
    height: auto;
    flex-wrap: wrap;
    padding: 6px;
  }
  .sub_tab{
    backdrop-filter: none;
    border: none;
    background: transparent;
  }
  .sub_tab::before {
    display: none;
  }

  .sub_tab li {
    width: 33.3333%;
    height: 45px;
    border: 0.5px solid rgba(255, 238, 238, 0.04);
    border-radius: 5px;
    backdrop-filter: blur(10px);
  }

  .sub_tab li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    border-radius: 8px;
    font-size: 16px;
  }

  /* active 상태 */
  .sub_tab li.active a,
  .sub_tab li a.on {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 238, 238, 0.3);
    font-weight: 600;
  }
  .sub-first02 .txt-bot{
    font-size: 14px;
  }
}    
