@charset "UTF-8";

.p-fv {
  padding-top: 83px;
  color: #372710;
  position: relative;
}

.p-fv__img {
  margin-top: 64px;
  max-width: clamp(300px, 66.4714494876vw, 1200px);
  aspect-ratio: 908/556;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
@media screen and (min-width:1024px) {
  .p-fv__img {
    margin-top: 30px;
  }
}

.p-fv__head {
  margin-bottom: 32px;
}
@media screen and (min-width:1024px) {
  .p-fv__head {
    margin-bottom: 0;
    position: absolute;
    top: 2.5622254758vw;
    left: -8.78477306vw;
    -webkit-writing-mode: vertical-rl;
        -ms-writing-mode: tb-rl;
            writing-mode: vertical-rl;
  }
}

.p-fv__title {
  font-size: clamp(20px, 2.34375vw, 24px);
  line-height: 1.2142857143;
  letter-spacing: 1.4px;
  font-weight: 600;
}
@media screen and (min-width:1024px) {
  .p-fv__title {
    font-size: 2.0497803807vw;
    letter-spacing: 5.6px;
  }
}
.p-fv__title:nth-of-type(2) {
  padding-top: 16px;
}
@media screen and (min-width:1024px) {
  .p-fv__title:nth-of-type(2) {
    padding-right: 1.5373352855vw;
    padding-top: 7.027818448vw;
  }
}

.p-fv__text {
  position: absolute;
  top: -32px;
  right: 0;
  font-size: clamp(12px, 0.9516837482vw, 15px);
  line-height: 1.5384615385;
  letter-spacing: 0.65px;
  font-weight: 500;
}
@media screen and (min-width:768px) {
  .p-fv__text {
    top: 2.635431918vw;
    right: -13.0307467057vw;
  }
}
@media screen and (min-width:1024px) {
  .p-fv__text {
    right: min(-160px, -13.0307467057vw);
  }
}

.p-fv__bg-text {
  margin-top: -46px;
  overflow-x: hidden;
}
.p-fv__bg-text .bg-text__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 50px;
  width: 100%;
  height: 96.5px;
}
@media screen and (min-width:768px) {
  .p-fv__bg-text .bg-text__wrap {
    height: 193px;
  }
}
.p-fv__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-fv__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-fv__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.p-about {
  margin-top: -49px;
  padding-top: clamp(120px, 11.6398243045vw, 159px);
  padding-bottom: clamp(112px, 10.4685212299vw, 143px);
  background: #faf9ec;
  position: relative;
}

.p-about__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  max-width: 900px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media screen and (min-width:1024px) {
  .p-about__wrap {
    padding-inline: 0;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}
@media screen and (min-width:1200px) {
  .p-about__wrap {
    max-width: 994px;
  }
}

.p-about__head {
  position: relative;
  z-index: 1;
}
@media screen and (min-width:1024px) {
  .p-about__head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
    gap: clamp(40px, 4.5387994143vw, 62px);
  }
}

@media screen and (min-width:1024px) {
  .p-about__title-en {
    margin-top: 76px;
  }
}

.p-about__title-wrap {
  margin-top: 32px;
}
@media screen and (min-width:1024px) {
  .p-about__title-wrap {
    margin-top: 0;
    -webkit-writing-mode: vertical-rl;
        -ms-writing-mode: tb-rl;
            writing-mode: vertical-rl;
  }
}

.p-about__title-ja {
  color: #372710;
  font-size: clamp(24px, 2.196193265vw, 30px);
  line-height: 1;
  letter-spacing: 1.5px;
  font-weight: 600;
}
@media screen and (min-width:1024px) {
  .p-about__title-ja {
    letter-spacing: 5.5px;
  }
}
.p-about__title-ja:nth-of-type(n+2) {
  padding-top: 16px;
}
@media screen and (min-width:1024px) {
  .p-about__title-ja:nth-of-type(n+2) {
    padding-right: 16px;
  }
}
@media screen and (min-width:1024px) {
  .p-about__title-ja:nth-of-type(2) {
    padding-top: clamp(10px, 1.0248901903vw, 14px);
  }
}
@media screen and (min-width:1024px) {
  .p-about__title-ja:nth-of-type(3) {
    padding-top: clamp(36px, 3.8067349927vw, 52px);
  }
}

.p-about__body {
  margin-top: 40px;
  position: relative;
  z-index: 1;
}
@media screen and (min-width:1024px) {
  .p-about__body {
    margin-top: 64px;
  }
}

