/* =========================================================
   Education HUB (/education/) — 検定対策 / 企業研修 動線 + セミナー情報
   Uses core .fp components (phero / block / panel / nl / cta / btn).
   ========================================================= */

/* ---- 動線 cards (検定対策 / 企業研修) ---- */
.fp .fp-hub-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
}
.fp .fp-hub-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--fp-line);
  border-radius: 4px;
  padding: clamp(32px, 4vw, 52px);
  min-height: 280px;
  color: inherit;
  transition: transform .3s var(--ease, ease), border-color .3s;
}
.fp .fp-hub-card:hover {
  transform: translateY(-4px);
  border-color: var(--fp-accent);
}
.fp .fp-hub-card-lb {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fp-ink2);
}
.fp .fp-hub-card-h {
  font-family: var(--jp);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.4;
  letter-spacing: .005em;
  margin-top: 16px;
}
.fp .fp-hub-card-p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--fp-ink2);
  margin-top: 16px;
  max-width: 30em;
}
.fp .fp-hub-card-arr {
  font-family: var(--en);
  font-weight: 500;
  font-size: 14px;
  color: var(--fp-ink);
  margin-top: auto;
  padding-top: 32px;
}

/* ---- seminar section head (heading + 一覧 link) ---- */
.fp .fp-hub-semihead {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.fp .fp-ni-empty {
  display: block;
  padding: 24px 0;
  color: var(--fp-ink2);
}

@media (max-width: 760px) {
  .fp .fp-hub-links { grid-template-columns: 1fr; }
}

/* ---- seminar list without category chip (date / title / arrow) ---- */
.fp .fp-nl-nocat .fp-ni-in { grid-template-columns: 104px 1fr 24px; }
@media (max-width: 760px) {
  .fp .fp-nl-nocat .fp-ni-in { grid-template-columns: 88px 1fr; }
  .fp .fp-nl-nocat .fp-ar { display: none; }
}
