/* ==========================================================
   1. タブデザイン（カプセル型・YouTube風）
   ========================================================== */
.yt-tabs {
  border: none !important;
  margin-top: 0 !important;
  padding-left: 0;
}
.yt-tabs .nav-item {
  margin-right: 8px;
  margin-bottom: 8px;
}
.yt-tabs .nav-link {
  border: none !important;
  border-radius: 30px !important;
  padding: 6px 16px !important;
  font-size: 0.85rem !important;
  transition: background-color 0.15s ease;
  background-color: #f1f1f1 !important;
  color: #000000 !important;
}
.yt-tabs .nav-link:hover {
  background-color: #e5e5e5 !important;
}
.yt-tabs .nav-link.active {
  background-color: #000000 !important;
  color: #ffffff !important;
}
.yt-tab-content,
.yt-tab-content .tab-pane,
.yt-tab-content .tab-pane * {
  border: none !important;
  box-shadow: none !important;
}

/* ==========================================================
   2. ヘッダー ＆ 検索バー（自動伸縮・ドロップダウン）
   ========================================================== */
.dropdown-wrapper {
  position: relative !important;
}
.menu-toggle-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  height: 38px !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 50% !important;
  background-color: #ffffff !important;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  padding: 0 !important;
  margin-right: 12px !important;
  flex-shrink: 0 !important;
}
.menu-toggle-btn:hover {
  background-color: #f1f1f1 !important;
  border-color: #cccccc !important;
}
.menu-toggle-btn .navbar-toggler-icon {
  display: inline-block !important;
  width: 20px !important;
  height: 20px !important;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 100% 100% !important;
  cursor: pointer;
}
.l-header_right .dropdown-wrapper .dropdown-container {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  transform: none !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
  border-radius: 8px !important;
  margin-top: 5px !important;
  z-index: 1000 !important;
  background-color: #ffffff !important;
}
.category-list {
  padding: 8px 0 !important;
  margin: 0 !important;
  list-style: none;
  min-width: 220px;
  background-color: #ffffff !important;
}
.category-list-item h4.ttl-sm {
  margin: 0 !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
}
.category-list-item h4.ttl-sm a {
  display: block;
  padding: 8px 20px !important;
  color: #333333 !important;
  text-decoration: none !important;
  transition: background-color 0.15s;
}
.category-list-item h4.ttl-sm a:hover {
  background-color: #f5f5f5 !important;
}
.sub-category-list {
  padding-left: 0 !important;
  margin: 0 !important;
  list-style: none;
  background-color: #fafafa;
}
.sub-category-list-item a {
  display: block;
  padding: 6px 20px 6px 35px !important;
  font-size: 0.8rem !important;
  color: #666666 !important;
  text-decoration: none !important;
}
.sub-category-list-item a:hover {
  background-color: #eeeeee !important;
}
.announce-dropdown-container {
  display: none;
  padding: 15px !important;
  min-width: 300px;
}
.announce-item-link {
  display: block;
  color: #333333 !important;
  text-decoration: none !important;
  transition: background-color 0.1s;
  padding: 6px 8px !important;
  border-radius: 4px;
}
.announce-item-link:hover {
  background-color: #f5f5f5 !important;
}
.badge-dot {
  position: absolute;
  top: 1px;
  right: -2px;
  width: 8px;
  height: 8px;
  background-color: #ff3b30 !important;
  border-radius: 50% !important;
  border: 1.5px solid #ffffff !important;
  box-sizing: content-box !important;
  z-index: 5;
}
.search-input-group {
  border: 1px solid #cccccc !important;
  background-color: #f8f8f8 !important;
  border-radius: 40px !important;
  overflow: hidden;
  height: 36px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
  transition: border-color 0.15s ease;
  width: 100% !important;
}
.search-input-group:focus-within {
  border-color: #1a73e8 !important;
}
.search-input-field {
  border: none !important;
  background-color: #ffffff !important;
  height: 100% !important;
  font-size: 0.9rem !important;
  padding-left: 16px !important;
  border-radius: 40px 0 0 40px !important;
  min-width: 0 !important;
}
.search-input-field:focus {
  box-shadow: none !important;
}
.search-submit-btn {
  border: none !important;
  border-left: 1px solid #cccccc !important;
  background-color: #f8f8f8 !important;
  width: 60px !important;
  height: 100% !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  cursor: pointer;
  border-radius: 0 40px 40px 0 !important;
  flex-shrink: 0 !important;
}
.search-submit-btn:hover {
  background-color: #f0f0f0 !important;
}
.search-submit-btn img {
  width: 15px;
  height: 15px;
}
.login-btn-yt-gray {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0 !important;
  color: #333333 !important;
  background-color: #f9f9f9 !important;
  border-radius: 20px !important;
  padding: 5px 15px !important;
  font-weight: bold !important;
  font-size: 0.85rem !important;
  text-decoration: none !important;
  transition: background-color 0.15s;
  height: 36px;
  flex-shrink: 0 !important;
}
.login-btn-yt-gray:hover {
  background-color: #f1f1f1 !important;
  text-decoration: none !important;
  color: #333333 !important;
}
.login-btn-yt-gray i {
  margin-right: 6px !important;
  font-size: 1rem !important;
  color: #333333 !important;
}
.user-dropdown-chip {
  background-color: #f1f1f1 !important;
  border-radius: 20px !important;
  padding: 6px 14px !important;
  font-size: 0.85rem !important;
  font-weight: bold !important;
  border: none !important;
  color: #000000 !important;
  display: inline-flex !important;
  align-items: center;
  cursor: pointer;
  height: 36px;
  transition: background-color 0.15s;
  flex-shrink: 0 !important;
}
.user-dropdown-chip:hover {
  background-color: #e5e5e5 !important;
  text-decoration: none !important;
  color: #000000 !important;
}
.user-dropdown-chip i {
  margin-right: 6px;
  font-size: 1rem;
}
.link-list {
  padding: 8px 0 !important;
  margin: 0 !important;
  list-style: none;
  min-width: 200px;
}
.link-list li {
  padding: 0 !important;
  margin: 0 !important;
}
.link-list li a {
  display: block !important;
  padding: 8px 20px !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: #333333 !important;
  text-decoration: none !important;
  transition: background-color 0.15s;
}
.link-list li a:hover {
  background-color: #f5f5f5 !important;
}
.logout-circle-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  height: 38px !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 50% !important;
  background-color: #f9f9f9 !important;
  cursor: pointer;
  padding: 0 !important;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  margin-bottom: 4px !important;
  text-decoration: none !important;
  color: #333333 !important;
  flex-shrink: 0 !important;
}
.logout-circle-btn:hover {
  background-color: #f1f1f1 !important;
  border-color: #cccccc !important;
  color: #333333 !important;
  text-decoration: none !important;
}
.logout-circle-btn i {
  font-size: 1.1rem !important;
  vertical-align: middle !important;
  color: #333333 !important;
}

