@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
  --primary-color: #c41230;
  --secondary-color: #0a2540;
  --accent-color: #d4af37;
  --bg-light: #f8f9fa;
  --text-dark: #333;
  --text-light: #666;
  --border-color: #e0e0e0;
  --white: #ffffff;
  --shadow: 0 2px 10px 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;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

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

/* Header & Navigation */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

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

.logo h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.logo-subtitle {
  font-size: 12px;
  color: var(--text-light);
  margin-left: 10px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 400;
  transition: var(--transition);
  position: relative;
}

nav a:hover {
  color: var(--primary-color);
}

nav a.active {
  color: var(--primary-color);
  font-weight: 500;
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 3px 0;
  transition: var(--transition);
}

/* Main Content */
main {
  margin-top: 80px;
  min-height: calc(100vh - 280px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(196, 18, 48, 0.1), rgba(212, 175, 55, 0.1));
  padding: 100px 0;
  text-align: center;
}

.hero h2 {
  font-size: 48px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.btn-primary {
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  border-radius: 50px;
  transition: var(--transition);
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.btn-primary:hover {
  background-color: #a00e28;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(196, 18, 48, 0.3);
}

.btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--white);
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  color: var(--secondary-color);
  margin-bottom: 50px;
}

.section-subtitle {
  font-size: 18px;
  text-align: center;
  color: var(--text-light);
  margin-bottom: 30px;
}

/* Cards */
.card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  margin-bottom: 20px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.card h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* News Section */
.news-item {
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 5px;
}

.news-title {
  font-size: 18px;
  color: var(--text-dark);
  font-weight: 500;
}

/* Event Section */
.coming-soon {
  text-align: center;
  padding: 60px 20px;
  background-color: var(--bg-light);
  border-radius: 12px;
}

.coming-soon h3 {
  font-size: 32px;
  color: var(--accent-color);
  margin-bottom: 20px;
}

/* Project Timeline */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline-item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.timeline-date {
  min-width: 150px;
  font-weight: 600;
  color: var(--primary-color);
}

.timeline-content {
  padding-left: 30px;
  border-left: 3px solid var(--accent-color);
}

.timeline-content h4 {
  font-size: 20px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

th, td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  background-color: var(--bg-light);
  font-weight: 600;
  color: var(--secondary-color);
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 40px 0 20px;
  margin-top: 80px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-section {
  margin-bottom: 20px;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    position: relative;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
    display: none;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }

  .menu-toggle {
    display: flex;
  }

  .hero h2 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    flex-direction: column;
  }

  .timeline-date {
    margin-bottom: 10px;
  }

  .timeline-content {
    padding-left: 20px;
    margin-left: 10px;
  }

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

  table {
    font-size: 14px;
  }

  th, td {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 28px;
  }

  .btn-primary {
    padding: 12px 30px;
    font-size: 14px;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

.text-muted {
  color: var(--text-light);
}

.bg-light {
  background-color: var(--bg-light);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}