/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 基本スタイル */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

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

/* ヘッダー */
.site-header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.site-logo {
  text-decoration: none;
  color: #DC143C;
}

.site-logo h1 {
  font-size: 1.5rem;
  margin: 0;
}

/* ナビゲーション */
.header-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.header-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.header-nav a:hover {
  color: #DC143C;
}

/* モバイルメニューボタン */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  width: 30px;
  height: 30px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
  transition: 0.3s;
  position: absolute;
  left: 2.5px;
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 8px;
}

.menu-toggle span:nth-child(3) {
  top: 16px;
}

/* モバイルレスポンシブ */
@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .header-nav.mobile-open {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-top: 1px solid #e0e0e0;
    gap: 0;
  }
  
  .header-nav.mobile-open a {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: block;
  }
  
  .header-nav.mobile-open a:last-child {
    border-bottom: none;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    top: 8px;
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    top: 8px;
  }
  
  .site-header {
    position: relative;
  }
}

/* 旧ヘッダースタイル（互換性のため） */
.header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 20px 0;
}

.logo {
  margin: 0;
}

.logo img {
  height: 60px;
  width: auto;
}


/* ヒーローセクション */
.hero {
  background: linear-gradient(135deg, #E60012 0%, #cc0010 100%);
  color: white;
  padding: 100px 0;
  text-align: center;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 30px;
  line-height: 1.4;
  font-weight: bold;
}

.lead {
  font-size: 20px;
  opacity: 0.95;
  margin-bottom: 40px;
}

.hero-cta {
  display: inline-block;
  background: white;
  color: #E60012;
  padding: 15px 40px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: transform 0.3s;
}

.hero-cta:hover {
  transform: scale(1.05);
}

/* ホワイトペーパーセクション */
.whitepapers {
  padding: 60px 0;
}

.whitepapers h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #2c5282;
}

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

/* ホームページ用ダウンロードカード（縦型） */
.download-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.download-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.download-card-image {
  position: relative;
  width: 100%;
  height: 300px;
  background: #f0f0f0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.download-card-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.download-card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
  line-height: 1.4;
}

.download-card-description {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.download-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.page-count {
  color: #999;
  font-size: 14px;
}

.download-btn {
  background: #E60012;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s;
}

.download-card:hover .download-btn {
  background: #cc0010;
  transform: translateX(3px);
}

.btn-download {
  background: #3182ce;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-download:hover {
  background: #2c5282;
}

/* ベネフィットセクション */
.benefits {
  background: white;
  padding: 60px 0;
}

.benefits h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #2c5282;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.benefit-item {
  text-align: center;
  padding: 20px;
}

.benefit-item h3 {
  font-size: 24px;
  color: #2c5282;
  margin-bottom: 15px;
}

.benefit-item p {
  color: #666;
}

/* フッター */
.footer {
  background: #333;
  color: white;
  padding: 40px 0;
  text-align: center;
}

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

.footer-logo {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

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

.footer-nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-size: 14px;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-company {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 10px;
}

.copyright {
  font-size: 12px;
  color: #999;
}

/* モーダル */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.close {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

.modal h3 {
  margin-bottom: 20px;
  color: #2c5282;
}

/* フォーム */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.form-group input[type="checkbox"] {
  margin-right: 5px;
}

.required {
  color: #e53e3e;
}

.btn-submit {
  width: 100%;
  background: #3182ce;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  background: #2c5282;
}

/* ホームページ用のカードリンク */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-link .whitepaper-card {
  transition: all 0.3s;
}

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

.btn-text {
  color: #e63946;
  font-weight: bold;
  transition: color 0.3s;
}

.card-link:hover .btn-text {
  color: #d62828;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 28px;
  }
  
  .lead {
    font-size: 16px;
  }
  
  .whitepaper-grid {
    grid-template-columns: 1fr;
  }
  
  .download-card-image {
    height: 250px;
  }
  
  .download-card-content {
    padding: 20px;
  }
  
  .download-card-title {
    font-size: 20px;
  }
  
  .download-card-description {
    font-size: 14px;
  }
  
  .modal-content {
    margin: 10% auto;
    padding: 20px;
  }
}

/* ========================================
   活動実績バナー
   ======================================== */
.activity-stats {
  background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
  padding: 60px 0;
  margin-bottom: 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  position: relative;
  padding: 25px 15px;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: linear-gradient(to bottom, transparent, #e0e0e0, transparent);
}

.stat-item:last-child::after {
  display: none;
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: #DC143C;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 14px;
  color: #333;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.stat-update {
  font-size: 12px;
  color: #999;
  margin-top: 6px;
  font-weight: 400;
}

.stat-update.milestone {
  color: #DC143C;
  font-weight: 600;
}

/* ========================================
   更新履歴タイムライン
   ======================================== */
.updates-section {
  background: white;
  padding: 60px 0;
  margin-bottom: 40px;
}

.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
}

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

.updates-timeline::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e0e0e0;
}

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

.timeline-date {
  width: 100px;
  flex-shrink: 0;
  font-weight: bold;
  color: #888;
  padding-right: 20px;
  text-align: right;
  position: relative;
}

.timeline-date::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #667eea;
  border: 3px solid white;
  box-shadow: 0 0 0 2px #667eea;
}

.timeline-item.new .timeline-date::after {
  background: #e74c3c;
  box-shadow: 0 0 0 2px #e74c3c;
}

.timeline-item.milestone .timeline-date::after {
  background: #f39c12;
  box-shadow: 0 0 0 2px #f39c12;
}

.timeline-content {
  flex: 1;
  background: #f8f9fa;
  padding: 20px 25px;
  border-radius: 8px;
  margin-left: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.timeline-content h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
  color: #333;
}

.timeline-content p {
  margin: 8px 0 0;
  color: #666;
  font-size: 15px;
}

.timeline-content ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.timeline-content ul li {
  margin: 6px 0;
  color: #555;
}

.timeline-content ul li a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.2s;
}

.timeline-content ul li a:hover {
  color: #764ba2;
  text-decoration: underline;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 10px;
}

.new-badge {
  background: #e74c3c;
  color: white;
}

.milestone-badge {
  background: #f39c12;
  color: white;
}

/* ========================================
   Coming Soon セクション
   ======================================== */
.coming-soon-section {
  background: #f8f9fa;
  padding: 60px 0;
  margin-bottom: 40px;
}

.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.soon-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 2px dashed #ddd;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.soon-card:hover {
  transform: translateY(-5px);
  border-color: #667eea;
}

.soon-badge {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 15px;
}

.soon-card h3 {
  font-size: 20px;
  color: #333;
  margin: 15px 0 12px;
}

.soon-card p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   レスポンシブ対応
   ======================================== */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }

  .stat-item {
    padding: 20px 10px;
  }

  .stat-item::after {
    display: none;
  }

  .stat-item:nth-child(2n)::after {
    display: block;
    right: -10px;
  }

  .stat-number {
    font-size: 32px;
  }

  .stat-label {
    font-size: 13px;
  }

  .stat-update {
    font-size: 11px;
  }

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

  .updates-timeline::before {
    left: 80px;
  }

  .timeline-date {
    width: 80px;
    font-size: 13px;
  }

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

  .timeline-content h3 {
    font-size: 16px;
  }

  .coming-soon-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .soon-card {
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .activity-stats {
    padding: 30px 0;
  }
}