* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  background: #fdfdfd;
  color: #1a1a1a;
  font-weight: 400;
}

.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* 微細な背景テクスチャー */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0,0,0,0.008) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0,0,0,0.008) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* 中央の縦ライン */
.container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, 
    transparent 0%, 
    rgba(0,0,0,0.04) 20%, 
    rgba(0,0,0,0.04) 80%, 
    transparent 100%);
  pointer-events: none;
  z-index: -1;
}

/* トップナビゲーション */
.top-nav {
  position: fixed;
  top: 32px;
  right: 32px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.4s forwards;
}

/* ソーシャルアイコン */
.social-icon {
  display: flex;
  align-items: center;
}

.social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #999;
}

.social-button:hover {
  background: rgba(255,255,255,0.95);
  border-color: rgba(0,0,0,0.15);
  color: #1a1a1a;
  transform: translateY(-1px);
}

.x-icon {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* 言語切り替えボタン */
.language-switch {
  display: flex;
  align-items: center;
}

.language-toggle {
  position: relative;
  display: inline-block;
}

.language-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #999;
}

.language-button:hover {
  background: rgba(255,255,255,0.95);
  border-color: rgba(0,0,0,0.15);
  color: #1a1a1a;
  transform: translateY(-1px);
}

.globe-icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.5;
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  min-width: 80px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.language-dropdown.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.language-option {
  display: block;
  padding: 10px 16px;
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  text-align: center;
}

.language-option:last-child {
  border-bottom: none;
}

.language-option:hover {
  color: #1a1a1a;
  background: rgba(0,0,0,0.02);
}

.language-option.current {
  color: #1a1a1a;
  font-weight: 600;
  background: rgba(0,0,0,0.03);
}

/* ヒーローセクション */
.hero {
  padding: 140px 0 120px;
  text-align: center;
}

.site-title {
  font-size: 2.5rem;
  font-weight: 200;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
  color: #1a1a1a;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-message {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: #333;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  transition: color 0.3s ease;
}

.hero:hover .hero-message {
  color: #1a1a1a;
}

/* アプリリスト */
.apps {
  padding: 80px 0 140px;
}

.app-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.app-link:nth-child(1) { animation-delay: 0.6s; }
.app-link:nth-child(2) { animation-delay: 0.8s; }
.app-link:nth-child(3) { animation-delay: 1.0s; }
.app-link:nth-child(4) { animation-delay: 1.2s; }

.app-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(0,0,0,0.015) 50%, 
    transparent 100%);
  transition: left 0.6s ease;
  pointer-events: none;
}

.app-link:hover::before {
  left: 100%;
}

.app-link:hover {
  transform: translateX(8px);
  color: #000;
}

.app-link:hover .app-arrow {
  transform: translateX(4px);
  opacity: 1;
}

.app-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-name {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.app-arrow {
  font-size: 0.9rem;
  color: #999;
  transition: all 0.3s ease;
  opacity: 0.6;
}

/* Coming Soon Indicator */
.coming-soon-indicator {
  font-size: 0.85rem;
  color: #999;
  font-weight: 400;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.app-link.coming-soon:hover .coming-soon-indicator {
  opacity: 0.9;
}

/* フッター */
.footer {
  text-align: center;
  padding: 60px 0 80px;
  border-top: 1px solid rgba(0,0,0,0.06);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease 1.6s forwards;
}

.footer-text {
  font-size: 0.85rem;
  color: #999;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* アニメーション */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* レスポンシブ */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  
  .top-nav {
    top: 24px;
    right: 20px;
  }
  
  .social-button {
    width: 44px;
    height: 44px;
  }
  
  .x-icon {
    width: 20px;
    height: 20px;
    max-width: 20px;
    max-height: 20px;
  }
  
  .language-button {
    width: 44px;
    height: 44px;
  }
  
  .globe-icon {
    width: 20px;
    height: 20px;
  }
  
  .hero {
    padding: 100px 0 80px;
  }
  
  .site-title {
    font-size: 2.2rem;
    margin-bottom: 32px;
  }
  
  .hero-message {
    font-size: 1rem;
  }
  
  .apps {
    padding: 60px 0 100px;
  }
  
  .app-link {
    padding: 24px 0;
  }
}

/* 従来のスタイルをオーバーライド（必要な部分のみ保持） */
.site-header {
  display: none; /* ヘッダーを非表示 */
}

.site-footer {
  display: none; /* フッターを非表示 */
}

/* ページコンテンツの余白を調整 */
main {
  padding: 0;
}

/* 既存のクラス名に対応 */
.featured-apps {
  display: none; /* 既存のアプリセクションを非表示 */
}

/* Footer links styling */
.footer .footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer .footer-links a {
  color: #999;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  transition: color 0.3s ease;
}

.footer .footer-links a:hover {
  color: #666;
}
