/* =========================================
   조개류 탈각 / 세척 전처리라인
========================================= */

.process-line {
    width:100%;
    margin:0 auto;
    font-family:"Pretendard", "Noto Sans KR", sans-serif;
    color:#252c3d;
}


/* =========================================
   상단 녹색 영역
========================================= */

.process-visual {
    position:relative;
    width:100%;
    min-height:415px;
    overflow:hidden;

    background:#154f46;

    border-radius:38px;

    isolation:isolate;
}


/* 배경 도형 */
.process-visual::before {
    content:"";
    position:absolute;
    z-index:-1;

    width:80%;
    height:150%;

    top:-65%;
    left:30%;

    background:rgba(255,255,255,.035);

    transform:rotate(31deg);
}


.process-visual::after {
    content:"";
    position:absolute;
    z-index:-1;

    width:120%;
    height:100%;

    left:-20%;
    bottom:-78%;

    background:rgba(0,0,0,.065);

    transform:rotate(-18deg);
}


.process-visual-inner {
    max-width:1400px;
    margin:0 auto;

    padding:75px 70px 70px;
}


/* 제목 */

.process-visual h2 {
    margin:0;

    color:#c9e5fa;

    font-size:52px;
    font-weight:500;
    line-height:1.25;

    letter-spacing:-2px;
}


/* 특징 */

.process-feature {
    margin-top:36px;
}


.process-feature h3 {
    display:inline-block;

    position:relative;

    margin:0 0 19px;

    color:#fff;

    font-size:20px;
    font-weight:500;
}


.process-feature h3::after {
    content:"";

    position:absolute;

    left:0;
    bottom:-3px;

    width:100%;
    height:1px;

    background:#fff;
}


.process-feature ul {
    margin:0;
    padding:0;

    list-style:none;
}


.process-feature li {
    display:flex;

    align-items:flex-start;

    gap:8px;

    margin-bottom:13px;

    color:rgba(255,255,255,.82);

    font-size:20px;
    font-weight:300;
    line-height:1.55;

    letter-spacing:-.5px;
}


.process-feature li span {
    flex-shrink:0;
}


/* =========================================
   LAYOUT 영역
========================================= */

.layout-section {
    width:100%;

    margin-top:95px;
}


.layout-title {
    position:relative;

    display:inline-block;

    margin:0 0 55px 20px;

    color:#182343;

    font-size:22px;
    font-weight:500;

    letter-spacing:-.3px;
}


.layout-title::after {
    content:"";

    position:absolute;

    left:0;
    bottom:-5px;

    width:100%;
    height:2px;

    background:#182343;
}


/* =========================================
   도면 전체
========================================= */

.layout-scroll {
    width:100%;
}


.layout-board {
    position:relative;

    width:100%;
    max-width:1400px;

    min-height:585px;

    margin:0 auto;

    padding:80px 35px 125px;

    border:1px solid #e2e2e2;
    border-radius:25px;

    box-sizing:border-box;

    background:#fff;
}


/* =========================================
   도면 이미지
========================================= */

.machine-image {
    width:100%;

    margin-top:55px;

    text-align:center;
}


.machine-image img {
    display:block;

    width:100%;
    max-width:1320px;

    height:auto;

    margin:0 auto;
}


/* =========================================
   설명 BOX
========================================= */

.layout-label {
    position:absolute;

    z-index:5;

    display:flex;

    align-items:center;
    justify-content:center;

    min-height:52px;

    padding:9px 17px;

    box-sizing:border-box;

    background:#646e91;

    border-radius:5px;

    color:#fff;

    font-size:17px;
    font-weight:300;
    line-height:1.25;

    text-align:center;

    white-space:nowrap;
}


.layout-label small {
    font-size:15px;
}


/* =========================================
   상단 BOX
========================================= */

.label-top {
    top:-85px;

    min-width:255px;

    font-size:18px;
}


/* 점선 */

.label-top::after {
    content:"";

    position:absolute;

    top:100%;
    left:50%;

    height:185px;

    border-left:1px dashed #27375f;
}


/* 위치 */

.label-top-01 {
    left:63%;
    transform:translateX(-50%);
}


.label-top-02 {
    left:86%;
    transform:translateX(-50%);
}


.label-top-02::after {
    height:160px;
}


/* =========================================
   하단 BOX
========================================= */

.label-bottom {
    bottom:-92px;

    min-width:150px;

    font-size:16px;
}


/* 하단 점선 */

.label-bottom::before {
    content:"";

    position:absolute;

    bottom:100%;
    left:50%;

    height:110px;

    border-left:1px dashed #27375f;
}


/* BOX 위치 */

.label-01 {
    left:5%;
    transform:translateX(-50%);
}


.label-02 {
    left:20%;
    transform:translateX(-50%);
}


.label-03 {
    left:35%;
    transform:translateX(-50%);
}


.label-04 {
    left:51%;
    transform:translateX(-50%);
}


.label-05 {
    left:67%;
    transform:translateX(-50%);
}


.label-06 {
    left:82%;
    transform:translateX(-50%);
}


.label-07 {
    left:94%;
    transform:translateX(-50%);
}


/* 점선 길이 개별 조정 */

.label-01::before {
    height:115px;
}

.label-02::before {
    height:100px;
}

.label-03::before {
    height:130px;
}

.label-04::before {
    height:120px;
}

.label-05::before {
    height:150px;
}

.label-06::before {
    height:125px;
}

.label-07::before {
    height:105px;
}


/* =========================================
   1200 이하
========================================= */

@media (max-width:1200px) {

    .process-visual {
        min-height:380px;
    }

    .process-visual-inner {
        padding:65px 50px;
    }

    .process-visual h2 {
        font-size:43px;
    }

    .process-feature li {
        font-size:18px;
    }


    /*
       복잡한 설비 도면은
       모바일/태블릿에서 축소하지 않고
       좌우 이동 가능하도록 처리
    */

    .layout-scroll {
        overflow-x:auto;
        overflow-y:hidden;

        padding-top:90px;
        padding-bottom:100px;

        -webkit-overflow-scrolling:touch;
    }


    .layout-scroll::-webkit-scrollbar {
        height:7px;
    }


    .layout-scroll::-webkit-scrollbar-thumb {
        background:#bbb;

        border-radius:10px;
    }


    .layout-scroll::-webkit-scrollbar-track {
        background:#eee;

        border-radius:10px;
    }


    .layout-board {
        width:1250px;
        min-width:1250px;

        margin-left:0;
        margin-right:0;
    }

}


/* =========================================
   태블릿
========================================= */

@media (max-width:768px) {

    .process-visual {
        min-height:auto;

        border-radius:24px;
    }


    .process-visual-inner {
        padding:45px 30px 48px;
    }


    .process-visual h2 {
        font-size:32px;
        line-height:1.35;

        letter-spacing:-1.5px;
    }


    .process-feature {
        margin-top:30px;
    }


    .process-feature h3 {
        font-size:17px;
    }


    .process-feature li {
        gap:6px;

        margin-bottom:11px;

        font-size:15px;
        line-height:1.55;
    }


    .layout-section {
        margin-top:55px;
    }


    .layout-title {
        margin-left:5px;
        margin-bottom:25px;

        font-size:19px;
    }


    .layout-scroll {
        padding-top:90px;
        padding-bottom:100px;
    }


    .layout-board {
        width:1180px;
        min-width:1180px;

        min-height:540px;

        border-radius:18px;
    }


    .layout-label {
        font-size:15px;
    }

}


