@charset "utf-8";
.junre-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* 最初の行をヘッダー風にスタイル */
.junre-table table tbody tr:first-child {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.junre-table table tbody tr:first-child td {
  padding: 18px 16px;
  text-align: center;
  font-weight: 700;
  font-size: var(--fs-md);
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.junre-table table tbody tr:first-child td {
  background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
  font-weight: 600;
  color: #e2e8f0;
}

.junre-table table tbody tr:first-child td:last-child {
  border-right: none;
}

.junre-table table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: all 0.2s ease;
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.junre-table table td:last-child {
  border-right: none;
}

.junre-table table tbody tr:not(:first-child):hover {
  background: color-mix(in oklab, var(--card), white 4%);
  transform: scale(1.002);
}

.junre-table table tbody tr:not(:first-child):hover td {
  color: var(--text-primary);
}

/* 項目列のスタイル（最初の行以外） */
.junre-table table tbody tr:not(:first-child) td:first-child {
  font-weight: 700;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--card) 100%);
  color: var(--accent);
  text-align: center;
  min-width: 100px;
}

/* いちゃラブ列（最初の行以外） */
.junre-table table tbody tr:not(:first-child) td:nth-child(2) {
  background: linear-gradient(
    135deg,
    color-mix(in oklab, #ff6b9d, transparent 92%) 0%,
    color-mix(in oklab, #ff8a80, transparent 94%) 100%
  );
  color: var(--text-primary);
  width: calc(100% / 2);
}

/* 純愛列（最初の行以外） */
.junre-table table tbody tr:not(:first-child) td:nth-child(3) {
  background: linear-gradient(
    135deg,
    color-mix(in oklab, #4fc3f7, transparent 92%) 0%,
    color-mix(in oklab, #29b6f6, transparent 94%) 100%
  );
  color: var(--text-primary);
  width: calc(100% / 2);
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
  .junre-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .junre-table table {
    min-width: 600px;
  }
}

@media (max-width: 768px) {
  .junre-table table tbody tr:first-child td,
  .junre-table table td {
    padding: 12px 10px;
    font-size: var(--fs-xs);
  }

  .junre-table table tbody tr:not(:first-child) td:first-child {
    min-width: 90px;
    font-size: var(--fs-sm);
  }
}

@media (max-width: 600px) {
  .junre-table table {
    min-width: 500px;
  }

  .junre-table table tbody tr:first-child td,
  .junre-table table td {
    padding: 10px 8px;
    line-height: 1.4;
  }

  .junre-table table tbody tr:not(:first-child) td:first-child {
    min-width: 70px;
    font-size: var(--fs-xs);
  }
}

@media (max-width: 480px) {
  .junre-table table {
    min-width: 450px;
  }

  .junre-table table tbody tr:first-child td,
  .junre-table table td {
    padding: 8px 6px;
    line-height: 1.3;
  }

  .junre-table table tbody tr:not(:first-child) td:first-child {
    min-width: 60px;
    font-size: 12px;
  }
}

/* 表の外観を包む要素 */
.junre-table {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.junre-table::-webkit-scrollbar {
  height: 8px;
}

.junre-table::-webkit-scrollbar-track {
  background: var(--bg-elevated);
  border-radius: 4px;
}

.junre-table::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 4px;
}

.junre-table::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #764ba2, #667eea);
}
