/* 全体構成と背景 */
@import url("common.css");
body {
  margin: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)), url('../common/images/bg-parallax-lumina-night.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #f5f5f5;
  line-height: 1.6;
  overflow-x: hidden;
}
.glowAnime span {
  opacity: 0;
}
.glowAnime.glow span{
    animation:glow_anime_on 1s ease-out forwards;
}
@keyframes glow_anime_on{
	0% { opacity:0; text-shadow: 0 0 0 #fff,0 0 5px #fff;}
	50% { opacity:1;text-shadow: 0 0 5px #fff,0 0 10px #46B3A7; }
	100% { opacity:1; text-shadow: 0 0 10px #46B3A7,0 0 15px #46B3A7;}
}
/* 光の玉 */
.mouse-stalker {
  position: fixed;
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 70%, rgba(255, 255, 255, 0) 100%);
  border-radius: 50%;
  pointer-events: none; /* クリックを無効化 */
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  z-index: 5000;
  transition: transform 0.2s ease-out; /* 動きのスムーズさ */
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.9), 0 0 40px rgba(255, 255, 255, 0.6), 0 0 60px rgba(255, 255, 255, 0.3), 0 0 80px rgba(255, 255, 255, 0);
}
/* ローディング画面のスタイル */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}
.loading-screen img {
  max-width: 100%;
  height: auto;
}
#particles-js{ 
	position:fixed;/*描画固定*/
	z-index:1;/*描画を一番下に*/
	width: 100%;
	height: 100%;
    pointer-events: none;
}
/* 固定背景画像 */
.fixed-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../common/images/fixed-background.png') no-repeat center center;
  background-size: cover;
  z-index: 500;
  pointer-events: none;
}
.main-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  color: #fff;
  z-index: 1;
  padding: 20px;
}
.main-visual .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* 半透明の黒背景 */
  z-index: -1; /* 背景に配置 */
}
.main-visual .logo img {
  max-width: 100%;
  padding: 50px;
}
.main-visual h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}
.main-visual p {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #f5f5f5;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.7); /* 黒のシャドウ */
}
.main-visual h1, .main-visual p, .main-visual .floating-gif-scroll {
  position: relative;
  z-index: 2; /* 背景の前に配置 */
}

.main-visual p {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #f5f5f5;
}
.parallax {
  background: url('../common/images/parallax-lumina-night.jpg') no-repeat center fixed;
  background-size: cover;
  padding: 100px 20px;
  color: #f5f5f5;
  text-align: center;
  position: relative;
}
.parallax::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.parallax .content {
  position: relative;
  z-index: 2; /* テキストやボタンを前面に配置 */
  max-width: 800px;
  margin: auto;
}
.intro-img img {
  width: 60%;
  height: auto;
  padding: 30px;
}
/* カードセクション */
.cards-section {
  padding: 40px 20px;
  text-align: center;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 自動でカラム幅を調整 */
  gap: 30px;
  max-width: 800px; /* 最大幅を800pxに設定 */
  margin: 0 auto; /* 中央揃え */
}
.card {
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}
.card h3 {
  text-align: center;
  margin-bottom: 10px;
  color: #ffd700;
}
.card p {
  text-align: center;
  margin-bottom: 15px;
  color: #f5f5f5;
}
.btn {
  display: inline-block;
  background: #46B3A7; /* ボタン背景色 */
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 10px;
  transition: background 0.3s, transform 0.2s;
  border: 2px solid #fff; /* 白い枠線を追加 */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* ボタンのシャドウ */
}
.btn:hover {
  background: #26615a; /* ボタンのホバー時の色 */
  transform: scale(1.1); /* ホバー時の拡大 */
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.7); /* ホバー時のシャドウ強調 */
}
.card img {
  max-height: 300px;
}
/* クエストセクション */
.quest-section {
  padding: 40px 20px;
  text-align: center;
}
.quest-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.quest-list li {
  font-size: 1.2em;
  margin: 10px 0;
  color: #ffd700;
}
.quest-section .btn {
  display: inline-block;
  background: #46B3A7;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  margin-bottom: 30px;
  border-radius: 10px;
  transition: background 0.3s;
}
.quest-section .btn:hover {
  background: #26615a;
}
/* ローディング画面フェードアウト */
.loading-screen.fade-out {
  animation: fadeOut 0.5s ease forwards;
    pointer-events: none;
}
@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
/* コンテンツフェードイン */
#content.fade-in {
  animation: fadeIn 0.5s ease forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* 暗転スクリーン */
.dark-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  transition: opacity 1s ease;
}
.dark-screen.visible {
  opacity: 1;
  visibility: visible;
}
.floating-gif-scroll {
  margin: 40px auto;
  z-index: 500; /* 高いZ-indexで他の要素より前面に表示 */
}
.floating-gif-scroll img {
  max-width: 80px; /* GIFの最大幅を指定 */
  height: auto; /* アスペクト比を維持 */
  pointer-events: none; /* クリックやホバーの影響を受けない */
}
/* レスポンシブデザイン */
@media screen and (max-width: 767px) {
  #mouseStalker, #loading, #darkScreen {
    display: none;
  }
  .title-header.logo img {
    max-width: 80px;
  }
  h1 {
    font-size: 1.5em;
  }
  h2 {
    font-size: 1.3em;
  }
  h3 {
    font-size: 1em;
  }
  p {
    font-size: 0.8em;
  }
  .main-visual .logo img {
    max-width: 100%;
    padding: 50px;
  }
  .main-visual h1 {
    font-size: 1.5em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
  }
  .main-visual p {
    font-size: 0.8em;
    margin-bottom: 20px;
    color: #f5f5f5;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7); /* 黒のシャドウ */
  }
  #introduction h2 {
    font-size: 1.3em;
    margin: 0 20px 20px;
  }
  .intro-img img {
    width: 100%;
    margin: 20px auto;
  }
  .split-layout {
    flex-direction: column;
    padding: 20px;
  }
  .navbar {
    height: 40vh;
  }
  .title {
    font-size: 2em;
  }
  .subtitle {
    font-size: 1.2em;
  }
  .parallax {
    padding: 30px 10px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .quest-list li {
    font-size: 1em;
  }
}