.p-company__contents--top {
  background: url(../images/company_bg.png) no-repeat top center/cover;
  color: #fff;
  margin-top: -292px;
  padding-bottom: 312px;
  padding-inline: 20px;
  padding-top: 380px;
  position: relative;
  z-index: 1;
}

.p-company__inner {
  margin-inline: auto;
  max-width: 1050px;
}

.p-company__section--about {
  border-bottom: solid 1px rgba(255, 255, 255, 0.5);
  padding-bottom: 80px;
}

.p-company__section--message {
  margin-top: 80px;
  padding-bottom: 80px;
}

.p-company__grid {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.p-company__title {
  flex-shrink: 0;
}

.p-company__main {
  width: 100%;
}

.p-company__contents--bottom {
  background: url(../images/company_bg_bottom.png) no-repeat top center/cover;
  margin-top: -312px;
  padding-bottom: 100px;
  padding-inline: 20px;
  padding-top: 150px;
  position: relative;
  z-index: 2;
}
.p-company__contents--bottom .c-page-title h1,
.p-company__contents--bottom .c-page-title h2,
.p-company__contents--bottom .c-page-title h3,
.p-company__contents--bottom .c-page-title h4 {
  color: #0092e6;
}
.p-company__contents--bottom .c-page-title p {
  color: #0057aa;
}

.p-company-list {
  border-top: solid 1px #c0d5e2;
  position: relative;
}
.p-company-list::after {
  background-color: #0057aa;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: -1px;
  width: 100px;
}

.p-company-list__item {
  border-bottom: solid 1px #c0d5e2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-block: 19px;
  position: relative;
}
.p-company-list__item::after {
  background-color: #0057aa;
  bottom: -1px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  width: 100px;
}
.p-company-list__item h1,
.p-company-list__item h2,
.p-company-list__item h3,
.p-company-list__item h4 {
  color: #0057aa;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: calc(20 / 14);
  width: 100px;
}
.p-company-list__item p {
  font-size: 14px;
  font-weight: 500;
  line-height: calc(30.8 / 14);
}

.p-company__section--history {
  margin-top: 100px;
}

.p-company-boxs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.p-company-boxs__box {
  align-items: baseline;
  background-color: #fff;
  border-radius: 5px;
  color: #0057aa;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 25px;
  width: 100%;
}
.p-company-boxs__box h1,
.p-company-boxs__box h2,
.p-company-boxs__box h3,
.p-company-boxs__box h4 {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: calc(20 / 14);
  width: 105px;
}
.p-company-boxs__box p {
  font-size: 14px;
  font-weight: 500;
  line-height: calc(20 / 14);
}

.p-company-box__desc {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.p-company-box__desc img {
  aspect-ratio: 350/495;
  max-width: 350px;
  width: 100%;
}
@media (min-width: 768px) {
  .p-company-list__item {
    align-items: center;
    flex-direction: row;
    gap: 60px;
  }
  .p-company-boxs__box {
    flex-direction: row;
    gap: 40px;
  }
}
@media (min-width: 1024px) {
  .p-company__contents--top {
    padding-top: 412px;
  }
  .p-company__section--about {
    padding-bottom: 113px;
  }
  .p-company__section--about .p-company__main {
    margin-top: 15px;
  }
  .p-company__section--message {
    margin-top: 120px;
    padding-bottom: 125px;
  }
  .p-company__section--message .p-company__main {
    margin-top: 15px;
  }
  .p-company__grid {
    flex-direction: row;
    gap: 40px;
    justify-content: space-between;
  }
  .p-company__main {
    max-width: 656px;
    width: 100%;
  }
  .p-company__contents--bottom {
    padding-bottom: 154px;
    padding-top: 250px;
  }
  .p-company__section--info .p-company__main {
    margin-top: 45px;
  }
  .p-company__section--history {
    margin-top: 120px;
  }
  .p-company__section--history .p-company__main {
    margin-top: 48px;
  }
  .p-company-box__desc {
    gap: 28px;
  }
}