/* ── セミナーテーブル共通 ── */
.section-seminar-table,
.seminar-all-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
  font-size: 0.95em;
}

.section-seminar-table th,
.section-seminar-table td,
.seminar-all-table th,
.seminar-all-table td {
  padding: 0.7em 0.8em;
  border-bottom: 1px solid #d1d5db;
  text-align: left;
  vertical-align: top;
}

.section-seminar-table thead th,
.seminar-all-table thead th {
  background: #f0f4f8;
  font-weight: bold;
  color: #374151;
  border-bottom: 2px solid #9ca3af;
  white-space: nowrap;
}

.section-seminar-table tbody tr:hover,
.seminar-all-table tbody tr:hover {
  background: #f9fafb;
}

/* ── IMSS/DIMM 概要テキスト・概要情報の余白 ── */
.section-overview-text {
  margin: 1em 0;
  line-height: 1.6;
}

.fold_category_contents .seminar_overview {
  margin-top: 1em;
}

/* ── セクション詳細（IMSS/DIMMセクション下部） ── */
.section-seminar-details {
  margin-top: 1.5em;
  padding: 1em;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.section-seminar-details h4 {
  font-size: 1em;
  font-weight: bold;
  color: #374151;
  margin-bottom: 0.5em;
}

.section-seminar-details p {
  margin: 0.3em 0;
  font-size: 0.95em;
  color: #4b5563;
}

/* ── カテゴリラベル ── */
.cat-label {
  display: inline-block;
  padding: 0.15em 0.6em;
  font-size: 0.8em;
  font-weight: 500;
  color: #1d4ed8;
  background: #dbeafe;
  border-radius: 3px;
  white-space: nowrap;
}

/* ── NEWラベル ── */
.new-label {
  display: inline-block;
  margin-left: 0.4em;
  padding: 0.1em 0.5em;
  font-size: 0.75em;
  font-weight: bold;
  color: #fff;
  background: #ef4444;
  border-radius: 3px;
  vertical-align: middle;
}

/* ── 検索結果 ── */
.search-info {
  margin: 0.8em 0;
  padding: 0.8em 1em;
  background: #f0f4f8;
  border-left: 3px solid #3b82f6;
  border-radius: 0 4px 4px 0;
  font-size: 0.9em;
  color: #374151;
}

.search-info p {
  font-weight: bold;
  margin-bottom: 0.3em;
}

.search-info ul {
  display: flex;
  gap: 0.8em;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-info li {
  padding: 0.15em 0.5em;
  background: #dbeafe;
  border-radius: 3px;
  font-size: 0.9em;
}

.search-sum {
  font-size: 1.2em;
  font-weight: bold;
  color: #2563eb;
}

/* ── ページャー ── */
.search-pager {
  display: flex;
  gap: 0.3em;
  list-style: none;
  padding: 0;
  margin: 1em 0;
}

.search-pager li a,
.search-pager li b {
  display: inline-block;
  min-width: 2em;
  padding: 0.4em 0.6em;
  text-align: center;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.9em;
  text-decoration: none;
  color: #374151;
}

.search-pager li a:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.search-pager li.current b {
  background: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
}

/* ── トップに戻るリンク ── */
.back-to-top {
  display: inline-block;
  padding: 0.5em 1.2em;
  font-size: 0.95em;
  color: #3b82f6;
  border: 1px solid #3b82f6;
  border-radius: 4px;
  text-decoration: none;
}

.back-to-top:hover {
  background: #eff6ff;
}

/* ── レスポンシブ ── */
@media screen and (max-width: 767px) {
  .section-seminar-table,
  .seminar-all-table {
    font-size: 0.85em;
  }

  .section-seminar-table th,
  .section-seminar-table td,
  .seminar-all-table th,
  .seminar-all-table td {
    padding: 0.5em;
  }
}
