/* 第3階層CSS */

/* 初期ブレンドモードなし */
.header {
    mix-blend-mode: normal;
}
.header__logo svg {
    color: #fff;
}
.gnav__link {
    color: #fff;
    mix-blend-mode: normal;
}
.headerDropdownButton span {
    background-color: #fff;
    mix-blend-mode: normal;
}

.header.is-scroll .header__logo svg {
    color: #000;
}
.header.is-scroll .gnav__link {
    color: #000;
}
.header.is-scroll .headerDropdownButton span {
    background-color: #000;
}

.subpageHead__bg--black {
    width: 100vw;
}

@media (max-width: 48rem) {
    .headerDropdownButton span {
        background-color: var(--color-text-white);
    }

    .header.is-scroll .headerDropdownButton span {
        background-color: var(--color-text-base);
    }
}
@media (max-width: 48rem) {
    .subpageHead {
        height: 100%;
    }
}

.subpageTitle {
    color: var(--color-text-white);
}

.subpageTitle__en {
    font-size: clamp(3.25rem, 2.282rem + 4.13vw, 6rem);
}

.subpageHead__square {
    height: 100%;
    left: 9%;
    position: absolute;
    top: 7%;
    width: 100%;
    width: 86%;

    --rect-delay-1: 0.2s;
    --rect-delay-2: 0.4s;
    --rect-delay-3: 0.6s;
    --rect-delay-4: 0.8s;
    --rect-delay-5: 1s;
    --rect-delay-6: 1.2s;

    --rect-opacity-1: 0.4;
    --rect-opacity-2: 0.4;
    --rect-opacity-3: 0.6;
    --rect-opacity-4: 0.6;
    --rect-opacity-5: 0.2;
    --rect-opacity-6: 0.2;
}

.subpageHead__square rect {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
    visibility: hidden;
}

.subpageHead__square rect:nth-child(1) {
    animation-delay: var(--rect-delay-2);
    --opacity: var(--rect-opacity-1);
}

.subpageHead__square rect:nth-child(2) {
    animation-delay: var(--rect-delay-6);
    --opacity: var(--rect-opacity-2);
}

.subpageHead__square rect:nth-child(3) {
    animation-delay: var(--rect-delay-4);
    --opacity: var(--rect-opacity-3);
}

.subpageHead__square rect:nth-child(4) {
    animation-delay: var(--rect-delay-3);
    --opacity: var(--rect-opacity-4);
}

.subpageHead__square rect:nth-child(5) {
    animation-delay: var(--rect-delay-1);
    --opacity: var(--rect-opacity-5);
}

.subpageHead__square rect:nth-child(6) {
    animation-delay: var(--rect-delay-5);
    --opacity: var(--rect-opacity-6);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        visibility: hidden;
    }
    100% {
        opacity: var(--opacity);
        visibility: visible;
    }
}

@media (max-width: 73.6875rem) {
    .subpageHead__square {
        left: 0;
        top: 9%;
        width: 100%;
    }
}

.subpageHead__square--sp {
    display: none;
}

@media (max-width: 48rem) {
    .subpageHead__square {
        display: none;
    }

    .subpageHead__square--sp {
        display: block;
        height: 100%;
        left: 0;
        position: absolute;
        top: 8.4vw;
        width: 100%;
    }
}

/* 実現できること　セクション */
.subpageWhat__contents {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
    margin-top: 3rem;
}

.subpageWhatCard {
    align-items: center;
    display: flex;
    flex: 1 1 50%;
    gap: 4.91228%;
    padding: 2.75rem 4rem;
}

.subpageWhatCard__img {
    display: block;
    flex: 0 1 30.0877%;
}

.subpageWhatCard__texts {
    flex: 1;
    font-family: var(--font-ibm);
}

.subpageWhatCard__title {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.3;
}

.subpageWhatCard__lists {
    margin-top: 1.25rem;
}

.subpageWhatCard__list {
    font-weight: 400;
    line-height: 1.42;
    padding-left: 0.875rem;
    position: relative;
}

.subpageWhatCard__list + .subpageWhatCard__list {
    margin-top: 0.5rem;
}

.subpageWhatCard__list p {
    font-weight: 400;
    margin-top: 0.125rem;
}

.subpageWhatCard__list::before {
    background: var(--color-orange);
    content: "";
    height: 0.375rem;
    left: 0;
    position: absolute;
    top: 0.5rem;
    width: 0.375rem;
}