/* ==========================================================
   3. スライダー（Slick Carousel / TVer風演出）
   ========================================================== */
.content-list.js-list-slide {
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  padding: 20px 0 20px 0 !important;
}
.content-list.js-list-slide .slick-slide {
  transform: scale(0.9) !important;
  opacity: 0.4 !important;
  filter: brightness(40%) !important;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              opacity 0.4s ease,
              filter 0.4s ease !important;
}
.content-list.js-list-slide .slick-center {
  transform: scale(1.05) !important;
  opacity: 1 !important;
  filter: brightness(100%) !important;
}
.truncate-2lines {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  height: 3.0em !important;
  margin-top: 5px !important;
}
.content-list.js-list-slide a:hover,
.content-list.js-list-slide a:hover *,
.content-list.js-list-slide .articlecard-item-inner:hover * {
  text-decoration: none !important;
}
.content-list.js-list-slide .slick-arrow {
  display: inline-flex !important;
  position: absolute !important;
  top: 40% !important;
  transform: translateY(-50%) !important;
  z-index: 100 !important;
  font-size: 2.8rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
  transition: color 0.2s, transform 0.2s, left 0.2s, right 0.2s !important;
  text-decoration: none !important;
}
.content-list.js-list-slide .slick-arrow:hover {
  color: rgba(255, 255, 255, 1) !important;
  transform: translateY(-50%) scale(1.1) !important;
}
.content-list.js-list-slide .custum-prevBtn {
  left: 40px !important;
  right: auto !important;
}
.content-list.js-list-slide .custum-nextBtn {
  right: 115px !important;
  left: auto !important;
}
@media (max-width: 991px) {
  .content-list.js-list-slide .slick-arrow {
    font-size: 2.0rem !important;
  }
  .content-list.js-list-slide .custum-prevBtn {
    left: 25px !important;
    right: auto !important;
  }
  .content-list.js-list-slide .custum-nextBtn {
    right: 60px !important;
    left: auto !important;
  }
}
@media (max-width: 575px) {
  .content-list.js-list-slide .slick-arrow {
    font-size: 1.5rem !important;
  }
  .content-list.js-list-slide .custum-prevBtn {
    left: 15px !important;
    right: auto !important;
  }
  .content-list.js-list-slide .custum-nextBtn {
    right: 25px !important;
    left: auto !important;
  }
}
.content-list.js-list-slide .slick-disabled {
  display: none !important;
}

