@charset "UTF-8";

@font-face {
	font-family: 'KOBURIW1';
	src: url('../font/KOBURIW1.otf') format('opentype');
}
@font-face {
	font-family: 'FINALOLD';
	src: url('../font/FINALOLD.TTF') format('truetype');
}
@font-face {
	font-family: 'BOOKOSI';
	src: url('../font/BOOKOSI.TTF') format('truetype');
}

/* ============================
   基本設定
   ============================ */
* {
	box-sizing: border-box;
}

html {
	font-size: 16px;
}

body {
	font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Meiryo', 'メイリオ', sans-serif;
	color: #333;
	line-height: 1.6;
	background-color: #f5f5f5;
}

a {
	color: #1a5f3f;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: #2d8a5f;
}

img {
	max-width: 100%;
	height: auto;
}

/* ============================
   ヘッダー
   ============================ */
#head_wrap {
	background: linear-gradient(135deg, #1a5f3f 0%, #2d8a5f 100%);
	color: #fff;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#head_wrap .inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 15px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#head_wrap.fixed {
	/* fixed クラス付与前後でデザインを変えない */
}

#mobile-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

#mobile-head h1 {
	font-size: 1.3rem;
	font-weight: bold;
}

#mobile-head h1 a {
	color: #fff;
	display: flex;
	align-items: center;
	gap: 8px;
}

#mobile-head h1 .site-logo {
	height: 32px;
	width: auto;
	display: block;
	filter: brightness(0) invert(1);
}

#nav-toggle {
	display: none;
	cursor: pointer;
}

#nav-toggle div {
	width: 30px;
	height: 30px;
	position: relative;
}

#nav-toggle div span {
	display: block;
	width: 100%;
	height: 3px;
	background: #fff;
	position: absolute;
	left: 0;
	transition: 0.3s;
}

#nav-toggle div span:nth-child(1) { top: 5px; }
#nav-toggle div span:nth-child(2) { top: 13px; }
#nav-toggle div span:nth-child(3) { top: 21px; }

#global-nav {
	flex-shrink: 0;
}

#global-nav ul {
	display: flex;
	list-style: none;
	gap: 20px;
	align-items: center;
}

#global-nav ul li a {
	color: #fff;
	font-size: 0.9rem;
	padding: 5px 10px;
	border-radius: 4px;
	transition: background 0.3s;
}

#global-nav ul li a:hover {
	background: rgba(255,255,255,0.2);
}

#global-nav ul li a .material-symbols-outlined {
	vertical-align: middle;
	font-size: 1.2rem;
}

/* ============================
   コンテンツエリア
   ============================ */
#content {
	padding-top: 80px;
	min-height: calc(100vh - 200px);
}

#main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

/* ============================
   ページタイトル
   ============================ */
.page-title {
	font-size: 1.8rem;
	font-weight: bold;
	color: #1a5f3f;
	text-align: center;
	margin: 30px 0 40px;
	padding-bottom: 15px;
	border-bottom: 3px solid #1a5f3f;
}

/* ============================
   アコーディオン（当日・過去一覧）
   ============================ */
.yosou-list-section {
	margin-bottom: 40px;
}

.accordion-wrap {
	max-width: 1000px;
	margin: 0 auto;
}

.accordion-section {
	background: #fff;
	border-radius: 8px;
	margin-bottom: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	transition: box-shadow 0.3s;
}

