@charset "UTF-8";

/* -------------------------------------- */
/* メインビジュアル */
/* -------------------------------------- */
.p-top-scene {
  position: relative;
  /* フェード / サイズ変化 / content */
  height: 400svh;
}

@media only screen and (min-width: 1025px) {
  .p-top-scene {
    /* PC: movie左移動後に ttlbox通過 + txtbox上昇分を確保 */
    height: 700svh;
  }
}

.p-top-scene__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.p-top-mainv {
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
  will-change: opacity;
}

/* 読み込み中は白で覆い、Lottie などの読み込みが終わったら（is-ready）表示（top.js） */
.p-top-mainv::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  background: #FFFFFF;
  pointer-events: none;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.p-top-mainv.is-ready::after {
  opacity: 0;
  visibility: hidden;
}

/* 下層ページから戻ったとき：最後の状態で即表示（top.js） */
.p-top-mainv.is-skip *,
.p-top-mainv.is-skip::after {
  transition: none !important;
}

.p-top-mainv__inner {
  width: 100%;
  height: 100%;
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.p-top-mainv__copy {
  width: 100%;
  height: 100%;
  mix-blend-mode: exclusion;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 10;
}

.p-top-mainv__copy-box {
  width: fit-content;
  height: fit-content;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  transition: all 0.6s 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.p-top-mainv__copy-box.--top {
  transform: translate(-3.7rem, -3.2rem);
}

@media only screen and (min-width: 769px) {
  .p-top-mainv__copy-box.--top {
    transform: translate(-4.5rem, -4.5rem);
  }
}

.p-top-mainv__copy-box.--btm {
  transform: translate(3rem, 5.3rem);
}

@media only screen and (min-width: 769px) {
  .p-top-mainv__copy-box.--btm {
    transform: translate(4.5rem, 6.5rem);
  }
}

.p-top-mainv__copy-ttl {
  font-family: var(--font-en);
  font-size: 4.2rem;
  font-weight: 300;
  line-height: 1.1;
  color: #FFFFFF;
  transition: all 0.6s 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media only screen and (min-width: 769px) {
  .p-top-mainv__copy-ttl {
    font-size: 5.4rem;
  }
}

.p-top-mainv__copy-ttl.--t1 {}

.p-top-mainv__copy-ttl.--t2 {
  transform: translateX(7rem);
}

@media only screen and (min-width: 769px) {
  .p-top-mainv__copy-ttl.--t2 {
    transform: translateX(8.5rem);
  }
}

.p-top-mainv__copy-ttl.--b1 {
  transform: translateX(-6.5rem);
}

@media only screen and (min-width: 769px) {
  .p-top-mainv__copy-ttl.--b1 {
    transform: translateX(-9rem);
  }
}

.p-top-mainv__copy-ttl.--b2 {
  font-family: var(--font-jp-b);
  font-size: 1.6rem;
  letter-spacing: 0.15em;
  line-height: 2;
}

@media only screen and (min-width: 769px) {
  .p-top-mainv__copy-ttl.--b2 {
    font-size: 2rem;
    letter-spacing: 0.18em;
  }
}

.p-top-mainv__copy.is-move {
  .p-top-mainv__copy-box.--top {
    transform: translate(-7.7rem, -12.5rem);
  }

  @media only screen and (min-width: 769px) {
    .p-top-mainv__copy-box.--top {
      transform: translate(-20rem, -20rem);
    }
  }

  @media only screen and (min-width: 1025px) {
    .p-top-mainv__copy-box.--top {
      transform: translate(-55rem, -3.2rem);
    }
  }

  .p-top-mainv__copy-box.--btm {
    transform: translate(8rem, 16rem);
  }

  @media only screen and (min-width: 769px) {
    .p-top-mainv__copy-box.--btm {
      transform: translate(20rem, 20rem);
    }
  }

  @media only screen and (min-width: 1025px) {
    .p-top-mainv__copy-box.--btm {
      transform: translate(56.5rem, 7.6rem);
    }
  }

  .p-top-mainv__copy-ttl.--t2 {
    transform: translateX(0.2rem);
  }

  @media only screen and (min-width: 769px) {
    .p-top-mainv__copy-ttl.--t2 {
      transform: translateX(0.2rem);
    }
  }

  .p-top-mainv__copy-ttl.--b1 {
    transform: translateX(-0.2rem);
  }

  @media only screen and (min-width: 769px) {
    .p-top-mainv__copy-ttl.--b1 {
      transform: translateX(-0.5rem);
    }
  }
}

/* .p-top-mainv__bluecircle {
  aspect-ratio: 1870 / 1080;
  width: 180%;
  height: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  margin-block: auto;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  display: block;
  object-fit: contain;
  opacity: 1;
  -webkit-transition: opacity 0.6s ease;
  transition: opacity 0.6s ease;
}

@media only screen and (min-width: 769px) {
  .p-top-mainv__bluecircle {
    width: 100%;
  }
}

.p-top-mainv__bluecircle.is-hide {
  opacity: 0;
} */

.p-top-mainv__lottie {
  aspect-ratio: 1870 / 1080;
  width: 180%;
  height: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  margin-block: auto;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 1;
  -webkit-transition: opacity 0.6s ease;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.p-top-mainv__lottie.is-hide {
  opacity: 0;
}

@media only screen and (min-width: 769px) {
  .p-top-mainv__lottie {
    width: 100%;
  }
}

.p-top-mainv__lottie svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* 背景の図形だけ透明にする。<defs> 内（写真の切り抜きに使う図形）まで透明にすると写真が表示されなくなる */
.p-top-mainv__lottie svg > g path {
  fill: transparent;
}

.p-top-mainv__fusion {
  aspect-ratio: 1440 / 830;
  width: calc((600 / 375) * 100vw);
  height: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  margin-block: auto;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media only screen and (min-width: 769px) {
  .p-top-mainv__fusion {
    width: 100%;
  }
}

.p-top-mainv__fusion.is-view {
  opacity: 1;
  visibility: visible;
}

.p-top-mainv__scroll {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem 0;
  width: fit-content;
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  bottom: 3.7rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.p-top-mainv__scroll.is-view {
  opacity: 1;
}
.p-top-mainv__scroll-mouse {
  aspect-ratio: 13 / 19;
  width: 1.3rem;
  height: auto;
  border: 1px solid var(--txt-black);
  border-radius: 9999px;
}
.p-top-mainv__scroll-wheel {
  width: 1px;
  height: 4px;
  border-radius: 9999px;
  background: var(--txt-black);
  position: relative;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-animation: scrolls 1.3s ease-out infinite;
}
@-webkit-keyframes scrolls {
  0% {
    top: 4px;
    opacity: 1;
    height: 4px;
  }
  95% {
    top: 7px;
    opacity: 0;
    height: 6px;
  }
  100% {
    top: 3px;
    opacity: 1;
    height: 4px;
  }
}

.p-top-mainv__scroll-txt {
  font-size: 1.3rem;
  text-align: center;
  line-height: 1;
}


/* -------------------------------------- */
/* 研究デザインラボの想い */
/* -------------------------------------- */
.p-top-about {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  will-change: opacity;
  pointer-events: none;
}

.p-top-about.is-active {
  pointer-events: auto;
}

.p-top-about__bluecircle {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.25);
  z-index: 1;
  pointer-events: none;
  display: block;
  object-fit: contain;
  will-change: transform;
  -webkit-transition: opacity 0.6s ease, visibility 0.6s ease;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

@media only screen and (min-width: 1025px) {
  .p-top-about__bluecircle {
    transform: translate(-50%, -50%) scale(0.15);
    will-change: transform;
  }

  .p-top-about__bluecircle.is-bg-fixed {
    z-index: 0;
  }
}

.p-top-about__bluecircle.is-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.p-top-about__movie {
  aspect-ratio: 100 / 120;
  width: 15.5vw;
  height: auto;
  object-fit: cover;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 3;
  will-change: width, transform;
}

@media only screen and (min-width: 1025px) {
  .p-top-about__movie {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    margin: 0;
    width: 10rem;
    transform: translate(-50%, -50%);
    -webkit-transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
  }

  .p-top-about__movie.is-moved-left {
    transform: translate(-50%, -50%) translateX(-25vw);
  }
}

.p-top-about__burst {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  -webkit-transition: opacity 0.6s ease, visibility 0.6s ease;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  transform: scale(2);
}

@media only screen and (min-width: 1025px) {
  .p-top-about__burst {
    transform: scale(1);
  }
}

.p-top-about__burst.is-view {
  opacity: 1;
  visibility: visible;
}

.p-top-about__burst .js-particle-burst,
.p-top-about__burst #js-about-particle-burst {
  width: 100%;
  height: 100%;
}

.p-top-about__burst canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.p-top-about__inner {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  max-width: 119rem;
  margin-inline: auto;
  padding: 0 4rem;
  box-sizing: border-box;
  transform: translateY(100%);
  will-change: transform;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media only screen and (min-width: 1025px) {
  .p-top-about__inner {
    padding: 0 1rem;
    overflow: hidden;
  }
}

.p-top-about__block {
  display: grid;
  gap: 6rem 0;
  width: fit-content;
  margin-inline: auto;
}

@media only screen and (min-width: 1025px) {
  .p-top-about__block {
    gap: 10rem 0;
    width: 36vw;
    margin-inline: unset;
    margin-left: auto;
    will-change: transform;
    padding-bottom: 65rem;
  }
}

.p-top-about__ttlbox {
  display: grid;
  gap: 2rem 0;
}

@media only screen and (min-width: 1025px) {
  .p-top-about__ttlbox {
    min-height: 100vh;
    min-height: 100svh;
    align-content: center;
    box-sizing: border-box;
    gap: 4rem 0;
  }
}

.p-top-about__ttl {
  font-family: var(--font-jp-b);
  font-size: 2.2rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

@media only screen and (min-width: 769px) {
  .p-top-about__ttl {
    font-size: 3rem;
  }
}


.p-top-about__txtbox {
  display: grid;
  gap: 6rem 0;
}

@media only screen and (min-width: 1025px) {
  .p-top-about__txtbox {
    gap: 40rem 0;
  }
}

.p-top-about__txt {
  font-family: var(--font-jp-b);
  font-size: 1.4rem;
  line-height: 2;
  letter-spacing: 0.05em;
}

@media only screen and (min-width: 769px) {
  .p-top-about__txt {
    font-size: 2rem;
    line-height: 1.9;
    letter-spacing: 0.08em;
  }
}

/* Contact ボタン（ヘッダーの .c-liquid-btn と同じ仕組みで、右の丸が右へ離れる） */
/* SVG の 1単位 = 0.1rem になるよう、幅は viewBox（224）に合わせる */
.p-top-about__btn {
  position: relative;
  display: block;
  aspect-ratio: 224 / 47;
  width: 22.4rem;
  height: auto;
}

.p-top-about__btn-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: var(--txt-black);
}

.p-top-about__btn-shape {
  transform-box: fill-box;
  transform-origin: center;
}

.p-top-about__btn-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.p-top-about__btn-txtbox {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 18.2rem;
  height: 100%;
}

.p-top-about__btn-txt {
  color: #FFFFFF;
  font-family: var(--font-jp-b);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.05em;
  text-align: center;
  position: relative;
  clip-path: inset(0 0 -0.05em);
}

.p-top-about__btn-txt::before {
  content: attr(data-txt);
  display: block;
  width: 100%;
  position: absolute;
  top: 1em;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s, transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.p-top-about__btn-txt .link-txt {
  display: block;
  transition: opacity 0.3s, transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.p-top-about__btn-icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 4.7rem;
  height: 4.7rem;
}

.p-top-about__btn-icon::before {
  content: "";
  display: block;
  aspect-ratio: 1 / 1;
  width: 0.7rem;
  height: auto;
  mask: var(--dot-arrow);
  background-color: #FFFFFF;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .p-top-about__btn:hover .p-top-about__btn-txt::before {
    opacity: 1;
    transform: translate3d(0, -1em, 0);
  }

  .p-top-about__btn:hover .p-top-about__btn-txt .link-txt {
    opacity: 0;
    transform: translate3d(0, -1em, 0);
  }

  .p-top-about__btn:hover .p-top-about__btn-shape.--icon,
  .p-top-about__btn:hover .p-top-about__btn-icon {
    transform: translateX(2rem);
    animation: icon-peel-right 0.5s cubic-bezier(0.76, 0, 0.24, 1) forwards;
  }
}

@keyframes icon-peel-right {
  0% {
    transform: translateX(0);
  }

  65% {
    transform: translateX(2.2rem) scaleX(1.08);
  }

  82% {
    transform: translateX(1.9rem) scaleX(0.98);
  }

  100% {
    transform: translateX(2rem) scaleX(1);
  }
}


/* -------------------------------------- */
/* p-top-approach */
/* -------------------------------------- */
.p-top-approach {
  /* head画像の高さ（width 200vw × 600/2880） */
  --head-h: calc(200vw * 600 / 2880);
  /* head画像の下端がセクション内に入り込む量 */
  --head-overlap: calc((200 / 1440) * 100vw);
  /* 1440px 幅で 100px */
  --head-blur: calc((100 / 1440) * 100vw);
  /* スクロールで 0 に近づく下げ幅（top.js で更新） */
  --head-rise: 0px;
  position: relative;
  /* 上端の直線が見えないよう、ぼかしたheadが不透明になる位置から背景色を始める */
  background: linear-gradient(to bottom, transparent calc(var(--head-blur) + var(--head-rise)), #373737 0);
  padding: 9rem 0 7rem;
  overflow-x: clip;
  margin-top: 20vh;
}

@media only screen and (min-width: 769px) {
  .p-top-approach {
    padding: 17rem 0 16rem;
    margin-top: 15vh;
  }
}

.p-top-approach__head {
  display: flex;
  align-items: center;
  width: max-content;
  animation: head-slide 60s linear infinite;
  will-change: transform, translate;
  /* 横の流れ（transform）とは別に、縦の上昇を translate で重ねる */
  translate: 0 var(--head-rise);
  filter: blur(var(--head-blur));
  position: absolute;
  top: calc(var(--head-overlap) - var(--head-h));
  /* ぼかしで左端が薄くならないよう画面外から始める */
  left: calc(var(--head-blur) * -3);
  /* ぼかしの下端がセクションの背景色の上に収まるよう、下へ伸ばして塗る */
  padding-bottom: calc(var(--head-blur) * 3);
  background: linear-gradient(to bottom, transparent calc(var(--head-h) - 1px), #373737 0);
  z-index: 1;
}

.p-top-approach__head.is-paused {
  animation-play-state: paused;
}

@keyframes head-slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.p-top-approach__head img {
  aspect-ratio: 2880 / 600;
  width: 200vw;
  height: auto;
  object-fit: contain;
}

.p-top-approach__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 2rem;
}

@media only screen and (min-width: 769px) {
  .p-top-approach__inner {
    padding: 0 5rem;
  }
}

@media only screen and (min-width: 769px) {
  .c-title.--approach {
    width: fit-content;
  }
}

.c-title.--approach .c-title__en {
  color: #FFFFFF;
}

.c-title.--approach .c-title__jp {
  color: #FFFFFF;
  position: absolute;
  top: 0;
  right: 0;
  text-align: right;
  letter-spacing: 0.07em;
}

@media only screen and (min-width: 769px) {
  .c-title.--approach .c-title__jp {
    top: 2rem;
    text-align: left;
  }
}

.p-top-approach__motion {
  position: relative;
  width: 110vw;
  margin: -4rem 0 0;
  left: 50%;
  transform: translateX(-50%);
}

@media only screen and (min-width: 1025px) {
  .p-top-approach__motion {
    width: 66vw;
    margin: 2rem 0 0;
    transform: translateX(-52%);
  }
}

.p-top-approach__txt {
  font-family: var(--font-jp-b);
  font-size: 1.4rem;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  width: 90%;
  margin: 0 auto;
}

@media only screen and (min-width: 769px) {
  .p-top-approach__txt {
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    width: fit-content;
    margin: 0 0;
    position: absolute;
    top: 12rem;
    right: 5rem;
  }
}


/* -------------------------------------- */
/* p-top-project */
/* -------------------------------------- */
.p-top-project {
  background-color: #1C1B1E;
  padding: 7.5rem 0 8rem;
}

@media only screen and (min-width: 769px) {
  .p-top-project {
    padding: 14rem 0 20rem;
  }
}

.p-top-project__inner {
  width: 100%;
  padding: 0 2rem;
}

@media only screen and (min-width: 769px) {
  .p-top-project__inner {
    padding: 0 5rem;
  }
}

.c-title.--project .c-title__en {
  color: #FFFFFF;
}

@media only screen and (min-width: 769px) {
  .c-title.--project .c-title__en {
    text-align: right;
  }
}

.c-title.--project .c-title__jp {
  color: #FFFFFF;
  position: absolute;
  top: 0;
  right: 0;
}

@media only screen and (min-width: 769px) {
  .c-title.--project .c-title__jp {
    left: 0;
    right: auto;
  }
}

.p-top-project__list {
  display: grid;
  gap: 6.4rem 0;
  margin-top: 6rem;
}

@media only screen and (min-width: 769px) {
  .p-top-project__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10rem 6rem;
    padding: 0 7rem;
    margin-top: 9rem;
  }
}

@media only screen and (min-width: 1025px) {
  .p-top-project__list {
    gap: 13rem 18rem;
    padding: 0 11.5rem;
  }
}

.p-top-project__item {
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  .p-top-project__item,
  .p-top-project__item * {
    cursor: none;
  }
}

.p-top-project__item.--large {
  display: grid;
  gap: 1.5rem 0;
}

@media only screen and (min-width: 769px) {
  .p-top-project__item.--large {
    grid-column: 1 / 3;
    gap: 2.5rem 0;
  }
}

.p-top-project__item.--small {
  display: flex;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}

@media only screen and (min-width: 769px) {
  .p-top-project__item.--small {
    flex-direction: column;
    gap: 2.5rem 0;
  }
}

.p-top-project__item.--small:nth-child(odd) {
  flex-direction: row-reverse;
}

@media only screen and (min-width: 769px) {
  .p-top-project__item.--small:nth-child(odd) {
    flex-direction: column;
    margin-top: 14rem;
  }

  .p-top-project__item.--small:nth-child(4) {
    margin-top: -5rem;
  }

  .p-top-project__item.--small:nth-child(5) {
    margin-top: 9rem;
  }
}

.p-top-project__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.p-top-project__img {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
}

.p-top-project__img::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: #1C1B1E;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  z-index: 1;
  transform: scale(1.03, 1.03);
  transform-origin: top left;
  transition: transform 1s 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.p-top-project__item.is-in .p-top-project__img::before {
  transform: scale(1.03, 0);
}

.--large .p-top-project__img {
  aspect-ratio: 335 / 185;
}

@media only screen and (min-width: 769px) {
  .--large .p-top-project__img {
    aspect-ratio: 1113 / 613;
  }
}

.--small .p-top-project__img {
  aspect-ratio: 158 / 180;
  width: calc((100% - 2rem) / 2);
}

@media only screen and (min-width: 769px) {
  .--small .p-top-project__img {
    aspect-ratio: 460 / 523;
    width: 100%;
  }
}

.p-top-project__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1s 0.7s ease;
}

.p-top-project__item.is-in .p-top-project__img img {
  transform: scale(1);
}

.--small .p-top-project__box {
  width: calc((100% - 2rem) / 2);
}

@media only screen and (min-width: 769px) {
  .--small .p-top-project__box {
    width: 100%;
  }
}

.p-top-project__user {
  font-family: var(--font-jp-m);
  font-size: 1rem;
  line-height: 1.4;
  color: #FFFFFF;
  opacity: 0.5;
}

@media only screen and (min-width: 769px) {
  .p-top-project__user {
    font-size: 1.3rem;
  }
}

.p-top-project__ttl {
  font-family: var(--font-jp-m);
  font-size: 1.3rem;
  line-height: 1.4;
  color: #FFFFFF;
  margin: 1rem 0 1.4rem;
}

@media only screen and (min-width: 769px) {
  .p-top-project__ttl {
    font-size: 1.6rem;
  }
}

.p-top-project__cat {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.2rem;
  mix-blend-mode: exclusion;
}

@media only screen and (min-width: 1025px) {
  .p-top-project__cat {
    gap: 0.6rem;
    width: fit-content;
    position: absolute;
    bottom: 3rem;
    left: 0;
    right: 0;
    margin-inline: auto;
  }
}

.p-top-project__cat a {
  position: relative;
  display: block;
  font-family: "PolySans", var(--font-jp-m);
  font-size: 0.9rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
}

@media only screen and (min-width: 769px) {
  .p-top-project__cat a {
    font-size: 1.3rem;
  }
}

@media only screen and (min-width: 1025px) {
  .p-top-project__cat a {
    opacity: 0;
    transition: opacity 0 ease;
  }
}

.p-top-project__cat a::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.3);
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: left center;
}

@media only screen and (min-width: 1025px) {
  .p-top-project__cat a::after {
    transform: scaleX(0);
  }
}

.p-top-project__cat.--pc {}

@media only screen and (max-width: 1024px) {
  .p-top-project__cat.--pc {
    display: none;
  }
}

.p-top-project__cat.--sp {}

@media only screen and (min-width: 1025px) {
  .p-top-project__cat.--sp {
    display: none;
  }
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .p-top-project__item:hover .p-top-project__cat a {
    opacity: 1;
  }

  .p-top-project__item:hover .p-top-project__cat a::after {
    animation-name: bg;
    animation-duration: 2s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    animation-fill-mode: forwards;
  }

  .p-top-project__cat a:nth-child(1),
  .p-top-project__cat a:nth-child(1)::after {
    transition-delay: 0;
    animation-delay: 0;
  }

  .p-top-project__cat a:nth-child(2),
  .p-top-project__cat a:nth-child(2)::after {
    transition-delay: 0.1s;
    animation-delay: 0.1s;
  }

  .p-top-project__cat a:nth-child(3),
  .p-top-project__cat a:nth-child(3)::after {
    transition-delay: 0.2s;
    animation-delay: 0.2s;
  }

  .p-top-project__cat a:nth-child(4),
  .p-top-project__cat a:nth-child(4)::after {
    transition-delay: 0.3s;
    animation-delay: 0.3s;
  }

  .p-top-project__cat a:nth-child(5),
  .p-top-project__cat a:nth-child(5)::after {
    transition-delay: 0.4s;
    animation-delay: 0.4s;
  }

  .p-top-project__cat a:nth-child(6),
  .p-top-project__cat a:nth-child(6)::after {
    transition-delay: 0.5s;
    animation-delay: 0.5s;
  }

  @keyframes bg {
    0% {
      opacity: 0;
      transform: scaleX(0);
    }
    30% {
      transform: scaleX(1);
    }
    100% {
      transform: scaleX(1);
    }
  }
}

.p-top-project__more {
  position: relative;
  display: block;
  aspect-ratio: 335 / 55;
  width: 100%;
  height: auto;
  overflow: visible;
  margin-inline: auto;
  margin-top: 4rem;
}

@media only screen and (min-width: 1025px) {
  .p-top-project__more {
    aspect-ratio: 1100 / 140;
    width: 110rem;
    margin-top: 7rem;
  }
}

.p-top-project__more-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

@media only screen and (max-width: 1024px) {
  .p-top-project__more-svg.--pc {
    display: none;
  }
}

.p-top-project__more-svg.--sp {
  fill: #49454F;
}

@media only screen and (min-width: 1025px) {
  .p-top-project__more-svg.--sp {
    display: none;
  }
}

.p-top-project__more-liquid {
  fill: #49454F;
}

.p-top-project__more-shape {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.8s cubic-bezier(0.78, -0.01, 0, 1);
}

.p-top-project__more-shape--content {
  transform: translateX(0);
}

.p-top-project__more-shape--icon {
  transform: translateX(0);
}

.p-top-project__more-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.p-top-project__more-content {
  display: flex;
  align-items: center;
  gap: 0 1.8rem;
  padding: 0 0 0 2rem;
  transform: translateX(0);
  transition: transform 0.8s cubic-bezier(0.78, -0.01, 0, 1);
}

@media only screen and (min-width: 769px) {
  .p-top-project__more-content {
    gap: 0 3.8rem;
    padding: 0 0 0 5rem;
  }
}

.p-top-project__more-text {
  font-size: var(--font-en);
  font-size: 1rem;
  line-height: 1.2;
  color: #FFFFFF;
}

@media only screen and (min-width: 769px) {
  .p-top-project__more-text {
    font-size: 1.3rem;
  }
}

.p-top-project__more-image {
  display: flex;
  align-items: center;
  gap: 0 0.4rem;
}

@media only screen and (min-width: 1025px) {
  .p-top-project__more-image {
    gap: 0 1.4rem;
  }
}

.p-top-project__more-image figure {
  aspect-ratio: 80 / 91;
  width: calc((30 / 375) * 100vw);
  height: auto;
  overflow: hidden;
  margin: 0 0 0 0;
}

@media only screen and (min-width: 1025px) {
  .p-top-project__more-image figure {
    width: calc((80 / 1440) * 100vw);
  }
}

.p-top-project__more-image figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-top-project__more-icon {
  display: block;
  aspect-ratio: 1 / 1;
  width: calc((55 / 335) * 100%);
  height: auto;
  position: absolute;
  top: 0;
  right: 0;
}

@media only screen and (min-width: 1025px) {
  .p-top-project__more-icon {
    width: calc((14 / 110) * 100%);
  }
}

.p-top-project__more-icon::before {
  content: "";
  display: block;
  width: calc((7 / 55) * 100%);
  mask: var(--dot-arrow);
  background-color: #FFFFFF;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

@media only screen and (min-width: 1025px) {
  .p-top-project__more-icon::before {
    width: calc((12 / 140) * 100%);
  }
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .p-top-project__more:hover {
    .p-top-project__more-shape--content {
      transform: translateX(250px);
    }

    .p-top-project__more-content {
      transform: translateX(25rem);
    }
  }
}


/* -------------------------------------- */
/* p-top-service */
/* -------------------------------------- */
.p-top-service {
  position: relative;
  padding: 8rem 0 0;
}

@media only screen and (min-width: 769px) {
  .p-top-service {
    padding: 10rem 0 0;
  }
}

.p-top-service__fusion {
  aspect-ratio: 1440 / 830;
  width: calc((600 / 375) * 100vw);
  height: auto;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  opacity: 0;
  visibility: hidden;
}

@media only screen and (min-width: 769px) {
  .p-top-service__fusion {
    width: 100vw;
  }
}

.p-top-service__fusion.in-view {
  opacity: 1;
  visibility: visible;
}

.p-top-service__inner {
  width: 100%;
  padding: 0 2rem;
}

@media only screen and (min-width: 769px) {
  .p-top-service__inner {
    padding: 0 5rem;
  }
}

@media only screen and (min-width: 769px) {
  .c-title.--service {
    padding-top: 7rem;
  }
}

.c-title.--service .c-title__en {}

.c-title.--service .c-title__jp {
  text-align: right;
  position: absolute;
  top: 0;
  right: 0;
}

@media only screen and (min-width: 769px) {
  .c-title.--service .c-title__jp {
    text-align: left;
    left: 1rem;
    right: auto;
  }
}

.p-top-service__anchor {
  border-radius: 9999px;
  background-color: #D3D0D033;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  gap: 0 0.4rem;
  margin-inline: auto;
  padding: 0.4rem 0.5rem;
  position: sticky;
  top: 6.9vw;
  z-index: 2;
}

@media only screen and (max-width: 1024px) {
  .p-top-service__anchor {
    display: none;
  }
}

.p-top-service__anchor-link {
  display: block;
  text-align: center;
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1;
  color: #444444;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
}

.p-top-service__anchor-link.in-view {
  background-color: #ECECEC;
}

.p-top-service__list {}

@media only screen and (min-width: 1025px) {
  .p-top-service__list {
    display: grid;
    gap: 100svh 0;
  }

  /* 最後の item の後ろにも gap 分の余白を作り、他の item と同じだけ固定させる */
  .p-top-service__list::after {
    content: "";
  }
}

.p-top-service__item {
  padding: 4rem 0;
}

@media only screen and (min-width: 1025px) {
  .p-top-service__item {
    position: sticky;
    top: 1rem;
    height: 100svh;
    display: grid;
    grid-template-columns: 31.3% 37.4% 31.3%;
    align-items: center;
    padding: 7rem 0;
  }
}

.p-top-service__item .wrap {
  display: block;
  opacity: 0;
  overflow: hidden;
}

.p-top-service__item.is-txtin .wrap {
  opacity: 1;
}

.p-top-service__item .inn {
  display: block;
  opacity: 0;
  transform: matrix(1, 0, 0, 1, 0, 100);
  transition: 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-top-service__item.is-txtin .inn {
  opacity: 1;
  transform: matrix(1, 0, 0, 1, 0, 0);
}

/* PC: 次の item が重なってきたら文字を上へ消す（top.js） */
.p-top-service__item.is-txtin.is-txtout .inn {
  opacity: 0;
  transform: matrix(1, 0, 0, 1, 0, -100);
  transition-duration: 0.6s;
}

.p-top-service__ttlbox {
  display: flex;
  align-items: center;
  gap: 0 2rem;
}

@media only screen and (min-width: 769px) {
  .p-top-service__ttlbox {
    gap: 0 6rem;
  }
}

.p-top-service__ttlbox .num {
  font-family: var(--font-en);
  font-size: 5.6rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
}

@media only screen and (min-width: 769px) {
  .p-top-service__ttlbox .num {
    font-size: 8.6rem;
  }
}

.p-top-service__ttlbox dd {
  display: grid;
  margin-top: -0.5rem;
}

@media only screen and (min-width: 769px) {
  .p-top-service__ttlbox dd {
    margin-top: -1rem;
  }
}

.p-top-service__ttlbox .ttl-sub {
  font-family: var(--font-jp-b);
  font-size: 1.2rem;
  line-height: 1.4;
}

@media only screen and (min-width: 769px) {
  .p-top-service__ttlbox .ttl-sub {
    font-size: 1.4rem;
  }
}

.p-top-service__ttlbox .ttl-ttl {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
}

@media only screen and (min-width: 769px) {
  .p-top-service__ttlbox .ttl-ttl {
    font-size: 4.8rem;
  }
}

.p-top-service__txtbox {
  display: flex;
  flex-direction: column;
  gap: 1rem 0;
}

@media only screen and (min-width: 1025px) {
  .p-top-service__txtbox {
    padding-left: 7vw;
    gap: 5.5rem 0;
    position: relative;
    transform: translateY(40%);
  }
}

.p-top-service__txtbox .txt-ttl {
  font-family: var(--font-jp-b);
  font-size: 1.8rem;
  line-height: 1.4;
}

@media only screen and (min-width: 769px) {
  .p-top-service__txtbox .txt-ttl {
    font-size: 2.4rem;
  }
}

.p-top-service__txtbox .txt-txt {
  font-family: var(--font-jp-b);
  font-size: 1.4rem;
  line-height: 1.8;
}

@media only screen and (min-width: 769px) {
  .p-top-service__txtbox .txt-txt {
    line-height: 2;
  }
}

.p-top-service__movie {
  aspect-ratio: 500 / 700;
  width: calc((220 / 335) * 100%);
  height: auto;
  margin: 2.5rem auto 3rem;
  overflow: hidden;
}

@media only screen and (min-width: 769px) {
  .p-top-service__movie {
    width: 50%;
  }
}

@media only screen and (min-width: 1025px) {
  .p-top-service__movie {
    width: 100%;
    max-height: 86svh;
  }
}

.p-top-service__movie video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* -------------------------------------- */
/* p-top-column */
/* -------------------------------------- */
.p-top-column {
  padding: 6rem 0 8rem;
}

@media only screen and (min-width: 769px) {
  .p-top-column {
    padding: 19rem 0 22rem;
  }
}

.p-top-column__inner {
  width: 100%;
  padding: 0 2rem;
}

@media only screen and (min-width: 769px) {
  .p-top-column__inner {
    padding: 0 4.5rem;
  }
}

@media only screen and (min-width: 769px) {
  .c-title.--column {
    padding-top: 4rem;
  }
}

@media only screen and (min-width: 769px) {
  .c-title.--column .c-title__en {
    line-height: 0.9;
  }
}

.c-title.--column .c-title__jp {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
}

@media only screen and (min-width: 769px) {
  .c-title.--column .c-title__jp {
    top: 0;
    bottom: auto;
    left: 0;
    right: auto;
  }
}

.p-top-column__list {
  display: grid;
  gap: 4.5rem 0;
  margin-top: 5rem;
}

@media only screen and (min-width: 769px) {
  .p-top-column__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 6rem 3.7rem;
    margin-top: 7.5rem;
  }
}

@media only screen and (min-width: 1025px) {
  .p-top-column__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 0 3.7rem;
  }
}

.p-top-column__item {
  display: grid;
  grid-template-columns: 48.6% 1fr;
  gap: 0 1.8rem;
}

@media only screen and (min-width: 769px) {
  .p-top-column__item {
    grid-template-columns: 1fr;
    grid-template-rows: subgrid;
    grid-row: span 2;
    gap: 2.2rem 0;
  }
}

.p-top-column__img {
  aspect-ratio: 310 / 174;
  width: 100%;
  height: auto;
  overflow: hidden;
}

@media only screen and (min-width: 769px) {
  .p-top-column__img {}
}

.p-top-column__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-top-column__box {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media only screen and (min-width: 769px) {
  .p-top-column__box {
    gap: 1.6rem 0;
  }
}

.p-top-column__head {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.5rem 0;
}

@media only screen and (min-width: 769px) {
  .p-top-column__head {
    gap: 1rem 0;
  }
}

.p-top-column__date {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1;
}

@media only screen and (min-width: 769px) {
  .p-top-column__date {
    font-size: 1.4rem;
  }
}

.p-top-column__ttl {
  font-family: var(--font-jp-b);
  font-size: 1.4rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

@media only screen and (min-width: 769px) {
  .p-top-column__ttl {
    font-size: 1.8rem;
  }
}

.p-top-column__cate {
  opacity: 0.6;
}

.p-top-column__cate-item {
  display: block;
  width: fit-content;
  border-radius: 9999px;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--txt-black);
}

@media only screen and (min-width: 769px) {
  .p-top-column__cate-item {
    font-size: 1.3rem;
  }
}

.p-top .c-contact {
  margin-top: 10rem;
}

@media only screen and (min-width: 769px) {
  .p-top .c-contact {
    margin-top: 20rem;
  }
}