@charset "utf-8";

/* -----------------------------------------------------------
    お申し込み後の流れ
-------------------------------------------------------------- */
.flow-area{
    padding: 80px 0;
    /* background-color: var(--blue1); */
    /* background: url(../img/bg-check-gray.png) repeat; */
    /* background: var(--pink); */
    background-color: var(--gray); 
}

#flow .flow-area{
    background-color: #fff;
}
/* -----------------------------------------------------------
    top-area
-------------------------------------------------------------- */
#flow .top-area{
    padding: 0 0 60px;
    position: relative;
}

#flow .top-area::before{
    position: absolute;
    content: "";
    background: url(../img/illust-consul.png) no-repeat center / cover;
    height: 222px;
    aspect-ratio: 270 / 252;
    right: 0;
    top: -60px;
    z-index: 1;
}
@media screen and (max-width: 768px) {
    .top-area {
        padding: 0 0 30px;
    }

    #flow .top-area{
        padding: 0 0 30px;
    }

    #flow .top-area::before{
        display: none;
    }

    .top-area .sec-catch {
        font-size: 2.2rem;
    }
}

/* -----------------------------------------------------------
    流れ
-------------------------------------------------------------- */

.flow-list{
    position: relative;
}


.flow-list::before{
    position: absolute;
    content: "";
    /* background: var(--main);
    width: 1px; */
    height: calc(100% - 40px);
    border-left: dashed 1px var(--main);
    left: 100px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

.flow-list .flow-item{
    /* display: flex;
    align-items: center;
    gap: 60px;
    margin: 0 0 60px; */
    display: grid;
    grid-template:
        "icon title"
        "icon text";
    grid-template-rows: auto auto;
    gap: 0 60px;
    margin: 0 0 60px;
    /* background-color: #fff;
    padding: 40px;
    border-radius: 20px; */
    position: relative;
    justify-content: flex-start;
}

.flow-list .flow-item:last-of-type{
    margin: 0;
}

.flow-list .flow-item .img{
    grid-area: icon;
    width: 200px;
    height: 200px;
    background-color: #F1F1F1;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#flow .flow-list .flow-item .img{
    background-color: var(--gray);
}

.flow-list .flow-item .img img{
    height: 100px;
    width: 100px;
    object-fit: contain;
    object-position: center;
}

.flow-list .flow-item .ttl-box{
    grid-area: title;
    align-self: end;
}

.flow-list .flow-item .txt-box{
    grid-area: text;
    align-self: start;
    /* width: calc(100% - 410px);
    width: calc(100% - 260px); */
}

.flow-list .flow-item .ttl-box .no{
    color: var(--main);
    font-family: var(--en2);
    font-size: 1.8rem;
}

.flow-list .flow-item .ttl-box .no span{
    letter-spacing: -0.08em;
    margin: 0 0 0 5px;
}

.flow-list .flow-item .flow-ttl{
    font-size: 2.8rem;
    margin: 0 0 10px;
    font-weight: bold;
    line-height: 1.4;
}

.flow-list .flow-item .flow-ttl span{
    margin: 0 0 0 15px;
    background-color: var(--pink2);
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 1.6rem;
    color: #fff;
}

.cv-box{
	margin: 15px 0 0;
}

.cv-list{
    display: flex;
    gap: 40px;
    justify-content: flex-start;
}

.cv-list .cv-tel a{
    font-family: var(--en);
	font-size: 3.0rem;
	padding: 0 0 0 50px;
}

.cv-list .cv-tel a::before{
	width: 42px;
    height: 30px;
	top: 0;
}

.cv-list .cv-tel .txt{
	font-size: 1.5rem;
	margin: 8px 0 0;
    line-height: 1.2;
}


.cv-list a.cv-btn::before{
	left: 15px;
	font-size: 2.4rem;
}

.cv-list .catch{
	font-size: 1.4rem;
	margin: 0 0 2px;
}

.cv-list .ttl{
	font-size: 2.0rem;
}

@media screen and (max-width: 768px) {
    .flow-area{
        padding: 40px 20px 60px;
    }

    .flow-list::before{
        left: 37.5px;
    }
    .flow-list .flow-item{
        /* flex-wrap: wrap; */
        gap: 5px 15px;
        margin: 0 0 10px;
        grid-template:
        "icon title"
        "text text";
        grid-template-columns: 60px auto;
        justify-content: space-between;
        background-color: #fff;
        padding: 10px 15px;
        border-radius: 5px;
    }

    #flow .flow-list .flow-item{
        background-color: var(--gray);
    }

    .flow-list .flow-item .img{
        width: 60px;
        height: 60px;
    }

    .flow-list .flow-item .img img{
        width: 60px;
        height: 60px;
    }

    .flow-list .flow-item .ttl-box{
        width: 100%;
        align-self: center;
    }

    .flow-list .flow-item .ttl-box .no{
        font-size: 1.6rem;
    }

    .flow-list .flow-item .txt-box{
        width: 100%;
    }

    .flow-list .flow-item .flow-ttl{
        font-size: 1.8rem;
        font-size: 2.0rem;
        /* margin: 0 0 15px;  */
    }

    .flow-list .flow-item .flow-ttl span{
        font-size: 1.2rem;
        font-weight: 500;
        min-width: 58px;
        text-align: center;
        display: inline-block;
        padding: 5px 7px;
        margin: 0 0 0 10px;
    }

    .cv-list{
        flex-wrap: wrap;
        gap: 15px;
    }


}


