@charset "utf-8";
/*
Theme Name: 松山ローカル大学
Theme URI: テーマ使用サイトのURL
Description: テーマの説明
Author: 作者の名前
Author URI: 作者のサイトのURL
Version: バージョン
*/

/* ----------------------------------------------------
問い合わせフォーム用CSS
---------------------------------------------------- */
input, textarea {
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  outline: none;
  border: none;
}

/* iOS Safari対策：タップ時のハイライトと拡大を抑止 */
input, textarea, select {
  -webkit-tap-highlight-color: transparent;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 7px;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.8;
  border: 1px solid #acacac;
  border-radius: 4px;
}

@media screen and (width >= 1024px) {
  .form-input,
  .form-textarea {
    padding: 7px 14px;
    font-size: 0.9375rem;
  }
}

.form-submit {
  width: 180px;
  padding: 12px 24px;
  font-weight: 700;
  color: #fff;
  background-color: #00A0E6;
  border-radius: 100vw;
  transition: opacity 0.3s;
}

.form-submit:hover {
  cursor: pointer;
  opacity: 0.7;
}

.form-label {
  font-size: 1.0625rem;
  font-weight: 500;
}

.form-label span {
  display: inline-block;
  padding: 3px 5px;
  font-size: 58.8%;
  line-height: 1;
  vertical-align: text-top;
  color: #fff;
  background-color: #de2714;
  border-radius: 2px;
}

.p-contact__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media screen and (width >= 1024px) {
  .p-contact__form {
    gap: 21px;
  }
}

.p-contact__form-group {
  display: grid;
  gap: 7px;
}

.p-contact__form-submit {
  margin-top: 21px;
  text-align: center;
}

@media screen and (width >= 1024px) {
  .p-contact__form-submit {
    margin-top: 28px;
  }
}

.wpcf7-spinner {
  display: none;
}