/* ============================================================
   サブページ共通 SP 補完
   ============================================================ */
@media (max-width: 767px) {
  .subpage-main {
    padding-top: 0;
  }
  /* lbr-cta */
  .lbr-cta {
    padding: 48px 6%;
  }
  .lbr-cta__ttl {
    font-size: 1.2rem;
  }
  .lbr-cta__txt {
    font-size: 0.85rem;
  }
}
/* ============================================================
   MEDIA LIST PAGE
   ============================================================ */
.media-list-page {
  padding: 0;
  background: #111;
}
/* ── フィルター & 検索バー ── */
.ml-controls {
  background: #111;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
}
.ml-controls__inner {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 32px;
  height: 64px;
}
/* カテゴリフィルター */
.ml-filters {
  display: flex;
  align-items: center;
  gap: 0 4px;
  flex-shrink: 0;
}
.ml-filter-btn {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  background: transparent;
  border: 1px solid transparent;
  padding: 6px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
  white-space: nowrap;
}
.ml-filter-btn:hover {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.15);
}
.ml-filter-btn.is-active {
  color: #fff;
  background: rgba(234,152,1,0.15);
  border-color: rgba(234,152,1,0.5);
  color: #ea9801;
}
/* 検索 */
.ml-search {
  position: relative;
  flex: 0 0 260px;
}
.ml-search__input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 8px 16px 8px 38px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.8rem;
  color: #fff;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  box-sizing: border-box;
}
.ml-search__input::placeholder { color: rgba(255,255,255,0.25); }
.ml-search__input:focus {
  border-color: rgba(234,152,1,0.5);
  background: rgba(255,255,255,0.07);
}
.ml-search__icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
  pointer-events: none;
}
/* ── グリッド本体 ── */
.ml-body {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  padding: 64px 0 120px;
}
.ml-count {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.25);
  margin-bottom: 32px;
  text-transform: uppercase;
}
.ml-count strong {
  color: rgba(255,255,255,0.55);
  font-size: 0.75rem;
}
/* グリッド — style.cssの.media-gridを上書き拡張 */
.ml-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* カード — style.cssの.media-cardを継承、display:noneを上書き */
.ml-grid .media-card {
  display: none;
  opacity: 1;
}
.ml-grid .media-card.is-visible {
  display: block;
}
.ml-grid .media-card.is-fadeIn {
  animation: cardFadeIn 0.4s ease forwards;
}
/* 件数0のempty state */
.ml-empty {
  display: none;
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
}
.ml-empty.is-show { display: block; }
.ml-empty i {
  font-size: 2.5rem;
  color: rgba(255,255,255,0.1);
  margin-bottom: 20px;
  display: block;
}
.ml-empty p {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
}

/* ── SP ── */
@media (max-width: 767px) {
.ml-controls__inner {
  flex-direction: column;
  height: auto;
  padding: 12px 0;
  gap: 10px 0;
}
  .ml-controls {
    position: static;
  }
.ml-filters {
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.ml-search {
  flex: none;
  width: 100%;
}
.ml-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}
.ml-grid .media-card {
  display: none;
  flex-direction: row;
}
  .ml-grid .media-card.is-visible {
    display: flex;
  }
.ml-grid .media-card .media-card__thumb {
  width: 110px;
  min-width: 110px;
  aspect-ratio: auto;
  height: auto;
}
  .ml-grid .media-card .media-card__body {
    padding: 12px 14px;
  }
  .ml-grid .media-card .media-card__title {
    font-size: 0.82rem;
  }
  .ml-body {
    padding: 32px 0 80px;
  }
}
/* ============================================================
   MEDIA DETAIL PAGE
   ============================================================ */
