@import url(./layout.css);

/* ==========================================================================
   common part
========================================================================== */
.pic {
    overflow: hidden;
    position: relative;
    height: auto;
}

.bgimg {
    width: 100%;
}

.upimg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: all 0.5s;
}

.pic:hover .upimg {
    transform: scale(1.05);
}

/* 没有放大效果 */
.upimg2 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

/* 居中对齐 */
.upimg3 {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 100%;
    max-height: 100%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transition: all 0.5s;
}

.pic:hover .upimg3 {
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* 缩小放大 */
.upimg4 {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 100%;
    max-height: 100%;
    -webkit-transform: translate(-50%, -50%) scale(0.93);
    transform: translate(-50%, -50%) scale(0.93);
    transition: all 0.5s;
}

.pic:hover .upimg4 {
    -webkit-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
}

/* 背景模式 */
.upimg5 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.pic:hover .upimg5 {
    transform: scale(1.05);
}

.container img {
    max-width: 100%;
}








/* ==========================================================================
   part01
========================================================================== */
.part01 {
    padding: 1rem 0 1.3rem;
}

.home_title {
    position: relative;
    font-size: var(--font48);
    font-family: "baloo";
    line-height: 1;
    color: rgba(0, 104, 183, 1);
}

.home_title::before {
    content: "";
    position: absolute;
    top: -0.32rem;
    width: 1.91rem;
    height: 0.32rem;
    background: url(../images/title.png) no-repeat;
    background-size: 100% auto;
}

.part01 .home_title::before {
    right: 0.08rem;
}

.part01 .home_title::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    transform: translateX(-50%);
    bottom: -0.16rem;
    width: 0.7rem;
    height: 0.8rem;
    background: url(../images/icon01.svg) no-repeat;
    background-size: 100% auto;
}

.homePro_info {
    color: rgba(0, 104, 183, 1);
    font-size: var(--font24);
    line-height: 1;
    font-weight: 400;
    text-align: center;
    margin: 0.3rem 0 0.4rem;
}

.homePro_list {
    gap: 0.39rem;
}

.homePro_list li {
    width: calc(33.33% - 0.26rem);
}

.homePro_box {
    position: relative;
    transition: all 0.35s;
}

.homePro_box:hover {
    box-shadow: 0 0 0.1rem rgba(0, 104, 183, 0.5);
}

.homePro_box .pic {
    border-radius: 4px;
}

.homePro_area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 0.5rem 0 0 0.45rem;
}

.homePro_title {
    color: rgba(0, 36, 77, 1);
    font-size: var(--font30);
    line-height: 1.2;
    font-weight: 500;
    max-width: 2rem;
}

.homePro_more {
    margin-top: 0.2rem;
    color: rgba(52, 64, 84, 1);
    font-size: var(--font14);
    align-items: center;
}

.homePro_more i {
    margin-left: 5px;
    transition: all 0.35s;
}

.homePro_box:hover .homePro_more {
    color: var(--primary);
}

.homePro_box:hover .homePro_more i {
    margin-left: 10px;
}

@media only screen and (max-width: 768px) {
    .homePro_area {
        padding: 20px 0 0 10px;
    }
}

@media only screen and (max-width: 500px) {
    .homePro_list li {
        width: 100%;
    }

    .home_title::before {
        width: 80px;
    }

    .part01 {
        padding: 1rem 0;
    }
}








/* ==========================================================================
   part02
========================================================================== */
.part02 {
    background: url(../images/part02_bg.png) no-repeat top;
    background-size: 100% auto;
    padding: 2.3rem 0 1.7rem;
}

.homeAbout_flex {
    justify-content: space-between;
}

.homeAbout_left {
    width: 45%;
}

.homeAbout_right {
    width: 48%;
    padding-top: 0.85rem;
}

.homeAbout_img img {
    width: 100%;
}

.homeAbout_img {
    position: relative;
}

.homeAbout_pa {
    position: absolute;
    left: -0.55rem;
    bottom: -0.25rem;
    width: 2.4rem;
    height: 2.4rem;
    background: url(../images/number.png) no-repeat center;
    background-size: 100% auto;
    justify-content: center;
}

.homeAbout_num {
    color: rgba(255, 255, 255, 1);
    font-family: "baloo";
    font-size: 6.25vw;
    line-height: 1;
    margin-top: 0.4rem;
}

.part02 .home_title::before {
    left: 50%;
    transform: translateX(-50%);
}

