.shift-services-page {
    font-family: aktiv-grotesk, sans-serif;
    color: #000;
    background-color: #FFFFFF;
}

.shift-services-page img {
    max-width: 100%;
}

.shift-services-page .page-padding {
    padding-left: 1.6rem;
    padding-right: 1.6rem;
}

.shift-services-page .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.shift-services-page .header-image {
    position: relative;
    height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shift-services-page .header-image h1 {
    position: relative;
    color: #fff;
    font-size: 40px;
}

.shift-services-page .navy-blue {
    color: #10346F;
}

.shift-services-page .dark-burgundy {
    color: #58020C;
}

.shift-services-page .navy-blue-bg {
    background-color: #10346F;
}

.shift-services-page .dark-burgundy-bg {
    background-color: #58020C;
}

.shift-services-page .pale-gray {
    color: #EEEEEE;
}

.shift-services-page .pale-gray-bg {
    background: #EEEEEE;
}

.shift-services-page .white {
    color: #FFFFFF;
}

.shift-services-page .mv-title {
    font-size: clamp(3.2rem, -0.278rem + 5.565vw, 6.4rem);
    line-height: 3.6rem;
    letter-spacing: normal;
}

.shift-services-page .service-text-center {
    text-align: center;
}

.shift-services-page .mb-23 {
    margin-bottom: 2.3rem;
}

.shift-services-page .mb-25 {
    margin-bottom: 2.5rem;
}

.shift-services-page .section-detail-p {
    font-size: 1.6rem;
    line-height: 2.2rem;
}

.shift-services-page .bold-intro {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 2rem;
    line-height: 2rem;
}

.shift-services-page .section-intro-border-bottom {
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #333333;
}

.shift-services-page .service-overview {
    background-color: #FFFFFF;
}

.shift-services-page .service-overview .mv-block {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 99.6rem;
    width: 100%;
}

.shift-services-page .so-header {
    background-image: url("https://images.unsplash.com/photo-1646215993365-125e6428e1dc");
    background-size: cover;
    background-position: center;
}

.shift-services-page .content-wrapper {
    padding: 0 1.6rem 1.6rem;
    max-width: 99.6rem;
    margin: auto;
    margin-block: 20rem 11rem;
}

@media (max-width: 767px) {
    .shift-services-page .service-overview .mv-block {
        top: 100%;
    }

    .shift-services-page .content-wrapper {
        margin-block: 40rem 0rem;
    }
}

.shift-services-page .section-title,
.shift-services-page .detail-title-box {
    text-align: center;
    color: #fff;
    padding: 0.8rem 1.2rem;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 3.1rem;
}

.shift-services-page .btn-gis {
    position: relative;
    width: calc(76% + 38px);
    margin: auto;
    transform: translateY(-50%);
    max-width: 28.6rem;
}

.shift-services-page .btn-consulting {
    position: relative;
    width: calc(76% + 38px);
    margin: 0 auto 2.3rem;
    max-width: 28.6rem;
}

.shift-services-page .section-block::after {
    margin-bottom: 4rem;
}

.shift-services-page .list-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3rem;
    font-size: 1.4rem;
    font-weight: 700;
    justify-content: center;
    align-items: center;
}

.shift-services-page .list-grid div,
.shift-services-page .list-grid p {
    position: relative;
    line-height: 16px;
    text-align: center;
}

.v-line-navy-blue::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 1px;
    height: 12px;
    background: #10346F;
    top: calc(100% + 0.65rem);
    transform: translateX(-50%);
}

.v-line-red-burgundy::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 1px;
    height: 12px;
    background: #58020C;
    top: calc(100% + 0.65rem);
    transform: translateX(-50%);
}

.v-line-2 {
    width: 0.1rem;
    height: 7.2rem;
    background: #333333;
}

.v-line-3 {
    width: 0.5rem;
    height: 4.5rem;
    background: #333333;
}

.break-sp span {
    display: block;
}

@media (min-width: 578px) {
    .break-sp span {
        display: inline;
    }
}

.shift-services-page .overview-text {
    font-size: 1.6rem;
    line-height: 2.2rem;
    margin-bottom: 5rem;
    margin-top: 2rem;
}

@media screen and (min-width: 768px) {
    .shift-services-page .overview-text {
        margin-top: 8.5rem;
    }
    .shift-services-page .mv-title {
        line-height: 7rem;
    }
}

