@charset "utf-8";




.flow01.flow_common {
    margin-bottom: 3em
}

.flow01.flow_common .text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.flow_common h3 {
    width: fit-content;
    border-radius: .25em;
    padding: .25em 1em;
    background: var(--c_red);
    color: #fff;
    text-align: center;
    margin: 0 auto 2em;
    position: relative;
}

.flow_common h3::after {
    content: "";
    display: block;
    width: .65em;
    height: .5em;
    background-color: var(--c_red);
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
    position: absolute;
    bottom: -.5em;
    left: 50%;
    transform: translateX(-50%);
    margin: auto;
}




.flow_common .list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
    position: relative;
}

.flow_common .list::before {
    content: "";
    background: var(--c_main);
    width: 100%;
    height: .25em;
    position: absolute;
    top: 0;
    left: 0;
}

.flow_common .list li {
    background: var(--c_lbln);
    padding: .5em .75em;
    border-radius: var(--br10);
    position: relative;
    margin-top: 3em;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}


.flow_common .list li::before {
    content: "";
    background: var(--c_main);
    width: 1em;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    position: absolute;
    top: -3.4em;
    left: 50%;
    transform: translateX(-50%);
    margin: auto;
}

.flow_common .list li::after {
    content: "";
    border-left: 4px dotted var(--c_main);
    height: 3em;
    position: absolute;
    top: -3.4em;
    left: 50%;
    transform: translateX(-50%);
    margin: auto;
}


.flow_common li.box {
    background: var(--c_sub);
    color: #fff;
}

.flow_common li.flex_list {
    flex-direction: column;
}

.flow_common .list li dl dt {
    background: var(--c_bln);
    color: #fff;
    padding: .125em;
    border-radius: var(--br10);
    margin-bottom: .25em;
}


.sec_04 .list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
}

.sec_04 .list li {
    border: 2px solid var(--c_main);
    border-radius: var(--br20);
}

.sec_04 .list li h3 {
    background: var(--c_main);
    padding: .25em;
    border-radius: 16px 16px 0 0;
    color: #fff;
    margin-bottom: 0;
}

.sec_04 .list li h3+div {
    padding: 1.5em 1.75em;
}

.sec_04 .list li .img_area {
    margin-bottom: 1em;
}

.sikaku_box {
    margin: 4rem 0;
}


@media (max-width: 799px) {

    .flow_common {
        width: 70%;
        max-width: 460px;
        margin: auto;
    }

    .flow_common .list {
        grid-template-columns: repeat(1, 1fr);
        gap: 2.5em;
    }

    .flow_common .list::before {
        width: .25em;
        height: 100%;
        left: -15%;
    }

    .flow_common .list li {
        margin-top: 0;
    }

    .flow_common .list li::before {
        width: 1em;
        top: 50%;
        left: calc(-15% - .385em);
        transform: translateY(-50%) translateX(0);
    }

    .flow_common .list li::after {
        content: "";
        border-top: 4px dotted var(--c_main);
        border-left: none;
        width: 2em;
        height: 0;
        position: absolute;
        top: 50%;
        left: -15%;
        transform: translateY(-50%) translateX(0);
    }






    .sec_04 .list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5em;
    }




}


@media (max-width: 599px) {


    .sec_04 .list {
        grid-template-columns: repeat(1, 1fr);
    }

    .sec_04 .list li h3 {
        border-radius: 6px 6px 0 0;
    }

}