.purple {
    color: #5935b1;
}

.green {
    color: #2d9605;
}

.orange {
    color: #f47929;
}

section div.contents {
    @media screen and (min-width: 768px) {
        width: 100%;
        max-width: 1360px !important;
    }
}

div.course_block {
    margin-bottom: 30px !important;

    @media screen and (min-width: 768px) {
        height: 427px;
    }
}

div.course_block div.course_inner {
    display: flex;
    flex-direction: column;
    padding-bottom: 7px;
    /* gap: 10px; */

    @media screen and (min-width: 768px) {
    }
}

div.course_block div.box {
    border-radius: 10px;
}

div.course_block div.box div.text div.bold-subtitle {
    padding-left: 15px;
    padding-bottom: 20px;
    padding-top: 10px;
    font-family: "Noto Sans JP", "Meiryo";
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #000000;
    font-size: 12px;

    @media screen and (min-width: 768px) {
        padding-left: 40px;
        padding-top: 0;
        font-size: 16px;
    }
}

div.course_block div.box div.text div.description {
    line-height: 150%;
    font-family: "Noto Sans JP", "Meiryo", "Zen Maru Gothic", sans-serif;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: #000000;
    align-self: stretch;
    font-size: 14px;

    @media screen and (min-width: 768px) {
        font-size: 16px;
    }
}

div.course_block.first a:hover div.box {
    border-color: #5935b1;
}

.schedule-link-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.4s;

    @media screen and (max-width: 1200px) {
        transition: all 0.4s;
        width: 560px;
    }
    @media screen and (min-width: 768px) {
        width: 640px;
        display: flex;
        flex-direction: row;
        gap: 16px;
        margin-top: 16px;
        transition: all 0.4s;

        & a {
            width: 312px;
        }
    }

    @media screen and (max-width: 767px) {
        width: 100%;
        margin: 10px auto;
    }
}

.schedule-link {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 16px;
    gap: 8px;
    /* width: 345px; */
    /* height: 72px; */
    background: #ffffff;
    border-radius: 10px;

    & span {
        font-family: "Noto Sans JP", "Meiryo", "Zen Maru Gothic", sans-serif;
        font-style: normal;
        font-weight: 700;
        font-size: 16px;
        line-height: 18px;
        display: flex;
        align-items: center;
        text-align: center;
    }

    @media screen and (min-width: 768px) {
        justify-content: center;
        align-items: center;
        padding: 24px 0;
        /* width: 312px; */
        /* height: 79px; */
        background: #ffffff;
        border-radius: 10px;
        display: flex;
        gap: 10px;
        text-decoration: none;

        & span {
            font-size: 16px;
            line-height: 18px;
        }
    }
}

.border-color-purple {
    border: 5px solid #fff;
    background-position: right 20px top 50%;
    -webkit-box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.5);
    box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.5);
    transition: all 0.4s;

    &:hover {
        border-color: #5935b1;
    }
}

.border-color-green {
    border: 5px solid #fff;
    background-position: right 20px top 50%;
    -webkit-box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.5);
    box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.5);
    transition: all 0.4s;

    &:hover {
        border-color: #2d9605;
    }
}

.border-color-orange {
    border: 5px solid #fff;
    background-position: right 20px top 50%;
    -webkit-box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.5);
    box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.5);
    transition: all 0.4s;

    &:hover {
        border-color: #f47929;
    }
}
