/* ==================== 月別発電量アコーディオン（エネがえる風デザイン） ==================== */

.monthly-generation-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 30px;
}

#monthlyGenerationHeader {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.1);
}

#monthlyGenerationHeader:hover {
    background: #DBEAFE;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

#monthlyGenerationHeader:active {
    transform: translateY(0px);
}

#monthlyGenerationIcon {
    font-size: 18px;
    color: #2563EB;
    transition: transform 0.3s ease;
}

#monthlyGenerationIcon.rotated {
    transform: rotate(180deg);
}

#monthlyGenerationContent {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* チャートコンテナのスタイル改善 */
.chart-container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* テーブルコンテナのスタイル改善 */
.table-container {
    margin-top: 24px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--gray-200);
}

.table-container h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-blue);
}

/* テーブルスタイルの改善 */
.table-scroll table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
}

.table-scroll thead th {
    background: var(--funas-blue);
    color: white;
    font-weight: 600;
    padding: 14px 12px;
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.table-scroll tbody td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
    font-size: 14px;
    color: var(--gray-700);
}

.table-scroll tbody tr:last-child td {
    border-bottom: none;
}

.table-scroll tbody tr:hover {
    background: var(--funas-blue-soft);
}

.table-scroll tbody tr:nth-child(even) {
    background: var(--gray-50);
}

.table-scroll tbody tr:nth-child(even):hover {
    background: var(--funas-blue-soft);
}
