/* 運輸安全マネジメント用スタイル */

/* SP専用改行 */
.sp-only {
  display: none;
}

/* イントロ文 */
.safety-intro {
  margin-bottom: 40px;
}

.safety-intro p {
  margin: 0;
  line-height: 1.8;
}

/* 番号スタイル */
.safety-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #0662b9;
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  margin-right: 12px;
  flex-shrink: 0;
}

/* サブタイトル（h3） */
.safety-subtitle-sub {
  font-size: 18px;
  font-weight: 700;
  color: #0662b9;
  margin: 24px 0 16px;
  padding-left: 0;
}

/* 期間表示 */
.safety-period {
  font-size: 15px;
  color: #0662b9;
  font-weight: 600;
  margin-bottom: 16px;
}

/* 日付表示 */
.safety-date {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
  text-align: right;
}

/* 目標ボックス */
.safety-goal-box {
  background: linear-gradient(135deg, #0662b9 0%, #0a4a8a 100%);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
}

.safety-goal-text {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 10px 0;
  letter-spacing: 2px;
}

/* 統計テーブル */
.safety-stats-box {
  overflow-x: auto;
}

.safety-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.safety-table th,
.safety-table td {
  padding: 16px 20px;
  text-align: center;
  border: 1px solid #e0e0e0;
}

.safety-table th {
  background: #0662b9;
  color: #fff;
  font-weight: 600;
}

.safety-table tbody tr:nth-child(even) {
  background: #f8f9fa;
}

.safety-table tbody tr:hover {
  background: #e8f4fd;
}

/* 縦長テーブル（事故統計用） */
.safety-table-vertical th {
  background: #f8f9fa;
  color: #333;
  font-weight: 500;
  text-align: left;
  width: 80%;
  line-height: 1.6;
}

.safety-table-vertical td {
  background: #fff;
  font-weight: 700;
  color: #0662b9;
  white-space: nowrap;
  width: 20%;
}

.safety-table-vertical tbody tr:nth-child(even) th {
  background: #f0f4f8;
}

.safety-table-vertical tbody tr:nth-child(even) td {
  background: #fff;
}

/* 組織体制ボックス */
.safety-org-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 12px;
}

.safety-org-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  padding: 20px 40px;
  border-radius: 8px;
  border: 2px solid #0662b9;
  min-width: 250px;
}

.safety-org-role {
  font-size: 13px;
  color: #0662b9;
  font-weight: 600;
  margin-bottom: 4px;
}

.safety-org-name {
  font-size: 18px;
  font-weight: 700;
  color: #202025;
}

.safety-org-arrow {
  font-size: 24px;
  color: #0662b9;
  margin: 10px 0;
}

/* 安全統括管理者 */
.safety-manager-box {
  margin: 0;
}

.safety-manager-label {
  font-size: 16px;
  color: #333;
  margin-bottom: 4px;
}

.safety-manager-name {
  font-size: 16px;
  color: #333;
  margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }

  .safety-intro {
    margin-bottom: 30px;
    padding: 0;
  }

  .safety-num {
    width: 28px;
    height: 28px;
    font-size: 14px;
    margin-right: 10px;
  }

  .safety-subtitle-sub {
    font-size: 16px;
    margin: 20px 0 12px;
  }

  .safety-goal-box {
    padding: 20px;
  }

  .safety-goal-text {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .safety-table th,
  .safety-table td {
    padding: 12px 10px;
    font-size: 14px;
  }

  .safety-table-vertical th {
    font-size: 13px;
    padding: 12px;
  }

  .safety-table-vertical td {
    font-size: 14px;
    padding: 12px 8px;
  }

  .safety-org-box {
    padding: 20px;
  }

  .safety-org-item {
    padding: 15px 25px;
    min-width: 200px;
  }

  .safety-org-role {
    font-size: 12px;
  }

  .safety-org-name {
    font-size: 16px;
  }

}
