/* 楽譜のグリフは VexFlow と同じ Bravura（SIL Open Font License・vexflow 同梱）。ヒーローの譜例は inline SVG なのでこの @font-face が効く */
@font-face { font-family: 'Bravura'; src: url('/img/bravura.woff2') format('woff2'); font-display: swap; }
/* Fugaki ランディングページ（段 1・骨組み）。アプリのフッター等と同じ緑（#1f6b46）を差し色に */
:root { --ink: #212529; --muted: #6c757d; --green: #1f6b46; --paper: #fbfaf7; --line: #e9ecef; }
* { 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); }
@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; }
}