.shift-services-page .section-detail {
    position: relative;
    background-color: #F2F2F2;
    padding-bottom: 6.1rem;
}

@media (max-width: 767px) {
    .shift-services-page .global-it-detail {
        padding-bottom: 2.5rem;
    }
}

.shift-services-page .detail-container {
    max-width: 99.6rem;
    margin-left: auto;
    margin-right: auto;
}

.shift-services-page .divider {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 3.5rem;
}

.shift-services-page .detail-intro {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 2.6rem;
    padding: 0 1.6rem;
    margin-bottom: 1.5rem;
}

.shift-services-page .service-row {
    padding: 0 0 1rem;
}

.shift-services-page .service-number {
    font-size: 10.7rem;
    line-height: 13.7rem;
    font-family: 'Aktiv Grotesk';
    max-width: 13.2rem;
    font-weight: 700;
}

.shift-services-page .service-title-box {
    padding: 1.2rem 0;
    margin-bottom: 2rem;
    border-top: 0.1rem solid #333333;
    border-bottom: 0.1rem solid #333333;
    font-size: 2rem;
    font-weight: 700;
}

.shift-services-page .service-title-box p {
    line-height: 2.4rem;
}

.shift-services-page .list-intro {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 2rem;
    line-height: 2rem;
}

.shift-services-page .bracket-box {
    font-size: 14px;
    font-weight: bold;
    position: relative;
    display: inline-block;
    padding: 0 1rem;
    text-align: center;
}

.shift-services-page .bracket-box::before {

    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0.3rem;
    height: 100%;
    border-top: 0.1rem solid #333;
    border-bottom: 0.1rem solid #333;
    border-left: 0.1rem solid #333;

}

.shift-services-page .bracket-box::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 0.3rem;
    height: 100%;
    border-top: 0.1rem solid #333;
    border-bottom: 0.1rem solid #333;
    border-right: 0.1rem solid #333;
}

.shift-services-page .content-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.shift-services-page .consulting-detail .content-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shift-services-page .content-section li {
    display: flex;
    gap: 8px;
    font-size: 1.4rem;
    align-items: center;
    line-height: 2.3rem;
}

.shift-services-page .dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #000;
}

.shift-services-page .consulting-header {
    position: relative;
    height: 260px;
}

.shift-services-page .full-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shift-services-page .white-box {
    background: #fff;
    padding: 24px;
    margin-bottom: 36px;
}

.shift-services-page .boxed-title {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 8px 0;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
}

.shift-services-page .sub-title {
    font-weight: bold;
    margin-bottom: 12px;
}

.shift-services-page .max-width {
    max-width: 1000px;
    margin: auto;
    padding: 0 24px 60px;
}

.shift-services-page .break-txt .br-sp {
    display: block;
}

.shift-services-page .global-it-detail .service-row-wrap {
    margin-top: 0;
    margin-bottom: 0;
}

@media screen and (min-width: 768px) {
    .shift-services-page .break-txt .br-pc {
        display: block;
    }

    .shift-services-page .list-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .list-grid .v-line-red-burgundy::after,
    .list-grid .v-line-navy-blue::after {
        left: auto;
        right: 0;
        top: calc(50% - 0.6rem);
        bottom: 0;
        transform: none;
    }

    .list-grid .v-line-navy-blue.nth-4::after,
    .list-grid:nth-child(4n)::after {
        display: none;
    }

    .shift-services-page .list-grid.dark-burgundy {
        grid-template-columns: repeat(2, auto);
    }

    .shift-services-page .list-grid .v-line-red-burgundy {
        padding-right: 2.5rem;
    }

    .shift-services-page .overview-text {
        font-size: 2rem;
        line-height: 3.3rem;
        text-align: center;
        letter-spacing: 0.9px;
    }

    .shift-services-page .detail-intro {
        font-size: 3rem;
        line-height: 3.8rem;
        text-align: center;
    }

    .shift-services-page .consulting-content,
    .shift-services-page .service-row-wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 32px;
        margin-top: 50px !important;
    }

    .shift-services-page .consulting-content {
        margin-bottom: 7rem;
    }

    .shift-services-page .consulting-content {
        margin: 70px auto;
    }


    .shift-services-page .line-center {
        text-align: center;
    }

    .shift-services-page .multi-line-center {
        width: max-content;
        margin: 0 auto;
    }
}


