/* ========================================
   出品カレンダー
   ======================================== */

/* インフォカード2枚並び */
.cal_info_cards {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

/* 2ヶ月グリッドと幅を合わせる */
.cal_info_cards,
.cal_grid {
  width: 100%;
}

.cal_info_card {
  flex: 1;
  background: #fffde7;
  border: 1px solid #e0d080;
  border-radius: 6px;
  padding: 20px 24px 20px;
  text-align: center;
  position: relative;
}

/* ピン装飾 */
.cal_info_card::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background: #c8a000;
  border-radius: 50%;
  margin: 0 auto 16px;
}

.cal_info_next,
.cal_info_eligible {
  margin: 0 0 10px;
  font-size: 13px;
  color: #c05000;
  text-align: center;
}

.cal_info_next strong,
.cal_info_eligible strong {
  display: block;
  font-size: 20px;
  font-weight: bold;
  color: #e06000;
  margin-top: 4px;
  line-height: 1.3;
}

/* 2ヶ月グリッド */
.cal_grid {
  display: flex;
  gap: 20px;
}

.cal_month {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.cal_month h3 {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 8px;
  color: #333;
}

/* 年・英語月名 */
.cal_header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cal_year {
  font-size: 13px;
  color: #aaa;
}

.cal_month_en {
  font-size: 13px;
  color: #c97a8a;
  font-weight: bold;
}

/* カレンダーテーブル */
.cal_table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.cal_table th,
.cal_table td {
  border: 1px solid #f0c0c8;
  text-align: right;
  padding: 6px 8px;
  font-size: 14px;
  vertical-align: top;
  height: 48px;
}

.cal_table th {
  background: #f9f9f9;
  text-align: center;
  font-weight: bold;
  height: auto;
  color: #555;
}

.cal_table th.sun { color: #c97a8a; }
.cal_table th.sat { color: #c97a8a; }
.cal_table th.fri { color: #c97a8a; }

.cal_table td.sun { color: #c97a8a; }
.cal_table td.sat { color: #c97a8a; }

/* 開催日セル */
.cal_table td.has_event {
  background: #fff0f3;
}

/* 開催日バッジ */
.cal_event_label {
  display: inline-block;
  background: #c97a8a;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-top: 2px;
  font-weight: bold;
  float: right;
  clear: both;
}

/* スマートフォン対応 */
@media (max-width: 768px) {
  .cal_info_cards,
  .cal_grid {
    flex-direction: column;
  }

  .cal_table th,
  .cal_table td {
    padding: 4px;
    font-size: 12px;
    height: 40px;
  }
}
