/* html {
  scroll-behavior: smooth;
  scroll-padding-top: 9rem;
} */

.head {
  background: var(--color-main);
}

.head .section__inner {
  padding: 90px 40px 60px;
}

.page__title {
  color: var(--color-light);
  border-color: var(--color-light);
}

.academic .page__title {
  color: var(--color-main);
  border-color: var(--color-light-blue);
}

@media screen and (max-width:750px) {
  html {
    scroll-padding-top: 5rem;
  }

  .head .section__inner {
    padding: 6rem 3.1rem 3rem;
  }
}

.page__nav {
  display: flex;
}

.page__nav-link {
  width: 50%;
  display: block;
  padding: 22px 0;
  text-align: center;
  background: #F2F8FD;
  font-size: 16px;
  font-weight: 600;
  line-height: 2.25;
  border-right: 1px solid var(--color-light-blue);
  transition: .5s ease;
}

.page__nav-link:last-child {
  border-right: none;
}

.page__nav-link:hover {
  background: var(--color-main);
  color: var(--color-light);
  border-color: transparent;
}

.page__nav-link:has(+.page__nav-link:hover) {
  border-color: transparent;
}

@media screen and (max-width:750px) {
  .page__nav-link {
    font-size: 1.4rem;
    line-height: 1.42;
    letter-spacing: .07rem;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.history {
  padding: 10rem 22.8rem 0;
  overflow: hidden;
  position: relative;

}

.history__inner {
  max-width: 984px;
  margin: 0 auto;
}

.fixed-bg__inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip: rect(auto, auto, auto, auto);
  z-index: -1;
}

.fixed-bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100vh;
  background-image: url(../images/material/bgAbout.webp);
  background-size: cover;
  background-repeat: no-repeat;
  /* GPU加速を有効にしてレンダリングを安定化 */
  will-change: transform;
  backface-visibility: hidden;
  /* GPU加速とレンダリング最適化 */
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  /* モバイル向け追加最適化 */
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}


@media screen and (max-width:750px) {
  .history {
    padding: 0 2.6rem 0;
  }

  .fixed-bg {
    background-image: url(../images/material/bgAboutSp.webp);
    /* モバイルでのパフォーマンス向上 */
    background-attachment: scroll;
    /* fixedの代替 */

    /* iOS Safari対応 */
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;

    /* Android Chrome対応 */
    transform: translateZ(0);
  }
}

.history__layout {
  position: relative;
}

