@charset "utf-8";

/* ============================== setup */

body {
  font-family: "JetBrains Mono", monospace;
  font-weight: 200;
  background: #0b1317;
  color:#21ff79;
}

a:hover {
  color: #24afd9;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a img,
a:link img,
a:visited img,
a:hover img,
a:active img {
  border: none;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  -ms-interpolation-mode: bicubic;
  display: inline-block;
  vertical-align: middle;
}

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

.clearfix {
  display: block;
  zoom: 1;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

a.button {
  font-family: "JetBrains Mono", monospace;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  text-align: center;
  line-height: 60px;
  letter-spacing: 0.2px;
  width: 320px;
  margin: 0 auto;
  border: 1px solid #fff;
  display: block;
  background-size: 200% 100%;
  background-image: -webkit-linear-gradient(
    left,
    transparent 50%,
    rgba(255, 255, 255, 1) 50%
  );
  background-image: linear-gradient(
    to right,
    transparent 50%,
    rgba(255, 255, 255, 1) 50%
  );
  -webkit-transition: background-position 0.3s cubic-bezier(0.19, 1, 0.22, 1)
      0.1s,
    color 0.5s ease 0s, background-color 0.5s ease;
  transition: background-position 0.3s cubic-bezier(0.19, 1, 0.22, 1) 0.1s,
    color 0.5s ease 0s, background-color 0.5s ease;
}

/* PC画面サイズでは非表示にする */
@media only screen and (min-width: 768px) {
  .sp {
    display: none !important;
  }
}


/* ============================== site navigation ナビゲーション*/

.navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
}

.navigation__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.navigation__logo svg {
  width: 50px;
  height: auto;
  display: block;
  fill: #21ff79;
}

.navigation__logo svg path:hover {
  fill: #21ff79;
}

.navigation__menu-trigger {
  cursor: pointer;
  position: relative;
  width: 27px;
  height: 27px;
}

.menu-trigger__wrapper,
.menu-close__wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 27px;
  height: 27px;
}

.menu__bar,
.menu__bar-close {
  display: block;
  width: 27px;
  height: 2px;
  margin-bottom: 6px;
  position: relative;
}

.menu__bar:before,
.menu__bar-close:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #21ff79;
}

.menu__bar-close {
  width: 0;
  height: 2px;
}

.menu__bar-close--left {
  width: 2px;
  height: 0;
  left: 13px;
  top: -1px;
}

.menu__bar-close--right {
  width: 0;
  height: 2px;
  left: 1px;
  top: -22px;
}

.menu-close__wrapper {
  transform: rotate(45deg);
}

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: calc(100vw - 140px);
  height: calc(100vh - 200px);
  padding: 100px 70px;
  display: none;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 999;
  overflow-y: auto;
}

.menu__wrapper {
  position: relative;
}

.menu__layer {
  position: absolute;
  left: 0;
  height: 11.111%;
  width: 100%;
  background: #21ff79;
}

.menu__links {
  padding: 100px 0;
  margin: 0;
  list-style: none;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
}

.menu__links .menu-links-li {
  padding: 15px 30px;
}

.menu__links li:nth-of-type(1) span {
  width: 35%;
}
.menu__links li:nth-of-type(2) span {
  width: 50%;
}
.menu__links li:nth-of-type(3) span {
  width: 55%;
}
.menu__links li:nth-of-type(4) span {
  width: 70%;
}
.menu__links li:nth-of-type(5) span {
  width: 75%;
}
.menu__links li:nth-of-type(6) span {
  width: 35%;
}
.menu__links li:nth-of-type(7) span {
  width: 60%;
}
.menu__links li:nth-of-type(8) span {
  width: 95%;
}
.menu__links li:nth-of-type(9) span {
  width: 90%;
}

.menu__layer:nth-child(1) {
  top: 0%;
}
.menu__layer:nth-child(2) {
  top: 11.111%;
}
.menu__layer:nth-child(3) {
  top: 22.222%;
}
.menu__layer:nth-child(4) {
  top: 33.333%;
}
.menu__layer:nth-child(5) {
  top: 44.444%;
}
.menu__layer:nth-child(6) {
  top: 55.555%;
}
.menu__layer:nth-child(7) {
  top: 66.666%;
}
.menu__layer:nth-child(8) {
  top: 77.777%;
}
.menu__layer:nth-child(9) {
  top: 88.888%;
}

