@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Nanum+Gothic:400,700|Nanum+Myeongjo');
@import url(https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@1.0/nanumsquare.css);

* {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: 'NanumSquareNeoLight', sans-serif;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

#wrap {
    position: relative;
    top: 0;
    z-index: 9;
    width: 100%;
    height: 100%;
}

.page {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.page.num1 {
    background: url(../img/main1.jpg) no-repeat center/cover;
    transition: transform 0.1s ease-out;
}

/* 메인 배너 섹션 */
.middle_box {
    width: 100%;
    position: absolute;
    top: calc(50% - 50px);
    text-align: -webkit-center;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.middle_box h1 {
    color: white;
    font-family: 'NanumSquare', sans-serif;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

#middleboxh1 {
    font-size: 56px;
    line-height: 78px;
}

#middleboxh2 {
    font-size: 56px;
    line-height: 78px;
    margin-top: 10px;
}

.middle_bot_box {
    width: 100%;
    position: absolute;
    top: 70%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 20px;
}

.slider-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    text-align: center;
}

.slider-wrap .slick-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon1, .icon2, .icon3, .icon4, .icon5, .icon6 {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 텍스트 위, 버튼 아래로 */
    align-items: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    min-width: 450px;
    max-width: 650px;
    height: 390px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-sizing: border-box;
}

.icon1:hover, .icon2:hover, .icon3:hover, .icon4:hover, .icon5:hover, .icon6:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.4);
}

.icon1 img, .icon2 img, .icon3 img, .icon4 img, .icon5 img, .icon6 img {
    width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 버튼 정렬 고정 */
.icon_more {
    width: 130px;
    height: 35px;
    border: 2px solid #fff;
    color: white;
    text-align: center;
    font-size: 14px;
    line-height: 35px;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin-top: auto;      /* 항상 하단에 붙도록 */
    margin-bottom: 0;
}

.icon_more:hover {
    background-color: #0099d9;
    border-color: #0099d9;
    transform: scale(1.05);
}
.dung {
    display: block;
    width: 270px;
    height: 55px;
    border: 2px solid #fff;
    color: white;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    line-height: 55px;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 30px;
}

.dung:hover {
    background-color: #0099d9;
    border-color: #0099d9;
    transform: scale(1.05);
}

/* 솔루션 소개 섹션 */
.page.num2 {
    background: url(../../img/main5.jpg) no-repeat center/cover;
    position: relative;
}

.page.num2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1;
}

.middle_box_2 {
    width: 100%;
    position: absolute;
    top: 15%;
    left: 0;
    text-align: center;
    animation: fadeInUp 1s ease-out;
    z-index: 2;
}

.middle_box_2 h1:nth-child(1) {
    color: #FFFFFF;
    font-size: 64px;
    font-family: 'NanumSquare', sans-serif;
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 90px;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
}

