  .thumbnail {
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.2s;
  }
  
  .thumbnail:hover {
    transform: scale(1.03);
  }
  
  .modal {
    display: none; /* 初期状態は非表示 */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
  }
  
  .modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    margin-top: 5%;
    border-radius: 8px;
    box-shadow: 0 0 10px #000;
  }
  
  .close {
    position: absolute;
    top: 15px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close:hover {
    color: #ccc;
  }
  