.media-detail-page {
  background: #111;
  padding: 0;
}
/* ── 記事コンテナ ── */
.md-wrap {
  max-width: 800px;
  width: 90%;
  margin: 0 auto;
  padding: 80px 0 120px;
}
/* カテゴリ + 日付ヘッダー */
.md-meta {
  display: flex;
  align-items: center;
  gap: 0 16px;
  margin-bottom: 28px;
}
.md-cat {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: #ea9801;
  color: #fff;
  padding: 5px 14px;
  border-radius: 2px;
}
.md-date {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.35);
}
/* タイトル */
.md-ttl {
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 900;
  line-height: 1.65;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
/* アイキャッチ画像 */
.md-eyecatch {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 48px;
  aspect-ratio: 16 / 9;
}
.md-eyecatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 本文 */
.md-body {
  font-size: 0.95rem;
  line-height: 2.1;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.5px;
}
.md-body p {
  margin-bottom: 24px;
}
.md-body p:last-child { margin-bottom: 0; }
/* リンクブロック */
.md-link-block {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid #ea9801;
  border-radius: 0 6px 6px 0;
  padding: 24px 28px;
  margin: 32px 0;
}
.md-link-block__label {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ea9801;
  margin-bottom: 12px;
}
.md-link-block a {
  display: flex;
  align-items: flex-start;
  gap: 0 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  word-break: break-all;
  transition: color 0.25s;
  text-decoration: none;
}
.md-link-block a:hover { color: #ea9801; }
.md-link-block a i {
  color: #ea9801;
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.75rem;
}
.md-link-block a + a {
  margin-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 12px;
}
/* ── シェアボタン ── */
.md-share {
  display: flex;
  align-items: center;
  gap: 0 12px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.md-share__label {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-right: 4px;
}
.md-share__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.45);
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.md-share__btn:hover {
  background: #ea9801;
  border-color: #ea9801;
  color: #fff;
}
/* ── 戻るリンク ── */
.md-back {
  display: inline-flex;
  align-items: center;
  gap: 0 10px;
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  margin-top: 24px;
  transition: color 0.25s;
}
.md-back i {
  font-size: 0.7rem;
  transition: transform 0.25s;
}
.md-back:hover { color: #ea9801; }
.md-back:hover i { transform: translateX(-4px); }
/* ── 関連記事 ── */
.md-related {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 80px 0 100px;
}
.md-related__inner {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}
.md-related__hd {
  display: flex;
  align-items: baseline;
  gap: 0 16px;
  margin-bottom: 40px;
}
.md-related__hd-en {
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: #fff;
}
.md-related__hd-ja {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 2px;
}
.md-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 関連記事カードはmedia-cardをそのまま流用、display:blockに上書き */
.md-related__grid .media-card {
  display: block;
}

/* ── SP ── */
@media (max-width: 767px) {
  .md-wrap { padding: 48px 0 80px; }
.md-ttl {
  font-size: 1.1rem;
  margin-bottom: 32px;
  padding-bottom: 24px;
}
  .md-eyecatch { margin-bottom: 32px; }
.md-body {
  font-size: 0.88rem;
  line-height: 2.0;
}
  .md-link-block { padding: 18px 18px; }
  .md-related { padding: 56px 0 72px; }
.md-related__grid {
  grid-template-columns: 1fr;
  gap: 14px;
}
.md-related__grid .media-card {
  display: flex;
  flex-direction: row;
}
.md-related__grid .media-card .media-card__thumb {
  width: 110px;
  min-width: 110px;
  aspect-ratio: auto;
  height: auto;
}
  .md-related__grid .media-card .media-card__body {
    padding: 12px 14px;
  }
}
/* ============================================================
   NEWS LIST PAGE
   ============================================================ */
.news-list-page {
  background: #111;
  padding: 0;
}
/* ── フィルターバー ── */
.nl-controls {
  background: #111;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nl-controls__inner {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 24px;
  height: 60px;
}
.nl-filters {
  display: flex;
  align-items: center;
  gap: 0 4px;
}
.nl-filter-btn {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  background: transparent;
  border: 1px solid transparent;
  padding: 6px 18px;
  border-radius: 100px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
  white-space: nowrap;
}
.nl-filter-btn:hover {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.15);
}
.nl-filter-btn.is-active {
  color: #ea9801;
  background: rgba(234,152,1,0.12);
  border-color: rgba(234,152,1,0.45);
}
/* 検索 */
.nl-search {
  position: relative;
  flex: 0 0 240px;
}
.nl-search__input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 7px 14px 7px 34px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.78rem;
  color: #fff;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  box-sizing: border-box;
}
.nl-search__input::placeholder { color: rgba(255,255,255,0.22); }
.nl-search__input:focus {
  border-color: rgba(234,152,1,0.5);
  background: rgba(255,255,255,0.07);
}
.nl-search__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.28);
  font-size: 0.72rem;
  pointer-events: none;
}
/* ── リスト本体 ── */
.nl-body {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  padding: 64px 0 120px;
}
.nl-count {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.22);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.nl-count strong {
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
}
/* リスト */
.nl-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.nl-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: none;
}
.nl-item.is-visible { display: block; }
.nl-item.is-fadeIn {
  animation: nlFadeIn 0.4s ease forwards;
}
@keyframes nlFadeIn {
from {
  opacity: 0;
  transform: translateY(10px);
}
to {
  opacity: 1;
  transform: translateY(0);
}
}
.nl-item__link {
  display: grid;
  grid-template-columns: 100px 72px 1fr 20px;
  align-items: center;
  gap: 0 24px;
  padding: 24px 16px;
  text-decoration: none;
  transition: background 0.2s;
}
.nl-item__link:hover {
  background: rgba(255,255,255,0.03);
}
.nl-item__link:hover .nl-item__ttl { color: #ea9801; }
.nl-item__link:hover .nl-item__arrow {
  transform: translateX(4px);
  color: #ea9801;
}
.nl-item__date {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
}
.nl-item__cat {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.55rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  white-space: nowrap;
  text-align: center;
}
.nl-item__cat--news {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
}
.nl-item__cat--media {
  background: rgba(234,152,1,0.18);
  color: #ea9801;
}
.nl-item__ttl {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  letter-spacing: 0.5px;
  transition: color 0.25s;
}
.nl-item__arrow {
  color: rgba(255,255,255,0.2);
  font-size: 0.75rem;
  transition: transform 0.25s, color 0.25s;
  justify-self: end;
}
/* もっと見るボタン */
.nl-more-wrap {
  margin-top: 56px;
  text-align: center;
}
.nl-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0 12px;
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 15px 40px;
  cursor: pointer;
  transition: border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.nl-more-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #ea9801;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 0;
}
.nl-more-btn:hover::before { transform: scaleX(1); }
.nl-more-btn:hover { border-color: #ea9801; }
.nl-more-btn span, .nl-more-btn svg {
  position: relative;
  z-index: 1;
}
.nl-more-btn .nl-spinner {
  display: none;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  position: relative;
  z-index: 1;
}
.nl-more-btn.is-loading .nl-arrow { display: none; }
.nl-more-btn.is-loading .nl-spinner { display: block; }
.nl-more-count {
  margin-top: 20px;
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.2);
}
.nl-more-count strong { color: rgba(255,255,255,0.45); }
/* empty */
.nl-empty {
  display: none;
  text-align: center;
  padding: 80px 0;
}
.nl-empty.is-show { display: block; }
.nl-empty i {
  font-size: 2.2rem;
  color: rgba(255,255,255,0.08);
  display: block;
  margin-bottom: 16px;
}
.nl-empty p {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.18);
  text-transform: uppercase;
}

