/* ============================================================
   timeline_year.css — heritage_timeline.php(世界遺産タイムライン)専用CSS
   heritage_timeline.php のみで読み込む。style.css には影響しない。

   方針(journey.css の .journey-day / .journey-day__marker を踏襲):
   - style.css は一切編集しない。journey.css本体も直接編集せず、
     必要な値だけこのファイルへ複製する(既存ページへの影響ゼロを担保)。
   - 全セレクタに .tlyear- プレフィックスを付与する。
   - SQL・年グループ判定・広告挿入ロジックは無変更。見た目の囲み方のみ変更。
   - バッジ配色(Bootstrap標準クラス badge-primary/info/secondary/danger/dark)は無変更。
   ============================================================ */

.tlyear-track {
	position: relative;
	padding-left: 6px;
}

.tlyear-group {
	position: relative;
	padding-left: 30px;
	margin-bottom: 18px;
	border-left: 3px solid #0085B2;
}
.tlyear-group:last-of-type {
	border-left-color: transparent;
}

.tlyear-marker {
	position: absolute;
	left: -22px;
	top: 0;
	width: 44px;
	height: 44px;
	line-height: 44px;
	text-align: center;
	background: #0085B2;
	color: #fff;
	border-radius: 50%;
	font-size: 0.85rem;
	font-weight: bold;
	box-shadow: 0 0 0 3px #fff;
}

.tlyear-events {
	list-style: none;
	margin: 0;
	padding: 10px 0 0 16px;
}
.tlyear-events li {
	margin-bottom: 6px;
	font-size: 15px;
}

/* ---- レスポンシブ ---- */
@media (max-width: 767px) {
	.tlyear-marker {
		width: 36px;
		height: 36px;
		line-height: 36px;
		font-size: 0.72rem;
		left: -18px;
	}
	.tlyear-group {
		padding-left: 24px;
	}
}
