:root {
  --primary: #111111;       /* ASNOVA ブラック */
  --accent: #e60012;        /* ASNOVA レッド */
  --accent-dark: #b3000e;
  --bg: #f5f7f9;            /* ASNOVA 背景グレー */
  --text: #1a1a1a;
  --muted: #666666;
  --white: #ffffff;
  --line: #d1d3d6;
  --lark: #1256F0;          /* Lark ブルー */
  --icon: #2a2a2a;          /* アイコン線 */
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; color: var(--text); line-height: 1.8; background: var(--white); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: 90%; max-width: 1120px; margin: 0 auto; }
section { padding: 80px 0; }
.sec-title { text-align: center; font-size: 2rem; font-weight: 900; color: var(--primary); margin-bottom: 12px; letter-spacing: .02em; }
.sec-title span { color: var(--accent); }
.sec-lead { text-align: center; color: var(--muted); font-size: 1rem; margin-bottom: 48px; }

/* Header */
header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-block; text-decoration: none; }
.logo-marks { display: flex; align-items: center; gap: 12px; }
.logo-marks img { display: block; width: auto; }
.logo-asnova { height: 22px; }
.logo-lark { height: 26px; }
.logo-x { font-size: 1rem; font-weight: 700; color: var(--muted); line-height: 1; }
.logo small { display: block; margin-top: 5px; font-size: .62rem; color: var(--muted); font-weight: 700; letter-spacing: .08em; }
@media (max-width: 480px) {
  .logo-marks { gap: 9px; }
  .logo-asnova { height: 18px; }
  .logo-lark { height: 21px; }
  .logo small { font-size: .55rem; letter-spacing: .04em; }
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { font-size: .9rem; font-weight: 700; color: var(--text); transition: .2s; }
.nav a:hover { color: var(--accent); }
.btn { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; padding: 12px 26px; border-radius: 6px; transition: .25s; box-shadow: 0 4px 14px rgba(230, 0, 18, .30); }
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-sm { padding: 9px 20px; font-size: .85rem; }
.nav .btn { color: #fff; }

/* ハンバーガーメニュー */
.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--primary); margin: 0 auto; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle:focus-visible, .nav a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 5% 20px; box-shadow: 0 14px 26px rgba(0, 0, 0, .10); max-height: calc(100vh - 68px); overflow-y: auto; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px); transition: opacity .22s ease, transform .22s ease, visibility .22s; }
  .nav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .nav a { padding: 15px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; text-align: center; border-bottom: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.hero { background: #ffffff; color: var(--text); padding: 92px 0 96px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 5px; background: var(--accent); }
.hero::after { content: ""; position: absolute; right: -140px; top: -100px; width: 440px; height: 440px; background: radial-gradient(circle, rgba(230, 0, 18, .06), transparent 70%); border-radius: 50%; }
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero .badge { display: inline-block; background: var(--accent); color: #fff; border: 1px solid var(--accent); padding: 6px 16px; border-radius: 40px; font-size: .82rem; font-weight: 700; margin-bottom: 24px; }
.hero h1 { font-size: 2.85rem; line-height: 1.35; font-weight: 900; margin-bottom: 22px; letter-spacing: .01em; color: var(--primary); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 1.12rem; color: var(--muted); margin-bottom: 36px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-ghost { background: transparent; border: 2px solid var(--primary); color: var(--primary); box-shadow: none; }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.hero-note { margin-top: 20px; font-size: .82rem; color: var(--muted); }

/* Trust bar */
.trust { background: var(--bg); padding: 34px 0; }
.trust-grid { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; text-align: center; }
.trust-grid div b { display: block; font-size: 1.9rem; color: var(--accent); font-weight: 900; }
.trust-grid div span { font-size: .85rem; color: var(--muted); }

/* Problem */
.problem { background: var(--bg); }
.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prob-card { background: #fff; border-radius: 12px; padding: 32px 26px; border: 1px solid var(--line); text-align: center; }
.prob-card .ic { margin: 0 auto 18px; width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.prob-card .ic svg { width: 30px; height: 30px; stroke: var(--icon); }
.prob-card h3 { font-size: 1.05rem; color: var(--primary); margin-bottom: 10px; }
.prob-card p { font-size: .9rem; color: var(--muted); }
.arrow-down { text-align: center; font-size: 1.6rem; color: var(--accent); margin: 40px 0 0; font-weight: 900; }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feat-card { background: #fff; border-radius: 14px; padding: 34px 28px; border: 1px solid var(--line); transition: .25s; }
.feat-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(0, 0, 0, .12); border-color: transparent; border-top: 3px solid var(--accent); }
.feat-ic { width: 56px; height: 56px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feat-ic svg { width: 28px; height: 28px; stroke: var(--icon); }
.feat-card:hover .feat-ic { background: #fff; border-color: var(--accent); }
.feat-card:hover .feat-ic svg { stroke: var(--accent); }
.feat-card h3 { font-size: 1.15rem; color: var(--primary); margin-bottom: 10px; }
.feat-card p { font-size: .92rem; color: var(--muted); }

/* Merit */
.merit { background: var(--bg); color: var(--text); }
.merit .sec-title { color: var(--primary); }
.merit .sec-title span { color: var(--accent); }
.merit .sec-lead { color: var(--muted); }
.merit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.merit-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: flex; gap: 18px; align-items: flex-start; }
.merit-num { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.merit-card h3 { font-size: 1.1rem; margin-bottom: 6px; color: var(--primary); }
.merit-card p { font-size: .9rem; color: var(--muted); }

/* Price */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 34px 28px; text-align: center; position: relative; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--accent); box-shadow: 0 12px 30px rgba(230, 0, 18, .15); }
.price-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .78rem; font-weight: 700; padding: 5px 18px; border-radius: 20px; }
.price-card h3 { font-size: 1.25rem; color: var(--primary); margin-bottom: 8px; }
.price-card .price { font-size: 2.3rem; font-weight: 900; color: var(--primary); margin: 8px 0 2px; }
.price-card .price small { font-size: .85rem; color: var(--muted); font-weight: 500; }
.price-card .unit { font-size: .8rem; color: var(--muted); margin-bottom: 20px; }
.price-card ul { text-align: left; font-size: .88rem; color: var(--text); margin-bottom: 24px; flex-grow: 1; }
.price-card ul li { padding: 7px 0 7px 26px; position: relative; border-bottom: 1px dashed var(--line); }
.price-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.price-note { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 24px; }

/* Flow */
.flow { background: var(--bg); }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flow-card { background: #fff; border-radius: 12px; padding: 28px 22px; text-align: center; border: 1px solid var(--line); position: relative; }
.flow-step { display: inline-block; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 14px; border-radius: 20px; margin-bottom: 14px; }
.flow-card .ic { margin: 0 auto 14px; width: 60px; height: 60px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.flow-card .ic svg { width: 28px; height: 28px; stroke: var(--icon); }
.flow-card h3 { font-size: 1rem; color: var(--primary); margin-bottom: 8px; }
.flow-card p { font-size: .84rem; color: var(--muted); }

/* FAQ */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 14px; overflow: hidden; }
.faq-h { margin: 0; font-size: inherit; font-weight: inherit; }
.faq-q { display: block; width: 100%; text-align: left; background: none; border: 0; font-family: inherit; line-height: 1.8; padding: 20px 52px 20px 52px; font-weight: 700; color: var(--primary); cursor: pointer; position: relative; font-size: .98rem; }
.faq-q:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.faq-q::before { content: "Q"; position: absolute; left: 22px; color: var(--accent); font-weight: 900; }
.faq-q::after { content: "＋"; position: absolute; right: 24px; color: var(--muted); transition: .2s; }
.faq-item.open .faq-q::after { content: "－"; }
.faq-a { max-height: 0; visibility: hidden; overflow: hidden; transition: max-height .3s ease, visibility .3s; padding: 0 24px 0 52px; color: var(--muted); font-size: .92rem; }
.faq-item.open .faq-a { max-height: 400px; visibility: visible; padding: 0 24px 20px 52px; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--accent), #ff4757); color: #fff; text-align: center; }
.cta h2 { font-size: 2rem; font-weight: 900; margin-bottom: 14px; }
.cta p { font-size: 1.05rem; margin-bottom: 30px; opacity: .95; }
.cta .btn { background: #111111; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); font-size: 1.05rem; padding: 16px 44px; }
.cta .btn:hover { background: #000; }

/* Contact form */
.form-wrap { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 44px; box-shadow: 0 10px 30px rgba(0, 0, 0, .06); }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: .88rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.form-row label .req { color: var(--accent); font-size: .75rem; margin-left: 6px; }
.form-row input, .form-row select, .form-row textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: .95rem; font-family: inherit; background: #fafafa; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--accent); }
.form-wrap .btn { width: 100%; text-align: center; font-size: 1.05rem; padding: 15px; margin-top: 8px; }
.form-privacy { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 16px; }
.form-privacy a, .consent-box a { color: var(--accent); text-decoration: underline; }
.form-privacy a:hover, .consent-box a:hover { color: var(--accent-dark); }

/* 注記（半分サイズ・行頭で改行） */
.note-half { display: block; font-size: 0.8em; line-height: 1.6; color: var(--muted); }

/* 第三者提供の明示 / 同意 */
.consent-box { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; text-align: left; font-size: .85rem; color: var(--text); margin-bottom: 22px; }
.consent-box h3 { font-size: .95rem; color: var(--primary); margin-bottom: 8px; }
.consent-box ul { margin: 8px 0 10px 1.2em; color: var(--muted); font-size: .82rem; }
.consent-box li { margin-bottom: 4px; }
.consent-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-weight: 700; cursor: pointer; }
.consent-check input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; accent-color: var(--accent); }
.consent-check input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* フォーム埋め込み */
.form-embed { position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.form-embed iframe { width: 100%; height: 900px; border: 0; display: block; }
.form-embed[hidden] { display: none; }
.form-embed-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 12px; }
.form-locked { text-align: center; color: var(--muted); font-size: .88rem; padding: 26px 16px; border: 1px dashed var(--line); border-radius: 12px; background: var(--bg); }
@media (max-width: 820px) { .form-embed iframe { height: 760px; } }
.form-cta { text-align: center; }
.form-cta-lead { font-size: 1rem; color: var(--text); margin-bottom: 26px; }
.form-cta-btn { display: inline-block; width: auto; min-width: 280px; font-size: 1.05rem; padding: 16px 40px; margin: 0 auto; }

/* Footer */
footer { background: #111111; color: #bbbbbb; padding: 56px 0 28px; border-top: 4px solid var(--accent); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
.footer-brand b { color: #fff; font-size: 1.2rem; }
.footer-brand p { font-size: .85rem; margin-top: 12px; max-width: 340px; }
.footer-info { font-size: .82rem; line-height: 2; }
.footer-info a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; font-size: .78rem; text-align: center; color: #888888; }

@media (max-width: 820px) {
  .prob-grid, .feat-grid, .price-grid, .merit-grid, .flow-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
  section { padding: 56px 0; }
  .form-wrap { padding: 28px; }
}

/* ===== Animations ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero .badge { opacity: 0; animation: fadeUp .7s ease .1s forwards; }
.hero h1 { opacity: 0; animation: fadeUp .8s ease .25s forwards; }
.hero p { opacity: 0; animation: fadeUp .8s ease .4s forwards; }
.hero-cta { opacity: 0; animation: fadeUp .8s ease .55s forwards; }
.hero-note { opacity: 0; animation: fadeUp .8s ease .7s forwards; }
.hero::before { transform-origin: left; animation: lineGrow .9s ease .1s both; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

.prob-card, .flow-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.prob-card:hover, .flow-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(0, 0, 0, .10); border-color: var(--accent); }
.prob-card .ic, .feat-ic, .flow-card .ic { transition: transform .3s ease, background .25s ease, border-color .25s ease; }
.prob-card:hover .ic, .feat-card:hover .feat-ic, .flow-card:hover .ic { transform: scale(1.08) rotate(-3deg); }
.merit-card { transition: transform .25s ease, box-shadow .25s ease; }
.merit-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0, 0, 0, .08); }
.merit-num { transition: transform .3s ease; }
.merit-card:hover .merit-num { transform: scale(1.12); }
.price-card { transition: transform .28s ease, box-shadow .28s ease; }
.price-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(0, 0, 0, .12); }
.price-card.featured:hover { box-shadow: 0 20px 44px rgba(230, 0, 18, .22); }
.trust-grid div b { transition: transform .3s ease; }
.trust-grid div:hover b { transform: scale(1.1); }
.btn { transition: background .25s, transform .2s, box-shadow .25s; }
.cta .btn:hover { transform: translateY(-3px) scale(1.02); }

@keyframes ctaShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.cta { background: linear-gradient(120deg, var(--accent), #ff4757, var(--accent)); background-size: 200% 200%; animation: ctaShift 8s ease infinite; }

.faq-q::after { transition: transform .25s ease, content .2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}