@charset "UTF-8";

#sinki {
	display       : inline-block;
	border-radius : 5%;          
	font-size     : 16pt;        
	text-align    : center;     
	cursor        : pointer;     
	padding       : 12px 12px;  
	background    : #ffffff;    
	color         : #6666ff;    
	line-height   : 1em;         
	transition    : .3s;        
	border        : 2px solid #ffffff;   
}
#sinki:hover {
	color         : #ffffff;    
	background    : #6666ff;    
}
.box{
    text-align: center;
}
.box15 {
    padding: 0.2em 0.5em;
    margin: 2em 0;
    color: #565656;
    background: #ffeaea;
    box-shadow: 0px 0px 0px 10px #ffeaea;
    border: dashed 2px #ffc3c3;
    border-radius: 8px;
}
.box15 p {
    margin: 0; 
    padding: 0;
}

#Modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff8e7;
  border: 2px solid #ffa;
  padding: 1.5em;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  max-width: 90%;
  z-index: 1000;
}

#Modal.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

#Modal button {
  margin-top: 1em;
  padding: 0.5em 1em;
  border: none;
  background: #ffcc66;
  border-radius: 6px;
  cursor: pointer;
}
.help-btn {
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-weight: bold;
    cursor: pointer;
    line-height: 24px;
    text-align: center;
    padding: 0;
    font-size: 14px;
  }
  .help-btn:hover {
    background-color: #0056b3;
  }
  
  
  .modal {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.5);
    }
    .modal.show {
      display: block;
    }
	.modal-content {
	  background: #fff;
	  margin: 5% auto;          /* 余白を少し減らす */
	  padding: 20px;
	  width: 400px;             /* 横幅を少し広げてもOK */
	  max-height: 70vh;         /* 画面の70%を上限高さにする */
	  overflow-y: auto;         /* 縦スクロールを有効にする */
	  border-radius: 8px;
	  position: relative;
	}

    .close-btn {
      position: absolute;
      top: 8px;
      right: 12px;
      cursor: pointer;
      font-size: 18px;
    }