/* =========================================================
   真夏の1000mTT 2026 特設ページ
   空 (ヒーロー) → 海 (全結果・ストーリー) → 夕暮れ (エンディング) と
   スクロールで夏が進むように色が深くなっていく
========================================================= */
.summer-page {
  --sm-sky-top: #2aa6ef;
  --sm-sky: #7fd3ff;
  --sm-sky-low: #d6f3ff;
  --sm-sea: #1690d8;
  --sm-sea-deep: #0b5aa8;
  --sm-night: #0a2a5e;
  --sm-navy: #0b2a4f;
  --sm-ink: #0d2b4a;
  --sm-ink-sub: #4a6a8a;
  --sm-sun: #ffd84d;
  --sm-coral: #ff6b5b;
  --sm-white: #ffffff;
  --sm-best: #ffb400;
  background: #1a1d4a; /* いちばん下 (夕暮れの波) の色。画面が縦に長いときの余白もこの色に */
}
/* サイト共通の方眼の背景は、このページでは出さない */
.summer-page::before {
  display: none;
}

.sm-main {
  flex: 1;
  width: 100%;
  overflow: hidden;
}

/* ---------- 夏の進み具合バー ---------- */
.sm-progress {
  position: sticky;
  top: var(--header-h);
  z-index: 150;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
}
.sm-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #6fe3ff, var(--sm-sun) 60%, var(--sm-coral));
  transform-origin: left;
  transform: scaleX(0);
}
.sm-progress-labels {
  display: none;
}

/* ---------- ヒーロー ---------- */
.sm-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 170px;
  text-align: center;
  color: var(--sm-navy);
  background: linear-gradient(180deg, var(--sm-sky-top) 0%, var(--sm-sky) 45%, var(--sm-sky-low) 100%);
  overflow: hidden;
}
.sm-sun {
  position: absolute;
  top: 8%;
  right: 9%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, #fffbe0 0%, var(--sm-sun) 45%, rgba(255, 216, 77, 0) 72%);
  box-shadow: 0 0 120px 50px rgba(255, 230, 120, 0.55);
  animation: sm-sun 6s ease-in-out infinite alternate;
}
@keyframes sm-sun {
  to {
    transform: scale(1.08);
    box-shadow: 0 0 150px 70px rgba(255, 230, 120, 0.6);
  }
}

.sm-cloud {
  position: absolute;
  filter: drop-shadow(0 18px 20px rgba(20, 90, 160, 0.18));
  pointer-events: none;
}
.sm-cloud g circle,
.sm-cloud g rect {
  fill: #fff;
}
/* 入道雲: 下側にうっすら影を落として立体感 */
.sm-cloud-big {
  left: -40px;
  bottom: 120px;
  width: min(46vw, 520px);
  opacity: 0.97;
  animation: sm-drift 26s ease-in-out infinite alternate;
}
.sm-cloud-mid {
  right: -30px;
  bottom: 150px;
  width: min(30vw, 340px);
  opacity: 0.92;
  animation: sm-drift 32s ease-in-out infinite alternate-reverse;
}
.sm-cloud-small {
  left: 4%;
  top: 6%;
  width: min(18vw, 200px);
  opacity: 0.85;
  animation: sm-drift 22s ease-in-out infinite alternate;
}
@keyframes sm-drift {
  from { transform: translateX(-18px); }
  to { transform: translateX(28px); }
}

