@charset "UTF-8";

.p-fv {
  padding-top: clamp(240px, 29.8682284041vw, 408px);
  padding-bottom: clamp(80px, 11.1328125vw, 114px);
  position: relative;
}
.p-fv::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #000000;
  opacity: 0.55;
  pointer-events: none;
  z-index: 2;
}
.p-fv::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 74.0849194729vw;
  height: 29px;
  background: url(../images/top-fv-edge.png) no-repeat bottom left/contain;
  z-index: 3;
  pointer-events: none;
}
.p-fv__head {
  padding-left: clamp(20px, 4.78515625vw, 49px);
  padding-right: 20px;
  color: #ffffff;
  position: relative;
  z-index: 2;
}

.p-fv__title {
  font-size: clamp(32px, 3.7109375vw, 38px);
  font-weight: 600;
}

.p-fv__text {
  margin-top: clamp(24px, 2.9296875vw, 30px);
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 2.2857142857;
  max-width: 475px;
}

.p-fv__cta {
  margin-top: clamp(24px, 2.9296875vw, 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: 15px;
}
@media screen and (min-width:768px) {
  .p-fv__cta {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
}

.p-fv__cta-btn {
  padding: 16px 21px 12px;
  border-radius: 5px;
  color: #ffffff;
  background: #F2B546;
  max-width: 200px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: hidden;
}
.p-fv__cta-btn .btn-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 7px;
}
.p-fv__cta-btn .btn-icon {
  width: 16.79px;
}
.p-fv__cta-btn .btn-icon img {
  -o-object-fit: contain;
     object-fit: contain;
}
.p-fv__cta-btn .btn-title {
  font-size: 13px;
  font-weight: 500;
}
.p-fv__cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%; /* 初期位置：左の外側に隠しておく */
  width: 100%;
  height: 100%;
  /* 半透明の白いグラデーションで光を作る */
  background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(50%, rgba(255, 255, 255, 0.4)), to(rgba(255, 255, 255, 0)));
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  -webkit-transform: skewX(-25deg);
          transform: skewX(-25deg); /* 光の帯を斜めに傾ける */
  -webkit-transition: left 0.6s ease;
  transition: left 0.6s ease; /* 光が通り過ぎる速度 */
  z-index: 1;
}
@media (any-hover: hover) {
  .p-fv__cta-btn:hover {
    color: #ffffff;
    opacity: 1;
  }
  .p-fv__cta-btn:hover::before {
    left: 150%;
  }
}
.p-fv__cta-tel {
  padding: 7px 22px 6px;
  background: #F35759;
}
.p-fv__cta-tel .btn-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 7px;
}
.p-fv__cta-tel .btn-icon {
  width: 12px;
}
.p-fv__cta-tel .btn-icon img {
  -o-object-fit: contain;
     object-fit: contain;
}
.p-fv__cta-tel .btn-num {
  font-family: "Lato", serif;
  font-size: 20px;
  font-weight: 500;
}
.p-fv__cta-tel .btn-text {
  font-size: 9px;
  font-weight: 500;
  text-align: center;
}

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

.p-fv__swiper-slide {
  position: relative;
  overflow: hidden;
}
.p-fv__swiper-slide img {
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transition: -webkit-transform 6s ease-in;
  transition: -webkit-transform 6s ease-in;
  transition: transform 6s ease-in;
  transition: transform 6s ease-in, -webkit-transform 6s ease-in;
}
.p-fv__swiper-slide.swiper-slide-active img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.p-about {
  padding-top: clamp(80px, 9.5833333333vw, 115px);
  padding-bottom: clamp(80px, 10vw, 120px);
  background: #ffffff;
}

.p-about__title {
  padding-left: clamp(20px, 4.8828125vw, 50px);
}
.p-about__swiper-container {
  margin-top: clamp(36px, 5.078125vw, 52px);
  border-block: 1px solid #dadada;
}

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

.p-about__swiper-slide {
  padding-block: 30px 23px;
  padding-inline: clamp(24px, 4.1666666667vw, 50px);
    width: clamp(220px, 33.3333333333vw, 400px);
}
.p-about__swiper-slide:nth-child(n+2) {
  border-left: 1px solid #dadada;
}

.p-about__swiper-img {
  width: clamp(160px, 25vw, 300px);
  aspect-ratio: 300/250;
  border-radius: 5px;
}
.p-about__swiper-img img {
  border-radius: 5px;
}

.p-about__swiper-title {
    margin-top: 10px;
  padding-left: 17px;
  font-size: clamp(13px, 1.5625vw, 16px);
  line-height: 2;
  font-weight: 700;
  position: relative;
}
.p-about__swiper-title::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  left: 0;
  width: 6px;
  aspect-ratio: 1/1;
  background: #F2B546;
  border-radius: 50%;
}

