/*  ====================================================
  Service Page Styles - AI x Data Driven Theme
===================================================== */

/* Hero Section */
.service-hero {
  margin: 80px 0 0;
  padding: 100px 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  position: relative;
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(../images/common/mv_bg.jpg) no-repeat center center;
  background-size: cover;
  opacity: 0.1;
}

.service-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.service-hero-label {
  display: inline-block;
  padding: 8px 24px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(90deg, #BE0161 0%, #ff4081 100%);
  border-radius: 30px;
  letter-spacing: 0.1em;
}

.service-hero-ttl {
  margin-bottom: 25px;
  font-size: 42px;
  font-weight: bold;
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.service-hero-lead {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
}


/* Service Overview Section */
.service-overview {
  padding: 80px 0;
  background: #f8f9fa;
}

.section-lead-dark {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-bottom: 50px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.service-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  padding: 30px 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.service-card-blue::before { background: linear-gradient(90deg, #2196F3 0%, #1976D2 100%); }
.service-card-pink::before { background: linear-gradient(90deg, #BE0161 0%, #ff4081 100%); }
.service-card-purple::before { background: linear-gradient(90deg, #9c27b0 0%, #7b1fa2 100%); }
.service-card-green::before { background: linear-gradient(90deg, #4CAF50 0%, #388E3C 100%); }
.service-card-orange::before { background: linear-gradient(90deg, #FF9800 0%, #F57C00 100%); }
.service-card-teal::before { background: linear-gradient(90deg, #00BCD4 0%, #0097A7 100%); }

.service-card-number {
  font-size: 14px;
  font-weight: bold;
  color: #999;
  margin-bottom: 10px;
}

.service-card-ttl {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
  line-height: 1.4;
}

.service-card-sub {
  font-size: 12px;
  color: #999;
  letter-spacing: 0.1em;
  margin-bottom: 15px;
}

.service-card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 15px;
}

.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-card-tags li {
  padding: 4px 10px;
  font-size: 11px;
  color: #0f3460;
  background: #e8f4fd;
  border-radius: 15px;
}


/* Service Detail Sections */
.service-detail {
  padding: 80px 0;
}

.service-detail:nth-child(odd) {
  background: #fff;
}

.service-detail:nth-child(even) {
  background: #f8f9fa;
}

.service-detail-header {
  text-align: center;
  margin-bottom: 40px;
}

.service-detail-num {
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.service-detail-blue .service-detail-num { background: linear-gradient(90deg, #2196F3 0%, #1976D2 100%); }
.service-detail-pink .service-detail-num { background: linear-gradient(90deg, #BE0161 0%, #ff4081 100%); }
.service-detail-purple .service-detail-num { background: linear-gradient(90deg, #9c27b0 0%, #7b1fa2 100%); }
.service-detail-green .service-detail-num { background: linear-gradient(90deg, #4CAF50 0%, #388E3C 100%); }
.service-detail-orange .service-detail-num { background: linear-gradient(90deg, #FF9800 0%, #F57C00 100%); }
.service-detail-teal .service-detail-num { background: linear-gradient(90deg, #00BCD4 0%, #0097A7 100%); }

.service-detail-ttl {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.service-detail-sub {
  font-size: 14px;
  color: #999;
  letter-spacing: 0.15em;
}

.service-detail-intro {
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  max-width: 900px;
  margin: 0 auto 50px;
}


/* Service Menu Grid */
.service-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

.service-menu-item {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-detail:nth-child(odd) .service-menu-item {
  background: #f8f9fa;
}

.service-menu-ttl {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e0e0e0;
}

.service-menu-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 15px;
}

.service-menu-case {
  background: rgba(190, 1, 97, 0.05);
  border-left: 3px solid #BE0161;
  padding: 15px;
  border-radius: 0 8px 8px 0;
}

.case-label {
  display: inline-block;
  font-size: 11px;
  font-weight: bold;
  color: #BE0161;
  margin-bottom: 5px;
}

.service-menu-case p {
  font-size: 13px;
  line-height: 1.6;
  color: #555;
}


/* Service KPI */
.service-kpi {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}

.service-kpi-ttl {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 30px;
}

.service-kpi-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.service-kpi-item {
  text-align: center;
}

.kpi-value {
  display: block;
  font-size: 48px;
  font-weight: bold;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}

.kpi-label {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}


/* Industry Section */
.industry-section {
  padding: 80px 0;
  background: #fff;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.industry-item {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 30px;
}

.industry-ttl {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #BE0161;
}

.industry-list li {
  font-size: 14px;
  color: #666;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.industry-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #BE0161;
  border-radius: 50%;
}


/* Why Section */
.why-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.why-item {
  background: #fff;
  border-radius: 10px;
  padding: 30px 25px;
  text-align: center;
}

.why-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, #BE0161 0%, #ff4081 100%);
  border-radius: 50%;
}

.why-ttl {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.4;
}

.why-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #666;
}


/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #BE0161 0%, #ff4081 100%);
  text-align: center;
}

.cta-ttl {
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 15px;
}

.cta-lead {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-btn {
  display: inline-block;
  padding: 18px 40px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-btn-primary {
  background: #fff;
  color: #BE0161;
}

.cta-btn-primary:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.cta-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}


/* Responsive Styles */
@media screen and (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-kpi-grid {
    gap: 40px;
  }
  
  .kpi-value {
    font-size: 40px;
  }
}

@media screen and (max-width: 834px) {
  .service-hero {
    padding: 60px 20px;
  }
  
  .service-hero-ttl {
    font-size: 32px;
  }
  
  .service-hero-lead {
    font-size: 15px;
  }
  
  .service-overview,
  .service-detail,
  .industry-section,
  .why-section,
  .cta-section {
    padding: 60px 0;
  }
  
  .service-menu-grid {
    grid-template-columns: 1fr;
  }
  
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-detail-ttl {
    font-size: 26px;
  }
  
  .cta-ttl {
    font-size: 26px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 300px;
  }
}

@media screen and (max-width: 767px) {
  .service-hero {
    margin-top: 60px;
    padding: 50px 15px;
  }
  
  .service-hero-ttl {
    font-size: 26px;
  }
  
  .service-hero-lead {
    font-size: 14px;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .service-card {
    padding: 25px 20px;
  }
  
  .service-card-ttl {
    font-size: 18px;
  }
  
  .service-detail-ttl {
    font-size: 22px;
  }
  
  .service-detail-intro {
    font-size: 14px;
  }
  
  .service-menu-item {
    padding: 20px;
  }
  
  .service-menu-ttl {
    font-size: 16px;
  }
  
  .service-kpi {
    padding: 30px 20px;
  }
  
  .service-kpi-grid {
    flex-direction: column;
    gap: 25px;
  }
  
  .kpi-value {
    font-size: 36px;
  }
  
  .industry-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .cta-ttl {
    font-size: 22px;
  }
  
  .cta-lead {
    font-size: 14px;
  }
}
