#flow{
    margin: 0 0 100px;
}
#flow article{}
#flow h3{
    margin: 4em 0 1em;
    font-size: 2.4rem;
}
#flow h4{
    margin: 40px 0;
    font-size: 2rem;
}
#flow p{
    font-size: 1.6rem;
    line-height: 2;
    letter-spacing: 0.1rem;
}
#flow p.price{
    margin: 60px 0;
    padding: 30px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    text-align: center;
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
}
#flow p.price span{
    margin: 0 10px;
    font-size: 160%;
}
#flow ul.note_list{
    padding-left: 2rem;
}
#flow ul.note_list li{
    margin: 4px 0;
    font-size: 1.2rem;
    font-family: sans-serif;
    color: #999;
}

#flow ul.price_list{
    max-width: 1000px;
    margin: 20px 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#flow ul.price_list li{
    padding: 4px 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px dashed #ddd;
}
#flow ul.price_list li{}
#flow ul.price_list li .ttl{
    font-size: 1.8rem;
}
#flow ul.price_list li .price span{
    margin: 0 10px;
    font-size: 1.8rem;
    font-weight: 600;
}

#flow ol.flow_list{
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
}
#flow ol.flow_list li{
    padding: 40px 0;
    display: flex;
    flex-direction: row;
    gap: 5%;
    border-top: 1px dashed #ddd;
}
#flow ol.flow_list li:first-child{
    border-top: none;
}
#flow ol.flow_list li .ttl{
    flex: 1;
    position: relative;
}
#flow ol.flow_list li .ttl::before{
    content: "\f0d7";
    font-family: "font awesome 5 free";
    font-weight: 600;
    font-size: 3.2rem;
    line-height: 40px;
    text-align: center;
    color: #af1e2b;
    width: 40px;
    height: 40px;
    display: block;
    position: absolute;
    top: -60px;
    left: calc(50% - 20px);
    z-index: 10;
}
#flow ol.flow_list li:first-child .ttl::before{
    display: none;
}
#flow ol.flow_list li .ttl p.caption{
    margin: 0;
}
#flow ol.flow_list li .ttl p.caption span{
    color: #999;
}
#flow ol.flow_list li .ttl h4{
    margin: 0;
    font-size: 2.6rem;
}
#flow ol.flow_list li .detail{
    flex: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#flow ol.flow_list li .detail > *:first-child{
    margin-top: 0;
}
#flow ol.flow_list li .detail h5{
    margin: 0;
    font-size: 2rem;
}
#flow ol.flow_list li .detail p{
    margin: 2em 0 0;
    text-align: justify;
}
#flow ol.flow_list li .detail .tel{
    margin: 20px 0 0;
}
#flow ol.flow_list li .detail .tel a{
    color: #111;
    text-decoration: none;
    font-size: 3.2rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
}
#flow ol.flow_list li .detail .tel p{
    margin: 0;
    font-size: 1.2rem;
}

#flow a.link{
    margin: 20px 0;
    padding: 16px 50px 16px 30px;
    display: inline-block;
    background: #eee;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2rem;
    transition: background 0.2s ease;
    position: relative;
}
#flow a.link::after{
    content: "\f0da";
    font-family: "font awesome 5 free";
    font-weight: 600;
    font-size: 1.6rem;
    color: #af1e2b;
    text-align: center;
    line-height: 20px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    display: block;
    position: absolute;
    right: 10px;
    top: 50%;
}
#flow a.link.pdf::after{
    content: "\f1c1";
}
#flow ul.plan_list{
    max-width: 880px;
    margin: 0 0 60px;
    padding: 0;
    list-style: none;
}
#flow ul.plan_list li{
    margin-top: 40px;
}
#flow ul.plan_list li:first-child{
    margin-top: 0;
}
#flow ul.plan_list li .inner{
    display: flex;
    flex-direction: row;
}
#flow ul.plan_list li .inner > *{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#flow ul.plan_list li .inner .img{
    flex: 1;
    max-width: 360px;
}
#flow ul.plan_list li .inner .img a{
    display: block;
    cursor: pointer;
    border: 1px solid #f5f5f5;
    position: relative;
}
#flow ul.plan_list li .inner .img a::before{
    content: "\f00e";
    font-family: "font awesome 5 free";
    font-weight: 600;
    font-size: 12px;
    color: #fff;
    line-height: 24px;
    text-align: center;
    width: 24px;
    height: 24px;
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #af1e2b;
    z-index: 1;
}
#flow ul.plan_list li .inner .img a img{
    transition: opacity 0.2s ease;
    will-change: opacity;
}

#flow ul.plan_list li .inner .detail{
    flex: 1;
}
#flow ul.plan_list li .inner .detail p{
    padding: 0 40px;
    border-right: 1px solid #ddd;
}
#flow ul.plan_list li .inner .price{
    width: 200px;
    padding: 0 20px;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
    text-align: center;
}
#flow ul.plan_list li .inner .price span > span{
    font-size: 200%;
}
#flow ul.plan_list li .caption{
    margin-top: 10px;
    font-size: 1rem;
}

.popup_modalplan{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.4);
    z-index: 10000;
    display: none;
}
.popup_modalplan .wrap{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.popup_modalplan .bg{
    width: 100%;
    height: 100%;
    position: absolute;
}
.popup_modalplan .set{
    width: calc(100% - 40px);
    max-width: 980px;
    position: relative;
    z-index: 1;
}
.popup_modalplan .set span#close_popup_modalplan{
    width: 40px;
    height: 40px;
    display: block;
    position: absolute;
    background: #fff;
    text-indent: -9999px;
    position: absolute;
    top: -50px;
    right: 0;
    cursor: pointer;
}
.popup_modalplan .set span#close_popup_modalplan::before{
    content: "\f00d";
    font-family: "font awesome 5 free";
    font-weight: 600;
    font-size: 20px;
    color: #333;
    line-height: 40px;
    text-align: center;
    text-indent: 0px;
    width: 40px;
    height: 40px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
