/**
 * File: top/common.css
 * Usage: TOPページ各セクション共通の部品(見出し・ボタン・カード・スライダー)
 */

/* ------- セクション余白 ------- */
.ly_movie,
.ly_topics,
.ly_action,
.ly_slide {
  position: relative;
  overflow: hidden;
}

/* ------- セクション見出し ------- */
.bl_secHead {
  position: relative;
  z-index: 1;
}

.bl_secHead_en {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--color-dgray);
}

.bl_secHead_en::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  margin-top: 16px;
  background: currentColor;
}

.bl_secHead_ttl {
  margin-top: 16px;
  font-size: clamp(1.5rem, -0.3182rem + 9.0909vw, 1.8125rem);
  font-weight: 700;
  -webkit-text-stroke: 0.4px currentColor;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--color-dgray);
}

.bl_secHead_lead {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.75;
  letter-spacing: 0.05em;
  color: var(--color-dgray);
}

/* 暗背景用(ACTION) */
.bl_secHead__light .bl_secHead_en,
.bl_secHead__light .bl_secHead_ttl,
.bl_secHead__light .bl_secHead_lead {
  color: var(--color-white);
}

/* ------- 線付き小見出し(注目の動画) ------- */
.bl_lineTtl {
  display: flex;
  align-items: center;
  gap: 24px;
}

.bl_lineTtl span {
  flex-shrink: 0;
  font-size: 29px;
  font-weight: 700;
  -webkit-text-stroke: 0.4px currentColor;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--color-black);
	z-index:5;
}

.bl_lineTtl::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #a88d6a;
}

/* ------- 矢印 ------- */
.el_arrow {
  display: inline-block;
  width: 42px;
}

.el_arrow svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ------- 「動画を見る」リンク ------- */
.el_watch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-accent);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--color-black);
}

/* 矢印はアクセントカラーで塗りつぶしたピル(矢印は白) */
.el_watch .el_arrow {
  width: 42px;
  color: var(--color-accent);
}

/* ------- ピルボタン ------- */
.el_pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 9px 24px;
  border-radius: 99px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  transition: opacity 0.3s ease;
}

.el_pill:hover {
  opacity: 0.82;
}

.el_pill__ghost {
  background: var(--color-white);
  color: var(--color-accent);
}

/* ------- 動画カード(サムネ+タイトル) ------- */
.bl_videoCard {
  display: block;
}

.bl_videoCard_thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
  background: #e9e2d6;
}

.bl_videoCard_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.5s ease;
}

.bl_videoCard:hover .bl_videoCard_thumb img {
  transform: scale(1.05);
}

.bl_videoCard_ttl {
  display: block;
  margin-top: 12px;
  font-size: 22px;
  font-weight: 700;
  -webkit-text-stroke: 0.4px currentColor;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--color-black);
}

/* PC:見出しを大きく(Figmaトークン Dsp_Large_bold = 34px) */
@media screen and (min-width: 768px) {
  .bl_secHead_ttl,
  .bl_lineTtl span {
    font-size: 34px;
  }
}

/* ------- スライダー ------- */
/* Swiper 共通 */
.swiper {
  width: 100%;
}

.swiper-wrapper {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bl_sliderNav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

/* 矢印ボタン */
.el_arrowBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
  color: var(--color-black);
  cursor: pointer;
}

.el_arrowBtn .el_arrow {
  width: 42px;
}

/* 白いピル型の矢印(背景から浮かせるため軽くシャドウ) */
.el_arrowBtn__pill {
  transition: transform 0.3s ease;
}

.el_arrowBtn__pill .el_arrow {
  filter: drop-shadow(0 1px 3px rgba(28, 28, 28, 0.16));
}

.el_arrowBtn__pill:hover {
  transform: scale(1.08);
}

.el_arrowBtn__circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}

.el_arrowBtn__circle:hover {
  opacity: 0.85;
}

.el_arrowBtn__circle .el_arrow {
  width: 14px;
}

/* 進捗バー(Swiper scrollbar を流用)
   Swiper既定の .swiper-scrollbar-horizontal は position:absolute / left:1% /
   bottom:4px / width:calc(100% - 2%) を付与する。これらを打ち消して
   フレックス内に通常配置し、左右の矢印と等間隔で中央寄せにする。 */
.el_swiperBar.swiper-scrollbar {
  position: relative;
  left: 0;
  right: auto;
  top: auto;
  bottom: auto;
  flex: 0 1 342px;
  width: 342px;
  max-width: 100%;
  height: 2px;
  margin: 0;
  background: #a0a0a0;
  border-radius: 0;
}

.el_swiperBar .swiper-scrollbar-drag {
  height: 100%;
  background: var(--color-accent);
  border-radius: 0;
}

/* ACTION(暗背景):トラック白・インジケーター黒 */
.el_swiperBar__light.swiper-scrollbar {
  background: var(--color-white);
}

.el_swiperBar__light .swiper-scrollbar-drag {
  background: var(--color-black);
}
