@charset "utf-8";
/*
 * Copyright 2026 Hitachi, Ltd.
 * new_home.css — styles for new_index.html
 * Loaded after append.css and home.css; does not modify any existing stylesheet.
 *
 * Layout pattern follows the existing site (.coverWarp + .coverBannerInner
 * + .conLeft / .conRright + .coverContent  ;  .HomeCases + .HomeCasesItem)
 * so behaviour at every viewport width matches the rest of the site.
 */

.NewHome,
.NewHome *,
.NewHome *::before,
.NewHome *::after { box-sizing: border-box; }
.NewHome { font-family: "Source Han Sans SC", "Microsoft YaHei", sans-serif; color: #1a1a1a; }
.NewHome a { color: inherit; text-decoration: none; }

/* ============================================================
 * Section 1 — Hero (swiper, video first slide)
 * Reuses /css/home.css for .home-video / .h-video / .h-play /
 * .homeCover / .homecover-con / .floating-arrow / .home-banner.
 * Outer wrapper here only sets the height of the slide area.
 * ============================================================ */
.NewHome .NHHero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background: #000;
    overflow: hidden;
}
.NewHome .NHHero .swiper,
.NewHome .NHHero .swiper-wrapper,
.NewHome .NHHero .swiper-slide { height: 100%; }
.NewHome .NHHero .swiper-slide { position: relative; overflow: hidden; }
.NewHome .NHHero .swiper-page {
    position: absolute;
    bottom: 24px; left: 0; right: 0;
    z-index: 5;
    display: flex; justify-content: center;
}

/* Hero play button — red filled circle (Figma 1:43)
 * 72x72, fill #e60027, with a 10px same-color 15% halo (rendered as box-shadow). */
.NewHome .NHHero .home-video .play-btn,
.NewHome .NHHero .homecover-con .h-play {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #e60027;
    box-shadow: 0 0 0 10px rgba(230, 0, 39, 0.15);
    border: 0;
    margin-top: 49px;
    margin-left: auto;
    margin-right: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.NewHome .NHHero .home-video .play-btn:hover,
.NewHome .NHHero .homecover-con .h-play:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 14px rgba(230, 0, 39, 0.18);
}
.NewHome .NHHero .h-play img {
    width: 18px;
    height: 22px;
    margin-left: 3px; /* visually balance the play triangle */
    display: block;
    filter: brightness(0) invert(1); /* force the play SVG to white */
}

/* ============================================================
 * Sections 2..4 — full-width cover with text card
 * Mirrors .coverWarp + .FullBannerB + .coverBannerInner + .conLeft
 * / .conRright + .coverContent.
 * ============================================================ */