.p-about__body {
  margin-top: clamp(36px, 4.8828125vw, 50px);
  padding-inline: 20px;
  display: grid;
  grid-template-columns: auto;
  gap: 20px;
}
@media screen and (min-width:1024px) {
  .p-about__body {
    padding-left: clamp(20px, 4.8828125vw, 50px);
    padding-right: clamp(20px, 5.859375vw, 60px);
    grid-template-columns: repeat(2, auto);
        -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.p-about__text {
  font-size: 14px;
  line-height: 2.2857142857;
  font-weight: 600;
  max-width: 642px;
}

.p-about__btn {
    padding: 16px 81px 12px 45px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  background: #F2B546;
  border-radius: 5px;
   max-width: 260px;
  position: relative;
}
.p-about__btn::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 21px;
  width: 16.79px;
  height: 13.04px;
  background: url(../images/icon-fv-mail.svg) no-repeat center center/contain;
}
.p-about__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 11px;
  width: 22px;
  aspect-ratio: 1/1;
  background: url(../images/icon-arrow-btn.svg) no-repeat center center/contain;
}
@media (any-hover: hover) {
  .p-about__btn:hover {
    color: #ffffff;
  }
}

.p-service {
  color: #ffffff;
  background: #303030;
  position: relative;
}
.p-service::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/top-service-filter.png) repeat center center/cover;
  pointer-events: none;
}

.p-service__container {
  padding-top: clamp(80px, 10.75vw, 129px);
  padding-bottom: clamp(72px, 8.9166666667vw, 107px);
  position: relative;
  z-index: 1;
}
.p-service__container::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 29.0629575403vw;
  height: 15px;
  background: url(../images/top-company-edge-top.png) no-repeat top left/cover;
}
.p-service__container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 74.0849194729vw;
  height: 29px;
  background: url(../images/top-service-edge-bottom.png) no-repeat top right/cover;
}


.p-service__title {
  padding-left: clamp(20px, 4.8828125vw, 50px);
}

.p-service__body {
  margin-top: clamp(40px, 3.8067349927vw, 52px);
  border-top: 1px solid #dadada;
}

.p-service__content {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid #dadada;
  padding-block: 32px;
  gap: 20px;
}
@media screen and (min-width:1024px) {
  .p-service__content {
    padding-block: 0;
    gap: 0;
    grid-template-columns: clamp(300px, 49.7803806735vw, 800px) 1fr;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.p-service__content-texts {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  padding-inline: 20px;
}
@media screen and (min-width:1024px) {
  .p-service__content-texts {
    padding-left: clamp(40px, 6.0761346999vw, 96px);
  }
}
@media screen and (min-width:1367px) {
  .p-service__content-texts {
    padding-inline: 0;
    justify-self: center;
  }
}

.p-service__content-en {
  font-size: 14px;
  line-height: 1.4285714286;
  font-weight: 600;
}

.p-service__content-title {
  margin-top: 14px;
  font-size: clamp(20px, 2.3333333333vw, 28px);
  line-height: 1.3333333333;
  font-weight: 700;
}

.p-service__content-text {
  margin-top: clamp(32px, 3.80859375vw, 39px);
  font-size: 14px;
  line-height: 2.2857142857;
  font-weight: 600;
}
@media screen and (min-width:1024px) {
  .p-service__content-text {
    max-width: 497px;
  }
}

.p-service__content-link {
  margin-top: 30px;
  padding-top: 5px;
  padding-right: 43px;
  padding-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  position: relative;
}
.p-service__content-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: url(../images/top-service-line.svg) repeat center center/cover;
}
.p-service__content-link::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  aspect-ratio: 1/1;
  background: url(../images/icon-arrow-yellow.svg) repeat center center/cover;
}
@media (any-hover: hover) {
  .p-service__content-link:hover {
    color: #F2B546;
    background: #ffffff;
    opacity: 1;
    border-radius: 5px 5px 0 0 ;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}
.p-service__content-img {
  margin-inline: 20px;
  max-width: calc(100% - 40px);
  aspect-ratio: 680/412;
}
@media screen and (min-width:1024px) {
  .p-service__content-img {
    margin-inline: 0;
    max-width: none;
  }
}

.p-works {
  padding-top: clamp(80px, 9.5833333333vw, 115px);
  padding-bottom: clamp(80px, 10.0833333333vw, 121px);
  background: #ffffff;
}

.p-works__title {
  padding-left: clamp(20px, 4.8828125vw, 50px);
}
@media screen and (min-width:1367px) {
  .p-works__title {
    padding-left: calc(50px + (100vw - 1366px) / 2);
  }
}
.p-works__items {
  margin-top: clamp(40px, 5.078125vw, 52px);
  border-top: 1px solid #dadada;
  padding-top: clamp(40px, 4.8828125vw, 50px);
}
@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: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}

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

.p-works__item-tag span {
  padding: 2px 3px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
  background: #787878;
  text-align: center;
}

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


