/* =====================
   リセット
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =====================
   全体
===================== */
body {
  color: #ffffff;
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #000000;
  overflow-y: scroll;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =====================
   ヘッダー
===================== */
header {
  width: 100%;
  height: 80px;
  background-color: rgba(70, 70, 70, 0.267);
  padding-left: 30px;
  padding-right: 30px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

header.scrolled {
  background-color: rgba(10, 10, 20, 0.9);
  backdrop-filter: blur(12px);
}

h1 {
  margin: 0;
}

h1 a {
  display: flex;
  align-items: center;
}

h1 a img {
  width: 70px;
  height: auto;
}

/* =====================
   ナビ
===================== */
#top-nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
}

#top-nav ul li a {
  display: block;
  padding: 10px 15px;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  opacity: 0.8;
  transition: 0.3s;
}

#top-nav ul li a:hover {
  opacity: 1;
  text-shadow: 0 0 8px rgba(120, 140, 255, 0.2);
}

#top-nav ul li a.active {
  opacity: 1;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(120, 140, 255, 0.2);
  position: relative;
}

#top-nav ul li a.active::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 4px;
  height: 1px;
  background-color: rgba(120, 140, 255, 0.8);
}

/* =====================
   メイン
===================== */
main {
  padding-top: 80px;
}

/* =====================
   ファーストビュー
===================== */
.top {
  height: calc(100vh - 80px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.top-inner {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.top-logo {
  width: 180px;
  margin-bottom: 25px;
}

.top h2 {
  font-size: 42px;
  margin-bottom: 20px;
  letter-spacing: 1.5px;
}

.top p {
  color: #aaaaaa;
  margin-bottom: 30px;
  line-height: 1.8;
  font-size: 15px;
}

/* =====================
   JOINボタン
===================== */
.join-btn {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.02);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.join-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(120, 140, 255, 0.8);
  box-shadow:
    0 0 20px rgba(120, 140, 255, 0.25),
    0 0 40px rgba(120, 140, 255, 0.15);
}

/* =====================
   ABOUTプレビュー
===================== */
.about-preview {
  padding: 120px 20px;
}

.about-preview-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.about-preview h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.about-preview-text {
  max-width: 680px;
  margin: 0 auto 60px;
  color: #aaaaaa;
  line-height: 1.9;
  font-size: 15px;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 32px 24px;
  background-color: rgba(255, 255, 255, 0.015);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

/* 通常hover */
.about-card:hover {
  transform: translateY(-10px) scale(1.02);
}

/* fade-up対策 */
.about-card.fade-up.show:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(120, 140, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.25);
}

.about-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.about-card p {
  color: #aaaaaa;
  font-size: 14px;
}
/* =====================
   NEWSプレビュー
===================== */
.news-preview {
  padding: 120px 20px;
}

.news-preview-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.news-preview h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.news-preview-list {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}

.news-preview-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px;
  text-align: left;
  transition: 0.25s ease;
  background-color: rgba(255, 255, 255, 0.02);
}

.news-preview-item:hover {
  transform: translateY(-6px);
  border-color: rgba(120, 140, 255, 0.6);
  box-shadow: 0 0 20px rgba(120, 140, 255, 0.15);
}

.news-preview-meta {
  font-size: 13px;
  margin-bottom: 10px;
  color: #999;
  display: flex;
  gap: 10px;
}

.news-preview-category {
  color: #8ea4ff;
}

.news-preview-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.news-preview-item p {
  font-size: 14px;
  color: #aaa;
}

.news-preview-more a {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: 0.25s ease;
}

.news-preview-more a:hover {
  border-color: rgba(120, 140, 255, 0.8);
  box-shadow: 0 0 16px rgba(120, 140, 255, 0.2);
}
/* =====================
   JOINセクション
===================== */
.join-section {
  padding: 120px 20px;
  text-align: center;
}

.join-inner p {
  color: #aaaaaa;
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 36px;
}

/* =====================
   フッター
===================== */
footer {
  padding: 80px 20px 40px;
  border-top: 1px solid rgba(120, 140, 255, 0.15);
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 30px;
  text-shadow: 0 0 10px rgba(120, 140, 255, 0.15);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-nav a {
  font-size: 13px;
  color: #aaaaaa;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-copy {
  font-size: 12px;
  color: #666666;
}

/* =====================
   スクロール演出
===================== */
.fade-up {
  opacity: 0;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-up:not(.about-card) {
  transform: translateY(20px);
}

.fade-up.show:not(.about-card) {
  opacity: 1;
  transform: translateY(0);
}

.about-card.fade-up {
  opacity: 0;
  transform: translateY(20px);
}

.about-card.fade-up.show {
  opacity: 1;
  transform: none;
}

/* =====================
   レスポンシブ
===================== */
@media screen and (max-width: 768px) {
  #top-nav {
    display: none;
  }

  .top-logo {
    width: 140px;
  }

  .top h2 {
    font-size: 32px;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }
}