@charset "UTF-8";
/* ====================================================
   QAB 番組（/tv/、/tv/<番組>/、トップの MOVIE の部分）。inc/tv.php・inc/tv-card.php
   - 画像の上に再生ボタンを重ねて、動画が見られることを一目で伝える
   - 色と形はサイト共通のもの（地 #f2f8f7、白い角丸カード、黒の丸ボタン、青 #00a1e9、ローズ #d23e69、英字は Fredoka）
==================================================== */

/* ---------- 番組のカード ---------- */
.tv-card { background: #fff; border-radius: var(--onv-photo-r); color: #333; display: flex; flex-direction: column; height: 100%; overflow: hidden; text-decoration: none; transition: box-shadow 0.25s; }
.tv-card:hover { box-shadow: 0 10px 24px -12px rgba(0, 60, 90, 0.35); }
.tv-card__img { aspect-ratio: 16 / 9; background: #0b2533; display: block; overflow: hidden; position: relative; }
.tv-card__img img { display: block; height: 100%; object-fit: cover; transition: opacity 0.3s; width: 100%; }
/* 画像の下側を少し暗くして、再生ボタンと印を見やすくする。再生ボタンは右下（画像の真ん中は、番組ロゴの文字に重なるため） */
.tv-card__img::after { background: linear-gradient(to top, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0) 55%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.tv-card__play {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  bottom: 10px;
  height: 48px;
  position: absolute;
  right: 10px;
  transition: transform 0.25s ease, background 0.25s;
  width: 48px;
  z-index: 1;
}
.tv-card__play::before {
  border-bottom: 9px solid transparent;
  border-left: 14px solid #d23e69;
  border-top: 9px solid transparent;
  content: "";
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-35%, -50%);
}
.tv-card__play--l { bottom: 16px; height: 68px; right: 16px; width: 68px; }
.tv-card__play--l::before { border-bottom-width: 13px; border-left-width: 21px; border-top-width: 13px; }
.tv-card:hover .tv-card__play,
.tv-hero__img:hover .tv-card__play { background: #fff; transform: scale(1.1); }
.tv-card__badge {
  background: #d23e69;
  border-radius: 3em;
  bottom: 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  left: 10px;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  position: absolute;
  z-index: 1;
}
.tv-card.is-ended .tv-card__badge { background: #666; }
.tv-card__body { display: grid; gap: 4px; padding: 14px 16px 16px; }
.tv-card__station { color: #00a1e9; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; margin: 0; }
.tv-card__title { font-size: 17px; font-weight: 700; line-height: 1.5; margin: 0; }
.tv-card__meta { color: #666; font-size: 12px; line-height: 1.7; }
@media (prefers-reduced-motion: reduce) {
  .tv-card__play { transition: none; }
}

/* ---------- 一覧・番組ページの共通 ---------- */
.tv-wrap { margin: 0 auto; max-width: 1180px; padding: 28px 16px 64px; width: 100%; }
.tv-crumb ol { display: flex; flex-wrap: wrap; font-size: 12px; gap: 4px 0; list-style: none; margin: 0 0 20px; padding: 0; }
/* テーマ共通の ol の指定（番号の丸、li 同士の余白）を打ち消してから、区切りの「／」を付ける */
.tv-crumb ol > li { counter-increment: none; padding-left: 0; }
.tv-crumb ol > li::before { all: unset; }
.tv-crumb ol > li + li { margin-top: 0; }
.tv-crumb ol > li + li::before { color: #999; content: "／"; margin: 0 6px; }
.tv-crumb a { color: #333; }
.tv-head { margin-bottom: 28px; text-align: center; }
.tv-head__en { display: block; font-family: var(--f_en); font-size: 56px; font-weight: 500; line-height: 1; }
.tv-head__title { font-size: 18px; font-weight: 700; margin: 8px 0 12px; }
.tv-head__lead { color: #555; font-size: 14px; line-height: 1.9; margin: 0 auto; max-width: 720px; text-wrap: pretty; }
.tv-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; }
.tv-grid > li + li { margin-top: 0; }
.tv-grid li { list-style: none; }
.tv-center { margin-top: 28px; text-align: center; }
.tv-center .linkBtn,
.tv-how .linkBtn { display: inline-flex; min-width: min(100%, 300px); text-decoration: none; }

.tv-how { background: #fff; border-radius: var(--onv-photo-r); margin-top: 40px; padding: 28px 20px; }
.tv-how__title { font-size: 17px; font-weight: 700; margin: 0 0 16px; text-align: center; }
.tv-how__steps { counter-reset: none; display: grid; gap: 12px; margin: 0; padding: 0; }
.tv-how__steps > li + li { margin-top: 0; }
.tv-how__steps li { align-items: center; display: flex; gap: 12px; list-style: none; }
.tv-how__steps > li { counter-increment: none; padding-left: 0; }
.tv-how__steps > li::before { all: unset; }
.tv-how__steps .num { align-items: center; background: #f2f8f7; border-radius: 50%; color: #00a1e9; display: flex; flex: none; font-family: var(--f_en); font-size: 20px; height: 40px; justify-content: center; width: 40px; }
.tv-how__steps .text { font-size: 14px; font-weight: 700; line-height: 1.6; }

/* ---------- 番組ページ ---------- */
.tv-article { display: grid; gap: 20px; }
.tv-hero { background: #fff; border-radius: var(--onv-photo-r); display: grid; overflow: hidden; }
.tv-hero__img { aspect-ratio: 16 / 9; background: #0b2533; display: block; overflow: hidden; position: relative; }
.tv-hero__img img { display: block; height: 100%; object-fit: cover; width: 100%; }
.tv-hero__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 18px 24px; }
.tv-hero__title { font-size: 26px; font-weight: 700; line-height: 1.4; margin: 0; }
.tv-hero__catch { font-size: 15px; font-weight: 700; line-height: 1.7; margin: 0; }
.tv-facts { border-bottom: 1px solid #e8eeec; border-top: 1px solid #e8eeec; display: grid; font-size: 14px; gap: 8px 14px; grid-template-columns: 3.5em minmax(0, 1fr); margin: 4px 0; padding: 12px 0; }
.tv-facts dt { border-left: 1px solid #333; border-right: 1px solid #333; font-size: 12px; line-height: 1.4; margin-top: 3px; text-align: center; }
.tv-facts dd { margin: 0; }
.tv-hero__btn { font-size: 15px !important; margin-top: 6px; min-height: 54px; min-width: 0 !important; text-decoration: none; width: 100%; }
.tv-stores { display: flex; flex-wrap: wrap; gap: 10px; }
.tv-stores img { display: block; height: 40px; width: auto; }
.tv-official { font-size: 13px; margin: 0; }
.tv-official a { color: #333; }

.tv-section { background: #fff; border-radius: var(--onv-photo-r); padding: 22px 18px; }
.tv-wrap > .tv-section { margin-top: 20px; }
.tv-section__title { font-size: 17px; font-weight: 700; margin: 0 0 12px; }
.tv-note { color: #666; font-size: 13px; margin: 0 0 8px; }
.tv-intro { font-size: 15px; line-height: 2; }
.tv-rows { margin: 0; padding: 0; }
.tv-rows > li + li { border-top: 1px solid #eef2f1; margin-top: 0; }
.tv-rows li { list-style: none; }
.tv-rows a { align-items: center; color: #333; display: grid; gap: 4px 10px; grid-template-columns: auto minmax(0, 1fr); min-height: 54px; padding: 10px 0; text-decoration: none; }
.tv-rows a:hover .title { color: #00a1e9; }
.tv-rows .state { background: #eef2f1; border-radius: 3em; color: #666; font-size: 11px; font-weight: 700; padding: 3px 10px; }
.tv-rows .state.is-open { background: #f7e3ec; color: #d23e69; }
.tv-rows .title { font-size: 14px; font-weight: 700; line-height: 1.6; }
.tv-rows time { color: #707070;  /* 以前 #999（白地でコントラスト 2.8） */ font-size: 12px; grid-column: 2; }
.tv-rows a:not(:has(.state)) { grid-template-columns: minmax(0, 1fr); }
.tv-rows a:not(:has(.state)) time { grid-column: 1; }
.tv-more { font-size: 13px; margin: 12px 0 0; text-align: right; }
.tv-more a { color: #00a1e9; }

/* ---------- 広い画面 ---------- */
@media print, screen and (min-width: 769px) {
  .tv-wrap { padding-top: 48px; }
  .tv-head__en { font-size: 72px; }
  .tv-grid { gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tv-how__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tv-hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  /* 画像は元の比率（16:9）のまま。右の欄が長くなっても切れない */
  .tv-hero { align-items: start; }
  .tv-hero__body { padding: 32px 32px 32px; }
  .tv-hero__title { font-size: 32px; }
  .tv-section { padding: 28px 32px; }
}
@media print, screen and (min-width: 1100px) {
  .tv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
