



header{
    display: block;
}



section{
    position: relative;
    width:100%;
    margin-top:10%;
}



section > div{
    width:80%;
    margin:0 auto;
}


section h1{
    font-size: 2.5rem;
    line-height: 3.5rem;
    font-weight: 800;
}


section p{
    font-size: 1.5rem;
    line-height: 2rem;
}



section h2{
    font-size: 2rem;
}



/* ---------banner----------- */





.banner{
    position: relative;
    width:100%;
    height:100vh;
}



.banner_wrap{
    position: absolute;
    width:80%;
    height:80vh;
    left:50%;
    top:50%;
    transform: translate(-50%,-50%);
}


.banner_img_wrap{
    display: flex;
    width:100%;
    height:100%;
}





.banner_right_wrap{
    width:49%;
    margin:1%;
}


.banner_right_img{
    position: relative;
    width:100%;
    height:80%;
    margin-bottom:5%;
    border-radius: 30px;
    background: url('../img/sub_company/banner_franchise.png');
    background-position: top;
    color:#fff;
}

.banner_right_img::after{
    content:"";
    display: block;
    position: absolute;
    top:0;
    width:100%;
    height: 100%;
    border-radius: 30px;
    background: rgb(0, 0, 0,0.4);
}


.banner_right_img p{
    position: absolute;
    z-index: 9;
    left:5%;
    bottom:5%;
}


.banner_img_wrap p{
    font-size: 2rem;
    line-height: 2.5rem;
}


.banner_right_text h1{
    font-size: 3rem;
    line-height: 4rem;
    font-weight: 800;
}




.banner_left_wrap{
    width:49%;
    margin:1%;
}



.banner_left_top{
    position: relative;
    width:100%;
    height:55%;
    margin-bottom:5%;
    border-radius: 30px;
    background: url('../img/sub_company/banner_system.png');
    background-position: top;
}


.banner_left_top::after{
    content:"";
    display: block;
    position: absolute;
    top:0;
    width:100%;
    height: 100%;
    border-radius: 30px;
    background: rgb(0, 0, 0,0.4);
}




.banner_left_wrap p{
    position: absolute;
    font-size: 2rem;
    line-height: 2.5rem;
    color:#fff;
    z-index: 9;
    left:5%;
    bottom:7%;
}







.banner_left_bototm{
    position: relative;
    width:100%;
    height:35%;
    margin-bottom:5%;
    border-radius: 30px;
    background: url('../img/sub_company/banner_store.png');
    background-position: top;
}


.banner_left_bototm::after{
    content:"";
    display: block;
    position: absolute;
    top:0;
    width:100%;
    height: 100%;
    border-radius: 30px;
    background: rgb(0, 0, 0,0.4);
}









/* ---------vision----------- */



.vision_wrap{
    position: relative;
    width:100%;
    height:100%;
    background: url('../img/sub_company/history_bg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    padding-top:10%;
    padding-bottom:10%;
    z-index: 1;
}

.vision_wrap::after{
    content:"";
    display: block;
    position: absolute;
    top:0;
    width:100%;
    height:100%;
    background: rgb(0, 0, 0,0.4);
    z-index: -1;
}


.vision_main_title{
    position: relative;
    width:40%;
}

.vision_main_title h1{
    position: sticky;
    top:10%;;
    color:#fff;
}




.vision_main{
    display: flex;
}



.vision_right_box{
    margin-top:10%;
    display: grid;
    gap: 1.4rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
}




.vision_right_box_left{
    display: grid;
    gap: 1.4rem;
}


.vision_year_box{
    position: relative;
    box-sizing:border-box;
    padding:5%;
    width:100%;
    border:2px solid #fff;
    background: rgb(255, 255, 255,0.8);
    border-radius: 30px;
}



.vision_year_box h1{
    line-height: 4rem;
}


.vision_year_box h1::after{
    position: absolute;
    content:"";
    display: block;
    width:90%;
    height:2px;
    background: #fff;
}





.vision_year_box li{
    font-size: 1.5rem;
    line-height: 2rem;
    width:100%;
    margin-top:4%;
    list-style: disc;
    list-style-position: inside;
}










/* ---------news----------- */


.news_wrap{
    margin-bottom: 10%;
}



.news_list{
    margin-top:4%;
    display: grid;
    gap:1.5rem;
    grid-template-columns: auto auto auto;
}

.news_list li {
    display: none;
}


.news_list li a{
    display: block;
    padding:4rem;
    border-radius: 30px;
    background: #F5F6FE;
}


.news_list h2 {
    padding-top:2%;
    width:90%;
}

.news_list h2 span{
    color:#0220D8;
}







.news_list li .active {
    display: block;
}

.pagination {
    margin-top: 4%;
    text-align: center;
}

.pagination a {
    cursor: pointer;
    margin: 0 5px;
    padding: 8px 16px;
    color: #030A13;
    border-radius: 4px;
}

.pagination a.active {
    font-weight: bold;
    background-color: #0220D8;
    color: #fff;
}






@media (max-width:600px){



    .pc{
        display: none;
    }

    .mb{
        display: block;
    }

    
    
    section{
        margin-top:12%;
    }

    section > div{
        width:90%;
        margin:0 auto;
    }


    section h1{
        font-size: 1.4rem;
        line-height: 2rem;
    }

    section p{
        font-size: 1.1rem;
        line-height: 1.4rem;
    }







    .banner_wrap{
        width:90%;
        height:90vh;
    }


    .banner_img_wrap{
        display: grid;
        grid-template-rows: 60% 40%;
    }




    
    .banner_img_wrap p{
        font-size: 1.4rem;
        line-height: 2rem;
    }




    .banner_right_wrap{
        width:100%;
        margin:0;
    }


    .banner_right_img{
        height:70%;
        margin-bottom:10%;
        background-size: cover;
    }


    .banner_left_wrap{
        width:100%;
        margin:0;
        margin-top:2%;
    }




    .banner_left_top{
        height:55%;
        background-size: cover;
    }


    .banner_left_bototm{
        height:40%;
    }


    .banner_right_img p{
        font-size: 1.4rem;
        line-height: 2rem;
    }



    .banner_left_wrap p{
        font-size: 1.4rem;
        line-height: 2rem;
    }






    /* ---------vision----------- */

    

    .vision_year_box{
        padding:8%;
    }


    .vision_main_title{
        width:60%;
        height:90vh;
    }

    .vision_right_box{
        margin-top:0;
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .vision_year_box h1{
        line-height: 2.8rem;
    }

    .vision_year_box li{
        font-size: 0.9rem;
        line-height: 1.3rem;
    }


    .vision_year_box li:first-child{
        margin-top:6%;
    }





    /* ---------news----------- */



    .news_list{
        margin-top:8%;
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }


    .news_list h2{
        font-size: 1.2rem;
    }


    .news_list li a{
        padding:1.8rem;
    }

    
    .pagination{
        padding:8%;
    }





}

















