/* -------------------------------------------------------------------------- *
 * News（お知らせ）専用スタイル
 *  - style.css / style.scss には手を入れず、このファイルに隔離する
 *    （animation-parity-oracle: SCSS 再ビルドで本番手編集分が消えるため）。
 *  - 全ページで読み込まれる（Swup が head を置換しないため条件 enqueue 不可）。
 *    ⚠️ よって **すべてのセレクタを News 固有クラスにスコープする**。
 *       素の `figure {}` / `img {}` 等を書くと全ページに漏れる。
 *  - レイアウト土台は既存の .subpageMain を流用。ここは中身の見た目だけ足す。
 *  - 素の CSS なので scss の mixin/変数は使えない。既存デザインシステムの実値を写す:
 *      本文色   #F1ECDE      （style.scss:16 --cl_text）
 *      罫線色   #F1E6CA      （= rgba(241,230,202,x)。_otherpage.scss:64 等の慣用色）
 *      背景     #192f27      （style.scss:18 --cl_green）
 *      英数字   "neue-haas-grotesk-display"（_fonts.scss:10-14。100=thin / 200=light）
 *      和文     "ryo-gothic-plusn"（:root 既定なので指定不要）
 *      rem()    px / 16      （_mql.scss:18-19。:root が vw 可変なので rem のまま書く）
 *      SP       max-width: 767px（_mql.scss:6-10）
 *      hover    any-hover: hover（_mql.scss:12-16）
 *      easing   cubic-bezier(0.165,0.84,0.44,1) = $easeOutQuart（_easings.scss）
 *  - ⚠️ reveal 用の `opacity: 0` をここに書かないこと。
 *    初期値は js/scripts.js の gsap.fromTo が実行時にセットする（.portfolio__card と同方式）。
 *    CSS に固定で書くと JS 未実行時に永久非表示になる。
 * -------------------------------------------------------------------------- */

/*
 * ===== 見出し背景の巨大 NEWS: 実装したが不採用（2026-07-16 実機判断） =====
 * 当初 `.newsPage .subpageMain__header::before { content:"NEWS" }` で薄い巨大英字を
 * 敷いたが、headless Chrome の実機スクショで確認したところ **見出しの h1「News」と
 * 重なって可読性を潰し、描画バグに見えた**（sticky な左カラムが幅 rem(480) しかなく、
 * 巨大英字を置くと必ず h1 と衝突する）。既に `.en` が rem(70) の極細 Neue で十分に
 * 大きな主張になっているため、ゴースト文字は冗長。→ 採用しない。
 * ※ vision の `__largeText` はページ下部の別テキストで、見出しと重ならないため成立している。
 */

/* ===== 一覧 ===== */
.newsList {
  list-style: none;
  margin: 0;
  padding: 0;
}

