.form-container {
  background: #fff;
  margin-top: 140px;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  justify-content: center;
  text-align: left;
  align-items: center;
}

@media (max-width: 896px) {
  .form-container {
    margin-top: 100px;
  }
}

.top-txt {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}
.top-txt h2 {
    font-size: 24px;
}
.top-txt p {
    font-size: 16px;
    color: #555;
}

@media (max-width: 896px) {
  .top-txt h2 {
    font-size: 20px;
  }
  .top-txt p {
    font-size: 14px;
  }
}

.required-label {
  background-color: #ffbb00;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 5px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input[type="text"],
input[type="url"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.form-group button {
  background-color: #ffbb00;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
  cursor: pointer;
}

.form-group button:hover {
  background-color: #ffbb0072;
}

.form-image {
  margin-top: 24px;
}

.image-upload-area {
  border: 2px dashed #ccc;
  padding: 40px 20px;
  border-radius: 16px;
  background: linear-gradient(to bottom right, #fff, #f9f9f9);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-size: 16px;
  color: #666;
  transition: all 0.3s ease;
}

.image-upload-area:hover {
  background-color: #f0f8ff;
  border-color: #3498db;
  color: #000;
}

.image-upload-area::before {
  content: "＋";
  font-size: 48px;
  color: #bbb;
  display: block;
  margin-bottom: 8px;
}

.image-upload-area p {
  margin-bottom: 12px;
  color: #666;
  font-size: 14px;
}

#preview {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
}

#preview img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
}

