@import url(sanitize.css);

*,
::before,
::after {
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  background-image: url(../bg.png);
  background-color: #FCFCFC;
}

h1 {
  margin: 0;
}

a {
  color: #222;
  text-decoration: underline #679df6 2px;
  text-underline-offset: 4px;
}

a:hover {
  background-color: #eff0f0;
}

.wrap {
  width: 1000px;
  height: 100%;
  margin: 0 auto;
  position: relative;
}

.shipicon {
  position: absolute;
  top: 45px;
  left: 70px;
  animation: shipicon_anime 2s linear infinite;
}

@keyframes shipicon_anime {
  0% {
    transform: rotate(0);
  }
  50% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0);
  }
}

.header {
  width: 1000px;
  height: 110px;
  background-color: #70D0FF;
  text-align: center;
  padding-top: 20px;
}

.main-nav {
  width: 1000px;
  height: 140px;
  background-image: url(../menu-bg.png);
  background-repeat: no-repeat;
}

ul.main-nav-ul {
  display: flex;
  justify-content: center;
  margin: 0;
  padding-top: 70px;
  padding-left: 0;
}

li.main-nav-li {
  list-style: none;
  margin: 0 30px;
  font-size: 1.3em;
  font-family: "Yomogi";
  color: #3a3a3a;
}

header a {
  text-decoration: none;
}

header a:hover {
  text-decoration: underline #679df6 2px;
  text-underline-offset: 4px;
  background: none;
}

.container {
  width: 1000px;
}

main {
  background-image: url(../bg-top.png), url(../bg-main.png);
  background-repeat: no-repeat, repeat-y;
  background-position: top, center 217px;
  padding-block: 150px 180px;
}

.logo-s {
  margin: 20px 0;
}

.explanation-head {
  margin-left: 170px;
  margin-top: 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: #555;
}

.explanation-body {
  margin: 20px 180px 50px;
  font-size: 0.9em;
  line-height: 1.7;
}

footer {
  background-image: url(../footer-bg.png);
  background-repeat: repeat-x;
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 130px;
  animation: footer-animation 15s linear infinite;
}

@keyframes footer-animation {
  0% {
    background-position-x: 0;
  }

  100% {
    background-position-x: 510px;
  }
}

.footer-nav {
  margin: 0 auto;
  width: 1000px;
}

.footer-nav a {
  color: #fff;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
  background: none;
}

ul.footer-nav-ul {
  display: flex;
  justify-content: center;
  margin: 0;
  padding-top: 60px;
}

li.footer-nav-li {
  list-style: none;
  margin: 0 20px;
  font-size: .9em;
  color: #fff;
}

.copyright {
  color: #fff;
  margin-top: 15px;
  text-align: center;
  font-size: 1em;
}