.after-service-wrap {
    background: url(../../img/top/fv-bg.jpg);
    background-size: cover;
    background-position: center;
    padding: 100px 0 140px;
}

.after-service-list {
    margin-top: 80px;
}

.after-service-item {
    background: #fff;
    border-radius: 30px;
    padding: 40px 50px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.after-service-item__content {
    width: 53%;
}

.after-service-item__head {
    display: flex;
    align-items: baseline;
    font-family: "Asap Condensed";
    color: var(--vk-color-text-body);
    margin-bottom: 20px;
    line-height: 1;
}

.after-service-item__head .en {
    font-size: 20px;
    margin-right: 15px;
    letter-spacing: 0.05em;
    font-family: "Asap Condensed Regular";
}

.after-service-item__head .num {
    font-size: 45px;
}

.after-service-item__title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
}

.after-service-item__desc {
    line-height: 1.8;
    margin-bottom: 0;
}

.after-service-item__img {
    width: 34%;
}

.after-service-item__img img {
    border-radius: 0;
    width: 100%;
    height: auto;
    display: block;
}

@media screen and (max-width: 767.98px) {
    .after-service-wrap {
        padding: 60px 0 100px;
    }

    .after-service-item {
        display: block;
        padding: 30px;
    }

    .after-service-item__content {
        width: 100%;
        margin-bottom: 30px;
    }

    .after-service-item__img {
        width: 100%;
    }

    .after-service-item__head {
        margin-bottom: 10px;
    }

    .after-service-item__title {
        font-size: 22px;
        margin-bottom: 20px;
    }
}

.after-service-flow {
    margin-top: 80px;
}

.flow-steps {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 60px;
}

.flow-step-item {
    width: 24%;
    background-color: #717171;
    color: #fff;
    padding: 15px 10px;
    text-align: center;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.4;
}


.flow-conversation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
    position: relative;
    padding: 0;
}

.flow-conv-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    gap: 15px;
}

.flow-bubble {
    background: #fff;
    color: #717171;
    padding: 20px 15px;
    border-radius: 10px;
    position: relative;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    width: 200px;
}

.flow-bubble::after {
    content: "";
    position: absolute;
    bottom: auto;
    left: auto;
    border-style: solid;
}

/*こっちはOK*/
.flow-bubble.bubble-right::after {
    border-width: 16px 24px 28px 25px;
    border-color: transparent #fff transparent transparent;
    bottom: -20px;
    right: 20px;
}

.flow-bubble.bubble-left::after {
    border-width: 16px 25px 28px 24px;
    border-color: transparent transparent transparent #fff;
    bottom: -20px;
    left: 20px;
}

.flow-conv-group.operator {
    width: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
}

.flow-conv-group.operator .flow-bubble {
    margin: 0;
}

.flow-icon {
    text-align: center;
}

.flow-icon img {
    width: 60px;
    height: 80px;
    margin-bottom: 10px;
    display: block;
    object-fit: contain;
}

.flow-label {
    font-size: 14px;
    color: #717171;
    font-weight: 500;
}

.customer .bubble-right {
    width: 118px;
}

.operator .bubble-left {
    width: 226px;
}

.operator .bubble-right {
    width: 272px;
}

.flow-footer {
    border-top: 1px solid #717171;
    border-bottom: 1px solid #717171;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
}

.flow-footer__text {
    font-size: 28px;
    color: #717171;
    letter-spacing: 0.2em;
    font-weight: 700;
    margin: 0;
}

