@charset "utf-8";
/*pages*/
#Mainslide {
  width: 100%;
  margin: 0 auto;
  position: relative;
  height: 100vh;
}
@media screen and (max-width: 400px) {
  #Mainslide{
    height: 700px!important;
  }
}
#Mainslide .swiper {
  width: 100%;
  height: 100%;
}
#Mainslide .swiper .swiper-slide .text-wrap {
  position: absolute;
  text-align: center;
  z-index: 1;
  width: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
}
#Mainslide .swiper .swiper-slide .text-wrap span {
  display: block;
  overflow: hidden;
  transition-delay: 0.3s;
}
#Mainslide .swiper .swiper-slide .text-wrap .sub_tit{
  font-size: 0.7em;
  letter-spacing: 1em;
}
#Mainslide .swiper .swiper-slide .text-wrap .sub_text{
  font-size: 0.9em;
}
#Mainslide .swiper .swiper-slide .text-wrap span p {
  color: #fff;
}
#Mainslide .swiper .swiper-slide .text-wrap span p, #Mainslide .swiper .swiper-slide .text-wrap span h3 {
  transition-property: transform;
  transition-duration: 0.6s;
  transform: translateY(500%);
  display: block;
  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  -ms-transform: translateY(100%);
  -o-transform: translateY(100%);
  display: block;
  transition-delay: inherit;
  opacity: 0;
}
#Mainslide .swiper .swiper-slide .text-wrap span h3 {
  font-family: 'Gmarket Sans'!important;
  font-weight: 300;
  color: #fff!important;
  font-size: 2em;
  line-height: 1.4em;
  text-shadow: 1px 1px 8px #000000!important;
}
#Mainslide .swiper .swiper-slide .text-wrap span h3 strong{
  color: #f9ba11!important;
  font-weight: 600;
  font-size: 1.2em;
}
#Mainslide .swiper .swiper-slide img {
  width: 100%;
  height: 100%;
}

#Mainslide .swiper .swiper-slide-active .text-wrap span p, #Mainslide .swiper .swiper-slide-active .text-wrap span h3 {
  transform: translateY(0);
  opacity: 1;
}
#Mainslide .swiper .swiper-slide-active .text-wrap span h3 {
  transition-delay: 0.3s;
}
#Mainslide .swiper .swiper-slide-active .text-wrap span p {
  transition-delay: 0.5s;
}
#Mainslide .swiper .swiper-slide-active img {
  transform: scale(1.025);
  transition: transform 5s ease;
  background-position: center center;
}
@media screen and (min-width: 1024px) and (max-width: 1600px) {
  #Mainslide {
    height: 80vh;
  }
}
@media screen and (max-width: 1023px) {
  #Mainslide .swiper .swiper-slide .text-wrap {
    transform: translate(-50%, -50%);
  }
}
@media screen and (max-width: 767px) {
  #Mainslide .swiper .swiper-slide .text-wrap span h3 {
    text-align: center;
    word-break: keep-all;
    font-size: 1.9rem;
  }
}


@media screen and (max-width: 1023px) {
  .title h4, .title h5 {
    font-family: var(--NotoSerif);
  }
}
@media screen and (max-width: 767px) {
  .title h4, .title h5 {
    font-family: var(--NotoSerif);
  }
}

.title span h3, .title span h5 {
  font-family: var(--NotoSerif);
}
@media screen and (max-width: 1023px) {
  .title span h3, .title span h5 {
    font-family: var(--NotoSerif);
  }
}
@media screen and (max-width: 767px) {
  #Mainslide .swiper .swiper-slide .text-wrap h3{
    font-size: 2.3em!important;
    text-shadow: 1px 1px 5px #222!important;
  }
  #Mainslide .swiper .swiper-slide .text-wrap .sub_text{
    font-size: 1em;
  }
  .title span h3, .title span h5 {
    font-family: 'Gmarket Sans';
  }
}


/*모바일에서 안보임*/
.hidden-mo {
  display: block !important;
}
@media screen and (max-width: 1023px) {
  .hidden-mo {
    display: block !important;
  }
}
@media screen and (max-width: 771px) {
  .hidden-mo {
    display: none !important;
  }
}

/*피씨에서 안보임*/
.hidden-pc {
  display: none !important;
}
@media screen and (max-width: 1023px) {
  .hidden-pc {
    display: block !important;
  }
}
@media screen and (max-width: 767px) {
  .hidden-pc {
    display: block !important;
  }
}


.title p {
  color: var(--black-a50);
}

.content p, .content p {
  color: var(--black-a50);
}

section:not(#Mainslide):not(#clinic) {
  padding-top: 200px;
  padding-bottom: 200px;
}
@media screen and (max-width: 767px) {
  section:not(#Mainslide):not(#clinic) {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}