/* お知らせ Styles */
/* Announcements Section Styles */
.announcements {
    margin: 40px 0;
    /* More space above and below the section */
    padding: 20px;
    /* Padding inside the section */
    background-color: #ffffff;
    /* White background for a clean look */
    border: 1px solid #e0e0e0;
    /* Light border */
    border-radius: 8px;
    /* Rounded corners for a modern feel */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* Slight shadow for depth */
}

.announcements h3 {
    font-size: 2em;
    /* Larger font size for the heading */
    margin-bottom: 20px;
    /* Space below the heading */
    color: #ec3c71;
    /* Darker text color */
    text-align: left;
    /* Center align the heading */
    font-family: 'Arial', sans-serif;
    /* Modern font */
    border-bottom: 3px solid #ec3c71;
    /* Strong blue underline */
    padding-bottom: 10px;
    /* Padding below the heading */
}

.news-scroll-box {
    max-height: 300px;
    /* Increased height for better viewing */
    overflow-y: auto;
    /* Enable vertical scrolling */
    padding: 15px;
    /* Padding inside the scrollable area */
    background-color: #f9f9f9;
    /* Light grey background for news items */
    border: 1px solid #d1e3ed;
    /* Subtle border around the scrollable box */
    border-radius: 5px;
    /* Slightly rounded corners */
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    /* Light shadow */
}

.news-list {
    list-style: none;
    /* Remove default list style */
    padding: 0;
    /* Remove default padding */
    margin: 0;
    /* Remove default margin */
}

.news-list li {
    margin-bottom: 15px;
    /* Space between news items */
    padding: 15px;
    /* Padding inside each item */
    background-color: #ffffff;
    /* White background for each news item */
    border-left: 5px solid #ec3c71;
    /* Blue left border for emphasis */
    transition: transform 0.3s, background-color 0.3s;
    /* Smooth transition for effects */
    position: relative;
    /* Positioning for hover effect */
}

.news-list li:hover {
    background-color: #e1f5fe;
    /* Light blue background on hover */
    transform: translateY(-2px);
    /* Slight lift effect on hover */
}

.news-date {
    font-weight: bold;
    /* Bold for date */
    color: #ec3c71;
    /* Blue color for date */
    margin-right: 10px;
    /* Space between date and item */
}

.news-item {
    color: #333;
    /* Dark text color for news item */
    font-family: 'Arial', sans-serif;
    /* Consistent font */
    line-height: 1.6;
    /* Improved line height for readability */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .announcements h3 {
        font-size: 1.6em;
        /* Adjust heading font size for smaller screens */
    }

    .news-scroll-box {
        max-height: 200px;
        /* Adjust max height for smaller screens */
    }

    .news-list li {
        padding: 10px;
        /* Less padding for smaller screens */
    }
}

/* ------- index page koen gakkai ------- */
.supporting-societies {
    margin: 40px 0;
    padding: 25px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.supporting-societies h3 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #ec3c71;
    border-bottom: 3px solid #ec3c71;
    padding-bottom: 8px;
    font-family: 'Arial', sans-serif;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.support-card {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px 20px;
    background: #fdfdfd;
    border: 1px solid #f3b3c9;
    border-radius: 10px;
    text-decoration: none;
    color: #d01557;
    font-weight: 600;
    font-size: 1.1em;
    transition: 0.3s ease-in-out;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.support-card:hover {
    background: #ffe6ef;
    transform: translateY(-4px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
    border-color: #ec3c71;
    color: #ec3c71;
}

@media (max-width: 1024px) {
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .support-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .support-card {
        font-size: 1em;
        padding: 15px;
    }
}

/* ------- index page koen gakkai ------- */