/* ==========================================================
   4. ヒーローヘッダーエリア（シネマティック演出）
   ========================================================== */
.hero-section {
  position: relative !important;
  width: 100% !important;
  height: 430px !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.hero-mask-left {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(135deg,
              #ffffff 0%,
              rgba(255, 255, 255, 0.95) 25%,
              rgba(249, 246, 240, 0.7) 60%,
              rgba(249, 246, 240, 0) 100%) !important;
  z-index: 1 !important;
}
.hero-mask-bottom {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(to top,
              #f9f6f0 0%,
              rgba(249, 246, 240, 0.4) 35%,
              rgba(249, 246, 240, 0) 100%) !important;
  z-index: 2 !important;
}
.hero-flex-wrapper {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
  z-index: 10 !important;
}
.hero-left-graphic {
  flex: 0 0 auto !important;
  height: 100% !important;
  position: relative !important;
  overflow: hidden !important;
}
.hero-left-graphic img {
  height: 100% !important;
  width: auto !important;
  display: block !important;
  object-fit: cover !important;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 25%, rgba(0,0,0,0) 100%) !important;
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 25%, rgba(0,0,0,0) 100%) !important;
}
.hero-right-content {
  flex: 1 !important;
  min-width: 0 !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
}
.hero-container {
  width: 100% !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}
@media (min-width: 768px) {
  .hero-container {
    padding-left: 55px !important;
    padding-right: 15px !important;
  }
}

/* ==========================================================
   5. 概要文アコーディオン（本数・ボカシ統一版）
   ========================================================== */
.custom-desc-box {
  background-color: rgba(252, 250, 245, 0.9) !important;
  border: none !important;
  box-shadow: 0 0 35px 20px rgba(249, 246, 240, 0.95) !important;
}
.desc-text-wrapper {
  position: relative !important;
  max-height: 8.0em !important; /* ★ 5行分（1.6em * 5 = 8.0em） */
  line-height: 1.6 !important;
  overflow: hidden !important;
  transition: max-height 0.45s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.desc-text-wrapper.active {
  max-height: 2000px !important;
}
.desc-fade-mask {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 4.8em !important; /* ★ 下部3行分ボカシ（1.6em * 3 = 4.8em） */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%) !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease !important;
}
.desc-text-wrapper.active .desc-fade-mask {
  opacity: 0 !important;
}
#desc-more-btn,
#desc-close-btn {
  background-color: #000000 !important;
  color: #ffffff !important;
  font-weight: bold !important;
  font-size: 0.8rem !important;
  border-radius: 30px !important;
  padding: 6px 20px !important;
  border: none !important;
  transition: background-color 0.15s;
}
#desc-more-btn:hover,
#desc-close-btn:hover {
  background-color: #333333 !important;
  color: #ffffff !important;
}

