/* ==========フッター============ */
footer {
  width: 100%;
  margin-top: 1rem;
  padding-bottom: 1rem;
  color: white;
}

footer .footer-box {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: var(--footer-color);
}

footer .footer-box > ul {
  max-width: var(--meaningful-max-width);
  margin-inline: auto;
  display: flex;
  justify-content: space-around;
  list-style: none;
  font-size: 1.25rem;
  /* font-weight: bold; */
}

footer .footer-box > ul li ul {
  list-style: none;
  font-size: 1rem;
  font-weight: normal;
}

footer ul a {
  text-decoration: none;
  color: white;
}
footer ul a:hover {
  text-decoration: underline;
}

.footer-name {
  height: auto;
  padding-top: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  background-color: white;
}

.footer-name-logo {
  width: fit-content;
  margin-inline: auto;
  height: 6rem;
}

/* ================スマホ用=========================================================== */
@media screen and (orientation: portrait), screen and (max-width: 767px) {
  /*=================フッター=============================*/

  footer .footer-box ul {
    display: block;
    font-size: 1.25rem;
    padding-top: 0rem;
    padding-bottom: 0rem;
  }

  footer ul li {
    margin-inline: auto;
    width: fit-content;
    text-align: center;
    margin-bottom: 0.5em;
  }
  footer ul li:last-of-type {
    margin-bottom: 0;
  }

  footer .footer-box ul ul {
    /* margin-top: 2rem; */
    margin-bottom: 2rem;
  }

  footer ul ul li {
    margin-inline: auto;
    width: fit-content;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
  }

  .footer-name {
    height: auto;
    margin-inline: auto;
  }
}