.shift-services-page .consulting-detail {
    font-family: 'Aktiv Grotesk';
    padding-bottom: 6.4rem;
    margin-bottom: 0;
}

.shift-services-page .consulting-detail .divider {
    margin-bottom: 2rem;
}

.shift-services-page .consulting-detail .content-wrapper {
    margin: 0 auto 0rem;
    padding-bottom: 0;
}

.shift-services-page .consulting-detail .consulting-overview p {
    font-size: 1.6rem;
    letter-spacing: 0.05em;
    line-height: 2.2rem;
}

.shift-services-page .consulting-detail-intro {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 2.6rem;
    padding: 0 1.6rem;
    margin-bottom: 1.5rem;
}

.shift-services-page .consulting-detail .service-number {
    color: #EEEEEE;
}

.shift-services-page .consulting-detail .section-header {
    text-align: center;
}

.shift-services-page .consulting-detail .content-wrapper.section-detail-p {
    max-width: 99.6rem;
    margin-left: auto;
    margin-right: auto;
}

.shift-services-page .consulting-detail .service-row {
    padding: 0;
}

/* Consulting title box — XD spec: border 442x100, text 269x80, font 28px bold, line-height 40 */
.shift-services-page .consulting-detail .service-title-box {
    max-width: 44.2rem;
    width: 100%;
    height: 8.3rem;
    font-size: 2.4rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0.1rem solid #333333;
    box-sizing: border-box;
    line-height: 3.5rem;
}

.shift-services-page .consulting-detail .section-detail-p {
    font-size: 1.4rem;
    line-height: 2rem;
    letter-spacing: 0.04em;
    margin-bottom: 2rem;
}

.shift-services-page .consulting-detail .content-wrapper.section-detail-p {
    margin-bottom: 0;
}

.shift-services-page .consulting-detail .bold-intro-02 {
    margin-bottom: 2.7rem;
}

/* consulting-content — PC only overrides */
@media screen and (min-width: 1024px) {
    .shift-services-page .global-it-detail .service-row-wrap {
        max-width: 99.7rem;
        padding: 0;
        column-gap: 13rem;
    }

    .shift-services-page .consulting-detail .divider {
        margin-bottom: 2.9rem;
    }

    .shift-services-page .btn-gis2 {
        width: 51.7rem;
        font-size: 4.2rem;
        line-height: 5.4rem;
        letter-spacing: 0.03em;
        max-width: unset;
        padding-bottom: 1.4rem;
        padding-top: 1.4rem;
    }

    .shift-services-page .consulting-detail .consulting-detail-intro {
        font-size: 3rem;
        line-height: 3.8rem;
        margin-bottom: 3.8rem;
    }

    .shift-services-page .consulting-detail .consulting-overview {
        padding: 0;
    }

    .shift-services-page .consulting-detail .consulting-overview p {
        font-size: 2rem;
        line-height: 3.24rem;
        text-align: center;
    }

    /* consulting-content wrapper — fixed 996px centered, top 70px bottom 85px */
    .shift-services-page .consulting-content.content-wrapper {
        font-family: 'Aktiv Grotesk';
        max-width: 99.6rem;
        margin-left: auto;
        margin-right: auto;
        margin-top: 7rem;
        margin-bottom: 2.1rem;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }

    /* Remove row padding for consulting to allow title box to match XD width */
    .shift-services-page .consulting-detail .service-row {
        padding: 0;
    }

    .shift-services-page .consulting-detail .service-row .section-detail-p,
    .shift-services-page .consulting-detail .service-row .service-content {
        padding-left: 1.6rem;
        padding-right: 1.6rem;
    }

    .shift-services-page .consulting-detail .service-number {
        justify-self: center;
        text-align: center;
    }

    .shift-services-page .consulting-detail .section-detail-p-01 {
        margin-bottom: 11.5rem;
    }

    .shift-services-page .consulting-detail .section-detail-p-02 {
        margin-bottom: 3.6rem;
    }

    .shift-services-page .consulting-detail .bold-intro-last {
        margin-bottom: 0.7rem;
    }
}

/* Consulting content — center vertical divider line (desktop only) */
.shift-services-page .consulting-content {
    position: relative;
    margin-bottom: 0;
}

