.mobile-icons{
    height: 100%;
    display: none;
    gap: calc(20 * var(--rpx));
    margin-right: calc(-10 * var(--rpx));
}

.mobile-icons>*{
    height: 100%;
    width: calc(80 * var(--rpx));

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon-search .icon{
    width: calc(64 * var(--rpx));
    height: calc(64 * var(--rpx));
    background: url("../images/icon_search.svg") center/contain no-repeat;
}

/*.icon-lang{
    display: none;
}*/

.icon-lang .icon{
    width: calc(30 * var(--rpx));
    height: calc(30 * var(--rpx));
    background: url("../images/icon_lang.svg") center/contain no-repeat;
}

.icon-mobile-nav .icon{
    width: calc(40 * var(--rpx));
    height: calc(27 * var(--rpx));

    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
}

.icon-mobile-nav i{
    flex: 0 0 calc(3 * var(--rpx));
    width: 100%;
    background-color: #fff;
    transition: .6s cubic-bezier(0.15, 1, 0.336, 1);
}

.mobile-nav-layer{
    display: block;
    position: fixed;
    left: 0;
    top: var(--header-height);
    width: 100%;
    height: calc(100% - var(--header-height));
    visibility: hidden;
    opacity: 0;
    transition: .3s;
    z-index: 1000;
    background-color: #fff;
    overflow: auto;
}

.mobile-nav-active .icon-mobile-nav i:first-of-type{
    transform: translateY(calc(13 * var(--rpx))) rotate(45deg);
}

.mobile-nav-active .icon-mobile-nav i:nth-of-type(2){
    transform: scaleX(0);
}

.mobile-nav-active .icon-mobile-nav i:last-of-type{
    transform: translateY(calc(-13 * var(--rpx))) rotate(-45deg);
}

/* 移动端导航菜单样式 */
.mobile-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}

.mobile-nav.active {
    visibility: visible;
    opacity: 1;
}

.mobile-nav-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.mobile-nav-content {
    position: absolute;
    right: 0;
    top: 0;
    width: calc(640 * var(--rpx));
    max-width: 85vw;
    height: 100%;
    background-color: var(--theme-back);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.15, 1, 0.336, 1);
    overflow: hidden;
}

.mobile-nav.active .mobile-nav-content {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: calc(10 * var(--rpx)) calc(28 * var(--rpx));
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
    background-color: rgba(0, 0, 0, 0.35);
}

.mobile-nav-close {
    width: calc(80 * var(--rpx));
    height: calc(80 * var(--rpx));
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
}

.close-icon {
    width: calc(48 * var(--rpx));
    height: calc(48 * var(--rpx));
    position: relative;
}

.close-icon::before,
.close-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(40 * var(--rpx));
    height: calc(4 * var(--rpx));
    background-color: rgba(255, 255, 255, 0.9);
    transform-origin: center;
}

.close-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav-menu {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-bottom: calc(40 * var(--rpx));
    display: flex;
    flex-direction: column;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: calc(32 * var(--rpx)) calc(48 * var(--rpx));
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: calc(32 * var(--rpx));
    transition: background-color 0.2s;
    position: relative;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background-color: rgba(255, 255, 255, 0.06);
}

.mobile-nav-item {
    position: relative;
}

.mobile-nav-expand {
    position: absolute;
    right: calc(24 * var(--rpx));
    top: 50%;
    transform: translateY(-50%);
    width: calc(80 * var(--rpx));
    height: calc(80 * var(--rpx));
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mobile-nav-expand span {
    width: calc(24 * var(--rpx));
    height: calc(24 * var(--rpx));
    border-right: calc(4 * var(--rpx)) solid rgba(255, 255, 255, 0.75);
    border-bottom: calc(4 * var(--rpx)) solid rgba(255, 255, 255, 0.75);
    transform: rotate(45deg);
    transition: transform 0.4s cubic-bezier(0.15, 1, 0.336, 1);
}

.mobile-nav-item.expanded .mobile-nav-expand span {
    transform: rotate(-135deg);
}

.mobile-nav-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s;
    background-color: rgba(0, 0, 0, 0.28);
}

.mobile-nav-item.expanded .mobile-nav-sub {
    max-height: calc(500 * var(--rpx));
    transition: max-height 0.5s cubic-bezier(0.15, 1, 0.336, 1);
}

.mobile-nav-sub-link:first-of-type{
    margin-top: calc(20 * var(--rpx));
}
.mobile-nav-sub-link:last-of-type{
    margin-bottom: calc(20 * var(--rpx));
}

