/* ページトップ機能(person,infoのみで使用) start ---------------*/
/*リンクの形状*/
#page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 3px;
    border-radius: 5px;
    text-decoration: none;
    background-color: green;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
  }
  
  #page-top a::before {
    content: "↑";
  }
  
  #page-top a:hover {
    opacity: 0.7;
    animation: all 0.3s;
  }
  
  /*リンクを右下に固定*/
  #page-top {
    position: fixed;
    right: 40px;
    bottom: 10px;
    z-index: 20;
    /*はじめは非表示*/
    opacity: 0;
    transform: translateY(100px);
  }
  
  /*　上に上がる動き　*/
  #page-top.UpMove {
    animation: UpAnime 0.5s forwards;
  }
  
  @keyframes UpAnime {
    from {
      opacity: 0;
      transform: translateY(100px);
    }
  
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /*　下に下がる動き　*/
  #page-top.DownMove {
    animation: DownAnime 0.5s forwards;
  }
  
  @keyframes DownAnime {
    from {
      opacity: 1;
      transform: translateY(0);
    }
  
    to {
      opacity: 1;
      transform: translateY(100px);
    }
  }