/* ==========================================================
   6. セット・カリキュラム（5分割 ⇔ 1行リスト化）
   ========================================================== */
.set-grid-container {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
}
.set-grid-item {
  width: 100% !important;
  border-bottom: 1px solid #f0f0f0 !important;
  padding: 12px 0 !important;
}
.set-grid-item .title-box p {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  height: 2.8em !important;
  margin: 0 !important;
  font-weight: bold !important;
  color: #333333 !important;
  line-height: 1.4 !important;
}
@media (min-width: 992px) {
  .set-grid-container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    margin: 0 -10px !important;
  }
  .set-grid-item {
    width: calc(20% - 20px) !important;
    margin: 10px !important;
    border-bottom: none !important;
    padding: 0 !important;
  }
  .set-grid-item .thumb-box {
    margin-bottom: 8px !important;
    padding-right: 0 !important;
  }
  .set-grid-item .title-box {
    padding: 0 4px !important;
  }
  .set-grid-item .title-box p {
    font-size: 0.85rem !important;
  }
  .set-grid-item .meta-box {
    display: none !important;
  }
}

/* ==========================================================
   7. ページネーション（YouTube風カプセル型）
   ========================================================== */
.pagination {
  margin-top: 40px !important;
  margin-bottom: 40px !important;
  border: none !important;
}
.pagination .page-item {
  margin: 0 4px !important;
  display: inline-block !important;
}
.pagination .page-link {
  border: none !important;
  border-radius: 30px !important;
  padding: 8px 16px !important;
  font-size: 0.85rem !important;
  font-weight: bold !important;
  background-color: #f1f1f1 !important;
  color: #000000 !important;
  box-shadow: none !important;
  transition: background-color 0.15s ease, color 0.15s ease;
  min-width: 38px;
  text-align: center;
}
.pagination .page-item:not(.active):not(.disabled) .page-link:hover {
  background-color: #e5e5e5 !important;
  color: #000000 !important;
  text-decoration: none !important;
}
.pagination .page-item.active .page-link {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-radius: 30px !important;
}
.pagination .page-item.disabled .page-link {
  background-color: #f9f9f9 !important;
  color: #cccccc !important;
  opacity: 0.6 !important;
  cursor: not-allowed;
}

/* ==========================================================
   8. チケット風デザイン（未登録 ＆ もぎり完了）
   ========================================================== */
