/* =====================================================
  選抜情報
===================================================== */
.nyushi {
  margin: 60px auto;
}

.nyushi-table {
  width: 100%;
  border-collapse: collapse;
}

.nyushi-table th,
.nyushi-table td {
  border: 1px solid #ccc;
  padding: 10px;
}

.nyushi-table th {
  background: #f5f5f5;
}

.is-closed {
  background: #f0f0f0;
  color: #999;
}

.is-closed a {
  pointer-events: none;
  color: #999;
  text-decoration: none;
}

.is-coming {
  opacity: 0.6;
}

.badge-new {
  background: red;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  margin-left: 8px;
  border-radius: 3px;
}

.status {
  font-weight: bold;
}

.is-open .status {
  color: red;
}

.is-closed .status {
  color: #666;
}

.is-coming .status {
  color: #999;
}

.nyushi-section-title {
  margin-top: 50px;
  margin-bottom: 20px;
  border-left: 4px solid #333;
  padding-left: 10px;
  font-size: 20px;
}

.file-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.file-icon {
  width: 20px;
  height: auto;
}

.is-open .status {
  color: #e60012;
  font-weight: bold;
}

.is-closed {
  background: #f3f3f3;
  color: #999;
}

.is-closed a {
  pointer-events: none;
  color: #999;
  text-decoration: none;
}

.is-coming {
  opacity: 0.6;
}

.badge-new {
  background: #0066ff;
  color: #fff;
  font-size: 11px;
  padding: 3px 6px;
  margin-left: 8px;
  border-radius: 3px;
}

.nyushi-table tbody tr:hover {
  background-color: #f9f9f9;
  transition: background 0.2s ease;
}

.nyushi-table tbody tr.is-open:hover {
  background-color: #f2f7ff;
}

.title-cell.is-heading-post {
  font-weight: bold;
  color: var(--c-main);
}

.title-cell.is-heading-post a {
  color: var(--c-main);
}

.nyushi-table tr:has(.is-heading-post) {
  background: #f7f9fc;
}

.nyushi-table tr:has(.is-heading-post):hover {
  background: #f7f9fc;
}

.nyushi-table tr:has(.is-heading-post) td {
  cursor: default;
}

.nyushi-table tr:has(.is-heading-post) a {
  pointer-events: none;
  text-decoration: none;
}

@media screen and (max-width: 768px) {

  .nyushi-table {
    font-size: 14px;
  }

  .nyushi-table th,
  .nyushi-table td {
    padding: 8px;
  }

  .nyushi-table th:nth-child(3),
  .nyushi-table td:nth-child(3) {
    display: none;
  }

}