/* =========================================================
   OEM / ODM
========================================================= */

.oemodm-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 100px;
    box-sizing: border-box;
    font-family: "Pretendard", "Noto Sans", Arial, sans-serif;
    color: #171717;
}

.oemodm-page * {
    box-sizing: border-box;
}

.biz-section {
    margin-bottom: 80px;
}

/* =========================================================
   상단 설명
========================================================= */

.biz-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 60px;
    align-items: start;
    margin-bottom: 55px;
}

.biz-title {
    margin: 0 0 4px;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 800;
}

.biz-section.oem {
    --point: #087d4b;
    --point-dark: #064b34;
    --point-light: #8cae9f;
    --panel: #f4f7f5;
    --note: #dceee5;
}

.biz-section.odm {
    --point: #175d90;
    --point-dark: #0c4167;
    --point-light: #91a7b6;
    --panel: #f3f7fa;
    --note: #74889a;
}

.biz-title {
    color: var(--point);
}

.biz-subtitle {
    margin: 0 0 8px;
    color: var(--point-light);
    font-size: 27px;
    line-height: 1.4;
    font-weight: 700;
}

.biz-type {
    margin: 0 0 50px;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 700;
}

.biz-desc {
    max-width: 650px;
    margin: 0;
    color: #444;
    font-size: 14px;
    line-height: 1.9;
    word-break: keep-all;
}

.biz-image {
    width: 100%;
    height: 285px;
    overflow: hidden;
}

.biz-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================================
   PROCESS PANEL
========================================================= */

.process-panel {
    position: relative;
    padding: 40px 28px 35px;
    background: var(--panel);
}

.process-list {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}


/* 각 공정 */
.process-item {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    padding-top: 115px;
    text-align: center;
}


/* 공정 원 */
.process-step {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 112px;
    height: 112px;
    margin: 0 auto;

    padding: 10px;

    border-radius: 50%;
    background: var(--point);

    color: #fff;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    text-align: center;

    word-break: keep-all;
    z-index: 2;
}


/* 마지막 납품 */
.process-item.final .process-step {
    background: var(--point-dark);
    box-shadow: 0 0 0 8px rgba(110, 140, 125, .22);
}


/* 공정 사이 화살표 */
.process-item:not(:last-child):after {
    content: "";
    position: absolute;
    right: -8px;
    bottom: 48px;

    width: 0;
    height: 0;

    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 9px solid #8ca29a;
}


/* =========================================================
   상단 설명 BOX
========================================================= */

.process-note {
    position: absolute;
    top: 0;
    left: 50%;

    width: 155px;
    min-height: 70px;
    padding: 12px 8px;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--note);

    font-size: 11px;
    line-height: 1.5;
    font-weight: 500;
    text-align: center;
    word-break: keep-all;
}


/* ODM 설명박스는 흰 글씨 */
.odm .process-note {
    color: #fff;
}


/* 설명박스 아래 점선 */
.process-note:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;

    height: 42px;
    border-left: 1px dashed #aab4ae;
}


/* =========================================================
   재발주
========================================================= */

.reorder {
    position: relative;
    width: 47%;
    margin: 15px 2% 0 auto;

    padding-top: 10px;

    border-top: 1px dotted #9eaaa4;

    color: #73847b;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
    text-align: center;
}

.reorder:before,
.reorder:after {
    content: "";
    position: absolute;
    top: -30px;

    height: 30px;

    border-left: 1px dotted #9eaaa4;
}

.reorder:before {
    left: 0;
}

.reorder:after {
    right: 0;
}


/* =========================================================
   기간
========================================================= */

.process-duration {
    display: flex;
    align-items: center;
    gap: 25px;

    margin-top: 35px;

    color: #456e5a;
}

.odm .process-duration {
    color: #435d78;
}

.process-duration:before,
.process-duration:after {
    content: "";
    flex: 1;
    height: 1px;
    background: currentColor;
    opacity: .55;
}

.process-duration strong {
    white-space: nowrap;
    font-size: 26px;
    line-height: 1;
    font-weight: 800;
}


