/* ===============================================
# footer
=============================================== */

.l-footer {
  background: #333333;
  color: var(--white);
  padding-block: 8rem 4rem;
}

.l-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

@media screen and (min-width: 1024px) {
  .l-footer__inner {
    display: grid;
    grid-template-columns: 30% 20% 1fr;
    align-items: start;
  }
}

/* sp-navなし */
.l-footer__nav {
  display: none;
}

/* pcのみ　footernav表示 */
@media screen and (min-width: 1024px) {
  .l-footer__nav {
    display: block;
  }

  .l-footer__nav-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .l-footer__nav-list li a {
    font-size: 1.3rem;
  }
}

.l-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}

@media screen and (min-width: 1024px) {
  .l-footer__brand {
    align-items: flex-start;
    padding-left: 5rem;
  }
}

.c-footer-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 1rem; */
}

@media screen and (min-width: 1024px) {
  .c-footer-banner {
    flex-direction: row;
    /* justify-content: center; */
    align-items: flex-end;
    gap: 1.2rem;
  }
}

.c-footer-banner__icon {
  width: 3rem;
  height: auto;
  padding-bottom: 0.5rem;
}

.l-footer__logo {
  width: 140px;
  margin-bottom: 2rem;
  padding-top: 0.5rem;
}

.l-footer__address {
  font-style: normal;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

@media screen and (min-width: 1024px) {
  .l-footer__address {
    text-align: left;
  }
}

@media screen and (min-width: 1024px) {
  .l-footer__contact {
    align-self: self-end;
  }
}

.l-footer__copyright {
  margin-top: 4rem;
  font-size: 1.1rem;
  opacity: 0.5;
}

@media screen and (min-width: 1024px) {
  .l-footer__copyright {
    padding-left: 5rem;
  }
}

/* ===============================================
# footer　認定badge
=============================================== */
.l-footer__badge {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  padding-bottom: 8rem;
  justify-content: space-around;
}

.l-footer__badge img {
  display: block;
  max-width: 100px;
  height: auto;
  border-radius: 0.1rem;
  padding: 0.5rem;
}

@media screen and (min-width: 768px) {
  .l-footer__badge img {
    max-width: 15rem;
    height: auto;
  }
}
/* ===============================================
# footer nav hover
=============================================== */

.l-footer__nav a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.3rem;
  transition: text-decoration-color 0.3s ease;
}

.l-footer__nav a:hover {
  text-decoration-color: currentColor;
  opacity: 0.7;
}

.c-footer-banner__text {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.3rem;
  transition: text-decoration-color 0.3s ease;
}

.c-footer-banner__text:hover {
  text-decoration-color: currentColor;
  opacity: 0.7;
}