.popup_modalplan .set .img{
    box-shadow: 0 0 5px 5px rgba(0,0,0,0.05);
}
.popup_modalplan .set .img img{
    display: none;
}
.popup_modalplan .set .img.active img{
    display: inherit;
}
#flow .link_select{
    margin: 20px 0 40px;
}
#flow .link_select a{
    max-width: 320px;
    padding: 16px 32px 16px 16px;
    text-decoration: none;
    color: #333;
    font-size: 1.6rem;
    font-weight: 600;
    background: #f5f5f5;
    display: block;
    border-radius: 4px;
    position: relative;
}
#flow .link_select a::after{
    content: "\f0da";
    font-family: "font awesome 5 free";
    font-weight: 600;
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
    line-height: 16px;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    display: block;
    background: #af1e2b;
    position: absolute;
    top: 50%;
    right: 10px;
}
#flow ul.link_list{
    width: 100%;
    max-width: 320px;
    margin: 0 0 60px;
    padding: 0;
    list-style: none;
}
#flow ul.link_list li{
    margin: 10px 0 0;
}
#flow ul.link_list li:first-child{
    margin-top: 0;
}
#flow ul.link_list li a{
    padding: 16px 32px 16px 16px;
    text-decoration: none;
    color: #333;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    background: #f5f5f5;
    display: block;
    border-radius: 4px;
    position: relative;
}
#flow ul.link_list li a::after{
    content: "\f0da";
    font-family: "font awesome 5 free";
    font-weight: 600;
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
    line-height: 16px;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    display: block;
    background: #af1e2b;
    position: absolute;
    top: 50%;
    right: 20px;
}

@media (pointer: fine) {
    #flow a.link:hover{
        background: #ddd;
    }
    #flow ul.plan_list li .inner .img a:hover img{
        opacity: 0.6;
    }
    .popup_modalplan .set span#close_popup_modalplan:hover{
        opacity: 0.6;
    }
    #flow .link_select a:hover{
        background: #eee;
    }
    #flow ul.link_list li a:hover{
        background: #eee;
    }
}
@media screen and (max-width: 1024px){
    #flow{
        margin: 0 0 60px;
    }
    #flow h3{
        font-size: 2rem;
    }
    #flow h4{
        margin: 40px 0 0;
        font-size: 1.8rem;
    }
    #flow p{
        font-size: 1.4rem;
    }
    #flow p.price{
        margin: 40px 0 30px;
        padding: 20px 0;
        font-size: 1.6rem;
        line-height: 1.6;
        letter-spacing: 0.1rem;
    }
    #flow p.price span{
        margin: 0 10px;
        font-size: 3rem;
    }
    #flow ul.note_list li{
        font-size: 1rem;
    }

    #flow ul.price_list{
        margin: 0;
        padding: 20px 0;
        border-bottom: 1px solid #ddd;
        border-top: 1px solid #ddd;
    }
    #flow ul.price_list li{
        flex-direction: column;
        border: none;
    }
    #flow ul.price_list li .ttl{
        text-align: center;
        font-size: 1.6rem;
        font-weight: 600;
    }
    #flow ul.price_list li .price{
        text-align: center;
        font-weight: 600;
    }
    #flow ul.price_list li .price span{
        margin: 0;
        font-size: 2.8rem;
    }

    #flow ol.flow_list li{
        padding: 30px 0;
        gap: 5%;
    }
    #flow ol.flow_list li .ttl::before{
        top: -50px;
    }
    #flow ol.flow_list li .ttl h4{
        font-size: 2.4rem;
    }
    #flow ol.flow_list li .detail p{
        margin: 1.5em 0 0;
    }
    #flow ol.flow_list li .detail .tel a{
        font-size: 2.8rem;
    }
    
}
@media screen and (max-width: 767.98px){
    #flow ul.plan_list{
    }
    #flow ul.plan_list li{
        margin-top: 30px;
    }
    #flow ul.plan_list li .inner{
        flex-wrap: wrap;
    }
    #flow ul.plan_list li .inner .img{
        flex: none;
        width: 100%;
        max-width: none;
    }
    #flow ul.plan_list li .inner .detail{
        flex: 1;
    }
    #flow ul.plan_list li .inner .detail p{
        padding: 0 20px 0 0;
        font-size: 1.2rem;
    }
    #flow ul.plan_list li .inner .price{
        width: 120px;
        padding: 0;
        font-size: 1.6rem;
    }
    #flow ul.plan_list li .inner .price span > span{
        font-size: 200%;
    }
    #flow ul.plan_list li .caption{
        margin-top: 10px;
        font-size: 1rem;
    }
    #flow ul.link_list{
        width: 100%;
        max-width: none;
    }

    #flow ol.flow_list li{
        padding: 20px 0 40px;
        flex-direction: column;
        gap: 0;
    }
    #flow ol.flow_list li .ttl::before{
        top: -40px;
    }
    #flow ol.flow_list li .ttl h4{
        font-size: 2rem;
    }
    #flow ol.flow_list li .detail{
        margin: 40px 0 0;
    }
    #flow ol.flow_list li .detail h5{
        font-size: 1.6rem;
    }
    #flow ol.flow_list li .detail p{
        margin: 1.5em 0 0;
        font-size: 1.4rem;
    }
    #flow ol.flow_list li .detail .tel a{
        font-size: 2.4rem;
    }
    
}