/*●●●今月のイベント●●●*/
.sakura-events-wrap {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  align-items: stretch;
}
/* ===== カレンダー ===== */
.sakura-calendar {
	flex: 1;
}
.calendar-header {
  text-align: center;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--sakura-main);
}
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 700;
  font-size: 0.85em;
  margin-bottom: 4px;
}
.calendar-weekdays div:first-child {
  color: #e74c3c; /* 日曜 */
}
.calendar-weekdays div:last-child {
  color: #3498db; /* 土曜 */
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.calendar-day {
  text-align: center;
  padding: 8px 0;
  border-radius: 6px;
  font-size: 0.9em;
}
/* 今日 */
.is-today {
  border: 2px solid var(--sakura-main);
  font-weight: 700;
}
/* 曜日 */
.day-sat {
  color: #2563eb;
}
.day-sun,
.day-holiday {
  color: #dc2626;
}
/* イベント点 */
.event-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin: 4px auto 0;
}
.dot-live {
  background: #e11d48;
}
.dot-event {
  background: #2563eb;
}
.dot-birthday {
  background: #16a34a;
}
/* 凡例 */
.calendar-legend {
  margin-top: 10px;
  font-size: 0.85em;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
	text-align: center;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
/* 右側：今月の予定 */
.sakura-event-list {
  flex: 1;
  display: flex;
  flex-direction: column;
	max-height: 350px;
  overflow: hidden;
}
/* タイトル */
.event-title {
  font-size: 1em;
  margin-bottom: 10px !important;
  flex-shrink: 0; /* ← タイトルは縮まない */
}
/* 予定リスト本体（ここだけスクロール） */
#event-list {
  list-style: none;
  padding-left: 0;
  overflow-y: auto; /* ← 移動 */
}
/* スマホ用 */
@media (max-width: 768px) {
  .sakura-events-wrap {
    gap: 12px;
  }
  /* 高さ制限は右カラムに残す */
  .sakura-event-list {
    max-height: 50px;
    overflow: hidden; /* ← auto をやめる */
  }
}
#event-list li {
  padding: 6px 8px;
  margin-bottom: 6px;
  border-left: 4px solid var(--sakura-main);
  font-size: 0.9em;
}
#event-list li.active {
  background: var(--sakura-soft);
}
.event-date {
  display: inline-block;
  margin-right: 7px;
}
.event-text {
  display: inline-block;
}
.event-link {
  color: #d63384;
  text-decoration: none;
}
.event-link:hover {
  text-decoration: underline;
}
/*●●●最新情報●●●*/
.latest-single {
  margin: 50px 0;
  padding: 8px 12px;
  font-size: 0.95em;
  border-left: 4px solid var(--sakura-main);
  border-right: 4px solid var(--sakura-main);
  background: #fdf6f8;
	text-align: center;
	font-weight: bold;
}
/*●●●歴史●●●*/
/* 全体余白 */
.sakura-history-toggle {
  margin: 24px 0;
}
/* summary（クリック部分） */
.sakura-history-toggle summary {
  font-weight: 700;
  color: var(--sakura-main);
  padding: 8px 0;
}
/* アニメーション用ラッパー */
.sakura-history-wrapper {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
	padding-right: 6px;
}
/* 開いたとき */
.sakura-history-toggle[open] .sakura-history-wrapper {
  max-height: 60vh;   /* 画面高さの6割 */
  opacity: 1;
  overflow-y: auto;  /* 超えたらスクロール */
}
/* 年表本体 */
.sakura-history {
  border-left: 3px solid var(--sakura-main);
  padding-left: 16px;
  margin-top: 12px;
}
/* 各項目 */
.history-item {
  margin-bottom: 10px;
}
.history-item .date {
  font-weight: 700;
  color: var(--sakura-main);
  margin-bottom: 4px;
}
.history-item .event {
  font-size: 0.95em;
	color: #333333;
}
.history-item .note {
  display: block;
  font-size: 0.85em;
  color: #666;
}
/* summary */
.keyaki summary {
  color: var(--keyaki-main);
}
/* 矢印 */
.keyaki summary::before {
  color: var(--keyaki-main);
}
/* 年表ライン */
.keyaki .sakura-history {
  border-left-color: var(--keyaki-main);
}
/* 日付 */
.keyaki .date {
  color: var(--keyaki-main);
}
/* 年ごとのブロック */
.history-year {
  margin-bottom: 20px;
}
/* 年の中見出し */
.year-title {
  font-weight: 800;
  font-size: 1.05em;
  margin-bottom: 8px;
  color: #000;
}
/* 年の区切りを少し強調 */
.history-year:not(:last-child) {
  padding-bottom: 6px;
}
/*●●●リンク集●●●*/
.sakura-official-links {
  margin: 20px 0;
}
.sakura-link-item {
  margin-bottom: 25px;
	border-bottom: dashed pink;
}
.sakura-link-item .desc {
  display: block;
  font-size: 0.9em;
  color: #555;
  margin-bottom: 4px;
}
.sakura-link-item a {
  display: inline-block;
  color: var(--sakura-main);
  font-weight: 600;
  text-decoration: none;
}
.sakura-link-item a i {
  margin-right: 6px;
}
.sakura-link-item a:hover {
  text-decoration: underline;
  opacity: 0.85;
}
.sakura-link-item.keyaki {
  border-bottom: dashed var(--keyaki-main);
}
.sakura-link-item.keyaki a {
  color: var(--keyaki-main);
}
.sakura-link-item.keyaki a i {
  color: var(--keyaki-main);
}
