/**
 * lesson-schedule.css
 * 教習スケジュール管理機能 - スタイルシート
 *
 * 対象要素:
 * - .lesson-schedule: 全体ラッパー
 * - .lesson-region-selector: 地域選択ボタンコンテナ
 * - .region-btn: 地域選択ボタン
 * - .lesson-schedule-container: スケジュール表示コンテナ
 * - .schedule-region: 地域ごとのスケジュール領域
 * - .schedule-category: 学科・実技などの区分
 * - .schedule-table: スケジュール表示テーブル
 * - .no-schedule: スケジュール0件時のメッセージ
 *
 * スコープ: .lesson-schedule 配下に限定（既存CSSへの影響防止）
 */

/* ========================================
   全体ラッパー
   ======================================== */

.lesson-schedule {
  width: 100%;
  padding: 30px 0;
  margin: 30px 0;
}

/* ========================================
   地域選択ヘッダー（area-header）
   ======================================== */

/* area-headerの基本スタイル - style.cssから流用 */
.lesson-schedule .area-header {
background-color: rgb(255, 255, 255);
    margin-bottom: 2rem;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0.75rem 0.75rem 1rem;
    border-left: 10px solid transparent;
    border-radius: 3px;
    transition: 0.3s;
    gap: .75rem;
}

/* 見出し部分 */
.lesson-schedule .area-title {
	flex: 1;
	display: flex;
	align-items: center;
	position: relative;
	padding-right: 2rem;
}

.lesson-schedule .area-title::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	width: 1px;
	height: 100px;
	background: #ececec;
}

/* 地域ラベル */
.lesson-schedule .area-region-label {
	font-weight: 700;
	color: #002060;
	font-size: 1.375rem; /* var(--fontSize22) 相当 */
	letter-spacing: 0.3px;
	display: block;
	margin: 0;
      display: inline-flex;
    align-items: center;
    font-weight: 700;
    gap: 0.75rem;
}

/* 操作エリア */
.lesson-schedule .area-control {
	display: flex;
	flex-direction: column;
	/* align-items: flex-end; */
	gap: 0.5rem;
	flex-shrink: 0;
}

.lesson-schedule .area-control-label {
	font-weight: 600;
	color: #002060;
	font-size: 0.875rem; /* var(--fontSize14) 相当 */
	letter-spacing: 0.3px;
	margin: 0;
}

/* 地域選択セレクト */
.lesson-schedule .area-select {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    color: #002060;
    background-color: #fff;
    border: 1px solid #002060;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-width: 200px;
    min-height: 44px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    letter-spacing: 0.3px;
    -webkit-appearance: auto;
    appearance: auto;
}

.lesson-schedule .area-select:hover {
	background-color: #fafbfc;
	border-color: #0052a3;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.lesson-schedule .area-select:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.25);
}

.lesson-schedule .area-select:focus-visible {
	outline: 3px solid #0066cc;
	outline-offset: 2px;
	border-color: #0066cc;
	box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.2);
}

.lesson-schedule .area-select option {
	padding: 0.6rem;
	background-color: #fff;
	color: #002060;
	font-weight: 500;
}

/* 秋田 */
.lesson-schedule .area-header[data-region="akita"] {
	border-left-color: #2E7D32;
	background-color: #f9fcfd;
}

/* 山形 */
.lesson-schedule .area-header[data-region="yamagata"] {
	border-left-color: #c6286a;
	background-color: #fff;
}

/* 岩手 */
.lesson-schedule .area-header[data-region="iwate"] {
	border-left-color: #e7aa14;
	background-color: #fff;
}

/* ========================================
   スケジュール表示コンテナ
   ======================================== */

.lesson-schedule .lesson-schedule-container {
  margin-top: 30px;
}

/* 地域パネル（フェードインアニメーション） */
.lesson-schedule .schedule-region {
  animation: fadeIn 0.3s ease;
}

/* prefers-reduced-motion に対応（アニメーション無効化） */
@media (prefers-reduced-motion: reduce) {
  .lesson-schedule .schedule-region {
    animation: none;
  }
}

