/* Course Menu Section Styles */
.course-menu-section {
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.course-menu-top-section {
    padding: 4% 10px 4% 10px;
}

/* Background color class separated from layout */
.course-menu-color {
    background-color: #F5F5F5;
}

.course-menu-top-section > .course-menu-background-overlay {
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

/* CTA (Call to Action) Widget Styles */
.course-menu-cta {
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.course-menu-cta__bg-wrapper {
    position: relative;
    min-height: 175px;
    overflow: hidden;
}

.course-menu-cta__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1500ms ease;
}

.course-menu-cta__bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 1500ms ease;
}

.course-menu-cta:hover .course-menu-cta__bg {
    transform: scale(1.2);
}

.course-menu-cta:hover .course-menu-cta__bg-overlay {
    background-color: rgba(0, 0, 0, 0.3);
}

.course-menu-cta__content {
    position: relative;
    z-index: 1;
    min-height: 0px;
    text-align: center;
    padding: 5% 5% 5% 5%;
}

.course-menu-cta__title {
    font-family: "Noto Sans JP", Sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #297842;
    margin: 0;
    transition: color 0.3s ease;
}

.course-menu-cta:hover .course-menu-cta__title {
    color: #00516d;
}

/* Column Styles */
.course-menu-col-33 {
    width: 33.333%;
}

.course-menu-col-100 {
    width: 100%;
}

/* Container Styles */
.course-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.course-menu-column-gap-default {
    gap: 0px;
}

.course-menu-column-gap-default > .course-menu-column > .course-menu-element-populated {
    padding: 10px;
}

/* Widget Wrap */
.course-menu-widget-wrap {
    position: relative;
    align-content: flex-start;
    flex-wrap: wrap;
    display: flex;
}

.course-menu-widget-wrap > .course-menu-element {
    width: 100%;
}

/* Animation Classes */
.course-menu-animated-content {
    animation-fill-mode: both;
}

.course-menu-bg-transform {
    overflow: hidden;
}

.course-menu-bg-transform-zoom-in .course-menu-cta__bg {
    transition: transform 1500ms ease;
}

/* Background Styles */
.course-menu-bg {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .course-menu-top-section {
        padding: 5% 10px 5% 10px;
    }
    
    .course-menu-inner-column {
        width: 100% !important;
    }
    
    .course-menu-col-33 {
        width: 100% !important;
    }
    
    .course-menu-cta__bg-wrapper {
        min-height: 150px;
    }
    
    .course-menu-cta__title {
        font-size: 14px;
    }
    
    .course-menu-cta__content {
        padding: 4% 4% 4% 4%;
    }
}

