/* レスポンシブデザイン用の追加スタイル */

/* 週ビューの日付ヘッダーを固定 */
.week-view-container {
  position: relative;
  overflow-x: auto;
}

.week-header-sticky {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* スマートフォン対応 */
@media (max-width: 640px) {
  /* ヘッダーの調整 */
  header h1 {
    font-size: 1rem !important;
  }
  
  /* カレンダービューの調整 */
  .calendar-grid {
    font-size: 0.75rem;
  }
  
  /* 月表示の日付セルの高さを調整 */
  .calendar-day-cell {
    min-height: 60px !important;
  }
  
  /* 週表示の時間軸を小さく */
  .week-time-label {
    font-size: 0.625rem;
  }
  
  /* 予約ボタンの調整 */
  .booking-item {
    font-size: 0.625rem;
    padding: 2px 4px;
  }
}

/* タブレット対応 */
@media (min-width: 641px) and (max-width: 1024px) {
  .calendar-grid {
    font-size: 0.875rem;
  }
}

/* 横スクロール時のスクロールバー表示 */
.scroll-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.scroll-container::-webkit-scrollbar {
  height: 8px;
}

.scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}
