/* =========================================================
   후살균기 / 혼합기 / 발효탱크 / 교반살균기 / 저온진공농축기
   전용 CSS
========================================================= */

.vac5-wrap {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px 80px;
    box-sizing: border-box;
    font-family: "Pretendard", "Noto Sans KR", sans-serif;
    color: #222;
}


/* -----------------------
   TAB
----------------------- */

.vac5-tabs {
    display: flex;
    width: 100%;
    margin-bottom: 35px;
    border: 1px solid #d9dce4;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.vac5-tab {
    flex: 1;
    min-width: 0;
    height: 66px;
    padding: 0 15px;
    border: 0;
    border-right: 1px solid #d9dce4;
    background: #fff;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
    word-break: keep-all;
}

.vac5-tab:last-child {
    border-right: 0;
}

.vac5-tab:hover {
    background: #f2f4fa;
    color: #172650;
}

.vac5-tab.active {
    background: #182754;
    color: #fff;
}


/* -----------------------
   CONTENT
----------------------- */

.vac5-content {
    display: none;
}

.vac5-content.active {
    display: block;
}


/* -----------------------
   상단 남색 영역
----------------------- */

.vac5-top {
    position: relative;
    padding: 70px 75px 150px;
    color: #fff;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.035) 0,
            rgba(255,255,255,0.035) 25%,
            transparent 25%,
            transparent 58%,
            rgba(255,255,255,0.025) 58%,
            rgba(255,255,255,0.025) 74%,
            transparent 74%
        ),
        #182754;
    border-radius: 42px;
    box-sizing: border-box;
    overflow: hidden;
}

.vac5-top h2 {
    margin: 0 0 42px;
    color: #d9e6ff;
    font-size: 46px;
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -2px;
}

.vac5-info {
    margin-bottom: 42px;
}

.vac5-info h3 {
    display: inline-block;
    margin: 0 0 18px;
    padding-bottom: 3px;
    border-bottom: 2px solid rgba(255,255,255,.85);
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
}

.vac5-info p {
    margin: 0 0 12px;
    color: #edf1fa;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;
    word-break: keep-all;
}

.vac5-row {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-top: 27px;
    color: #edf1fa;
    font-size: 18px;
    line-height: 1.65;
}

