/* CSS Variables
------------------------------------*/
:root {
  --spacing-unit: 0.5rem;
  --spacing-1: calc(var(--spacing-unit) * 1);
  --spacing-2: calc(var(--spacing-unit) * 2);
  --spacing-3: calc(var(--spacing-unit) * 3);
  --spacing-5: calc(var(--spacing-unit) * 5);
  --spacing-8: calc(var(--spacing-unit) * 8);
  --spacing-13: calc(var(--spacing-unit) * 13);
  --spacing-21: calc(var(--spacing-unit) * 21);
  --spacing-34: calc(var(--spacing-unit) * 34);
  --spacing-55: calc(var(--spacing-unit) * 55);
  --spaceing-head: var(--spacing-34);

  /* Typography */
  --text-base: calc(1.4rem * 8 / 8);
  --text-base-height: calc(var(--text-base) + (4px * 4));
}

/* utility
------------------------------------*/
p {
  font-size: 1.5rem;
  line-height: 2;
  letter-spacing: 0.08em;
}

h4 {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

.mt-12 {
  margin-top: 12rem;
}

.mt-6 {
  margin-top: 6rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-20 {
  margin-top: 20rem;
}

.text-xl {
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

.text-lg {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

.text-center {
  text-align: center;
}

.w-full {
  width: 100%;
}

/* .p-business
------------------------------------*/
.c-business__center-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
.c-business__center-content__inner {
  height: 100%;
}
.c-business__step-in-content > *:nth-of-type(1){
  animation: stepInFirst 25s linear infinite;
}
.c-business__step-in-content > *:nth-of-type(2){
  animation: stepInSecond 25s linear infinite;
}
.c-business__step-in-content > *:nth-of-type(3){
  animation: stepInThird 25s linear infinite;
}
.p-business__intro {
  background: #000;
  margin-top: 150px;
  position: relative;
}
@media (max-width: 767px) {
  .p-business__intro video {
    max-width: 100vw;
  }
}
.p-business__intro video {
  display: block;
  height: calc(100vh - 150px);
  margin: auto;
  object-fit: cover;
}
.p-business__intro > .c-business__center-content {
  color: #fff;
  display: inline-table;
  font-size: 34px;
  opacity: 0;
}
@media (max-width: 767px) {
  .p-business__intro > .c-business__center-content.title {
    font-size: 2.6rem;
  }
}
.p-business__intro > .c-business__center-content.title {
  /* infinite を追加して無限ループに設定 */
  /* 動画サイズの15sに合わせている */
  animation: fadeLoopTitle 25s linear infinite;
}
@media (max-width: 767px) {
  .p-business__intro > .c-business__center-content.content img {
    width: 100%;
  }
}
.p-business__intro > .c-business__center-content.content:nth-of-type(2) {
  height: 100%;
  width: 100%;
  /* infinite を追加して無限ループに設定 */
  /* 動画サイズの15sに合わせている */
  animation: fadeLoopImage1 25s linear infinite;
}
.p-business__intro > .c-business__center-content.content:nth-of-type(3) {
  /* infinite を追加して無限ループに設定 */
  /* 動画サイズの15sに合わせている */
  animation: fadeLoopImage2 25s linear infinite;
}

@keyframes fadeLoopTitle {
  0%, 14% { opacity: 0; }         /* 0s - 3.5s (3.5/25=14%) */
  18%     { opacity: 1; }         /* 4.5s (4.5/25=18%) */
  26%     { opacity: 1; }         /* 6.5s (6.5/25=26%) */
  30%     { opacity: 0; }         /* 7.5s (7.5/25=30%) */
  100%    { opacity: 0; }
}
@keyframes fadeLoopImage1 {
  0%, 47.9% { opacity: 0; }
  48%       { opacity: 1; } /* 12s地点で瞬時に表示 */
  92%       { opacity: 1; } /* 23s地点まで維持 (12+11=23s) */
  92.1%, 100% { opacity: 0; } /* 23s地点で瞬時に非表示 */
}
@keyframes fadeLoopImage2 {
  0%, 72% { opacity: 0; }         /* 0s - 18s (18/25=72%) */
  76%     { opacity: 1; }         /* 19s (19/25=76%) */
  92%     { opacity: 1; }         /* 23s (23/25=92%) */
  96%     { opacity: 0; }         /* 24s (24/25=96%) */
  100%    { opacity: 0; }
}
@keyframes stepInFirst {
  0%, 48%   { opacity: 0; } /* 12s */
  52%       { opacity: 1; } /* 13s */
  88%       { opacity: 1; } /* 22s (13+9=22s) */
  92%       { opacity: 0; } /* 23s */
  100%      { opacity: 0; }
}
@keyframes stepInSecond {
  0%, 52%   { opacity: 0; } /* 13s */
  56%       { opacity: 1; } /* 14s */
  88%       { opacity: 1; } /* 22s (14+8=22s) */
  92%       { opacity: 0; } /* 23s */
  100%      { opacity: 0; }
}
@keyframes stepInThird {
  0%, 56%   { opacity: 0; } /* 14s */
  60%       { opacity: 1; } /* 15s */
  88%       { opacity: 1; } /* 22s (15+7=22s) */
  92%       { opacity: 0; } /* 23s */
  100%      { opacity: 0; }
}

.p-business__intro__inner {
  max-width: 960px;
  margin: 0 auto;
}
.p-business__intro__inner h1 {
  font-size: 4.5rem;
  letter-spacing: .2rem;
}
.p-business__intro__content {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
@media (max-width: 767px) {
  .p-business__intro__content {
    gap: 6rem;
    margin-top: 3rem;
    flex-direction: column-reverse;
  }
}
.p-business__intro__content__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15rem;
  width: 25%;
  text-align: center;
}
@media (max-width: 767px) {
  .p-business__intro__content__item {
    width: 100%;
  }
}
.p-business__intro__content__item + div {
  width: 65%;
}
@media (max-width: 767px) {
  .p-business__intro__content__item + div {
    width: 100%;
  }
}
.p-business__intro__content__item h1 {
  font-size: 4rem;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 0.1em;
  margin-bottom: 4rem;
}
@media (max-width: 767px) {
  .p-business__intro__content__item h1 {
    font-size: 2.8rem;
  }
}
.p-business__intro__content__item p {
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 0.1em;
}
.p-business__intro__content__item span {
  display: block;
  font-size: 1.2rem;
  margin-top: 0.5rem;
}
.p-business__intro__content__cross {
  font-size: 3rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.p-business__intro__content__image {
  position: relative;
  container-type: inline-size;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 7%;
}
.p-business__intro__content__image__bg {
  width: 100%;
}
.p-business__intro__content__image__item {
  position: absolute;
  display: flex;
  gap: 1.8cqw;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #000;
  width: 37%;
  aspect-ratio: 1/1;
  border-radius: 100%;
  container-type: inline-size;
}
.p-business__intro__content__image__item.aladdinec {
  left: 0;
  top: 0;
}
.p-business__intro__content__image__item.crossmall {
  right: 0;
  top: 0;
}
.p-business__intro__content__image__item.crosspoint {
  bottom: 0;
  left: 0;
}
.p-business__intro__content__image__item.backyard {
  right: 0;
  bottom: 0;
}
.p-business__intro__content__image__item p {
  font-size: 5.5cqw;
  line-height: 1.4;
  text-align: center;
}
.p-business__intro__content__image__item p.p-business__intro__content__image__title {
  font-weight: bold;
  font-size: 10cqw;
  text-decoration: underline;
  line-height: 1.4;
  letter-spacing: 0.1em;
  margin-top: 1rem;
}
.p-business__intro__content__image__item:hover p.p-business__intro__content__image__title {
  text-decoration: none;
}
.p-business__intro__content__image__item .p-business__intro__content__image__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.p-business__intro__content__image__item .p-business__intro__content__image__list li {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1.5cqw solid #000;
  border-radius: 6px;
  font-size: 8cqw;
  font-weight: bold;
  padding: 2cqw;
}
.p-business__intro__content__image__item .p-business__intro__content__image__list li.p-business__intro__content__image__list--small {
  font-size: 5cqw;
}
@media (max-width: 767px) {
  .p-business__intro {
    margin-top: 120px;
  }
}
.p-business__cross-over__title {
  font-weight: bold;
  font-size: 2rem;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-align: center;
}
@media (max-width: 767px) {
  .p-business__cross-over__title {
    font-size: 1.5rem;
  }
}
.p-business__cross-over__title span {
  font-size: 5.2rem;
  display: block;
  margin: 0.5em 0 0.3em;
  line-height: 1;
}
@media (max-width: 767px) {
  .p-business__cross-over__title span {
    font-size: 2.8rem;
  }
}
.p-business__cross-over__subtitle {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-align: center;
  margin: 4em 0 4em;
}
.p-business__cross-over__subtitle_mt-half {
  margin-top: 2em;
}
@media (max-width: 767px) {
  .p-business__cross-over__subtitle {
    font-size: 1.5rem;
  }
}
.p-business__cross-over img {
  margin: 0 0 4rem;
}
.p-business__cross-over blockquote {
  color: #555;
  border: 1px solid #555;
  padding: 2em;
  margin: 4rem 4rem;
  font-size: 1.4rem;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-align: left;
  font-weight: normal;
  border-radius: 1em;
}
@media (max-width: 767px) {
  .p-business__cross-over blockquote {
    font-size: 1.2rem;
    margin: 4rem 1.5rem;
  }
}
.p-business__cross-over blockquote h4 {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-align: left;
  font-weight: normal;
  font-weight: bold;
}
.p-business__cross-over blockquote p {
  font-size: 1.4rem;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-align: left;
  font-weight: normal;
}
.p-business__cross-over blockquote p + p {
  margin-top: 1em;
}
.p-business__cross-over blockquote + h3 {
  margin-top: 12rem;
}
.p-business__future {
  padding: 8rem 4rem;
  padding-top: 80vh;
  color: #fff;
}
.p-business__future + * {
  margin-top: 60vh;
}
@media (max-width: 767px) {
  .p-business__future {
    margin-top: 120px;
    padding: 6rem 2rem;
  }
}
.p-business__future__inner {
  max-width: 960px;
  margin: 0 auto 150vh;
}
.p-business__future__title {
  font-weight: bold;
  font-size: 5.2rem;
  line-height: 1;
  letter-spacing: 0.1em;
  text-align: center;
}
@media (max-width: 767px) {
  .p-business__future__title {
    font-size: 2.8rem;
  }
}
.p-business__future__subtitle {
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.1em;
  margin: 3rem 0 0;
  text-align: center;
}
@media (max-width: 767px) {
  .p-business__future__subtitle {
    font-size: 1.5rem;
  }
}

.js-future_video__wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: #000;
}
.js-future_video__wrapper.active {
  opacity: 1;
}
.js-future_video__wrapper div {
  transition: opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.js-future_video__wrapper.in_content div {
  opacity: 0.5;
}
.js-future_video__wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.p-business__future__content {
  margin: 0 0 6vh;
}
.p-business__future__content_sec {
  margin-bottom: var(--spacing-21);
}
.p-business__future__content_sec:last-child {
  margin: 0;
}
.p-business__future__content__title {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.1em;
  margin: 3rem 0 3rem;
  text-align: center;
}
@media (max-width: 767px) {
  .p-business__future__content__title {
    font-size: 1.5rem;
  }
}
.p-business__future__content img {
  margin: 4rem 0;
}
.p-business__bx {
  margin-top: 155px;
}
@media (max-width: 767px) {
  .p-business__bx {
    margin-top: 120px;
  }
}
.p-business__bx__title {
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
}
@media (max-width: 767px) {
  .p-business__bx__title {
    font-size: 1.5rem;
  }
}
.p-business__bx__title img {
  max-width: 200px;
  margin-top: 3rem;
  mix-blend-mode: multiply;
}
@media (max-width: 767px) {
  .p-business__bx__title img {
    max-width: 150px;
  }
}
.p-business__bx__subtitle {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.1em;
  margin: 3rem 0 3rem;
}
@media (max-width: 767px) {
  .p-business__bx__subtitle {
    font-size: 1.5rem;
  }
}
.p-business__bx img {
  margin: 4rem 0;
}
.p-business__airu {
  margin-top: 155px;
}
@media (max-width: 767px) {
  .p-business__airu {
    margin-top: 120px;
  }
}
.p-business__airu__title {
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.1em;
  margin: 3rem 0 3rem;
  display: flex;
  flex-direction: column;
}
.p-business__airu__title img {
  max-width: 200px;
}
@media (max-width: 767px) {
  .p-business__airu__title img {
    max-width: 150px;
  }
}
.p-business__airu__subtitle {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.1em;
  margin: 3rem 0 3rem;
}
.p-business__airu__subtitle span {
  color: #ec66a0;
}
@media (max-width: 767px) {
  .p-business__airu__subtitle {
    font-size: 1.5rem;
  }
}
.p-business__airu p span {
  color: #ec66a0;
}
.p-business__airu img {
  margin: 4rem 0;
}

/* WEB × REAL
-------------------------------*/
.p-priorities__attempt {
  margin-top: var(--spacing-13);
  /* padding-bottom: var(--spacing-13); */
  /* height: 40vh; */
  opacity: 0;
  transition: opacity 1.0s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
}
.p-priorities__attempt .p-priorities__scene {
  display: block;
  min-height: auto;
  position: sticky;
  top: 70px;
}
.p-priorities__attempt .p-priorities__box {
  padding: 0;
}
.p-priorities__attempt .debug {
  opacity: 0;
  position: fixed;
  top: 0;
  background: #ff0;
  z-index: 10;
  font-size: 10px;
}
.p-priorities__attempt.active {
  opacity: 1;
}
.p-priorities__attempt.move .p-priorities__attempt__wrap:first-child {
  transform: translateY(50%);
}
.p-priorities__attempt.move .p-priorities__attempt__wrap:last-child {
  transform: translateY(-50%);
}
.p-priorities__attempt.move .p-priorities__attempt__wrap p {
  filter: blur(30px);
  transform: scale(1.05);
  opacity: 0;
}
.p-priorities__attempt.move.move-2 .p-priorities__attempt__realWeb {
  transform: translateX(-70px);
  transition-delay: 0.6s;
}
.p-priorities__attempt.move.move-2 .p-priorities__attempt__typo--real img:last-child {
  clip-path: inset(0 100% 0 0);
}
.p-priorities__attempt.move.move-2 .p-priorities__attempt__typo--web img:last-child {
  clip-path: inset(0 100% 0 0);
}
.p-priorities__attempt.move.move-2 .p-priorities__attempt__typo--crossover {
  clip-path: inset(0 0% 0 0);
  transition: clip-path 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) 0.6s;
}
.p-priorities__attempt.move.move-2 .p-priorities__attempt__crossover {
  opacity: 1;
  transition-delay: 1s;
}
.p-priorities__attempt h2:after {
  background: #000;
}
.p-priorities__attempt p {
  font-size: var(--text-base);
  line-height: calc(1em + 12px);
  text-align: justify;
}
.p-priorities__attempt__realWeb {
  margin: var(--spacing-8) 0 0;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition-delay: 0s;
}
.p-priorities__attempt__wrap {
  display: grid;
  height: 89px;
  box-sizing: content-box;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--spacing-13) 0;
  padding: var(--spacing-8) 0;
}
.p-priorities__attempt__wrap:first-child {
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateY(0%);
}
.p-priorities__attempt__wrap:last-child {
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateY(0%);
}
.p-priorities__attempt__real {
  display: flex;
  align-items: center;
  position: relative;
}
.p-priorities__attempt__real p {
  top: 0;
  position: absolute;
  margin: 0 var(--spacing-13);
  transition: opacity 0.3s, filter 0.3s, transform 0.3s;
}
.p-priorities__attempt__web {
  display: flex;
  align-items: center;
  position: relative;
}
.p-priorities__attempt__web p {
  top: 0;
  position: absolute;
  margin: 0 var(--spacing-13);
  transition: opacity 0.3s, filter 0.3s, transform 0.3s;
}
.p-priorities__attempt__typo img {
  mix-blend-mode: multiply;
}
.p-priorities__attempt__typo--real {
  text-align: right;
  margin-right: 4rem;
}
.p-priorities__attempt__typo--real img:last-child {
  clip-path: inset(0 0% 0 0);
  transition: clip-path 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.1s;
}
.p-priorities__attempt__typo--web {
  margin-left: 2rem;
}
.p-priorities__attempt__typo--web img:last-child {
  clip-path: inset(0 0% 0 0);
  transition: clip-path 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.p-priorities__attempt__typo--slash {
  width: 100px;
  position: relative;
}
.p-priorities__attempt__typo--slash img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-60%) translateX(-50%);
}
.p-priorities__attempt__typo--backslash {
  width: 100px;
  position: relative;
}
.p-priorities__attempt__typo--backslash img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-40%) translateX(-40%);
}
.p-priorities__attempt__typo--crossover {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  clip-path: inset(0 100% 0 0);
}
.sub_box .p-priorities__attempt__typo--crossover {
  width: 150px;
}
.sub_box .p-priorities__attempt__typo--crossover {
  width: 150px;
}
.p-business__cross-over .p-priorities__attempt img {
  margin: 0;
}
.p-priorities__attempt__crossover {
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition-delay: 0s;
  opacity: 0;
  padding: 0 var(--spacing-13);
  margin-top: var(--spacing-5);
}
.p-priorities__attempt__crossover p {
  font-size: var(--text-base);
  line-height: calc(1em + 16px);
}

