@charset "UTF-8";

.p-top {
  padding-top: clamp(80px, 11.03515625vw, 113px);
  padding-bottom: clamp(120px, 20.1171875vw, 206px);
  background: transparent -webkit-gradient(linear, left top, left bottom, from(#ffffff), color-stop(4%, #fffdf8), color-stop(9%, #f1dfc2), color-stop(18%, #db8266), color-stop(27%, #bd4a3b), color-stop(40%, #9a6543), color-stop(75%, #ba5932), to(#9f8064)) 0% 0% no-repeat padding-box;
  background: transparent linear-gradient(180deg, #ffffff 0%, #fffdf8 4%, #f1dfc2 9%, #db8266 18%, #bd4a3b 27%, #9a6543 40%, #ba5932 75%, #9f8064 100%) 0% 0% no-repeat padding-box;
  position: relative;
}
.p-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../images/top-sv-filter.png) no-repeat center center/cover;
  pointer-events: none;
}

.p-fv {
  position: relative;
  margin-inline: clamp(20px, 3.2552083333vw, 25px);
  z-index: 1;
}

.p-fv__head {
  padding-top: clamp(80px, 16.5446559297vw, 226px);
  padding-bottom: clamp(80px, 21.8155197657vw, 298px);
  padding-left: 20px;
  position: relative;
  z-index: 2;
}
@media screen and (min-width:768px) {
  .p-fv__head {
    padding-left: clamp(80px, 9.4436310395vw, 129px);
  }
}

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

.p-fv__title-ja {
  margin-top: 7px;
  font-size: clamp(22px, 2.5390625vw, 26px);
  line-height: 1.5769230769;
  letter-spacing: 2.6px;
  font-weight: 700;
  text-decoration: underline;
}
.p-fv__title-ja span {
  font-size: clamp(22px, 2.5390625vw, 26px) !important;
}

.p-fv__text {
  position: absolute;
  right: -45px;
  bottom: 204px;
  font-family: "Belleza", sans-serif;
  font-size: 14px;
  line-height: 1;
  rotate: 90deg;
  z-index: 2;
}
@media screen and (min-width:768px) {
  .p-fv__text {
    right: 0px;
  }
}

.p-fv__scrolldown-bar {
  position: absolute;
  right: -10px;
  bottom: -60px;
  width: 1px;
  height: 220px;
  background: #643934;
  overflow: hidden;
  z-index: 2;
}
@media screen and (min-width:768px) {
  .p-fv__scrolldown-bar {
    right: 34px;
  }
}
.p-fv__scrolldown-bar .active {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 1px;
  height: 60px;
  background: #ffffff;
  z-index: 2;
  -webkit-animation: 3s ease-in-out backwards infinite scrollDown;
          animation: 3s ease-in-out backwards infinite scrollDown;
}
@-webkit-keyframes scrollDown {
  0% {
    bottom: 100%;
  }
  100% {
    bottom: -50px;
  }
}
@keyframes scrollDown {
  0% {
    bottom: 100%;
  }
  100% {
    bottom: -50px;
  }
}

.p-fv__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}
.p-fv__bg img {
  border-radius: 10px;
  backdrop-filter: blur(50px);
}
.p-fv__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}
@media screen and (min-width:1024px) {
  .p-fv__bg::before {
    content: none;
  }
}

