@charset "utf-8";

.x {
  max-width: 1200px;
  margin-top: 60px;
  margin-bottom: 60px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 80px;
  padding-right: 80px;
}

.y-contact {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.y-contact-h {

  font-size: 20px;
  font-weight: bold;  
  padding-bottom: 20px;
}

.y-contact-h span {
  display: block;
  margin-top: 8px;
  font-weight: normal;
  color: gray;
}

.y-contact-p {
  line-height: 24px;
  font-size: 14px;
  color: rgb(83, 83, 83);
}

.input-text {
  border: solid 1px gray;
  border-radius: 5px;
}

.message {
  border: solid 1px gray;
  border-radius: 5px;
}

.y-form-area {
  border: solid 1px lightgray;
  min-width: 500px;
  border-radius: 5px;
  margin-top: 25px;  
  padding: 70px;
  padding-top: 50px;
}

.form-area {
  display: flex;
  flex-wrap: wrap;
}

.form-area dt {
  width: 200px;
  padding: 15px 0;
  font-size: 16px;
  font-weight: bold;
  line-height: 24px;
}

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

.form-area dt .required::after {
  content:'※';
  font-size: 11px;
  color: #eb4f32;
  margin-left: 10px;
}

.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;
}

.y-confirm {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.confirm-text {
  font-size: 14px;
  line-height: 22px;
  margin-top: 30px;
}

.submit-button {
  background-color: gray;
  color: white;
  display: inline-block;
  min-width: 180px;
  max-width: 100px;
  line-height: 48px;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  text-align: center;
  margin-top: 35px;
}

.submit-button:hover {
  background-color:rgb(0, 107, 0);
}