.sm-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.sm-kicker {
  margin: 0 0 14px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.45em;
  color: #fff;
  text-shadow: 0 1px 8px rgba(10, 60, 120, 0.35);
  animation: sm-rise 0.8s 0.05s both;
}
.sm-title {
  margin: 0;
  line-height: 1;
}
.sm-title-en {
  display: block;
  padding-bottom: 0.12em;
  font-family: "Kaushan Script", cursive;
  font-weight: 400;
  font-size: clamp(3rem, 12vw, 7rem);
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 4px 0 rgba(11, 90, 168, 0.25), 0 10px 40px rgba(11, 90, 168, 0.35);
  animation: sm-rise 0.9s 0.15s both;
}
.sm-title-ja {
  display: inline-block;
  margin-top: 6px;
  padding: 8px 20px;
  font-size: clamp(1.05rem, 3.6vw, 1.5rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #fff;
  background: var(--sm-navy);
  border-radius: 999px;
  animation: sm-rise 0.9s 0.3s both;
}
.sm-title-ja b {
  color: var(--sm-sun);
}
.sm-lead {
  margin: 22px auto 0;
  max-width: 34em;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.9;
  color: var(--sm-navy);
  animation: sm-rise 0.9s 0.45s both;
}
.sm-hero-best {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: 26px;
  padding: 14px 30px 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 2px solid #fff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(11, 90, 168, 0.2);
  backdrop-filter: blur(6px);
  animation: sm-rise 0.9s 0.6s both;
}
.sm-hero-best-label {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.35em;
  color: var(--sm-sea-deep);
}
.sm-hero-best-time {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.4rem;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--sm-navy);
}
.sm-hero-best-sub {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--sm-ink-sub);
}
.sm-scroll {
  display: block;
  width: max-content;
  margin: 30px auto 0;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.35em;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 6px rgba(10, 60, 120, 0.4);
  animation: sm-rise 0.9s 0.8s both;
}
.sm-scroll span {
  display: block;
  width: 2px;
  height: 34px;
  margin: 8px auto 0;
  background: linear-gradient(#fff, rgba(255, 255, 255, 0));
  animation: sm-scroll 1.6s ease-in-out infinite;
  transform-origin: top;
}
@keyframes sm-scroll {
  0% { transform: scaleY(0); opacity: 1; }
  70% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
@keyframes sm-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* 海 (波) */
.sm-wave {
  position: absolute;
  left: 0;
  width: 200%;
  height: 120px;
  bottom: -1px;
}
.sm-wave-back {
  bottom: 22px;
  fill: #5cc4f2;
  opacity: 0.8;
  animation: sm-wave 14s linear infinite;
}
.sm-wave-front {
  fill: var(--sm-sea);
  animation: sm-wave 9s linear infinite reverse;
}
@keyframes sm-wave {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 海のセクション (全結果・ストーリー) ---------- */
.sm-sea {
  position: relative;
  padding: 10px 20px 60px;
  color: #fff;
  /* 下に行くほど深い海 → 夜の海 */
  background: linear-gradient(180deg, var(--sm-sea) 0%, var(--sm-sea-deep) 40%, #0a3f85 75%, var(--sm-night) 100%);
}
/* 海面のきらめき */
.sm-sea::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1.5px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 50%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 50%);
  pointer-events: none;
}

.sm-section-head {
  text-align: center;
  margin-bottom: 22px;
}
.sm-section-en {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.4em;
  color: var(--sm-sea);
}
.sm-section-ja {
  margin: 4px 0 0;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--sm-ink);
}

/* 全結果: 白いカードに表 */
.sm-results {
  position: relative;
  max-width: 920px;
  margin: -10px auto 70px;
  padding: 30px 26px 24px;
  color: var(--sm-ink);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(4, 40, 90, 0.35);
}
.sm-table-wrap {
  overflow-x: auto;
}
.sm-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.sm-table th {
  padding: 10px 12px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: left;
  color: var(--sm-ink-sub);
  border-bottom: 2px solid #d7ecfa;
}
.sm-table td {
  padding: 14px 12px;
  font-weight: 700;
  border-bottom: 1px solid #e8f3fb;
  white-space: nowrap;
}
.sm-table tbody tr {
  cursor: pointer;
  transition: background 0.2s;
}
.sm-table tbody tr:hover {
  background: #f0f9ff;
}
.sm-table tr.is-best {
  background: #fff8e1;
}
.sm-td-round {
  color: var(--sm-sea-deep);
  font-weight: 900;
}
.sm-td-date {
  font-variant-numeric: tabular-nums;
  color: var(--sm-ink-sub);
}
.sm-td-time {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--sm-ink);
}
.sm-best-tag {
  margin-left: 8px;
  padding: 2px 7px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  vertical-align: 4px;
  color: #fff;
  background: var(--sm-best);
  border-radius: 999px;
}
.sm-td-diff {
  font-variant-numeric: tabular-nums;
  color: var(--sm-ink-sub);
}
.sm-td-diff.is-up {
  color: #0a8f5a;
}
.sm-td-diff.is-down {
  color: #d9483b;
}
.sm-td-video {
  display: inline-block;
  padding: 5px 12px;
  font-size: 0.74rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  background: var(--sm-sea);
  border-radius: 999px;
  transition: background 0.2s;
}
.sm-td-video:hover {
  background: var(--sm-sea-deep);
}

