footer {
  color: white;
  background: #698343;
}
footer .company-detail-section {
  padding: 75px;
  /* text-align: center; */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  width: 820px;
  max-width: 100%;
  padding: 75px 30px;
  margin: auto;
}

footer .logo {
  margin: 5px 0;
  width: 170px;
  height: auto;
}

footer .icons-wrapper {
  height: 50px;
  gap: 40px;
  margin: 20px 0;
}
footer .footer-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.15em;
}
footer .description {
  letter-spacing: 0.15em;
  line-height: 2em;
  margin-top: 24px;
}
footer .web-mypage-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
footer .first-group-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
footer .list-section {
  padding: 30px;
  background-color: #698343;
  font-size: 14px;
  line-height: 1.4em;
  letter-spacing: 0.15em;
  font-family: "Noto Serif JP", serif;
}

footer .list-section ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 850px;
  max-width: 100%;
  padding: 0 0;
  margin: auto;
}

footer .copyright-section {
  text-align: center;
  font-size: 12px;
  padding: 40px;
  background-color: #698343;
}

@media screen and (max-width: 960px) {
  footer .company-detail-section {
    padding: 60px;
  }

  footer .description {
    font-size: 14px;
    margin-top: 12px;
  }
}
@media screen and (max-width: 540px) {
  footer .company-detail-section {
    padding: 60px 20px;
    flex-direction: column;
    align-items: start;
  }

  footer .description {
    font-size: 14px;
    text-align: left;
  }
  footer .list-section {
    padding: 40px 20px;
  }
  footer .list-section ul {
    justify-content: start;
    flex-direction: column;
  }
  footer .list-section ul li {
    width: calc(50% - 10px);
  }
  footer .web-mypage-wrapper {
    width: 100%;
  }
  footer .web-mypage-wrapper ul li {
    width: calc(50% - 10px);
  }
  footer .logo {
    margin: 0;
    display: flex;
  }

  /* footer .first-group-wrapper {
    width: 50%;
  }
  footer .web-mypage-wrapper {
    width: 50%;
  } */
}
