.request-form {
  max-width: 782px;
  width: 90vw;
  min-height: 692px;
  margin: 0 auto;
  padding: 15px 30px;
  background-color: #332422;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.request-form h2 {
  text-align: center;
  margin: 30px 0 40px;
  font-size: 42px;
  color: #fff;
}   

.form-group {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.form-group label {
  text-align: left;
  margin-bottom: 10px;
  font-size: 34px;
  padding-left: 0;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background-color: #fff;
  border: 1px solid #666;
  border-radius: 2px;
  font-size: 20px;
  box-sizing: border-box;
}

.form-group textarea {
  height: 120px;
}

.required {
  color: #ff4444;
  margin-left: 3px;
}

.submit-btn {
  background-color: #fff;
  color: #000;
  padding: 20px 60px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-size: 24px;
  margin: 30px auto;
  display: block;
  min-width: 250px;
}

.submit-btn:hover {
  background-color: #eee;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .request-form {
    width: 95%;
    max-width: unset;
    padding: 15px 20px;
  }

  .form-group {
    width: 100%;
  }

  #head9 form {
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin: 399px auto 0;
  }

  .form-group label {
    font-size: 26px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px;
    padding: 10px;
  }
}

.thanks-message {
  text-align: center;
  margin-top: 30px;
  font-size: 24px;
  color: #fff;
}

.thanks-message p {
  line-height: 1.6;
}

/* head9のフォーム用のオフセット */
#head9 {
  position: relative;
}

#head9 form {
  position: absolute;
  top: 399px;
  left: 50%;
  transform: translateX(-50%);
  width: 782px;
} 