@charset "UTF-8";

.p-fv {
  color: #ffffff;
  padding-inline: 20px;
  padding-top: clamp(280px, 26.6471449488vw, 364px);
  padding-bottom: clamp(216px, 20.4978038067vw, 280px);
  background: #3b3b3b;
  position: relative;
  overflow: hidden;
}

.p-fv__title {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  position: relative;
  z-index: 3;
}

.p-fv__title-en {
  font-family: "Playfair Display", serif;
  font-size: clamp(48px, 7.3206442167vw, 100px);
}

.p-fv__title-ja {
  margin-top: 16px;
  font-size: clamp(16px, 1.7578125vw, 18px);
  line-height: 2.6666666667;
  letter-spacing: 0.03em;
  font-weight: 700;
  text-align: center;
}


.p-fv__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.p-fv__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
  pointer-events: none;
}
.p-fv__swiper-top {
  margin-top: 130px;
}
@media screen and (min-width:768px) {
  .p-fv__swiper-top {
    margin-top: clamp(-202px, -14.7877013177vw, -100px);
  }
}

.p-fv__swiper-middle {
  margin-top: 80px;
}
@media screen and (min-width:768px) {
  .p-fv__swiper-middle {
    margin-top: clamp(32px, 4.8828125vw, 50px);
  }
}

.p-fv__swiper-bottom {
  margin-top: 80px;
}
@media screen and (min-width:768px) {
  .p-fv__swiper-bottom {
    margin-top: clamp(32px, 5.95703125vw, 61px);
  }
}
.p-fv__swiper-wrapper {
  -webkit-transition-timing-function: linear;
          transition-timing-function: linear;
}

.p-fv__swiper-slide {
  width: clamp(180px, 40.2635431918vw, 550px);
  aspect-ratio: 550/400;
  border-radius: 15px;
}
.p-fv__swiper-slide img {
  border-radius: 15px;
}

.p-about {
  padding-top: clamp(80px, 11.1666666667vw, 134px);
}

