/* ===================================
   NEWS DETAIL PAGE — news/<年>/<日付>/index.html 専用
   assets/css/page-news-detail.css
   読み込み順: base → layout → components → page-news-detail
=================================== */

/* ヘッダーは常にライトモード */
.detail-page .header.is-light {
  background: transparent;
  box-shadow: none;
}


/* ===================================
   パンくずリスト
=================================== */
.article__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #888888;
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 0 0;
}

.article__breadcrumb-link {
  color: #888888;
  transition: color var(--transition);
}

.article__breadcrumb-link:hover {
  color: #1c1818;
}

.article__breadcrumb-sep {
  color: #888888;
}

.article__breadcrumb-current {
  color: #1c1818;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 500px;
}


/* ===================================
   ARTICLE
=================================== */
.article {
  background: #ffffff;
  padding-top: var(--header-h);
}


/* --- 記事ヘッダー --- */
.article__header {
  padding: 60px 0 40px;
}

.article__header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.article__date {
  white-space: nowrap;
}

.article__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.article__date {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  color: #1c1818;
}

.article__tag {
  font-family: var(--font-en);
  /* 一覧カードのタグ（.news-card__tag = 12px）に寄せ、
     本文（15px）より大きくならないようにする */
  font-size: 14px;
  font-weight: 600;
  color: #1c1818;
  background: #f7f5f5;
  padding: 4px 14px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  /* line-height を明示しないと、日本語（さくら など）が別フォントに
     フォールバックした際に高さが変わり、タグの背丈が揃わなくなる */
  line-height: 1.3;
}

.article__title {
  font-family: var(--font-ja);
  font-size: 40px;
  font-weight: 700;
  color: #1c1818;
  line-height: 1.5;
  max-width: 1000px;
}


/* --- 記事本文 --- */
.article__body {
  padding: 0 0 80px;
}

.article__body-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 100px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.article__main-img {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.article__main-img img {
  width: 100%;
  height: auto;
  display: block;
}

.article__text {
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 400;
  color: #1c1818;
  line-height: 1.8;
}

/* 本文中の強調（CMSの「太字」） */
.article__text strong,
.article__rich strong {
  font-weight: 700;
}

/* 本文中の箇条書き（CMSの「リスト」） */
.article__list {
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 400;
  color: #1c1818;
  line-height: 1.8;
  list-style: disc;
  margin: 1em 0;
  padding-left: 1.4em;
}

.article__list li {
  margin-bottom: 4px;
}

.article__list li:last-child {
  margin-bottom: 0;
}

/* セクション見出し（記事内 h2） */
.article__section-title {
  font-family: var(--font-ja);
  font-size: 20px;
  font-weight: 700;
  color: #1c1818;
  line-height: 1.5;
  padding-bottom: 12px;
  border-bottom: 2px solid #1c1818;
  margin-top: 8px;
}

/* リンクテキスト行 */
.article__link-text {
  margin: 0;
}

/* 埋め込みブロック */
.article__embed {
  width: 100%;
  background: #f7f5f5;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.article__embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* リンク */
.article__link {
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 500;
  color: #1558d6;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition);
}

.article__link:hover {
  opacity: 0.7;
}


/* --- ニュース一覧へ戻るボタン --- */
.article__back {
  display: flex;
  justify-content: center;
  padding: 0 0 80px;
}

.article__back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 48px;
  background: #1c1818;
  color: #ffffff;
  border-radius: 30px;
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 500;
  transition: opacity var(--transition), transform var(--transition);
}

.article__back-btn:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}


/* ===================================
   TABLET RESPONSIVE（769px〜1024px）
=================================== */
@media (max-width: 1024px) {
  .article__breadcrumb {
    padding: 24px 48px 0;
    max-width: none;
    margin: 0;
  }

  .article__header-inner {
    max-width: none;
    margin: 0;
    padding: 0 48px;
  }

  .article__body-inner {
    max-width: none;
    margin: 0;
    padding: 0 48px;
  }
}


/* ===================================
   SP RESPONSIVE（768px以下）
=================================== */
@media (max-width: 768px) {

  /* パンくず */
  .article__breadcrumb {
    padding: 16px 28px 0;
    font-size: 12px;
  }

  .article__breadcrumb-current {
    max-width: 200px;
  }

  /* 記事ヘッダー */
  .article__header {
    padding: 32px 0 0;
  }

  .article__header-inner {
    padding: 0 28px;
    gap: 16px;
  }

  /* 日付 */
  .article__date {
    font-family: var(--font-en);
    font-size: 14px;
  }

  /* タグバッジ：丸型 */
  .article__tag {
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 9999px;
  }

  /* タイトル：28px */
  .article__title {
    font-size: 28px;
    line-height: 1.4;
  }

  /* 記事本文 */
  .article__body {
    padding: 24px 0 0;
  }

  .article__body-inner {
    padding: 0 28px;
    gap: 30px;
  }

  /* 画像：319×195px 比率 */
  .article__main-img {
    border-radius: 0;
    aspect-ratio: 319 / 195;
    overflow: hidden;
  }

  .article__main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* 本文：16px */
  .article__text {
    font-size: 16px;
    line-height: 1.5;
  }

  /* 箇条書きも本文に合わせる */
  .article__list {
    font-size: 16px;
    line-height: 1.5;
  }

  /* 戻るボタン：全幅 */
  .article__back {
    padding: 50px 28px 50px;
  }

  .article__back-btn {
    width: 100%;
    justify-content: center;
    font-size: 16px;
  }
}
