.footer {
  padding: 80px 40px 20px;
  color: #fcfafa;

  @media screen and (max-width: 768px) {
    padding: 120px 24px 0;
    background-color: #171717;
  }
}

.footer .section-container {
  max-width: 1920px !important;
  padding: 0 !important;
}

.footer-1 {
  display: flex;
  justify-content: space-between;
  margin-bottom: 90px;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 54px;
  }

  .footer-logo img {
    width: 115px;
    margin-bottom: 40px;
  }

  .flagship-store {
    h3 {
      font-family: var(--font-dm-sans);
      font-weight: 500;
      font-size: 18px;
      line-height: 100%;
      letter-spacing: 4%;
      margin-bottom: 10px;
    }

    p {
      font-family: var(--font-dm-sans);
      font-weight: 400;
      font-size: 13px;
      line-height: 22px;
      letter-spacing: 0%;
      margin-bottom: 30px;

      @media screen and (max-width: 768px) {
        font-size: 14px;
        line-height: 20px;
      }
    }

    .btn-to-store {
      font-family: var(--font-dm-sans);
      font-weight: 400;
      font-size: 13px;
      line-height: 100%;
      letter-spacing: 6%;
      padding: 14px 24px;
      border: 1px solid #888;
      color: #888;
      text-transform: uppercase;
      transition: color 0.3s ease-in-out;

      @media screen and (max-width: 768px) {
        font-size: 13px;
        padding: 0 24px;
        display: inline-block;
        color: #fcfafa;
        height: 42px;
        line-height: 42px;
      }
    }

    .btn-to-store:hover {
      color: #fcfafa;
      border: 1px solid #fcfafa;
      transition: all 0.3s ease-in-out;
    }
  }

  .footer-nav {
    display: flex;
    gap: 80px;
    align-items: flex-start;
    text-transform: uppercase;

    font-family: var(--font-dm-sans);
    font-weight: 400;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 0%;
    flex-wrap: wrap;

    @media screen and (max-width: 768px) {
      gap: 30px 40px;
    }

    .footer-menu {
      a {
        display: inline-block;
        margin-bottom: 8px;
      }
    }

    .footer-links {
      text-transform: uppercase;
      a {
        display: inline-block;
        margin-bottom: 8px;
      }

      .link-sns {
        text-transform: uppercase;
      }
    }
  }
}

.footer-2 {
  padding: 60px 0 20px;
  text-transform: uppercase;

  img {
    width: 100%;
  }
}

.footer-3 {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #9a9a9a;
  font-family: var(--font-dm-sans);
  font-weight: 400;
  font-size: 10px;
  line-height: 150%;
  letter-spacing: 3%;

  @media screen and (max-width: 768px) {
    font-size: 12px;
    padding-bottom: 20px;
  }

  div {
    width: 200px;
    @media screen and (max-width: 768px) {
      min-width: unset;
      width: unset;
    }
  }

  .copyright {
    text-align: center;
    padding: 10px;

    @media screen and (max-width: 768px) {
      padding: 0;
    }
  }

  .back-to-top {
    text-align: right;
    padding: 10px;

    @media screen and (max-width: 768px) {
      display: block;
      padding: 0;
    }
  }
}

.links {
  a {
    display: inline-block;
    padding: 10px;

    @media (max-width: 768px) {
      padding: 10px 0;
      margin-right: 24px;
    }
  }
}

.links-pc {
  display: inline-block;
  @media (max-width: 768px) {
    display: none;
  }
}

.links-sp {
  font-family: var(--font-dm-sans);
  display: none;
  a {
    padding: 0;
    margin-bottom: 6px;
  }
  @media (max-width: 768px) {
    display: flex;
    flex-direction: column;
    font-weight: 400;
    font-size: 13px;
    line-height: 150%;
    letter-spacing: 0%;
    color: #888;
  }
}

.link-map {
  text-decoration: underline;
}