/* ── SP ── */
@media (max-width: 767px) {
.nl-controls__inner {
  flex-direction: column;
  height: auto;
  padding: 12px 0;
  gap: 10px 0;
}
  .nl-controls { position: static; }
.nl-search {
  flex: none;
  width: 100%;
}
  .nl-body { padding: 32px 0 80px; }
.nl-item__link {
  grid-template-columns: 1fr 20px;
  grid-template-rows: auto auto;
  gap: 6px 0;
  padding: 18px 8px;
}
.nl-item__date {
  grid-column: 1;
  font-size: 0.62rem;
  margin-bottom: 0;
}
.nl-item__cat {
  display: inline-block;
  margin-right: 8px;
  font-size: 0.5rem;
  padding: 3px 7px;
}
.nl-item__ttl {
  grid-column: 1;
  font-size: 0.85rem;
}
.nl-item__arrow {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}
/* SPでは日付+カテゴリを1行に */
  .nl-item__link {
  grid-template-columns: 1fr 20px;
  grid-template-areas:
      "meta   arrow"
      "title  arrow";
}
.nl-item__date {
  grid-area: meta;
  display: inline;
}
  .nl-item__cat  { grid-area: meta; }
  .nl-item__ttl  { grid-area: title; }
  .nl-item__arrow { grid-area: arrow; }
}
/* ============================================================
   NEWS DETAIL PAGE (.nd-*)
   ============================================================ */