/* hidden属性で確実に非表示 */
.lesson-schedule .schedule-region[hidden] {
  display: none;
}

/* フェードインアニメーション定義 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ========================================
   地域ブロック見出し（all選択時）
   ======================================== */

.lesson-schedule .schedule-region-group {
  margin-bottom: 3rem;
  /* padding-bottom: 2rem; */
  /* border-bottom: 1px solid #eee; */
}

.lesson-schedule .schedule-region-group:last-child {
  border-bottom: none;
}

.lesson-schedule .schedule-region-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.8rem;
  /* border-bottom: 3px solid #0066cc; */
}

/* ========================================
   区分別セクション（学科・実技）
   ======================================== */

.lesson-schedule .schedule-category {
  margin-bottom: 40px;
}

/* 区分見出し */
.lesson-schedule .schedule-category h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  /* border-bottom: 3px solid #0066cc; */
}

/* ========================================
   スケジュール表示テーブル
   ======================================== */

/* テーブルコンテナ（横スクロール対応） */
.lesson-schedule .table_box {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 15px 0;
}

/* テーブル */
.lesson-schedule .schedule-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* テーブルキャプション（スクリーンリーダー用） */
.lesson-schedule .schedule-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* テーブルヘッダー */
.lesson-schedule .schedule-table thead {
  background-color: #f9f9f9;
}

.lesson-schedule .schedule-table th {
  padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid #dfdfdf;
    line-height: 1.4;
}

/* テーブルセル */
.lesson-schedule .schedule-table td {
      padding: 12px 15px;
    border-bottom: 1px solid #eee;
    /* font-size: 16px; */
    line-height: 1.6;
    vertical-align: middle;
}


.schedule-table {
    width: 100%;
    table-layout: fixed;
}

.schedule-table th.lesson-schedule-select-column,
.schedule-table td.lesson-schedule-select-column {
    width: 50px;
}
/* .schedule-table th:nth-child(1),
.schedule-table td:nth-child(1) {
    width: 6rem;
} 
.schedule-table th:nth-child(2),
.schedule-table td:nth-child(2) {
    width: 8rem;
} 
.schedule-table th:nth-child(4),
.schedule-table td:nth-child(4) {
    width: 12rem;
}  */
/* .schedule-table th:nth-child(1),
.schedule-table td:nth-child(1) {
    width: 150px;
}
 */
/* .schedule-table th:nth-child(2),
.schedule-table td:nth-child(2) {
    width: 10rem;
} */

/* .schedule-table th:nth-child(3),
.schedule-table td:nth-child(3) {
    width: 10rem;
}

.schedule-table th:nth-child(4),
.schedule-table td:nth-child(4) {
    width: 12rem;
} */
/* 
.schedule-table th:nth-child(6),
.schedule-table td:nth-child(6) {
    width: 150px;
}

.schedule-table th:nth-child(5),
.schedule-table td:nth-child(5) {
    width: 150px;
}  */

/* 開催日列 - 折り返さない（nowrap） */
/* .lesson-schedule .schedule-table td:nth-child(1) {
  white-space: nowrap;
} */

/* 開催地列 - 折り返さない */
/* .lesson-schedule .schedule-table td:nth-child(2) {
  white-space: nowrap;
} */

/* 会場列 - 折り返さない */
/* .lesson-schedule .schedule-table td:nth-child(3) {
  white-space: nowrap;
} */

/* 備考列（最後の列）- 自然に折り返し */
/* .lesson-schedule .schedule-table td:nth-child(4) {
  word-break: break-word;
  white-space: normal;
} */

/* テーブル行ホバー */
/* .lesson-schedule .schedule-table tbody tr:hover {
  background-color: #eeeeee;
} */

/* ========================================
   スケジュール0件時のメッセージ
   ======================================== */

.lesson-schedule .no-schedule {
 padding: 20px;
    margin-top: 10px;
    text-align: center;
    /* font-size: 14px; */
    /* color: #999; */
    background-color: #f9f9f9;
    border: 1px solid #bfbfbf;
    border-radius: 4px;
    line-height: 1.6;
}



