.pagetop {
  position: fixed;
  right: 10px;
  z-index: 2;
  opacity: 0;
  transform: translateY(100px);
}
.pagetop a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  color: #fff;
  background: #F57F29;
  border-radius: 50%;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
}
.pagetop a:hover {
  filter: brightness(1.2);
}
/*　上に上がる動き　*/
.pagetop.UpMove {
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*　下に下がる動き　*/
.pagetop.DownMove {
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(100px);
  }
}
.float {
  position: fixed;
  right: 0px;
  z-index: 2;
  opacity: 0;
  width: 65px;
  height: 211px;
  transform: translateY(100px);
}
.float a {
  position: relative;
  display: block;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
}
.float a::before {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translate(-50%, 0%);
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background-image: url("/img/common/icon_mail.webp");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 3;
}
.float a::after {
  position: absolute;
  z-index: 3;
  bottom: 7px;
  left: 50%;
  transform: translate(-50%, 0%);
  content: '\f0d7';
  font-family: FontAwesome;
  font-weight: 400;
  color: #fff;
  transition: all .5s;
}
.float a:hover::after {
  bottom: 4px;
}
.float a:hover {
  filter: brightness(1.2);
}
.float a p {
  position: absolute;
  z-index: 3;
  top: 53%;
  left: 50%;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-align: left;
  font-weight: 700;
  line-height: 1.4;
  font-size: 1.7rem;
}
.float a p span {
  position: relative;
}
.float a p span::before {
  position: absolute;
  top: 3px;
  left: 2px;
  content: '・';
}
.float.LeftMove {
  animation: LeftAnime 0.5s forwards;
}
@keyframes LeftAnime {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/*　右の動き　*/
.float.RightMove {
  animation: RightAnime 0.5s forwards;
}
@keyframes RightAnime {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 1;
    transform: translateX(100px);
  }
}
/* --------------------------------------------- */
/* ▼モバイルファースト (全環境に共通のデザイン) */
/* --------------------------------------------- */
.pagetop {
  display: none;
}
.float {
  display: none;
}
.f-bg {}
.footer {
  position: relative;
  width: 100%;
  background: #0071C1;
  color: #fff;
  padding: 3em 0 6em;
  border-radius: 20px 20px 0 0;
  margin: auto;
}
.footer_logo {
  width: 120px;
  margin: auto;
}
.footer ul {
  width: 90%;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 2.5em auto 0em;
  justify-content: space-between;
}
.footer ul li {
  width: 49%;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 1px;
}
.footer ul li a {
  color: #fff;
}
.f_pp {
  margin: 2.5em auto 0;
  font-size: 1.1rem;
}
.f_pp a {
  color: #fff;
  padding: 0 8px;
  border-right: 1px solid #fff;
  line-height: 1;
}
.f_pp a:last-child {
  border-right: none;
}
.sp_float {
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  position: fixed;
  left: 0;
  bottom: 0px;
  z-index: 2;
  opacity: 0;
  transform: translateY(100px);
  width: 100%;
  background: #fff;
}
/*　上に上がる動き　*/
.sp_float.spUpMove {
  animation: spUpAnime 0.5s forwards;
}
@keyframes spUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*　下に下がる動き　*/
.sp_float.spDownMove {
  animation: spDownAnime 0.5s forwards;
}
@keyframes spDownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(100px);
  }
}
.sp_float ul {
  width: 90%;
  margin: auto;
}
.sp_float ul li {
  width: 300px;
  margin: auto;
}
.sp_float a {
  position: relative;
  text-decoration: none;
  display: block;
  text-align: center;
  background: transparent;
  border-radius: 50px;
  outline: none;
  font-weight: bold;
  transition: all 0.2s ease;
}
.sp_float a::before {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 15px;
  transform: translate(0%, -50%);
  content: '\f0da';
  font-family: FontAwesome;
  font-weight: 400;
  color: #fff;
  transition: all .5s;
}
.sp_float a:hover::before {
  right: 10px;
}
.sp_float a div {
  display: inline-block;
  margin: 0px 3px 0px 0;
}
.sp_float a div img {
  width: 18px;
}
.sp_float a span {
  position: relative;
  z-index: 2;
  display: block;
  padding: 7px 0px;
  background: #3BAC00;
  border-radius: 50px;
  color: #fff;
  transition: all 0.3s ease;
}
/* ------------------------------------ */
/* ▼PC用デザインとして付け足すデザイン */
/* ------------------------------------ */
@media all and (min-width: 768px) {
  .pagetop {
    display: block;
  }
  .float {
    display: block;
  }
  .footer {
    padding: 5em 0 3em;
  }
  .footer_logo {
    width: 200px;
    margin: 0 auto;
  }
  .footer ul {
    width: 100%;
    margin: 3em auto 0em;
    justify-content: center;
  }
  .footer ul li {
    width: auto;
    font-size: 1.5rem;
    margin: 0 40px;
  }
  .f_pp {
    margin: 4em auto 0;
    font-size: 1.4rem;
  }
  .f_pp a {
    padding: 0 25px;
  }
  .sp_float {
    display: none;
  }
}