@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(to bottom, #f0ffff, #b2ebf2); /* 上から明るい青、下に明るい水色 */
  background-attachment: fixed; /* 背景を固定 */
  background-size: cover; /* 背景をカバーする */
}

td,th{
  font-size: 20px;
}

p {
  margin: 0 0 0px;
}

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    text-align: center;
    vertical-align: middle;
}

/* ヘッダーのデザイン */
.navbar{
  width:100%;
  position: sticky;
  top: 0;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: white;
}

.custom-navbar {
  background-color: #00517e; /* 紺色 */
  font-weight: bold; /* フォントを太字に */
  color: white;
}

.custom-navbar a {
  color: white; /* テキストを白に */
}

.custom-navbar a:hover,
.custom-navbar a:focus,
.custom-navbar .navbar-toggle:focus {
  color: #e0e0e0; /* ホバー時の色 */
  background-color: transparent; /* 背景色を透明に */
}

.custom-navbar .navbar-brand {
  color: white; /* ブランド名を白に */
}

.custom-navbar .navbar-brand:hover {
  color: #e0e0e0; /* ブランド名を白に */
}

/* クリック時の色を少し暗いグレーに設定 */
.custom-navbar .navbar-brand:active,
.custom-navbar .navbar-brand:focus {
  color: #b0b0b0; /* クリック時の色 */
}

.custom-navbar .navbar-nav > li > a {
  color: white; /* ナビゲーションリンクを白に */
}

.custom-navbar .navbar-nav > li > a:hover {
  color: #e0e0e0;
}

/* クリック時の色を少し暗いグレーに設定 */
.custom-navbar .navbar-nav > li > a:active,
.custom-navbar .navbar-nav > li > a:focus {
  color: #b0b0b0; /* クリック時の色 */
}

.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
  background-color: #0073b1;
  color: #e0e0e0;
}

.navbar-default .navbar-toggle:hover {
  background-color: #0073b1; /* ドロップダウンメニューのホバー時の背景色 */
  color: #e0e0e0; /* ホバー時のリンク色 */
}

.custom-navbar .dropdown-menu {
  background-color: #00517e; /* ドロップダウンメニューの背景色 */
}

.custom-navbar .dropdown-menu > li > a {
  color: white; /* ドロップダウンメニューのリンク色 */
  font-weight: bold;
}

.custom-navbar .dropdown-menu > li > a:hover {
  background-color: #0073b1; /* ドロップダウンメニューのホバー時の背景色 */
}

@media (max-width: 767px) {
  .navbar-default .navbar-nav .open .dropdown-menu>li>a {
      color: white;
  }

  .navbar-default .navbar-nav .open .dropdown-menu>li>a:focus, .navbar-default .navbar-nav .open .dropdown-menu>li>a:hover {
    background-color: #0073b1;
    color: #e0e0e0;
  }
}

.table-striped thead th {
  background-color: #0073b1; /* 背景色 */
  color: white; /* 文字色 */
}

.table-striped tbody tr:nth-child(odd) {
  background-color: #eff2ff; /* ストライプ効果 */
}

.table-striped tbody tr:hover {
  background-color: #eaeeff; /* ホバー時の背景色 */
}

/* スマホ版のトップページ表デザイン */
@media screen and (max-width: 787px) {
  .table-responsive {
      border-radius: 0;
      text-align: left;
  }
  .table-responsive thead {
      display: none;
      text-align: left;
  }
  .table-responsive tr {
      background-color: unset;
      text-align: left;
  }
  .table-responsive th, .table-responsive td {
      display: block;
      border: 0;
      border-bottom: 1px solid #0073b1;
      position: relative; /* 追加 */
  }
  .table-responsive tbody th::before {
    content: attr(data-label);
    padding: 10px;
  }
  .table-responsive tbody th {
      background: #0073b1;
      color: #fff;
      text-align: center;
      padding-left: 5em;
  }
  .table-responsive td::before {
      content: attr(data-label);
      background-color: #0073b1;
      color:white;
      font-weight: bold;
      display: inline-block;
      width: auto; /* 変更 */
      min-width: 8em;
      text-align: center;
      margin-right: 1.0em;
      padding: 10px;
      border-radius: 100vh;
      left: 0; /* 追加 */
      top: 0; /* 追加 */
  }
  .table-responsive td[data-label="操作"]::before {
    content: "";
    background: none;
    color: inherit;
    font-weight: normal;
    display: block;
    width: auto;
    min-width: auto;
    text-align: left;
    margin: 0;
    padding: 0;
  }
  .table-responsive td {
      padding-left: 5em;
      text-align:left;
      background-color:white;
  }
  .table-responsive td[data-label="操作"] {
    text-align:center;
    background-color:white;
    padding-bottom:2em;
  }

  .table-responsive>tbody>tr>td {
    text-align: left;
    vertical-align: middle;
  }
}

