/* ----------------------------------------

- flowChart

---------------------------------------- */

.flowChart {
    position: relative;
    overflow: hidden;
}

.flowChart .flowChart_item:not(:first-child) {
    margin-top: 96px;
}

.flowChart .flowChart_item .flowChart_item_title {
    font-size: 24px;
    font-weight: 700;
    color: #503F93;
    background-color: #F2F0FB;
    padding: 8px 24px;
}


@media screen and (max-width: 767px) {

    .flowChart {
    }

    .flowChart:after {
        display: none;
    }

    .flowChart .flowChart_item:not(:first-child) {
        margin-top: 32px;
    }


    .flowChart .flowChart_item .flowChart_item_title {
        font-size: 18px;
        padding: 6px 12px;
    }

}

/* ----------------------------------------

- flowChartList

---------------------------------------- */

.flowChartList {
    margin-top: 40px;
    margin-left: 148px;
}


@media screen and (max-width: 767px) {

    .flowChartList {
        margin-left: 48px;
    }

}


/* flowChartListItem
------------------------------------*/

.flowChartListItem {
    position: relative;
}

.flowChartListItem: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: 50%;
    top: -80px;
    transform: translate(-50%, 0);
}


.flowChartListItem:after {
    content: "";
    display: block;
    width: 8px;
    height: calc(100% + 224px);
    background-color: #E2E2E2;
    position: absolute;
    top: -96px;
    left: -72px;
    z-index: -10;
}


/*flowChartListItem_main*/
.flowChartListItem:not(:first-child) {
    margin-top: 96px;
}

.flowChartListItem .flowChartListItem_main {
    border: 4px solid #E2E2E2;
}

.flowChartListItem .flowChartListItem_main .flowChartListItem_main_title {
    background-color: #E2E2E2;
    display: flex;
    align-items: center;
    padding: 8px 32px;
    font-size: 22px;
    font-weight: 700;
    position: relative;
    line-height: 1.4;
}

.flowChartListItem .flowChartListItem_main .flowChartListItem_main_title .flowChartListItem_main_title_border {
    display: none;
}

.flowChartListItem.flowChartListItem-last .flowChartListItem_main .flowChartListItem_main_title .flowChartListItem_main_title_border {
    display: block;
    position: absolute;
    content: "";
    background-color: #E2E2E2;
    z-index: -10;
    width: 8px;
    height: calc(50% + 8px);
    top: -4px;
    left: -76px;
}


.flowChartListItem .flowChartListItem_main .flowChartListItem_main_title:after {
    content: "●●●";
    position: absolute;
    width: 40px;
    text-align: center;
    left: -56px;
    color: #E2E2E2;
    top: 50%;
    transform: translate(0, -50%);
}

.flowChartListItem .flowChartListItem_main .flowChartListItem_main_title > img {
    width: 28px;
    margin-right: 12px;
}

.flowChartListItem .flowChartListItem_main .flowChartListItem_main_content {
    padding: 32px;
}

.flowChartListItem .flowChartListItem_main .flowChartListItem_main_content > *:not(:first-child) {
    margin-top: 24px;
}

/*flowChartListItem_sub*/
.flowChartListItem .flowChartListItem_sub {
    /*border: 4px solid #E2E2E2;*/
    /*padding: 32px;*/
    margin-top: 80px;
}

/*last*/
.flowChartListItem.flowChartListItem-last:after {
    display: none;
}

.flowChartListItem.flowChartListItem-last .flowChartListItem_main .flowChartListItem_main_title:before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    top: calc(50% - 8px);
    background-color: #E2E2E2;
    left: -80px;
    position: absolute;
}

