/* 998px 이하 모바일 대응 */
@media (max-width: 998px) {
    /* 헤더 스타일 */
    header {
        width: 100%;
        padding: 2vw;
        background: rgba(0, 0, 0, 0.8);
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        transform: unset !important;
    }

    header div {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    header div ul li:not(:last-child) {
         margin-right: unset !important;
    }

    /* 햄버거 아이콘 */
    .hamburger {
        display: block;
        font-size: 2rem;
        color: white;
        cursor: pointer;
        background: none;
        border: none;
    }

    /* 네비게이션 메뉴 기본 숨김 */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        text-align: center;
        padding: 2vw 0;
    }

    /* 햄버거 메뉴 클릭 시 보이기 */
    .nav-menu.active {
        display: flex;
    }

    /* 네비게이션 아이템 */
    .nav-menu li {
        margin: 2vw 0;
        display: flex;
        justify-content: center;
    }

    .nav-menu li a {
        font-size: 1.5rem;
        color: white;
        display: block;
        padding: 1vw 0;
        transition: 0.3s;
    }

    .nav-menu li a:hover {
        color: var(--point-color);
    }
    .main-visual .visual-text h3 {
        font-size: 2rem;
    }
    .main-visual .visual-text p {
    font-size: var(--font-size-15);
}
    .po-re.main-visual>video {
        width: 100%;
        height: 100vh;
        object-fit: cover;
    }
    .css-color-trans p{
        font-size: 10vw;
        -webkit-text-stroke: 1px var(--point-color);
    }
    .intro-text .intro-text-wrap {
        /*min-height: 180vh;*/
    }
    .css-color-trans>div{
        height: unset !important;
    }
    .contact .contact-right-wrap div > div {
        width: unset;
    }
    #contact .po-re {
        display: unset !important;
    }
    #contact .po-re .left-box {
        position: unset !important;
        height: unset !important;
        width: unset !important;
        margin-right: unset !important;
        text-align: center !important;
    }
    #contact .po-re .left-box .sub-text{
        margin-bottom: 1rem;
    }
    #contact .po-re .left-box .sub-text li{
        text-align: center !important;
    }
    #contact .po-re .right-box {
        border-left: unset !important;
        width: 100% !important;
        padding-top: 1rem !important;
        padding-left: 0 !important;
    }
    #contact .po-re .right-box form>div{
        margin-left: unset !important;
    }
    .po-re.bottom-company-text>div {
        height: 25vh;
    }
    /*.contact .contact-right-wrap .contact-option-bnt > div label:first-child, .contact-option-bnt label:last-child {*/
    /*margin: unset !important;*/
    /*}*/
    .contact-mini-wrap label{
        margin: 24px 36px;
    }
    .contact .contact-right-wrap .contact-user-info > div {
    width: 100vw;
    padding-left: 2vw;
}
    .contact .contact-right-wrap .contact-user-info > div input {
    width: 40vw;
}
    .contact .contact-right-wrap .contact-upload div {
    display: flex;
    justify-content: space-between;
}
    .contact .contact-right-wrap .contact-upload input[type=text] {
    width: 38vw;
    height: 10vw;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
border-radius: 0;
-webkit-border-radius: 0;
-moz-border-radius:0;
}


