body {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7f7f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  color: #333;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #0078D7;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 800px;
  margin-top: 20px;
}

.form-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  width: 100%;
  max-width: 600px;
}

input[type="file"],
input[type="number"],
button {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

input[type="file"]:hover,
input[type="number"]:hover,
button:hover {
  border-color: #0078D7;
  box-shadow: 0 2px 5px rgba(0, 120, 215, 0.2);
}

button {
  background-color: #0078D7;
  color: white;
  cursor: pointer;
  border: none;
}

button:active {
  background-color: #005bb5;
}

.results-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 600px;
}

.result-card {
  width: 100%;
  padding: 15px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.result-card img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.result-card p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.result-card span {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0078D7;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  .form-container {
    padding: 15px;
  }
  input[type="file"],
  input[type="number"],
  button {
    padding: 10px;
  }
  .result-card p {
    font-size: 1rem;
  }
  .result-card span {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  .form-container {
    padding: 12px;
  }
  input[type="file"],
  input[type="number"],
  button {
    padding: 8px;
  }
  .result-card p {
    font-size: 0.9rem;
  }
  .result-card span {
    font-size: 1rem;
  }
}
