
body {
  margin: 0;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #f0f0f0;
  color: #333;
}
#info-message {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 0.9em;
  z-index: 100;
}
#container {
  position: relative;
  width: 90vw;
  height: 70vh;
  border: 2px solid #ccc;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}
canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
#controls {
  display: flex;
  gap: 15px;
  padding: 15px;
  background-color: #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  flex-wrap: wrap;
  justify-content: center;
}
.control-button {
  padding: 12px 25px;
  font-size: 1em;
  font-weight: bold;
  color: white;
  background-color: #007bff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}
.control-button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 123, 255, 0.4);
}
.control-button:active {
  background-color: #004085;
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0, 123, 255, 0.2);
}
#orthographicProjectionView {
  background-color: #28a745;
  box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}
#orthographicProjectionView:hover {
  background-color: #218838;
  box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
}
#orthographicProjectionView:active {
  background-color: #1e7e34;
  box-shadow: 0 2px 5px rgba(40, 167, 69, 0.2);
}
#shapeSelect {
  padding: 10px 15px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: white;
  cursor: pointer;
  appearance: none;
  background-image: url('data:image/svg+xml;...');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  padding-right: 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#shapeSelect:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}
@media (max-width: 768px) {
  #container {
    width: 95vw;
    height: 60vh;
  }
  #controls {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px;
  }
  .control-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  #shapeSelect {
    padding: 8px 12px;
    font-size: 0.9em;
    padding-right: 25px;
    background-size: 10px;
  }
}
.view-label {
  position: absolute;
  color: #333;
  font-size: 1em;
  font-weight: bold;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 5px 10px;
  border-radius: 5px;
  z-index: 10;
  pointer-events: none;
  display: none;
  box-sizing: border-box;
  border: 1px solid #ccc;
}

#fileSelectContainer { white-space: nowrap; }
#griFileInput { display: inline-block; vertical-align: middle; }
#fileLabel { font-weight: bold; margin-right: 10px; vertical-align: middle; }


/* ファイル選択プルダウン＆ボタン */
#fileSelectContainer select,
#fileSelectContainer button {
    margin-right: 8px;
    padding: 4px 8px;
}