/* =========================================================
   ODM - 공정이 많으므로 조금 작게
========================================================= */

.odm .process-panel {
    padding-left: 20px;
    padding-right: 20px;
}

.odm .process-list {
    gap: 6px;
}

.odm .process-step {
    width: 95px;
    height: 95px;
    font-size: 14px;
}

.odm .process-item:not(:last-child):after {
    right: -5px;
    bottom: 40px;
}

.odm .process-note {
    width: 150px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .biz-head {
        grid-template-columns: minmax(0, 1fr) 350px;
        gap: 35px;
    }

    .process-step {
        width: 95px;
        height: 95px;
        font-size: 14px;
    }

    .odm .process-step {
        width: 80px;
        height: 80px;
        font-size: 12px;
    }

    .process-note {
        width: 135px;
        font-size: 10px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .oemodm-page {
        padding: 20px 15px 60px;
    }

    .biz-section {
        margin-bottom: 65px;
    }


    /* 상단 */
    .biz-head {
        display: flex;
        flex-direction: column;
        gap: 25px;
        margin-bottom: 35px;
    }

    .biz-title {
        font-size: 34px;
    }

    .biz-subtitle {
        font-size: 21px;
    }

    .biz-type {
        margin-bottom: 25px;
        font-size: 17px;
    }

    .biz-desc {
        font-size: 13px;
        line-height: 1.8;
    }

    .biz-image {
        order: -1;
        height: auto;
        aspect-ratio: 16 / 9;
    }


    /* 프로세스 */
    .process-panel,
    .odm .process-panel {
        padding: 30px 20px;
    }

    .process-list,
    .odm .process-list {
        display: block;
    }

    .process-item,
    .odm .process-item {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        align-items: center;

        min-height: 95px;
        padding: 0 0 25px;
        text-align: left;
    }


    /* 모바일 연결선 */
    .process-item:before {
        content: "";
        position: absolute;
        left: 35px;
        top: 70px;
        bottom: 0;

        width: 1px;
        background: #bdc8c2;
    }

    .process-item:last-child:before {
        display: none;
    }


    /* 원 */
    .process-step,
    .odm .process-step {
        grid-column: 1;
        grid-row: 1;

        width: 70px;
        height: 70px;
        margin: 0;

        padding: 7px;

        font-size: 12px;
        line-height: 1.3;
    }

    .process-item.final .process-step {
        box-shadow: 0 0 0 5px rgba(110, 140, 125, .20);
    }


    /* PC 화살표 제거 */
    .process-item:not(:last-child):after,
    .odm .process-item:not(:last-child):after {
        display: none;
    }


    /* 설명박스 */
    .process-note,
    .odm .process-note {
        position: static;

        grid-column: 2;
        grid-row: 1;

        width: auto;
        min-height: 55px;
        margin-left: 18px;
        padding: 10px 12px;

        transform: none;

        font-size: 11px;
        text-align: left;
    }

    .process-note:after {
        display: none;
    }


    /* 설명박스가 없는 공정의 이름을 오른쪽에도 표시 */
    .process-item:not(:has(.process-note)) {
        grid-template-columns: 72px minmax(0, 1fr);
    }


    /* 재발주 */
    .reorder {
        width: 100%;
        margin: 5px 0 0;
        padding: 12px;

        border: 1px dashed #bcc7c1;
        border-radius: 6px;

        background: rgba(255,255,255,.5);

        font-size: 11px;
    }

    .reorder:before,
    .reorder:after {
        display: none;
    }


    /* 기간 */
    .process-duration {
        gap: 15px;
        margin-top: 25px;
    }

    .process-duration strong {
        font-size: 21px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .oemodm-page {
        padding-left: 12px;
        padding-right: 12px;
    }

    .biz-title {
        font-size: 30px;
    }

    .biz-subtitle {
        font-size: 19px;
    }

    .process-panel,
    .odm .process-panel {
        padding: 25px 14px;
    }

}