/* Generic: all image/card boxes that use .thumb */
.thumb,
.thumb img {
    border-radius: 20px;
    overflow: hidden;
}

/* Small text boxes in the "What is SLAJ" section */
.leather,
.types {
    border-radius: 20px;
}

/* Make logos in "Other Associations" rounded too */
#social .thumb,
#social .thumb img {
    border-radius: 20px;
    overflow: hidden;
}



/* Style for Join Us buttons (main-border-button) */
.main-border-button a,
.highlight-card .mini-button {
    display: inline-block;
    padding: 20px 64px;        /* Wider */
    background-color: #00043a; /* Blue */
    color: white !important;
    font-weight: 600;
    border-radius: 8px;
    transition: 0.3s ease;
    border: none;
    font-size: medium;
}

/* Hover effect: Yellow */
.main-border-button a:hover,
.highlight-card .mini-button:hover {
    background-color: #FECE07 !important; /* Yellow */
    color: black !important;
    transform: translateY(-3px);
}





@media (max-width: 991px) {

    .main-nav .submenu ul {
        position: static !important;

        /* 🔥 these are the important fixes */
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;

        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;

        display: none;
        padding-left: 15px;
        margin-top: 10px;
    }

    .main-nav .submenu.active ul {
        display: block;
    }
}






/* Video Container Styling */
/* Video Container Styling */
.video-container {
    margin-top: 20px; /* 余白を少し詰めました */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #000;
}
.video-wrapper {
    /* 高さを56.25%から50%に減らして少しスリムにしました */
    padding: 50% 0 0 0;
    position: relative;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.calendar-btn-container {
    margin-bottom: 15px; /* 下のビデオとの間隔を少し詰めました */
}
