@charset "Shift_JIS";

/* **************************************************

Name: top.css
Description: portal top CSS
Create: 2025.08.22
Update: 
Copyright 2025 Hitachi, Ltd.

***************************************************** */

/* ==================== */
/* Branding */
/* ==================== */
#Branding {
    padding: 90px 15px;
    box-sizing: border-box;
    margin-left: calc(var(--side-space) * -1);
    margin-right: calc(var(--side-space) * -1);
    width: calc(100% + var(--side-space));
    background-image: url(/products/it/control_sys/portal/image/top/branding.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#BrandingContent {
    background-color: rgba(255,255,255,.45);
    border-radius: var(--radius-m);
    padding: 50px 20px;
    max-width: 875px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
    color: var(--color-primary-b);
}

#BrandingCatch {
    font-size: clamp(1.75rem, 5.8vw, 3.125rem);
    font-weight: bold;
    line-height: 1.3;
    text-shadow: 0 0 10px #fff;
    text-shadow: 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff;
}

#BrandingTxt {
    border-top: 2px solid var(--color-primary-r2);
    width: fit-content;
    margin: 10px auto 0;
    padding: 20px 0 0;
    font-size: clamp(1rem, 2.1vw, 1.25rem);
    font-weight: bold;
    line-height: 1.6;
    word-break: keep-all;
    text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff;
    letter-spacing:0.03em;
}

@media (max-width: 1304px) {
    #Branding {
        width: calc(100% + var(--side-space-both));
    }
}


/* ==================== */
/* Products */
/* ==================== */
#Products {
    background-color: var(--color-primary-g6);
    background-image: url(/products/it/control_sys/portal/image/top/products_bg_r.jpg) ,url(/products/it/control_sys/portal/image/top/products_bg_l.jpg);
    background-repeat: no-repeat, no-repeat;
    background-size: 67% auto, 53% auto;
    background-position: right top, left bottom;
}

#Products .csHeadingLTxt,
#Products .csHeadingL {
    color: var(--color-deep-contrast);
}

#ProductsList {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.Product {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.ProductHalf {
    width: 50%;
}

.ProductLeftContent {
    justify-content: flex-start;
}

.ProductContent {
    padding: 40px 25px 80px;
    width: 50%;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-sizing: border-box;
}

.ProductContent::before,
.ProductContent::after {
    content: "";
    display: block;
    position: absolute;
}

.ProductContent::before {
    background-color: rgba(255,255,255,.9);
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

.ProductContent::after {
    z-index: -2;
    width: 200%;
    height: 100%;
    right: 0;
    top: 0;
    bottom: 0;
    filter: blur(3px);
}

.ProductLeftContent .ProductContent::after {
    right: auto;
    left: 0;
}

.Product,
.ProductContent::after {
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
}

#PrElectric,
#PrElectric .ProductContent::after {
    background-image: url(/products/it/control_sys/portal/image/top/product_electric.jpg);
}

#PrTraffic,
#PrTraffic .ProductContent::after {
    background-image: url(/products/it/control_sys/portal/image/top/product_traffic.jpg);
}

#PrWaterIndustry,
#PrWaterIndustry .ProductContent::after {
    background-image: url(/products/it/control_sys/portal/image/top/product_water_industry.jpg);
}

#PrPlatform,
#PrPlatform .ProductContent::after {
    background-image: url(/products/it/control_sys/portal/image/top/product_platform.jpg);
}

#PrService,
#PrService .ProductContent::after {
    background-image: url(/products/it/control_sys/portal/image/top/product_service.jpg);
}

.ProductTitle {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--color-primary-b);
    padding: 0;
    margin: 0 0 25px;
    line-height: 1.3;
}

.ProductList {
    font-size: var(--font-size-m);
    line-height: 1.6;
    color: var(--color-primary-b-old);
}

.ProductList > li {
    padding: 0 0 0 18px;
    position: relative;
}

.ProductList > li + li {
    margin-top: 15px;
}

.ProductList > li::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    border-left: 1px solid var(--color-primary-b);
    border-bottom: 1px solid var(--color-primary-b);
    position: absolute;
    left: 0;
    top: -0.125rem;
}

.ProductList > li > a {
    text-decoration: none;
    color: inherit !important;
    padding: 0 18px 0 0;
    background-image: url(/image/jp/r1/icon/icon_link_right_hd.gif);
    background-position: right center;
    background-size: 16px 16px;
    background-repeat: no-repeat;
    transition: background-color var(--transition-primary);
}

.ProductList > li > a:hover,
.ProductList > li > a:active {
    text-decoration: underline;
    background-position: right -3px center;
}

.ProductList > li.NewWin > a {
    background-image: url(/image/jp/r1/icon/icon_new_window_hd.gif);
    background-position: right center;
}

