/* 事業・サービス（app.css の .background-light-dark !important より後に読み込む） */
.services-section-wrap {
    background-color: #fafcfe !important;
}

.services-section__body {
    overflow-x: clip;
}

.services-section-wrap .text-heading-small-large.services-section__heading .large {
    color: #1a202c !important;
}

.services-row {
    max-width: 100%;
    min-width: 0;
}

.services-row__track {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.services-row__category {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 80, 180, 0.1);
}

.services-row__connector--lead {
    flex: 0 0 clamp(20px, 3vw, 36px);
    width: clamp(20px, 3vw, 36px);
    height: 0;
    margin-top: 37px;
    border-top: 2px dotted currentColor;
    opacity: 0.5;
    align-self: flex-start;
}

.services-row__items {
    display: grid;
    flex: 1;
    grid-template-columns: repeat(auto-fill, 136px);
    gap: 50px 36px;
    align-items: start;
    min-width: 0;
    padding-left: 4px;
}

.services-row--web .services-row__category { background: #4a90e2; }
.services-row--web .services-row__connector--lead { color: #4a90e2; }
.services-row--web .service-item__click { color: #4a90e2; }

.services-row--system .services-row__category { background: #5ec4b6; }
.services-row--system .services-row__connector--lead { color: #5ec4b6; }
.services-row--system .service-item__click { color: #5ec4b6; }

.services-row--ai .services-row__category { background: #8b7fd4; }
.services-row--ai .services-row__connector--lead { color: #8b7fd4; }
.services-row--ai .service-item__click { color: #8b7fd4; }

.services-row--design .services-row__category { background: #f08a7a; }
.services-row--design .services-row__connector--lead { color: #f08a7a; }
.services-row--design .service-item__click { color: #f08a7a; }

.services-row__category-icon {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.service-item {
    width: 136px;
    padding-top: 0;
}

.service-item__trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: calc(76px + 14px + 1.35em + 10px + 1em + 6px);
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-align: center;
}

.service-item__head {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    flex-shrink: 0;
}

.service-item__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border: none !important;
    outline: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 60, 120, 0.07);
}

.service-item__icon {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.service-item__modal-icon {
    display: inline-block;
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.services-row__category-label {
    margin-top: 10px;
}

.service-item__label {
    display: block;
    margin-top: 14px;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1a202c;
    white-space: nowrap;
}

.service-item__click {
    display: block;
    margin-top: 10px;
    margin-bottom: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: lowercase;
}

@media (max-width: 900px) {
    .services-row__track {
        flex-direction: column;
        align-items: center;
    }

    .services-row__connector--lead {
        display: none;
    }

    .services-row__items {
        grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
        justify-items: center;
        padding-left: 0;
    }

    .service-item {
        width: 100%;
        max-width: 136px;
    }

    .service-item {
        margin: 0 0 14px;
    }
}
