@charset "UTF-8";

/* root style */
:root {
    --color-gray: #6e6e6e; /* 기본 회색  */
    --color-gray-light: #eeefef; /* 연한 회색  */
    --color-gray-lighter: #f0f0f0; /* 더 연한 회색 */
    --color-green: #8fc31f; /* 기본 그린 */
    --color-green-dark: #7baa17; /* 진한 그린 */
    --color-green-light: #9ac043; /*연한 그린 */
    --color-blue: #0086c9; /* 기본 블루 */
    --color-blue-light: #20aee5; /* 밝은 블루 */
    --color-blue-lighter: #7ecdf3; /* 더 연한 블루 */
    --color-orange: #ffb52d; /* 더 연한 블루 */
}

.text_gray {
    color: var(--color-gray);
}
.text_gray_lighter {
    color: var(--color-gray-lighter);
}
.text_blue {
    color: var(--color-blue);
}
.text_blue_light {
    color: var(--color-blue-light);
}
.text_green {
    color: var(--color-green);
}
.text_green_dark {
    color: var(--color-green-dark);
}

.bgc_blue_light {
    background-color: var(--color-blue-light);
}
.bgc_blue_lighter {
    background-color: var(--color-blue-lighter);
}
.bgc_green {
    background-color: var(--color-green);
}
.bgc_green_dark {
    background-color: var(--color-green-dark);
}
.bgc_green_light {
    background-color: var(--color-green-light);
}
.bgc_orange {
    background-color: var(--color-orange);
}

/* Reset styles */

* {
    margin: 0;
    padding: 0;
    border: none 0;
    box-sizing: border-box;
    font-family: "Noto Sans KR", "Noto Sans", sans-serif;
    word-break: keep-all;
}
html {
    width: 100%;
    font-size: 14px;
    /* scroll-behavior: smooth; */
}

body {
    background-color: #fff;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    font-size: 20px;
    color: #000;
    /* overflow: hidden; */
}

form {
    width: 100%;
}

input {
    background-color: #eee;
    border: none;
    outline: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
    font-size: 1em;
}

input::placeholder {
    color: #bbb;
}

select {
    background-color: #eee;
    border: none;
    outline: none;
    padding: 12px 15px;
    /* margin: 8px 0; */
    width: 100%;
    font-size: 1em;
    color: #000;
    height: 42px;
}

ul,
ul li {
    list-style: none;
}

img {
    width: 100%;
    /* height: 100%; */
}

button {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    -webkit-appearance: none;
    font-size: 1em;
    color: #000;
}

a {
    display: inline-block;
}
a[href^="tel"] {
    color: inherit;
    text-decoration: none;
    /* pointer-events: none; 필요시 클릭도 막기 */
}

h1 {
    font-size: 2em;
}

sup {
    font-size: 0.6em;
}

address {
    font-style: normal;
}

.content_blind {
    display: none;
}

/* header */
header {
    width: 90%;
    height: 112px;
    margin: 0 auto;
    display: flex;
    gap: 1em;
    align-items: center;
    /* z-index: 999; */
}

/* logo */
.logo {
    width: 15vw;
}
.logo_product {
    display: flex;
    gap: 1em;
    align-items: center;
}
.logo_fluad {
    width: 5vw;
    max-width: 95px;
    cursor: pointer;
}
.logo_flucel {
    width: 7.5vw;
    max-width: 141px;
    cursor: pointer;
}

/* nav_header */
.nav_header {
    display: flex;
    gap: 2em;
    justify-content: space-evenly;
    align-items: center;
    margin-left: 15%;
    font-weight: 600;
}

.nav_header a {
    text-decoration: none;
    color: #000;
}

/* header_logo */
.header_logo {
    display: flex;
    gap: 1.5em;
    align-items: center;
    margin-left: auto;
}
.header_logo img {
    vertical-align: middle;
}
.logo_csl {
    width: 8vw;
    max-width: 144px;
}
.logo_samjin {
    width: 7vw;
    max-width: 120px;
}

.menu_toggle {
    display: none;
    height: 100%;
}

.menu_toggle span {
    background-color: #000;
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

.hamburger_menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    padding: 10px;
}

.hamburger_menu li {
    padding: 10px;
    padding-right: 0;
    cursor: pointer;
    word-break: break-all;
}

/* footer */
footer {
    background-color: var(--color-gray-light);
    color: var(--color-gray);
    font-size: 0.6em;
}

