/* イベントグルーピング用モーダル */

.modal {
    display: none;
}


main .event_list li a.sp {
    display: none;
}

@media screen and (max-width: 750px){
    .modalScroll,
    .ScrollContent {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
 
    .modal {
      display: none;
      height: 100vh;
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 10000;
    }
    .modal_bg {
      background: rgba(0, 0, 0, 0.5);
      height: 100vh;
      position: fixed;
      width: 100%;
    }
 
    .modalScroll {
      width: 90%;
    }
    .ScrollContent {
      overflow-y: scroll;
      max-height: 85vh;
      width: 97%;
      border-radius: 4px;
      background-color: #fff;
      padding: 10px 5px 15px 5px;
    
    }
    ::-webkit-scrollbar {
      border-radius: 10px;
      width: 5px;
      margin-left: 5px;
    }
    ::-webkit-scrollbar-thumb {
      background-color: #b6b6b6;
      border-radius: 5px;
    }
 
    .modal_content {
        width: 90%;
        margin: 0 auto;
    }
 
    .modal_content .title {
      font-size: 16px;
      font-weight: bold;
      line-height: 1.6;
      margin-bottom: 15px;
    }
 
    .modal_content .btn {
        margin: 25px 0 0 0;
        padding: 0;
    }

    .modal_content .btn:active {
      box-shadow: none;
    }
 
    .modal_content .btn a {
        margin: 0 0 15px;
        width: 48%;
        font-size: 12px;
    }
 
    .modal .modalScroll .close_wrap {
        position: sticky;
        top: 0;
        right: 0;
        width: 100%;
        text-align: right;
    }

    .modal .modalScroll .close_wrap a {
      font-size: 25px;
      line-height: 1;
    }
 
    .modal .modalScroll .js-modal-close {
        font-size: 20px;
        font-weight: bold;
    }
 
    main .event_list li a.pc {
     display: none;
     }
 
     main .event_list li a.sp {
         display: block;
     }
}