.part02 .home_title::after {
    content: "";
    position: absolute;
    right: -0.85rem;
    bottom: 0;
    width: 0.7rem;
    height: 0.7rem;
    background: url(../images/icon02.svg) no-repeat;
    background-size: 100% auto;
}

.homeAbout_sub {
    color: rgba(0, 104, 183, 1);
    font-size: var(--font24);
    line-height: 1;
    margin: 0.2rem 0 0.3rem;
}

.homeAbout_info {
    color: rgba(52, 64, 84, 1);
    font-size: var(--font18);
    font-weight: 300;
    line-height: 2;
    max-height: calc(var(--font18) * 12);
    overflow-y: auto;
    margin-bottom: 0.3rem;
}

.homeAbout_info::-webkit-scrollbar {
    width: 4px;
    background-color: transparent;
}

.homeAbout_info::-webkit-scrollbar-track {
    display: none;
}

.homeAbout_info::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: var(--primary);
}

.home_link {
    display: inline-block;
    min-width: 1.4rem;
    background: #0068b7 url(../images/icon03.svg) no-repeat;
    background-position: center bottom -0.1rem;
    border-radius: 200px;
    padding: 0.1rem 0.25rem;
    color: rgba(255, 255, 255, 1);
    font-size: var(--font16);
    font-weight: 500;
    text-align: center;
    transition: transform 0.35s;
}

.home_link:hover {
    color: #fff;
    transform: translateY(-5px);
}

@media only screen and (max-width: 920px) {
    .homeAbout_pa {
        left: -19px;
    }
}

@media only screen and (max-width: 768px) {
    .homeAbout_num {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 500px) {
    .homeAbout_left {
        width: 100%;
    }

    .homeAbout_right {
        width: 100%;
    }

    .part02 {
        padding: 40px 0 20px;
    }
}








/* ==========================================================================
   part03
========================================================================== */
.part03 {
    background: url(../images/part03_bg.png) no-repeat;
    background-size: cover;
    min-height: 8.4rem;
}

.homeSono_box {
    padding-top: 2.4rem;
}

.homeSono_title {
    display: inline-block;
    color: rgba(0, 104, 183, 1);
    font-family: "baloo";
    font-size: 4.6875vw;
    line-height: 1;
    font-weight: 400;
    -webkit-text-stroke: 0.04rem #fff;
    position: relative;
}

.homeSono_title::before {
    content: "VET";
    position: absolute;
    right: -0.6rem;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    color: rgba(243, 105, 52, 1);
    font-family: "baloo";
    font-size: 0.34rem;
    -webkit-text-stroke: initial;
}

.homeSono_title::after {
    content: "";
    position: absolute;
    right: -1.15rem;
    top: 0;
    width: 0.56rem;
    height: 0.59rem;
    background: url(../images/icon04.svg) no-repeat center;
    background-size: 100% auto;
}

.homeSono_txt {
    color: rgba(255, 255, 255, 1);
    font-size: var(--font24);
    padding: 0.6rem 0 0.4rem;
    position: relative;
}

.homeSono_txt::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 6rem;
    height: 1px;
    background: linear-gradient(to right, white, transparent);
}

.part03 .home_link {
    background-image: url(../images/icon05.svg);
    background-color: #fff;
    color: #0068b7;
}

.part03 .home_link:hover {
    color: #0068b7;
}

@media only screen and (max-width: 500px) {
    .homeSono_title {
        font-size: 30px;
        -webkit-text-stroke: 1px #fff;
    }
}








/* ==========================================================================
   part04
========================================================================== */
.part04 {
    padding: 1.2rem 0;
}

.homeNews_flex {
    align-items: flex-end;
    justify-content: space-between;
}

.homeNews_left .home_title::before {
    left: -0.14rem;
}

.homeNews_left .homeAbout_sub {
    margin: 20px 0 0;
}

.homeNews_list {
    margin: 0.5rem 0 0;
    gap: 0.3rem;
}

.homeNews_list li {
    flex: 1;
}

.homeNews_box {
    border-bottom: 0.04rem solid rgba(194, 200, 204, 1);
    background: rgba(248, 249, 249, 1);
    height: 100%;
    transition: all 0.3s;
}

.homeNews_area {
    padding: 0.3rem 0.2rem;
}

.homeNews_title {
    color: rgba(0, 36, 77, 1);
    font-size: var(--font24);
    font-weight: 500;
    height: calc(var(--font24) * 3);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
}

.homeNews_msg {
    border-top: 1px solid rgba(225, 225, 225, 1);
    margin: 0.3rem 0 0;
    padding: 0.2rem 0;
}