/* =========================================
   모바일
========================================= */

@media (max-width:480px) {

    .process-visual {
        border-radius:18px;
    }


    .process-visual-inner {
        padding:35px 22px 38px;
    }


    .process-visual h2 {
        font-size:26px;

        word-break:keep-all;
    }


    .process-feature {
        margin-top:25px;
    }


    .process-feature h3 {
        margin-bottom:15px;
    }


    .process-feature li {
        font-size:14px;

        word-break:keep-all;
    }


    .layout-section {
        margin-top:42px;
    }


    .layout-title {
        font-size:18px;
    }


    /* 모바일에서 좌우 스크롤임을 표시 */
    .layout-scroll {
        position:relative;

        padding-top:90px;
        padding-bottom:100px;
    }


    .layout-board {
        width:1100px;
        min-width:1100px;

        padding-left:25px;
        padding-right:25px;
    }

}

/* =========================================================
   EQUIPMENT TAB
========================================================= */

.equipment-tabs-wrap {
    width:100%;
    max-width:1500px;
    margin:0 auto;
}


/* ---------------------------------------------------------
   TAB MENU
--------------------------------------------------------- */

.equipment-tabs-scroll {
    width:100%;
    margin-bottom:55px;
}


.equipment-tabs {
    display:grid;
    grid-template-columns:repeat(4, 1fr);

    border-top:1px solid #d9dddf;
    border-left:1px solid #d9dddf;

    background:#fff;
}


.equipment-tab {
    position:relative;

    display:flex;
    align-items:center;

    min-height:86px;

    padding:18px 20px;

    border:0;
    border-right:1px solid #d9dddf;
    border-bottom:1px solid #d9dddf;

    background:#fff;

    color:#3b4448;

    font-family:"Pretendard", "Noto Sans KR", sans-serif;

    cursor:pointer;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease;
}


/* 번호 */

.equipment-tab .tab-num {
    flex:none;

    display:flex;
    align-items:center;
    justify-content:center;

    width:35px;
    height:35px;

    margin-right:13px;

    border:1px solid #ccd3d4;

    border-radius:50%;

    color:#879092;

    font-size:12px;
    font-weight:600;

    transition:.25s;
}


/* 탭 이름 */

.equipment-tab .tab-name {
    display:block;

    font-size:16px;
    font-weight:500;
    line-height:1.35;

    letter-spacing:-.5px;

    text-align:left;

    word-break:keep-all;
}


.equipment-tab .tab-name small {
    display:block;

    margin-top:2px;

    color:#929a9d;

    font-size:12px;
    font-weight:400;
}


/* hover */

.equipment-tab:hover {
    background:#f4f7f6;

    color:#15574d;
}


/* 활성 탭 */

.equipment-tab.active {
    z-index:2;

    background:#15574d;

    border-color:#15574d;

    color:#fff;
}


.equipment-tab.active::after {
    content:"";

    position:absolute;

    left:0;
    right:0;
    bottom:-1px;

    height:4px;

    background:#8db9ad;
}


.equipment-tab.active .tab-num {
    border-color:rgba(255,255,255,.45);

    background:rgba(255,255,255,.08);

    color:#fff;
}


.equipment-tab.active .tab-name small {
    color:rgba(255,255,255,.65);
}


/* ---------------------------------------------------------
   TAB CONTENT
--------------------------------------------------------- */

.equipment-panel {
    display:none;

    animation:equipmentFade .4s ease;
}


.equipment-panel.active {
    display:block;
}


@keyframes equipmentFade {

    from {
        opacity:0;
        transform:translateY(8px);
    }

    to {
        opacity:1;
        transform:translateY(0);
    }

}


/* ---------------------------------------------------------
   개별 제품 페이지 공통 제목
--------------------------------------------------------- */

.equipment-inner {
    width:100%;
}


.equipment-title {
    display:flex;
    align-items:center;

    margin-bottom:40px;

    padding-bottom:25px;

    border-bottom:1px solid #dfe4e3;
}


.equipment-title > span {
    display:flex;
    align-items:center;
    justify-content:center;

    flex:none;

    width:58px;
    height:58px;

    margin-right:20px;

    background:#15574d;

    border-radius:50%;

    color:#fff;

    font-size:15px;
    font-weight:600;
}


.equipment-title small {
    display:block;

    margin-bottom:6px;

    color:#83918e;

    font-size:12px;
    font-weight:600;

    letter-spacing:1.2px;
}


.equipment-title h2 {
    margin:0;

    color:#202b2a;

    font-size:30px;
    font-weight:600;

    letter-spacing:-1.2px;
}


.equipment-title h2 em {
    color:#697270;

    font-size:.7em;
    font-style:normal;
    font-weight:400;
}


/* 임시 상세내용 영역 */

.equipment-empty {
    min-height:400px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid #e3e7e6;

    background:#f9faf9;

    color:#969e9c;

    font-size:16px;
}


/* =========================================================
   상단 라인 소개 부분 보완
========================================================= */

.process-category {
    margin-bottom:16px;

    color:#89b9ae;

    font-size:12px;
    font-weight:600;

    letter-spacing:2px;
}


.process-feature li span {
    display:inline-flex;
    align-items:center;
    justify-content:center;

    width:25px;
    height:25px;

    flex:none;

    margin-top:2px;

    border:1px solid rgba(255,255,255,.45);

    border-radius:50%;

    font-size:10px;
    font-weight:600;
}


.layout-head {
    margin:0 0 35px;
}


.layout-head span {
    display:block;

    margin-bottom:7px;

    color:#8b9693;

    font-size:11px;
    font-weight:600;

    letter-spacing:1.5px;
}


.layout-head h3 {
    position:relative;

    display:inline-block;

    margin:0;

    color:#25343b;

    font-size:24px;
    font-weight:600;

    letter-spacing:-.5px;
}


