/* ------------------------------------------
   全体リセット
------------------------------------------ */
html, body {
  margin: 0;
  padding: 0;
}

/* ------------------------------------------
   ヒーローヘッダー（背景画像）
------------------------------------------ */
.hero-header {
  position: relative;
  padding: 24px 40px 270px;
  background-image: url("../img/main.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #fff;

  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.hero-header img,
.hero-header .jn-text-block {
  position: relative;
  z-index: 1;
}

/* ------------------------------------------
   セクション共通レイアウト
------------------------------------------ */
.section-block .inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* セクションタイトル */
.section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #4CAEA5;
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
}

/* ------------------------------------------
   代表メッセージ
------------------------------------------ */
.message-text {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.message-text .align-right {
  text-align: right;
}

/* ------------------------------------------
   企業理念
------------------------------------------ */
.philosophy-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
}

.philosophy-list li {
  text-align: left;
  margin-bottom: 12px;
  line-height: 1.7;
}

/* ------------------------------------------
   会社概要（表）
------------------------------------------ */
.profile-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.profile-table th,
.profile-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #ddd;
}

/* ------------------------------------------
   沿革・主要取引先（リスト共通）
------------------------------------------ */
.history-list,
.client-list {
  max-width: 700px;
  margin: 0 auto;
  padding-left: 1.2em;
}

/* 行間調整 */
.history-list li,
.client-list li {
  margin-bottom: 4px;
}

/* ------------------------------------------
   車両一覧（カードレイアウト）
------------------------------------------ */
.fleet-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

/* 写真カード */
.fleet-list li {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding-bottom: 16px;
  font-size: 16px;
}

.fleet-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

/* 写真部分 */
.fleet-list .photo {
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.fleet-list .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 車両名 */
.fleet-list li div:last-child {
  padding: 12px 0 0;
  font-size: 16px;
  font-weight: 600;
}

/* 写真なしの車両リストを細くする */
.no-photo-list {
  max-width: 100px;   /* ← 横幅の調整ここ */
  margin: 0 auto;     /* ← 中央揃え */
}

/* 写真なし項目の見た目（必要なら） */
.no-photo-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  text-align: center; /* ← 中央揃え */
  font-size: 16px;
}

/* ------------------------------------------
   リスト・テーブルの中央位置調整
------------------------------------------ */
.section-block ul,
.section-block table {
  margin: 0 auto;
  text-align: left;
  display: block;
  max-width: 700px;
}
