@charset "UTF-8";

/* new_main_visual */
.new_main_visual {
  height: 100dvh;
  min-height: 100dvh;
  position: relative;
  background: url(/html/main/images/bg_main.jpg) no-repeat center;
  z-index: 10;
  
  
  

  * {
    color: #fff;
  }

  &::after {
    content: '';
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
  }

  .text {
    position: absolute;
    z-index: 3;
    display: flex;
    height: calc(100dvh - 120px);
    flex-direction: column;
    align-content: center;
    text-align: center;
    gap: 4rem;
    left: 0;
    right: 0;
    justify-content: center;
    
    
    
    
    
    
    
    
    
    
    

    h2 {
      font-size: 7rem;
      line-height: 1.2;
      font-family: 'Nanum Myeongjo';

      span {
        color: var(--color_sub);
        font-weight: 600;
      }
    }

    p {
      font-size: 2.4rem;
      line-height: 1.4;
      margin: 0;
    }

  }

  .mouse_wrap {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: mouseFloat 2.4s ease-in-out infinite;

    span {
      font-family: 'Nanum Myeongjo';
      font-size: 1.8rem;
      animation: mouseFade 2.4s ease-in-out infinite;
    }

    i {
      font-size: 4rem;
      position: relative;
      display: inline-block;

      &::after {
        content: '';
        position: absolute;
        left: 50%;
        top: 28%;
        transform: translateX(-50%);
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #fff;
        animation: mouseWheel 2.4s ease-in-out infinite;
      }
    }
  }


  .owl-carousel {
    display: block;

    .item {
      min-height: 100dvh;

      .auto_height {
        padding-bottom: 0;
        width: 100%;
        height: 100dvh;
        position: relative;
        overflow: hidden;
        margin: 0;
        
        

        iframe,
        video {
          width: 100%;
          height: 100%;
          position: absolute;
          left: 0;
          top: 0;
          transform: scale(1.3);
          z-index: 0;
        }
      }
    }
  }
}