.menu__links span {
  display: inline-block;
  background-color: #0b1317;
  color: #21ff79;
}
.menu__links span:hover {
  background: linear-gradient(to right, #24afd9, #21ff79);
}

body.no-scroll {
  overflow: hidden;
}

/* スクロールでナビゲーションの色変更 */

.paragraph-wrapper {
  height: 75px;
}

.header.change-color .nav > ul > li > a {
  color: #fff;
}

.header.change-color .logo path {
  fill: url(#grad1);
}

.header.change-color .nav-toggle:checked ~ .nav > ul > li > a {
  color: #fff;
}

.header.change-color a:hover path {
  fill: url(#grad1); /* マウスオーバーでグラデーション適用 */
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
/* ============================== ドロップダウンメニュー */
/* ▼ 初期非表示 */
.drop-menu-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 30px;
  z-index: 1000;
  padding: 0px;
  margin: 0;
  list-style: none;
  width: calc(70% - 42px);
}

.drop-menu-item {
  text-decoration: none;
  display: block;
  background: linear-gradient(to right, #7e50f5, #21ff79);
}

.drop-menu-item:hover {
  background: #0b1317;
}

.drop-menu-item a {
  text-decoration: none;
  display: block;
  padding: 5px 0px;
}

.drop-menu:hover .drop-menu-list {
  display: block;
}

.drop-menu {
  position: relative;
}

/* ============================== header キービジ */

.home-keyvis {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: 
        linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), /* 透過黒を重ねる */
        url(../img/bg-01.jpg);
    background-size:  cover;                /* 画像のサイズ指定 */
}




.home-kv_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.home-hero__headings {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none; /* 必要に応じて */
}

.home-hero__headings path {
  fill: url(#grad1);
}


.kv-container {
  width: 100%;
  max-width: 1260px;
}

/* セクション1*/
.section-1 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 20px;
}

.bc-mark-box {
  width: 36px;
  float: right;
}

#home .logo-box {
  width: 215px;
}

/* セクション2*/
.section-2 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  border-top: 1px solid #21ff79;
  padding-top: 14px;s
  margin-bottom: 25px;
}

.twenty-section {
  width: 20%;
}

.twenty-section:last-child p {
  text-align: right;
}

.foward-box {
  width: 14px;
  margin-bottom: 6px;
}

.dotdotdot-box {
  width: 38px;
  margin-bottom: 6px;
}
/* セクション３*/
.section-3 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 10px;
}

.twentyfive-section {
  width: 25%;
}

.fifty-section {
  width: 50%;
}

.katakana-box {
  width: 162px;
}

.ruler-box {
  width: 125px;
  float: right;
}

.dot-text-box {
  margin-top: 5px;
}

/* セクション4*/
.section-4 {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 266px;
}
#bcc-logo {
 width: 440px;
  height: auto;
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

#box-logo {
  border: #21ff79 1px solid;
  padding: 3px 10px;
  background: #0b1317;
  position: absolute;
  z-index: 3;
  left: 640px;
  top: 208px;
  opacity: 0;
  transition: opacity 1.5s ease-out;
  display: none;
}

#box-logo p {
  font-size: 12px;
  letter-spacing: 0.2ex;
}

.typewriter-box {
  width: 360px;
}

#typewriter-text {
  font-size: 10px;
  letter-spacing: 0.1em;
  white-space: normal;
  text-transform: uppercase;
  display: inline-block;
}
#typewriter-text::after {
  content: "|";
  animation: blink 1s infinite;
}

#typewriter-text2.typing::after {
  content: "|";
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

#kv-middle-left,
#kv-middle-right {
  width: 25%;
}

#kv-middle-right p {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.2ex;
}

#kv-middle-right p {
  text-align: right;
}

.link-arrow {
  font-size: 12px;
  line-height: 1.6;
}

.astro-vision-box {
  width: 174px;
  position: absolute;
  top: -73px;
  right: -45px;
}

/* セクション5*/
.section-5 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  height: 80px;
  margin-bottom: 26px;
  position: relative;
}

.code-text {
  line-height: 1.5;
  font-size: 12px;
}

.code-text2 {
  line-height: 1.5;
  font-size: 12px;
  text-transform: uppercase;
}

.code-text3 {
  line-height: 1.5;
  font-size: 11px;
  margin-bottom: 10px;
}

.code-text4 {
  line-height: 1.5;
  font-size: 20px;
}

.top-section-nav {
  margin-bottom: 10px;
}

.target-flame-box {
  width: 50px;
  float: right;
}

.loading-box {
  width: 140px;
  margin: 20px auto 0;
}

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

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

/* セクション6*/
.section-6 {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  margin-bottom: 35px;
}

.thirty-section {
  width: 33.33333333%;
}

