/* ---------- バナー本体 ---------- */
.emergencyBanner { width: 100%; margin: 10px 0; }
.emergencyBanner_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80px;
  margin: 0;
  padding: 0 15px;
  border: none;
  background-color: #d48a91;
  background-image: repeating-linear-gradient(45deg, #dda1a7 0px, #dda1a7 1px, transparent 1px, transparent 7px);
  color: #ffffff;
  font-size: 1.3em;
  font-weight: bold;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
}
.emergencyBanner_btn:hover,
.emergencyBanner_btn:focus { opacity: 0.85; }

@media screen and (max-width: 767px) {
  .emergencyBanner {
    width: 100%;
    margin: 0;
  }
}

@media screen and (min-height: 600px) and (max-width: 767px) {
  .wrapCarousel {
    top: 0;
    margin-bottom: 0;
  }

  .emergencyBanner {
    position: relative;
    top: 70px;
    margin-bottom: 70px;
  }
}

/* ---------- モーダル内 ボタン一覧 ---------- */
.emergencyModal .modal-header { justify-content: flex-end; }
.emergencyModal_list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.emergencyModal_list li { width: calc(50% - 6px); }
.emergencyModal_list li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  box-sizing: border-box;
  padding: 10px;
  border-radius: 10px;
  background-color: #16305c;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  font-size: 0.95em;
  line-height: 1.4;
}
.emergencyModal_list li a:hover,
.emergencyModal_list li a:focus { opacity: 0.85; text-decoration: none; color: #ffffff; }

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}
.modal.show { display: block; }
.modal-dialog {
  position: relative;
  width: auto;
  max-width: 600px;
  margin: 1.75rem auto;
  pointer-events: none;
}
.modal.fade .modal-dialog { transition: transform 0.2s ease-out; transform: translate(0, -25px); }
.modal.show .modal-dialog { transform: none; }
.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 3.5rem);
}
.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #faf8ee;
  border-radius: 0.4rem;
  outline: 0;
}
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem;
}
.modal-body { position: relative; flex: 1 1 auto; padding: 1rem; }
.modal-open { overflow: hidden; }
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000000;
}
.modal-backdrop.fade { opacity: 0; transition: opacity 0.15s linear; }
.modal-backdrop.show { opacity: 0.5; }
.close {
  padding: 10px 15px 0 0;
  margin: -1rem -1rem -1rem auto;
  background-color: transparent;
  border: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000000;
  opacity: 0.5;
  cursor: pointer;
}
.close:hover { opacity: 0.75; }
@media screen and (max-width: 767px) {
  .modal-dialog { max-width: none; margin: 1rem; }
}
/* ============================================================ end ============================================================ */