.layout-head h3::after {
    content:"";

    position:absolute;

    left:0;
    bottom:-8px;

    width:32px;
    height:2px;

    background:#15574d;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:1024px) {

    .equipment-tabs {
        grid-template-columns:repeat(2, 1fr);
    }


    .equipment-tab {
        min-height:75px;

        padding:15px 18px;
    }


    .equipment-tabs-scroll {
        margin-bottom:40px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:640px) {

    /*
       모바일에서는 8개 탭을 모두 작게 축소하지 않고
       좌우 스크롤 방식
    */

    .equipment-tabs-scroll {
        overflow-x:auto;
        overflow-y:hidden;

        margin-bottom:35px;

        padding-bottom:7px;

        -webkit-overflow-scrolling:touch;

        scrollbar-width:none;
    }


    .equipment-tabs-scroll::-webkit-scrollbar {
        display:none;
    }


    .equipment-tabs {
        display:flex;

        width:max-content;

        min-width:100%;

        border-left:0;
        border-top:0;

        gap:7px;

        background:transparent;
    }


    .equipment-tab {
        flex:none;

        width:auto;
        min-width:155px;
        min-height:62px;

        padding:12px 15px;

        border:1px solid #dce1df;

        border-radius:4px;
    }


    .equipment-tab .tab-num {
        width:29px;
        height:29px;

        margin-right:9px;

        font-size:10px;
    }


    .equipment-tab .tab-name {
        font-size:13px;
    }


    .equipment-tab .tab-name small {
        font-size:10px;
    }


    .equipment-tab.active::after {
        display:none;
    }


    /* 상세 제목 */

    .equipment-title {
        margin-bottom:28px;

        padding-bottom:20px;
    }


    .equipment-title > span {
        width:45px;
        height:45px;

        margin-right:13px;

        font-size:12px;
    }


    .equipment-title small {
        font-size:10px;

        letter-spacing:.7px;
    }


    .equipment-title h2 {
        font-size:22px;
    }


    .equipment-empty {
        min-height:300px;

        font-size:14px;
    }

}

/* =========================================================
   설비 상세페이지 공통
========================================================= */

.machine-detail {
    --machine-green:#14554b;
    --machine-green-dark:#10483f;
    --machine-light:#f5f7f6;
    --machine-line:#d9dedd;
    --machine-text:#252b2a;
    --machine-gray:#707a77;

    width:100%;
    margin:0 auto;

    font-family:"Pretendard", "Noto Sans KR", sans-serif;

    color:var(--machine-text);
}


/* =========================================================
   상단 제품소개
========================================================= */

.machine-intro {
    position:relative;

    width:100%;
    min-height:520px;

    overflow:hidden;

    background:var(--machine-green);

    border-radius:35px;

    isolation:isolate;
}


/* 사선 장식 01 */
.machine-intro::before {
    content:"";

    position:absolute;
    z-index:-1;

    width:85%;
    height:150%;

    top:-70%;
    left:32%;

    background:rgba(255,255,255,.035);

    transform:rotate(31deg);
}


/* 사선 장식 02 */
.machine-intro::after {
    content:"";

    position:absolute;
    z-index:-1;

    width:120%;
    height:80%;

    left:-18%;
    bottom:-57%;

    background:rgba(0,0,0,.07);

    transform:rotate(-17deg);
}


.machine-intro-inner {
    width:100%;
    max-width:1400px;

    margin:0 auto;

    padding:68px 70px 215px;

    box-sizing:border-box;
}


/* =========================================================
   제품 제목
========================================================= */

.machine-heading {
    margin-bottom:40px;
}


.machine-eng {
    display:block;

    margin-bottom:10px;

    color:rgba(198,231,224,.68);

    font-size:12px;
    font-weight:600;

    letter-spacing:2px;
}


.machine-heading h2 {
    margin:0;

    color:#d7f2ed;

    font-size:44px;
    font-weight:500;

    line-height:1.3;

    letter-spacing:-1.8px;
}


.machine-heading h2 span {
    margin-left:4px;

    font-weight:400;
}


/* =========================================================
   제품설명
========================================================= */

.machine-description {
    max-width:1000px;
}


.machine-description h3 {
    position:relative;

    display:inline-block;

    margin:0 0 22px;

    color:#fff;

    font-size:17px;
    font-weight:600;
}


.machine-description h3::after {
    content:"";

    position:absolute;

    left:0;
    right:0;
    bottom:-5px;

    height:1px;

    background:rgba(255,255,255,.85);
}


.machine-description ul {
    margin:0;
    padding:0;

    list-style:none;
}


.machine-description li {
    display:flex;
    align-items:flex-start;

    gap:11px;

    margin-bottom:12px;
}


.machine-description li:last-child {
    margin-bottom:0;
}


.machine-description li p {
    margin:0;

    color:rgba(255,255,255,.84);

    font-size:17px;
    font-weight:300;

    line-height:1.55;

    letter-spacing:-.4px;

    word-break:keep-all;
}


/* 번호 */

.machine-description .desc-num {
    display:flex;
    align-items:center;
    justify-content:center;

    flex:none;

    width:23px;
    height:23px;

    margin-top:2px;

    border:1px solid rgba(255,255,255,.58);

    border-radius:50%;

    color:#fff;

    font-size:9px;
    font-weight:600;
}


/* =========================================================
   제품 이미지
========================================================= */

.machine-photo-section {
    position:relative;
    z-index:5;

    width:calc(100% - 90px);
    max-width:1330px;

    margin:-155px auto 0;
}


.machine-photo-grid {
    display:grid;

    grid-template-columns:repeat(3, 1fr);

    overflow:hidden;

    border:1px solid rgba(255,255,255,.7);
    border-radius:21px;

    background:#fff;

    box-shadow:0 16px 40px rgba(0,0,0,.08);
}


.machine-photo {
    position:relative;

    height:385px;

    overflow:hidden;

    background:#eee;
}


/* 사진 사이 구분선 */

.machine-photo + .machine-photo {
    border-left:1px solid rgba(255,255,255,.75);
}


.machine-photo img {
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;

    transition:transform .6s ease;
}


.machine-photo:hover img {
    transform:scale(1.035);
}


/* =========================================================
   설비 사양
========================================================= */

.machine-spec {
    width:100%;

    margin-top:105px;
}


.machine-section-title {
    margin-bottom:30px;

    padding-left:10px;
}


.machine-section-title > span {
    display:block;

    margin-bottom:7px;

    color:#88928f;

    font-size:11px;
    font-weight:600;

    letter-spacing:1.6px;
}


.machine-section-title h3 {
    position:relative;

    display:inline-block;

    margin:0;

    color:#1c2944;

    font-size:19px;
    font-weight:600;

    letter-spacing:-.5px;
}


.machine-section-title h3::after {
    content:"";

    position:absolute;

    left:0;
    bottom:-6px;

    width:100%;
    height:2px;

    background:#1c2944;
}


/* =========================================================
   SPEC TABLE
========================================================= */

.machine-spec-table-wrap {
    width:100%;

    border-top:2px solid var(--machine-green);
}


.machine-spec-table {
    width:100%;

    border-collapse:collapse;
    border-spacing:0;

    table-layout:fixed;
}


.machine-spec-table caption {
    position:absolute;

    width:1px;
    height:1px;

    overflow:hidden;

    clip:rect(0,0,0,0);
}


.machine-spec-table th,
.machine-spec-table td {
    padding:17px 25px;

    border-bottom:1px solid #d9dede;

    box-sizing:border-box;

    font-size:16px;

    line-height:1.5;

    vertical-align:middle;
}


.machine-spec-table th {
    width:210px;

    border-right:1px solid #d9dede;

    background:#f4f6f5;

    color:#26302e;

    font-weight:600;

    text-align:center;
}


.machine-spec-table td {
    background:#fff;

    color:#353c3a;

    font-weight:400;

    text-align:left;
}


.spec-note {
    color:#626c69;

    font-size:.94em;
}


/* 행 hover */

.machine-spec-table tbody tr {
    transition:background .2s ease;
}


.machine-spec-table tbody tr:hover td {
    background:#fafcfb;
}


/* =========================================================
   1200px 이하
========================================================= */

@media(max-width:1200px) {

    .machine-intro {
        min-height:490px;

        border-radius:28px;
    }


    .machine-intro-inner {
        padding:60px 50px 195px;
    }


    .machine-heading h2 {
        font-size:39px;
    }


    .machine-description li p {
        font-size:16px;
    }


    .machine-photo-section {
        width:calc(100% - 60px);

        margin-top:-145px;
    }


    .machine-photo {
        height:340px;
    }

}


/* =========================================================
   태블릿 768 ~
========================================================= */

@media(max-width:900px) {

    .machine-intro {
        min-height:auto;

        border-radius:24px;
    }


    .machine-intro-inner {
        padding:48px 38px 155px;
    }


    .machine-heading {
        margin-bottom:32px;
    }


    .machine-heading h2 {
        font-size:34px;
    }


    .machine-description li {
        margin-bottom:10px;
    }


    .machine-description li p {
        font-size:15px;
    }


    /* 사진 */

    .machine-photo-section {
        width:calc(100% - 45px);

        margin-top:-115px;
    }


    .machine-photo {
        height:285px;
    }


    /* 사양 */

    .machine-spec {
        margin-top:75px;
    }


    .machine-spec-table th {
        width:170px;
    }


    .machine-spec-table th,
    .machine-spec-table td {
        padding:15px 18px;

        font-size:15px;
    }

}


/* =========================================================
   모바일
========================================================= */

@media(max-width:640px) {

    .machine-intro {
        border-radius:18px;
    }


    .machine-intro-inner {
        padding:37px 22px 55px;
    }


    /* 모바일에서는 이미지 겹침 제거 */

    .machine-photo-section {
        width:100%;

        margin:20px auto 0;
    }


    .machine-heading {
        margin-bottom:28px;
    }


    .machine-eng {
        margin-bottom:7px;

        font-size:10px;

        letter-spacing:1.4px;
    }


    .machine-heading h2 {
        font-size:27px;

        letter-spacing:-1px;

        word-break:keep-all;
    }


    .machine-heading h2 span {
        display:inline;

        margin-left:2px;
    }


    .machine-description h3 {
        margin-bottom:20px;

        font-size:15px;
    }


    .machine-description li {
        gap:8px;

        margin-bottom:12px;
    }


    .machine-description .desc-num {
        width:21px;
        height:21px;

        margin-top:1px;

        font-size:8px;
    }


    .machine-description li p {
        font-size:14px;
        line-height:1.6;
    }


    /*
       제품사진
       모바일은 3장을 세로 배치
    */

    .machine-photo-grid {
        display:grid;

        grid-template-columns:1fr;

        gap:7px;

        overflow:visible;

        border:0;
        border-radius:0;

        background:transparent;

        box-shadow:none;
    }


    .machine-photo {
        width:100%;
        height:auto;

        aspect-ratio:16 / 10;

        border-radius:12px;

        overflow:hidden;
    }


    .machine-photo + .machine-photo {
        border-left:0;
    }


    .machine-photo img {
        border-radius:12px;
    }


    /* 설비사양 */

    .machine-spec {
        margin-top:55px;
    }


    .machine-section-title {
        margin-bottom:24px;

        padding-left:0;
    }


    .machine-section-title h3 {
        font-size:18px;
    }


    /*
       모바일에서는
       제목 / 내용 2단 유지
    */

    .machine-spec-table {
        table-layout:auto;
    }


    .machine-spec-table th {
        width:105px;
    }


    .machine-spec-table th,
    .machine-spec-table td {
        padding:13px 12px;

        font-size:13px;

        line-height:1.45;
    }


    .machine-spec-table th {
        word-break:keep-all;
    }


    .machine-spec-table td {
        word-break:keep-all;
    }

}


/* =========================================================
   아주 작은 모바일
========================================================= */

@media(max-width:420px) {

    .machine-intro-inner {
        padding:32px 18px 45px;
    }


    .machine-heading h2 {
        font-size:24px;
    }


    .machine-description li p {
        font-size:13px;
    }


    /*
       작은 화면에서는 사양표를 카드형으로 전환
    */

    .machine-spec-table,
    .machine-spec-table tbody,
    .machine-spec-table tr,
    .machine-spec-table th,
    .machine-spec-table td {
        display:block;

        width:100%;
    }


    .machine-spec-table {
        border:0;
    }


    .machine-spec-table tr {
        margin-bottom:9px;

        border:1px solid #e0e5e3;

        border-radius:8px;

        overflow:hidden;
    }


    .machine-spec-table th {
        padding:9px 14px;

        border:0;
        border-bottom:1px solid #e0e5e3;

        background:#f2f5f4;

        color:var(--machine-green);

        font-size:12px;

        text-align:left;
    }


    .machine-spec-table td {
        padding:12px 14px;

        border:0;

        font-size:13px;
    }

}

/* =========================================================
   제품 이미지 SINGLE TYPE
   조개류 진동 탈각기 등
========================================================= */

.machine-single-photo-section {
    position:relative;
    z-index:5;

    width:calc(100% - 90px);
    max-width:1330px;

    margin:-155px auto 0;
}


.machine-single-photo {
    position:relative;

    width:100%;

    overflow:hidden;

    border:1px solid rgba(255,255,255,.75);
    border-radius:21px;

    background:#f2f2f2;

    box-shadow:0 16px 40px rgba(0,0,0,.08);
}


/* 이미지 */

.machine-single-photo img {
    display:block;

    width:100%;
    height:auto;

    object-fit:cover;

    transition:transform .6s ease;
}


/* 살짝 확대 효과 */

.machine-single-photo:hover img {
    transform:scale(1.015);
}


/* =========================================================
   1200px 이하
========================================================= */

@media(max-width:1200px) {

    .machine-single-photo-section {
        width:calc(100% - 60px);

        margin-top:-145px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:900px) {

    .machine-single-photo-section {
        width:calc(100% - 45px);

        margin-top:-115px;
    }


    .machine-single-photo {
        border-radius:17px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:640px) {

    /*
       모바일에서는 상단 녹색 영역과
       사진을 겹치지 않고 자연스럽게 연결
    */

    .machine-single-photo-section {
        width:100%;

        margin:20px auto 0;
    }


    .machine-single-photo {
        border:0;

        border-radius:12px;

        box-shadow:none;
    }


    .machine-single-photo img {
        width:100%;
        height:auto;

        border-radius:12px;
    }


    .machine-single-photo:hover img {
        transform:none;
    }

}


/* =========================================
   공통
========================================= */
.machine-detail{
    width:100%;
    font-family:"Pretendard","Noto Sans KR",sans-serif;
    color:#222;
}

.machine-intro{
    position:relative;
    overflow:hidden;
    background:#14554c;
    border-radius:36px;
    isolation:isolate;
}

.machine-intro::before{
    content:"";
    position:absolute;
    top:-60%;
    left:32%;
    width:80%;
    height:150%;
    background:rgba(255,255,255,.04);
    transform:rotate(32deg);
    z-index:-1;
}

.machine-intro::after{
    content:"";
    position:absolute;
    left:-12%;
    bottom:-58%;
    width:120%;
    height:85%;
    background:rgba(0,0,0,.08);
    transform:rotate(-18deg);
    z-index:-1;
}

.machine-intro-inner{
    max-width:1400px;
    margin:0 auto;
    padding:64px 64px 210px;
    box-sizing:border-box;
}

.machine-heading{
    margin-bottom:34px;
}

.machine-eng{
    display:block;
    margin-bottom:10px;
    color:rgba(210,238,232,.65);
    font-size:12px;
    font-weight:600;
    letter-spacing:2px;
}

.machine-heading h2{
    margin:0;
    color:#d8f1ec;
    font-size:44px;
    font-weight:600;
    line-height:1.25;
    letter-spacing:-1.5px;
}

.machine-description h3{
    display:inline-block;
    margin:0 0 20px;
    color:#fff;
    font-size:17px;
    font-weight:600;
    border-bottom:1px solid rgba(255,255,255,.85);
}

.machine-description ul{
    margin:0;
    padding:0;
    list-style:none;
}

.machine-description li{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-bottom:12px;
}

.machine-description li:last-child{
    margin-bottom:0;
}

.machine-description .desc-num{
    flex:none;
    display:flex;
    align-items:center;
    justify-content:center;
    width:24px;
    height:24px;
    margin-top:2px;
    border:1px solid rgba(255,255,255,.6);
    border-radius:50%;
    color:#fff;
    font-size:10px;
    font-weight:700;
    box-sizing:border-box;
}

.machine-description p{
    margin:0;
    color:rgba(255,255,255,.87);
    font-size:17px;
    font-weight:300;
    line-height:1.55;
    letter-spacing:-.3px;
    word-break:keep-all;
}


/* =========================================
   이미지 3장 영역
========================================= */
.machine-photo-section{
    position:relative;
    z-index:5;
    width:calc(100% - 84px);
    max-width:1320px;
    margin:-130px auto 0;
}

.washer-photo-grid{
    display:grid;
    grid-template-columns:1.45fr .62fr 1fr;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.72);
    border-radius:22px;
    background:#fff;
    box-shadow:0 16px 40px rgba(0,0,0,.08);
}

.machine-photo{
    position:relative;
    height:345px;
    overflow:hidden;
    background:#ececec;
}

.machine-photo + .machine-photo{
    border-left:1px solid rgba(255,255,255,.8);
}

.machine-photo img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .5s ease;
}

.machine-photo:hover img{
    transform:scale(1.03);
}


/* =========================================
   설비사양
========================================= */
.machine-spec{
    margin-top:110px;
}

.machine-section-title{
    margin-bottom:28px;
    padding-left:10px;
}

.machine-section-title > span{
    display:block;
    margin-bottom:8px;
    color:#7f888f;
    font-size:11px;
    font-weight:600;
    letter-spacing:1.6px;
}

.machine-section-title h3{
    position:relative;
    display:inline-block;
    margin:0;
    color:#202d4b;
    font-size:20px;
    font-weight:700;
    letter-spacing:-.4px;
}

.machine-section-title h3::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:100%;
    height:2px;
    background:#202d4b;
}

