<>
@keyframes blink {
0% { opacity: 1; box-shadow: 0 0 0 0 rgba(255000.7); }
50% { opacity: 0.4; box-shadow: 0 0 0 4px rgba(255000); }
100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255000); }
}
>
<>
.trend-chart-section { margin: 30px 0; padding: 20px; background: #fff; border: 1px solid #ddd; border-radius: 8px; }
.trend-header-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 20px; gap: 10px; }
.trend-title { margin: 0; font-size: 1.2rem; color: #333; }
/* 切り替えボタン */
.trend-controls { display: flex; gap: 5px; }
.trend-btn {
border: 1px solid #4bc0c0; /* 青緑系 */
background: #fff;
color: #4bc0c0;
padding: 4px 12px;
border-radius: 20px;
font-size: 0.85rem;
cursor: pointer;
transition: all 0.3s;
}
.trend-btn:hover.trend-btn.active {
background: #4bc0c0;
color: #fff;
}
.chart-wrapper-trend { position: relative; height: 400px; width: 100%; }
>
<>
.sc-ranking-container { margin: 20px 0; padding: 15px; background: #fff; border: 1px solid #ddd; border-radius: 8px; }
.sc-header-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; border-bottom: 2px solid #e91e63; padding-bottom: 10px; margin-bottom: 15px; gap: 10px; }
.sc-section-title { margin: 0; font-size: 1.2rem; color: #333; }
/* 切り替えボタンのスタイル */
.sc-chart-controls { display: flex; gap: 5px; }
.sc-btn {
border: 1px solid #e91e63;
background: #fff;
color: #e91e63;
padding: 4px 12px;
border-radius: 20px;
font-size: 0.85rem;
cursor: pointer;
transition: all 0.3s;
}
.sc-btn:hover.sc-btn.active {
background: #e91e63;
color: #fff;
}
.sc-chart-wrapper { position: relative; height: 300px; width: 100%; margin-bottom: 20px; }
/* テーブル部分 */
.sc-table-container { max-height: 300px; overflow-y: auto; border: 1px solid #eee; }
.sc-ranking-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.sc-ranking-table th { background: #fce4ec; color: #c2185b; padding: 10px; text-align: left; position: sticky; top: 0; z-index: 1; }
.sc-ranking-table td { padding: 8px 10px; border-bottom: 1px solid #eee; }
.sc-rank-badge { display: inline-block; padding: 2px 8px; background: #e91e63; color: #fff; border-radius: 12px; font-size: 0.8rem; }
>