#page-top {
  position: fixed;
  bottom: 10px;
  right: 10px;
  font-size: 140%;
  font-weight: bold;
  line-height: 60%;
  opacity: 0.6;
  margin: 0;
  z-index: 99;
}

#page-top a {
  background: #333333;
  text-decoration: none;
  color: #ffffff;
  width: 50px;
  padding: 15px 0;
  text-align: center;
  display: block;
  border-radius: 200px;
}

#page-top a:hover {
  text-decoration: none;
  background: #b2bdc8;
}

#footer {
  width: 100%;
  font-size: 0.8rem;
  /* height: 100vh; */
  /* position: fixed; */
  /* bottom: 0; */
  /* z-index: 1; */
}

#footer .dbox-btn {
  text-decoration: none;
}

#footer .dbox-btn:after,
#footer .dbox-btn:before {
  border: 1px solid #ffffff;
}

.footer-logo {
  height: 5.5em;
  max-width: 70vw;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  gap: 0.75em 1.75em;
}

@media (max-width: 768px) {
  .footer-links {
    gap: 1em;
  }
  .footer-links a {
    width: 47%;
  }
}

.footer-link {
  position: relative;
  text-decoration: none;
  color: #a4a4a4;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  margin-top: 1em;
  margin-right: 2em;
  padding-bottom: 0.5em;
}

.footer-link:after,
.footer-link:before {
  content: "";
  display: block;
  left: 0;
  bottom: 0;
  position: absolute;
  width: 100%;
  border-style: solid;
  border-width: 0;
  box-sizing: border-box;
}

.footer-link:before {
  background-color: rgba(164, 164, 164, 0.4);
  height: 1px;
}

.footer-link:after {
  background-color: #00589f;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.footer-link:hover:after {
  transform: scaleX(1);
  transform-origin: left center;
}

.footer-link:hover {
  color: #00589f;
  opacity: 1 !important;
}

.footer-arrow {
  margin-bottom: 0.5em;
}

.footer-arrow.st-mfgray path {
  stroke: #a4a4a4;
  transition: all 0.8s;
}

.footer-link:hover .footer-arrow path {
  stroke: #00589f;
  transition: all 0.8s;
  opacity: 1 !important;
}

@media (max-width: 768px) {
  .footer-link {
    width: 100%;
    margin-right: 0;
  }
  .footer-link .inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-copyright {
  font-size: 0.5em;
  letter-spacing: 0.25em;
  line-height: 2.5em;
}