.newsList__item {
  border-top: 1px solid rgba(241, 230, 202, 0.2);
  transition: border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.newsList__item:last-child {
  border-bottom: 1px solid rgba(241, 230, 202, 0.2);
}

.newsList__link {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  padding: 1.75rem 2.5rem 1.75rem 0; /* 右は矢印のぶん空ける */
  position: relative;
  text-decoration: none;
  color: inherit;
}

/* 日付＋カテゴリ（左の固定カラム。題名の頭を揃える） */
.newsList__meta {
  flex: 0 0 auto;
  width: 11.25rem; /* rem(180) */
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.newsList__date {
  flex: 0 0 auto; /* 日付は必須情報なので絶対に縮ませない（縮むのはカテゴリ側） */
  font-family: "neue-haas-grotesk-display", "ryo-gothic-plusn", sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: 0.8125rem; /* rem(13) */
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: rgba(241, 236, 222, 0.7);
  white-space: nowrap;
}

/*
 * カテゴリ = 小さな pill（.cmn-linkbtn の「生成り枠 + 角丸 + Neue」語彙を踏襲）
 * ⚠️ はみ出し対策（2026-07-16 レビュー①で実測）:
 *    `.newsList__meta` は題名の頭を揃えるため width 固定。そこへ長いカテゴリ名
 *    （例「イベント・セミナー情報」）が来ると、`_reset.scss:12` のグローバル
 *    `min-width:0` が flex の min-width:auto 保護を打ち消すため pill が
 *    min-content 以下に潰れ、**文字だけが角丸の枠外へ溢れて**描画されていた
 *    （実測: clientWidth 127 に対し scrollWidth 146 / 右へ 15.7px 溢れ）。
 *    → 溢れさせず枠内で省略（…）する。カテゴリ名は堀さん未確定のため防御的にする。
 *    ※ flex:0 0 auto（縮ませない）にすると今度は題名側へ押し出すので不可。
 */
.newsList__cat {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "neue-haas-grotesk-display", "ryo-gothic-plusn", sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: 0.625rem; /* rem(10) */
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.4em 0.9em;
  border: 1px solid rgba(241, 230, 202, 0.3);
  border-radius: 100vmax;
  color: rgba(241, 236, 222, 0.85);
  white-space: nowrap;
  transition: border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.newsList__ttl {
  flex: 1 1 auto;
  font-size: 0.875rem; /* rem(14) — 題名を主役に一段上げる */
  line-height: 1.7;
  letter-spacing: 0.06em;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* 右端の矢印（アセットに依存せず currentColor で描く。深緑背景でも確実に見える） */
.newsList__link::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  top: 50%;
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-50%) rotate(-45deg);
  opacity: 0.5;
  transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (any-hover: hover) {
  /* 罫線を明転（自分の上罫線 + 次の行の上罫線 = 見た目上その行の上下） */
  .newsList__item:hover,
  .newsList__item:hover + .newsList__item {
    border-top-color: rgba(241, 230, 202, 0.55);
  }
  .newsList__item:last-child:hover {
    border-bottom-color: rgba(241, 230, 202, 0.55);
  }
  .newsList__link:hover .newsList__ttl {
    transform: translateX(0.4rem);
  }
  .newsList__link:hover .newsList__cat {
    border-color: rgba(241, 230, 202, 0.55);
  }
  .newsList__link:hover::after {
    right: 0.35rem;
    opacity: 1;
  }
}

.newsList__empty {
  padding: 2.5rem 0;
  color: rgba(241, 236, 222, 0.7);
}

/* ===== ページネーション（pill 化） ===== */
.newsPagination {
  margin-top: 3.75rem;
}
/* the_posts_pagination が出す見出しは読み上げ専用（未定義だと素の h2 が見えてしまう） */
.newsPagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.newsPagination .nav-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.newsPagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.85rem;
  border: 1px solid rgba(241, 230, 202, 0.35);
  border-radius: 100vmax;
  font-family: "neue-haas-grotesk-display", "ryo-gothic-plusn", sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    background-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
/* 現在ページ = 生成り面 + 深緑文字（portfolio カード等の「反転面」語彙） */
.newsPagination .page-numbers.current {
  background-color: #f1ecde;
  border-color: #f1ecde;
  color: #192f27;
}
.newsPagination .page-numbers.dots {
  border-color: transparent;
  min-width: auto;
  padding: 0 0.25rem;
}
@media (any-hover: hover) {
  .newsPagination a.page-numbers:hover {
    border-color: rgba(241, 230, 202, 0.85);
  }
}

/* ===== 詳細 ===== */
.newsSingle__back {
  margin-top: 1.875rem;
}
.newsSingle__backBtn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  height: 2.625rem; /* rem(42) = .cmn-linkbtn と同じ */
  padding: 0 1.25rem;
  border: 1px solid rgba(241, 230, 202, 0.5);
  border-radius: 100vmax;
  font-family: "neue-haas-grotesk-display", "ryo-gothic-plusn", sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    background-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.newsSingle__backBtn::before {
  content: "";
  display: block;
  width: 0.35rem;
  height: 0.35rem;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}
@media (any-hover: hover) {
  .newsSingle__backBtn:hover {
    background-color: #f1ecde;
    border-color: #f1ecde;
    color: #192f27; /* ::before は currentColor なので自動で深緑になる */
  }
}

.newsArticle__header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(241, 230, 202, 0.2);
}
.newsArticle__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.newsArticle__date {
  font-family: "neue-haas-grotesk-display", "ryo-gothic-plusn", sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: rgba(241, 236, 222, 0.7);
}
.newsArticle__cat {
  font-family: "neue-haas-grotesk-display", "ryo-gothic-plusn", sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.4em 0.9em;
  border: 1px solid rgba(241, 230, 202, 0.3);
  border-radius: 100vmax;
  color: rgba(241, 236, 222, 0.85);
  white-space: nowrap;
}
.newsArticle__ttl {
  font-size: 1.5rem; /* rem(24) */
  line-height: 1.6;
  letter-spacing: 0.04em;
}

/*
 * アイキャッチ（ロゴ / 写真）
 * ⚠️ 全幅ヒーローにしない: 透明ロゴ・横長ロゴを width:100% で拡大すると
 *    深緑背景で潰れる/巨大化する。contain + 上限高 + 余白の「額」に収める。
 *    width:auto なので小さいロゴが引き伸ばされることもない。
 */
.newsArticle__hero {
  margin: 0 0 2.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(241, 230, 202, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.newsArticle__hero img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 24rem;
  object-fit: contain;
}

/* ===== 詳細の本文（the_content の生 HTML。すべて .newsArticle__body にスコープ） ===== */
.newsArticle__body {
  line-height: 2;
}
.newsArticle__body::after {
  content: "";
  display: block;
  clear: both; /* align 系の float 解除 */
}
.newsArticle__body p:not(:last-child) {
  margin-bottom: 1.25rem;
}
.newsArticle__body h2 {
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 2.5rem 0 1rem;
}
.newsArticle__body h3 {
  font-size: 1rem;
  line-height: 1.6;
  margin: 2rem 0 0.85rem;
}
.newsArticle__body a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
@media (any-hover: hover) {
  .newsArticle__body a:hover {
    opacity: 0.6;
  }
}
.newsArticle__body ul,
.newsArticle__body ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5em;
}
.newsArticle__body ul {
  list-style: disc;
}
.newsArticle__body ol {
  list-style: decimal;
}
.newsArticle__body blockquote {
  margin: 2rem 0;
  padding-left: 1.25rem;
  border-left: 1px solid rgba(241, 230, 202, 0.3);
  color: rgba(241, 236, 222, 0.8);
}
.newsArticle__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}
.newsArticle__body th,
.newsArticle__body td {
  border: 1px solid rgba(241, 230, 202, 0.2);
  padding: 0.75rem 1rem;
  text-align: left;
}

/* 画像（Gutenberg figure / 旧 wp-caption / リンク画像 / align 系を網羅） */
.newsArticle__body img {
  display: block;
  max-width: 100%;
  height: auto;
}
.newsArticle__body figure,
.newsArticle__body .wp-caption {
  margin: 2rem 0;
  max-width: 100%;
}
.newsArticle__body figure img,
.newsArticle__body .wp-caption img {
  margin-left: auto;
  margin-right: auto;
}
.newsArticle__body figcaption,
.newsArticle__body .wp-caption-text {
  margin-top: 0.75rem;
  font-size: 0.625rem;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: rgba(241, 236, 222, 0.6);
  text-align: center;
}
.newsArticle__body .aligncenter {
  margin-left: auto;
  margin-right: auto;
}
.newsArticle__body .alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
  max-width: 50%;
}
.newsArticle__body .alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
  max-width: 50%;
}
.newsArticle__body .alignwide,
.newsArticle__body .alignfull {
  max-width: 100%; /* .subpageMain__content の外へ出さない */
}
.newsArticle__body .wp-block-image {
  margin: 2rem 0;
}

