@charset "utf-8";
@import "/css/common.css";
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* 회사소개 시작 */
html{
    scroll-behavior: smooth;
}
section{
    padding: 0 30px;
}
section.company_about,
section.history,
section.certification
{
    max-width: 1184px;
    width: 100%;
    margin: 0 auto ;
}
.sub__header{
    width: 100%;
    position: sticky;
    top: 99px;
    z-index: 9;
    
}
.sub__header > nav > ul{
    height: 87px;
    border-bottom: 1px solid #ccc;
    background-color: white;
    display: flex;
    gap: 83px;
    align-items: center;
    justify-content: center;
}
.sub__header > nav li a.active{
    position: relative;
    font-weight: var(--FW-B);
    color: var(--color-point);
}
.sub__header > nav li:hover a{
    color: var(--color-point);
}
.sub__header > nav a{
    font-size: 20px;
    font-weight: var(--FW-R);
    color: #2E2E2E;
    transition: all 0.3s;
    font-weight: 600;
}
.sub__header > nav li a.active::before{
    /* content: url(../images/tabactive_icon.svg);
    position: absolute;
    left: 50%;
    transform: translate(-50%,44px);
    bottom: -35px;
    bottom: 0; */
    position: absolute;
    left: 50%;
    left: 50%;
    transform: translate(-50%, 31px);
    bottom: -35px;
    bottom: 0;
    content: '';
    width: 100%;
    background: #128dff;
    height: 3px;
}
/* body{
    display: flex;
    flex-direction: column;
    align-items: center;
} */
.company_about{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 120px;
}
.about_title,
.about_list{
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 60px;
}
.about_title{
    margin-bottom: 60px;
}   
.about_list li{
    width: 100%;
    border-bottom: 1px solid #cecece;
    min-height: 70px;
    display: flex;
    align-items: center;
    padding:  0 12px;
}
.about_list li:nth-child(1){
    border-top: 1px solid #cecece;
}
.about_title h3{
    padding-top: 30px;
    font-size: 28px;
    font-weight: bold;
    line-height: 34px;
    margin-bottom: 40px;
    position: relative;
}
.about_title p{
    font-size: 16px;
    color: #888;
    /* max-width: 800px; */
    line-height: 30px;
    word-break: keep-all;
}
.about_title h3:before{
    position: absolute;
    content: url(../images/company/Radial_blue.svg);
    display: inline;
    top: 24px;
    width: 50px;
    height: 50px;
    left: -13px;
}
.about_title h3:after{
    position: absolute;
    content: url(../images/company/Radial_blue.svg);
    display: inline;
    top: 26px;
    width: 50px;
    height: 58px;
    left: 187px;
}
.about_list p{
    font-size: 15px;
    word-break: keep-all;
}
.about_list span{
    font-size: 18px;
    font-weight: bold;
    margin-right: 37px;
    white-space: nowrap;
    width: 67px;
}


.company_about_PCimg{
    display: flex;
    width: 500px;
    border-radius: 3px;
    object-fit: cover;
}
.company_about_Mimg{
    display: none;
}
.business h3{
    font-size: 30px;
    line-height: 30px;
    font-weight: bold;
    text-align: center;
}
.business{
    width: 100%;
    max-width: 1184px;
    margin: 0 auto;
    padding-top: 200px;
}
.business > img{
    width: 1184px;
    object-fit: 1184px;
    object-position: center;
}

/* 연혁 */
.history{
    padding-top: 600px;
    display: flex;
    justify-content: space-between;
    gap: 80px;
}

.history .title{
    position: sticky;
    top: 50%;
    height: 100%;
    transform: translateY(-30%);
}
.history .title h3::after{
    content: '';
    background-image: url(../images/company/logo.png);
    top: -305px;
    left: -347px; 
    width: 813px;
    height: 813px;
    background-size: 813px 813px;
    display: inline;
    position: absolute;
}
.history .title h3{
    position: relative;
    font-size: 40px;
    color: #0A87ED;
    font-weight: bold;
}
.history .title h3 span{
    color: #888;
}
.history .title p{
    font-size: 120px;
    font-weight: bold;
    line-height: 100px;
}
.history .title p > span{
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 40px;
    line-height: 120px;
}
.history_list{
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 600px;
    margin-top: -400px;
}
.history_list li{
    display: flex;
    gap: 60px;
}
.history_list b{
    font-size: 40px;
    font-weight: bold;
}
.history_list li p{
    display: flex;
    gap: 20px;
    font-size: 18px;
    line-height: 43px;
}
.history_list li p > span{
    font-weight: bold;
    color: #A6A6A6;
}

