@charset "utf-8";

main.flow .pagetop{
	background-image: url(../images/flow_bg_sp.webp);
}

main.flow  img{
	margin: 0 auto 1rem;
	display: block;
    width: 100%;
}
.h3{
	margin: 2rem auto;
}
dl{
    margin-left: .5rem;
}

dt{
    font-weight: bold;
}
dd{
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--main-color);
    margin-bottom: .5rem;
}

.flowlist figure{
    margin: 0 -1rem 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 8rem;
}
.flowlist{
    position: relative;
}
.flowlist::before{
    content: "";
    z-index: -1;
    background: var(--main-color);
    left: -.5rem;
    top: 4rem;
    width: 1px;
    height: 85rem;
    position: absolute;
}
.flowlist li p{
    min-height: 6rem;
    margin-bottom: 1rem;
}

.btn_orange{
    margin-top: 2rem;
}
.soudan_text{
    font-weight: bold;
}


/*TABサイズ*/
@media screen and (min-width:768px){
	main.flow .pagetop{
		background-image: url(../images/flow_bg_pc.webp);
	}
	.flex{
		display: flex;
		justify-content: space-between;
		flex-wrap: nowrap;
		gap: 1rem;
		line-height: 1.8;
	}
	.flex img{
		width: calc(100%/2 - .5rem);
	}
	.catch{
		text-align: center;
	}
    dl{
        margin-left: .5rem
    }

    dt{
        font-size: 1.1rem;
    }
    dd{
        font-size: 1.8rem;
        margin-left: -.1rem;
    }

    .soudan{
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 18rem;

    }
    .soudan_text{
        text-align: center;
        font-size: 1.1rem;
    }
    .flowlist figure{
        height: 10rem;
    }
    .flowlist li p{
        font-size: 1.1rem;
        padding: 0 2rem;
    }
    .flowlist::before{
        top: 6rem;
        height: 95rem;
    }
    
}