@charset "UTF-8";

.p-service__body {
  background: #ffffff;
  border-radius: 40px;
  padding-top: 100px;
    -webkit-box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.1607843137);
          box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.1607843137);
}
@media screen and (min-width:768px) {
  .p-service__body {
    padding-top: 170px;
  }
}

.p-works__body {
  padding-top: 50px;
}
.p-works__body .webgene-blog {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  gap: 30px;
}
@media screen and (min-width:768px) {
  .p-works__body .webgene-blog {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width:768px) {
  .p-service__head {
    text-align: center;
  }
}

.p-service__title {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 1.6px;
    font-weight: 700;
  
}
@media screen and (min-width:768px) {
  .p-service__title {
    font-size: 32px;
  }
}

.p-service__title-text {
  margin-top: 38px;
  font-size: 14px;
  line-height: 2.1428571429;
  letter-spacing: 0.7px;
    max-width: 648px;
  margin-inline: auto;

}

.p-service__link-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 40px 60px;
  margin-top: 100px;
  padding: 50px 25px;
  background: #F5FBFD;
  border-radius: 10px;
  max-width: 950px;
  margin-inline: auto;
}
@media screen and (min-width:1200px) {
  .p-service__link-wrap {
    padding: 50px 85px;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: start;
  }
}

.p-service__link {
  width: 220px;
  height: 40px;
  position: relative;
}
.p-service__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: #DCDCDC;
}
.p-service__link:nth-of-type(3n+2) .p-service__link-text::after {
  background: url("../images/btn-blue.png") center/contain no-repeat;
}
.p-service__link:nth-of-type(3n) .p-service__link-text::after {
  background: url("../images/btn-yellow.png") center/contain no-repeat;
}

.p-service__link-text {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: #505050;
    text-align: center;

  position: relative;
}
.p-service__link-text::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 19.29px;
  height: 19.29px;
  background: url("../images/btn-red.png") center/contain no-repeat;
}

.p-service__section-wrap {
  padding-top: 60px;
}
@media screen and (min-width:768px) {
  .p-service__section-wrap {
    padding-top: 100px;
  }
}

.p-service__section {
  position: relative;
}
.p-service__section:nth-of-type(2) .p-section__head-img::before {
  background: url("../images/blue.png") center/contain no-repeat;
}
.p-service__section:nth-of-type(2) .p-section__head-img::after {
  content: "02";
  color: #01A0C6;
}
.p-service__section:nth-of-type(2) .p-section__title-en::before,
.p-service__section:nth-of-type(2) .p-section__service-text::before {
  background: #01A0C6;
}
.p-service__section:nth-of-type(3) .p-section__head-img::before {
  background: url("../images/yellow.png") center/contain no-repeat;
}
.p-service__section:nth-of-type(3) .p-section__head-img::after {
  content: "03";
  color: #EEC910;
}
.p-service__section:nth-of-type(3) .p-section__title-en::before,
.p-service__section:nth-of-type(3) .p-section__service-text::before {
  background: #EEC910;
}
.p-service__section:nth-of-type(4) .p-section__head-img::after {
  content: "04";
}
.p-service__section:nth-of-type(5) .p-section__head-img::before {
  background: url("../images/blue.png") center/contain no-repeat;
}
.p-service__section:nth-of-type(5) .p-section__head-img::after {
  content: "05";
  color: #01A0C6;
}
.p-service__section:nth-of-type(5) .p-section__title-en::before,
.p-service__section:nth-of-type(5) .p-section__service-text::before {
  background: #01A0C6;
}
.p-service__section:nth-of-type(6) .p-section__head-img::before {
  background: url("../images/yellow.png") center/contain no-repeat;
}
.p-service__section:nth-of-type(6) .p-section__head-img::after {
  content: "06";
  color: #EEC910;
}
.p-service__section:nth-of-type(6) .p-section__title-en::before,
.p-service__section:nth-of-type(6) .p-section__service-text::before {
  background: #EEC910;
}
.p-service__section + .p-service__section {
  margin-top: 100px;
}
@media screen and (min-width:768px) {
  .p-service__section + .p-service__section {
    margin-top: 230px;
  }
}

