/* RESET */
* {
  margin: 0;
  padding: 0;
  border: 0;
}
/* BASIC */
html {
 scroll-behavior: smooth;
}
body {
  font: normal 18px/22px sans-serif;
  background-color: #e8ffe8;
  color: #2e2e2e;
}
h1, h2, h3 {
  font-family: sans-serif;
  font-weight: 600;
}
h1 {
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1.6em;
  }
h2 {
  font-size: 1.2em;
  line-height: 1.6em;
  margin-bottom: -20px;
}
h3 {
  font-size: 1.0em;
  font-weight: bold;
  line-height: 1.2em;
}

a:link, a:visited, a:hover, a:active {
  text-decoration: none;
}

hr {
 border-top: 1px solid #aaa;
}

.nomal {
font-size: 1.2em;
}
.bold {
font-size: 1.2em;
font-weight: bold;
}
.small {
font-size: 0.8em;
}
.mini {
font-size: 0.6em;
}

/* LAYOUT */
.fixed-nav-bar {
  box-shadow: 0px 0px 3px 0px rgba(50, 50, 50, 0.6);
}

.eighty {
width: 80vw;
}
.forty {
width: 40vw;
}

.center {
text-align: center;
align-items: center;
justify-content: center;
}
.right {
text-align: right;
align-items: right;
}
.anchor {
padding-top:50px;
margin-top:-50px;
}

img.mid {
vertical-align: middle
}

span.nbr {
white-space: nowrap;
}

/* スマホ用 */
@media screen and (max-width: 767px) {
 p {
   margin: 1.5em 2vw;
   text-align:left;
 }
.lbox {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
 }
.rbox {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
 }
 .exbox {
  display: flex;
  flex-direction: column;
  align-items: center;
 }
}

/* PC用 */
@media screen and (min-width: 768px) {
 p {
   margin: 1.5em 10vw;
   text-align:left;
 }
 
 .lbox {
  display: flex;
  justyify-content: flex-start;
  flex-wrap: nowrap;
 }
 .rbox {
  display: flex;
  flex-direction: row-reverse; 
  justyify-content: flex-end;
  flex-wrap: nowrap;
 }
}

/* アニメ */
.poyoyon {
  animation: poyoyon 3s cubic-bezier(0.12, 0, 0.39, 0) infinite alternate forwards;
}
 
@keyframes poyoyon {
  0% {
    transform: translate(70px,-140px);
    opacity: 0;
  }
  40% {
    transform: translate(0,0);
  }
  52% {
    transform: translate(10px,-30px);
  }
  80% {
    transform: translate(0,0);
  }
  100% {
    transform: translate(0,0);
  }
  20%,100% {
    opacity: 1;
  }
}