.p-about__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media screen and (min-width:1024px) {
  .p-about__wrap {
    grid-template-columns: auto auto;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

@media screen and (min-width:768px) {
  .p-about__body {
    margin-left: auto;
    max-width: 618px;
  }
}
@media screen and (min-width:1024px) {
  .p-about__body {
    margin-top: clamp(32px, 5.0512445095vw, 69px);
  }
}


.p-about__lead {
  font-size: clamp(18px, 1.953125vw, 20px);
  line-height: 1;
  letter-spacing: 0.03em;
  font-weight: 700;
}

.p-about__main {
  margin-top: clamp(24px, 3.125vw, 32px);
  padding: 12px 30px;
  color: #ffffff;
  font-size: clamp(24px, 2.5vw, 30px);
  line-height: 1;
  letter-spacing: 0.03em;
  font-weight: 700;
  background: #F57D01;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 560px;
}
.p-about__texts {
  margin-top: clamp(24px, 5.17578125vw, 53px);
}

.p-about__text {
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 2.2857142857;
  font-weight: 700;
}
.p-about__text + .p-about__text {
  margin-top: clamp(18px, 3.90625vw, 30px);
}

.p-about__btn {
  margin-top: clamp(32px, 3.90625vw, 40px);
}
.p-about__bg-text,
.p-service__bg-text {
  margin-top: clamp(-135px, -9.8828696925vw, -48px);
  width: 98vw;
  overflow: hidden;
  position: relative;
  z-index: -1;
  left: 50%;
  translate: -50%;
}
.p-about__bg-text .bg-text__wrap,
.p-service__bg-text .bg-text__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 48px;
  width: 100%;
}
.p-about__bg-text .bg-text,
.p-service__bg-text .bg-text {
  font-family: "Playfair Display", serif;
  font-size: clamp(60px, 13.4699853587vw, 184px);
  color: #f4f4f4;
  letter-spacing: 0.03em;
  font-weight: 500;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  max-height: 100%;
  -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;
}
@-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 {
  padding-top: 60px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}


.p-service__body {
  margin-top: clamp(60px, 8.69140625vw, 89px);
}
@media screen and (min-width:1024px) {
  .p-service__body.is-ready {
    position: relative;
    height: 100vh;
  }
}

.p-service__content {
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-template-areas: "img head" "img text";
  gap: 24px;
  position: relative;
}
@media screen and (min-width:1024px) {
  .p-service__content {
    grid-template-columns: clamp(120px, 18.0819912152vw, 247px) clamp(200px, 37.1156661786vw, 507px) clamp(120px, 19.1800878477vw, 262px);
    grid-template-areas: "head img text";
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}
.p-service__content + .p-service__content {
  margin-top: clamp(80px, 11.71875vw, 120px);
}
@media screen and (min-width:1024px) {
  .p-service__content:first-of-type {
    opacity: 1;
  }
}
@media screen and (min-width:1024px) {
  .p-service__content.is-active {
    opacity: 1;
  }
}
@media screen and (min-width:1024px) {
  .p-service__body.is-ready .p-service__content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
    -webkit-transition: opacity 0.8s ease;
    transition: opacity 0.8s ease;
  }
}
@media screen and (min-width:1024px) {
  .p-service__body.is-ready .p-service__content.is-active {
    opacity: 1;
    pointer-events: auto;
  }
}
@media screen and (min-width:1024px) {
  .p-service__body.is-ready .p-service__content + .p-service__content {
    margin-top: 0;
  }
}

.p-service__content:first-of-type::before {
  content: "";
  position: absolute;
  top: clamp(10px, 2.1229868228vw, 29px);
  left: -19.3265007321vw;
  width: clamp(700px, 139.897510981vw, 1911px);
  aspect-ratio: 1911/514;
  background: url(../images/top-service-bg-3.png) no-repeat center/contain;
  pointer-events: none;
  z-index: -1;
}

.p-service__content:last-of-type::before {
  content: "";
  position: absolute;
  top: clamp(10px, 2.7818448023vw, 38px);
  left: -19.3265007321vw;
  width: clamp(700px, 139.897510981vw, 1911px);
  aspect-ratio: 1911/514;
  background: url(../images/top-service-bg-4.png) no-repeat center/contain;
  pointer-events: none;
  z-index: -1;
}

.p-service__content-head {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  grid-area: head;
}
@media screen and (min-width:1024px) {
  .p-service__content-head {
    margin-top: clamp(40px, 6.2225475842vw, 85px);
  }
}

.p-service__content-num {
  padding: 2px 4px;
    width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-family: "Playfair Display", serif;
  color: #ffffff;
  font-size: clamp(24px, 3.3333333333vw, 40px);
  line-height: 1;
  font-weight: 600;
  background: #F57D01;
}

.p-service__content-title {
  margin-top: 14px;
  font-size: clamp(22px, 2.196193265vw, 30px);
  line-height: 1.5;
  letter-spacing: 0.03rem;
  font-weight: 700;
}

.p-service__content-img {
  grid-area: img;
  max-width: 507px;
  width: clamp(120px, 32vw, 300px);
  aspect-ratio: 507/600;
  border-radius: 10px;
}
@media screen and (min-width:1024px) {
  .p-service__content-img {
    width: 100%;
  }
}
.p-service__content-img img {
  border-radius: 10px;
}

.p-service__content-text {
  grid-area: text;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 2.2857142857;
  font-weight: 700;
}
@media screen and (min-width:1024px) {
  .p-service__content-text {
    -ms-flex-line-pack: end;
        align-content: end;
  }
}
.p-service__btn {
  margin-top: 26px;
    line-height: 1.4;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}
.p-service__bg-text {
  margin-top: 32px;
}
@media screen and (min-width:1024px) {
  .p-service__bg-text {
    margin-top: -200px;
  }
}

.p-works {
    margin-top: -32px;
  color: #ffffff;
  padding-top: clamp(60px, 9.9609375vw, 102px);
  padding-bottom: clamp(72px, 10.7421875vw, 110px);
  background: #181818;
}
@media screen and (min-width:1024px) {
  .p-works {
    margin-top: -57px;
  }
}

.p-works__wrap {
  display: grid;
  grid-template-columns: auto;
  gap: 32px;
}
@media screen and (min-width:1024px) {
  .p-works__wrap {
    grid-template-columns: auto auto;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: end;
  }
}

.p-works__btn {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
}
.p-works__items {
  margin-top: clamp(48px, 7.03125vw, 72px);
}
@media screen and (min-width:768px) {
  .p-works__items .webgene-blog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
.p-works__items .webgene-item + .webgene-item {
  margin-top: 32px;
}
@media screen and (min-width:768px) {
  .p-works__items .webgene-item + .webgene-item {
    margin-top: 0;
  }
}

.p-works__item {
  max-width: 500px;
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .p-works__item {
    margin-inline: 0;
  }
}
@media screen and (min-width:1024px) {
  .p-works__item {
    max-width: 354px;
  }
}
@media (any-hover: hover) {
  .p-works__item:hover {
    opacity: 1;
  }
  .p-works__item:hover .p-works__item-head img,
  .p-works__item:hover .p-works__item-head::after {
    scale: 1.1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.p-works__item-head {
  aspect-ratio: 354/250;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
@media screen and (min-width:768px) {
  .p-works__item-head {
    max-width: 354px;
  }
}
.p-works__item-head img {
  border-radius: 10px;
}
.p-works__item-head::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url("../images/ogp.jpg") center/cover no-repeat;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  z-index: -1;
}

.p-works__item-meta {
  margin-top: 17px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}

.p-works__item-tag span {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 6% 5px;
  color: #ffffff;
  font-size: 12px;
  line-height: 0.8333333333;
  letter-spacing: 0.03em;
  font-weight: 500;
  background: #858585;
  border-radius: 3px;
  text-align: center;
}

.p-works__item-date {
  font-size: 12px;
}

.p-works__item-title {
  margin-top: 10px;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 2;
  font-weight: 700;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.p-company {
  padding-top: clamp(72px, 12.6953125vw, 130px);
  padding-bottom: clamp(72px, 10.7421875vw, 110px);
  color: #ffffff;
  position: relative;
}
.p-company::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  pointer-events: none;
      z-index: 2;
}
.p-company .l-inner {
  z-index: 2;
}

.p-company__title {
  position: relative;
  z-index: 1;
}

.p-company__body {
  margin-top: clamp(80px, 18.5212298682vw, 253px);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  position: relative;
  z-index: 1;
}

.p-company__text {
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 2.2857142857;
  font-weight: 700;
  max-width: 464px;
}

.p-company__btn {
  margin-top: clamp(48px, 10.4166666667vw, 80px);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
}

.p-company__swiper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.p-company__swiper-wrapper {
  -webkit-transition-timing-function: linear;
          transition-timing-function: linear;
}

.p-company__swiper-slide {
  width: 100%;
  aspect-ratio: 1366/768;
}

.p-news {
  padding-top: clamp(80px, 11.71875vw, 120px);
  padding-bottom: clamp(60px, 10.05859375vw, 103px);
}

.p-news__items {
  margin-top: clamp(38px, 4.8828125vw, 50px);
  max-width: 1142px;
  margin-inline: auto;
  border-top: 1px solid #e7e7e7;
}

.p-news__item {
  padding-block: clamp(20px, 3.2552083333vw, 25px);
  padding-inline: clamp(20px, 3.3333333333vw, 40px);
  background: #ffffff;
  border-radius: 5px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-right: 36px;
  border-bottom: 1px solid #e7e7e7;
  position: relative;
}
.p-news__item::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: clamp(20px, 3.3333333333vw, 40px);
  width: 10.35px;
  height: 11.01px;
  background: url(../images/icon-arrow-right.svg) no-repeat center center/contain;
}
@media screen and (min-width:1024px) {
  .p-news__item {
    grid-template-columns: auto 1fr;
    gap: 29px;
  }
}

.p-news__item-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
    min-width: 130px;
}

.p-news__item-date {
  color: #43423f;
  font-size: 12px;
}

.p-news__item-tag span {
  display: block;
  padding: 6px 5px;
  color: #ffffff;
  font-size: 12px;
  line-height: 0.8333333333;
  letter-spacing: 0.03em;
  font-weight: 500;
  background: #303131;
  border-radius: 5px;
  text-align: center;
  min-width: 65px;
}

.p-news__item-title {
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 2.1428571429;
  letter-spacing: 0.03em;
  font-weight: 700;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

