/* ==========================================
  Modern Design Elements - Simple Version
========================================== */

:root {
  --gradient-primary: linear-gradient(135deg, #0f4c81 0%, #3a7bd5 100%);
  --gradient-accent: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
  --gradient-dark: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  
  --color-primary: #0f4c81;
  --color-accent: #e67e22;
  --color-dark: #2c3e50;
  --color-light: #ecf0f1;
  
  --transition-smooth: 0.3s ease;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* === グラスモーフィズム効果 === */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-dark {
  background: rgba(30, 60, 89, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* === モダンなヒーローセクション === */
.hero-modern {
  position: relative;
  height: 100vh;
  background-color: #000;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-modern__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}

.hero-modern__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-modern__title {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease forwards;
}

.hero-modern__subtitle {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.hero-modern__text {
  max-width: 600px;
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
}

.hero-modern__buttons {
  display: flex;
  gap: 1.5rem;
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

.btn-modern {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn-modern--primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(15, 76, 129, 0.4);
}

.btn-modern--secondary {
  background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
  border: none;
}

.btn-modern--outline {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-modern--secondary:hover {
  background: linear-gradient(135deg, #f39c12 0%, #f1c40f 100%);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

.scroll-indicator {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 1s ease 1s forwards;
  opacity: 0;
}

.scroll-indicator__text {
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.scroll-indicator__line {
  width: 1px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-indicator__line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  animation: scrollLine 2s infinite;
}

/* === セクションの変更 === */
.section-modern {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.section-modern__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.section-modern__header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-modern__title {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease forwards;
}

.section-modern__subtitle {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.section-modern--gray {
  background-color: #f8f9fa;
}

.section-modern--dark {
  background-color: #1a1a1a;
  color: #fff;
}

/* 背景グラフィック要素 */
.bg-element {
  position: absolute;
  z-index: 1;
}

.bg-element--circle {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.05;
  filter: blur(80px);
}

.bg-element--circle:nth-child(1) {
  top: -200px;
  left: -200px;
}

.bg-element--circle:nth-child(2) {
  bottom: -200px;
  right: -200px;
  background: var(--gradient-accent);
}

/* アニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes scrollLine {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

/* テキストスライダー */
.text-slider {
  padding: 5rem 0;
  overflow: hidden;
  position: relative;
  background-color: #f8f9fa;
}

.text-slider__track {
  display: flex;
  white-space: nowrap;
  animation: slideText 20s linear infinite;
}

.text-slider__item {
  font-size: 15vw;
  font-weight: 700;
  padding: 0 2vw;
  color: rgba(15, 76, 129, 0.07);
}

@keyframes slideText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ネオンエフェクト */
.neon-text {
  color: #fff;
  text-shadow: 0 0 5px #00ffcc, 0 0 10px #00ffcc, 0 0 20px rgba(0, 255, 204, 0.6);
}

/* === レスポンシブ対応 === */
@media (max-width: 991px) {
  .hero-modern__title {
    font-size: 3.5rem;
  }
  
  .section-modern__title {
    font-size: 3.5rem;
  }
}

@media (max-width: 767px) {
  .hero-modern__title {
    font-size: 2.8rem;
  }
  
  .section-modern__title {
    font-size: 3rem;
  }
  
  .hero-modern__buttons {
    flex-direction: column;
  }
  
  .btn-modern {
    width: 100%;
  }
}