.logo_fadein{
	background: var(--main-gradation);
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 999;

  p{
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 9999;
    width: 20rem;
  }
}

@media (max-width: 767px){
  .logo_fadein p {
    width: 12rem;
  }
}
@media (max-width: 479px){
  .logo_fadein p {
    width: 8rem;
  }
}

#index{
  display: grid;
  height: clamp(48rem, 100vh, 60rem);

  h1{
    grid-column: 1;
    grid-row: 1;
    width: 20rem;
    z-index: 1;
    align-self: center;
    justify-self: center;
  }
}

@media (max-width: 767px){
  #index{
    h1{
      width: 12rem;
    }
  }
}
@media (max-width: 479px){
  #index{
    h1{
      width: 8rem;
    }
  }
}

.mv01{
  z-index: 0;
  grid-column: 1;
  grid-row: 1;
}

.splide-wrapper{
  display: grid;
  
  .screen,
  .multiply,
  .splide__track{
    height: clamp(48rem, 100vh, 60rem);
    grid-column: 1;
    grid-row: 1;
  }

}

.screen{
  z-index: 2;
  mix-blend-mode: screen;

  img{
    width: 100%;
    height: clamp(48rem, 100vh, 60rem);
    object-fit: cover;
    object-position: center;
  }
}
.multiply{
  z-index: 1;
  mix-blend-mode: multiply;

  img{
    width: 100%;
    height: clamp(48rem, 100vh, 60rem);
    object-fit: cover;
    object-position: center;
  }
}

.splide__track{
  z-index: 0;
}

/* slider */
.slide-media{
  position: relative;
  overflow: hidden;

  img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}



.splide {
  z-index: 0;
}

.mv01 .splide-fade .splide__slide {
  pointer-events: none;
}

.mv01 .splide__track--fade .splide__slide.is-active {
  pointer-events: auto;
}

.mv01 .splide__pagination {
  position: absolute;
  z-index: 10;
  top: 0;
  bottom: 0;
  left: 3.2rem;
  height: max-content;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.mv01 .splide__pagination__page {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.8s cubic-bezier(0.2, 1, 0.2, 1);
  background: rgba(var(--clear-color-opacity),.7);
}

.mv01 .splide__pagination>li:not(:first-child) {
  margin-top: 0.8rem;
}

.mv01 .splide__pagination__page.is-active {
  background-color: var(--text-color);
}

.mv01 .slide-media {
  height: clamp(48rem, 100vh, 60rem);
}

.mv01 .slide-media img {
  transition: 7s 1s ease-out;
}

.mv01 .slide-title {
  font-size: 2rem;
  line-height: 1.6;
  position: absolute;
  right: 5rem;
  bottom: 1.5rem;
  margin-left: 16rem;
  text-align: right;
  color: var(--clear-color);
  text-shadow: 
    -1px -1px 2px rgba(0,0,0,0.8),
    1px -1px 2px rgba(0,0,0,0.8),
    -1px  1px 2px rgba(0,0,0,0.8),
    1px  1px 2px rgba(0,0,0,0.8);
  font-weight: bold;
}

.mv01 .splide__slide[class*=-active] .slide-media img {
  transition-delay: 0s;
  transform: scale(1.2);
}

.mv01 .splide__slide[class*=-active] .slide-title {
  animation: mv01-fadeIn 2s 0.5s cubic-bezier(0.2, 1, 0.2, 1) both;
}

@keyframes mv01-fadeIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
    filter: blur(300px);
  }

  100% {
    transform: scale(1);
    opacity: 1;
    filter: blur(0);
  }
}
@media (max-width: 767px){
  .mv01 .slide-title {
    font-size: 1rem;
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    margin-left: 1rem;
    font-weight: normal;
  }
}

.topic{
  background: var(--sub-gradation);
  padding: 4rem 0;

  section{
    width: clamp(48rem, 90%, 68.75rem);
    margin: 0 auto;
    display: grid;
    gap: 4rem;
  }
  h2{
    margin: 0 auto;
    width: 8.5rem;
  }
}

.topic__list{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 3rem;

  li{
    background: var(--clear-color);
    border-radius: 1rem;
    overflow: hidden;

      figure{
        height: 12rem;
        overflow: hidden;

        img{
          width: 100%;
          height: 12rem;
          object-fit: cover;
        }
      }

      div{
        padding: 1.5rem;
        display: grid;
        gap: .75rem;

        p{
          text-align: justify;
        }
        .datatime{
          text-align: right;
        }
        a{
          color: var(--text-color);
          display: inline;
        }
      }
  }
}

