
/* セクション全体 */
.strength-section {
  width: 100%;
}

.strength-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 上部コンテンツエリア */
.strength-top-content {
  padding-top: 80px;
  text-align: center;
  background-color: #ffffff;
}

/* 赤バッジ */
.strength-badge {
  display: inline-block;
  background-color: #c81326; /* ブランドカラーの赤 */
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  padding: 4px 12px;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

/* 大見出し */
.strength-title {
  font-size: 36px;
  font-weight: bold;
  line-height: 1.4;
  margin: 0 0 24px 0;
  letter-spacing: 0.02em;
}

.strength-title .red-text {
  color: #c81326;
  display: block;
  margin-top: 4px;
}

/* リード文 */
.strength-description {
  font-size: 18px;
  line-height: 1.85;
  text-align: left;
  margin: 0 0 40px 0;
}

/* 下部エリア（画像重ね込み用コンテナ） */
.strength-bottom-wrapper {
  position: relative;
  padding-bottom: 80px;
}

/* 背景画像＆赤透過フィルター */
.strength-bg-image {
  position: absolute;
  top: 180px; /* 画像の中央付近から下を背景画像エリアにする */
  left: 0;
  width: 100%;
  height: calc(100% - 180px);
  background-image: linear-gradient(rgba(200, 19, 38, 0.85), rgba(200, 19, 38, 0.85)), url("/common/img/business/i_01.png"); /* 背景工場の写真 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* 中央メイン画像エリア */
.strength-image-area {
  position: relative;
  z-index: 2; /* 背景画像の上に配置 */
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.strength-image-area picture img {
  width: 100%;
  height: auto;
  display: block;
}

/* スマホ対応 (768px以下) */
@media (max-width: 768px) {
  .strength-top-content {
    padding-top: 50px;
  }

  .strength-title {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .strength-description {
    font-size: 13px;
    margin-bottom: 30px;
  }

  .strength-bottom-wrapper {
    padding-bottom: 50px;
  }

  .strength-bg-image {
    top: 120px;
    height: calc(100% - 120px);
  }
}



/* セクション全体 */
.services-section {
  padding: 80px 20px;
  background-color: #f4f4f4;
}

.services-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* 各サービスブロック（白背景の大きな囲み） */
.service-block {
  background-color: #ffffff;
  padding: 30px 35px 35px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* 上部線の指定 */
.service-block.border-red {
  border-top: 4px solid #c81326;
  border-radius: 4px;
  overflow: hidden;
}

.service-block.border-dark {
  border-top: 4px solid #333333;
  border-radius: 4px;
  overflow: hidden;
}

/* ブロックヘッダー (見出し + バッジ) */
.service-block-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.service-sub-title {
  display: block;
  font-size: 12px;
  font-weight: bold;
  color: #c81326;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.service-main-title {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

/* 右上バッジ */
.service-badge {
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  padding: 8px 14px;
}

.service-badge.badge-red {
  background-color: #c81326;
}

.service-badge.badge-dark {
  background-color: #333333;
}

/* 2カラムカードグリッド */
.service-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* 内側カード設定 */
.service-card {
  background-color: #fcfcfc;
  border: 1px solid #ededed;
  display: flex;
  flex-direction: column;
}

.service-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category {
  font-size: 12px;
  font-weight: bold;
  color: #c81326;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: block;
}

.card-title {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 14px 0;
}

.card-desc {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 20px 0;
  flex-grow: 1; /* ボタン位置を最下部に揃える */
}

/* スマホ対応 (768px以下) */
@media (max-width: 768px) {
  .services-section {
    padding: 40px 30px;
  }

  .service-block {
    padding: 20px 15px 25px;
  }

  .service-block-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .service-main-title {
    font-size: 19px;
  }

  .service-card-grid {
    grid-template-columns: 1fr; /* 1列に変更 */
  }

  .service-card-img {
    height: 200px;
  }
}