/* 全体基本設定 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #0f172a;
  color: #f8fafc;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ヘッダー */
.header {
  background-color: #1e293b;
  border-bottom: 1px solid #334155;
  padding: 20px 0;
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: 900;
  color: #38bdf8;
  text-decoration: none;
  letter-spacing: 1px;
}

.tagline {
  color: #94a3b8;
  font-size: 0.9rem;
}

/* メインコンテンツ */
.main-content {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
  flex: 1;
}

/* ヒーローエリア */
.hero {
  text-align: center;
  margin-bottom: 50px;
  padding: 30px 20px;
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
  border-radius: 16px;
  border: 1px solid #312e81;
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.hero p {
  color: #cbd5e1;
  font-size: 1.1rem;
}

/* アプリ一覧エリア */
.apps-section {
  margin-top: 20px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.section-title h3 {
  font-size: 1.5rem;
  color: #f1f5f9;
}

.badge {
  background-color: #0284c7;
  color: #ffffff;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: bold;
}

/* グリッドレイアウト（レスポンシブ） */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* アプリカード */
.app-card {
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
  box-shadow: 0 10px 25px -5px rgba(56, 189, 248, 0.2);
}

.app-category {
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 8px;
}

.app-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 10px;
}

.app-description {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.app-link {
  display: inline-block;
  text-align: center;
  background-color: #0284c7;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  padding: 12px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.app-link:hover {
  background-color: #0369a1;
}

/* フッター */
.footer {
  background-color: #0f172a;
  border-top: 1px solid #1e293b;
  text-align: center;
  padding: 20px;
  color: #64748b;
  font-size: 0.85rem;
}

/* スマホ向け調整 */
@media (max-width: 640px) {
  .header-container {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
  
  .hero h2 {
    font-size: 1.6rem;
  }
}