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

.course-detail5-text-section {
    padding: 5% 0% 2% 0%;
}

.course-detail-section {
    background-color: #F5F5F5;
    padding: 4% 10px 4% 10px;
}

/* 体操体幹トレーニングクラスの背景を解除 */
.course-element-9c30234 {
    background-color: transparent !important;
}

/* 大人トレーニングクラスの背景を解除 */
.course-element-9b7d3b8 {
    background-color: transparent !important;
}

/* 体幹トレーニングクラスのh2セクションに背景色を設定 */
.course-element-c95f479 {
    background-color: #F5F5F5;
}

.course-top-section {
    background-color: #F5F5F5;
    padding: 4% 10px 4% 10px;
}

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

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

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

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

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

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

.course-cta:hover .course-cta__bg-overlay {
    opacity: 0.5;
}

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

.course-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-cta:hover .course-cta__title {
    color: #00516d;
}

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

.course-col-50 {
    width: 50%;
}

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

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

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

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

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

.course-widget-wrap {
    display: flex;
}

/* Specific column styling */
.course-element-25022ec {
    display: flex;
    align-items: center;
}

.course-element-25022ec > .course-widget-wrap.course-element-populated {
    align-content: center;
    align-items: center;
}


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

/* Heading widget styling */
.course-element-8b34f0a .course-heading-title {
    font-family: "Noto Sans JP", Sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 2em;
    color: #00516d;
}

/* Column styling for ac16a7c and ddaed95 */
.course-element-ac16a7c,
.course-element-ddaed95 {
    box-sizing: border-box;
}

.course-element-ac16a7c > .course-element-populated,
.course-element-ddaed95 > .course-element-populated {
    box-sizing: border-box;
    border-style: solid;
    border-width: 1px;
    border-color: #00516d;
    background-color: #00516d;
    margin: 3%;
    --e-column-margin-right: 3%;
    --e-column-margin-left: 3%;
    padding: 20px;
}

/* Override padding for ac16a7c and ddaed95 */
.course-column-gap-default > .course-element-ac16a7c > .course-element-populated,
.course-column-gap-default > .course-element-ddaed95 > .course-element-populated {
    padding: 0 !important;
}

/* Heading widget styling for 6e68991 and 66a8eff */
.course-element-6e68991,
.course-element-66a8eff {
    text-align: center;
    padding: 2%;
}

.course-element-6e68991 .course-heading-title,
.course-element-66a8eff .course-heading-title {
    font-family: "Noto Sans JP", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

/* Text editor widget styling for ac16a7c and ddaed95 columns */
.course-element-ac16a7c .course-widget-text-editor,
.course-element-ddaed95 .course-widget-text-editor {
    color: #000000;
}

/* Text editor widget container styling */
.course-element-e4f6d28 .course-widget-container,
.course-element-e81fb4a .course-widget-container {
    background-color: #ffffff;
    margin: 0;
    padding: 2%;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .course-detail-section {
        padding: 5% 10px 5% 10px;
    }
    
    .course-top-section {
        padding: 5% 10px 5% 10px;
    }
    
    .course-inner-column {
        width: 100% !important;
    }
    
    .course-col-33 {
        width: 100% !important;
    }
    
    .course-col-50 {
        width: 100% !important;
    }
    
    .course-cta__bg-wrapper {
        min-height: 150px;
    }
    
    .course-cta__title {
        font-size: 14px;
    }
    
    .course-cta__content {
        padding: 4% 4% 4% 4%;
    }
    
    /* Heading widget responsive styling */
    .course-element-8b34f0a {
        text-align: center;
    }
    
    .course-element-8b34f0a .course-heading-title {
        font-size: 14px;
    }
    
    /* Heading widget responsive styling for 6e68991 and 66a8eff */
    .course-element-6e68991 .course-heading-title,
    .course-element-66a8eff .course-heading-title {
        font-size: 15px;
    }
}

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

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

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

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

