.header-nav .service .header-nav-item {
    border: 2px solid #21a4dc;
    border-radius: 25px;
}

/* ==================================================
   sec01 - サービスナビゲーション
================================================== */
.service-nav-section .inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    max-width: 100%;

    gap: 60px;
}

.service-nav-section .btn-wrap {
    display: inline-flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 10.42vw;
    height: 10.42vw;
}

.service-nav-section .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;

    will-change: transform, opacity;
}

.service-nav-section .btn::before {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    transform: translate(-50%, -50%);
    width: 75%;
    border-radius: 50%;
    background-color: #edea39;
    content: "";

    aspect-ratio: 1 / 1;
    pointer-events: none;
}

.service-nav-section .btn .circle-arrow {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 4px;
    margin: 0;
    border-radius: 9999px;
    background-color: #222222;
}

.service-nav-section .btn .circle-arrow::before, .service-nav-section .btn .circle-arrow::after {
    position: absolute;
    top: calc(50% - 2px);
    right: 0;
    width: 22px;
    height: 4px;
    border-radius: 9999px;
    background-color: #222222;
    content: "";

    transform-origin: calc(100% - 2px) 50%;
}

.service-nav-section .btn .circle-arrow::before {
    transform: rotate(45deg);
}

.service-nav-section .btn .circle-arrow::after {
    transform: rotate(-45deg);
}

.service-nav-section .btn-text {
    position: relative;
    left: 0;
    z-index: 1;
    width: 10.42vw;
    height: 10.42vw;
    animation: border-animation 15s linear infinite;

    pointer-events: none;
}

.service-nav-section .btn-text text {
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 0;

    fill: #222222;
}

@keyframes border-animation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* サービスナビ */
.service-nav {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: stretch;
    min-width: 0;

    gap: 20px;
}

.service-nav-item {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    padding: 3%;
    border-radius: 25px;
    box-sizing: border-box;
    color: inherit;
    text-decoration: none;
    transition: opacity .3s ease;
}

.service-nav-item h4 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    line-height: 1.4;
}

.service-nav-item img {
    width: 100%;
    max-width: 260px;
    height: auto;
    margin: auto;
}

.service-nav-item.service-bpo, .service-nav-item.service-dx {
    background-color: #97cfe1;
}

.service-nav-item.service-cs, .service-nav-item.service-ec {
    background-color: #faf3b9;
}

@media (min-width: 1026px) {
    .service-nav:hover .service-nav-item:not(:hover) {
        opacity: .4;
    }
}

/* ==================================================
   区切り線
================================================== */
.section-divider {
    width: 100%;
    height: 1px;
    margin: 0;
    background-color: #e5e5e4;
}

/* ==================================================
   sec02 - サービス詳細リスト
================================================== */
.service-list .inner {
    display: flex;
    flex-direction: column;

    gap: 60px;
}

/* 各サービスブロック（top .sec の文字サイズ・余白に合わせる） */
.service-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 48px;
    border-radius: 15px;
    background-color: #f4f8f9;

    scroll-margin-top: calc(var(--header-h, 0px) + 75px);
}

.service-number {
    margin-bottom: 12px;
    color: #0065a1;
    font-size: 1.5rem;
}

.service-title {
    margin-bottom: 60px;
    color: #0065a1;
    font-size: 2.5rem;
}

/* サービスコンテンツ */
.service-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.service-text {
    display: flex;
    flex: 0 0 60%;
    flex-direction: column;
    color: #333333;
    font-size: 1.5rem;
    font-weight: 100;
    text-align: justify;
    line-height: 2;

    gap: 40px;
}

.service-description {
    line-height: 2;
}

.service-description-title {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.6rem;
}

.service-description-text {
    font-size: 1.5rem;
    letter-spacing: -.05em;
}

.service-content img {
    flex: 0 0 25%;
    width: 25%;
    max-width: 360px;
    height: auto;
}

/* 04 通販(EC)事業：テキストは上揃え、画像は下揃え */
#service-ec .service-content {
    align-items: stretch;
}
#service-ec .service-content .service-text {
    align-self: flex-start;
}
#service-ec .service-content img {
    align-self: flex-end;
}

