@charset "Shift_JIS";

/* **************************************************

Name: gx_business.css

Description: gx_business CSS

Create: 2025.**.**
Update: 

Copyright Hitachi, Ltd. 2025. All rights reserved.

***************************************************** */
/*=============================
変数設定
===============================*/
:root {
  --red: #b1000e;
  --black: #07242A;
}

/*=============================
既存スタイル調整
===============================*/
#Contents {
    overflow: hidden !important;
}

@media screen and (max-width: 1304px) {
    .OptionWideRWD #Contents {
        padding-right: 0;
        padding-left: 0;
    }
}

@media screen and (max-width: 994px) {
    .JS .GridSet {
        max-width: unset;
        margin: 0;
    }

    .JS .Grid4 {
        padding: 0 15px;
    }
}
/*=============================
gxBusiness全体設定
===============================*/
.gxBusiness * {
    box-sizing: border-box !important;
    z-index: 0;
}

.gxBusiness section {
    margin: 20px 0 30px;
}

.gxBusiness section:first-child {
    margin-top: 50px;
}

.gridContainer {
    display: grid;
    gap: 30px 0;
}


/*=============================
キービジュアル
===============================*/
.BrandImageContainer {
    position: relative;
    background: url('/products/it/gx_business/image/kv.jpg') no-repeat;
    background-size: cover;
    background-position: center center;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.BrandImageContainer .pageTitle {
    font-weight: bold;
    font-size: 36px;
    color:white;
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    text-align: center;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    line-height: 1.6;
    text-align: left;
}

.BrandImageContainer .pageTitle .pageSubTitle {
    font-size: 20px;
    padding-top: 10px;
}


@media screen and (max-width: 1275px) {
    .BrandImageContainer, .ContentNavi {
        margin: 0 -15px !important;
    }
}

@media screen and (max-width: 767px) {
    .BrandImageContainer {
        background-position: 35%;
    }

    .BrandImageContainer .pageTitle {
        font-size: 150%;
        align-items: start;
    }

    .BrandImageContainer .pageTitle .pageSubTitle {
        font-size: medium;
    }
}

@media screen and (max-width: 579px) {
    .BrandImageContainer {
        height: 400px;
    }
    .BrandImageContainer .pageTitle {
        font-size: 130%;
    }
}

/*=============================
コンテンツナビ
===============================*/
.pageIndex .ContentNavi {
    background: #eee;
    display: flex;
    justify-content: center;
    padding: 0;
}

.pageIndex .ContentNavi ul {
    background: #eee;
    display: flex;
    justify-content: center;
    align-items: stretch;
    font-size: 110%;
    display: flex;
    max-width: 1275px;
    width: 100%;
}

.pageIndex .ContentNavi li {
    position: relative;
    background: none;
    border-right: 1px solid #fff;
    float: none;
    z-index: 5;
    width: 33.3%;
    display: flex;
    justify-content: center;
}

.pageIndex .ContentNavi li:last-child {
    border: none;
}

.pageIndex .ContentNavi li > a {
    color: black;
    font-weight: bold;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 40px 50px;
    border: none !important;
    line-height: 1.5;
    z-index: 10;
}

.pageIndex .ContentNavi li > a:before {
    content: none;
}


.pageIndex .ContentNavi li > a:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    background: url("/products/it/gx_business/image/red_arrow_down.svg") no-repeat;
    background-size: 20px;
    background-position: center calc(100% - 20px);
    left: 0;
    top: 0;
}

.pageIndex .ContentNavi li > a:hover {
    background: var(--red);
    color: white;
}

.pageIndex .ContentNavi li > a:hover:after {
    filter: brightness(0) invert(1);
}

@media screen and (max-width: 767px) {
    .pageIndex .ContentNavi ul {
        flex-direction: column;
    }

    .pageIndex .ContentNavi li {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid #fff;
    }

    .pageIndex .ContentNavi li > a {
        padding: 15px 60px 15px 40px;
    }

    .pageIndex .ContentNavi li a:after {
        background-position: calc(100% - 20px) center;
        background-size: 18px;
    }
}

/*=============================
見出し
===============================*/
.gxHeading {
    background: none;
    text-align: center;
    position: relative;
    margin-bottom: 50px !important;
    font-size: 160%;
    font-weight: bold;
    color: var(--black);
}

