@charset "UTF-8";
/* ==========================================================================
   事業内容ページ固有
   .fjt-service-item - 番号＋説明＋写真の業務一覧行
   .fjt-client-list  - お取引先業種のグリッド
   .fjt-other-list   - その他の事業ボックス
   ========================================================================== */

/* 業務一覧 */
.fjt-service-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #1a1a1a;
}
.fjt-service-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px clamp(32px, 4vw, 56px);
  padding: clamp(28px, 3vw, 40px) 0;
  border-bottom: 1px solid #e4e0dd;
}
.fjt-service-item__num {
  flex: 0 0 72px;
  font-family: "Crushed", sans-serif;
  font-size: 48px;
  line-height: 1;
  color: #AD051C;
}
.fjt-service-item__body {
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fjt-service-item__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
}
.fjt-service-item__media {
  flex: 0 1 300px;
  min-width: 240px;
}

/* お取引先の業種 */
.fjt-client-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid #1a1a1a;
  border-left: 1px solid #e4e0dd;
}
.fjt-client-list__item {
  padding: 30px 20px;
  border-right: 1px solid #e4e0dd;
  border-bottom: 1px solid #e4e0dd;
  background: #fff;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* その他の事業 */
.grid-2.fjt-other-list {
  gap: 24px;
}
.fjt-other-list__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  border: 1px solid #e4e0dd;
}
.fjt-other-list__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* SP：最長の業務名「大型車両が幹線道路へ出る際の誘導」（15字）を1行に収める */
@media (max-width: 767px) {
  .fjt-service-item__title {
    font-size: clamp(15px, 4.9vw, 20px);
    letter-spacing: 0.02em;
  }
  .fjt-other-list__item {
    padding: 28px 24px;
  }
}

/* SP・タブレット：写真が本文の下に回り込む幅では、写真を全幅で表示（左寄せにならないように） */
@media (max-width: 896px) {
  .fjt-service-item__media {
    flex: 1 1 100%;
    min-width: 0;
  }
}
