/* 共通部分 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
 --shipporiMincho: "shippori Mincho";
 --ShareTechMono: "Share Tech Mono";
 --ZenKakuGothicNew: "Zen Kaku Gothic New";

 --maincolor: #08080a;
 --submaincolor: #e5e7eb;
 --basecolor: #2a2c35;
 --textcolor: #9ca3af;
 --accentcolor: #dc2626;
 --subaccentcolor: #29e310;
}
html {
    font-size: 100%;
}
body {
    font-family: var(--shipporiMincho);
    background-color: #08080a;
    color: #e5e7eb;
    font-family: var(--shipporiMincho);
    line-height: 1.6;
}
img {
    max-width: 100%;
}

/* ==========================================================================
   EFFECTS & OVERLAYS (CRT, NOISE, GLITCH)
   ========================================================================== */
.crt-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.25) 50%
    );
    background-size: 100% 4px;
    z-index: 99;
    pointer-events: none;
}

.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 3px 3px;
    z-index: 98;
    pointer-events: none;
    opacity: 0.6;
}

.glitch-flash {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: var(--accent-red);
    opacity: 0;
    z-index: 100;
    pointer-events: none;
    transition: opacity 0.05s ease;
}


/* 点滅アニメーションの定義 */
@keyframes blink {
0% {
    background-color: var(--basecolor);
    box-shadow: 0 0 0px rgba(255, 51, 51, 0);
}
100% {
    background-color: #dc2626; /* 点灯時の色（赤） */
    box-shadow: 0 0 30px #dc2626, 0 0 60px #dc2626; /* 光るエフェクト */
}
}
/* グリッチ定義 */
@keyframes glitch-anim {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

/* 全体レイアウト */



/* ランプの基本スタイルとアニメーション指定 */
.lamp {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: var(--basecolor);

/* アニメーションの設定：1秒周期、無限ループ、なめらかに明滅 */
    animation: blink 1.5s infinite alternate;
}

/* -----------------------------------------
----------------------- mb -----------------
----------------------------------------- */
@media (max-width:600px) {
.wrap {
    width: 94%;
    margin: 0 auto;
}
 
/* ヘッダー全体 */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--maincolor);
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--basecolor);
}

/* 左端のロゴ＋ランプ グループ */
.logo-group {
  display: flex;
  align-items: center;
  gap: 0.8rem; /* 要素同士の間隔 */
}
/* テキスト部分のスタイル */
.logo-title {
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 2px;
  color: var(--submaincolor);
}

.separator {
  color: #e5e7eb;
  font-size: 0.9rem;
}

.logo-sub {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  color: var(--textcolor);
}



/* ==========================================
   ヒーローセクション（画像背景を透過して追加）
   ========================================== */
.hero {
  position: relative;
  text-align: center;
  padding: 6rem 1rem 5rem;
  background: linear-gradient(180deg, #1a0808 0%, #121212 100%);
  overflow: hidden; /* 画像のはみ出し防止 */
}

/* 背景用の薄い画像レイヤー */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 400px; /* 画像の表示サイズ上限 */
  height: 100%;
  background-image: url(../img/logo.png); /* 画像ファイルを指定 */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.1; /* 薄さの調整（0.05〜0.2で微調整可能） */
  filter: invert(1); /* 黒背景に合わせて画像を白基調に反転 */
  pointer-events: none; /* テキスト選択などの邪魔をしない */
  z-index: 1;
}

/* テキストコンテンツを前面に配置 */
.hero-content {
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-block;
  background-color: var(--accentcolor);
  color: var(--submaincolor);
  font-size: 0.8rem;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  animation: blink 1.5s infinite alternate;
}

.hero h1 {
  font-size: 4rem;
  letter-spacing: 4px;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  position: relative;
}
.hero h1::before, .hero h1::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    clip: rect(0, 0, 0, 0);
}

.hero h1:hover::before {
    left: 2px;
    text-shadow: -2px 0 var(--accentcolor);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 0.3s infinite linear alternate-reverse;
}

