@charset "UTF-8";

.p-fv {
  padding-top: clamp(80px, 12.6302083333vw, 97px);
  margin-left: clamp(20px, 3.6603221083vw, 50px);
  margin-right: clamp(50px, 14.7144948755vw, 201px);
}
@media screen and (min-width:1367px) {
  .p-fv {
    margin-left: calc(50px + (100vw - 1366px) / 2);
    margin-right: calc(201px + (100vw - 1366px) / 2);
  }
}

.p-fv__container {
  padding-top: clamp(40px, 10.2489019034vw, 140px);
  max-width: 1115px;
  position: relative;
}

.p-fv__head {
  padding-bottom: clamp(200px, 38.6530014641vw, 528px);
  padding-left: clamp(20px, 5.2083333333vw, 40px);
  color: #ffffff;
  position: relative;
  z-index: 3;
}
@media screen and (min-width:768px) {
  .p-fv__head {
    padding-left: clamp(20px, 7.8330893119vw, 107px);
  }
}

.p-fv__title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(20px, 3.125vw, 24px);
  line-height: 1.4583333333;
  letter-spacing: 2.4px;
  font-weight: 600;
    width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  position: relative;
}
.p-fv__title:nth-of-type(1) {
  padding-left: clamp(12px, 2.34375vw, 18px);
}
.p-fv__title:nth-of-type(1)::before {
  content: "“";
  position: absolute;
  top: 0;
  left: 0;
  font-size: clamp(16px, 3.125vw, 24px);
  line-height: 1.4583333333;
  letter-spacing: 2.4px;
  font-weight: 600;
}
.p-fv__title:nth-of-type(2) {
  padding-left: clamp(148px, 25.2604166667vw, 194px);
  padding-right: clamp(12px, 2.34375vw, 18px);
}
.p-fv__title:nth-of-type(2)::after {
  content: "”";
  position: absolute;
  top: 0;
  right: 0;
  font-size: clamp(16px, 3.125vw, 24px);
  line-height: 1.4583333333;
  letter-spacing: 2.4px;
  font-weight: 600;
}

.p-fv__main {
  position: absolute;
  top: 112px;
  right: clamp(-188px, -13.7628111274vw, -50px);
  width: clamp(120px, 37.1156661786vw, 507px);
  aspect-ratio: 507/394;
  z-index: 2;
}
@media screen and (min-width:768px) {
  .p-fv__main {
    top: clamp(16px, 3.6603221083vw, 50px);
  }
}

.p-fv__news-wrap {
  position: absolute;
  bottom: -80px;
  right: clamp(-176px, -12.8843338214vw, -20px);
  padding-block: 8px;
  padding-inline: 17px 10px;
  max-width: 313px;
  background: #F1F2ED;
  border-radius: 3px;
  z-index: 2;
}
.p-fv__news-wrap::before {
  content: "News";
  position: absolute;
  top: 14px;
  left: -3px;
  font-family: "Lato", sans-serif;
  font-size: 10px;
  line-height: 1;
  rotate: 90deg;
}
@media screen and (min-width:768px) {
  .p-fv__news-wrap {
    bottom: clamp(20px, 8.4919472914vw, 116px);
  }
}

.p-fv__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}

.p-fv__item-head {
  max-width: 80px;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 3px;
  position: relative;
}
.p-fv__item-head img {
  position: relative;
  z-index: 1;
  border-radius: 3px;
}
.p-fv__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-fv__item-date {
  font-family: "Lato", sans-serif;
  font-size: 10px;
  line-height: 1.2;
}

.p-fv__item-title {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.5454545455;
  font-weight: 600;
  text-decoration: underline;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}


.p-fv__menu-btn {
  display: none;
  position: absolute;
  bottom: clamp(20px, 7.1742313324vw, 98px);
  left: clamp(-25px, -3.2552083333vw, -18px);
  width: 100%;
  max-width: 164px;
  padding-block: clamp(20px, 3.125vw, 24px);
  padding-left: clamp(12px, 3.2552083333vw, 25px);
  color: #ffffff;
  font-size: clamp(12px, 1.8229166667vw, 14px);
  line-height: 1;
  background: #303332;
  border-radius: 3px;
  z-index: 4;
  cursor: pointer;
}
.p-fv__menu-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 8px;
  width: clamp(40px, 6.25vw, 48px);
  aspect-ratio: 1/1;
  background: url(../images/top-menu-box.png) no-repeat center center/contain;
}
@media screen and (min-width:768px) {
  .p-fv__menu-btn {
    display: block;
  }
}

.p-fv__swiper-wrapper {
  position: relative;
  z-index: 2;
}

.p-fv__swiper-slide {
  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-fv__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 5px;
}
.p-fv__bg img {
  border-radius: 5px;
}


.p-sv__swiper-container {
  margin-top: clamp(-98px, -8.1666666667vw, -60px);
  padding-top: 150px;
  padding-bottom: clamp(40px, 5vw, 60px);
  background: #F1F2ED;
}

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