/* ===== SP（_mql.scss の sp = max-width:767px に合わせる） ===== */
@media (max-width: 767px) {
  /* 日付/カテゴリを題名の上に積む */
  .newsList__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 1.5rem 2rem 1.5rem 0;
  }
  .newsList__meta {
    width: auto;
  }
  .newsList__ttl {
    font-size: 1rem;
    line-height: 1.7;
  }
  .newsList__link::after {
    top: auto;
    bottom: 1.5rem;
    transform: rotate(-45deg);
  }

  .newsPagination .nav-links {
    justify-content: center;
    gap: 0.5rem;
  }
  .newsPagination .page-numbers {
    min-width: 2.75rem;
    height: 2.75rem; /* タップ領域を確保 */
  }

  .newsArticle__ttl {
    font-size: 1.25rem;
  }
  .newsArticle__hero {
    padding: 1rem;
  }
  .newsArticle__hero img {
    max-height: 16rem;
  }
  .newsArticle__body .alignleft,
  .newsArticle__body .alignright {
    float: none;
    margin: 2rem auto;
    max-width: 100%;
  }
}

/*
 * ===== モーション低減（⚠️ 効く範囲が限定的。誤解しないこと） =====
 * ここで止められるのは **CSS の transition（hover の罫線/矢印/題名スライド等）だけ**。
 * News の「登場アニメ」の本体 — 見出しの文字送り・行ごとの reveal・詳細本文の fade —
 * は js/scripts.js の GSAP が opacity/y/clipPath を inline style で直接 tween しており、
 * CSS の transition:none では **止まらない**（2026-07-16 レビュー②で確認）。
 * つまり「モーション低減」設定のユーザーにも登場アニメはフル再生される。
 *
 * 直すなら gsap.matchMedia() で reduce 時に tween せず最終状態を set する必要があるが、
 * **テーマ全体（top/vision/portfolio/member/contact）が一切 reduced-motion 非対応**であり
 * （grep してもこの1件しかヒットしない）、News だけ先行対応すると他ページと挙動が
 * 非対称になる。→ サイト全体の方針として別途扱う（backlog）。ここは transition のみ。
 */
