@charset "UTF-8";


/*---------------------------------------------------------------*\
$common
\*---------------------------------------------------------------*/

.name_product {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  font-size: clamp(30px, 3vw, 44px);
}


/*---------------------------------------------------------------*\
$firstview
\*---------------------------------------------------------------*/

#firstview {
  height: 680px;
  position: relative;
}

#firstview .content {
  width: calc(100% - 112px);
  max-width: 1100px;
  z-index: 1;
  margin: 80px auto 0;
  position: relative;
}

#firstview .heading {
  gap: 16px;
}

#firstview .heading * {
  font-size: clamp(42px, 11vw, 130px);
  font-weight: 420;
  letter-spacing: -.5px;
}


@media screen and (max-width: 1080px) {

  #firstview .heading * {
    text-align: left;
  }
}


@media screen and (max-width: 600px) {

  #firstview {
    display: none;
  }
}


/*---------------------------------------------------------------*\
$firstview SP
\*---------------------------------------------------------------*/

#firstview_sp {
  display: none;
}


@media screen and (max-width: 600px) {

  #firstview_sp {
    display: block;
    position: relative;
    height: 85dvh;
  }

  #firstview_sp .background {
    width: 100%;
    height: 100%;
    background-image: url('../img/firstview_sp.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
  }

  #firstview_sp .background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    /* フェードの厚みはお好みで調整 */
    pointer-events: none;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0) 100%);
  }

  #firstview_sp .background::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100px;
    /* フェードの厚みはお好みで調整 */
    pointer-events: none;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0) 100%);
  }

  #firstview_sp .content {
    width: 90%;
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    margin: auto;
  }

  #firstview_sp .heading span {
    font-size: 17vw;
    font-weight: 450;
  }

  #firstview_sp .container_05 {
    position: relative;
    height: 130px;
  }

  #firstview_sp .scrollbar-text_05 {
    color: #fff;
    font-size: 12px;
    scale: .7;
    margin: 0 0 0 auto;
    line-height: 1;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    writing-mode: vertical-lr;
  }


  #firstview_sp .scrollbar_05::after {
    content: "";
    position: absolute;
    right: 2%;
    bottom: 0;
    width: 1px;
    height: 60px;
    background: #fff;
    animation: liner 2.5s cubic-bezier(1, 0, 0, 1) infinite;
  }

  @keyframes liner {
    0% {
      transform: scale(1, 0);
      transform-origin: 0 0;
    }

    30% {
      transform: scale(1, 1);
      transform-origin: 0 0;
    }

    70% {
      transform: scale(1, 1);
      transform-origin: 0 100%;
    }

    100% {
      transform: scale(1, 0);
      transform-origin: 0 100%;
    }
  }
}


/*---------------------------------------------------------------*\
$products
\*---------------------------------------------------------------*/

#services .content {
  width: calc(100% - 80px);
  max-width: 1500px;
  position: relative;
  z-index: 5;
  margin: 0 auto;
  gap: clamp(40px, 3vw, 56px);
}

#services .each_product {
  position: relative;
  padding: 72px 10% 40px;
  justify-content: space-between;
  border: solid 1px rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

#services .bg_blur {
  position: absolute;
  bottom: 0;
  right: 0;
}

#services .description_product {
  margin: 32px 0;
  font-size: 20px;
  position: relative;
  z-index: 1;
}

#services .contact_sales {
  border-top: solid 1px #E8E8E8;
  padding-top: 24px;
  margin: 32px 0 0 0;
  font-size: 14px;
}


@media screen and (max-width: 1080px) {

  #services .content {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }

  #services .each_product {
    padding: 90px 40px 40px;
  }
}


@media screen and (max-width: 860px) {

  #services .description_product {
    height: auto;
  }

  #services .name_product {
    height: auto;
  }

  #services .button_blank {
    display: none;
  }
}


@media screen and (max-width: 600px) {

  #services .content {
    width: calc(100% - 44px);
  }

  #services .content {
    gap: 48px;
  }

  #services .each_product {
    padding: 56px 8% 40px;
  }

  #services .description_product {
    font-size: 15px;
  }

  #services .contact_sales {
    font-size: 13px;
    padding-top: 16px;
    margin: 16px 0 0 0;
  }
}


/*---------------------------------------------------------------*\
$investor
\*---------------------------------------------------------------*/

#investor {
  position: relative;
  margin: 150px 0 0 0;
  padding: 170px 0;
  gap: 32px;
}


@media screen and (max-width: 600px) {

  #investor {
    padding: 25% 0;
  }
}


/*---------------------------------------------------------------*\
$sphere
\*---------------------------------------------------------------*/