.ticket-card {
  position: relative !important;
  background-color: #ffffff !important;
  border: 1px solid #e2ded5 !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden !important;
}
.ticket-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 25% !important;
  border-left: 2px dashed #e2ded5 !important;
  height: 100% !important;
  z-index: 4 !important;
}
.ticket-card::after {
  content: '' !important;
  position: absolute !important;
  left: calc(25% - 8px) !important;
  top: -8px !important;
  width: 16px !important;
  height: 16px !important;
  background-color: #f9f6f0 !important;
  border-radius: 50% !important;
  border: 1px solid #e2ded5 !important;
  box-shadow: inset 0 -2px 3px rgba(0,0,0,0.03) !important;
  z-index: 5 !important;
}
.ticket-punch-bottom {
  position: absolute !important;
  left: calc(25% - 8px) !important;
  bottom: -8px !important;
  width: 16px !important;
  height: 16px !important;
  background-color: #f9f6f0 !important;
  border-radius: 50% !important;
  border: 1px solid #e2ded5 !important;
  box-shadow: inset 0 2px 3px rgba(0,0,0,0.03) !important;
  z-index: 5 !important;
}
.ticket-body-flex {
  display: flex !important;
  width: 100% !important;
  min-height: 120px !important;
}
.ticket-left-stub {
  width: 25% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px !important;
  flex-shrink: 0 !important;
  user-select: none !important;
}
.ticket-stub-text {
  font-family: 'Georgia', serif !important;
  font-size: 0.72rem !important;
  font-weight: bold !important;
  color: #b0ab9f !important;
  letter-spacing: 0.15rem !important;
  writing-mode: vertical-rl !important;
  text-orientation: mixed !important;
  transform: rotate(180deg) !important;
}
.ticket-right-main {
  width: 75% !important;
  padding: 20px 20px 20px 25px !important;
  flex-grow: 1 !important;
}
.ticket-card-used {
  position: relative !important;
  background-color: #ffffff !important;
  border: 1px solid #e2ded5 !important;
  border-radius: 0 8px 8px 0 !important;
  padding: 24px 24px 24px 35px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden !important;
  min-height: 120px !important;
  display: flex !important;
  align-items: center !important;
  clip-path: polygon(
    4px 0%, 100% 0%, 100% 100%, 4px 100%,
    0% 96%, 4px 92%, 0% 88%, 4px 84%,
    0% 80%, 4px 76%, 0% 72%, 4px 68%,
    0% 64%, 4px 60%, 0% 56%, 4px 52%,
    0% 48%, 4px 44%, 0% 40%, 4px 36%,
    0% 32%, 4px 28%, 0% 24%, 4px 20%,
    0% 16%, 4px 12%, 0% 8%, 4px 4%
  ) !important;
}
.ticket-card-used::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 4px !important;
  height: 100% !important;
  background-color: rgba(0,0,0,0.03) !important;
  z-index: 2 !important;
}






/* ==========================================================
   中間サイズ設定（高さ45px/42px・中間バランス）
   ========================================================== */

/* 1. カード全体の影 */
.custom-login-card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04) !important;
}

/* 2. 入力欄（中間サイズ：高さ45px） */
.login-form-wrapper input[type="text"],
.login-form-wrapper input[type="email"],
.login-form-wrapper input[type="password"] {
  width: 100% !important;
  height: 45px !important;
  border-radius: 8px !important;
  border: 1px solid #cccccc !important;
  padding: 0 16px !important;
  font-size: 0.95rem !important;
  margin-bottom: 16px !important;
  background-color: #fafafa !important;
  transition: border-color 0.15s ease, background-color 0.15s ease !important;
}

.login-form-wrapper input[type="text"]:focus,
.login-form-wrapper input[type="email"]:focus,
.login-form-wrapper input[type="password"]:focus {
  border-color: #000000 !important;
  background-color: #ffffff !important;
  outline: none !important;
  box-shadow: none !important;
}

/* 3. メイン送信/ログインボタン（中間サイズ：高さ45px） */
.login-form-wrapper button[type="submit"],
.login-form-wrapper input[type="submit"],
.login-form-wrapper .btn-primary,
.login-form-wrapper .btn-theme {
  width: 100% !important;
  height: 45px !important;
  border-radius: 30px !important;
  background-color: #000000 !important;
  color: #ffffff !important;
  font-weight: bold !important;
  font-size: 0.95rem !important;
  border: none !important;
  margin-top: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 0.15s ease !important;
}

.login-form-wrapper button[type="submit"]:hover,
.login-form-wrapper input[type="submit"]:hover,
.login-form-wrapper .btn-primary:hover,
.login-form-wrapper .btn-theme:hover {
  background-color: #333333 !important;
  color: #ffffff !important;
}

/* 4. サブカプセルボタン（中間サイズ：高さ42px） */
.btn-sub-capsule {
  height: 42px !important;
  background-color: #f1f1f1 !important;
  color: #333333 !important;
  border-radius: 30px !important;
  font-weight: bold !important;
  font-size: 0.88rem !important;
  border: none !important;
  padding: 0 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 0.15s ease !important;
  text-decoration: none !important;
}

