body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  background: #f2f8ff;
  color: #1a1a1a;
  padding: 40px;
}

h2 {
  font-size: 2rem;
  text-align: center;
  color: #007aff;
  text-shadow: 0 0 5px #cceeff;
  margin-bottom: 30px;
}

.container {
  max-width: 800px;
  margin: auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 15px;
  /* box-shadow: 0 4px 20px rgba(0, 128, 255, 0.15); */
  /* border: 1px solid #d0e9ff; */
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #00aaff88, transparent);
  margin: 30px 0;
}

textarea {
  width: 100%;
  background-color: #f0f8ff;
  border: 1px solid #a0d8ff;
  color: #003366;
  padding: 10px;
  border-radius: 10px;
  resize: vertical;
  box-shadow: inset 0 0 6px rgba(0, 170, 255, 0.15);
  margin-bottom: 20px;
  font-size: 1rem;
}

.button-row {
  display: flex;
  align-items: center;
  gap: 16px; /* ボタンとstateの間隔 */
  margin: 15px 0;
}

#state {
  color: #007aff;
  font-weight: bold;
  text-align: left;
  animation: lightpulse 2s ease-in-out infinite alternate;
  border: none;
  background: none;
  padding: 0;
  font-size: 1rem;
}

@keyframes lightpulse {
  from {
    text-shadow: 0 0 5px #66ccff;
  }
  to {
    text-shadow: 0 0 12px #00ccff;
  }
}

.btn {
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  color: white;
  background-color: #00b0ff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 10px #00bfff66;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn:hover {
  background-color: #009de0;
  box-shadow: 0 0 20px #00bfff;
  color: #fff;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 2em;
  background-color: #f9fcff;
  box-shadow: 0 0 10px rgba(0, 170, 255, 0.1);
  border: 1px solid #d0e9ff;
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  border: 1px solid #cce7ff;
  padding: 1em; /* ← パディング拡張 */
  text-align: left;
  font-size: 1rem;
}

th {
  background-color: #e6f5ff;
  font-weight: 600;
  color: #0077cc;
}

td {
  background-color: #ffffff;
}

tr:nth-child(even) td {
  background-color: #f4fbff;
}