/* 可変サイズ：PC最大480px、SPは自動縮小 */
.sphere-wrap {
  --size: clamp(240px, min(70vw, 70vh), 480px);
  display: grid;
  place-items: center;
  perspective: 1000px;
  isolation: isolate;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.b {
  position: relative;
  width: var(--size);
  height: var(--size);
  transform-style: preserve-3d;
  transform: translateZ(0);
  /* GPUレイヤ固定 */
  will-change: transform;
  /* ※アニメはJSが --rot を配るので不要 */
}

.sphere-wrap {
  filter: blur(0.0001px);
  /* Safari最適化の裏技 */
}


.b, .c {
  width: var(--size);
  height: var(--size);
}

.c {
  position: absolute;
  border-radius: 50%;
  border: 1px solid currentColor;
  /* 色は currentColor */
  backface-visibility: hidden;
  --step: 2deg;
  /* 1リングあたりの位相差(約0.04s相当) */

  /* --rot はJSで更新。初期値 0deg をフォールバック */
  transform:
    rotateY(calc(var(--rot, 0deg) + var(--i) * var(--step))) rotateX(calc(-1 * (var(--rot, 0deg) + var(--i) * var(--step)))) rotateZ(calc(var(--rot, 0deg) + var(--i) * var(--step)));
}

/* ---- 元の配色/透明度を忠実再現（1..45） ---- */
.c:nth-child(1) {
  --i: 0;
  color: #F06;
  opacity: 0.006;
}

.c:nth-child(2) {
  --i: 1;
  color: #ff0048;
  opacity: 0.012;
}

.c:nth-child(3) {
  --i: 2;
  color: #ff002b;
  opacity: 0.018;
}

.c:nth-child(4) {
  --i: 3;
  color: #ff000d;
  opacity: 0.024;
}

.c:nth-child(5) {
  --i: 4;
  color: #ff1100;
  opacity: 0.030;
}

.c:nth-child(6) {
  --i: 5;
  color: #ff2f00;
  opacity: 0.036;
}

.c:nth-child(7) {
  --i: 6;
  color: #ff4d00;
  opacity: 0.042;
}

.c:nth-child(8) {
  --i: 7;
  color: #ff6a00;
  opacity: 0.048;
}

.c:nth-child(9) {
  --i: 8;
  color: #ff8800;
  opacity: 0.054;
}

.c:nth-child(10) {
  --i: 9;
  color: #ffa600;
  opacity: 0.060;
}

.c:nth-child(11) {
  --i: 10;
  color: #ffc400;
  opacity: 0.066;
}

.c:nth-child(12) {
  --i: 11;
  color: #ffe100;
  opacity: 0.072;
}

.c:nth-child(13) {
  --i: 12;
  color: yellow;
  opacity: 0.078;
}

.c:nth-child(14) {
  --i: 13;
  color: #e1ff00;
  opacity: 0.084;
}

.c:nth-child(15) {
  --i: 14;
  color: #c4ff00;
  opacity: 0.090;
}

.c:nth-child(16) {
  --i: 15;
  color: #a6ff00;
  opacity: 0.096;
}

.c:nth-child(17) {
  --i: 16;
  color: #88ff00;
  opacity: 0.102;
}

.c:nth-child(18) {
  --i: 17;
  color: #6aff00;
  opacity: 0.108;
}

.c:nth-child(19) {
  --i: 18;
  color: #4dff00;
  opacity: 0.114;
}

.c:nth-child(20) {
  --i: 19;
  color: #2fff00;
  opacity: 0.120;
}

.c:nth-child(21) {
  --i: 20;
  color: #11ff00;
  opacity: 0.126;
}

.c:nth-child(22) {
  --i: 21;
  color: #00ff0d;
  opacity: 0.132;
}

.c:nth-child(23) {
  --i: 22;
  color: #00ff2b;
  opacity: 0.138;
}

.c:nth-child(24) {
  --i: 23;
  color: #00ff48;
  opacity: 0.144;
}

.c:nth-child(25) {
  --i: 24;
  color: #00ff66;
  opacity: 0.150;
}

.c:nth-child(26) {
  --i: 25;
  color: #00ff84;
  opacity: 0.156;
}

.c:nth-child(27) {
  --i: 26;
  color: #00ffa2;
  opacity: 0.162;
}

.c:nth-child(28) {
  --i: 27;
  color: #00ffbf;
  opacity: 0.168;
}

.c:nth-child(29) {
  --i: 28;
  color: #00ffdd;
  opacity: 0.174;
}

.c:nth-child(30) {
  --i: 29;
  color: #00fffb;
  opacity: 0.180;
}

.c:nth-child(31) {
  --i: 30;
  color: #00e6ff;
  opacity: 0.186;
}

.c:nth-child(32) {
  --i: 31;
  color: #00c8ff;
  opacity: 0.192;
}

.c:nth-child(33) {
  --i: 32;
  color: #00aaff;
  opacity: 0.198;
}

.c:nth-child(34) {
  --i: 33;
  color: #008cff;
  opacity: 0.204;
}

.c:nth-child(35) {
  --i: 34;
  color: #006fff;
  opacity: 0.210;
}

.c:nth-child(36) {
  --i: 35;
  color: #0051ff;
  opacity: 0.216;
}

.c:nth-child(37) {
  --i: 36;
  color: #0033ff;
  opacity: 0.222;
}

.c:nth-child(38) {
  --i: 37;
  color: #0015ff;
  opacity: 0.228;
}

.c:nth-child(39) {
  --i: 38;
  color: #0900ff;
  opacity: 0.234;
}

.c:nth-child(40) {
  --i: 39;
  color: #2600ff;
  opacity: 0.240;
}

.c:nth-child(41) {
  --i: 40;
  color: #4400ff;
  opacity: 0.246;
}

.c:nth-child(42) {
  --i: 41;
  color: #6200ff;
  opacity: 0.252;
}

.c:nth-child(43) {
  --i: 42;
  color: #8000ff;
  opacity: 0.258;
}

.c:nth-child(44) {
  --i: 43;
  color: #9d00ff;
  opacity: 0.264;
}

.c:nth-child(45) {
  --i: 44;
  color: #bb00ff;
  opacity: 0.270;
}

/* 画面外での省エネ（オフスクリーン描画を抑制） */
@supports (content-visibility: auto) {
  .sphere-wrap {
    content-visibility: auto;
    contain-intrinsic-size: 480px;
    /* 予測サイズ（レイアウトシフト防止） */
  }
}

/* 動きを減らす設定のユーザーには停止（必要なければ削除OK） */
@media (prefers-reduced-motion: reduce) {
  .b {
    will-change: auto;
  }
}