@charset "UTF-8";

.p-strengths.p-service-step {
  padding-bottom: 0;
}

.p-service-step__links {
  margin-top: 60px;
  width: 100%;
  max-width: 1050px;
  padding: 0 25px;
  margin-left: auto;
  margin-right: auto;
}

.p-service-step__list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
@media print, screen and (min-width:768px) {
  .p-service-step__list {
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
  }
}

.p-service-step-item {
  position: relative;
  padding-bottom: 24px;
}
@media print, screen and (min-width:768px) {
  .p-service-step-item {
    width: 270px;
    padding-bottom: 32px;
  }
}

.p-service-step-item::after {
  content: "";
  width: 14px;
  height: 12px;
  background-color: #fff;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.p-service-step-item__tag {
  position: absolute;
  top: -30px;
  left: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border: 1px solid #fff;
  background-color: #0B1840;
  border-radius: 50%;
  z-index: 1;
}

.p-service-step-item__tag .num {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  margin-top: -10px;
}

.p-service-step-item__tag .text {
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
}

.p-service-step-item__img {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.p-service-step-item__img::before {
  content: "";
  display: block;
  padding-top: 62.26%;
}

.p-service-step-item__img img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.p-service-step-item a:hover .p-service-step-item__img img {
  transform: translate(-50%, -50%) scale(1.3);
}

.p-service-step-item__body {
  margin-top: 10px;
}

.p-service-step-item_title {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  color: #fff;
}

.p-service-step-item__text {
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  color: #fff;
  margin-top: 10px;
}

.p-service-step-contents {
  margin-top: 60px;
}
@media print, screen and (min-width:768px) {
  .p-service-step-contents {
    margin-top: 100px;
  }
}

.p-service-step-contents__inner {
  width: 100%;
  max-width: 1130px;
  padding: 0 25px;
  margin-left: auto;
  margin-right: auto;
}

.p-service-step-contents__items {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.p-service-item {
  padding: 20px;
  background-color: #F5F5F5;
}
@media print, screen and (min-width:768px) {
  .p-service-item {
    padding: 40px;
  }
}

.p-service-item__contents {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media print, screen and (min-width:768px) {
  .p-service-item__contents {
    flex-direction:row;
    gap: 10px;
  }
}

.p-service-item__images {
  position: relative;
  padding-left: 80px;
}
@media print, screen and (min-width:768px) {
  .p-service-item__images {
    flex: 0 0 30%;
    padding-left: 65px;
  }
}

.p-service-item__tag {
  position: absolute;
  top: -10px;
  left: -10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border: 1px solid #fff;
  background-color: #0B1840;
  border-radius: 50%;
  z-index: 1;
}
@media print, screen and (min-width:768px) {
  .p-service-item__tag {
    top: -20px;
    left: -20px;
    width: 118px;
    height: 118px;
  }
}

.p-service-item__tag::before {
  content: "";
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 56px;
  background-image: url(../images/service/arrows.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.p-service-item__tag .num {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  margin-top: -10px;
}
@media print, screen and (min-width:768px) {
  .p-service-item__tag .num {
    font-size: 46px;
    margin-top: -10px;
  }
}

.p-service-item__tag .text {
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
}
@media print, screen and (min-width:768px) {
  .p-service-item__tag .text {
    font-size: 30px;
  }
}

.p-service-item__illust {
  width: 100%;
}

.p-service-item__illust img {
  width: 100%;
}

.p-service-item__texts {

}
@media print, screen and (min-width:768px) {
  .p-service-item__texts {
    flex: 0 1 100%;
  }
}

.p-service-item__heading {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}
@media print, screen and (min-width:768px) {
  .p-service-item__heading {
    gap: 10px;
  }
}

.p-service-item__title {
  font-size: 22px;
  font-weight: 700;
  padding-right: 25px;
  position: relative;
  flex-shrink: 0;
}
@media print, screen and (min-width:768px) {
  .p-service-item__title {
    font-size: 24px;
    padding-right: 40px;
  }
}

.p-service-item__title::after {
  content: "";
  width: 20px;
  height: 1px;
  background-color: #EC382B;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
@media print, screen and (min-width:768px) {
  .p-service-item__title::after {
    width: 30px;
  }
}

.p-service-item__sub {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.68;
  flex: 0 1 100%;
  padding-top: 3px;
}
@media print, screen and (min-width:768px) {
  .p-service-item__sub {
    font-size: 18px;
    padding-top: 0;
  }
}

.p-service-item__lead {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.56;
  color: #fff;
  padding: 10px;
  background-color: #0B1840;
  margin-top: 10px;
}
@media print, screen and (min-width:768px) {
  .p-service-item__lead {
    font-size: 18px;
    line-height: 1.5;
  }
}

.p-service-item__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  margin-top: 10px;
}
@media print, screen and (min-width:768px) {
  .p-service-item__text {
    line-height: 2;
  }
}

.p-service-item__img {
  width: 100%;
  margin-top: 10px;
}
@media print, screen and (min-width:768px) {
  .p-service-item__img {
    max-width: 712px;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
  }
}

.p-service-item__img img {
  width: 100%;
}

.p-service-cta {
  margin-top: 30px;
  position: relative;
}
@media print, screen and (min-width:768px) {
  .p-service-cta {
    margin-top: 80px;
  }
}

.p-service-cta__inner {
  width: 100%;
  max-width: 1130px;
  padding: 0 25px;
  margin-left: auto;
  margin-right: auto;
}

.p-service-cta__box {
  background-color: #102C88;
  padding: 34px 20px 64px;
  position: relative;
}
@media print, screen and (min-width:768px) {
  .p-service-cta__box {
    background-color: #102C88;
    padding: 40px;
  }
}

.p-service-cta__title {
  width: 100%;
  max-width: 270px;
  margin: 0 auto;
}
@media print, screen and (min-width:768px) {
  .p-service-cta__title {
    max-width: 465px;
  }
}

.p-service-cta__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #fff;
  margin-top: 20px;
}
@media print, screen and (min-width:768px) {
  .p-service-cta__text {
    font-size: 18px;
    text-align: center;
  }
}

.p-footer__content.p-service-cta__contact {
  margin-top: 15px;
}
@media print, screen and (min-width:768px) {
  .p-footer__content.p-service-cta__contact {
    margin-top: 20px;
  }
}

.p-service-cta__img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 170px;
}
@media print, screen and (min-width:768px) {
  .p-service-cta__img {
    right: 9px;
    width: 25%;
    max-width: 268px;
  }
}

.p-service-cta__img img {
  width: 100%;
}

.p-service__breadcrumb {
  color: #fff;
  background-color: #0B1840;
  padding-bottom: 10px;
}