html {
  font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "Hiragino Sans", Meiryo, sans-serif;
}

header {
  background-color: #fff;
  padding: 2rem;
  margin: 0 auto;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9999;
}

.header_container {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1280px;
  width: 100%;
}

.header_log {
  max-width: 130px;
  width: 100%;
}

.header_menus {
  display: flex;
  align-items: center;
}

.header_menu {
  margin: 0 0 0 4.5rem;
}

.header_menu a {
  color: #000;
  font-size: 1.4rem;
  text-decoration: none;
  opacity: 1;
  transition: .2s;
}

.header_menu a:hover {
  opacity: .6;
}

.header_btn,
.header_btn_close {
  margin: 0 0 0 4.5rem;
}

.header_btn02 {
  margin: 0 0 0 2rem;
}

.close_btn {
  display: none;
}

.header_btn {
  background-color: #fff;
  border: 1px solid #000;
  border-radius: .3rem;
}

.header_btn_close {
  background-color: #fff;
  border: 1px solid #000;
  border-radius: .3rem;
  opacity: .7;
}

.header_btn a,
.header_btn_close a {
  color: #000;
  display: block;
  font-size: 1.4rem;
  padding: 1rem 2rem;
  text-decoration: none;
  transition: .2s;
}

.header_btn_close,
.header_btn_close a {
  pointer-events: none;
}

.header_btn:hover {
  background-color: #000;
  border: 1px solid #000;
  color: #fff;
}

.header_btn:hover a {
  color: #fff;
}

.sp_header_btn {
  display: none;
}

.mv {
  padding: 8.8rem 0 0;
  margin: 0 auto 22rem;
  max-width: 1280px;
  width: 100%;
}

.section_container {
  margin: 0 auto;
  max-width: 1080px;
  position: relative;
}

.head {
  margin: 0 0 22rem;
  position: relative;
}

.head_bg {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  bottom: 0;
}

.head_title {
  margin: 0 0 9.5rem;
  width: 100%;
}

.head_text {
  font-size: 2rem;
  font-weight: bold;
  line-height: 4rem;
  margin: 0 0 5rem;
  text-align: left;
}

.head_sender {
  font-size: 2rem;
  font-weight: bold;
  line-height: 4rem;
  text-align: right;
}

.teacher {
  margin: -8.8rem 0 17rem;
  padding: 8.8rem 0 0;
  position: relative;
}

.teacher_bg {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  bottom: -60rem;
}

.teacher_title {
  font-size: 3.6rem;
  margin: 0 0 10rem;
}

.teacher_contents {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  z-index: 999;
}

.teacher_content {
  margin: 0 0 10rem;
  width: 29.4%;
}

.teacher_inner {
  margin: 0 auto;
  width: 84%;
}

.teacher_img {
  margin: 0 auto 1rem;
  position: relative;
  width: 60%;
}

.teacher_name {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0 0 2rem;
  text-align: center;
}

.teacher_career {
  font-size: 1.6rem;
  margin: 0 0 2rem;
  /* text-align: justify; */
}

.teacher_work {
  font-size: 1.6rem;
  /* text-align: justify; */
}

.message {
  margin: -8.8rem 0 17rem;
  padding: 8.8rem 0 0;
}

.message_title {
  font-size: 3.6rem;
  margin: 0 0 10rem;
}

.message_text {
  font-size: 2rem;
  line-height: 4rem;
  margin: 0 0 5rem;
  text-align: left;
}

.summary {
  margin: -8.8rem 0 17rem;
  padding: 8.8rem 0 0;
  position: relative;
}

.summary_bg {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}

.summary_title {
  font-size: 3.6rem;
  margin: 0 0 10rem;
}

.summary_contents {
  width: 100%;
}

.summary_contents tr {
  display: flex;
  align-items: start;
  margin: 0 0 3.6rem;
}

.summary_contents th {
  font-size: 2.2rem;
  font-weight: bold;
  text-align: left;
  width: 25%;
}

.summary_contents td {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 3.6rem;
  width: 75%;
}

.summary_contents td a {
  color: #000;
  opacity: 1;
  transition: .2s;
  text-decoration: none;
}

.summary_contents td a:hover {
  color: #000;
  opacity: .6;
  text-decoration: none;
}

.summary_contents td span {
  font-size: 1.8rem;
  font-weight: normal;
}

.entry {
  margin: -8.8rem 0 14rem;
  padding: 8.8rem 0 0;
}

.entry_title {
  font-size: 3.6rem;
  margin: 0 0 10rem;
}

.entry_texts {
  margin: 0 0 14rem;
}

.entry_text {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 4rem;
  margin: 0 0 1rem;
  text-align: left;
}

.entry_list {
  font-size: 1.8rem;
  line-height: 4rem;
  text-align: left;
}

.entry_captions {
  margin: 0 0 14rem;
}

.entry_captions li:first-of-type {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 4rem;
}

.entry_captions li:not(:first-of-type) {
  font-size: 1.8rem;
  font-weight: normal;
  line-height: 3.08rem;
}

.entry_btn {
  margin: 0 auto;
  width: 80%;
  /* opacity: .7; */
}

.entry_btn a {
  color: #000;
  background-color: #fff;
  border: 2px solid #000;
  border-radius: 1.2rem;
  display: block;
  font-size: 3.6rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  padding: 1.2rem 0;
  position: relative;
  transition: .2s;
}

.entry_btn a:hover {
  color: #fff;
  background-color: #000;
  border: 2px solid #000;
}

.entry_btn a::before {
  display: flex;
  align-items: center;
  position: absolute;
  content: "";
  top: 0;
  right: 2rem;
  bottom: 0;
  margin: auto;
  width: 16px;
  height: 16px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transition: .2s;
}

