*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: filter 0.3s ease;
}

/* Main Container */
main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    background-color: #fff;
}

.Welfare{
    background-color: #fff;
}

/* Page Title */
.Welfare-page-title {
    text-align: center;
    margin-bottom: 10px;
}

.Welfare-page-title h1 {
    margin-top: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #00529B;
    letter-spacing: 0.1em;
}

.Welfare-page-title p {
    font-size: 1rem;
    color: #555;
    margin-top: 10px;
}
#study-session h1{
    margin-top: 120px;
    margin-bottom: 40px;
    font-size: 3rem;
    font-weight: 700;
    color: #00529B;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}
/* Welfare Section Layout */
.Welfare-section {
    margin-bottom: 120px;
}

.Welfare-section-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.Welfare-section-container.Welfare-reverse {
    flex-direction: row-reverse;
}

.Welfare-section-image {
    flex: 1;
    min-width: 0;
}

.Welfare-section-content {
    flex: 1;
}

.Welfare-section-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00A3E0;
}

.Welfare-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid #F7931E;
    padding-bottom: 10px;
    color: #00529B;
}

.Welfare-section-description {
    font-size: 1rem;
    color: #555;
}

/* Club Activities Section */
.Welfare-club-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.Welfare-club-grid .Welfare-club-item:nth-child(3) {
    grid-column: 1 / -1; /* 3つ目のアイテムを幅いっぱいに */
}

.Welfare-club-item {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 15px;
    text-align: center;
}

.Welfare-club-item img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
    margin-bottom: 10px;
}

.Welfare-club-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.Welfare-club-item p {
    font-size: 0.9rem;
    color: #666;
}

/* CTA Button */
.Welfare-cta-button {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background-color: #00A3E0;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.Welfare-cta-button:hover {
    background-color: #F7931E;
    color:#fff;
    transform: translateY(-2px);
}


/* Animation */
.Welfare-fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.Welfare-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* Responsive Design */
@media (max-width: 768px) {
    main {
        padding: 40px 20px;
    }
    .Welfare-page-title h1 {
        font-size: 2.5rem;
    }
    .Welfare-section-container,
    .Welfare-section-container.Welfare-reverse {
        flex-direction: column;
        gap: 40px;
    }
    .Welfare-section-title {
        font-size: 1.5rem;
    }
    .Welfare-club-grid {
        grid-template-columns: 1fr;
    }
    .Welfare-club-grid .Welfare-club-item:nth-child(3) {
        grid-column: auto;
    }
}