@charset "utf-8";

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
img{
  vertical-align: bottom;
}
.header {
  max-width: 100%;
  height: 110px;
  margin-left: auto;
  margin-right: auto;
  background-image: url(./img/sikakuheader.png);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header h1 {
  padding-top: 25px;
  padding-left: 30px;
}

ul {
  list-style: none;
  display: flex;
}

li {
  color: #fff;
  padding: 30px;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-family: sans-serif;
  line-height: 2;
}
nav ul a:hover{
  color: rgb(253, 255, 139);
  }
  

.footernav {
  max-width: 100%;
  height: 350px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 30px;
  padding-right: 30px;
  background-image: url(./img/sikaku2.png);
}
.footernav ul {
  justify-content: center;
  align-items: center;
}
.footernav p {
  color: #fff;
  font-weight: bold;
  display: block;
  text-align: center;
}

.footer {
  display: flex;
  justify-content: space-between;
  padding: 30px;
}

.footer h2 {
  padding-left: 40px;
}
.footer ul {
  padding-right: 80px;
}
.footernav ul a:hover{
  color: rgb(253, 255, 139);
  }


/* ここからtopメイン↓ */

.top {
  background-color: #bfd6f5;
  text-align: center;
}

.top img {
  
  margin-top: 20px;
  margin-bottom: 20px;
  
}

video {
  width: 100%;
  height: auto;
  display: block;
}

.douga {
  width: 100%;
  position: initial;
  color: #29357d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.douga p {
  text-align: center;
}

.douga video {
  object-fit: cover;
  position: absolute;
  z-index: -1;
}

.douga img {
  padding-top: 80px;
  vertical-align: bottom;
}

.setumei {
  line-height: 3;
  padding-top: 40px;
}
.nami {
  width: 100%;
}
.ikimono {
  background: url(./img/nami-haikei.png) no-repeat;
  background-size: cover;
}
.box1 {
  position: relative;
  width: 100%;
}
.box1 h3 {
  position: absolute;
  top: 300px;
  left: 400px;
  text-align: center;
}
.douga h2 {
  padding-top: 50px;
}

.wa{
    width: 100%;
    display: flex;
    animation-name: fuwa;
    animation-duration: 15s;            /* アニメ全体の秒数 */
    animation-timing-function:linear;
    animation-iteration-count: infinite;
}

@keyframes fuwa {
    0%{
        translate: -100% -5%;
    }
    10%{
        translate: -90% 5%;
    }
    20%{
        translate: -80% -5%;              
    }           
    30%{
        translate: -70% 5%;              
    }
    40%{
        translate: -60% -5%;              
    }
    50%{
        translate: -50% 5%;              
    }
    60%{
        translate: -40% -5%;              
    }
    70%{
        translate: -30% 5%;              
    }
    80%{
        translate: -20% -5%;              
    }
    90%{
        translate: -10% 5%;              
    }
    100%{
        translate: 0% -5%;              
    }
}

