@charset "utf-8";

.with_pict {
    background: url("../img2/detail_clinic/page_btn_plan.jpg") no-repeat center -50px;
    background-size: 550px auto;
}

.plan_gaiyou h2 {
    text-align: left;
    margin-top: 30px;
    font-size: 20px;
}

.plan_box .flexbox_basic{
    margin-left: 50px;
    margin-right: 0px;
}
.plan_box .guide_planbox {
    width:329px;
    border: 3px solid #BDE5EB;
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
    background-color: #fff;
}
    .plan_box .guide_planbox dl dt {
        text-align: center;
        color: #4a929e;
        font-size:19px;
        width:150px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 30px;
        margin-bottom: 12px;
        letter-spacing: 0.2em;
        font-family:'Lato','TBUDゴシック R',"メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro" , Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
        font-display: swap;
        background: -webkit-linear-gradient(transparent 75%, #F5EC97 0%);
        background: -o-linear-gradient(transparent 75%, #F5EC97 0%);
        background: linear-gradient(transparent 75%, #F5EC97 0%);
    }
        .plan_box .guide_planbox dl dt:first-child {
            margin-top: 0;
        }
            .plan_box .guide_planbox dl dd {
                text-align: center;
                font-size:17px;
            }
    .plan_box .flexbox_basic .guide_plannote{
        width:398px;
        flex-grow: 1; 
        /*margin: 15px 0px 15px 20px;*/
        margin-left: 20px;
        margin-right: 0px;
    }
        .plan_box .flexbox_basic .guide_plannote p{
            line-height: 1.8em;
            font-size:18px;
            text-align: left;
            margin-bottom: 1em;
        }

                                            @media all and (max-width: 838px) {
                                                .plan_box .flexbox_basic{
                                                    flex-direction: column;
                                                    justify-content: center;
                                                    align-items: center;
                                                    margin-left: 0px;
                                                }
                                                    .plan_box .flexbox_basic .guide_plannote{
                                                        width:100%;
                                                        margin-left: 0px;
                                                        margin-right: 0px;
                                                        margin-top: 25px;
                                                        padding: 0 40px;
                                                        box-sizing: border-box;
                                                    }
                                            }
                                            @media all and (max-width: 767px) {
                                                .plan_box .flexbox_basic .guide_plannote{
                                                    padding: 0 0;
                                                        width:100%;
                                                }
                                            }