/* ============================================
   事業一覧ページ用CSS
   Lightning子テーマ - 株式会社無垢
   ============================================ */

.page-template-page-services {
  font-family: 'Noto Sans JP', sans-serif;
}

/* Hero Section */
.page-template-page-services .hero {
  padding: 80px 0;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.page-template-page-services .hero h1 {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-template-page-services .hero p {
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  opacity: 0.95;
}

/* Services Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin: 60px 0;
}

.service-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}

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

.service-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-card-overlay {
  opacity: 1;
}

.service-card-overlay-title {
  color: white;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.service-card-link {
  color: white;
  font-size: 14px;
  padding: 8px 24px;
  border: 2px solid white;
  border-radius: 24px;
  transition: all 0.3s ease;
}

.service-card:hover .service-card-link {
  background: white;
  color: #337ab7;
}

.service-card-content {
  padding: 24px 30px 30px 30px;
}

.service-card-subtitle {
  color: #337ab7;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.service-card-description {
  color: #555;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* CTA Section */
.page-template-page-services .section {
  padding: 80px 0;
}

.page-template-page-services .text-center {
  text-align: center;
}

.page-template-page-services .section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #2c3e50;
}

.page-template-page-services .mb-large {
  font-size: 17px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .page-template-page-services .hero h1 {
    font-size: 32px;
  }

  .page-template-page-services .hero p {
    font-size: 16px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card-overlay {
    opacity: 1;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
  }
}
