/* 見本 v09：トップの写真4枚を数秒ごとに切り替える（文字・ボタン・すりガラスのカードは固定、写真だけ替わる）。
   - 1枚ずつ .v9-slide（写真＋その写真用の暗さの層）。表示中は .is-on、ひとつ前は .is-prev（下に残して、上の写真がゆっくり重なる）。
   - 暗さの層は紫をやめ、黒寄りの色（rgb 10,10,14）だけで付ける。写真の色はそのまま見える。
   - 動きを減らす設定の人には切り替えの動き（フェード）も止める（切り替え自体は hero_v09.js が止める）。 */
.v9-hero .v8-hero__media { background: #121216; }
.v9-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease-in-out; }
.v9-slide.is-prev { opacity: 1; z-index: 1; transition: none; }
.v9-slide.is-on { opacity: 1; z-index: 2; }
.v9-slide img { width: 100%; height: 100%; object-fit: cover; display: block; object-position: var(--v8-pos, 50% 50%); }
.v9-slide::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 10, 14, var(--v9-l, .58)) 0%, rgba(10, 10, 14, var(--v9-m, .34)) 50%, rgba(10, 10, 14, var(--v9-r, .16)) 100%),
    linear-gradient(180deg, rgba(10, 10, 14, 0) 40%, rgba(10, 10, 14, var(--v9-b, .46)) 100%); }

/* 切り替えの操作（止める・再開する）と、何枚目かの控えめな表示。スクリプトが動く時だけ出す（hidden を外す）。 */
.v9-ctrl { margin-top: 20px; align-self: flex-end; display: flex; align-items: center; gap: 12px; color: #fff; font-size: 13px; line-height: 1; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.v9-ctrl[hidden] { display: none; }
.v9-ctrl__btn { width: 32px; height: 32px; border-radius: 9999px; border: 1px solid rgba(255, 255, 255, .55); background: rgba(10, 10, 14, .30); color: #fff; display: grid; place-items: center; padding: 0; cursor: pointer; }
.v9-ctrl__btn:hover { background: rgba(10, 10, 14, .55); }
.v9-ctrl__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.v9-ctrl__ico { width: 10px; height: 10px; position: relative; display: block; }
.v9-ctrl__ico::before, .v9-ctrl__ico::after { content: ""; position: absolute; top: 0; width: 3px; height: 10px; background: currentColor; }
.v9-ctrl__ico::before { left: 1px; }
.v9-ctrl__ico::after { right: 1px; }
.v9-ctrl__btn[aria-pressed="true"] .v9-ctrl__ico::before { left: 2px; width: 0; height: 0; background: none; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }
.v9-ctrl__btn[aria-pressed="true"] .v9-ctrl__ico::after { display: none; }

@media (prefers-reduced-motion: reduce) {
  .v9-slide { transition: none; }
}

@media (max-width: 768px) {
  .v9-slide::after { background: linear-gradient(180deg, rgba(10, 10, 14, var(--v9-st, .40)) 0%, rgba(10, 10, 14, var(--v9-sm, .56)) 30%, rgba(10, 10, 14, var(--v9-sb, .70)) 100%); }
  .v9-slide img { object-position: var(--v8-pos-sp, var(--v8-pos, 50% 50%)); }
  .v9-ctrl { align-self: flex-start; }
}