.history__layout::after {
  content: "";
  position: absolute;
  top: 12.1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 14.4rem;
  height: 100%;
  background: linear-gradient(180deg, #CAE6F4 0%, #3F93BC 48.08%, #171C61 96.63%);
  mix-blend-mode: multiply;
  z-index: 1;
}

.history__block {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 16.9rem 1fr;
  gap: 4.7rem;
}

.history__block:nth-child(1) {
  z-index: 6;
}

.history__block:nth-child(2) {
  z-index: 5;
}

.history__block:nth-child(3) {
  z-index: 4;
}

.history__block:nth-child(4) {
  z-index: 3;
}

.history__block:nth-child(5) {
  z-index: 2;
}



/* 1980年代 */
.history__block:nth-child(1) .history__left,
.history__block:nth-child(1) .history__right {
  padding-top: 4.1rem;
}

.history__block:nth-child(1) .history__left .history__item:nth-child(2) {
  padding-top: 8.6rem;
}

.history__block:nth-child(1) .history__right .history__item:nth-child(2) {
  padding-top: 8.6rem;
}

.history__block:nth-child(1) .history__right .history__item:nth-child(3) {
  padding-top: 8.6rem;
}

/* 1990年代 */
.history__block:nth-child(2) .history__left {
  padding-top: 8rem;
}

.history__block:nth-child(2) .history__right {
  padding-top: 9rem;
}

.history__block:nth-child(2) .history__right .history__item:nth-child(2) {
  padding-top: 9rem;
}

.history__block:nth-child(2) .history__right .history__item:nth-child(3) {
  padding-top: 9rem;
}


/* 2000年代 */
.history__block:nth-child(3) {
  margin-top: -35rem;
}

.history__block:nth-child(3) .history__left {
  padding-top: 23.2rem;
}

.history__block:nth-child(3) .history__left .history__item:nth-child(2) {
  padding-top: 8.6rem;
}

.history__block:nth-child(3) .history__left .history__item:nth-child(3) {
  padding-top: 18.2rem;
}

.history__block:nth-child(3) .history__left .history__item:nth-child(4) {
  padding-top: 8.6rem;

}

.history__block:nth-child(3) .history__left .history__item:nth-child(5) {
  padding-top: 8.6rem;

}

.history__block:nth-child(3) .history__left .history__item:nth-child(6) {
  padding-top: 35.2rem;

}

.history__block:nth-child(3) .history__left .history__item:nth-child(7) {
  padding-top: 10rem;

}

.history__block:nth-child(3) .history__right {
  padding-top: 51.8rem;
}

.history__block:nth-child(3) .history__right .history__item:nth-child(2) {
  padding-top: 9rem;
}

.history__block:nth-child(3) .history__right .history__item:nth-child(3) {
  padding-top: 24rem;
}

.history__block:nth-child(3) .history__right .history__item:nth-child(4) {
  padding-top: 9rem;
}

.history__block:nth-child(3) .history__right .history__item:nth-child(5) {
  padding-top: 9rem;
}

.history__block:nth-child(3) .history__right .history__item:nth-child(6) {
  padding-top: 9rem;
}

.history__block:nth-child(3) .history__right .history__item:nth-child(7) {
  padding-top: 9rem;
}

.history__block:nth-child(3) .history__right .history__item:nth-child(8) {
  padding-top: 8.6rem;
}

.history__block:nth-child(3) .history__right .history__item:nth-child(9) {
  padding-top: 33.3rem;
}

/* 2010年代 */
.history__block:nth-child(4) {
  margin-top: 9.7rem;
}

.history__block:nth-child(4) .history__left {
  padding-top: 19.6rem;
}

.history__block:nth-child(4) .history__left .history__item:nth-child(2) {
  padding-top: 9.2rem;
}

.history__block:nth-child(4) .history__left .history__item:nth-child(3) {
  padding-top: 11rem;
}

.history__block:nth-child(4) .history__left .history__item:nth-child(4) {
  padding-top: 26rem;
}

.history__block:nth-child(4) .history__left .history__item:nth-child(5) {
  padding-top: 8.6rem;
}

.history__block:nth-child(4) .history__left .history__item:nth-child(6) {
  padding-top: 10rem;
}

.history__block:nth-child(4) .history__right .history__item:nth-child(2) {
  padding-top: 8.3rem;
}

.history__block:nth-child(4) .history__right .history__item:nth-child(3) {
  padding-top: 9rem;
}

.history__block:nth-child(4) .history__right .history__item:nth-child(4) {
  padding-top: 11rem;
}

.history__block:nth-child(4) .history__right .history__item:nth-child(5) {
  padding-top: 9rem;
}

.history__block:nth-child(4) .history__right .history__item:nth-child(6) {
  padding-top: 9rem;
}

.history__block:nth-child(4) .history__right .history__item:nth-child(7) {
  padding-top: 31rem;
}

.history__block:nth-child(4) .history__right .history__item:nth-child(8) {
  padding-top: 9rem;
}

.history__block:nth-child(4) .history__right .history__item:nth-child(9) {
  padding-top: 9rem;
}

.history__block:nth-child(4) .history__right .history__item:nth-child(10) {
  padding-top: 9rem;
}

.history__block:nth-child(4) .history__right .history__item:nth-child(11) {
  padding-top: 8.6rem;
}

.history__block:nth-child(4) .history__right .history__item:nth-child(12) {
  padding-top: 9rem;
}

.history__block:nth-child(4) .history__right .history__item:nth-child(13) {
  padding-top: 9rem;
}

.history__block:nth-child(4) .history__right .history__item:nth-child(14) {
  padding-top: 9rem;
}

/* 2020年代 */
.history__block:nth-child(5) {
  margin-top: -12.5rem;
}

.history__block:nth-child(5) .history__left {
  padding-top: 43.7rem;
}

.history__block:nth-child(5) .history__left .history__item:nth-child(2) {
  padding-top: 21rem;
}

.history__block:nth-child(5) .history__right {
  padding-top: 23.3rem;
}

.history__block:nth-child(5) .history__right .history__item:nth-child(2) {
  padding-top: 41rem;
}

.history__text {
  font-family: var(--font-strong);
  font-weight: 600;
}

.history__text--large {
  font-size: 2rem;
  letter-spacing: .1rem;
  line-height: 1.4;
}

.history__text--small {
  font-size: 1.2rem;
  line-height: 1.66;
  letter-spacing: .06rem;
}

.history__item {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.history__img img {
  width: 100%;
  height: auto;
  display: block;
  transition: .5s ease;
  cursor: pointer;
}

.history__img img:hover {
  opacity: .5;
}

.gap-none {
  gap: 0;
}

.gap-large {
  gap: 17rem;
}

/* 年代画像 */
.era__circle {
  position: relative;
}

.era__circle img {
  width: 100%;
  height: auto;
  display: block;
}


/* 西暦画像 */

.era__num {
  margin: 0 auto;
  width: 7.2rem;
}

.era__num img {
  width: 100%;
  height: auto;
  display: block;
}

.num-01 {
  margin-top: 4.7rem;
  width: 6.45rem;
}

.num-02 {
  margin-top: 5.2rem;
}

.num-03 {
  margin-top: 5rem;
}

.num-04 {
  margin-top: 5.8rem;
}

.num-05 {
  margin-top: 5.6rem;
}

.num-06 {
  margin-top: 7.8rem;
}

.num-07 {
  margin-top: 2.7rem;
}

.num-08 {
  margin-top: 1.8rem;
}

.num-09 {
  margin-top: 3rem;
}

.num-10 {
  margin-top: 6.34rem;
}

.num-11 {
  margin-top: 7.43rem;
}

.num-12 {
  margin-top: 4.7rem;
}

.num-13 {
  margin-top: 5.75rem;
}

.num-14 {
  margin-top: 4.65rem;
}

.num-15 {
  margin-top: 5.7rem;
}

.num-16 {
  margin-top: 4rem;
}

.num-17 {
  margin-top: 4.22rem;
}

.num-18 {
  margin-top: 2.27rem;
}

.num-19 {
  margin-top: 3rem;
}

.num-20 {
  margin-top: 4.51rem;
}

.num-21 {
  margin-top: 6.35rem;
}

.num-22 {
  margin-top: 5.15rem;
}

/* センター線 */

.border {
  position: relative;
  margin: 0 auto;
  display: block;
  width: 0.1rem;
  background: var(--color-light);
}

.border::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-light);
}