/* ---------- ストーリー (タイムライン) ---------- */
.sm-story {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 10px 0 30px;
}
/* 真ん中を通る「夏の道」 */
.sm-story::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0 14px, transparent 14px 26px);
}

.sm-chapter {
  position: relative;
  z-index: 1;
  width: max-content;
  max-width: 100%;
  margin: 40px auto 34px;
  padding: 10px 26px;
  text-align: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.sm-chapter-en {
  display: block;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.4em;
  color: var(--sm-sun);
}
.sm-chapter-ja {
  display: block;
  margin-top: 2px;
  font-size: 1.05rem;
  font-weight: 900;
}

.sm-card {
  position: relative;
  width: calc(50% - 40px);
  margin-bottom: 36px;
  color: var(--sm-ink);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40%;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(3, 30, 70, 0.35);
}
.sm-card.is-right {
  margin-left: auto;
}
/* 道の上の丸い印 */
.sm-card::after {
  content: "";
  position: absolute;
  top: 34px;
  right: -48px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.25);
}
.sm-card.is-right::after {
  right: auto;
  left: -48px;
}
.sm-card.is-best::after {
  background: var(--sm-best);
  box-shadow: 0 0 0 6px rgba(255, 180, 0, 0.35), 0 0 24px rgba(255, 200, 0, 0.8);
}
.sm-card.is-best {
  box-shadow: 0 0 0 3px var(--sm-best), 0 18px 44px rgba(3, 30, 70, 0.35);
}

.sm-card-info {
  padding: 22px 20px 20px 24px;
  align-self: center;
}
.sm-card-round {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.35em;
  color: var(--sm-sea);
}
.sm-card-date {
  margin: 6px 0 0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--sm-ink-sub);
}
.sm-card-date b {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--sm-ink);
}
.sm-card-place {
  margin: 2px 0 0;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--sm-ink);
}
.sm-card-time {
  margin: 10px 0 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.4rem, 9vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--sm-sea-deep);
}
.sm-card.is-best .sm-card-time {
  color: #e69500;
}
.sm-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.sm-tag {
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--sm-ink-sub);
  background: #eef6fc;
  border-radius: 999px;
}
.sm-tag.is-up {
  color: #0a7a4d;
  background: #e2f7ec;
}
.sm-tag.is-down {
  color: #c43e32;
  background: #fdecea;
}
.sm-tag.is-best {
  color: #8a5a00;
  background: #fff1c4;
}

/* 動画のサムネイル */
/* 動画は縦長。YouTube のサムネ (4:3) は左右が黒帯なので、真ん中の縦長部分だけを切り出して見せる */
.sm-card-video {
  position: relative;
  display: block;
  min-height: 100%;
  aspect-ratio: 3 / 4;
  background: #0b2a4f;
  border-radius: 0 22px 22px 0;
  overflow: hidden;
}
.sm-card-video img {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: auto;
  max-width: none;
  transform: translateX(-50%) scale(1.14);
  display: block;
  transition: transform 0.4s, filter 0.4s;
}
.sm-card-video:hover img {
  transform: translateX(-50%) scale(1.2);
  filter: brightness(0.85);
}
.sm-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding-left: 4px;
  font-size: 1.4rem;
  color: #fff;
  background: rgba(255, 60, 60, 0.92);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s;
}
.sm-card-video:hover .sm-play {
  transform: translate(-50%, -50%) scale(1.1);
}
.sm-card-video-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  padding: 3px 10px;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 999px;
}

