/* today.css - 出勤ページ用スタイル */

body.page-id-96 {
  background: #f5f5f5;
  padding: 2em 0;
}

.system-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2em;
  background: #fff;
  font-family: "Helvetica Neue", sans-serif;
}

.system-page h2 {
  font-size: 1.8rem;
  color: #d32d25;
  border-bottom: 2px solid #009de2;
  padding-bottom: 0.3em;
  margin-bottom: 1.5em;
  font-weight: bold;
  text-align: center;
}

.week-nav {
  display: flex;
  justify-content: center;
  gap: 0.8em;
  margin: 1.5em 0 2em;
  flex-wrap: wrap;
}

.date-btn {
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-weight: bold;
  text-align: center;
  line-height: 60px;
  font-size: 0.9rem;
  border: 2px solid #d32d25;
  text-decoration: none;
  transition: 0.2s;
}

.date-btn:hover {
  background: #f5f5f5;
}

.date-btn.selected {
  background: #d32d25;
  color: #fff;
}

.cast-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5em;
}

.cast-card {
  width: 240px; /* ← 固定サイズで常に4分の1幅 */
  background: #ff0000;
  color: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.cast-card:hover {
  transform: translateY(-4px);
}

.cast-card .thumb {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #eee;
}

.cast-card .info {
  padding: 15px;
  text-align: center;
}

.cast-card h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #fff;
}

.cast-card .size {
  font-size: 13px;
  color: #fff;
  margin-bottom: 5px;
}

.cast-card .fastslow {
  font-weight: bold;
  font-size: 15px;
  color: #fff500;
  margin-bottom: 5px;
}

.cast-card .time {
  font-size: 15px;
  font-weight: bold;
  background: #fff;
  color: #ff0000;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  margin-top: 6px;
}

/* スマホでも2列表示に固定 */
@media (max-width: 600px) {
  .cast-card {
    width: calc(50% - 0.75em); /* 2列になるように調整 */
  }
}