@media screen and (min-width: 1024px) {
    .shift-services-page .content-wrapper {
        margin-block: 20rem 5rem;
    }

    .shift-services-page .service-title-box {
        font-size: 2.8rem;
        line-height: 3.2rem;
        letter-spacing: 0.03em;
    }

    .shift-services-page .service-title-box.font-noto-san {
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

    .shift-services-page .service-title-box.font-noto-san p {
        font-size: 2.8rem;
        line-height: 4rem;
        letter-spacing: unset;
    }

    .shift-services-page .content-section .list-intro-2 {
        margin-bottom: 1rem;
    }

    .shift-services-page .content-section .list-operation {
        margin-bottom: 1.5rem;
    }

    .shift-services-page .consulting-detail .service-title-box {
        height: 10rem;
    }

    .shift-services-page .consulting-content::after {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 1px;
        height: 100%;
        background-image: repeating-linear-gradient(to bottom,
                #333333 0px,
                #333333 3px,
                transparent 3px,
                transparent 6px);
    }

    .shift-services-page .list-intro-grid-pc {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}


.shift-services-page .consulting-detail .service-title-box p {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 4rem;
    text-align: center;
    width: 26.9rem;
    max-width: 100%;
}

.shift-services-page .consulting-detail .section-intro-border-bottom {
    margin-bottom: 2rem;
}

.shift-services-page .consulting-detail .content-section-01,
.shift-services-page .consulting-detail .content-section-01 ul {
    margin-bottom: 0;
}

.shift-services-page .consulting-detail .content-section li {
    align-items: baseline;
}


/* High priority css */
.shift-services-page .no-margin {
    margin: 0;
}

/* End css for service page */
.font-noto-san {
    font-family: 'Noto Sans JP';
}

.home .casesAllButton {
    width: 100%;
    max-width: 38rem;
    margin-inline: auto;
}

.home .insightAllButton {
    width: 100%;
    max-width: 38rem;
    margin-inline: auto;
}

:root {
    --swiper-theme-color: #333333;
    --swiper-pagination-bullet-width: 1.6rem;
    --swiper-pagination-bullet-height: 1.6rem;
}

.carousel-section {
    position: relative;
    padding: 6rem;
}

.insight-carousel .card {
    background: #FFFFFF;

}

.latest-cpt-carousel {
    padding-bottom: 6rem;
}

.swiper-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.6rem;
}

.insight-carousel .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
    background-color: #FFFFFF;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    width: 2.4rem;
    height: 2.4rem;
}

.latest-cpt-carousel .card {
    width: 100%;
}

@media (max-width: 768px) {
    .swiper-pagination {
        gap: 0.5rem;
    }

    .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
        width: 1.2rem;
        height: 1.2rem;
    }

    .swiper-pagination-bullet-active {
        width: 1.8rem;
        height: 1.8rem;
    }
}

.swiper-button-prev,
.swiper-button-next {
    display: none;
}

.swiper-button-next-out.disabled,
.swiper-button-prev-out.disabled {
    cursor: auto;
    opacity: .35;
    pointer-events: none;
}

.swiper-button-prev-out,
.swiper-button-next-out {
    color: #000;
    top: 50%;
    transform: translateY(-50%);
}

.swiper-button-prev-out {
    left: 2rem;
}

.swiper-button-next-out {
    right: 2rem;
}


.swiper-button-prev-out::after,
.swiper-button-next-out::after {
    content: '';
    width: 3rem;
    height: 3rem;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    display: block;

}

.swiper-button-prev-out,
.swiper-button-next-out {
    position: absolute;
}

.swiper-button-prev-out::after {

    transform: rotate(-135deg);
}


.swiper-button-next-out::after {
    transform: rotate(45deg);
}



.swiper-slide {
    display: flex;
    height: auto;
    /* Let parent control height */
}

.swiper-pagination {
    position: absolute;
    bottom: -30px;
    /* EXACTLY 30px below */
    left: 0;
    right: 0;
    text-align: center;
}

.cases-home-section,
.insight-home-section {
    display: none;
}

.cases-home-section:has(.carousel-section),
.insight-home-section:has(.carousel-section) {
    display: block;
}

.cases-detail-content,
.insight-detail-content {
    word-break: break-all;
    font-size: 2rem;
    line-height: 3.4rem;
    letter-spacing: 0.05em;
}

.home .partner-list-item-logo.eai img {
    height: 64px;
}