.page-title span::before {
  background-image: url(../images/common/icon-mail.svg);
}

.contact-intro {
  margin: 40px auto 24px;
}

.contact-call span {
  display: block;
}

.contact-call__number {
  font-family: "Oswald", sans-serif;
  font-size: 25px;
  line-height: 1;
  font-weight: 600;
}

.contact-call__time {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
}

::placeholder {
  color: #fff;
}

.contact {
  width: 100%;
  max-width: 786px;
  margin: 0 auto;
}

.contact__form {
  margin: 64px auto 0;
  font-size: 16px;
  line-height: 1;
}

.contact__item {
  width: 100%;
  margin-bottom: 50px;
  padding-bottom: 12px;
  border-bottom: 1px solid #999999;
}

.contact__item:nth-child(5) {
  margin-bottom: 40px;
}

.contact__label {
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 16px;
}

.contact__badge {
  background-color: #ce000e;
  border-radius: 2px;
  margin-right: 10px;
  width: 38px;
  display: inline-block;
  text-align: center;
  font-size: 11px;
  color: #ffffff;
  height: 21px;
  line-height: 21px;
}

.contact__inputs {
  display: flex;
  gap: 20px;
}

.contact__input {
  padding: 12px 15px 11px;
  height: 35px;
  width: 100%;
  background-color: #d2d2d2;
  border-radius: 2px;
  font-size: inherit;
  color: #fff;
}

.contact__textarea {
  border-radius: 2px;
  padding: 4px 15px;
  height: 240px;
  width: 100%;
  background-color: #d2d2d2;
  font-size: inherit;
  font-size: 16px;
  line-height: 28px;
  color: #fff;
}

.link {
  margin-top: 40px;
}

.link span::before {
  display: none;
}

.checkbox-container {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #ce000e;
  border-radius: 2px;
  border: 1px solid #d9d9d9;
}

.checkbox-container span {
  font-size: 16px;
}

.checkbox-container a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link span:hover::before {
  display: none;
}

.link span {
  opacity: 0;
}

.wpcf7-not-valid-tip {
  margin-top: 5px;
}

.wpcf7-response-output {
  opacity: 0;
}

@media (min-width: 768px) {
  .contact-intro {
    margin: 115px auto 24px;
  }

  .contact__form {
    margin: 80px auto 0;
  }

  .contact__item:nth-child(5) {
    margin-bottom: 70px;
  }

  .link {
    margin-top: 24px;
  }
}

/* ラッパーspanをレイアウトから外す */
.wpcf7 form .wpcf7-form-control-wrap {
  display: contents;
  /* 主要ブラウザ対応、z-index系の副作用は注意 */
}

/* 余計な <br> を使っていないなら保険で無効化 */
.wpcf7 form br {
  display: none;
}

.contact__link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: #e59900;
  border-radius: 5px;
  border: 2px solid #525252;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
}

.contact__link:disabled {
  background-color: #525252;
}

@media (min-width: 768px) {
  .contact__link {
    position: relative;
    transition: all 0.2s ease;
    right: 0;
    bottom: 0;
  }

  .contact__link:hover {
    right: -2.5px;
    bottom: -2.5px;
    color: #e59900;
    background-color: #fff;
    border: 2px solid #e59900;
  }
}