/* 気候変動業界サイト専用スタイルシート */

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

/* ベースフォントとカラー設定 */
:root {
  --primary-blue: #1565C0;
  --secondary-blue: #2196F3;
  --accent-green: #43A047;
  --accent-orange: #FF9800;
  --text-dark: #0D47A1;
  --text-light: #1976D2;
  --bg-light: #E3F2FD;
  --bg-white: #FFFFFF;
  --bg-gray: #F5F5F5;
  --gradient-blue: linear-gradient(135deg, #1565C0 0%, #2196F3 100%);
  --gradient-climate: linear-gradient(135deg, #0D47A1 0%, #1976D2 50%, #43A047 100%);
  --shadow-light: 0 4px 12px rgba(21, 101, 192, 0.1);
  --shadow-medium: 0 8px 24px rgba(21, 101, 192, 0.15);
  --shadow-strong: 0 12px 36px rgba(21, 101, 192, 0.2);
}

body {
  font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-white);
  font-size: 16px;
}

/* ヘッダー */
.header {
  background: var(--gradient-climate);
  color: white;
  padding: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-medium);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  font-size: 2rem;
}

/* ナビゲーション */
.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: 0.9rem;
}

.nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.nav a.active {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ドロップダウンメニュー */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-block;
}

.dropdown-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--primary-blue);
  min-width: 250px;
  box-shadow: var(--shadow-medium);
  border-radius: 10px;
  padding: 0.5rem 0;
  z-index: 1000;
  margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.7rem 1.5rem;
  border-radius: 0;
  transition: all 0.3s ease;
  border: none;
  font-size: 0.9rem;
  display: block;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
}

/* メインコンテンツ */
.main-content {
  margin-top: 80px;
}

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

/* ヒーローセクション */
.hero {
  background: var(--gradient-climate);
  color: white;
  padding: 4rem 0;
  display: flex;
  align-items: center;
  min-height: 500px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  background: var(--accent-orange);
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
}

.cta-button:hover {
  background: #F57C00;
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: var(--shadow-strong);
}

/* 概要セクション */
.overview {
  padding: 4rem 0;
  background: var(--bg-light);
}

.overview h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  text-align: center;
}

.overview p {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.stat-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease;
}

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

.stat-card h3 {
  font-size: 2.5rem;
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-card p {
  color: var(--text-dark);
  font-weight: 500;
}

/* 重点領域セクション */
.key-areas {
  padding: 4rem 0;
  background: white;
}

.key-areas h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 3rem;
  text-align: center;
}

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

.area-card {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 15px;
  border-left: 5px solid var(--accent-green);
  transition: all 0.3s ease;
}

.area-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.area-card h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-weight: 600;
}

.area-card p {
  color: var(--text-dark);
  line-height: 1.6;
}

/* ニュースセクション */
.news {
  padding: 4rem 0;
  background: var(--bg-gray);
}

.news h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 3rem;
  text-align: center;
}

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

.news-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease;
}

.news-item:hover {
  transform: translateY(-3px);
}

.news-date {
  display: inline-block;
  background: var(--secondary-blue);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.news-item h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.news-item p {
  color: var(--text-dark);
  line-height: 1.6;
}

/* 市場セグメントセクション */
.market-segments {
  padding: 4rem 0;
  background: white;
}

.market-segments h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 3rem;
  text-align: center;
}

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

.segment-card {
  background: var(--gradient-blue);
  color: white;
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.segment-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.segment-card p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* ページヒーローセクション */
.page-hero {
  background: var(--gradient-climate);
  color: white;
  padding: 3rem 0 2rem;
  margin-top: 0;
}

.page-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.page-hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.page-hero-image {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 0 2rem;
}

.page-hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: var(--shadow-strong);
}

/* コンテンツセクション（2カラムレイアウト） */
.content-section {
  padding: 4rem 0;
  background: white;
}

.content-section .container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.main-article {
  min-width: 0;
}

.main-article h2 {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent-green);
}

.main-article h2:first-child {
  margin-top: 0;
}

.main-article h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.main-article p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #333;
}

.main-article ul, .main-article ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.main-article li {
  margin-bottom: 0.5rem;
}

.highlight-box {
  background: var(--bg-light);
  border-left: 5px solid var(--primary-blue);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 8px;
}

.highlight-box h3 {
  font-size: 1.3rem;
  color: var(--primary-blue);
  margin-top: 0;
  margin-bottom: 1rem;
}

.highlight-box ul {
  margin-left: 1.5rem;
}

.highlight-box li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* サイドバー */
.sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-section {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-light);
}

.sidebar-section h3 {
  font-size: 1.2rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-green);
}

.sidebar-section ul {
  list-style: none;
}

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

.sidebar-section ul li a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
  line-height: 1.5;
  display: block;
}

.sidebar-section ul li a:hover {
  color: var(--secondary-blue);
  padding-left: 0.5rem;
}

.ad-space {
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
  padding: 3rem 2rem;
  border-radius: 10px;
  text-align: center;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.9rem;
  border: 2px dashed #ccc;
}

/* フッター */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--secondary-blue);
}

.footer-section p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

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

.footer-section ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--secondary-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: #ccc;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--secondary-blue);
  background: rgba(255, 255, 255, 0.1);
}

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

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-blue);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    padding: 1rem 2rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .content-section .container {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    order: -1;
  }

  .page-hero-content h1 {
    font-size: 2rem;
  }

  .main-article h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 2rem 0;
  }

  .hero-content {
    padding: 0 1rem;
  }

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

  .stat-card h3 {
    font-size: 2rem;
  }
}