/* 250723 홈페이지 리뉴얼을 위해 추가 // 김민아 */

*{margin: 0; padding: 0;
    box-sizing:border-box;
    }


body{
    color: #333;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    font-family: 'Noto Sans KR', sans-serif;
    overflow-x: hidden;
  }

h1{
    font-weight: bold;
}

.main{
    width: 100%;
    height: 425px;
    text-align: center;
    background:url('../image/solution/NCMS.jpg') 0 0 no-repeat;
    background-size: cover;
}

.main > h1{
    padding-top: 165px;
    font-size: 65px;
    color: rgb(255, 255, 255);
   }
   
.wrap{
    width: 1100px;
    margin: 0 auto;
}


.boxText-4{
    text-align: center;
    padding: 35px 0;
    color: #fff;
}

.textNum{
    width: 56px;
    height: 54px;
    border-radius: 55px;
    background: #D9D9D9;
    font-weight: 700;
    font-size: 32px;
    line-height: 50px;
    
    color: #000216;
    margin: 0 auto;

}

.textTit{
    font-weight: 700;
    font-size: 26px;
    line-height: 26px;
    padding-top: 30px;
}

/* --------------Scont1---------------- */

.Scont1{
    padding-top: 85px;
    
}

.Scont1 > h3{
    font-size: 15px;
    color: #0BA299;
}
.Scont1 > h1{
    font-size: 48px;
}
.Scont1 > p{
    font-size: 24px;
    padding-top: 27px;
    
}

.Scont1 > .graYp{
    font-size: 16px;
    padding-top: 15px;
    opacity: 0.6;
}