/* @media (max-width: 1000px) {
    .schedule-table th:nth-child(1),
.schedule-table td:nth-child(1) {
    width: 7rem;
}

.schedule-table th:nth-child(2),
.schedule-table td:nth-child(2) {
    width: 8rem;
} 

.schedule-table th:nth-child(3),
.schedule-table td:nth-child(3) {
    width: 11rem;
}

.schedule-table th:nth-child(4),
.schedule-table td:nth-child(4) {
    width: 12rem;
} 
} */
/* ========================================
   レスポンシブデザイン（768px 以下）
   ======================================== */
@media (max-width: 768px) {
  /* 全体ラッパー */
  .lesson-schedule {
    padding: 20px 0;
    margin: 20px 0;
  }

  /* 地域選択ヘッダー */
  .lesson-schedule .area-header {
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
    border-left-width: 6px;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .lesson-schedule .area-title {
    flex: none;
    padding-right: 0;
  }

  .lesson-schedule .area-title::after {
    display: none;
  }

  .lesson-schedule .area-region-label {
    font-size: 1rem;
    white-space: normal;
  }

  .lesson-schedule .area-control {
    align-items: stretch;
    width: 100%;
  }

  .lesson-schedule .area-control-label {
    font-size: 0.8125rem;
  }

  .lesson-schedule .area-select {
    width: 100%;
    min-width: initial;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    border-radius: 5px;
  }

  /* スケジュール表示コンテナ */
  .lesson-schedule .lesson-schedule-container {
    margin-top: 20px;
  }

  /* 区分見出し */
  .lesson-schedule .schedule-category {
    margin-bottom: 30px;
  }

  .lesson-schedule .schedule-category h3 {
    font-size: 16px;
    /* margin-bottom: 12px;
    padding-bottom: 8px; */
  }

  /* テーブル */
  .lesson-schedule .table_box {
    margin: 12px 0;
  }

  .lesson-schedule .schedule-table {
    font-size: 13px;
    /* min-width: 500px; */
  }

  .lesson-schedule .schedule-table th {
    padding: 10px 12px;
    font-size: 13px;
  }

  .lesson-schedule .schedule-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  /* 予定なし */
  .lesson-schedule .no-schedule {
    padding: 15px;
    font-size: 13px;
    margin-top: 8px;
  }
      /* .schedule-table th:nth-child(1),
.schedule-table td:nth-child(1) {
    width: 5.5rem;
}

.schedule-table th:nth-child(2),
.schedule-table td:nth-child(2) {
    width: 6.75rem;
} 

.schedule-table th:nth-child(3),
.schedule-table td:nth-child(3) {
    width: 7rem;
}

.schedule-table th:nth-child(4),
.schedule-table td:nth-child(4) {
    width: 12rem;
}  */


}

/* ========================================
   レスポンシブデザイン（576px 以下）
   ======================================== */

@media (max-width: 576px) {
  /* 全体ラッパー */
  .lesson-schedule {
    padding: 15px 0;
    margin: 15px 0;
  }

  /* 地域選択ヘッダー */
  .lesson-schedule .area-header {
    padding: 1rem 1.2rem;
    margin-bottom: 1.2rem;
    border-left-width: 5px;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .lesson-schedule .area-title {
    padding-right: 0;
  }

  .lesson-schedule .area-title::after {
    display: none;
  }

  .lesson-schedule .area-region-label {
    font-size: 0.95rem;
    white-space: normal;
  }

  .lesson-schedule .area-control {
    align-items: stretch;
  }

  .lesson-schedule .area-control-label {
    font-size: 0.75rem;
  }

  .lesson-schedule .area-select {
    width: 100%;
    min-width: initial;
    padding: 0.5rem 0.8rem;
    font-size: 14px;
    border-radius: 4px;
    min-height: 44px;
  }

  /* スケジュール表示コンテナ */
  .lesson-schedule .lesson-schedule-container {
    margin-top: 15px;
  }

  /* 区分見出し */
  .lesson-schedule .schedule-category {
    margin-bottom: 25px;
  }

  /* .lesson-schedule .schedule-category h3 {
    font-size: 15px;
    margin-bottom: 10px;
    padding-bottom: 6px;
  } */

  /* テーブル */
  .lesson-schedule .table_box {
    margin: 10px 0;
  }

  .lesson-schedule .schedule-table {
    font-size: 12px;
    /* min-width: 450px; */
  }

  .lesson-schedule .schedule-table th {
    padding: 8px 10px;
    font-size: 12px;
  }

  .lesson-schedule .schedule-table td {
    padding: 8px 10px;
    font-size: 12px;
  }

  /* 受付終了表示 */
  .lesson-schedule .schedule-status--closed {
    padding: 3px 10px;
    font-size: 12px;
  }

  /* 予定なし */
  .lesson-schedule .no-schedule {
    padding: 12px;
    font-size: 12px;
    margin-top: 8px;
  }




/* .schedule-table th:nth-child(6),
.schedule-table td:nth-child(6) {
    width: 150px;
}

.schedule-table th:nth-child(5),
.schedule-table td:nth-child(5) {
    width: 150px;
}   */


}
/* ========================================
   地域別画像ギャラリー（Splide スライダー形式）
   ======================================== */

.lesson-schedule .lesson-region-gallery {
  width: 100%;
  margin-bottom: 2rem;
}

.lesson-schedule .lesson-region-gallery-panel {
  animation: fadeIn 0.3s ease;
}

.lesson-schedule .lesson-region-gallery-panel[hidden] {
  display: none;
}

/* メイン画像スライダー */
.lesson-schedule .lesson-gallery-main {
  position: relative;
  margin-bottom: 0.75rem;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lesson-schedule .lesson-gallery-main .splide__track {
  border-radius: inherit;
}

.lesson-schedule .lesson-gallery-main .splide__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  margin-bottom: 0;
}

.lesson-schedule .lesson-gallery-main-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* メインスライダーの矢印エリア */
.lesson-schedule .lesson-gallery-main .splide__arrows {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  z-index: 10;
  transform: translateY(-50%);
  pointer-events: none;
}

/* メインスライダーの矢印ボタン */
.lesson-schedule .lesson-gallery-main .splide__arrow {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  opacity: 0.8;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    opacity 0.3s ease,
    background-color 0.3s ease,
    transform 0.3s ease;
  pointer-events: auto;
}

.lesson-schedule .lesson-gallery-main .splide__arrow--prev {
  left: 16px;
}

.lesson-schedule .lesson-gallery-main .splide__arrow--next {
  right: 16px;
}

.lesson-schedule .lesson-gallery-main .splide__arrow:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.8);
}

