:root {
  --primary-color: #007BCE;
  --secondary-color: #0056b3;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-light: #f4f8fc;
  --card-bg: #ffffff;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--background-light);
  color: var(--text-dark);
  padding-top: 70px;
  padding-bottom: 60px;
  line-height: 1.6;
}

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

/* ヘッダー */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--primary-color);
  color: var(--text-light);
  z-index: 1000;
  height: 70px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

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

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

.site-title {
  font-size: 1.2rem;
  font-weight: bold;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ナビゲーション */
.site-nav {
  height: 100%;
}

.site-nav ul {
  display: flex;
  list-style: none;
  height: 100%;
  align-items: center;
}

.site-nav li {
  margin-left: 30px;
}

.site-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.site-nav a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.site-nav a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--text-light);
  transition: width 0.3s ease;
}

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

/* ヒーローセクション */
.hero {
  position: relative;
  text-align: center;
  color: var(--text-light);
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: brightness(0.7);
  display: block;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-text p {
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* カードセクション */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px auto;
  text-align: center;
  align-items: stretch;
}

.card {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: var(--text-dark);
  flex: 0 0 auto;
}

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

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 15px;
}

.card h2 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin: 0;
}

/* スポンサーセクション */
.sponsor-section {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.sponsor-section h2 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.sponsors {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.sponsors img {
  max-height: 100px;
  max-width: 100%;
}

/* フッター */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-color);
  color: var(--text-light);
  text-align: center;
  padding: 15px 0;
  z-index: 1000;
}

.site-footer p {
  margin: 0;
}

/* ページコンテンツスタイル */
.page-header {
  text-align: center;
  margin: 30px 0;
}

.page-header h1 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 10px;
}

.page-subtitle {
  font-size: 1.1rem;
  color: #666;
}

.content-section {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.content-text {
  margin-bottom: 25px;
  line-height: 1.8;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.gallery-card {
  background: var(--background-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
}

.gallery-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 15px;
  background: rgba(0, 123, 206, 0.05);
}

.gallery-caption p {
  margin: 0;
  font-size: 0.95rem;
}

.action-section {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin: 30px 0;
  text-align: center;
}

.action-section h2 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.action-section .button {
  display: inline-block;
  margin: 15px 10px;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.action-section .button:hover {
  background: var(--secondary-color);
}

/* 特徴セクション */
.feature-section {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin: 30px 0;
}

.feature-section h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 25px;
}

.feature-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-item {
  text-align: center;
  padding: 15px;
  border-radius: 8px;
  background: rgba(0, 123, 206, 0.05);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.feature-item h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* ハイライトセクション */
.highlight-section {
  margin: 30px 0;
}

.highlight-box {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.highlight-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  display: block;
  text-align: center;
}

.highlight-box h3 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.highlight-box ul {
  padding-left: 25px;
  line-height: 1.8;
}

.highlight-box li {
  margin-bottom: 10px;
}

/* 実績セクション */
.achievement-section {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin: 30px 0;
}

.achievement-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.achievement-icon {
  font-size: 2rem;
  color: #FFD700;
  margin-right: 15px;
}

.achievement-section h2 {
  color: var(--primary-color);
  margin: 0;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 20px;
  margin-left: -2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  margin-bottom: 20px;
}

.timeline-badge {
  position: absolute;
  width: 40px;
  height: 40px;
  left: 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-weight: bold;
  z-index: 1;
}

.timeline-content {
  padding: 15px;
  background: rgba(0, 123, 206, 0.05);
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.timeline-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.timeline-content a:hover {
  text-decoration: underline;
}

/* メディアクエリ */
@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }
  
  .site-header {
    height: 60px;
  }
  
  .logo {
    height: 30px;
  }
  
  .site-title {
    font-size: 1rem;
  }
  
  .hamburger {
    display: flex;
  }
  
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--primary-color);
    padding-top: 70px;
    transition: right 0.3s ease;
  }
  
  .site-nav.active {
    right: 0;
  }
  
  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 30px;
  }
  
  .site-nav li {
    margin: 15px 0;
    width: 100%;
  }
  
  .site-nav a {
    display: block;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .hero-image {
    height: 250px;
  }
  
  .hero-text h1 {
    font-size: 1.8rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .cards {
    grid-template-columns: 1fr;
  }
  
  /* ハンバーガーメニューがアクティブな時のアニメーション */
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  /* モバイル用レイアウト調整 */
  .page-header h1 {
    font-size: 1.8rem;
  }
  
  .photo-gallery {
    grid-template-columns: 1fr;
  }
  
  .feature-content {
    grid-template-columns: 1fr;
  }
  
  .timeline-item {
    padding: 10px 30px;
  }
  
  .timeline-content {
    padding: 10px;
  }
  
  .action-section .button {
    margin: 10px 5px;
    padding: 10px 15px;
    display: block;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.5rem;
  }
  
  .sponsors {
    flex-direction: column;
  }
}