/* 公開動画一覧専用。操作部品は共通 nm-button / PRO badge を使用する。 */
.nm-video-library { color-scheme: light; background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; }
.nm-video-library-main { max-width: 1120px; margin: auto; padding: 64px 24px; }
.nm-video-library-intro { margin: 0 0 48px; }
.nm-video-library h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 700; line-height: 1.4; letter-spacing: .02em; margin: 16px 0 20px; color: #0f172a; }
.nm-video-library .nm-video-library-eyebrow { display: flex; align-items: center; gap: 12px; color: #64748b; font-size: .875rem; font-weight: 600; letter-spacing: .08em; }
.nm-video-library-eyebrow::before { content: ""; width: 24px; height: 2px; background: #2563eb; }
.nm-video-library .nm-video-library-lead { font-size: 1rem; line-height: 2; }
.nm-video-library-nav { display: flex; flex-wrap: wrap; column-gap: 36px; margin-top: 32px; border-bottom: 1px solid #cbd5e1; }
.nm-video-library-nav a { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 52px; padding: 12px 0; color: #334155; font-size: .9375rem; font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; }
.nm-video-library-nav a:hover { color: #1d4ed8; border-bottom-color: #2563eb; }
.nm-video-library-nav svg { width: 18px; height: 18px; color: #64748b; }
.nm-video-library h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.nm-video-library h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 16px; }
.nm-video-library p { color: #475569; line-height: 1.8; }
.nm-video-library-section { margin-bottom: 72px; padding-top: 28px; border-top: 1px solid #cbd5e1; }
.nm-video-library-intro + .nm-video-library-section { padding-top: 0; border-top: 0; }
.nm-video-library :where(section, article) { scroll-margin-top: 24px; }
.nm-video-library-grid { display: grid; gap: 48px 40px; margin-top: 36px; }
.nm-video-library-item { min-width: 0; display: flex; flex-direction: column; }
.nm-video-library-item > p { margin-top: 16px; }
.nm-video-library-stage { aspect-ratio: 16 / 9; background: #0f172a; }
.nm-video-library-stage iframe { display: block; width: 100%; height: 100%; border: 0; }
.nm-video-library-links { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 20px; }
.nm-video-library-links a:not(.nm-button) { color: #1d4ed8; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.nm-video-library-related { min-height: 44px; }
.nm-video-library-item > p { flex-grow: 1; }
/* 同じ行の見出し・動画・説明・記事欄を揃える。空の記事欄も維持する。 */
@supports (grid-template-rows: subgrid) {
  .nm-video-library-item { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 0; }
}
.nm-video-library-cta .nm-video-library-links { justify-content: center; }
.nm-video-library-cta { text-align: center; padding: 32px 0; border-top: 1px solid #cbd5e1; }
.nm-video-library :where(a, button, iframe):focus-visible { outline: 3px solid #2563eb; outline-offset: 4px; }
@media (min-width: 768px) { .nm-video-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .nm-video-library-main { padding: 32px 16px; } }