.gxHeading:after{
    content: "";
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-bottom-color: var(--red);
    width: 250px;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

@media screen and (max-width: 579px) {
    .gxHeading {
        font-size: 5.2vw;
    }
}

/*=============================
枠付き
===============================*/
.gxCard {
    background: white;
    border: 1px solid #eee;
    border-top: 2px solid var(--red);
    display: flex;
    flex-direction: column;
    width: calc(33.3% - 10px);
    min-height: 150px;
    padding: 20px;
}

.gxCard li {
    list-style: unset;
    margin-left: 20px;
}

.gxCard .ImgOnlyStyle {
    text-align: center;
}

.gxCard.--gray {
    background: #eee;
}

.gxCard.--gray h3, .gxCard.--gray h4 {
    text-decoration: underline;
    color: var(--red);
}

.gxCardContainer {
    display: flex;
    gap: 30px 15px;
    flex-wrap: wrap;
    flex-direction: row;
}

@media screen and (max-width: 767px) {
    .gxCard {
        width: 100%;
    }
 
    .gxCardContainer {
        flex-direction: column;
    }
}

/*=============================
ビジネス分野
===============================*/
.gxSideOfBusiness {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.gxSideOfBusiness li {
    background: linear-gradient(90deg, #8B8B8B 0%, #8B8B8B 50%,#EEEEEE 100%) no-repeat 50% 50% / 100% 100%;
    width: calc(50% - 40px);
    padding: 10px;
    position: relative;
    text-align: center;
    font-weight: bold;
    color: white;
    height: 56.4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

.gxSideOfBusiness li:before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    display: block;
    background: #8B8B8B;
    left: -20px;
    transform: rotate(45deg);
    top: 0;
    bottom: 0;
    margin: auto;
    line-height: 1.4;
    z-index: -10;
}

.gxSideOfBusiness li.right {
    background: linear-gradient(90deg, #EEEEEE 0%,#8B8B8B 50%,#8B8B8B 100%) no-repeat 50% 50% / 100% 100%;
}

.gxSideOfBusiness li.right:before {
    left: unset;
    right: -20px;
}


/*=============================
セクションごとのCSS指定
===============================*/
.pageIndex .sectionTopics .textarea {
    font-weight: bold;
    color: black;
    text-decoration: underline;
    padding: 10px;
    min-height: 100px;
    display: flex;
    align-items: center;
}

.pageIndex .sectionTopics .DateListStyle2 {
    width: 950px;
    margin: 0 auto;
}

.pageIndex .sectionTopics .gxCard {
    border: none;
    padding: 0 10px;
}

.pageIndex .sectionNews {
    padding: 0 10px;
}

.pageIndex .sectionProjects .gridContainer {
    grid-template-columns: 100%;
}

.pageIndex .sectionInquiry {
    background: #def8d0;
    margin-inline: calc(50% - 50vw);
    padding: 50px;
    margin-top: 30px;
}

.pageIndex .sectionInquiry .ButtonStyle1 > a{
    background-color: #476637
}

@media screen and (max-width: 767px) {
    .pageIndex .section_about .gridContainer {
        grid-template-columns: 100%;
    }

    .pageIndex .sectionProjects .gridContainer {
        grid-template-columns: 56.4px minmax(280px, 1fr);
        gap: 0 15px;
    }

    .pageIndex .sectionProjects .gxSideOfBusiness {
        flex-direction: column;
        height: 100%;
    }

    .pageIndex .sectionProjects .gxSideOfBusiness li {
        width: 56.4px;
        height: calc(50% - 40px);
        background: linear-gradient(180deg, #8B8B8B 0%, #8B8B8B 50%,#EEEEEE 100%) no-repeat 50% 50% / 100% 100%;
        writing-mode: vertical-lr;
    }

    .pageIndex .sectionProjects .gxSideOfBusiness li:before {
        left: unset;
        top: -100%;
    }

    .pageIndex .sectionProjects .gxSideOfBusiness li.right:before {
        right: unset;
        bottom: -200%;
    }

    .pageIndex .sectionProjects .gxSideOfBusiness li.right {
        background: linear-gradient(180deg, #EEEEEE 0%,#8B8B8B 50%,#8B8B8B 100%) no-repeat 50% 50% / 100% 100%;
    }

    .pageIndex .sectionProjects .gxSideOfBusiness .ShowSP {
        display: none;
    }

    .pageIndex .sectionProjects .gxCard {
        width: 100%;
    }
}