/* MonoStudy 機能別LP 共有スタイル（同一オリジン・キャッシュ共有） */
:root {
  --ink: #0A0A0A;
  --paper: #FFFFFF;
  --bg: #FAFAFA;
  --muted: #6E6E73;
  --hair: rgba(10,10,10,0.12);
  --accent: #FF5A1F;
  --radius: 16px;
  --maxw: 1000px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Noto Sans JP', 'Yu Gothic', Meiryo, 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { letter-spacing: -0.01em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(250,250,250,0.85); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--hair); }
.topbar .row { display: flex; align-items: center; justify-content: space-between; height: 58px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 17px; letter-spacing: -0.02em; }
.brand img { height: 22px; width: auto; display: block; }
.topnav { display: flex; gap: 4px; align-items: center; }
.topnav a { padding: 8px 13px; font-size: 13.5px; color: var(--muted); border-radius: 999px; }
.topnav a:hover { color: var(--ink); background: rgba(10,10,10,0.05); }
.topnav .pill { color: var(--paper); background: var(--ink); font-weight: 700; }

/* Breadcrumb */
.crumb { font-size: 12.5px; color: var(--muted); padding: 18px 0 0; }
.crumb a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 40px 0 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.hero h1 { margin: 0; font-weight: 900; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.15; letter-spacing: -0.03em; text-wrap: balance; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { margin: 22px 0 0; max-width: 620px; font-size: clamp(1rem, 2.2vw, 1.15rem); color: var(--muted); text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.hero-meta b { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 12px; font-weight: 700; font-size: 1rem; border: 1.5px solid var(--ink); transition: transform .15s, background .15s, color .15s; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* Sections */
section { padding: 52px 0; }
.sec-tag { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.sec-title { margin: 8px 0 0; font-weight: 900; font-size: clamp(1.5rem, 4vw, 2.2rem); line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.sec-sub { margin: 12px 0 0; max-width: 620px; color: var(--muted); text-wrap: pretty; }
.sec-head { margin-bottom: 32px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card { border: 1.5px solid var(--hair); border-radius: var(--radius); padding: 22px; background: var(--paper); }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.badge-pro { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 6px; background: var(--accent); color: var(--ink); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 0.02em; vertical-align: middle; }

/* Steps */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: flex; gap: 16px; align-items: flex-start; }
.steps li::before { content: counter(s); flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: 'Space Grotesk', sans-serif; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.steps b { display: block; }
.steps span { color: var(--muted); font-size: 0.95rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { cursor: pointer; padding: 18px 4px; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "＋"; color: var(--accent); margin-right: 10px; font-weight: 700; }
.faq details[open] summary::before { content: "－"; }
.faq .ans { padding: 0 4px 20px; color: var(--muted); max-width: 760px; }
.faq .ans a { color: var(--ink); border-bottom: 1.5px solid var(--accent); }

/* Related */
.related .cards a.card { display: block; transition: transform .15s, border-color .15s; }
.related .cards a.card:hover { transform: translateY(-2px); border-color: var(--ink); }
.related .card .go { color: var(--accent); font-weight: 700; font-size: 0.9rem; margin-top: 10px; display: inline-block; }

/* Final CTA */
.final { background: var(--ink); color: var(--paper); text-align: center; }
.final h2 { font-weight: 900; font-size: clamp(1.6rem, 5vw, 2.6rem); letter-spacing: -0.02em; margin: 0 0 10px; text-wrap: balance; }
.final p { color: rgba(255,255,255,0.72); margin: 0 auto 26px; max-width: 460px; text-wrap: pretty; }
.final .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.final .btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Footer */
footer.site { background: var(--bg); border-top: 1px solid var(--hair); padding: 36px 0; }
footer.site .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
footer.site .links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; }
footer.site .links a { color: var(--muted); }
footer.site .links a:hover { color: var(--ink); }
footer.site .copy { font-size: 12.5px; color: var(--muted); font-family: 'Space Grotesk', sans-serif; }

/* Keyboard focus */
.btn:focus-visible,
.topnav a:focus-visible,
.crumb a:focus-visible,
.faq summary:focus-visible,
.faq .ans a:focus-visible,
.related a.card:focus-visible,
footer.site .links a:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } .btn-primary:hover, .related .cards a.card:hover { transform: none; } }