@media (max-width: 994px) {
    .Product {
        min-height: 350px;
    }

    .ProductHalf {
        width: 100%;
    }

    .Product,
    .ProductContent::after {
        background-position: center center;
    }

    #ProductsList .Product:nth-child(2n) {
        justify-content: flex-end;
    }

    #ProductsList .Product:nth-child(2n-1) {
        justify-content: flex-start;
    }

    #ProductsList .Product:nth-child(2n) .ProductContent::after {
        right: 0;
        left: auto;
    }

    #ProductsList .Product:nth-child(2n-1) .ProductContent::after {
        right: auto;
        left: 0;
    }
}

@media (max-width: 767px) {
    .Product {
        padding-top: calc(200 / 375 * 100vw);
        background-size : auto calc(200 / 375 * 100vw);
        min-height: auto;
        background-position: center top;
    }

    .ProductHalf {
        background-size : 100% auto;
    }

    .ProductContent {
        width: 100%;
        padding: 25px 20px 30px;
    }

    .ProductContent::before {
        background-color: #fff;
    }

    .ProductContent::after {
        display: none;
    }

    .ProductTitle {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }

    .ProductList > li {
        padding: 0;
        border-bottom: solid 1px #ddd;
    }

    .ProductList > li:first-child {
        border-top: solid 1px #ddd;
    }

    .ProductList > li + li {
        margin-top: 0;
    }

    .ProductList > li::before {
        display: none;
    }

    .ProductList > li > a {
        display: block;
        box-sizing: border-box;
        padding: 15px 20px 15px 0;
        text-decoration: none !important;
    }

    .ProductList > li > a:hover,
    .ProductList > li > a:active {
        background-color: #f2f2f2;
    }
}


/* ==================== */
/* Mission */
/* ==================== */
#MissionChartBox {
    overflow: auto;
    width: 100%;
    margin-bottom: var(--contents-space-s);
}

#MissionChart {
    background-color: var(--color-primary-g5);
    border-radius: var(--radius-m);
    min-width: 520px;
}

#MissionChartClass {
    padding: 20px 30px;
}

#MissionChartClassList {
    display: flex;
    gap: 15px;
}

#MissionChartClassList > li {
    flex: 1;
    background-color: #fff;
    border-radius: var(--radius-m);
    padding: 100px 15px 20px;
    text-align: center;
    align-content: center;
    font-weight: bold;
    color: var(--color-primary-g5);
    line-height: 1.3;
    font-size: 1rem;
    word-break: keep-all;
    background-position: center top calc((100px - 75px) / 2);
    background-size: 75px auto;
    background-repeat: no-repeat;
}

#MCCListDiversity {
    background-image: url(/products/it/control_sys/portal/image/top/mission_chart_diversity.jpg);
}

#MCCListCredibility {
    background-image: url(/products/it/control_sys/portal/image/top/mission_chart_credibility.jpg);
}

#MCCListExtensibility {
    background-image: url(/products/it/control_sys/portal/image/top/mission_chart_extensibility.jpg);
}

#MCCListMaintainability {
    background-image: url(/products/it/control_sys/portal/image/top/mission_chart_maintainability.jpg);
}

#MCCListContinuity {
    background-image: url(/products/it/control_sys/portal/image/top/mission_chart_continuity.jpg);
}

#MissionChartClassList > li .note {
    font-size: 0.8125rem;
}

#MissionChartService {
    background-color: var(--color-primary-g6);
    border-radius: 0 0 var(--radius-m) var(--radius-m);
    padding: 20px 30px;
}

#MissionChartServiceList {
    display: grid;
    gap: 10px 15px;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, 1fr);
}

#MissionChartServiceList > li {
    background-color: var(--color-primary-r2);
    color: var(--color-deep-contrast);
    font-size: 0.8125rem;
    text-align: center;
    border-radius: 100vmax;
    line-height: 1.3;
    padding: 4px 10px;
    word-break: keep-all;
    align-content: center;
}

#MCSListCustom {
    grid-area: 1 / 1 / 2 / 3;
}

#MCSListEnergy {
    grid-area: 1 / 5 / 2 / 6;
}

#MCSListWhite {
    grid-area: 2 / 2 / 3 / 5;
}

#MCSListSimulator {
    grid-area: 3 / 2 / 4 / 6;
}

@media (max-width: 767px) {
    #MissionChartClass,
    #MissionChartService {
        padding: 15px;
    }

    #MissionChartClassList > li {
        font-size: 0.8125rem;
        padding-top: 60px;
        background-position: center top calc((60px - 40px) / 2);
        background-size: 40px auto;
    }

    #MissionChartClassList > li .note {
        font-size: 0.6875rem;
    }

    #MissionChartServiceList > li {
        font-size: 0.6875rem;
    }
}

