/* Contact Form 7が追加する要素のみ、静的版の見た目に合わせる。 */
#entry .wpcf7 {
  width: 100%;
}

#entry .wpcf7-form {
  position: relative;
}

#entry .wpcf7-form-control-wrap {
  display: grid;
}

#entry .lp-form-field > .wpcf7-form-control-wrap {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
}

#entry .wpcf7-not-valid-tip {
  margin-top: 3px;
  color: #b42318;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

#entry .wpcf7-spinner {
  position: absolute;
  right: 12px;
  bottom: 16px;
  margin: 0;
}

#entry .wpcf7 form .wpcf7-response-output {
  margin: 4px 0 0;
  padding: 7px 9px;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

#entry .wpcf7 form .wpcf7-response-output:empty {
  display: none;
}

#entry:has(.wpcf7-form.invalid, .wpcf7-form.sent, .wpcf7-form.failed) {
  align-items: flex-start;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-stop: normal;
}

#entry:has(.wpcf7-form.invalid, .wpcf7-form.sent, .wpcf7-form.failed) .lp-contact__inner {
  max-height: none;
  padding-bottom: 24px;
}
