@charset "UTF-8";
/*
Theme Name: HEADLINER NEWS
Theme URI: https://headlinernews.com/
Author: HEADLINER NEWS
Author URI: https://headlinernews.com/
Description: 芸能・音楽・ドラマ・アニメを扱うエンタメニュースメディア「HEADLINER NEWS（ヘッドライナーニュース）」用のWordPressテーマ。大手エンタメニュースポータルの一覧ページの寸法（本文幅980px・メイン660px＋サイド300px、見出し18px、写真枠210px、枠線カード、NEWタブ、リスト／タイル表示、番号列のランキング）に合わせて組んでいます。色とロゴは独自（深いすみれ色とマーキーの金）。写真ギャラリー、関連ワード、今日のHEADLINER、プレスリリース枠（PressPost Importer 互換）を内蔵。著者表示とコメントは持ちません。
Version: 1.2.5
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: headlinernews
Tags: news, entertainment, magazine, two-columns, right-sidebar, custom-menu, featured-images, translation-ready
*/

/* =============================================================
   0. デザイントークン
   寸法は大手エンタメニュースポータルの実寸（PC表示）に合わせています
   ============================================================= */
:root {
  --accent:      #c41230;   /* 見出しの印・NEW。ニュースの赤 */
  --accent-dark: #9b0e26;
  --accent-ink:  #c41230;
  --accent-tint: #fdf2f4;
  --on-accent:   #ffffff;
  --link:        #0d4f9a;   /* リンク・ページ番号 */
  --nav:         #1a1a1a;   /* ナビ帯 */
  --nav-2:       #000000;

  --ink:      #222222;      /* 見出し */
  --text:     #4f4f4f;      /* 記事本文 */
  --lead:     #555555;      /* 一覧のリード */
  --muted:    #888888;      /* 日時 */
  --muted-2:  #aaaaaa;
  --rule:     #4f4f4f;      /* セクション見出しの下線 */
  --line:     #cccccc;      /* カードの枠 */
  --line-2:   #eeeeee;      /* 区切り線・サイドの枠 */
  --bg:       #ffffff;
  --bg-soft:  #f3f3f3;      /* 写真枠・記事見出しの箱 */
  --bg-soft-2:#f9f9f9;      /* ランキングの番号 */

  --container: 980px;
  --main-w:    660px;
  --sidebar-w: 300px;
  --gutter:    20px;

  --font-sans: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "Hiragino Sans", "Noto Sans JP",
               Meiryo, "BIZ UDPGothic", system-ui, -apple-system, sans-serif;
  --font-en:   "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
}

/* =============================================================
   1. リセット & ベース
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; vertical-align: middle; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--link); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.45; }
p { margin: 0 0 1em; }
dl, dd { margin: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 8px; left: 8px; z-index: 9999; width: auto; height: auto;
  clip: auto; padding: 10px 16px; background: #fff; border: 2px solid var(--nav);
}

.l-container { width: 100%; max-width: calc(var(--container) + 40px); margin-inline: auto; padding-inline: 20px; }

.u-clamp-2, .u-clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.u-clamp-2 { -webkit-line-clamp: 2; }
.u-clamp-3 { -webkit-line-clamp: 3; }

/* =============================================================
   2. ヘッダー（高さ74px＋ナビ帯30px）
   ============================================================= */
.l-header { position: relative; z-index: 70; background: #fff; }

.l-masthead__inner { display: flex; align-items: center; gap: 16px; height: 74px; }

/* ロゴ：題字＋NEWS の札（星印は使わない） */
.p-logo { margin-right: auto; min-width: 0; }
.p-logo a { display: inline-flex; align-items: center; gap: 11px; }
.p-logo a:hover { color: inherit; }
.p-logo__img { display: block; height: 52px; width: auto; max-width: 100%; }
.p-logo__star { display: none; }
.p-logo__text { display: grid; line-height: 1; }
.p-logo__word {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font-family: var(--font-sans); font-size: 26px; font-weight: 800; letter-spacing: .02em; line-height: 1; color: var(--ink);
}
.p-logo__tag {
  font-size: 11px; font-weight: 800; line-height: 1; letter-spacing: .06em; padding: 4px 5px 3px; border-radius: 0;
  background: var(--accent); color: var(--on-accent);
}
.p-logo__ja { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--muted); margin-top: 6px; }

