@charset "UTF-8";
/* =========================================================
  /for-schools 専用スタイル
  すべて .mf-schools-wrapper 配下に限定
  ========================================================= */
.mf-schools-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 16px 64px;
  background: #fff;
  color: #0f172a;
  line-height: 1.7;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

@media (min-width: 768px) {
  .mf-schools-wrapper {
    padding: 48px 24px 96px;
  }
}
/* タイトルとリード */
.mf-schools-title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .mf-schools-title {
    font-size: 1.8rem;
  }
}
.mf-schools-lead {
  font-size: 0.98rem;
  color: #334155;
  margin-bottom: 20px;
}

/* セクション見出し */
.mf-section-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 36px 0 16px;
  padding-left: 14px;
  position: relative;
  color: #0f172a;
}

.mf-section-title::before {
  content: "";
  position: absolute;
  top: 0.35em;
  left: 0;
  width: 4px;
  height: 1.2em;
  background-color: #f59e0b;
  border-radius: 2px;
}

/* 授業開始までの流れ */
.mf-flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  row-gap: 16px;
}

.mf-flow-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  padding: 16px 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

@media (min-width: 768px) {
  .mf-flow-item {
    padding: 18px 18px;
    column-gap: 16px;
  }
}
.mf-step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f59e0b;
  color: #111827;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 32px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}

.mf-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.mf-step-desc {
  font-size: 0.96rem;
  color: #334155;
  line-height: 1.6;
}

/* フォームカード */
.mf-form-card {
  background: #fff;
  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);
}

@media (min-width: 768px) {
  .mf-form-card {
    padding: 32px 24px;
  }
}
.mf-form-card label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
}

.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;
  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);
  border-color: #f59e0b;
}

/* 送信ボタン */
.mf-form-card input[type=submit] {
  display: inline-block;
  margin-top: 16px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  background: #f59e0b;
  color: #111827;
  border: none;
  border-radius: 9999px;
  padding: 12px 20px;
  transition: filter 0.3s;
}

.mf-form-card input[type=submit]:hover {
  filter: brightness(1.05);
}

/* CF7メッセージ */
.mf-schools-wrapper .wpcf7 form .wpcf7-response-output {
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 24px;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
  border: 1px solid transparent;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  animation: fadeIn 0.3s ease-in-out;
}

.mf-schools-wrapper .wpcf7 form.sent .wpcf7-response-output {
  color: #065f46;
  background: #ecfdf5;
  border-color: #6ee7b7;
}

.mf-schools-wrapper .wpcf7 form.invalid .wpcf7-response-output {
  color: #92400e;
  background: #fef3c7;
  border-color: #fcd34d;
}

.mf-schools-wrapper .wpcf7 form.failed .wpcf7-response-output {
  color: #991b1b;
  background: #fee2e2;
  border-color: #fca5a5;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 備考文 */
.mf-note {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 12px;
}

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