.machine-spec-table-wrap{
    width:100%;
    border-top:1px solid #506080;
}

.machine-spec-table{
    width:100%;
    border-collapse:collapse;
    table-layout:fixed;
}

.machine-spec-table caption{
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
}

.machine-spec-table th,
.machine-spec-table td{
    padding:16px 22px;
    border-bottom:1px solid #d9dde3;
    box-sizing:border-box;
    vertical-align:middle;
    font-size:16px;
    line-height:1.45;
}

.machine-spec-table th{
    width:230px;
    background:#f7f7f7;
    border-right:1px solid #d9dde3;
    color:#2c2f34;
    font-weight:600;
    text-align:center;
}

.machine-spec-table td{
    background:#fff;
    color:#2f3136;
    font-weight:400;
    text-align:left;
}


/* =========================================
   1200px 이하
========================================= */
@media (max-width:1200px){

    .machine-intro-inner{
        padding:56px 48px 180px;
    }

    .machine-heading h2{
        font-size:40px;
    }

    .machine-description p{
        font-size:16px;
    }

    .machine-photo-section{
        width:calc(100% - 56px);
        margin-top:-110px;
    }

    .machine-photo{
        height:310px;
    }
}


/* =========================================
   900px 이하
========================================= */
@media (max-width:900px){

    .machine-intro{
        border-radius:26px;
    }

    .machine-intro-inner{
        padding:48px 34px 150px;
    }

    .machine-heading h2{
        font-size:34px;
    }

    .machine-description p{
        font-size:15px;
    }

    .machine-photo-section{
        width:calc(100% - 40px);
        margin-top:-95px;
    }

    .machine-photo{
        height:250px;
    }

    .machine-spec{
        margin-top:75px;
    }

    .machine-spec-table th{
        width:170px;
    }

    .machine-spec-table th,
    .machine-spec-table td{
        padding:14px 16px;
        font-size:14px;
    }
}


