.pagetop {
  position: fixed;
  right: 10px;
  z-index: 2;
  opacity: 0;
  transform: translateY(100px);
}
.pagetop a {
  font-family: brandon-grotesque, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  font-size: 1.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 35px 2px 35px 2px;
  width: 50px;
  height: 70px;
  padding: 0 10px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  background: linear-gradient(-45deg, #33A500 0%, #33A500 50%, #A1E800 100%);
  background-position: 1% 50%;
  background-size: 200% auto;
}
.pagetop a:hover {
  background-position: 99% 50%;
}
/*　上に上がる動き　*/
.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);
  }
}
/* --------------------------------------------- */
/* ▼モバイルファースト (全環境に共通のデザイン) */
/* --------------------------------------------- */
.bg_color footer {
  background: #F5F1E5;
}
.f-bg {
  margin: -6em auto 0;
}
.footer {
  position: relative;
  background: url("/img/common/footer.webp") center / cover;
  border-radius: 50px 50px 0 0;
  padding: 7em 0 2em;
  color: #fff;
}
.footer::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  background: #7E4400;
  opacity: 0.8;
  border-radius: 50px 50px 0 0;
}
.footer a {
  color: #fff;
}
.footer > p {
  position: relative;
  z-index: 1;
  line-height: 1.8;
  font-family: "noto-sans", sans-serif;
  font-weight: 400;
}
.footer_logo {
  font-family: brandon-grotesque, sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
}
.footer_link {
  font-family: "noto-sans", sans-serif;
  font-weight: 400;
  margin: 1.5em auto 0;
}
.footer_link a {
  padding: 0 15px;
}
.footer_link a:hover {
  text-decoration: underline;
}
.footer_link a:first-child {
  border-right: 1px solid #fff;
}
.f_contact {
  position: relative;
  z-index: 3;
  width: 80%;
  margin: auto;
  box-sizing: border-box;
  border-radius: 20px;
  padding: 20px;
  background: linear-gradient(-45deg, #33A500 0%, #33A500 40%, #A1E800 100%);
  color: #fff;
}
.f_contact h2 {
  font-family: "noto-sans", sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
}
.f_contact h2 span {
  display: block;
  font-family: brandon-grotesque, sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.2;
}
.f_contact > p {
  margin: 1em auto 0;
  font-weight: 700;
  font-size: 1.7rem;
}
.f_contact > p span {
  display: inline-block;
}
.f_contact ul {
  width: 230px;
  margin: auto;
}
.f_contact ul li {
  margin: 1em auto 0;
}
.f_contact ul li a {
  position: relative;
  display: block;
  background: #fff;
  color: #33A500;
  font-weight: 700;
  padding: 10px 0;
  border-radius: 50px;
  transition: all 0.3s ease-out;
}
.f_contact ul li a img {
  display: inline-block;
  width: 20px;
  margin: 0 5px 0 0;
}
.f_contact ul li:first-child a {
  font-family: brandon-grotesque, sans-serif;
  font-size: 1.8rem;
  padding: 6px 0;
}
.f_contact ul li:first-child a img {
  width: 20px;
  margin: 0 5px 4px 0;
}
.f_contact ul li a::before {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translate(0%, -50%);
  content: '\f0da';
  font-family: FontAwesome;
  font-weight: 400;
  font-size: 1.2rem;
  color: #33A500;
  transition: all 0.3s ease-out;
}
.f_contact ul li a:hover::before {
  right: 10px;
}
.pagetop {
  display: none;
}
/* ------------------------------------ */
/* ▼PC用デザインとして付け足すデザイン */
/* ------------------------------------ */
@media all and (min-width: 768px) {
  .f-bg {
    margin: -8em auto 0;
  }
  .footer {
    border-radius: 60px 60px 0 0;
    padding: 10em 0 2em;
  }
  .footer::before {
    border-radius: 60px 60px 0 0;
  }
  .footer > p {
    font-size: 1.7rem;
    line-height: 1.8;
  }
  .footer_logo {
    font-size: 5rem;
  }
  .footer_link {
    margin: 3em auto 0;
  }
  .footer_link a {
    padding: 0 15px;
  }
  .f_contact {
    max-width: 900px;
    width: 90%;
    border-radius: 40px;
    padding: 30px 30px 40px;
  }
  .f_contact h2 {
    font-size: 1.8rem;
  }
  .f_contact h2 span {
    font-size: 5.5rem;
    line-height: 1;
  }
  .f_contact > p {
    margin: 0.5em auto 0;
    font-size: 2.5rem;
    letter-spacing: 2px;
  }
  .f_contact ul {
    width: 100%;
    margin: 1em auto 0;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
  }
  .f_contact ul li {
    margin: 0 10px;
    width: 300px;
  }
  .f_contact ul li a {
    padding: 15px 0;
    font-size: 1.8rem;
  }
  .f_contact ul li a img {
    width: 30px;
    margin: 0 8px 0 0;
  }
  .f_contact ul li:first-child a {
    font-size: 2.5rem;
    padding: 8px 0;
  }
  .f_contact ul li:first-child a img {
    width: 30px;
    margin: 0 8px 7px 0;
  }
  .f_contact ul li a::before {
    right: 15px;
    font-size: 1.5rem;
  }
  .f_contact ul li a:hover::before {
    right: 10px;
  }
  .pagetop {
    display: block;
  }
}