@charset "UTF-8";
/* ==========================================================================
   LifeMod デザイン v2（2026-10-03 ミヤギ）
   方針：2026年の編集メディア。1カラム、箱を使わず「余白・文字の大きさ・細い線」で
         区切る。色は墨・白・青の3つだけ。カテゴリー色は小さな文字にだけ使う。
   ⚠️v1（箱型カード・影・グラデの帯・サイドバー）は「平成のデザイン」として却下済み。
     戻さないこと。
   ⚠️全ての指定は body.lm-d の下。クラスが付かなければ元の見た目に戻る。
   ========================================================================== */

.lm-d {
  --bg: #ffffff;
  --bg-2: #f5f5f3;
  --ink: #0b0c0f;
  --ink-2: #33373f;
  --sub: #6e737c;
  --mute: #9aa0a8;
  --line: #e9e9e6;
  --accent: #2448ff;
  --accent-ink: #1a34c4;
  --accent-soft: #eef1ff;
  --mark: #fff0a0;
  --w-wide: 1200px;
  --w-text: 720px;
  --latin: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ja: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Meiryo", sans-serif;
  /* カテゴリー色（文字だけに使う） */
  --c8: #2448ff;  --c9: #00875f;  --c10: #d4560b;  --c11: #7339e6;  --c12: #d42a6b;  --c24: #8a6a3c;
}
.lm-d .lm-cat-8, .lm-d .cat-label-8, .lm-d .cat-link-8 { --cat: var(--c8); }
.lm-d .lm-cat-9, .lm-d .cat-label-9, .lm-d .cat-link-9 { --cat: var(--c9); }
.lm-d .lm-cat-10, .lm-d .cat-label-10, .lm-d .cat-link-10 { --cat: var(--c10); }
.lm-d .lm-cat-11, .lm-d .cat-label-11, .lm-d .cat-link-11 { --cat: var(--c11); }
.lm-d .lm-cat-12, .lm-d .cat-label-12, .lm-d .cat-link-12 { --cat: var(--c12); }
.lm-d .lm-cat-24, .lm-d .cat-label-24, .lm-d .cat-link-24 { --cat: var(--c24); }

/* ── 土台 ───────────────────────────────────────── */
body.lm-d {
  background: var(--bg); color: var(--ink);
  font-family: var(--latin), var(--ja);
  font-size: 16px; line-height: 1.8;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; font-feature-settings: "palt" 1;
  margin-bottom: 0 !important;
}
.lm-d a { text-decoration: none; }
.lm-d ::selection { background: #d6deff; }
.lm-d :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.lm-d .wrap { width: min(var(--w-wide), calc(100% - 64px)); }
.lm-d .container, .lm-d .content, .lm-d .main, .lm-d .header, .lm-d .header-container { background: transparent; }

/* ── ヘッダー：1行・細く・上に留める ──────────────────── */
.lm-d .header-container {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.lm-d .header-container-in {
  display: flex; align-items: center; gap: 24px;
  width: min(var(--w-wide), calc(100% - 64px)); margin: 0 auto; min-height: 64px;
}
.lm-d .header { flex: 0 0 auto; }
.lm-d .header .header-in { width: auto; min-height: 0; padding: 0; margin: 0; display: block; }
.lm-d .tagline { display: none; }
.lm-d .logo-header { margin: 0; padding: 0; text-align: left; line-height: 1; font-size: inherit; }
/* 旧ロゴ（明朝体の画像）は使わず、文字のロゴにする */
/* ⚠️display:none にすると、トップのh1（ロゴ）の中身＝画像の代替テキスト「LifeMod」まで消えて、
     h1が空になる（2026-10-04 本番確認で発覚）。見えなくするだけにして、読み上げ・検索には残す */
.lm-d .logo .site-logo-image {
  position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.lm-d .logo .site-name-text-link, .lm-d .logo a { position: relative; }
.lm-d .logo .site-name-text { display: inline-flex; align-items: center; gap: 10px; }
.lm-d .logo .site-name-text::before {
  content: ""; width: 22px; height: 22px; border-radius: 6px; flex: 0 0 auto;
  background:
    linear-gradient(135deg, transparent 0 46%, #fff 46% 54%, transparent 54%) ,
    var(--ink);
}
.lm-d .logo .site-name-text::after {
  content: "LifeMod"; font-family: var(--latin); font-weight: 800; font-size: 21px;
  letter-spacing: -.02em; color: var(--ink);
}
.lm-d #navi, .lm-d .navi { flex: 1 1 auto; background: transparent; min-width: 0; }
.lm-d #navi .navi-in { width: auto; }
.lm-d #navi .navi-in > ul > li { width: auto; height: auto; border: 0; }
.lm-d #navi .navi-in > ul > li > a {
  display: flex; align-items: center; height: 64px; padding: 0 14px;
  font-size: 14px; font-weight: 600; color: var(--ink-2); background: none; letter-spacing: .01em;
  position: relative;
}
.lm-d #navi .navi-in > ul > li > a:hover { color: var(--ink); background: none; }
.lm-d #navi .navi-in > ul > li.current-menu-item > a,
.lm-d #navi .navi-in > ul > li.current-category-ancestor > a { color: var(--ink); }
.lm-d #navi .navi-in > ul > li.current-menu-item > a::after,
.lm-d #navi .navi-in > ul > li.current-category-ancestor > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--ink);
}
.lm-d #navi .caption-wrap, .lm-d #navi .item-label { display: inline; }
@media screen and (min-width: 1024px) {
  .lm-d #navi .navi-in > ul.menu-mobile { display: none; }
  .lm-d #navi .navi-in > ul.menu-pc { display: flex; justify-content: flex-end; flex-wrap: nowrap; }
}

/* ── 本体：サイドバーを無くして1カラム ───────────────── */
.lm-d .sidebar, .lm-d #sidebar { display: none !important; }
.lm-d .content { margin-top: 0; }
.lm-d .content-in { display: block; }
.lm-d .main { width: 100%; max-width: none; float: none; margin: 0; padding: 0; border: 0; border-radius: 0; }

/* 共通：見出し（セクション） */
.lm-d .lm-sec-head { display: flex; align-items: baseline; gap: 14px; margin: 0 0 28px; padding-top: 0; }
.lm-d .lm-sec-eyebrow {
  margin: 0; font-family: var(--latin); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--mute);
}
.lm-d .main .lm-sec-title, .lm-d .main h2.lm-sec-title {
  margin: 0; padding: 0; border: 0; background: none; font-size: 24px; font-weight: 800; letter-spacing: .01em; color: var(--ink);
}
.lm-d .main .lm-sec-title::before, .lm-d .main .lm-sec-title::after { display: none; }

/* 共通：カテゴリーの小さな文字 */
.lm-d .lm-kicker, .lm-d .e-card-categorys .entry-category {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--cat, var(--accent)); background: none; padding: 0; margin: 0; border: 0;
}

/* ── トップの導入 ─────────────────────────────────── */
.lm-d .lm-intro { padding: 88px 0 72px; border-bottom: 1px solid var(--line); margin: 0 0 56px; }
.lm-d .lm-intro-eyebrow {
  margin: 0 0 20px; font-family: var(--latin); font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--sub);
}
.lm-d .main .lm-intro-title {
  margin: 0; padding: 0; border: 0; background: none;
  font-size: clamp(40px, 6.2vw, 76px); line-height: 1.18; font-weight: 800; letter-spacing: -.01em; color: var(--ink);
}
.lm-d .main .lm-intro-title::before, .lm-d .main .lm-intro-title::after { display: none; }
.lm-d .lm-intro-lead { margin: 28px 0 0; max-width: 40em; font-size: 17px; line-height: 1.95; color: var(--ink-2); }
.lm-d .lm-br-sp { display: none; }
.lm-d .lm-intro-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.lm-d .lm-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 14px; font-weight: 600;
  transition: border-color .2s, background .2s, transform .2s;
}
.lm-d .lm-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cat, var(--accent)); }
.lm-d .lm-pill:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.lm-d .lm-pill-count { font-family: var(--latin); font-size: 12px; font-weight: 600; color: var(--mute); }

/* ── 記事の一覧（カード） ───────────────────────────── */
.lm-d #list.list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; margin: 0; }
.lm-d #list > .entry-card-wrap {
  display: block; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; height: auto;
}
.lm-d #list > .entry-card-wrap:hover { background: none; }
.lm-d #list .entry-card { display: flex; flex-direction: column; gap: 16px; }
.lm-d #list .entry-card-thumb {
  float: none; width: 100%; margin: 0; position: relative; overflow: hidden;
  aspect-ratio: 16 / 9; border-radius: 14px; background: var(--bg-2);
}
.lm-d #list .entry-card-thumb::after { /* 写真の縁を1pxだけ締める */
  content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); pointer-events: none;
}
.lm-d #list .entry-card-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.lm-d #list > .entry-card-wrap:hover .entry-card-thumb img { transform: scale(1.035); }
.lm-d #list .entry-card-thumb .cat-label { display: none; }
.lm-d #list .entry-card-content { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lm-d #list .entry-card-title {
  order: 2; margin: 0; font-size: 18px; line-height: 1.55; font-weight: 700; color: var(--ink); letter-spacing: .01em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.lm-d #list > .entry-card-wrap:hover .entry-card-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.lm-d #list .entry-card-snippet { order: 3; display: none; margin: 0; font-size: 14px; line-height: 1.85; color: var(--sub); }
.lm-d #list .entry-card-meta {
  order: 1; position: static; margin: 0; padding: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 12px;
  font-size: 12px; color: var(--mute); text-align: left;
}
.lm-d #list .entry-card-meta .fa { display: none; }
.lm-d #list .entry-card-info, .lm-d #list .e-card-categorys { display: inline-flex; margin: 0; padding: 0; }
.lm-d #list .post-date, .lm-d #list .post-update { font-family: var(--latin); font-weight: 500; letter-spacing: .02em; }
.lm-d #list .e-card-categorys .entry-category + .entry-category { display: none; }

/* トップの1ページ目：大きな1本＋右に2本 */
.lm-d.home:not(.paged) #list > .entry-card-wrap:first-child { grid-column: 1 / span 2; grid-row: span 2; }
.lm-d.home:not(.paged) #list > .entry-card-wrap:first-child .entry-card-title { font-size: 32px; line-height: 1.4; -webkit-line-clamp: 4; }
.lm-d.home:not(.paged) #list > .entry-card-wrap:first-child .entry-card-snippet { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; }
.lm-d.home:not(.paged) #list > .entry-card-wrap:first-child .entry-card-thumb { border-radius: 18px; }
.lm-d.home:not(.paged) #list > .entry-card-wrap:first-child .entry-card { gap: 22px; }

/* ページ送り */
.lm-d .pagination-next { display: none; }
.lm-d .pagination { display: flex; justify-content: center; gap: 6px; margin: 72px 0 0; }
.lm-d .pagination .page-numbers {
  width: 44px; height: 44px; line-height: 44px; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg); color: var(--ink-2); font-family: var(--latin); font-size: 14px; font-weight: 600;
}
.lm-d .pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.lm-d .pagination a.page-numbers:hover { border-color: var(--ink); color: var(--ink); background: var(--bg); }
.lm-d .pagination .dots { border: 0; }

/* ── よく読まれている記事 ─────────────────────────── */
.lm-d .lm-popular { margin: 112px 0 0; padding-top: 56px; border-top: 1px solid var(--line); }
.lm-d .lm-popular-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; counter-reset: none; }
.lm-d .lm-popular-item { margin: 0; border-bottom: 1px solid var(--line); }
.lm-d .lm-popular-item a { display: grid; grid-template-columns: 56px 1fr 112px; gap: 18px; align-items: center; padding: 22px 0; color: var(--ink); }
.lm-d .lm-popular-no { font-family: var(--latin); font-size: 30px; font-weight: 800; line-height: 1; color: var(--line); letter-spacing: -.02em; transition: color .2s; }
.lm-d .lm-popular-item a:hover .lm-popular-no { color: var(--accent); }
.lm-d .lm-popular-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lm-d .lm-popular-title { font-size: 15px; line-height: 1.6; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lm-d .lm-popular-item a:hover .lm-popular-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lm-d .lm-popular-thumb img { display: block; width: 112px; height: 63px; object-fit: cover; border-radius: 8px; }

/* ── テーマから探す ───────────────────────────────── */
.lm-d .lm-topics { margin: 112px 0 0; }
.lm-d .lm-topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lm-d .lm-topic { display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.lm-d .lm-topic-visual {
  display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; margin-bottom: 12px; position: relative;
  background:
    radial-gradient(80% 90% at 85% 15%, color-mix(in srgb, var(--cat) 34%, transparent), transparent 70%),
    radial-gradient(70% 80% at 10% 100%, color-mix(in srgb, var(--cat) 18%, transparent), transparent 70%),
    var(--bg-2);
}
.lm-d .lm-topic:not(.has-img) .lm-topic-visual::after { /* 画像が届くまでの仮の図柄：細い円 */
  content: ""; position: absolute; width: 46%; aspect-ratio: 1; right: 12%; top: 18%; border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--cat) 60%, transparent);
  box-shadow: 0 0 0 18px color-mix(in srgb, var(--cat) 6%, transparent), 0 0 0 36px color-mix(in srgb, var(--cat) 4%, transparent);
}
.lm-d .lm-topic-visual img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.lm-d .lm-topic:hover .lm-topic-visual img { transform: scale(1.04); }
.lm-d .lm-topic-name { font-size: 18px; font-weight: 800; }
.lm-d .lm-topic-desc { font-size: 13.5px; line-height: 1.75; color: var(--sub); }
.lm-d .lm-topic-count { margin-top: 4px; font-family: var(--latin); font-size: 12px; font-weight: 600; color: var(--cat); letter-spacing: .02em; }

