.main {
  padding-inline: 0;
}

.header {
  background: url(../img/about/about-heading-bg.png) no-repeat top 30% right;
  background-size: contain;
}
@media (max-width: 768px) {
  .header {
    background: url(../img/about/about-heading-bg_sp.png) no-repeat top 30% right;
  }
}

.p-works {
  padding-bottom: 100px;
}
.p-works__container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: start;
  gap: 48px;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 120px;
}
@media (max-width: 1000px) {
  .p-works__container {
    padding-inline: 15px;
    grid-template-columns: repeat(2, minmax(155px, 1fr));
    gap: 17px;
  }
}
@media (max-width: 1190px) {
  .p-works .c-works-card {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .p-works .c-works-card__company-name {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .p-works .c-works-card__text {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .p-works .c-works-card__tag {
    font-size: 10px;
  }
}

.pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  margin-top: 2rem;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 14px 18px;
  background-color: #fff;
  border: 1px solid #1e3638;
  color: #1e3638;
  text-decoration: none;
  border-radius: 4px;
  font-family: "Montserrat";
  font-size: 16px;
  font-weight: 500;
}

.pagination a:hover {
  background: #f0f0f0;
}

.pagination .current {
  background: #1e3638;
  color: #fff;
  border-color: #1e3638;
}

.pagination .prev,
.pagination .next {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  padding: 0;
}

.pagination .prev {
  margin-right: 30px;
}

.pagination .next {
  margin-left: 30px;
}

.pagination .dots {
  pointer-events: none;
  color: #999;
}

.c-works-card.dummy {
  visibility: hidden;
}

footer {
  -webkit-margin-before: 0;
          margin-block-start: 0;
}