/* ==================================================
   年間行事セクション
================================================== */

/* 背景ラッパー */


/* テーブル全体 */
.events-table {
    width: 40%;
    border-collapse: collapse;
    background: var(--color-white);
    overflow: hidden;
    margin: 5rem auto;
    /* 上下に余白、左右中央寄せ */
}

/* テーブルのセル */
.events-table th,
.events-table td {
    padding: 1rem;
    /* 16px → 1rem */
    border: 2px solid #f0ebe6;
    vertical-align: middle;
    text-align: center;
    line-height: 1.6;
    font-size: 0.95rem;
}

.events-table th {
    width: 120px;
    font-size: 1.1rem;
    font-weight: bold;
    background: #fafafa;
}

.events-table th img {
    max-width: 150px;
    margin-top: 15px;
}

/* 各月ごとの枠色（パステルカラー） */
.april th,
.april td {
    border-color: #f8c8dc;
}

/* 桜ピンク */
.may th,
.may td {
    border-color: #f6d98e;
}

/* たんぽぽ色 */
.june th,
.june td {
    border-color: #b5d8f6;
}

/* あじさいブルー */
.july th,
.july td {
    border-color: #c6b6f5;
}

/* 薄紫 */
.august th,
.august td {
    border-color: #f9b3c4;
}

/* 夏のピンク */
.september th,
.september td {
    border-color: #c3e6b5;
}

/* 秋口の緑 */
.october th,
.october td {
    border-color: #f6d5a3;
}

/* かぼちゃ色 */
.november th,
.november td {
    border-color: #dcd48f;
}

/* 収穫イエロー */
.december th,
.december td {
    border-color: #b5e0e6;
}

/* 冬の水色 */
.january th,
.january td {
    border-color: #f2b7d3;
}

/* お正月ピンク */
.february th,
.february td {
    border-color: #f4a58a;
}

/* 節分オレンジ */
.march th,
.march td {
    border-color: #f6c6c6;
}

/* 桃の節句ピンク */

/* ==================================================
   タブレット対応（1024px以下）
================================================== */
@media (max-width: 1024px) {
    .events-table {
        width: 70%;
        /* 少し広めに調整 */
        font-size: 0.9rem;
    }

    .events-table th img {
        max-width: 120px;
        /* 画像少し小さめ */
    }
}

/* ==================================================
   スマホ対応（600px以下）
================================================== */
@media (max-width: 600px) {
    .greeting-overview-wrap {
        margin-bottom: 0;
    }

    .events-table {
        width: 95%;
        /* 画面幅いっぱい */
        font-size: 0.8rem;
    }

    .events-table th img {
        max-width: 80px;
        /* 画像をさらに小さく */
    }

    .events-table th,
    .events-table td {
        padding: 0.625rem;
        /* 内側余白を小さく調整 */
    }
}