/* ============================================================
   schedule.css — 開催スケジュールテーブル
   ============================================================ */

.schedule-meta {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background: var(--blue);
  max-width: 760px;
  margin: 0 auto 42px;
  padding: 16px 26px;
  clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 100%);
}

.status {
  display: flex;
  width: clamp(64px, 8vw, 100px);
  height: clamp(64px, 8vw, 100px);
  padding: 0;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: clamp(15px, 2.5vw, 30px);
  font-weight: 700;
}
.status.open {
  background: var(--green);
  color: #fff;
}
.status.soldout {
  background: #8d94a4;
  color: #fff;
}
.status.closed {
  background: #8d94a4;
  color: #fff;
}

.btn-schedule-entry {
  background: linear-gradient(120deg, #3a7bf0, #4fa9f5);
  color: #fff !important;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 24px);
  letter-spacing: 0.04em;
  padding: 0.6em 1.2em;
  border-radius: 999px;
  white-space: nowrap;
  display: inline-block;
  line-height: 1;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  align-self: center;
  margin-top: 8px;
  margin-bottom: 0px;
}
.btn-schedule-entry:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(47, 111, 237, 0.4);
}

/* ---------- Schedule grid (fixed, no scrolling) ---------- */
.schedule-grid{
  display:flex;
  align-items:flex-start;
  gap:24px;
  max-width:1200px;
  margin:0 auto;
}
.schedule-card{
  flex:0 0 calc((100% - 48px) / 3);
  background:#fff; border-radius:var(--radius-lg);
  border:4.5px solid transparent;
  box-shadow:0 4px 20px rgba(20,35,70,0.06);
  overflow:hidden;
}
.schedule-card:has(.status.open){
  border-color:var(--blue);
  box-shadow:0 14px 10px 4px rgba(47,111,237,0.25);
}
.schedule-photo{
  aspect-ratio:16/9;
  background:repeating-linear-gradient(45deg,#d7e6fb 0,#d7e6fb 8px,#c5d9f7 8px,#c5d9f7 16px);
  display:flex; align-items:center; justify-content:center; 
  color:#7d93bd; font-size:11px;
}
.schedule-body{padding:28px; position:relative;}
.schedule-body h3{font-size:clamp(21px, 2.5vw, 27px); font-weight:700 ; color:var(--blue); margin-bottom:14px;}
.schedule-body p{font-size:clamp(16px, 2vw, 24px); font-weight:700; color:var(--text-sub); margin-bottom:18px;}
.schedule-card-meta{font-size:clamp(16px, 2vw, 24px); color:#9aa3b5; text-align:center;}
.schedule-body .status{
  position:absolute;
  top:-14px;
  right:21px;
}

@media(max-width:880px){
  .schedule-grid{ flex-direction:column; gap:16px; }
  .schedule-card{ flex:0 0 auto; width:100%; overflow:hidden; }

  .schedule-body{ padding:20px; }
  .schedule-body h3{ font-size:24px; padding-right:90px; }
  .schedule-body p{ font-size:18px; }
  .schedule-card-meta{ font-size:18px; }
  .btn-schedule-entry{ font-size:19px; }
  .status{ width:80px; height:80px; font-size:20px; }
  .schedule-body .status{ top:-10px; right:14px; }
}
