#contact.under {
  background-image: url(../img/top/pink-orange.png);
  background-size: 100% auto;
  background-position: center top 0;
  background-repeat: no-repeat;
}
.contents {
  padding: 10rem 0 4rem;
}
.contents .in {
  padding: 3rem;
  background: var(--color-white);
  box-shadow: 0 0.3rem 2rem rgb(548 90 144 / 0.1)
}
.contents .in table {
  width: 84rem;
  margin: 0 auto;
}
.contents .in table th,
.contents .in table td {
  font-size: 1.6rem;
  padding: 3rem 0;
  border-bottom: 1px solid #c8ccce;
}
.contents .in table th {
  position: relative;
  padding-right: 8rem;
  width: 22rem;
  min-width: 22rem;
  font-weight: var(--bold);
}
.contents .in table tr:last-of-type th,
.contents .in table tr:last-of-type td {
  border: none;
}
.contents .in table th.required::after {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  content: "必須";
  display: block;
  padding: 0.4rem 0.7rem;
  font-size: 1.2rem;
  color: var(--color-white);
  line-height: 1;
  background: var(--color-bridal);
  border-radius: 0.2rem;
}
.button_submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30rem;
  height: 6rem;
  background: var(--color-bridal);
  border-radius: 3rem;
  border: 1px solid var(--color-bridal);
  margin: 5rem auto 0;
  font-size: 1.8rem;
  font-weight: var(--bold);
  color: var(--color-white);
  cursor: pointer;
  transition: .3s;
}
.button_submit:hover {
  color: var(--color-bridal);
  background: var(--color-white);
}
#contact .contents .wpcf7-not-valid-tip {
  padding-top: 1rem;
  font-size: 1.3rem;
  font-weight: var(--medium);
}
#contact .wpcf7-response-output {
  max-width: 96rem;
  margin: 0 auto;
  display: block;
  font-size: 1.4rem;
  color: #f61010;
  border: none;
  padding: 0;
  text-align: center;
}
#contact .buttons > * {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 5rem auto 0;
}
#contact .buttons .button_submit {
  margin: 0;
}
#contact .buttons .wpcf7-spinner {
  display: none;
}
#contact .button_previous {
  opacity: 0.6;
}
#contact .thanks {
  padding: 14rem 0;
  text-align: center;
}
@media screen and (max-width: 767px) {
  #contact.under {
    background-size: 160rem auto;
  }
  .contents {
    padding: 8rem 0 1rem;
  }
  .contents .in {
    padding: 5rem 2rem;
    margin: 0 2rem;
  }
  .contents .in table {
    width: 100%;
  }
  .contents .in table th, 
  .contents .in table td {
    display: block;
  }
  .contents .in table th {
    width: 100%;
    min-width: auto;
    border: none;
  }
  .contents .in table td {
    padding-top: 0;
  }
  .button_submit {
    font-size: 1.6rem;
  }
  #contact .contents .wpcf7-not-valid-tip,
  #contact .wpcf7-response-output {
    font-size: 1.3rem;
  }
  #contact .buttons > * {
    gap: 0.5rem;
    margin: 3rem 2rem 0;
  }
}