/* スクロールで出てくる */
.sm-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sm-reveal.is-shown {
  opacity: 1;
  transform: none;
}

/* ---------- 海の中の飾り: 泡・うっすら流れる雲 ---------- */
.sm-sea-deco {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.sm-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.08) 60%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  animation: sm-bubble linear infinite;
}
@keyframes sm-bubble {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 0.9; }
  50% { transform: translate(14px, -45vh); }
  90% { opacity: 0.7; }
  100% { transform: translate(-8px, -90vh); opacity: 0; }
}
.sm-sea-cloud {
  position: absolute;
  left: -340px;
  animation: sm-sea-cloud linear infinite;
}
.sm-sea-cloud svg {
  display: block;
  width: 100%;
}
@keyframes sm-sea-cloud {
  from { transform: translateX(0); }
  to { transform: translateX(calc(100vw + 680px)); }
}
/* カードや見出しは飾りより前に */
.sm-results,
.sm-story {
  z-index: 1;
}

/* ---------- エンディング: 夕暮れの海辺 ---------- */
.sm-sunset {
  position: relative;
  padding: 120px 20px 230px;
  overflow: hidden;
  /* 夜の海の色から、夕焼けの空へ */
  background: linear-gradient(180deg,
    var(--sm-night) 0%,
    #23306f 18%,
    #5a43a8 40%,
    #c2558f 60%,
    #ff7a6e 76%,
    #ffb26b 92%,
    #ffd08a 100%);
}
/* 一番星たち */
.sm-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sm-star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
  animation: sm-twinkle ease-in-out infinite alternate;
}
@keyframes sm-twinkle {
  from { opacity: 0.15; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1.15); }
}
/* 夕焼けの雲 */
.sm-sunset-cloud {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(120, 30, 80, 0.25));
}
.sm-sunset-cloud g * {
  fill: #ffc2b0;
}
.sm-sunset-cloud-a {
  left: -60px;
  top: 52%;
  width: min(40vw, 440px);
  opacity: 0.85;
  animation: sm-drift 30s ease-in-out infinite alternate;
}
.sm-sunset-cloud-b {
  right: -40px;
  top: 40%;
  width: min(28vw, 320px);
  opacity: 0.75;
  animation: sm-drift 24s ease-in-out infinite alternate-reverse;
}
.sm-sunset-cloud-b g *,
.sm-sunset-cloud-c g * {
  fill: #f7a6c0;
}
.sm-sunset-cloud-c {
  left: 30%;
  top: 30%;
  width: min(18vw, 200px);
  opacity: 0.5;
  animation: sm-drift 36s ease-in-out infinite alternate;
}
/* 水平線に沈んでいく太陽 */
.sm-sunset-sun {
  position: absolute;
  left: 50%;
  bottom: 60px;
  width: 240px;
  height: 240px;
  margin-left: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff4c2 0%, #ffd56b 45%, #ffad5c 70%, rgba(255, 150, 90, 0) 72%);
  box-shadow: 0 0 140px 60px rgba(255, 190, 110, 0.55);
  animation: sm-sunset 7s ease-in-out infinite alternate;
}
@keyframes sm-sunset {
  from { transform: translateY(0); }
  to { transform: translateY(26px); }
}
/* 海面に映る光 */
.sm-sunset-glow {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 120px;
  height: 120px;
  margin-left: -60px;
  z-index: 2;
  background: repeating-linear-gradient(180deg, rgba(255, 220, 150, 0.75) 0 4px, transparent 4px 12px);
  mask-image: linear-gradient(180deg, #000, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
  animation: sm-shimmer 2.4s ease-in-out infinite alternate;
}
@keyframes sm-shimmer {
  from { transform: scaleX(0.7); opacity: 0.6; }
  to { transform: scaleX(1.25); opacity: 1; }
}
.sm-sunset-wave-back {
  bottom: 30px;
  fill: #6a4a9e;
  opacity: 0.85;
  animation: sm-wave 16s linear infinite;
}
.sm-sunset-wave-front {
  fill: #1a1d4a;
  animation: sm-wave 10s linear infinite reverse;
}
.sm-sunset .sm-wave {
  z-index: 1;
}
/* 波の下はフッターの色につなげる */
.sm-sunset::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30px;
  z-index: 1;
  background: #1a1d4a;
}

