body {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  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);
}

textarea {
  width: 90%;
  max-width: 600px;
  height: 150px;
  font-size: 1rem;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  resize: none;
  background-color: #fff;
  color: #333;
}

textarea:focus {
  outline: none;
  border-color: #0078D7;
  box-shadow: 0 0 8px rgba(0, 120, 215, 0.2);
}

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

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

.result-card p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

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

#unsupported-message {
  text-align: center;
  padding: 20px;
  background-color: #ffefef;
  border: 1px solid #ff6b6b;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  color: #ff6b6b;
}

/* スマホ版用のレスポンシブ対応 */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  textarea {
    width: 95%;
    height: 120px;
    font-size: 0.9rem;
    padding: 10px;
  }

  .result-card p {
    font-size: 0.9rem;
  }

  .result-card span {
    font-size: 1rem;
  }

  .results-container {
    width: 95%;
  }
}

/* 超小型デバイス（例: スマホ）用 */
@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  textarea {
    width: 95%;
    height: 100px;
    font-size: 0.8rem;
    padding: 8px;
  }

  .result-card p {
    font-size: 0.85rem;
  }

  .result-card span {
    font-size: 0.95rem;
  }
}