.btn-sub-capsule:hover {
  background-color: #e5e5e5 !important;
  color: #000000 !important;
  text-decoration: none !important;
}

/* 5. ソーシャルログインボタン（中間サイズ：高さ45px） */
.btn-facebook-capsule {
  height: 45px !important;
  background-color: #1877f2 !important;
  color: #ffffff !important;
  border-radius: 30px !important;
  font-weight: bold !important;
  font-size: 0.88rem !important;
  border: none !important;
  padding: 0 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.btn-facebook-capsule:hover {
  opacity: 0.9 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.btn-google-capsule {
  height: 45px !important;
  background-color: #ffffff !important;
  color: #333333 !important;
  border-radius: 30px !important;
  border: 1px solid #e0e0e0 !important;
  font-weight: bold !important;
  font-size: 0.88rem !important;
  padding: 0 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03) !important;
}

.btn-google-capsule:hover {
  background-color: #f8f8f8 !important;
  color: #000000 !important;
  text-decoration: none !important;
}






/* ==========================================================
   チャプター表示
   ========================================================== */

/* チャプターリスト全体のスタイル */
.vimeo-chapters-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 各チャプター（li）のスタイル */
.vimeo-chapters-list li {
    font-size: 0.875rem;       /* 文字サイズをsmall（Bootstrapの.small相当）に */
    line-height: 1.0;          /* <p>文章と同等の行間（1.5〜1.6程度） */
    margin-bottom: 0.5rem;       /* <p>文章の段落間に近い余白を確保 */

    /* 1行で折り返さず、右端で「...」にする設定 */
    display: block;            /* text-overflowを正常に機能させるためブロック要素化 */
    white-space: nowrap;       /* 自動折り返しを禁止 */
    overflow: hidden;          /* はみ出した部分を非表示に */
    text-overflow: ellipsis;   /* 語尾に「...」を付与 */
}

/* タイムスタンプリンク自体のスタイル */
.vimeo-chapters-list .chapter-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;         /* リンク部分を少し目立たせる場合（任意） */
}

.vimeo-chapters-list .chapter-link:hover {
    text-decoration: underline;
}

/* チャプター表示エリアの制限ラッパー */
.chapters-wrapper {
    position: relative;
    max-height: 175px; /* 5行分（1行約35px × 5）の高さ */
    overflow: hidden;
    transition: max-height 0.3s ease-out; /* 開閉時のスムーズな動き */
}

/* 開いた状態のスタイル */
.chapters-wrapper.is-expanded {
    max-height: none; /* 高さを制限なしにする */
}

/* ぼかし（グラデーション）オーバーレイ */
.chapters-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px; /* ぼかしの高さ */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)); /* 白背景用のフェードアウト */
    pointer-events: none; /* クリックイベントを透過させる */
    transition: opacity 0.2s ease;
}

/* 開いた状態の時はぼかしを消す */
.chapters-wrapper.is-expanded .chapters-overlay {
    opacity: 0;
}

/* トグルボタン共通スタイル */
.chapters-toggle-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: none;
    border: none;
    color: #0066cc;
    font-size: 0.875rem;
    padding: 10px 0;
    cursor: pointer;
    font-weight: bold;
    outline: none;
}

.chapters-toggle-btn:hover {
    text-decoration: underline;
}

/* リスト最下部に追加する「閉じる」ボタン用のスタイル */
.chapters-close-li {
    list-style: none !important;
    margin: 15px 0 0 0 !important;
    padding: 0 !important;
    display: none; /* 初期は非表示 */
    border-top: 1px dashed #ddd; /* 境界線（デザイン用） */
}

/* 展開時のみ「閉じる」を表示 */
.chapters-wrapper.is-expanded .chapters-close-li {
    display: block;
}