/* 公共部分 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
blockquote,
pre,
a,
address,
code,
b,
em,
img,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
footer,
header,
hgroup,
nav,
section {
    margin: 0;
    padding: 0;
    border: 0;
}

a {
    text-decoration: none;
    outline: none;
}

a:hover,
a:active,
a:focus {
    text-decoration: none;
    outline: none;
}

input {
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

img {
    border: none;
    background: none;
    vertical-align: middle;
}

ul,
ol,
li {
    list-style-type: none;
}

select,
input,
img,
select {
    vertical-align: middle;
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

em {
    font-style: normal;
}

table,
th,
td {
    vertical-align: middle
}

body,
body * {
    font-family: Arial, Helvetica, sans-serif;
}

body {
    overflow-x: hidden;
}

:root {
    --color-primary: #004494;
    --color-accent: #e04437;
}

/* 滚动条 */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F1F1F1;
}

::-webkit-scrollbar {
    width: 6px;
    background-color: #F1F1F1;
}

::-webkit-scrollbar-thumb {
    background-color: #A8A8A8;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-primary);
}

.container {
    max-width: 1600px;
    width: 94%;
    margin: 0 auto;
}

/* 头部 */
.xymob-head {
    display: none;
}

.headtop {
    background: var(--color-primary);
    color: #fff;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
    white-space: nowrap;
    transition: 0.4s;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -o-transition: 0.4s;
}

.on-fixed header .headtop {
    height: 0;
}

.headtop .headtopbox {
    max-width: 1600px;
    width: 94%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.headtop .headtopbox .fr {
    display: flex;
    align-items: center;
    gap: 24px;
    white-space: nowrap;
}

.headtop .tel {
    color: #fff;
}

.pc-head {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    transition: all .5s ease;
    -webkit-transition: all .5s ease;
}

.pc-head .headbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    width: 94%;
    margin: 0 auto;
    min-height: 80px;
    height: auto;
    gap: clamp(8px, 1vw, 20px);
    flex-wrap: nowrap;
}

.pc-head .headbox .logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 280px;
    flex-shrink: 0;
    padding: 5px 0;
}

.pc-head .headbox .logo h3 {
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all .5s ease;
}

.pc-head .headbox .logo img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: auto;
    width: auto;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transform: translateZ(0);
}

.pc-head .pc-nav {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

.pc-head .pc-nav .firUl {
    display: flex;
    white-space: nowrap;
    width: 100%;
    justify-content: flex-end;
    flex-shrink: 1;
}

.pc-head .pc-nav .firUl .p_navItem1 {
    padding: 0 30px;
    position: relative;
    flex-shrink: 1;
}

.pc-head .pc-nav .firUl .p_navItem1:last-child {
    padding-right: 0;
}

.pc-head .pc-nav .firUl .p_navItem1 .firA {
    display: block;
    line-height: 102px;
    color: #333;
    font-size: 18px;
    position: relative;
}

.pc-head .pc-nav .firUl .p_navItem1 .firA::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--color-primary);
    content: "";
    transition: all 0.6s;
}

.pc-head .pc-nav .firUl .p_navItem1:hover .firA::after,
.pc-head .pc-nav .firUl .p_navItem1.act .firA::after {
    width: 100%;
}

.p_level2Box {
    display: none;
    width: 200px;
    position: absolute;
    left: 50%;
    top: 100%;
    z-index: 99;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(9, 58, 135, 0.18);
    overflow: hidden;
    padding: 8px 0;
}

.p_level2Box::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -8px;
    transform: translateX(-50%);
    border-width: 0 8px 8px 8px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
    filter: drop-shadow(0 -4px 3px rgba(9, 58, 135, 0.08));
}

.p_level2Box .p_level2Item {
    position: relative;
    width: 100%;
}

