/* 陸上大会一覧データベース mockup v4 — white/black base + athlog brand orange
   --brand  #FE500C  athlog brand orange (App Store artwork). Fills only, always with dark text (#111 on it = 5.7:1)
   --ac     #C13700  same hue, darker: text & links on white (5.5:1)
   red #B00000 is reserved for 中止 (badge with border; row gray)
   site_v2: 一覧の大会名の取り消し線はやめた。ヘッダーのナビは白の太字 19px（#FE500C に白は 3.30:1 → 大きい文字の AA 3:1 を満たす） */
:root{--brand:#FE500C;--on-brand:#111;--ac:#C13700;--tint:#FFF3EC}
*{box-sizing:border-box}
html{font-size:17px}
body{margin:0;background:#fff;color:#111;font-family:"Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic","Meiryo",sans-serif;line-height:1.7}
a{color:var(--ac);text-decoration:underline;text-underline-offset:3px}
a:hover{text-decoration-thickness:2px}
a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #111;outline-offset:2px}
.wrap{max-width:1200px;margin:0 auto;padding:0 20px}
header.site{background:var(--brand);color:var(--on-brand)}
header.site .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 24px;padding-top:14px;padding-bottom:14px}
header.site .title{margin:0;font-size:1.4rem;font-weight:700}
header.site a{color:var(--on-brand)}
header.site .title a{text-decoration:none}
header.site .title img{display:block;height:40px;width:auto}
header.site .wrap{padding-top:12px;padding-bottom:12px}
header.site nav{display:flex;flex-wrap:wrap;gap:4px 22px;font-size:1rem;font-weight:700}
h1{font-size:1.5rem;margin:24px 0 12px}
h2{font-size:1.2rem;margin:28px 0 8px;padding-bottom:4px;border-bottom:3px solid var(--brand)}
/* filters */
.filters{border:1px solid #999;padding:16px;margin:0 0 18px}
.f-main{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:12px 16px;align-items:end}
.filters p{margin:0;display:flex;flex-direction:column}
.filters label{font-weight:700;margin-bottom:4px}
.filters select,.filters input{font:inherit;height:52px;padding:0 12px;border:1px solid #555;border-radius:2px;background:#fff;color:#111;width:100%}
.filters button{font:inherit;font-weight:700;height:52px;padding:0 40px;border:2px solid var(--brand);border-radius:2px;background:var(--brand);color:var(--on-brand);cursor:pointer}
.f-kw{margin-top:14px !important;padding-top:12px;border-top:1px solid #ccc}
.f-kw label,.f-kw input{max-width:560px}
.f-kw label{font-weight:400 !important;font-size:.95rem}
.f-kw input{height:44px !important}
/* results */
.resbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 20px;margin:0 0 4px}
.resbar.bottom{justify-content:flex-end;margin:16px 0 0}
.count{margin:0}
.count strong{font-size:1.2rem}
.pager{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.pager a,.pager span{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 10px;border:1px solid #888;border-radius:2px}
.pager .pg-cur{background:var(--brand);border-color:var(--brand);color:var(--on-brand);font-weight:700}
.pager .pg-off{color:#767676;border-color:#ccc}
.pager .pg-gap{border:0;min-width:20px;padding:0}
h2.month{font-size:1.25rem;margin:22px 0 0;padding:6px 0 6px 12px;border-bottom:0;border-left:6px solid var(--brand);background:var(--tint)}
table{border-collapse:collapse;width:100%}
table.list th,table.list td{border:1px solid #888;padding:10px 12px;vertical-align:top;text-align:left}
table.list thead th{background:#f2f2f2;font-size:.95rem;white-space:nowrap}
table.list td.d,table.list td.p,table.list td.c{white-space:nowrap}
table.list td.n{font-weight:700}
table.list td.l a{white-space:nowrap}
/* 中止: badge (red text + red border on white) + struck-through gray name + gray row. Never orange. */
.badge-cancel{display:inline-block;color:#B00000;background:#fff;border:2px solid #B00000;border-radius:2px;padding:0 6px;margin-right:8px;font-weight:700;line-height:1.5;text-decoration:none;white-space:nowrap}
tr.is-cancel td,.list-sp li.is-cancel{background:#EDEDED}
.is-cancel td.n a,.is-cancel .n a{color:#555}
.is-cancel td,.is-cancel p{color:#444}
.none{color:#555}
.note{margin:20px 0 32px;font-size:.95rem}
.list-sp{display:none;list-style:none;margin:0;padding:0}
.list-sp li{border-bottom:1px solid #888;padding:12px 4px}
.list-sp p{margin:0}
.list-sp .d{font-weight:700}
.list-sp .n{font-size:1.1rem;font-weight:700;margin:2px 0}
.list-sp .c{font-size:.95rem;color:#333}
.list-sp .l{margin-top:2px}
.list-sp .l a{display:inline-block;padding:8px 0;margin-right:14px}
footer.site{border-top:6px solid var(--brand);margin-top:32px;font-size:.9rem;background:#f4f4f4}
footer.site .wrap{padding-top:8px;padding-bottom:8px}
footer.site p{margin:6px 0}
/* detail */
.detail{max-width:860px}
.detail .back{margin:16px 0 0}
table.info th,table.info td{border:1px solid #888;padding:10px 12px;text-align:left;vertical-align:top}
table.info th{width:9em;background:var(--tint);font-weight:700}
.links,.src{margin:0;padding-left:1.4em}
.links li,.src li{margin:6px 0}
.url{word-break:break-all;font-size:.9rem}
.small{font-size:.9rem;color:#333}
.foot-note{margin-top:24px}
@media (max-width:760px){
 .wrap{padding:0 14px}
 table.list{display:none}
 .list-sp{display:block}
 header.site .title{font-size:1.15rem}
 header.site .title img{height:36px}
 header.site .wrap{padding-top:12px;padding-bottom:10px;row-gap:8px}
 header.site nav{font-size:.95rem}
 h1{font-size:1.35rem;margin:18px 0 10px}
 .filters{padding:12px}
 .f-main{grid-template-columns:1fr 1fr}
 .f-main p:nth-child(3),.f-main .btn{grid-column:1/-1}
 .f-main button{width:100%}
 .f-kw{max-width:none}
 .resbar{flex-direction:column;align-items:flex-start}
 .resbar.bottom{align-items:center}
 .pager{gap:4px}
 .pager a,.pager span{min-width:40px;padding:0 8px}
 h2.month{margin-top:16px}
 table.info th{width:7.5em}
}

/* ---- site_v2 で足したもの（見本 v4 にない部分。色は見本の範囲だけを使い、赤 #B00000 は中止専用のまま） ---- */
/* 中止以外の状態（延期・一部中止・予備日あり・知らない値）: 黒枠の控えめなバッジ。赤もオレンジも使わない */
.badge-note{display:inline-block;color:#111;background:#fff;border:1px solid #555;border-radius:2px;padding:0 6px;margin-right:8px;font-weight:700;font-size:.9rem;line-height:1.5;white-space:nowrap}
.wrap>.back{margin:16px 0 0}
.empty{margin:20px 0;padding:16px;border:1px solid #ccc;background:#fafafa}
h1 .badge-cancel,h1 .badge-note{vertical-align:.15em;font-size:1rem}
td .small,li .small{color:#333}
.list-sp .d .small{font-weight:400}
.links .small{margin-left:4px}
p.none{color:#555}
/* このサイトについて */
.prose{max-width:860px}
.prose .logo-on-white{display:block;height:40px;width:auto;margin:24px 0 8px}
.prose li{margin:4px 0}
@media (max-width:760px){.prose .logo-on-white{height:36px}}
/* ヘッダーのナビ: 白。#FE500C に白は 3.30:1 で 4.5:1 に届かないため、太字 19px（≥18.66px＝大きい文字）にして AA（3:1）を満たす */
header.site nav{font-size:19px;font-weight:700}
header.site nav a{color:#fff}
header.site nav a:focus-visible{outline-color:#fff}
@media (max-width:760px){header.site nav{font-size:19px}}
/* 備考（予備日・飛び日程）。一覧の最後の列と、スマホのカードの最後の行 */
table.list td.r{font-size:.9rem;white-space:nowrap}
.list-sp .r{margin-top:4px;font-size:.95rem}
.list-sp .r .r-h{display:inline-block;margin-right:8px;padding:0 6px;border:1px solid #888;border-radius:2px;font-size:.85rem;font-weight:700;line-height:1.5;background:#fff}
/* 検索欄の下段: 大会名・会場 ＋「すべての開催予定を表示」 */
.f-sub{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 28px;margin-top:14px;padding-top:12px;border-top:1px solid #ccc}
.f-sub .f-kw{margin-top:0 !important;padding-top:0;border-top:0;flex:1 1 360px;max-width:560px}
.filters .f-all{flex-direction:column}
.f-all label{display:flex !important;align-items:center;gap:10px;min-height:44px;font-weight:700;margin:0 !important;cursor:pointer}
.f-all input{width:24px !important;height:24px !important;margin:0;accent-color:var(--brand);flex:none}