/* =========================================
   모바일
========================================= */
@media (max-width:640px){

    .machine-intro{
        border-radius:18px;
    }

    .machine-intro-inner{
        padding:34px 20px 42px;
    }

    .machine-heading{
        margin-bottom:24px;
    }

    .machine-eng{
        font-size:10px;
        letter-spacing:1.4px;
    }

    .machine-heading h2{
        font-size:28px;
        letter-spacing:-1px;
        word-break:keep-all;
    }

    .machine-description h3{
        font-size:15px;
        margin-bottom:18px;
    }

    .machine-description li{
        gap:8px;
        margin-bottom:11px;
    }

    .machine-description .desc-num{
        width:22px;
        height:22px;
        font-size:9px;
    }

    .machine-description p{
        font-size:14px;
        line-height:1.6;
    }

    /* 모바일에서는 겹침 제거 */
    .machine-photo-section{
        width:100%;
        margin:20px auto 0;
    }

    .washer-photo-grid{
        grid-template-columns:1fr;
        gap:10px;
        border:0;
        border-radius:0;
        background:transparent;
        box-shadow:none;
        overflow:visible;
    }

    .machine-photo{
        height:auto;
        aspect-ratio:16 / 10;
        border-radius:12px;
    }

    .machine-photo + .machine-photo{
        border-left:0;
    }

    .machine-photo img{
        border-radius:12px;
    }

    .machine-photo:nth-child(2){
        aspect-ratio:4 / 3;
    }

    .machine-photo:hover img{
        transform:none;
    }

    .machine-spec{
        margin-top:52px;
    }

    .machine-section-title{
        margin-bottom:22px;
        padding-left:0;
    }

    .machine-section-title h3{
        font-size:18px;
    }

    .machine-spec-table{
        table-layout:auto;
    }

    .machine-spec-table th{
        width:105px;
    }

    .machine-spec-table th,
    .machine-spec-table td{
        padding:12px 10px;
        font-size:13px;
        line-height:1.45;
    }
}


/* =========================================
   아주 작은 모바일
========================================= */
@media (max-width:420px){

    .machine-heading h2{
        font-size:24px;
    }

    .machine-description p{
        font-size:13px;
    }

    .machine-spec-table,
    .machine-spec-table tbody,
    .machine-spec-table tr,
    .machine-spec-table th,
    .machine-spec-table td{
        display:block;
        width:100%;
    }

    .machine-spec-table tr{
        margin-bottom:8px;
        border:1px solid #dde2e6;
        border-radius:8px;
        overflow:hidden;
    }

    .machine-spec-table th{
        border-right:0;
        border-bottom:1px solid #dde2e6;
        text-align:left;
        padding:10px 12px;
        background:#f3f5f7;
        color:#1f2d49;
        font-size:12px;
    }

    .machine-spec-table td{
        padding:12px;
        font-size:13px;
    }
}

