@charset "UTF-8";
/* ============================================
   ビデオライブラリ ページ専用スタイル
   ============================================ */

/* ---------- ヒーロー ---------- */
.vl-hero {
  position: relative;
  padding: 90px 20px 70px;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--df-black) 0%, #241a10 100%);
  isolation: isolate;
}

.vl-hero-bg {
  position: absolute;
  inset: -15%;
  z-index: 0;
  background:
    radial-gradient(42% 38% at 18% 28%, rgba(232, 93, 44, 0.34), transparent 72%),
    radial-gradient(34% 32% at 78% 62%, rgba(224, 165, 39, 0.28), transparent 72%),
    radial-gradient(38% 40% at 55% 10%, rgba(232, 93, 44, 0.22), transparent 72%),
    radial-gradient(30% 30% at 30% 82%, rgba(224, 165, 39, 0.18), transparent 72%);
  filter: blur(70px);
  animation: vl-hero-drift 18s ease-in-out infinite;
  pointer-events: none;
  will-change: transform;
}
@keyframes vl-hero-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(3%, -4%) scale(1.08); }
  66%      { transform: translate(-4%, 3%) scale(0.94); }
}

.vl-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 50% 0%, rgba(232, 93, 44, 0.14), transparent 60%);
}

.vl-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.vl-hero .df-kicker { color: var(--df-gold); }

.vl-hero-title {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin-top: 6px;
}

.vl-hero-lead {
  margin-top: 22px;
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
}

@media screen and (max-width: 767px) {
  .vl-hero { padding: 60px 16px 46px; }
  .vl-hero-title { font-size: 26px; }
  .vl-hero-lead { font-size: 12px; }
}

/* ---------- カテゴリータブ ---------- */
.vl-tabs-wrapper {
  position: sticky;
  top: 61px;
  z-index: 150;
  background-color: rgba(255, 248, 240, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--df-line);
}

.vl-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 20px;
  max-width: 1200px;
  margin-inline: auto;
  -webkit-overflow-scrolling: touch;
}
.vl-tabs::-webkit-scrollbar { height: 4px; }
.vl-tabs::-webkit-scrollbar-thumb {
  background: rgba(232, 93, 44, 0.4);
  border-radius: 2px;
}

.vl-tab {
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid rgba(26, 26, 26, 0.18);
  background: transparent;
  color: var(--df-black);
  font-family: inherit;
  font-size: 12px;
  line-height: 1;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.vl-tab:hover { border-color: var(--df-orange); color: var(--df-orange-dark); }
.vl-tab._active {
  background-color: var(--df-orange);
  border-color: var(--df-orange);
  color: #fff;
  font-weight: 700;
}

.vl-tab-count { margin-left: 5px; font-size: 10px; opacity: 0.7; }

/* ---------- セクション ---------- */
.vl-main {
  max-width: 1200px;
  margin-inline: auto;
  padding: 30px 20px 80px;
}

.vl-section { margin-top: 50px; }
.vl-section:first-child { margin-top: 20px; }
.vl-section._hidden { display: none; }

.vl-section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--df-line);
}

.vl-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--df-black);
  letter-spacing: 0.04em;
  position: relative;
  padding-left: 14px;
}
.vl-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--df-gold), var(--df-orange));
}

.vl-section-count {
  font-family: var(--df-font-en);
  font-size: 12px;
  color: var(--df-orange-dark);
  letter-spacing: 0.1em;
}

/* ---------- カードグリッド ---------- */
.vl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media screen and (max-width: 1023px) {
  .vl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 599px) {
  .vl-grid { grid-template-columns: 1fr; }
}

.vl-card {
  display: flex;
  flex-direction: column;
  background-color: var(--df-white);
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(26, 26, 26, 0.05);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.vl-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 93, 44, 0.5);
  box-shadow: 0 10px 26px rgba(232, 93, 44, 0.16);
}

.vl-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: #111;
  overflow: hidden;
}

.vl-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.vl-card:hover .vl-card-thumb img { transform: scale(1.05); }

.vl-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
  transition: background 0.25s;
}
.vl-card:hover .vl-play { background: rgba(0, 0, 0, 0.05); }

.vl-play-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(7, 7, 11, 0.65);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.vl-card:hover .vl-play-circle {
  background: var(--df-orange);
  border-color: var(--df-orange);
  transform: scale(1.08);
}

.vl-play-circle::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
}

.vl-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 16px 18px;
  flex: 1;
}

.vl-card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--df-black);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.vl-card-desc {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(26, 26, 26, 0.65);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