.p-fv__bg-text {
  margin-top: clamp(-100px, -7.3206442167vw, -48px);
  overflow-x: hidden;
  position: relative;
  z-index: 1;
}
.p-fv__bg-text .bg-text__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 40px;
  width: 100%;
  height: 72px;
}
@media screen and (min-width:768px) {
  .p-fv__bg-text .bg-text__wrap {
    height: 144px;
  }
}
.p-fv__bg-text .bg-text {
  color: transparent;
  -webkit-text-stroke: 1px #643934;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  max-height: 100%;
  font-family: "Belleza", sans-serif;
  font-size: clamp(60px, 7.906295754vw, 108px);
  line-height: 1.3333333333;
  -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-sv {
  padding-top: clamp(100px, 11.5vw, 138px);
  color: #ffffff;
}

@media screen and (min-width:1024px) {
  .p-sv__head {
    padding-left: clamp(20px, 5.1244509517vw, 70px);
  }
}

.p-sv__title-en {
  font-family: "Belleza", sans-serif;
  font-size: clamp(40px, 7.8125vw, 80px);
  line-height: 1.325;
}

.p-sv__title-ja {
  margin-top: 23px;
  font-size: clamp(18px, 2.1484375vw, 22px);
  line-height: 1.5909090909;
  letter-spacing: 2.2px;
  font-weight: 500;
}

@media screen and (min-width:1024px) {
  .p-sv__wrap {
    margin-top: -1px;
    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;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 30px;
  }
}

.p-sv__content {
  margin-top: 32px;
  max-width: 480px;
}
@media screen and (min-width:1024px) {
  .p-sv__content {
    margin-top: 0;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}

.p-sv__text {
  font-size: clamp(14px, 1.46484375vw, 15px);
  line-height: 1.7333333333;
  letter-spacing: 0.75px;
  font-weight: 500;
  opacity: 0.95;
}
.p-sv__text + .p-sv__text {
  margin-top: clamp(20px, 2.83203125vw, 29px);
}

.p-sv__btn {
  margin-top: clamp(32px, 6.8359375vw, 70px);
}

.p-sv__img-wrap {
  margin-top: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: clamp(20px, 3.90625vw, 30px);
  max-width: 750px;
  margin-inline: auto;
}
@media screen and (min-width:1024px) {
  .p-sv__img-wrap {
    margin-top: clamp(60px, 7.8125vw, 80px);
    margin-inline: 0;
    max-width: 601px;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}

.p-sv__img-wrap .img-1 {
  max-width: 181px;
  aspect-ratio: 181/267;
}
.p-sv__img-wrap .img-2 {
  margin-top: clamp(32px, 4.1666666667vw, 50px);
  max-width: 217px;
  aspect-ratio: 217/321;
}
.p-sv__img-wrap .img-3 {
  margin-top: clamp(106px, 13.3333333333vw, 160px);
  max-width: 144px;
  aspect-ratio: 144/256;
}

.p-sv__img {
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  border-radius: 10px;
}
.p-sv__img img {
  border-radius: 10px;
}
.p-sv__img img {
  border-radius: 10px;
}

.p-bottom {
  margin-top: clamp(-120px, -11.71875vw, -80px);
  padding-top: clamp(60px, 10.83984375vw, 111px);
  border-radius: 20px 20px 0px 0px;
  background: #F1EEE6;
  position: relative;
  z-index: 2;
}

.p-service {
  padding-bottom: clamp(60px, 7.8125vw, 80px);
}

.p-service__body {
  margin-top: clamp(40px, 6.640625vw, 51px);
}

@media screen and (min-width:768px) {
  .p-service__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.p-service__item {
  padding-bottom: 24px;
  max-width: 360px;
  margin-inline: auto;
  position: relative;
}
@media screen and (min-width:768px) {
  .p-service__item {
    margin-inline: 0;
  }
}
.p-service__item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  border-bottom: 1px solid #643934;
  opacity: 0.2;
}
.p-service__item::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 1px;
  border-bottom: 1px solid #643934;
}

.p-service__item + .p-service__item {
  margin-top: 24px;
}
@media screen and (min-width:768px) {
  .p-service__item + .p-service__item {
    margin-top: 0;
  }
}

.p-service__item-img {
  max-width: 360px;
  aspect-ratio: 360/400;
  height: auto;
  border-radius: 10px;
}
.p-service__item-img img {
  border-radius: 10px;
}

.p-service__item-texts {
  margin-top: 23px;
  position: relative;
}
.p-service__item-texts .text-en {
  font-family: "Belleza", sans-serif;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.3571428571;
  letter-spacing: 1.12px;
}
.p-service__item-texts .text-ja {
  margin-top: 4px;
  font-size: clamp(16px, 2.34375vw, 18px);
  line-height: 1.5;
  font-weight: 500;
}
.p-service__item-texts::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 0;
  width: 12px;
  aspect-ratio: 1/1;
  background: url(../images/icon-arrow-right.svg) no-repeat center center/contain;
}
@media screen and (min-width:1024px) {
  .p-service__item-texts::after {
    right: 26px;
  }
}

.p-service__btn {
  margin-top: clamp(40px, 6.5104166667vw, 50px);
  padding-block: 18px;
  color: #ffffff;
  background: #431612;
  border: 1px solid #431612;
  border-radius: 10px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.p-service__btn .text {
  padding-right: 21px;
  font-size: clamp(14px, 1.953125vw, 15px);
  line-height: 1.4666666667;
  font-weight: 500;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  position: relative;
}
.p-service__btn .text::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 0;
  width: 10px;
  aspect-ratio: 1/1;
  background: url(../images/icon-arrow-right-white.svg) no-repeat center center/contain;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media (any-hover: hover) {
  .p-service__btn:hover {
    opacity: 1;
    color: #643934;
    background: transparent;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .p-service__btn:hover .text::after {
    background: url(../images/icon-arrow-right.svg) no-repeat center center/contain;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.p-works {
  position: relative;
}

.p-works__head {
  padding-top: clamp(120px, 13.9824304539vw, 191px);
  color: #F1EEE6;
}
@media screen and (min-width:768px) {
  .p-works__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-works__btn {
  margin-top: 32px;
  margin-left: auto;
}
@media screen and (min-width:768px) {
  .p-works__btn {
    margin: 0;
  }
}
.p-works__items {
  margin-top: clamp(40px, 4.8828125vw, 50px);
  padding-bottom: clamp(80px, 11.71875vw, 120px);
}

@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: 380px;
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .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: 380px;
  aspect-ratio: 380/300;
  border: 1px solid #643934;
  border-radius: 10px;
    overflow: hidden;
  position: relative;
  z-index: 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;
  z-index: -1;
}
.p-works__item-head img {
  border-radius: 10px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.p-works__item-body {
  margin-top: 25px;
}

.p-works__item-title {
  font-size: clamp(14px, 1.1713030747vw, 16px);
  line-height: 1.3125;
  font-weight: 500;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.p-works__item-meta {
  margin-top: 25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
}

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

.p-works__item-tag span {
  display: block;
  color: #F1EEE6;
  font-size: 11px;
  line-height: 1.5454545455;
  padding: 1px 15px;
  background: #431612;
  border-radius: 5px;
  text-align: center;
}

.p-works__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1366/500;
  min-height: 280px;
  border-radius: 20px 20px 0px 0px;
  z-index: -1;
}
.p-works__bg img {
  border-radius: 20px 20px 0px 0px;
}
@media screen and (min-width:1367px) {
  .p-works__bg {
    height: 100%;
    max-height: 524px;
  }
}

.p-blog {
  padding-top: clamp(100px, 12.5vw, 150px);
  padding-bottom: clamp(80px, 10vw, 120px);
  position: relative;
}

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

.p-blog__head {
  color: #F1EEE6;
}
@media screen and (min-width:768px) {
  .p-blog__head {
    padding-left: clamp(20px, 5.1244509517vw, 70px);
  }
}

.p-blog__btn {
  margin-top: 50px;
}

.p-blog__items {
  margin-top: clamp(32px, 5.2083333333vw, 40px);
    width: 100%;
  max-width: 790px;
}
@media screen and (min-width:1024px) {
  .p-blog__items {
    margin-top: 0;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}
.p-blog__items .webgene-item + .webgene-item {
  margin-top: 10px;
}

.p-blog__item {
  background: #ffffff;
  border: 1px solid #643934;
  border-radius: 10px;
  max-width: 480px;
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .p-blog__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    max-width: 790px;
    margin-inline: 0;
  }
}
@media (any-hover: hover) {
  .p-blog__item:hover {
    opacity: 1;
  }
  .p-blog__item:hover .p-blog__item-head img,
  .p-blog__item:hover .p-blog__item-head::after {
    scale: 1.1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.p-blog__item-head {
  border-radius: 10px;
  aspect-ratio: 323/220;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.p-blog__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-blog__item-head img {
  border-radius: 10px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media screen and (min-width:768px) {
  .p-blog__item-head img {
    border-radius: 10px 0px 0px 10px;
  }
}
@media screen and (min-width:768px) {
  .p-blog__item-head {
    max-width: 323px;
    border-radius: 10px 0px 0px 10px;
  }
}

.p-blog__item-body {
  padding-block: clamp(40px, 5.1666666667vw, 62px);
  padding-left: clamp(24px, 3.90625vw, 30px);
  padding-right: clamp(40px, 4.6120058565vw, 63px);
  position: relative;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.p-blog__item-title {
  font-size: clamp(14px, 1.5625vw, 16px);
  line-height: 1.3125;
  font-weight: 500;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.p-blog__item-meta {
  margin-top: 25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
  gap: 15px;
}

.p-blog__item-date {
  font-size: 13px;
  line-height: 1.4615384615;
}

.p-blog__item-tag span {
  margin-top: 8px;
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  color: #643934;
  font-size: 11px;
  line-height: 1.5454545455;
  padding: 1px 15px;
  background: #f2eee6;
  border-radius: 5px;
  text-align: center;
}
@media screen and (min-width:768px) {
  .p-blog__item-tag span {
    margin-top: 0;
  }
}


.p-blog__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 80.0146412884vw;
  aspect-ratio: 1093/950;
  max-width: 1093px;
  max-height: calc(100% - 80px);
  background: transparent -webkit-gradient(linear, left top, left bottom, from(#ffffff), color-stop(0%, #f1dfc2), color-stop(0%, #fffdf8), color-stop(0%, #db8266), color-stop(27%, #bd4a3b), color-stop(40%, #9a6543), color-stop(75%, #ba5932), to(#9f8064)) 0% 0% no-repeat padding-box;
  background: transparent linear-gradient(180deg, #ffffff 0%, #f1dfc2 0%, #fffdf8 0%, #db8266 0%, #bd4a3b 27%, #9a6543 40%, #ba5932 75%, #9f8064 100%) 0% 0% no-repeat padding-box;
  border-radius: 0px 20px 20px 0px;
  z-index: -1;
}