/* ============================================
   動画で紹介！ 入所試験&ボートレーサー 専用CSS
   ============================================ */

/* ============================================
   ページタイトル
   ============================================ */
.page-title--yl {
  width: auto;
  max-width: 340px;
  min-width: 280px;
  height: 75px;
  padding: 0 16px;
}

/* ============================================
   ナビゲーションバナー（YL固有: 番号バッジ・paddingオーバーライド）
   ============================================ */
.page-yl .nav-banner {
  padding: 8px 10px;
}

.yl-nav-banner__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yl-nav-banner__num {
  font-family: "din-2014", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--boat-blue);
  background-color: var(--boat-yellow);
  padding: 8px 4px;
  flex-shrink: 0;
}

/* ============================================
   セクションヘッダー
   ============================================ */
.yl-section-header {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.yl-section-num {
  font-family: "din-2014", sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--boat-blue);
  flex-shrink: 0;
}

/* ============================================
   セクションボディ（動画コンテンツ）
   ============================================ */
.yl-section-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yl-video-thumb {
  width: 100%;
  overflow: hidden;
  border-radius: 1px;
}

.yl-video-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.yl-video-thumb--placeholder {
  background-color: #ECECEC;
  margin-top: 10px;
}

.yl-video-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 20px;
  background-color: var(--white);
  border: 1px solid var(--boat-blue);
  border-radius: 30px;
  text-decoration: none;
  transition: opacity 0.3s ease;
  height: 48px;
}

.yl-video-btn:hover {
  opacity: 0.8;
}

.yl-video-btn span {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: 0.04em;
  color: var(--boat-text);
}

.yl-video-btn img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.yl-video-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--boat-text);
}

/* ============================================
   アコーディオン
   ============================================ */
.yl-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yl-accordion__item {
  border: 1px solid var(--boat-blue);
  background-color: var(--white);
  overflow: hidden;
}

.yl-accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  height: 42px;
}

.yl-accordion__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--boat-text);
}

.yl-accordion__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-image: url('/assets/img/common/accordion-plus.svg');
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}

.yl-accordion__header[aria-expanded="true"] .yl-accordion__icon {
  background-image: url('/assets/img/common/accordion-toggle.svg');
}

.yl-accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.yl-accordion__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 10px 14px;
}

.yl-accordion__link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.yl-accordion__link:hover {
  opacity: 0.7;
}

.yl-accordion__link img {
  width: 30px;
  height: 18px;
  flex-shrink: 0;
}

.yl-accordion__link span {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--boat-text);
}

/* ============================================
   動画サムネイル ホバー再生アイコン
   ============================================ */
.yl-video-thumb__link {
  display: block;
  position: relative;
}

.yl-video-thumb__link img {
  display: block;
  width: 100%;
  height: auto;
}

.yl-video-thumb__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.yl-video-thumb__play::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
}

.yl-video-thumb__link:hover .yl-video-thumb__play {
  opacity: 1;
}

/* フッターエリア・LINE: 共通クラス（subpage-bottom-section, line-cta）を使用 */
