/* ===================================
   セミナー情報アーカイブページのスタイル
   =================================== */

/* メインアーカイブコンテナ */
.c-seminarArchive {
  max-width: 1200px;
  margin: 0 auto;
}

.c-seminarArchive__inner {
  margin-bottom: 4rem;
}

/* メインコンテンツ */
.c-seminarArchive__content {
  background: white;
  margin-bottom: 3rem;
}

.c-seminarArchive__description {
  line-height: 1.8;
  color: #333;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* セミナーテーブル */
.c-seminarTable {
  width: 100%;
  background: white;
}

.c-seminarTable__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

/* テーブルヘッダー */
.c-seminarTable__head {
  background: linear-gradient(135deg, #6c7b7f 0%, #8a9ba1 100%);
}

.c-seminarTable__th {
  color: #fff;
  font-weight: 600;
  padding: 16px 12px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.c-seminarTable__th:last-child {
  border-right: none;
}

/* 列幅の設定 */
.c-seminarTable__th--number {
  width: 15%;
  min-width: 80px;
}

.c-seminarTable__th--date {
  width: 10%;
  min-width: 120px;
}

.c-seminarTable__th--title {
  width: 65%;
}

/* テーブルボディ */
.c-seminarTable__body {
  background: white;
}

.c-seminarTable__row {
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}


.c-seminarTable__row:last-child {
  border-bottom: none;
}

/* テーブルセル */
.c-seminarTable__td {
  padding: 16px 12px;
  vertical-align: top;
  border-right: 1px solid #f5f5f5;
  line-height: 1.6;
}

.c-seminarTable__td:last-child {
  border-right: none;
}

.c-seminarTable__td--number {
  font-weight: 500;
  color: #555;
}

.c-seminarTable__td--date {
  color: #555;
  font-weight: 500;
}

.c-seminarTable__td--title {
  text-align: left;
  color: #333;
}

.c-seminarTable__title {
  font-weight: bold;
}

/* rowspanセル用のスタイル */
.c-seminarTable__td--grouped {
  vertical-align: top;
}

/* プレゼンテーション項目のスタイル */
.c-seminarTable__presentation {
  border-bottom: 1px solid #eee;
}

.c-seminarTable__presentation:last-child {
  border-bottom: none;
}

/* リンクスタイル */
.c-seminarTable__link {
  color: var(--ark-color--main);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}

.c-seminarTable__link:hover {
  color: var(--ark-color--accent);
  border-bottom-color: var(--ark-color--accent);
  text-decoration: none;
}

/* データなし表示 */
.c-seminarArchive__empty {
  padding: 3rem 1rem;
  color: #666;
  background: white;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
  .c-seminarTable {
    font-size: 0.8rem;
  }

  .c-seminarTable__th,
  .c-seminarTable__td {
    padding: 12px 8px;
  }

  .c-seminarTable__th--number,
  .c-seminarTable__td--number {
    width: 12%;
    min-width: 60px;
    font-size: 0.75rem;
  }

  .c-seminarTable__th--date,
  .c-seminarTable__td--date {
    width: 22%;
    min-width: 100px;
    font-size: 0.75rem;
  }

  .c-seminarTable__th--title,
  .c-seminarTable__td--title {
    width: 66%;
    font-size: 0.8rem;
  }

  .c-seminarArchive__description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .c-seminarTable {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .c-seminarTable__th,
  .c-seminarTable__td {
    padding: 10px 6px;
  }

  .c-seminarTable__th--number,
  .c-seminarTable__td--number {
    width: 10%;
    min-width: 50px;
    font-size: 0.7rem;
  }

  .c-seminarTable__th--date,
  .c-seminarTable__td--date {
    width: 25%;
    font-size: 0.7rem;
  }

  .c-seminarTable__th--title,
  .c-seminarTable__td--title {
    width: 65%;
    font-size: 0.75rem;
  }

  .c-seminarTable__link {
    word-break: break-word;
  }
}

/* これまでのセミナー詳細のフッター（投稿日等）を非表示 */
.single-seminar-archive footer.p-entry__foot {
    display: none;
}