/* モーダル */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
}

.modal .info-grid {
  
  margin: 20px 0;
}

.modal .info-row {
  border-bottom: 1px solid #cdcdcd;
  padding: 12px 6px;
  display: flex;
  justify-content: flex-start;
}
.modal .info-row:nth-child(even) {
  background: #eee;
}

.modal .info-label {
 display: block;
  font-weight: bold;
  width:180px;
}

.modal .modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 20px;
}

.modal .btn-custom {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.modal .btn-custom--cancel {
  background-color: #ccc;
  color: #333;
}

.modal .btn-custom--cancel:hover {
  background-color: #bbb;
}

@media screen and (max-width: 991px) {
   .modal .modal-buttons {
      justify-content: space-between;
   }
   .modal .btn-custom--cancel {
    width: 45%;
   }
   .modal .grad-btn-reverse {
    width: 45%;
   }
}

/* キャンセル確認モーダル */
#cancelConfirmModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}
#cancelConfirmModal .modal-content {
   width: 80%;
   background-color: #fefefe;
   margin: 100px auto 0;
   padding: 20px;
   border: 1px solid #888;
   max-width: 600px;
   border-radius: 5px;
}

#cancelConfirmModal h4 {
  font-size: 18px;
  margin:8px 0 18px;
  text-align:center;
  color:#0000C8;
}
#cancelConfirmModal h5 {
  /* background: #dd2525; */
  color: #dd2525;
  font-size: 14px;
  padding: 8px 0;
  margin: 0 0 12px;
  text-align: center;
  border-radius: 8px;
}
/* キャンセル料金情報 */
.cancel-charge-info {
   background: #fff2f2;
   border: 1px solid #ff6262;
   padding: 12px;
   margin-top: 20px;
   border-radius: 8px;
}
.cancel-charge-info .table-base th, .table-base td {
  border-bottom: 1px solid #feb6b6;
  padding: 16px;
}
.cancel-charge-info .table-base tr:last-child th, .cancel-charge-info .table-base tr:last-child td {
  border-bottom: none;
}
 /* キャンセル確定ボタン */
 .cancel-submit-btn {
  background-color: #dd2525;
  color: #fff;
  padding: 10px 20px; 
  border-radius: 5px;
  cursor: pointer;
}
.cancel-submit-btn:hover {
  background-color: #e37d7d;
}

@media screen and (max-width: 991px) {
   #cancelConfirmModal .modal-content {
      width: 90%;
   }
}