.border-01 {
  margin-top: 5.4rem;
  height: 34rem
}

.border-02 {
  margin-top: 4.75rem;
  height: 50rem;
}

.border-03 {
  margin-top: 3.215rem;
  height: 26rem;
}

.border-04 {
  margin-top: 4.45rem;
  height: 18rem;
}

.border-05 {
  margin-top: 3.85rem;
  height: 41rem;
}

.border-06 {
  margin-top: 4.45rem;
  height: 21rem;
}

.border-07 {
  margin-top: 4.45rem;
  height: 31rem;
}

.border-08 {
  margin-top: 6.8rem;
  height: 9rem;
}

.border-09 {
  margin-top: 2.56rem;
  height: 28rem;
}

.border-10 {
  margin-top: 5.95rem;
  height: 32.6rem;
}

.border-11 {
  margin-top: 5.95rem;
  height: 27.6rem;
}

.border-12 {
  margin-top: 5.55rem;
  height: 9rem;
}

.border-13 {
  margin-top: 3.34rem;
  height: 6rem;
}

.border-14 {
  margin-top: 5.45rem;
  height: 5.92rem;
}

.border-15 {
  margin-top: 3.55rem;
  height: 10rem;
}

.border-16 {
  margin-top: 8.65rem;
  height: 30rem;
}