.Scont1 > .Scont1Img{
    width: 100%;
    height: 350px;
    margin-top: 50px;
    border-radius: 20px;
    background-image: url('../image//solution/NCMS1.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* --------------Scont2---------------- */
.Scont2{
    text-align: center;
}

.Scont2 h3{
    font-size: 40px;
    padding-top: 110px;
    padding-bottom: 15px;
    font-weight: 800;
}

.Scont2 p {
    font-size: 22px;
    padding: 15px 0 20px 0;
}

.Scont2 .sBox-container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:20px
}

.Scont2 .sBox-container .sBox-4{
    flex:1;
    background-color: #000216;
}

.Scont2 .sBox-3 {
    margin-top: 15px;
    padding: 20px 0;
    background-color: #FAFAFA;
    width: 100%;
    color: #AFAFAF;
}
.Scont2 .sBox-3>p{
    padding: 15px 0;
    font-size: 20px;
}


/* Scont3 */

.Scont3 {
    width: 100%;
    padding-top: 110px;
    display: inline-block;
    text-align: center;
}

.Scont3 h3{
    font-size: 40px;
    padding-top: 110px;
    padding-bottom: 15px;
    font-weight: 800;
}

.Scont3 h4 {
    font-size: 32px;
    padding-bottom: 20px;
    font-weight: 800;
}

.Scont3 .Scont3Container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.Scont3 .Scont3Container .image{
    max-width: 615px;
    max-height: 521px;
}
.Scont3 .Scont3Container .image img{
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.Scont3 .Scont3Container .text p{
    font-size: 20px;
    padding-bottom: 15px;
}
.Scont3 .Scont3Container .text p span {
    font-weight: 800;
    margin-right: 7px;
}

/* ======================== */
.Scont4 {
    width: 100%;
    padding-top: 110px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;

}

.Scont4 h4 {
    font-size: 32px;
    padding-bottom: 20px;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.Scont4 .text{
    display: inline-block;
}

.Scont4 .image{
    max-width: 615px;
    max-height: 521px;
}

.Scont4 .image img{
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.Scont4 .text p{
    font-size: 20px;
    padding-bottom: 15px;
}
.Scont4 .text p span {
    font-weight: 800;
    margin-right: 7px;
}
/* ================================== */

.Scont5 h3{
    text-align: center;
    font-size: 40px;
    padding-top: 200px;
    padding-bottom: 15px;
    font-weight: 800;
}

.Scont5 h4{
    text-align: center;
    display: inline;
}

.Scont5 .Scont5Container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
    padding-top: 45px;
}

.Scont5 .Scont5Container .sBox-5{
    width: 30%;
    text-align: center;
}

.Scont5 .Scont5Container .sBox-5 h4{
    font-size: 20px;
    padding-top: 20px;
    font-weight: 700;
}

/* footer */

footer{
    clear: both;
    margin-top: 180px;
    background: #303A3A;
    height: 250px;
    
}

footer .foot{
    text-align: center;
    color: white;
}

.flogo{
    text-align: center;
    padding-top: 40px;
    padding-bottom: 30px;  
}


/* -------------반응형------------ */

@media all and (max-width:1200px){
    .wrap{
        width: 100vw;
        padding: 0 30px;
        overflow: hidden;
    }
    
    .Scont1 img{
        width: 100%;
        height: 100%;
    }

    .Scont2{
        display: none;
    }

    .Scont2m{
        display: block;
    }

    .Scont2m .image{
        margin: 0 auto;
        text-align: center;
    }
    
    .Scont2m .image img {
        width: 90%;
        border-radius: 20px;
    }
    

    .Scont2m h1{
        font-size: 45px;
        text-align: center;
        padding-top: 120px;
        padding-bottom: 70px;
    }

    .margin{
        height: 690px;
        margin-left: 68px;
        margin-top: 30px;
    }

    .Scont2m .text{
        float: left;
       width: 450px;
        height: 230px;
        margin: 10px;
        background: rgba(0, 81, 254, 0.1);
        border-radius: 10px;
    }

    .Scont2m .text h2{
        font-weight: bold;
        font-size: 20px;
    }
    
    .Scont2m .text p{
        font-size: 16px;
        padding-top: 12px;
        word-break: keep-all;
    }

    .Scont3Container > .image,
    .Scont4 > .image {
        width: 40%;
    }
}

@media all and (max-width:1100px){

    .margin{
        margin: 20px 55px;
    }

    .Scont2m .text{
        clear: left;
        width: 100%;
        height: auto;
        margin: 10px 0;
    }

 
}

@media all and (max-width:768px){
    .wrap{
        padding: 0 20px;
    }
    
    .Scont1{
        padding-top: 50px;
    }
    
    .Scont1 > h1{
        font-size: 36px;
    }
    
    .Scont1 > p{
        font-size: 20px;
        padding-top: 20px;
    }
    
    .Scont1 > .graYp{
        font-size: 14px;
    }
    
    /* Scont2 반응형 */
    .Scont2 h3{
        font-size: 32px;
        padding-top: 70px;
    }
    
    .Scont2 p{
        font-size: 18px;
    }
    
    .Scont2 .sBox-container{
        flex-direction: column;
        gap: 15px;
    }
    
    .Scont2 .sBox-container .sBox-4{
        width: 100%;
    }
    
    /* Scont3 반응형 */
    .Scont3{
        padding-top: 70px;
    }
    
    .Scont3 h3{
        font-size: 32px;
        padding-top: 70px;
    }
    
    .Scont3 h4{
        font-size: 28px;
    }
    
    .Scont3 .Scont3Container{
        flex-direction: column;
        gap: 30px;
    }
    
    .Scont3 .Scont3Container .text p{
        font-size: 18px;
    }

    .Scont3Container > .image,
    .Scont4 > .image {
        width: 100%;
    }
    
    /* Scont4 반응형 */
    .Scont4 {
        width: 100%;
        padding-top: 70px;
        flex-direction: column;
        display: flex;
        gap: 30px;
    }

    .Scont4 .image{
        order: 1; /* 이미지를 위로 */
    }
    
    .Scont4 .text{
        order: 2; /* 텍스트를 아래로 */
    }

    .Scont4 h4{
        font-size: 28px;
    }
    
    .Scont4 .text p{
        font-size: 18px;
    }
    
    /* Scont5 반응형 */
    .Scont5 h3{
        font-size: 32px;
        padding-top: 120px;
    }
    
    .Scont5 .Scont5Container{
        gap: 20px;
    }
    
    .Scont5 .Scont5Container .sBox-5{
        width: 45%;
    }
    
    .Scont5 .Scont5Container .sBox-5 h4{
        font-size: 18px;
    }
}

@media all and (max-width:600px){
    .Scont1 img{
        display: none;
    }

    .Scont1m{
        display: block;
    }

    .Scont1m img{
        width: 100%;
        height: 250px;
        border-radius: 20px;
        margin-top: 55px;
    }

    .Scont2m h1{
        padding-top: 70px;
    }

    .margin{
        margin: 20px 25px;
    }
}

@media all and (max-width:500px){
    .main > h1{
        font-size: 4rem;
       }
    .Scont1 h1{
        font-size: 35px;
    }

    .Scont1 p{
        padding-top: 15px;
        font-size: 20px;
    }

    .Scont1m img{
        height: 200px;
    }

    .margin{
        margin: 20px 10px;
    }

    .Scont2m h1{
        font-size: 35px;
    }

    .Scont2m .text{
        padding-left: 0px;
    }

    .Scont2m .text h2 {
        font-size: 28px;
    }

    .Scont2m .text p{
        font-size: 18px;
        word-break: break-all;
        padding-top: 0;
    }
    /* ======================== */
    .Scont3 h1 {
        font-size: 35px;
    }
    /* ========================= */
    .boxText-4 {
        padding: 25px 0;
    }
    /* ========================= */

    .Scont5 h1{
        font-size: 30px;
    }

    .Scont5 .image{
        display: none;
    }

    .imageM{
        display: block;
        padding-top: 80px;
        width: 100%;
    }

    /* ========================= */

    .Scont6 h1 {
        font-size: 30px;
    }
    .Scont6 img {
        display: none;
    }

    /* ======================= */

    .Scont7 h2 {
        font-size: 30px;
    }
    .pad-7 {
        padding: 35px;
    }
    .Scont7 p {
        padding-top: 50px;
    }
    
    /* ----------footer------- */
    footer .foot{
        padding: 0 30px;
    }
}

@media all and (max-width:375px){
    .main{
        height: 25vh;
    }
    .main > h1{
        padding-top: 65px;
        font-size: 3rem;
    }
    .Scont1{
        padding-top: 25px;
    }
    .Scont1 h1{
        font-size: 28px;
    }

    .Scont1 p{
        padding-top: 15px;
        font-size: 20px;
    }

    .Scont2m h1{
        font-size: 30px;
        padding-top: 100px;
        padding-bottom: 30px;
    }
    .Scont2m .text{
        padding-left: 8px;
    }

    .Scont2m .text h2 {
        font-size: 20px;
        padding: 20px 0;
    }

    .Scont2m .text p{
        font-size: 18px;
    }
    
    /* Scont3 반응형 */
    .Scont3 h3{
        font-size: 28px;
        padding-top: 70px;
    }
    
    .Scont3 .Scont3Container{
        flex-direction: column;
        gap: 30px;
    }
    
    .Scont3 .Scont3Container .text p{
        font-size: 18px;
    }
    
    /* Scont4 반응형 */
    .Scont4{
        flex-direction: column;
        padding-top: 70px;
    }
    
    .Scont4 .sBox-4 {
        width: 100%;
    }
    
    .Scont4 .text p{
        font-size: 18px;
    }

    /* Scont5 반응형 */
    .Scont5 h3{
        font-size: 28px;
        padding-top: 70px;
    }
    
    .Scont5 .Scont5Container .sBox-5{
        width: 100%;
        margin-bottom: 20px;
    }
    
    .Scont5 .Scont5Container .sBox-5 h4{
        font-size: 18px;
    }
}

@media all and (max-width:320px){
    .wrap{
        padding: 0 15px;
    }
    
    .main > h1{
        font-size: 2.5rem;
    }
    
    .Scont1 h1{
        font-size: 24px;
    }
    
    .Scont1 p{
        font-size: 18px;
    }

    .Scont2m .text{
        padding-left: 0px;
    }
    
    .Scont2m .text h2{
        font-size: 18px;
    }
    
    .Scont2m .text p{
        font-size: 16px;
    }
    
    /* Scont3 */
    .Scont3 h3{
        font-size: 24px;
    }
    
    .Scont3 .Scont3Container .text p{
        font-size: 16px;
    }
    
    /* Scont4 */
    .Scont4 .text p{
        font-size: 16px;
    }
    
    .boxText-4{
        padding: 20px 10px;
    }
    
    .textTit{
        font-size: 20px;
    }
    
    /* Scont5 */
    .Scont5 h3{
        font-size: 24px;
    }
    
    .Scont5 .Scont5Container .sBox-5 h4{
        font-size: 16px;
    }
    
    /* Footer */
    footer{
        margin-top: 120px;
    }
    
    footer .foot{
        padding: 0 15px;
    }
}