.p-section__content {
  max-width: 1234px;
  padding-inline: 20px;
  margin-inline: auto;
  padding-bottom: 40px;
}
@media screen and (min-width:768px) {
  .p-section__content {
    padding-bottom: 65px;
    padding-inline: 70px;
  }
}

.p-section__head-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1094/380;
  position: relative;
}
.p-section__head-img::before {
  content: "";
  position: absolute;
  top: -70.3px;
  left: -16.3px;
  width: 88.61px;
  height: 89.49px;
  background: url("../images/red.png") center/contain no-repeat;
  -webkit-animation: rotate 10s linear infinite;
          animation: rotate 10s linear infinite;
}
@-webkit-keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@media screen and (min-width:768px) {
  .p-section__head-img::before {
    top: -75.3px;
    left: -64.3px;
    width: 128.61px;
    height: 128.49px;
  }
}
.p-section__head-img::after {
  content: "01";
  position: absolute;
  top: -41px;
  left: 16px;
  color: #E8130C;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}
@media screen and (min-width:768px) {
  .p-section__head-img::after {
    top: -30px;
    left: -12px;
    font-size: 24px;
  }
}
.p-section__head-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 20px;
}

.p-section__content-body {
  padding-top: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 30px;
}
@media screen and (min-width:1024px) {
  .p-section__content-body {
    padding-top: 50px;
    -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-section__desc-wrap {
  max-width: 503px;
}

.p-section__title-en {
  padding-left: 19px;
  font-size: 14px;
  line-height: 1.4285714286;
  font-weight: 700;
  position: relative;
}
.p-section__title-en::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #E8130C;
}

.p-section__title-ja {
  margin-top: 15px;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
}
@media screen and (min-width:768px) {
  .p-section__title-ja {
    font-size: 30px;
  }
}

.p-section__service-wrap {
  margin-top: 48px;
  padding: 27px 36px 29px;
  background: #F5FBFD;
  border-radius: 10px;
}

.p-section__service-title {
  font-size: 17px;
  line-height: 1.4705882353;
  font-weight: 700;
}

.p-section__service-text-wrap {
  margin-top: 17px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 17px 25px;
}

.p-section__service-text {
    padding-left: 17px;
  font-size: 15px;
  line-height: 1.4666666667;
  font-weight: 500;
  position: relative;
}
.p-section__service-text::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E8130C;
}

.p-section__text-wrap {
  margin-top: 30px;
  max-width: 510px;
}
@media screen and (min-width:768px) {
  .p-section__text-wrap {
    margin-top: 22px;
  }
}

.p-section__text-bold {
  font-size: 18px;
  margin-bottom: 39px;
  line-height: 1.6666666667;
  letter-spacing: 1.5px;
  font-weight: 700;
}
@media screen and (min-width:768px) {
  .p-section__text-bold {
    font-size: 24px;
    letter-spacing: 1.92px;
  }
}

.p-section__text {
  font-size: 13px;
  line-height: 2.2;
  letter-spacing: 1px;
}
@media screen and (min-width:768px) {
  .p-section__text {
    font-size: 15px;
    letter-spacing: 1.2px;
  }
}
.p-section__text + .p-section__text {
  margin-top: 29px;
}

.p-service__works {
  padding-block: 60px;
  background: #F5FBFD;
  border-radius: 20px;
}
.p-service__works .webgene-blog {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  gap: 30px;
}
@media screen and (min-width:768px) {
  .p-service__works .webgene-blog {
    grid-template-columns: repeat(3, 1fr);
  }
}

