/* 講習会動画（videos） */
.videos-seminar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
  gap: 2rem;
  margin-top: 1.75rem;
}

.videos-seminar-card {
  border: 1px solid rgba(0, 45, 90, 0.15);
  border-radius: 6px;
  padding: 1.75rem 2rem;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 30, 60, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* カード内タイポは .content__wrap と同じ基準（body 1.5rem / h3 2.0rem 系）に揃える */
.videos-seminar-card__label {
  font-size: 90%;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0066a8;
  margin-bottom: 0.5rem;
}

.videos-seminar-card__title {
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 0.5rem;
  color: #1f375a;
}

.videos-seminar-card__sub {
  font-size: 1.5rem;
  line-height: 1.8;
  color: #333;
  margin: 0 0 1em;
  flex: 1;
}

.videos-seminar-card__meta {
  font-size: 1.45rem;
  line-height: 1;
  color: #333;
  margin: 0 0 1em;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.videos-seminar-card__meta-row {
  display: grid;
  grid-template-columns: 9em minmax(0, 1fr);
  column-gap: 1rem;
  row-gap: 0.2rem;
  align-items: start;
}

.videos-seminar-card__meta-k {
  display: block;
  margin: 0;
  padding: 0.1em 0 0;
  color: #1f375a;
  font-weight: 600;
  line-height: 1.5;
}

.videos-seminar-card__meta-v {
  display: block;
  margin: 0;
  padding: 0.1em 0 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.65;
}

.videos-seminar-card__note {
  margin: 0 0 1em;
  color: #333;
  font-size: 1.5rem;
  line-height: 1.8;
}

.videos-seminar-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

/* style.css の .content__wrap a.btn より後に読み込み、高さを抑える */
.content__wrap a.btn {
  padding: 1em 1.6em;
  font-size: 1.5rem;
  line-height: 1.3;
}

@media only screen and (max-width: 767px) {
  .content__wrap a.btn {
    font-size: 1.35rem;
  }

  .videos-seminar-card {
    padding: 1.35rem 1.25rem;
  }

  .videos-seminar-card__title {
    font-size: 1.8rem;
  }

  .videos-seminar-card__meta {
    font-size: 1.32rem;
    gap: 0.55rem;
  }

  .videos-seminar-card__meta-row {
    grid-template-columns: 7.5em minmax(0, 1fr);
    column-gap: 0.75rem;
  }

  .videos-thumb-card__title {
    font-size: 1.6rem;
  }

  .videos-thumb-card__topics {
    font-size: 1.14rem;
  }

  .videos-speaker-affiliation {
    font-size: 1.12rem;
  }

  .videos-login-form {
    padding: 1.75rem 1.35rem;
    margin-top: 1.5rem;
  }

  .content__wrap .videos-login-form button.btn {
    font-size: 1.35rem;
  }
}

.videos-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.videos-thumb-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0, 45, 90, 0.12);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.videos-thumb-card:hover {
  border-color: rgba(0, 102, 168, 0.35);
}

/* 動画サムネイル（画像なし・フラットな簡易イラスト） */
.videos-thumb-card__art {
  aspect-ratio: 16 / 9;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12% 10%;
  box-sizing: border-box;
  background: #e8f1f8;
  position: relative;
}

.videos-thumb-card:nth-child(4n + 1) .videos-thumb-card__art {
  background: #e5f0f8;
}

.videos-thumb-card:nth-child(4n + 2) .videos-thumb-card__art {
  background: #eaf2f9;
}

.videos-thumb-card:nth-child(4n + 3) .videos-thumb-card__art {
  background: #e6eff6;
}

.videos-thumb-card:nth-child(4n + 4) .videos-thumb-card__art {
  background: #e9f3fa;
}

.videos-thumb-card__screen {
  position: relative;
  z-index: 1;
  width: 86%;
  max-width: 200px;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  border: 2px solid #7ba0bd;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.videos-thumb-card__play-ring {
  width: 52%;
  max-width: 72px;
  aspect-ratio: 1;
  border-radius: 50%;
  font-size: 1.5rem;
  background: #24a6e8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}

.videos-thumb-card:hover .videos-thumb-card__play-ring {
  background: #005183;
}

.videos-thumb-card__play-triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.55em 0 0.55em 0.95em;
  border-color: transparent transparent transparent #fff;
  margin-left: 0.2em;
}

.videos-thumb-card__body {
  padding: 1rem 1.25rem 1.1rem;
}

.videos-thumb-card__title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  color: #1f375a;
}

.videos-thumb-card__subtitle {
  font-size: 1.35rem;
  line-height: 1.55;
  color: #333;
  margin: 0.35em 0 0.65em;
}