.accordion-section:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.accordion-section.is-open {
	box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.accordion-header {
	width: 100%;
	padding: 18px 24px;
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: background 0.3s;
}

.accordion-header:hover {
	background: linear-gradient(135deg, #f0f7f4 0%, #e8f5ee 100%);
}

.accordion-section.is-open .accordion-header {
	background: linear-gradient(135deg, #1a5f3f 0%, #2d8a5f 100%);
	color: #fff;
}

.accordion-section.is-open .accordion-header .keibajyo-name,
.accordion-section.is-open .accordion-header .keibajyo-en {
	color: #fff;
}

.accordion-header .keibajyo-name {
	font-size: 1.2rem;
	font-weight: bold;
	color: #1a5f3f;
}

.accordion-header .keibajyo-en {
	font-size: 0.85rem;
	color: #888;
	margin-left: 10px;
}

.accordion-icon {
	margin-left: auto;
	transition: transform 0.3s;
}

.accordion-section.is-open .accordion-icon {
	transform: rotate(180deg);
}

.accordion-icon .material-symbols-outlined {
	font-size: 1.8rem;
}

.accordion-body {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease-in-out;
}

.accordion-section.is-open .accordion-body {
	max-height: 5000px;
}

/* ============================
   レースリスト
   ============================ */
.race-list {
	list-style: none;
	padding: 10px 20px;
}

.race-item {
	border-bottom: 1px solid #eee;
	padding: 15px 0;
}

.race-item:last-child {
	border-bottom: none;
}

.race-item-header {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.race-no {
	background: #1a5f3f;
	color: #fff;
	font-weight: bold;
	padding: 3px 10px;
	border-radius: 4px;
	font-size: 0.85rem;
	min-width: 40px;
	text-align: center;
}

.race-time {
	font-weight: bold;
	color: #c5283d;
	font-size: 1rem;
}

.race-name {
	flex: 1;
	font-size: 0.95rem;
	color: #333;
}

.race-status {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 8px;
}

.status-badge {
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: bold;
	white-space: nowrap;
}

.status-badge.yosou {
	background: #1a5f3f;
	color: #fff;
}

.status-badge.yosou:hover {
	background: #2d8a5f;
}

.status-badge.kekka {
	background: #c5283d;
	color: #fff;
}

.status-badge.wait {
	background: #ccc;
	color: #666;
}

.race-item-body {
	margin-top: 10px;
	padding: 10px;
	background: #f8f9fa;
	border-radius: 6px;
}

.race-detail-link {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.race-detail-link .race-item-header {
	width: 100%;
}

.bamei-highlight {
	font-weight: bold;
	color: #c5283d;
	font-size: 1rem;
	padding: 2px 8px;
	background: #fff3f5;
	border-radius: 4px;
}

.bamei-normal {
	color: #555;
	font-size: 0.9rem;
	padding: 2px 6px;
}

/* ============================
   結果アイコン
   ============================ */
.result-icon {
	display: inline-block;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	vertical-align: middle;
	border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.icon-red { background: #e53935; }
.icon-black { background: #212121; }
.icon-white { background: #ffffff; border-color: #ccc; }
.icon-yellow { background: #fdd835; }
.icon-green { background: #43a047; }
.icon-blue { background: #1e88e5; }
.icon-orange { background: #fb8c00; }
.icon-pink { background: #f06292; }
.icon-purple { background: #8e24aa; }

/* ============================
   アイコン凡例
   ============================ */
.icon-legend {
	max-width: 1000px;
	margin: 40px auto;
	padding: 25px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.icon-legend-title {
	font-size: 1.1rem;
	font-weight: bold;
	color: #1a5f3f;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 2px solid #e8f5ee;
}

.icon-legend-list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 12px;
}

.icon-legend-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.9rem;
	color: #444;
}

.icon-legend-list .result-icon {
	width: 20px;
	height: 20px;
}

/* ============================
   予想詳細ページ
   ============================ */
.article-detail {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
}

.article-h1 {
	font-size: 1.5rem;
	font-weight: bold;
	color: #1a5f3f;
	margin: 20px 0 25px;
	line-height: 1.4;
}

.article-detail-content {
	background: #fff;
	border-radius: 8px;
	padding: 25px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.race-info {
	margin-bottom: 20px;
	padding: 15px;
	background: #f8f9fa;
	border-radius: 6px;
	font-size: 0.95rem;
	line-height: 1.8;
}

.race-title {
	font-size: 1.2rem;
	font-weight: bold;
	color: #1a5f3f;
	margin: 20px 0;
	padding-bottom: 10px;
	border-bottom: 2px solid #e8f5ee;
}

/* ============================
   結果バッジ（金銀銅）
   ============================ */
.medal-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid #fff;
	box-shadow: 0 2px 6px rgba(0,0,0,0.2);
	position: absolute;
	top: -10px;
	right: 10px;
	z-index: 10;
}

.medal-icon::after {
	content: '';
	display: block;
	width: 28px;
	height: 28px;
	border-radius: 50%;
}

.medal-gold::after {
	background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
}

.medal-silver::after {
	background: linear-gradient(135deg, #c0c0c0 0%, #a0a0a0 100%);
}

.medal-bronze::after {
	background: linear-gradient(135deg, #cd7f32 0%, #a0522d 100%);
}

/* ============================
   馬カード（枠番カラー）
   ============================ */
.yosou-horses {
	display: grid;
	gap: 15px;
	margin: 20px 0;
}

.horse-card {
	background: #fff;
	border-radius: 8px;
	padding: 15px;
	border-left: 5px solid #ccc;
	box-shadow: 0 1px 4px rgba(0,0,0,0.06);
	transition: transform 0.2s, box-shadow 0.2s;
	position: relative;
}

.horse-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.horse-card-header {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.horse-rank {
	font-weight: bold;
	color: #1a5f3f;
	font-size: 1.25rem;
	line-height: 1;
	min-width: 1.5em;
	text-align: center;
}

.horse-wakuban {
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 0.8rem;
	font-weight: bold;
	color: #fff;
}

.horse-umaban {
	font-weight: bold;
	color: #555;
}

.horse-bamei {
	font-size: 1.1rem;
	font-weight: bold;
}

.horse-bamei a {
	color: #1a5f3f;
}

.horse-info {
	list-style: none;
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	font-size: 0.85rem;
	color: #666;
}

.horse-info li {
	padding: 2px 0;
}

.horse-info li i.fa-solid {
	color: #666;
	margin-right: 3px;
	font-size: 0.85em;
}

.horse-info .chaku-top3 {
	color: #c5283d;
	font-weight: bold;
}

/* 枠番カラー */
.wakuban-1 { border-left-color: #e8e8e8; }
.wakuban-1 .horse-wakuban { background: #fff; color: #333; border: 1px solid #888; }
.wakuban-2 { border-left-color: #212121; }
.wakuban-2 .horse-wakuban { background: #212121; }
.wakuban-3 { border-left-color: #e53935; }
.wakuban-3 .horse-wakuban { background: #e53935; }
.wakuban-4 { border-left-color: #1e88e5; }
.wakuban-4 .horse-wakuban { background: #1e88e5; }
.wakuban-5 { border-left-color: #fdd835; }
.wakuban-5 .horse-wakuban { background: #fdd835; color: #333; }
.wakuban-6 { border-left-color: #43a047; }
.wakuban-6 .horse-wakuban { background: #43a047; }
.wakuban-7 { border-left-color: #fb8c00; }
.wakuban-7 .horse-wakuban { background: #fb8c00; }
.wakuban-8 { border-left-color: #f06292; }
.wakuban-8 .horse-wakuban { background: #f06292; }
.wakuban-99 { border-left-color: #999; }
.wakuban-99 .horse-wakuban { background: #999; }

/* ============================
   アプリ誘導
   ============================ */
.app-guide {
	margin: 25px 0;
	padding: 20px;
	background: linear-gradient(135deg, #e8f5ee 0%, #f0f7f4 100%);
	border-radius: 8px;
	text-align: center;
}

.app-guide p {
	margin: 5px 0;
	color: #1a5f3f;
	font-size: 0.95rem;
}

/* ============================
   公開日時
   ============================ */
.open-time {
	margin-top: 25px;
	padding-top: 15px;
	border-top: 1px solid #eee;
	font-size: 0.85rem;
	color: #888;
	text-align: right;
}

/* ============================
   データなし
   ============================ */
.no-data {
	text-align: center;
	padding: 60px 20px;
	color: #888;
	font-size: 1rem;
}

/* ============================
   フッター
   ============================ */
footer {
	background: #1a5f3f;
	color: #fff;
	padding: 30px 20px;
	margin-top: 40px;
}

/* フッター アプリストアバナー */
.app-store-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 520px;
	margin: 0 auto 25px;
	padding: 14px 18px;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 12px;
}

.app-store-banner-label {
	font-size: 0.7rem;
	font-weight: bold;
	color: #1a5f3f;
	background: linear-gradient(135deg, #ffe259 0%, #ffa751 100%);
	padding: 3px 10px;
	border-radius: 999px;
	white-space: nowrap;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.app-store-banner-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.8rem;
	font-weight: bold;
	padding: 6px 12px;
	border-radius: 6px;
	white-space: nowrap;
	transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
	box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.app-store-banner-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 3px 8px rgba(0,0,0,0.3);
	opacity: 0.92;
}

.app-store-banner-btn i {
	font-size: 0.95rem;
}

.app-store-banner-ios {
	background: #000;
	color: #fff;
	border: 1px solid #555;
}

.app-store-banner-ios:hover {
	color: #fff;
}

.app-store-banner-android {
	background: #fff;
	color: #01875f;
	border: 1px solid #01875f;
}

.app-store-banner-android:hover {
	color: #01875f;
}

.foot-nav {
	max-width: 1200px;
	margin: 0 auto;
}

.foot-menu {
	list-style: none;
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.foot-menu li a {
	color: #fff;
	font-size: 0.85rem;
	padding: 5px 10px;
	border-radius: 4px;
	transition: background 0.3s;
}

.foot-menu li a:hover {
	background: rgba(255,255,255,0.2);
}

#copy {
	display: block;
	text-align: center;
	font-size: 0.8rem;
	opacity: 0.8;
}

/* ============================
   ページトップ
   ============================ */
#page_top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 50px;
	height: 50px;
	background: #1a5f3f;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
	transition: background 0.3s;
	z-index: 100;
}

#page_top:hover {
	background: #2d8a5f;
}

#page_top a {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
}

#page_top a::before {
	content: '↑';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	font-size: 1.5rem;
	font-weight: bold;
}

/* ============================
   ローダー
   ============================ */
#loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.5s;
}

#loader.loaded {
	opacity: 0;
	pointer-events: none;
}

.ml9 {
	text-align: center;
}

.ml9 .text-wrapper {
	display: inline-block;
}

.ml9 .letter {
	display: inline-block;
}

/* ============================
   パンくず
   ============================ */
.breadcrumb {
	max-width: 1200px;
	margin: 0 auto;
	padding: 15px 20px;
	font-size: 0.85rem;
}

.breadcrumb ul {
	list-style: none;
	display: flex;
	gap: 8px;
}

.breadcrumb ul li::after {
	content: '>';
	margin-left: 8px;
	color: #999;
}

.breadcrumb ul li:last-child::after {
	content: '';
}

.breadcrumb ul li a {
	color: #1a5f3f;
}

/* ============================
   戻るリンク
   ============================ */
.back-link-wrap {
	margin-bottom: 15px;
}

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #1a5f3f;
	font-size: 0.9rem;
	text-decoration: none;
	padding: 6px 14px;
	border: 1px solid #1a5f3f;
	border-radius: 20px;
	transition: background-color 0.2s, color 0.2s;
}

.back-link:hover {
	background-color: #1a5f3f;
	color: #fff;
}

.back-link .back-link-arrow {
	font-size: 0.8rem;
}

/* ============================
   404ページ
   ============================ */
.error-page {
	text-align: center;
	padding: 60px 20px;
}

.error-page h1 {
	font-size: 2rem;
	color: #c5283d;
	margin-bottom: 20px;
}

/* ============================
   ページネーション
   ============================ */
.pagination {
	display: flex;
	justify-content: center;
	gap: 5px;
	margin: 30px 0;
}

.pagination a,
.pagination .current {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 4px;
	font-size: 0.9rem;
}

.pagination a {
	background: #fff;
	color: #1a5f3f;
	border: 1px solid #ddd;
	transition: background 0.3s;
}

.pagination a:hover {
	background: #e8f5ee;
}

.pagination .current {
	background: #1a5f3f;
	color: #fff;
	border: 1px solid #1a5f3f;
}

/* ============================
   カレンダー（メニュー）
   ============================ */
.calendar-menu-item {
	position: relative;
}

.calendar-toggle {
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	transition: background 0.3s;
	white-space: nowrap;
}

.calendar-toggle:hover {
	background: rgba(255,255,255,0.2);
}

.calendar-toggle .material-symbols-outlined {
	font-size: 1.2rem;
	vertical-align: middle;
}

/* 閉じるボタン（PCでは非表示） */
.calendar-close {
	display: none;
}

.calendar-dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	width: 330px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
	padding: 15px;
	z-index: 1001;
	display: none;
}

.calendar-dropdown.open {
	display: block;
}

/* PCではパネルラッパーは素通し */
.calendar-panel {
	position: static;
	padding: 0;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
}

.calendar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.calendar-nav {
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: #1a5f3f;
	padding: 5px 12px;
	border-radius: 4px;
	transition: background 0.2s;
}

.calendar-nav:hover {
	background: #e8f5ee;
}

.calendar-month-year {
	font-size: 1.1rem;
	font-weight: bold;
	color: #1a5f3f;
}

.calendar-table {
	width: 100%;
	border-collapse: collapse;
}

.calendar-table th {
	font-size: 0.8rem;
	color: #999;
	padding: 10px 0;
	text-align: center;
	font-weight: normal;
}

.calendar-table th.sun { color: #e53935; }
.calendar-table th.mon { color: #333; }
.calendar-table th.tue { color: #333; }
.calendar-table th.wed { color: #333; }
.calendar-table th.thu { color: #333; }
.calendar-table th.fri { color: #333; }
.calendar-table th.sat { color: #1e88e5; }

.calendar-day {
	height: 40px;
	text-align: center;
	padding: 5px 0;
	cursor: default;
	border-radius: 4px;
	transition: background 0.2s;
	font-size: 0.85rem;
}

.calendar-day.other-month {
	color: #ccc;
	cursor: default;
}

.calendar-day.has-data {
	background: #e8f5ee;
	font-weight: bold;
	cursor: pointer;
	color: #1a5f3f;
}

.calendar-day.has-data:hover {
	background: #d0f0e0;
}

.calendar-day.today {
	border: 1px solid #1a5f3f;
	color: #1a5f3f;
}

.calendar-day.disabled {
	color: #ccc;
	cursor: not-allowed;
}

/* ============================
   固定ページ（プライバシーポリシー / 利用規約）
   ============================ */
.static-page-section {
	max-width: 900px;
	margin: 0 auto;
	padding: 40px 20px 80px;
}

.static-page-content {
	background: #fff;
	border-radius: 8px;
	padding: 40px 48px;
	box-shadow: 0 1px 6px rgba(0,0,0,0.06);
	line-height: 1.9;
	font-size: 0.95rem;
	color: #444;
}

.static-page-content h2 {
	font-size: 1.2rem;
	color: #1a5f3f;
	margin: 2em 0 0.8em;
	padding-bottom: 0.4em;
	border-bottom: 2px solid #e0ebe0;
}

.static-page-content h2:first-of-type {
	margin-top: 1.4em;
}

.static-page-content p {
	margin: 0.8em 0;
}

.static-page-content ul {
	margin: 0.8em 0 0.8em 1.2em;
	padding: 0;
	list-style: disc;
}

.static-page-content ul li {
	margin: 0.3em 0;
}

.static-page-date {
	text-align: right;
	color: #999;
	font-size: 0.9rem;
	margin-top: 2.5em !important;
}

/* ============================
   レースナビゲーション（同日・同場）
   ============================ */
.race-navigation {
	margin: 1.5em 0 0.5em;
	text-align: center;
}

.race-nav-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.race-nav-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 36px;
	padding: 0 10px;
	border-radius: 4px;
	background: #f0f7f0;
	color: #1a5f3f;
	font-size: 0.9rem;
	font-weight: bold;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.race-nav-link:hover {
	background: #1a5f3f;
	color: #fff;
}

.race-nav-link.current {
	background: #1a5f3f;
	color: #fff;
	cursor: default;
	pointer-events: none;
}

.race-nav-link.disabled {
	background: #e0e0e0;
	color: #999;
	cursor: default;
	pointer-events: none;
}

/* ============================
   日付ナビゲーション（前日/翌日）
   ============================ */
.day-navigation {
	margin: 1.8em 0 0;
}

.day-nav-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.day-nav-link {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border-radius: 4px;
	font-size: 0.95rem;
	text-decoration: none;
	transition: background 0.2s;
}

.day-nav-prev {
	color: #1a5f3f;
}

.day-nav-prev:hover {
	background: #e8f5e8;
}

.day-nav-next {
	color: #1a5f3f;
}

.day-nav-next:hover {
	background: #e8f5e8;
}

.day-nav-link.disabled {
	visibility: hidden;
}
