.pagetop {
  position: fixed;
  right: 10px;
  z-index: 2;
  opacity: 0;
  transform: translateY(100px);
}
.pagetop a {
  font-family: quiche-sans, sans-serif;
  font-weight: 700;
  line-height: 1.4;
  font-size: 1.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--yellow);
  border-radius: 100px;
  width: 70px;
  height: 70px;
  color: #333 !important;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
}
.pagetop a:hover {
  box-shadow: 0 0 12px 4px rgba(255, 235, 59, 0.7), 0 0 24px 8px rgba(255, 235, 59, 0.4);
  animation: pagetopGlow 1.6s ease-in-out infinite;
}
@keyframes pagetopGlow {
  0%, 100% {
    box-shadow: 0 0 12px 4px rgba(255, 235, 59, 0.7), 0 0 24px 8px rgba(255, 235, 59, 0.4);
  }
  50% {
    box-shadow: 0 0 18px 6px rgba(255, 235, 59, 0.9), 0 0 32px 12px rgba(255, 235, 59, 0.5);
  }
}
/*　上に上がる動き　*/
.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);
  }
}
/* --------------------------------------------- */
/* ▼モバイルファースト (全環境に共通のデザイン) */
/* --------------------------------------------- */
.f-bg {
  background: #000000;
  padding: 3em 0;
  color: #fff;
  border-radius: 20px 20px 0 0;
}
.footer {
  position: relative;
  width: 85%;
  margin: auto;
  color: #fff;
}
.footer_logo img {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5))
          drop-shadow(0 0 12px rgba(255, 255, 255, 0.3));
}
.footer_logo {
  position: relative;
  width: 150px;
  margin: auto;
}
.footer_logo span {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
}
.footer_logo span img {
  animation: neonBreathe 3s infinite;
}
@keyframes neonBreathe {
  0% {
    opacity: 0.7;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.4));
  }
  40% {
    opacity: 0.85;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
  }
  48% {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 16px rgba(255, 255, 255, 0.6));
  }
  55% {
    opacity: 0.75;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.4));
  }
  100% {
    opacity: 0.7;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.4));
  }
}
.footer_txt {
  text-align: left;
  margin: 2em auto 0;
}
.footer_txt p {
  font-size: 1.5rem;
}
.footer_txt div {}
.footer_txt div span {
  display: block;
}
.footer_link {
  margin: 1.5em auto 0;
}
.footer_link > p {
  font-size: 1.1rem;
  margin: 2em auto 0;
}
.footer_link div {
  max-width: 280px;
  margin: auto;
  text-align: left;
}
.footer_link div > p {}
.footer_link div a {
  margin: 0.5em auto 0 0;
  display: inline-block;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 5px;
  padding: 10px 0px;
  font-size: 1.2rem;
  transform: scale(1);
  transition: transform 0.3s ease;
}
.footer_link div a:hover {
  transform: scale(1.02);
}
.footer_link div a img {
  width: 30px;
  margin: 0 10px 0 0;
}
.footer_link div a p {
  color: #333;
}
.pagetop {
  display: none;
}
/* ------------------------------------ */
/* ▼PC用デザインとして付け足すデザイン */
/* ------------------------------------ */
@media all and (min-width: 768px) {
  .f-bg {
    padding: 4em 0 5em;
    position: relative;
    border-radius: 40px 40px 0 0;
  }
  .footer {
    width: 100%;
  }
  .footer_logo {
    width: 230px;
  }
  .footer_txt {
    position: absolute;
    left: 5%;
    bottom: 0em;
    margin: 0;
  }
  .footer_txt p {
    font-size: 2rem;
  }
  .footer_link {
    position: absolute;
    right: 5%;
    bottom: 0em;
    margin: 0;
  }
  .footer_link > p {
    text-align: right;
    margin: 1.5em auto 0;
  }
  .footer_link div {
    max-width: 330px;
    margin: 0 0 0 auto;
  }
  .footer_link div a {
    padding: 10px 0px;
    font-size: 1.4rem;
  }
  .footer_link div a img {
    width: 35px;
    margin: 0 15px 0 0;
  }
  .pagetop {
    display: block;
  }
}
/* 公式サイト欄：法人格のあとで改行（<br>だと翻訳時に団体名が分断されるため） */
.footer_org_type {
  display: block;
}
