.h5-landing,
.web-nav-img {
    display: none;
}

@media screen and (max-width: 640px) {
    :root {
        --h5w: min(100vw, 430px);
        --u: calc(var(--h5w) / 360);
    }

    body {
        background: #000 url("../images/mobile/h5/bg.webp") center / cover no-repeat !important;
    }

    .landing-desktop,
    .web-landing,
    .shadow-box,
    .app,
    header .logo-img-pc,
    header .web-nav-img {
        display: none !important;
    }

    header.site-header,
    header {
        width: var(--h5w);
        left: 50%;
        transform: translateX(-50%);
        padding: 0 calc(12 * var(--u));
        height: calc(40 * var(--u));
        min-height: 40px;
        max-height: 48px;
        background: transparent;
        border: 0;
        gap: calc(8 * var(--u));
        z-index: 20;
    }

    header .logo {
        flex: 0 0 auto;
    }

    header .logo-img-h5 {
        display: block;
        width: auto;
        height: calc(37 * var(--u));
        max-height: 40px;
        object-fit: contain;
    }

    header .contact {
        padding-right: 0;
        gap: calc(6 * var(--u));
        flex: 1;
        justify-content: flex-end;
        min-width: 0;
    }

    header .contact a {
        display: flex;
        flex: 0 0 auto;
        max-width: none;
        text-decoration: none;
    }

    header .contact img,
    header .h5-nav-img {
        display: block;
        width: calc(56 * var(--u)) !important;
        height: auto !important;
        max-width: none;
        margin-left: 0;
    }

    .h5-landing {
        display: block;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 50%;
        width: var(--h5w);
        transform: translateX(-50%);
        z-index: 2;
        overflow: hidden;
        background: #000 url("../images/mobile/h5/bg.webp") center / cover no-repeat;
        color: #fff;
        font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    }

    .h5-swiper {
        position: absolute;
        inset: 0;
        z-index: 1;
        overflow: hidden;
        touch-action: pan-y;
    }

    .h5-swiper-track {
        display: flex;
        height: 100%;
        width: 100%;
        will-change: transform;
    }

    .h5-slide {
        flex: 0 0 100%;
        min-width: 100%;
        height: 100%;
        position: relative;
    }

    .h5-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center 18%;
        pointer-events: none;
    }

    .h5-vignette {
        position: absolute;
        inset: 0;
        z-index: 2;
        pointer-events: none;
        background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.55) 22%, rgba(0, 0, 0, 0) 48%);
    }

    .h5-copy {
        position: absolute;
        left: 0;
        right: 0;
        bottom: calc(70 * var(--u) + env(safe-area-inset-bottom, 0px));
        z-index: 3;
        display: flex;
        justify-content: center;
        pointer-events: none;
    }

    .h5-title {
        display: block;
        width: calc(332 * var(--u));
        height: auto;
    }

    .h5-cta {
        position: absolute;
        left: 0;
        right: 0;
        bottom: calc(38 * var(--u) + env(safe-area-inset-bottom, 0px));
        z-index: 4;
        display: flex;
        justify-content: center;
        gap: calc(14 * var(--u));
        padding: 0 calc(34 * var(--u));
        box-sizing: border-box;
    }

    .h5-btn {
        display: block;
        width: calc(148 * var(--u));
        line-height: 0;
        text-decoration: none;
    }

    .h5-btn img {
        display: block;
        width: 100%;
        height: auto;
    }

    .h5-tip {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 4;
        margin: 0;
        padding: calc(4 * var(--u)) calc(34 * var(--u)) calc(4 * var(--u) + env(safe-area-inset-bottom, 0px));
        background: rgba(116, 0, 2, 0.21);
        color: #fff;
        font-size: calc(10 * var(--u));
        font-weight: 600;
        line-height: 1.35;
        text-align: center;
        box-sizing: border-box;
    }

    .h5-dots {
        display: none;
    }
}