.topic__btn{
  justify-self: center;
  background: var(--clear-color);
  padding: .5rem 1.5rem;
  border-radius: 2rem;
  font-size: 1.25rem;
  font-weight: bold;
  width: 30rem;

  a{
    color: var(--main-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  img{
    width: 1rem;
    height: 1rem;
    object-fit: cover;
    transition: 0.5s ease-in-out;
  }
  a:hover img{
    transform: rotate(90deg)
  }
}

@media (max-width: 767px){
  .topic section{
    width: 90%;
    gap: 3rem;
  }
  .topic__list{
    grid-template-columns: 1fr;
  }
  .topic__btn{
    font-size: 1.15rem;
    width: 20rem;
  }
}

.aboutus{
  padding: 6rem 0;
  position: relative;

  div{
    width: clamp(48rem, 90%, 68.75rem);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 10rem auto;
    gap: 5rem;
  }
  h2{
    width: 10rem;
  }
  h3{
    font-size: 1.6rem;
  }
  img{
    object-fit: cover;
  }
}

.aboutus__photo{
  position: absolute;
  left: calc((100% - 68.75rem)/2 + 15rem);
  top: 13rem;
  height: 30rem;

  img{
    width: calc(100vw - 15rem - max(0px, (100vw - 68.75rem)/2));
    height: 30rem;
    border-radius: 1rem 0 0 1rem;
    object-fit: cover;
  }
}

@media (max-width: 767px){
  .aboutus{
    position: static;

    div{
      width: 90%;
      grid-template-columns: auto;
      gap: 3rem;
    }
    h2{
      width: 80%;
    }
      h3{
      font-size: 1.2rem;
    }
  }

  .aboutus__photo{
    width: 90%;
    margin: 2rem auto 0;
    position: static;
    height: auto;

    img{
      width: 100%;
      height: auto;
      border-radius: 1rem;
      object-fit: cover;
    }
  }
}


.events{
  padding: 6rem 0;
  background: linear-gradient(0deg, rgba(173,216,230,1) 0%, rgba(59,141,168,1) 50%, var(--clear-color) 50%, var(--clear-color) 100%);
  display: grid;
  gap: 4rem;
}
.events__list{
  width: clamp(48rem, 90%, 68.75rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 4rem;

  li{
    background: var(--clear-color);
    border-radius: 1rem;
    overflow: hidden;

    a{
      color: var(--main-color);

      img{
        width: 100%;
        aspect-ratio: 3 / 2;
        object-fit: cover;
      }
      div{
        padding: 1.5rem;
        text-align: center;

          h3{
          font-size: 1.5rem;
        }
      }
    }
  }
}

@media (max-width: 767px){
  .events{
    background: var(--main-color);
  }
  .events__list{
    width: 90%;
    grid-template-columns: 1fr;
  }
}



#banner-slider{
  padding: 4rem 0 6rem;
  position: relative;

  .splide__slide{
      opacity: .5;
      transition: .7s;
      background: var(--accent-color);
      border-radius: 1rem;
      overflow: hidden;
  }
  .splide__slide.is-active{
      opacity: 1;
  }
  .splide__arrows{
      position: absolute;
      bottom: 1rem;
      left: 50%;
      transform: translate(-50%,-50%);
  }
  .banner-page{
      display: none;
  }
}
.splide__link{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-template-rows: 15rem;
  align-items: center;
  
  img {
      height: auto;
      width: 100%;
      height: 15rem;
      object-fit: cover;
  }
  span{
      color: var(--clear-color);
      text-align: center;
      display: block;
      font-size: 2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
  }
  span::after{
      content: "▲";
      font-size: 2rem;
      background-color: var(--clear-color);
      color: var(--accent-color);
      width: 3rem;
      height: 3rem;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      transition: .5s;
  }
  &:hover span::after{
      transform: rotate(90deg);
  }
}

.splide__arrows{
  .button {
      background-color: transparent;
      height: 30px;
      transition: .2s;
      width: 30px;
      border: none;

      &::before {
          background-repeat: no-repeat;
          background-size: contain;
          bottom: 0;
          content: "";
          height: 30px;
          left: 0;
          margin: auto;
          position: absolute;
          top: 0;
          width: 30px;
      }
  }
  .prev{
      transform: translate(-2.5rem,0);
  }
  .next{
      transform: translate(2.5rem,0);
  }
  .prev::before {
      background-image: url(../images/arrow-left.svg);
  }
  .next::before {
      background-image: url(../images/arrow-right.svg);
  }
}

@media (max-width: 768px) {
  .splide__link{
      grid-template-columns: 1fr;
      grid-template-rows: 10rem auto;

      img {
          height: 10rem;
          align-self: flex-start;
      }
      span{
          align-self: center;
          height: max-content;
          padding: 2rem;
          font-size: 1.5rem;
      }
      span::after{
          font-size: 1.5rem;
          width: 2rem;
          height: 2rem;
      }
  }
}
@media (max-width: 768px) {
  #banner-slider{
    display: none;
  }
}



.connection{
  background: rgba(173,216,230,.5);
  padding: 4rem 0 4rem;

  ul{
      width: clamp(48rem, 90%, 68.75rem);
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(2,1fr);
      gap: 3rem;

      li{
          border: 3px double var(--main-color);
          background: var(--clear-color);
          padding: 1rem 0;
          text-align: center;
      }
      a{
          color: var(--main-color);
      }
  }
}
@media (max-width: 768px) {
  .connection{
      padding: 2rem 0;
  
      ul{
          width: 90%;
          grid-template-columns: 1fr;
          gap: 2rem;
      }
  }
}