.contact .contact-upload div .fill-upload-bnt {
    width: 23vw;
    font-size: 1.2rem;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
}
    .contact .contact-right-wrap .contact-textarea label {
    margin-left: unset;
    margin-top: 1rem;
}
    .contact .contact-right-wrap .contact-textarea textarea {
    margin-left: unset;
    width: 100%;
    border-radius: 20px;
    height: 37vh;
    margin-bottom: 1rem;
}
    .po-re.main-visual>video {
        margin-top: 55px;
    }
    .portpolio .mo-scroll-box {
    transform: translateX(0) !important;
    translate: none !important;
    rotate: none !important;
    scale: none !important;
    position: relative;
    width: 100%;
    height: auto;
  }
  .portpolio {
    padding-left: 0;
    height: auto;
  }
  .portpolio .portpolio-container .portpolio-inner {
    flex-direction: column;
  }
  .head-text {
    font-size: 5.5vw;
  }
  .about>div .sub-text, .product>div .sub-text, .portpolio .sub-text, .contact .sub-text {
    font-size: 2.5vw;
  }
  .portpolio .portpolio-container .portpolio-inner > div {
    margin: 0;
    width: 100%;
    text-align: center;
  }
  .portpolio .portpolio-container .portpolio-inner div:last-child {
    margin: 0;
    width: 100%;
  }
  .portpolio .portpolio-container .portpolio-inner ul, .portpolio-inner li {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }
  .portpolio .portpolio-container .port-img {
    -webkit-transform: none;
    transform: none;
    -webkit-transition: none;
    transition: none;
    overflow: hidden;
    text-align: center;
  }
  .portpolio .portpolio-container .port-img img{
    -webkit-transform: scale(1);
      transform: scale(1);
      -webkit-transition: .3s ease-in-out;
      transition: .3s ease-in-out;
      /*filter: brightness();*/
  }
  .portpolio .portpolio-container .port-img img:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    filter: brightness(.5);
  }
  .portpolio .portpolio-container .por-card:not(:last-child) {
    width: 100%;
    height: 70vh;
  }
  .last-por-card .por-card {
    width: 36vw;
    height: 36vw;
  }
  .por-card-6 > p {
    font-size: 2.5rem;
}
  .por-card-6 {
    background: #00a8ff;
    color: white;
}
  .portpolio-inner li:last-child {
    margin-top: 5vw;
  }
  .portpolio .portpolio-container .portpolio-inner .por-img-box-1 {
    background: #05052e;
  }
  .portpolio .portpolio-container .portpolio-inner .por-img-box-2 {
    background: #000;
  }
  .portpolio .portpolio-container .portpolio-inner .por-img-box-3 {
    background: #fff;
  }
  .portpolio .portpolio-container .portpolio-inner .por-img-box-4 {
    background: #edeff4;
  }
  .portpolio .portpolio-container .portpolio-inner ul li .por-img-box-5 {
    background: #fff;
  }

    .contact .contact-right-wrap .contact-user-info > div input::placeholder {
    font-size: 1.3rem;
}
    .contact .contact-right-wrap .contact-user-info > div input {
    padding-bottom: 10px;
}
    .contact {
    height: auto;
}
    .por-card {
    height: auto;
}

}

@media (max-width: 600px) {
    body, main {
        overflow-x: hidden;
    }
    .head-text {
        font-size: 10.5vw;
    }
    .about .sticky-wrap .sticky div {
        height: 172px;
        border-radius: 24px;
        padding: 5vw 3.2vw;
    }
    .about .sticky-wrap .sticky h4 {
        font-size: 6vw;
    }
    .intro-text {
        padding-top: 186px;
    }
    .intro-text .intro-text-wrap {
            min-height: 50vh;
    }
    .about p {
        font-size: 1rem;
    }
    .css-color-trans p {
        font-size: 12vw;
    }
    .intro-inner .text-line {
        opacity: 1;
        -webkit-text-stroke: 2px var(--point-color);
    }
    .about .sticky-wrap .sticky div p:last-child span {
        font-size: var(--font-size-175);
    }
    .product {
        height: 1380px;
    }
    .product .head-text, .product .sub-text {
            margin-left: 6vw;
    }
    .about>div .sub-text, .product>div .sub-text, .portpolio .sub-text, .contact .sub-text {
        font-size: 4.5vw;
    }
    .product>div .sticky-inner .left-box {
    width: 64%;
    height: 250px;
    top: 300px;
    }
    .product>div .bg-wrap .sticky-container .sticky-inner .right-box .card-bg {
        width: 90%;
        margin: 0 auto;
    }
    .product b {
        font-size: 8vw;
    }
    .product p {
        font-size: 4vw;
        margin-top: 1vw;
    }
    .product>div .card-wrap .card-2 {
        float: none;
        top: 60px;
    }
    .product>div .card-wrap .card-3 {
        float: none;
        top: 120px;
    }
    .product>div .sticky-inner {
        height: 10vh;
    }
    .product>div .sticky-inner .right-box {
            padding-top: 0;
        height: 0;
    }
    .product>div .sticky-inner .right-box {
        width: 100%;
    }
    .product>div .card-wrap .card-2 {
        float: none
    }
    .product>div .card-wrap .card-3 {
        float: none;
    }
    .product>div .bg-wrap .sticky-container .sticky-inner .right-box .card-bg {
    height: 30vh;
}
    .product>div .bg-wrap .sticky-container .sticky-inner .right-box .card-bg:last-child {
    height: 35vh;
}
    .contact-option-bnt > div label span {
        width: 35vw;
}
    .contact .contact-right-wrap div p > span {
  margin-left: 0px;
}
}
