/* RACE NOTES の「今シーズンの戦績」（2026-09-29）。
   .race-row の見た目・動きは assets/home.css（トップ 06 RECORD）と同じもの。
   RACE NOTES は home.css を読まないので、ここに同じ規則を置いている。直すときは両方を揃える */
.season{background:var(--paper)}
.season-head h2{letter-spacing:-.04em;margin:26px 0 24px;font:600 clamp(36px,4.4vw,62px)/1.4 Noto Serif JP}
.season-head p.season-note{color:#43505b;max-width:38em;margin:0 0 56px;font:400 15px/2.1 Noto Serif JP}
.season-group+.season-group{margin-top:64px}
.season-year{color:var(--red);letter-spacing:.2em;margin:0 0 14px;font:700 20px/1 Barlow Condensed}
.record-results{border-top:1px solid var(--ink)}
.race-row{border-bottom:1px solid var(--line);grid-template-columns:100px 1fr auto 150px;align-items:center;gap:32px;padding:26px 2px;display:grid;position:relative;overflow:hidden}
.race-row:after{content:"";background:var(--red);width:100%;height:2px;transition:transform .6s cubic-bezier(.2,.7,.2,1);position:absolute;bottom:-1px;left:0;transform:scaleX(0);transform-origin:0}
.race-row:hover:after{transform:scaleX(1)}
.race-row-date{margin:0}
.race-row-date b{letter-spacing:-.02em;font:700 36px/1 Barlow Condensed;display:block}
.race-row-date small{letter-spacing:.2em;color:#68737c;margin-top:6px;font:600 11px Barlow Condensed;display:block}
.race-row-body{min-width:0}
.race-row-event{letter-spacing:.2em;color:var(--red);font:600 11px Barlow Condensed;display:block}
.race-row-body h3{margin:8px 0 0;font:600 clamp(16px,1.5vw,20px)/1.6 Noto Serif JP}
.race-row-time{letter-spacing:-.02em;font:700 32px/1 Barlow Condensed;white-space:nowrap}
.race-row-place{letter-spacing:.08em;color:#43505b;text-align:right;font:600 13px/1.6 Noto Sans JP}

/* 疾走感：横から素早く「シュッ」とスライドインし、ピタッと止まる。通過の瞬間、赤い光が一閃する */
.race-row:before{content:"";background:linear-gradient(90deg,#c9232b00 0%,var(--red) 45%,#c9232b00 100%);width:38%;opacity:0;pointer-events:none;position:absolute;inset:0}
html.motion .race-row.reveal-soft{opacity:0;transition:opacity .3s cubic-bezier(.4,0,.2,1),transform .5s cubic-bezier(.11,.98,.12,1);transform:translateX(-88px)skewX(-9deg)}
html.motion .race-row.reveal-soft.on{opacity:1;transform:none}
html.motion .race-row.reveal-soft.on:before{animation:race-flash 1.1s cubic-bezier(.2,.7,.2,1) forwards}
html.motion .race-row.reveal-soft:nth-child(2){transition-delay:.08s}
html.motion .race-row.reveal-soft:nth-child(3){transition-delay:.16s}
html.motion .race-row.reveal-soft:nth-child(4){transition-delay:.24s}
html.motion .race-row.reveal-soft:nth-child(5){transition-delay:.32s}
html.motion .race-row.reveal-soft:nth-child(6){transition-delay:.4s}
html.motion .race-row.reveal-soft:nth-child(7){transition-delay:.48s}
html.motion .race-row.reveal-soft:nth-child(8){transition-delay:.56s}
html.motion .race-row.reveal-soft:nth-child(9){transition-delay:.64s}
html.motion .race-row.reveal-soft:nth-child(10){transition-delay:.72s}
html.motion .race-row.reveal-soft.on:nth-child(2):before{animation-delay:.08s}
html.motion .race-row.reveal-soft.on:nth-child(3):before{animation-delay:.16s}
html.motion .race-row.reveal-soft.on:nth-child(4):before{animation-delay:.24s}
html.motion .race-row.reveal-soft.on:nth-child(5):before{animation-delay:.32s}
html.motion .race-row.reveal-soft.on:nth-child(6):before{animation-delay:.4s}
html.motion .race-row.reveal-soft.on:nth-child(7):before{animation-delay:.48s}
html.motion .race-row.reveal-soft.on:nth-child(8):before{animation-delay:.56s}
html.motion .race-row.reveal-soft.on:nth-child(9):before{animation-delay:.64s}
html.motion .race-row.reveal-soft.on:nth-child(10):before{animation-delay:.72s}
@keyframes race-flash{from{transform:translateX(-140%);opacity:0}20%{opacity:.85}80%{opacity:.3}to{transform:translateX(240%);opacity:0}}
/* タイムは一拍遅れて、下からキュッと持ち上がる（数字が最後に決まる感じ） */
html.motion .race-row-time{opacity:0;transform:translateY(10px);transition:opacity .3s ease .18s,transform .34s cubic-bezier(.16,1,.3,1) .18s}
html.motion .race-row.reveal-soft.on .race-row-time{opacity:1;transform:none}
@media (width<=900px){
  .race-row{grid-template-columns:74px 1fr;grid-template-areas:"date body" "time place";gap:6px 16px;padding:20px 0}
  .race-row-date{grid-area:date}
  .race-row-body{grid-area:body}
  .race-row-time{grid-area:time;font-size:26px}
  .race-row-place{grid-area:place;text-align:left;align-self:end;font-size:12px}
  .season{padding-left:24px;padding-right:24px}
}
