/*!
layout > footer
------------------------------
*/
.l-footer {
  padding: 32px 5% 16px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 32px;
}
@media screen and (min-width: 1080px) {
  .l-footer {
    padding: 24px 40px;
    grid-template-columns: auto 1fr;
    gap: 0;
  }
}

.l-footer-logo-wrap {
  display: flex;
  flex-direction: column-reverse;
}
@media screen and (min-width: 1200px) {
  .l-footer-logo-wrap {
    grid-column: 1/2;
    flex-direction: row;
    align-items: center;
  }
}

.l-footer-logo {
  max-width: 248px;
  margin-inline: auto;
}
@media screen and (min-width: 1080px) {
  .l-footer-logo {
    margin: 0;
    max-width: 244px;
  }
}

.l-footer-logo-text {
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

.l-footer-menu-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}
@media screen and (min-width: 768px) {
  .l-footer-menu-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 16px;
  }
}
@media screen and (min-width: 1080px) {
  .l-footer-menu-list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px 24px;
    grid-column: 2/3;
  }
}
@media screen and (min-width: 1200px) {
  .l-footer-menu-list {
    gap: 2px 28px;
  }
}

.l-footer-menu-item {
  border-bottom: 1px solid var(--color-border);
}
@media screen and (min-width: 1080px) {
  .l-footer-menu-item {
    border-bottom: none;
  }
}
.l-footer-menu-item:nth-child(1) {
  border-top: 1px solid var(--color-border);
}
@media screen and (min-width: 1080px) {
  .l-footer-menu-item:nth-child(1) {
    border-top: none;
  }
}
@media screen and (min-width: 768px) {
  .l-footer-menu-item:nth-child(2) {
    border-top: 1px solid var(--color-border);
  }
}
@media screen and (min-width: 768px) and (min-width: 1080px) {
  .l-footer-menu-item:nth-child(2) {
    border-top: none;
  }
}

.l-footer-menu-link {
  display: block;
  padding: 12px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}
@media screen and (min-width: 1080px) {
  .l-footer-menu-link {
    padding: 0;
  }
}
@media (any-hover: hover) {
  .l-footer-menu-link:hover {
    color: var(--color-font-blue);
  }
}
.l-footer-menu-link::after {
  --size: 8px;
  content: "";
  display: inline-block;
  width: var(--size);
  height: var(--size);
  border-top: 2px solid var(--color-font-gray);
  border-right: 2px solid var(--color-font-gray);
  rotate: 45deg;
}
@media screen and (min-width: 1080px) {
  .l-footer-menu-link::after {
    display: none;
  }
}

.l-footer-menu-list02 {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
@media screen and (min-width: 1080px) {
  .l-footer-menu-list02 {
    margin-top: 24px;
    justify-content: flex-end;
    grid-column: 1/-1;
  }
}

.l-footer-menu-link02 {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-font-gray);
}

.l-footer-copyright {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-font-gray);
}
@media screen and (min-width: 1080px) {
  .l-footer-copyright {
    margin-top: 12px;
    text-align: right;
    grid-column: 1/-1;
  }
}
