@charset "utf-8";

/* ==========================================================================
   ニュース詳細コンテンツ用スタイル（topics-news-base.css）
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. レイアウト
   -------------------------------------------------------------------------- */
.news-detail-section {
  padding: 40px 0 100px;
  background-color: #fcfbf9; /* 一覧・リクルートと統一されたごく薄い生成り色 */
  color: #333333;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.news-detail-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --------------------------------------------------------------------------
   2. 詳細ヘッダー
   -------------------------------------------------------------------------- */
.news-detail-header {
  border-bottom: 2px solid #8b7355; /* 西川グループの上品なゴールドライン */
  padding-bottom: 24px;
  margin-bottom: 40px;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 16px;
}

/* カテゴリバッジ共通設定 */
.news-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  text-align: center;
  min-width: 130px;
  box-sizing: border-box;
}

/* バッジ個別カラー定義 */
.badge-hq {
  background-color: #1b2d4a; /* 西川グループ本社：ネイビー */
  color: #ffffff;
}

.badge-group {
  background-color: #8b7355; /* 西川グループ：ロイヤルブロンズ */
  color: #ffffff;
}

.badge-recruit {
  background-color: #4a7a5d; /* 採用情報：ディープグリーン */
  color: #ffffff;
}

.news-date {
  font-family: "Georgia", serif;
  font-size: 1rem;
  color: #777777;
  letter-spacing: 0.05em;
  margin-left: auto; /* 右寄せ */
}

/* 記事タイトル */
.news-detail-title {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.4;
  color: #1b2d4a;
  margin: 0;
}

/* --------------------------------------------------------------------------
   3. 記事本文エリア
   -------------------------------------------------------------------------- */
.news-detail-body {
  font-size: 1.05rem;
  line-height: 1.8;
  letter-spacing: 0.03em;
  margin-bottom: 50px;
  background-color: #ffffff;
  padding: 40px;
  border: 1px solid #eae5dd;
}

.news-detail-body p {
  margin-bottom: 24px;
}

.news-detail-body p:last-child {
  margin-bottom: 0;
}

/* 記事本文内の見出し（H2・H3）自動装飾 */
.news-detail-body h2,
.news-detail-body h3 {
  font-size: 1.3rem;
  color: #1b2d4a;
  border-left: 4px solid #8b7355;
  padding-left: 12px;
  margin: 36px 0 20px;
  font-weight: bold;
}

/* 重要強調 */
.news-detail-body strong {
  color: #a93c3c;
  font-weight: bold;
}

/* リスト自動装飾（ゴールドドット） */
.news-detail-body ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}

.news-detail-body ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.news-detail-body ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 5px;
  height: 5px;
  background-color: #8b7355;
  border-radius: 50%;
}

/* 本文内リンク */
.news-detail-body a {
  color: #1b2d4a;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.news-detail-body a:hover {
  color: #8b7355;
}

/* 署名部分 */
.news-detail-signature {
  text-align: right;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px dashed #dcd6cd;
  color: #555555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   4. 戻るボタン
   -------------------------------------------------------------------------- */
.news-detail-back {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.btn-back-to-list {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 240px;
  height: 50px;
  background-color: #333333;
  color: #ffffff;
  border: 1px solid #333333;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-back-to-list:hover {
  background-color: #8b7355;
  border-color: #8b7355;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   5. レスポンシブ
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  .news-detail-section {
    padding: 30px 0 60px;
  }

  .news-detail-header {
    margin-bottom: 25px;
    padding-bottom: 16px;
  }

  .news-detail-meta {
    margin-bottom: 10px;
  }

  .news-date {
    width: 100%;
    margin-left: 0;
    margin-top: 6px;
  }

  .news-detail-title {
    font-size: 1.3rem;
  }

  .news-detail-body {
    padding: 20px 15px;
    font-size: 0.95rem;
    line-height: 1.7;
  }

  /* 記事本文内の見出し（H2・H3） */
  .news-detail-body h2,
  .news-detail-body h3 {
    font-size: 1.15rem;
    margin: 28px 0 16px;
  }
}