@charset "UTF=8";

body {
  font-family: 'Zen Maru Gothic', serif;
  font-weight: 300;
  font-style: normal;
  font-size: 1rem;
  color: #333;
  background-color: #F3F3F3;
}

.inner {
  width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

img{
  height: 100%;
}

h1,h2,p{
  letter-spacing: 1px;
}


a{
  color: #333;
}

.ds_f {
  display: flex;
}

.jc_sb {
  justify-content: space-between;
}

.jc_sa{
  justify-content: space-around;
  align-items: center;
}

.jc_se {
  justify-content: space-evenly;
  align-items: flex-end;
}

.jc_sc {
  justify-content: center;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}


/*========= ページトップのためのCSS ===============*/

/*リンクの形状*/
#page-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #007f11;
  border-radius: 5px;
  width: 60px;
  height: 60px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.6rem;
  transition: all 0.3s;
}

#page-top a:hover {
  background: #4bf5d3;
}

/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 2;
  /*はじめは非表示*/
  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);
  }
}
