@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);
@viewport { width: device-width; }

/* 기본 스타일 초기화 */
* {
    margin: 0;
    padding: 0;
    font-family: 'NanumSquareNeoLight', sans-serif;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 전체 레이아웃 */
#wrap {
    width: 100%;
    min-height: 100vh; /* 최소 높이를 뷰포트 높이로 설정 */
    display: flex;
    flex-direction: column;
}

/* 상단 이미지 */
.top_img {
    height: 550px;
    background: url(../img/main1.jpg) no-repeat center/cover;
    margin-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top_text {
    font-size: 4.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.top_nav {
    width: 100%;
    background-color: #f5f5f5;
    border-bottom: 2px solid #d7d1d1;
}

/* 콘텐츠 박스 */
.contents_box {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 오른쪽 콘텐츠 영역 */
.right_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

/* CI 섹션 */
.company_ci_text {
    margin-top: 50px;
}

.ci_text p {
    font-size: 25px;
    line-height: 1.9;
    color: #555;
    font-weight: 400;
    margin-bottom: 40px;
}

.ci_text span {
    font-size: 32px;
    font-weight: 800;
    color: #222;
    margin-bottom: 10px;
}

.ci_img {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.ci_svg,
.ci_gray_svg {
    width: 48%;
    height: 280px;
    background: url(../img/ci.svg) no-repeat center/cover;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ci_gray_svg {
    background: url(../img/ci_gray.svg) no-repeat center/cover;
}

/* 컬러 규정 */
.color_rule {
    width: 100%;
    margin-top: 40px;
}

.rule_text {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 30px;
}

.ci_color_main,
.ci_color_sub {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.ci_color_main div,
.ci_color_sub div {
    flex: 1;
    height: 120px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 10px;
}

.ci_color_main p,
.ci_color_sub p {
    font-size: 14px;
    line-height: 1.6;
}

.ci_color_1 { background: #0099d9; }
.ci_color_2 { background: #abcd03; }
.ci_color_3 { background: #e60012; }
.ci_color_4 { background: #a64a97; }
.ci_color_5 { background: #f6ab00; }
.ci_color_sub_1 { background: #595757; }
.ci_color_sub_2 { background: #b4b4b4; }

/* BI 섹션 */
.company_bi_text {
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid #ddd;
}

.bi_text p {
    font-size: 25px;
    line-height: 1.9;
    color: #555;
    font-weight: 400;
    margin-bottom: 40px;
}

.bi_text span {
    font-size: 32px;
    font-weight: 800;
    color: #222;
    margin-bottom: 10px;
}

.bi_img {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.bi_svg,
.bi_gray_svg {
    width: 48%;
    height: 280px;
    background: url(../img/bi.svg) no-repeat center/cover;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bi_gray_svg {
    background: url(../img/bi_gray.svg) no-repeat center/cover;
}

.color_rule_bi {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
}

.bi_color_main {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.bi_color_main div {
    flex: 1;
    height: 120px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 10px;
}

.bi_color_main p {
    font-size: 14px;
    line-height: 1.6;
}

.bi_color_1 { background: #187fc4; }
.bi_color_2 { background: #595757; }
.bi_color_3 { background: #b5b5b6; }

/* 반응형 디자인 */
@media screen and (max-width: 1500px) {
    .contents_box {
        max-width: 1200px;
    }

    .right_box {
        max-width: 900px;
    }

    .ci_svg,
    .ci_gray_svg,
    .bi_svg,
    .bi_gray_svg {
        height: 250px;
    }
}

@media screen and (max-width: 1300px) {
    #wrap {
        min-height: 1800px;
    }

    .contents_box {
        max-width: 1000px;
    }

    .right_box {
        max-width: 700px;
    }

    .ci_text span,
    .bi_text span {
        font-size: 28px;
    }

    .ci_text p,
    .bi_text p {
        font-size: 14px;
    }

    .ci_svg,
    .ci_gray_svg,
    .bi_svg,
    .bi_gray_svg {
        height: 220px;
    }

    .ci_color_main p,
    .ci_color_sub p,
    .bi_color_main p {
        font-size: 12px;
    }
}

@media screen and (max-width: 1100px) {
    .contents_box {
        flex-direction: column;
        align-items: center;
    }

    .right_box {
        max-width: 90%;
        padding: 0 15px;
    }

    .ci_svg,
    .ci_gray_svg,
    .bi_svg,
    .bi_gray_svg {
        height: 200px;
    }

    .ci_color_main,
    .ci_color_sub,
    .bi_color_main {
        flex-wrap: wrap;
        gap: 10px;
    }

    .ci_color_main div,
    .ci_color_sub div,
    .bi_color_main div {
        flex: 1 1 45%;
    }
}

@media screen and (max-width: 768px) {
    #wrap {
        min-height: 100vh;
    }

    .top_img {
        height: 200px;
    }

    .top_img .top_text {
        font-size: 28px;
    }

    .contents_box {
        flex-direction: column;
    }

    .right_box {
        max-width: 100%;
        padding: 0 10px;
    }

    .ci_text span,
    .bi_text span {
        font-size: 24px;
    }

    .ci_text p,
    .bi_text p {
        font-size: 13px;
    }

    .ci_img,
    .bi_img {
        flex-direction: column;
        gap: 15px;
    }

    .ci_svg,
    .ci_gray_svg,
    .bi_svg,
    .bi_gray_svg {
        width: 100%;
        height: 200px;
    }

    .ci_color_main div,
    .ci_color_sub div,
    .bi_color_main div {
        flex: 1 1 100%;
        height: 100px;
    }

    .rule_text {
        font-size: 24px;
    }
}