.c-service-text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: normal;
  gap: 25px;
  line-height: 2;
}

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

.p-service__inner {
  margin-inline: auto;
  max-width: 1230px;
}

.p-service__section--features {
  border-bottom: solid 1px rgba(255, 255, 255, 0.5);
  padding-bottom: 52px;
}
.p-service__grid {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.p-service__side {
  flex-shrink: 0;
}
.p-service__side .c-service-text {
  margin-top: 20px;
}

.p-service__main {
  width: 100%;
}

.p-service-cards {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.p-service-cards__card {
  max-width: 300px;
  width: 100%;
}
.p-service-cards__card .c-service-text {
  margin-top: -5px;
}

.p-service-cards__img {
  aspect-ratio: 254/300;
  border-radius: 5px;
  overflow: hidden;
  width: 100%;
}

.p-service-cards__label {
  background-color: #0092e6;
  color: #fff;
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  line-height: calc(29 / 20);
  margin-top: 0;
  padding: 8px;
  position: relative;
  top: -25px;
}

.p-service__section--flow {
  padding-top: 50px;
}
.p-service__section--flow .p-service__main {
  margin-top: 18px;
}

.p-service-flow {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 20px;
}

.p-service-flow__item {
  align-items: center;
  background-color: #ecf6fc;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  height: 302px;
  justify-content: flex-start;
  max-width: 85px;
  padding: 22px;
  width: 100%;
}
.p-service-flow__item:not(:last-child) {
  margin-right: 40px;
  position: relative;
}
.p-service-flow__item:not(:last-child)::after {
  background: url(../images/service_arrow.svg) no-repeat center center/contain;
  content: "";
  display: block;
  height: 21.2px;
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 20.1px;
}

.p-service-flow__num {
  align-items: center;
  background-color: #0057aa;
  border-radius: 3px;
  color: #fff;
  display: flex;
  flex-shrink: 0;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.p-service-flow__label {
  color: #0057aa;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
}

.p-service-flow__desc {
  margin-top: 35px;
}

.p-service__contents--bottom {
  margin-top: -385px;
  padding-top: 186px;
  position: relative;
  z-index: 2;
}
.p-service__contents--bottom::after {
  background: url(../images/copmany_bg_bottom.png) no-repeat top right/cover;
  content: "";
  height: 190px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}
.p-service__contents--bottom .p-service__section {
  background-color: #ecf6fc;
  padding-bottom: 100px;
  padding-inline: 20px;
}
.p-service__contents--bottom .p-service__section:nth-of-type(2n) {
  background-color: #dfeff8;
}
.p-service__contents--bottom .p-service__section:nth-of-type(n + 2) {
  padding-top: 100px;
}
.p-service__contents--bottom .p-service__section:nth-last-child(1) {
  margin-bottom: -380px;
  padding-bottom: 530px;
}
.p-service__contents--bottom .p-service__side .c-page-title {
  padding-bottom: 25px;
  position: relative;
}
.p-service__contents--bottom .p-service__side .c-page-title::after {
  background-color: #c0d5e2;
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  width: 126px;
}
.p-service__contents--bottom .p-service__side .c-page-title h1,
.p-service__contents--bottom .p-service__side .c-page-title h2,
.p-service__contents--bottom .p-service__side .c-page-title h3,
.p-service__contents--bottom .p-service__side .c-page-title h4 {
  color: #0092e6;
}
.p-service__contents--bottom .p-service__side .c-page-title p {
  color: #0057aa;
}

.p-service-vendor {
  margin-top: 40px;
}

.p-service-vendor__title {
  color: #0057aa;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: calc(24 / 16);
  padding-bottom: 10px;
  position: relative;
}
.p-service-vendor__title::after {
  background-color: #c0d5e2;
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  width: 126px;
}

.p-service-vendor__tag {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.p-service-vendor__tag p {
  background-color: #3581c9;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: calc(17 / 12);
  padding: 3px 5px;
}

.p-service-vendor__notes {
  color: #8e8e8e;
  font-size: 12px;
  font-weight: normal;
  line-height: calc(17 / 12);
  margin-top: 18px;
}

.p-service-main__img {
  aspect-ratio: 822/450;
  border-radius: 5px;
  height: 300px;
  overflow: hidden;
  width: 100%;
}

.p-service-main__copy {
  color: #0057aa;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: calc(29 / 20);
  margin-top: 20px;
}

.p-service-main__desc {
  margin-top: 20px;
}

.p-service-main__features {
  margin-top: 60px;
}

.p-service-main__title {
  align-items: center;
  color: #0092e6;
  display: flex;
  gap: 10px;
  padding-bottom: 25px;
  width: 100%;
}
.p-service-main__title p {
  flex-shrink: 0;
  font-family: "Outfit", sans-serif;
  font-size: 30px;
  font-weight: bold;
}
.p-service-main__title h1,
.p-service-main__title h2,
.p-service-main__title h3,
.p-service-main__title h4 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: calc(29 / 20);
}

.p-service-main__features-box {
  align-items: center;
  border-top: solid 1px #c0d5e2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-block: 40px;
}

.p-service-main__features-img {
  aspect-ratio: 310/220;
  border-radius: 5px;
  height: 220px;
  overflow: hidden;
  width: 100%;
}

.p-service-main__features-contents {
  width: 100%;
}
.p-service-main__features-contents h1,
.p-service-main__features-contents h2,
.p-service-main__features-contents h3,
.p-service-main__features-contents h4 {
  color: #0057aa;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: calc(29 / 20);
}
.p-service-main__features-contents .c-service-text {
  margin-top: 15px;
}

.p-service-main__tag {
  margin-top: 35px;
}
.p-service-main__tag .p-service-main__title {
  border-bottom: solid 1px #c0d5e2;
}

.p-service-main__tag-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 35px;
}
.p-service-main__tag-list p {
  background-color: #fff;
  border: solid 1px #d3d3d3;
  border-radius: 5px;
  color: #05a;
  font-size: 14px;
  font-weight: 600;
  line-height: calc(20 / 14);
  padding: 15px 15px;
}
@media (min-width: 768px) {
  .p-service-cards {
    align-items: flex-start;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .p-service-cards__card {
    max-width: 100%;
  }
  .p-service-flow {
    flex-wrap: nowrap;
  }
  .p-service-main__features-box {
    flex-direction: row;
    gap: 25px;
  }
  .p-service-main__features-img {
    height: auto;
    max-width: 310px;
  }
}
@media (min-width: 1024px) {
  .p-service__contents--top {
    padding-top: 412px;
  }
  .p-service__grid {
    flex-direction: row;
    gap: 40px;
    justify-content: space-between;
  }
  .p-service__side .c-service-text {
    margin-top: 38px;
    max-width: 300px;
  }
  .p-service__main {
    max-width: 822px;
  }
  .p-service__section--flow {
    padding-top: 80px;
  }
  .p-service-flow__item {
    max-width: 110px;
  }
  .p-service-flow__item:not(:last-child) {
    margin-right: 55px;
  }
  .p-service-flow__item:not(:last-child)::after {
    right: -43px;
  }
  .p-service__contents--bottom {
    margin-top: -312px;
    padding-top: 280px;
  }
  .p-service__contents--bottom::after {
    height: 326px;
  }
  .p-service__contents--bottom .p-service__side .c-service-text {
    margin-top: 30px;
    max-width: 275px;
  }
  .p-service-vendor {
    margin-top: 57px;
  }
  .p-service-main__img {
    height: auto;
    margin-top: 56px;
  }
  .p-service-main__copy {
    margin-top: 34px;
  }
  .p-service-main__desc {
    margin-top: 30px;
  }
  .p-service-main__features {
    margin-top: 97px;
  }
  .p-service-main__features-box {
    gap: 46px;
  }
  .p-service-main__features-contents .c-service-text {
    margin-top: 30px;
  }
  .p-service-main__tag-list p {
    padding: 15px 25px;
  }
}
@media (min-width: 1366px) {
  .p-service-flow__item:not(:last-child) {
    margin-right: 68px;
  }
  .p-service__contents--bottom::after {
    background: url(../images/copmany_bg_bottom.png) no-repeat top right/100% 100%;
  }
}