/* セクション7*/
.section-7 {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

.ride-the-cosmic-high p {
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.2ex;
}

/* セクション8*/

.center-box img {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: 25px;
}

/* 小さいテキストのスタイル */
.text-small p {
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
  margin-bottom: 3px;
  letter-spacing: 0.2ex;
}

/* 警告メッセージのスタイル */
.warning {
  display: flex;
  align-items: center;
  width: 100%;
  line-height: 1;
  position: relative; /* 擬似要素の基準 */
  z-index: 1;
}

.warning{
  border: solid 1px #21ff79 ;
  margin-bottom: 12px;
}

/* 警告アイコンのスタイル */
.warning-icon {
  width: 50px;
}

.warning p {
  text-align: center;
  width: 100%; /* コンテンツ横幅いっぱいに */
  font-size: 14px; /* フォントサイズを調整 */
  font-family: "Michroma", sans-serif;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.15ex;
  text-transform: uppercase;
}

.warning-text {
  height: 45px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

#marquee {
  line-height: 45px;
}

.warning__marquee-wrapper {
  width: 100%;
}

.warning__marquee-content {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  transform: translateX(100%); /* 初期状態：右の外からスタート */
  animation: scrollToPosition 30s ease-out forwards; /* forwardsで最後の位置に留まる */
}

@keyframes scrollToPosition {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0); /* ちょうど左端に文章が揃う位置でストップ */
  }
}

.bottom-left-content {
  display: flex;
  align-items: flex-start;
  width: 100%; /* コンテンツ横幅いっぱいに */
}

.bottom-left-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* 左側の縦書きテキスト */
.vertical-text-left {
  position: absolute;
  left: -52px;
  top: 50%;
  transform: rotate(90deg);
}
/* 右側の縦書きテキスト */
.vertical-text-right {
  position: absolute;
  right: -45px; /* マージン内に収まるように調整 */
  top: 50%;
  transform: rotate(-90deg);
}

.vertical-text-left p {
  font-size: 12px;
}
.vertical-text-right p {
  font-size: 12px;
  line-height: 1;
}

/* スクロールダウンアイコン */
.scroll-down {
  font-size: 20px;
  position: absolute;
  bottom: 22px;
  right: 39px; /* マージン内に収まるように調整 */
}
/* スクロールダウン画像のスタイル */
.scroll-down img {
  width: 12px; /* サイズ調整（必要に応じて変更） */
  height: 12px;
}

.qr-code {
  width: 8vw;
  margin-left: 2vw;
}

.ride-the-cosmic-high {
  width: 308px;
}

.ride-the-cosmic-high img {
  width: 210px;
  margin-bottom: 20px;
}

#botan_logo_katakana {
  width: 16%;
  min-width: 180px;
}

.text-block {
  width: 100%;
  margin: 0 auto;
  height: 30px;
}

.text-block p {
  text-transform: uppercase;
  letter-spacing: 0.2ex;
  line-height: 1.6;
  word-break: break-all;
}

#typewriter-text2 {
  font-size: 11px;
}

.year-text {
  position: absolute;
  left: 26px;
  bottom: 32px; /* vertical-text-left と縦に揃える */
  transform: rotate(90deg);
}

.year-text p {
  font-size: 13px;
  letter-spacing: 0.2ex;
}

.text-small {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.image-container {
  margin-left: 20px; /* .text-small との間隔 */
}
.image-container img {
  width: 43px;
  height: auto;
}

/* クリック可能なテキスト要素に適用 */
.kv-container .code-text,
.kv-container .code-text2,
.kv-container .code-text3,
.kv-container .code-text4,
.kv-container p {
  pointer-events: auto; /* テキストをクリック可能にする */
  position: relative; /* z-indexを有効にするため */
  z-index: 3; /* ビデオ(z-index: 1)や.home-keyvis:after(z-index: 1)より前面に */
}

/* グリッチノイズ */
@keyframes glitch-shake {
  0% {
    transform: translate(0, 0) skew(0deg);
  }
  20% {
    transform: translate(-1px, 1px) skew(0.5deg);
  }
  40% {
    transform: translate(-2px, -1px) skew(-0.5deg);
  }
  60% {
    transform: translate(2px, 1px) skew(0.5deg);
  }
  80% {
    transform: translate(1px, -2px) skew(-0.5deg);
  }
  100% {
    transform: translate(0, 0) skew(0deg);
  }
}

.glitch-text {
  display: inline-block;
  position: relative;
  animation: glitch-shake 0.25s infinite;
  animation-play-state: paused; /* デフォルトでは停止 */
}