@charset "UTF-8";
/* unvisible_banner */
.unvisible {
  display: flex;
  position: absolute;
  z-index: -1;
  li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  img {
    width: 300px;
    height: 300px;
  }
}
.quick_menu {
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  right: 80px;
}

#main {
  font-family: 'GmarketSans';
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: 'GmarketSans';
  }

  .title {
    h5 {
      font-weight: 400;
    }
    &:before,
    &:after {
      display: none;
      }
  }
  .video_visual {
    overflow: hidden;
    max-height: 950px;
    padding-top: 0;
    height: 100%;
    position: relative;
    .no_hover {
      position: absolute;
      background: #fff;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      z-index: 1;
      opacity: 0;
    }
  }
  
  /* main_visual */
  .main_visual {
    overflow: hidden;
    position: relative;
    z-index: 15;
    max-height: 950px;
    
    .owl-carousel {
      .item {
        height: 950px;
        background-position: top center;
        
        

        .text {
          position: absolute;
          max-width: 1400px;
          left: 50%;
          margin-left: -700px;
          text-align: left;
          z-index: 10;
          display: flex;
          align-items: center;
          height: 910px;
          h4 {
            font-weight: 300;
            margin-bottom: 5px;
            font-size: 30px;
          }
          h2 {
            font-size: 65px;
            animation-delay: .3s;
            color: var(--new_color_1);
            letter-spacing: -0.07em;
            line-height: 1.2;
            span {
              color: var(--yellow);
            }
          }
          p {
            font-size: 20px;
            font-weight: 400;
            animation-delay: 0.6s;
            font-family: 'S-CoreDream';
          }
        }
        .img {
          overflow: hidden;
          width: 100%;
          height: 100%;
          position: absolute;
          z-index: 0;
          background: #fbfbfb;
          >div {
          background-position: top center;
          background-size: cover;
          transform: scale(1.2);
          -webkit-transition: all 5s;
          -moz-transition: all 5s;
          -ms-transition: all 5s;
          -o-transition: all 5s;
          transition: all 5s;
          position: absolute;
          left: 0;
          right: 0;
          top: 0;
          bottom: 0;
          }
        }
        .img_wrap {
          position: absolute;
          z-index: 1;
          bottom: 270px;
          left: 50%;
          width: 600px;
          text-align: right;
        }

        h1,h2,h3,h4,h5,h6,p,li, img_wrap {
          color:var(--color_FFF);
        }
        h1{
          span {
            color: var(--newColor_2);
          }
        }
        &.visual_01{
          h4{
            margin-top:1.5em;
          }
        }
        &.main_doctor {
          background: var(--color_FFF);
          text-align: center;
          .title{
            text-align:center;
            font-family: 'GmarketSans';
            padding: 130px 0 0;
            margin-bottom: 0;

          h4 {
              font-size: 1.5em;
              color: #888;
              font-weight: 400;
            }

          h2 {
            text-align: center;
            font-size: 3em;
            font-weight: 800;
            line-height: 1.2;
            color: var(--444);
            animation-delay: .9s;

            span {
              color: var(--newColor_3);
            }
          }
          
        }
          a {
            color: var(--color_FFF);
            background: var(--newColor_3);
            border-radius: 100px;
            padding: 3px 30px;
            font-size: 1.4rem;
            margin: 1em auto 1.3em;
            display: inline-block;
            position: relative;
            z-index: 2;
            animation-delay: 1.5s;
          }
          .doctor_img_wrap{
            z-index:3;
            position: relative;
            ul{
              display: flex;
              justify-content: center;
              position: relative;
              z-index: 10;
              gap: 7em;
              position: absolute;
              left: 0;
              right: 0;
              bottom: 200px;
              
              &:after{
                display:none;
              }
              li{
                color: var(--line);
                padding: 1em 2em;
                border-radius: 10em;
                background: var(--bg);

                &:hover {
                  background: var(--linear1);
                  color: var(--color_FFF);
                }
      
              }
            }
          }
          img {
            display: block;
            margin-top: 2em;
            width: auto;
            margin: 0 auto;
            z-index: 1;
            position: relative;

          }

          .scrolling-text-wrapper {
            position: absolute;
            top: 370px;
            left: 0;
            width: 100%;
            overflow: hidden;
            white-space: nowrap;
            opacity: 0.1;
            font-size: 10em;
            font-weight: 800;
          }

          .scrolling-text {
            display: inline-block;
            padding-right: 5rem;
          }

        }
        &  .visual_08 {
          .text {
            h4 {
              margin-bottom: 1em;
            }

            h1 {
              animation-delay: 1.2s;
              line-height: 1.2;
            }

            p {
              animation-delay: 1.8s;
              margin-top: 2em;
            }

            a {
              animation-delay: 1.2s;
              margin-top: 2em;
              margin-top: 30px;
              display: inline-block;
              color: #fff;
              font-size: 15px;
              padding-left: 16px;
              position: relative;
              height: 25px;
              line-height: 25px;
              cursor: pointer;
              padding-right: 70px;

              span {
                opacity: 0;
                position: absolute;
                top: -9px;
                right: -17px;
                display: inline-block;
                width: 105%;
                height: 40px;
                border-radius: 40px;
                background-color: rgba(255, 255, 255, 0.25);
                transition: all 0.4s ease-out;
              }

              &:before {
                top: -9px;
                left: 0;
                display: inline-block;
                width: 40px;
                height: 40px;
                border-radius: 40px;
                background-color: rgba(255, 255, 255, 0.25);
                content: '';
                position: absolute;
                transition: all 0.3s ease-out;
              }

              &:after {
                content: '';
                background: url(../main/images/arrow_right.png) no-repeat;
                width: 51px;
                height: 13px;
                display: block;
                position: absolute;
                right: 0;
                top: 6px;
                transition: all 0.3s ease-out;
                background-size: contain;
              }

              &:hover {
                &:before {
                  opacity: 0;
                  width: 105%;
                }

                &:after {
                  right: 0;
                }

                span {
                  opacity: 1;
                  width: 40px;
                  background-color: var(--color_main);
                }
              }

            }
          }
        }

      }
      .active{
        .item {
          .img{
            >div {
              transform: scale(1);
              z-index: 10;
            }
          }
        
          h1, h2, h3, h4, h5, h6, p, .img_wrap, a {
            -webkit-animation-duration: 1s;
            animation-duration: 1s;
            -webkit-animation-fill-mode: both;
            animation-fill-mode: both;
            -webkit-animation-name: fadeInLeft;
            animation-name: fadeInLeft;
          }
          &.visual_01{
            h4{
              margin-top:1.5em;
              -webkit-animation-duration: 1.2s;
              animation-duration: 1.2s;
              animation-delay: .6s;
            }
          }
          &.main_doctor{
            .doctor_img_wrap {
            -webkit-animation-duration: 2s;
            animation-duration: 2s;
            animation-delay: 1.2s;
            -webkit-animation-name: fadeInUp;
            animation-name: fadeInUp;
            -webkit-animation-fill-mode: both;
            animation-fill-mode: both;
            }
          }
          &.visual_08 {
            .img_wrap {
              -webkit-animation-name: fadeInRight;
              animation-name: fadeInRight;
              animation-delay: 1.2s;
            }
          }
        }

        
      }

      .owl-dots {
        position: relative;
        bottom: 180px;
        text-align: center;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        height: 38px;
        vertical-align: bottom;
        
        
        
        
        .owl-dot {
          width: 2px;
          height: 20px;
          background: #fff;
          opacity: 0.5;
          margin: 0 4px;
          padding: 0;
          vertical-align: bottom;
          bottom: 0;
          position: relative;
          transition: all 0.3s ease-in-out;
          &.active {
            opacity: 1;
            height: 38px;
          }
        }
      }
      .owl-nav {
        position: absolute;
        top: 50%;
        margin-top: -70px;
        width: 100%;
        .owl-next, 
        .owl-prev{
          width: 100px;
          height: auto;
          background: none;
          -webkit-transition: all 0.3s;
          -moz-transition: all 0.3s;
          -ms-transition: all 0.3s;
          -o-transition: all 0.3s;
          transition: all 0.3s;
          > span {
            display: none;
          }
          &:after{
            margin-top: 50px;
            color: var(--color_FFF);
            position: absolute;
            border-top: 2px solid var(--color_FFF);
            -webkit-transition: all 0.3s;
            -moz-transition: all 0.3s;
            -ms-transition: all 0.3s;
            -o-transition: all 0.3s;
            transition: all 0.3s;
          }
        }
        .owl-prev{
          left: 0;
          position: absolute;
          text-align: left;
          &:after {
            content: 'PREV';
            padding: 10px 10px 0 50px;
            left: -40px;
          }
          &:hover{
            &::before{
              margin-left: 0;
            }
            &:after {
              left: 0
            }
          }
          
        }
        .owl-next{
          position: absolute;
          right: 0;
          text-align: right;
          &::after {
            content: 'NEXT';
            padding: 10px 50px 0 10px;
            right: -40px;
          }
          &:hover{
            &::before{
              margin-right: 0px;
            }
            &:after {
              right: 0
            }
          }

        }
      }
    }

  }
  .con_wrap{
    > section {
      padding: 150px 0;
      .inwrap {
        max-width: 1400px;
        margin: 0 auto;
      }
    }

    /* .main_doctor */
    .main_doctor{
      padding:0;
      background: var(--bg);
      
      > div {
        display:flex;
        gap:100px;
        align-items: center;
        img{
          max-width:800px;
        }
        p{
          line-height: 1.8;
          font-weight: 400;
          margin: 2em 0;
          color: #666;
        }
        h5{
          font-size:1.6em;
          text-align: right;
          margin-top: 4em;
        }
      }
    }

    /* doctor_banner */
    .doctor_banner {
      text-align: center;
      .main_title {
      margin-bottom: 100px;
        h5 {
          font-size: 30px;
          span {
            font-weight: 700;
          }
        }
      }
      .owl-carousel {
        .owl-stage-outer {
          padding-bottom: 20px;
          .item {
            border-radius: 30px;
            overflow: hidden;
            box-shadow: 4px 4px 10px 0px rgba(0, 0, 0, 0.25);
            .text {
              position: absolute;
              z-index: 1;
              bottom: 0;
              text-align: left;
              left: 0;
              background: rgba(256, 256, 256, 0.7);
              padding: 30px;
              border-radius: 0 30px;
               h5 {
                font-size: 1.5em;
                color: var(--newColor_3);
                font-weight: 600;
              }
              h4 {
                font-weight: 400;
                font-size: 24px;
                +h4 {
                font-size: 28px;
                }
              }
            }
            a {
              border-radius: 30px;
              opacity: 0;
              background: rgba(0, 0, 0, 0.75);
              color: var(--color_FFF);
              position: absolute;
              left: 0;
              right: 0;
              top: 0;
              bottom: 0;
              z-index: 2;
              display: flex;
              justify-content: center;
              align-items: center;
              font-size: 24px;
              -webkit-transition: all 0.3s;
              -moz-transition: all 0.3s;
              -ms-transition: all 0.3s;
              -o-transition: all 0.3s;
              transition: all 0.3s;
            }
            &:hover{
              a {
                opacity: 1;
              }
            }
          }
        }
      }
    }

    /* subject */
    .subject {
      text-align: center;
      position: relative;
      padding: 0;
      overflow: hidden;
      >img {
        position: relative;
        z-index: -2;
        display: block;
      }
      >ul {
        display: flex;
        position: absolute;
        overflow: hidden;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        >li {
          flex:1;
          border-right: 1px solid rgba(255, 255, 255, .3);
          text-align: left;
          color: #ebe5e1;
          height: 100%;
          >a {
            color: var(--fff);
            width: 100%;
            display: flex;
            height: 100%;
            align-items: center;
            > div{
              padding: 0 3em;
              transition: .75s ease-in-out;

              h5{
                color: var(--newColor_2);
                text-transform: capitalize;
                transition: .75s ease-in-out;
              }
              h3 {
                font-size: 3rem;
                font-weight: 800;
                color: var(--color_FFF);
                transition: .75s ease-in-out;
                +p {
                  font-size: 1em;
                  color: var(--color_FFF);
                  opacity: 0;
                  position: absolute;
                  transition: .75s ease-in-out;
                  margin-top: 10%;
                  font-weight: 400;
                }
              }
            }

            >img {
              position: absolute;
              left: 0;
              top: 0;
              opacity: 0;
              transition: .75s ease-in-out;
              max-width: 400%;
              z-index: -1;
              transform: scale(1.2);
            }
          }

          &:hover {
            >a {
              > div{
                margin-top:-120px;
                
                h3{
                  }
                h5{}
                p{
                  opacity: 1;
                margin-top: 30px;
                }
              }
              >img {
                opacity: 1;
                transform: scale(1);
              }
            }
          }

        }
        &:after{
          display:none;
        }
        &:hover {
          
          > img{
            opacity:0;
          }
        }
      }
    }
  }
}
.custom-cursor {
  position: fixed;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  .ball {
    width: 0;
    height: 0;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .45s ease-in-out;
    overflow: hidden;
    background: var(--linear2);
      p {
      font-weight: 400;
      color: var(--color_FFF);
      margin-top: 10px;
      font-family: 'GmarketSans';
      }
    }
  &.active{
      .ball{
        width: 110px;
        height: 110px;
      }
    }
  }