.lesson-schedule .lesson-gallery-main .splide__arrow:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.lesson-schedule .lesson-gallery-main .splide__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.lesson-schedule .lesson-gallery-main .splide__arrow svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* サムネイルスライダー */
.lesson-schedule .lesson-gallery-thumbnails {
  margin-top: 0;
}

.lesson-schedule .lesson-gallery-thumbnails .splide__slide {
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 0.3rem;
  opacity: 0.6;
  cursor: pointer;
  transition:
    opacity 0.3s ease,
    border-color 0.3s ease;
}

.lesson-schedule .lesson-gallery-thumbnails .splide__slide.is-active {
  border-color: #0066cc;
  opacity: 1;
}

.lesson-schedule .lesson-gallery-thumbnails .splide__slide:hover {
  opacity: 0.8;
}

.lesson-schedule .lesson-gallery-thumbnail-image {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ========================================
   ギャラリー レスポンシブ（768px 以下）
   ======================================== */

@media (max-width: 768px) {
  .lesson-schedule .lesson-region-gallery {
    margin-bottom: 1.5rem;
  }

  .lesson-schedule .lesson-gallery-main {
    margin-bottom: 0.75rem;
  }

  .lesson-schedule .lesson-gallery-main-image {
    aspect-ratio: 16 / 9;
  }

  .lesson-schedule .lesson-gallery-main .splide__arrow {
    width: 36px;
    height: 36px;
  }

  .lesson-schedule .lesson-gallery-main .splide__arrow--prev {
    left: 12px;
  }

  .lesson-schedule .lesson-gallery-main .splide__arrow--next {
    right: 12px;
  }

  .lesson-schedule .lesson-gallery-main .splide__arrow svg {
    width: 16px;
    height: 16px;
  }

  .lesson-schedule .lesson-gallery-thumbnails .splide__slide {
    border-radius: 0.3rem;
  }
}

/* ========================================
   ギャラリー レスポンシブ（480px 以下）
   ======================================== */

@media (max-width: 480px) {
  .lesson-schedule .lesson-region-gallery {
    margin-bottom: 1rem;
  }

  .lesson-schedule .lesson-gallery-main {
    margin-bottom: 0.5rem;
    border-radius: 0.4rem;
  }

  .lesson-schedule .lesson-gallery-main-image {
    aspect-ratio: 16 / 9;
  }

  .lesson-schedule .lesson-gallery-main .splide__arrow {
    width: 32px;
    height: 32px;
  }

  .lesson-schedule .lesson-gallery-main .splide__arrow--prev {
    left: 8px;
  }

  .lesson-schedule .lesson-gallery-main .splide__arrow--next {
    right: 8px;
  }

  .lesson-schedule .lesson-gallery-main .splide__arrow svg {
    width: 14px;
    height: 14px;
  }

  .lesson-schedule .lesson-gallery-thumbnails .splide__slide {
    border-radius: 0.3rem;
  }

  .lesson-schedule .lesson-gallery-thumbnail-image {
    aspect-ratio: 3 / 2;
  }
}



/* ========================================
   選択中の日程まとめ
   ======================================== */

.lesson-schedule .lesson-reservation-summary {
  margin-top: 40px;
  padding: 30px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.lesson-schedule .lesson-reservation-summary-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #0066cc;
}

.lesson-schedule .lesson-reservation-summary-cards {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.lesson-schedule .lesson-reservation-summary-card {
  flex: 1;
  min-width: 250px;
  padding: 15px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.lesson-schedule .lesson-reservation-summary-category-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0066cc;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lesson-schedule .lesson-reservation-summary-category-name::before {
  content: "☐";
  font-size: 1.25rem;
  line-height: 1;
}

.lesson-schedule .lesson-reservation-summary-content {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.6;
}

.lesson-schedule .lesson-reservation-summary-content--selected {
  color: #333;
  font-weight: 500;
}

/* レスポンシブ（768px 以下） */
@media (max-width: 768px) {
  .lesson-schedule .lesson-reservation-summary {
    margin-top: 30px;
    padding: 20px;
  }

  .lesson-schedule .lesson-reservation-summary-title {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .lesson-schedule .lesson-reservation-summary-cards {
    flex-direction: column;
    gap: 10px;
  }

  .lesson-schedule .lesson-reservation-summary-card {
    min-width: auto;
    padding: 12px;
  }
}

/* レスポンシブ（480px 以下） */
@media (max-width: 480px) {
  .lesson-schedule .lesson-reservation-summary {
    margin-top: 25px;
    padding: 15px;
  }

  .lesson-schedule .lesson-reservation-summary-title {
    font-size: 0.95rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  .lesson-schedule .lesson-reservation-summary-card {
    padding: 10px;
  }

  .lesson-schedule .lesson-reservation-summary-category-name {
    font-size: 0.8125rem;
    margin-bottom: 8px;
  }

  .lesson-schedule .lesson-reservation-summary-content {
    font-size: 0.8125rem;
  }
}

/* ========================================
   ラジオボタン列（予約機能）
   ======================================== */

.lesson-schedule .lesson-schedule-select-column {
  width: 70px;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  padding: 12px 8px;
}

.lesson-schedule .lesson-reservation-radio {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #002060;
  vertical-align: middle;
}

.lesson-schedule .lesson-reservation-radio-label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin: 0;
}

.lesson-schedule .lesson-reservation-radio-label .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ========================================
   ラジオボタン列 - レスポンシブ（768px 以下）
   ======================================== */

@media (max-width: 768px) {
  .lesson-schedule .lesson-schedule-select-column {
    width: 60px;
    padding: 10px 6px;
  }

  .lesson-schedule .lesson-reservation-radio {
    width: 18px;
    height: 18px;
  }
}

/* ========================================
   ラジオボタン列 - レスポンシブ（480px 以下）
   ======================================== */

@media (max-width: 480px) {
  .lesson-schedule .lesson-schedule-select-column {
    width: 55px;
    padding: 8px 5px;
  }

  .lesson-schedule .lesson-reservation-radio {
    width: 16px;
    height: 16px;
  }
}

/* ========================================
   仮予約ボタン（lesson-reservation-button）
   ======================================== */

.lesson-schedule .lesson-reservation-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 0.5rem;
  background-color: #0066cc;
  border: 2px solid #0066cc;
  border-radius: 24px;
  color: #fff;
  font-size: var(--fontSize16);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  /* white-space: nowrap; */
  letter-spacing: 0.3px;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 32, 96, 0.2);
}

.lesson-schedule .lesson-reservation-button:hover {
  background-color: #003d99;
  border-color: #003d99;
  box-shadow: 0 4px 12px rgba(0, 32, 96, 0.3);
  transform: translateY(-2px);
}

.lesson-schedule .lesson-reservation-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 32, 96, 0.2);
}

