/* ラストワンマイル業界サイト専用スタイル */
:root {
  --primary-color: #1e3a8a;     /* 深いブルー */
  --secondary-color: #3b82f6;   /* 明るいブルー */
  --accent-color: #06d6a0;      /* テールグリーン */
  --text-dark: #1f2937;         /* ダークグレー */
  --text-light: #6b7280;        /* ライトグレー */
  --background-light: #f8fafc;  /* 非常に薄いグレー */
  --white: #ffffff;
  --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic Medium', 'Meiryo', sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--white);
}

/* ヘッダー */
header, .header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
  white-space: nowrap;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.logo span {
  color: var(--accent-color);
  font-weight: 300;
  display: inline;
  margin-left: 0.2em;
}

/* ナビゲーション */
nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav li {
  list-style: none;
  position: relative;
  z-index: 10;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.8rem;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
  display: inline-block;
  z-index: 10;
}

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

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

nav a.active {
  color: var(--accent-color);
  font-weight: 600;
}

nav a.active::after {
  transform: scaleX(1);
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  margin: 3px 0;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

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

/* ヒーローセクション（.hero, .page-heroクラス統合） */

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(30, 58, 138, 0.3) 0%, rgba(6, 214, 160, 0.2) 100%);
}



.cta-button, .btn {
  display: inline-block;
  background: var(--accent-color);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(6, 214, 160, 0.3);
  cursor: pointer;
  border: none;
}

.cta-button:hover, .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(6, 214, 160, 0.4);
  background: #05c195;
}

.btn-primary {
  background: var(--primary-color);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
  background: #152a5e;
  box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
}

.btn-secondary {
  background: var(--secondary-color);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary:hover {
  background: #2563eb;
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

/* セクション共通スタイル */
.section {
  padding: 5rem 0;
  position: relative;
}

.section:nth-child(even) {
  background-color: var(--background-light);
}

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

.section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}

.section p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

/* ニュースセクション */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.news-item {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid var(--accent-color);
}

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

.news-item h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.news-item p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* 統計セクション */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  background: var(--white);
  padding: 2.5rem 1.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.stat-description {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ページ固有のヒーローセクション（page-heroクラスを.heroに統合） */
.hero, .page-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  position: relative;
}

/* メインページのヒーローは高さを大きく */
.hero {
  min-height: 90vh;
  background: linear-gradient(rgba(30, 58, 138, 0.8), rgba(59, 130, 246, 0.8)),
              url('images/hero-lastmile-main.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before, .page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 58, 138, 0.7);
}

/* メインページのオーバーレイは特殊 */
.hero::before {
  background: linear-gradient(45deg, rgba(30, 58, 138, 0.3) 0%, rgba(6, 214, 160, 0.2) 100%);
}

.hero-content, .page-hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.hero h1, .page-hero h1 {
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* メインページのタイトルは特に大きく */
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

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

.hero .subtitle, .page-hero .subtitle {
  font-weight: 300;
  opacity: 0.9;
}

.hero .subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

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

/* コンテンツセクション */
.content-section {
  padding: 4rem 0;
}

.content-section h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 2.5rem 0 1.5rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5rem;
}

.content-section ul {
  list-style: none;
  padding-left: 0;
}

.content-section li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
}

.content-section li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* フッター */
.footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a2f6a 100%);
  color: var(--white);
  padding: 4rem 0 0;
  margin-top: 5rem;
}

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

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

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-section p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  opacity: 0.9;
}

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

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

.footer-section ul li a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent-color);
  opacity: 1;
  padding-left: 5px;
}

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

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
  background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
  margin: 0;
}

/* hero-section専用スタイル（page-7など）、.heroクラスにも適用 */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero .hero-content,
.hero-section .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  max-width: 1000px;
}

.hero-title,
.hero-section .hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle,
.hero-section .hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-stats,
.hero-section .hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero .stat,
.hero-section .stat {
  text-align: center;
}

.hero .stat-number,
.hero-section .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.hero .stat-label,
.hero-section .stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

