@charset "UTF-8";
/* =========================================================
  /for-schools 専用スタイル
  すべて .mf-schools-wrapper 配下に限定
  ========================================================= */
html {
  font-size: 1.11vw;
}

@media (max-width: 767px) {
  html {
    font-size: 4.25vw;
  }
}
.mf-schools-wrapper {
  max-width: 63.5rem;
  margin: 0 auto;
  padding: 3.75rem 1.5rem 0;
  color: #0f172a;
  line-height: 1.7;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

.site-main {
  background-color: #EDEDED;
  background-image: url(../images/front/hero-moyo.png);
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
  position: relative;
  margin-top: -4rem;
  padding-bottom: 2rem;
  overflow: hidden;
}

/* ---------------------------------------------------------
 * ページヘッダー
 * --------------------------------------------------------- */
.mf-head {
  margin-top: 4.75rem;
  margin-bottom: 8.25rem;
  /* 40px */
}

.mf-title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 0.25rem;
}

.mf-title {
  display: flex;
  font-size: 1.1rem;
  /* 32px */
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #454545;
  position: relative;
  align-items: center;
}
.mf-title img {
  width: 0.95rem;
  margin-right: 0.25rem;
}

.mf-title-en {
  inset-inline: 0;
  text-align: center;
  font-family: "D-DIN", "DIN Condensed", system-ui, sans-serif;
  font-size: 6.75rem;
  font-weight: 700;
  color: #0663AE;
  transform: scaleY(1.5);
  line-height: 7rem;
}

@media (max-width: 767px) {
  .site-main {
    background-image: url(../images/front/sp/hero-moyo.png);
  }
  .mf-teacher-subject .mf-title {
    padding-top: 0;
    margin-top: 0;
    margin-left: 0.1rem;
  }
  .mf-teacher-archive-wrapper {
    padding-top: 2.75rem;
  }
  .mf-head {
    margin-bottom: 0;
  }
  .mf-title {
    margin-top: 1rem;
    margin-left: -0.25rem;
    font-size: 0.8rem !important;
    align-self: flex-start;
  }
  .mf-title img {
    width: 0.8rem;
  }
  .mf-title-wrapper {
    flex-direction: column-reverse;
    margin-top: -1.75rem;
  }
  .mf-title-en {
    font-size: 3.75rem;
  }
}
.mf-schools-lead {
  margin: 0 0 8rem;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.9;
  color: #454545;
}

.mf-section-title {
  position: relative;
  border-left: solid 2px #0663AE;
  padding-left: 1.25rem;
  color: #0663AE;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 2.25rem 0;
  line-height: 1;
}
.mf-section-title__idx {
  margin-right: 0.75rem;
  font-family: "D-DIN", "DIN Condensed", system-ui, sans-serif;
  transform: scaleY(1.25);
  letter-spacing: 0.05rem;
  font-size: 1.2rem;
  display: inline-block;
  line-height: 2rem;
}
.mf-section-title__jp {
  font-size: 2rem;
  line-height: 1.1;
}
.mf-section-title__en {
  font-family: "D-DIN", "DIN Condensed", system-ui, sans-serif;
  transform: scaleY(1.25);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.mf-schools-flow {
  padding-bottom: 4.75rem;
  border-bottom: solid 2px #0663AE;
}

.mf-schools-form {
  margin-top: 4.5rem;
  padding-bottom: 4.75rem;
  border-bottom: solid 2px #0663AE;
  margin-bottom: 7rem;
}

/* フォームカード */
.mf-form-card .label {
  margin-top: 2.5rem;
  padding-left: 0.35rem;
  padding-bottom: 0.3rem;
  font-weight: 600;
  color: #454545;
  font-size: 1.1rem;
}
.mf-form-card .label:first-child {
  margin-top: 3.5rem;
}
.mf-form-card .required {
  color: #0663AE;
  font-weight: 600;
  font-size: 1rem;
}
.mf-form-card .wpcf7-text {
  border: solid 1px #0663AE;
  border-radius: 0.5rem;
  font-size: 1rem;
}
.mf-form-card .privacy-note {
  color: #454545;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 2.25rem;
}
.mf-form-card .wpcf7-submit {
  width: 270px;
  border-radius: 0.75rem !important;
  font-size: 1.25rem;
  color: #FFF !important;
  background-color: #0663AE !important;
  position: relative;
}
.mf-form-card .wpcf7-spinner {
  display: none;
}

.mf-form-card label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
}

.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);
  }
}
@media (max-width: 767px) {
  .mf-schools-wrapper {
    padding: 3.75rem 1.4rem 0;
  }
  .mf-schools-lead {
    margin-top: 2.75rem;
    font-size: 0.8rem;
    line-height: 1.55rem;
    margin-bottom: 5rem;
  }
  .mf-section-title {
    font-size: 1rem;
  }
  .mf-section-title__idx {
    line-height: 1.25rem;
    transform: scaleY(1.1);
  }
  .mf-section-title__jp {
    font-size: 1.5rem;
  }
  .mf-section-title__en {
    font-size: 1rem;
    display: flex;
    align-items: center;
    margin-bottom: 0.625rem;
    padding-top: 0.15rem;
  }
  .mf-schools-form {
    margin-bottom: 4rem;
  }
  .mf-form-card .label {
    margin-top: 1.5rem;
    padding-left: 0.35rem;
    padding-bottom: 0.3rem;
    font-weight: 600;
    color: #454545;
    font-size: 1rem;
  }
  .mf-form-card .label:first-child {
    margin-top: 0;
  }
  .mf-form-card .required {
    color: #0663AE;
    font-weight: 600;
    font-size: 0.9rem;
  }
  .mf-form-card .privacy-note {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  .mf-form-card .wpcf7-submit {
    width: 65%;
    font-size: 1rem;
  }
}

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