@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;
  text-align: center;
  padding-block: 150px 180px;
}

.logo-s {
  margin: 50px auto;
  display: block;
  animation: fade-logo .5s ease-in-out;
}

@keyframes fade-logo {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

.logo-s img {
  display: block;
  max-width: 100%;
}

.explanation-head {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: bold;
}

.explanation-body {
  margin-top: 20px;
  margin-bottom: 50px;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: .05em;
}

.annotation {
  font-size: .9rem;
}

.new {
  margin-inline: auto;
  margin-bottom: 35px;
  letter-spacing: .05em;
  width: 60%;
}

.new dt {
  background: #679df6;
  border-radius: 5px;
  color: white;
  padding-block: 3px;
}

.new dd {
  margin: 0;
  margin-top: 10px;
  line-height: 1.6;
}

.news {
  font-size: .9rem;
  margin-bottom: 15px;
  letter-spacing: .05em;
}

.line {
  font-size: .9rem;
  letter-spacing: .05em;
}

.line a:hover {
  background-color: #eff0f0;
}

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;
}