* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #222222;
    background: #0f1419;
    min-height: 100vh;
}

header {
    padding: 32px 24px;
    background: #E41E3A;
    color: white;
    text-align: center;
    box-shadow: 0 8px 24px rgba(228, 30, 58, 0.4);
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

nav {
    margin-top: 16px;
    font-size: 1rem;
}

nav a {
    margin: 0 12px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

nav a:hover {
    opacity: 0.8;
}

main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 24px;
}

.hero {
    padding: 60px 40px;
    background: linear-gradient(135deg, #E41E3A 0%, #B71730 100%);
    border-radius: 20px;
    color: white;
    margin-bottom: 40px;
    box-shadow: 0 12px 40px rgba(228, 30, 58, 0.4);
    text-align: center;
}

.hero h2 {
    margin: 0 0 16px 0;
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.hero .subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 24px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 24px 0;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.button {
    display: inline-block;
    padding: 14px 32px;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.button.primary {
    background: #FFB800;
    color: #000;
    box-shadow: 0 6px 16px rgba(255, 184, 0, 0.3);
}

.button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 184, 0, 0.5);
    background: #FF9C00;
}

.button.secondary {
    background: #0097A7;
    color: white;
    box-shadow: 0 6px 16px rgba(0, 151, 167, 0.3);
}

.button.secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 151, 167, 0.5);
    background: #00838F;
}

/* 情報セクション */
.info-section {
    margin: 60px 0;
    padding: 40px;
    background: rgba(228, 30, 58, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(228, 30, 58, 0.2);
}

.info-section h3 {
    color: white;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid rgba(228, 30, 58, 0.3);
    color: white;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    background: rgba(228, 30, 58, 0.1);
    border-color: rgba(228, 30, 58, 0.6);
}

.info-card h4 {
    margin: 0 0 16px 0;
    font-size: 1.3rem;
}

.info-card p {
    margin: 0;
    line-height: 1.6;
    opacity: 0.9;
}

/* イベント一覧 */
.subtitle {
    color: #aaa;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.event-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 6px solid #E41E3A;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.event-header {
    padding: 20px;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.event-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #1a1a2e;
    flex: 1;
}

.category {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.category.\u7af6\u6280 {
    background-color: #FF6B35;
    color: white;
}

.category.\u8b1b\u5ea7 {
    background-color: #FFB800;
    color: #000;
}

.category.\u4ea4\u6d41 {
    background-color: #E41E3A;
    color: white;
}

.category.\u30bb\u30c3\u30b7\u30e7\u30f3 {
    background-color: #0097A7;
    color: white;
}

.event-description {
    padding: 0 20px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.event-details {
    padding: 16px 20px;
    border-top: 1px solid #eee;
    background-color: #fafbfc;
}

.event-details p {
    margin: 8px 0;
    font-size: 0.95rem;
    color: #666;
}

.event-details strong {
    color: #1a1a2e;
}

.event-status {
    padding: 12px 20px;
    font-weight: 600;
    text-align: center;
    font-size: 0.95rem;
}

.event-status.open {
    background-color: #4CAF50;
    color: white;
}

.event-status.closed {
    background-color: #E41E3A;
    color: white;
}

footer {
    padding: 32px 24px;
    text-align: center;
    background: #1a1a2e;
    color: white;
    margin-top: 60px;
}