@keyframes mouseFloat {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

@keyframes mouseFade {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

@keyframes mouseWheel {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
}

@media screen and (max-width: 768px) {
  .new_main_visual {
    padding: 0;
    min-height: auto;
    height: auto;
    padding: 7rem 0 0 !important;
    .text{
      h2{
        font-size: 4rem;
      }
      p{
        font-size: 1.8rem;
      }
    }
    .owl-carousel {
      .item {
        height: calc(100dvh - 56px);
        min-height: calc(100dvh - 56px);
        
        .auto_height {
          height: calc(100dvh - 56px);
          
          iframe,
          video {
            height: calc(100dvh - 56px);
            width: auto;
            aspect-ratio: 10 / 6;
          }
        }
      }
    }

  }

}


/*엄무 분야 서비스*/
.service {
  .inwrap {
    >ul {

      gap: 3rem;

      >li {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6rem;

        .img {
          position: relative;
          border-radius: 3rem;
          overflow: hidden;

          img {
            display: block;
          }

          h3 {
            color: var(--fff);
            position: absolute;
            font-size: 5rem;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
          }
        }

        >ul {
          gap: 1rem 5rem;
          max-width: 62rem;

          >li {
            text-align: center;
            padding: 1rem;
            border-radius: 2rem;
            min-width: 15rem;
            transition: all 0.4s ease-in-out;


            i {
              font-size: 9rem;
              color: var(--pointcolor);

              &:before {
                width: auto;
              }
            }

            h5 {
              font-size: 2.6rem;
            }

            &:hover {
              background: var(--pointcolor);

              * {
                color: var(--fff);
              }
            }

          }


        }

        &:last-child {
          >ul {
            >li {
              i {
                color: var(--color_main);
              }

              &:hover {
                background: var(--color_main);

                i {
                  color: var(--fff);
                }
              }
            }
          }
        }
      }
    }
  }


}

/* 모바일 (해상도 768px 이하) */
@media (max-width: 768px) {
.service {
  .inwrap{
    > ul {
      flex-direction: column;
      gap: 5rem;
      
      
      
      
      > li{
        gap:3rem;
        .img{
          border-radius: 2rem;
          h3{
            font-size: 3.5rem;
          width: 100%;
          }
        }
        > ul {
          gap:1rem;
          > li{
            padding: 0;
            min-width: 30%;
            
            
            
            
            
            
            a {
              h5{
                font-size: 2rem;
              }
            }
            
            i{
              font-size: 6rem;
            }
          }
        }
      }
    }
  }
}
  
}

/* 성공사례 */
.win_case {
  background: url(/html/main/images/win_case_BG.jpg) center;
  /* height: 1048px; */
  text-align: center;
  background-size: cover;

  >.inwrap {
    .title {
      * {
        color: var(--fff) !important;
      }
    }

    .case_filter_wrap {
      margin-bottom: 3rem;
      

      .case_sub_tab {
        /* display: flex !important; */
        gap: 1.2rem;
        position: absolute;
        left: 0;
        right: 0;
        margin-top: 2rem;
        

        &.show {
          /* display: flex !important; */
          justify-content: center;
          align-items: center;
        }

        >li {
          border: 1px solid rgba(255, 255, 255, 0.6);
          border-radius: 10rem;
          font-size: 2.2rem;
          padding: 0.8rem 2rem;

          &.active {
            background: rgba(255, 255, 255, 0.2);
            border-color: var(--fff);
          }
        }
      }
    }

    .case_tab {
      gap: 3rem;

      >li {
        cursor: pointer;
        color: var(--fff);
        font-size: 3rem;
        padding: .5rem 4rem;
        font-weight: 600;
        border: 1px solid transparent;

        &.active {
          border: 1px solid var(--fff);
          border-radius: 10rem;
        }
      }

    }

    .owl-carousel {
      margin-top: 6rem;
      
      
      
      

      .item {
        background: var(--fff);
        border-radius: 5rem;
        padding: 4rem 4rem 6rem;
        position: relative;
        height: 30rem;
        text-align: left;



        .case_card {
          >span {
            font-size: 2rem;
            border-radius: 1rem;
            overflow: hidden;
            display: inline-block;


            em {
              background: var(--color_main);
              color: var(--fff);
              padding: .5rem 1.5rem;
              display: inline-block;




              &+em {
                background: var(--pointcolor);
              }
            }
          }

          div.font {
            
            line-height: 1.6;
            color: var(--000);
            margin: 0;
            display: -webkit-box;
            -webkit-line-clamp: 5;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            *{
              font-size: 1.8rem !important;
            }
          }

          .stampWrap {
            color: #CD3333;
            font-size: 15rem;
            position: absolute;
            bottom: -1rem;
            right: -2rem;

            >div {
              position: relative;

              em {
                position: absolute;
                font-size: 3rem;
                font-weight: 800;
                max-width: 8rem;
                line-height: 1;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%) rotate(20deg);
                width: 100%;
                text-align: center;
              }
            }
          }

          h4 {
            font-size: 2.4rem;
            font-weight: 600;
            color: var(--000);
            margin-top: 3rem;
            /* margin-bottom: 2rem; */
          }


        }
      }
    }
    .owl-nav{
      position: absolute;
      font-size: 5rem;
      left: 0;
      right: 0;
      margin-top: -24rem;
      
      button.owl-prev,
      button.owl-next {
        background: transparent !important;
        border: none !important;
        outline: none !important;
        padding: 0 !important;
        margin: 0 !important;
        line-height: 1;
        cursor: pointer;
        width: auto;
        height: auto;
        color: var(--fff);
        position: absolute;
        left: -8rem;
          /* &:after{
            content:'';
            width: 38px;
            height: 38px;
            border-radius: 50%;
            transition: all 0.4s ease-in-out;
            display: block;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(1.4);
            border: 3px solid var(--fff);
            opacity: 0;
          }
        &:hover{
          &:after{
            transform: translate(-50%, -50%) scale(1);
            opacity: 1;
          }
        } */
        
      }
      button.owl-next{
        right: -8rem;
        left: auto;
      }
    }
    .more {
      background: var(--fff);
      font-size: 2.2rem;
      display: inline-flex;
      padding: 1.5rem 2.5rem 1.5rem 3.5rem;
      border-radius: 10rem;
      align-items: center;
      gap: 1rem;
      color: var(--color_main);
      font-weight: 700;
      margin-top: 8rem;
      
      
      
      
      i {
        font-size:1.5rem;
        &:before{
          width:auto;
        }
        
      }

    }
  }

}
/* 모바일 (해상도 768px 이하) */
@media (max-width: 768px) {
  .win_case{
    .inwrap{
      .case_filter_wrap{
        ul{
          gap: 1rem;
          > li{
            padding: .5rem 2rem;
            font-size: 2.1rem;
          }
        }
        
      }
      .owl-carousel{
        margin-top: 3rem;
        .item{
          border-radius: 2rem;
          padding: 3rem 3rem 5rem;
          
          .case_card{
            h4{
              margin-top: 2rem;
              margin-bottom: 1rem;
            }
          }
        }
      }
      .more{
        margin-top: 3rem;
        font-size: 2rem;
        i{
          font-size: 1rem;
        }
      }
    }
  }
}


/*커뮤니티*/
.community{
  .inwrap{
    padding-bottom: 0 !important;

    .title{
    margin-bottom: 0;
    }
  }
}
/* 모바일 (해상도 768px 이하) */
@media (max-width: 768px) {
  .community{
     padding-bottom: 0 !important;
    .inwrap{
    }
  }
}

/* ==================================================================
    main layout
===================================================================== */

.wrap {
  >section {

    >.inwrap {
      max-width: 160rem;
      padding: 10rem 0;
      margin: 0 auto;
    }
  }
}

/* 타블렛 (해상도 120rem 이하) */
@media (max-width: 120rem) {}

/* 모바일 (해상도 768px 이하) */
@media (max-width: 768px) {
  .wrap {
    >section {
      padding: 8rem 2rem;
      > .inwrap{
        padding: 0;
      }
    }
  }
}


/* ========== main_bf ========== */

/* 타블렛 (해상도 120rem 이하) */
@media (max-width: 120rem) {}

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