@charset "utf-8";
/* スクロール禁止用クラス */
body.modal-open {
  overflow: hidden;
  height: 100vh; /* iOS対策 */
}
.reveal-modal-bg { 
		position: fixed; 
		height: 100%;
		width: 100%;
		background: rgba(0,0,0,.4);
		z-index: 100;
		display: none;
		top: 0;
		left: 0; 
		}

.reveal-modal {
  visibility: hidden;
  top: 4vh;
  left: 5%;
  width: 90%;
  height: auto;
  max-height: 92vh;
  overflow-y: scroll;
  background-color: rgba(255,255,255,1.0);
  box-shadow: 0px 0px 10px #ccc;
  position: absolute;
  z-index: 101;
}
/*閉じるボタンsp*/
.close-reveal-modal {
  font-size: 30px;
  line-height: .5;
  position: fixed;
  top: calc(4vh + 1px);
  right: calc(5% + 1px);
  color: #333;
  text-shadow: 0 -1px 1px rgba(0,0,0,.8);
  font-weight: bold;
  cursor: pointer;
	background-color: #fff;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	padding: 11px 0 0 5px;
  box-shadow: 0px 0px 8px #666;  
} 
.modal_img{
  
}
.modal_tx{
  width: min(90%,720px);
  margin: -110px auto 0 auto;
  padding: var(--px40) var(--px30) var(--px60);
  background-color: #fff;
  position: relative;
  z-index: 1;
  line-height: 1.8;
}

/*スクロールバー全体*/
.reveal-modal::-webkit-scrollbar {
    width: 1px;
}
/*スクロールバーの軌道*/
.reveal-modal::-webkit-scrollbar-track {
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(228,235,249,1);
}

/*スクロールバーの動く部分*/
.reveal-modal::-webkit-scrollbar-thumb {
  background-color: rgba(176,176,176 .9);
  border-radius: 8px;
  box-shadow:0 0 0 1px rgba(255, 255, 255, .3);
}

@media (min-width:400px){
  .reveal-modal {
    left: calc((100% - 375px) / 2);
    width: 375px;
  }
  /*閉じるボタンsp*/
  .close-reveal-modal {
    top: calc(4vh - 5px);
    right: calc((100% - 375px) / 2 - 5px); 
  } 
}
@media (min-width:768px){
  .reveal-modal {
    top: 3vh;
    left: 5%;
    width: 90%;
    max-height: 94vh;
  }
  .modal_tx{
    width: min(90%,800px);
    margin: -50px auto 0 auto;
    padding: 35px 38px 70px;
  }
  /*閉じるボタン768*/
  .close-reveal-modal {
    font-size: 35px;
    top: calc(3vh - 15px);
    right: calc(5% - 15px);
    width: 50px;
    height: 50px;
    padding: 15px 0 0 8px;  
  }
}

@media (min-width:1090px){
  .reveal-modal {
    left: calc((100% - 1000px) / 2);
    width: 1000px;
  }
  /*閉じるボタン1090*/
  .close-reveal-modal {
    right: calc((100% - 1000px) / 2 - 25px); 
  }

}



