@import url("/reset.css");
@import url(https://fonts.googleapis.com/css?family=Exo:100,200,400);

/* リセット・基本設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/*====================================
  login.php ログイン画面のスタイル
====================================*/
/* ログインページ専用スタイル */
body.login_page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f7fa;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* メインコンテナ */
.login__wrapper {
  width: 100%;
  max-width: 450px;
  margin: 20px;
}

.login__container {
  background-color: #ffffff;
  border: solid 2px #83bbcb;
  box-shadow: 0 0 20px rgba(126, 189, 207, 0.6);
  border-radius: 12px;
  padding: 40px 20px;
}

/* ヘッダー */
.login__header {
  text-align: center;
  margin-bottom: 10px;
  padding-bottom: 15px;
  border-bottom: 2px solid #83bbcb;
  box-shadow: 0 2px 8px rgba(126, 189, 207, 0.3);
}

.login__title {
  font-size: 32px;
  font-weight: bold;
  color: #1a5f7a;

  margin: 0;
}

.login__subtitle {
  font-size: 16px;
  color: #4a8ba5;
  margin-top: 8px;
}


/* メインコンテナ */
.login__info_message {
  background-color: #f8f9fa;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  font-family: 'Hiragino Sans', 'ヒラギノ角ゴシック', sans-serif;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* タイトル */
.login__info_message > p:first-child {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 12px;
  color: #333;
}

/* 説明文 */
.login__info_message p {
  /* margin: 8px 0; */
  color: #555;
  font-size: 14px;
}

/* 注意事項リスト */
.notice-list {
  margin-top: 15px;
  padding-left: 0;
  list-style: none;
}

/* 各注意事項 */
.notice-list li {
  margin: 8px 0;
  padding-left: 15px;
  position: relative;
  font-size: 13px;
  color: #666;
}

/* 注意マーク */
.notice-list li:before {
  content: "※";
  position: absolute;
  left: 0;
  color: #e74c3c;
  font-weight: bold;
}


/* フォーム */
.login__form {
  width: 100%;
}

/* フィールド */
.login__field {
  margin-bottom: 10px;
}

.login__label {
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: #1a5f7a;

  margin-bottom: 8px;
}

.login__input {
  width: 100%;
  padding: 15px 18px;
  border: solid 2px #83bbcb;
  box-shadow: 0 0 8px rgba(126, 189, 207, 0.4);
  border-radius: 8px;
  font-size: 18px;
  background-color: #ffffff;
  color: #333;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.login__input:focus {
  outline: none;
  box-shadow: 0 0 15px rgba(0, 255, 251, 0.6);
  border-color: #00fffb;
  background-color: #f8feff;
}

.login__input::placeholder {
  color: #999;
  font-size: 16px;
}

/* ボタンエリア */
.login__button_area {
  margin-top: 0px;
  text-align: center;
}

.login__submit_btn {
  width: 100%;
  background-color: #1a5f7a;
  color: #ffffff;
  border: solid 2px #83bbcb;
  box-shadow: 0 0 12px rgba(126, 189, 207, 0.6);

  padding: 18px 30px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.login__submit_btn:hover {
  background-color: #0088aa;
  box-shadow: 0 0 20px rgba(0, 255, 251, 0.8);
  text-shadow: 0 0 12px rgba(0, 255, 251, 0.8);
  transform: translateY(-3px);
  border-color: #00fffb;
}

.login__submit_btn:active {
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(126, 189, 207, 0.6);
}

/* 新規登録リンク */
.login__register_link {
  display: block;
  text-align: center;
  padding: 15px;
  background-color: #f0f8ff;
  border: solid 1px #83bbcb;
  box-shadow: 0 0 8px rgba(126, 189, 207, 0.4);
  border-radius: 8px;
  color: #1a5f7a;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.login__register_link:hover {
  background-color: #e0f4ff;
  box-shadow: 0 0 12px rgba(0, 255, 251, 0.5);
  color: #0088aa;
  text-shadow: 0 0 3px rgba(0, 255, 251, 0.3);
  transform: translateY(-2px);
}

/* テストアカウント情報 */
/* .login__test_info {
  margin-top: 30px;
  padding: 20px;
  background-color: #fff9e6;
  border: solid 2px #ffcc66;
  box-shadow: 0 0 10px rgba(255, 204, 102, 0.4);
  border-radius: 8px;
}

.login__test_title {
  font-size: 16px;
  font-weight: bold;
  color: #cc6600;
  margin-bottom: 10px;
  text-align: center;
}

.login__test_account {
  font-size: 14px;
  color: #996600;
  line-height: 1.8;
}

.login__test_btn {
  width: 100%;
  background-color: #ffcc66;
  color: #996600;
  border: solid 1px #cc9900;
  padding: 10px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.login__test_btn:hover {
  background-color: #ffdd77;
  box-shadow: 0 0 8px rgba(255, 221, 119, 0.5);
} */

/* エラーメッセージ */
.login__error {
  background-color: #ffe6e6;
  border: solid 1px #ff6666;
  color: #cc0000;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 16px;
  text-align: center;
}

/* 成功メッセージ */
.login__success {
  background-color: #e6ffe6;
  border: solid 1px #66cc66;
  color: #009900;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 16px;
  text-align: center;
  display: none;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
  .login__wrapper {
    margin: 10px;
  }

  .login__container {
    padding: 10px 10px;
  }

  .login__title {
    font-size: 28px;
  }

  .login__input {
    padding: 12px 15px;
    font-size: 16px;
  }

  .login__submit_btn {
    padding: 15px 25px;
    font-size: 18px;
  }
}



/*====================================
  regist.php 新規登録画面のスタイル
====================================*/

/* 新規登録ページ専用スタイル */
body.register_page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f7fa;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

/* メインコンテナ */
.register__wrapper {
  width: 100%;
  max-width: 500px;
  margin: 20px;
}

.register__container {
  background-color: #ffffff;
  border: solid 2px #83bbcb;
  box-shadow: 0 0 20px rgba(126, 189, 207, 0.6);
  border-radius: 12px;
  padding: 40px 30px;
}

/* ヘッダー */
.register__header {
  text-align: center;
  margin-bottom: 35px;
  padding-bottom: 15px;
  border-bottom: 2px solid #83bbcb;
  box-shadow: 0 2px 8px rgba(126, 189, 207, 0.3);
}

.register__title {
  font-size: 32px;
  font-weight: bold;
  color: #1a5f7a;

  margin: 0;
}

.register__subtitle {
  font-size: 16px;
  color: #4a8ba5;
  margin-top: 8px;
}

/* フォーム */
.register__form {
  width: 100%;
}

/* フィールド */
.register__field {
  margin-bottom: 25px;
}

.register__label {
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: #1a5f7a;

  margin-bottom: 8px;
}

/* 必須マーク */
.register__required {
  color: #ff3355;
  font-size: 14px;
  margin-left: 5px;
  text-shadow: 0 0 3px rgba(255, 51, 85, 0.4);
}

.register__input {
  width: 100%;
  padding: 15px 18px;
  border: solid 2px #83bbcb;
  box-shadow: 0 0 8px rgba(126, 189, 207, 0.4);
  border-radius: 8px;
  font-size: 18px;
  background-color: #ffffff;
  color: #333;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.register__input:focus {
  outline: none;
  box-shadow: 0 0 15px rgba(0, 255, 251, 0.6);
  border-color: #00fffb;
  background-color: #f8feff;
}

.register__input::placeholder {
  color: #999;
  font-size: 16px;
}

/* バリデーション状態 */
.register__input.valid {
  border-color: #00aa66;
  box-shadow: 0 0 8px rgba(0, 170, 102, 0.4);
}

.register__input.invalid {
  border-color: #ff3355;
  box-shadow: 0 0 8px rgba(255, 51, 85, 0.4);
}

/* バリデーションメッセージ */
.register__validation {
  font-size: 14px;
  margin-top: 5px;
  padding: 5px 10px;
  border-radius: 4px;
  display: none;
}

.register__validation.error {
  color: #cc0000;
  background-color: #ffe6e6;
  border: 1px solid #ff6666;
  display: block;
}

.register__validation.success {
  color: #009900;
  background-color: #e6ffe6;
  border: 1px solid #66cc66;
  display: block;
}

/* パスワード強度インジケーター */
.register__password_strength {
  margin-top: 8px;
  height: 6px;
  background-color: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
  display: none;
}

.register__password_bar {
  height: 100%;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.register__password_text {
  font-size: 14px;
  margin-top: 5px;
  font-weight: bold;
}

/* 強度レベル */
.strength-weak .register__password_bar {
  width: 33%;
  background-color: #ff3355;
  box-shadow: 0 0 8px rgba(255, 51, 85, 0.4);
}

.strength-medium .register__password_bar {
  width: 66%;
  background-color: #ffcc66;
  box-shadow: 0 0 8px rgba(255, 204, 102, 0.4);
}

.strength-strong .register__password_bar {
  width: 100%;
  background-color: #00aa66;
  box-shadow: 0 0 8px rgba(0, 170, 102, 0.4);
}

/* ボタンエリア */
.register__button_area {
  margin-top: 35px;
  display: flex;
  gap: 15px;
}

.register__submit_btn,
.register__cancel_btn {
  flex: 1;
  padding: 18px 20px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: solid 2px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

/* 登録ボタン */
.register__submit_btn {
  background-color: #1a5f7a;
  color: #ffffff;
  border-color: #83bbcb;
  box-shadow: 0 0 12px rgba(126, 189, 207, 0.6);
}

.register__submit_btn:hover:not(:disabled) {
  background-color: #0088aa;
  box-shadow: 0 0 20px rgba(0, 255, 251, 0.8);
  text-shadow: 0 0 12px rgba(0, 255, 251, 0.8);
  transform: translateY(-3px);
  border-color: #00fffb;
}

.register__submit_btn:disabled {
  background-color: #999;
  color: #ccc;
  border-color: #bbb;
  cursor: not-allowed;
  box-shadow: none;
  text-shadow: none;
}

/* キャンセルボタン */
.register__cancel_btn {
  background-color: #f5f7fa;
  color: #666;
  border-color: #ccc;
  box-shadow: 0 0 8px rgba(204, 204, 204, 0.4);
}

.register__cancel_btn:hover {
  background-color: #e8ecf0;
  color: #333;
  border-color: #999;
  box-shadow: 0 0 12px rgba(153, 153, 153, 0.4);
  transform: translateY(-2px);
}

/* ログインリンク */
.register__login_link {
  display: block;
  text-align: center;
  margin-top: 25px;
  padding: 15px;
  background-color: #f0f8ff;
  border: solid 1px #83bbcb;
  box-shadow: 0 0 8px rgba(126, 189, 207, 0.4);
  border-radius: 8px;
  color: #1a5f7a;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
}

.register__login_link:hover {
  background-color: #e0f4ff;
  box-shadow: 0 0 12px rgba(0, 255, 251, 0.5);
  color: #0088aa;
  text-shadow: 0 0 3px rgba(0, 255, 251, 0.3);
  transform: translateY(-2px);
}

/* エラー・成功メッセージ */
.register__error,
.register__success {
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 16px;
  text-align: center;
  display: none;
}

.register__error {
  background-color: #ffe6e6;
  border: solid 1px #ff6666;
  color: #cc0000;
}

.register__success {
  background-color: #e6ffe6;
  border: solid 1px #66cc66;
  color: #009900;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
  .register__wrapper {
    margin: 10px;
  }

  .register__container {
    padding: 30px 20px;
  }

  .register__title {
    font-size: 28px;
  }

  .register__input {
    padding: 12px 15px;
    font-size: 16px;
  }

  .register__button_area {
    flex-direction: column;
    gap: 12px;
  }

  .register__submit_btn,
  .register__cancel_btn {
    padding: 15px 20px;
    font-size: 16px;
  }
}


/*====================================
  reserve.php 予約画面のスタイル
====================================*/
body.reservation_page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f7fa;
}

/* メインコンテナ */
.reservation__wrapper {
  width: 100%;
  min-height: 100vh;
  background-color: #f5f7fa;
}

.reservation__container {
  max-width: 800px; 
  margin: 0 auto;
  padding: 20px 15px;
  background-color: #ffffff;
  border: solid 1px #83bbcb;
  border-radius: 8px;
}

/* ヘッダー */
.reservation__header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 10px;
  padding-top: 10px;
  border-bottom: 2px solid #83bbcb;
  box-shadow: 0 2px 8px rgba(126, 189, 207, 0.3);
}

.reservation__title {
  font-size: 28px;
  font-weight: bold;
  color: #1a5f7a;
  margin: 0;
}

/* 選択されたスタッフ表示 */
.reservation__selected_staff {
  background-color: #f0f8ff;
  border: solid 1px #83bbcb;
  box-shadow: 0 0 8px rgba(126, 189, 207, 0.4);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 25px;
  text-align: center;
}

.reservation__staff_name {
  font-size: 22px;
  font-weight: bold;
  color: #1a5f7a;
}

/* 女の子の選択変更 */
.reservation__cast_change {
  margin-top: 10px;
}

.reservation__cast_change_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #007bff;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.reservation__cast_change_btn:hover {
  background: #0056b3;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 123, 255, 0.3);
}

.reservation__cast_change_btn i {
  font-size: 16px;
}

@media (max-width: 768px) {
  .reservation__cast_change_btn {
    padding: 12px 16px;
    font-size: 13px;
  }
}



/* フォーム */
.reservation__form {
  width: 100%;
}

/* フィールド共通 */
.reservation__field {
  position: relative;
  margin-bottom: 25px;
  overflow: visible !important; /* カスタムドロップダウン用に変更 */
}

.reservation__label {
  display: block;
  font-size: 20px;
  font-weight: bold;
  color: #1a5f7a;
  margin-bottom: 8px;
}

/* 入力フィールド */
.reservation__input {
  width: 100%;
  padding: 12px 15px;
  border: solid 1px #83bbcb;
  box-shadow: 0 0 6px rgba(126, 189, 207, 0.4);
  border-radius: 6px;
  font-size: 18px;
  background-color: #ffffff;
  color: #333;
  transition: all 0.3s ease;
  height: auto;
  min-height: 48px;
}

.reservation__input:focus {
  outline: none;
  box-shadow: 0 0 12px rgba(0, 255, 251, 0.4);
  border-color: #00fffb;
}

.reservation__select {
    width: 100%;
    padding: 12px 15px;
    border: solid 1px #83bbcb;
    box-shadow: 0 0 6px rgba(126, 189, 207, 0.4);
    border-radius: 6px;
    font-size: 18px;
    background-color: #ffffff;
    color: #333;
    transition: all 0.3s ease;
    height: auto;
    min-height: 48px;
    appearance: none; /* デフォルトの矢印を非表示 */
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDFMNiA2TDExIDEiIHN0cm9rZT0iIzMzMyIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+'); /* カスタム矢印 */
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px; /* 矢印のスペースを確保 */
}

.reservation__select:focus {
    outline: none;
    border-color: #5a9fb8;
    box-shadow: 0 0 8px rgba(90, 159, 184, 0.6);
}

.reservation__select:hover {
    border-color: #6ba8bb;
    box-shadow: 0 0 8px rgba(107, 168, 187, 0.5);
}

/* 複数選択のselect用 */
.reservation__select[multiple] {
    min-height: 120px;
    padding-right: 15px; /* 複数選択の場合は矢印不要 */
    background-image: none;
}

/* 場所入力欄のスタイル */
.reservation__shop_memo {
  margin-top: 15px;
  padding: 15px;
  background-color: #f0f8ff;
  border: solid 1px #83bbcb;
  box-shadow: 0 0 8px rgba(126, 189, 207, 0.4);
  border-radius: 6px;
  transition: all 0.3s ease;
}

/* 選択中の割引表示 */
.reservation__selected {
  background-color: #f0f8ff;
  border: solid 1px #83bbcb;
  box-shadow: 0 0 8px rgba(126, 189, 207, 0.4);
  border-radius: 4px;
  padding: 10px;
  margin-top: 10px;
  font-size: 18px;
  color: #1a5f7a;
  font-weight: bold;
}

/* クーポンコード入力欄 */
.reservation__coupon {
  margin-top: 15px;
  padding: 15px;
  background-color: #f0f8ff;
  border: solid 1px #83bbcb;
  box-shadow: 0 0 8px rgba(126, 189, 207, 0.4);
  border-radius: 6px;
}

/* 注釈 */
.reservation__note {
  margin-top: 10px;
  padding: 8px 12px;
  background-color: #f5faff;
  border-left: 4px solid #83bbcb;
  box-shadow: -2px 0 4px rgba(126, 189, 207, 0.3);
  font-size: 16px;
  color: #666;
  line-height: 1.4;
}

/* カスタムドロップダウンのスタイル */
.reservation__custom_select {
  position: relative;
  width: 100%;
  cursor: pointer;
  margin-bottom: 15px;
  z-index: 20;
}

/* オープン時のz-index調整 */
.reservation__custom_select.open {
  z-index: 101;
}

.reservation__selected_option {
  padding: 12px 15px;
  border: solid 1px #83bbcb;
  box-shadow: 0 0 6px rgba(126, 189, 207, 0.4);
  border-radius: 6px;
  font-size: 18px;
  background-color: #ffffff;
  color: #333;
  min-height: 48px;
  display: flex;
  align-items: center;
  position: relative;
  transition: all 0.3s ease;
}

/* 矢印アイコン */
.reservation__selected_option::after {
  content: '';
  width: 12px;
  height: 12px;
  border-right: 2px solid #1a5f7a;
  border-bottom: 2px solid #1a5f7a;
  transform: rotate(45deg);
  position: absolute;
  right: 15px;
  top: calc(50% - 8px);
  transition: all 0.3s ease;
}

/* 開いた時の矢印の向き変更 */
.reservation__custom_select.open .reservation__selected_option::after {
  transform: rotate(-135deg);
  top: calc(50% - 4px);
}

/* ホバー時のスタイル */
.reservation__selected_option:hover {
  border-color: #00fffb;
  box-shadow: 0 0 10px rgba(0, 255, 251, 0.4);
}

/* ドロップダウンのオプション部分 */
.reservation__options {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border: solid 1px #83bbcb;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 5px 10px rgba(126, 189, 207, 0.4);
  z-index: 100;
  max-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-sizing: border-box;
  pointer-events: none;
}

/* ドロップダウンを開いた時のスタイル */
.reservation__custom_select.open .reservation__options {
  max-height: 300px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 各オプションのスタイル */
.reservation__option {
  padding: 12px 15px;
  font-size: 18px;
  color: #333;
  transition: all 0.2s ease;
  white-space: normal;
  word-break: break-word;
}

/* オプションのホバー時と選択時のスタイル */
.reservation__option:hover,
.reservation__option.selected {
  background-color: #e0f4ff;
  color: #1a5f7a;
}

/* フォーカス時のスタイル */
.reservation__option.focused {
  background-color: #e0f4ff;
  color: #1a5f7a;
  outline: 2px solid #00fffb;
}

/* テキストエリア */
.reservation__textarea {
  width: 100%;
  margin: 0px;
  padding: 12px 15px;
  border: solid 1px #83bbcb;
  box-shadow: 0 0 6px rgba(126, 189, 207, 0.4);
  border-radius: 6px;
  font-size: 18px;
  font-family: inherit;
  resize: vertical;
  min-height: 100px;
  background-color: #ffffff;
  color: #333;
  transition: all 0.3s ease;
}

.reservation__textarea:focus {
  outline: none;
  box-shadow: 0 0 12px rgba(0, 255, 251, 0.4);
  border-color: #00fffb;
}

/* 送信ボタンエリア */
.reservation__submit_area {
  text-align: center;
  margin-top: 30px;
}

.reservation__submit_btn {
  background-color: #1a5f7a;
  color: #ffffff;
  border: solid 1px #83bbcb;
  box-shadow: 0 0 8px rgba(126, 189, 207, 0.5);
  padding: 15px 40px;
  font-size: 22px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reservation__submit_btn:hover {
  background-color: #0088aa;
  box-shadow: 0 0 15px rgba(0, 255, 251, 0.5);
  transform: translateY(-2px);
  border-color: #00fffb;
}

.reservation__submit_btn:active {
  transform: translateY(0);
  box-shadow: 0 0 8px rgba(126, 189, 207, 0.5);
}

/* スケジュール関連のスタイル - スクロール無し版 */
/* スケジュール表 - スクロール除去版 */
.reservation__schedule_container {
  position: relative;
  overflow: visible; /* スクロール完全除去 */
  margin-top: 10px;
}

/* スクロールヒント - 不要なので非表示 */
.reservation__scroll_hint {
  display: none;
}

/* スケジュール表 - コンパクト版 */
.reservation__schedule {
  border: solid 1px #83bbcb;
  box-shadow: 0 0 8px rgba(126, 189, 207, 0.3);
  border-radius: 4px;
  background-color: #ffffff;
  width: 100%;
  position: relative;
  overflow: visible; /* スクロール除去 */
}

/* 日付ヘッダー - 固定ヘッダー除去 */
.reservation__date_header {
  display: grid;
  grid-template-columns: 60px repeat(7, 1fr); /* 時間列を60pxに縮小 */
  background-color: #e0f4ff;
  color: #1a5f7a;
  font-weight: bold;
  border-bottom: solid 1px #83bbcb;
  position: static; /* sticky解除 */
  z-index: 1;
}

.reservation__time_column,
.reservation__date_cell {
  padding: 6px 2px; /* パディング大幅縮小 */
  text-align: center;
  border-right: 1px solid #83bbcb;
  font-size: 12px; /* フォントサイズ縮小 */
  color: #1a5f7a;
  background-color: #e0f4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 35px; /* 高さ縮小 */
}

.reservation__date_cell:last-child {
  border-right: none;
}

.reservation__date {
  font-size: 14px; /* 日付サイズ縮小 */
  font-weight: bold;
  color: #1a5f7a;
  line-height: 1;
}

.reservation__day {
  font-size: 10px; /* 曜日サイズ縮小 */
  color: #4a8ba5;
  line-height: 1;
}

/* スケジュール本体 - スクロール完全除去 */
.reservation__schedule_body {
  overflow: visible; /* スクロール除去 */
}

.reservation__time_row {
  display: grid;
  grid-template-columns: 60px repeat(7, 1fr); /* 時間列を60pxに縮小 */
  border-bottom: 1px solid #83bbcb;
}

.reservation__time_row:last-child {
  border-bottom: none;
}

.reservation__time_row:nth-child(odd) {
  background-color: #f8fbff;
}

.reservation__time_row:nth-child(even) {
  background-color: #ffffff;
}

.reservation__time_cell,
.reservation__slot {
  padding: 3px 1px; /* パディング最小化 */
  text-align: center;
  border-right: 1px solid #83bbcb;
  font-size: 12px; /* フォントサイズ縮小 */
  font-weight: bold;
  min-height: 25px; /* 高さ大幅縮小 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.reservation__time_cell {
  background-color: #e0f4ff;
  color: #1a5f7a;
  font-size: 10px; /* 時間表示さらに小さく */
}

/* スロット（○×表示） - コンパクト版 */
.reservation__slot {
  font-size: 16px; /* ○×サイズ縮小 */
  cursor: pointer;
  transition: all 0.2s ease;
}

.reservation__slot:last-child {
  border-right: none;
}

/* 空き時間（○） - 緑 */
.reservation__slot.available {
  color: #00aa66;
  background-color: rgba(0, 255, 136, 0.05);
}

.reservation__slot.available:hover {
  color: #00cc77;
  background-color: rgba(0, 255, 170, 0.1);
  transform: scale(1.1); /* ホバー効果少し縮小 */
  box-shadow: 0 0 6px rgba(0, 255, 170, 0.3);
}

/* 予約済み時間（×） - 赤 */
.reservation__slot.unavailable {
  color: #ff3355;
  cursor: not-allowed;
  background-color: rgba(255, 68, 102, 0.05);
}

/* 選択中の時間 - 青 */
.reservation__slot.selected {
  color: #00bbff !important;
  background-color: rgba(0, 255, 251, 0.15) !important;
  transform: scale(1.15); /* 選択時の拡大少し縮小 */
  box-shadow: 0 0 8px rgba(0, 255, 251, 0.4);
  border: solid 1px #00fffb;
}

/* 選択された時間の表示 */
.reservation__selected_time {
  margin-top: 10px;
  padding: 8px;
  background-color: #f0f8ff;
  border: solid 1px #83bbcb;
  box-shadow: 0 0 6px rgba(126, 189, 207, 0.3);
  border-radius: 4px;
  font-size: 14px; /* フォントサイズ縮小 */
  font-weight: bold;
  color: #1a5f7a;
  text-align: center;
}

/* スケジュールナビゲーション（矢印ボタン） */
.reservation__schedule_nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.reservation__nav_btn {
  background-color: #1a5f7a;
  color: #ffffff;
  border: solid 1px #83bbcb;
  box-shadow: 0 0 4px rgba(126, 189, 207, 0.3);
  padding: 6px 12px; /* パディング縮小 */
  font-size: 14px; /* フォントサイズ縮小 */
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reservation__nav_btn:hover {
  background-color: #0088aa;
  box-shadow: 0 0 6px rgba(0, 255, 251, 0.3);
}

/* チェックボックス用スタイル */
.reservation__checkbox_container {
  display: flex;
  flex-direction: column;
  gap: 8px; /* ギャップ縮小 */
  padding: 12px; /* パディング縮小 */
  background-color: #f0f8ff;
  border: solid 1px #83bbcb;
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(126, 189, 207, 0.3);
}

.reservation__checkbox_item {
  display: flex;
  align-items: center;
  padding: 6px; /* パディング縮小 */
  border-radius: 3px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.reservation__checkbox_item:hover {
  background-color: rgba(0, 255, 251, 0.05);
  border-color: #83bbcb;
}

.reservation__checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.reservation__checkbox_label {
  position: relative;
  padding-left: 28px; /* パディング縮小 */
  cursor: pointer;
  font-size: 14px; /* フォントサイズ縮小 */
  color: #333;
  user-select: none;
  display: inline-block;
  width: 100%;
}

.reservation__checkbox_label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px; /* サイズ縮小 */
  height: 18px; /* サイズ縮小 */
  border: 2px solid #83bbcb;
  background-color: #ffffff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.reservation__checkbox:checked + .reservation__checkbox_label:before {
  background-color: #1a5f7a;
  border-color: #1a5f7a;
  box-shadow: 0 0 6px rgba(0, 255, 251, 0.4);
}

.reservation__checkbox:checked + .reservation__checkbox_label:after {
  content: '';
  position: absolute;
  left: 6px; /* 位置調整 */
  top: 7px; /* 位置調整 */
  width: 4px; /* サイズ縮小 */
  height: 8px; /* サイズ縮小 */
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.reservation__checkbox:checked + .reservation__checkbox_label {
  color: #1a5f7a;
  font-weight: bold;
}

.reservation__checkbox_item.checked {
  background-color: rgba(0, 255, 251, 0.1);
  border-color: #00fffb;
  box-shadow: 0 0 6px rgba(0, 255, 251, 0.3);
}

.reservation__selected_options {
  margin-top: 10px;
  padding: 8px;
  background-color: #f0f8ff;
  border: solid 1px #83bbcb;
  box-shadow: 0 0 6px rgba(126, 189, 207, 0.3);
  border-radius: 4px;
  font-size: 14px; /* フォントサイズ縮小 */
  color: #1a5f7a;
  line-height: 1.3;
}

/* レスポンシブ対応 - 全てコンパクト版 */
/* スマホ対応（さらにコンパクト） */
@media (max-width: 767px) {
  .reservation__container {
    padding: 10px 5px;
    margin: 5px;
  }
  
  .reservation__title {
    font-size: 20px;
  }
  
  .reservation__label {
    font-size: 16px;
  }
  
  /* スマホ版：さらにコンパクト */
  .reservation__date_header,
  .reservation__time_row {
    grid-template-columns: 45px repeat(7, 1fr); /* 時間列をさらに縮小 */
  }
  
  .reservation__time_column,
  .reservation__time_cell {
    padding: 4px 1px; /* パディングさらに縮小 */
    font-size: 12px;
    min-height: 25px;
  }
  
  .reservation__date_cell {
    padding: 4px 1px;
  }
  
  .reservation__date {
    font-size: 11px; /* 日付サイズさらに縮小 */
  }
  
  .reservation__day {
    font-size: 8px; /* 曜日サイズさらに縮小 */
  }
  
  .reservation__slot {
    padding: 2px 0px; /* パディングさらに縮小 */
    font-size: 14px; /* ○×サイズ縮小 */
    min-height: 22px; /* セル高ささらに縮小 */
  }
  
  .reservation__selected_time {
    font-size: 12px;
    padding: 6px;
  }
}

/* タブレット対応 */
@media (min-width: 768px) and (max-width: 1023px) {
  .reservation__container {
    max-width: 760px;
    padding: 20px 15px;
  }
  
  .reservation__date_header,
  .reservation__time_row {
    grid-template-columns: 55px repeat(7, 1fr);
  }
  
  .reservation__time_cell {
    font-size: 11px;
  }
  
  .reservation__slot {
    font-size: 15px;
    min-height: 28px;
  }
}

/* PC対応 */
@media (min-width: 1024px) {
  .reservation__container {
    max-width: 900px;
    padding: 25px 20px;
  }
  
  .reservation__date_header,
  .reservation__time_row {
    grid-template-columns: 60px repeat(7, 1fr);
  }
  
  .reservation__slot {
    padding: 4px 2px;
    font-size: 16px;
    min-height: 30px;
  }
  
  .reservation__time_cell {
    font-size: 15px;
  }
}

/*====================================
  成功・エラーメッセージのスタイル
====================================*/

.reservation_modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.reservation_modal__content {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  margin: auto;
  animation: reservationModalFadeIn 0.3s ease-out;
}

@keyframes reservationModalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.reservation_modal__header {
  background: #4CAF50;
  color: white;
  padding: 20px;
  border-radius: 10px 10px 0 0;
  text-align: center;
}

.reservation_modal__title {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

.reservation_modal__body {
  padding: 30px 20px;
  text-align: center;
}

.reservation_modal__icon {
  font-size: 60px;
  color: #4CAF50;
  margin-bottom: 20px;
}

.reservation_modal__message {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.reservation_modal__footer {
  padding: 0 20px 20px;
  text-align: center;
}

.reservation_modal__close_btn {
  background: #4CAF50;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.reservation_modal__close_btn:hover {
  background: #45a049;
}


