#l_wrapper {
  width: 100%;
  height: auto;
}
.sp {
  display: none;
}
.global_nav_item a {
  display: block;
  width: 100%;
  height: 15px;
  font-size: 14px;
  letter-spacing: 0.3em;
  line-height: 1;
  cursor: pointer;
  color: #140e00;
  padding: 0 18px;
  text-shadow: unset;
}
.global_nav_item::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  margin-left: 10%;
  background-color: var(--color--white);
  background: linear-gradient(90deg, #b6b6b6, #fff);
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.5s ease-in-out;
  filter: blur(2px);
  transform-origin: left center;
}
.hbg_btn_icon {
  background-color: #140e00;
}
#menu__hero {
  width: 100%;
  height: auto;
  padding: 177px 0 71px 0;
}
#menu__hero.works_hero {
  padding: 50px 0 70px 0;
}
.menu__hero__inner {
  width: 90%;
  height: auto;
  margin: 0 auto;
  max-width: 1000px;
}
.menu__hero__hd {
  display: flex;
  align-items: center;
  column-gap: 30px;
  padding-bottom: 60px;
}
.menu__hero__sub {
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu__hero__subttl {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
}
.menu__hero__line {
  display: block;
  width: 60px;
  height: 1px;
  background-color: #9f9f9f;
  margin-left: 15px;
  margin-top: 4px;
}
.menu__hero__ttl {
  font-size: 34px;
  letter-spacing: 0.2em;
  font-weight: 400;
}

.school_contents {
  width: 90%;
  height: auto;
  margin: 0 auto;
}
.school_contents h3 {
  font-size: 20px;
  letter-spacing: 0.2em;
  font-weight: 400;
  line-height: 1.2;
  margin: 50px 0;
  text-align: center;
}
.school_contents h3 span {
  font-size: 12px;
}

.school_images {
  width: 600px;
  height: auto;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
  padding-bottom: 100px;
}
.school_image {
  width: calc(50% - 5px);
  height: auto;
}

.school_images img {
  width: 100%;
  height: auto;
}

.school_contents .text {
  max-width: 400px;
  margin: 0 auto;
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 400;
  line-height: 2.2;
  text-align: left;
  padding-bottom: 50px;
}
.to__contact__btn {
  width: 297px;
  height: 63px;
  position: relative;
  z-index: 2;
  transition: 0.4s;
  margin: 0 auto 40px auto;
}
.to__contact__link::before {
  content: "";
  display: block;
  border-right: 1px solid #140e00;
  border-bottom: 1px solid #140e00;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 4.9px;
  left: 4.3px;
  z-index: 1;
  transition: 0.4s;
}
.to__contact__link {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 7px;
  font-size: 16px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: #140e00;
  position: relative;
  z-index: 3;
  border: solid 1px #140e00;
  transition: 0.4s;
}
.to__contact__btn:hover .to__contact__link {
  transform: translate(4.9px, 4.3px);
}
.to__contact__btn:hover .to__contact__link::before {
  top: 0;
  left: 0;
  opacity: 0;
}
.right__arrow {
  width: 11.5px;
  height: auto;
  transition: 0.4s;
}
.right__arrow img {
  width: 100%;
  height: auto;
}
/* ボタンのスタイル */
.pagination {
  display: flex;
  align-items: center;
  column-gap: 10px;
  justify-content: flex-end;
}
button.prev,
button.next {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
  width: 58px;
  height: 25px;
  background-color: #140e00;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
}
button.prev img,
button.next img {
  width: 11.5px;
  height: auto;
}

button.disabled {
  opacity: 0.3;
  pointer-events: none;
  cursor: pointer;
}
button.page-number {
  opacity: 0.3;
  font-size: 18px;
  color: #b6b6b6;
  padding: 0 5px;
}
/* 現在のページを強調表示 */
button.page-number.active {
  opacity: 1;
  font-weight: bold;
  cursor: pointer;
  color: #140e00;
}
@media all and (max-width: 820px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .hbg_btn__inner span {
    background-color: #140e00;
  }
  .global_nav_item a {
    height: auto;
    position: relative;
    z-index: 100;
    color: #140e00;
  }
  .global_nav_item::after {
    content: unset;
  }

  #menu__hero {
    padding: 80px 0 60px 0;
  }
  .menu__hero__hd {
    flex-direction: column;
    align-items: flex-start;
  }
  .menu__hero__subttl {
    font-size: 11px;
  }
  .menu__hero__line {
    margin-left: 11px;
  }
  .menu__hero__ttl {
    font-size: 28px;
  }

  .school_contents {
    width: 90%;
    height: auto;
    margin: 0 auto;
  }
  .school_contents h3 {
    font-size: 20px;
    letter-spacing: 0.2em;
    font-weight: 400;
  }
  .school_contents h3 span {
    font-size: 12px;
  }

  .school_contents .text {
    font-size: 12px;
    letter-spacing: 0.2em;
    font-weight: 400;
  }

  .school_images {
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    padding-bottom: 60px;
  }
  .school_image {
    width: calc(50% - 5px);
    height: auto;
  }

  .school_images img {
    width: 100%;
    height: auto;
  }

  .pagination {
    justify-content: center;
  }
  button.prev,
  button.next {
    width: 50px;
    height: 22px;
  }
  .button.prev img,
  button.next img {
    width: 9.85px;
  }
  .button.page-number {
    font-size: 13px;
  }
}
