body {
    font-family: "BIZ UDPMincho","Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif;
    margin: 0;
    padding: 8px;
}

.container {
      position: relative;
      display: inline-block;
    }

.document-image {
      width: 100%;
      height: auto;
    }

.popup {
      position: absolute;
      background-color: rgba(255, 255, 255, 0.8);
      border: 1px solid #ccc;
      padding: 5px;
      display: none;
      max-width: 300px;
      z-index: 10;
      writing-mode: vertical-rl;
      white-space: nowrap;
    }

.area {
      position: absolute;
      border: 2px solid rgba(255, 0, 0, 0.5);
      cursor: pointer;
    }

#selected-area {
      position: absolute;
      border: 2px dashed rgba(0, 255, 0, 0.7);
    }
    button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    z-index: 100;
}

button:hover {
  background-color: #45a049;
}

input[type="file"] {
  margin-top: 10px;
  padding: 5px;
}
