/* =======================================
   XR大忠システム - 改善版スタイルシート
   モダンで魅力的なデザイン
   ======================================= */

:root {
  --primary-color: #0066cc;
  --secondary-color: #ff6b35;
  --accent-color: #4ecdc4;
  --dark-color: #2c3e50;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --gray: #6c757d;
  --success: #28a745;
}

/* =======================================
   ヒーローセクション
   ======================================= */
.hero-section {
  position: relative;
  min-height: 600px;
  margin-bottom: 60px;
}

.hero-slideshow {
  position: relative;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.85) 0%, rgba(78, 205, 196, 0.75) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 20px;
}

.hero-content {
  text-align: center;
  color: var(--white);
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.6rem;
  margin-bottom: 30px;
  line-height: 1.6;
  font-weight: 300;
  animation: fadeInUp 1s ease-out 0.2s;
  animation-fill-mode: both;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s;
  animation-fill-mode: both;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  padding: 16px 40px;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.cta-primary {
  background: var(--secondary-color);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.cta-primary:hover {
  background: #ff8559;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.cta-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cta-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.hero-campaign {
  font-size: 1.3rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  display: inline-block;
  padding: 10px 25px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  animation: fadeInUp 1s ease-out 0.6s;
  animation-fill-mode: both;
}

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

/* =======================================
   実績セクション
   ======================================= */
.stats-section {
  background: var(--light-bg);
  padding: 40px 20px;
  margin-bottom: 80px;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 5px;
  line-height: 1.2;
}

.stat-label {
  font-size: 1.3rem;
  color: var(--gray);
  font-weight: 500;
  line-height: 1.3;
  margin-top: 0;
}

/* =======================================
   セクション共通スタイル
   ======================================= */
section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 900;
  color: var(--dark-color);
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.section-title .highlight {
  color: var(--primary-color);
  position: relative;
}

/* =======================================
   3つの特徴セクション
   ======================================= */
.features-section {
  background: var(--white);
}

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

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
}

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

.feature-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  display: inline-block;
}

.feature-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.feature-description {
  font-size: 1.4rem;
  line-height: 1.7;
  color: var(--gray);
}

/* =======================================
   活用事例セクション
   ======================================= */
.use-cases-section {
  background: var(--light-bg);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.use-case-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.use-case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.use-case-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--light-bg);
}

.use-case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.use-case-card:hover .use-case-image img {
  transform: scale(1.1);
}

.use-case-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-color);
  padding: 20px 20px 10px;
  margin: 0;
}

.use-case-description {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--gray);
  padding: 0 20px 20px;
  margin: 0;
}

/* =======================================
   導入実績セクション
   ======================================= */
.clients-section {
  background: var(--white);
  text-align: center;
}

.clients-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.client-item {
  padding: 30px;
  background: var(--light-bg);
  border-radius: 15px;
  width: 100%;
  max-width: 400px;
}

.client-logo-placeholder {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.client-description {
  font-size: 1.3rem;
  color: var(--gray);
}

.client-message {
  font-size: 1.5rem;
  color: var(--dark-color);
  font-weight: 500;
  max-width: 600px;
  line-height: 1.7;
}

/* =======================================
   お客様の声セクション
   ======================================= */
.testimonials-section {
  background: var(--light-bg);
}

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

.testimonial-card {
  background: var(--white);
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  position: relative;
}

.testimonial-stars {
  font-size: 1.8rem;
  color: #ffc107;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 1.4rem;
  line-height: 1.7;
  color: var(--dark-color);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-size: 1.3rem;
  color: var(--gray);
  font-weight: 600;
  text-align: right;
}

/* =======================================
   デモ動画セクション
   ======================================= */
.demo-section {
  background: var(--white);
}

.demo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.demo-video {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.demo-video iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.demo-description h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 20px;
}

.demo-features {
  list-style: none;
  padding: 0;
  margin-top: 25px;
}

.demo-features li {
  font-size: 1.5rem;
  color: var(--dark-color);
  margin-bottom: 12px;
  padding-left: 10px;
}

/* =======================================
   料金セクション
   ======================================= */
.pricing-section {
  background: var(--light-bg);
}

.pricing-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

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

.pricing-featured {
  border: 3px solid var(--primary-color);
  transform: scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-color);
  color: var(--white);
  padding: 8px 25px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 700;
}

.pricing-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 20px;
}

.pricing-amount {
  margin-bottom: 30px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-color);
  display: block;
}

.pricing-period {
  font-size: 1.3rem;
  color: var(--gray);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: left;
}

.pricing-features li {
  font-size: 1.4rem;
  color: var(--dark-color);
  margin-bottom: 12px;
  padding-left: 10px;
}

.pricing-button {
  display: inline-block;
  width: 100%;
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.4rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.pricing-button:hover {
  background: #0052a3;
  transform: translateY(-2px);
}

.pricing-button-secondary {
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.pricing-button-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* =======================================
   FAQセクション
   ======================================= */
.faq-section {
  background: var(--white);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--light-bg);
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.faq-question {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.faq-answer {
  font-size: 1.4rem;
  line-height: 1.7;
  color: var(--gray);
  margin: 0;
}

/* =======================================
   最終CTAセクション
   ======================================= */
.final-cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  padding: 80px 20px;
  margin-top: 80px;
}

.final-cta-content {
  text-align: center;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
}

.final-cta-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 20px;
}

.final-cta-description {
  font-size: 1.6rem;
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
}

.final-cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-primary-large {
  background: var(--secondary-color);
  color: var(--white);
  padding: 20px 60px;
  font-size: 1.6rem;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-primary-large:hover {
  background: #ff8559;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
}

.final-cta-note {
  font-size: 1.3rem;
  color: var(--white);
  margin: 0;
  opacity: 0.9;
}

/* =======================================
   レスポンシブデザイン
   ======================================= */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .features-grid,
  .use-cases-grid,
  .testimonials-grid,
  .pricing-container {
    grid-template-columns: 1fr;
  }
  
  .demo-container {
    grid-template-columns: 1fr;
  }
  
  .demo-video iframe {
    height: 300px;
  }
  
  .stats-container {
    grid-template-columns: 1fr;
  }
  
  .final-cta-title {
    font-size: 2.2rem;
  }
  
  .final-cta-description {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  section {
    padding: 50px 15px;
  }
  
  .section-title {
    font-size: 1.9rem;
    margin-bottom: 40px;
  }
  
  .feature-card,
  .testimonial-card,
  .pricing-card {
    padding: 25px 20px;
  }
  
  .feature-title,
  .pricing-title {
    font-size: 1.7rem;
  }
  
  .pricing-price {
    font-size: 2.5rem;
  }
}
