* {
    font-family: "Pretendard", sans-serif;
    box-sizing: border-box;
    border-collapse: collapse;
    list-style: none;
    padding: 0;
    margin: 0;
    text-decoration: none;
    font-style: normal;
    color: black;
    word-break: keep-all;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}



html {
    scroll-behavior: smooth;
}

body {
    font-family: "Pretendard", sans-serif;
    width: 100%;
    scroll-behavior: smooth;
    line-height: 1.5;
    position: relative;
}

video {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.bottom_bg {
    display: block;
    position: absolute;
    bottom: 0;
    z-index: 1;
    right: 20%;
    bottom: 200px;
}

:root {
    --section-padding: 160px 6.25vw;
    --header-height: 80px;
    --main-color: #202938;
    --sub-color: #a4c0d8;
    --eng-font: "SUIT Variable", sans-serif;
}

img {
    min-width: 100%;
}

a {
    display: block;
}

/* 2차메뉴 */
.ham_menu {
    position: fixed;
    height: 100%;
    width: 100%;
    display: none;
    z-index: 999999;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: all 0.3s;
}

body.ham_menu_open {
    overflow: hidden;
    /* 스크롤 차단 */
}

.ham_menu .ham_inner {
    display: block;
    position: absolute;
    width: 40vw;
    height: 100%;
    overflow: hidden;
    top: 0;
    right: 0;
    z-index: 9999999;
    background-color: var(--main-color);
    color: white;
    transition: all 0.3s;
}

.ham_menu .ham_inner .close_mark {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
}

.ham_menu .h_menu>li>a::after {
    display: block;
    right: 0;
    position: absolute;
    content: "+";
    width: 24px;
    height: 24px;
    color: white;
    transform: translateY(-100%);
    transition: all 0.3s;
}

.ham_menu .h_menu>li>a {
    border-bottom: 1px solid #1a212f;
    cursor: pointer;
}

.ham_menu .h_menu>li>a {
    color: white;
    font-size: 1rem;
    padding: 1rem;
    position: relative;
}

.ham_menu .h_menu>li:hover>a {
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s;
}

.ham_menu .h_menu .h_depth {
    display: none;
    padding: 1rem;
}

.ham_menu .h_menu .h_depth.show {
    display: block;
}

.ham_menu .h_menu .h_depth li a {
    color: #cccccc;
    font-size: 1rem;
    padding: 0.8rem 0;
    transition: all 0.3s;
    margin-left: 6px;
}

.ham_menu .h_menu .h_depth li a:hover {
    color: var(--sub-color);
    transition: all 0.3s;
}

/* header */
header {
    width: 100%;
    position: fixed !important;
    height: var(--header-height);
    background: transparent;
    top: 0;
    z-index: 999;
    transition: opacity 0.5s ease;
}

header:hover {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.6, 1);
    border-bottom: 1px solid var(--main-color);
    opacity: 1 !important;
}

header * {
    color: white;
}

header .header_wrap {
    display: flex;
    justify-content: space-between;
    padding: 0 6.25vw;
    position: relative;
    container: header-container / inline-size;
}

header::before {
    background-color: #202938ee;
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: var(--header-height);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.6, 1);
    opacity: 0;
}

header:hover::before {
    height: 320px;
    opacity: 1;
    /* transition: all 0.35s cubic-bezier(0.4, 0, 0.6, 1); */
    /* animation: show 0.3s ease 0.1s both;
  -webkit-animation: show 0.3s ease 0.1s both; */
}

header h1 {
    width: 160px;
    height: var(--header-height);
}

header h1>a {
    display: flex;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    height: 100%;
}

header nav {
    display: flex;
    height: var(--header-height);
    justify-content: flex-end;
    width: 100%;
    max-width: 800px;
}

header nav>.h_menu {
    display: flex;
    text-align: center;
    width: 100%;
}

header nav>.h_menu>li {
    flex: 1 1 auto;
    width: 100%;
}

header nav>.h_menu>li>a {
    display: flex;
    align-items: center;
    font-size: 17px;
    justify-content: center;
    height: var(--header-height);
    padding: 0 2vw;
}

header nav>.h_menu>li>.h_depth {
    padding: 22px 0;
    display: none;
    opacity: 0;
}

header:hover .h_menu>li>.h_depth {
    display: block;
    opacity: 1;
}

header nav>.h_menu>li>.h_depth li {
    padding: 8px 0;
    font-size: 15px;
    font-weight: 300;
}

header .h_ham {
    height: var(--header-height);
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-left: 5vw;
}

header .h_ham img {
    width: auto;
}

@container header-container (width < 768px) {
    header nav .h_menu {
        display: none;
    }
}

