body {
  font-family: Arial, sans-serif;
  background-image: url("s-brick008.gif");
}

#calendarContainer {
  display: grid;
  grid-template-columns: repeat(7, 1fr); /* 1週間7日 */
  gap: 5px;
  margin-top: 20px;
}

.calendar-day {
  border: 2px solid #080953;
  padding: 10px;
  text-align: center;
  font-size: 16px;
}

.calendar-day.weekend {
  background-color: #f0f0f0; /* 土日の色付け */
}

.calendar-day.holiday {
  background-color: #ffd700; /* 金色の背景 */
  font-weight: bold; /* 強調表示 */
  color: #cf1010;
}

.calendar-day.saturday-shift {
  background-color: #ADD8E6; /* 薄青色の背景 */
}

.calendar-day.sunday-holiday-shift {
  background-color: #FFB6C1; /* ピンク色の背景 */
}

.calendar-day.weekday-shift{
  background-color: #6668fc; /* 青色の背景 */
  color: #ffffff;
}

/* スタッフボタンエリアのスタイル */
#buttonContainerWrapper {
  border: 1px solid #000; /* 罫線 */
  padding: 10px;
  margin-bottom: 20px;
}

#buttonContainerHeader {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

#buttonContainer {
  display: grid;
  grid-template-columns: repeat(8, auto); /* ボタンをグリッドで配置 */
  gap: 5px;
}
#staffShiftDisplay {
margin: 10px auto; /* 中央揃え */
max-width: 200px; /* 表示エリアの幅を固定 */
padding: 10px;
font-weight: bold;
font-size: 12px;
border: 1px solid #ccc;
background-color: #a2f1de;
border-radius: 5px; /* 角を丸める */
font-family: Arial, sans-serif;
}

#staffShiftDetails {
font-size: 14px;
line-height: 1.6;
white-space: pre-wrap; /* 改行を維持 */
} 
/* 選択されたスタッフ表示 */
#selectedStaff {
  margin-left: 20px; /* セレクトボックスの右側に余白を追加 */
  font-weight: bold;
  font-size: 16px;
  display: inline-block; /* インライン表示にする */
}
@media print {
#calendarContainer {
border: 1px solid #000; /* 全体の罫線 */
}
.calendar-day {
border: 1px solid #000; /* 各日付セルの罫線 */
page-break-inside: avoid; /* 印刷時にページ内改行を防止 */
}
}

#printButton {
display: block;
margin: 10px auto; /* 中央揃え */
background-color: #4CAF50; /* グリーン */
color: white; /* 白文字 */
font-size: 16px; /* 文字サイズを大きく */
border: none; /* ボーダーなし */
padding: 10px 20px; /* ボタンの余白 */
border-radius: 5px; /* 丸みの角を追加 */
cursor: pointer;
}

#printButton:hover {
background-color: #45a049; /* ホバー時の色変更 */
}

/* 全体のスタイル */
.date-input-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* 月と年の間のスペース */
  margin: 20px 0;
  font-family: Arial, sans-serif;
}

/* 各入力グループ */
.date-input-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px; /* ラベルとセレクトボックス間のスペース */
}

/* ラベルとセレクトボックスのスタイル */
.date-input-group label {
  font-weight: bold;
  font-size: 14px;
  color: #333;
}

.date-select {
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.date-select:hover {
  border-color: #4CAF50; /* ホバー時に緑色のボーダー */
}

.date-select:focus {
  outline: none;
  border-color: #45a049; /* フォーカス時のボーダー */
  box-shadow: 0 0 5px rgba(69, 160, 73, 0.5); /* フォーカス時の影 */
}

#employeeList, #schedule {
  margin-top: 20px;
}
.employee-button {
  display: inline-block;
  margin: 2px;
  padding: 6px 10px;
  background-color: #e0f7fa;
  color: #00796b;
  border: 1px solid #004d40;
  border-radius: 5px;
  cursor: pointer;
}
.employee-button:hover {
  background-color: #b2ebf2;
}