/* =========================================================
   미탈각 육안선별기
   2 IMAGE TYPE
========================================================= */

.inspection-photo-grid {
    /*
       첨부 디자인처럼
       왼쪽보다 오른쪽 사진을 조금 넓게
    */
grid-template-columns:repeat(2, 1fr);
}


/* 이미지 높이 */
.inspection-photo-grid .machine-photo {
    height:auto;
}


/* 이미지 채우기 */
.inspection-photo-grid .machine-photo img {
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;
}


/* 첫번째 사진 */
.inspection-photo-grid .machine-photo:nth-child(1) img {
    object-position:center center;
}


/* 두번째 사진 */
.inspection-photo-grid .machine-photo:nth-child(2) img {
    object-position:center center;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:1000px) {

    .inspection-photo-grid .machine-photo {
        height:285px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:640px) {

    /*
       모바일에서는
       2장을 세로 1열로 변경
    */

    .inspection-photo-grid {
        grid-template-columns:1fr;

        gap:10px;
    }


    .inspection-photo-grid .machine-photo {
        width:100%;
        height:auto;

        aspect-ratio:16 / 10;

        border-radius:12px;

        overflow:hidden;
    }


    .inspection-photo-grid .machine-photo + .machine-photo {
        border-left:0;
    }


    .inspection-photo-grid .machine-photo img {
        width:100%;
        height:100%;

        object-fit:cover;

        border-radius:12px;
    }

}

/* =========================================================
   와류세척기 - 3 IMAGE TYPE
========================================================= */

.vortex-photo-grid {
    display:grid;

    /*
       첨부 이미지 비율과 비슷하게
       왼쪽 / 중앙 약간 넓게 / 오른쪽
    */
    grid-template-columns:1fr 1.08fr .86fr;
}


/* 이미지 높이 */
.vortex-photo-grid .machine-photo {
    height:350px;
}


/* 이미지 공통 */
.vortex-photo-grid .machine-photo img {
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;
}


/* 첫번째 사진 */
.vortex-photo-grid .machine-photo:nth-child(1) img {
    object-position:center center;
}


/* 두번째 사진 */
.vortex-photo-grid .machine-photo:nth-child(2) img {
    object-position:center center;
}


/* 세번째 사진 */
.vortex-photo-grid .machine-photo:nth-child(3) img {
    object-position:center center;
}


/* =========================================================
   1200px 이하
========================================================= */

@media(max-width:1200px) {

    .vortex-photo-grid .machine-photo {
        height:310px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:900px) {

    .vortex-photo-grid .machine-photo {
        height:255px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:640px) {

    /*
       모바일에서는 3장을
       세로 한 줄씩 배치
    */

    .vortex-photo-grid {
        grid-template-columns:1fr;

        gap:10px;
    }


    .vortex-photo-grid .machine-photo {
        width:100%;
        height:auto;

        aspect-ratio:16 / 10;

        border-radius:12px;

        overflow:hidden;
    }


    .vortex-photo-grid .machine-photo + .machine-photo {
        border-left:0;
    }


    .vortex-photo-grid .machine-photo img {
        width:100%;
        height:100%;

        object-fit:cover;

        border-radius:12px;
    }

}


/* =========================================================
   바이브레이터 이송기 - SINGLE IMAGE
========================================================= */

.vibrator-photo-section {
    max-width:1280px;
}


/* 이미지 영역 */
.vibrator-photo-section .machine-single-photo {
    width:100%;
}


/* 이미지 */
.vibrator-photo-section .machine-single-photo img {
    display:block;

    width:100%;
    height:auto;

    object-fit:cover;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:900px) {

    .vibrator-photo-section {
        max-width:none;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:640px) {

    .vibrator-photo-section {
        width:100%;
        margin-top:20px;
    }


    .vibrator-photo-section .machine-single-photo {
        border-radius:12px;
        overflow:hidden;
    }


    .vibrator-photo-section .machine-single-photo img {
        width:100%;
        height:auto;
        border-radius:12px;
    }

}

/* =========================================================
   제품사진 최종 보정
   - 원본 비율 유지
   - 가로/세로 잘림 없음
   - 사진 크기는 보기 좋게 통일
========================================================= */

/* 01 조개류 전처리라인 제외 */
.equipment-panel:not(#tab-panel-01) .machine-photo {
    position: relative;

    /* 사진 영역의 보기 좋은 높이 */
    height: 360px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 18px;
    box-sizing: border-box;

    overflow: hidden;

    /* 사진 여백이 생겨도 자연스럽게 */
    background: #f5f6f6;
}


/* 핵심 부분 */
.equipment-panel:not(#tab-panel-01) .machine-photo img {
    display: block;

    width: 100%;
    height: 100%;

    /* ★ 사진 절대 자르지 않음 */
    object-fit: contain;

    object-position: center center;

    /* 기존 확대효과 때문에 가장자리가 잘리는 것 방지 */
    transform: none !important;
}


/* hover 시에도 확대하지 않음 */
.equipment-panel:not(#tab-panel-01) .machine-photo:hover img {
    transform: none !important;
}


/* =========================================================
   이미지 2장짜리
   미탈각 육안선별기
========================================================= */

.inspection-photo-grid .machine-photo {
    height: 430px;
}


/* =========================================================
   이미지 3장짜리
   투입컨베이어 / 침지식세척기 / 와류세척기 /
   재정선 육안선별기
========================================================= */

.machine-photo-grid {
    align-items: stretch;
}

.washer-photo-grid .machine-photo,
.vortex-photo-grid .machine-photo,
.final-photo-grid .machine-photo {
    height: 360px;
}


/* =========================================================
   이미지 1장짜리
   조개류 진동 탈각기 / 바이브레이터 이송기
========================================================= */

.equipment-panel:not(#tab-panel-01) .machine-single-photo {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #f5f6f6;
}


/* 한 장짜리는 원래 사진비율 그대로 */
.equipment-panel:not(#tab-panel-01) .machine-single-photo img {
    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;

    object-fit: contain;

    margin: 0 auto;

    transform: none !important;
}


.equipment-panel:not(#tab-panel-01) .machine-single-photo:hover img {
    transform: none !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .equipment-panel:not(#tab-panel-01) .machine-photo,
    .inspection-photo-grid .machine-photo,
    .washer-photo-grid .machine-photo,
    .vortex-photo-grid .machine-photo,
    .final-photo-grid .machine-photo {
        height: 300px;
        padding: 14px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    /* 모바일에서는 사진 자체 비율을 그대로 사용 */
    .equipment-panel:not(#tab-panel-01) .machine-photo {
        width: 100%;

        height: auto !important;
        aspect-ratio: auto !important;

        padding: 10px;

        display: block;

        background: #f5f6f6;

        border-radius: 12px;
    }


    .equipment-panel:not(#tab-panel-01) .machine-photo img {
        width: 100%;
        height: auto !important;

        object-fit: contain;

        border-radius: 8px;
    }


    .inspection-photo-grid .machine-photo,
    .washer-photo-grid .machine-photo,
    .vortex-photo-grid .machine-photo,
    .final-photo-grid .machine-photo {
        height: auto !important;
        aspect-ratio: auto !important;
    }


    .equipment-panel:not(#tab-panel-01) .machine-single-photo img {
        width: 100%;
        height: auto;
    }

}

/* =========================================================
   08. 재정선 육안선별기 전용 이미지 레이아웃
   - 첨부 예시처럼 꽉 차고 있어보이게
========================================================= */

.final-photo-section{
    width:calc(100% - 70px);
    max-width:1200px;
    margin:-155px auto 0;
}

.final-photo-grid{
    display:grid;
    grid-template-columns:1.8fr 0.64fr 0.66fr;
    gap:0;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.75);
    border-radius:28px;
    background:#fff;
    box-shadow:0 18px 44px rgba(0,0,0,.10);
}

.final-photo-grid .machine-photo{
    position:relative;
    height:430px;
    padding:0;
    overflow:hidden;
    background:#e9eceb;
}

.final-photo-grid .machine-photo + .machine-photo{
    border-left:1px solid rgba(255,255,255,.65);
}

.final-photo-grid .machine-photo img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
    transform:none !important;
}

.final-photo-grid .machine-photo:hover img{
    transform:scale(1.02);
}


/* =========================================================
   태블릿
========================================================= */
@media (max-width: 1200px){
    .final-photo-section{
        width:calc(100% - 50px);
        margin-top:-135px;
    }

    .final-photo-grid .machine-photo{
        height:380px;
    }
}

@media (max-width: 900px){
    .final-photo-section{
        width:calc(100% - 36px);
        margin-top:-105px;
    }

    .final-photo-grid{
        grid-template-columns:1.45fr 0.78fr 0.78fr;
        border-radius:20px;
    }

    .final-photo-grid .machine-photo{
        height:300px;
    }
}


/* =========================================================
   모바일
========================================================= */
@media (max-width: 640px){
    .final-photo-section{
        width:100%;
        margin:20px auto 0;
    }

    .final-photo-grid{
        grid-template-columns:1fr;
        gap:8px;
        border:0;
        border-radius:0;
        background:transparent;
        box-shadow:none;
        overflow:visible;
    }

    .final-photo-grid .machine-photo{
        height:auto;
        aspect-ratio:16 / 10;
        border-radius:14px;
    }

    .final-photo-grid .machine-photo + .machine-photo{
        border-left:0;
    }

    .final-photo-grid .machine-photo img{
        border-radius:14px;
    }
}

/* =========================================================
   02 ~ 08 제품 이미지 FINAL OVERRIDE
   ---------------------------------------------------------
   목적
   1. 이미지 여백 없이 꽉 차게
   2. 사진 비율에 맞춰 탭별 열 비율 조정
   3. 회색 여백 제거
   4. 사진 사이 간격 제거
   5. 전체를 하나의 갤러리처럼 표현
   6. 모바일에서는 원본 비율을 살려 세로 배치
========================================================= */


/* =========================================================
   공통 - 이미지 영역
   02 / 04 / 05 / 06 / 08
========================================================= */

#tab-panel-02 .machine-photo-section,
#tab-panel-04 .machine-photo-section,
#tab-panel-05 .machine-photo-section,
#tab-panel-06 .machine-photo-section,
#tab-panel-08 .machine-photo-section {
    position: relative;
    z-index: 10;

    width: calc(100% - 90px) !important;
    max-width: 1280px !important;

    margin: -155px auto 0 !important;

    padding: 0 !important;

    box-sizing: border-box;
}


/* =========================================================
   공통 - 갤러리 BOX
========================================================= */

#tab-panel-02 .machine-photo-grid,
#tab-panel-04 .machine-photo-grid,
#tab-panel-05 .machine-photo-grid,
#tab-panel-06 .machine-photo-grid,
#tab-panel-08 .machine-photo-grid {
    display: grid !important;

    gap: 0 !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    border: 1px solid rgba(255,255,255,.78) !important;
    border-radius: 24px !important;

    background: #fff !important;

    box-shadow:
        0 18px 42px rgba(0,0,0,.10) !important;

    box-sizing: border-box;
}


/* =========================================================
   공통 - 각각의 이미지 BOX
========================================================= */

#tab-panel-02 .machine-photo,
#tab-panel-04 .machine-photo,
#tab-panel-05 .machine-photo,
#tab-panel-06 .machine-photo,
#tab-panel-08 .machine-photo {
    position: relative !important;

    width: 100% !important;
    height: 500px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    aspect-ratio: auto !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: #fff !important;

    box-sizing: border-box;
}


/* 사진 사이 아주 얇은 구분선 */
#tab-panel-02 .machine-photo + .machine-photo,
#tab-panel-04 .machine-photo + .machine-photo,
#tab-panel-05 .machine-photo + .machine-photo,
#tab-panel-06 .machine-photo + .machine-photo,
#tab-panel-08 .machine-photo + .machine-photo {
    border-left: 1px solid rgba(255,255,255,.7) !important;
}