/* 検索（種類の選択 126px＋入力 185px＋ボタン 33px） */
.p-search { display: flex; align-items: stretch; height: 30px; border: 1px solid var(--line); background: #fff; }
.p-search__scope {
  width: 126px; border: 0; border-right: 1px solid var(--line); border-radius: 0;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M0 0h8L4 5z' fill='%23555'/%3E%3C/svg%3E") no-repeat right 9px center;
  -webkit-appearance: none; appearance: none;
  font-size: 13px; font-family: inherit; color: var(--ink); padding: 0 22px 0 9px;
}
.p-search__field {
  width: 185px; min-width: 0; border: 0; padding: 0 9px;
  font-size: 13px; font-family: inherit; color: var(--ink); background: #fff;
}
.p-search__field:focus { outline: 2px solid var(--link); outline-offset: -2px; }
.p-search__submit {
  width: 33px; border: 0; background: var(--nav); color: #fff; display: grid; place-items: center;
}
.p-search__submit:hover { background: var(--nav-2); }

/* 右側（SNS・メニューボタン） */
.l-masthead__tools { display: flex; align-items: center; gap: 12px; }

.p-sns { display: flex; align-items: center; gap: 6px; }
.p-sns a {
  width: 30px; height: 30px; border-radius: 0; display: grid; place-items: center;
  background: var(--nav); color: #fff; font-size: 14px; font-family: var(--font-en); letter-spacing: .02em;
}
.p-sns a:hover { background: var(--accent); color: var(--on-accent); }

/* ナビ帯：高さ30px・12px太字・左右8px */
.l-gnav { background: var(--nav); }
.l-gnav__list { display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.l-gnav__list::-webkit-scrollbar { display: none; }
.l-gnav__list > li { flex: none; position: relative; }
.l-gnav__list > li > a {
  display: flex; align-items: center; height: 30px; padding: 0 8px;
  color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap;
}
.l-gnav__list > li > a:hover { background: var(--nav-2); color: #fff; }
.l-gnav__list > li.is-current > a,
.l-gnav__list > li.current-menu-item > a { background: var(--nav-2); color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }

.p-burger {
  display: none; flex-direction: column; gap: 5px; border: 0; background: none; padding: 6px 2px;
  position: relative; z-index: 95;
}
.p-burger span { display: block; width: 22px; height: 2px; background: var(--ink); transition: .2s; }
.is-open > .p-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-open > .p-burger span:nth-child(2) { opacity: 0; }
.is-open > .p-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.is-open > .p-burger span { background: #fff; }
.p-drawer-overlay { display: none; }
.l-gnav__search { display: none; }

/* =============================================================
   3. 本文レイアウト（メイン660px＋間20px＋サイド300px）
   ============================================================= */
.l-body { padding: 18px 0 60px; }
.l-body__inner {
  display: grid; grid-template-columns: minmax(0, var(--main-w)) var(--sidebar-w);
  justify-content: space-between; align-items: start; gap: 0 var(--gutter);
}
.l-content { min-width: 0; }

/* パンくず：12px */
.p-breadcrumb { font-size: 12px; line-height: 1.5; color: var(--ink); margin-bottom: 18px; }
.p-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; row-gap: 2px; }
.p-breadcrumb li + li::before {
  content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 9px 1px 6px;
  border-top: 1px solid #888; border-right: 1px solid #888; transform: rotate(45deg);
}
.p-breadcrumb a { color: var(--link); }

/* ページ見出し（丸アイコン＋24px） */
.p-pagehead { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; min-height: 42px; }
.p-pagehead__icon {
  width: 22px; height: 22px; border-radius: 0; background: transparent; color: var(--accent);
  display: grid; place-items: center; flex: none;
}
.p-pagehead__title { font-size: 24px; font-weight: 700; line-height: 1.3; color: #333; letter-spacing: .02em; }

/* 見出し下の帯（上下2pxの薄い線。注目ワードを並べる） */
.p-tagstrip {
  display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap;
  border-top: 2px solid var(--line-2); border-bottom: 2px solid var(--line-2); margin-bottom: 30px;
}
.p-tagstrip:not(:empty) { padding: 8px 0; }
.p-tagstrip__label { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #555; }
.p-tagstrip__list { display: flex; flex-wrap: wrap; gap: 6px; }
.p-tagstrip__list a {
  display: block; font-size: 12px; line-height: 22px; padding: 0 11px; border-radius: 30px;
  background: var(--bg-soft); color: #333;
}
.p-tagstrip__list a:hover { background: var(--nav); color: #fff; }

/* セクション見出し（19px・左の縦線・下線2px）＋表示切替 */
.c-bar {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  border-bottom: 2px solid var(--rule); padding-bottom: 4px; margin-bottom: 15px;
}
.c-bar__title {
  position: relative; padding-left: 17px;
  font-size: 19px; font-weight: 700; line-height: 1.5; color: var(--ink);
}
.c-bar__title::before {
  content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 5px; background: var(--nav);
}
.p-viewtoggle { display: flex; align-items: center; margin-bottom: 1px; }
.p-viewtoggle__label { font-size: 13px; font-weight: 700; line-height: 27px; padding-right: 10px; }
.p-viewtoggle__group { display: inline-flex; border: 1px solid #ccc; background: #fff; }
.p-viewtoggle__btn {
  width: 42px; height: 25px; border: 0; border-radius: 0; background: transparent; color: #666;
  display: grid; place-items: center;
}
.p-viewtoggle__btn:hover { color: #555; }
.p-viewtoggle__btn[aria-pressed="true"] { background: #1a1a1a; color: #fff; }

/* 件数「1～20／493,140件」＋ページ番号（16px） */
.p-countbar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.p-countbar__num { margin: 0; font-size: 14px; line-height: 24px; }

.p-pager { display: flex; align-items: center; gap: 6px; }
.p-pager__num { display: flex; align-items: center; }
.p-pager__num a, .p-pager__num span { display: block; padding: 0 7px; font-size: 16px; line-height: 24px; }
.p-pager__num a { color: var(--link); }
.p-pager__num a:hover { text-decoration: underline; }
.p-pager__num span { color: var(--muted); }
.p-pager__num .is-sep { color: var(--muted); font-size: 12px; padding: 0 2px; line-height: 24px; }
.p-pager__next, .p-pager__prev { position: relative; font-size: 14px; line-height: 24px; color: var(--link); }
.p-pager__next { padding-right: 14px; }
.p-pager__prev { padding-left: 14px; margin-right: 4px; }
.p-pager__next::after, .p-pager__prev::before {
  content: ""; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -4px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
}
.p-pager__next::after { right: 2px; transform: rotate(45deg); }
.p-pager__prev::before { left: 2px; transform: rotate(-135deg); }
.p-pagerbar { display: flex; justify-content: center; margin-top: 30px; }

/* =============================================================
   4. ニュースカード（リスト表示）
   枠1px・内側18px・見出し18px・写真枠210px
   ============================================================= */
.p-news { display: block; }
.c-news { margin-bottom: 20px; }
.c-news__inner {
  position: relative; background: #fff; border: 1px solid var(--line); padding: 16px 18px;
  display: grid; grid-template-columns: minmax(0, 1fr) 210px; column-gap: 15px;
  /* 日時の行は写真枠の下端にそろえる（間の行が余りを吸収） */
  grid-template-areas: "title thumb" "lead thumb" ". thumb" "meta thumb";
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  transition: background-color .15s;
}
.c-news__inner:hover { background: #fafafa; }

/* 上辺にかかるタブ（NEW・順位・HEADLINER） */
.c-news__tabs { position: absolute; top: -4px; left: 16px; z-index: 3; display: flex; align-items: flex-start; gap: 4px; }
.c-news__new {
  display: grid; place-items: center; width: 76px; height: 20px;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-en); font-size: 12px; font-weight: 800; letter-spacing: .06em; line-height: 1; padding-top: 1px;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 100%, 0 100%);
}
.c-news__headliner {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 20px; padding: 2px 12px 0;
  background: var(--nav); color: var(--accent);
  font-family: var(--font-en); font-size: 11px; font-weight: 800; letter-spacing: .04em; line-height: 1;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 100%, 0 100%);
}
.c-news__headliner svg { margin-top: -2px; }
.c-news__rank {
  display: inline-flex; align-items: baseline; justify-content: center; gap: 1px; min-width: 52px; height: 24px; padding: 3px 10px 0;
  background: var(--nav); color: #fff; font-family: var(--font-en); font-size: 22px; line-height: 1;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 100%, 0 100%);
}
.c-news__rank small { font-family: var(--font-sans); font-size: 10px; font-weight: 700; }
.c-news__rank.is-1 { background: var(--accent); color: #fff; }
.c-news__rank.is-2 { background: #c9ccd4; color: #222; }
.c-news__rank.is-3 { background: #d7955a; color: #222; }

.c-news__title { grid-area: title; margin: 9px 0 15px; font-size: 18px; line-height: 1.2; font-weight: 700; color: var(--ink); }
.c-news__title a { color: inherit; }
.c-news__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }  /* カード全体をリンクに */
.c-news__inner:hover .c-news__title a { color: var(--link); }

.c-news__lead {
  grid-area: lead; margin: 0 0 8px; font-size: 14px; line-height: 1.7; color: var(--lead); text-indent: 1em;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}

.c-news__thumb {
  grid-area: thumb; align-self: start; position: relative; display: block;
  width: 210px; height: 210px; background: var(--bg-soft); overflow: hidden;
}
.c-news__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.c-news__thumb .is-cover { object-fit: cover; }

.c-news__meta {
  grid-area: meta; align-self: end; position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 0 14px;
  line-height: 30px;
}
.c-news__meta::before { content: ""; position: absolute; left: -18px; top: 50%; width: 10px; height: 2px; margin-top: -1px; background: var(--muted); }
.c-news__meta time { font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.c-news__cats { position: relative; z-index: 2; font-size: 12px; color: var(--ink); }
.c-news__cats a { color: var(--ink); }
.c-news__cats a:hover { color: var(--link); text-decoration: underline; }

/* 見出しの後ろの写真枚数・動画アイコン */
.c-media {
  display: inline-flex; align-items: center; gap: 3px; vertical-align: 2px; margin-left: 6px;
  font-size: 11px; font-weight: 700; color: #777; white-space: nowrap;
}
.c-media svg { flex: none; }
.c-thumbbadge {
  position: absolute; right: 4px; bottom: 4px; display: inline-flex; align-items: center; gap: 3px;
  background: rgba(0,0,0,.66); color: #fff; font-size: 10.5px; font-weight: 700; padding: 2px 6px; border-radius: 2px;
}

/* 画像がない記事：電球の看板 */
.c-noimage {
  container-type: inline-size;
  width: 100%; height: 100%; display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(245,180,0,.22), transparent 62%),
    linear-gradient(160deg, #2e176b, #140833);
  color: #fff;
}
.c-noimage__sign {
  display: inline-grid; place-items: center; white-space: nowrap;
  padding: 5cqw 8cqw 4cqw; border-radius: 6px; border: 3px dotted var(--accent);
  font-family: var(--font-en); letter-spacing: .08em; line-height: 1; color: var(--accent);
  font-size: clamp(10px, 12cqw, 24px); text-shadow: 0 0 10px rgba(245,180,0,.6);
}
/* プレスリリース（アイキャッチなし）：発表企業名のカード */
.c-noimage.is-press {
  place-items: initial; place-content: center; gap: .4em; padding: 9%;
  background: linear-gradient(160deg, #ffffff 0%, #f1f1f4 100%);
  box-shadow: inset 0 3px 0 var(--nav); color: var(--ink);
}
.c-noimage__label {
  font-family: var(--font-en); letter-spacing: .12em; color: var(--nav);
  font-size: clamp(9px, 9cqw, 15px); line-height: 1;
}
.c-noimage__company {
  font-weight: 800; line-height: 1.35; font-size: clamp(10px, 11cqw, 19px);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}

/* =============================================================
   5. タイル表示（2列・高さの違うカードを石組みで）
   .is-grid は常にタイル、.is-switchable は表示切替に従う
   ============================================================= */
.p-news.is-grid,
[data-hln-view="grid"] .p-news.is-switchable {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start;
}
[data-hln-view="grid"] .p-news.is-switchable.is-masonry { grid-auto-rows: 2px; row-gap: 0; }
[data-hln-view="grid"] .p-news.is-switchable.is-masonry .c-news { margin-bottom: 0; }

:is(.p-news.is-grid, [data-hln-view="grid"] .p-news.is-switchable) .c-news__inner {
  grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "thumb" "lead" "meta"; grid-template-rows: none;
}
:is(.p-news.is-grid, [data-hln-view="grid"] .p-news.is-switchable) .c-news__title { margin-bottom: 12px; }
:is(.p-news.is-grid, [data-hln-view="grid"] .p-news.is-switchable) .c-news__thumb {
  width: auto; height: auto; background: none; justify-self: center; margin-bottom: 14px;
}
:is(.p-news.is-grid, [data-hln-view="grid"] .p-news.is-switchable) .c-news__thumb img {
  width: auto; height: auto; max-width: 220px; max-height: 220px; object-fit: initial; margin: 0 auto;
}
:is(.p-news.is-grid, [data-hln-view="grid"] .p-news.is-switchable) .c-news__thumb .c-noimage { width: 220px; height: 166px; }
:is(.p-news.is-grid, [data-hln-view="grid"] .p-news.is-switchable) .c-news__lead { -webkit-line-clamp: 3; }
:is(.p-news.is-grid, [data-hln-view="grid"] .p-news.is-switchable) .c-news__meta { gap: 0 10px; }
:is(.p-news.is-grid, [data-hln-view="grid"] .p-news.is-switchable) .c-news__meta time { font-size: 13px; letter-spacing: .01em; }

/* =============================================================
   6. サイドバー（ブロックの間40px・見出し17px＋下線2px・枠5px）
   ============================================================= */
.l-sidebar { min-width: 0; }
.p-sideblock { margin-bottom: 40px; }
.p-sidehead {
  display: flex; align-items: center; gap: 7px; margin-bottom: 10px; padding-bottom: 4px;
  border-bottom: 2px solid var(--rule); font-size: 17px; font-weight: 700; line-height: 1.4; color: #333;
}
.p-sidehead svg { flex: none; color: var(--nav); }
.p-sidebox { border: 5px solid var(--line-2); background: #fff; }

/* よく読まれているニュース：番号＋見出し＋右に写真 */
.p-ranklist__item { border-bottom: 1px solid var(--line-2); }
.p-ranklist__item a {
  display: flex; align-items: center; gap: 8px; min-height: 64px; color: inherit;
}
.p-ranklist__item a:hover { background: #fafafa; color: inherit; }
.p-ranklist__num {
  flex: none; align-self: stretch; width: 40px; display: grid; place-items: center;
  background: var(--bg-soft-2); font-size: 20px; font-weight: 700; color: #333; line-height: 1;
}
.p-ranklist__item.is-top .p-ranklist__num { color: var(--nav); }
.p-ranklist__title {
  flex: 1; min-width: 0; padding: 8px 0;
  font-size: 14px; font-weight: 700; line-height: 1.45; color: var(--ink);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.p-ranklist__item a:hover .p-ranklist__title { color: var(--link); }
.p-ranklist__thumb {
  flex: none; width: 108px; height: 81px; margin: 6px 6px 6px 0;
  background: var(--bg-soft-2); overflow: hidden;
}
.p-ranklist__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 「11位以下を見る」などのボタン：高さ36px */
.c-morebtn {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 36px;
  background: var(--nav); color: #fff; font-size: 13px; font-weight: 700;
}
.c-morebtn::before { content: ""; width: 6px; height: 6px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.c-morebtn:hover { background: var(--nav-2); color: var(--accent); }

/* 文字＋写真（特集・動画） */
.p-entries li { border-bottom: 1px solid var(--line-2); }
.p-entries a { display: flex; align-items: flex-start; gap: 10px; padding: 7px 6px 7px 8px; }
.p-entries a:hover { background: #fafafa; }
.p-entries__text { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.p-entries__thumb { position: relative; flex: none; width: 108px; height: 81px; background: var(--bg-soft-2); overflow: hidden; }
.p-entries__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.p-entries__play {
  position: absolute; left: 4px; bottom: 4px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0,0,0,.6); color: #fff;
}
.p-entries.is-left .p-entries__text b { display: -webkit-box; font-size: 14px; line-height: 1.5; }
.p-entries.is-left .p-entries__text small { display: block; margin-top: 3px; font-size: 10px; font-weight: 400; color: var(--muted-2); }

/* 文字だけのリスト（プレスリリース）。最新ニュースは右に写真 */
.p-textlist li { border-bottom: 1px solid var(--line-2); }
.p-textlist a { display: block; padding: 8px 10px; font-size: 14px; line-height: 1.7; color: var(--ink); }
.p-textlist a:hover { background: #fafafa; color: var(--link); }
.p-textlist__meta { display: block; font-size: 11px; line-height: 1.5; color: var(--muted-2); }
.p-textlist.is-thumb a { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 10px; }
.p-textlist__body { flex: 1; min-width: 0; }
.p-textlist__title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  line-height: 1.45;
}
.p-textlist.is-thumb .p-textlist__meta { margin-top: 3px; }
.p-textlist__thumb { flex: none; width: 108px; height: 81px; background: var(--bg-soft-2); overflow: hidden; }
.p-textlist__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* =============================================================
   7. 記事ページ
   ============================================================= */
/* 見出しの箱（薄いグレー） */
.p-detailhead { background: var(--bg-soft); padding: 16px 20px 14px; margin-bottom: 25px; }
.p-detailhead__info { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; }
.p-detailhead__meta { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--muted); }
.p-detailhead__meta time { font-size: 16px; color: var(--muted); letter-spacing: .04em; }
.p-detailhead__video { display: inline-flex; align-items: center; gap: 3px; color: #555; }
.p-detailhead__title { margin: 10px 0 0; font-size: 22px; line-height: 1.5; font-weight: 700; color: var(--ink); }
.p-dek { margin: 14px 0 0; font-size: 16px; line-height: 1.75; font-weight: 700; color: #333; }
.p-detailhead__updated { margin: 4px 0 0; font-size: 11px; color: var(--muted-2); }

.p-shareicons { display: flex; gap: 6px; flex: none; }
.p-shareicons a {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 3px;
  color: #fff; font-family: Arial, Helvetica, sans-serif; font-weight: 700; line-height: 1;
}
.p-shareicons a:hover { opacity: .85; color: #fff; }
.p-shareicons .is-x { background: #111; font-size: 15px; }
.p-shareicons .is-fb { background: #1877f2; font-size: 19px; font-family: Georgia, serif; }
.p-shareicons .is-line { background: #06c755; font-size: 8.5px; letter-spacing: -.02em; }
.p-shareicons .is-hatena { background: #00a4de; font-size: 12px; }

/* 今日のHEADLINER */
.p-headliner {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -13px 0 22px; padding: 8px 14px;
  background: #f6f6f6; color: #333; font-size: 12.5px; border-left: 4px solid var(--accent);
}
.p-headliner svg { color: var(--accent); flex: none; }
.p-headliner b { font-family: var(--font-sans); font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--accent); line-height: 1; }

/* メイン写真（中央・最大470px） */
.p-mainphoto { margin: 0 auto 28px; max-width: 470px; text-align: center; }
.p-mainphoto__img { display: block; }
.p-mainphoto__img img { display: block; margin: 0 auto; width: auto; max-height: 520px; }
a.p-mainphoto__img { cursor: zoom-in; }
.p-mainphoto__cap { margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.p-mainphoto__more { margin: 6px 0 0; font-size: 13px; }
.p-mainphoto__more a { display: inline-flex; align-items: center; gap: 4px; color: var(--link); }
.p-mainphoto__more a:hover { text-decoration: underline; }

/* 本文：18px・行間1.8 */
.p-article__body { font-size: 18px; line-height: 1.8; color: var(--text); overflow-wrap: anywhere; }
.p-article__body p { margin: 0 0 1.6em; }
.p-article__body h2 {
  margin: 2em 0 1em; padding: 2px 0 2px 14px; border-left: 5px solid var(--nav);
  font-size: 20px; line-height: 1.5; color: var(--ink);
}
.p-article__body h3 { margin: 1.8em 0 .8em; padding-bottom: 6px; border-bottom: 1px solid var(--line); font-size: 18px; color: var(--ink); }
.p-article__body a { color: var(--link); text-decoration: underline; }
.p-article__body ul { list-style: disc; padding-left: 1.5em; margin: 0 0 1.6em; }
.p-article__body ol { list-style: decimal; padding-left: 1.7em; margin: 0 0 1.6em; }
.p-article__body figure { margin: 0 auto 1.6em; }
.p-article__body .wp-block-image { max-width: 470px; text-align: center; }
.p-article__body figcaption { margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--muted); text-align: center; }
.p-article__body iframe { max-width: 100%; }
.p-article__body .wp-block-embed__wrapper iframe,
.p-article__body iframe[src*="youtube"] { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.p-article__body blockquote { margin: 0 0 1.6em; padding: 12px 16px; background: var(--bg-soft-2); border-left: 4px solid var(--line); font-size: 16px; }

/* この記事の写真（5列） */
.p-gallery { margin: 10px 0 30px; scroll-margin-top: 20px; }
.p-gallery__head {
  display: flex; align-items: center; gap: 6px; margin-bottom: 10px; padding-bottom: 4px;
  border-bottom: 2px solid var(--line-2); font-size: 16px; font-weight: 700;
}
.p-gallery__count { font-weight: 400; color: var(--muted); font-size: 13px; }
.p-gallery__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.p-gallery__item { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--bg-soft); overflow: hidden; cursor: zoom-in; }
.p-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.p-gallery__item:hover img { transform: scale(1.05); }
.p-gallery__more {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,.55); color: #fff; font-size: 16px; font-weight: 700;
}

/* 提供元（プレスリリース） */
.p-credit {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border: 1px solid #ddd; border-left: 4px solid var(--nav); background: var(--bg-soft-2);
  padding: 12px 14px; margin: 10px 0 30px; font-size: 13px; color: #444;
}
.p-credit p { margin: 0; }
.p-credit__via { color: var(--muted); }
.p-credit a.c-btn { background: var(--link); }
.p-credit a.c-btn:hover { background: var(--nav); color: #fff; }

/* タグ（丸い濃色のボタン） */
.p-tags { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px; }
.p-tags dt { display: flex; align-items: center; gap: 4px; flex: none; font-size: 13px; font-weight: 700; line-height: 24px; }
.p-tags ul { display: flex; flex-wrap: wrap; gap: 6px; }
.p-tags a {
  display: block; height: 24px; line-height: 24px; padding: 0 10px; border-radius: 0;
  background: #545454; color: #fff; font-size: 13px;
}
.p-tags a:hover { background: var(--nav); color: #fff; }

/* 関連ニュース（見出し18px＋リード＋右に写真） */
.p-related { margin-top: 36px; }

/* 次の記事（本文の直後。読み終えた流れで次へ進む） */
.p-nextread { margin: 28px 0 4px; }
.p-nextread__kicker {
  margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--accent);
}
.p-nextread__card {
  display: grid; grid-template-columns: minmax(0, 1fr) 168px; gap: 14px; align-items: center;
  padding: 14px 14px 14px 16px; border: 1px solid var(--line); background: #fff;
}
.p-nextread__card:hover { background: #fafafa; color: inherit; }
.p-nextread__title { display: block; font-size: 18px; font-weight: 700; line-height: 1.45; color: var(--ink); }
.p-nextread__card:hover .p-nextread__title { color: var(--link); }
.p-nextread__lead { display: block; margin-top: 6px; font-size: 13px; line-height: 1.65; color: var(--lead); }
.p-nextread__go { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--link); }
.p-nextread__img { display: block; width: 168px; height: 126px; background: var(--bg-soft); overflow: hidden; }
.p-nextread__img img { width: 100%; height: 100%; object-fit: cover; }

.p-nextbar {
  position: fixed; left: 50%; bottom: 0; z-index: 55;
  transform: translateX(-50%) translateY(110%);
  width: min(660px, calc(100% - 24px));
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-bottom: 0;
  transition: transform .2s ease;
}
.p-nextbar.is-visible { transform: translateX(-50%) translateY(0); }
.p-nextbar:hover { color: var(--ink); }
.p-nextbar__kicker { flex: none; font-size: 11px; font-weight: 800; color: #fff; background: var(--accent); padding: 3px 6px; }
.p-nextbar__title {
  min-width: 0; font-size: 14px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.has-nextbar .p-pagetop { bottom: 62px; }
.p-linklist { border: 1px solid var(--line-2); }
.p-linklist__item { border-bottom: 2px solid var(--line-2); }
.p-linklist__item:last-child { border-bottom: 0; }
.p-linklist__item a { display: flex; align-items: flex-start; gap: 16px; padding: 14px 16px; }
.p-linklist__item a:hover { background: var(--bg-soft-2); color: inherit; }
.p-linklist__text { flex: 1; min-width: 0; }
.p-linklist__title { display: block; margin-bottom: 6px; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.p-linklist__item a:hover .p-linklist__title { color: var(--link); }
.p-linklist__lead {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  font-size: 13px; line-height: 1.6; color: var(--lead);
}
.p-linklist__img { flex: none; width: 160px; height: 120px; background: var(--bg-soft); overflow: hidden; }
.p-linklist__img img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 記事の分割ページ */
.p-pagelinks { display: flex; align-items: center; gap: 4px; margin: 0 0 30px; }
.p-pagelinks__label { font-size: 13px; font-weight: 700; margin-right: 6px; }
.p-pagelinks .post-page-numbers { color: var(--link); font-size: 16px; padding: 0 7px; }
.p-pagelinks .post-page-numbers.current { color: var(--muted); }

/* 固定ページ */
.p-article__head { margin-bottom: 22px; padding-bottom: 6px; border-bottom: 2px solid var(--rule); }
.p-article__title { font-size: 22px; line-height: 1.5; }
.p-article__visual { margin-bottom: 22px; }
.p-article__figure { margin: 0; background: var(--bg-soft); display: grid; place-items: center; }
.p-article__figure img { max-height: 520px; width: auto; }

/* アーカイブ説明 */
.p-archive-desc { font-size: 13px; color: #666; margin: -16px 0 24px; }

/* =============================================================
   8. 空・404・ランキング・検索など
   ============================================================= */
.p-empty { text-align: left; padding: 8px 0 36px; }
.p-empty__sign {
  display: inline-block; margin: 0 0 10px; padding: 2px 8px;
  background: var(--accent); color: #fff; border: 0; border-radius: 0;
  font-size: 12px; font-weight: 800; letter-spacing: .08em; line-height: 1.6;
  text-shadow: none; min-width: 0;
}
.p-empty__sign.is-off { background: #1a1a1a; color: #fff; }
.p-empty__title { font-size: 22px; margin: 0 0 8px; line-height: 1.45; }
.p-empty__text { color: #666; font-size: 14px; line-height: 1.7; }
.p-empty .p-search { display: inline-flex; margin: 16px 0 0; }
.p-empty__back { margin-top: 18px; }

a.c-btn, .c-btn {
  display: inline-flex; align-items: center; gap: 6px; background: var(--nav); color: #fff;
  font-weight: 700; font-size: 13px; padding: 9px 18px;
}
a.c-btn:hover { background: var(--accent); color: var(--on-accent); }

.p-rankswitch { display: flex; margin-bottom: 18px; border-bottom: 2px solid var(--rule); }
.p-rankswitch a {
  min-width: 110px; text-align: center; padding: 7px 16px; margin-right: 4px;
  font-size: 13px; font-weight: 700; color: #666; background: var(--bg-soft); border: 1px solid #ddd; border-bottom: 0;
}
.p-rankswitch a.is-active { background: var(--nav); border-color: var(--nav); color: var(--accent); }
.p-note {
  font-size: 12px; color: #444; background: var(--accent-tint); border-left: 3px solid var(--accent);
  padding: 8px 12px; margin-bottom: 14px;
}
.p-news.is-ranking .c-news__inner { padding-top: 20px; }

.p-searchbox { margin-bottom: 20px; }
.p-searchbox .p-search { height: 38px; }
.p-searchbox .p-search__field { flex: 1; width: auto; font-size: 14px; }
.p-searchbox .p-search__submit { width: 46px; }

.c-new {
  display: inline-block; font-family: var(--font-en); font-size: 13px; letter-spacing: .1em;
  color: var(--on-accent); background: var(--accent); padding: 2px 7px 0; line-height: 1.4;
}
.c-new.is-small { font-size: 12px; padding: 1px 5px 0; margin-right: 4px; vertical-align: 1px; }

/* =============================================================
   9. フッター
   ============================================================= */
.l-footer {
  margin-top: 56px; background: #121212; color: #ececec;
  font-size: 13px; line-height: 1.6;
}

/* 題字はヘッダーと同じ白地。黒い字のロゴを板で囲まない */
.l-footer__brandbar { background: #fff; color: var(--ink); border-top: 3px solid var(--accent); }
.l-footer__brand {
  display: flex; align-items: center; gap: 28px; padding: 22px 0;
}
.l-footer__logo { flex: none; display: block; line-height: 0; }
.l-footer__logo:hover { text-decoration: none; }
.l-footer__brand .p-logo__img { display: block; height: 52px; width: auto; }
.l-footer__about { margin: 0; max-width: 34em; color: #555; font-size: 13px; line-height: 1.8; }

.l-footer__main { padding: 28px 0 32px; }
.l-footer__main a { color: #ececec; }
.l-footer__main a:hover { color: #fff; }
.l-footer__nav { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.l-footer__nav:has(.l-footer__cats) { grid-template-columns: minmax(0, 1fr) 220px; gap: 32px 48px; }
.l-footer__label {
  margin: 0 0 14px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.16);
  font-size: 11px; font-weight: 800; letter-spacing: .16em; color: var(--accent);
}
.l-footer__cats, .l-footer__links { margin: 0; padding: 0; list-style: none; }
.l-footer__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.l-footer__cats a {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px;
  border: 1px solid rgba(255,255,255,.28); font-size: 13px; font-weight: 700; line-height: 1;
}
.l-footer__cats a:hover { background: var(--accent); border-color: var(--accent); color: #fff; text-decoration: none; }
.l-footer__links { display: grid; gap: 9px; }
.l-footer__links a { display: inline-block; padding: 1px 0; }
.l-footer__links a:hover { text-decoration: underline; }

.l-footer__bottom { background: #0c0c0c; border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0 22px; }
.l-footer__bottominner { display: grid; gap: 8px; }
.l-footer__copy { margin: 0; color: #d2d2d2; font-size: 12px; font-weight: 700; }
.l-footer__copy small { font-size: inherit; }
.l-footer__note { margin: 0; color: #8a8a8a; font-size: 11px; line-height: 1.75; }
.l-footer__ai { margin: 4px 0 0; color: #9a9a9a; font-size: 11px; line-height: 1.75; }

.p-pagetop {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 42px; height: 42px; border: 0; border-top: 2px solid var(--accent); border-radius: 0;
  background: #141414; color: #fff;
  display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .22s;
}
.p-pagetop.is-visible { opacity: 1; visibility: visible; }
.p-pagetop:hover { background: var(--accent); color: #fff; }

/* =============================================================
   10. 写真の拡大表示
   ============================================================= */
body.is-lightbox-open { overflow: hidden; }
.p-lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(12,12,14,.94);
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center;
}
.p-lightbox[hidden] { display: none !important; }
.p-lightbox__figure {
  grid-column: 2; margin: 0; height: 100vh; height: 100dvh; padding: 54px 0 44px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-width: 0;
}
.p-lightbox__img { max-width: 100%; max-height: calc(100% - 34px); width: auto; height: auto; object-fit: contain; background: #222; }
.p-lightbox__cap { color: #ddd; font-size: 12.5px; text-align: center; max-width: 720px; }
.p-lightbox__close, .p-lightbox__nav {
  border: 0; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; line-height: 1;
}
.p-lightbox__close:hover, .p-lightbox__nav:hover { background: var(--accent); color: var(--on-accent); }
.p-lightbox__close { position: absolute; top: 10px; right: 12px; width: 42px; height: 42px; border-radius: 50%; font-size: 28px; }
.p-lightbox__nav { width: 46px; height: 64px; font-size: 38px; justify-self: center; border-radius: 4px; }
.p-lightbox__nav.is-prev { grid-column: 1; grid-row: 1; }
.p-lightbox__nav.is-next { grid-column: 3; grid-row: 1; }
.p-lightbox__count {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  color: #fff; font-family: var(--font-en); font-size: 19px; letter-spacing: .1em;
}
.p-lightbox button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* =============================================================
   11. レスポンシブ
   ============================================================= */
@media (max-width: 1020px) {
  .l-body__inner { grid-template-columns: minmax(0, 1fr) var(--sidebar-w); }
  .p-search__field { width: 150px; }
}

@media (max-width: 900px) {
  .p-sns { display: none; }
}

@media (max-width: 860px) {
  .l-body__inner { grid-template-columns: minmax(0, 1fr); }
  .l-sidebar { margin-top: 20px; }
  .l-footer__brand { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 0; }
  .l-footer__nav, .l-footer__nav:has(.l-footer__cats) { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 782px) {
  .l-header { position: sticky; top: 0; box-shadow: 0 1px 0 var(--line-2); }
  .admin-bar .l-header { top: 46px; }
  .l-masthead__inner { height: 56px; gap: 10px; }
  .l-masthead .p-search { display: none; }
  .p-burger { display: flex; }
  .p-logo a { gap: 8px; }
  .p-logo__img { height: 40px; }
  .p-logo__star { width: 34px; height: 34px; }
  .p-logo__star svg { width: 16px; height: 16px; }
  .p-logo__word { font-size: 22px; gap: 6px; }
  .p-logo__tag { font-size: 11px; padding: 3px 5px 2px; }
  .p-logo__ja { font-size: 10px; letter-spacing: .08em; margin-top: 4px; }

  /* ナビ帯は右から出るドロワーに */
  .l-gnav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 290px); z-index: 90;
    padding: 58px 0 40px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease;
  }
  .l-gnav.is-open { transform: none; box-shadow: -8px 0 26px rgba(0,0,0,.25); }
  .l-gnav .l-container { padding: 0; }
  .l-gnav__list { flex-direction: column; overflow: visible; }
  .l-gnav__list > li > a { height: auto; padding: 13px 20px; font-size: 13.5px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .l-gnav__list > li.is-current > a, .l-gnav__list > li.current-menu-item > a { box-shadow: inset 3px 0 0 var(--accent); }
  .l-gnav__search { display: block; padding: 0 16px 14px; }
  .l-gnav__search .p-search { width: 100%; height: 36px; border-color: rgba(255,255,255,.2); }
  .l-gnav__search .p-search__scope { width: 38%; }
  .l-gnav__search .p-search__field { flex: 1; width: auto; }
  .p-drawer-overlay {
    display: block; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 85;
    opacity: 0; visibility: hidden; transition: .22s; border: 0;
  }
  .p-drawer-overlay.is-open { opacity: 1; visibility: visible; }
  body.is-drawer-open { overflow: hidden; }

  .l-body { padding-top: 12px; }
  .p-breadcrumb { margin-bottom: 12px; font-size: 11px; }
  .p-pagehead { margin-bottom: 14px; }
  .p-pagehead__title { font-size: 20px; }
  .p-pagehead__icon { width: 32px; height: 32px; }
  .p-tagstrip { margin-bottom: 20px; }
  .c-bar__title { font-size: 17px; }
  .p-viewtoggle__label { display: none; }

  .c-news__inner { grid-template-columns: minmax(0, 1fr) 130px; column-gap: 12px; padding: 14px 12px 12px; }
  .c-news__title, .c-news__lead, .c-news__meta { min-width: 0; }
  .c-news__thumb { width: 130px; height: 130px; }
  .c-news__title { font-size: 15.5px; line-height: 1.45; margin: 8px 0 8px; }
  .c-news__lead { display: none; }
  .c-news__meta { line-height: 1.7; gap: 0 10px; }
  .c-news__meta::before { display: none; }
  .c-news__meta time { font-size: 12px; }
  .c-news__cats { font-size: 11px; }

  .p-news.is-grid,
  [data-hln-view="grid"] .p-news.is-switchable { column-gap: 10px; }
  :is(.p-news.is-grid, [data-hln-view="grid"] .p-news.is-switchable) .c-news__inner { padding: 14px 10px 10px; }
  :is(.p-news.is-grid, [data-hln-view="grid"] .p-news.is-switchable) .c-news__title { font-size: 14px; }
  :is(.p-news.is-grid, [data-hln-view="grid"] .p-news.is-switchable) .c-news__thumb img { max-width: 100%; }
  :is(.p-news.is-grid, [data-hln-view="grid"] .p-news.is-switchable) .c-news__thumb .c-noimage { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  :is(.p-news.is-grid, [data-hln-view="grid"] .p-news.is-switchable) .c-news__meta { display: block; line-height: 1.6; }
  :is(.p-news.is-grid, [data-hln-view="grid"] .p-news.is-switchable) .c-news__meta time { display: block; font-size: 12px; }
  :is(.p-news.is-grid, [data-hln-view="grid"] .p-news.is-switchable) .c-news__meta::before { display: none; }
  :is(.p-news.is-grid, [data-hln-view="grid"] .p-news.is-switchable) .c-news__tabs { left: 8px; }
  :is(.p-news.is-grid, [data-hln-view="grid"] .p-news.is-switchable) .c-news__headliner + .c-news__new { display: none; }
  .c-news__new, .c-news__headliner { height: 18px; font-size: 13px; }
  .c-news__new { width: 60px; }

  .p-detailhead { padding: 12px 14px; margin-bottom: 18px; }
  .p-detailhead__title { font-size: 19px; }
  .p-detailhead__meta time { font-size: 14px; }
  .p-headliner { margin-top: -8px; }
  .p-article__body { font-size: 16px; line-height: 1.85; }
  .p-gallery { scroll-margin-top: 66px; }
  .p-gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p-breadcrumb li { min-width: 0; overflow-wrap: anywhere; }
  .p-ranklist__title { -webkit-line-clamp: 2; }
  .p-nextbar { width: calc(100% - 16px); padding: 8px 12px; }
  .p-linklist__item a { gap: 12px; padding: 12px; }
  .p-linklist__title { font-size: 15px; }
  .p-linklist__img { width: 120px; height: 90px; }

  .p-lightbox { grid-template-columns: 0 minmax(0, 1fr) 0; }
  .p-lightbox__figure { padding: 58px 8px 70px; }
  .p-lightbox__nav { position: absolute; bottom: 14px; width: 52px; height: 44px; font-size: 30px; }
  .p-lightbox__nav.is-prev, .p-lightbox__nav.is-next { grid-column: auto; grid-row: auto; }
  .p-lightbox__nav.is-prev { left: calc(50% - 60px); }
  .p-lightbox__nav.is-next { right: calc(50% - 60px); }
  .p-rankswitch a { min-width: 0; flex: 1; }
}

@media (max-width: 600px) {
  .admin-bar .l-header { top: 0; }
  .p-nextread__card { grid-template-columns: minmax(0, 1fr) 128px; padding: 12px; }
  .p-nextread__img { width: 128px; height: 96px; }
  .p-nextread__title { font-size: 16px; }
}

@media (max-width: 480px) {
  .p-news.is-grid,
  [data-hln-view="grid"] .p-news.is-switchable { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 440px) {
  .p-pager__num li:nth-child(n+4) { display: none; }
  .p-pager__num .is-sep { display: none; }
  .p-detailhead__info { flex-wrap: wrap; }
}

@media (max-width: 360px) {
  .l-container { padding-inline: 12px; }
  .p-logo__word { font-size: 20px; gap: 6px; }
  .p-logo__img { height: 34px; }
  .p-logo__ja { font-size: 9px; letter-spacing: .04em; }
  .c-news__inner { grid-template-columns: minmax(0, 1fr) 100px; column-gap: 8px; padding: 12px 10px 10px; }
  .c-news__thumb { width: 100px; height: 100px; }
  .c-news__title { font-size: 14.5px; line-height: 1.45; margin: 4px 0 6px; }
  .c-news__meta { gap: 2px 8px; line-height: 1.4; }
  .c-news__meta time { font-size: 11px; letter-spacing: 0; white-space: nowrap; }
  .c-news__new { width: 52px; height: 16px; font-size: 11px; }
  .c-news__headliner { height: 16px; font-size: 10px; padding: 1px 8px 0; }
  .p-detailhead { padding: 12px; }
  .p-detailhead__title { font-size: 18px; }
  .p-shareicons { flex-wrap: wrap; }
  .p-nextread__card { grid-template-columns: minmax(0, 1fr) 108px; gap: 10px; padding: 12px; }
  .p-nextread__img { width: 108px; height: 81px; }
  .p-nextread__title { font-size: 15px; }
  .p-linklist__img { width: 100px; height: 75px; }
}

/* =============================================================
   12. WordPress 標準クラス
   ============================================================= */
.alignleft { float: left; margin: .4em 1.4em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.4em; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide, .alignfull { width: 100%; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--muted); margin-top: 6px; }

@media print {
  .l-header, .l-sidebar, .l-footer, .p-pagetop { display: none !important; }
}
