@charset "utf-8";

body{
  background-image: url(image2/haikei2.png);
  height: 100%;
  width: 100%;
  background-attachment: fixed;
}

header{
  display: flex;
  width: 100%;
  height: 50px;
  background-color: rgb(56, 200, 220);
}

.top{
    color: #ffffff;
    margin: 3.5%;
}

.main h1{
    position: absolute;
    text-align: center;
}

.main1 img{
    height: 100%;
    width: 100%;
}

.blur{
  animation-name:blurAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
}

@keyframes blurAnime{
  from {
  filter: blur(10px);
  transform: scale(1.02);
  }

  to {
  filter: blur(0);
  transform: scale(1);
  }
}

.box{
    width: 100%;
    height: 250%;
    background: #ffffff;
    position: absolute;
    opacity: 0.8;
}

.syoukai{
    position: relative;
    margin: 10%;
    text-align: center;
    z-index: 1;
    font-weight: bold;
}

.text{
    margin: 10%;
    position: relative;
    text-align: center;
    z-index: 1;
}

@keyframes infinity-scroll-left {
    from {
      transform: translateX(0);
    }
      to {
      transform: translateX(-100%);
    }
    }
    .scroll-infinity__wrap {
      display: flex;
      overflow: hidden;
    }
    .scroll-infinity__list {
      display: flex;
      list-style: none;
      padding: 0
    }
    .scroll-infinity__list--left {
      animation: infinity-scroll-left 80s infinite linear 0.5s both;
    }
    .scroll-infinity__item {
      width: calc(100vw / 6);
    }
    .scroll-infinity__item>img {
      width: 100%;
}

.jyugyou img{
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
    margin-top: 10%;
}

.jyugyou2{
  margin: 10%;
  position: relative;
  text-align: center;
  z-index: 1;
  background-color: rgb(56, 200, 220);
}

.jyugyou3{
  margin-bottom: 5%;
  position: relative;
  text-align: center;
  z-index: 1;
}

.scroll-infinity__wrap{
  margin-top: 20%;
  margin-bottom: 10%;
}

@keyframes infinity-scroll-left {
    from {
      transform: translateX(0);
    }
      to {
      transform: translateX(-100%);
    }
    }
    .scroll-infinity__wrap {
      display: flex;
      overflow: hidden;
    }
    .scroll-infinity__list {
      display: flex;
      list-style: none;
      padding: 0
    }
    .scroll-infinity__list--left {
      animation: infinity-scroll-left 80s infinite linear 0.5s both;
    }
    .scroll-infinity__item {
      width: calc(100vw / 6);
    }
    .scroll-infinity__item>img {
      width: 100%;
}

.d-grid{
    position: relative;
    margin: 20%;
}

footer {
    margin-top: 30%;
    width: 100%;
    height: 120px; 
    text-align: center;
    padding: 50px 0;
    background-color: rgb(56, 200, 220);
    position: relative;
}