.mobile-nav-sub-link {
    display: block;
    padding: calc(16 * var(--rpx)) calc(48 * var(--rpx)) calc(16 * var(--rpx)) calc(96 * var(--rpx));
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: calc(28 * var(--rpx));
    transition: background-color 0.2s, color 0.2s;
}

.mobile-nav-sub-link:hover,
.mobile-nav-sub-link:active {
    background-color: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.95);
}

.mobile-nav-item--others {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: auto;
}

.mobile-nav-item--others > .mobile-nav-link {
    cursor: default;
    user-select: none;
}

.mobile-nav-lang {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(24 * var(--rpx));
    padding: calc(40 * var(--rpx)) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background-color: var(--theme-back);
}

.mobile-nav-lang a,
.mobile-nav-lang .col-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s, opacity 0.2s;
    display: inline-block;
    padding: calc(12 * var(--rpx)) calc(20 * var(--rpx));
    font-size: calc(28 * var(--rpx));
}

.mobile-nav-lang a.active,
.mobile-nav-lang .col-link.active {
    color: var(--theme-blue);
    opacity: 0.55;
    cursor: default;
    pointer-events: none;
}

.mobile-nav-lang a[style*="opacity"],
.mobile-nav-lang .col-link[style*="opacity"] {
    opacity: 0.5 !important;
    cursor: not-allowed;
}

@media (max-width: 1280px) {
    .footer-info{
        flex: 0 0 calc((100% - 20px) * .35);
    }
    .footer-nav{
        flex: 0 0 calc((100% - 20px) * .65);
    }
    .footer-nav-col{
        max-width: calc(300 * var(--rpx));
    }
}


@media (max-width: 960px) {
    :root {
        --wrapper-width: calc(100vw - 60px);
    }
}