/* 타블렛 (해상도 1200px 이하) */@media (max-width: 1200px) {

}

/* 모바일 (해상도 767px 이하) */
@media (max-width: 767px) {
  .quick_menu {
  display: block;
  right: 10px;
  }
  #main{
    /* main_visual  */
    .main_visual {
      margin-top: 98px;
      padding-top: 0;
      
      
      
      .owl-carousel {
        max-height: calc(100vh - 151px);
        
        .item {
        height: 510px;
        background-size: cover;
        overflow: hidden;
        height: calc(100vh - 151px);
        background-size: cover;
        overflow: hidden;
        max-height: calc(100vh - 151px);
                    
          .text {
        text-align: center;
        width: 100%;
        margin: 0 auto;
        left: auto;
        height: auto;
        text-align: center;
        width: 100%;
        margin: 0 auto;
        left: auto;
        height: auto;
        padding-top: 30px;
        justify-content: center;
        h2 {
                font-size: 30px;
        line-height: 1.2;
            }
        h4 {
                font-size: 1.2em;
        line-height: 1.2;
        margin-top: 10px;
        margin-bottom: 10px;
            }
        p {
                font-size: 1em;
        margin-top: 20px;
            }
          
          
          }
          &.visual_01{
            .text{
        top: 40%;
        h1{
                font-size:26px;
              }
            }
          }
          &.main_doctor{
            .scrolling-text-wrapper{
        top: 160px;
        font-size: 5em;
            }
            .title{
        padding-top: 35px;
        h4{
                font-size: 1.2em;
              }
        h2{
                font-size: 1.8em;
              }
            }
        a{
              font-size: 1.1em;
        margin: .5em auto 1.3em;
        padding: 3px 20px 5px;
            }
            .doctor_img_wrap{
        position:absolute;
        bottom:0;
        ul{
                position: static;
        gap: 10px;
        li{
                  padding: .5em 1em;
        flex: 1;
        font-size: 12px;
                }
              }
        img{
                width: 110%;
        max-width: 110%;
        margin-left: -9%;
        margin-top: 20px;
              }
            }
          }

          &.visual_08 {
            .img_wrap {
              width: 35vh;
              bottom: 40px;
              margin-left: -20vh;
            }
          }

        }
        .active{
          .item{

          }
        }
        .owl-dots {
        bottom: 90px;
        bottom: 60px;
          .owl-dot {
        margin: 0 2px;
        margin: 0 2px;
          }
        }
        .owl-nav {
        margin-top: -135px;
        font-size: .8em;
        button.owl-prev{
            &::after {
              padding: 5px 5px 0 5px;
        left: 0;
            }
          }
        button.owl-next{
            &::after {
              padding: 5px 5px 0 5px;
        right: 0;
            }
          }
        }
     
      }      
    }

    .con_wrap{
      > section {
        padding: 50px 0;
      }

      /* .main_doctor */
      .main_doctor{
        > div{
          display:flex;
          flex-direction: column;
          gap: 0;
          
          
          img{
            max-width:100%;
          }
          > div{
            padding: 50px 20px;
            
            
            
            
            
            
            h5{
              margin-top: 2em;
              font-size: 1.25em;
            }
          }
        }
      }

      /* doctor_banner */
      .doctor_banner{
        
        
        .main_title{
          margin-bottom: 40px;
          h5 {
            font-size: 18px;
          }
        }
        .owl-carousel{
          .owl-stage-outer {
            .item{
              margin: 0 20px;
              
              .text {
                padding: 20px;
                left: 20px;
                
                h5 {
                  font-size: 20px;
                  font-weight: 400;
                }
                h4 {
                  font-size: 18px;
                  +h4 {
                    font-size: 22px;
                    b{
                      font-weight: 400;  
                    }
                    
                  }
                }
              }
              a {
                font-size: 20px;
                left: 20px;
                right: 20px;
              }
            }
          }
          .owl-nav {
            position: absolute;
            top: 50%;
            margin-top: -35px;
            width: 100%;
            button.owl-next,
            button.owl-prev {
              width: auto;
              height: auto;
              background: none;
              &::before{
                font-family: 'icon_font';
                font-size: 50px;
                color: #cdcdcd;
              }
              
              >span {
                display: none;
              }
            }
            button.owl-prev {
                left: 10px;
                position: absolute;
                &::before{
                content: "\E859";
                }
              }
              button.owl-next{
                position: absolute;
                right: 10px;
                &::before {
                content: "\E85A";
                }
              }
          }
        }
      }

      /* subject */
      .subject {
        > ul {
          display: flex;
          flex-wrap: wrap;
          height: auto;
          flex-direction: column;
          position: relative;
          >li {
              width: 100%;
              position: relative;
              background: #b6998b;
              height: auto;
              border-top: 1px solid var(--bg);
              overflow: hidden;
              a{
                width:100%;
                > div{
                  padding: 3rem 2rem;
                  z-index: 1;
                  width: 100%;

                h3 {
                    margin-top: 0;
                font-size: 2.4rem;
                margin: 0;
                  +p{
                    position: relative;
                    opacity: 1;
                    margin-top: 0;
                  }
                  }
                h5 {
                    font-size: 1.4rem;
                  }    
                }
                > img {
                  opacity: 1;
                  min-width: 100%;
                  min-height: 100%;
                  object-fit: cover;
                  width: 100%;
                  z-index: 0;
                  transform: scale(1);
                }
                
              } 
              &:hover{
                > a{
                  > div{
                    h5{
                      margin: 0;
                    }
                  }
                }
              }
              
              &:nth-child(2n){
                text-align: right;
              }

          }
          
        }
        >img{
            display:none;
          }
      }


    }
  }

}


/* 모바일 (해상도 320px 이하) */
@media (max-width: 320px) {

}