@media (prefers-reduced-motion: reduce) {
  .newsList__item,
  .newsList__ttl,
  .newsList__cat,
  .newsList__link::after,
  .newsPagination .page-numbers,
  .newsSingle__backBtn,
  .newsArticle__body a {
    transition: none;
  }
}

/* V: 縦積み版。タイトル(太字)→リード→本文を1カラムで上から順に表示（2026-07-29、下記参照）。 */
main.main[data-news-layout="v"] {
  position: relative;
  z-index: 20; /* footer の -100lvh / z-index:2 契約より前面に置く */
  /* main が z-index:20 でヘッダーの.grid-overlay(z-index:2)より前面に出るため、
     縦罫線をmain自身の背景レイヤーとして複製する（サイト共通の.grid-overlay .bamboo と同じ10rem間隔・同等の見え方）。
     ⚠️ パスは news-preview/css/ からの相対(../../images/)ではなく、css/ からの相対(../images/)に修正済み
     （news-preview-v.css をそのまま news.css へマージしたため、ディレクトリ階層が1つ浅くなった分の補正）。 */
  background-image: url(../images/bamboo.png), repeating-linear-gradient(to right, rgba(255, 255, 255, .12) 0, rgba(255, 255, 255, .12) 1px, transparent 1px, transparent 10rem);
  background-repeat: repeat, repeat;
  background-size: 100% auto, auto;
}

/* V: 縦積み版（2026-07-29 堀さん確定「縦でいきましょう」。安田さん提案の候補A、旧 page-news2.php の
   .news2Stack を昇格・page-news2.php自体は削除済み。詳細はgit logを参照）。
   タイトル(太字)→リード→本文を1カラムで上から順に表示。旧デザイン(sticky左列+右列本文)はこの下の
   コメントアウト履歴の代わりにgit logを参照。 */