main .m1 {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    margin: 0 auto;
    background: url(../72ppi/m1_bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column;
}

.m1 .swiper {
    width: 100%;
    height: 100dvh;
    overflow: hidden;
}

.m1 .swiper-slide {
    overflow: hidden;
}

.m1 .swiper-slide img {
    scale: 1;
    transition: all 1s;
}

.m1 .swiper-slide-active img {
    scale: 1.05;
    transition: all 3s;
}

main .m1 h2 {
    position: absolute;
    z-index: 2;
    transform: translate(0, 0);
    padding: 20px;
    display: block;
    text-align: center;
    color: white;
    font-size: clamp(30px, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.25px;
}

main .m1 i {
    position: absolute;
    z-index: 2;
    content: "";
    bottom: 10%;
    left: 50%;
    animation: moveTop 2.5s ease-in-out both infinite;
}

main .m2 {
    padding: var(--section-padding);
}

main h3 {
    font-size: clamp(18px, 2.5vw, 3rem);
    letter-spacing: -1px;
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 2rem;
}

main h3+p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    letter-spacing: -0.25px;
    font-weight: 300;
}

main .m2 .flex_inner {
    width: 100%;
    display: flex;
    gap: 1rem;
    align-items: center;
}

main .m2 .flex_inner .flex_box {
    margin-top: 4.5rem;
    flex: 1 1 auto;
    background-image: url(../72ppi/m2_bg1.png);
    height: 670px;
    background-repeat: no-repeat;
    background-position: 50%;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    background-size: cover;
}

main .m2 .flex_inner .flex_box:nth-of-type(2) {
    background-image: url(../72ppi/m2_bg2.png);
}

main .m2 .flex_inner .flex_box:nth-of-type(3) {
    background-image: url(../72ppi/m2_bg3.png);
}

main .m2 .flex_inner .flex_box:nth-of-type(4) {
    background-image: url(../72ppi/m2_bg4.png);
}

main .m2 .flex_inner .flex_box:hover {
    flex-grow: 3.5;
    transition: all 0.6s ease-in-out;
}

main .m2 .flex_inner .flex_box .flex_desc {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: auto;
    bottom: 0;
    padding: 7%;
    transition: all 0.3s;
}

main .m2 .flex_inner .flex_box:hover>.flex_desc {
    opacity: 1;
    animation: show 0.6s ease 0.3s both;
    -webkit-animation: show 0.6s ease 0.3s both;
    animation-delay: 0.4s;
}

main .m2 .flex_inner .flex_box .flex_desc h4 {
    font-size: clamp(1.5rem, 2rem, 2rem);
    font-weight: 700;
    color: white;
}

main .m2 .flex_inner .flex_box .flex_desc p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    letter-spacing: -0.25px;
    font-weight: 300;
    color: white;
    margin-top: 0.5rem;
}

main .m3 {
    width: 100%;
}

