/*****************************
 * モーダルウィンドウ表示
 ****************************/

.modal {
  /* visibility: hidden; */
  display: none;
  position: fixed;
  top: 0;
  height: 100vh;
  width: 100%;
  z-index: 10000;
}


.overlay {
  /* visibility: hidden; */
  position: absolute;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
}

.modal .cl_btn {
  position: absolute;
  width: 2.5vw;
  height: 2.5vw;
  top: 6.6vh;
  left: 88%;
  cursor: pointer;
  border-radius: 50%;
  background-color: black;
}
@media screen and (max-width: 1055px){
  .modal .cl_btn {
    width: 3.5vw;
    height: 3.5vw;
    top: 3vw;
    left: 85%;
  }
}
@media screen and (max-width: 450px){
  .modal .cl_btn {
    width: 4.5vw;
    height: 4.5vw;
    top: 3.5vw;
    left: 85%;
  }
}



.modal .cl_btn img {
  width: 2vw;
  height: 2vw;
  border-radius: 50px;
  margin: 0 auto;
  /* filter: invert(1); */
}
@media screen and (max-width: 1055px){
  .modal .cl_btn img {
    width: 3vw;
    height: 3vw;
  }
}
@media screen and (max-width: 450px){
    .modal .cl_btn img {
    width: 4vw;
    height: 4vw;
  }
}


/* フェードイン */
.fade_in {
  animation: fade 0.8s;
}

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/*****************************
 * モーダルウィンドウデザイン
 ****************************/

.modal_scroll/*, .scroll_content*/ {
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
}

.modal_scroll {
  padding: 3% 5%;
  border-radius: 20px;
}

.scroll_content {
  margin: 2% 0;
  overflow-y: scroll;
  overflow-x: hidden;
  width: 98%;
  height: 80%;
}
@media screen and (max-width: 1055px){
  .scroll_content {
    margin: 5% 0 2%;
    overflow-y: scroll;
    width: 98%;
    height: 80%;
  }
}

@media screen and (max-width: 450px){
  .scroll_content {
    margin: 10% 0 2%;
    overflow-y: scroll;
    width: 98%;
    height: 80%;
  }
}



.scroll_content::-webkit-scrollbar {
  border-radius: 10px;
  width: 1vw;
  /* border: 1px solid #b6b6b6; */
}

.scroll_content::-webkit-scrollbar-thumb {
  background-color: #b6b6b6;
  border-radius: 10px;
}

.modal_scroll hr {
  color: #b6b6b6;
}