@charset "utf-8";

.first-view-text {
  height: 270px;
  background-image: url(../images/contact/contact-bg-main.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-shadow: 1px 1px 10px #4b2c14;
}

.first-view-text h1 {
  font-family: "Margarine", sans-serif;
  letter-spacing: 0.5px;
  font-size: 36px;
}

.contact h2 {
  font-family: "Kiwi Maru", serif;
  color: #610033;
  font-size: 22px;
  line-height: 30px;
  text-align: center;
}

.main h2::after {
  content: '';
  display: block;
  width: 35px;
  height: 2px;
  background-color: #610033;
  margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
}

.contact {
  width: 930px;
  max-width: 90%;
  margin-top: 75px;
  margin-left: auto;
  margin-right: auto;
}

.form-area {
  background-color: #ffffff;
  border: 1.5px solid #610033;
  margin-top: 25px;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
}

.form-area dt {
  font-family: "Kiwi Maru", serif;
  color: #696969;
  width: 200px;
  padding: 15px 0;
  font-size: 17px;
  line-height: 24px;
}

.form-area dt .required::after {
  content: '必須';
  font-size: 14px;
  color: #610033;
  margin-left: 10px;
}

.form-area dd {
  width: calc(100% - 200px);
  padding: 15px 0;
}

.input-text {
  width: 100%;
  max-width: 280px;
  height: 40px;
  padding-left: 10px;
  padding-right: 10px;
}

.message {
  width: 100%;
  height: 260px;
  padding: 10px;
  line-height: 1.5;
}

.submit-button-area {
  text-align: center;
}

.confirm-text {
  font-family: "Kiwi Maru", serif;
  color: #696969;
  font-size: 17px;
  line-height: 22px;
  margin-top: 30px;
}

.submit-button {
  font-family: "Kiwi Maru", serif;
  color: #000000;
  background-color: #faf0e6;
  display: inline-block;
  min-width: 180px;
  line-height: 48px;
  border-radius: 24px;
  font-size: 18px;
  margin-top: 20px;
  cursor: pointer;
  border: none;
}

.submit-button:hover {
  background-color: #f5deb3;
}

.footer {
  margin-top: 3px;
}

@media (max-width: 800px) {
  .contact {
    width: 500px;
    margin-top: 50px;
  }

  .form-area dt,
  .form-area dd {
    width: 100%;
  }

  .form-area dt {
    padding-bottom: 0;
  }
  .submit-button {
    width: 100%;
  }
}