@media screen and (max-width: 767px) {

    .flowChartListItem:not(:first-child):before {
        content: "";
        display: block;
        width: 88px;
        height: 30px;
        top: -48px;
    }

    .flowChartListItem:after {
        width: 4px;
        height: calc(100% + 160px);
        top: -96px;
        left: -32px;
        z-index: -10;
    }

    .flowChartListItem.flowChartListItem-last:after {
        /*width: 12px;*/
        /*height: 12px;*/
        /*top: 14px;*/
        /*left: -36px;*/
    }

    /*flowChartListItem_main*/
    .flowChartListItem:not(:first-child) {
        margin-top: 64px;
    }

    .flowChartListItem .flowChartListItem_main {
        border-width: 2px;
    }

    .flowChartListItem .flowChartListItem_main .flowChartListItem_main_title {
        font-size: 14px;
        padding: 8px 16px;
    }

    .flowChartListItem .flowChartListItem_main .flowChartListItem_main_title > img {
        width: 20px;
        margin-right: 8px;
    }

    .flowChartListItem .flowChartListItem_main .flowChartListItem_main_title:after {
        width: auto;
        left: -24px;
        font-size: 10px;
    }

    .flowChartListItem .flowChartListItem_main .flowChartListItem_main_content {
        padding: 16px;
    }

    .flowChartListItem .flowChartListItem_main .flowChartListItem_main_content > *:not(:first-child) {
        margin-top: 12px;
    }

    /*flowChartListItem_sub*/
    .flowChartListItem .flowChartListItem_sub {
        margin-top: 40px;
    }

    .flowChartListItem.flowChartListItem-last .flowChartListItem_main .flowChartListItem_main_title .flowChartListItem_main_title_border {
        width: 4px;
        top: -4px;
        left: -34px;
    }

    .flowChartListItem.flowChartListItem-last .flowChartListItem_main .flowChartListItem_main_title:before {
        content: "";
        display: block;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        top: calc(50% - 6px);
        left: -37px;
        position: absolute;
    }

}


/* self
------------------------------------*/

/*flowChartListItem_main*/
.flowChartListItem.flowChartListItem-self .flowChartListItem_main {
    border-color: #F78724;
}

.flowChartListItem.flowChartListItem-self .flowChartListItem_main .flowChartListItem_main_title {
    background-color: #F78724;
    color: #fff;
}


.flowChartListItem.flowChartListItem-self .flowChartListItem_main .flowChartListItem_main_title:after {
    color: #FED5B1;
}


/*　self　*/
.flowChart .flowChart_item.flowChart_item-self {
    margin-top: 96px;
}


.flowChart .flowChart_item.flowChart_item-self .flowChart_item_title {
    background-color: #F78724;
    color: #fff;
}

/* ----------------------------------------

- stepChart

---------------------------------------- */

.stepChart {
    position: relative;
}

.stepChart:after {
    content: "";
    display: block;
    width: 8px;
    height: 100%;
    background-color: #E2E2E2;
    position: absolute;
    top: 0;
    left: 92px;
    z-index: -10;
}

.stepChart .stepChartItem:not(:first-child) {
    margin-top: 112px;
}

@media screen and (max-width: 767px) {

    .stepChart {
    }

    .stepChart:after {
        display: none;
    }

    .stepChart .stepChartItem:not(:first-child) {
        margin-top: 80px;
    }

}

/* ----------------------------------------

- stepChartItem

---------------------------------------- */

.stepChartItem {
    display: flex;
    width: 100%;
    position: relative;
}

.stepChart .stepChartItem: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);
}

.stepChartItem .stepChartItem_flow {
    width: 184px;
    min-width: 184px;
    margin-right: 24px;
    text-align: center;
    font-weight: 700;
    padding: 6px 0 6px;
    background-color: #F2F0FB;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 68px;
}


.stepChartItem .stepChartItem_flow .stepChartItem_flow_step {
    font-size: 20px;
    color: #503F93;
}

.stepChartItem .stepChartItem_flow .stepChartItem_flow_step span {
    font-size: 28px;
}


.stepChartItem .stepChartItemContent {
    width: 100%;
    margin-left: auto;
}


.stepChartItem .stepChartItem_flow.extend {
    height: 102px;
}

.stepChartItem .stepChartItem_flow.extend2 {
    height: 120px;
}

/*stepChartItemContent*/
.stepChartItemContent > *:not(:first-child) {
    margin-top: 24px;
}

.stepChartItemContent .stepChartItemContent_title {
    font-size: 22px;
    font-weight: 700;
    /*margin-top: 12px;*/
}