.lesson-schedule .lesson-reservation-button:focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.5);
  outline-offset: 2px;
}

/* ========================================
   仮予約ボタン - レスポンシブ（768px 以下）
   ======================================== */

@media (max-width: 768px) {
  .lesson-schedule .lesson-reservation-button {
    min-width: 110px;
    padding: 0.5rem 1rem;
    font-size: var(--fontSize13);
    border-radius: 10px;
  }
}

/* ========================================
   仮予約ボタン - レスポンシブ（480px 以下）
   ======================================== */

@media (max-width: 480px) {
  .lesson-schedule .lesson-reservation-button {
    min-width: 100px;
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
    border-radius: 18px;
  }
}


/* ========================================
   選択状況案内と仮予約ボタン（第3段階）
   ======================================== */

.lesson-schedule .lesson-reservation-status {
  text-align: center;
  margin-top: 20px;
  font-size: 0.95rem;
  color: #666;
  min-height: 1.5em;
  line-height: 1.5;
}

.lesson-schedule .lesson-reservation-submit {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 24px auto 0;
  padding: 16px 24px;
  border: 0;
  border-radius: 50vh;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  background-color: #0066cc;
  color: #fff;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
  text-align: center;
}

.lesson-schedule .lesson-reservation-submit:not(:disabled) {
  cursor: pointer;
}