.radio-group {
    display: flex;
    flex-direction: row;
  }
  
  .form-check {
    margin-right: 20px;
  }
  
  .form-check-input {
    margin-right: 5px;
  }

  .short-input {
    width: 200px;
    display: inline-block;
  }

  .required-label {
    color: red;
  }

  .required-input {
      border: 2px solid red;
  }

  .adminText {
    position: absolute; 
    top: 0; /* 上からの位置を0に設定 */
    left: 50%; /* 横方向は中央に配置 */
    transform: translateX(-50%); /* 水平方向に中央に配置 */
  }

@media (min-width: 992px) {
  .col-md-2 {
      width: 13%;
  }
  #col-md-1 {
    width: 4.75%;
  }
  #col-md-3{
    width: 20.5%;
  }
  td, th {
      font-size: 18px; /* フォントサイズを少し小さく */
  }
  h1 {
      font-size: 34px; /* ヘッダーサイズを調整 */
  }
}

@media (max-width: 992px) {
  
  .col-md-2 {
      width: 13%;
  }
  td, th {
      font-size: 18px; /* フォントサイズを少し小さく */
  }
  h1 {
      font-size: 34px; /* ヘッダーサイズを調整 */
  }
}

@media (max-width: 1270px) {
  .adminText {
    position: static; /* positionをstaticに変更 */
    transform: none; /* transformを無効にする */
  }
  .ml-5{
    margin-left: 100px;
  }
}

@media (max-width: 768px) {
  td, th {
      font-size: 18px; /* 中型スマホ向けのフォントサイズ */
  }
  h1 {
      font-size: 32px; /* ヘッダーサイズをさらに小さく */
  }
  .btn, .btn-group-lg>.btn, .btn-lg {
      font-size: 15px; /* ボタンサイズを調整 */
      padding: 5px 10px; /* パディングを調整 */
  }
}

@media (max-width: 550px) {
  td, th {
      font-size: 16px; /* スマホ向けのフォントサイズ */
  }
  h1 {
      font-size: 30px; /* ヘッダーサイズを調整 */
  }
  .btn, .btn-group-lg>.btn, .btn-lg {
      font-size: 15px; /* ボタンサイズを調整 */
      padding: 4px 8px; /* パディングを調整 */
  }
}

@media (max-width: 450px) {
  td, th {
      font-size: 16px; /* より小さいスマホ向けのフォントサイズ */
  }
  .btn, .btn-group-lg>.btn, .btn-lg {
      font-size: 15px; /* ボタンサイズをさらに小さく */
      padding: 3px 6px; /* パディングを調整 */
  }
}

.help-block{
  white-space: nowrap;
}

.container {
  max-width: 960px;
  margin: 0 auto;
}

.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}

.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.panel-body {
    padding: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.col-form-label {
    padding-top: calc(.375rem + 1px);
    padding-bottom: calc(.375rem + 1px);
    margin-bottom: 0;
    line-height: 1.5;
}

.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-block {
    display: block;
    width: 100%;
}

/* テーブル行にホバー効果を追加 */
#reservationsTable tbody tr:hover {
  cursor: pointer;
}

/* 選択した表をマーク */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}

.reservation-row.selected {
  border: 2px solid #007bff;
  position: relative;
  animation: pulse 2s infinite;
}

