/* トップページのシリーズ一覧カード */
.home-series-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}
.home-series-card {
  min-width: 0;
  margin: 0;
  border: 1px solid #e1e6ec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(25, 45, 65, 0.05);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.home-series-card:hover {
  box-shadow: 0 5px 16px rgba(25, 45, 65, 0.11);
  transform: translateY(-2px);
}
.home-series-card-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 112px;
  height: 100%;
  box-sizing: border-box;
  padding: 18px 20px;
  color: #24364b !important;
  text-decoration: none !important;
}
.home-series-card-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.home-series-card-more {
  display: block;
  margin-top: 14px;
  color: #526f91;
  font-size: 13px;
  line-height: 1.4;
}
.home-series-card-link:hover .home-series-card-title {
  color: #1769aa;
  text-decoration: underline;
}
.home-series-archive-link {
  margin-top: 22px;
  text-align: right;
}
.home-series-archive-link a {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid #d7e0e9;
  border-radius: 7px;
  color: #315879 !important;
  text-decoration: none !important;
  font-size: 14px;
}
.home-series-archive-link a:hover {
  background: #f3f7fa;
}
.home-series-empty {
  margin: 0;
  color: #687584;
  font-size: 15px;
}
@media (max-width: 900px) {
  .home-series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .home-series-grid { grid-template-columns: 1fr; gap: 12px; }
  .home-series-card-link { min-height: 90px; padding: 15px 17px; }
  .home-series-card-title { font-size: 17px; }
}