.entry_btn a:hover::before {
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

footer {
  margin: 0 0 4rem;
}

.footer_logo {
  margin: 0 auto 2rem;
  max-width: 125px;
  width: 100%;
}

.footer_copyright {
  margin: 0 auto;
  max-width: 280px;
  width: 100%;
}

.show_pc {
  display: block;
}

.show_sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .show_pc {
    display: none;
  }

  .show_sp {
    display: block;
  }

  header {
    padding: 2rem 0;
  }

  .header_container {
    display: flex;
    justify-content: space-between;
    width: 90%;
  }

  .header_menus {
    visibility: hidden;
    opacity: 0;
    background-color: rgba(255, 255, 255, .98);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    display: none;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    z-index: 999;
    transition: .4s;
  }

  .header_menus.display {
    display: flex;
  }

  .header_menus.active {
    visibility: visible;
    opacity: 1;
  }

  .close_btn {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    position: absolute;
    top: 2.1%;
    right: 6.3%;
  }

  .sp_header_btn {
    display: block;
    max-width: 40px;
  }

  .header_menu a {
    font-size: 1.8rem;
  }

  .header_menu {
    margin: 0 0 4rem;
  }

  .header_btn,
  .header_btn_close {
    margin: 0 0 2rem;
  }

  .header_btn02 {
    margin: 0;
  }

  .header_log {
    max-width: 106px;
  }

  .section_container {
    max-width: 100%;
    width: 90%;
  }

  .mv {
    padding: 8.1rem 0 0;
    margin: 0 0 14rem;
  }

  .head {
    margin: 0 0 13.5rem;
  }

  .head_bg {
    bottom: 34rem;
  }

  .head_title {
    margin: 0 0 4rem;
    width: 80%;
  }

  .head_text {
    font-size: 1.6rem;
    line-height: 2.2rem;
    margin: 0 0 2.5rem;
  }

  .head_sender {
    font-size: 1.6rem;
    line-height: 2rem;
  }

  .teacher {
    margin: -8.8rem 0 5.5rem;
  }

  .teacher_title {
    font-size: 2.5rem;
    margin: 0 0 5rem;
  }

  .teacher_contents {
    flex-direction: column;
  }

  .teacher_content {
    margin: 0 0 6.5rem;
    width: 100%;
  }

  .teacher_inner {
    width: 100%;
  }

  .teacher_bg {
    bottom: -20rem;
  }

  .message {
    margin: -8.8rem 0 11.5rem;
  }

  .message_title {
    font-size: 2.5rem;
    margin: 0 0 5rem;
  }

  .message_text {
    font-size: 1.6rem;
    line-height: 1.8em;
    margin: 0 0 2.5rem;
    text-align: justify;
    word-break: break-all;
  }

  .summary {
    margin: -8.8rem 0 11.5rem;
  }

  .summary_title {
    font-size: 2.5rem;
    margin: 0 0 5rem;
  }

  .summary_contents tr {
    flex-direction: column;
    margin: 0 0 3.6rem;
  }

  .summary_contents th {
    font-size: 2.2rem;
    margin: 0 0 2.5rem;
    width: 100%;
  }

  .summary_contents td {
    font-size: 1.6rem;
    line-height: 2.5rem;
    width: 100%;
  }

  .summary_contents td span {
    font-size: 1.6rem;
  }

  .summary_bg {
    top: -10rem;
    bottom: unset;
  }

  .entry {
    margin: -8.8rem 0 11.5rem;
  }

  .entry_title {
    font-size: 2.5rem;
    margin: 0 0 5rem;
  }

  .entry_texts {
    margin: 0 0 9.5rem;
  }

  .entry_text {
    font-size: 1.6rem;
    line-height: 2.25rem;
    margin: 0 0 1rem;
  }

  .entry_list {
    font-size: 1.6rem;
    line-height: 2.25rem;
  }

  .entry_btn {
    width: 100%;
  }

  .entry_btn a {
    font-size: 2rem;
  }

  .entry_captions li:first-of-type {
    font-size: 1.6rem;
  }

  .entry_captions li:not(:first-of-type) {
    font-size: 1.6rem;
    line-height: 2.25rem;
  }
}

@media screen and (min-width: 767px) and (max-width: 768px) {
  .head_bg {
    bottom: -10rem;
  }

  .teacher_bg {
    bottom: -40rem;
  }
}

.teacher_inner {
  width: 100%;
}

.w_100 {
  width: 100%;
}

.teacher_img::before {
  background-color: #fff;
  border: 1px solid #000;
  border-radius: .6rem;
  color: #000;
  content: "講師";
  font-size: 1.4rem;
  font-weight: bold;
  padding: .4rem 1.2rem;
  position: absolute;
  inset: -1rem auto auto -1rem;
}

.teacher_top .teacher_img::before {
  content: "塾長";
}

.teacher_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 75%;
}

.teacher_top .teacher_img {
  margin: 0 0 1rem;
  width: 28%;
}

.teacher_top .teacher_top_texts {
  flex-direction: column;
  width: 64%;
}

.teacher_top .teacher_name {
  text-align: left;
}

.teacher_img {
  aspect-ratio: 1 / 1;
}

@media screen and (max-width: 768px) {
  .teacher_top {
    flex-direction: column;
    width: 100%;
  }
  
  .teacher_top .teacher_img {
    margin: 0 auto 1rem;
    width: 60%;
  }
  
  .teacher_top .teacher_top_texts {
    width: 100%;
  }

  .teacher_top .teacher_name {
    text-align: center;
  }
}