.vac5-row strong {
    flex: 0 0 100px;
    padding-top: 1px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.vac5-row span {
    flex: 1;
    min-width: 0;
    word-break: keep-all;
}


/* -----------------------
   제품 이미지 영역
----------------------- */

.vac5-image-box {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: calc(100% - 100px);
    min-height: 360px;

    margin: -115px auto 100px;
    padding: 0;

    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 22px;

    box-sizing: border-box;
    overflow: hidden;
}

/*
중요:
이미지를 강제로 가로/세로 100%로 만들지 않습니다.
원본비율 그대로 전체가 보입니다.
*/
.vac5-image-box img {
    display: block;

    width: auto;
    max-width: 100%;

    height: auto;
    max-height: 500px;

    margin: auto;

    object-fit: contain;
}


/* -----------------------
   사양표
----------------------- */

.vac5-spec {
    width: 86%;
    max-width: 950px;
    margin: 0 auto;
}

.vac5-spec-row {
    display: grid;
    grid-template-columns: 185px 1fr;
    align-items: center;
    column-gap: 25px;
    min-height: 59px;
}

.vac5-spec-row strong {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    padding: 5px 18px;

    background: #182754;
    border-radius: 30px;

    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;

    box-sizing: border-box;
    word-break: keep-all;
}

.vac5-spec-row span {
    display: flex;
    align-items: center;

    min-height: 59px;
    padding: 7px 10px;

    border-bottom: 1px dotted #65708d;

    color: #353535;
    font-size: 21px;
    line-height: 1.45;

    box-sizing: border-box;
    word-break: keep-all;
}

.vac5-spec-row:last-child span {
    border-bottom: 0;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .vac5-wrap {
        padding: 25px 20px 65px;
    }

    .vac5-tab {
        height: 60px;
        padding: 0 10px;
        font-size: 16px;
    }

    .vac5-top {
        padding: 55px 50px 130px;
        border-radius: 32px;
    }

    .vac5-top h2 {
        margin-bottom: 35px;
        font-size: 38px;
    }

    .vac5-info p,
    .vac5-row {
        font-size: 16px;
    }

    .vac5-image-box {
        width: calc(100% - 70px);
        min-height: 300px;
        margin-top: -95px;
        margin-bottom: 75px;
    }

    .vac5-image-box img {
        max-height: 430px;
    }

    .vac5-spec {
        width: 90%;
    }

    .vac5-spec-row {
        grid-template-columns: 160px 1fr;
        column-gap: 20px;
    }

    .vac5-spec-row strong {
        font-size: 17px;
    }

    .vac5-spec-row span {
        font-size: 18px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .vac5-wrap {
        padding: 15px 14px 50px;
    }

    /* 탭은 2열 */
    .vac5-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        padding: 6px;
        margin-bottom: 25px;
        border: 0;
        border-radius: 10px;
        background: #f2f3f7;
        overflow: visible;
    }

    .vac5-tab {
        width: 100%;
        height: 48px;

        padding: 5px 7px;

        border: 0;
        border-radius: 7px;

        background: #fff;

        font-size: 14px;
        line-height: 1.25;
    }

    /*
    마지막 탭은 전체폭 사용
    5개 탭이라 모바일에서 모양이 안정적입니다.
    */
    .vac5-tab:nth-child(5) {
        grid-column: 1 / -1;
    }

    .vac5-tab.active {
        background: #182754;
    }


    /* 남색 영역 */
    .vac5-top {
        padding: 36px 24px 80px;
        border-radius: 24px;
    }

    .vac5-top h2 {
        margin-bottom: 27px;
        font-size: 29px;
        letter-spacing: -1px;
    }

    .vac5-info {
        margin-bottom: 30px;
    }

    .vac5-info h3 {
        margin-bottom: 14px;
        font-size: 16px;
    }

    .vac5-info p {
        margin-bottom: 9px;
        font-size: 14px;
        line-height: 1.65;
    }

    .vac5-row {
        display: block;
        margin-top: 22px;
        font-size: 14px;
        line-height: 1.6;
    }

    .vac5-row strong {
        display: block;
        margin-bottom: 7px;
        padding: 0;
    }

    .vac5-row span {
        display: block;
    }


    /* 이미지 */
    .vac5-image-box {
        width: calc(100% - 28px);

        min-height: 0;

        margin: -48px auto 55px;
        padding: 18px 12px;

        border-radius: 15px;
    }

    .vac5-image-box img {
        width: auto;
        max-width: 100%;

        height: auto;
        max-height: none;

        object-fit: contain;
    }


    /* 사양표 */
    .vac5-spec {
        width: 100%;
    }

    .vac5-spec-row {
        grid-template-columns: 115px 1fr;
        column-gap: 10px;
        min-height: 52px;
    }

    .vac5-spec-row strong {
        min-height: 37px;
        padding: 5px 8px;
        border-radius: 22px;

        font-size: 14px;
    }

    .vac5-spec-row span {
        min-height: 52px;
        padding: 7px 4px;

        font-size: 15px;
        line-height: 1.4;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .vac5-wrap {
        padding-left: 10px;
        padding-right: 10px;
    }

    .vac5-tab {
        height: 45px;
        font-size: 13px;
    }

    .vac5-top {
        padding: 30px 19px 72px;
        border-radius: 20px;
    }

    .vac5-top h2 {
        font-size: 25px;
    }

    .vac5-info p,
    .vac5-row {
        font-size: 13px;
    }

    .vac5-image-box {
        width: calc(100% - 18px);
        margin-top: -42px;
        padding: 15px 8px;
    }

    .vac5-spec-row {
        grid-template-columns: 100px 1fr;
        column-gap: 8px;
    }

    .vac5-spec-row strong {
        padding: 5px;
        font-size: 13px;
    }

    .vac5-spec-row span {
        font-size: 14px;
    }
}

/* =========================================================
   후 살균기 제품 상세
========================================================= */

.vac5-product-top {
    position: relative;
    width: 100%;
    min-height: 710px;
    padding: 72px 66px 165px;
    box-sizing: border-box;

    background: #182754;
    border-radius: 38px;
    overflow: hidden;

    color: #fff;
}

/* 배경 사선 효과 */
.vac5-product-top::before {
    content: "";
    position: absolute;
    top: -180px;
    left: -100px;

    width: 1100px;
    height: 650px;

    background: rgba(255,255,255,0.025);
    transform: rotate(34deg);

    pointer-events: none;
}

.vac5-product-top::after {
    content: "";
    position: absolute;
    right: -270px;
    bottom: -80px;

    width: 1000px;
    height: 420px;

    background: rgba(0,0,0,0.08);
    transform: rotate(-19deg);

    pointer-events: none;
}


/* 내용은 배경 효과보다 위 */
.vac5-product-top > * {
    position: relative;
    z-index: 2;
}


/* 제목 */
.vac5-product-top h2 {
    margin: 0 0 38px;

    color: #d9e8ff;
    font-size: 46px;
    font-weight: 500;
    line-height: 1.25;

    letter-spacing: -2px;
}


/* 특징 */
.vac5-feature {
    margin-bottom: 45px;
}

.vac5-feature h3 {
    display: inline-block;

    margin: 0 0 18px;
    padding-bottom: 3px;

    border-bottom: 2px solid rgba(255,255,255,0.9);

    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.vac5-feature p {
    margin: 0 0 10px;

    color: #f0f3fa;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;

    word-break: keep-all;
}


/* 투입량 / 용도 */
.vac5-desc-row {
    display: flex;
    align-items: flex-start;

    margin-top: 32px;

    color: #fff;
    font-size: 18px;
    line-height: 1.65;
}

.vac5-desc-row strong {
    flex: 0 0 110px;

    margin-right: 4px;

    color: #fff;
    font-weight: 600;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

.vac5-desc-row span {
    flex: 1;
    min-width: 0;

    color: #f2f4fa;
    word-break: keep-all;
}


/* =========================================================
   제품 이미지
========================================================= */

.vac5-product-image {
    position: relative;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    width: calc(100% - 86px);
    height: 305px;

    margin: -122px auto 98px;

    background: #fff;

    border: 1px solid #e4e4e4;
    border-radius: 18px;

    box-sizing: border-box;
    overflow: hidden;
}


/* 중요 - 이미지 비율 그대로 표시 */
.vac5-product-image img {
    display: block;

    width: auto !important;
    max-width: 100% !important;

    height: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;

    margin: 0 auto;
}


/* =========================================================
   하단 제품사양
========================================================= */

.vac5-product-spec {
    width: 86%;
    max-width: 760px;

    margin: 0 auto 80px;
}


.vac5-spec-line {
    display: grid;
    grid-template-columns: 155px minmax(0, 1fr);
    column-gap: 18px;

    align-items: center;

    min-height: 55px;
}


/* 왼쪽 남색 버튼 */
.vac5-spec-line strong {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 6px 14px;

    box-sizing: border-box;

    background: #182754;
    border-radius: 30px;

    color: #fff;

    font-size: 19px;
    font-weight: 600;
    line-height: 1.2;

    white-space: nowrap;
}


/* 오른쪽 내용 */
.vac5-spec-line span {
    display: flex;
    align-items: center;

    min-height: 55px;

    padding: 5px 5px;

    box-sizing: border-box;

    border-bottom: 1px dotted #65708c;

    color: #333;

    font-size: 20px;
    font-weight: 400;
    line-height: 1.45;

    word-break: keep-all;
}


/* 마지막 줄 밑줄 제거 */
.vac5-spec-line:last-child span {
    border-bottom: 0;
}


/* =========================================================
   태블릿
========================================================= */

@media screen and (max-width: 1024px) {

    .vac5-product-top {
        min-height: 620px;

        padding:
            55px
            48px
            145px;

        border-radius: 30px;
    }

    .vac5-product-top h2 {
        margin-bottom: 32px;

        font-size: 38px;
    }

    .vac5-feature h3 {
        font-size: 18px;
    }

    .vac5-feature p,
    .vac5-desc-row {
        font-size: 16px;
    }


    .vac5-product-image {
        width: calc(100% - 70px);
        height: 285px;

        margin-top: -105px;
        margin-bottom: 75px;
    }


    .vac5-product-spec {
        width: 88%;
    }

    .vac5-spec-line {
        grid-template-columns: 145px minmax(0, 1fr);
    }

    .vac5-spec-line strong {
        font-size: 17px;
    }

    .vac5-spec-line span {
        font-size: 18px;
    }
}


/* =========================================================
   모바일
========================================================= */

@media screen and (max-width: 768px) {

    .vac5-product-top {
        min-height: auto;

        padding:
            36px
            23px
            85px;

        border-radius: 22px;
    }


    /* 제목 */
    .vac5-product-top h2 {
        margin-bottom: 27px;

        font-size: 29px;
        letter-spacing: -1px;
    }


    /* 특징 */
    .vac5-feature {
        margin-bottom: 28px;
    }

    .vac5-feature h3 {
        margin-bottom: 14px;

        font-size: 16px;
    }

    .vac5-feature p {
        margin-bottom: 8px;

        font-size: 14px;
        line-height: 1.65;
    }


    /* 투입량 / 용도 */
    .vac5-desc-row {
        display: block;

        margin-top: 23px;

        font-size: 14px;
        line-height: 1.6;
    }

    .vac5-desc-row strong {
        display: block;

        margin: 0 0 8px;

        font-size: 14px;
    }

    .vac5-desc-row span {
        display: block;
    }


    /* 이미지 */
    .vac5-product-image {
        width: calc(100% - 28px);

        height: auto;
        min-height: 220px;

        margin:
            -50px
            auto
            50px;

        padding: 15px;

        border-radius: 14px;
    }


    .vac5-product-image img {
        width: auto !important;
        max-width: 100% !important;

        height: auto !important;
        max-height: 340px !important;

        object-fit: contain !important;
    }


    /* 사양 */
    .vac5-product-spec {
        width: 100%;
        margin-bottom: 45px;
    }

    .vac5-spec-line {
        grid-template-columns: 112px minmax(0, 1fr);
        column-gap: 10px;

        min-height: 50px;
    }

    .vac5-spec-line strong {
        min-height: 37px;

        padding: 5px 6px;

        font-size: 14px;
    }

    .vac5-spec-line span {
        min-height: 50px;

        padding: 6px 3px;

        font-size: 15px;
        line-height: 1.4;
    }

}


/* =========================================================
   작은 모바일
========================================================= */

@media screen and (max-width: 480px) {

    .vac5-product-top {
        padding:
            30px
            18px
            78px;

        border-radius: 18px;
    }

    .vac5-product-top h2 {
        font-size: 25px;
    }

    .vac5-feature p,
    .vac5-desc-row {
        font-size: 13px;
    }


    .vac5-product-image {
        width: calc(100% - 18px);

        min-height: 190px;

        margin-top: -43px;

        padding: 10px;
    }

    .vac5-product-image img {
        max-height: 300px !important;
    }


    .vac5-spec-line {
        grid-template-columns: 98px minmax(0, 1fr);
        column-gap: 8px;
    }

    .vac5-spec-line strong {
        min-height: 35px;

        padding: 5px 4px;

        font-size: 13px;
    }

    .vac5-spec-line span {
        min-height: 48px;

        font-size: 13px;
    }

}

/* =========================================================
   vac5 제품 이미지 보완
   1장 / 2장 공통
========================================================= */

/* 기존 영역 */
.vac5-product-image {
    position: relative;
    z-index: 5;

    width: calc(100% - 86px);
    min-height: 305px;

    margin: -122px auto 98px;

    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 18px;

    box-sizing: border-box;
    overflow: hidden;
}


/* =========================================================
   이미지 1장
========================================================= */

.vac5-image-single {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 320px;
}


.vac5-image-single > img {
    display: block;

    width: auto !important;
    max-width: 100% !important;

    height: 100% !important;
    max-height: 100% !important;

    margin: 0 auto;

    object-fit: contain !important;
}


/* =========================================================
   이미지 2장
   ★ 반드시 좌우 나란히 출력
========================================================= */

.vac5-image-two {
    display: flex !important;
    align-items: stretch;
    justify-content: center;

    height: 320px;

    padding: 0;

    overflow: hidden;
}


.vac5-image-two .vac5-img-item {
    flex: 0 0 50%;
    width: 50%;
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    overflow: hidden;

    box-sizing: border-box;
}


.vac5-image-two .vac5-img-item img {
    display: block;

    width: 100% !important;
    max-width: 100% !important;

    height: 100% !important;
    max-height: none !important;

    margin: 0 !important;

    object-fit: contain !important;
}


/* =========================================================
   혼합기
   사진 2장을 영역 전체에 가깝게 표시
========================================================= */

.vac5-image-fill .vac5-img-item img {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
}


/* =========================================================
   교반 살균기
   사진 전체가 잘리지 않도록 표시
========================================================= */

.vac5-image-compact {
    padding-left: 25%;
    padding-right: 25%;
}


.vac5-image-compact .vac5-img-item {
    flex: 0 0 50%;
    width: 50%;
}


.vac5-image-compact .vac5-img-item img {
    object-fit: contain !important;
}


/* =========================================================
   태블릿
========================================================= */

@media screen and (max-width: 1024px) {

    .vac5-product-image {
        width: calc(100% - 60px);

        margin-top: -100px;
        margin-bottom: 75px;
    }


    .vac5-image-single,
    .vac5-image-two {
        height: 280px;
    }


    .vac5-image-compact {
        padding-left: 18%;
        padding-right: 18%;
    }

}


/* =========================================================
   모바일
========================================================= */

@media screen and (max-width: 768px) {

    .vac5-product-image {
        width: calc(100% - 28px);

        min-height: 0;

        margin:
            -48px
            auto
            50px;

        border-radius: 14px;
    }


    /* 이미지 1장 */
    .vac5-image-single {
        height: 240px;
        padding: 10px;
    }

    .vac5-image-single > img {
        width: auto !important;
        max-width: 100% !important;

        height: 100% !important;

        object-fit: contain !important;
    }


    /*
       ★ 이미지 2장은 모바일에서도
       상하로 떨어지지 않고 계속 좌우 2개 유지
    */
    .vac5-image-two {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;

        height: 210px;

        padding: 0;
    }


    .vac5-image-two .vac5-img-item {
        flex: 0 0 50% !important;

        width: 50% !important;
        max-width: 50% !important;

        height: 100%;

        margin: 0 !important;
        padding: 0 !important;
    }


    .vac5-image-two .vac5-img-item img {
        width: 100% !important;
        height: 100% !important;

        max-width: 100% !important;
        max-height: 100% !important;

        object-fit: contain !important;
    }


    /* 혼합기 */
    .vac5-image-fill .vac5-img-item img {
        object-fit: cover !important;
    }


    /* 교반살균기도 모바일에서는 좌우 두장 */
    .vac5-image-compact {
        padding: 0;
    }


    .vac5-image-compact .vac5-img-item img {
        object-fit: contain !important;
    }

}


/* =========================================================
   작은 모바일
========================================================= */

@media screen and (max-width: 480px) {

    .vac5-product-image {
        width: calc(100% - 18px);
        margin-top: -42px;
    }


    .vac5-image-single {
        height: 205px;
    }


    .vac5-image-two {
        height: 175px;
    }


    .vac5-image-two .vac5-img-item {
        width: 50% !important;
        max-width: 50% !important;
        flex-basis: 50% !important;
    }

}