/* 事業内容ページ専用スタイル */

/* サービスカードのスタイル */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-1rem);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.7s ease;
}

.service-card:hover::before {
  left: 100%;
}

/* 事業番号のスタイル */
.service-number {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: absolute;
  top: -2rem;
  right: 1rem;
  user-select: none;
  pointer-events: none;
}

/* 特徴リストのスタイル */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  background: linear-gradient(135deg, #14b8a6 0%, #3b82f6 100%);
  border-radius: 50%;
  opacity: 0.8;
}

/* 商品カテゴリーのグリッド */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.category-item {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.category-item:hover {
  border-color: #14b8a6;
  box-shadow: 0 10px 25px rgba(20, 184, 166, 0.15);
  transform: translateY(-0.5rem);
}

.category-item-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.category-item-content {
  padding: 1rem;
  text-align: center;
}

.category-item-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.4;
}

/* セクション区切りのデコレーション */
.section-decoration {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #14b8a6 50%, transparent 100%);
  margin: 4rem auto;
  max-width: 30rem;
}

@media screen and (max-width: 600px) {
  .section-decoration {
    margin: 0;
  }
  
}

.section-decoration::before,
.section-decoration::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #14b8a6;
  border-radius: 50%;
}

.section-decoration::before {
  left: 0;
}

.section-decoration::after {
  right: 0;
}

/* インフォカード */
.info-card {
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  border-left: 4px solid #14b8a6;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* ストレングスカード */
.strength-card {
  background: white;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.strength-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-0.5rem);
}

.strength-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #14b8a6 0%, #3b82f6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* 背景デコレーション用の大きな文字 */
.bg-decorative-text {
  font-size: clamp(10rem, 25vw, 20rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  .service-detail{
  padding-top: 5rem;
  padding-bottom: 0;
  } 

  .service-card{
    padding: 1rem;
  }

  .service-container{
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
}