.p-sv__swiper-slide {
  width: 100%;
  max-width: clamp(270px, 37.7745241581vw, 440px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 10px;
}
.p-sv__swiper-slide .texts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: clamp(10px, 1.6105417277vw, 22px);
}
.p-sv__swiper-slide .text-l {
  font-family: "Lato", sans-serif;
  font-size: clamp(16px, 2.4890190337vw, 34px);
  line-height: 1;
}
.p-sv__swiper-slide .text-r {
  font-family: "Cormorant Garamond", sans-serif;
  font-size: clamp(20px, 2.9282576867vw, 40px);
  line-height: 1.2;
  font-weight: 500;
}
.p-sv__swiper-slide .img {
  max-width: clamp(100px, 10.980966325vw, 150px);
  aspect-ratio: 3/2;
  border-radius: 5px;
}
.p-sv__swiper-slide .img img {
  border-radius: 5px;
}

.p-sv__swiper-slide.slide1, .p-sv__swiper-slide.slide2, .p-sv__swiper-slide.slide3 {
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
}

.p-works {
  padding-top: clamp(80px, 11.25vw, 135px);
  padding-inline: clamp(20px, 4.1666666667vw, 50px);
  max-width: 1366px;
  margin-inline: auto;
}

.p-works__head {
  padding-bottom: clamp(32px, 5.2083333333vw, 40px);
}
@media screen and (min-width:768px) {
  .p-works__head {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: end;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.p-works__btn {
  margin-left: auto;
}
@media screen and (min-width:1024px) {
  .p-works__btn {
    margin-left: 0;
  }
}

.p-works__items {
  padding-bottom: clamp(60px, 5.8565153734vw, 80px);
  border-bottom: 1px solid rgba(48, 51, 50, 0.2);
}
.p-works__items .webgene-blog {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 24px;
}
@media screen and (min-width:1024px) {
  .p-works__items .webgene-blog {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
}
@media screen and (min-width:1024px) {
  .p-works__items .webgene-item:nth-of-type(2n) {
    padding-left: 40px;
    position: relative;
  }
  .p-works__items .webgene-item:nth-of-type(2n)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: #303332;
    opacity: 0.2;
  }
}
@media screen and (min-width:1024px) {
  .p-works__items .webgene-item:nth-of-type(2n-1) {
    padding-right: 40px;
  }
}


.p-works__item {
  max-width: 633px;
  margin-inline: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 20px;
}
@media screen and (min-width:1024px) {
  .p-works__item {
    margin-inline: 0;
  }
}
@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 {
  max-width: clamp(140px, 36.4583333333vw, 280px);
  aspect-ratio: 28/22;
  border-radius: 5px;
    overflow: hidden;
  position: relative;
}
@media screen and (min-width:1024px) {
  .p-works__item-head {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}
.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;
}
.p-works__item-head img {
  border-radius: 5px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.p-works__item-body {
  width: 100%;
  max-width: 288px;
}

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

.p-works__item-date {
  font-family: "Lato", sans-serif;
  font-size: 12px;
  line-height: 1;
}

.p-works__item-tag span {
  display: block;
  min-width: 70px;
  padding-inline: 10px;
  font-family: "Lato", sans-serif;
  font-size: 10px;
  line-height: 1.4;
  border: 1px solid #303332;
  text-align: center;
}

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

.p-about {
  margin-top: clamp(80px, 12.5vw, 150px);
  margin-left: clamp(20px, 10.980966325vw, 210px);
  padding-left: clamp(20px, 5.2083333333vw, 40px);
  padding-right: 20px;
  padding-top: clamp(60px, 7.9166666667vw, 95px);
  padding-bottom: clamp(216px, 29.8333333333vw, 358px);
  background: #F1F2ED;
  position: relative;
}
@media screen and (min-width:768px) {
  .p-about {
    padding-right: 0;
  }
}
@media screen and (min-width:1024px) {
  .p-about {
    padding-left: clamp(200px, 39.019033675vw, 750px);
  }
}

.p-about__content {
  max-width: 500px;
}

.p-about__texts {
  margin-top: clamp(24px, 3.90625vw, 40px);
}

.p-about__text {
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.8571428571;
}
.p-about__text + .p-about__text {
  margin-top: clamp(16px, 2.9296875vw, 30px);
}

.p-about__btn {
  margin-top: 40px;
  margin-left: auto;
  padding-block: 16px;
  padding-inline: 20px 58px;
  background: #ffffff;
  border-radius: 3px;
}
.p-about__btn .text {
  text-decoration: none;
}
.p-about__btn.c-btn::after {
  top: 50%;
  translate: 0 -50%;
  right: 6px;
}

.p-about__swiper-container {
  margin-top: clamp(-328px, -24.0117130307vw, -200px);
    position: relative;
  z-index: 1;
}

.p-about__swiper {
  width: clamp(200px, 63.3967789165vw, 1056px);
  margin: 0;
}

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

.p-about__swiper-slide {
  max-width: clamp(160px, 36.6032210835vw, 500px);
  aspect-ratio: 1/1;
}

.p-service {
  padding-top: clamp(80px, 12.0790629575vw, 165px);
}

.p-service__head {
  padding-inline: clamp(20px, 4.1666666667vw, 50px);
}
@media screen and (min-width:768px) {
  .p-service__head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: end;
  }
}

.p-service__btn {
  margin-top: 24px;
  margin-left: auto;
}
@media screen and (min-width:768px) {
  .p-service__btn {
    margin: 0;
  }
}
.p-service__items {
  margin-top: clamp(24px, 3.3333333333vw, 40px);
  border-block: 1px solid rgba(48, 51, 50, 0.2);
  max-width: 500px;
  margin-inline: auto;
  position: relative;
}
@media screen and (min-width:768px) {
  .p-service__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
    margin-inline: 0;
  }
  .p-service__items::before, .p-service__items::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(48, 51, 50, 0.2);
    pointer-events: none;
  }
  .p-service__items::before {
    left: 33.3333333333%;
  }
  .p-service__items::after {
    right: 33.3333333333%;
  }
}

