@charset "utf-8";

.section-top__image {
  height: 70vh;
  background-image: url(../images/contacthero.png);
  background-size: cover;
  background-repeat: no-repeat;
  color: #000000;
  font-weight: 500;
  position: relative;
}
.section-top__image h1 {
  font-size: 6.4rem;
  font-family: Yu Gothic;
  color: #6b6b6b;
  opacity: 20%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 10%;
}
.section-contact {
  background-color: #fffaf4;
  padding: 9.6rem 0;
}
.section-contact h2 {
  text-align: center;
  padding-bottom: 20px;
  font-family: Zen Maru Gothic, Yu Gothic, 遊ゴシック;
  font-size: 2.5rem;
  position: relative;
  margin-bottom: 60px;
  font-weight: 500;
}
.section-contact h2::before {
  content: "";
  width: 150px;
  height: 3px;
  display: inline-block;
  background-color: red;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
}
.contactform {
  max-width: 790px;
  margin: 0 auto;
}
.form-item {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  font-family: Yu Gothic, 遊ゴシック;
  font-size: 1.25rem;
}
.namebox span {
  padding: 5px;
  background-color: #ffd644;
  color: black;
  border-radius: 10px;
  right: 10px;
}
.namebox input {
  /*width: 540px;*/
  flex: 1;
}
.textbox {
  padding: 20px;
  border: solid 1px #1d8d60;
  border-radius: 10px;
}
.labelsize {
  margin-top: 20px;
  width: 250px;
}

.furiganabox input {
  flex: 1;
}

.mailbox span {
  padding: 5px;
  background-color: #ffd644;
  color: black;
  border-radius: 10px;
}
.mailbox input {
  flex: 1;
}

.messagebox span {
  padding: 5px;
  background-color: #ffd644;
  color: black;
  border-radius: 10px;
}
.messagebox textarea {
  flex: 1;
}

/* .sendbutton {
  text-align: center;
  border-radius: 10px;
  max-width: 108px;
  background-color: #ffd644;
  color: black;
  margin-top: 20px;
  position: absolute;
  padding: 10px 20px 10px 20px;
  left: 55%;
} */

.sendbutton {
  display: inline-block;
  margin: 0 auto;
  background-color: #ffd644;
}