/* =========================================================
   ★ 핵심
   이미지가 BOX를 완전히 채우도록 처리
========================================================= */

#tab-panel-02 .machine-photo img,
#tab-panel-04 .machine-photo img,
#tab-panel-05 .machine-photo img,
#tab-panel-06 .machine-photo img,
#tab-panel-08 .machine-photo img {
    position: absolute !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    display: block !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center center !important;

    border-radius: 0 !important;

    transform: none !important;

    transition: transform .5s ease !important;
}


/* hover */
#tab-panel-02 .machine-photo:hover img,
#tab-panel-04 .machine-photo:hover img,
#tab-panel-05 .machine-photo:hover img,
#tab-panel-06 .machine-photo:hover img,
#tab-panel-08 .machine-photo:hover img {
    transform: scale(1.015) !important;
}


/* =========================================================
   02. 투입 컨베이어
   이미지 3장
========================================================= */

#tab-panel-02 .machine-photo-grid {
    grid-template-columns:
        1fr 1fr 1fr !important;
}


/* =========================================================
   04. 하부 침지식 세척기
   이미지 3장

   첫 사진을 넓게,
   두 번째를 좁게,
   세 번째를 중간 크기로
========================================================= */

#tab-panel-04 .washer-photo-grid {
    grid-template-columns:
        1.45fr .68fr 1fr !important;
}


/* =========================================================
   05. 미탈각 육안선별기
   이미지 2장
========================================================= */

#tab-panel-05 .inspection-photo-grid {
    grid-template-columns:
        1fr 1.08fr !important;
}


/* =========================================================
   06. 와류세척기
   이미지 3장
========================================================= */

#tab-panel-06 .vortex-photo-grid {
    grid-template-columns:
        1fr 1.08fr .86fr !important;
}


/* =========================================================
   08. 재정선 육안선별기
   첨부하신 예시처럼

   첫 사진 : 크게
   두 번째 : 세로형
   세 번째 : 세로형
========================================================= */

#tab-panel-08 .final-photo-grid {
    grid-template-columns:
        1.90fr .68fr .76fr !important;
}


/* 08 첫 번째 사진 */
#tab-panel-08 .final-photo-grid
.machine-photo:nth-child(1) img {
    object-position: center center !important;
}


/* 08 두 번째 사진 */
#tab-panel-08 .final-photo-grid
.machine-photo:nth-child(2) img {
    object-position: center center !important;
}


/* 08 세 번째 사진 */
#tab-panel-08 .final-photo-grid
.machine-photo:nth-child(3) img {
    object-position: center center !important;
}


/* =========================================================
   03 / 07
   한 장짜리 제품 이미지
========================================================= */