.videos-thumb-card__desc {
  margin: 0.4rem 0 0;
  color: #333;
  font-size: 1.5rem;
  line-height: 1.8;
}

.videos-thumb-card__topics {
  margin: 0.35rem 0 0.2rem;
  padding: 0 0 0 1.2em;
  list-style: disc;
  color: #2c3d4f;
  font-size: 1.28rem;
  line-height: 1.45;
}

.videos-thumb-card__topics li {
  margin: 0.15rem 0 0;
}

.videos-thumb-card__topics li:first-child {
  margin-top: 0;
}

/* 一覧カード内：講師名と所属を詰めて表示（本文1.8行間は視聴ページ用に維持） */
.videos-thumb-card__body .videos-thumb-card__desc {
  margin-top: 0.3rem;
  line-height: 1.4;
}

.videos-thumb-card__body .videos-speaker-affiliation {
  margin-top: 0;
  line-height: 1.35;
}

.videos-speaker-affiliation {
  display: block;
  margin: 0.15rem 0 0;
  color: #6f7b8a;
  font-size: 1.22rem;
  line-height: 1.52;
}

/* 視聴ページのみ：.content__wrap p の padding-top が講師・所属で重なるため詰める */
.content__wrap.videos-page--watch .wrap__txt p.videos-watch-subtitle {
  padding-top: 0.45em;
  margin: 0.4em 0 0;
  line-height: 1.55;
  color: #333;
}

.content__wrap.videos-page--watch .wrap__txt p.videos-watch-instructor {
  padding-top: 0.25em;
  margin: 0.45em 0 0;
  line-height: 1.45;
  color: #1f375a;
  font-weight: 600;
}

.content__wrap.videos-page--watch .wrap__txt h2.divider + p.videos-watch-instructor {
  margin-top: 0.35em;
}

.content__wrap.videos-page--watch .wrap__txt p.videos-watch-subtitle + p.videos-watch-instructor {
  margin-top: 0.35em;
}

.content__wrap.videos-page--watch .wrap__txt p.videos-speaker-affiliation {
  padding-top: 0.15em;
  margin-top: 0.1em;
  line-height: 1.4;
}

.videos-login-form {
  max-width: min(100%, 700px);
  margin: 2rem auto 0;
  padding: 2rem 2.25rem;
  border: 1px solid rgba(0, 45, 90, 0.15);
  border-radius: 6px;
  background: #fafbfd;
  box-shadow: 0 4px 14px rgba(0, 30, 60, 0.06);
}

.videos-login-form label {
  display: block;
  font-size: 1.5rem;
  line-height: 1.8;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #1f375a;
}

.videos-login-form input[type="password"] {
  width: 100%;
  padding: 0.85em 1em;
  min-height: 3.2rem;
  border: 1px solid #b8c9db;
  border-radius: 6px;
  font-size: 1.5rem;
  line-height: 1.8;
  box-sizing: border-box;
  font-family: inherit;
}

.videos-login-form input[type="password"]:focus {
  outline: none;
  border-color: #0066a8;
  box-shadow: 0 0 0 3px rgba(0, 102, 168, 0.2);
}

/* style.css の .content__wrap a.btn は <a> のみ対象のため、同サイズを button に明示 */
.content__wrap .videos-login-form button.btn {
  display: block;
  width: 100%;
  margin-top: 1em;
  padding: 0.5em 1.5em;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  border: 2px solid #24a6e8;
  border-radius: 50px;
  color: #005183;
  background-color: #fff;
  cursor: pointer;
  box-sizing: border-box;
}

.content__wrap .videos-login-form button.btn__main {
  color: #fff;
  background-color: #24a6e8;
}

.content__wrap .videos-login-form button.btn__main:hover {
  text-decoration: none;
  opacity: 1;
  border: 2px solid #005183;
  box-shadow: 0 0 20px rgba(0, 81, 131, 0.5);
  background-color: #005183;
}

.videos-msg {
  max-width: min(100%, 700px);
  margin-left: auto;
  margin-right: auto;
  padding: 1em 1.15em;
  border-radius: 6px;
  margin-top: 1.25rem;
  font-size: 1.5rem;
  line-height: 1.8;
  box-sizing: border-box;
}

.videos-msg--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.videos-msg--info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a5f;
}

.videos-msg--closed {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  color: #374151;
}

.videos-msg .mt05 {
  margin-top: 0.5em;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-top: 1.25rem;
  background: #000;
  border-radius: 4px;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.videos-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.videos-handout {
  margin: 0;
}

.videos-handout--below-grid {
  margin-top: 1.75rem;
}

.videos-below-grid-downloads {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.videos-below-grid-downloads .videos-handout {
  margin: 0;
}

.videos-handout .btn {
  display: inline-block;
}
