/*　for smartphone & ALL　*/

.point{
    font-size: 1.3em;
    margin-right: 0.3em;
}
.kigou{
    font-size: 0.8em;
}


p .small_justify{
    display: inline-block;
    width: 5em;
    padding-right: 1em;
    font-size: 0.8em;
    -moz-text-align-last: justify;
     text-align-last: justify;
     text-justify:inter-ideograph;
}


.now_schedule ul,.next_schedule ul{
    margin: 3em 0px;
}

.now_schedule li,.next_schedule li{
    list-style: none;
    min-height: 1.65em;
}

.now_schedule li:first-child,.next_schedule li:first-child{
    font-size: 2em;
}
.general,.student,.outside{
    display: inline-block;
    font-size: 0.4em;
    letter-spacing: 0.04em;
    margin-left: 1.3em;
    color: #ffffff;
    border-radius: 3px;
    padding: 0px 0.5em;
    /*
    width: 13em;
    -moz-text-align-last: justify;
     text-align-last: justify;
     text-justify:inter-ideograph;
     */
}
.general{background-color: rgb(143, 160, 121);}
.student{background-color: rgb(173, 154, 121);}
.outside{background-color: rgb(121, 144, 160);}

.time span,.expenses span,.place span{
    display: inline-block;
    width: 7em;
    padding-right: 1em;
    font-size: 0.8em;
    /*
    -moz-text-align-last: justify;
     text-align-last: justify;
     text-justify:inter-ideograph;
     */
}
.option{
    font-size: 0.85em;
}
.option2{
    font-size: 0.85em;
}



/*　for smartphone----------------------------------------------------------------------------------------　*/
@media screen and (max-width:767px) {

    
    h2 span{
        display: block;
        font-size: 0.5em;
        margin-left: 0.5em;
        padding-bottom: 0.5em;
    }

    

    .contents_grid section:last-child{
        border: none;
    }

    section{
        margin-bottom: 40px;
        border-bottom:dashed thin #999999;
    }

    section div{
        margin: 2.5em 1em;
    }

    section img{
        width: 34%;
        height: auto;
        float: left;
        margin-right: 1em;
    }
    

}

/* for pad-------------------------------------------------------------------------------------------------- */
@media screen and (min-width:768px) and (max-width:1024px) {

    h2 br{
        display: none;
    }

    h4 br{
        display: none;
    }


    

    .contents_grid section:last-child{
        border: none;
    }

    section{
        margin-bottom: 40px;
        border-bottom:dashed thin #999999;
    }

    section div{
        margin: 2.5em 1em;
    }

    section img{
        width: 26%;
        height: auto;
        float: left;
        margin-right: 1em;
    }

 
}

/*　for PC---------------------------------------------------------------------------------------------------　*/
@media screen and (min-width:1025px) {


    h2 br{
        display: none;
    }

    h4 br{
        display: none;
    }

    .contents_grid{
        display: grid;
        grid-template-columns: repeat(10, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 20px;
        row-gap: 30px;
    }
    
    .schedule{
        grid-column: 1/11;
        grid-row: 1;
    }

    .now_schedule{
        grid-column: 1/6;
        grid-row:2;
        border-right: dashed thin #999999;
    }

    .next_schedule{
        grid-column: 6/11;
        grid-row: 2
    }

    

    section div{
        margin: 2.5em 1em;
    }

    section img{
        width: 100%;
        height: auto;
    }
    
    
}