main .m3 article {
    display: flex;
    background: var(--main-color);
    margin: 0;
    width: 100%;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

main .m3 article:nth-of-type(2) {
    flex-direction: row-reverse;
    background-color: var(--sub-color);
}

main .m3 article .m3_left {
    color: white;
    padding: var(--section-padding);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 auto;
    width: 50%;
    overflow: hidden;
}

main .m3 article .m3_left h3 {
    color: white;
}

main .m3 article .m3_left p {
    color: white;
}

main .m3 article .m3_right {
    flex: 1 1 auto;
    width: 50%;
    overflow: hidden;
    background-attachment: fixed;
}

main .m4 {
    width: 100%;
    overflow: hidden;
    background-image: url(../72ppi/m4_bg1.png);
    background-repeat: no-repeat;
    background-size: 15%;
    background-position: 60% 140%;
    height: 80dvh;
}

main .m4 .flex_inner {
    display: flex;
    padding: var(--section-padding);
    height: 100%;
    gap: 1rem;
}

main .m4 .flex_inner .flex_box {
    background-image: url(../72ppi/m4_bg2.png);
    background-repeat: no-repeat;
    flex: 1 1 auto;
    background-size: cover;
    position: relative;
}

main .m4 .flex_inner .flex_box::before {
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: var(--sub-color);
    display: block;
    content: "";
    opacity: 0;
    background-image: url(../72ppi/m4_before.png);
    background-repeat: no-repeat;
    /* background-position: 85% 15%; */
    background-position: 90% 50%;
    transition: all 0.3s ease;
}

main .m4 .flex_inner .flex_box:hover:before {
    opacity: 1;
}

main .m4 .flex_inner .flex_box::after {
    position: absolute;
    width: 100%;
    display: block;
    content: "Certificate";
    bottom: 10%;
    left: 10%;
    font-size: 1.8rem;
    font-weight: 300;
    text-transform: uppercase;
    color: white;
}

main .m4 .flex_inner .flex_box:nth-of-type(2) {
    background-image: url(../72ppi/m4_bg3.png);
}

main .m4 .flex_inner .flex_box:nth-of-type(3) {
    background-image: url(../72ppi/m4_bg4.png);
    flex: 1.5 1 auto;
}

main .m4 .flex_inner .flex_box:nth-last-of-type(2):after {
    content: "Catalogue";
}

main .m4 .flex_inner .flex_box:nth-last-of-type(1):after {
    content: "R&D Center";
}

main .m5 {
    display: flex;
    width: 100%;
    height: 340px;
    padding: var(--section-padding);
    background-image: url(../72ppi/m5_bg.png);
    background-repeat: no-repeat;
    justify-content: space-between;
    align-items: center;
    background-size: cover;
}

main .m5 h3 {
    color: white;
    margin-bottom: 0;
}

main .m5 a {
    background-color: var(--sub-color);
    padding: 0.9rem 3.2rem;
    border-radius: 5rem;
    text-transform: uppercase;
    color: white;
    font-size: 1.05rem;
    text-align: center;
    font-weight: 300;
    transition: all 0.3s;
}

main .m5 a:hover {
    scale: 1.03;
}

/* .m6 Logo Slider */
.m6 {
    padding: 100px 6.25vw;
}

.logo-slider {
    background: white;
    -webkit-box-shadow: 0 0px 0px 0px rgba(0, 0, 0, 0.125);
    box-shadow: 0 0px 0px 0px rgba(0, 0, 0, 0.125);
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-slider::before,
.logo-slider::after {
    background: -webkit-gradient(linear,
            left top,
            right top,
            from(white),
            to(rgba(255, 255, 255, 0)));
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 175px;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.logo-slider::after {
    right: 0;
    top: 0;
    -webkit-transform: rotateZ(180deg);
    transform: rotateZ(180deg);
}

.logo-slider::before {
    left: 0;
    top: 0;
}

.logo-slider .logo-slide-track {
    -webkit-animation: logo-scroll 60s linear infinite;
    animation: logo-scroll 60s linear infinite;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: calc(250px * 18);
    animation-duration: 50s;
    animation-iteration-count: infinite;
}

#logo-slider_2 .logo-slide-track {
    animation: logo-scroll2 60s linear infinite;
    animation-duration: 50s;
}

.logo-slider .slide {
    height: 150px;
    width: 250px;
    padding: 20px;
    display: flex;
    align-items: center;
}

.logo-slider .slide>img {
    object-fit: scale-down;
}

footer {
    width: 100%;
}

footer .footer_inner {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 100px 6.25vw;
    align-items: flex-end;
}

footer .footer_inner .f_logo {
    margin-right: 7%;
}

footer .footer_inner .f_logo img {
    display: block;
    object-fit: scale-down;
    margin-bottom: 1rem;
}

footer .footer_inner>div {
    flex: 1 1 auto;
}

footer .footer_inner>div * {
    color: #b2b2b2;
    font-weight: 300;
    letter-spacing: -0.2px;
}

footer .footer_inner .address_box {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

footer .footer_inner>div>span {
    margin-right: 3rem;
    color: #b2b2b2;
}

footer .footer_inner .f_menu {
    display: flex;
    flex-direction: column;
    text-align: right;
    text-transform: uppercase;
}

footer .footer_inner .f_menu a {
    font-size: 1.05rem;
    color: #b2b2b2;
    line-height: 1.8;
}

.gotop {
    position: relative;
    padding: 6.25vw;
    border-bottom: 1px solid #f0f0f0;
}

#mainPage .gotop_main {
    background-image: url(../72ppi/gotop_bg.png);
    background-repeat: no-repeat;
    background-position: 10% -30%;
    background-size: contain;
    background-position-y: 70px;
}

.gotop_main {
    position: relative;
    padding: var(--section-padding);
    border-bottom: 1px solid #f0f0f0;
}

.gotop a {
    position: absolute;
    right: 6.25vw;
}

.gotop a img {
    width: 60px;
    height: 60px;
}

@media all and (max-width: 1480px) {
    .bottom_bg {
        display: none;
        opacity: 0;
    }
}

@media all and (max-width: 1200px) {

    .gotop_main,
    .gotop {
        padding: 0;
    }
}

@media all and (max-width: 767px) {
    header:hover::before {
        height: var(--header-height);
    }

    main .m2 .flex_inner {
        width: 100%;
        display: flex;
        display: flex;
        gap: 1rem;
        align-items: stretch;
        flex-direction: column;
    }

    main .m2 .flex_inner .flex_box {
        height: 400px;
    }

    main .m2 .flex_inner .flex_box .flex_desc {
        padding: 2rem;
    }

    main .m4 .flex_inner .flex_box::after {
        font-size: 1rem;
    }

    main .m2 .flex_inner .flex_box .flex_desc {
        opacity: 1;
        animation: show 0.3s ease;
        -webkit-animation: show 0.3s ease;
    }

    main .m4 .flex_inner {
        display: flex;
        flex-direction: column;
        padding: 5rem 20px;
        height: 100%;
        gap: 1rem;
    }

    main .m5 {
        display: flex;
        width: 100%;
        height: 340px;
        padding: 30px;
        background-image: url(../72ppi/m5_bg.png);
        background-repeat: no-repeat;
        justify-content: space-around;
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    .logo-slider::after,
    .logo-slider::before {
        display: none;
    }

    footer .footer_inner {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    footer .footer_inner .f_menu {
        display: none;
    }

    footer .footer_inner .address_box {
        flex-direction: column;
    }

    footer .footer_inner .f_logo {
        margin: 0 auto;
        width: 100%;
    }

    footer .footer_inner .f_logo img {
        margin-bottom: 2rem;
    }
}