footer a {
    color: var(--color-gray);
    text-decoration: none;
}
footer b {
    min-width: fit-content;
    width: 20%;
    max-width: 20px;
}

.footer_wrap {
    width: 75%;
    margin: 0 auto;
    padding: 30px 0;
}

.footer_legal {
    display: flex;
    gap: 1em;
}

.separator {
    font-size: 0.9em;
}

.footer_contact {
    margin: 30px 0;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: -1px;
}

footer span.ref {
    display: inline-block;
    margin-bottom: 40px;
}

.footer_companies {
    display: flex;
    gap: 3em;
    font-size: 0.9em;
}

.footer_company {
    display: flex;
    gap: 1em;
}

.scroll_top {
    position: fixed;
    bottom: 2em;
    right: 5%;
    width: 2em;
    height: 2em;
    border: none;
    border-radius: 50%;
    background-color: var(--color-gray);
    opacity: 0.8;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: none;
}
.scroll_top:hover {
    background-color: #555;
}

/* media query */
@media screen and (max-width: 768px) {
    body {
        font-size: 16px;
    }
    body.no-scroll {
        overflow: hidden;
    }

    .content_blind.active {
        display: block;
        background-color: #000;
        opacity: 0.3;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 997;
        transition: all 0.3s ease 0.1s;
    }

    .nav_header,
    .header_logo {
        display: none;
    }

    .logo_product {
        z-index: 99;
    }

    .logo_fluad {
        width: 20vw;
    }
    .logo_flucel {
        width: 29vw;
    }

    header {
        height: 80px;
    }

    footer {
        font-size: 0.8em;
    }

    .footer_wrap {
        width: 90%;
        font-size: 1em;
    }

    .footer_legal {
        gap: 0.5em;
    }

    .footer_contact {
        letter-spacing: 0;
    }

    .footer_companies {
        flex-direction: column;
    }

    .footer_company {
        flex-wrap: wrap;
        gap: 0.5em;
    }
    .footer_company b {
        align-self: center;
    }
    .footer_company .logo_csl {
        width: 36vw;
        max-width: 169px;
    }
    .footer_company .logo_samjin {
        width: 30vw;
        max-width: 144px;
    }

    .company_address {
        width: 100%;
    }

    /* 햄버거 메뉴 적용시 */
    .menu_toggle {
        display: block;
        cursor: pointer;
        position: relative;
        z-index: 999;
        height: auto;
        margin-left: auto;
    }

    .menu_toggle span {
        display: block;
        background-color: #000;
        width: 25px;
        height: 3px;
        margin: 5px 0;
        transition: all 0.3s ease-in-out;
    }
    .menu_toggle span:nth-of-type(1) {
        top: 0;
        transform-origin: 25% 50%;
        transition: 0.3s;
    }
    .menu_toggle span:nth-of-type(2) {
        top: calc(50% - 1px);
    }
    .menu_toggle span:nth-of-type(3) {
        bottom: 0;
        transform-origin: 25% 50%;
        transition: 0.3s;
    }

    .menu_toggle.active span:nth-of-type(1) {
        transform: rotate(45deg) translateX(20%);
    }
    .menu_toggle.active span:nth-of-type(2) {
        opacity: 0;
    }
    .menu_toggle.active span:nth-of-type(3) {
        transform: rotate(-45deg) translateX(20%);
    }

    .hamburger_menu {
        display: block;
        position: fixed;
        top: 0;
        background-color: #fff;
        opacity: 0;
        padding: 10px;
        height: 100%;
        width: 60%;
        right: -100%;
        border-radius: 30px 0 0 30px;
        transform: scaleX(1);
        transition: all 0.3s ease 0.1s;
        box-shadow: -2em 0 3em rgba(0, 0, 0, 0.5);
        z-index: 998;
    }

    .hamburger_menu ul {
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        padding: 10px;
        border-top: 1px solid var(--color-gray-lighter);
    }

    .hamburger_menu a {
        color: #000;
        text-decoration: none;
        font-size: 1.1em;
        font-weight: 600;
    }

    /* .hamburger_menu.active */
    .hamburger_menu.active {
        opacity: 1;
        right: 0%;
    }

    .scroll_top {
        right: 20px;
        width: 2.2em;
        height: 2.2em;
        font-size: 1.2em;
    }
}
