@charset "UTF-8";

.p-service {
  position: relative;
  margin-bottom: clamp(120px, 13.9824304539vw, 191px);
}

.p-service__top {
  margin-top: clamp(80px, 10.980966325vw, 150px);
  margin-bottom: clamp(40px, 4.831625183vw, 66px);
  max-width: 1000px;
  margin-inline: auto;
}

.p-service__title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(24px, 2.3426061493vw, 32px);
  line-height: 1.65625;
  letter-spacing: 3.2px;
  font-weight: 600;
}

.p-service__top-text {
  margin-top: 40px;
  font-size: 16px;
  line-height: 1.875;
  letter-spacing: 0.8px;
  font-weight: 500;
}

.p-service__btn-wrap {
  margin-top: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
@media screen and (min-width:1024px) {
  .p-service__btn-wrap {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin-inline: 0;
  }
}

.p-service__btn {
  padding: 16px 15px 16px 24px;
  background: #ffffff;
  border: 1px solid #a7a7a7;
  border-radius: 10px;
  width: 252px;
}

.p-service__btn:nth-of-type(2) .p-service__btn-text::after {
  background: url(../images/btn-arrow-green.png) center/cover no-repeat;
}
.p-service__btn:nth-of-type(3) .p-service__btn-text::after {
  background: url(../images/btn-arrow-l-green.png) center/cover no-repeat;
}

@media (any-hover: hover) {
  .p-service__btn:hover .p-service__btn-text::after {
    rotate: 90deg;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.p-service__btn-text {
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  line-height: 1.4375;
  letter-spacing: 1.28px;
  font-weight: 600;
  position: relative;
}
.p-service__btn-text::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 0;
  width: 28px;
  height: 18px;
  background: url(../images/btn-arrow-blue.png) center/cover no-repeat;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.p-service__content {
  padding-top: clamp(60px, 6.4421669107vw, 88px);
  margin-bottom: clamp(80px, 8.1259150805vw, 111px);
  max-width: 1000px;
  margin-inline: auto;
  position: relative;
}
.p-service__content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50%;
  width: 107.5%;
  height: 1px;
  background: #a7a7a7;
}

.service02 .p-service__content-num {
  color: #73b690;
}
.service02 .p-service__items-title::before {
  background: #73b690;
}

.service03 {
  margin-bottom: 0;
}
.service03 .p-service__content-num {
  color: #abce72;
}
.service03 .p-service__items-title::before {
  background: #abce72;
}

@media screen and (min-width:1024px) {
  .service03 .p-service__content-middle {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
  }
}

.p-service__content-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 20px;
}
@media screen and (min-width:768px) {
  .p-service__content-head {
    gap: 38px;
  }
}

.p-service__content-num {
  font-family: "Lato", serif;
  color: #0c8ac7;
  font-size: clamp(40px, 5.17578125vw, 53px);
  line-height: 1.1886792453;
  font-weight: 500;
}

.p-service__content-title {
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  line-height: 1.4090909091;
  letter-spacing: 1.76px;
  font-weight: 500;
}

.p-service__content-desc {
  margin-top: 34px;
  font-size: 16px;
  line-height: 1.875;
  letter-spacing: 0.8px;
  font-weight: 500;
}

.p-service__content-imgs {
  margin-top: 70px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}


.p-service__content-img {
  max-width: 33.3333333333vw;
  aspect-ratio: 1/1;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
@media screen and (min-width:1024px) {
  .p-service__content-img {
    max-width: 333px;
  }
}

.p-service__items-title {
  margin-top: clamp(40px, 6.8359375vw, 70px);
  padding-left: 28px;
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: 1.2px;
  font-weight: 500;
  -webkit-text-stroke: 0.2px #635542;
  position: relative;
}
.p-service__items-title::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 18px;
  height: 18px;
  background: #0c8ac7;
  border-radius: 3px;
}


.p-service__content-items {
  margin-top: 45px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 40px 20px;
  margin-inline: auto;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media screen and (min-width:1024px) {
  .p-service__content-items {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: start;
    max-width: none;
    margin-inline: 0;
  }
}

.p-service__content-item {
  max-width: 234px;
}
.p-service__content-item .img {
  width: min(234px, 50vw - 40px);
  aspect-ratio: 234/200;
}
.p-service__content-item .img img {
  border-radius: 5px;
}
.p-service__content-item .title {
  margin-top: 15px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 1.6px;
  font-weight: 600;
  text-align: center;
}

.p-service__content-middle {
  margin-top: 70px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
  gap: 40px;
}
@media screen and (min-width:1024px) {
  .p-service__content-middle {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}
.p-service__content-middle .img {
  max-width: 477px;
  aspect-ratio: 477/420;
  margin-inline: auto;
}
@media screen and (min-width:1024px) {
  .p-service__content-middle .img {
    margin-inline: 0;
  }
}
.p-service__content-middle .img img {
  border-radius: 5px;
}
@media screen and (min-width:1024px) {
  .p-service__content-middle .texts {
    margin-top: 83px;
  }
}
.p-service__content-middle .title {
  font-size: 22px;
  line-height: 1.6363636364;
  letter-spacing: 2.2px;
  font-weight: 600;
}
.p-service__content-middle .text {
  margin-top: 40px;
  font-size: 16px;
  line-height: 1.875;
  letter-spacing: 0.8px;
  font-weight: 500;
  max-width: 454px;
}

.p-service__logo-top {
  position: absolute;
  top: -26.5007320644vw;
  left: -29.5754026354vw;
  width: clamp(20px, 74.5241581259vw, 1018px);
  aspect-ratio: 679/664;
  background: url(../images/logo-bg.png) center/cover no-repeat;
  pointer-events: none;
  z-index: -1;
}
@media screen and (min-width:1367px) {
  .p-service__logo-top {
    top: -362px;
    left: calc(-404px + (100vw - 1366px) / 2);
  }
}


.p-service__logo-right {
  position: absolute;
  top: max(1760px, 128.8433382138vw);
  left: 27.6720351391vw;
  width: clamp(20px, 74.5241581259vw, 1018px);
  aspect-ratio: 679/664;
  background: url(../images/logo-bg.png) center/cover no-repeat;
  pointer-events: none;
  z-index: -1;
}
@media screen and (min-width:1024px) {
  .p-service__logo-right {
    top: min(758px, 153.8461538462vw);
  }
}
@media screen and (min-width:1367px) {
  .p-service__logo-right {
    top: 758px;
    left: calc(378px + (100vw - 1366px) / 2);
  }
}

.p-service__logo-left {
  position: absolute;
  top: max(3400px, 248.9019033675vw);
  left: -26.3543191801vw;
  width: clamp(20px, 74.5241581259vw, 1018px);
  aspect-ratio: 679/664;
  background: url(../images/logo-bg.png) center/cover no-repeat;
  pointer-events: none;
  z-index: -1;
}
@media screen and (min-width:1024px) {
  .p-service__logo-left {
    top: min(2568px, 197.5384615385vw);
  }
}
@media screen and (min-width:1367px) {
  .p-service__logo-left {
    top: 2568px;
    left: calc(-360px + (100vw - 1366px) / 2);
  }
}
