.main_block {
  margin-bottom: 6rem;
}
.main_lead {
  margin-bottom: 8rem;
}
.sub_block {
  margin-bottom: 6rem;
}

.school_txt {
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}
.school_txt p {
  padding: 0;
}
.school_txt_s {
  font-size: 1.4rem;
  font-weight: 600;
}
.school_txt_m {
  font-size: 1.5rem;
  font-weight: 600;
}
.school_txt_note {
  font-size: 1rem;
  font-weight: 300;
}

.school_laybtn {
  display: grid;
  grid-template-columns: 300px;
  justify-content: center;
  row-gap: 2rem;
  margin-bottom: 3rem;
}
.school_btn {
  border-radius: 9999px;
  border-style: solid;
  border-width: 1px;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  padding: 1.4rem 1.4rem 1.3rem;
}
.school_btn._primary {
  background-color: #1F723A;
  border-color: #1F723A;
  color: #fff;
}
.school_btn._secondary {
  color: #1F723A;
}

.ttl_bd {
  text-align: center;
  position: relative;
  margin-bottom: 2rem;
}
.ttl_bd::before {
  content: '';
  background-color: #1F723A;
  height: 2px;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  translate: 0 -50%;
}
.ttl_bd_inner {
  background-color: #fff;
  font-size: 1.9rem;
  font-weight: 600;
  line-height: calc(26 / 19);
  padding-inline: 2rem;
  position: relative;
}

@media screen and (max-width: 768px) {
  .main_block {
    margin-bottom: 3rem;
  }
  .main_lead {
    margin-bottom: 6rem;
  }
  .sub_block {
    margin-bottom: 3rem;
  }

  .school_txt {
    row-gap: 2.4rem;
  }
  .school_txt_s {
    font-size: calc(12 / 430 * 100vw);
  }
  .school_txt_m {
    font-size: calc(12 / 430 * 100vw);
  }

  .school_laybtn {
    grid-template-columns: minmax(0, 225px);
    row-gap: 1.6rem;
  }
  .school_btn {
    font-size: 1.2rem;
    line-height: 1.5;
    padding: 1.1rem 1rem;
  }

  .ttl_bd {
    margin-bottom: 1.6rem;
  }
  .ttl_bd_inner {
    font-size: 1.6rem;
    line-height: calc(21 / 16);
  }
}