/* original style css 2311 */

html {
  font-size: 62.5%;
}

html, body {
  background: #FEFFF8;
  font-family: 'Poppins', sans-serif;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  color: #4B682E;
  display: flex;
  flex-direction: column;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.1rem;
}

@media screen and (max-width: 768px){
  body {
    font-size: 1.6rem;
  }
}

h1, h2, h3, h4, h5 {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  color: #8DBA30;
}

.main {
  width: 100%;
  height: 95vh;
  position: relative;
  /*background: url(../img/main_image01.jpg) no-repeat left top;
  background-size: cover;*/
}

.member-btn {
  position: absolute;
  top: 2rem;
  right:2rem;
  z-index: 5;
}

.service-name {
  position: absolute;
  top: calc(50% - 10rem);
  left: 3rem;
  z-index: 2;
}

.service-name img {
  height: 20rem;
}

.white-paper {
  position: absolute;
  bottom: 20px;
  left: calc(40% - 1rem);
  z-index: 2;
}


.section {
  width: 100%;
  position: relative;
  margin: 20rem 0;
}

.section-s {
  margin: 10rem 0;
}

.section-inner {
  margin: 0 10rem;
}

.section-inner-nm {
  margin: 0;
}

.section-inner-td {
  padding: 5rem 0;
}

@media screen and (max-width: 768px){
  .section {
    margin: 10rem 0;
  }
  .member-btn {
    right: 13%;
  }
  
  .service-name {
    left: 1rem;
  }
  
  .service-name img {
    height: 12rem;
  }
  
  .white-paper {
    left: 1rem;
  }
  .section-inner {
    margin: 0 2rem;
  }
}

.section-title {
  font-size: 6rem;
  letter-spacing: -0.1rem;
  position: relative;
  display: inline-block;
  padding-left: 70px;
}

.section-title::before {
  position: absolute;
  content: '';
  background: #F6B827;
  top: calc(50% - 3px);
  left: 0;
  width: 50px;
  height: 5px;
}

.section-title-center {
  font-size: 6rem;
  letter-spacing: -0.1rem;
  position: relative;
  text-align: center;
  padding-top: 30px;
}

.section-title-center::after {
  position: absolute;
  content: '';
  background: #F6B827;
  top: 0;
  left: calc(50% - 30px);;
  width: 50px;
  height: 5px;
  border-radius: 3px;
}

.section-title-top {
  font-size: 6rem;
  letter-spacing: -0.1rem;
  position: relative;
  padding-top: 30px;
  padding-left: 100px;
}

.section-title-top::before {
  position: absolute;
  content: '';
  background: #F6B827;
  top: 0;
  left: 0;
  width: 50px;
  height: 5px;
  border-radius: 3px;
}

.section-title-wc {
  font-size: 6rem;
  letter-spacing: -0.1rem;
  position: relative;
  padding-top: 100px;
  text-align: center;
  color: #fff;
}