#tab-panel-03 .machine-single-photo-section,
#tab-panel-07 .machine-single-photo-section {
    position: relative;
    z-index: 10;

    width: calc(100% - 90px) !important;
    max-width: 1280px !important;

    margin: -155px auto 0 !important;

    padding: 0 !important;

    box-sizing: border-box;
}


/* 한 장짜리 BOX */
#tab-panel-03 .machine-single-photo,
#tab-panel-07 .machine-single-photo {
    position: relative !important;

    width: 100% !important;
    height: 500px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    border: 1px solid rgba(255,255,255,.78) !important;
    border-radius: 24px !important;

    background: #fff !important;

    box-shadow:
        0 18px 42px rgba(0,0,0,.10) !important;

    box-sizing: border-box;
}


/* 한 장짜리 이미지도 꽉 채움 */
#tab-panel-03 .machine-single-photo img,
#tab-panel-07 .machine-single-photo img {
    position: absolute !important;

    top: 0 !important;
    left: 0 !important;

    display: block !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center center !important;

    transform: none !important;

    transition: transform .5s ease !important;
}


/* hover */
#tab-panel-03 .machine-single-photo:hover img,
#tab-panel-07 .machine-single-photo:hover img {
    transform: scale(1.01) !important;
}



/* =========================================================
   1200px 이하
========================================================= */

@media (max-width: 1200px) {

    #tab-panel-02 .machine-photo-section,
    #tab-panel-04 .machine-photo-section,
    #tab-panel-05 .machine-photo-section,
    #tab-panel-06 .machine-photo-section,
    #tab-panel-08 .machine-photo-section,

    #tab-panel-03 .machine-single-photo-section,
    #tab-panel-07 .machine-single-photo-section {
        width: calc(100% - 60px) !important;
        margin-top: -135px !important;
    }


    #tab-panel-02 .machine-photo,
    #tab-panel-04 .machine-photo,
    #tab-panel-05 .machine-photo,
    #tab-panel-06 .machine-photo,
    #tab-panel-08 .machine-photo {
        height: 350px !important;
    }


    #tab-panel-03 .machine-single-photo,
    #tab-panel-07 .machine-single-photo {
        height: 440px !important;
    }

}



/* =========================================================
   900px 이하 TABLET
========================================================= */

@media (max-width: 900px) {

    #tab-panel-02 .machine-photo-section,
    #tab-panel-04 .machine-photo-section,
    #tab-panel-05 .machine-photo-section,
    #tab-panel-06 .machine-photo-section,
    #tab-panel-08 .machine-photo-section,

    #tab-panel-03 .machine-single-photo-section,
    #tab-panel-07 .machine-single-photo-section {
        width: calc(100% - 40px) !important;
        margin-top: -100px !important;
    }


    #tab-panel-02 .machine-photo-grid,
    #tab-panel-04 .machine-photo-grid,
    #tab-panel-05 .machine-photo-grid,
    #tab-panel-06 .machine-photo-grid,
    #tab-panel-08 .machine-photo-grid,

    #tab-panel-03 .machine-single-photo,
    #tab-panel-07 .machine-single-photo {
        border-radius: 18px !important;
    }


    #tab-panel-02 .machine-photo,
    #tab-panel-04 .machine-photo,
    #tab-panel-05 .machine-photo,
    #tab-panel-06 .machine-photo,
    #tab-panel-08 .machine-photo {
        height: 290px !important;
    }


    #tab-panel-03 .machine-single-photo,
    #tab-panel-07 .machine-single-photo {
        height: 360px !important;
    }


    /* 08은 태블릿에서도 첫 사진을 조금 크게 */
    #tab-panel-08 .final-photo-grid {
        grid-template-columns:
            1.65fr .72fr .78fr !important;
    }

}



/* =========================================================
   640px 이하 MOBILE
   ---------------------------------------------------------
   모바일에서는 사진 자체 비율을 보존합니다.
   좌우로 자르는 것보다 세로로 자연스럽게 출력
========================================================= */

@media (max-width: 640px) {

    #tab-panel-02 .machine-photo-section,
    #tab-panel-04 .machine-photo-section,
    #tab-panel-05 .machine-photo-section,
    #tab-panel-06 .machine-photo-section,
    #tab-panel-08 .machine-photo-section,

    #tab-panel-03 .machine-single-photo-section,
    #tab-panel-07 .machine-single-photo-section {
        width: 100% !important;

        margin: 20px auto 0 !important;

        padding: 0 !important;
    }


    /* 모든 여러장 갤러리 1열 */
    #tab-panel-02 .machine-photo-grid,
    #tab-panel-04 .washer-photo-grid,
    #tab-panel-05 .inspection-photo-grid,
    #tab-panel-06 .vortex-photo-grid,
    #tab-panel-08 .final-photo-grid {
        display: grid !important;

        grid-template-columns:
            1fr !important;

        gap: 10px !important;

        overflow: visible !important;

        border: 0 !important;
        border-radius: 0 !important;

        background: transparent !important;

        box-shadow: none !important;
    }


    /* 모바일 이미지 BOX */
    #tab-panel-02 .machine-photo,
    #tab-panel-04 .machine-photo,
    #tab-panel-05 .machine-photo,
    #tab-panel-06 .machine-photo,
    #tab-panel-08 .machine-photo {
        width: 100% !important;

        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        aspect-ratio: auto !important;

        overflow: hidden !important;

        border: 0 !important;
        border-radius: 12px !important;

        background: #fff !important;
    }


    /* 모바일은 원본 비율 그대로 */
    #tab-panel-02 .machine-photo img,
    #tab-panel-04 .machine-photo img,
    #tab-panel-05 .machine-photo img,
    #tab-panel-06 .machine-photo img,
    #tab-panel-08 .machine-photo img {
        position: static !important;

        display: block !important;

        width: 100% !important;
        height: auto !important;

        object-fit: contain !important;

        margin: 0 !important;

        border-radius: 12px !important;

        transform: none !important;
    }


    /* 기존 border 제거 */
    #tab-panel-02 .machine-photo + .machine-photo,
    #tab-panel-04 .machine-photo + .machine-photo,
    #tab-panel-05 .machine-photo + .machine-photo,
    #tab-panel-06 .machine-photo + .machine-photo,
    #tab-panel-08 .machine-photo + .machine-photo {
        border-left: 0 !important;
    }


    /* 한장짜리 */
    #tab-panel-03 .machine-single-photo,
    #tab-panel-07 .machine-single-photo {
        width: 100% !important;

        height: auto !important;

        overflow: hidden !important;

        border-radius: 12px !important;

        box-shadow: none !important;
    }


    #tab-panel-03 .machine-single-photo img,
    #tab-panel-07 .machine-single-photo img {
        position: static !important;

        width: 100% !important;
        height: auto !important;

        object-fit: contain !important;

        border-radius: 12px !important;

        transform: none !important;
    }

}



/* =========================================================
   420px 이하
========================================================= */

@media (max-width: 420px) {

    #tab-panel-02 .machine-photo-grid,
    #tab-panel-04 .machine-photo-grid,
    #tab-panel-05 .machine-photo-grid,
    #tab-panel-06 .machine-photo-grid,
    #tab-panel-08 .machine-photo-grid {
        gap: 8px !important;
    }

}