@charset "utf-8";

/* ========== useful ========== */
#useful {
  margin-top: calc(100 / var(--full-width) * 100vw);
}

.useful-list {
  margin-top: calc(34 / var(--full-width) * 100vw);
  margin-bottom: calc(70 / var(--full-width) * 100vw);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: calc(24 / var(--full-width) * 100vw) calc(30 / var(--full-width) * 100vw);
}

.useful-item {
  width: calc(330 / var(--full-width) * 100vw);
}

.useful-item a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(100 / var(--full-width) * 100vw);
}
@media (hover: hover) {
  .useful-item a:hover {
    opacity: 0.8;
  }
}

.useful-item a img {
  width: 100%;
}

@media screen and (min-width: 751px) {
  #useful {
    margin-top: calc(27 / var(--static-width) * 100vw);
  }

  .useful-list {
    width: 100%;
    margin: calc(10 / var(--static-width) * 100vw) auto calc(15 / var(--static-width) * 100vw);
    gap: calc(5 / var(--static-width) * 100vw) calc(8 / var(--static-width) * 100vw);
  }

  .useful-item {
    width: calc(72 / var(--static-width) * 100vw);
  }

  .useful-item a {
    height: calc(23 / var(--static-width) * 100vw);
  }
}

/* ========== footer ========== */
#footer {
  width: 100%;
  padding: calc(50 / var(--full-width) * 100vw) calc(30 / var(--full-width) * 100vw)
    calc(20 / var(--full-width) * 100vw);
  background-color: #01609a;
  color: #fff;
}

.footer-logo {
  margin: 0 auto;
  display: block;
  width: calc(327 / var(--full-width) * 100vw);
  aspect-ratio: 520 / 112;
}
@media (hover: hover) {
  .footer-logo:hover {
    opacity: 0.7;
  }
}

.footer-share {
  margin-top: calc(45 / var(--full-width) * 100vw);
}

.footer-share h2 {
  line-height: 1;
  text-align: center;
  font-size: calc(40 / var(--full-width) * 100vw);
  font-weight: 400;
}

.footer-share ul {
  margin-top: calc(20 / var(--full-width) * 100vw);
  display: flex;
  justify-content: center;
  gap: calc(45 / var(--full-width) * 100vw);
}

.footer-share ul li {
  width: calc(75 / var(--full-width) * 100vw);
  height: calc(75 / var(--full-width) * 100vw);
}

.footer-share ul li a {
  display: block;
}
.footer-share ul li._x a {
  padding: calc(6 / var(--full-width) * 100vw);
}
@media (hover: hover) {
  .footer-share ul li a:hover {
    opacity: 0.7;
  }
}

.footer-copyright {
  margin-top: calc(45 / var(--full-width) * 100vw);
  display: block;
  width: 100%;
  line-height: 2;
  text-align: center;
  font-size: calc(20 / var(--full-width) * 100vw);
  color: #ccc;
}

@media screen and (min-width: 751px) {
  #footer {
    --full-width: var(--wide-full-width) / 750 * var(--static-width);
  }
}
