.modal_open{
width: 100%;
height: 100%;
display: flex;
justify-content: center; 
align-items: center;
text-align: center;
z-index: 9;
font-size: 1.0em;
color: #1B1464;
text-shadow: 0px 0px 6px #FCE000,
0px 0px 7px #FCE000,0px 0px 8px #FCE000,
 0px 0px 9px #FCE000, 0px 0px 10px #FCE000;
}
 
.modal_box {
    position: fixed;
    z-index: 7777;
    display: none;
    width: 85%;
    height: 90%;
    max-width: 1200px;
    margin: 0;
    padding: 30px 2vw 30px;
    text-align: center;
    background:#E6E6E6;
    border-radius: 15px; /*角丸*/
    box-sizing: border-box;
}

.modal_boxIN {
    height: 98%;
    margin: 0px 0;
    overflow:scroll;
    padding: 0px 0;
}

.modal_img{
    width: 100%;
    object-fit: cover;
    margin-bottom: 15px;
}
 
.modal_close {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 62px;
    font-size: 46px;
    color: #000;
    line-height: 62px;
    text-align: center;
    background: #e6e6e6;
}
 
.modal_close i {
    line-height: 62px;
    vertical-align: bottom;
}
 
.modal_bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 6666;
    display: none;
    width: 100%;
    height: 120%;
    background-color: rgba(0,0,0,0.7);
}
 
.link_area {
    overflow: hidden;
    max-width: 410px;
    margin: 60px auto 0;
    text-align: center;
}
 
.link_area .modal_link {
    display: inline;
}
 
.link_area .modal_link a {
    display: inline-block;
    width: 180px;
    color: #000;
    line-height: 2.5;
    text-decoration: none;
    margin: 0 10px;
    background: #e6e6e6;
}
 
.link-area ul li.modal_link:first-child a {
    float: left;
}
 
.link-area ul li.modal_link:last-child a {
    float: right;
}
 
 
@media screen and (max-width: 769px) {
 
/*  ウィンドウサイズ769px以下の時のスタイル  */
 
  .modal_box {
      padding: 50px 2vw 40px;
  }
 
  .modal_close {
      width: 40px;
      line-height: 40px;
      font-size: 30px;
  }
 
  .modal_close i {
      line-height: 44px;
  }
 
  .link_area {
      margin: 25px auto 0;
  }
 
  .link_area .modal_link a {
      margin: 15px auto 0;
  }
 
  .link_area ul li.modal_link:first-child a {
      float: none;
      margin-top: 0;
  }
 
  .link_area ul li.modal_link:last-child a {
      float: none;
  }
 
}