/* ------------------------------------------------------------------------------------------
 画像モーダル関連示 
 z-index(重なり順序)は100から設定しているが、他よりも大きな値にすること
------------------------------------------------------------------------------------------ */
body.fixed {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
}
#modal-content {
    width: 90%;
    height: 90%;
    margin: 0;
    padding: 20px 10px 20px 10px;
    background: #ffffff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 101;
    overflow-y:scroll; /* 高さを指定しているので中身が超えた分はスクロールできるように */
}
#modal-overlay {
    z-index: 100;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba( 0,0,0, 0.40 );
}
/* 閉じるボタン */
.button-flex{
  padding:10px 0;
  display:flex;
  justify-content:center;
}
/* 右上の閉じるアイコン */
.modal .close-icon {
  z-index: 102;
  position: absolute;
  top: 0;
  right: 0;
  width: 35px;
  color: #95979c !important;
  font-size: 25px;
  font-weight: 700;
  line-height: 35px;
  text-align: center;
  text-decoration: none;
  text-indent: 0
}
.modal .close-icon:hover {
  color: #2b2e38 !important
}
