

/* ----------------------------------------

- flowChart

---------------------------------------- */

.flowChart {
    position: relative;
}

.flowChart:after {
    content: "";
    display: block;
    width: 8px;
    height: 100%;
    background-color: #E2E2E2;
    position: absolute;
    top: 0;
    left: 92px;
    z-index: -10;
}

.flowChart .flowChartItem:not(:first-child) {
    margin-top: 112px;
}

@media screen and (max-width: 767px) {

    .flowChart {
    }

    .flowChart:after {
        display: none;
    }

    .flowChart .flowChartItem:not(:first-child) {
        margin-top: 80px;
    }

}

/* ----------------------------------------

- flowChartItem

---------------------------------------- */

.flowChartItem {
    display: flex;
    align-items: baseline;
    width: 100%;
    position: relative;
}

.flowChart .flowChartItem:not(:first-child):before {
    content: "";
    display: block;
    width: 177px;
    height: 60px;
    background: url("/wp-content/themes/kuiso/filesdir/images/common/bg_flow_arrow.png") no-repeat;
    background-size: contain;
    position: absolute;
    left: calc(50% + 120px);
    top: -80px;
    transform: translate(-50%, 0);
}

.flowChartItem .flowChartItem_flow {
    width: 184px;
    min-width: 184px;
    margin-right: 24px;
    text-align: center;
    font-weight: 700;
    padding: 6px 0 12px;
    background-color: #F2F0FB;
    line-height: 1.4;
}


.flowChartItem .flowChartItem_flow .flowChartItem_flow_step {
    font-size: 20px;
    color: #503F93;
}

.flowChartItem .flowChartItem_flow .flowChartItem_flow_step span {
    font-size: 28px;
}


.flowChartItem .flowChartItemContent {
    width: 100%;
    margin-left: auto;
}


/*flowChartItemContent*/
.flowChartItemContent > *:not(:first-child) {
    margin-top: 16px;
}

.flowChartItemContent .flowChartItemContent_title {
    font-size: 22px;
    font-weight: 700;
}

.flowChartItemContent .flowChartItemContent_img {

}


@media screen and (max-width: 767px) {

    .flowChartItem {
        display: block;
    }

    .flowChart .flowChartItem:not(:first-child):before {
        width: 88px;
        height: 30px;
        left: 50%;
        top: -56px;
    }

    .flowChartItem .flowChartItem_flow {
        width: 100%;
        min-width: inherit;
        display: flex;
        align-items: baseline;
        justify-content: center;
        margin-right: 0;
        font-size: 18px;
        padding: 6px 0 6px;
        margin-bottom: 16px;
    }

    .flowChartItem .flowChartItem_flow .flowChartItem_flow_step {
        font-size: 18px;
        color: #503F93;
    }

    .flowChartItem .flowChartItem_flow .flowChartItem_flow_step span {
        font-size: 24px;
    }

    .flowChartItem .flowChartItem_flow .flowChartItem_flow_text {
        margin-left: 8px;
    }

    /*flowChartItemContent*/
    .flowChartItemContent .flowChartItemContent_title {
        font-size: 18px;
    }

}
