@charset "UTF-8";
/* モーダルオーバーレイ */
#cboxOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8) !important; /* 黒透過 */
  z-index: 9999;
}

/* モーダル本体 */
#colorbox {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  max-width: 1080px;
  width: 90%;
  max-height: 90vh; /* ビューポート内に収める */
  overflow: visible;
  z-index: 10000 !important;
  outline: 0;
  display: flex;
  flex-direction: column;
}

/* モーダルコンテンツ */
#cboxContent {
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 縦中央 */
  overflow: hidden;
  max-height: 90vh;
  box-sizing: border-box;
}

/* 実際にスクロールする部分 */
#cboxLoadedContent {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* モバイル慣性スクロール */
  max-height: 90vh;
  box-sizing: border-box;
  padding: 20px;
}

/* 画像や内部コンテンツを幅いっぱいに */
.list-modal img {
  max-width: 100%;
  height: auto;
}

/* クローズボタン */
#cboxClose {
  width: 100%;
  padding: 15px;
  display: block !important;
  color: #343434 !important;
  opacity: 1 !important;
  cursor: pointer;
  z-index: 10001 !important;
  font-size: 18px;
  font-size: 1.8rem;
}
@media screen and (max-width: 768px) {
  #cboxClose {
    font-size: 28px;
    font-size: 3.6458333333vw;
  }
}
@media screen and (max-width: 768px) and (min-width: 539px) {
  #cboxClose {
    font-size: 16.4705882353px;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  #colorbox {
    width: 95%;
    max-width: 100% !important;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}/*# sourceMappingURL=modal.css.map */