.p-about__texts {
  max-width: 369px;
}

.p-about__text {
  font-size: 15px;
  line-height: 1.8666666667;
  letter-spacing: 0.75px;
  font-weight: 500;
}
.p-about__text + .p-about__text {
  margin-top: 36px;
}

.p-about__btn {
  margin-top: clamp(40px, 5.1244509517vw, 70px);
}

.p-about__bg-head {
  position: absolute;
  top: 8.1991215227vw;
  left: -1.6837481698vw;
  color: #ffffff;
  font-size: 11.2737920937vw;
  line-height: 1.4805194805;
  letter-spacing: 4.62px;
  font-weight: 500;
}

.p-about__img {
  position: absolute;
  bottom: -24.5241581259vw;
  right: 5.270863836vw;
  width: clamp(160px, 39.8243045388vw, 544px);
  aspect-ratio: 544/525;
}

@media screen and (min-width:1367px) {
  .p-about__img {
    right: calc(72px + (100vw - 1366px) / 2);
    bottom: -335px;
  }
}

.p-service {
  padding-top: clamp(120px, 11.7130307467vw, 160px);
  padding-bottom: clamp(112px, 10.2489019034vw, 140px);
  position: relative;
}

.p-service__top {
  position: relative;
  z-index: 1;
}
@media screen and (min-width:768px) {
  .p-service__top {
    padding-left: clamp(40px, 5.1244509517vw, 70px);
  }
}

.p-service__top-desc {
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.75px;
  font-weight: 500;
  max-width: 450px;
}

.p-service__bottom {
  margin-top: clamp(80px, 8.6383601757vw, 118px);
  padding-block: 40px;
  padding-inline: clamp(20px, 5.1244509517vw, 70px);
  position: relative;
  z-index: 1;
}
@media screen and (min-width:768px) {
  .p-service__bottom {
    padding-block: 70px 80px;
    padding-inline: clamp(20px, 3.125vw, 70px);
  }
}
@media screen and (min-width:1200px) {
  .p-service__bottom {
    padding-inline: clamp(20px, 5.1244509517vw, 70px);
  }
}