@media (max-width: 48rem) {
    .subpageWhat__contents {
        gap: 2rem;
        margin-top: 2.25rem;
    }

    .subpageWhatCard {
        flex-direction: column;
        gap: 0;
        padding: 2.25rem;
    }

    .subpageWhatCard__texts {
        margin-top: 2.25rem;
    }

    .subpageWhatCard__title {
        font-size: 1rem;
    }

    .subpageWhatCard__list {
        font-size: 0.875rem;
    }

    .subpageWhatCard__list p {
        margin-top: 0.25rem;
    }
}

/* 黒背景のリード文章 */
.subpageLead {
    background: url(../../../images/common/bg-subpageLead--black.webp) no-repeat center center /
        cover;
}

.subpageLead__texts {
    color: var(--bgc-white);
    text-align: center;
}

.subpageLead__title {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.subpageLead__text {
    font-weight: 400;
    line-height: 1.8;
    margin-top: 2.5rem;
}

@media (max-width: 48rem) {
    .subpageLead__title {
        font-size: 1.75rem;
    }

    .subpageLead__text {
        font-size: 0.875rem;
        margin-top: 1.75rem;
    }
}

/* 第3階層共通タイトル */
.subpage__title {
    color: var(--color-orange);
    font-size: var(--text-4xl);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 0.9;
}

.subpage__subTitle {
    font-family: var(--font-ibm);
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.3;
    margin-top: 1.233rem;
    padding-left: 0.875rem;
    position: relative;
}

.subpage__subTitle::before {
    background: var(--color-orange);
    content: "";
    display: inline-block;
    height: 6px;
    left: 0;
    margin-right: 0.5rem;
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 6px;
}

/* その他のサービス　共通セクション */
.subpageService__zoom {
    display: none;
    margin: 1.5rem auto 0 auto;
}

.zoomButton {
    align-items: center;
    display: flex;
    gap: 0.25rem;
    justify-content: center;
}

.subpageService__icon {
    display: block;
}

.subpageService__dialog {
    align-items: center;
    border: none;
    box-shadow: 0 0 30px rgb(255 255 255/0.5);
    height: 50vh;
    left: 50%;
    overflow-x: scroll;
    padding: 0;
    padding-inline: 2rem;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
}

.subpageService__dialog::backdrop {
    backdrop-filter: blur(8px);
    background-color: rgba(0 0 0 / 0.3);
}

.subpageService__dialog-inner {
    align-content: center;
    display: flex;
    height: 100%;
    width: 48rem;
}

.dialog-img {
    object-fit: contain;
}

.dialog-img img {
    height: 100%;
    width: auto;
}

/* モーダルが表示されている時に背景をスクロールさせない */
html:has(dialog[open]) {
    overflow: hidden;
}

@media (max-width: 48rem) {
    .subpageService__zoom {
        align-items: center;
        display: flex;
        justify-content: center;
    }
}

/* その他のサービス　共通セクション */
.subpageOther {
    overflow-x: clip;
}

.subpage__container {
}

.subpageOther__contents {
    display: grid;
    gap: 4rem;
    grid-template-columns: repeat(auto-fit, minmax(21.0625rem, 1fr));
    margin-top: 6.1875rem;
    position: relative;
}

.subpageOtherCard {
    display: grid;
    gap: 0.375rem;
    grid-row: span 5;
    grid-template-rows: subgrid;
    margin: 0 auto;
    max-width: 100%;
}

.subpageOtherCard_img {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: auto;
    min-height: 337px;
    width: 100%;
}

.subpageOtherCard_img img {
    margin: auto;
    max-height: 337px;
    width: auto;
}
/* インフラソリューション */
.subpageOtherCard_img.--1 img {
    max-height: 303px;
}
/* アプリ */
.subpageOtherCard_img.--2 img {
    max-height: 337px;
}
/* システムコンサルティング */
.subpageOtherCard_img.--3 img {
    max-height: 246px;
}
/* ビジネスソリューション事業 */
.subpageOtherCard_img.--4 img {
    max-height: 337px;
}

@media (max-width: 48rem) {
    /* インフラソリューション */
    .subpageOtherCard_img.--1 img {
        max-height: 100%;
        width: 50.495%;
    }
    /* アプリ */
    .subpageOtherCard_img.--2 img {
        max-height: 100%;
        width: 45.94059%;
    }
    /* システムコンサルティング */
    .subpageOtherCard_img.--3 img {
        max-height: 100%;
        width: 60%;
    }
    /* ビジネスソリューション事業 */
    .subpageOtherCard_img.--4 img {
        max-height: 100%;
        width: 59.406%;
    }
}

.subpageOtherCard__tags {
    margin-top: 2.125rem;
}

.subpageOtherCard__tag {
    color: var(--color-orange);
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.subpageOtherCard__tag + .subpageOtherCard__tag {
    margin-top: 0.375rem;
}

.subpageOtherCard__title {
    align-items: center;
    display: flex;
    font-size: 1.7rem;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.subpageOtherCard__text {
    font-weight: 400;
    height: auto;
    margin-top: 0.375rem;
}

.subpageOtherCard__link {
    display: inline-block;
    margin-top: 1.125rem;
}

.overviewList__link {
    border-radius: var(--rounded-full);
    display: inline-grid;
    margin-top: 2.375rem;
    width: fit-content;
}

.overviewList__link rect {
    transition: fill 0.25s;
}

.overviewList__link path {
    transition: stroke 0.25s;
}

.overviewList__link:hover rect {
    fill: url(#paint0_linear_1546_33234);
}

.overviewList__link:hover path {
    stroke: var(--color-text-white);
}

@media (any-hover: hover) {
    .subpageOtherCard__link:hover {
    }
}

/* 第3階層四角オレンジ */
.overview__square {
    position: absolute;
    width: 3.7vw;
    z-index: -1;

    --position-1: -1.8rem auto auto 44.91226701%;
    --position-2: -2.2rem -0.5rem auto auto;
    --position-3: auto auto 20.5rem -0.5rem;
    --position-4: auto 25rem 12.5rem auto;
    --position-5: auto 0rem 10rem auto;
}

.overview__square.--1 {
    inset: var(--position-1);
}
.overview__square.--2 {
    inset: var(--position-2);
}
.overview__square.--3 {
    inset: var(--position-3);
}
.overview__square.--4 {
    inset: var(--position-4);
}
.overview__square.--5 {
    inset: var(--position-5);
}
.overview__square.--6 {
    display: none;
    inset: var(--position-6);
}

@media (max-width: 48rem) {
    .subpageOther__contents {
        gap: 1.75rem;
        grid-template-columns: 1fr;
        margin-top: 4rem;
    }

    .subpageOtherCard__title {
        font-size: 1.5rem;
    }

    .subpageOtherCard__tags {
        margin-top: 1.875rem;
    }

    .subpageOtherCard__link {
        margin-top: 0.875rem;
    }

    .subpageOtherCard_img {
        height: auto;
        max-width: 100%;
        min-height: auto;
    }

    .overview__square {
        width: 10vw;
    }
    .overview__square.--1 {
        --position-1: -5% 1rem auto auto;
        transform: translateX(-50%);
    }
    .overview__square.--2 {
        --position-2: 62% 0 auto auto;
    }
    .overview__square.--3 {
        --position-3: auto auto 21% 1.4rem;
    }
    .overview__square.--4 {
        --position-4: 31.5% 3rem auto auto;
    }
    .overview__square.--5 {
        --position-5: 3rem auto auto 0;
    }
    .overview__square.--6 {
        display: inline-block;
        --position-6: 34% auto auto 1rem;
    }
}

/* オレンジ背景セクション */
.subpageOverview {
    background: linear-gradient(0deg, #e14a21 0%, #ff9940 100%);
    color: var(--color-text-white);
}

.subpageOverview .subpage__title {
    color: var(--color-text-white);
}

.subpageOverview .subpage__subTitle::before {
    background: var(--color-text-white);
}

.subpageOverview__contents {
    margin-top: 4rem;
}

.subpageOverviewList {
    border-top: 2px solid rgba(255 255 255 / 0.5);
    display: flex;
    gap: 5.614%;
    padding-top: 2.25rem;
}

.subpageOverviewList + .subpageOverviewList {
    margin-top: 3rem;
}

.subpageOverviewList__head {
    display: flex;
    flex: 0 1 35%;
    gap: 0.75rem;
}
.subpageOverviewList__number {
    letter-spacing: -0.01em;
    margin-top: 0.5rem;
}

.subpageOverviewList__texts {
    flex: 1;
}

.subpageOverviewList__title {
    font-family: var(--font-ibm);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.subpageOverviewList__text {
    flex: 1;
    font-family: var(--font-ibm);
    font-weight: 400;
    line-height: 1.8;
}

.subpageOverviewList__border {
    background-color: rgba(255 255 255 / 0.08);
    border: 1px solid var(--color-text-white);
    border-radius: 0.5rem;
    font-family: var(--font-ibm);
    margin-top: 1rem;
    padding: 1rem 1.125rem;
}

.subpageOverviewList__border p {
    font-weight: 500;
    line-height: 1.8;
}

.subpageOverviewList__border p:nth-child(2) {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.6;
}

.subpageOverviewList__border li {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.6;
    padding: 0.125rem 0 0 0.875rem;
    position: relative;
}

.subpageOverviewList__border li::before {
    background: var(--bgc-white);
    content: "";
    display: inline-block;
    height: 0.375rem;
    left: 0;
    position: absolute;
    top: 0.6rem;
    width: 0.375rem;
}

@media (max-width: 48rem) {
    .subpageOverviewList {
        flex-direction: column;
        padding-top: 1rem;
    }

    .subpageOverviewList__head {
        display: block;
    }

    .subpageOverview__contents {
        margin-top: 2.25rem;
    }

    .subpageOverviewList__text {
        font-size: 0.875rem;
        margin-top: 1.25rem;
    }

    .subpageOverviewList__title {
        font-size: 1.5rem;
    }

    .subpageOverviewList__number {
        line-height: 48px;
        margin-top: 0;
    }
}

/* 私たちの強み　共通セクション */
.subpageStrength__contents {
    display: grid;
    gap: 3.508771929%;
    grid-template-columns: repeat(auto-fit, minmax(22.0625rem, 1fr));
    margin-top: 3rem;
}

.subpageStrengthCard {
    border: 1px solid var(--color-orange-light);
    border-radius: 1rem;
    display: grid;
    font-family: var(--font-ibm);
    gap: 1.5rem;
    grid-row: span 3;
    grid-template-rows: subgrid;
    padding: 2.5rem 1.75rem;
}

.subpageStrengthCard__img {
    margin: 0 auto;
    text-align: center;
}

.subpageStrengthCard__title {
    align-items: center;
    display: flex;
    font-size: 1.125rem;
    font-weight: 600;
    justify-content: center;
    margin-top: 1rem;
}

.subpageStrengthCard__text {
    font-weight: 400;
    line-height: 1.8;
}

@media (max-width: 48rem) {
    .subpageStrength__contents {
        gap: 2.25rem;
        grid-template-columns: 1fr;
        margin-top: 2.25rem;
    }

    .subpageStrengthCard {
        gap: 1rem;
        padding: 2rem 1.75rem;
    }

    .subpageStrengthCard__title {
        font-size: 1rem;
        margin-top: 0.75rem;
    }

    .subpageStrengthCard__text {
        font-size: 0.875rem;
    }
}

/* 導入事例　共通セクション */
.subpageCase {
    background: url(../../../images/business/bg__subpage--orange.webp) no-repeat center center /
        cover;
}

.subpageCase__head {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.subpageCase__contents {
    display: grid;
    gap: 3.552631578%;
    grid-template-columns: repeat(auto-fit, minmax(22.0625rem, 1fr));
    margin-top: 3rem;
}

.subpageCaseCard {
    background-color: rgba(255 245 236 / 0.8);
    border: 1px solid var(--color-orange-light);
    border-radius: 1rem;
    display: grid;
    font-family: var(--font-ibm);
    grid-row: span 3;
    grid-template-rows: subgrid;
    padding: 1.75rem;
}

.subpageCaseCard__title {
    align-items: center;
    display: flex;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
}

.subpageCaseCard__text {
    font-size: 0.875rem;
    font-weight: 400;
    height: auto;
    line-height: 1.6;
    margin-top: 1rem;
}

.subpageCaseCard__tags {
    column-gap: 0.375rem;
    display: flex;
    flex-wrap: wrap;
    margin-top: 1rem;
    row-gap: 0.5rem;
}

.subpageCaseCard__tag {
    color: var(--color-orange);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.subpageCase__button {
    margin-top: 2.25rem;
}

.subpageCase__button a {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    max-width: 18.9375rem;
}

@media (max-width: 48rem) {
    .subpageCase__contents {
        gap: 1.5rem;
        grid-template-columns: 1fr;
    }

    .subpageCaseCard {
        padding: 1.5rem;
    }

    .subpageCaseCard__title {
        font-size: 1.125rem;
    }

    .subpageCaseCard__tags {
        row-gap: 0.25rem;
    }

    .subpageCaseCard__tag {
        font-size: 0.75rem;
    }
}

@media (max-width: 71.25rem) {
    .tab-none {
        display: none;
    }
}