.nd-main {
  background: #fff;
  padding: 80px 0 120px;
}
.nd-inner {
  max-width: 860px;
  width: 90%;
  margin: 0 auto;
}
/* メタ情報（日付・カテゴリ） */
.nd-meta {
  display: flex;
  align-items: center;
  gap: 0 12px;
  margin-bottom: 20px;
}
.nd-meta__date {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 2px;
  color: #888;
}
.nd-meta__cat {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: #ea9801;
  color: #fff;
  padding: 3px 10px;
  border-radius: 2px;
}
/* タイトル */
.nd-title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1.6;
  color: #1a1a1a;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid #ea9801;
}
/* アイキャッチ画像 */
.nd-thumb {
  width: 100%;
  margin-bottom: 48px;
  border-radius: 6px;
  overflow: hidden;
}
.nd-thumb img {
  width: 100%;
  height: auto;
  display: block;
}
/* 本文 */
.nd-body {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
}
.nd-body p {
  margin-bottom: 24px;
}
.nd-body p:last-child {
  margin-bottom: 0;
}
.nd-body a {
  color: #ea9801;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
  transition: opacity 0.2s;
}
.nd-body a:hover {
  opacity: 0.7;
}
/* PDFリンクボタン */
.nd-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0 10px;
  margin-top: 32px;
  padding: 16px 32px;
  background: #ea9801;
  color: #fff !important;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-decoration: none !important;
  border-radius: 2px;
  transition: opacity 0.3s;
}
.nd-pdf-btn:link,
.nd-pdf-btn:visited {
  color: #fff !important;
}
.nd-pdf-btn:hover {
  opacity: 0.8;
  color: #fff !important;
}
.nd-pdf-btn i {
  font-size: 1.1rem;
}
/* ページナビ（前後記事） */
.nd-nav {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid #e8e8e8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.nd-nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #333;
  text-decoration: none;
  padding: 12px 20px;
  border: 1px solid #e8e8e8;
  border-radius: 2px;
  transition: all 0.25s;
}
.nd-nav__btn:hover {
  background: #ea9801;
  color: #fff;
  border-color: #ea9801;
}
.nd-nav__back {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 2px;
  color: #888;
  text-decoration: none;
  transition: color 0.25s;
}
.nd-nav__back:hover {
  color: #ea9801;
}

.media-detail-page .nd-nav {
  border-top-color: rgba(255,255,255,0.15);
}
.media-detail-page .nd-nav__btn {
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.media-detail-page .nd-nav__back {
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   NEWS DETAIL — SP (max-width: 767px)
   ============================================================ */
@media (max-width: 767px) {
  .nd-main {
    padding: 56px 0 80px;
  }
.nd-title {
  font-size: 1.1rem;
  margin-bottom: 28px;
  padding-bottom: 16px;
}
  .nd-thumb {
    margin-bottom: 32px;
  }
  .nd-body {
    font-size: 0.9rem;
  }
.nd-pdf-btn {
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
}
.nd-nav {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  text-align: center;
}
  .nd-nav__btn {
    justify-content: center;
  }
  .nd-nav__back  { order: -1; }
  .nd-nav__btn:first-child { order: 0; }  /* 前の記事 */
  .nd-nav__btn:last-child  { order: 1; }  /* 次の記事 */
}
@charset "UTF-8";

/* ============================================================
   NEWS DETAIL — YouTube / Image / External Button
   ============================================================ */
.nd-youtube {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 28px 0;
  border-radius: 8px;
  overflow: hidden;
}
.nd-youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.nd-img-block {
  margin: 24px 0;
  border-radius: 8px;
  overflow: hidden;
}
.nd-img-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.nd-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0 8px;
  background: transparent;
  border: 1px solid #ea9801;
  color: #ea9801;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 2px;
  margin-top: 16px;
  transition: background 0.3s, color 0.3s;
  text-decoration: none;
}
.nd-btn-outline:hover {
  background: #ea9801;
  color: #fff;
}
