/* ========== リセット＆ベース ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #1a1a1a;
    color: #f2f2f2;
    line-height: 1.6;
    overflow-x: hidden;
}


/* ========== Hero ========== */
.hero {
    text-align: center;
    padding: 6rem 1rem 6rem;
    background: #1f1f1f;
    animation: fadeIn 1.2s ease;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.subtitle {
    font-size: 1.3rem;
    color: #ccc;
    margin-bottom: 2rem;
}

.cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    background: #2e8bff;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
    background: #1d6cd3;
}

.btn.secondary {
    background: transparent;
    border: 1px solid #2e8bff;
    color: #2e8bff;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 2rem 1rem;
    border-top: 1px solid #444;
    border-bottom: 1px solid #444;
    flex-wrap: wrap;
}

.stats div {
    text-align: center;
    min-width: 100px;
}

.stats span {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}

/* 特徴カード */
.feature-card {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
  background: #1e1e1e;
  border-radius: 1.2rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0px 4px 20px rgba(0,0,0,0.3);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 8px 30px rgba(0,0,0,0.5);
}

/* アイコン */
.icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .feature-card {
    margin-bottom: 2rem;
  }
}

/* ========== フッター ========== */
.footer {
    background-color: #121212;
    padding: 3rem 2rem;
    color: #ccc;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
}

.footer h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer ul li a:hover {
    color: #fff;
}

/* ========== アニメーション ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== ヘッダー ========== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #121212;
    padding: 1.2rem 2rem;
    border-bottom: 1px solid #2d2d2d;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  /* ロゴ */
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
  }
  
  /* ナビゲーションリンク */
  .nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
  }
  
  /* リンク */
  .nav-links li a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .nav-links li a:hover {
    color: #fff;
  }
  
  /* ハンバーガーメニュー（PCでは非表示） */
  .hamburger {
    display: none; /* デフォルトでは非表示 */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px; /* 高さを調整 */
    cursor: pointer;
  }
  
  .bar {
    width: 100%;
    height: 4px;  /* 各バーの高さを調整 */
    background-color: #fff;
    border-radius: 4px;
  }
  
  /* ========== レスポンシブデザイン（モバイル） ========== */
  @media (max-width: 768px) {
    .nav-links {
      display: none;  /* デフォルトでは非表示 */
      flex-direction: column;
      position: absolute;
      background: #1f1f1f;
      top: 70px;
      right: 20px;
      padding: 1rem;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0,0,0,0.4);
      z-index: 999;
    }
  
    .nav-links.show {
      display: flex;  /* ハンバーガーメニューがクリックされたときに表示される */
    }
  
    .hamburger {
      display: block;  /* モバイルでハンバーガーメニューを表示 */
    }
  
    .cta {
      flex-direction: column;
      align-items: center;
    }
  
    .stats {
      flex-direction: column;
      align-items: center;
    }
  
    .feature-row,
    .feature-row.reverse {
      flex-direction: column;
      text-align: center;
    }
  
    .feature-text,
    .feature-icon {
      max-width: 100%;
    }
  }
  

  /* ========== 利用規約ページ ========== */
.terms {
    max-width: 1100px;
    margin: auto;
    padding: 4rem 1rem;
    animation: fadeInUp 1s ease;
}

.terms h1 {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
}

.terms-content {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.8;
}

.terms h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 600;
}

.terms p {
    margin-bottom: 1.5rem;
}

.terms ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.terms ul li {
    margin-bottom: 0.8rem;
}

.terms a {
    color: #2e8bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms a:hover {
    color: #1d6cd3;
}

/* 既存のアニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ========== Botステータスページ ========== */
.status-page {
    text-align: center;
    padding: 3rem 1rem;
}

.status-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 横2つずつ */
    gap: 2rem;
    margin-top: 2rem;
}

/* レスポンシブデザイン: 画面幅が768px以下のとき、1つずつ表示 */
@media (max-width: 768px) {
    .status-container {
        grid-template-columns: 1fr; /* スマホでは1つずつ */
    }
}

.status-card {
    background: #2e2e2e;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.status-card h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 1rem;
}

.status-card .status {
    font-size: 1.2rem;
    font-weight: bold;
}

.status.online {
    color: #2ecc71; /* 緑色 */
}

.status.offline {
    color: #e74c3c; /* 赤色 */
}

.status-toggle button {
    background: #3498db;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
    margin-top: 3rem;
}

.status-toggle button:hover {
    transform: scale(1.05);
    background: #2980b9;
}