.border-17 {
  margin-top: 4.78rem;
  height: 8.88rem;
}

.border-18 {
  margin-top: 4.88rem;
  height: 5.92rem;
}

.border-19 {
  margin-top: 5.17rem;
  height: 23.69rem;
}

.border-20 {
  margin-top: 4.45rem;
  height: 8.88rem;
}

.border-21 {
  margin-top: 4.65rem;
  height: 18.7rem;
}

.border-22 {
  margin-top: 4.81rem;
  height: 8.88rem;
}

.border-23 {
  margin-top: 4.44rem;
  height: 63rem;
}

@media screen and (max-width:750px) {
  .history__layout::after {
    top: 0;
    background: linear-gradient(180deg, #CAE6F4 0%, #3F93BC 48.08%, #171C61 96.63%);
    width: 1.2rem;
    height: 120%;
  }

  .history__inner {
    padding-bottom: 29rem;
  }

  .history__block {
    grid-template-columns: 1fr 4.3rem 1fr;
    gap: 0.9rem;
  }

  /* 1980年代 */
  .history__block:nth-child(1) .history__left,
  .history__block:nth-child(1) .history__right {
    padding-top: 21.4rem;
  }

  .history__block:nth-child(1) .history__left .history__item:nth-child(2) {
    padding-top: 5.8rem;
  }

  .history__block:nth-child(1) .history__right .history__item:nth-child(2) {
    padding-top: 8.6rem;
  }

  .history__block:nth-child(1) .history__right .history__item:nth-child(3) {
    padding-top: 8.6rem;
  }

  /* 1990年代 */
  .history__block:nth-child(2) {
    margin-top: 4rem;
  }

  .history__block:nth-child(2) .history__left {
    padding-top: 14rem;
  }

  .history__block:nth-child(2) .history__right {
    padding-top: 14rem;
  }

  .history__block:nth-child(2) .history__right .history__item:nth-child(3) {
    padding-top: 5rem;
  }


  /* 2000年代 */
  .history__block:nth-child(3) {
    margin-top: -29rem;
  }

  .history__block:nth-child(3) .history__left {
    padding-top: 19.2rem;
  }

  .history__block:nth-child(3) .history__left .history__item:nth-child(2) {
    padding-top: 4.6rem;
  }

  .history__block:nth-child(3) .history__left .history__item:nth-child(3) {
    padding-top: 10.6rem;
  }

  .history__block:nth-child(3) .history__left .history__item:nth-child(4) {
    padding-top: 5rem;

  }

  .history__block:nth-child(3) .history__left .history__item:nth-child(5) {
    padding-top: 6.6rem;

  }

  .history__block:nth-child(3) .history__left .history__item:nth-child(6) {
    padding-top: 83.2rem;

  }

  .history__block:nth-child(3) .history__left .history__item:nth-child(7) {
    padding-top: 5.6rem;

  }

  .history__block:nth-child(3) .history__right {
    padding-top: 51.8rem;
  }

  .history__block:nth-child(3) .history__right .history__item:nth-child(2) {
    padding-top: 6.6rem;
  }

  .history__block:nth-child(3) .history__right .history__item:nth-child(3) {
    padding-top: 24.5rem;
  }

  .history__block:nth-child(3) .history__right .history__item:nth-child(4) {
    padding-top: 6rem;
  }

  .history__block:nth-child(3) .history__right .history__item:nth-child(5) {
    padding-top: 6.6rem;
  }

  .history__block:nth-child(3) .history__right .history__item:nth-child(6) {
    padding-top: 6.6rem;
  }

  .history__block:nth-child(3) .history__right .history__item:nth-child(7) {
    padding-top: 6rem;
  }

  .history__block:nth-child(3) .history__right .history__item:nth-child(8) {
    padding-top: 5.6rem;
  }

  .history__block:nth-child(3) .history__right .history__item:nth-child(9) {
    padding-top: 12.3rem;
  }

  /* 2010年代 */
  .history__block:nth-child(4) {
    margin-top: 5.9rem;
  }

  .history__block:nth-child(4) .history__left {
    padding-top: 26.6rem;
  }

  .history__block:nth-child(4) .history__left .history__item:nth-child(2) {
    padding-top: 41rem;
  }

  .history__block:nth-child(4) .history__left .history__item:nth-child(4) {
    padding-top: 39.6rem;
  }


  .history__block:nth-child(4) .history__left .history__item:nth-child(6) {
    padding-top: 21rem;
  }

  .history__block:nth-child(4) .history__right .history__item:nth-child(2) {
    padding-top: 8.6rem;
  }

  .history__block:nth-child(4) .history__right .history__item:nth-child(3) {
    padding-top: 6rem;
  }

  .history__block:nth-child(4) .history__right .history__item:nth-child(4) {
    padding-top: 12.6rem;
  }

  .history__block:nth-child(4) .history__right .history__item:nth-child(5) {
    padding-top: 4.6rem;
  }

  .history__block:nth-child(4) .history__right .history__item:nth-child(6) {
    padding-top: 2.2rem;
  }

  .history__block:nth-child(4) .history__right .history__item:nth-child(7) {
    padding-top: 26rem;
  }

  .history__block:nth-child(4) .history__right .history__item:nth-child(8) {
    padding-top: 6rem;
  }

  .history__block:nth-child(4) .history__right .history__item:nth-child(9) {
    padding-top: 6.6rem;
  }

  .history__block:nth-child(4) .history__right .history__item:nth-child(10) {
    padding-top: 4.6rem;
  }

  .history__block:nth-child(4) .history__right .history__item:nth-child(11) {
    padding-top: 8rem;
  }

  .history__block:nth-child(4) .history__right .history__item:nth-child(12) {
    padding-top: 6rem;
  }

  .history__block:nth-child(4) .history__right .history__item:nth-child(13) {
    padding-top: 5rem;
  }

  .history__block:nth-child(4) .history__right .history__item:nth-child(14) {
    padding-top: 5.4rem;
  }

  /* 2020年代 */
  .history__block:nth-child(5) {
    margin-top: 4.9rem;
  }

  .history__block:nth-child(5) .history__left {
    padding-top: 37.7rem;
  }

  .history__block:nth-child(5) .history__left .history__item:nth-child(2) {
    padding-top: 26rem;
  }

  .history__block:nth-child(5) .history__right {
    padding-top: 15.3rem;
  }

  .history__block:nth-child(5) .history__right .history__item:nth-child(2) {
    padding-top: 31.6rem;
  }

  .history__center {
    display: flex;
    width: 4.3rem;
    flex-direction: column;
    align-items: center;
  }

  .history__center::after {
    content: "";
    top: 0;
    background: linear-gradient(180deg, #CAE6F4 0%, #3F93BC 48.08%, #171C61 96.63%)
  }

  .era__circle {
    position: relative;
    width: 11.8rem;
  }

  .circle-01 {
    margin-top: 5.7rem;
  }

  .circle-03 {
    margin-left: -20rem;
  }

  .circle-04 {
    margin-left: -20rem;
  }

  .border {
    display: none
  }

  .era__num {
    position: relative;
    margin: 0;
    width: 4.3rem;
  }

  .num-01 {
    margin-top: 98.76rem;
    width: 4.3rem;
  }

  .num-02 {
    margin-top: 57rem;
  }

  .num-03 {
    margin-top: 7.2rem;
  }

  .num-04 {
    margin-top: 28.5rem;
  }

  .num-05-1 {
    margin-top: 41.5rem;
  }

  .num-05-2 {
    margin-top: 34.5rem;
  }

  .num-05-3 {
    margin-top: 48rem;
  }

  .num-06 {
    margin-top: 20rem;
  }

  .num-07 {
    margin-top: 50rem;
  }

  .num-08 {
    margin-top: 21.5rem;
  }

  .num-09 {
    margin-top: 14.5rem;
  }

  .num-10 {
    margin-top: 50.34rem;
  }

  .num-11 {
    margin-top: 15.43rem;
  }

  .num-12 {
    margin-top: 17rem;
  }

  .num-13 {
    margin-top: 17.75rem;
  }

  .num-14 {
    margin-top: 15.65rem;
  }

  .num-15 {
    margin-top: 59rem;
  }

  .num-16 {
    margin-top: 19rem;
  }

  .num-17 {
    margin-top: 15.8rem;
  }

  .num-18 {
    margin-top: 40.8rem;
  }

  .num-19 {
    margin-top: 3rem;
  }

  .num-20 {
    margin-top: 18.51rem;
  }

  .num-21 {
    margin-top: 19.2rem;
  }

  .num-22 {
    margin-top: 21.15rem;
  }

  .gap-large {
    gap: 18.6rem;
  }
}

/* 創業者 */
.founder {
  margin-top: 1rem;
  margin-bottom: 3rem;
  display: flex;
  gap: 2rem;
}

.founder__img img {
  width: 100%;
  height: auto;
  display: block;
  transition: .5s ease;
  cursor: pointer;
  ;
}

.founder__img img:hover {
  opacity: .5;
}

.founder__name {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  font-weight: 600;
  gap: 1rem;
  font-family: var(--font-strong)
}

.founder__name .large {
  font-size: 1.6rem;
  letter-spacing: .05rem;
}

.founder__name .small {
  font-size: 1.2rem;
  line-height: 1.66;
  letter-spacing: .06rem;
}

@media screen and (max-width:750px) {
  .history__text--large {
    font-size: 1.6rem;
    letter-spacing: .08rem;
  }

  .mt-nega-sp {
    margin-top: -1rem;
  }

  .founder {
    padding: 0 1.1rem;
    margin-top: 2em;
    margin-bottom: 2rem;
    flex-direction: column
  }

  .founder__name {
    margin-top: 1rem;
    gap: .2rem;
  }

  .founder__name .large {
    font-size: 1.1rem;
    letter-spacing: .05rem;
  }

  .founder__name .small {
    font-size: .9rem;
    line-height: 1.54;
    letter-spacing: .06rem;
  }
}


/* メッセージ */
.history__bottom {
  pointer-events: none;
  position: relative;
  z-index: 2;
  margin-top: -44rem;
  width: 100%;
  aspect-ratio: 288 / 265;
  background-image: url(../images/brand/bgHistoryBottom.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.history__bottom-title {
  padding-top: 20rem;
  color: var(--color-light);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: .13rem;
}

.history__bottom-text {
  color: var(--color-light);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.71;
  letter-spacing: .07rem;
}

@media screen and (max-width:750px) {
  .history__bottom {
    margin-top: -30rem;
    aspect-ratio: 13 / 18;
    background-image: url(../images/brand/bgHistoryBottomSp.webp);
    gap: 2rem;
  }

  .history__bottom-title {
    padding-top: 2rem;
    font-size: 1.6rem;
    line-height: 1.6;
    letter-spacing: .08rem;
  }

  .history__bottom-text {
    font-size: 1.2rem;
    line-height: 1.66;
    letter-spacing: .06rem;
  }
}

.academic__list {
  margin-top: 6rem;
}

.academic__item {
  padding: 2.2rem 0;
  display: flex;
  gap: 3rem;
  border-bottom: 1px solid rgba(74, 166, 231, .4);
}

.academic__meta {
  width: 6.5rem;
}

.academic__date {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5rem;
  letter-spacing: .08rem;
}

.academic__item-content {
  flex: 1;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.71;
  letter-spacing: .07rem;
}

.no-posts {
  text-align: center;
  padding: 8rem 0 4rem;
}

.page-navigation {
  margin-top: 6rem;
}

.page-navigation .wp-pagenavi {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.page-navigation .wp-pagenavi a,
.page-navigation .wp-pagenavi span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: .07rem;
  margin: 0 !important;
  padding: .5rem 0 0 !important;
  border: 1px solid #4AA6E7;
  transition: .3s ease;
}

.page-navigation .wp-pagenavi a:hover {
  background: #F2F8FD;
  border-color: transparent;
}

.wp-pagenavi span.current {
  background: #F2F8FD;
  border: none;
}

/* 学会情報モーダル*/
.modal-academic {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.modal-academic .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  /* クリック可能であることを明示 */
  cursor: pointer;
}

.modal-academic .modal-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.3;
  background: var(--color-main);
  mix-blend-mode: multiply;
}

.modal-academic .modal-content {
  position: relative;
  /* コンテンツ内部のクリックでモーダルが閉じないようにする */
  cursor: default;
  background: #F2F8FD;
}

.modal-academic .modal-contentInner {
  pointer-events: auto;
  background: #F2F8FD;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 6rem 7.5rem;
}

.modal-academic .modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: .5s ease;
}

.modal-academic .modal-close:hover {
  opacity: 0.7;
}

.modal-academic .modal-header h2 {
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: 0.13rem;
}

.modal-academic .modal-body {
  margin-top: 3rem;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.71;
  letter-spacing: 0.07rem;
}

.modal-academic .academic__item {
  transition: .5s ease;
  cursor: pointer;

}

.modal-academic .academic__item:hover {
  opacity: 0.5;
}

@media screen and (max-width:750px) {
  .academic .section__inner {
    padding: 6rem 3.1rem 9rem;
  }

  .academic__list {
    margin-top: 2rem;
  }

  .academic__item {
    padding: 1rem .4rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
  }

  .page-navigation {
    margin-top: 6rem;
  }

  .page-navigation .wp-pagenavi {
    gap: .8rem;
  }

  .page-navigation .wp-pagenavi a,
  .page-navigation .wp-pagenavi span {
    width: 3.2rem;
    height: 3.2rem;
    font-size: 1.2rem;
    letter-spacing: .06rem;
  }

  .modal-academic .modal-header h2 {
    font-size: 2rem;
    letter-spacing: 0.1rem;
  }

  .modal-academic .modal-contentInner {
    overflow-y: auto;
    padding: 4rem 2rem;
    max-height: 90dvh;
  }

}

.modal__overlay-brand {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(23, 28, 97, .3);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow-y: scroll;
  padding: 10rem 0;

  /* スクロールバーを非表示 */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* Internet Explorer and Edge */
}

/* WebKit系ブラウザ（Chrome, Safari等）でスクロールバーを非表示 */
.modal__overlay-brand::-webkit-scrollbar {
  display: none;
}

.modal__content-brand {
  position: relative;
  background-color: #F9F9F9;
  padding: 3.5rem 7.5rem;
  width: fit-content;
  height: fit-content;
  animation: fadeIn 0.5s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal__close {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
}

.modal__content-brand img {
  width: 100%;
  max-width: 600px;
  height: auto;
  max-height: 53.7rem;
}

@media screen and (max-width:750px) {
  .modal__overlay-brand {
    height: 105vh;
  }

  .modal__content-brand {
    padding: 2.4rem 2.1rem;
    width: calc(100% - 4rem);
    max-height: 50.5rem;
  }

  .modal__close {
    top: -2rem;
  }

  .modal__content-brand img {
    height: 100%;
    width: auto;
    max-height: 45.7rem;
    max-width: 100%;
  }
}