[data-news-layout="v"] .newsV { padding: 18.125rem 3.75rem 9.375rem; }
[data-news-layout="v"] .newsV__doc { display: block; max-width: 44rem; margin: 0 auto; color: #F1ECDE; font-family: "neue-haas-grotesk-display", "ryo-gothic-plusn", sans-serif; font-weight: 300; }
[data-news-layout="v"] .newsV__header { margin: 0 0 3rem; }
[data-news-layout="v"] .newsV__meta { margin: 0 0 .75rem; font-size: .75rem; letter-spacing: .1em; color: rgba(241, 236, 222, .5); text-align: left; }
[data-news-layout="v"] .newsV__ttl { margin: 0 0 2rem; font-size: 1.5rem; font-weight: 700; line-height: 1.55; letter-spacing: .02em; }
/* リードの文字数は boost_news_trim_lead_text()/抜粋欄の長さでPHP側が既にコントロールしている
   （句点・読点の自然な区切りで終わるように調整済み）。ここでのCSSクランプは異常に長い入力への
   安全弁に留め、通常の長さでは絶対に発火しない行数（7行）にする（4行だと通常の自動抽出リードが
   途中で切れ、PHP側で直した「きれいな文末」がCSSクランプで再び壊れる事故があったため）。 */
[data-news-layout="v"] .newsV__lead { margin: 0 0 3rem; padding-left: 1rem; border-left: 3px solid #FCA848; }
[data-news-layout="v"] .newsV__lead p { display: -webkit-box; overflow: hidden; margin: 0; -webkit-box-orient: vertical; -webkit-line-clamp: 7; font-size: 1.125rem; font-weight: 500; line-height: 1.7; }
[data-news-layout="v"] .newsV__content { width: 100%; }
[data-news-layout="v"] .newsV__body { max-width: 100%; font-size: 1rem; line-height: 1.9; letter-spacing: .02em; }
[data-news-layout="v"] .newsV__body p { margin: 0 0 1.5em; }
[data-news-layout="v"] .newsV__body p:last-child { margin-bottom: 0; }
[data-news-layout="v"] .newsV__body h2, [data-news-layout="v"] .newsV__body h3 { margin: 3em 0 1em; font-size: .875rem; letter-spacing: .14em; color: rgba(252, 168, 72, .9); }
[data-news-layout="v"] .newsV__body a, [data-news-layout="v"] .newsV__back a { color: #FCA848; text-decoration: underline; text-underline-offset: .2em; }
[data-news-layout="v"] .newsV__body img { display: block; max-width: 100%; height: auto; }
[data-news-layout="v"] .newsV__body ul, [data-news-layout="v"] .newsV__body ol { margin: 0 0 1.25rem; padding-left: 1.5em; }
[data-news-layout="v"] .newsV__body ul { list-style: disc; }
[data-news-layout="v"] .newsV__body ol { list-style: decimal; }
[data-news-layout="v"] .newsV__body blockquote { margin: 2rem 0; padding-left: 1.25rem; border-left: 1px solid #FCA848; color: rgba(241, 236, 222, .8); }
[data-news-layout="v"] .newsV__body table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
[data-news-layout="v"] .newsV__body th, [data-news-layout="v"] .newsV__body td { border: 1px solid rgba(241, 230, 202, .2); padding: .75rem 1rem; text-align: left; }
[data-news-layout="v"] .newsV__body figcaption, [data-news-layout="v"] .newsV__body .wp-caption-text { margin-top: .75rem; font-size: .625rem; line-height: 1.8; letter-spacing: .06em; color: rgba(241, 236, 222, .6); text-align: center; }
[data-news-layout="v"] .newsV__body .aligncenter { margin-left: auto; margin-right: auto; }
[data-news-layout="v"] .newsV__body .alignleft { float: left; margin: 0 1.5rem 1rem 0; max-width: 50%; }
[data-news-layout="v"] .newsV__body .alignright { float: right; margin: 0 0 1rem 1.5rem; max-width: 50%; }
[data-news-layout="v"] .newsV__body .alignwide, [data-news-layout="v"] .newsV__body .alignfull { max-width: 100%; }
[data-news-layout="v"] .newsV__body::after { content: ""; display: block; clear: both; }
[data-news-layout="v"] .newsV__logo { margin: 3rem 0; }
/* S型: 明暗どちらのロゴも中間輝度のニュートラルプレートで可視化する。 */
[data-news-layout="v"] .newsV__logoPlate { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; padding: 1rem 1.5rem; background: #6E6A5D; border-radius: .25rem; }
[data-news-layout="v"] .newsV__logoImg { display: block; width: auto; max-width: 10rem; max-height: 2.5rem; height: auto; object-fit: contain; }
[data-news-layout="v"] .newsV__logoPlate a { display: block; line-height: 0; }
[data-news-layout="v"] .newsV__photo { max-width: 100%; margin: 0; }
[data-news-layout="v"] .newsV__photoImg { display: block; width: 100%; height: auto; border-radius: .25rem; }
[data-news-layout="v"] .newsV__back { margin: 0 0 1.5rem; font-size: .8125rem; letter-spacing: .1em; }
[data-news-layout="v"] .newsV__empty { padding: 18.125rem 3.75rem 9.375rem; color: #F1ECDE; }

/* 2026-07-23: SNSシェア + 前後記事ナビ（5案共通デザイン。案ごとの差別化はしない） */
[data-news-layout="v"] .newsShare { display: flex; align-items: center; gap: .55rem; margin: 3rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(241, 236, 222, .2); }
[data-news-layout="v"] .newsShare__label { margin-right: .3rem; font-size: .6875rem; letter-spacing: .1em; color: rgba(241, 236, 222, .5); }
[data-news-layout="v"] .newsShare__btn { display: flex; align-items: center; justify-content: center; width: 2.125rem; height: 2.125rem; border-radius: 50%; border: 1px solid rgba(241, 236, 222, .3); color: #F1ECDE; font-size: .75rem; font-weight: 600; background: transparent; cursor: pointer; text-decoration: none; transition: background-color .2s ease; }
[data-news-layout="v"] .newsShare__btn:hover { background: rgba(241, 236, 222, .12); }
[data-news-layout="v"] .newsShare__btn.is-copied { background: rgba(241, 236, 222, .25); }
[data-news-layout="v"] .newsPrevNext { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(241, 236, 222, .2); }
[data-news-layout="v"] .newsPrevNext__item { display: block; color: #F1ECDE; text-decoration: none; }
[data-news-layout="v"] .newsPrevNext__item--next { text-align: right; }
[data-news-layout="v"] .newsPrevNext__dir { display: block; margin: 0 0 .4rem; font-size: .6875rem; letter-spacing: .1em; color: rgba(241, 236, 222, .5); }
[data-news-layout="v"] .newsPrevNext__ttl { display: block; font-size: .875rem; line-height: 1.6; }
[data-news-layout="v"] .newsPrevNext__item:hover .newsPrevNext__ttl { text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 767px) {
  /* .grid-overlay .bamboo はSPで10rem→4.875remに切り替わる（css/style.css:645-648）。複製した縦線も同じ間隔に合わせる。 */
  main.main[data-news-layout="v"] { background-image: url(../images/bamboo.png), repeating-linear-gradient(to right, rgba(255, 255, 255, .12) 0, rgba(255, 255, 255, .12) 1px, transparent 1px, transparent 4.875rem); }
  [data-news-layout="v"] .newsV { padding: 10rem 1.875rem 5rem; }
  [data-news-layout="v"] .newsV__header { margin: 0 0 2.5rem; }
  [data-news-layout="v"] .newsV__ttl { font-size: 1.25rem; line-height: 1.5; }
  [data-news-layout="v"] .newsV__lead p { -webkit-line-clamp: 7; font-size: 1.0625rem; }
  [data-news-layout="v"] .newsV__body { font-size: .9375rem; }
  [data-news-layout="v"] .newsPrevNext { grid-template-columns: 1fr; }
  [data-news-layout="v"] .newsPrevNext__item--next { text-align: left; }
}
