

.container3 {
    display: flex;
    align-items: center; /* 上下中央に揃える */
    justify-content: center; /* 左右中央に寄せる */
    gap: 20px; /* ロゴと文字の間の隙間 */
    max-width: 900px;
    margin-top: -20px;
} 
        

    
    /* タイトル絵のサイズ調整 */
    .logo3 {            
        width: 30px;  /* スマホで見やすいサイズ */
        height: auto;
    }

    /* タイトル文字の調整*/
    .container2-h2 {
        margin: 0;
        font-size: 1.5rem; /* スマホでちょうど良い大きさ */
    }

.for {
    margin-top: -10px;
    margin-bottom: -15px;
}

/* メニュー全体の枠組み */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* PCでは4列 */
    gap: 15px; /* ボタン同士の隙間 */
    margin-bottom:  20px;
} 

/* ボタン1つ1つの装飾 */
.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 20px;
    color: #333;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

    .menu-item:active {
        transform: translateY(3px); /* 押した時に少し凹む演出 */
    }

.menu-grid{    
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* 画面幅で自動整列 */
    gap: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* 画面幅で自動整列 */
    gap: 15px; 
    gap: 20px;
    margin: 20px 0;
}


.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* 画面幅で自動整列 */
    gap: 15px;
}

/* PCやタブレットなど、画面幅が広い時（600px以上）の設定 */
@media (min-width: 600px) {
    .event-grid {
        /* 横に3列（均等）に並べる */
        grid-template-columns: repeat(3, 1fr); 
    }
}

/* さらに広い画面（900px以上）で4列にしたい場合 */
@media (min-width: 900px) {
    .event-grid {
        grid-template-columns: repeat(4, 1fr); 
    }
}



.event-card {
    background: #fdfdfd;
    border: 2px solid #e6f7ff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%; /* 全てのカードの高さを揃える */
    background: #fdfdfd;
    border: 2px solid #e6f7ff;
    border-radius: 15px;
}

.event-card .month2 {
    background:#f0f5ff; /* 月の部分の色 */
    color: green;
    text-align: center;
    padding: 5px;
    font-weight: bold;
}

.event-card .month4 {
    background:#ffecf2; /* 月の部分の色 */
    color: green;
    text-align: center;
    padding: 5px;
    font-weight: bold;
}

.event-card .month6 {
    background: #e6f7ff; /* 月の部分の色 */
    color: green;
    text-align: center;
    padding: 5px;
    font-weight: bold;
}

.event-card .month8 {
    background: #f0fff0; /* 月の部分の色 */
    color: green;
    text-align: center;
    padding: 5px;
    font-weight: bold;
}

.event-card .month10 {
    background: #fff0f0; /* 月の部分の色 */
    color: green;
    text-align: center;
    padding: 5px;
    font-weight: bold;
}

.event-card .month12 {
    background: #fffbe6; /* 月の部分の色 */
    color: green;
    text-align: center;
    padding: 5px;
    font-weight: bold;
}

.event-card ul {
    list-style: none;
    padding: 10px;
    margin: 0;
    font-size: 0.85rem;
}

.event-card li {
    padding: 3px 0;
    border-bottom: 1px dotted #eee;
    text-align: center;
}

