a{cursor: pointer;}
#mainSlide {width: 100%;height: 100vh; overflow: hidden;}
#mainSlide .swiper {height: 100%;}
#mainSlide .swiper-slide .img {background-position: center; background-repeat: no-repeat; background-size: cover; transition: all 2s; width: 100%; height: 100%;}
#mainSlide .swiper-slide.slide01 .img{background-image: url(/img/main/mainslide.jpg)}
#mainSlide .swiper-slide-active .img{transform: scale(1.05);}
#mainSlide .swiper-slide .txt {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%;}
#mainSlide .swiper-pagination-bullet{opacity: 1 !important; background: #fff; margin-bottom: 2px;}
#mainSlide .swiper-pagination-bullet-active{background: #363636; width: 14px; height: 14px; margin-bottom: 0;}
#mainSlide .swiper-pagination{bottom: 5%;}

.view_more p:nth-child(1)::after{display: block; content: ''; width: 100%; height: 2px; background-color: var(--pointcolor); position: absolute; bottom: 0;}

.signature{border: 1px solid #ccc6c2;}
.signature .box .img_box{position: relative;}
.signature .box .img_box img{transition: all 0.3s; filter: grayscale(100%) brightness(2);}
.signature .box a:hover .img_box img{border-radius: 80px; filter: none;}
.signature .box .img_box .txt{position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; opacity: 0;}
.signature .box a:hover .img_box .txt{opacity: 1;}

.doctor::after{display: block; content: ''; width: 1px; height: 100%; background-color: #ccc6c2; position: absolute; top: 0; right: 20%;}
.philosophy::after{display: block; content: ''; width: 1px; height: 100%; background-color: #ccc6c2; position: absolute; top: 0; right: 20%; z-index: -1;}

.point .flexList{--x-gap: 0rem;}
.point .box:nth-child(1){background-image: url(/img/main/tiara.jpg); background-repeat: no-repeat; background-size: cover; background-position: center;}
.point .box:nth-child(2){background-image: url(/img/main/homme.jpg); background-repeat: no-repeat; background-size: cover; background-position: center;}

.point .view_more p:nth-child(1)::after{background-color: #fff;}

.beaf .flexList{--x-gap: 0rem;}
.beaf .beafSwiper, .event .eventSwiper01, .event .eventSwiper02{padding-bottom: 100px;}
.beaf  .swiper-pagination-progressbar .swiper-pagination-progressbar-fill,
.event  .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--pointcolor)}
.beaf .a_box{position: relative;}
.beaf .txt{background-color: #86817d; width: 100%; height: 100%; position: absolute; top: 0; left: 0; padding: 8rem 0;}

.event ul.tabs li {cursor: pointer;}
.event ul.tabs li:nth-child(1){border-right: 2px solid #e0d9d5;}
.event ul.tabs li.on{
    color: var(--pointcolor);
  }
.event .tab-content{
  display: none;
}

.event .tab-content.on{
  display: inherit;
}
.map_box  .root_daum_roughmap .wrap_map{height: 600px !important;}
.map_box .map{width: 100%;}
.map_box .flexList{--x-gap: 5rem}
.map_box .time ul li{text-transform: uppercase;}
.root_daum_roughmap .wrap_controllers{display: none;}
.map_box  .map_btn a{border-radius: 60px;}
.map_box  .map_btn .flexList{--x-gap: 1rem}

.event .eventSwiper02 .swiper-slide{width: 333px; height: 333px; overflow: hidden;}
.event .eventSwiper02 .swiper-slide a { display: block; width: 100%; height: auto; aspect-ratio: 1/1; overflow: hidden; }
.event .eventSwiper02 .swiper-slide img{ width: auto; height: 100%; object-fit: cover; }
@media(max-width: 1550px){
  .map_box .width60{width: 80%;}
  .container .width60{width: 100%;}

  .beaf .txt{padding: 6rem 0;}
}
@media(max-width: 990px){
  .font-16{font-size: 1.250rem;}
  .font-20{font-size: 1.5625rem;}
  #mainSlide .swiper-slide .txt{flex-direction: column; text-align: center; width: 100%;}
  #mainSlide .swiper-slide .txt .pl-50{padding-left: 0; width: 100%;}
  #mainSlide .swiper-slide .txt .pr-50{padding-right: 50px; margin-bottom: 50px; width: 100%;}
  #mainSlide .swiper-slide .txt .pl-30{padding-left: 6.875rem;}

  #mainSlide .swiper-slide.slide01 .img{background-image: url(/img/main/mainslide_m.jpg)}

  .signature .box{text-align: center;}
  .signature .box a:hover .img_box img{border-radius: 0; filter: grayscale(100%) brightness(2);}
  .signature .box a:hover .img_box .txt{opacity: 0;}
  .signature .box.swiper-slide-active a .img_box img{border-radius: 80px; filter: none;}
  .signature .box.swiper-slide-active a .img_box .txt{opacity: 1;}

  .point{width: 90%; margin: auto;}
  .point .flexList{--y-gap: 0rem}
  .point .box:nth-child(1){background-image: url(/img/main/tiara_m.jpg); background-repeat: no-repeat; background-size: cover; background-position: center;}
  .point .box:nth-child(2){background-image: url(/img/main/homme_m.jpg); background-repeat: no-repeat; background-size: cover; background-position: center;}

  .doctor .flexList, .philosophy .flexList, .map_box .flexList{--y-gap: 5rem}
  .doctor .box:nth-child(1){order: 2; position: relative; z-index: 99;}
  .doctor .box:nth-child(2){order: 1;}

  .doctor .box:nth-child(1) img{margin: auto;}
  .philosophy .box:nth-child(2) img{margin: auto;}
  

  .map_box>.container>.flexList>.box:nth-child(1){order: 2;}
  .map_box>.container>.flexList>.box:nth-child(2){order: 1;}
  .map_box .width60{width: 80%;}
  .map_box .time {width: 100%;}

  .beaf .beafSwiper, .event .eventSwiper01, .event .eventSwiper02{padding-bottom: 80px;}
  .beaf .txt{padding: 8rem 0;}
}

@media(max-width: 768px){
 
  .signature .box.swiper-slide-active a .img_box img{border-radius: 50px;}

  .point .section_mini {
    padding: 100px 0;
}
.map_box  .root_daum_roughmap .wrap_map{height: 400px !important;}

.beaf .txt{padding: 6rem 0;}

.map_box .width60 {width: 100%;}
}

@media(max-width: 500px){
  .beaf .a_login{margin-top: 2.2rem;}
}

@media(max-width:420px) {
  .map_box .time p span {font-size: 1.2rem;}
}

/* 250219 진료과목 */
#clinics .box { cursor: pointer; }
#clinics .box .img { position: relative; }
#clinics .box .img .hover { position: absolute; content: ''; top: 0; left: 0; width: 145%; height: 145%; background-color: rgba(0,0,0,.5); background-blend-mode: darken; background-repeat: no-repeat !important; background-size: cover !important; background-position: center !important; opacity: 0; transition: opacity .45s; z-index: 999; }
/* #clinics .box.swiper-slide .img > .hover { width: 125%; height: 125%; } */
#clinics .box .img > .hover.on, #clinics .box.swiper-slide-active .img > .hover { opacity: 1; }
#clinics .box.swiper-slide > .img > img, #clinics .box.swiper-slide > .txt { opacity: 1; transition: opacity .35s; }
#clinics .box.swiper-slide-active > .img > img, #clinics .box.swiper-slide-active > .txt { opacity: 0; }
#clinics .box .img .hover a u { text-decoration-thickness: 2px; text-underline-offset: 5px; }
#clinics .box .img .hover a svg { display: inline-flex; align-items: center; justify-content: center; background-color: #fff; width: 20px; height: auto; aspect-ratio: 1/1; border-radius: 50%; margin-left: .5rem; }
#clinics .line { width: 100%; height: 1px; background: var(--pointcolor); margin: 1.5rem 0; }
@media(max-width: 990px){
  #clinics .container { width: 95%; margin: 0 0 0 5%; }
  #clinics .box .img .hover a svg { margin-left: 1rem; }
}












