@charset "UTF-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
  box-sizing: border-box;
}
body {
  color: #333; /* RGB */
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 500;
  font-size: 1.6em;
  line-height: 2.4rem;
  text-align: center;
}
section h2 {
  font-size: 2.4rem;
}
a:hover {
  opacity: 0.5;
}
.none {
  display: none;
}
.fadeIn {
  opacity: 0;
  transition: 4.3s;
}
.fadeIn.is-show {
  opacity: 1;
}

/*== ボタン共通設定 */
.btn02 {
  /*背景の基点とするためrelativeを指定*/
  position: relative;
  margin: 40px auto 0;
  /*ボタンの形状*/
  display: inline-block;
  width: min(250px, 45%);
  height: 50px;
  line-height: 50px;
  text-align: center;
  outline: none;
  text-decoration: none;
  font-family: "ab-walk", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2rem
}
/*ボタン内側の設定*/
.btn02 span {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid #b3c5ad;
  /* 重なりを3Dで表示 */
  transform-style: preserve-3d;
  /* アニメーションの設定 数字が少なくなるほど早く回転 */
  transition: 0.5s;
  border-radius: 30px;
}
/*== くるっと回転（手前に） */
/* 回転前 */
.rotatefront span:nth-child(1) {
  background: #fff;
  color: #b3c5ad;
  transform: rotateX(0deg); /*はじめは回転なし*/
  transform-origin: 0 50% -25px; /* 回転する起点 */
}
/*hoverをした後の形状*/
.rotatefront:hover span:nth-child(1) {
  transform: rotateX(-90deg); /* X軸に-90度回転 */
}
/* 回転後 */
.rotatefront span:nth-child(2) {
  background: #b3c5ad;
  color: #fff;
  transform: rotateX(90deg); /*はじめはX軸に90度回転*/
  transform-origin: 0 50% -25px; /* 回転する起点 */
  border: 1px solid #fff;
}
/*hoverをした後の形状*/
.rotatefront:hover span:nth-child(2) {
  transform: rotateX(0deg); /* X軸に0度回転 */
}

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

#page-top a:hover{
  background: #777;
}

/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 40px;
  bottom:40px;
  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);
  }
}