@media (min-width: 1026px) {
    .service-content img {
        position: sticky;
        top: var(--header-h, 100px);
    }
}

/* ==================================================
   Tablet (768〜1025px) - top.css のサイズ感に合わせる
================================================== */
@media (max-width: 1025px) and (min-width: 768px) {
    .service-nav-section .inner {
        flex-direction: column;
        align-items: center;
        gap: 36px;
    }

    .service-nav-section .btn-wrap {
        width: 180px;
        height: 180px;
    }

    .service-nav-section .btn .circle-arrow {
        width: 80px;
        height: 4px;
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .service-nav-section .btn .circle-arrow::before,
    .service-nav-section .btn .circle-arrow::after {
        top: calc(50% - 2px);
        width: 18px;
        height: 4px;
        transform-origin: calc(100% - 2px) 50%;
    }

    .service-nav-section .btn-text {
        width: 180px;
        height: 180px;
    }

    .service-nav-section .btn-text text {
        font-size: 1.6rem;
    }

    .service-nav {
        flex-wrap: wrap;
        width: 100%;
        gap: 18px;
    }

    .service-nav-item {
        flex: 0 0 calc(50% - 9px);
        padding: 2.5%;
    }

    .service-nav-item h4 {
        font-size: 1.7rem;
    }

    .service-list .inner {
        gap: 48px;
    }

    .service-block {
        padding: 36px 24px;
        width: 100%;
    }

    .service-number {
        font-size: 1.4rem;
    }

    .service-title {
        margin-bottom: 32px;
        font-size: 2.4rem;
    }

    .service-content {
        flex-direction: column;
        gap: 24px;
    }

    .service-text {
        flex: 1;
        width: 100%;
        font-size: 1.5rem;
        gap: 32px;
    }

    .service-description-title {
        margin-bottom: 16px;
        font-size: 1.5rem;
    }

    .service-description-text {
        font-size: 1.5rem;
    }

    .service-content img {
        flex: 1;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }
}

/* ==================================================
   Mobile (〜767px) - スマホは1列・コンパクトに
================================================== */
@media (max-width: 767px) {
    .service-nav-section .inner {
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }

    .service-nav-section .btn-wrap {
        width: 150px;
        height: 150px;
    }

    .service-nav-section .btn-text {
        width: 150px;
        height: 150px;
    }

    .service-nav-section .btn-text text {
        font-size: 1.4rem;
    }

    .service-nav-section .btn .circle-arrow {
        width: 70px;
        height: 3px;
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .service-nav-section .btn .circle-arrow::before,
    .service-nav-section .btn .circle-arrow::after {
        top: calc(50% - 1.5px);
        width: 14px;
        height: 3px;
        transform-origin: calc(100% - 1.5px) 50%;
    }

    .service-nav-section .btn .btn-text {
        left: auto;
        width: 150px;
        height: 150px;
        filter: none;
    }

    .service-nav {
        flex-direction: column;
        flex-wrap: nowrap;
        width: 100%;
        gap: 16px;
    }

    .service-nav-item {
        flex: 0 0 100%;
        padding: 4%;
    }

    .service-nav-item h4 {
        font-size: 1.6rem;
    }

    .service-nav-item img {
        max-width: 200px;
    }

    .section-divider {
        margin: 0;
    }

    .service-list .inner {
        gap: 40px;
    }

    .service-block {
        padding: 28px 20px;
        width: 100%;
    }

    .service-number {
        font-size: 1.3rem;
    }

    .service-title {
        margin-bottom: 24px;
        font-size: 2rem;
    }

    .service-content {
        flex-direction: column;
        gap: 20px;
    }

    .service-text {
        flex: 1;
        width: 100%;
        font-size: 1.4rem;
        line-height: 1.9;
        gap: 24px;
    }

    .service-description-title {
        margin-bottom: 12px;
        font-size: 1.45rem;
    }

    .service-description-text {
        font-size: 1.4rem;
    }

    .service-content img {
        flex: 1;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}