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

/* ==================================================
   sec01 - サービスナビゲーション
================================================== */
.sec01.service-nav-section {
    margin: 200px 0;
}

.service-nav-section .inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    width: 85%;
    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: 200px;
    height: 200px;
}

.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: 200px;
    height: 200px;
    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%;
    height: 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 - サービス詳細リスト
================================================== */
.sec02.service-list {
    margin: 200px 0;
}

.service-list .inner {
    display: flex;
    flex-direction: column;

    gap: 80px;
}

/* 各サービスブロック */
.service-block {
    display: flex;
    flex-direction: column;
    padding: 50px;
    border-radius: 15px;
    background-color: #f4f8f9;

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

.service-number {
    margin-bottom: 15px;
    color: #0065a1;
    font-size: 2.4rem;
    font-family: "October Condensed", sans-serif;
}

.service-title {
    margin-bottom: 75px;
    color: #0065a1;
    font-size: 3.6rem;
    font-family: "LiHei Pro", sans-serif;
}

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

.service-text {
    display: flex;
    flex: 0 0 60%;
    flex-direction: column;
    color: #333333;
    font-size: 2.1rem;

    gap: 50px;
}

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

.service-description-title {
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 2.1rem;
    font-family: biz-udgothic, system-ui, sans-serif;
}

.service-description-text {
    font-size: 2.1rem;
    font-family: biz-udgothic, system-ui, sans-serif;
    letter-spacing: -.1rem;
}

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

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

/* ==================================================
   Tablet (1025px以下)
================================================== */
@media (max-width: 1025px) {
    .sec01.service-nav-section {
        margin: 150px 0;
    }

    .service-nav-section .inner {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

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

    .service-nav-section .btn .circle-arrow {
        width: 100px;
        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: 22px;
        height: 4px;
        transform-origin: calc(100% - 2px) 50%;
    }

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

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

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

    .sec02.service-list {
        margin: 150px 0;
    }

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

    .service-block {
        padding: 40px 30px;
        width: 100%;
    }

    .service-title {
        margin-bottom: 50px;
        font-size: 3rem;
    }

    .service-content {
        flex-direction: column;

        gap: 30px;
    }

    .service-text {
        flex: 1;
        width: 100%;

        gap: 40px;
    }

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

/* ==================================================
   Mobile (767px以下)
================================================== */
@media (max-width: 767px) {
    .sec01.service-nav-section {
        margin: 100px 0;
    }

    .service-nav-section .inner {
        gap: 30px;
    }

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

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

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

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

    .service-nav-section .btn .btn-text {
        left: auto;
        width: 200px;
        height: 200px;

        filter: none;
    }

    .service-nav {
        flex-direction: column;

        gap: 16px;
    }

    .service-nav-item {
        flex: 1;
        padding: 20px;
    }

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

    .section-divider {
        margin: 0;
    }

    .sec02.service-list {
        margin: 100px 0;
    }

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

    .service-block {
        padding: 30px 20px;
    }

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

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

    .service-text {
        font-size: 1.6rem;

        gap: 30px;
    }

    .service-description-title {
        font-size: 1.8rem;
    }

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

    .service-content img {
        max-width: 100%;
    }
}