.hero-image {
  display: none;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 2カラムレイアウト */
.two-column-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

.column {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

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

.column h4 {
  color: var(--secondary-color);
  margin: 1.5rem 0 1rem;
  font-size: 1.2rem;
}

.column ul {
  list-style: none;
  padding: 0;
}

.column li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.column li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* 技術スタック */
.tech-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.tech-item {
  background: var(--background-light);
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--accent-color);
}

/* コンテナとグローバルマーケット */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.global-market-overview {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-top: 2rem;
}

.market-size-chart h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.region-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.region-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.region-name {
  min-width: 120px;
  font-weight: 600;
  color: var(--text-dark);
}

.region-bar {
  flex: 1;
  height: 30px;
  background: var(--background-light);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  border-radius: 15px;
  transition: width 0.5s ease;
}

.bar-value {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

/* page-3-ai-optimization専用スタイル */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(59, 130, 246, 0.8) 100%);
  z-index: 1;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
}

.hero-stats .stat {
  text-align: center;
}

.hero-stats .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.hero-stats .stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
}

/* 最適化機能 */
.optimization-features {
  display: grid;
  gap: 2rem;
}

.feature-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.feature-item h3 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.performance-metrics {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.metric {
  display: inline-block;
  background: var(--accent-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* 自律システム */
.autonomous-systems {
  display: grid;
  gap: 2rem;
}

.system-category {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 10px;
}

.tech-details {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

.tech-spec {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
}

.spec-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.emergency-features {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.emergency-item {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
}

/* 予測システム */
.prediction-systems {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.prediction-type {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.accuracy-metric {
  text-align: center;
  margin: 1.5rem 0;
}

.metric-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary-color);
  display: block;
}

.metric-label {
  font-size: 1rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

.prediction-factors ul {
  list-style: none;
  padding: 0;
}

.prediction-factors li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.prediction-factors li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.maintenance-benefits {
  display: grid;
  gap: 1rem;
}

.benefit-item {
  background: var(--background-light);
  padding: 1.5rem;
  border-radius: 8px;
}

/* 天候AI */
.weather-ai {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
}

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

.factor-item {
  background: var(--background-light);
  padding: 1.5rem;
  border-radius: 8px;
}

.factor-item h4 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.performance-stats {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat-card {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.stat-card .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.stat-description {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* 顧客分析 */
.customer-analysis {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
}

.learning-aspects {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.aspect-item {
  background: var(--background-light);
  padding: 1.5rem;
  border-radius: 8px;
}

.optimization-results {
  margin-top: 2rem;
}

.result-metrics {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.metric-box {
  flex: 1;
  min-width: 200px;
  background: var(--background-light);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.before-after {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.before {
  font-size: 1.5rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.arrow {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.after {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.improvement-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
}

/* コスト最適化 */
.cost-optimization {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
}

.cost-breakdown {
  margin-top: 1rem;
}

.cost-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.cost-category {
  min-width: 120px;
  font-weight: 600;
}

.cost-bar {
  flex: 1;
  height: 30px;
  background: var(--background-light);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.cost-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  border-radius: 15px;
  transition: width 0.5s ease;
}

.cost-percentage {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  font-size: 0.9rem;
}

.optimization-impact {
  margin-top: 2rem;
}

.impact-summary {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
}

.impact-stat {
  margin-bottom: 1rem;
}

.stat-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary-color);
  display: block;
}

.stat-desc {
  font-size: 1rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-color);
    padding: 1rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  nav.active {
    display: block;
  }
  
  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0 2rem;
  }
  
  nav a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .logo h1 {
    font-size: 1.4rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .subtitle {
    font-size: 1.1rem;
  }
  
  .page-hero h1 {
    font-size: 2.2rem;
  }
  
  .section h2 {
    font-size: 2rem;
  }
  
  .section-content {
    padding: 0 1rem;
  }
  
  .stats-grid,
  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 1rem;
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1rem;
  }
  
  .hero-content,
  .page-hero-content {
    padding: 0 1rem;
  }
  
  .cta-button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .news-item,
  .stat-item {
    padding: 1.5rem;
  }
}

/* スクロールアニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ロード状態の改善 */
img {
  max-width: 100%;
  height: auto;
  transition: opacity 0.3s ease;
}

img[loading="lazy"] {
  opacity: 0;
}

img[loading="lazy"].loaded {
  opacity: 1;
}