/* メインスタイルシート */

/* 基本設定 */
:root {
  --primary-color: #3a2f45;
  --secondary-color: #6a5d7b;
  --accent-color: #9c89b8;
  --text-color: #333;
  --light-text: #f5f5f5;
  --background-color: #f9f9f9;
  --dark-background: #2a2a2a;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ナビゲーション */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(42, 42, 42, 0.9);
  backdrop-filter: blur(5px);
  z-index: 1000;
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light-text);
  letter-spacing: 1px;
}

.nav-links ul {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--light-text);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.nav-links a:hover:after {
  width: 100%;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--light-text);
  transition: var(--transition);
}

/* ヒーローセクション */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--dark-background);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--light-text);
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--light-text);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--light-text);
  border: 2px solid var(--light-text);
}

.btn-secondary:hover {
  background-color: var(--light-text);
  color: var(--dark-background);
  transform: translateY(-3px);
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 特徴セクション */
.features-section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.section-title:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.feature-image {
  height: 200px;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.feature-card:hover .feature-image img {
  transform: scale(1.05);
}

.feature-content {
  padding: 1.5rem;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.feature-description {
  color: #666;
  margin-bottom: 1rem;
}

/* ゲームプレイセクション */
.gameplay-section {
  padding: 5rem 0;
  background-color: #f0f0f0;
}

.gameplay-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.gameplay-video {
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gameplay-description {
  max-width: 800px;
  text-align: center;
}

/* ニュースセクション */
.news-section {
  padding: 5rem 0;
}

.news-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.news-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content {
  padding: 1.5rem;
}

.news-date {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.news-excerpt {
  color: #666;
  margin-bottom: 1rem;
}

.read-more {
  color: var(--accent-color);
  font-weight: 500;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--secondary-color);
}

/* CTAセクション */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/compressed/key-visual.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--light-text);
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-description {
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

/* フッター */
.footer {
  background-color: var(--dark-background);
  color: var(--light-text);
  padding: 4rem 0 2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
  margin-bottom: 2rem;
}

.footer-logo .logo-text {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.tagline {
  color: #aaa;
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-section {
  min-width: 150px;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-section h3:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
  bottom: -8px;
  left: 0;
}

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

.footer-section a {
  color: #aaa;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--light-text);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  color: #aaa;
  transition: var(--transition);
}

.social-icon:hover {
  color: var(--light-text);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #444;
  color: #777;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .footer-container {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
}
