.layout-footer {
  background-color: var(--background-secondary);
}

.layout-footer__inner {
  box-sizing: content-box;
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 40px 0 10px;
  padding-left: var(--inner-padding-side);
  padding-right: var(--inner-padding-side);
}

.layout-footer__content {
  margin-bottom: 30px;

  &.last {
    margin-bottom: 40px;
  }
}

.layout-footer__logo {
  margin-bottom: 20px;
}

.layout-footer__catch-copy-text {
  line-height: 1.6;
  font-size: var(--text-medium);
  font-weight: 700;
  color: var(--text-black);
}

.layout-footer__sns {
  display: flex;
  gap: 15px;
}

.layout-footer__sns-icon {
  width: 24px;
  height: 24px;
}

.layout-footer__menu-wrapper {
  display: flex;
  padding-top: 30px;
  border-top: 1px solid #fff;
}

.layout-footer__menu-container {
  width: 50%;
}

.layout-footer__menu-title {
  margin-bottom: 16px;
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--text-black);
}

.layout-footer__menu {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 15px 20px;
  max-height: 200px;

  .menu-item {
    font-size: var(--text-xsmall);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-black);

    a {
      border-bottom: 1px solid var(--text-black);
    }
  }
}

.layout-footer__copyright {
  text-align: center;
  font-size: var(--text-xsmall);
  color: var(--text-gray);
}

@media screen and (max-width: 767px) {
  .layout-footer__content {
    max-width: 100%;
    margin-bottom: 30px;

    &:last-child {
      margin-bottom: 0;
    }
  }

  .layout-footer__menu-wrapper {
    display: block;
    padding-top: 0;
    border: none
  }

  .layout-footer__menu-container {
    width: 100%;
    margin-bottom: 30px;
  }

  .layout-footer__menu-title {
    margin-bottom: 12px;
    font-size: var(--text-small);
  }

  .layout-footer__menu {
    max-height: 100%;
  }
}