.section-title-wc span {
  background:linear-gradient(#F87D08 0%, #F87D08 100%);
}

.section-title-or {
  font-size: 6rem;
  letter-spacing: -0.2rem;
  position: relative;
  color: #F87D08
}

.section-title-rwa {
  font-size: 7rem;
  letter-spacing: -0.2rem;
  position: relative;
  padding-top: 30px;
}

.section-title-rwa::before {
  position: absolute;
  content: '';
  background: #F6B827;
  top: 0;
  left: ;
  width: 100px;
  height: 10px;
  border-radius: 3px;
}

.section-title-support {
  font-size: 7rem;
  letter-spacing: -0.2rem;
  position: relative;
  padding-top: 30px;
  color: #fff;
}

.section-title-support::before {
  position: absolute;
  content: '';
  background: #F87D08;
  top: 0;
  left: ;
  width: 100px;
  height: 10px;
  border-radius: 3px;
}


.section-side {
  position: absolute;
  top: 0;
  left: 0;
  background: #4B682E;
  border-bottom: 3px solid #F6B827;
  width: 50px;
  height: 400px;
  color: #fff;
}

.section-side-right {
  background: #BBD54C;
}

.section-side-right {
  position: absolute;
  top: 0;
  right: 0;
  background: #BBD54C;
  border-bottom: 3px solid #F6B827;
  width: 50px;
  height: 400px;
  color: #fff;
}

.section-side-dark {
  background: #4B682E;
}

.section-side-d {
  top: 50px;
}

.vertical-box {
  position: absolute;
  left: 10px;
  padding-top: 3rem;
  font-size: 1.4rem;
}
.vertical {
  writing-mode: vertical-rl;
  font-weight: 200;
  letter-spacing: 0.2rem;
}

.section-top {
  position: absolute;
  top: 0;
  right: 0;
  background: #4B682E;
  border-right: 8px solid #F6B827;
  width: 400px;
  height: 50px;
  color: #fff;
}

.section-top-text {
  font-weight: 200;
  letter-spacing: 0.2rem;
  line-height: 50px;
  padding-left: 2rem;
  font-size: 1.4rem;
}

.text-box-l {
  width: 120rem;
  padding: 5rem 0 5rem 70px;
}

.text-box-m {
  padding: 5rem;
  line-height: 4rem;
}

.text-box {
  padding: 2rem;
  line-height: 4rem;
}

.photo-block-flex {
  display: flex;
  align-items: center;
  padding: 2rem 0 2rem 70px;
}

.photo-radius {
  border-radius: 30px;
}

.project-photo {
  height: 500px;
}

.project-photo:first-child {
  margin-right: 5rem;
}

.feature-block {
  width: 100%;
  height: 800px;
  position: relative;
  background: url(../img/featureback.jpg) no-repeat center center;
  background-size: cover;
  z-index: -1;
  margin-top: 5rem;
}

.feature-inner {
  position: absolute;
  top: 20%;
  right: 0;
  display: inline-block;
  width: 80%;
  padding: 3rem;
  z-index: 1;
  background: #fff;
}

@media screen and (max-width: 768px){
  .section-title, .section-title-center, .section-title-top, .section-title-wc {
    font-size: 4rem;
  }
  .section-title-top {
    padding-left: 50px;
  }
  .section-title-or, .section-title-rwa {
    font-size: 5rem;
  }
  .section-title-support {
    font-size: 5rem;
  }
  .section-title::before{
    top:0;
  }
  .section-inner-sp {
    padding-top: 10rem;
  }
  .text-box-l {
    width: 100%;
  }
  .photo-block-flex{
    flex-direction: column;
    padding: 2rem 0;
  }
  .project-photo {
    height: 300px;
  }
  .project-photo:first-child {
    margin-right: 0;
    margin-top: -3rem;
    margin-bottom: 3rem;
  }
  
  .text-box-m {
    padding: 5rem 3rem;
    line-height: 3rem;
  }
  .text-box {
    padding: 2rem;
    line-height:normal;
  }
  .feature-block {
    height: 1300px;
  }
  .feature-inner {
    top: 5%;
    padding: 3rem 2rem;
  }
}

.platform-text {
  padding: 5rem 5rem 5rem 100px;
  line-height: 4rem;
}

.platform-content {
  padding-left: 100px;
  display: flex;
  justify-content: space-between;
}

.platform-photo-box {
  position: relative;
  
}

.platform-photo {
  width: 600px;
  height: 400px;
  position: absolute;
  right: -50px;
  z-index: -1;
}

.platform-photo-s {
  width: 400px;
  height: 400px;
  position: absolute;
  bottom: 100px;
  right: -50px;
  z-index: -1;
}

.platform-photo img, .platform-photo-s img {
  border-radius: 50vh;
}

.platform-flex {
  display: flex;
  margin: 5rem 0;
  flex-flow: wrap;
  width: 1000px;
}

.platform-block {
  position: relative;
  background: rgba(187, 213, 76, 0.1);
  border-radius: 20px;
  padding: 3rem;
  margin: 3rem;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  flex-direction: column;
  flex-grow: 1;
}

.platform-no {
  position: absolute;
  top:10px;
  left:20px;
  color: #BBD54C;
  font-size: 6rem;
}

.platform-icon {
  display: inline-block;
  height: 180px;
}

.platform-icon img {
  width: 150px;
}

.platform-block p {
  font-size: 1.6rem;
}
@media screen and (max-width: 768px){
  .platform-text {
    padding: 5rem;
    line-height: normal
  }
  .platform-content {
    padding-left: 0;
    display: flex;
    justify-content: space-between;
  }
  .platform-photo {
    z-index: -1;
  }
  .platform-flex {
    width: 100%;
  }
  
  .platform-block {
    background: rgba(187, 213, 76, 0.9);
  }
  .platform-no {
    color: #fff;
  }
}

.section-dao {
  width: 100%;
  height: 1000px;
  position: relative;
  background: url(../img/dao_back.jpg) no-repeat center center;
  background-size: cover;
  z-index: -1;
}

.section-top-c {
  background: #BBD54C;
  border-bottom: 4px solid #F6B827;
  width: 400px;
  height: 50px;
  color: #fff;
  margin: 0 auto;
  text-align: center;
}

.dao-icon {
  display: flex;
  justify-content: center;
  margin: 5rem 0;
}

.dao-icon img {
  width: 200px;
}

.dao-text {
  color: #fff;
  line-height: 4rem;
  width: 1000px;
  margin: 0 auto;
}

.token-photo img {
  width: 500px;
}

.token-text {
  padding: 5rem;
  line-height: 4rem;
  width: calc(100% - 500px);
}

.token-text-sec {
  padding: 0 0 5rem 0;
}
@media screen and (max-width: 768px){
  .dao-text {
    line-height: normal;
    width: calc(100% - 4rem);
    margin: 0 2rem;
    word-break: break-all;
  }
  .token-text {
    width: calc(100% - 2rem);
    padding: 5rem 1rem;
    line-height: normal;
    word-break: normal;
  }
  .token-text-sec {
     width: calc(100% - 2rem);
    padding: 2rem 1rem;
  }
}

.worker-content {
  width: 90%;
  border-radius: 0 30px 0 0;
  background: #4B682E;
  position: relative;
}

.worker-text {
  color: #fff;
  line-height: 4rem;
  width: 1000px;
  padding: 5rem 0 5rem 100px;
  z-index: 5;
}

.worker-photo {
  position: absolute;
  right : -100px;
  bottom: -50px;
}

.worker-photo img {
  width: 600px;
}

@media screen and (max-width: 768px){
  .worker-content {
    width: 95%;
    height: 1200px;
  }
  .worker-text {
    line-height: normal;
    width: 100%;
    padding: 5rem 0 5rem 70px;
  }
  
  .worker-photo {
    position:static;
    display: block;
  }
  
  .worker-photo img {
    width: 350px;
  }
}

.future-text {
  width: 150rem;
  padding: 5rem 5rem 0 100px;
  line-height: 4rem;
}

.future-photo-block {
  background: linear-gradient(180deg,
  transparent 0%,
  transparent 50%,
  #BBD54C 50%,
  #8DBA30 100%);
}

.furture-photo-inner {
  display: flex;
  justify-content:space-between;
  margin: 5rem 0 5rem 100px;
  width: 150rem;
}

.furture-photo-inner img {
  width: 400px;
  margin: 0 3rem 5rem;
}
@media screen and (max-width: 768px){
  .future-text {
    width: 100%;
    padding: 5rem 5rem 0 40px;
    line-height: normal;
  }
  .future-photo-block {
    background: linear-gradient(190deg,
    transparent 0%,
    transparent 50%,
    #BBD54C 10%,
    #8DBA30 100%);
  }
  
  .furture-photo-inner {
    margin: 5rem 0;
    flex-flow: wrap;
    width: 100%;
  }
  .furture-photo-inner img {
    width: 350px
  }
}

.section-rwa {
  margin-bottom: 0;
}

.rwa-inner {
  width: 150rem;
  margin: 0 auto;
}

.rwa-text {
  padding: 5rem 0;
  line-height: 4rem;
}

.rwa-photo {
  display: flex;
}

@media screen and (max-width: 768px){
  .rwa-inner {
    width: 100%;
    padding: 3rem 2rem;
  }
  
  .rwa-text {
    line-height: normal;
  }
  .rwa-photo {
    flex-direction:column;
  }
}

.section-support {
  margin-top: 0;
  margin-bottom: 0;
}

.support-inner {
  width: 150rem;
  margin: 0 auto;
}

.support-in {
  padding: 20rem 0;
  background: background: rgb(246,184,39);
  background: linear-gradient(180deg, rgba(246,184,39,1) 0%, rgba(252,124,0,1) 100%);
}

.support-text {
  color: #fff;
  line-height: 4rem;
  width: 1200px;
  margin: 5rem auto;
}

@media screen and (max-width: 768px){
  .support-inner {
    width: 100%;
    padding: 3rem 2rem;
  }
  
  .support-in {
    padding: 15rem 0;
  }
  
  .support-text {
    width: 100%;
    line-height: normal;
  }
}

.support-info {
  margin: 3rem 0;
  padding: 3rem 0;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.support-info-text {
  font-size: 1.6rem;
  color: #fff;
}

.block-flex {
  display: flex;
  align-items: center;
}

.m-td {
  margin: 5rem 0;
}

.text-large {
  font-size: 2.4rem;
}

@media screen and (max-width: 768px){
  .support-info {
    flex-direction: column;
  }
  .support-info-text{
    font-size: 1.2rem;
    padding: 1rem;
  }
  .text-large {
    font-size: 1.8rem;
    word-break: break-all;
  }
  .block-flex {
    flex-direction: column;
  }
}

.button{
  background-color:#F6B827;/*ch*/
  border:transparent;/*ch*/
  border-radius:50vh;/*ch*/
  color:#fff;
  cursor:pointer;
  display:inline-block;
  font-size:1.8rem;/*ch*/
  font-weight:400;/*ch*/
  height:6rem;/*ch*/
  letter-spacing:.2rem;/*ch*/
  line-height:6rem;/*ch*/
  padding:0 5.0rem;
  text-align:center;
  text-decoration:none;
  text-transform:uppercase;
  white-space:nowrap;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.button span.material-icons {
  margin-right: 2rem;
  margin-top: -0.5rem;
  font-size: 28px;
  display: inline-flex;
  vertical-align: middle;
  padding: 0;
}

.button:focus,.button:hover,button:focus,button:hover{
  background-color:#BBD54C;
  border-color:#BBD54C;
  color:#fff;
  outline:0
}

.button-allow a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 0 auto;
  padding: 1em 2em;
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  background-color: #CE0000;
  transition: 0.3s;
  border-radius:50vh;/*ch*/
  width: 600px;
}

.button-allow a::before {
  content: '';
  position: absolute;
  top: calc(50% - 2px);
  right: 1em;
  transform: translateY(calc(-50% - 2px)) rotate(30deg);
  width: 12px;
  height: 2px;
  background-color: #fff;
  transition: 0.3s;
}

.button-allow a::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  width: 70px;
  height: 2px;
  background-color: #fff;
  transition: 0.3s;
}

@media screen and (max-width: 768px){
  .button-allow a {
    font-size: 2rem;
    width: 100%;
    flex-direction: column;
  }
  .button-allow a::before, .button-allow a::after {
    top: 80%;
  }
}

.button-allow a:hover {
  text-decoration: none;
  background-color: #BBD54C;
  color: #4B682E;
}

.button-allow a:hover::before,
.button-allow a:hover::after {
  right: 0.5em;
}

.button-allow-m a {
  width: 400px;
  font-size: 2.4rem;
  background: #F87D08;
}

.color-base {
  color: #4B682E;
}

.color-rgreen {
  color: #8DBA30;
}

.color-white {
  color: #fff;
}

a {
  text-decoration: none;
  color: #7F7973;
}

a:hover {
  color: #99948f;
}


.footer {
  padding: 5rem 0;
  background: #4B682E;
  color: #fff;
}

.footer-name {
  padding: 2rem;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
}

.footer-menu {
  list-style: none;
  display: flex;
  margin: 0;
}

.footer-menu li a {
  color: #fff;
  font-size: 1.4rem;
  padding: 0 1rem;
}

.footer-menu li a:hover {
  color: #f87d08;
}

.copyright {
  text-align: right;
  padding: 2rem;
  font-size: 1.4rem;
}

/*==================================================
スライダーのためのcss
===================================*/
.slider {
  position:relative;
  z-index: 1;
  /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
  height: 100vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
  margin: 0;
  padding: 0;
}
/*　背景画像設定　*/

.slider-item01 {
    background:url(../img/main_image01.jpg);
}

.slider-item02 {
    background:url(../img/main_image02.jpg);
}

.slider-item03 {
    background:url(../img/main_image03.jpg);
}

.slider-item {
  width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
  height:100vh;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
  background-repeat: no-repeat;/*背景画像をリピートしない*/
  background-position: center;/*背景画像の位置を中央に*/
  background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
    position: absolute;/*絶対配置にする*/
    z-index: 3;
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #ccc;/*矢印の色*/
    border-right: 2px solid #ccc;/*矢印の色*/
    height: 25px;
    width: 25px;
}

.slick-prev {/*戻る矢印の位置と形状*/
    left:2.5%;
    transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right:2.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
  position: relative;
  z-index: 3;
  text-align:center;
  margin:-50px 0 0 0;
}

.slick-dots li {
  display:inline-block;
  margin:0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width:8px;/*ドットボタンのサイズ*/
    height:8px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#ccc;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
    background:#333;/*ドットボタンの現在地表示の色*/
}

/*==================================================
ふわっ
===================================*/

/* その場で */
.fadeIn{
animation-name:fadeInAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeInAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* 下から */

.fadeUp{
animation-name:fadeUpAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/* 上から */

.fadeDown{
animation-name:fadeDownAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeDownAnime{
  from {
    opacity: 0;
  transform: translateY(-100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/* 左から */

.fadeLeft{
animation-name:fadeLeftAnime;
animation-duration:0.8s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeLeftAnime{
  from {
    opacity: 0;
  transform: translateX(-100px);
  }

  to {
    opacity: 1;
  transform: translateX(0);
  }
}

/* 右から */

.fadeRight{
animation-name:fadeRightAnime;
animation-duration:0.8s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeRightAnime{
  from {
    opacity: 0;
  transform: translateX(100px);
  }

  to {
    opacity: 1;
  transform: translateX(0);
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.fadeInTrigger,
.fadeUpTrigger,
.fadeDownTrigger,
.fadeLeftTrigger,
.fadeRightTrigger{
    opacity: 0;
}

/*==================================================
ボンッ
===================================*/

/* 拡大 */
.zoomIn{
  animation-name:zoomInAnime;
  animation-duration:0.8s;
  animation-fill-mode:forwards;
}

@keyframes zoomInAnime{
  from {
  transform: scale(0.6);
  }

  to {
      transform: scale(1);
  }
}

/*==================================================
パタッ
===================================*/


/* 下へ */
.flipDown{
animation-name:flipDownAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes flipDownAnime{
  from {
    transform: perspective(2500px) rotateX(100deg);
  opacity: 0;
  }

  to {
    transform: perspective(2500px) rotateX(0);
  opacity: 1;
  }
}


/* 左へ */
.flipLeft{
animation-name:flipLeftAnime;
animation-duration:1s;
animation-fill-mode:forwards;
perspective-origin:left center;
opacity:0;
}

@keyframes flipLeftAnime{
  from {
   transform: perspective(600px) translate3d(0, 0, 0) rotateY(30deg);
  opacity: 0;
  }

  to {
  transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
  opacity: 1;
  }
}


/*==================================================
シャッ（背景色が伸びて出現）
===================================*/

/*背景色が伸びて出現（共通）*/
.bgextend{
  animation-name:bgextendAnimeBase;
  animation-duration:1s;
  animation-fill-mode:forwards;
  position: relative;
  overflow: hidden;/*　はみ出た色要素を隠す　*/
  opacity:0;
}

@keyframes bgextendAnimeBase{
  from {
    opacity:0;
  }

  to {
    opacity:1;
}
}

/*中の要素*/
.bgappear{
  animation-name:bgextendAnimeSecond;
  animation-duration:1s;
  animation-delay: 0.6s;
  animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes bgextendAnimeSecond{
  0% {
  opacity: 0;
  }
  100% {
  opacity: 1;
}
}

/*左から*/
.bgLRextend::before{
  animation-name:bgLRextendAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #2356A7;/*伸びる背景色の設定*/
}
@keyframes bgLRextendAnime{
  0% {
    transform-origin:left;
    transform:scaleX(0);
  }
  50% {
    transform-origin:left;
    transform:scaleX(1);
  }
  50.001% {
    transform-origin:right;
  }
  100% {
    transform-origin:right;
    transform:scaleX(0);
  }
}

/*右から*/
.bgRLextend::before{
  animation-name:bgRLextendAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #666;/*伸びる背景色の設定*/
}
@keyframes bgRLextendAnime{
  0% {
    transform-origin:right;
    transform:scaleX(0);
  }
  50% {
    transform-origin:right;
    transform:scaleX(1);
  }
  50.001% {
    transform-origin:left;
  }
  100% {
    transform-origin:left;
    transform:scaleX(0);
  }
}

/*下から*/
.bgDUextend::before{
  animation-name:bgDUextendAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #666;/*伸びる背景色の設定*/
}
@keyframes bgDUextendAnime{
  0% {
    transform-origin:bottom;
    transform:scaleY(0);
  }
  50% {
    transform-origin:bottom;
    transform:scaleY(1);
  }
  50.001% {
    transform-origin:top;
  }
  100% {
    transform-origin:top;
    transform:scaleY(0);
  }
}

/*上から*/
.bgUDextend::before{
  animation-name:bgUDextendAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #666;/*伸びる背景色の設定*/
}
@keyframes bgUDextendAnime{
  0% {
    transform-origin:top;
    transform:scaleY(0);
  }
  50% {
    transform-origin:top;
    transform:scaleY(1);
  }
  50.001% {
    transform-origin:bottom;
  }
  100% {
    transform-origin:bottom;
    transform:scaleY(0);
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgappearTrigger,
.bgUDextendTrigger,
.bgDUextendTrigger,
.bgRLextendTrigger,
.bgLRextendTrigger{
    opacity: 0;
}

.slide-in {
  overflow: hidden;
  display: inline-block;
}

.slide-in_inner {
  display: inline-block;

}

/*左右のアニメーション*/
.leftAnime{
  opacity: 0;/*事前に透過0にして消しておく*/
}

.slideAnimeLeftRight {
  animation-name:slideTextX100;
  animation-duration:1.5s;
  animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes slideTextX100 {
  from {
    transform: translateX(-100%); /*要素を左の枠外に移動*/
    opacity: 0;
  }

  to {
    transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}

.slideAnimeRightLeft {
  animation-name:slideTextX-100;
  animation-duration:0.8s;
  animation-fill-mode:forwards;
  opacity: 0;
}


@keyframes slideTextX-100 {
  from {
    transform: translateX(100%);/*要素を右の枠外に移動*/
    opacity: 0;
  }

  to {
    transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}

.eachTextAnime span{opacity: 0;}
.eachTextAnime.appeartext span{ animation:text_anime_on 1s ease-out forwards; }
@keyframes text_anime_on {
	0% {opacity:0;}
	100% {opacity:1;}
}