.panel-text{
  font-size: 20px;
}

/* Bootstrap再現CSS */
.text-center {
    text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.btn-secondary {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-secondary:hover {
  color: #fff;
  background-color: #5a6268;
  border-color: #545b62;
}

.btn-outline-primary {
  color: #007bff;
  background-color: transparent;
  border-color: #007bff;
  /* その他のプロパティは省略 */
}

.btn-outline-primary:hover {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.btn-outline-success {
  color: #28a745;
  background-color: transparent;
  border-color: #28a745;
}

.btn-outline-success:hover {
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
}

.btn-outline-warning {
  color: #ffc107;
  background-color: transparent;
  border-color: #ffc107;
  /* その他のプロパティは省略 */
}

.btn-outline-warning:hover {
  color: #212529;
  background-color: #ffc107;
  border-color: #ffc107;
}

.btn-outline-danger {
  color: #dc3545;
  background-color: transparent;
  border-color: #dc3545;
  /* その他のプロパティは省略 */
}

.btn-outline-danger:hover {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-outline-secondary {
  color: #6c757d;
  background-color: transparent;
  border-color: #6c757d;
}

.btn-outline-secondary:hover {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-outline-info {
  color: #17a2b8;
  background-color: transparent;
  border-color: #17a2b8;
}

.btn-outline-info:hover {
  color: #fff;
  background-color: #17a2b8;
  border-color: #17a2b8;
}

.btn-outline-dark {
  color: #343a40; /* テキスト色 */
  background-color: transparent; /* 背景色 */
  border: 1px solid #343a40; /* ボーダー色 */
}

.btn-outline-dark:hover {
  color: #fff; /* ホバー時のテキスト色 */
  background-color: #343a40; /* ホバー時の背景色 */
  border-color: #343a40; /* ホバー時のボーダー色 */
}

.btn-outline-purple {
  color: #6f42c1; /* テキスト色（紫） */
  background-color: transparent; /* 背景色 */
  border: 1px solid #6f42c1; /* ボーダー色 */
}

.btn-outline-purple:hover {
  color: #fff; /* ホバー時のテキスト色 */
  background-color: #6f42c1; /* ホバー時の背景色 */
  border-color: #6f42c1; /* ホバー時のボーダー色 */
}

.btn-outline-orange {
  color: #fd7e14; /* アカウント情報変更履歴用のオレンジ */
  background-color: transparent;
  border: 1px solid #fd7e14;
}

.btn-outline-orange:hover {
  color: #fff;
  background-color: #fd7e14;
  border-color: #fd7e14;
}

.btn-outline-success:focus,
.btn-outline-success.focus {
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}

.badge{
  min-width:20px;
}

.badge-warning{
  background-color: #ffc107;
}

.badge-success{
  background-color: #28a745;
}

.badge-danger{
  background-color: #dc3545;
}

.badge-info{
  background-color: #17a2b8;
}

/* Padding */
.p-0 {
  padding: 0 !important;
}
.p-1 {
  padding: 0.25rem !important;
}
.p-2 {
  padding: 0.5rem !important;
}
.p-3 {
  padding: 1rem !important;
}
.p-4 {
  padding: 1.5rem !important;
}
.p-5 {
  padding: 3rem !important;
}

/* Padding Top */
.pt-0 {
  padding-top: 0 !important;
}
.pt-1 {
  padding-top: 0.25rem !important;
}
.pt-2 {
  padding-top: 0.5rem !important;
}
.pt-3 {
  padding-top: 1rem !important;
}
.pt-4 {
  padding-top: 1.5rem !important;
}
.pt-5 {
  padding-top: 3rem !important;
}

/* Padding Right */
.pr-0 {
  padding-right: 0 !important;
}
.pr-1 {
  padding-right: 0.25rem !important;
}
.pr-2 {
  padding-right: 0.5rem !important;
}
.pr-3 {
  padding-right: 1rem !important;
}
.pr-4 {
  padding-right: 1.5rem !important;
}
.pr-5 {
  padding-right: 3rem !important;
}

/* Padding Bottom */
.pb-0 {
  padding-bottom: 0 !important;
}
.pb-1 {
  padding-bottom: 0.25rem !important;
}
.pb-2 {
  padding-bottom: 0.5rem !important;
}
.pb-3 {
  padding-bottom: 1rem !important;
}
.pb-4 {
  padding-bottom: 1.5rem !important;
}
.pb-5 {
  padding-bottom: 3rem !important;
}

/* Padding Left */
.pl-0 {
  padding-left: 0 !important;
}
.pl-1 {
  padding-left: 0.25rem !important;
}
.pl-2 {
  padding-left: 0.5rem !important;
}
.pl-3 {
  padding-left: 1rem !important;
}
.pl-4 {
  padding-left: 1.5rem !important;
}
.pl-5 {
  padding-left: 3rem !important;
}

/* Responsive Padding */
.p-sm-0 {
  padding: 0 !important;
}
.p-sm-1 {
  padding: 0.25rem !important;
}
.p-sm-2 {
  padding: 0.5rem !important;
}
.p-sm-3 {
  padding: 1rem !important;
}
.p-sm-4 {
  padding: 1.5rem !important;
}
.p-sm-5 {
  padding: 3rem !important;
}

/* マージンのクラスを定義 */
.m-0 {
  margin: 0 !important;
}

.m-1 {
  margin: 0.25rem !important; /* 約4px */
}

.m-2 {
  margin: 0.5rem !important; /* 約8px */
}

.m-3 {
  margin: 1rem !important; /* 約16px */
}

.m-4 {
  margin: 1.5rem !important; /* 約24px */
}

.m-5 {
  margin: 3rem !important; /* 約48px */
}

/* 各方向のマージンを設定 */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.ml-0 { margin-left: 0 !important; }
.ml-1 { margin-left: 0.25rem !important; }
.ml-2 { margin-left: 0.5rem !important; }
.ml-3 { margin-left: 1rem !important; }
.ml-4 { margin-left: 1.5rem !important; }
.ml-5 { margin-left: 3rem !important; }

.mr-0 { margin-right: 0 !important; }
.mr-1 { margin-right: 0.25rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.mr-3 { margin-right: 1rem !important; }
.mr-4 { margin-right: 1.5rem !important; }
.mr-5 { margin-right: 3rem !important; }

/* 横方向のマージン */
.mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
.mx-1 { margin-left: 0.25rem !important; margin-right: 0.25rem !important; }
.mx-2 { margin-left: 0.5rem !important; margin-right: 0.5rem !important; }
.mx-3 { margin-left: 1rem !important; margin-right: 1rem !important; }
.mx-4 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
.mx-5 { margin-left: 3rem !important; margin-right: 3rem !important; }

/* 縦方向のマージン */
.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-1 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; }
.my-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }


.modal-dialog {
  position: relative;
  width: auto;
  margin: 1.75rem auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
}

.modal-title {
  margin: 0;
  line-height: 1.5;
}

.close {
  padding: 0.5rem 1rem;
  margin: -0.5rem -1rem -0.5rem auto;
  color: #000;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
}

.modal-body {
  position: relative;
  padding: 1rem;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 0.75rem;
  border-top: 1px solid #dee2e6;
}

/* タブナビゲーション */
.nav-pills .nav-link {
  color: #495057;
  background-color: #f8f9fa;
  border-radius: 0.25rem;
  padding: 0.5rem 1rem;
  font-size:20px;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  background-color: #0073b1;
}

.nav-pills .nav-link.disabled {
  color: #6c757d;
  background-color: #f8f9fa;
  cursor: not-allowed;
}

/* タブコンテンツ */
.tab-content {
  border-top: none;
  border-radius: 0 0 0.25rem 0.25rem;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.tab-pane.fade {
  opacity: 0;
  transition: opacity 0.15s linear;
}

.tab-pane.fade.show {
  opacity: 1;
}

.spinner-border {
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  -webkit-animation: .75s linear infinite spinner-border;
  animation: .75s linear infinite spinner-border;
  vertical-align: -.125em;
  border: .25em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg); /* 初期角度 */
  }
  100% {
    transform: rotate(360deg); /* 最終角度 */
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0); /* 画面外に隠す */
  border: 0;
}

.btn:focus {
  outline: 2px solid #007bff; /* 青い枠を設定 */
  outline-offset: 2px; /* 枠とボタンの間にスペースを追加 */
  box-shadow: none; /* デフォルトの影を削除（必要に応じて） */
}

.d-none {
    display: none !important;
}

@media (min-width: 576px) {
    .d-sm-block {
        display: block !important;
    }
}

/* ****************************************** */
.radio-inline {
  display: inline-block;
  margin-right: 10px;
}

.form-check-inline {
    display: inline-flex;
    align-items: center;
    padding-left: 0;
    margin-right: .75rem;
}

.offset-md-4 {
    margin-left: 33.333333%;
}

input[type=checkbox], input[type=radio] {
  margin: 0 5px 0;
  margin-top: 0px \9;
  line-height: normal;
}

label {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 0px;
  font-weight: 700;
}

/*****************************/

.location-container {
  display: grid;
  grid-template-columns: 1fr; /* 1列に設定 */
  gap: 10px; /* グループ間のスペース */
}

.location-group {
  padding: 0px; /* 内側の余白 */
}

.location-group h5 {
  font-weight: bold; /* 見出しを強調 */
  color: #333; /* 見出しの色 */
}

.location-btn-group {
  display: flex; /* ボタンを横並びに */
  flex-wrap: nowrap; /* ボタンを折り返す */
}

.btn-elevator {
  flex: 1 1 45%; /* ボタンを2列に並べる */
  height: 30px; /* ボタンの高さを調整 */
  font-size: 1.2rem; /* フォントサイズを調整 */
  margin: 5px; /* ボタン間のスペース */
  background-color: white; /* ボタンの背景色 */
  color: #6c757d; /* ボタンの文字色 */
  border-color: #6c757d; /* ボタンの境界線を削除 */
  transition: background-color 0.3s, transform 0.2s; /* ホバー時のエフェクト */
}

.btn-elevator:hover {
  background-color: #007bff; /* ホバー時の背景色 */
  color: white; /* ボタンの文字色 */
  transform: scale(1.05); /* ホバー時の拡大効果 */
}

.position-relative {
  position: relative;
}

.unit-label {
  position: absolute;
  right: 25px; /* フィールドの右端からの距離 */
  top: 53%;
  transform: translateY(-50%);
  pointer-events: none; /* クリックイベントを無効化 */
  color: #6c757d; /* グレー色 */
}

/* numberの矢印非表示 */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ログページの表示レイアウト */
.log-box {
  border: 1px solid #ccc; /* ボーダー */
  border-radius: 5px; /* 角の丸み */
  padding: 20px; /* パディング */
  height: 450px; /* 高さ */
  overflow-y: auto; /* 縦方向のスクロール */
  background-color: #f8f9fa; /* 背景色 */
  position: relative; /* 相対位置 */
  text-align: left; /* 左寄せ */
  margin: 10px; /* 外側のマージン */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* シャドウ */
}

.log-card {
  background-color: #ffffff; /* カードの背景色 */
  border-radius: 8px; /* 角の丸み */
  padding: 10px; /* パディング */
  margin-bottom: 15px; /* 下のマージン */
  transition: transform 0.2s, box-shadow 0.2s; /* アニメーション */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* カードのシャドウ */
}

.log-card:hover {
  transform: translateY(-5px); /* ホバー時に浮き上がる */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* ホバー時のシャドウ */
}

.log-card strong {
  /*font-size: 16px; /* 日付フォントサイズ */
  color: #333; /* 日付の色 */
}

.log-card p {
  /*margin: 5px 0 0; /* パラグラフのマージン */
  color: #555; /* メッセージの色 */
}

/* アラート改造 */
.alert {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    min-width: 280px;
    max-width: 90%;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* アラートの種類 */
.alert-success {
    border-left: 6px solid #45c36b;
}

.alert-danger {
    border-left: 6px solid #e74c3c;
}

/* 表示状態 */
.alert.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

