/* 案件固有のスタイル。型(styles.css)は編集禁止 — 上書きはすべてここに書く。
   読み込み順は styles.css → custom.css なので、同じセレクタ/変数はこちらが勝つ。 */

:root {
  --mold-version: 9;
  /* font-preset: serene */
  --lh-body: 1.95;
  --lh-display: 1.35;
  --ls-en: .10em;
  --ls-body: .02em;
  --ls-display: .04em;
  --fw-strong: 700;
  --fw-body: 400;
  --fw-display: 700;
  /* 書体と配色は 命 ブランドガイドライン（YASHIRO のスライド deck ed60f9cc・2026-10・主君 10/17 15:1x・箱の主君の追加 6）。
     書体: 見出し＝しっぽり明朝 太字／本文＝しっぽり明朝／画面の小さい文字・欧文・数字＝Noto Sans JP（--font-ui・--font-en）。
     色は 3 つだけ: 墨 #0B0A0F（地・ロゴ・本文）／金 #D2A70A（線・見出しの要所。⛔ 面に使わない）／白 #FFFFFF。
     金は白の上で字にすると 2.2:1（門 G12 に落ちる）＝白の上の字は墨、金は線と墨の地の上の字だけ。--gold は「白の上で金だった字」の受け口＝墨。--muted と --line は墨の薄め */
  --font-en: "Noto Sans JP", sans-serif;
  --font-ui: "Noto Sans JP", sans-serif;
  --font-body: "Shippori Mincho", serif;
  --font-display: "Shippori Mincho", serif;
  --ink: var(--brand-primary, #0b0a0f);
  --paper: #ffffff;
  --soft: #ffffff;
  --gold: var(--brand-primary, #0b0a0f);
  --gold-hi: var(--brand-accent, #d2a70a);
  --muted: rgba(11, 10, 15, .74);
  --line: rgba(11, 10, 15, .14);
}

/* ルートAヒーロー(make_hero_bg.py の出力座標)はここに書く */

body { background: var(--paper); color: var(--ink); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 99; padding: 10px 16px; background: var(--ink); color: #fff; }
.skip:focus { left: 12px; top: 12px; }
.kon { color: var(--gold); font-size: .92em; }

/* ── ヘッダー（下層とスマホ）。トップの PC は FV の中のナビを使い、FV を過ぎたら出す ── */
.site-header { background: rgba(255, 255, 255, .94); border-bottom-color: var(--line); }
.brand__mark { width: 30px; height: 30px; }
.brand__text { font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; font-size: clamp(1.1rem, 1.6vw, 1.4rem); }
.nav { font-family: var(--font-ui); font-size: .95rem; align-items: center; }
.nav a[aria-current] { color: var(--gold); background-size: 100% 1px; }
.nav .nav__cta { padding: 6px 12px; border-bottom: 2px solid var(--ink); background: none; }
.nav-overlay { background: var(--paper); }
.head-cta { display: none; }
@media (max-width: 1040px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .head-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; background: var(--ink); color: #fff; font-size: .85rem; font-weight: 500; letter-spacing: .04em; }
}
@media (max-width: 360px) { .head-cta { padding: 0 10px; font-size: .78rem; } .brand__text { font-size: 1rem; } }
@media (min-width: 1041px) {
  .is-top .site-header, .is-loaded.is-top .site-header { opacity: 0; visibility: hidden; transform: translateY(-100%); pointer-events: none; transition: opacity .5s var(--ease-out-expo), transform .5s var(--ease-out-expo), visibility 0s .5s; }
  .is-loaded.is-top.is-scrolled .site-header { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
}

/* ── ルートAヒーロー（FV D）: カンプの文字と約束の帯の印だけ消した背景（make_hero_bg.py・fv-bg.json）に、消した座標どおり HTML を置く ── */
.hero--locked-fv {
  position: relative;
  padding-top: 0;
  aspect-ratio: 1376 / 768;
  background: url("assets/fv-bg.jpg") center / cover no-repeat;
  container-type: inline-size;
  overflow: hidden;
  --fv-gold: var(--brand-accent, #d2a70a);
  --fv-ink: var(--brand-primary, #0b0a0f);
}
.fv-brand { position: absolute; left: 2.1%; top: 2.73%; display: flex; align-items: center; gap: .72cqw; color: var(--ink); z-index: 2; }
.fv-seal { width: 3.42cqw; height: 3.42cqw; }
.fv-brand span { font-family: var(--font-display); font-weight: 700; font-size: 2.15cqw; letter-spacing: .01em; line-height: 1.3; }
.fv-nav { position: absolute; left: 56.69%; top: 4.0%; display: flex; align-items: center; gap: 2.72cqw; font-family: var(--font-ui); font-weight: 700; font-size: 1.36cqw; line-height: 1.3; z-index: 2; }
.fv-nav a { color: var(--ink); background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .35s var(--ease-out-expo), color .35s; padding-bottom: .15cqw; }
.fv-nav a:hover, .fv-nav a:focus-visible { background-size: 100% 1px; color: var(--gold); }
.fv-nav__cta { position: absolute; left: 84.81%; top: 2.73%; width: 12.94cqw; height: 3.34cqw; display: inline-flex; align-items: center; justify-content: center; background: var(--fv-ink); color: var(--fv-gold); font-family: var(--font-ui); font-weight: 700; font-size: 1.3cqw; letter-spacing: .02em; z-index: 2; transition: background .35s, color .35s; }
.fv-nav__cta:hover, .fv-nav__cta:focus-visible { background: var(--fv-gold); color: var(--fv-ink); }
.fv-eyebrow { position: absolute; left: 0; right: 0; top: 19.4%; margin: 0; height: 1.2em; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 1.95cqw; line-height: 1.2; color: var(--ink);  /* カンプの金 #b39d5b は和紙の上で 2.3:1。大きい太字の 3:1 を越える濃さへ落とした（門 G21・B02） */ letter-spacing: .02em; }
.fv-copy { position: absolute; left: 0; right: 0; top: 25.4%; text-align: center; }
.fv-copy h1 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 4.5cqw; line-height: 1.27; letter-spacing: .005em; color: var(--ink); }
.fv-lead { position: absolute; left: 0; right: 0; top: 48.05%; margin: 0; text-align: center; font-family: var(--font-ui); font-weight: 700; font-size: 1.4cqw; line-height: 1.7; color: var(--ink); letter-spacing: .01em; white-space: nowrap; }
.fv-actions { position: absolute; left: 41.86%; top: 55.99%; z-index: 2; }
.fv-btn { display: inline-flex; align-items: center; justify-content: center; gap: .9cqw; width: 16.21cqw; height: 4.07cqw; background: var(--fv-ink); color: var(--fv-gold); font-family: var(--font-ui); font-weight: 700; font-size: 1.36cqw; letter-spacing: .02em; position: relative; overflow: hidden; transition: transform .35s var(--ease-out-expo); }
.fv-btn::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold-hi); transition: width .45s var(--ease-out-expo); }
.fv-btn:hover, .fv-btn:focus-visible { transform: translateY(-2px); }
.fv-btn:hover::after, .fv-btn:focus-visible::after { width: 100%; }
/* 水墨の山と金の日輪: 背景と同じ座標（カンプの 300,492–1076,648）に、同じ切り出し（make_hero_assets.py の fv-hero.jpg）を本物の画像として置く＝alt で読める */
.hero__photo-wrap { position: absolute; left: 21.8%; top: 64.06%; width: 56.4%; margin: 0; }
.hero__photo { width: 100%; height: auto; aspect-ratio: 776 / 156; object-fit: cover; }
.hero--d .hero__photo-wrap { container-type: normal; overflow: hidden; }
.hero--d .hero__photo-wrap::before { display: none; }  /* 型の写真の左端の白いぼかし（split 用）は D の山の帯では使わない */
/* 約束の帯（白い帯は背景に残し、印と字だけ HTML）。経営戦略シートのユニーク 3 つ */
.fv-promises { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.fv-promises li { position: absolute; top: 89.2%; display: flex; align-items: center; gap: 1.45cqw; }
.fv-promises li:nth-child(1) { left: 9.59%; }
.fv-promises li:nth-child(2) { left: 37.5%; }
.fv-promises li:nth-child(3) { left: 67.37%; }
.fv-promises svg { flex: none; width: 2.98cqw; height: 2.98cqw; fill: none; stroke: var(--fv-gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fv-promises p { margin: 0; display: grid; gap: .55cqw; }
.fv-promises strong { font-family: var(--font-ui); font-weight: 700; font-size: 1.6cqw; line-height: 1.15; color: var(--ink); letter-spacing: .01em; }
.fv-promises span { font-family: var(--font-ui); font-weight: 500; font-size: 1.22cqw; line-height: 1.2; color: var(--ink); letter-spacing: .01em; }
.proof-band, .service, .quality { overflow-x: clip; }  /* left/right の reveal の出発点（36px 外）で頁幅を広げない（門 G20）。現れた後の中身は切らない */
.hero--locked-fv h1 .l { padding-block: .08em; margin-block: -.08em; }
.hero--locked-fv h1 .l > span { white-space: normal; }
@media (prefers-reduced-motion: no-preference) {
  .fv-brand, .fv-nav, .fv-nav__cta, .fv-eyebrow, .fv-lead, .fv-actions, .fv-promises li { animation: fvIn .8s var(--ease-out-expo) both; }
  .fv-nav, .fv-nav__cta { animation-delay: .05s; }
  .fv-eyebrow { animation-delay: .1s; }
  .fv-lead { animation-delay: .3s; }
  .fv-actions { animation-delay: .45s; }
  .fv-promises li:nth-child(1) { animation-delay: .6s; }
  .fv-promises li:nth-child(2) { animation-delay: .72s; }
  .fv-promises li:nth-child(3) { animation-delay: .84s; }
}
@keyframes fvIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── 本文の節 ── */
h1, h2, h3 { font-family: var(--font-display); }
h2 { font-weight: 700; color: var(--ink); }
.eyebrow { font-family: var(--font-display); font-weight: 700; color: var(--gold); letter-spacing: .3em; font-size: .95rem; }
.eyebrow::before { background: var(--gold); }
.ghost { color: rgba(11, 10, 15, .05); font-family: var(--font-en); }
.ghost { visibility: hidden; }
.fonts-ready .ghost { visibility: visible; }  /* 飾りの大きな英字（aria-hidden）は書体が読み終わってから見せる。FV D はスマホの最初の画面が短く「志」の Purpose が画面に入り、書体の差し替えで動いた（門 B06 CLS 0.004→線 0） */
.section__head::after { content: ""; display: block; width: 0; height: 1px; margin-top: 22px; background: var(--gold-hi); transition: width 1.1s var(--ease-out-expo) .3s; }
.section__head.is-visible::after { width: 72px; }

/* 志 */
.concept { background: var(--paper); }
.concept__vertical { color: var(--gold); }
.concept h2 { font-size: clamp(2.2rem, 4.2vw, 3.9rem); line-height: 1.3; }
.concept .section__lead p { color: var(--muted); margin: 0 0 1em; }
.concept__fullbleed img { height: min(58vh, 560px); }
.concept__fullbleed figcaption { font-family: var(--font-display); letter-spacing: .14em; }

.marquee { background: var(--paper); border-color: var(--line); }
.marquee__inner { color: rgba(11, 10, 15, .55); font-family: var(--font-en); font-size: clamp(1.4rem, 2.6vw, 2.4rem); }

/* 実証（墨の地に金の数字） */
.numbers { background: var(--ink); color: #fff; }
.numbers__bg { opacity: .55; }
.numbers__kicker { color: var(--gold-hi); }
.numbers__head { position: relative; z-index: 1; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.numbers__head h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.numbers__head p { color: rgba(255, 255, 255, .82); line-height: 2; margin: 0; }
.numbers__grid { grid-template-columns: repeat(3, 1fr); }
.numbers__grid strong { font-family: var(--font-display); color: var(--gold-hi); }
.numbers__grid strong em { color: #fff; }
.numbers__grid > div > span { color: rgba(255, 255, 255, .86); line-height: 1.8; font-size: .98rem; }
.numbers__source { position: relative; z-index: 1; margin: clamp(28px, 4vw, 48px) 0 0; font-size: .95rem; line-height: 1.9; color: rgba(255, 255, 255, .78); }
.numbers__source a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }

/* 入口（写真と交互） */
.proof-band { background: var(--soft); }
.proof-band__head { margin-bottom: clamp(40px, 6vw, 80px); }
.proof-band__head h2 { color: var(--ink); }
.proof-band__sub, .service__sub { color: var(--muted); line-height: 2; margin: 0; max-width: 680px; }
.proof-row__text h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 700; margin: 0 0 16px; color: var(--ink); line-height: 1.4; }
.proof-row__text p { color: var(--muted); }
.proof-row__num { color: var(--gold); }
.more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--gold-hi); transition: color .3s; }
.more:hover, .more:focus-visible { color: var(--gold); }

/* 事業（4 本の柱） */
.service { background: var(--paper); }
.service-grid--four { grid-template-columns: repeat(4, 1fr); }
.service-card figure img { aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: top; }
.service-card figure { border-bottom: 1px solid var(--line, rgba(11, 10, 15, .12)); } /* 事業のサイトの最初の画面の写し（主君 10/17 14:3x）。写しの白い地とカードの地の境に細い線 */
.service-card span { color: var(--gold); font-family: var(--font-display); letter-spacing: .2em; }
.service-card h3 { font-weight: 700; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.45; }
.service-card strong { color: var(--gold); font-family: var(--font-en); font-size: 1.05rem; letter-spacing: .06em; }

/* 導入（ロゴの壁） */
.logos { background: #fff; }
.logo-wall { list-style: none; margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.logo-wall li { display: grid; place-items: center; padding: clamp(18px, 2.4vw, 30px); background: #fff; }
.logo-wall img { width: auto; max-width: 100%; height: auto; max-height: 56px; object-fit: contain; filter: grayscale(1); opacity: .82; transition: filter .4s, opacity .4s; }
.logo-wall li:hover img { filter: none; opacity: 1; }

/* 約束 */
.quality { background: var(--ink); color: #fff; }
.quality h2 { color: #fff; font-size: clamp(1.7rem, 2.5vw, 2.5rem); }
.quality .eyebrow { color: var(--gold-hi); }
.quality__badge { background: var(--paper); color: var(--ink); }
.quality__badge strong { font-family: var(--font-display); }
.promise-list { list-style: none; counter-reset: p; margin: 28px 0; padding: 0; display: grid; gap: 24px; }
.promise-list li { counter-increment: p; position: relative; padding: 0 0 22px 64px; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.promise-list li::before { content: "0" counter(p); position: absolute; left: 0; top: -.1em; font-family: var(--font-en); font-size: 2.2rem; line-height: 1; color: var(--gold-hi); }
.promise-list h3 { margin: 0 0 8px; font-size: clamp(1.15rem, 1.7vw, 1.45rem); font-weight: 700; color: #fff; }
.promise-list p { margin: 0; color: rgba(255, 255, 255, .8); line-height: 1.95; }
.quality-track span { background: transparent; border: 1px solid rgba(210, 167, 10, .55); color: #fff; }

/* 最後の押す物（トップと下層で同じ部品） */
.closing { position: relative; overflow: hidden; padding: clamp(96px, 11vw, 160px) var(--pad-x); background: var(--ink); color: #fff; text-align: center; }
.closing__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.closing__in { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; display: grid; justify-items: center; gap: 18px; }
.closing .eyebrow { color: var(--gold-hi); margin: 0; }
.closing .eyebrow::before { background: var(--gold-hi); }
.closing h2 { color: #fff; margin: 0; font-size: clamp(1.8rem, 3.2vw, 3rem); }
.closing p { margin: 0; color: rgba(255, 255, 255, .86); line-height: 2; }
.closing .btn--primary, .lp .btn--primary { background: var(--gold-hi); border-color: var(--gold-hi); color: var(--ink); min-width: 260px; }
.closing .btn--primary:hover, .closing .btn--primary:focus-visible { background: #fff; border-color: #fff; color: var(--ink); }
.closing .actions { margin: 0; }
.btn--primary { background: var(--ink); border-color: var(--ink); }
.sticky-cta { background: var(--ink); }

/* フッターと命グループの帯 */
.footer { background: var(--ink); }
.footer__seal { width: 34px; height: 34px; }
.brand__mark, .fv-seal, .footer__seal { object-fit: contain; height: auto; }  /* 本物のロゴ（514×493 の画像）の縦横を崩さない */
.footer strong { font-family: var(--font-display); letter-spacing: .12em; }
.footer__nav { font-family: var(--font-ui); font-size: .92rem; }
.footer .mg-band__list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }  /* 帯の中身は触らず、この頁の幅で 5 枚を 1 行に並べない（型の門 WIDE_ROW） */
.footer .mg-band { justify-self: stretch; margin: 0 calc(-1 * var(--pad-x)) calc(-1 * clamp(56px, 6vw, 90px)); text-align: left; border-top: 1px solid rgba(255, 255, 255, .16); }

/* ── 下層（原稿/*.html の組みを型の語彙で） ── */
.lp { padding-top: 82px; }
.lp .page-head { padding: clamp(64px, 9vw, 120px) var(--pad-x) clamp(40px, 5vw, 64px); background: var(--soft); border-bottom: 1px solid var(--line); }
.lp .wrap { max-width: var(--content-max); margin: 0 auto; }
.lp .narrow { max-width: 820px; }
.lp .page-head h1 { font-weight: 700; font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 18px; }
.lp .lead { color: var(--muted); line-height: 2; font-size: 1.05rem; margin: 0; }
.lp .meta { color: var(--gold); font-size: .9rem; margin: 16px 0 0; }
.crumbs { display: flex; gap: 10px; margin: 0 0 22px; font-size: .85rem; color: var(--muted); }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.lp-sec { padding: clamp(56px, 7vw, 96px) var(--pad-x); }
.lp-sec.alt { background: var(--soft); }
.lp-sec h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin: 0 0 20px; }
.lp-sec p, .lp-sec li { line-height: 2; color: var(--ink); }
.lp-sec.legal h2 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); margin-top: 36px; }
.lp .table-wrap { overflow-x: auto; }
.lp .facts { width: 100%; border-collapse: collapse; font-size: .95rem; }
.lp .facts th, .lp .facts td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.8; }
.lp .facts thead th { font-weight: 700; color: var(--gold); }
.lp .facts tbody th { width: 30%; font-weight: 500; }
.lp .source { font-size: .85rem; color: var(--muted); }
.lp .checks, .lp .plain { padding-left: 1.2em; }
.lp .links a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold-hi); }
.lp .eyebrow { margin-bottom: 14px; }
.closing--lower .closing__in { gap: 16px; }

/* ── スマホ（1040 以下は FV を縦積み） ── */
@media (max-width: 1040px) {
  .hero--locked-fv { aspect-ratio: auto; background: var(--paper); padding: 104px 24px 36px; display: flex; flex-direction: column; text-align: center; }
  .fv-brand, .fv-nav, .fv-nav__cta { display: none; }
  .fv-eyebrow, .fv-copy, .fv-lead, .fv-actions, .fv-promises, .fv-promises li { position: static; width: auto; }
  .fv-eyebrow { font-size: .95rem; line-height: 1.5; height: 1.5em; margin-bottom: 14px; color: var(--ink); }  /* 高さを決めて、明朝の差し替えで箱が動かないように（門 B06） */
  .fv-copy h1 { font-size: clamp(2rem, 8.4vw, 3.2rem); line-height: 1.3; }
  .fv-lead { white-space: normal; font-size: .98rem; line-height: 1.9; margin-top: 16px; }
  .fv-actions { margin-top: 24px; }
  .fv-btn { width: 100%; height: 56px; font-size: 1rem; gap: 10px; }
  .hero__photo-wrap { position: static; width: auto; height: auto; margin: 28px -24px 0; }
  .hero__photo { aspect-ratio: 776 / 156; height: auto; }  /* 枠は変えない（make_hero_assets.py の [CSS-MOBILE]） */
  .fv-promises { pointer-events: auto; display: grid; gap: 0; margin-top: -8px; padding: 6px 20px; background: #fff; text-align: left; position: relative; }
  .fv-promises li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .fv-promises li:last-child { border-bottom: 0; }
  .fv-promises svg { width: 34px; height: 34px; }
  .fv-promises p { gap: 4px; }
  .fv-promises strong { font-size: 1.02rem; }
  .fv-promises span { font-size: .88rem; color: var(--muted); }
  .numbers__grid, .service-grid--four { grid-template-columns: 1fr 1fr; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .lp { padding-top: 72px; }
}
@media (max-width: 620px) {
  .numbers__grid, .service-grid--four { grid-template-columns: 1fr; }
  .service-card figure img { aspect-ratio: 16 / 10; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .promise-list li { padding-left: 52px; }
  .lp .facts tbody th { width: 38%; }
}

/* Reduced-motion の標準ブロック（output-contracts F-95）: 移動は止め、フェードは残す */
@media (prefers-reduced-motion: reduce) {
  /* 動き(移動・拡大・拭き上げ)は止めるが、opacityのフェードは残す。パッと出さない */
  :root [data-reveal] {
    transform: none !important;
    clip-path: none !important;
    transition: opacity .6s ease !important;
  }
  .hero__ambient { display: none; }           /* 常時ゆらぐ装飾だけ消す */
  .marquee__inner { animation-duration: 55s; } /* 流れる帯は速度を落とすだけ */
}

/* ── 実証ノート（トップの節・一覧・記事） ── */
.notes { background: var(--paper); }
.note-cards { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1040px) { .note-cards { grid-template-columns: 1fr; } }
.note-cards > li { display: grid; align-content: start; gap: 12px; padding: clamp(22px, 2.6vw, 32px); background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold-hi); transition: transform .4s var(--ease-out-expo), box-shadow .4s var(--ease-out-expo); }
.note-cards > li:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 10, 15, .08); }
.note-cards__arts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.note-cards__arts a { font-family: var(--font-display); font-weight: 700; line-height: 1.6; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold-hi); }
.note-cards__arts span { display: block; color: var(--muted); font-size: .85rem; }
.note-cards__empty { color: var(--muted); font-size: .92rem; }
.note-cards h3 { margin: 0; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; font-weight: 700; }
.note-cards__pillar, .note-list__pillar { color: var(--gold); font-family: var(--font-display); font-weight: 700; letter-spacing: .2em; font-size: .85rem; }
.note-cards__date, .note-list__date { color: var(--muted); font-size: .88rem; }
.notes__more { margin: 28px 0 0; }
.lp .pillars { list-style: none; padding: 0; display: grid; gap: 20px; }
.lp .pillars li { padding: 0 0 18px; border-bottom: 1px solid var(--line); }
.lp .pillars h3 { margin: 0 0 6px; font-size: 1.2rem; font-weight: 700; }
.lp .pillars p { margin: 0; }
.lp .note-list { list-style: none; padding: 0; margin: 0; }
.lp .note-list a { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.lp .note-list__title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.6; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--gold-hi); }
.lp .byline { margin: 18px 0 0; color: var(--muted); font-size: .92rem; }
.lp .byline a { text-decoration: underline; text-underline-offset: 3px; }
.lp .article h2 { margin-top: 44px; }
.lp .article .steps { padding-left: 1.4em; }
.lp .article .steps li { margin-bottom: 6px; }
.lp .page-head a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.lp .back a { text-decoration: underline; text-underline-offset: 4px; }

.lp .byline span { margin-left: 1em; }
.lp .prose h2 { margin-top: 44px; }
.lp .prose .steps { padding-left: 1.4em; }
.lp .prose .steps h3 { font-size: 1.08rem; font-weight: 700; margin: 14px 0 4px; }
.lp .prose .steps p { margin: 0; }
.lp .prose strong { background: linear-gradient(transparent 62%, rgba(210, 167, 10, .25) 0); }
.lp .note-list li a { text-decoration: none; }
.lp .crumbs ol { display: contents; }
.crumbs { flex-wrap: wrap; gap: 4px 10px; }
.crumbs a { white-space: nowrap; }
@media (max-width: 620px) { .crumbs [aria-current] { flex: 1 1 100%; } }
/* 会社概要（/about/）: 4 つの事業を 2 列で・導入の 10 社の壁を本文の幅に（会社概要の門で作り直した頁・10/17） */
.lp .about-biz { grid-template-columns: repeat(2, 1fr); margin-top: 28px; }
.lp .about-biz .service-card p { color: var(--muted); }
.lp .logo-wall { margin-top: 24px; }
@media (max-width: 640px) { .lp .about-biz { grid-template-columns: 1fr; } }

/* ── 命 ブランドガイドライン（2026-10）に合わせた上書き（主君 10/17 15:1x・箱の主君の追加 6）。C 版・D 版で同じ文 ── */
.eyebrow::before { background-color: var(--gold-hi); }  /* 金は線に */
.nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold-hi); text-underline-offset: 6px; }
.section__head h2, .lp h1 { color: var(--ink); }
.lp .page-head, .lp-sec.alt, .proof-band { border-top: 1px solid var(--line); }  /* 地は白だけ＝節の替わり目は細い線で */
.closing .btn--primary, .lp .btn--primary { background: #fff; border-color: var(--gold-hi); color: var(--ink); }  /* 金の面をやめる */
.lp .btn--primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.closing .btn--primary:hover, .closing .btn--primary:focus-visible, .lp .btn--primary:hover, .lp .btn--primary:focus-visible { background: var(--ink); border-color: var(--gold-hi); color: #fff; }
.lp .prose strong { background: none; text-decoration: underline; text-decoration-color: var(--gold-hi); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.crumbs, .lp .meta, .lp .source, .lp .byline, .note-cards__date, .note-list__date, .footer__nav, .head-cta, .btn { font-family: var(--font-ui); }
.fv-nav__cta:hover, .fv-nav__cta:focus-visible { background: #fff; color: var(--fv-ink); box-shadow: inset 0 0 0 1px var(--gold-hi); }  /* 金の面をやめる */
.footer .mg-band { background: var(--ink); border-top-color: rgba(255, 255, 255, .16); }  /* 足元の共通の帯（../../_共通/帯.html は触らない）の色をこのサイトだけ 3 色に */
.footer .mg-band__name, .footer .mg-band a { color: #fff; }
.footer .mg-band__what { color: rgba(255, 255, 255, .72); }
.footer .mg-band a, .footer .mg-band__legal { border-color: rgba(255, 255, 255, .16); }

/* ── 実証の節（約束の下・開発の実測 4 つと LP の 3 つの画面・主君 10/17 15:2x 箱の主君の追加 8） ── */
.numbers__grid--4 { grid-template-columns: repeat(4, 1fr); }
.cases { position: relative; z-index: 1; margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--gold-hi); }
.cases__title { margin: 0 0 clamp(20px, 3vw, 32px); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.case { margin: 0; display: grid; align-content: start; gap: 14px; }
.case img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; border: 1px solid rgba(210, 167, 10, .6); background: #fff; }
.case figcaption { display: grid; gap: 6px; color: rgba(255, 255, 255, .86); line-height: 1.85; font-size: .95rem; }
.case figcaption strong { color: #fff; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.7; }
.case__tag { justify-self: start; padding: 2px 10px; border: 1px solid var(--gold-hi); color: var(--gold-hi); font-family: var(--font-ui); font-size: .8rem; letter-spacing: .12em; }
@media (max-width: 1024px) { .numbers__grid--4 { grid-template-columns: 1fr 1fr; } .cases__grid { grid-template-columns: 1fr; max-width: 640px; } }
@media (max-width: 620px) { .numbers__grid--4 { grid-template-columns: 1fr; } }
/* 実証の節の「強い瞬間」: 広い画面では左に主張（実証・見出し・前置き）を留め（粘着）、右で数字と 3 つの画面が流れる。
   型の .numbers は overflow: hidden（粘着が効かない）なので clip に替える（背景の写真は同じく枠で切れる）。狭い画面は今の縦並び */
@media (min-width: 1041px) {
  .numbers { display: grid; grid-template-columns: minmax(280px, .72fr) 1.7fr; column-gap: clamp(40px, 5vw, 88px); align-items: start; overflow: clip; }
  .numbers__side { position: sticky; top: 120px; z-index: 1; }
  .numbers__side .numbers__kicker { justify-content: flex-start; margin-bottom: 24px; }
  .numbers__side .numbers__head { margin-bottom: 0; }
  .numbers__main { position: relative; z-index: 1; min-width: 0; }
  .numbers__grid--4 { grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, .2); }
  .numbers__grid--4 > div { border-bottom: 1px solid rgba(255, 255, 255, .2); }
  .cases__grid { grid-template-columns: 1fr; }
  .case { grid-template-columns: minmax(0, 1.1fr) 1fr; gap: clamp(18px, 2.4vw, 32px); align-items: start; }
}
@media (min-width: 1041px) { .numbers__side .numbers__head h2 { font-size: clamp(1.6rem, 2.2vw, 2.2rem); } }
/* リールの図は 457×260 のサムネ（短辺 260＝型の門が FV の流用と数えない大きさ・和紙色の地がカンプと似て見誤られた。事業のカードの写しと同じ扱い） */
/* 実証の節: エンジニア 0 名の一文（主君の追加 11）と活動実績 3 つ（今の mikoto.co.jp の活動実績の写真と文のまま） */
.numbers__note { position: relative; z-index: 1; margin: clamp(24px, 3vw, 36px) 0 0; padding-left: 16px; border-left: 2px solid var(--gold-hi); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.8; }
.cases--katsudo { margin-top: clamp(40px, 5vw, 64px); }
.katsudo__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.katsudo { margin: 0; display: grid; align-content: start; gap: 12px; }
.katsudo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; border: 1px solid rgba(210, 167, 10, .6); }
.katsudo figcaption { display: grid; gap: 6px; color: rgba(255, 255, 255, .86); font-size: .92rem; line-height: 1.85; }
.katsudo figcaption strong { color: #fff; font-family: var(--font-display); font-size: 1.02rem; line-height: 1.7; }
@media (max-width: 760px) { .katsudo__grid { grid-template-columns: 1fr; max-width: 520px; } }
/* 実証の節: IPA の物差しで換算した 1 行と、すぐ下の注（主君の追加 12・注は同じ画面に置く） */
.numbers__kansan { position: relative; z-index: 1; margin: clamp(24px, 3vw, 36px) 0 0; padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--gold-hi); }
.numbers__kansan-lead { margin: 0; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.7; }
.numbers__kansan-lead strong { color: var(--gold-hi); font-size: 1.25em; }
.numbers__kansan-note { margin: 12px 0 0; color: rgba(255, 255, 255, .78); font-size: .88rem; line-height: 1.9; }
.numbers__kansan-note a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
