.course {
    padding: 25px 0;
    background: url('../images/BG_gray.png');
    background-size: 20px 20px;
}

.course_list {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.course_list li {
    position: relative;
    top: 0;
    width: calc( 100%/3 - 50px/3 );
    border: var( --lightblue ) 10px solid;
    background: var( --lightblue );
    transition: .3s;
}

.course_list li:hover {
    top: -3px;
}

.course_list li a {
    width: 100%;
    height: 100%;
    color: #333;
}

.course_list li img {
    width: 100%;
}

.course_list li .text {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: calc( 100% - 20px );
    padding: 15px 25px 25px;
    border-radius: 10px;
    background: #fff;
}

.course_list li .text .head {
    width: 100%;
    line-height: 35px;
    margin-bottom: 10px;
    font-size: 20px;
    text-align: center;
    color: var( --deepred );
    border-bottom: #aaa 1px solid;
}

.button_area {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 25px 0;
}

.button_area .link_button {
    color: #fff;
    background: var( --deepred );
}

@media screen and (max-width: 1024px) {
    .course_list {
        flex-direction: column;
    }
    
    .course_list li {
        width: 100%;
    }

    .course_list li + li {
        margin-top: 25px;
    }

}