.banner {
    position: relative;
    height: auto;
    width: 100%;
    overflow: hidden;
}
.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.historynav {
    position: absolute;
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    top: 0;
}
.historynav a {
    line-height: 30px;
    font-size: 16px;
    color: #fff;
}
.historynav  span {
    font-size: 16px;
    color: #fff;
    margin: 0 5px;
}
.historynav a span {
    font-size: 18px;
    color: #fff;
}
.cpjs {
    padding-top: 100px;
    padding-bottom: 120px;
    background-image: url(../images/cpjsbg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.cpjs h2,.cpts h2,.pjmain h2{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    line-height: 44px;
    color: #fff;
    font-weight: bold;
    text-align: center;
}
.cpjs h2::after {
    content: '';
    margin-top: 30px;
    width: 64px;
    height: 4px;
    background-color: #fff;
}
.cpjs p {
    margin-top: 60px;
    text-align: center;
    color: #fff;
    font-size: 18px;
    line-height: 36px;
}
.cpts {
    padding-top: 80px;
    padding-bottom: 100px;
}
.cpts h2 {
    color: #1a1a1a;
}
.cpts h2::after{
    content: '';
    margin-top: 30px;
    width: 64px;
    height: 4px;
    background-color: #c20a0a;
}
.cptscontainer {
    margin-top: 68px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}
.cptscontainer .cptsitem {
    height: 250px;
    box-shadow: 0px 0px 43px 0px rgba(233, 237, 240, 0.97);
    overflow: hidden;
    border: solid 1px #dedfe0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.cptscontainer .cptsitem img {
    width: 89px;
    height: 100px;
    object-fit: contain;
}
.cptscontainer .cptsitem span {
    margin-top: 32px;
    font-size: 24px;
    line-height: 36px;
    color: #1a1a1a;
    padding: 0 10px;
    text-align: center;
}
.pjmain {
    padding-top: 70px;
    padding-bottom: 120px;
    background-image: url(../images/pjmainbg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.pjmain h2 {
    color: #1a1a1a;
}
.pjmain .nav {
    margin-top: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
}
.pjmain .nav::-webkit-scrollbar {height: 0;}
.pjmain .nav a {
    position: relative;
    width: calc(100%/6);
    height: 60px;
    font-size: 24px;
    text-align: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #c10a0c;
    flex-shrink: 0;
}
.pjmain .nav a.active {
    color: #c10a0c;
}
.pjmain .nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: calc(50% - 15px);
    width: 0;  
    height: 0;  
    border-left: 15px solid transparent;  
    border-right: 15px solid transparent;   
    border-bottom: 15px solid #c10a0c; 
}
.pjmain .maincont {
    margin-top: 70px;
}


@media only screen and (max-width: 768px) {
    .banner {height: 250px;}
    .cpjs {padding-top: 50px;padding-bottom: 60px;}
    .cpjs h2,.cpts h2,.pjmain h2{font-size: 20px;line-height: 22px;}
    .cpjs h2::after,.cpts h2::after{width: 32px;height: 2px;margin-top: 15px;}
    .cpjs p {margin-top: 30px;font-size: 16px;line-height: 32px;}
    .cpts {padding-top: 40px;padding-bottom: 50px;}
    .cptscontainer {margin-top: 34px;grid-template-columns: repeat(2,1fr);gap: 15px;}
    .cptscontainer .cptsitem {height: 200px;}
    .cptscontainer .cptsitem img {width: 69px;height: 80px;}
    .cptscontainer .cptsitem span {font-size: 14px;line-height: 28px;}
    .pjmain {padding-top: 35px;padding-bottom: 60px;}
    .pjmain .nav {margin-top: 35px;}
    .pjmain .nav a {font-size: 15px;width: calc(100%/3);height: 44px;}
    .pjmain .nav a.active::after {border-left: 10px solid transparent;border-right: 10px solid transparent;border-bottom: 10px solid #c10a0c;}
    .pjmain .maincont {margin-top: 35px;}
 
}