/* 楽譜のグリフは VexFlow と同じ Bravura（SIL Open Font License・vexflow 同梱）。ヒーローの譜例は inline SVG なのでこの @font-face が効く */
@font-face { font-family: 'Bravura'; src: url('/news/bravura.woff2') format('woff2'); font-display: swap; }
/* Fugaki ランディングページ（段 1・骨組み）。アプリのフッター等と同じ緑（#1f6b46）を差し色に */
:root { --ink: #212529; --muted: #6c757d; --green: #1f6b46; --paper: #fbfaf7; --line: #e9ecef; }
/* お知らせは母の LP（fugaki.com）の色にそろえる（2026-11-01 色合わせ 段 1）。変数名は LP にそろえる。
   最初は法務ページと同じ「濃い緑の地に紙の札」だったが、LP から来ると明るい札だけ別のサイトに見えたので
   （運用者 11/01）、LP と同じ暗い地に生成りの文字で組む。法務ページ（長文・印刷する）は紙の札のまま。
   文字の明暗差は LP と同じ組み合わせ（#EFEBE0 / #A6B8AC on #071A11 は 15:1 / 8.6:1） */
.news-page {
  color-scheme: dark;
  --bg: #071A11; --bg-2: #0B2A1A; --bg-3: #10402A;
  --lp-ink: #EFEBE0; --lp-ink-2: #A6B8AC; --amber: #F0A93B;
  --ink: #EFEBE0; --muted: #A6B8AC; --green: #EFEBE0; --line: rgba(239,235,224,.13);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif; color: var(--ink); background: #fff; line-height: 1.7; }
a { color: var(--green); }
h1, h2, h3 { font-family: Georgia, "Hiragino Mincho ProN", "Noto Serif JP", serif; font-weight: 600; letter-spacing: 0.02em; }
h2 { font-size: 26px; margin: 0 0 24px; text-align: center; }
main > section { max-width: 1040px; margin: 0 auto; padding: 56px 16px; }
.top { display: flex; align-items: center; justify-content: space-between; max-width: 1040px; margin: 0 auto; padding: 16px; }
.brand { font-family: Georgia, serif; letter-spacing: 0.18em; color: var(--green); text-decoration: none; font-weight: 700; }
.top-nav { display: flex; gap: 18px; align-items: center; font-size: 14px; }
.top-nav a { color: var(--ink); text-decoration: none; }
.cta { display: inline-block; background: var(--green); color: #fff; text-decoration: none; padding: 14px 26px; border-radius: 10px; font-weight: 700; font-size: 16px; }
.cta--small { padding: 8px 14px; font-size: 14px; color: #fff; }
.hero { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; padding-top: 32px; }
.eyebrow { color: var(--muted); font-size: 12px; letter-spacing: .08em; margin: 0 0 8px; }
.hero h1 { font-size: 44px; line-height: 1.25; margin: 0 0 16px; }
.lead { font-size: 17px; color: #343a40; margin: 0 0 24px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0; }
.hero-note { font-size: 13px; color: var(--muted); }
.paper { background: var(--paper); border: 1px solid #ddd; box-shadow: 0 12px 40px rgba(0,0,0,.12); padding: 28px 24px 18px; border-radius: 4px; }
.paper-title { font-family: Georgia, "Hiragino Mincho ProN", serif; font-weight: 700; font-size: 20px; text-align: center; }
.paper-sub { font-family: Georgia, serif; font-size: 12px; text-align: center; color: #444; margin-bottom: 14px; position: relative; }
.paper-composer { position: absolute; right: 0; }
.paper .system { display: block; width: 100%; height: auto; margin: 2px 0; overflow: visible; }
.features .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.features article h3 { margin: 12px 0 6px; font-size: 18px; }
.features article p { margin: 0; font-size: 14px; color: #343a40; }
.badge { display: inline-block; font-family: system-ui, sans-serif; font-size: 11px; background: var(--green); color: #fff; border-radius: 999px; padding: 1px 8px; vertical-align: middle; margin-left: 6px; }
.shot { background: #f1f3f5; border: 1px dashed #adb5bd; border-radius: 8px; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.shot.small { aspect-ratio: 4 / 3; }
.shot:not(.placeholder) { border: 1px solid var(--line); overflow: hidden; background: #fff; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.type-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; font-size: 14px; }
.type-list span { display: block; margin-top: 8px; }
.plan-table { width: 100%; border-collapse: collapse; font-size: 15px; max-width: 760px; margin: 0 auto; }
.plan-table th, .plan-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.plan-table td:first-child { text-align: left; }
.plan-table th:not(:first-child), .plan-table td:not(:first-child) { white-space: nowrap; width: 1%; padding-left: 14px; padding-right: 14px; }
.fine { max-width: 760px; margin: 16px auto 0; font-size: 13px; color: var(--muted); }
.types-note { text-align: center; margin-top: 20px; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; font-size: 14px; }
.trust-list strong { display: block; margin-bottom: 4px; font-size: 16px; }
.faq dl { max-width: 760px; margin: 0 auto; }
.faq dt { font-weight: 700; margin-top: 18px; }
.faq dd { margin: 4px 0 0; color: #343a40; font-size: 15px; }
.cta-band { text-align: center; background: var(--paper); border-radius: 14px; }
.cta-band p { font-size: 18px; margin: 0 0 16px; }
.foot { border-top: 1px solid var(--line); padding: 24px 16px; text-align: center; font-size: 13px; color: var(--muted); }
.foot nav { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }
.foot nav a { color: var(--muted); }
body.news-page { background: var(--bg); font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic Medium", sans-serif; -webkit-font-smoothing: antialiased; }
.news-page .top-nav { font-size: 13.5px; }
/* ヘッダーは LP と同じく画面の上に貼り付け、本文だけがその下を流れる（2026-11-01 運用者「ヘッダーが本文と一緒に動くのが気になる」）。
   背景は LP の .hdr と同じ半透明＋ぼかし。.top は中身の幅を 1040px に絞っているので、
   帯は画面いっぱいに広げ、中身の位置は左右の余白で中央に寄せる */
.news-page .top { position: sticky; top: 0; z-index: 50; max-width: none; padding: 12px max(16px, calc((100% - 1040px) / 2 + 16px));
  background: rgba(7,26,17,.82); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid var(--line); }
.news-page .brand { display: flex; align-items: center; gap: 10px; font-family: inherit; font-size: 20px; letter-spacing: .03em; color: var(--lp-ink); }
.news-page .brand svg { width: 23px; height: 23px; flex: none; }
.news-page .top-nav a { color: var(--lp-ink-2); }
.news-page .top-nav a:hover { color: var(--lp-ink); }
.news-page .top-nav a.cta { background: var(--amber); color: #2A1A05; padding: 9px 18px; font-size: 13.5px; border-radius: 6px; letter-spacing: .02em; }
.news-page .top-nav a.cta:hover { background: #FFBD57; }
.news-page .news { max-width: calc(40em + 32px); margin: 8px auto 24px; }
.news-page .news h1 { color: var(--lp-ink); padding-bottom: 12px; border-bottom: 2px solid var(--amber); }
.news-page .news h2 { color: var(--lp-ink); }
.news-page h1, .news-page h2 { font-family: inherit; font-weight: 700; }
.news-page .foot { border-top-color: var(--line); color: var(--lp-ink-2); }
.news-page .news a { text-underline-offset: 3px; }
.news-page .news a:hover { color: var(--amber); }
.news-page .foot nav a { color: var(--lp-ink-2); }
/* お知らせ（/news/）: 中央の読む幅（約 40 字）・見出しは左寄せで控えめ */
.news > section, .news > article { max-width: calc(40em + 32px); margin: 0 auto; padding: 32px 16px 56px; overflow-wrap: anywhere; }
.news h1 { font-size: 1.55rem; line-height: 1.45; text-align: left; margin: 0 0 24px; }
.news h2 { font-size: 1.15rem; line-height: 1.5; text-align: left; margin: 2em 0 0.5em; }
.news p { margin: 0 0 1em; }
.news article ul { padding-left: 1.4em; margin: 0 0 1em; }
.news article li { margin: 0.4em 0; }
.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.news-list time, .news-date { display: block; color: var(--muted); font-size: 13px; }
.news-date { margin: 0 0 4px; }
.news-back { margin-top: 40px; font-size: 14px; }
.news .fine { max-width: none; margin: 24px 0 0; }
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .features .grid, .trust-list { grid-template-columns: 1fr; }
  .type-list { grid-template-columns: repeat(2, 1fr); }
  .top-nav a:not(.cta) { display: none; }
  .top-nav a.keep { display: inline; }
  .news h1 { font-size: 1.3rem; }
  .news h2 { font-size: 1.1rem; }
  .news-page .news { margin: 0; }
}