/* レスポンシブ対応 - スマホビュー */
@media (max-width: 767px) {
  .p-priorities__attempt {
    height: 120vh; /* スマホでは少し高めに調整 */
    margin-top: calc(var(--spacing-34) * 0.7);
    padding-bottom: calc(var(--spacing-34) * 0.7);
  }

  .p-priorities__attempt .p-priorities__scene {
    top: 50px; /* ヘッダー高さに合わせて調整 */
  }

  .p-priorities__attempt__wrap {
    height: auto; /* 高さを自動調整 */
    gap: calc(var(--spacing-13) * 0.6) 0;
    padding: calc(var(--spacing-8) * 0.8) 0;
    grid-template-columns: 1fr auto 1fr; /* グリッド維持 */
  }

  .p-priorities__attempt__typo--real img,
  .p-priorities__attempt__typo--web img {
    max-width: 180px; /* 画像サイズを縮小 */
    height: auto;
  }

  .p-priorities__attempt__typo--slash,
  .p-priorities__attempt__typo--backslash {
    width: 60px; /* スラッシュ要素を縮小 */
  }

  .p-priorities__attempt__typo--real {
    margin-right: 1rem; /* マージンを縮小 */
  }

  .p-priorities__attempt__typo--web {
    margin-left: 1rem; /* マージンを縮小 */
  }

  .p-priorities__attempt__real p,
  .p-priorities__attempt__web p {
    font-size: calc(var(--text-base) * 0.8); /* テキストサイズを縮小 */
    margin: 0 calc(var(--spacing-13) * 0.6);
  }

  .p-priorities__attempt__crossover {
    padding: 0 calc(var(--spacing-13) * 0.6);
    margin-top: calc(var(--spacing-5) * 0.8);
  }

  .p-priorities__attempt__crossover p {
    font-size: calc(var(--text-base) * 0.85); /* テキストサイズを調整 */
    line-height: calc(1em + 12px);
  }
}

.p-business-platform_image {
  width: 80%;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .p-business-platform_image {
    width: 100%;
  }
}