/* ============================================================
   seminar.css - セミナー資料ページ表示用
   基準：1rem = 16px
   ============================================================ */
.sm-page {
  max-width: 56.25rem;
  margin: 0 auto;
  padding: 1rem 0;
}

/* セクション */
.sm-section {
  margin-bottom: 2.5rem;
}

.sm-section-head {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 1rem;
}

.sm-accent {
  width: 0.25rem;
  background: #F7A81B;
  border-radius: 0.125rem;
  flex-shrink: 0;
}

.sm-section-info {
  padding: 0 0 0 0.875rem;
}

.sm-label {
  font-size: 0.6875rem;
  font-weight: bold;
  color: #F7A81B;
  letter-spacing: .08em;
  margin: 0 0 0.125rem;
}

.sm-name {
  font-size: 1rem;
  font-weight: bold;
  color: #17458f;
  margin: 0;
}

.sm-count {
  font-size: 0.75rem;
  color: #888;
  margin: 0.1875rem 0 0;
}

/* リスト */
.sm-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* 各アイテム */
.sm-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 0.5rem;
  transition: border-color .2s, box-shadow .2s;
}

.sm-item:hover {
  border-color: #b9d9eb;
  box-shadow: 0 0.125rem 0.5rem rgba(23,69,143,.06);
}

/* アイコン */
.sm-icon {
  display: none;
}

/* 本文 */
.sm-body {
  min-width: 0;
}

.sm-title {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  margin: 0 0 0.3125rem;
  line-height: 1.5;
}

.sm-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sm-tag {
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.125rem 0.4375rem;
  border-radius: 0.1875rem;
}

.sm-tag-pdf {
  background: #fde8e8;
  color: #a32d2d;
}

.sm-tag-video {
  background: #e6f1fb;
  color: #185fa5;
}

.sm-size {
  font-size: 0.75rem;
  color: #999;
}

/* ボタン */
.sm-actions {
  display: flex;
  gap: 0.375rem;
  flex-shrink: 0;
}

.sm-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  font-size: 0.875rem;
  font-weight: bold;
  padding: 0.5rem 0.875rem;
  border-radius: 0.375rem;
  border: 1px solid #ddd;
  cursor: pointer;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  transition: all .2s;
}

.sm-btn:hover {
  background: #e8e8e8;
  opacity: 1;
  color: #333;
}

.sm-btn-main {
  background: #17458f;
  color: #fff !important;
  border-color: #17458f;
}

.sm-btn-main:hover {
  background: #0f3472;
  color: #fff !important;
  opacity: 1;
}

/* モバイル対応 */
@media (max-width: 37.5rem) {
  .sm-item {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .sm-icon {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.625rem;
    grid-row: 1;
  }

  .sm-body {
    grid-row: 1;
  }

  .sm-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-left: 0;
  }
}
