/* business.css - 事業内容ページ専用スタイル */

/* ==========================================================================
   サービス紹介セクション
   ========================================================================== */
.services-intro {
  padding: 60px 0;
  background: #FAFAFA;
}

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

.intro-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #212121;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
}

.intro-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #1976D2, #42A5F5);
  border-radius: 2px;
}

.intro-desc {
  font-size: 1.25rem;
  color: #616161;
  line-height: 2;
  margin-top: 40px;
}

/* ==========================================================================
   サービスセクション共通
   ========================================================================== */
.service-section {
  padding: 70px 0;
  position: relative;
}

.demolition-section {
  background: white;
}

.core-section {
  background: #F5F5F5;
}

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

.service-title {
  margin-bottom: 30px;
}

.service-title .title-en {
  display: block;
  font-size: 1.2rem;
  color: #1976D2;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 15px;
  font-family: 'Oswald', sans-serif;
}

.service-title .title-ja {
  display: block;
  font-size: 2rem;
  color: #212121;
  font-weight: 700;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
}

.service-title .title-ja::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 3px;
  background: #1976D2;
  border-radius: 2px;
}

.service-lead {
  font-size: 1.2rem;
  color: #616161;
  line-height: 2;
  max-width: 800px;
  margin: 0 auto;
}

/* ==========================================================================
   サービスタイプ（主な工事）
   ========================================================================== */
.service-types {
  max-width: 1200px;
  margin: 0 auto;
}

.types-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #212121;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}

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

/* ダイヤモンドコア貫通セクションは2列レイアウト */
.core-section .types-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin: 0 auto;
}

.type-item {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.core-section .type-item {
  background: white;
}

.type-item:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-8px);
}

.type-image {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.type-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.type-item:hover .type-image img {
  transform: scale(1.1);
}

.type-content {
  padding: 25px 20px;
}

.type-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #212121;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.type-content p {
  font-size: 0.95rem;
  color: #616161;
  line-height: 1.7;
  margin-bottom: 15px;
}

.type-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.type-features li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #424242;
  line-height: 1.5;
}

.type-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #1976D2;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ==========================================================================
   お問い合わせCTA
   ========================================================================== */
.contact-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #1976D2, #1565C0);
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: cta-glow 20s ease-in-out infinite;
}

@keyframes cta-glow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30%, -30%); }
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button.primary {
  background: white;
  color: #1976D2;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

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

.cta-button.secondary:hover {
  background: white;
  color: #1976D2;
}

.cta-button svg {
  transition: transform 0.3s ease;
}

.cta-button:hover svg {
  transform: translateX(5px);
}

/* ==========================================================================
   レスポンシブデザイン
   ========================================================================== */

/* タブレット（1200px以下） */
@media (max-width: 1200px) {
  .types-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .core-section .types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* タブレット（768px以下） */
@media (max-width: 768px) {
  .services-intro {
    padding: 50px 0;
  }
  
  .intro-title {
    font-size: 2rem;
  }
  
  .intro-desc {
    font-size: 1.125rem;
  }
  
  .service-section {
    padding: 60px 0;
  }
  
  .service-header {
    margin-bottom: 40px;
  }
  
  .service-title .title-en {
    font-size: 1rem;
  }
  
  .service-title .title-ja {
    font-size: 1.75rem;
  }
  
  .service-lead {
    font-size: 1.125rem;
  }
  
  .types-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .core-section .types-grid {
    grid-template-columns: 1fr;
  }
  
  .type-image {
    height: 180px;
  }
  
  .type-content {
    padding: 20px 15px;
  }
  
  .type-content h4 {
    font-size: 1.125rem;
  }
  
  .contact-cta {
    padding: 60px 0;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-actions {
    flex-direction: column;
    gap: 20px;
  }
  
  .cta-button {
    width: 100%;
    justify-content: center;
  }
}

/* モバイル（480px以下） */
@media (max-width: 480px) {
  .services-intro {
    padding: 40px 0;
  }
  
  .intro-header {
    margin-bottom: 40px;
  }
  
  .intro-title {
    font-size: 1.75rem;
  }
  
  .intro-desc {
    font-size: 1rem;
  }
  
  .service-section {
    padding: 50px 0;
  }
  
  .service-header {
    margin-bottom: 35px;
  }
  
  .service-title .title-en {
    font-size: 0.875rem;
    margin-bottom: 10px;
  }
  
  .service-title .title-ja {
    font-size: 1.75rem;
  }
  
  .service-lead {
    font-size: 1rem;
  }
  
  .types-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }
  
  .type-image {
    height: 150px;
  }
  
  .type-content {
    padding: 20px 15px;
  }
  
  .type-content h4 {
    font-size: 1.125rem;
  }
  
  .type-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  
  .type-features li {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  
  .contact-cta {
    padding: 50px 0;
  }
  
  .cta-title {
    font-size: 1.75rem;
  }
  
  .cta-subtitle {
    font-size: 1.125rem;
  }
  
  .cta-button {
    padding: 15px 30px;
    font-size: 1rem;
  }
}