.middle_box_2 h1:nth-child(2) {
    color: #E0E0E0;
    font-size: 21px;
    font-family: 'NanumSquare', sans-serif;
    font-weight: 500;
    line-height: 29px;
    margin-top: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.middle_box_2 h1 span {
    color: #0099d9;
    font-size: 80px; /* 5rem * 16 = 80px */
    font-weight: 700;
    line-height: 112px;
}

.middle_wrap {
    width: 100%;
    position: absolute;
    top: 65%;
    left: 0;
    transform: translateY(-50%);
    z-index: 2;
}

.middle_wrap_box {
    position: relative;
    margin: 0 auto;
    width: 940px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.middle_wrap_box a {
    width: 280px;
    border: 2px solid #FFFFFF;
    padding: 20px;
    text-align: center;
    color: #FFFFFF;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.middle_wrap_box a:hover {
    transform: translateY(-10px);
    background-color: rgba(0, 153, 217, 0.5);
    border-color: #FFFFFF;
}

.middle_wrap_box img {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.middle_wrap_box a:hover img {
    transform: scale(1.2);
}

.middle_wrap_box p {
    font-size: 16px; /* 1.0rem * 16 = 16px */
    line-height: 22px;
    margin-top: 20px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.middle_wrap_box div {
    width: 120px;
    height: 40px;
    border: 2px solid #FFFFFF;
    line-height: 40px;
    margin: 20px auto 0;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.middle_wrap_box a:hover div {
    background-color: #0099d9;
    border-color: #0099d9;
}

/* 슬라이더 스타일 */
.slider {
    list-style: none;
    height: 100%;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.slider li {
    display: none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 15px;
    color: white;
    font-size: 48px;
    line-height: 48px;
    transition: all 0.3s ease;
    z-index: 3;
}

.prev {
    left: 5%;
}

.next {
    right: 5%;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.5);
    border-radius: 5px;
}

/* 고객사 현황 섹션 */
.page.num3 {
    background: #1a1a1a;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page.num3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.customer_header {
    text-align: center;
    margin-bottom: 10px;
    z-index: 2;
}

.customer_header h1 {
    font-size: 48px;
    font-family: 'NanumSquare', sans-serif;
    font-weight: 700;
    color: #fff;
    line-height: 67px;
    margin-bottom: 10px;
}

.customer_header p {
    font-size: 19px;
    font-family: 'NanumSquare', sans-serif;
    font-weight: 400;
    color: #ccc;
    line-height: 27px;
}

.customer_slider {
    list-style: none;
    width: 90%;
    max-width: 1200px;
    height: auto;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.customer_slider .slick-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
}

.customer_grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 20px;
    justify-items: center;
    align-items: center;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.customer_logo {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    width: 100%;
    max-width: 180px;
}

.customer_logo.placeholder {
    background: #333;
    opacity: 0.5;
}

.customer_logo:hover {
    transform: translateY(-5px);
}

.customer_logo img {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
}

.customer_prev, .customer_next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 15px;
    color: #fff;
    font-size: 48px;
    line-height: 48px;
    transition: all 0.3s ease;
    z-index: 3;
}

.customer_prev {
    left: 5%;
}

.customer_next {
    right: 5%;
}

.customer_prev:hover, .customer_next:hover {
    background-color: rgba(0,0,0,0.5);
    border-radius: 5px;
}

/* Slick Slider Dots */
.customer_slider .slick-dots {
    text-align: center;
    margin-top: 20px;
    z-index: 2;
}

.customer_slider .slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.customer_slider .slick-dots li button {
    width: 12px;
    height: 12px;
    background: #ccc;
    border: none;
    border-radius: 50%;
    text-indent: -9999px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.customer_slider .slick-dots li.slick-active button {
    background: #0099d9;
}

/* 뉴스 및 공지사항 섹션 */
.half_wrap {
    width: 50%;
    height: 100%;
    position: absolute;
}

.half_wrap:nth-child(1) {
    background: url(../img/main_news.jpg) no-repeat center/cover;
}

.half_wrap:nth-child(2) {
    left: 50%;
    background: url(../img/main_notice2.jpg) no-repeat center/cover;
}

.half_wrap a {
    display: block;
    width: 100%;
    height: 100%;
    color: #ccc;
    text-align: center;
    transition: all 0.3s ease;
}

.half_wrap a:hover {
    background-color: rgba(0,0,0,0.5);
    color: white;
}

.half_wrap a p:nth-child(1) {
    font-size: 40px;
    line-height: 56px;
    margin-top: 40%;
}

.half_wrap a p:nth-child(1) span {
    font-size: 56px;
    line-height: 78px;
    font-weight: 700;
}

.half_wrap a p:nth-child(2) {
    width: 100px;
    height: 40px;
    border: 2px solid #ccc;
    line-height: 40px;
    margin: 20px auto;
    border-radius: 20px;
}

.half_wrap a:hover p:nth-child(2) {
    border-color: #0099d9;
    background-color: #0099d9;
}

/* 제품 문의 섹션 */
.middle_text_box {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
}

.text_box {
    margin: 0 auto;
    width: 90%;
    display: flex;
    justify-content: space-between;
    color: white;
}

.text_box div:nth-child(1) p {
    font-size: 40px;
    line-height: 56px;
    font-weight: 700;
}

.text_box div:nth-child(1) p span {
    font-size: 64px;
    line-height: 90px;
}

.text_box div:nth-child(2) p {
    font-size: 32px;
    line-height: 45px;
}

/* 스크롤 아이콘 */
.dung p {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    line-height: 20px;
}

/* 사이드 퀵 버튼 */
.quick {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100000;
}

.quick li {
    width: 10px;
    height: 10px;
    margin-bottom: 10px;
    border-radius: 15px;
    border: 2px solid #fff;
    cursor: pointer;
}

.quick .on {
    background: #fff;
}

/* 고객 센터 정보 */
.page.num5 {
    background: #1a1a1a;
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
    #middleboxh1, #middleboxh2 {
        font-size: 48px;
        line-height: 67px;
    }
    .middle_box_2 h1:nth-child(1) {
        font-size: 56px;
        line-height: 78px;
    }
    .middle_box_2 h1:nth-child(2) {
        font-size: 19px;
        line-height: 27px;
    }
    .middle_wrap_box {
        gap: 15px;
    }
    .middle_wrap_box a {
        width: 250px;
    }
    .customer_header h1 {
        font-size: 40px;
        line-height: 56px;
    }
    .customer_header p {
        font-size: 16px;
        line-height: 22px;
    }
    .customer_grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .customer_logo {
        max-width: 150px;
    }
    .text_box div:nth-child(1) p {
        font-size: 32px;
        line-height: 45px;
    }
    .text_box div:nth-child(1) p span {
        font-size: 48px;
        line-height: 67px;
    }
    .text_box div:nth-child(2) p {
        font-size: 24px;
        line-height: 34px;
    }
    .half_wrap a p:nth-child(1) {
        font-size: 32px;
        line-height: 45px;
    }
    .half_wrap a p:nth-child(1) span {
        font-size: 40px;
        line-height: 56px;
    }
}

@media (max-width: 960px) {
    #middleboxh1, #middleboxh2 {
        font-size: 40px;
        line-height: 56px;
    }
    .middle_box {
        left: 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
        top: 55%;
        text-align: center;
    }
    .middle_box_2 {
        top: 35%;
    }
    .middle_box_2 h1:nth-child(1) {
        font-size: 48px;
        line-height: 67px;
    }
    .middle_box_2 h1:nth-child(2) {
        font-size: 18px;
        line-height: 25px;
    }
    .middle_box_2 h1 span {
        font-size: 56px;
        line-height: 78px;
    }
    .middle_wrap {
        display: flex;
        justify-content: center;
    }
    .middle_wrap_box {
        gap: 12px;
        justify-content: center;
    }
    .middle_wrap_box a {
        width: 220px;
        padding: 10px;
    }
    .middle_wrap_box img {
        width: 60px;
        height: 60px;
    }
    .middle_wrap_box p {
        font-size: 13px;
        line-height: 18px;
        margin-top: 10px;
    }
    .middle_wrap_box div {
        width: 80px;
        height: 30px;
        line-height: 26px;
        font-size: 13px;
    }
    .customer_header h1 {
        font-size: 32px;
        line-height: 45px;
    }
    .customer_header p {
        font-size: 14px;
        line-height: 20px;
    }
    .customer_grid {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 15px;
    }
    .customer_logo {
        max-width: 120px;
        min-height: 80px;
    }
    .customer_logo img {
        max-width: 100px;
        max-height: 60px;
    }
    .text_box {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .text_box div:nth-child(1) p {
        font-size: 29px;
        line-height: 41px;
    }
    .text_box div:nth-child(1) p span {
        font-size: 40px;
        line-height: 56px;
    }
    .text_box div:nth-child(2) p {
        font-size: 19px;
        line-height: 27px;
    }
    .half_wrap {
        width: 100%;
        height: 50%;
    }
    .half_wrap:nth-child(1) {
        top: 0;
    }
    .half_wrap:nth-child(2) {
        top: 50%;
        left: 0;
    }
    .half_wrap a p:nth-child(1) {
        font-size: 29px;
        line-height: 41px;
        margin-top: 20%;
    }
    .half_wrap a p:nth-child(1) span {
        font-size: 32px;
        line-height: 45px;
    }
    .dung {
        width: 180px;
        height: 45px;
        font-size: 16px;
        line-height: 40px;
    }
    .prev, .next, .customer_prev, .customer_next {
        font-size: 40px;
        line-height: 40px;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    #middleboxh1, #middleboxh2 {
        font-size: 32px;
        line-height: 45px;
    }
    .middle_box_2 {
        top: 35%;
    }
    .middle_box_2 h1:nth-child(1) {
        font-size: 25px;
        line-height: 56px;
    }
    .middle_box_2 h1:nth-child(2) {
        font-size: 11px;
        line-height: 21px;
    }
    .middle_box_2 h1 span {
        font-size: 40px;
        line-height: 67px;
    }
    .middle_wrap {
        top: 55%;
        display: flex;
        justify-content: center;
    }
    .middle_wrap_box {
        gap: 10px;
    }
    .middle_wrap_box a {
        width: 98px;
        padding: 8px;
    }
    .middle_wrap_box img {
        width: 50px;
        height: 50px;
    }
    .middle_wrap_box p {
        font-size: 7px;
        line-height: 11px;
        margin-top: 8px;
    }
    .middle_wrap_box div {
        width: 70px;
        height: 28px;
        line-height: 20px;
        font-size: 9px;
    }
    .customer_header {
        margin-top: 70px;
    }
    .customer_header h1 {
        font-size: 20px;
        line-height: 41px;
    }
    .customer_header p {
        font-size: 13px;
        line-height: 18px;
    }
    .customer_grid {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
    }
    .customer_logo {
        max-width: 100px;
        min-height: 10px;
    }
    .customer_logo img {
        max-width: 80px;
        max-height: 50px;
    }
    .text_box div:nth-child(1) p {
        font-size: 24px;
        line-height: 34px;
    }
    .text_box div:nth-child(1) p span {
        font-size: 32px;
        line-height: 45px;
    }
    .text_box div:nth-child(2) p {
        font-size: 16px;
        line-height: 22px;
    }
    .half_wrap a p:nth-child(1) {
        font-size: 24px;
        line-height: 34px;
    }
    .half_wrap a p:nth-child(1) span {
        font-size: 29px;
        line-height: 41px;
    }
    .half_wrap a p:nth-child(2) {
        width: 80px;
        height: 35px;
        line-height: 32px;
    }
    .dung {
        width: 150px;
        height: 40px;
        font-size: 14px;
        line-height: 36px;
    }
    .prev, .next, .customer_prev, .customer_next {
        font-size: 32px;
        line-height: 32px;
        padding: 8px;
    }
    .quick {
        right: 5px;
    }
}

@media (max-width: 410px) {
    #middleboxh1, #middleboxh2 {
        font-size: 24px;
        line-height: 34px;
    }
    .middle_box_2 {
        top: 15%;
    }
    .middle_box_2 h1:nth-child(1) {
        font-size: 32px;
        line-height: 45px;
    }
    .middle_box_2 h1:nth-child(2) {
        font-size: 10px;
        line-height: 20px;
    }
    .middle_box_2 h1 span {
        font-size: 30px;
        line-height: 56px;
    }
    .middle_wrap {
        display: flex;
        justify-content: center;
    }
    .middle_wrap_box {
        gap: 8px;
    }
    .middle_wrap_box a {
        width: 90px;
        padding: 6px;
    }
    .middle_wrap_box img {
        width: 40px;
        height: 40px;
    }
    .middle_wrap_box p {
        font-size: 7px;
        line-height: 10px;
        margin-top: 6px;
    }
    .middle_wrap_box div {
        width: 60px;
        height: 25px;
        line-height: 20px;
        font-size: 9px;
    }
    .customer_header h1 {
        font-size: 24px;
        line-height: 34px;
    }
    .customer_header p {
        font-size: 11px;
        line-height: 15px;
    }
    .customer_grid {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 8px;
    }
    .customer_logo {
        max-width: 90px;
        min-height: 60px;
    }
    .customer_logo img {
        max-width: 70px;
        max-height: 40px;
    }
    .text_box div:nth-child(1) p {
        font-size: 19px;
        line-height: 27px;
    }
    .text_box div:nth-child(1) p span {
        font-size: 24px;
        line-height: 34px;
    }
    .text_box div:nth-child(2) p {
        font-size: 14px;
        line-height: 20px;
    }
    .half_wrap a p:nth-child(1) {
        font-size: 19px;
        line-height: 27px;
        margin-top: 15%;
    }
    .half_wrap a p:nth-child(1) span {
        font-size: 24px;
        line-height: 34px;
    }
    .half_wrap a p:nth-child(2) {
        width: 70px;
        height: 30px;
        line-height: 25px;
        font-size: 13px;
    }
    .dung {
        width: 120px;
        height: 35px;
        font-size: 11px;
        line-height: 30px;
    }
    .prev, .next, .customer_prev, .customer_next {
        font-size: 24px;
        line-height: 24px;
        padding: 5px;
    }
    .customer_slider .slick-dots li button {
        width: 10px;
        height: 10px;
    }
    .quick{
        right: 0px;
    }
}

@media (max-width: 414px) {
    .middle_box_2 {
        top: 15%; /* 기존 15% → 10%로 상단 이동 */
    }
}

@media (max-width: 430px) {
    .middle_box_2 {
        top: 15%; /* 더 위로 */
    }
}