.p-service__link {
  padding-top: clamp(40px, 7.5vw, 90px);
  padding-bottom: clamp(32px, 5.8333333333vw, 70px);
  padding-inline: 20px;
}
.p-service__link + .p-service__link {
  border-top: 1px solid rgba(48, 51, 50, 0.2);
}
@media screen and (min-width:768px) {
  .p-service__link + .p-service__link {
    border-top: none;
  }
}

.p-service__item {
  max-width: 260px;
  margin-inline: auto;
  position: relative;
}


.p-service__item-en {
  position: absolute;
  top: -16px;
  left: 0;
  font-family: "Lato", sans-serif;
  font-size: 10px;
  line-height: 1;
}
@media screen and (min-width:1024px) {
  .p-service__item-en {
    top: 0;
    left: clamp(-27px, -1.9765739385vw, -10px);
    -webkit-writing-mode: sideways-rl;
        -ms-writing-mode: sideways-rl;
            writing-mode: sideways-rl;
  }
}

.p-service__item-img {
  max-width: 260px;
  aspect-ratio: 26/29;
  border-radius: 3px;
}
.p-service__item-img img {
  border-radius: 3px;
}

.p-service__item-title {
  margin-top: clamp(12px, 2.6041666667vw, 20px);
  font-size: clamp(14px, 2.0833333333vw, 16px);
  line-height: 1.5;
  letter-spacing: 0.48px;
  font-weight: 700;
}

.p-service__item-text {
  margin-top: clamp(12px, 2.6041666667vw, 20px);
  font-size: clamp(12px, 1.6927083333vw, 13px);
  line-height: 1.7692307692;
}

.p-service__item-icon {
  margin-top: clamp(12px, 3.2552083333vw, 25px);
  margin-left: auto;
  width: clamp(24px, 4.9479166667vw, 38px);
  aspect-ratio: 1/1;
  border-radius: 3px;
}

.p-news {
  padding-block: clamp(80px, 12.5vw, 150px);
}

@media screen and (min-width:768px) {
  .p-news__wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 40px;
  }
}

@media screen and (min-width:768px) {
  .p-news__head {
    max-width: 160px;
    margin-top: 15px;
  }
}

.p-news__btn {
  margin-top: clamp(24px, 5.2083333333vw, 40px);
  margin-left: auto;
}
@media screen and (min-width:1024px) {
  .p-news__btn {
    margin-left: 0;
  }
}
.p-news__items {
  margin-top: 32px;
  max-width: 800px;
  border-top: 1px solid rgba(48, 51, 50, 0.2);
}
@media screen and (min-width:768px) {
  .p-news__items {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    margin-top: 0;
  }
}

.p-news__item {
  width: 100%;
  padding-right: 63px;
  border-bottom: 1px solid rgba(48, 51, 50, 0.2);
  position: relative;
}
.p-news__item::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 0;
  width: 38px;
  aspect-ratio: 1/1;
  background: url(../images/icon-right-box-g.png) no-repeat center center/contain;
}
@media screen and (min-width:768px) {
  .p-news__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 20px;
  }
}

.p-news__item-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  margin-top: 10px;
}
@media screen and (min-width:768px) {
  .p-news__item-meta {
    display: block;
    margin-top: 0;
  }
}

.p-news__item-date {
  font-family: "Lato", sans-serif;
  font-size: 12px;
  line-height: 1;
}

@media screen and (min-width:768px) {
  .p-news__item-tag {
    margin-top: 5px;
  }
}
.p-news__item-tag span {
  display: block;
  min-width: 70px;
  padding-inline: 10px;
  font-family: "Lato", sans-serif;
  font-size: 10px;
  line-height: 1.4;
  border: 1px solid #303332;
  text-align: center;
}

.p-news__item-title {
  padding-block: clamp(24px, 2.9166666667vw, 35px);
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.4285714286;
  font-weight: 500;
  text-decoration: underline;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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