/* ── カテゴリー・検索・2ページ目 ─────────────────────── */
.lm-d.archive .main, .lm-d.search .main, .lm-d.paged .main { padding-top: 64px; }
.lm-d .archive-title {
  margin: 0 0 48px; padding: 0; border: 0; background: none;
  font-size: clamp(30px, 4vw, 48px); line-height: 1.25; font-weight: 800; color: var(--ink); letter-spacing: -.01em;
}
.lm-d .archive-title .fa { display: none; }
.lm-d .category-content, .lm-d .tag-content { margin: -24px 0 48px; padding: 0; border: 0; background: none; }

/* ── 記事 ───────────────────────────────────────── */
.lm-d.single .main, .lm-d.page .main { max-width: var(--w-text); margin: 0 auto; padding-top: 48px; }
.lm-d .main .article { background: none; border: 0; padding: 0; margin: 0; box-shadow: none; border-radius: 0; }
.lm-d .breadcrumb {
  max-width: var(--w-text); margin: 40px auto 0; padding: 0; background: none;
  font-size: 12.5px; color: var(--mute);
}
.lm-d .breadcrumb .fa { display: none; }
.lm-d .breadcrumb a { color: var(--sub); }
.lm-d .breadcrumb a:hover { color: var(--ink); }
.lm-d .breadcrumb .sp { margin: 0 6px; color: var(--line); }
.lm-d.single .breadcrumb + .main, .lm-d.single .breadcrumb ~ .main { padding-top: 20px; }

.lm-d .article .entry-title {
  margin: 0; padding: 0; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.38; font-weight: 800; letter-spacing: 0; color: var(--ink);
}
.lm-d .article-header { display: flex; flex-direction: column; }
.lm-d .article-header .entry-title { order: 1; }
.lm-d .article-header .date-tags { order: 2; }
.lm-d .article-header .lm-lead { order: 3; }
.lm-d .article-header .eye-catch-wrap { order: 4; }
.lm-d .article-header .sns-share { order: 5; }
.lm-d .date-tags {
  display: flex; justify-content: flex-start; gap: 16px; margin: 20px 0 0; padding: 0;
  font-family: var(--latin); font-size: 13px; color: var(--mute); font-weight: 500;
}
.lm-d .date-tags .fa { display: none; }
.lm-d .date-tags .post-date::before { content: "Published "; }
.lm-d .date-tags .post-update::before { content: "Updated "; }
.lm-d .lm-lead { margin: 24px 0 0; font-size: 18px; line-height: 1.9; color: var(--ink-2); }
.lm-d .eye-catch-wrap { margin: 40px 0 8px; }
.lm-d .eye-catch { margin: 0; border-radius: 18px; overflow: hidden; position: relative; }
.lm-d .eye-catch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.lm-d .eye-catch-image { display: block; width: 100%; height: auto; }
.lm-d .eye-catch .cat-label { display: none; }
@media screen and (min-width: 1100px) { /* 写真だけ本文より広く */
  .lm-d.single .eye-catch-wrap { margin-left: -90px; margin-right: -90px; }
}
.lm-d .sns-share.ss-top { display: none; }

/* 本文 */
.lm-d .article .entry-content {
  margin-top: 40px; font-family: var(--ja); font-size: 17.5px; line-height: 2; letter-spacing: .02em; color: #1b1e24;
  font-feature-settings: "palt" 0;
}
.lm-d .article .entry-content > * { margin-top: 0; }
.lm-d .article .entry-content > p { margin-bottom: 1.75em; }
.lm-d .article .entry-content a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.lm-d .article .entry-content a:hover { color: var(--accent-ink); text-decoration-thickness: 2px; }
.lm-d .article .entry-content strong { font-weight: 700; color: var(--ink); }

.lm-d .article h2 {
  margin: 88px 0 28px; padding: 0; border: 0; background: none; border-radius: 0;
  font-family: var(--latin), var(--ja); font-size: 28px; line-height: 1.45; font-weight: 800; letter-spacing: 0; color: var(--ink);
}
.lm-d .article h2::before { content: ""; display: block; width: 32px; height: 3px; margin: 0 0 22px; background: var(--ink); border: 0; position: static; }
.lm-d .article h2::after { display: none; }
.lm-d .article h3 {
  margin: 56px 0 18px; padding: 0; border: 0; background: none; border-radius: 0;
  font-size: 21px; line-height: 1.55; font-weight: 800; color: var(--ink);
}
.lm-d .article h3::before, .lm-d .article h3::after { display: none; }
.lm-d .article h4 { margin: 40px 0 14px; padding: 0; border: 0; background: none; font-size: 18px; font-weight: 800; color: var(--ink); }
.lm-d .article h4::before, .lm-d .article h4::after { display: none; }

.lm-d .article .entry-content ul, .lm-d .article .entry-content ol { padding-left: 1.4em; margin-bottom: 1.75em; }
.lm-d .article .entry-content li { margin: .5em 0; }
.lm-d .article .entry-content ul > li::marker { color: var(--mute); }
.lm-d .article .entry-content ol > li::marker { color: var(--ink); font-family: var(--latin); font-weight: 700; }

/* 目次：箱ではなく、左の細い線だけ */
.lm-d .toc {
  display: block; width: 100%; margin: 48px 0 0; padding: 4px 0 4px 24px; background: none; border: 0; border-left: 2px solid var(--ink);
  border-radius: 0; font-size: 15px; line-height: 1.75;
}
.lm-d .toc-title {
  margin: 0 0 12px; padding: 0; text-align: left; font-family: var(--latin); font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--sub);
}
.lm-d .toc-content { padding: 0; }
.lm-d .toc-list { margin: 0; padding-left: 0; list-style: none; counter-reset: lmtoc; }
.lm-d .toc-list > li { counter-increment: lmtoc; margin: .35em 0; }
.lm-d .toc-list > li > a::before { content: counter(lmtoc, decimal-leading-zero) "  "; font-family: var(--latin); font-weight: 700; color: var(--mute); white-space: pre; }
.lm-d .toc-list ol, .lm-d .toc-list ul { list-style: none; padding-left: 2.2em; margin: .2em 0 .5em; font-size: 14px; }
.lm-d .article .entry-content .toc-list a { color: var(--ink-2); text-decoration: none; }
.lm-d .article .entry-content .toc-list > li > a { font-weight: 700; color: var(--ink); }
.lm-d .article .entry-content .toc-list a:hover { color: var(--accent); text-decoration: none; }
.lm-d .toc-checkbox + .toc-title, .lm-d .toc-title .toc-checkbox, .lm-d .toc-title label { font-size: 12px; }
.lm-d .toc-list ol li::marker, .lm-d .toc-list ul li::marker { content: none; }

/* 表 */
.lm-d .article .entry-content table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: 15px; line-height: 1.75; border: 0; }
.lm-d .article .entry-content th, .lm-d .article .entry-content td { padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; background: none; }
.lm-d .article .entry-content thead th, .lm-d .article .entry-content thead td, .lm-d .article .entry-content tr:first-child th {
  border-bottom: 2px solid var(--ink); font-size: 13px; font-weight: 700; color: var(--ink); background: none;
}
.lm-d .article .entry-content tbody th { font-weight: 700; color: var(--ink); }
.lm-d .scrollable-table, .lm-d .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* 引用・コード */
.lm-d .article blockquote {
  margin: 2em 0; padding: 4px 0 4px 24px; border: 0; border-left: 2px solid var(--line); background: none; border-radius: 0;
  color: var(--ink-2); font-size: 16px;
}
.lm-d .article blockquote::before, .lm-d .article blockquote::after { display: none; }
.lm-d .article .entry-content :not(pre) > code {
  padding: .15em .45em; border-radius: 6px; background: var(--bg-2); color: var(--ink);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .86em;
}
.lm-d .article .entry-content pre {
  margin: 2em 0; padding: 20px 22px; border-radius: 14px; background: #0f1115; color: #e8e9ec; border: 0;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 14px; line-height: 1.75; overflow-x: auto;
}
.lm-d .article .entry-content pre code { background: none; padding: 0; color: inherit; font-size: inherit; }

/* マーカー：太い蛍光ではなく、下に細く */
.lm-d .marker-under, .lm-d .marker-under-blue, .lm-d .marker-under-red {
  background: linear-gradient(transparent 70%, var(--mark) 70%); font-weight: 700;
}
.lm-d .marker { background: var(--mark); }

