@charset "UTF-8";
/* ページ全体のラッパー */
.mf-teacher-entry {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 16px 64px;
  line-height: 1.7;
  color: #0f172a;
  background-color: #fff;
}

/* ページタイトル */
.mf-teacher-entry__title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 24px;
  color: #0f172a;
  text-align: left;
}

/* 各セクション見出し */
.mf-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
  margin: 40px 0 16px;
  position: relative;
  padding-left: 16px;
  /* 左にアクセントバー */
}
.mf-section-title::before {
  content: "";
  position: absolute;
  top: 0.4em;
  left: 0;
  width: 4px;
  height: 1.2em;
  background-color: #f59e0b;
  /* 既存アクセントカラーと統一 */
  border-radius: 2px;
}

/* 注意・説明テキスト */
.mf-teacher-entry__text {
  font-size: 1rem;
  margin: 0;
  line-height: 1.8;
  text-align: justify;
}

.mf-teacher-entry__note {
  font-size: 0.95rem;
  color: #475569;
  margin: 0 0 16px;
  line-height: 1.6;
}

/* フローリスト（1〜4） */
.mf-flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: teacher-step;
  display: grid;
  row-gap: 24px;
}

.mf-flow-list__item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: flex-start;
}

.mf-flow-list__step {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background-color: #f59e0b;
  color: #111827;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 32px;
  text-align: center;
}

.mf-flow-list__body {
  min-width: 0;
}

.mf-flow-list__title {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 4px;
  line-height: 1.5;
}

.mf-flow-list__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #334155;
  margin: 0;
}

/* フォームカード */
.mf-form-card {
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  padding: 24px 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  /* Contact Form 7デフォルト要素の調整 */
}
.mf-form-card label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.5;
}
.mf-form-card .required {
  color: #dc2626;
  font-weight: 700;
  margin-left: 4px;
}
.mf-form-card input[type=text],
.mf-form-card input[type=email],
.mf-form-card input[type=tel],
.mf-form-card textarea {
  width: 100%;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  padding: 10px 12px;
  background-color: #fff;
  color: #0f172a;
  box-sizing: border-box;
}
.mf-form-card textarea {
  min-height: 120px;
}
.mf-form-card input[type=text]:focus,
.mf-form-card input[type=email]:focus,
.mf-form-card input[type=tel]:focus,
.mf-form-card textarea:focus {
  outline: 2px solid rgba(245, 158, 11, 0.4);
  /* #f59e0b 半透明 */
  border-color: #f59e0b;
}
.mf-form-card {
  /* 送信ボタン */
}
.mf-form-card input[type=submit],
.mf-form-card button[type=submit] {
  display: inline-block;
  margin-top: 16px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  background-color: #f59e0b;
  color: #111827;
  border: 0;
  border-radius: 9999px;
  padding: 12px 20px;
}
.mf-form-card input[type=submit]:hover,
.mf-form-card button[type=submit]:hover {
  filter: brightness(1.05);
}

/* Contact Form 7 送信結果メッセージ */
.wpcf7 form .wpcf7-response-output {
  border-radius: 12px;
  padding: 16px 20px;
  margin: 24px 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 500;
  animation: fadeInMessage 0.3s ease-in-out;
  border: 1px solid transparent;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

/* ✅ 送信成功メッセージ */
.wpcf7 form.sent .wpcf7-response-output {
  color: #065f46;
  background-color: #ecfdf5;
  border-color: #6ee7b7;
  display: none;
}

/* ⚠️ 入力エラーなどのバリデーションエラー */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  color: #92400e;
  background-color: #fef3c7;
  border-color: #fcd34d;
}

/* ❌ 送信失敗・サーバーエラー */
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  color: #991b1b;
  background-color: #fee2e2;
  border-color: #fca5a5;
}

/* 🔁 再送要求など */
.wpcf7 form.spam .wpcf7-response-output {
  color: #92400e;
  background-color: #fff7ed;
  border-color: #fdba74;
}

/* 出現時のフェードアニメーション */
@keyframes fadeInMessage {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* レスポンシブ余白調整 */
@media (min-width: 768px) {
  .mf-teacher-entry {
    padding: 48px 24px 96px;
  }
  .mf-teacher-entry__title {
    font-size: 1.75rem;
  }
  .mf-form-card {
    padding: 32px 24px;
  }
}

/*# sourceMappingURL=for-teacher.css.map */