.p-service__link-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-bottom: 48px;
}
@media screen and (min-width:768px) {
  .p-service__link-head {
    -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__works-title {
  font-size: 20px;
  line-height: 1.3181818182;
  letter-spacing: 1.1px;
  font-weight: 700;
}
@media screen and (min-width:768px) {
  .p-service__works-title {
    font-size: 22px;
  }
}

.p-service__works-link {
  margin-top: 20px;
      margin-left: auto;
  width: 88px;
  height: 30px;
  border-bottom: 2px solid #01A0C6;
}
@media screen and (min-width:768px) {
  .p-service__works-link {
    margin-top: 2px;
  }
}

.p-service__works-text {
  font-size: 14px;
  line-height: 1.7857142857;
  letter-spacing: 0.7px;
  font-weight: 500;
  position: relative;
}
.p-service__works-text::after {
  content: "";
  position: absolute;
    top: 8px;
  right: 0;
  width: 5px;
  height: 10px;
  background: url(../images/Icon-chevron-right.svg) no-repeat center center/cover;
}

.p-works__body {
  padding-top: 50px;
}
.p-works__body .webgene-blog {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  gap: 30px;
}
@media screen and (min-width:768px) {
  .p-works__body .webgene-blog {
    grid-template-columns: repeat(3, 1fr);
  }
}

.p-works__item {
  max-width: 400px;
}
@media screen and (min-width:768px) {
  .p-works__item {
    max-width: 369px;
  }
}

.p-works__item-head {
  width: 100%;
  max-height: 252px;
  aspect-ratio: 369/252;
}
.p-works__item-head img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-works__item-body {
  padding-top: 18px;
}

.p-works__item-tag {
  min-width: 73px;
  display: inline-block;
  padding: 5px 10px;
  background: #ffffff;
  border: 1px solid #01A0C6;
  border-radius: 6px;
  text-align: center;
}
.p-works__item-tag span {
  display: block;
  color: #01A0C6;
  font-size: 10px;
  letter-spacing: 0.8px;
}

.p-works__item-title {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6875;
  letter-spacing: 1.28px;
  font-weight: 500;
}
@media screen and (min-width:768px) {
  .p-works__item-title {
    font-size: 16px;
  }
}

.p-nano-items {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  max-width: 1234px;
  padding-inline: 20px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  gap: 28px;
  margin-bottom: 60px;
}
@media screen and (min-width:1024px) {
  .p-nano-items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 110px;
  }
}
@media screen and (min-width:1200px) {
  .p-nano-items {
    padding-inline: 70px;
  }
}

.p-nano-item {
  width: 100%;
  max-width: 345px;
}
.p-nano-item:nth-of-type(2) .p-service__slide-num::after {
  background: #E8130C;
}
.p-nano-item:nth-of-type(3) .p-service__slide-num::after {
  background: #EEC910;
}
.p-nano-item .p-service__swiper-img {
  width: min(100%, 345px);
  max-height: 302px;
  aspect-ratio: 345/302;
}
.p-nano-item .p-service__swiper-img img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  -o-object-fit: cover;
     object-fit: cover;
}
.p-nano-item .p-service__slide-content {
  margin-top: 16px;
}
.p-nano-item .p-service__slide-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}
.p-nano-item .p-service__slide-num {
  padding-right: 5px;
  color: #272727;
  font-size: 30px;
  line-height: 1.5;
  font-weight: 500;
  position: relative;
}
.p-nano-item .p-service__slide-num::after {
  content: "";
  position: absolute;
  bottom: 9px;
  right: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #01A0C6;
}
.p-nano-item .p-service__slide-title {
  padding-left: 10px;
  font-size: 16px;
  line-height: 2.6666666667;
  letter-spacing: 1.44px;
  font-weight: 500;
}
@media screen and (min-width:768px) {
  .p-nano-item .p-service__slide-title {
    font-size: 18px;
    white-space: nowrap;
  }
}
.p-nano-item .p-service__slide-text {
  padding-top: 19px;
  font-size: 12px;
  line-height: 2.1428571429;
  letter-spacing: 0.7px;
  font-weight: 500;
}
@media screen and (min-width:768px) {
  .p-nano-item .p-service__slide-text {
    font-size: 14px;
    letter-spacing: 0.8px;
  }
}
@media screen and (min-width:1200px) {
  .p-nano-item .p-service__slide-text {
    letter-spacing: 0.7px;
  }
}