.videos {
  background-color: #fff;
  background-image: url(../../jlpga/img/videos/bg.svg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  padding: 80px 0;
}
.videos .container {
  max-width: 1200px;
}
.videos .container h2 {
  font-size: 56px;
  font-weight: normal;
  line-height: normal;
  text-align: left;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}
.videos .container h3 {
  font-size: 14px;
  font-weight: 700;
  color: #878787;
  line-height: 1.4;
  text-align: left;
  margin-top: 16px;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}
.videos-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.videos-youtube-link {
  position: relative;
  top: 15px;
}
.videos-youtube-link a {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #333;
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
}
.videos-youtube-link__icon {
  display: block;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background-color: #333;
  -webkit-mask: url(../../jlpga/img/videos/icon-youtube-arrow.svg) no-repeat center / 30px 30px;
          mask: url(../../jlpga/img/videos/icon-youtube-arrow.svg) no-repeat center / 30px 30px;
}
.videos-youtube-link a:hover,
.videos-headline:hover .videos-headline__title,
.videos-list__item a:hover .videos-list__title {
  color: #00822d;
}
.videos-youtube-link a:hover .videos-youtube-link__icon {
  background-color: #00822d;
}
.videos-cards {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 40px;
}
.videos-headline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 792px;
  flex-shrink: 0;
}
/* [プロジェクト独自] 白背景のサムネイルがページの白背景に溶け込んで
   境界が見えなくなるのを防ぐための薄いシャドウ（ARTICLESと同様） */
:is(.videos-headline__thumb, .videos-list__thumb, .videos-sp-headline__thumb, .videos-sp-list__thumb) {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.12);
}
:is(.videos-headline__thumb, .videos-list__thumb, .videos-sp-headline__thumb, .videos-sp-list__thumb) img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.videos-headline__thumb {
  width: 792px;
  height: 449px;
  border-radius: 6px;
}
.videos-list__thumb {
  width: 180px;
  height: 102px;
  flex-shrink: 0;
}
:is(.videos-headline__thumb, .videos-list__thumb) img {
  transition: opacity ease-in-out 0.3s;
}
.videos-headline:hover .videos-headline__thumb img,
.videos-list__item a:hover .videos-list__thumb img {
  opacity: 0.6;
}
:is(.videos-headline__title, .videos-list__title) {
  font-weight: 700;
  color: #333;
  line-height: 1.6;
  transition: color ease-in-out 0.3s;
}
.videos-headline__title {
  display: block;
  width: 792px;
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.videos-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 449px;
  flex: 1;
}
.videos-list__item a {
  display: flex;
  align-items: center;
  gap: 20px;
}
:is(.videos-list__title, .videos-sp-list__title) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.videos-list__title {
  flex: 1;
  font-size: 16px;
}
.videos-sp {
  display: none;
}
@media screen and (max-width: 550px) {
  /* [エリア: VIDEOS] 他セクション（FEATURED/NEWS/RANKING）と同じく、
     background-imageを直接指定するだけのシンプルな方式に統一 */
  .videos {
    padding: 30px 0;
    background-color: #f4f3f3;
    background-size: 100% auto;
  }
  .videos .container h2 {
    font-size: 32px;
  }
  .videos .container h3 {
    margin-top: 14px;
  }
  .videos-header .videos-youtube-link.videos-pc,
  .videos-cards.videos-pc {
    display: none;
  }
  .videos-sp {
    display: block;
    margin-top: 24px;
  }
  .videos-sp-headline,
  .videos-sp-list__item a {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .videos-sp-headline:hover,
  .videos-sp-list__item a:hover {
    opacity: 0.8;
  }
  .videos-sp-headline__thumb {
    width: 100%;
    aspect-ratio: 351 / 199;
  }
  .videos-sp-headline__title {
    display: block;
  }
  .videos-sp-headline__title,
  .videos-sp-list__title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
  }
  .videos-sp-list {
    display: flex;
    gap: 11px;
    margin-top: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .videos-sp-list::-webkit-scrollbar {
    display: none;
  }
  .videos-sp-list__item {
    flex: 0 0 150px;
  }
  .videos-sp-list__thumb {
    width: 100%;
    aspect-ratio: 282 / 160;
  }
  .videos-slide-bar {
    position: relative;
    height: 2px;
    background: #d9d9d9;
    border-radius: 20px;
    margin-top: 24px;
    overflow: hidden;
  }
  .videos-slide-bar__fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 100px;
    max-width: 100%;
    background: #00822d;
    border-radius: 4px;
  }
  .videos-youtube-link.videos-sp {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
    position: static;
  }
  .videos-youtube-link.videos-sp a {
    font-size: 14px;
    letter-spacing: 0.56px;
  }
}