.p-works__item-text {
  margin-top: 8px;
  margin-left: auto;
  padding-right: 19px;
  padding-bottom: 3px;
  font-size: clamp(13px, 1.3671875vw, 14px);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  position: relative;
}
.p-works__item-text::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 0;
  width: 7px;
  height: 6px;
  background: url(../images/icon-right-yellow.svg) no-repeat center center/contain;
}

.p-works__btn {
  margin-top: clamp(32px, 4.00390625vw, 41px);
  margin-inline: auto;
}

.p-company {
  padding-block: clamp(60px, 10vw, 120px);
  color: #ffffff;
  position: relative;
}
@media screen and (min-width:1024px) {
  .p-company {
    padding-top: clamp(120px, 18.25vw, 219px);
    padding-bottom: clamp(120px, 18.5833333333vw, 223px);
  }
}



.p-company__wrap {
  padding-left: clamp(20px, 4.8828125vw, 50px);
  padding-right: 20px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto;
  gap: 20px;
}
@media screen and (min-width:768px) {
  .p-company__wrap {
    padding-right: clamp(60px, 7.906295754vw, 108px);
  }
}
@media screen and (min-width:1024px) {
  .p-company__wrap {
    grid-template-columns: repeat(2, auto);
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
        gap: 36px;
  }
}
@media screen and (min-width:1367px) {
  .p-company__wrap {
    padding-left: calc(50px + (100vw - 1366px) / 2);
  }
}


.p-company__content {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}


.p-company__table {
  max-width: 637px;
}
@media screen and (min-width:1024px) {
  .p-company__table {
    min-width: -webkit-max-content;
    min-width: -moz-max-content;
    min-width: max-content;
  }
}
.p-company__table-row {
  display: grid;
  grid-template-columns: 94px 1fr;
  padding-block: 25px;
  border-bottom: 1px solid #ffffff;
}
@media screen and (min-width:768px) {
  .p-company__table-row {
    grid-template-columns: 100px 1fr;
  }
}


.p-company__table-title {
  font-size: clamp(13px, 1.3671875vw, 14px);
  font-weight: 700;
}

.p-company__table-text {
  padding-left: clamp(20px, 4.5387994143vw, 62px);
  font-size: clamp(13px, 1.3671875vw, 14px);
  font-weight: 500;
}


.p-company__text {
  margin-top: clamp(32px, 4.4921875vw, 46px);
  font-size: 14px;
  line-height: 2.2857142857;
  font-weight: 600;
  max-width: 497px;
}
.p-company__btn {
  margin-top: clamp(32px, 4.39453125vw, 45px);
}
.p-company__swiper-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.p-company__swiper-container::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 29.0629575403vw;
  height: 29px;
  background: url(../images/top-company-edge-top.png) no-repeat top left/cover;
  z-index: 2;
}
.p-company__swiper-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 74.0849194729vw;
  height: 29px;
  background: url(../images/top-company-edge-bottom.png) no-repeat top right/cover;
  z-index: 2;
}

.p-company__swiper {
  height: 100%;
  position: relative;
}
.p-company__swiper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  pointer-events: none;
  z-index: 1;
}

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

.p-company__swiper-slide {
  width: clamp(300px, 44.8023426061vw, 612px);
  aspect-ratio: 612/768;
}

.p-news {
  padding-top: clamp(80px, 9.5vw, 114px);
  padding-bottom: clamp(80px, 8.6666666667vw, 104px);
  background: #f0f0f0;
}

.p-news__title {
  padding-left: clamp(20px, 4.8828125vw, 50px);
}

.p-news__items {
  margin-top: clamp(40px, 5.17578125vw, 53px);
  border-top: 1px solid #a4a4a4;
  padding-top: clamp(48px, 5.859375vw, 60px);
}
.p-news__items .webgene-item + .webgene-item {
  margin-top: 10px;
}

.p-news__item {
  padding-block: clamp(24px, 3.41796875vw, 35px);
  padding-inline: 20px;
  display: grid;
  grid-template-columns: auto;
  gap: 12px;
  background: #f9f9f9;
  border-radius: 10px;
  position: relative;
}
@media screen and (min-width:1024px) {
  .p-news__item {
    grid-template-columns: auto 1fr;
    gap: clamp(20px, 3.074670571vw, 42px);
    padding-inline: 47px 40px;
  }
}

.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;
}

.p-news__item-date {
  color: #676767;
  font-size: 13px;
}

.p-news__item-tag span {
  padding: 2px 3px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
  background: #787878;
  text-align: center;
}

.p-news__item-title {
  padding-right: 32px;
  font-size: clamp(13px, 1.3671875vw, 14px);
  line-height: 1.8571428571;
  font-weight: 500;
  color: #3c3c3c;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  position: relative;
}
.p-news__item-title::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 0;
  width: 22px;
  aspect-ratio: 1/1;
  background: url(../images/icon-arrow-yellow.svg) no-repeat center center/contain;
}

.p-news__btn {
  margin-top: clamp(48px, 5.859375vw, 60px);
  margin-inline: auto;
}