
/* お問い合わせ一覧 */
.header-btns .header-btn{
  padding: 0 20px;
}
.c-block {
  margin-top: 33px;
}

.c-block:first-child {
  margin-top: 109px;
}

.contact-link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, 320px);
  column-gap: 20px;
  row-gap: 13px;
  justify-content: center;
}

.contact-link-item a {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background-color: #FD0200;
  text-decoration: none;
  gap: 18px;
  padding-inline: 17px;
  width: 320px;
  height: 90px;
}

.contact-link-img {
  position: relative;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 45px;
  height: 45px;
}

.contact-link-img img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* お問い合わせフォーム */
.form__row {
  display: grid;
  grid-template-columns: 278px auto;
  align-items: center;
  gap: 22px;
  margin-top: 11px;
}

.form__label {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  gap: 7px;
}

.form__label::before {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  border-radius: 3px;
  padding: 1px 7.5px 2px;
}

.optional::before {
  content: "任意";
  background-color: #9D9D9D;
}

.wpcf7-acceptance::before {
  content: none;
}

.required::before {
  content: "必須";
  background-color: #FD0200;
}

input, button, textarea, select {
  background-color: #fff;
  border: 2px solid rgb(242 242 242);
  border-radius: 3px;
  padding: 19px 29px;
  width: 100%;
}

textarea {
  height: 176px;
}

::placeholder {
  font-size: 14px;
  color: #929292;
}

.wpcf7-not-valid-tip {
  font-size: 14px;
  font-weight: 500;
}

.form__acceptance .wpcf7-list-item {
  display: block;
  margin: 0;
}

.acceptance-text {
  font-size: 14px;
  margin-top: 25px;
}

.form__acceptance label {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13.5px;
  margin: 35px 50px 0 0;
}

.form__acceptance input {
  border-radius: 3px;
  margin-top: 4px;
  width: 20px;
  height: 20px;
}

.wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 14px;
}

.wpcf7-acceptance .wpcf7-list-item-label a {
  color: #0B839F;
}

.form__submit {
  position: relative;
  margin: 30px auto 0;
  width: fit-content;
}

.form__submit::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  display: block;
  background-image: url(../../images/humanity/cta-arrow.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 45px;
  height: 45px;
}

.form__submit input {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-align: start;
  background-color: #FD0200;
  border: none;
  border-radius: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
  padding: 21.5px 22px;
  width: 320px;
}

.form__submit:hover {
  opacity: 0.5;
}

.wpcf7-spinner {
  display: none;
}

.c-cta {
  padding: 194px 71px 0;
}

.s .header-btns .header-btn {
  padding: 0;
}

.s .contact-link-lead-text {
  font-size: 14px;
}

.s .contact-link-item a {
  font-size: 16px;
  height: 80px;
}

.s .form__row {
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 25px;
}

.s .form__acceptance label {
  margin: 35px auto 0;
}

.s .form__label {
  font-size: 16px;
}

.s .form__submit input {
  font-size: 16px;
}