* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    text-align: center;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0px;
    background: #fff;
}

.logo img {
    height: 100%;
    width: 100%;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
}

.banner {
    background-image: url(./pc/jinrubg1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50%;
    width: 80%;
    height: 12vw;
    max-height: 800;
    /* margin-top: 50px; */
    margin: auto;
    display: flex;
}

.banner1 {
    background-image: url(./pc/jinrubj2.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 15.4vw;
    /* 根据视口宽度调整 */
    max-height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.links1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70%;
    height: auto;
    /* 让高度自适应 */
    gap: 8px;
}

.links1 img {
    /* flex: 1;  让图片均分空间 */
    max-width: 50%;
    /* 让图片最大宽度随 `banner1` 变化 */
    height: auto;
    /* 保持图片比例 */
}

/* 调整个别图片大小 */
.img1 {
    width: 42%;
    max-width: 150px;
    margin-right: auto;
    margin-top: -10%;
    /* transform: translateY(-50px); 让图片上移 */
}

.img2 {
    width: 25%;
    max-width: 120px;
    margin: 0 auto;
    margin-top: -10%;
    /* transform: translateY(-50px); 让图片稍微下移 */
}

.img3 {
    width: 25%;
    max-width: 120px;
    margin-left: auto;
    margin-top: -10%;
    /* transform: translateY(-50px); 让图片稍微下移 */
}

.img4 {
    width: 15%;
    max-width: 120px;
    margin-left: 30%;
    margin-top: -10%;
    /* transform: translateY(-50px); 让图片稍微下移 */
}

.img5 {
    width: 15%;
    max-width: 120px;
    margin-left: 3%;
    margin-top: -10%;
    /* transform: translateY(-50px); 让图片稍微下移 */
}

.img6 {
    width: 40%;
    max-width: 120px;
    margin-left: 3%;
    margin-top: -10%;
    /* transform: translateY(-50px); 让图片稍微下移 */
}

.img7 {
    width: 40%;
    max-width: 120px;
    margin-left: 3%;
    margin-top: -10%;
    /* transform: translateY(-50px); 让图片稍微下移 */
}



.banner2 img {
    margin-top: 10px;
    width: 70%;
    max-height: 1000px;
    object-fit: cover;
}

.banner3 img {
    padding-top: 30px;
    width: 80%;
    max-height: 1000px;
    object-fit: cover;
}

.links {
    display: flex;
    justify-content: center;
    /* 图片居中 */
    align-items: center;
    width: 100%;
    gap: 15px;
}

.links img {
    flex: 1;
    /* 让每张图片占据相等的空间 */
    max-width: 15%;
    /* 限制最大宽度 */
    height: auto;
    /* 保持比例 */
}


.links button:hover {
    background-color: #0056b3;
}

.links button:hover {
    background-color: #0056b3;
}

.carousel {
    position: relative;
    width: 60%;
    margin: auto;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
    gap: 5px;
    /* 调整图片之间的间距 */
}

.carousel-track img {
    width: 25%;
    flex: 0 0 25%;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}












/*手机端*/


.bannerh {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50%;
    width: 100%;
    height: 12vw;
    max-height: 800;
    margin-top: 50px;
    display: flex;
}



.linksh {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-top: 95%;
    gap: 5px;
}

.linksh img {
    width: 80%;  /* 让图片变宽 */
    max-width: 700px;  /* 限制最大宽度 */
    height: auto;  /* 让高度按比例缩放 */
    flex: none;  /* 取消 flex 影响 */
}


.logoh {
    background-image: url(./h/banner1.png);
    background-size: contain;
    /* 让背景图完整显示，不裁剪 */
    background-repeat: no-repeat;
    background-position: center;
    /* 居中 */
    width: 100vw;
    /* 宽度占满整个屏幕 */
    /* height: calc(100vw * (图片高度 / 图片宽度)); 保持原始比例 */
    height: calc(100vw * (1749 / 1240));
    /* 保持原始比例 */
    margin-top: -15%;
}


.banner1h {
    background-image: url(./h/ditu.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 20vw;
    /* 根据视口宽度调整 */
    max-height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 120%;
}


.banner2h img {
    margin-top: 20px;
    width: 80%;
    max-height: 1000px;
    object-fit: cover;
}


.links1h {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 130%;
    height: auto;
    /* 让高度自适应 */
    gap: 15px;
    margin-left: -62%;
    margin-top: 7%;
}

.links1h img {
    max-width: 200%;
    /* 最大宽度 */
    height: 200%;
    /* 使高度为 100% */
    object-fit: cover;
    /* 让图片填充容器 */
}

.img6h {
    width: 10%;
    max-width: 120px;
    margin-left: 80%;
    margin-top: -10%;
    /* transform: translateY(-50px); 让图片稍微下移 */
}

.img7h {
    width: 40%;
    max-width: 120px;    
    margin-top: -2%;
    transform: translateX(80%); /*让图片稍微下移*/
}

.qqh {
    position: fixed;
    width: 20%;
    top: 40%;
    right: 0%;
}

.kefuh {
    position: fixed;
    width: 20%;
    top: 20%;
    right: 0%;
}