.lesson-schedule .lesson-reservation-submit:not(:disabled):hover {
  background-color: #0052a3;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
  transform: translateY(-2px);
}

.lesson-schedule .lesson-reservation-submit:not(:disabled):active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 102, 204, 0.2);
}

.lesson-schedule .lesson-reservation-submit:not(:disabled):focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.5);
  outline-offset: 2px;
}

.lesson-schedule .lesson-reservation-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background-color: #ccc;
}

/* レスポンシブ（768px 以下） */
@media (max-width: 768px) {
  .lesson-schedule .lesson-reservation-status {
    font-size: 0.9rem;
    margin-top: 16px;
  }

  .lesson-schedule .lesson-reservation-submit {
    max-width: 100%;
    padding: 14px 20px;
    font-size: 0.95rem;
    margin: 20px auto 0;
  }
}

/* レスポンシブ（480px 以下） */
@media (max-width: 480px) {
  .lesson-schedule .lesson-reservation-status {
    font-size: 0.85rem;
    margin-top: 12px;
  }

  .lesson-schedule .lesson-reservation-submit {
    max-width: 100%;
    padding: 12px 16px;
    font-size: 0.9rem;
    margin: 16px auto 0;
    border-radius: 4px;
  }
}


/* ========================================
   日程選択の注意書き
   ======================================== */

   .lesson-reservation-guide {
    padding: 1rem;
    border: 1px solid #ccc;
    background-color: #fff;
}


.st_editor .lesson-reservation-guide p{
    margin-bottom:0;
}