/* =========================================
   サービス紹介BOX
   ========================================= */

   .service-box-section .service-box {
    background: #fff;
    border: 1px solid #ddd;
    border-top: 3px solid #006fc5;
    padding: 28px 32px 30px;
    box-sizing: border-box;
  }
  
  
  /* =========================================
     タイトル
     ========================================= */
  
  .service-box-section .service-box-title {
    position: relative;
    margin: 0 0 24px;
    padding: 0 0 12px;
    line-height: 1.5;
    border-bottom: 1px solid #ddd;
  }
  
  /* 下線の左1/3を会社カラー */
  .service-box-section .service-box-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 33.333%;
    height: 3px;
    background-color: #006fc5;
  }
  
  
  /* =========================================
     画像＋本文
     Bootstrapのrow/colを使わず独自Gridで制御
     ========================================= */
  
  .service-box-section .service-box-content {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    column-gap: 28px;
    align-items: start;
  }
  
  
  /* =========================================
     画像
     ========================================= */
  
  .service-box-section .service-box-image-col {
    width: 100%;
    min-width: 0;
  }
  
  .service-box-section .service-box-image {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  .service-box-section .service-box-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    object-fit: contain;
  }
  
  
  /* =========================================
     本文
     ========================================= */
  
  .service-box-section .service-box-text {
    width: 100%;
    min-width: 0;
  }
  
  .service-box-section .service-box p.has-small-font-size {
    line-height: 1.8;
  }
  
  
  /* =========================================
     ボタン
     ========================================= */
  
  .service-box-section .service-box-button {
    text-align: center;
    margin-top: 24px;
  }
  
  .service-box-section .service-box-button .btn {
    min-width: 240px;
  }
  
  
  /* =========================================
     スマートフォン
     ========================================= */
  
  @media (max-width: 767.98px) {
  
    .service-box-section .service-box {
      padding: 18px 16px 20px;
    }
  
    .service-box-section .service-box-title {
      margin-bottom: 18px;
      padding-bottom: 10px;
    }
  
    .service-box-section .service-box-title::after {
      width: 33.333%;
    }
  
    .service-box-section .service-box-content {
      grid-template-columns: 1fr;
      row-gap: 18px;
    }
  
    .service-box-section .service-box-image-col,
    .service-box-section .service-box-text {
      width: 100%;
    }
  
    .service-box-section .service-box-image {
      width: 100%;
    }
  
    .service-box-section .service-box-image img {
      width: 100%;
      max-width: 100%;
      height: auto;
    }
  
    .service-box-section .service-box-button {
      margin-top: 18px;
    }
  
    .service-box-section .service-box-button .btn {
      width: 100%;
      min-width: 0;
    }
  }

/* =========================================
   個別ページ
   ========================================= */

/* H2見出しスタイル */
.post_content h2.service-h2,
.post_content .service-h2,
h2.service-h2 {
    background: #006fc5 !important;
    color: #fff !important;
    padding: .75em 1em !important;
    font-size: 1.4em !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 4em 0 2em !important;
    position: relative !important;
    z-index: 1 !important;
    box-sizing: border-box !important;

    /* 上下の白いボーダー（二重線装飾） */
    border-top: 2px solid #fff !important;
    border-bottom: 2px solid #fff !important;
}


/* 2列横並びレイアウト用の親要素 */
.service-box-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* 各ボックスのスタイル */
.service-emboss_box {
    flex: 1;
    min-width: 280px;
    border-top: 2px solid #006fc5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    padding: 1.5em;
    background-color: #fff;
    box-sizing: border-box;
}

/* タイトルと下部の装飾線 */
.service-box-title {
    font-size: 1.1em;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

/* タイトル下線のアクセントライン（カラー部分） */
.service-box-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 30%;
    height: 2px;
    background-color: #006fc5;
}

/* 対応可能な制御盤の種類の下点線 */
.service-list-under-dashed>li, .service-border_bottom>li {
    border-bottom: 1px dashed #f8f9fa;
    margin-bottom: .75em;
    padding-bottom: .75em;
}

/* 流れ */
.service-swell-block-step__number {
    box-sizing: content-box;
    color: #fff;
    display: flex;
    flex-direction: column;
    height: 48px;
    justify-content: center;
    left: 0;
    line-height: 1;
    position: absolute;
    text-align: center;
    top: 0;
    width: 48px;
}

.service-u-bg-main {
    background-color: #006fc5!important;
    color: #fff!important;
}