/*　当初カラー
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: #f5f5f5;
  margin: 0;
  padding: 20px;
}*/

/*　青 → 紫（スポーティ）*/
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #4facfe 0%, #8e44ad 100%);
  margin: 0;
  padding: 20px;
}

/*　赤 → オレンジ（モトジム系カラー）
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #ff512f 0%, #f09819 100%);
  margin: 0;
  padding: 20px;
}*/

/*　黒 → グレー（クール）
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #232526 0%, #414345 100%);
  margin: 0;
  padding: 20px;
}*/


.title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
}

/* 当初カラー*/
#calendar {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/*　青 → 紫 のスポーティなグラデーション
#calendar {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, #4facfe 0%, #8e44ad 100%);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  color: #fff;
} */

/*　赤 → オレンジ（モトジムカーナっぽい）
#calendar {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, #ff512f 0%, #f09819 100%);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  color: #fff;
}*/

/*　黒 → グレー（クールで見やすい）
#calendar {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, #232526 0%, #414345 100%);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  color: #fff;
}*/


/* イベント色 */
.fc-event {
  background-color: #ff5722 !important;
  border: none !important;
  color: #fff !important;
  font-weight: bold;
}

/* 日曜日を赤 */
.fc-col-header-cell.fc-day-sun {
  color: red !important;
}

/* 土曜日を青 */
.fc-col-header-cell.fc-day-sat {
  color: blue !important;
}

/* all‑day 行を完全に非表示にする */
.fc-timegrid-allday,
.fc-timegrid-allday-events,
.fc-timegrid-axis.fc-timegrid-all-day {
  display: none !important;
}

/*　　翻訳 UI を“見えなくする”CSS　*/
/* ブラウザ翻訳によって挿入される UI を非表示にする */
*:lang(ja) .goog-te-banner-frame,
*:lang(ja) .goog-te-gadget,
*:lang(ja) .goog-te-balloon-frame,
*:lang(ja) .goog-te-menu-frame,
*:lang(ja) .goog-te-spinner-pos,
*:lang(ja) .goog-te-spinner,
*:lang(ja) .goog-te-menu-value,
*:lang(ja) .goog-te-combo {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  /*pointer-events: none !important;*/
}

/* List ボタンを非表示にする */
.fc-listMonth-button {
  display: none !important;
}

/* List ボタンを非表示にする */
.fc-listMonth-button {
  display: none !important;
}

/* Month と List の両方のボタンを完全に非表示にする */
.fc-dayGridMonth-button,
.fc-dayGridMonth-button.fc-button-active,
.fc-listMonth-button,
.fc-listMonth-button.fc-button-active {
  display: none !important;
}

/* FullCalendar の背景と枠線を Bootstrap から守る */
.fc-theme-standard td,
.fc-theme-standard th {
  background: #fff !important;
  border-color: #ddd !important;
}

/* 日付セルの背景を白に固定 */
.fc-daygrid-day {
  background: #fff !important;
}

/* 日付数字の色を元に戻す */
.fc-daygrid-day-number {
  color: #000 !important;
}

/* カレンダー全体のフォント色を安定させる */
.fc {
  color: #000 !important;
}

/* 曜日の色を FullCalendar のデフォルトに戻す */
.fc-col-header-cell {
  color: #000 !important;
  text-decoration: none !important;
}

/* 日曜日を赤、土曜日を青に戻す */
.fc-col-header-cell.fc-day-sun {
  color: red !important;
}

.fc-col-header-cell.fc-day-sat {
  color: blue !important;
}

/* 各日の下に出ているアンダーバー（下線）を消す */
.fc-daygrid-day-number {
  text-decoration: none !important;
}

/* Bootstrap の table 系スタイルを無効化 */
.fc-theme-standard th,
.fc-theme-standard td {
  border-color: #ddd !important;
  background: #fff !important;
}

/* 曜日ヘッダーの下線を消す */
.fc-col-header-cell {
  text-decoration: none !important;
}

/* 曜日の文字色をリセット（Bootstrap の青を消す） */
.fc-col-header-cell a {
  color: inherit !important;
  text-decoration: none !important;
}

/* 日曜日を赤に */
.fc-col-header-cell.fc-day-sun {
  color: red !important;
}

/* 土曜日を青に */
.fc-col-header-cell.fc-day-sat {
  color: blue !important;
}

/*仕上げに少し CSS を追加するとさらに美しくなる*/
.modal-title {
  font-size: 20px;
  font-weight: bold;
}

.modal-body p {
  font-size: 15px;
  line-height: 1.6;
}
/* スマホ画面でのカレンダー調整 */
@media (max-width: 768px) {
  #calendar {
    width: 95%;
    margin: 0 auto;
    font-size: 14px;
  }

  .fc-toolbar-title {
    font-size: 18px;
  }

  .fc-button {
    font-size: 12px;
    padding: 6px 10px;
  }

  .title {
    font-size: 20px;
    text-align: center;
    margin-top: 15px;
  }

  .modal-content {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .modal-dialog {
    margin: 10px;
  }

  .modal-body p {
    line-height: 1.6;
  }

  .modal-title {
    font-size: 18px;
  }
}