.NewHome .NHCover {
    position: relative;
    display: flex;
    width: 100%;
    min-width: 320px;
    min-height: 720px;
    margin: 0 auto;
    overflow-x: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #1a1a1a;
}
.NewHome .NHCover.NHCoverTall {
    min-height: 900px;
}
.NewHome .NHCoverInner {
    width: var(--content-width, min(92%, 1275px));
    margin: 0 auto;
    display: flex;
    align-items: stretch;
}
.NewHome .NHCover.NHRight .NHCoverInner { justify-content: flex-end; }
.NewHome .NHCover.NHLeft  .NHCoverInner { justify-content: flex-start; }
.NewHome .NHCoverContent {
    width: 50%;
    align-self: center;
    padding: 80px 0;
}
.NewHome .NHCoverContent .NHTitle {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0;
    margin: 0 0 24px;
}
.NewHome .NHCoverContent .NHTitle .NHTitleThin {
    font-weight: 400;
    color: #333333;
}
.NewHome .NHCoverContent .NHTitle .NHTitleAccent {
    font-weight: 700;
    color: #e60027;
}
.NewHome .NHCoverContent .NHDesc {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.85;
    margin: 0 0 36px;
}
.NewHome .NHCover.NHDark { color: #ffffff; }
.NewHome .NHCover.NHLight { color: #333333; }
.NewHome .NHCover.NHLight .NHDesc { color: rgba(0, 0, 0, 0.75); }
.NewHome .NHCover.NHDark .NHDesc { color: rgba(255,255,255,0.92); }

/* "了解更多" pill button */
.NewHome .NHBtn {
    display: inline-flex;
    align-items: center;
    height: 48px;
    padding: 0 18px;
    border: 1px solid currentColor;
    font-size: 14px;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease;
}
.NewHome .NHBtn .NHBtnIcon {
    margin-left: 12px;
    width: 16px; height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.NewHome .NHBtn .NHBtnIcon svg { display: block; }
.NewHome .NHCover.NHDark .NHBtn:hover { background: #fff; color: #1a1a1a; }
.NewHome .NHCover.NHLight .NHBtn:hover { background: #1a1a1a; color: #fff; }

/* per-section backgrounds (kept here so HTML stays clean) */
.NewHome .NHCoverCompany {
    background-image: url(../images/home/coverhome-about.png);
    background-color: #2c2c2c;
}
.NewHome .NHCoverVertical {
    background-image: url(../images/home/coverhome-businesses.png);
    background-color: #ececec;
}
.NewHome .NHCoverSmart {
    background-image: url(../images/home/coverhome-zhihui.jpg);
    background-color: #1a1a1a;
}
.NewHome .NHCoverSmart::after {
    content: "";
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.20);
    pointer-events: none;
}
.NewHome .NHCoverSmart .NHCoverInner { position: relative; z-index: 2; }

/* ============================================================
 * Section 5 — Cases + Support entries (mirrors .HomeCases)
 * Two image cards side by side, link bar overlaid on bottom.
 * ============================================================ */
.NewHome .NHCases {
    background: #f2f2f2;
    padding: 100px 0;
    display: flex;
    justify-content: center;
}
.NewHome .NHCasesInner {
    width: var(--content-width, min(92%, 1275px));
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
}
.NewHome .NHCaseItem {
    position: relative;
    width: 50%;
    overflow: hidden;
    display: block;
    color: #fff;
    background: #000;
}
.NewHome .NHCaseItem img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}
.NewHome .NHCaseItem:hover img { transform: scale(1.04); }
.NewHome .NHCaseItem::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 130px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
}
.NewHome .NHCaseLink {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 130px;
    padding: 0 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
}
.NewHome .NHCaseLink span:first-child {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1.45;
}
.NewHome .NHCaseLink .NHCaseArrow {
    width: 24px; height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}
.NewHome .NHCaseItem:hover .NHCaseArrow { transform: translateX(6px); }

/* ============================================================
 * Responsive — collapse text-card width and case row at <=768
 * ============================================================ */
/* ============================================================
 * Follow-us strip (Figma 1:100) — replaces existing #FollowUsArea
 * 1920x402 white, title 24px, 6 cards in a 3x2 dark grid below.
 * ============================================================ */
.NewHome + .NHFollow,
.NHFollow {
    background: #ffffff;
    width: 100%;
    padding: 60px 0 80px;
}
.NHFollow .NHFollowInner {
    width: var(--content-width, min(92%, 1275px));
    margin: 0 auto;
}
.NHFollow .NHFollowTitle {
    color: #333333;
    font-family: "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    margin: 0 0 50px;
}
.NHFollow .NHFollowGrid {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    grid-auto-rows: 76px;
    gap: 40px;
    justify-content: center;
}
.NHFollow .NHFollowCard {
    position: relative;
    background: #333333;
    color: #ffffff;
    height: 76px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 1;
}
.NHFollow .NHFollowCard:hover {
    background: #1f1f1f;
    transform: translateY(-2px);
}
.NHFollow .NHFollowIcon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.NHFollow .NHFollowIcon svg {
    width: 32px;
    height: 32px;
    display: block;
    border-radius: 6px;
}
.NHFollow .NHFollowText {
    flex: 1 1 auto;
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}
.NHFollow .NHFollowSub {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    line-height: 17.4px;
}
.NHFollow .NHFollowName {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 23.2px;
    letter-spacing: 0;
}
.NHFollow .NHFollowArrow {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}
.NHFollow .NHFollowCard:hover .NHFollowArrow { transform: translateX(4px); }

/* QR pop-up on hover (mirrors original .qrcode-img behaviour). */
.NHFollow .NHFollowGrid { position: relative; }
.NHFollow .NHFollowQr {
    position: absolute;
    left: 50%;
    bottom: -20%;
    width: 200px;
    height: 200px;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    padding: 10px;
    box-sizing: border-box;
    object-fit: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.35s ease, bottom 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.35s;
}
.NHFollow .NHFollowCard:hover .NHFollowQr {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 12px);
}
.NHFollow .NHFollowCard::after {
    /* small caret pointing down to the card, only visible on hover */
    content: "";
    position: absolute;
    left: 50%;
    top: -4px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #ffffff;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 6;
}
.NHFollow .NHFollowCard:hover::after { opacity: 1; }
@media screen and (max-width: 768px) {
    .NHFollow .NHFollowQr,
    .NHFollow .NHFollowCard::after { display: none; }
}

@media screen and (max-width: 1280px) {
    .NHFollow .NHFollowGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .NewHome .NHCoverContent { width: 60%; }
    .NewHome .NHCoverContent .NHTitle { font-size: 38px; }
}
@media screen and (max-width: 768px) {
    .NHFollow { padding: 40px 0 50px; }
    .NHFollow .NHFollowTitle { margin-bottom: 28px; }
    .NHFollow .NHFollowGrid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .NewHome .NHHero { height: 100vh; min-height: 520px; }

    .NewHome .NHCover { min-height: 540px !important; }
    .NewHome .NHCover .NHCoverInner { justify-content: flex-start !important; }
    .NewHome .NHCoverContent { width: 100%; padding: 60px 0; }
    .NewHome .NHCoverContent .NHTitle { font-size: 28px; line-height: 1.4; }
    .NewHome .NHCoverContent .NHDesc { font-size: 13px; }

    .NewHome .NHCases { padding: 40px 0; }
    .NewHome .NHCasesInner {
        flex-direction: column;
        gap: 16px;
    }
    .NewHome .NHCaseItem { width: 100%; }
    .NewHome .NHCaseItem::after { height: 90px; }
    .NewHome .NHCaseLink { height: 90px; padding: 0 20px; }
    .NewHome .NHCaseLink span:first-child { font-size: 22px; }
}

/* ============================================================
 * 新版页脚（对齐 Figma 主页底部）— new_ 系列页面通用
 * ============================================================ */
.nf-mega { background:#ffffff; padding:56px 0 64px; }
.nf-inner { max-width:1275px; margin:0 auto; padding:0 clamp(20px,3.5vw,40px); }
.nf-cols { display:flex; gap:clamp(18px,2.6vw,44px); align-items:flex-start; }
.nf-col { flex:1 1 0; min-width:0; }
.nf-col--vt { flex:2.1 1 0; }          /* 垂直交通解决方案（含两子列）更宽 */
.nf-title {
    position:relative; margin:0 0 20px; padding-left:14px;
    font-size:15px; font-weight:700; color:#333; line-height:1.2;
}
.nf-title::before {
    content:""; position:absolute; left:0; top:1px;
    width:4px; height:13px; background:#e60027;
}
.nf-subtitle { margin:20px 0 12px; font-size:13px; font-weight:400; color:#9a9a9a; line-height:1.2; }
.nf-subtitle.is-first { margin-top:0; }
.nf-links { list-style:none; margin:0; padding:0; }
.nf-links li { margin:0 0 13px; }
.nf-links a {
    display:inline-flex; align-items:center; gap:5px;
    font-size:13px; color:#555; text-decoration:none; line-height:1.3;
}
.nf-links a::after { content:"›"; color:#c2c2c2; font-size:15px; line-height:1; }
.nf-links a:hover { color:#e60027; }
.nf-links a:hover::after { color:#e60027; }
.nf-subcols { display:flex; gap:clamp(16px,2vw,36px); }
.nf-subcol { flex:1 1 0; min-width:0; }

/* 底栏 */
.nf-bottom { background:#f2f2f2; padding:30px 0 40px; }
.nf-bottom-top { margin-bottom:16px; }
.nf-bottom-top a { font-size:14px; font-weight:700; color:#333; text-decoration:none; }
.nf-bottom-top a:hover { color:#e60027; }
.nf-bottom-sep { margin:0 14px; color:#ccc; font-weight:400; }
.nf-bottom-row { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px 24px; }
.nf-copy { font-size:12px; color:#999; }
.nf-legal { display:flex; align-items:center; flex-wrap:wrap; gap:18px; }
.nf-legal a { display:inline-flex; align-items:center; gap:6px; font-size:12px; color:#999; text-decoration:none; }
.nf-legal a:hover { color:#e60027; }
.nf-legal img { height:16px; width:auto; display:block; }

@media screen and (max-width:900px) {
    .nf-cols { flex-wrap:wrap; gap:28px 24px; }
    .nf-col { flex:1 1 40%; }
    .nf-col--vt { flex:1 1 100%; }
    .nf-bottom-row { flex-direction:column; align-items:flex-start; }
}
@media screen and (max-width:560px) {
    .nf-mega { padding:40px 0 44px; }
    .nf-col { flex:1 1 100%; }
    .nf-subcols { gap:24px; }
}