/* 인증현황 */
.certification{
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 400px;
    max-width: 1184px;
    width: 100%;
    margin: 0 auto;
}
.certification h3{
    font-size: 30px;
    line-height: 74px;
    font-weight: bold;
    padding-bottom: 80px;
}
.certification_list{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 84px 80px;
}
/* .certification_list img{
    width: 220px;
} */
.certification_list p{
    font-size: 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    line-height: 20px;
    padding-top: 20px;
    /* font-weight: var(--R); */
}
.certification_list p>span{
    color: #888;
    font-size: 14px;
    /* 변수로 변경해야함 */
}
section.map{
    max-width: 100%;
    margin: 0;
    padding-top: 150px;
    padding-right: 0;
    padding-left: 0;
}
.certification_list li{
    width: 220px;
    height: 360px;
}
.certification_img{
    width: 220px;
    height: 308px;
    background-size: contain;
    background-repeat: no-repeat;
}
.certification_list li:nth-child(1) .certification_img{background-image: url(../images/company/certificationImg01.png);}
.certification_list li:nth-child(2) .certification_img{background-image: url(../images/company/certificationImg02.png);}
.certification_list li:nth-child(3) .certification_img{background-image: url(../images/company/certificationImg03.png);}
.certification_list li:nth-child(4) .certification_img{background-image: url(../images/company/certificationImg04.png);}
.certification_list li:nth-child(5) .certification_img{background-image: url(../images/company/certificationImg05.png);}
.certification_list li:nth-child(6) .certification_img{background-image: url(../images/company/certificationImg06.png);}
.certification_list li:nth-child(7) .certification_img{background-image: url(../images/company/certificationImg07.png);}
.certification_list li:nth-child(8) .certification_img{background-image: url(../images/company/certificationImg08.png);}
.certification_list li:nth-child(9) .certification_img{background-image: url(../images/company/certificationImg09.png);}
.certification_list li:nth-child(10) .certification_img{background-image: url(../images/company/certificationImg10.png);}
.certification_list li:nth-child(11) .certification_img{background-image: url(../images/company/certificationImg11.png);}
.certification_list li:nth-child(12) .certification_img{background-image: url(../images/company/certificationImg12.png);}
.certification_list li:nth-child(13) .certification_img{background-image: url(../images/company/certificationImg13.png);}
.certification_list li:nth-child(14) .certification_img{background-image: url(../images/company/certificationImg14.png);}
.certification_list li:nth-child(15) .certification_img{background-image: url(../images/company/certificationImg15.png);}
.certification_list li:nth-child(16) .certification_img{background-image: url(../images/company/certificationImg16.png);}
.certification_list li:nth-child(17) .certification_img{background-image: url(../images/company/certificationImg17.png);}
.certification_list li:nth-child(18) .certification_img{background-image: url(../images/company/certificationImg18.png);}
.certification_list li:nth-child(19) .certification_img{background-image: url(../images/company/certificationImg19.png);}
.certification_list li:nth-child(20) .certification_img{background-image: url(../images/company/certificationImg20.png);}
.business img{
    width: 100%;
    object-fit: contain;
}
.comB img{
    transform: translateX(60px);
}





/* 노트북 & 테블릿 가로 (해상도 1024px ~ 1279px)*/ 
@media all and (max-width:1279px) {
    .about_title h3:after{
        left: 172px;
    }
    .company_about_PCimg{
        display: none;
    }
    .company_about_Mimg{
        display: block;
        height: 500px;
        object-fit: cover;
    }
    .certification_list{
        gap: 84px 20px;
    }
    .sub__header{
        top: 53px;
    }
    .about_title, .about_list{
        gap: 30px;
        flex-direction: column;
    }
    .about_title h3{
        font-size: 26px;
        word-break: keep-all; 
        
    }
    .about_title h3 br{
        display: none;
    }

}
  
/*테블릿 가로 (해상도 768px ~ 1023px)*/ 
@media all and (max-width:1023px) { 
    .sub__header > nav > ul{
        height: 50px;
        padding: 0 30px;
        justify-content: space-between;
        gap: 0;
    }
    .sub__header > nav a{
        font-size: 16px;
    }
    .sub__header > nav li a.active::before{
        transform: translate(-50%, 25px);
    }
    .history{
        gap: 20px;
    }
    .history .title h3{
        font-size: 20px;
    }
    .history .title p{
        font-size: 100px;
    }
    .history_list li{
        gap: 20px;
    }
    .history_list b{
        font-size: 30px;
    }
    .history_list li p{
        gap: 10px;
    }
    .certification_list{
        justify-content: space-around;
    }


}

/* 모바일 가로 & 테블릿 세로 (해상도 480px ~ 767px)*/ 
@media all and (max-width:767px) {
    .certification_list{
    gap: 44px 20px;
    }
    .history_list li{
        flex-direction: column;
    }

} 

/* 모바일 세로 (해상도 ~ 479px)*/ 
@media all and (max-width:479px) {
    body{
        overflow-x: hidden;
    }
    .company_about{
        padding-top: 100px;
    }
    .history .title h3::after{
        transform: scale(0.5);
    }
    .business{
        padding: 100px 0 0 !important;
    }
    .business > h3{
        padding:  0 30px 60px;
        font-size: 26px;
    }
    .business img{
        transform: scale(1.5);

    }
    .history{
        padding-top: 250px;
        flex-direction: column;
    }
    .history .title{
        position: static;
        transform: none;
        
    }
    .history_list{
        margin-top: 0;
        width: auto;

    }
    .about_list li{
        padding: 10px 12px;
        gap: 5px;
        flex-direction: column;
        align-items: flex-start;
    }
    .history_list li p{
        font-size: 13px;
        line-height: 30px;
    }

    .certification{
        padding-top: 100px;
    }
    .company_about{
        padding-top: 50px;
    }
    .company_about_Mimg{
        height: 250px;
    }
    /* 인증서 */
    .certification_list{
        width: 100%;
    }
    .certification_list li{
        width: 40%;
        height: auto;
    }
    .certification_img{
        width: 100%;
        height: 100px;
        background-position: center;
    }
    .certification_list p{
        font-size: 12px;
        line-height: 12px;
        padding-top: 10px;
        word-break: keep-all;
    }
    .certification_list p>span{
        font-size: 10px;
        white-space: nowrap;
    }
    .certification h3{
        font-size: 26px;
        padding-bottom: 40px;
    }
    .sub__header > nav li a{
        font-weight: var(--FW-M);
    }
    .sub__header > nav a{
        font-size: 14px;
    }


}