@media (max-width: 828px) {
    html,
    body {
        overflow-x: hidden;
    }

    :root {
        /* 与 mitsubishilanding page.css @828 一致的 rpx / fpx 刻度 */
        --rpx-50: calc(.86667vw / 8.28);
        --rpx-67: calc(1vw / 8.28);
        --rpx-75: calc(1.25vw / 8.28);

        --fpx-87: calc(1.5vw / 7.5);
        --fpx-75: calc(1.33vw / 7.5);
        --fpx-67: calc(1vw / 7.5);
        --fpx-50: calc(0.75vw / 7.5);

        --rpx: var(--rpx-67);
        --fpx: var(--fpx-87);

        font-size: calc(18 * var(--fpx));

        --wrapper-width: calc(748 * var(--rpx));
        --wrapper-margin: calc((100vw - var(--wrapper-width)) / 2);
        --header-height-min: calc(100 * var(--rpx));
        --header-height-max: calc(100 * var(--rpx));
        --header-height: var(--header-height-max);
        --breadcrumbs-height: calc(72 * var(--rpx));
        --page-padding-top: calc(var(--header-height-max) + var(--breadcrumbs-height));
        --no-header-100vh: calc(100vh - var(--header-height-max));
    }

    .btn-more{
        height: calc(54em / 16);
        width: calc(200em / 16);
    }

    .breadcrumbs{
        position: relative;
        overflow: hidden;
    } 

    .breadcrumbs::after{
        content: "";
        pointer-events: none;
        position: absolute;
        width: 10%;
        height: 100%;
        top: 0;
        right: 0;
        background: linear-gradient(to right, #08091400 0%, #080914ff 100%);
    }

    .site-footer .part1 .wrapper{
        flex-direction: column;
        align-items: center;
    }

    .footer-info{
        width: 100%;
    }

    .follow-icons .layout-area a img{
        width: calc(80 * var(--rpx));
        height: calc(80 * var(--rpx));
    }

    .site-footer .part2 .wrapper{
        padding-top: calc(40 * var(--rpx));
        height: auto;
        padding-bottom: calc(40 * var(--rpx));

        display: flex;
        flex-direction: column;
        text-align: center;
        gap: calc(20 * var(--rpx));
    }

    .site-footer .part2 .left{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: calc(20 * var(--rpx));
    }

    .footer-nav{
        display: none;
    }

    .news-list{
        --column: 2;
    }

    .top-nav{
        display: none;
    }

    .nav-right {
        display: none;
    }

    .right-nav{
        display: none;
    }

    .mobile-icons{
        display: flex;
    }

    .mobile-nav-lang {
        display: flex;
    }

    .site-logo{
        height: calc(72 * var(--rpx));
    }

    .nav-bar .wrapper{
        padding-right: 0;
        justify-content: space-between;
    }

    .mobile-nav-content {
        width: calc(640 * var(--rpx));
    }

    .sec3 .cert-img-ctn{
        margin-right: 0;
    }

    .footer-back{
        bottom: calc(400 * var(--rpx));
    }

    .footer-back-glow{
        width: 100%;
        height: auto;
        top: 0;
        bottom: 1px;
    }

    .footer-back-inner{
        width: 150vw;
        height: 92vw;
    }

    .site-footer{
        padding-top: calc(200 * var(--rpx));
    }

    .dialog-case {
        padding: 12px;
    }

    .dialog-case-panel {
        width: 100%;
        max-width: none;
        padding: calc(32 * var(--rpx)) calc(28 * var(--rpx));
        border-radius: calc(24 * var(--rpx));
        max-height: calc(100dvh - 24px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .dialog-case .btn-close {
        top: calc(18 * var(--rpx));
        right: calc(18 * var(--rpx));
    }

    .dialog-header {
        padding-right: calc(72 * var(--rpx));
    }

    .dialog-header .title {
        font-size: calc(34 * var(--fpx-67));
        line-height: calc(50em / 40);
    }

    .dialog-divider {
        margin: calc(24 * var(--rpx)) 0;
    }

    .dialog-body {
        display: flex;
        flex-direction: column;
        overflow: visible;
        gap: calc(24 * var(--rpx));
    }

    .dialog-col-text {
        overflow: visible;
    }

    .dialog-col-media {
        flex: 0 0 auto;
    }

    .swiper-case .swiper-slide {
        height: calc(360 * var(--rpx));
        max-height: 42vh;
    }

    .swiper-case .swiper-controls {
        margin-top: calc(18 * var(--rpx));
    }

    .page-header.feature{
        height: auto;
        padding-top: 55vh;
    }

    .page-header.feature .figure{
        left: 0;
        right: 0;
        margin: auto;
        top: calc(40 * var(--rpx) + var(--header-height));
        width: 75vw;
        height: 75vw;
        bottom: unset;
    }

    .page-header.feature .wrapper{
        justify-content: flex-end;
        padding-bottom: calc(60 * var(--rpx));
        text-align: center;
        align-items: center;
    }

    .page-header.cases{
        height: calc(1080 * var(--rpx));
    }

    .page-header.cases .figure{
        left: -10vw;
        right: 0;
        margin: auto;
        top: calc(40 * var(--rpx) + var(--header-height) - 36vw);
        width: 120vw;
        height: calc(120vw / 14.4 * 17);
        bottom: unset;
    }

    .page-header.cases>.wrapper{
        justify-content: flex-end;
        padding-bottom: calc(60 * var(--rpx));
        text-align: center;
        align-items: center;
    }

    .page-header.resource-center{
        height: calc(1080 * var(--rpx));
    }

    .page-header.resource-center .figure{
        left: 0;
        right: 0;
        margin: auto;
        top: calc(40 * var(--rpx) + var(--header-height));
        width: 75vw;
        height: calc(75vw / 898 * 998);
        bottom: unset;
    }

    .page-header.resource-center .figure img{
        transform: scale(1.5);
    }

    .page-header.resource-center>.wrapper{
        justify-content: flex-end;
        padding-bottom: calc(60 * var(--rpx));
        text-align: center;
        align-items: center;
    }

    .feature-intro .wrapper{
        flex-direction: column;
        align-items: flex-start;
        gap: calc(30 * var(--rpx));
    }

    .feature-intro .left,
    .feature-intro .right{ 
        width: 100%;
    }

    .footer-contact .wrapper{
        display: flex;
        flex-direction: column;
        gap: calc(40 * var(--rpx));
    }

    .footer-contact .left{
        width: 100%;
    }
    .footer-contact .right{
        width: 100%;
    }

    .footer-contact .form-fields{
        --gap-x: calc(20 * var(--rpx));
        --gap-y: calc(20 * var(--rpx));
    }

    .btn-top{
        top: calc(-80 * var(--rpx-75));
    }

}

@media (max-width: 560px) {
    .dialog-case-panel {
        padding: calc(26 * var(--rpx)) calc(22 * var(--rpx));
    }

    .dialog-header .keyword {
        font-size: calc(24 * var(--fpx-67));
    }

    .dialog-header .title {
        margin-top: calc(12 * var(--rpx));
        font-size: calc(34 * var(--fpx-67));
        line-height: calc(42em / 34);
    }

    .dialog-body .info {
        font-size: 1rem;
    }

    .swiper-case .swiper-slide {
        height: calc(480 * var(--rpx));
    }
}

/* 桌面端不展示移动抽屉；菜单区仍带 overflow-y:auto，少数环境下隐藏态会短暂出现内侧竖条 */
@media (min-width: 829px) {
    .mobile-nav-menu {
        overflow-y: hidden;
    }
}
