/*
 * 録画セミナー（#390）。ビルドしない素の CSS（app.css をビルドし直さない）。
 * 一覧 /tralog/webinar/ の見た目は、お役立ち資料の一覧の whitepaper-list.css（.wpl-*）をそのまま使う（2026-11-18 大場「デザインは揃えたい」）。
 * ここに置くのは、録画だけにある部品（開催予定のライブ・開催日と共催の行・下の案内）と、記事の中のカード・終わったライブの案内・入口のボタン。
 */

/* ---- 一覧: 録画だけの部品 ---- */
.wbl-when {
  display: block;
  margin-top: 2px;
  color: #555;
  font-size: 12px;
  line-height: 1.7;
}
/* 分類のボタンの本数（押す前に何本あるか分かるように） */
.wbl .wbl-chip-n {
  display: inline-block;
  min-width: 1.6em;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 9999px;
  background: #f1f1f1;
  color: #555;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}
.wbl .wpl-chip:hover .wbl-chip-n {
  background: #fff3e3;
  color: #c55a00;
}
.wbl .wpl-chip.is-active .wbl-chip-n {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* 一覧の後の、お役立ち資料への案内（文字のリンクだけだと見落とすので、枠と黄色のボタンにした） */
.wbl-next {
  display: flex;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
  margin: 40px 0 10px;
  padding: 20px 24px;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  background: #fff;
}
.wbl-next .wbl-next__text {
  margin: 0;
  color: #222;
  font-size: 14px;
  line-height: 1.7;
}
.wbl-next .wbl-next__link {
  position: relative;
  flex: 0 0 auto;
  display: block;
  min-width: 240px;
  padding: 10px 52px 10px 28px;
  border: 2px solid #222;
  border-radius: 60px;
  background: #fff;
  color: #222;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background 0.3s;
}
.wbl-next .wbl-next__link:hover,
.wbl-next .wbl-next__link:focus-visible {
  background: #ffe44e;
}
.wbl-next .wpl-btn-arr {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 17px;
  height: 9.5px;
  margin-top: -4.75px;
  fill: #000;
}

/*
 * 開催予定のライブ（一覧の上）。黒い太枠だと検索の枠より強く見え、スマホでは一覧が画面の下へ押し出されていたので、
 * 薄いオレンジの帯に「開催予定のライブ」の印を付けた形にし、題名はスマホで 2 行までにした（2026-11-25）
 */
.wbl-live {
  display: flex;
  gap: 8px 16px;
  align-items: center;
  margin: 20px 0;
  padding: 12px 20px;
  border: 1px solid #f6c58f;
  border-radius: 12px;
  background: #fff8ef;
  font-size: 14px;
  line-height: 1.6;
}
.wbl-live .wbl-live__badge {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 6px;
  align-items: center;
  margin: 0;
  padding: 3px 10px;
  border-radius: 9999px;
  background: #f38019;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.wbl-live .wbl-live__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}
.wbl-live .wbl-live__list {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wbl-live .wbl-live__item {
  display: flex;
  gap: 12px;
  align-items: baseline;
  min-width: 0;
}
.wbl-live .wbl-live__date {
  flex: 0 0 auto;
  color: #c55a00;
  font-weight: 700;
  white-space: nowrap;
}
.wbl-live .wbl-live__title {
  min-width: 0;
  overflow: hidden;
  color: #222;
  font-weight: 700;
  text-decoration: underline;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wbl-live .wbl-live__title:hover,
.wbl-live .wbl-live__title:focus-visible {
  text-decoration: none;
}
.wbl-live .wbl-live__more {
  flex: 0 0 auto;
  color: #222;
  font-size: 13px;
  text-decoration: underline;
  white-space: nowrap;
}

/* 窓で送信を受け付けた後の表示（ページを読み直さない） */
.wbl-sent {
  margin: 16px 0 8px;
  padding: 24px 20px;
  border-radius: 10px;
  background: #f4f4f4;
  color: #222;
  text-align: center;
}
.wbl-sent[hidden],
.wpl-modal .wpl-modal__form[hidden],
.wpl-modal .wpl-modal__privacy[hidden],
.wpl-modal .js-wbl-lead[hidden] {
  display: none !important;
}
.wbl-sent__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}
.wbl-sent__text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.8;
}
.wbl-sent__close {
  padding: 8px 32px;
  border: 2px solid #222;
  border-radius: 60px;
  background: #fff;
  color: #222;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* ---- 入口のボタン（トラログ）。形はテーマの .btn--top-section・.btn--black（tracom_webinar_entry）---- */
.wbl-entry {
  margin: 20px 0 0;
}
/* トラログのトップの「セミナー情報」の欄（ボタンの下）・カテゴリ「セミナー情報」の一覧（説明文の下）の小さな文字のリンク（ボタンを並べない） */
.wbl-textlink {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}
.wbl-textlink a {
  color: #222;
  text-decoration: underline;
}
.wbl-textlink a:hover,
.wbl-textlink a:focus-visible {
  text-decoration: none;
}

/*
 * ---- 記事の中の録画セミナーの枠・終わったライブの案内（.awb）----
 * #294 の「この記事に関連する無料資料」の枠（article-wp.css の .awp）と同じ形・色。記事の本文の文字の大きさ・余白・下線に負けないよう、枠の中は値を決めて書く
 */
.awb {
  margin: 48px 0;
  border: 2px solid #222;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
.awb .awb__kicker {
  margin: 0;
  padding: 8px 20px;
  background: #222;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.awb .awb__in {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px;
}
.awb .awb__img {
  display: block;
  flex: 0 0 46%;
  aspect-ratio: 2.44 / 1;
  border-radius: 8px;
  background: #f3f3f3;
  overflow: hidden;
}
.awb .awb__img img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
}
.awb .awb__body {
  flex: 1;
  min-width: 0;
}
.awb .awb__meta {
  margin: 0;
  line-height: 1.6;
}
.awb .awb__cat {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #fff3e3;
  color: #c55a00;
  font-size: 11px;
}
.awb .awb__free {
  color: #555;
  font-size: 11px;
}
.awb .awb__title {
  margin: 8px 0 4px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}
.awb .awb__title a {
  color: #222;
  text-decoration: none;
}
.awb .awb__title a:hover,
.awb .awb__title a:focus-visible {
  text-decoration: underline;
}
.awb .awb__when,
.awb .awb__text {
  margin: 0 0 12px;
  color: #555;
  font-size: 12px;
  line-height: 1.7;
}
.awb .awb__text {
  color: #222;
  font-size: 14px;
}
.awb .awb__btn {
  position: relative;
  display: block;
  padding: 9px 0;
  border: 2px solid #222;
  border-radius: 60px;
  background: #ffe44e;
  color: #222;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.awb .awb__btn:hover,
.awb .awb__btn:focus-visible {
  background: #fff;
  color: #222;
}
.awb .awb__arr {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 17px;
  height: 9.5px;
  margin-top: -4.75px;
  fill: #000;
  transition: transform 0.3s;
}
.awb .awb__btn:hover .awb__arr,
.awb .awb__btn:focus-visible .awb__arr {
  transform: translateX(5px);
}
.awb .awb__more {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}
.awb .awb__more a {
  color: #222;
  text-decoration: underline;
}
.awb--ended .awb__in {
  display: block;
}
.awb--ended .awb__btn {
  max-width: 420px;
  margin: 0 auto;
}

/*
 * PC の 3 列のカードが細い幅（751〜1280px）では、分類が 2 つの録画で「約60分」が次の行へ落ち、
 * 同じ行のカードと題名の高さがずれる。その録画だけ「約60分」を出さず、分類のタグを少し詰める
 * （961〜1023px の 3 列では、タグ 2 つだけでも 1 行に入らなかった）。:has が効かないブラウザーは今のまま次の行に出る
 */
@media (min-width: 751px) and (max-width: 1280px) {
  .wbl .wpl-card__labels:has(.wpl-card__cat + .wpl-card__cat) .wpl-card__fmt { display: none; }
  .wbl .wpl-card__labels:has(.wpl-card__cat + .wpl-card__cat) .wpl-card__cat {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 11px;
  }
}

@media (max-width: 1024px) {
  .wbl-live { flex-wrap: wrap; }
  .wbl-live .wbl-live__list { flex-basis: 100%; order: 3; }
  .wbl-live .wbl-live__more { margin-left: auto; }
}
@media (max-width: 750px) {
  .wbl-live { margin: 16px 0; padding: 12px 14px; }
  .wbl-live .wbl-live__item { display: block; }
  .wbl-live .wbl-live__date { display: block; font-size: 13px; }
  /* スマホは題名を 2 行まで（一覧が画面の下へ押し出されないように） */
  .wbl-live .wbl-live__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
  }
  .wbl-next { display: block; margin-top: 32px; padding: 18px 16px; }
  .wbl-next .wbl-next__link { margin-top: 12px; min-width: 0; }
  .awb { margin: 36px 0; }
  .awb .awb__in {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
  }
  .awb .awb__img { flex: none; width: 100%; }
  .awb .awb__title { font-size: 16px; }
}