.subtitle {
  color: var(--accentcolor);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.hero-desc {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
  color: var(--submaincolor);
}

.date-info {
  display: inline-block;
  padding: 0 2rem 2rem;
  font-size: 0.95rem;
  color: var(--textcolor);
}
/* ナビゲーション */
nav{
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding:  0;
    background: var(--maincolor);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: .5s;
    z-index: 9998;
}
.nav a {
  color: var(--textcolor);
  text-decoration: none;
  top: 100px;
  font-size: 2rem;
  transition: color 0.3s;
  margin: 1rem 0;
}
.nav a:hover {
  color: var(--accentcolor);
}
.action {
    opacity: 1;
    visibility: visible;
}
.scroll-indicator {
    font-family: var(--ShareTechMono);
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--textcolor);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-indicator .arrow {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, var(--textcolor), transparent);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* >>>>>>>>>>>>>>>
      下のやつ
<<<<<<<<<<<<<<< */
.sticky {
  position: fixed;
  bottom: 1rem;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 0fr;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  width: 100%;
  padding: 45px 0 0 24px;
  box-sizing: border-box;
}
/* 丸型ボタンのスタイリング */
#hamburger {
  position: fixed;
  left: 15px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border-color: var(--accentcolor);
  cursor: pointer;
  animation: blink 1.5s infinite alternate;
  z-index: 9999;
}
.inner_line {
  position: absolute;
  width: 22px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
  background-color: var(--accentcolor);
  border-radius: 2px;
  transition: .5s;
}
#line1 {
  top: 16px;
}
#line2 {
  top: 24px;
}
#line3 {
  top: 32px;
}
/* × */
.line_1 {
  transform: rotate(-45deg);
  margin-top: 7px;
  margin-left: -11px;
}
.line_2 {
  opacity: 0;
}
.line_3 {
  transform: rotate(45deg);
  margin-top: -9px;
  margin-left: -11px;
}
.pass-container {
max-width: 400px;
margin-left: 13%;
text-align: center;
}

/* 入力欄とボタンを横並びにするグループ */
.input-group {
  display: flex;
}

.pass-container input[type="password"] {
  flex: 1; /* 入力欄が残りの幅いっぱいに広がる */
  padding: 10px 12px;
  font-size: 1rem;
  border: 1px solid var(--accentcolor);
  border-radius: 4px;
  box-sizing: border-box;
  background-color: var(--maincolor);
  color: var(--accentcolor);
}
.pass-container input.is-error {
  border-color: var(--accentcolor);
}
.pass-container input.is-error::placeholder {
  color: var(--accentcolor);
}
.pass-container button {
  width: 46px;
  height: 46px;
  padding: 0;
  background-color: transparent;
  border: 1px solid var(--accentcolor);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0; /* ボタンが縮まないように固定 */
  transition: background-color 0.3s ease;
}

.pass-container button:hover {
  opacity: 0.8;
  background-color: rgba(var(--maincolor), 0.1);
}

/* ボタン内の画像サイズ調整 */
.pass-container button img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  /* 必要に応じて filter: invert(1); などで画像の色を反転させてください */
}
/* TOPボタンのスタイリング */
#topBtn {
    width: 50px;
    height: 44px;
    display: flex;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

#topBtn:hover {
  opacity: 0.8;
  background-color: rgba(255, 255, 255, 0.1);
}

#topBtn img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}
footer {
  padding: 4rem 0;
  background: var(--basecolor);
}
.footer-top img {
  display: block;
  margin: 0 auto;
  max-width: 250px;
  padding-bottom: 3rem;
}
.f-item1 {
  display: flex;
  justify-content: center;
  padding-bottom: 1rem;
  font-size: .9rem;
}

}


/* >>>>>> PC <<<<<< */
@media (min-width:600px){
#hamburger {
  display: none;
}
/* ヘッダー全体 */ 
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--maincolor);
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--basecolor);
}

/* 左端のロゴ＋ランプ グループ */
.logo-group {
  display: flex;
  align-items: center;
  gap: 0.8rem; /* 要素同士の間隔 */
}
/* テキスト部分のスタイル */
.logo-title {
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 2px;
  color: var(--submaincolor);
}

.separator {
  color: #e5e7eb;
  font-size: 0.9rem;
}

.logo-sub {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  color: var(--textcolor);
}

/* ナビゲーション */