.stepChartItemContent .stepChartItemContent_img {

}


@media screen and (max-width: 767px) {

    .stepChartItem {
        display: block;
    }

    .stepChart .stepChartItem:not(:first-child):before {
        width: 88px;
        height: 30px;
        left: 50%;
        top: -56px;
    }

    .stepChartItem .stepChartItem_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;
    }

    .stepChartItem .stepChartItem_flow .stepChartItem_flow_step {
        font-size: 18px;
        color: #503F93;
    }

    .stepChartItem .stepChartItem_flow .stepChartItem_flow_step span {
        font-size: 24px;
    }

    .stepChartItem .stepChartItem_flow .stepChartItem_flow_text {
        margin-left: 8px;
    }

    /*stepChartItemContent*/
    .stepChartItemContent .stepChartItemContent_title {
        font-size: 18px;
    }

    .stepChartItemContent_text.link a {
        text-decoration: underline;
    }

    .stepChartItemContent_text.link a:hover {
        text-decoration: none;
        color: #1a0dab;
    }

    .stepChartItem .stepChartItem_flow {
        height: auto;
    }

    .stepChartItem .stepChartItem_flow.extend {
        height: auto;
    }

    .stepChartItem .stepChartItem_flow.extend2 {
        height: auto;
    }
}


/* ----------------------------------------

- module

---------------------------------------- */

.role_self {
    color: #F78724;
    font-weight: 700;
}

.role_staff {
    color: #2FA811;
    font-weight: 700;
}

.role_kuiso {
    color: #0C2A62;
    font-weight: 700;
}

.role_applicant {
    color: #1B79BC;
    font-weight: 700;
}

.stepChartItemContent_text.link a {
    text-decoration: underline;
}

.stepChartItemContent_text.link a:hover {
    text-decoration: none;
    color: #1a0dab;
}

.btn-area {
    display: flex;
    justify-content: center;
}

.button-56 {
    align-items: center;
    background-color: #fee6e3;
    border: 2px solid #111;
    border-radius: 8px;
    box-sizing: border-box;
    color: #111;
    cursor: pointer;
    display: flex;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: bold;
    height: 48px;
    justify-content: center;
    line-height: 18px;
    max-width: 600px;
    padding: 0 25px;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-56:after {
    background-color: #111;
    border-radius: 8px;
    content: "";
    display: block;
    height: 48px;
    left: 0;
    width: 100%;
    position: absolute;
    top: -2px;
    transform: translate(8px, 8px);
    transition: transform .2s ease-out;
    z-index: -1;
}

.button-56:hover:after {
    transform: translate(0, 0);
}

.button-56:active {
    background-color: #ffdeda;
    outline: 0;
}

.button-56:hover {
    outline: 0;
}

@media (min-width: 768px) {
    .button-56 {
        padding: 0 40px;
    }
}

.btn-desc {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 12px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #000;
    width: 140px;
}

.btn-desc:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    border: 8px solid transparent;
    border-top: 8px solid #000;
    margin-left: -8px;
}

.button-56:hover .btn-desc {
    display: inline-block;
    top: -54px;
    left: auto;
}

.hintBox {
    position: relative;
    display: inline-block;
    margin: 1.5em 0;
    padding: 7px 10px;
    min-width: 120px;
    max-width: 100%;
    color: #555;
    font-size: 16px;
    background: #FFF;
    border: dashed 3px #4472C4;
    box-sizing: border-box;
    border-radius: 8px;
}

.hintBox:before {
    content: "";
    position: absolute;
    top: -24px;
    left: 50%;
    margin-left: -15px;
    border: 12px solid transparent;
    border-bottom: 12px solid #FFF;
    z-index: 2;
}

.hintBox:after {
    content: "";
    position: absolute;
    top: -30px;
    left: 50%;
    margin-left: -17px;
    border: 14px solid transparent;
    border-bottom: 14px solid #4472C4;
    z-index: 1;
}

.hintBox p {
    margin: 0;
    padding: 0;
}

.accent_border {
    border: solid 4px #F2F0FB;
    padding: 8px 16px;
}

.text-center {
    text-align: center;
}
