/*!
Theme Name: meiko-futaba
Author: FMC
Version: 1.0
*/
.c-category .cat-item__text.is-active {
  border-color: #046636;
  background: #046636;
  color: #fff;
}

.custom-cf7e-confirm ::-ms-input-placeholder { /* Edge 12-18 */
  color: transparent;
}

.custom-cf7e-confirm ::placeholder {
  color: transparent;
}

.custom-cf7e-confirm .p-contact__group input:placeholder-shown{
  background-image: url('data:image/svg+xml,<svg width="16" height="2" viewBox="0 0 16 2" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.67045 0.789773V1.72727H0.852273V0.789773H4.67045ZM10.19 0.789773V1.72727H6.3718V0.789773H10.19ZM15.7095 0.789773V1.72727H11.8913V0.789773H15.7095Z" fill="black"/></svg>');
  background-repeat: no-repeat;
  background-position: 9px center;
}
.custom-cf7e-confirm .p-contact__group textarea{
  display: none !important;
}
.wpcf7HtmlTextarea{
  border-color: #fff !important;
}
.wpcf7-form.submitting, .wpcf7-form.resetting{
  position: relative;
}
.wpcf7-form.submitting::before, .wpcf7-form.resetting::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  opacity: 0.7;
  z-index: 10;
}
.wpcf7-form.submitting .p-contact__group .wpcf7HtmlTextarea + textarea, .wpcf7-form.resetting .p-contact__group .wpcf7HtmlTextarea + textarea{
  display: none !important;
}

.wpcf7-form.submitting .cf7e-confirm::before, .wpcf7-form.submitting .cf7e-button::before, .wpcf7-form.resetting .cf7e-confirm::before, .wpcf7-form.resetting .cf7e-button::before{
  content: '';
  position: absolute;
  top: 50%;
  left: 30px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
  border-top-color: #000;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}


.wpcf7-form .p-contact__group-btn input[name=_cf7e][value=confirm_send] ~  .cf7e-confirm{
  display: none !important;
}

.wpcf7-form .p-contact__group-btn input[name=_cf7e][value=confirm_send] ~ .cf7e-back, .wpcf7-form .p-contact__group-btn input[name=_cf7e][value=confirm_send] ~ .wpcf7-submit{
  display: block !important;
}

