@charset "utf-8";
/* ==========================================================================
   news.css — ニュース記事ページ専用スタイル
   common.cssのクラスを上書きしない独自命名（p-news-* / p-breadcrumb-*）
   ========================================================================== */


/* ------------------------------------------------------------------
   1. ページラッパー
   ------------------------------------------------------------------ */
.p-news-wrap {
  padding-top: 60px;
  padding-bottom: 100px;
}

@media (max-width: 767px) {
  .p-news-wrap {
    padding-top: 36px;
    padding-bottom: 64px;
  }
}


/* ------------------------------------------------------------------
   2. 幅制御コンテナ（common.css の l-container とは別管理）
   ------------------------------------------------------------------ */
.p-news-container {
  max-width: 780px;
  margin-inline: auto;
  padding-inline: 40px;
  width: 100%;
}

@media (max-width: 767px) {
  .p-news-container {
    padding-inline: 20px;
  }
}


/* ------------------------------------------------------------------
   3. パンくずリスト
   ------------------------------------------------------------------ */
.p-breadcrumb {
  margin-bottom: 40px;
}

.p-breadcrumb__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.p-breadcrumb__item {
  font-size: 12px;
  color: #999;
  letter-spacing: 0.04em;
}

.p-breadcrumb__item a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}

.p-breadcrumb__item a:hover {
  color: #333;
  text-decoration: underline;
}

.p-breadcrumb__item--current {
  color: #555;
}

@media (max-width: 767px) {
  .p-breadcrumb {
    margin-bottom: 28px;
  }
  .p-breadcrumb__item {
    font-size: 11px;
  }
}


/* ------------------------------------------------------------------
   4. 記事ヘッダー
   ------------------------------------------------------------------ */
.p-news-article__header {
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 28px;
  margin-bottom: 40px;
}

/* 日付 + タグ行 */
.p-news-article__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.p-news-article__date {
  font-size: 13px;
  color: #999;
  letter-spacing: 0.06em;
}

.p-news-article__tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #666;
  border: 1px solid #ccc;
  padding: 3px 10px;
  line-height: 1;
}

/* 記事タイトル */
.p-news-article__title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: #222;
  margin: 0;
}

/* 【重要】バッジ */
.p-news-article__important {
  color: #c0392b;
  font-weight: 600;
  margin-right: 2px;
}

@media (max-width: 767px) {
  .p-news-article__header {
    padding-bottom: 20px;
    margin-bottom: 28px;
  }
  .p-news-article__title {
    font-size: 18px;
  }
}


/* ------------------------------------------------------------------
   5. 記事本文
   ------------------------------------------------------------------ */
.p-news-article__body {
  font-size: 14px;
  line-height: 2;
  color: #444;
  letter-spacing: 0.04em;
}

.p-news-article__body p {
  margin: 0 0 1.4em;
}

.p-news-article__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .p-news-article__body {
    font-size: 13px;
    line-height: 1.9;
  }
}


/* ------------------------------------------------------------------
   6. 記事フッター（戻るリンク）
   ------------------------------------------------------------------ */
.p-news-article__footer {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid #e8e8e8;
}

.p-news-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #555;
  text-decoration: none;
  transition: opacity 0.2s;
}

.p-news-back-link:hover {
  opacity: 0.6;
}

@media (max-width: 767px) {
  .p-news-article__footer {
    margin-top: 40px;
  }
}