.nav {
    display: flex;
    justify-content: space-between;
}
.header nav {
  margin-left: auto;
}
.nav a {
  color: var(--textcolor);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--accentcolor);
}
/* ==========================================
   ヒーローセクション（画像背景を透過して追加）
   ========================================== */
.hero {
  position: relative;
  text-align: center;
  padding: 6rem 1rem 5rem;
  background: linear-gradient(180deg, #1a0808 0%, #121212 100%);
  overflow: hidden; /* 画像のはみ出し防止 */
}

/* 背景用の薄い画像レイヤー */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 650px; /* 画像の表示サイズ上限 */
  height: 100%;
  background-image: url(../img/logo.png); /* 画像ファイルを指定 */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.4; /* 薄さの調整（0.05〜0.2で微調整可能） */
  filter: invert(1); /* 黒背景に合わせて画像を白基調に反転 */
  pointer-events: none; /* テキスト選択などの邪魔をしない */
  z-index: 1;
}

/* テキストコンテンツを前面に配置 */
.hero-content {
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-block;
  background-color: var(--accentcolor);
  color: var(--submaincolor);
  font-size: 1.4rem;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  animation: blink 1.5s infinite alternate;
}

.hero h1 {
  font-size: 7rem;
  letter-spacing: 4px;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  position: relative;
}
.hero h1::before, .hero h1::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    clip: rect(0, 0, 0, 0);
}

.hero h1:hover::before {
    left: 2px;
    text-shadow: -2px 0 var(--accentcolor);
    clip: rect(4px, 1200px, 150px, 0);
    animation: glitch-anim 0.3s infinite linear alternate-reverse;
}

.subtitle {
  color: var(--accentcolor);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.hero-desc {
  max-width: 600px;
  font-size: 1.2rem;
  margin: 0 auto 2rem;
  color: var(--submaincolor);
}

.date-info {
  display: inline-block;
  padding: 0 2rem;
  font-size: 1.2rem;
  color: var(--textcolor);
}
.scroll-indicator {
    font-family: var(--ShareTechMono);
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--textcolor);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.scroll-indicator .arrow {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, var(--textcolor), transparent);
    animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}
/* >>>>>>>>>>>>>>>
      下のやつ
<<<<<<<<<<<<<<< */
.sticky {
  position: fixed;
  bottom: 1rem;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  z-index: 9999;
  width: 100%;
  padding: 0 2rem;
  box-sizing: border-box;
}

.pass-container {
width: 100%;
max-width: 500px;
text-align: center;
}

/* 入力欄とボタンを横並びにするグループ */
.input-group {
  display: flex;
  width: 100%;
}

.pass-container input[type="password"] {
  flex: 1; /* 入力欄が残りの幅いっぱいに広がる */
  padding: 10px 12px;
  font-size: 1rem;
  border: 1px solid var(--accentcolor);
  border-radius: 4px;
  box-sizing: border-box;
  background-color: var(--maincolor);
  color: var(--accentcolor);
}
.pass-container input.is-error {
  border-color: var(--accentcolor);
}
.pass-container input.is-error::placeholder {
  color: var(--accentcolor);
}
.pass-container button {
  width: 46px;
  height: 46px;
  padding: 0;
  background-color: transparent;
  border: 1px solid var(--accentcolor);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0; /* ボタンが縮まないように固定 */
  transition: background-color 0.3s ease;
}

.pass-container button:hover {
  opacity: 0.8;
  background-color: rgba(var(--maincolor), 0.1);
}

/* ボタン内の画像サイズ調整 */
.pass-container button img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  /* 必要に応じて filter: invert(1); などで画像の色を反転させてください */
}
/* TOPボタンのスタイリング */
#topBtn {
    width: 50px;
    height: 44px;
    display: flex;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

#topBtn:hover {
  opacity: 0.8;
  background-color: rgba(255, 255, 255, 0.1);
}

#topBtn img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}
footer {
  padding: 4rem 0 8rem;
  background: var(--basecolor);
}
.footer-top img {
  display: block;
  margin: 0 auto;
  max-width: 250px;
  padding-bottom: 3rem;
}
.f-item1 {
  display: flex;
  justify-content: center;
  padding-bottom: 1rem;
  font-size: 1.1rem;
}


}