@charset "UTF-8";

.p-about {
  padding-top: clamp(60px, 7.8125vw, 80px);
  padding-bottom: clamp(32px, 4.6875vw, 48px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 32px 40px;
}
@media screen and (min-width:1200px) {
  .p-about {
    -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;
  }
}

@media screen and (min-width:1024px) {
  .p-about__head {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}

.p-about__gray-head {
  margin-top: clamp(16px, 3.02734375vw, 31px);
}

.p-about__texts {
  margin-top: clamp(48px, 5.859375vw, 60px);
  max-width: 490px;
}

.p-about__text {
  font-size: 16px;
  line-height: 2;
  font-weight: 500;
}

.p-about__text + .p-about__text {
  margin-top: clamp(24px, 2.9296875vw, 30px);
}

.p-about__body {
  margin-top: 72px;
  width: 100%;
  height: 100%;
  aspect-ratio: 576/508;
  max-width: 576px;
  position: relative;
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .p-about__body {
    margin-top: 0;
  }
}
@media screen and (min-width:1200px) {
  .p-about__body {
    margin-inline: 0;
  }
}

.p-about__center {
  position: absolute;
  top: -72px;
  left: 50%;
  translate: -50%;
  z-index: 2;
}
@media screen and (min-width:768px) {
  .p-about__center {
    top: auto;
    bottom: 169px;
  }
}


.p-about__center .logo {
  width: 46px;
  height: 27px;
  margin-inline: auto;
}

.p-about__center .title {
  margin-top: 4px;
  font-size: clamp(12px, 3.2467532468vw, 20px);
  line-height: 1.45;
  letter-spacing: 1.2px;
  font-weight: 700;
}
.p-about__item {
  position: absolute;
  z-index: 2;
}

.p-about__item .item-title {
  margin-top: clamp(10px, 3.2467532468vw, 20px);
  padding-inline: 8px;
  color: #ff0002;
  font-size: clamp(12px, 2.4350649351vw, 15px);
  line-height: 1.4666666667;
  letter-spacing: 0.9px;
  font-weight: 700;
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
.p-about__item .item-title::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  left: 0;
  width: 8px;
  height: 100%;
  background: url(../images/titie-left-red.svg) no-repeat center center/contain;
}
.p-about__item .item-title::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 0;
  width: 8px;
  height: 100%;
  background: url(../images/titie-right-red.svg) no-repeat center center/contain;
}
.p-about__item .item-text {
  margin-top: clamp(8px, 2.7597402597vw, 17px);
  font-size: clamp(11px, 2.1103896104vw, 13px);
  line-height: 1.4615384615;
  font-weight: 500;
  max-width: clamp(100px, 22.4025974026vw, 138px);
}


.p-about__item .item-img {
  width: clamp(60px, 24.8376623377vw, 153px);
  aspect-ratio: 153/114;
  -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
          box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
  border-radius: 10px;
}
.p-about__item .item-img img {
  border-radius: 10px;
}

.item-top {
  top: 0;
  left: 50%;
  translate: -50%;
}

.item-top .item-title {
  margin-top: 0;
}
.item-top .item-img {
  margin-top: clamp(8px, 2.7597402597vw, 17px);
}

.item-left {
  bottom: 0;
  left: 0;
}

.item-right {
  bottom: 0;
  right: 0;
}

.p-about__bg {
  position: absolute;
  bottom: 45px;
  left: 0;
  width: 100%;
  z-index: 1;
}

.p-service__bg-text {
  overflow-x: hidden;
  z-index: 1;
}
.p-service__bg-text .bg-text__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 50px;
  width: 100%;
  height: 124px;
}
@media screen and (min-width:768px) {
  .p-service__bg-text .bg-text__wrap {
    height: 248px;
  }
}
.p-service__bg-text .bg-text {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  max-height: 100%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-animation: infinity-scroll-left 50s infinite linear 0.5s both;
          animation: infinity-scroll-left 50s infinite linear 0.5s both;
}
.p-service__bg-text .bg-text img {
  max-height: 100%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
@-webkit-keyframes infinity-scroll-left {
  from {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
  to {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}
@keyframes infinity-scroll-left {
  from {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
  to {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}



.p-service__content {
  padding-top: clamp(72px, 10.5vw, 126px);
  padding-bottom: clamp(80px, 14.1666666667vw, 170px);
  border-radius: 0px 0px 40px 40px;
  position: relative;
}
.p-service__content + .p-service__content {
  margin-top: clamp(-134px, -11.1666666667vw, -67px);
  padding-top: clamp(142px, 23.6666666667vw, 284px);
}
.p-service__content:nth-of-type(3n + 1) {
  background: #FAFAFA;
}
.p-service__content:nth-of-type(3n + 2) {
  background: #EDEDED;
}
.p-service__content:nth-of-type(3n) {
  background: #FFFFFF;
}
.p-service__content:nth-of-type(1) {
  margin-top: -36px;
  z-index: 4;
}
@media screen and (min-width:768px) {
  .p-service__content:nth-of-type(1) {
    margin-top: -71px;
  }
}
.p-service__content:nth-of-type(2) {
  z-index: 3;
}
.p-service__content:nth-of-type(3) {
  z-index: 2;
}
.p-service__content:nth-of-type(4) {
  z-index: 1;
}

.p-service__content:nth-of-type(5) {
  border-radius: 0;
  position: relative;
}
.p-service__content:nth-of-type(5)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -50px;
  width: 100%;
  height: 50px;
  background: #ededed;
  z-index: -1;
}

.p-service__content-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 32px 40px;
  max-width: 1060px;
  margin-inline: auto;
}
@media screen and (min-width:1024px) {
  .p-service__content-wrap {
    -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-img {
  margin-top: clamp(32px, 6.73828125vw, 69px);
  max-width: 500px;
  margin-inline: auto;
  aspect-ratio: 403/314;
  border-radius: 10px;
}
@media screen and (min-width:1024px) {
  .p-service__content-img {
    margin-inline: 0;
    max-width: 403px;
  }
}
.p-service__content-img img {
  border-radius: 10px;
}

.p-service__content-body {
  max-width: 567px;
}
@media screen and (min-width:1024px) {
  .p-service__content-body {
    margin-top: clamp(30px, 3.4407027818vw, 47px);
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}

.p-service__texts {
  margin-top: clamp(36px, 5.859375vw, 60px);
}

.p-service__text {
  font-size: clamp(14px, 1.5625vw, 16px);
  line-height: 1.875;
  font-weight: 500;
}
.p-service__text + .p-service__text {
  margin-top: clamp(24px, 2.9296875vw, 30px);
}
