body {
  font-family: 'Arial', sans-serif;
  background-color: #EFECE5;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* 上寄せ */
  align-items: center;
  height: 100vh;
  margin: 0;
}


textarea {
  height: 10rem;
  width: 100% ;
  padding: 10px;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0,9%;
  color: #555;
  box-sizing: border-box;
}

form, p {
  width: 80%;
}

.step-container-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  /* 下の要素との間隔 */
}

.step-container {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  max-width: 600px;
  position: relative;
}

.step {
  width: 32px;
  /* 2ピクセル大きく */
  height: 32px;
  /* 2ピクセル大きく */
  border-radius: 50%;
  background-color: #d3d3d3;
  color: white;
  text-align: center;
  line-height: 32px;
  /* 中央揃えのために変更 */
  position: relative;
  z-index: 1;
  font-size: 14px;
}

.step.completed {
  background-color: #4caf50;
}

.step.current {
  background-color: white;
  border: 2px solid #4caf50;
  color: #4caf50;
}

.step-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 5px;
  /* 横線を太く */
  background-color: #d3d3d3;
  z-index: 0;
  transform: translateY(-50%);
}

.step.completed~.step-container::before {
  background-color: #4caf50;
}

.container {
  margin-top: 30px;
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 100%;
  box-sizing: border-box;
  font-size: 0.9rem;
}

h2 {
  margin-bottom: 1rem;
  color: #333;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: #555;
}

.float-label {
  display: inline-block;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="submit"] {
  width: calc(100% - 22px);
  padding: 10px;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
}

select {
  width: calc(100% - 22px);
  padding: 10px;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
}

input[type="submit"] {
  background-color: #319B3A;
  color: #fff;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s;
}

input[type="submit"]:hover {
  background-color: #45a049;
}

textarea {
  height: 10rem;
  width: calc(100% - 22px);
  padding: 10px;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0,9%;
  color: #555;
  box-sizing: border-box;
}

.required::after {
  content: " *必須";
  font-size: 0.7rem;
  color: red;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-item ul,
li {
  list-style: none;
}

.nav-item {
  color: #333;
  padding: 8px 15px;
  text-align: center;
  font-size: 0.8em;
}

.nav-item.active {
  background-color: #FF7600;
  color: #fff;
  border-radius: 5px;
}

.btn {
  background-color: #FF7600;
  color: #fff;
  padding: 8px 15px;
  text-align: center;
  font-size: 1em;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.center {
  display: flex;
  flex-direction: column;
  /* 縦並びに設定 */
  justify-content: center;
  align-items: center;
}

.readonly {
  background-color: #f0f0f0;
}

.btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
.btn:disabled:hover {
  background-color: #ccc;
}

a.btn {
  text-decoration: none;
}

h2 {
  color: #666;
}

.center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}