/* まとめのカード (すりガラス) */
.sm-ending {
  position: relative;
  z-index: 3;
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 24px 34px;
  text-align: center;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 24px 60px rgba(30, 10, 60, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.sm-ending-en {
  margin: 0;
  font-family: "Kaushan Script", cursive;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 4px 24px rgba(80, 20, 60, 0.4);
}
.sm-ending-ja {
  margin: 4px 0 26px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  color: #fff;
}
.sm-ending-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.sm-ending-stat {
  padding: 14px 8px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  backdrop-filter: blur(4px);
}
.sm-ending-stat-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
}
.sm-ending-stat-value {
  display: block;
  margin-top: 4px;
  font-family: "Bebas Neue", "Noto Sans JP", sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
}

.sm-back {
  position: relative;
  z-index: 3;
  margin: 28px 0 0;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 800;
}
.sm-back a {
  color: #fff;
  text-shadow: 0 1px 8px rgba(80, 20, 60, 0.5);
}

/* ---------- スマホ ---------- */
@media (max-width: 760px) {
  .sm-hero {
    padding: 60px 16px 150px;
  }
  .sm-sun {
    width: 100px;
    height: 100px;
    top: 5%;
    right: 4%;
  }
  .sm-cloud-big {
    width: 70vw;
    bottom: 110px;
    left: -60px;
  }
  .sm-cloud-mid {
    width: 46vw;
    bottom: 140px;
  }
  .sm-cloud-small {
    display: none;
  }
  .sm-sea {
    padding: 10px 16px 50px;
  }
  .sm-results {
    padding: 24px 10px 14px;
    border-radius: 18px;
  }
  .sm-table {
    min-width: 0;
    font-size: 0.78rem;
  }
  .sm-table th,
  .sm-table td {
    padding: 10px 5px;
  }
  .sm-td-time {
    font-size: 1.3rem;
  }
  .sm-best-tag {
    display: none;
  }
  .sm-td-video {
    padding: 4px 8px;
    font-size: 0.68rem;
  }
  .sm-card-info {
    padding: 18px 12px 16px 16px;
  }
  .sm-card-time {
    font-size: 2.6rem;
  }
  /* タイムラインは左に寄せて1列 */
  .sm-story::before {
    left: 12px;
  }
  .sm-chapter {
    margin-left: 34px;
    margin-right: 0;
  }
  .sm-card,
  .sm-card.is-right {
    width: auto;
    margin-left: 34px;
  }
  .sm-card::after,
  .sm-card.is-right::after {
    left: -30px;
    right: auto;
  }
  .sm-ending-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sm-sunset {
    padding: 90px 16px 200px;
  }
  .sm-sunset-sun {
    width: 170px;
    height: 170px;
    margin-left: -85px;
  }
  .sm-sunset-cloud-a {
    width: 60vw;
  }
  .sm-sunset-cloud-b {
    width: 44vw;
  }
  .sm-sunset-cloud-c {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sm-sun,
  .sm-cloud,
  .sm-wave,
  .sm-scroll span,
  .sm-bubble,
  .sm-sea-cloud,
  .sm-star,
  .sm-sunset-cloud,
  .sm-sunset-sun,
  .sm-sunset-glow {
    animation: none;
  }
  .sm-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 動画がない回はカードを1列に */
.sm-card.no-video {
  grid-template-columns: minmax(0, 1fr);
}
