#misen-youtube { --yt-unit: var(--remBase, 1px); margin-top: calc(40 * var(--yt-unit)); font-family: source-han-sans-japanese, sans-serif; }
#misen-youtube * { box-sizing: border-box; }
#misen-youtube .yt-card { display: flex; flex-direction: column; align-items: center; gap: calc(10 * var(--yt-unit)); padding: calc(4 * var(--yt-unit)) calc(4 * var(--yt-unit)) calc(16 * var(--yt-unit)); border-radius: calc(4 * var(--yt-unit)); background: #fff; }
#misen-youtube .yt-thumbnail { display: block; width: 100%; height: auto; aspect-ratio: 280 / 157; object-fit: cover; }
#misen-youtube .yt-title { margin: 0; font-size: calc(14 * var(--yt-unit)); font-weight: 500; line-height: 1.5; color: #000; text-align: center; }
#misen-youtube .yt-link, #misen-youtube .yt-channel { display: flex; align-items: center; justify-content: center; gap: calc(9.936 * var(--yt-unit)); background: #16b8c9; color: #fff; border-radius: calc(5.08 * var(--yt-unit)); text-decoration: none; font-weight: 700; line-height: 1; }
#misen-youtube .yt-link { width: calc(220 * var(--yt-unit)); height: calc(48 * var(--yt-unit)); font-size: calc(13 * var(--yt-unit)); margin-top: auto; }
#misen-youtube .yt-channel { width: calc(313.875 * var(--yt-unit)); max-width: 94%; height: calc(64 * var(--yt-unit)); margin: calc(50 * var(--yt-unit)) auto 0; font-size: calc(15 * var(--yt-unit)); white-space: nowrap; }
#misen-youtube a[aria-disabled] { cursor: default; }
#misen-youtube a[href]:hover { filter: brightness(.95); }
#misen-youtube :focus-visible { outline: 3px solid #00586c; outline-offset: 4px; }
#misen-youtube .splide__arrow { position: absolute; top: calc(112 * var(--yt-unit)); z-index: 2; display: flex; justify-content: center; align-items: center; width: calc(42 * var(--yt-unit)); height: calc(42 * var(--yt-unit)); padding: 0; border: 0; border-radius: 50%; background: #80808099; cursor: pointer; }
#misen-youtube .splide__arrow--prev { left: calc(22 * var(--yt-unit)); }
#misen-youtube .splide__arrow--next { right: calc(22 * var(--yt-unit)); }
#misen-youtube .splide__arrow--next img { transform: rotate(180deg); }
#misen-youtube .splide__pagination { position: static; display: flex; gap: calc(12 * var(--yt-unit)); padding: 0; margin: calc(24 * var(--yt-unit)) 0 0; }
#misen-youtube .splide__pagination__page { display: block; width: calc(6 * var(--yt-unit)); height: calc(6 * var(--yt-unit)); margin: 0; padding: 0; border: 0; border-radius: 50%; background: #ffffff63; cursor: pointer; }
#misen-youtube .splide__pagination__page.is-active { background: #fff; }
#misen-youtube.yt-fallback .splide { visibility: visible; }
#misen-youtube.yt-fallback .splide__list { overflow-x: auto; scroll-snap-type: x mandatory; gap: 19px; }
#misen-youtube.yt-fallback .yt-card { flex: 0 0 288px; scroll-snap-align: center; }
#misen-youtube.yt-fallback .splide__arrows { display: none; }

#misen-youtube .yt-image-card { padding: 0; gap: 0; background: transparent; }
#misen-youtube .yt-card-link { display: block; width: 100%; border-radius: 4px; }
#misen-youtube .yt-card-link > img { display: block; width: 100%; height: auto; }

/* 縦長動画のタイトルを読みやすい太さに調整 */
#voice #splide03 .splide__slide h4 { font-weight: 700; }

/* 動画の上端から47%の高さに、矢印の中心を配置 */
#voice #splide03 {
  container-type: inline-size;
}
#voice #splide03 .splide__arrow {
  top: calc(10 * var(--remBase, 1px) + 50.561823cqw);
  transform: translateY(-50%);
}

/* YouTube見出し：Figma 1094:182 */
#voice #misen-youtube .yt-heading {
  position: relative; isolation: isolate; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: calc(3 * var(--yt-unit));
  width: 100%; margin: 0 0 calc(24 * var(--yt-unit)); padding: calc(12 * var(--yt-unit)) 0;
  background: #fff; color: #545454; font-weight: 500; line-height: 1.5;
  text-align: center; letter-spacing: calc(.64 * var(--yt-unit));
}
#voice #misen-youtube .yt-heading::before {
  content: ''; position: absolute; inset: 0; z-index: -1; width: auto; height: auto;
  background: url('./heading-background.png') center / cover no-repeat;
  opacity: .19; transform: none; border: 0;
}
#voice #misen-youtube .yt-heading::after { content: none; }
#misen-youtube .yt-heading-lead {
  display: flex; align-items: center; justify-content: center; gap: calc(5 * var(--yt-unit));
  color: #16b8c9; font-size: calc(18 * var(--yt-unit)); letter-spacing: calc(.8 * var(--yt-unit)); white-space: nowrap;
}
#misen-youtube .yt-heading-lead > span { font-size: calc(20 * var(--yt-unit)); font-weight: 400; }
#misen-youtube .yt-heading-detail {
  display: flex; align-items: center; justify-content: center;
  font-size: calc(16 * var(--yt-unit)); white-space: nowrap;
}
#misen-youtube .yt-heading-brand { display: inline-flex; align-items: center; gap: calc(8 * var(--yt-unit)); color: #232323; }
#misen-youtube .yt-heading-brand img { display: block; width: calc(24.5 * var(--yt-unit)); height: calc(24.5 * var(--yt-unit)); }

/* 既存のspan用スタイルによる文字サイズ0を上書き */
#voice #misen-youtube .yt-heading-brand { font-size: calc(16 * var(--yt-unit)); }