.homeNews_date {
    font-size: var(--font14);
    color: rgba(156, 162, 165, 1);
    margin-bottom: 0.2rem;
}

.homeNews_info {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 5;
    -webkit-line-clamp: 5;
    color: rgba(52, 64, 84, 1);
    font-size: var(--font16);
}

.homeNews_box:hover .homeNews_title {
    color: var(--primary);
}

.homeNews_box:hover {
    border-color: var(--primary);
    /* box-shadow: 0px 0.03rem 0.1rem rgba(0, 104, 183, 0.4); */
}

@media only screen and (max-width: 500px) {
    .homeNews_right {
        margin-top: 20px;
    }

    .homeNews_list li {
        flex: 0 1 auto;
        width: 100%;
    }

    .part04 {
        padding: 40px 0;
    }
}








/* ==========================================================================
   footer
   ========================================================================== */
footer {
    padding: 1.65rem 0 0.35rem;
    background: url(../images/footer.png) no-repeat top;
    background-size: 100% 100%;
}

footer a {
    color: inherit;
}

footer a:hover {
    text-decoration: underline;
    color: #fff;
}

.red {
    color: #ff0000;
}

.foot_logo {
    width: 1.32rem;
}

.foot_nav {
    padding: 0.8rem 0 0.4rem;
    border-bottom: 1px solid rgba(112, 152, 200, 1);
}

.foot_nav {
    justify-content: space-between;
}

.fn_title {
    position: relative;
    color: #fff;
    font-size: var(--font16);
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.fn_title::before {
    content: "";
    width: 0.2rem;
    height: 0.2rem;
    position: absolute;
    left: -0.25rem;
    top: 0;
    background: url(../images/foot01.png) no-repeat center;
    background-size: 0.2rem auto;
}

.fn_list li {
    line-height: 2;
    color: rgba(246, 246, 246, 1);
    font-size: var(--font14);
    font-weight: 300;
}

.fn_contact {
    color: rgba(246, 246, 246, 1);
    font-size: var(--font14);
    font-weight: 300;
}

.fn_contact p {
    position: relative;
    margin-bottom: 0.15rem;
}

.fn_contact p::before {
    content: "";
    position: absolute;
    left: -24px;
    top: 2px;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: contain;
}

.fn_contact p:nth-child(1)::before {
    background-image: url(../images/icon06.svg);
}

.fn_contact p:nth-child(2)::before {
    background-image: url(../images/icon07.svg);
}

.fn_contact p:nth-child(3)::before {
    background-image: url(../images/icon08.svg);
}

.fn_contact p:nth-child(4)::before {
    background-image: url(../images/icon09.svg);
}

.link_list {
    width: 1.42rem;
    gap: 0.1rem 0.14rem;
}

.link_img {
    width: 0.38rem;
    transition: all 0.35s;
}

.link_img:hover {
    transform: translateY(-3px);
}

.footForm_list {
    gap: 0.1rem;
}

.footForm_list li {
    width: calc(50% - 0.05rem);
}

.foot_form {
    width: 4.5rem;
}

.footForm_box {
    position: relative;
}

.foot_label {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(151, 151, 151, 1);
    font-size: var(--font14);
    z-index: 1;
}

.footForm_box.hide .foot_label {
    display: none;
}

.foot_form .layui-input:focus,
.foot_form .layui-textarea:focus {
    border-color: rgba(0, 104, 183, 1) !important;
}

.footForm_list li:last-child {
    width: 100%;
}

.footForm_list li:last-child .foot_label {
    top: 6px;
    transform: translateY(0);
}

.foot_form .layui-input {
    border-radius: 4px;
}

.yzm_box {
    gap: 0.2rem;
    margin-top: 0.2rem;
}

.yzm_box .layui-input {
    flex: 1;
    height: 40px;
}

.yzm_box .layui-btn {
    flex: 1;
    border-radius: 6px;
    background: rgba(255, 197, 54, 1);
    border: none;
    height: 40px;
    line-height: 40px;
    color: #000;
    padding: 0 10px;
}

.yzm_box .layui-btn:hover {
    opacity: 1;
}

.yzm_img {
    width: 1rem;
    background: #fff;
}

.foothd {
    justify-content: space-between;
    color: rgba(255, 255, 255, 1);
    font-size: 12px;
    padding: 0.2rem 0;
}

@media only screen and (max-width: 768px) {
    footer {
        padding: 0;
        background-position: bottom;
        background-size: auto;
    }

    .foot_main {
        display: none;
    }
}

@media only screen and (max-width: 500px) {
    .foothd {
        justify-content: center;
    }
}