.p-service__content {
  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;
    width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
@media screen and (min-width:1024px) {
  .p-service__content {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -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 + .p-service__content {
  margin-top: clamp(40px, 4.39238653vw, 60px);
}

.p-service__content-img {
  width: clamp(300px, 55.270863836vw, 755px);
  aspect-ratio: 755/295;
  position: relative;
}
.p-service__content-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #372710;
  opacity: 0.09;
  pointer-events: none;
}
@media screen and (min-width:1024px) {
  .p-service__content-img {
    min-height: 240px;
  }
}


.p-service__content-title {
  position: absolute;
  top: 0;
  left: 0;
  padding: 15px 16px 14px 32px;
  background: #ffffff;
  color: #372710;
  font-size: clamp(14px, 1.6105417277vw, 22px);
  line-height: 1.2272727273;
  letter-spacing: 1.1px;
  font-weight: 700;
  z-index: 2;
}
@media screen and (min-width:1024px) {
  .p-service__content-title {
    top: 0;
    left: auto;
    right: clamp(12px, 2.8550512445vw, 39px);
    padding: 40px 16px 14px;
    letter-spacing: 5.5px;
    -webkit-writing-mode: vertical-rl;
        -ms-writing-mode: tb-rl;
            writing-mode: vertical-rl;
  }
}
.p-service__content-title::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 10px;
  width: 15px;
  height: 17px;
  background: url(../images/title-icon.svg) no-repeat center center/cover;
}
@media screen and (min-width:1024px) {
  .p-service__content-title::before {
    top: 15px;
    left: 22px;
  }
}


.p-service__content-body {
  max-width: 301px;
}

.p-service__content-text {
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.75px;
  font-weight: 500;
}

.p-service__btn {
  margin-top: clamp(32px, 3.4407027818vw, 47px);
}

.p-service__bottom-bg {
  position: absolute;
  inset: 0;
}

.p-works {
  padding-top: clamp(20px, 10.2489019034vw, 140px);
  padding-bottom: clamp(80px, 8.78477306vw, 120px);
  position: relative;
}

.p-works__top {
  margin-left: 20px;
  max-width: 470px;
  position: relative;
  z-index: 1;
}
@media screen and (min-width:768px) {
  .p-works__top {
    margin-left: clamp(40px, 9.5168374817vw, 130px);
  }
}
@media screen and (min-width:1367px) {
  .p-works__top {
    margin-left: calc(130px + (100vw - 1366px) / 2);
  }
}

.p-works__desc {
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.75px;
  font-weight: 500;
}

.p-works__bottom {
  margin-top: 88px;
  padding-left: 20px;
}
@media screen and (min-width:768px) {
  .p-works__bottom {
    margin-top: 52px;
    padding-left: clamp(40px, 9.5168374817vw, 130px);
  }
}
@media screen and (min-width:1367px) {
  .p-works__bottom {
    padding-left: calc(130px + (100vw - 1366px) / 2);
  }
}

.p-swiper__container {
  position: relative;
}

.p-works__swiper-slide {
  padding: 21px 20px 24px;
  background: #f7f7f7;
  width: min(354px, 100%);
}
@media (any-hover: hover) {
  .p-works__swiper-slide:hover .p-works__slide-head img {
    scale: 1.1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.p-works__slide-head {
  aspect-ratio: 314/260;
  border-radius: 5px;
  overflow: hidden;
}
.p-works__slide-head img {
  border-radius: 5px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.p-works__slide-body {
  margin-top: 15px;
}

.p-works__tag span {
  display: inline-block;
  padding: 2px 7px;
  color: #B9A57B;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.96px;
  font-weight: 500;
  text-align: center;
  background: #ffffff;
}

.p-works__title {
  margin-top: 15px;
  font-size: 15px;
  line-height: 1.7333333333;
  letter-spacing: 1.2px;
  font-weight: 600;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  height: 52px;
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: -72px;
  width: 50px;
  height: 50px;
}
@media screen and (min-width:768px) {
  .swiper-button-prev,
  .swiper-button-next {
    top: -103px;
  }
}

.swiper-button-prev {
  right: 90px;
  background: url(../images/swiper-prev.png) no-repeat center center/cover;
}
@media screen and (min-width:768px) {
  .swiper-button-prev {
    right: 201px;
  }
}

.swiper-button-next {
  right: 20px;
  background: url(../images/swiper-next.png) no-repeat center center/cover;
}
@media screen and (min-width:768px) {
  .swiper-button-next {
    right: 131px;
  }
}

.p-works__btn {
  margin-top: 60px;
  margin-inline: auto;
}

.p-news {
  padding-top: clamp(100px, 8.78477306vw, 120px);
  padding-bottom: clamp(80px, 9.5168374817vw, 130px);
  background: #fcfbf2;
  position: relative;
}

.p-news__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;
}
@media screen and (min-width:1024px) {
  .p-news__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;
  }
}

@media screen and (min-width:1200px) {
  .p-news__texts {
    margin-left: clamp(40px, 5.1244509517vw, 70px);
  }
}

.p-news__desc {
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.75px;
  font-weight: 500;
  max-width: 238px;
}

.p-news__btn {
  margin-top: clamp(40px, 6.8814055637vw, 94px);
}

.p-news__items {
  padding-block: 20px;
  padding-inline: clamp(20px, 3.75vw, 45px);
  background: #ffffff;
  -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;
  width: 100%;
  margin-inline: auto;
  max-width: 790px;
    height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}
@media screen and (min-width:1024px) {
  .p-news__items {
    margin-top: 52px;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}
.p-news__items .webgene-item:nth-of-type(n + 2) {
  border-top: 1px solid #a7a7a7;
}

.p-news__item {
  padding-block: 40px;
  padding-right: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px 31px;
  position: relative;
}
.p-news__item::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 0;
  width: 28px;
  height: 28px;
  background: url(../images/news-icon-right.svg) no-repeat center center/cover;
}
@media screen and (min-width:1024px) {
  .p-news__item {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
.p-news__item:nth-of-type(n+2) {
  border-top: 1px solid #A7A7A7;
}

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

.p-news__item-date {
  color: #372710;
  font-size: 14px;
  line-height: 1.4285714286;
  letter-spacing: 0.28px;
}

.p-news__item-tag span {
  display: inline-block;
  padding: 2px 7px;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.96px;
  font-weight: 500;
  text-align: center;
  background: #ada79e;
}

.p-news__item-title {
  color: #372710;
  font-size: clamp(14px, 1.3333333333vw, 16px);
  line-height: 1.5;
  letter-spacing: 1.28px;
  font-weight: 500;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}