.p_level2Box .p_level2Item a {
    font-size: 15px;
    padding: 0 22px;
    line-height: 46px;
    display: block;
    text-align: center;
    color: #3c3c3c;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.p_level2Box .p_level2Item a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-primary), #255cb9);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.p_level2Box .p_level2Item a:hover {
    background: linear-gradient(90deg, #f0f6ff, #fff);
    color: var(--color-primary);
    transform: translateX(5px);
}

.p_level2Box .p_level2Item a:hover::before {
    transform: scaleY(1);
}

/* 底部 */
footer {
    width: 100%;
    background: #202020;
    padding: 40px 0;
    color: #ffffff;
}

.foot1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    line-height: 36px;
}

.foot2 {
    display: flex;
    justify-content: center;
    line-height: 36px;
}

.foot3 {
    display: flex;
    justify-content: center;
    gap: 20px;
    line-height: 36px;
}

.foot3 a {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #fff;
}

/* 浮动 */
.online_q {
    position: fixed;
    right: 0px;
    bottom: 30%;
    z-index: 999
}

.online_q .btn2 {
    width: 73px;
    height: 73px;
    margin-bottom: 5px;
    cursor: pointer;
    position: relative;
    font-size: 12px;
    transition: .3s
}

.online_q .btn2 span img {
    max-width: 100%;
}

.online_q .btn2 span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    position: relative;
    z-index: 999;
    overflow: hidden;
    transition: .3s;
    -webkit-transition: .3s;
    font-size: 12px;
    color: #FFFFFF;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: var(--color-primary);
}

.online_q .btn2.btn-top span {
    background: #222;
    color: #fff;
}

.online_q .btn2.btn-top span p {
    font-weight: bold
}

.online_q .btn2 .open.tel a {
    color: #fff
}

.online_q .btn2 .open.pic {
    position: absolute;
    background: var(--color-primary);
    width: 100px;
    height: 100px;
    right: 100px;
    top: 50%;
    margin-top: -50px;
    text-align: right;
    opacity: 0;
    transition: .6s;
    -webkit-transition: .6s;
    visibility: hidden
}

.online_q .btn2 .open.pic:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-left: 10px solid var(--color-primary);
    position: absolute;
    right: -15px;
    top: 50%;
    margin-top: -10px
}

.online_q .btn2 .open.pic img {
    width: 80px;
    height: 80px;
    margin-top: 10px;
    margin-right: 10px
}

.online_q .btn2 .open.tel {
    position: absolute;
    background: var(--color-primary);
    width: 230px;
    height: 50px;
    border-radius: 25px;
    color: #fff;
    font-size: 18px;
    font-family: arial;
    text-align: center;
    line-height: 50px;
    right: 100px;
    top: 50%;
    margin-top: -25px;
    opacity: 0;
    transition: .6s;
    -webkit-transition: .6s;
    visibility: hidden
}

.online_q .btn2 .open.tel:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-left: 10px solid var(--color-primary);
    position: absolute;
    right: -16px;
    top: 50%;
    margin-top: -10px
}

.online_q .btn2:hover .open.pic {
    opacity: 1;
    right: 90px;
    visibility: visible
}

.online_q .btn2:hover .open.tel {
    opacity: 1;
    right: 90px;
    visibility: visible
}

.online_q #gotop {
    transition: .5s;
    overflow: hidden;
    height: 73px
}

.online_q #gotop.hide {
    height: 0;
    overflow: hidden;
    transition: 0.3s;
}

.online_q #gotop.show {
    height: 73px;
}

@media (max-width:540px) {
    .online_q .btn2 {
        width: 40px;
        height: 40px;
    }

    .online_q .btn2 span i {
        font-size: 20px;
        height: 40px;
        line-height: 40px;
    }

    .online_q .btn2 p {
        display: none
    }

    .online_q #gotop.hide {
        height: 40px !important;
    }

    .online_q .btn2:hover .open.tel,
    .online_q .btn2:hover .open.pic {
        right: 50px
    }
}