/* 囲み：枠線と影をやめ、面の色だけ */
.lm-d .blank-box, .lm-d .info-box, .lm-d .memo-box, .lm-d .alert-box, .lm-d .question-box, .lm-d .information-box {
  margin: 2em 0; padding: 22px 26px; border: 0; border-radius: 14px; font-size: 16px; line-height: 1.9; box-shadow: none;
}
.lm-d .blank-box { background: var(--bg-2); }
.lm-d .info-box, .lm-d .information-box { background: var(--accent-soft); color: #1a2560; }
.lm-d .memo-box { background: #fff8e1; color: #4a3a08; }
.lm-d .alert-box { background: #fff0f0; color: #5c1717; }
.lm-d .question-box { background: #f4efff; color: #2b1a5c; }
.lm-d .info-box::before, .lm-d .memo-box::before, .lm-d .alert-box::before, .lm-d .question-box::before, .lm-d .information-box::before { display: none; }
.lm-d .info-box, .lm-d .memo-box, .lm-d .alert-box, .lm-d .question-box, .lm-d .information-box { padding-left: 26px; }
.lm-d .blank-box > :last-child, .lm-d .info-box > :last-child, .lm-d .memo-box > :last-child, .lm-d .alert-box > :last-child { margin-bottom: 0; }

/* 画像 */
.lm-d .article .entry-content img { border-radius: 12px; }
.lm-d .article .entry-content figure { margin: 2em 0; }
.lm-d .article .entry-content figcaption { font-size: 13px; color: var(--sub); text-align: center; margin-top: 10px; }

/* 本文中の関連記事リンク（自動挿入） */
.lm-d .article .entry-content .lm-inline-link {
  margin: 1.5em 0 2em; padding: 0 0 0 18px; border-left: 2px solid var(--accent); background: none; font-size: 15.5px; color: var(--ink-2);
}
.lm-d .article .entry-content .lm-inline-link a { font-weight: 700; }

/* 広告・PR枠は控えめに */
.lm-d .ad-area { margin: 48px 0; }
.lm-d .ad-label { font-family: var(--latin); font-size: 11px; letter-spacing: .14em; color: var(--mute); }

/* 記事の下 */
.lm-d .article-footer { margin-top: 64px; }
.lm-d .entry-categories-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.lm-d .entry-categories, .lm-d .entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.lm-d .cat-link, .lm-d .tag-link {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px; margin: 0; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink-2); font-size: 13px; font-weight: 600;
}
.lm-d .cat-link { color: var(--cat, var(--ink)); }
.lm-d .cat-link:hover, .lm-d .tag-link:hover { border-color: var(--ink); color: var(--ink); background: var(--bg); }
.lm-d .cat-link .fa, .lm-d .tag-link .fa { display: none; }
.lm-d .tag-link::before { content: "#"; color: var(--mute); margin-right: 2px; }

/* シェア：色の帯をやめ、丸いアイコンだけ */
.lm-d .sns-share.ss-bottom { margin: 0 0 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lm-d .sns-share-message { margin: 0; font-size: 0; }
.lm-d .sns-share-message::before { content: "SHARE"; font-family: var(--latin); font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--sub); }
.lm-d .ss-bottom .sns-share-buttons { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.lm-d .ss-bottom .sns-share-buttons a {
  width: 40px; height: 40px; min-height: 0; margin: 0; padding: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-2) !important; color: var(--ink) !important; border: 0; box-shadow: none; opacity: 1;
  transition: background .2s, color .2s, transform .2s;
}
.lm-d .ss-bottom .sns-share-buttons a:hover { background: var(--ink) !important; color: #fff !important; transform: translateY(-2px); }
.lm-d .ss-bottom .sns-share-buttons .button-caption, .lm-d .ss-bottom .sns-share-buttons .share-count { display: none !important; }
.lm-d .ss-bottom .sns-share-buttons .social-icon { font-size: 16px; margin: 0; }
.lm-d .sns-follow { display: none; }
.lm-d .footer-meta { display: none; }

/* 関連記事・前後の記事 */
.lm-d .under-entry-content { max-width: none; margin-top: 96px; }
.lm-d.single .main { overflow: visible; }
.lm-d .related-entries { margin: 0; padding: 56px 0 0; border: 0; border-top: 1px solid var(--line); background: none; box-shadow: none; border-radius: 0; }
.lm-d .related-entry-heading {
  margin: 0 0 28px; padding: 0; border: 0; background: none; font-size: 24px; font-weight: 800; color: var(--ink);
}
.lm-d .related-entry-heading::before, .lm-d .related-entry-heading::after { display: none; }
.lm-d .related-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
.lm-d .related-entry-card-wrap { display: block; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.lm-d .related-entry-card-wrap:hover { background: none; }
.lm-d .related-entry-card { display: flex; flex-direction: column; gap: 14px; }
.lm-d .related-entry-card-thumb { float: none; width: 100%; margin: 0; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; position: relative; }
.lm-d .related-entry-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.lm-d .related-entry-card-wrap:hover .related-entry-card-thumb img { transform: scale(1.035); }
.lm-d .related-entry-card-thumb .cat-label { display: none; }
.lm-d .related-entry-card-content { margin: 0; padding: 0; }
.lm-d .related-entry-card-title { margin: 0; font-size: 16px; line-height: 1.6; font-weight: 700; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lm-d .related-entry-card-wrap:hover .related-entry-card-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lm-d .related-entry-card-snippet, .lm-d .related-entry-card-meta { display: none; }
.lm-d .pager-post-navi { display: none; }
.lm-d .comment-area { display: none; }
.lm-d.single .lm-popular { margin-top: 96px; }
.lm-d.single .lm-popular-list { grid-template-columns: 1fr; }

/* 書き手 */
.lm-d .author-box { display: none; }

/* ── フッター ─────────────────────────────────────── */
.lm-d .footer { margin-top: 140px; background: var(--bg-2); color: var(--sub); border-top: 1px solid var(--line); }
.lm-d .footer-in { padding: 64px 0 48px; }
.lm-d .footer-bottom {
  display: grid !important; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin: 0; padding: 0; width: auto;
}
.lm-d .footer-bottom::before, .lm-d .footer-bottom::after { display: none; }
.lm-d .footer-bottom-logo { grid-column: 1; grid-row: 1; float: none; margin: 0; width: auto; }
.lm-d .footer-bottom-logo .logo { text-align: left; margin: 0; padding: 0; }
.lm-d .footer-bottom-content { grid-column: 2; grid-row: 1; float: none; margin: 0; width: auto; text-align: right; }
.lm-d .navi-footer, .lm-d .navi-footer-in { width: auto; margin: 0; }
.lm-d .navi-footer-in > .menu-footer { display: flex; justify-content: flex-end; gap: 24px; margin: 0; padding: 0; }
.lm-d .menu-footer li { border: 0 !important; margin: 0; padding: 0; width: auto; }
.lm-d .menu-footer li::before, .lm-d .menu-footer li::after { display: none; }
.lm-d .navi-footer a, .lm-d .menu-footer a { color: var(--ink-2); font-size: 13px; border: 0 !important; padding: 0; }
.lm-d .navi-footer a:hover, .lm-d .menu-footer a:hover { color: var(--ink); background: none; }
.lm-d .copyright { margin-top: 12px; font-family: var(--latin); font-size: 12px; color: var(--mute); }

/* スマホ下の固定ボタン（アプリ風の帯）は使わない。ヘッダーで足りる */
.lm-d .mobile-footer-menu-buttons, .lm-d .mobile-header-menu-buttons { display: none !important; }
.lm-d .go-to-top-button {
  width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

/* ==========================================================================
   タブレット・スマホ
   ========================================================================== */
@media screen and (max-width: 1023px) {
  .lm-d .wrap, .lm-d .header-container-in { width: calc(100% - 40px); }
  .lm-d .header-container { position: static; }
  .lm-d .header-container-in { flex-direction: column; align-items: stretch; gap: 0; min-height: 0; }
  .lm-d .header .header-in { padding: 18px 0 10px; }
  .lm-d #navi .navi-in > .menu-pc { display: none; }
  .lm-d #navi .navi-in > .menu-mobile {
    display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 4px; margin: 0 -20px; padding: 0 20px;
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .lm-d #navi .navi-in > .menu-mobile::-webkit-scrollbar { display: none; }
  .lm-d #navi .navi-in > .menu-mobile > li { flex: 0 0 auto; width: auto; }
  .lm-d #navi .navi-in > .menu-mobile > li > a { height: 46px; padding: 0 12px; font-size: 14px; white-space: nowrap; }
  .lm-d #navi .navi-in > .menu-mobile > li:first-child > a { padding-left: 0; }
  .lm-d #navi .navi-in > .menu-mobile > li.current-menu-item > a::after { left: 12px; right: 12px; }
  .lm-d #navi .navi-in > .menu-mobile > li:first-child.current-menu-item > a::after { left: 0; }
  .lm-d #list.list { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .lm-d.home:not(.paged) #list > .entry-card-wrap:first-child { grid-column: 1 / -1; grid-row: auto; }
  .lm-d .lm-topic-grid { grid-template-columns: 1fr 1fr; }
  .lm-d.single .eye-catch-wrap { margin-left: 0; margin-right: 0; }
}

@media screen and (max-width: 680px) {
  .lm-d .lm-br-sp { display: inline; }
  .lm-d .lm-br-pc { display: none; }
  .lm-d .lm-intro { padding: 48px 0 44px; margin-bottom: 40px; }
  .lm-d .main .lm-intro-title { font-size: 34px; line-height: 1.3; }
  .lm-d .lm-intro-lead { font-size: 15.5px; margin-top: 20px; }
  .lm-d .lm-intro-topics { margin-top: 28px; gap: 8px; }
  .lm-d .lm-pill { height: 36px; padding: 0 13px; font-size: 13px; }
  .lm-d .lm-sec-head { margin-bottom: 20px; }
  .lm-d .main .lm-sec-title { font-size: 20px; }
  .lm-d #list.list { grid-template-columns: 1fr; gap: 0; }
  /* 2本目以降は「文字左・写真右」の一覧（ニュースアプリの並び） */
  .lm-d #list > .entry-card-wrap { padding: 22px 0; border-bottom: 1px solid var(--line); }
  .lm-d #list > .entry-card-wrap .entry-card { display: grid; grid-template-columns: 1fr 124px; gap: 16px; align-items: start; }
  .lm-d #list > .entry-card-wrap .entry-card-thumb { grid-column: 2; grid-row: 1; border-radius: 10px; }
  .lm-d #list > .entry-card-wrap .entry-card-content { grid-column: 1; grid-row: 1; gap: 6px; }
  .lm-d #list > .entry-card-wrap .entry-card-title { font-size: 15.5px; line-height: 1.6; }
  .lm-d.home:not(.paged) #list > .entry-card-wrap:first-child { padding-top: 0; }
  .lm-d.home:not(.paged) #list > .entry-card-wrap:first-child .entry-card { display: flex; flex-direction: column; gap: 16px; }
  .lm-d.home:not(.paged) #list > .entry-card-wrap:first-child .entry-card-title { font-size: 23px; line-height: 1.45; }
  .lm-d.home:not(.paged) #list > .entry-card-wrap:first-child .entry-card-thumb { border-radius: 14px; }
  .lm-d .lm-popular, .lm-d .lm-topics { margin-top: 72px; }
  .lm-d .lm-popular { padding-top: 40px; }
  .lm-d .lm-popular-list { grid-template-columns: 1fr; }
  .lm-d .lm-popular-item a { grid-template-columns: 40px 1fr 88px; gap: 12px; padding: 18px 0; }
  .lm-d .lm-popular-no { font-size: 22px; }
  .lm-d .lm-popular-thumb img { width: 88px; height: 50px; }
  .lm-d .lm-topic-grid { gap: 28px 14px; }
  .lm-d .lm-topic-name { font-size: 16px; }
  .lm-d .lm-topic-desc { font-size: 12.5px; }

  .lm-d.single .main { padding-top: 24px; }
  .lm-d .breadcrumb { margin-top: 24px; }
  .lm-d .lm-lead { font-size: 16px; }
  .lm-d .eye-catch-wrap { margin-top: 28px; }
  .lm-d .eye-catch { border-radius: 12px; }
  .lm-d .article .entry-content { font-size: 16.5px; line-height: 1.95; }
  .lm-d .article h2 { font-size: 23px; margin-top: 68px; }
  .lm-d .article h3 { font-size: 18.5px; margin-top: 44px; }
  .lm-d .toc { margin-top: 36px; }
  .lm-d .blank-box, .lm-d .info-box, .lm-d .memo-box, .lm-d .alert-box { padding: 18px 20px; }
  .lm-d .related-list { grid-template-columns: 1fr; gap: 0; }
  .lm-d .related-entry-card-wrap { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .lm-d .related-entry-card { display: grid; grid-template-columns: 1fr 112px; gap: 14px; }
  .lm-d .related-entry-card-thumb { grid-column: 2; grid-row: 1; border-radius: 10px; }
  .lm-d .related-entry-card-content { grid-column: 1; grid-row: 1; }
  .lm-d .related-entry-card-title { font-size: 15px; }
  .lm-d .footer { margin-top: 96px; }
  .lm-d .footer-bottom { grid-template-columns: 1fr; }
  .lm-d .footer-bottom-content { grid-column: 1; grid-row: 2; text-align: left; }
  .lm-d .navi-footer-in > .menu-footer { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .lm-d *, .lm-d *::before, .lm-d *::after { transition: none !important; }
}

/* 本文中の写真（Pixabay） */
.lm-d .article .entry-content .lm-photo { margin: 56px 0 8px; }
.lm-d .article .entry-content .lm-photo img { display: block; width: 100%; height: auto; border-radius: 14px; aspect-ratio: 16 / 9; object-fit: cover; }
.lm-d .article .entry-content .lm-photo figcaption { margin-top: 10px; text-align: right; font-family: var(--latin); font-size: 11.5px; color: var(--mute); }
.lm-d .article .entry-content .lm-photo figcaption a { color: var(--mute); text-decoration: none; }
.lm-d .article .entry-content .lm-photo + h2 { margin-top: 56px; }
@media screen and (min-width: 1100px) {
  .lm-d.single .article .entry-content .lm-photo { margin-left: -90px; margin-right: -90px; }
}

/* ==========================================================================
   v2.1（2026-10-04）参考：25wall.com
   ・画面幅いっぱいの写真の導入 ・中央寄せの「英字＋日本語」見出し
   ・背景の帯（濃い／薄い）でリズム ・タブで切り替えるテーマ別の入口 ・運営者のフッター
   ========================================================================== */
.lm-d .container { overflow-x: clip; }
.lm-d .lm-hero, .lm-d .lm-band { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.lm-d .lm-band-in { width: min(var(--w-wide), calc(100% - 64px)); margin: 0 auto; }

/* 導入：写真 */
.lm-d .lm-hero {
  position: relative; display: flex; align-items: center; min-height: 560px; margin-bottom: 104px; color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 10, 16, .78) 0%, rgba(8, 10, 16, .48) 52%, rgba(8, 10, 16, .18) 100%),
    var(--hero) center 60% / cover no-repeat, #15171c;
}
.lm-d .lm-hero-in { width: min(var(--w-wide), calc(100% - 64px)); margin: 0 auto; padding: 112px 0 96px; }
.lm-d .lm-hero-eyebrow { margin: 0 0 22px; font-family: var(--latin); font-size: 13px; font-weight: 700; letter-spacing: .18em; color: rgba(255, 255, 255, .72); }
.lm-d .main .lm-hero-title {
  margin: 0; padding: 0; border: 0; background: none; color: #fff;
  font-size: clamp(40px, 6vw, 72px); line-height: 1.2; font-weight: 800; letter-spacing: -.01em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
.lm-d .main .lm-hero-title::before, .lm-d .main .lm-hero-title::after { display: none; }
.lm-d .lm-hero-lead { margin: 26px 0 0; max-width: 46em; font-size: 16.5px; line-height: 1.95; color: rgba(255, 255, 255, .86); }
.lm-d .lm-hero-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.lm-d .lm-hero .lm-pill {
  background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.lm-d .lm-hero .lm-pill:hover { background: rgba(255, 255, 255, .2); border-color: #fff; color: #fff; }
.lm-d .lm-hero .lm-pill-count { color: rgba(255, 255, 255, .6); }
.lm-d .lm-hero-credit { position: absolute; right: 16px; bottom: 12px; font-family: var(--latin); font-size: 11px; color: rgba(255, 255, 255, .5); }
.lm-d .lm-hero-credit:hover { color: #fff; }

/* 見出し：中央寄せ（英字を大きく、日本語を小さく） */
.lm-d .lm-sec-head { flex-direction: column; align-items: center; text-align: center; gap: 6px; margin: 0 0 44px; }
.lm-d .lm-sec-head::after { content: ""; width: 32px; height: 2px; margin-top: 14px; background: currentColor; opacity: .9; }
.lm-d .lm-sec-en { margin: 0; font-family: var(--latin); font-size: 36px; line-height: 1.1; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.lm-d .main .lm-sec-head .lm-sec-title, .lm-d .main h2.lm-sec-title {
  font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--sub);
}
.lm-d .lm-sec-eyebrow { display: none; }

/* 帯 */
.lm-d .lm-band { padding: 104px 0; }
.lm-d .lm-band--gray { background: var(--bg-2); }
.lm-d .lm-band--dark { background: #15171c; color: #fff; }
.lm-d .lm-band--dark .lm-sec-en { color: #fff; }
.lm-d .lm-band--dark .lm-sec-head { color: #fff; }
.lm-d .main .lm-band--dark .lm-sec-title { color: rgba(255, 255, 255, .6); }
.lm-d .lm-popular.lm-band { margin-top: 120px; border-top: 0; padding-top: 104px; }
.lm-d .lm-band + .lm-band { margin-top: 0; }
.lm-d .lm-band--dark .lm-popular-item { border-color: rgba(255, 255, 255, .1); }
.lm-d .lm-band--dark .lm-popular-item a { color: #fff; }
.lm-d .lm-band--dark .lm-popular-no { color: rgba(255, 255, 255, .2); }
.lm-d .lm-band--dark .lm-popular-item a:hover .lm-popular-no { color: #8fa6ff; }
.lm-d .lm-band--dark .lm-kicker { color: color-mix(in srgb, var(--cat, #8fa6ff) 55%, #fff); }
.lm-d .lm-topics { margin-top: 0; }

/* タブ */
.lm-d .lm-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 0 0 40px; }
.lm-d .lm-tab {
  height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font: 600 14px/1 var(--latin), var(--ja); color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.lm-d .lm-tab:hover { border-color: var(--ink); color: var(--ink); }
.lm-d .lm-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.lm-d .lm-panel { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: start; }
.lm-d .lm-panel[hidden] { display: none; }
.lm-d .lm-panel-visual {
  position: relative; display: block; overflow: hidden; border-radius: 20px; aspect-ratio: 4 / 3; background: #222; color: #fff;
}
.lm-d .lm-panel-visual img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.lm-d .lm-panel-visual:hover img { transform: scale(1.04); }
.lm-d .lm-panel-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .7) 100%); }
.lm-d .lm-panel-name { position: absolute; left: 28px; bottom: 58px; z-index: 1; font-size: 28px; font-weight: 800; color: #fff; }
.lm-d .lm-panel-desc { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 1; font-size: 14px; color: rgba(255, 255, 255, .85); }
.lm-d .lm-panel-list ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid #dcdcd8; }
.lm-d .lm-panel-list li { margin: 0; border-bottom: 1px solid #dcdcd8; }
.lm-d .lm-panel-list li a {
  position: relative; display: block; padding: 17px 28px 17px 18px; font-size: 15.5px; line-height: 1.6; font-weight: 600; color: var(--ink);
}
.lm-d .lm-panel-list li a::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--cat, var(--accent)); }
.lm-d .lm-panel-list li a::after { content: "\2192"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--mute); transition: transform .2s, color .2s; }
.lm-d .lm-panel-list li a:hover { color: var(--accent-ink); }
.lm-d .lm-panel-list li a:hover::after { transform: translate(4px, -50%); color: var(--ink); }
.lm-d .lm-more {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; margin-top: 28px; padding: 0 22px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 700;
}
.lm-d .lm-more:hover { background: var(--accent); color: #fff; }
.lm-d .lm-more-count { font-family: var(--latin); font-size: 12px; font-weight: 600; opacity: .6; }

/* フッター */
.lm-d .lm-foot { display: grid; grid-template-columns: 1.3fr 1fr 1.5fr; gap: 56px; padding: 0 0 44px; margin: 0 0 32px; border-bottom: 1px solid var(--line); text-align: left; }
.lm-d .lm-foot-logo { margin: 0 0 14px; font-family: var(--latin); font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.lm-d .lm-foot-text { margin: 0 0 14px; font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.lm-d .lm-foot-by { margin: 0; font-size: 13px; color: var(--sub); }
.lm-d .lm-foot-by a { color: var(--ink); font-weight: 600; }
.lm-d .lm-foot-h { margin: 0 0 14px; font-family: var(--latin); font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--mute); }
.lm-d .lm-foot-col ul { list-style: none; margin: 0; padding: 0; }
.lm-d .lm-foot-col li { margin: 0 0 10px; }
.lm-d .lm-foot-col a { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.lm-d .lm-foot-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.lm-d .footer-bottom-logo { display: none; }
.lm-d .footer-bottom { grid-template-columns: 1fr; }
.lm-d .footer-bottom-content { grid-column: 1; text-align: left; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.lm-d .copyright { margin: 0; }
.lm-d.home:not(.paged) .footer { margin-top: 0; }

@media screen and (max-width: 1023px) {
  .lm-d .lm-band-in, .lm-d .lm-hero-in { width: calc(100% - 40px); }
  .lm-d .lm-panel { grid-template-columns: 1fr; gap: 28px; }
  .lm-d .lm-foot { grid-template-columns: 1fr 1fr; }
  .lm-d .lm-foot-about { grid-column: 1 / -1; }
}
@media screen and (max-width: 680px) {
  .lm-d .lm-hero { min-height: 520px; margin-bottom: 72px; background:
    linear-gradient(180deg, rgba(8, 10, 16, .55) 0%, rgba(8, 10, 16, .78) 100%), var(--hero) 60% center / cover no-repeat, #15171c; }
  .lm-d .lm-hero-in { padding: 72px 0 64px; }
  .lm-d .main .lm-hero-title { font-size: 36px; line-height: 1.3; }
  .lm-d .lm-hero-lead { font-size: 15px; }
  .lm-d .lm-hero .lm-pill { height: 36px; padding: 0 13px; font-size: 13px; }
  .lm-d .lm-sec-en { font-size: 28px; }
  .lm-d .lm-sec-head { margin-bottom: 28px; }
  .lm-d .lm-band { padding: 72px 0; }
  .lm-d .lm-popular.lm-band { margin-top: 80px; padding-top: 72px; }
  .lm-d .lm-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -20px 28px; padding: 0 20px; scrollbar-width: none; }
  .lm-d .lm-tabs::-webkit-scrollbar { display: none; }
  .lm-d .lm-tab { flex: 0 0 auto; height: 40px; padding: 0 16px; font-size: 13px; }
  .lm-d .lm-panel-name { font-size: 22px; left: 20px; bottom: 50px; }
  .lm-d .lm-panel-desc { left: 20px; right: 20px; bottom: 20px; font-size: 13px; }
  .lm-d .lm-panel-list li a { font-size: 14.5px; padding: 15px 26px 15px 16px; }
  .lm-d .lm-foot { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   v2.2（2026-10-04）記事ページのサイドバー／記事の冒頭／トップの New | Popular
   参考：25wall.com
   ========================================================================== */
.lm-d .lm-ico { display: inline-block; vertical-align: -3px; flex: 0 0 auto; }

/* ── 記事ページ：本文＋サイドバー（PCだけ） ─────────────── */
@media screen and (min-width: 1024px) {
  .lm-d.single .content-in { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 56px; }
  .lm-d.single .main { flex: 1 1 auto; width: auto; min-width: 0; max-width: none; margin: 0; }
  .lm-d.single .sidebar, .lm-d.single #sidebar { display: block !important; flex: 0 0 300px; width: 300px; padding-top: 48px; }
  .lm-d.single .sidebar > :not(.lm-side):not(.sidebar-scroll),
  .lm-d.single .sidebar-scroll > :not(.lm-side) { display: none !important; }
  .lm-d.single .sidebar-scroll { position: sticky; top: 88px; margin-top: 28px; }
  .lm-d.single .eye-catch-wrap, .lm-d.single .article .entry-content .lm-photo { margin-left: 0; margin-right: 0; }
  .lm-d.single .lm-popular { display: none; }   /* 人気記事はサイドバーにある */
  .lm-d.single .breadcrumb { max-width: none; width: min(var(--w-wide), calc(100% - 64px)); }
}
@media screen and (max-width: 1023px) {
  .lm-d.single .sidebar, .lm-d.single #sidebar { display: none !important; }
}

.lm-d .lm-side { display: flex; flex-direction: column; gap: 32px; }
.lm-d .lm-side-search { display: flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.lm-d .lm-side-search input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 0; font-size: 14px; background: transparent; outline: none; }
.lm-d .lm-side-search button { width: 48px; border: 0; background: var(--ink); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lm-d .lm-side-search:focus-within { border-color: var(--ink); }

/* プロフィール */
.lm-d .lm-prof { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; text-align: center; padding: 0 22px 22px; }
.lm-d .lm-prof-cover { height: 104px; margin: 0 -22px; background-size: cover; background-position: center; }
.lm-d .lm-prof-avatar { display: block; width: 88px; height: 88px; margin: -44px auto 10px; border-radius: 50%; border: 4px solid #fff; background: #fff; object-fit: cover; position: relative; }
.lm-d .lm-prof-name { margin: 0; font-size: 17px; font-weight: 800; color: var(--ink); }
.lm-d .lm-prof-role { margin: 2px 0 14px; font-size: 12px; color: var(--sub); }
.lm-d .lm-prof-text { margin: 0 0 18px; text-align: left; font-size: 13.5px; line-height: 1.85; color: var(--ink-2); }
.lm-d .lm-prof-btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 700; }
.lm-d .lm-prof-btn:hover { background: var(--accent); color: #fff; }
.lm-d .lm-prof-links { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.lm-d .lm-prof-links a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); }
.lm-d .lm-prof-links a:hover { border-color: var(--ink); color: var(--ink); }

/* 見出し（サイドバー） */
.lm-d .sidebar .lm-side-h, .lm-d .lm-side-h {
  display: flex; align-items: center; gap: 8px; position: relative; margin: 0 0 16px; padding: 0 0 12px; border: 0; border-bottom: 1px solid var(--line);
  background: none; border-radius: 0; font-size: 15px; font-weight: 800; letter-spacing: .04em; color: var(--ink);
}
.lm-d .lm-side-h::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 48px; height: 2px; background: var(--ink); }
.lm-d .lm-side-h::before { display: none; }

/* ブログメニュー（アイコンのタイル） */
.lm-d .lm-menu-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.lm-d .lm-menu-grid a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 92px; padding: 12px 8px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 12.5px; font-weight: 700; text-align: center; line-height: 1.4;
}
.lm-d .lm-menu-grid a .lm-ico { width: 26px; height: 26px; color: var(--cat, var(--ink)); }
.lm-d .lm-menu-grid a:hover { background: var(--bg-2); color: var(--ink); }

/* 人気記事（サイドバー） */
.lm-d .lm-side-pop-item { position: relative; }
.lm-d .lm-side-rank {
  position: absolute; left: -6px; top: 10px; z-index: 1; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-family: var(--latin); font-size: 12px; font-weight: 800;
}
.lm-d .lm-side .lm-row { grid-template-columns: 104px 1fr; gap: 12px; padding: 12px 0; }
.lm-d .lm-side .lm-row-thumb img { width: 104px; height: 58px; }
.lm-d .lm-side .lm-row-title { font-size: 13.5px; -webkit-line-clamp: 3; }

/* 目次（サイドバー・追従） */
.lm-d .lm-side--toc .lm-toc-w { max-height: calc(100vh - 220px); overflow-y: auto; font-size: 13.5px; line-height: 1.7; }
.lm-d .lm-side--toc .widget-title, .lm-d .lm-side--toc .toc-title { display: none; }
.lm-d .lm-side--toc ol, .lm-d .lm-side--toc ul { list-style: none; margin: 0; padding: 0; }
.lm-d .lm-side--toc li { margin: 0; }
.lm-d .lm-side--toc li a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); color: var(--ink-2); }
.lm-d .lm-side--toc li li a { padding-left: 26px; font-size: 12.5px; color: var(--sub); }
.lm-d .lm-side--toc li a:hover { color: var(--ink); border-left-color: var(--ink); }
.lm-d .lm-side--toc .toc { margin: 0; padding: 0; border: 0; }

/* ── 記事の冒頭：題名 → カテゴリーの札・日付 → 広告表示 → リード → 写真 ── */
.lm-d .article-header { flex-direction: row; flex-wrap: wrap; align-items: center; }
.lm-d .article-header > * { width: 100%; }
.lm-d .article-header .entry-title { order: 1; }
.lm-d .article-header .lm-chip { order: 2; width: auto; margin: 22px 16px 0 0; }
.lm-d .article-header .date-tags { order: 3; width: auto; margin: 22px 0 0; }
.lm-d .article-header .lm-pr { order: 4; }
.lm-d .article-header .lm-lead { order: 5; }
.lm-d .article-header .eye-catch-wrap { order: 6; }
.lm-d .article-header .sns-share { order: 7; }
.lm-d .lm-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--cat, var(--accent)) 10%, #fff); color: var(--cat, var(--accent)); font-size: 12.5px; font-weight: 700;
}
.lm-d .lm-chip .lm-ico { width: 15px; height: 15px; }
.lm-d .lm-chip:hover { background: var(--cat, var(--accent)); color: #fff; }
.lm-d .date-tags .post-date::before, .lm-d .date-tags .post-update::before { content: none; }
.lm-d .date-tags .fa { display: inline-block; margin-right: 5px; opacity: .6; }
.lm-d .date-tags > span { margin-right: 12px; }
.lm-d .lm-pr {
  display: flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 10px 14px; border-radius: 10px;
  background: var(--bg-2); font-size: 12.5px; color: var(--sub);
}

/* ── トップ：New | Popular ───────────────────────── */
.lm-d.home:not(.paged) #list, .lm-d.home:not(.paged) .pagination, .lm-d.home:not(.paged) .pagination-next { display: none; }
.lm-d .lm-np-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; }
.lm-d .lm-np-label { margin: 0 0 16px; text-align: center; font-size: 14px; font-weight: 800; letter-spacing: .06em; color: var(--ink); }
.lm-d .lm-card { display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.lm-d .lm-card-thumb { display: block; position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.lm-d .lm-card-thumb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.lm-d .lm-card-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.lm-d .lm-card:hover .lm-card-thumb img { transform: scale(1.035); }
.lm-d .lm-card-meta { display: flex; align-items: center; gap: 12px; font-family: var(--latin); font-size: 12px; color: var(--mute); }
.lm-d .lm-card-title { font-size: 18px; line-height: 1.55; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lm-d .lm-card:hover .lm-card-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lm-d .lm-card.is-lead .lm-card-thumb { border-radius: 18px; }
.lm-d .lm-card.is-lead .lm-card-title { font-size: 26px; line-height: 1.45; }
.lm-d .lm-card-ex { font-size: 14px; line-height: 1.85; color: var(--sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lm-d .lm-np-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.lm-d .lm-np-tab {
  height: 50px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; cursor: pointer;
  font: 700 15px/1 var(--latin); letter-spacing: .02em; color: var(--mute);
}
.lm-d .lm-np-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.lm-d .lm-np-panel[hidden] { display: none; }
.lm-d .lm-row { display: grid; grid-template-columns: 136px 1fr; gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.lm-d .lm-row-thumb { display: block; }
.lm-d .lm-row-thumb img { display: block; width: 136px; height: 76px; object-fit: cover; border-radius: 8px; }
.lm-d .lm-row-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lm-d .lm-row-title { font-size: 14.5px; line-height: 1.6; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lm-d .lm-row:hover .lm-row-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lm-d .lm-row-date { display: inline-flex; align-items: center; gap: 4px; font-family: var(--latin); font-size: 12px; color: var(--mute); }
.lm-d .lm-center { text-align: center; margin-top: 56px; }
.lm-d .lm-btn-wide {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: min(420px, 100%); height: 56px;
  border-radius: 12px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .04em;
}
.lm-d .lm-btn-wide:hover { background: var(--accent); color: #fff; }
.lm-d .lm-pick.lm-band { margin-top: 112px; }
.lm-d .lm-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 28px; }
.lm-d .lm-band--dark .lm-card { color: #fff; }
.lm-d .lm-band--dark .lm-card-meta { color: rgba(255, 255, 255, .5); }
.lm-d .lm-band--dark .lm-card-thumb { background: #22252c; }

@media screen and (max-width: 1023px) {
  .lm-d .lm-np-grid { grid-template-columns: 1fr; gap: 40px; }
  .lm-d .lm-card-grid { grid-template-columns: 1fr 1fr; }
}
@media screen and (max-width: 680px) {
  .lm-d .article-header .lm-chip { margin-top: 16px; }
  .lm-d .article-header .date-tags { margin-top: 16px; }
  .lm-d .lm-card.is-lead .lm-card-title { font-size: 21px; }
  .lm-d .lm-row { grid-template-columns: 112px 1fr; gap: 14px; }
  .lm-d .lm-row-thumb img { width: 112px; height: 63px; }
  .lm-d .lm-card-grid { grid-template-columns: 1fr; gap: 0; }
  .lm-d .lm-card-grid .lm-card { display: grid; grid-template-columns: 1fr 124px; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .lm-d .lm-card-grid .lm-card-thumb { grid-column: 2; grid-row: 1 / span 2; border-radius: 10px; }
  .lm-d .lm-card-grid .lm-card-meta { grid-column: 1; grid-row: 1; }
  .lm-d .lm-card-grid .lm-card-title { grid-column: 1; grid-row: 2; font-size: 15px; }
  .lm-d .lm-center { margin-top: 40px; }
  .lm-d .lm-pick.lm-band { margin-top: 80px; }
}

/* パンくず：メインカラムの先頭に置く（2026-10-04。サイドバーの横並びを崩さないため） */
.lm-d .main .breadcrumb { max-width: none; width: auto; margin: 0 0 22px; }
.lm-d.single .main .breadcrumb { margin-top: 0; }

/* ==========================================================================
   v2.3（2026-10-04）スマホ・タブレットはハンバーガーメニュー
   ========================================================================== */
.lm-d .lm-burger, .lm-d .lm-drawer { display: none; }
@media screen and (max-width: 1023px) {
  .lm-d .header-container { position: sticky; top: 0; z-index: 100; }
  .lm-d .header-container-in { flex-direction: row; align-items: center; justify-content: space-between; min-height: 58px; gap: 12px; }
  .lm-d .header .header-in { padding: 0; }
  .lm-d #navi, .lm-d .navi { display: none !important; }
  .lm-d .logo .site-name-text::after { font-size: 19px; }
  .lm-d .logo .site-name-text::before { width: 20px; height: 20px; }
  .lm-d .lm-burger {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px;
    width: 44px; height: 44px; margin-right: -10px; padding: 0 10px; border: 0; background: none; cursor: pointer;
  }
  .lm-d .lm-burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); }
  .lm-d .lm-burger span:nth-child(2) { width: 16px; }

  .lm-d .lm-drawer:not([hidden]) {
    display: block; position: fixed; inset: 0; z-index: 1000; overflow-y: auto; background: #fff;
    padding: 0 20px calc(40px + env(safe-area-inset-bottom, 0px)); animation: lmDrawer .25s ease-out;
  }
  html.lm-nav-open, html.lm-nav-open body { overflow: hidden; }
  .lm-d .lm-drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: 58px; border-bottom: 1px solid var(--line); margin: 0 -20px 20px; padding: 0 20px; }
  .lm-d .lm-drawer-logo { font-family: var(--latin); font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
  .lm-d .lm-drawer-close { position: relative; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; }
  .lm-d .lm-drawer-close span { position: absolute; left: 11px; top: 21px; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); }
  .lm-d .lm-drawer-close span:first-child { transform: rotate(45deg); }
  .lm-d .lm-drawer-close span:last-child { transform: rotate(-45deg); }
  .lm-d .lm-drawer-search { margin-bottom: 28px; }
  .lm-d .lm-drawer-h { margin: 0 0 8px; font-family: var(--latin); font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--mute); }
  .lm-d .lm-drawer-nav { display: flex; flex-direction: column; margin-bottom: 28px; border-top: 1px solid var(--line); }
  .lm-d .lm-drawer-nav a {
    display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 4px; border-bottom: 1px solid var(--line);
    font-size: 16px; font-weight: 700; color: var(--ink);
  }
  .lm-d .lm-drawer-nav a .lm-ico { width: 22px; height: 22px; color: var(--cat, var(--ink)); }
  .lm-d .lm-drawer-nav a span { flex: 1; }
  .lm-d .lm-drawer-nav a em { font-style: normal; font-family: var(--latin); font-size: 12px; font-weight: 600; color: var(--mute); }
  .lm-d .lm-drawer-nav--sub a { font-size: 14.5px; font-weight: 600; min-height: 50px; color: var(--ink-2); }
}
@keyframes lmDrawer { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lm-d .lm-drawer { animation: none !important; } }

/* フッター下段のメニュー（2026-10-04 修正：スマホで中央にばらける・タブレットで2行に割れる）
   ⚠️Cocoon側の li の幅指定（50%・100%）と中央寄せを打ち消す */
.lm-d .footer-bottom-content { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; }
.lm-d .navi-footer, .lm-d .navi-footer-in { width: auto; margin: 0; padding: 0; }
.lm-d .navi-footer-in > .menu-footer { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px 24px; margin: 0; padding: 0; }
.lm-d .navi-footer-in > .menu-footer > li { width: auto !important; flex: 0 0 auto; margin: 0; padding: 0; border: 0 !important; text-align: left; }
.lm-d .navi-footer-in > .menu-footer > li > a { display: inline; padding: 0; white-space: nowrap; font-size: 13px; }
@media screen and (max-width: 680px) {
  .lm-d .footer-bottom-content { flex-direction: column; align-items: flex-start; }
  .lm-d .footer-in { padding: 48px 0 calc(32px + env(safe-area-inset-bottom, 0px)); }
}

/* ==========================================================================
   v2.4（2026-10-04）トップの導入を作り込み（タクヤ指示「もっとおしゃれに」）
   ・左：コピー／右：すりガラスのターミナル（/usage の残量バー）＋浮かぶチップ
   ・カテゴリーは丸ボタン→アイコン付きのカード4枚
   ⚠️右のターミナルは飾り（aria-hidden）。数字は見本で、実データではない
   ========================================================================== */
.lm-d .lm-hero {
  min-height: 640px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 70% at 78% 30%, rgba(36, 72, 255, .34), transparent 70%),
    linear-gradient(90deg, rgba(7, 9, 14, .9) 0%, rgba(7, 9, 14, .7) 50%, rgba(7, 9, 14, .5) 100%),
    var(--hero) center 60% / cover no-repeat, #0b0d12;
}
.lm-d .lm-hero::before { /* うっすらした方眼。奥行きと「道具」感 */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 80% at 70% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(70% 80% at 70% 40%, #000 30%, transparent 80%);
}
.lm-d .lm-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; background: linear-gradient(180deg, transparent, rgba(7, 9, 14, .55)); }
.lm-d .lm-hero-in {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: 64px; row-gap: 64px; align-items: center;
  padding: 104px 0 72px;
}
.lm-d .lm-hero-topics { grid-column: 1 / -1; }

/* コピー */
.lm-d .lm-hero-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 26px; font-size: 12.5px; letter-spacing: .2em; color: rgba(255, 255, 255, .78); }
.lm-d .lm-hero-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.lm-d .lm-hero-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #4ade80; opacity: 0; animation: lmPulse 2.4s ease-out infinite; }
.lm-d .lm-hero-upd { margin-left: 6px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .22); font-weight: 600; letter-spacing: .08em; color: rgba(255, 255, 255, .55); }
.lm-d .main .lm-hero-title { font-size: clamp(40px, 4.6vw, 62px); line-height: 1.2; letter-spacing: -.02em; }
.lm-d .main .lm-hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, #dfe5ff 0%, #9fb0ff 50%, #6f89ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lm-d .lm-hero-lead { margin-top: 28px; font-size: 16px; line-height: 2; color: rgba(255, 255, 255, .8); }

/* 右：ターミナル */
.lm-d .lm-hero-visual { position: relative; padding: 28px 8px 36px 28px; }
.lm-d .lm-term {
  position: relative; padding: 0 22px 20px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  font: 500 13.5px/1.7 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: rgba(255, 255, 255, .88);
}
.lm-d .lm-term-bar { display: flex; align-items: center; gap: 7px; height: 42px; margin: 0 -22px 14px; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.lm-d .lm-term-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.lm-d .lm-term-bar i:first-child { background: #ff6159; }
.lm-d .lm-term-bar i:nth-child(2) { background: #ffbd2e; }
.lm-d .lm-term-bar i:nth-child(3) { background: #28c941; }
.lm-d .lm-term-bar span { display: none; margin-left: auto; font-size: 11.5px; color: rgba(255, 255, 255, .45); }
.lm-d .lm-term p { margin: 0; }
.lm-d .lm-term-cmd { margin-bottom: 12px !important; color: #fff; }
.lm-d .lm-term-cmd b { margin-right: 8px; color: #7f97ff; }
.lm-d .lm-term-row { display: grid; grid-template-columns: 64px 1fr 40px; align-items: center; gap: 12px; margin-top: 6px; }
.lm-d .lm-term-row span:last-child { text-align: right; color: #fff; }
.lm-d .lm-term-meter { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.lm-d .lm-term-meter i { display: block; height: 100%; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, #4f6bff, #9fb0ff); transform-origin: left; animation: lmMeter 1.4s cubic-bezier(.2, .7, .2, 1) .3s both; }
.lm-d .lm-term-note { margin: 2px 0 8px 76px !important; font-size: 11.5px; color: rgba(255, 255, 255, .45); }
.lm-d .lm-term-cursor { margin: 14px 0 0 !important; }
.lm-d .lm-term-cursor::after { content: ""; display: inline-block; width: 8px; height: 16px; vertical-align: -3px; background: rgba(255, 255, 255, .8); animation: lmBlink 1.1s steps(1) infinite; }

/* 浮かぶチップ */
.lm-d .lm-hero-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 14px;
  background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45);
  font-size: 11.5px; line-height: 1.35; font-weight: 600; animation: lmFloat 6s ease-in-out infinite;
}
.lm-d .lm-hero-chip .lm-ico { flex: none; width: 30px; height: 30px; padding: 7px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); }
.lm-d .lm-hero-chip span { display: flex; flex-direction: column; color: var(--sub); }
.lm-d .lm-hero-chip b { font-family: var(--latin); font-size: 14px; font-weight: 800; color: var(--ink); }
.lm-d .lm-hero-chip--a { right: -8px; top: 0; }
.lm-d .lm-hero-chip--b { left: -4px; bottom: 0; animation-delay: -3s; }
.lm-d .lm-hero-chip--b .lm-ico { background: #e8f8ef; color: #00875f; }

/* カテゴリーのカード */
.lm-d .lm-hero-topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, .12); }
.lm-d .lm-hero-topic {
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-items: center;
  padding: 16px 44px 16px 16px; border-radius: 16px; color: #fff;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .25s, border-color .25s, transform .25s;
}
.lm-d .lm-hero-topic:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .3); color: #fff; transform: translateY(-3px); }
.lm-d .lm-hero-topic-ico {
  grid-row: 1 / 3; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: color-mix(in srgb, var(--cat, var(--accent)) 26%, transparent); color: color-mix(in srgb, var(--cat, var(--accent)) 45%, #fff);
}
.lm-d .lm-hero-topic-ico .lm-ico { width: 21px; height: 21px; }
.lm-d .lm-hero-topic-name { font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.lm-d .lm-hero-topic-count { font-family: var(--latin); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .5); }
.lm-d .lm-hero-topic-arrow { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: rgba(255, 255, 255, .4); transition: transform .25s, color .25s; }
.lm-d .lm-hero-topic:hover .lm-hero-topic-arrow { transform: translate(4px, -50%); color: #fff; }

@keyframes lmPulse { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes lmMeter { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lmBlink { 50% { opacity: 0; } }
@keyframes lmFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) {
  .lm-d .lm-hero-live::after, .lm-d .lm-term-meter i, .lm-d .lm-term-cursor::after, .lm-d .lm-hero-chip { animation: none !important; }
}

@media screen and (max-width: 1023px) {
  .lm-d .lm-hero-in { grid-template-columns: minmax(0, 1fr); row-gap: 44px; padding: 88px 0 56px; }
  .lm-d .lm-hero-visual { max-width: 460px; }
  .lm-d .lm-hero-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 680px) {
  .lm-d .lm-hero { min-height: 0;
    background: radial-gradient(90% 50% at 90% 10%, rgba(36, 72, 255, .32), transparent 70%),
      linear-gradient(180deg, rgba(7, 9, 14, .7) 0%, rgba(7, 9, 14, .88) 100%), var(--hero) 60% center / cover no-repeat, #0b0d12; }
  .lm-d .lm-hero-in { row-gap: 36px; padding: 56px 0 40px; }
  .lm-d .lm-hero-eyebrow { margin-bottom: 20px; font-size: 11.5px; }
  .lm-d .main .lm-hero-title { font-size: 36px; }
  .lm-d .lm-hero-lead { margin-top: 20px; font-size: 14.5px; line-height: 1.9; }
  .lm-d .lm-hero-visual { display: none; }
  .lm-d .lm-hero-topics { gap: 10px; padding-top: 28px; }
  .lm-d .lm-hero-topic { grid-template-columns: 1fr; padding: 14px; row-gap: 0; }
  .lm-d .lm-hero-topic-ico { grid-row: auto; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 10px; }
  .lm-d .lm-hero-topic-ico .lm-ico { width: 18px; height: 18px; }
  .lm-d .lm-hero-topic-name { font-size: 13.5px; }
  .lm-d .lm-hero-topic-arrow { top: 18px; right: 12px; transform: none; }
  .lm-d .lm-hero-topic:hover .lm-hero-topic-arrow { transform: translateX(3px); }
}
@media screen and (min-width: 1024px) and (max-width: 1199px) {
  .lm-d .lm-hero-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   v2.5（2026-10-04）記事の中の部品（タクヤ「文字を並べただけ」→作り込み）
   結論カード／分かることリスト／吹き出し／注意・補足の箱／番号つき手順／表／コード／Q&A／関連記事／出典
   ========================================================================== */
:root { --lm-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
        --lm-bulb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-3.6 10.8c.6.5 1 1.2 1 2V16h5.2v-.2c0-.8.4-1.5 1-2A6 6 0 0 0 12 3z'/%3E%3C/svg%3E");
        --lm-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5h.01'/%3E%3C/svg%3E"); }

/* 結論カード */
.lm-d .article .entry-content .lm-conclusion {
  position: relative; margin: 0 0 2.4em; padding: 26px 28px 24px; border-radius: 18px;
  background: linear-gradient(135deg, #f3f5ff 0%, #f8f9ff 60%, #fff 100%); border: 1px solid #dde3ff;
}
.lm-d .article .entry-content .lm-conclusion-h {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; padding: 5px 12px 5px 10px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
}
.lm-d .article .entry-content .lm-conclusion-h .lm-ico { width: 14px; height: 14px; }
.lm-d .article .entry-content .lm-conclusion p:last-child { margin: 0; font-size: 16.5px; line-height: 1.95; color: var(--ink); }

/* 「この記事で分かること」：チェックリストの札 */
.lm-d .article .entry-content .blank-box { padding: 24px 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(0, 0, 0, .02); }
.lm-d .article .entry-content .blank-box > p:first-child { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--sub); }
.lm-d .article .entry-content .blank-box ul { list-style: none; margin: 0; padding: 0; }
.lm-d .article .entry-content .blank-box li { position: relative; margin: .55em 0; padding-left: 32px; font-weight: 600; color: var(--ink); }
.lm-d .article .entry-content .blank-box li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 6px; background: var(--accent-soft);
}
.lm-d .article .entry-content .blank-box li::after {
  content: ""; position: absolute; left: 4px; top: calc(.28em + 4px); width: 12px; height: 12px; background: var(--accent);
  -webkit-mask: var(--lm-check) center / contain no-repeat; mask: var(--lm-check) center / contain no-repeat;
}

/* 補足（memo）・注意（info）：左にアイコン */
.lm-d .article .entry-content .memo-box, .lm-d .article .entry-content .info-box { position: relative; padding: 20px 24px 20px 64px; }
.lm-d .article .entry-content .memo-box::before, .lm-d .article .entry-content .info-box::before {
  content: ""; display: block; position: absolute; left: 22px; top: 22px; width: 24px; height: 24px; border: 0;
  -webkit-mask: var(--lm-bulb) center / contain no-repeat; mask: var(--lm-bulb) center / contain no-repeat; background: #b8860b;
}
.lm-d .article .entry-content .info-box::before { -webkit-mask-image: var(--lm-alert); mask-image: var(--lm-alert); background: var(--accent); }

/* 吹き出し */
.lm-d .article .entry-content .lm-talk { display: flex; align-items: flex-start; gap: 16px; margin: 2em 0; }
.lm-d .article .entry-content .lm-talk--reader { flex-direction: row-reverse; }
.lm-d .lm-talk-who { flex: none; width: 64px; text-align: center; }
.lm-d .lm-talk-ava { display: block; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: #e9ecf3; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); }
.lm-d .article .entry-content .lm-talk-ava img, .lm-d .lm-talk-ava svg { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.lm-d .lm-talk-name { display: block; margin-top: 8px; font-size: 11.5px; font-weight: 700; color: var(--sub); }
.lm-d .article .entry-content .lm-talk-body {
  position: relative; max-width: calc(100% - 80px); padding: 16px 20px; border-radius: 18px; background: var(--accent-soft); color: var(--ink);
  font-size: 15.5px; line-height: 1.85;
}
.lm-d .article .entry-content .lm-talk-body::before {
  content: ""; position: absolute; top: 22px; left: -7px; width: 14px; height: 14px; background: inherit; transform: rotate(45deg); border-radius: 2px;
}
.lm-d .article .entry-content .lm-talk--reader .lm-talk-body { background: #f1f2f4; }
.lm-d .article .entry-content .lm-talk--reader .lm-talk-body::before { left: auto; right: -7px; }
.lm-d .article .entry-content .lm-talk-body p { margin: 0; }
.lm-d .article .entry-content .lm-talk-body p + p { margin-top: .6em; }

/* 番号つきの手順（本文の ol） */
.lm-d .article .entry-content > ol, .lm-d .article .entry-content .lm-conclusion ol { list-style: none; padding: 0; counter-reset: lmstep; }
.lm-d .article .entry-content > ol > li { position: relative; counter-increment: lmstep; margin: 0 0 14px; padding: 2px 0 0 46px; }
.lm-d .article .entry-content > ol > li::before {
  content: counter(lmstep); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: #fff; font: 700 14px/1 var(--latin);
}
.lm-d .article .entry-content > ol > li::marker { content: none; }

/* 表：外枠を角丸で囲み、見出し行に面 */
.lm-d .article .entry-content table { border: 1px solid var(--line); border-radius: 14px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.lm-d .article .entry-content thead th, .lm-d .article .entry-content thead td { background: #f6f7f9; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink); }
.lm-d .article .entry-content tbody tr:last-child td, .lm-d .article .entry-content tbody tr:last-child th { border-bottom: 0; }
.lm-d .article .entry-content tbody td:first-child { font-weight: 600; color: var(--ink); }
.lm-d .article .entry-content tbody tr:hover td { background: #fafbfc; }
.lm-d .article .entry-content td code { white-space: nowrap; }

/* コード：上に窓の飾り */
.lm-d .article .entry-content pre { position: relative; padding-top: 46px; border: 1px solid #1f232b; box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .45); }
.lm-d .article .entry-content pre::before {
  content: ""; position: absolute; left: 18px; top: 17px; width: 10px; height: 10px; border-radius: 50%;
  background: #ff6159; box-shadow: 16px 0 0 #ffbd2e, 32px 0 0 #28c941;
}
.lm-d .article .entry-content kbd {
  display: inline-block; min-width: 1.6em; padding: .05em .45em; border: 1px solid #cfd3da; border-bottom-width: 2px; border-radius: 6px;
  background: #fff; font: 600 .82em/1.5 var(--latin); text-align: center; color: var(--ink);
}

/* Q&A */
.lm-d .article .entry-content .lm-faq { margin: 0 0 14px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.lm-d .article .entry-content .lm-faq-q { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 18px 22px; background: #f6f7f9; font-weight: 700; color: var(--ink); }
.lm-d .lm-faq-q > span, .lm-d .lm-faq-a > span {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font: 800 13px/1 var(--latin);
}
.lm-d .lm-faq-q > span { background: var(--ink); color: #fff; }
.lm-d .lm-faq-a { display: flex; gap: 12px; align-items: flex-start; padding: 18px 22px; }
.lm-d .lm-faq-a > span { background: var(--accent-soft); color: var(--accent); }
.lm-d .article .entry-content .lm-faq-a p { margin: 0; }
.lm-d .article .entry-content .lm-faq-a p + p { margin-top: .6em; }

/* 関連記事への案内：カード */
.lm-d .article .entry-content .lm-inline-link {
  position: relative; margin: 2em 0; padding: 18px 22px 18px 22px; border: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 14px; background: #fff;
}
.lm-d .article .entry-content .lm-inline-link::before {
  content: "あわせて読みたい"; display: block; margin-bottom: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; color: var(--accent);
}

/* 出典 */
.lm-d .article .entry-content .lm-sources { margin: 3em 0 0; padding: 18px 22px; border-radius: 14px; background: #f6f7f9; font-size: 13.5px; line-height: 1.9; color: var(--sub); }
.lm-d .article .entry-content .lm-sources-h { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--ink); }
.lm-d .article .entry-content .lm-sources p:last-child { margin: 0; }
.lm-d .article .entry-content .lm-sources a { color: var(--ink-2); }

@media screen and (max-width: 680px) {
  .lm-d .article .entry-content .lm-conclusion { padding: 22px 20px 20px; }
  .lm-d .article .entry-content .memo-box, .lm-d .article .entry-content .info-box { padding: 18px 18px 18px 54px; }
  .lm-d .article .entry-content .memo-box::before, .lm-d .article .entry-content .info-box::before { left: 18px; top: 20px; width: 22px; height: 22px; }
  .lm-d .lm-talk-who, .lm-d .lm-talk-ava { width: 48px; }
  .lm-d .lm-talk-ava { height: 48px; }
  .lm-d .article .entry-content .lm-talk { gap: 12px; }
  .lm-d .article .entry-content .lm-talk-body { max-width: calc(100% - 60px); padding: 14px 16px; font-size: 15px; }
  .lm-d .article .entry-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: normal; }
  .lm-d .article .entry-content table th, .lm-d .article .entry-content table td { min-width: 120px; }
  .lm-d .article .entry-content .lm-faq-q, .lm-d .article .entry-content .lm-faq-a { padding: 16px 16px; }
}

/* トップの導入（PC）：カテゴリーのカード → よくある悩みから探す（カテゴリーはヘッダーにあるため） */
.lm-d .lm-hero-faq { display: none; grid-column: 1 / -1; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .12); }
.lm-d .lm-hero-faq-h { margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: rgba(255, 255, 255, .6); }
.lm-d .lm-hero-faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lm-d .lm-hero-faq-item {
  position: relative; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 48px 12px 14px; border-radius: 14px; color: #fff;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .25s, border-color .25s, transform .25s;
}
.lm-d .lm-hero-faq-item:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .3); color: #fff; transform: translateY(-2px); }
.lm-d .lm-hero-faq-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(79, 107, 255, .28); color: #c9d3ff; }
.lm-d .lm-hero-faq-q { font-size: 15px; font-weight: 700; line-height: 1.5; }
.lm-d .lm-hero-faq-item:hover .lm-hero-topic-arrow { transform: translate(4px, -50%); color: #fff; }
@media screen and (min-width: 1024px) {
  .lm-d .lm-hero-faq { display: block; }
  .lm-d .lm-hero-in:has(.lm-hero-faq) .lm-hero-topics { display: none; }
}

/* プロフィールページ */
.lm-d .article .entry-content .lm-profile-head { display: flex; align-items: center; gap: 22px; margin: 0 0 2em; padding: 24px; border-radius: 20px; background: linear-gradient(135deg, #f3f5ff, #fff); border: 1px solid #dde3ff; }
.lm-d .article .entry-content .lm-profile-ava { flex: none; width: 104px; height: 104px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 0 0 5px #dde3ff; }
.lm-d .article .entry-content .lm-profile-name { margin: 0 0 4px; font-size: 24px; font-weight: 800; color: var(--ink); }
.lm-d .article .entry-content .lm-profile-role { margin: 0; font-size: 14px; font-weight: 600; color: var(--sub); }
@media screen and (max-width: 680px) {
  .lm-d .article .entry-content .lm-profile-head { padding: 18px; gap: 16px; }
  .lm-d .article .entry-content .lm-profile-ava { width: 76px; height: 76px; }
  .lm-d .article .entry-content .lm-profile-name { font-size: 20px; }
}

.lm-d .lm-hero-faq-list:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lm-d .article .entry-content tr:first-child th, .lm-d .article .entry-content thead th { border-bottom: 1px solid var(--line); background: #f6f7f9; }
.lm-d.page-id-489 .toc, .lm-d.page-id-48 .toc, .lm-d.page-id-42 .toc { display: none; }

/* v2.6（2026-10-04）導入をシンプルに：写真＋文章だけ（参考：25wall） */
.lm-d .lm-hero--simple { min-height: 480px;
  background: linear-gradient(90deg, rgba(7, 9, 14, .78) 0%, rgba(7, 9, 14, .45) 55%, rgba(7, 9, 14, .2) 100%), var(--hero) center 60% / cover no-repeat, #0b0d12; }
.lm-d .lm-hero--simple::before, .lm-d .lm-hero--simple::after { display: none; }
.lm-d .lm-hero--simple .lm-hero-in { display: block; padding: 96px 0 88px; }
.lm-d .lm-hero--simple .lm-hero-eyebrow { display: block; margin-bottom: 22px; font-size: 12.5px; letter-spacing: .2em; color: rgba(255, 255, 255, .7); }
.lm-d .main .lm-hero--simple .lm-hero-title { font-size: clamp(40px, 5vw, 64px); line-height: 1.22; }
.lm-d .lm-hero--simple .lm-hero-lead { max-width: 40em; }
@media screen and (max-width: 680px) {
  .lm-d .lm-hero--simple { min-height: 420px;
    background: linear-gradient(180deg, rgba(7, 9, 14, .45) 0%, rgba(7, 9, 14, .75) 100%), var(--hero) 60% center / cover no-repeat, #0b0d12; }
  .lm-d .lm-hero--simple .lm-hero-in { padding: 72px 0 56px; }
  .lm-d .main .lm-hero--simple .lm-hero-title { font-size: 34px; }
}

/* ==========================================================================
   v2.7（2026-10-04）プロフィールページ
   ========================================================================== */
.lm-d.lm-profile-page .main { max-width: 960px; margin-left: auto; margin-right: auto; }
.lm-d.lm-profile-page .article > .entry-title, .lm-d.lm-profile-page .article .date-tags,
.lm-d.lm-profile-page .article .sns-share, .lm-d.lm-profile-page .article .sns-follow, .lm-d.lm-profile-page .breadcrumb { display: none; }
.lm-d .lm-pf { margin-top: 8px; }
.lm-d .article .entry-content .lm-pf p { margin-bottom: 1.2em; }

/* 上：表紙＋アイコン＋名前 */
.lm-d .lm-pf-hero { position: relative; margin: 0 0 40px; }
.lm-d .lm-pf-cover { height: 260px; border-radius: 24px; background: #15171c center / cover no-repeat; position: relative; overflow: hidden; }
.lm-d .lm-pf-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 9, 14, .05), rgba(7, 9, 14, .45)); }
.lm-d .lm-pf-id { display: flex; align-items: flex-end; gap: 22px; margin: -66px 0 0; padding: 0 32px; position: relative; }
.lm-d .article .entry-content .lm-pf-ava { flex: none; width: 132px; height: 132px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 6px #fff, 0 12px 30px -10px rgba(0, 0, 0, .35); }
.lm-d .lm-pf-who { flex: 1; padding-bottom: 6px; }
.lm-d .article .entry-content .lm-pf-role { margin: 0 0 2px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--sub); }
.lm-d .article .entry-content .lm-pf-name { margin: 0; font-size: 34px; line-height: 1.2; font-weight: 800; color: var(--ink); }
.lm-d .lm-pf-actions { display: flex; gap: 10px; padding-bottom: 8px; }
.lm-d .article .entry-content .lm-pf-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.lm-d .article .entry-content .lm-pf-btn:hover { border-color: var(--ink); }
.lm-d .article .entry-content .lm-pf-btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.lm-d .article .entry-content .lm-pf-btn--dark:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.lm-d .article .entry-content .lm-pf-catch { margin: 28px 32px 0; font-size: 22px; line-height: 1.6; font-weight: 800; color: var(--ink); }

/* 数字 */
.lm-d .lm-pf-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 72px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.lm-d .lm-pf-stats > div { padding: 24px 20px; text-align: center; border-left: 1px solid var(--line); }
.lm-d .lm-pf-stats > div:first-child { border-left: 0; }
.lm-d .lm-pf-stats b { display: block; font-family: var(--latin); font-size: 32px; line-height: 1.1; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.lm-d .lm-pf-stats small { margin-left: 3px; font-size: 13px; font-weight: 700; color: var(--sub); }
.lm-d .lm-pf-stats span { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--sub); }

/* 各章 */
.lm-d .lm-pf-sec { margin: 0 0 80px; }
.lm-d .article .entry-content .lm-pf-en { margin: 0 0 6px; font-family: var(--latin); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.lm-d .article .lm-pf h2.lm-pf-h { margin: 0 0 28px; font-size: 28px; }
.lm-d .article .lm-pf h2.lm-pf-h::before { display: none; }
.lm-d .lm-pf-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lm-d .lm-pf-feat > div { padding: 26px 24px; border-radius: 20px; background: var(--bg-2); }
.lm-d .lm-pf-ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; background: #fff; color: var(--accent); box-shadow: 0 6px 16px -8px rgba(36, 72, 255, .5); }
.lm-d .article .lm-pf-feat h3 { margin: 0 0 8px; font-size: 17px; }
.lm-d .article .entry-content .lm-pf-feat p { margin: 0; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }

.lm-d .article .entry-content ol.lm-pf-promise { list-style: none; margin: 0 0 20px; padding: 0; counter-reset: pf; display: grid; gap: 12px; }
.lm-d .article .entry-content ol.lm-pf-promise > li {
  counter-increment: pf; position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: baseline;
  margin: 0; padding: 22px 24px 22px 76px; border: 1px solid var(--line); border-radius: 18px;
}
.lm-d .article .entry-content ol.lm-pf-promise > li::before {
  content: counter(pf, decimal-leading-zero); position: absolute; left: 24px; top: 20px; width: auto; height: auto; background: none; border-radius: 0;
  font: 800 22px/1 var(--latin); color: var(--accent);
}
.lm-d .lm-pf-promise b { font-size: 17px; color: var(--ink); }
.lm-d .lm-pf-promise span { font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.lm-d .article .entry-content .lm-pf-note { font-size: 14px; color: var(--sub); }

.lm-d .lm-pf-tools { display: flex; flex-wrap: wrap; gap: 10px; }
.lm-d .article .entry-content .lm-pf-tools a {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; transition: border-color .2s, transform .2s;
}
.lm-d .article .entry-content .lm-pf-tools a:hover { border-color: var(--ink); transform: translateY(-2px); }
.lm-d .lm-pf-tools em { font-style: normal; font-family: var(--latin); font-size: 12px; color: var(--mute); }

.lm-d .article .entry-content ul.lm-pf-time { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--line); }
.lm-d .article .entry-content ul.lm-pf-time li { position: relative; margin: 0 0 28px; padding: 0; }
.lm-d .article .entry-content ul.lm-pf-time li::before { content: ""; position: absolute; left: -36px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px #fff; }
.lm-d .article .entry-content ul.lm-pf-time li.is-next::before { background: #fff; border: 2px solid var(--accent); width: 10px; height: 10px; }
.lm-d .lm-pf-time time { display: block; margin-bottom: 4px; font-family: var(--latin); font-size: 14px; font-weight: 800; color: var(--accent); }
.lm-d .article .entry-content .lm-pf-time p { margin: 0; font-size: 15.5px; color: var(--ink); }

.lm-d .lm-pf-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lm-d .article .entry-content .lm-pf-posts a { text-decoration: none; }
.lm-d .article .entry-content .lm-pf-posts img { border-radius: 14px; }

.lm-d .lm-pf-cta { margin: 0 0 40px; padding: 44px 40px; border-radius: 24px; text-align: center; color: #fff;
  background: radial-gradient(80% 120% at 85% 0%, rgba(36, 72, 255, .45), transparent 60%), #0f1116; }
.lm-d .article .entry-content .lm-pf-cta-h { margin: 0 0 10px; font-size: 22px; font-weight: 800; color: #fff; }
.lm-d .article .entry-content .lm-pf-cta p { color: rgba(255, 255, 255, .78); }
.lm-d .article .entry-content .lm-pf-btn--light { margin-top: 8px; background: #fff; color: var(--ink); border-color: #fff; }

@media screen and (max-width: 768px) {
  .lm-d .lm-pf-cover { height: 180px; border-radius: 18px; }
  .lm-d .lm-pf-id { flex-wrap: wrap; gap: 14px; margin-top: -52px; padding: 0 18px; }
  .lm-d .article .entry-content .lm-pf-ava { width: 104px; height: 104px; }
  .lm-d .lm-pf-who { flex-basis: calc(100% - 120px); }
  .lm-d .article .entry-content .lm-pf-name { font-size: 28px; }
  .lm-d .lm-pf-actions { width: 100%; }
  .lm-d .article .entry-content .lm-pf-btn { flex: 1; justify-content: center; }
  .lm-d .article .entry-content .lm-pf-catch { margin: 22px 18px 0; font-size: 19px; }
  .lm-d .lm-pf-stats { grid-template-columns: repeat(2, 1fr); margin-bottom: 56px; }
  .lm-d .lm-pf-stats > div:nth-child(3) { border-left: 0; }
  .lm-d .lm-pf-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lm-d .lm-pf-stats b { font-size: 26px; }
  .lm-d .lm-pf-feat, .lm-d .lm-pf-posts { grid-template-columns: 1fr; }
  .lm-d .article .entry-content ol.lm-pf-promise > li { grid-template-columns: 1fr; gap: 6px; padding: 20px 20px 20px 64px; }
  .lm-d .article .entry-content ol.lm-pf-promise > li::before { left: 20px; }
  .lm-d .lm-pf-sec { margin-bottom: 60px; }
  .lm-d .lm-pf-cta { padding: 36px 22px; }
}

.lm-d.lm-profile-page .entry-title, .lm-d.lm-profile-page .article-header .entry-title { display: none; }
.lm-d .lm-pf-id { align-items: flex-start; }
.lm-d .lm-pf-who { padding: 78px 0 0; }
.lm-d .lm-pf-actions { padding: 84px 0 0; }
.lm-d .article .entry-content .lm-pf-posts .lm-card, .lm-d .article .entry-content .lm-pf-posts .lm-card * { color: var(--ink); text-decoration: none; }
.lm-d .article .entry-content .lm-pf-posts .lm-card:hover .lm-card-title { color: var(--accent); }
@media screen and (max-width: 768px) {
  .lm-d .lm-pf-who { padding-top: 60px; }
  .lm-d .lm-pf-actions { padding-top: 4px; }
}

@media screen and (max-width: 768px) {
  .lm-d .lm-pf-who { flex-basis: 100%; padding-top: 0; }
  .lm-d .article .entry-content .lm-pf-btn { white-space: nowrap; padding: 0 14px; font-size: 13.5px; }
}

.lm-d .lm-pf-works { display: grid; gap: 12px; margin-bottom: 18px; }
.lm-d .lm-pf-works > div { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.lm-d .lm-pf-works .lm-pf-ico { flex: none; margin: 0; background: var(--accent-soft); box-shadow: none; }
.lm-d .article .lm-pf-works h3 { margin: 2px 0 6px; font-size: 17px; }
.lm-d .article .entry-content .lm-pf-works p { margin: 0; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }

/* 2026-10-04 プロフィールの表紙を専用写真（白い机）に。暗い影は薄く */
.lm-d .lm-pf-cover::after { background: linear-gradient(180deg, rgba(7, 9, 14, 0), rgba(7, 9, 14, .12)); }

/* 2026-10-04 ロゴを1枚の画像に（マークと文字のずれ防止）。旧：文字と四角を別々に重ねていた */
.lm-d .logo .site-name-text::before, .lm-d .logo .site-name-text::after { content: none !important; display: none !important; }
.lm-d .logo .site-logo-image {
  position: static !important; width: auto !important; height: 24px !important; max-width: none; overflow: visible;
  clip: auto; clip-path: none; margin: 0; display: block;
}
.lm-d .lm-np-label::before, .lm-d .lm-np-label::after { content: none !important; }
@media screen and (max-width: 1023px) { .lm-d .logo .site-logo-image { height: 22px !important; } }

/* 2026-10-04 PCのヘッダー検索（タクヤ承認） */
.lm-d .lm-hsearch { display: none; position: relative; }
@media screen and (min-width: 1024px) {
  .lm-d .header-container-in { display: flex; align-items: center; }
  .lm-d .lm-hsearch { display: block; flex: 0 0 auto; margin-left: 4px; }
}
.lm-d .lm-hsearch-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; transition: background .2s; }
.lm-d .lm-hsearch-btn:hover, .lm-d .lm-hsearch-btn[aria-expanded="true"] { background: var(--bg-2); }
.lm-d .lm-hsearch-form:not([hidden]) {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 50; display: flex; width: 380px; padding: 8px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .25);
}
.lm-d .lm-hsearch-form input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 0; font-size: 14px; outline: none; background: transparent; }
.lm-d .lm-hsearch-form button { height: 42px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }

/* 2026-10-04 トップの一番下：小さなプロフィールの帯（タクヤ承認） */
.lm-d .lm-about-band { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 72px 0; background: #fff; border-top: 1px solid var(--line); }
.lm-d .lm-about-in { width: min(var(--w-wide), calc(100% - 64px)); margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.lm-d .lm-about-ava { flex: none; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
.lm-d .lm-about-txt { flex: 1; min-width: 0; }
.lm-d .lm-about-en { margin: 0 0 4px; font-family: var(--latin); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.lm-d .lm-about-name { margin: 0 0 6px; font-size: 20px; font-weight: 800; color: var(--ink); }
.lm-d .lm-about-name span { margin-left: 12px; font-size: 13px; font-weight: 600; color: var(--sub); }
.lm-d .lm-about-desc { margin: 0; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.lm-d .lm-about-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
.lm-d .lm-about-btn:hover { background: var(--accent); color: #fff; }
@media screen and (max-width: 768px) {
  .lm-d .lm-about-band { padding: 52px 0; }
  .lm-d .lm-about-in { width: calc(100% - 40px); flex-wrap: wrap; gap: 16px; }
  .lm-d .lm-about-ava { width: 64px; height: 64px; }
  .lm-d .lm-about-txt { flex-basis: calc(100% - 80px); }
  .lm-d .lm-about-name span { display: block; margin: 2px 0 0; }
  .lm-d .lm-about-btn { width: 100%; justify-content: center; }
}

/* 2026-10-04 タクヤ指示：PC以外（1023px以下）は大きな「New Post」を出さず、一覧の先頭に入れる */
.lm-d .lm-row.lm-sp-only { display: none; }
@media screen and (max-width: 1023px) {
  .lm-d .lm-np-main { display: none; }
  .lm-d .lm-row.lm-sp-only { display: grid; }
}

/* 2026-10-04 タクヤ指示：PC以外でヒーロー・Topicsの背景の幅を調整
   ・画面幅いっぱいの帯を 100vw ではなく「親の幅＋左右20px」で広げる（スマホのブラウザで横にずれない）
   ・テーマの切り替えボタンは横にはみ出さず、2列で折り返す
   ・写真の上のテーマ名と説明文が重ならないよう、下から順に積む */
@media screen and (max-width: 1023px) {
  .lm-d .lm-hero, .lm-d .lm-band, .lm-d .lm-about-band { width: calc(100% + 40px); margin-left: -20px; margin-right: -20px; }
  .lm-d .lm-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; overflow: visible; margin: 0 0 28px; padding: 0; }
  .lm-d .lm-tab { width: 100%; padding: 0 10px; font-size: 13.5px; white-space: nowrap; }
}
.lm-d .lm-panel-visual { display: flex; flex-direction: column; justify-content: flex-end; }
.lm-d .lm-panel-visual img { position: absolute; inset: 0; }
.lm-d .lm-panel-name, .lm-d .lm-panel-desc { position: relative; left: auto; right: auto; bottom: auto; z-index: 1; padding: 0 28px; }
.lm-d .lm-panel-name { margin: 0 0 6px; line-height: 1.3; }
.lm-d .lm-panel-desc { margin: 0 0 26px; line-height: 1.7; }
@media screen and (max-width: 680px) {
  .lm-d .lm-panel-name, .lm-d .lm-panel-desc { padding: 0 20px; }
  .lm-d .lm-panel-name { font-size: 22px; }
  .lm-d .lm-panel-desc { margin-bottom: 20px; font-size: 13px; }
}

/* 2026-10-04 タクヤ指示：PC以外はヒーローを低く、Topicsの画像を横長に */
@media screen and (max-width: 1023px) {
  .lm-d .lm-hero--simple { min-height: 0; }
  .lm-d .lm-hero--simple .lm-hero-in { padding: 44px 0 40px; }
  .lm-d .lm-hero--simple .lm-hero-eyebrow { margin-bottom: 14px; }
  .lm-d .lm-hero--simple .lm-hero-lead { margin-top: 14px; }
  .lm-d .lm-panel-visual { aspect-ratio: 16 / 9; }
}
@media screen and (max-width: 680px) {
  .lm-d .lm-hero--simple .lm-hero-in { padding: 36px 0 32px; }
  .lm-d .main .lm-hero--simple .lm-hero-title { font-size: 30px; }
  .lm-d .lm-hero--simple .lm-hero-lead { font-size: 13.5px; line-height: 1.8; }
  .lm-d .lm-panel-name { font-size: 20px; }
  .lm-d .lm-panel-desc { margin-bottom: 16px; }
}

/* 2026-10-04 タクヤ指示：スマホ版の配置を整える
   ・Pickup・カテゴリー一覧の画像を左に（Newの一覧とそろえる）
   ・Topicsの記事リストは4本まで ・プロフィールの帯はアイコンと名前を横並び ・フッターのカテゴリーは2列 */
@media screen and (max-width: 680px) {
  .lm-d .lm-card-grid .lm-card { grid-template-columns: 124px 1fr; }
  .lm-d .lm-card-grid .lm-card-thumb { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .lm-d .lm-card-grid .lm-card-meta { grid-column: 2; grid-row: 1; }
  .lm-d .lm-card-grid .lm-card-title { grid-column: 2; grid-row: 2; }

  .lm-d #list > .entry-card-wrap .entry-card { grid-template-columns: 124px 1fr; }
  .lm-d #list > .entry-card-wrap .entry-card-thumb { grid-column: 1; }
  .lm-d #list > .entry-card-wrap .entry-card-content { grid-column: 2; }

  .lm-d .lm-panel-list li:nth-child(n+5) { display: none; }

  .lm-d .lm-about-in { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; row-gap: 0; align-items: center; }
  .lm-d .lm-about-txt { display: contents; }
  .lm-d .lm-about-ava { grid-column: 1; grid-row: 1 / span 2; }
  .lm-d .lm-about-en { grid-column: 2; grid-row: 1; align-self: end; }
  .lm-d .lm-about-name { grid-column: 2; grid-row: 2; align-self: start; margin: 0; }
  .lm-d .lm-about-desc { grid-column: 1 / -1; grid-row: 3; margin-top: 16px; }
  .lm-d .lm-about-btn { grid-column: 1 / -1; grid-row: 4; margin-top: 18px; }

  .lm-d .lm-foot-col:first-of-type ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
}

@media screen and (max-width: 680px) {
  .lm-d .lm-foot-by a:last-child { display: block; margin-top: 8px; }
}

@media screen and (min-width: 1024px) { .lm-d .lm-hero--simple .lm-hero-lead { max-width: 50em; } }

/* 2026-10-04 ヒーローの文章：言葉の途中で折り返さない（対応ブラウザのみ） */
.lm-d .lm-hero-title, .lm-d .lm-hero-lead { word-break: auto-phrase; }
