.p-gfooter {
  background-color: #0f1821;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0;
}
.p-gfooter a {
  color: inherit;
  text-decoration: none;
}
.p-gfooter ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.p-gfooter__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 1200px;
  margin-inline: auto;
  padding: 40px 0;
}
@media (max-width: 1279px) {
  .p-gfooter__inner {
    flex-wrap: wrap;
    gap: 40px;
    width: auto;
    padding: 40px 20px;
  }
}
.p-gfooter__company {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 242px;
  font-weight: 700;
}
.p-gfooter__name {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
}
.p-gfooter__address {
  font-size: 16px;
  font-style: normal;
  line-height: 1.5;
}
.p-gfooter__nav {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  line-height: 1.5;
}
@media (max-width: 1279px) {
  .p-gfooter__nav {
    flex-wrap: wrap;
    gap: 32px 48px;
  }
}
.p-gfooter__head {
  display: block;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.p-gfooter__group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.p-gfooter__group--human {
  width: 188px;
}
.p-gfooter__group--organizational {
  width: 181px;
}
.p-gfooter__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.p-gfooter__link {
  display: block;
  font-size: 14px;
  font-weight: 400;
}
.p-gfooter__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 160px;
}
.p-gfooter__copyright {
  display: block;
  padding: 0 0 24px;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
@media (max-width: 767px) {
  .p-gfooter__inner {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 32px;
    padding: 48px 20px;
  }
  .p-gfooter__company {
    gap: 24px;
    width: auto;
  }
  .p-gfooter__name, .p-gfooter__address {
    font-size: 14px;
    line-height: 1.6;
  }
  .p-gfooter__nav {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 16px;
    line-height: 1.6;
  }
  .p-gfooter__head {
    font-size: 14px;
  }
  .p-gfooter__group {
    gap: 8px;
  }
  .p-gfooter__group--human, .p-gfooter__group--organizational {
    width: auto;
  }
  .p-gfooter__links {
    width: auto;
  }
}