@media screen and (max-width: 1199.98px) {
    .flow-steps {
        flex-wrap: wrap;
    }

    .flow-step-item {
        width: 48%;
        margin-bottom: 10px;
    }

    .flow-conversation {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .flow-conv-group {
        justify-content: center;
        width: 100%;
        max-width: 600px;
    }

    .flow-conv-group.operator {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 20px;
        width: 100%;
        max-width: 600px;
        justify-content: center;
        margin: 0 auto;
    }

    .flow-conv-group.operator .flow-icon {
        grid-column: 1;
        grid-row: 1 / 3;
        align-self: center;
        width: auto;
    }

    .flow-conv-group.operator .flow-bubble:nth-of-type(1) {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 20px;
    }

    .flow-conv-group.operator .flow-bubble:nth-of-type(2) {
        grid-column: 2;
        grid-row: 2;
        margin-bottom: 0;
    }

    .flow-conv-group.worker {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 20px;
        width: 100%;
        max-width: 600px;
        justify-content: center;
        margin: 0 auto;
    }

    .flow-conv-group.customer {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 20px;
        width: 100%;
        max-width: 600px;
        justify-content: center;
        margin: 0 auto;
    }

    .flow-conv-group.worker .flow-icon {
        grid-column: 1;
        align-self: center;
        width: auto;
    }

    .flow-conv-group.worker .flow-bubble {
        grid-column: 2;
        align-self: center;
        margin-bottom: 0;
    }

    .flow-conv-group.customer .flow-icon {
        grid-column: 2;
        align-self: center;
        width: auto;
    }

    .flow-conv-group.customer .flow-bubble {
        grid-column: 1;
        align-self: center;
        margin-bottom: 0;
    }

    .flow-bubble,
    .customer .bubble-right,
    .operator .bubble-left,
    .operator .bubble-right,
    .worker .bubble-left {
        width: auto;
        max-width: 100%;
    }

    .flow-conv-group.operator .flow-bubble.bubble-right::after {
        border-width: 16px 25px 28px 24px;
        border-color: transparent transparent transparent #fff;
        bottom: -20px;
        left: 20px;
    }
}

@media screen and (max-width: 767.98px) {
    .flow-step-item {
        width: 100%;
        margin-bottom: 0;
        padding: 10px 10px;
    }
}

/* CTA Section */

.page_cta {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.page_cta .page_cta_wrap {
    display: flex;
    flex-wrap: wrap;
    background: url(../../img/page/about-us/page_cta_bg.jpg) center center/cover no-repeat;
}

.page_cta .page_cta_wrap_l {
    width: 50%;
}

@media (max-width: 767.98px) {
    .page_cta .page_cta_wrap_l {
        order: 1;
        width: 100%;
    }
}

.page_cta .page_cta_wrap_l img {
    width: 100%;
    display: block;
}

.page_cta .page_cta_wrap_r {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 60px;
    color: #fff;
}

@media (max-width: 991.98px) {
    .page_cta .page_cta_wrap_r {
        padding-left: 2rem;
    }
}

@media (max-width: 767.98px) {
    .page_cta .page_cta_wrap_r {
        width: 100%;
        padding: 2rem;
    }
}

.page_cta_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 320px;
    height: 60px;
    border-radius: 50vh;
    position: relative;
    color: var(--vk-color-text-body);
    background: #fff;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.1em;
    transition: background-color 0.3s ease-out, color 0.3s ease-out, border-color 0.3s ease-out;
    padding-right: 16px;
}

.page_cta_btn::after {
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    background-color: var(--vk-color-text-body);
    border-radius: 50vh;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url("../../img/more.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 32px 32px;
    transition: background-color 0.3s ease-out, background-image 0.3s ease-out, transform 0.3s ease-out;
}

@media (max-width: 767.98px) {
    .page_cta_btn::after {
        width: 25px;
        height: 25px;
    }
}

.page_cta_btn:hover {
    background-color: var(--vk-color-text-body);
    color: #fff;
    opacity: 1;
}

.page_cta_btn:hover::after {
    background-color: #fff;
    background-image: url("../../img/more-w.svg");
    transform: translateY(-50%) translateX(3px);
}

@media (max-width: 767.98px) {
    .page_cta_btn {
        width: 230px;
        height: 48px;
        font-size: 14px;
    }

    .page_cta_btn::after {
        animation: page_cta_btn-icon-shoot 3s ease-out infinite;
    }
}

.page_cta_btn_wrap {
    border-top: 5px solid #fff;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

@media (max-width: 991.98px) {
    .page_cta_btn_wrap {
        border-top: 3px solid #fff;
    }
}

.page_cta_btn_wrap .item {
    width: calc((100% - 3px) / 4);
    display: flex;
    justify-content: center;
    align-items: center;
    background: #717171;
    color: #fff;
    height: 150px;
}

@media (max-width: 991.98px) {
    .page_cta_btn_wrap .item {
        height: 100px;
    }
}

@media (max-width: 767.98px) {
    .page_cta_btn_wrap .item {
        height: 90px;
        width: calc((100% - 1px) / 2);
    }

    .page_cta_btn_wrap .item:nth-child(3) {
        border-top: 1px solid #fff;
    }

    .page_cta_btn_wrap .item:nth-child(4) {
        border-top: 1px solid #fff;
    }
}

.page_cta_btn_wrap .item img {
    width: 32px;
    margin-left: 20px;
}

@media (max-width: 991.98px) {
    .page_cta_btn_wrap .item img {
        width: 20px;
        margin-left: 10px;
    }
}

@media (max-width: 767.98px) {
    .page_cta_btn_wrap .item img {
        width: 16px;
        margin-left: 4px;
    }
}