/* サービス紹介LP（/lp-ai）。色・ボタン・見出しは style.css のものを使う */
.lp .skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 6px 12px; z-index: 50; }
.lp .skip:focus { left: 8px; }
.lp html { scroll-behavior: smooth; }
html:has(body.lp) { scroll-behavior: smooth; }
.lp [id] { scroll-margin-top: 90px; }
.lp-top { gap: 20px; }
.lp-nav { display: flex; gap: 22px; margin-left: auto; }
.lp-nav a { color: var(--ink); text-decoration: none; font-size: .88rem; letter-spacing: .06em; }
.lp-nav a:hover { text-decoration: underline; }
.lp-cta { padding: 9px 22px; font-size: .85rem; }
.lp-menu { display: none; clip-path: none; background: none; padding: 8px; width: 42px; height: 42px; position: relative; }
.lp-menu span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .2s; }
.lp-menu span:first-child { top: 16px; } .lp-menu span:last-child { top: 24px; }
.lp-menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.lp-menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.lp-mnav { position: sticky; top: 62px; z-index: 19; background: rgba(240,244,248,.97); border-bottom: 1px solid var(--line); padding: 8px 16px 14px; display: grid; }
.lp-mnav[hidden] { display: none; }
.lp-mnav a { color: var(--ink); text-decoration: none; padding: 11px 4px; border-bottom: 1px solid var(--line); }

.lp-main { max-width: 1120px; padding-top: 0; }
.lp-sec { padding: 64px 0 8px; }
.lp-sec h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); line-height: 1.45; margin: 6px 0 14px; letter-spacing: .04em; }
.lp-sec h3 { color: var(--ink); font-size: 1.05rem; margin: 6px 0 6px; line-height: 1.5; }
.lp-text { max-width: 720px; margin: 0 0 24px; }
.lp-cap { font-size: .8rem; color: var(--muted); margin: 12px 0 0; line-height: 1.7; }

.lp-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 8vh 0 32px; }
.lp-hero h1 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); line-height: 1.3; letter-spacing: .06em; margin: 14px 0 20px; }
.lp-accent { background: linear-gradient(90deg, #2b3d63 0%, #6a80aa 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lead { font-size: 1.02rem; line-height: 2; margin: 0 0 26px; }
.lp-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.lp-actions .btn { padding: 13px 30px; }
.lp-hero-art { padding: 34px 30px; position: relative; overflow: hidden; background: linear-gradient(160deg, #fff 0%, #f1f5f9 100%); }
.lp-hero-art::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(91,111,151,.22), rgba(91,111,151,0) 70%); }
.lp-hero-art .en-title { font-size: 2.9rem; }
.lp-art-sub { color: var(--ink); font-weight: 700; margin: 4px 0 22px; }
.lp-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.lp-facts div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.lp-facts dt { font-size: .74rem; color: var(--muted); letter-spacing: .06em; }
.lp-facts dd { margin: 2px 0 0; color: var(--ink); font-weight: 700; }
.lp-facts b { font-family: var(--en); font-size: 1.6rem; margin: 0 1px; }

.lp-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-pt { margin: 0; }
.lp-pt p { margin: 0; font-size: .93rem; }
.lp-no { font-family: var(--en); font-weight: 700; font-size: 1.5rem; color: #8b9bb8; }

.lp-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.lp-tabs button { clip-path: none; border-radius: 999px; background: rgba(255,255,255,.7); color: var(--ink); border: 1px solid #c3cfdc; padding: 8px 20px; font-weight: 500; }
.lp-tabs button[aria-selected="true"] { background: linear-gradient(90deg, var(--brand), var(--brand2)); color: #fff; border-color: var(--brand); }
.lp-example { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: center; margin: 0; }
.lp-ex-tag { font-family: var(--en); font-weight: 700; font-size: .78rem; letter-spacing: .18em; color: #8b9bb8; margin: 0; }
.lp-ex-arrow { font-size: 1.8rem; color: var(--brand2); }
.lp-prompt { background: #f1f5fa; border-left: 3px solid var(--brand); border-radius: 6px; padding: 10px 14px; margin: 10px 0; font-size: .93rem; }
.lp-human { font-size: .88rem; color: var(--muted); margin: 0; }
.lp-human::before { content: "人が確認 ▸ "; color: var(--ink); font-weight: 700; }

.lp-head2 { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.lp-total { color: var(--ink); font-weight: 700; margin: 0 0 14px; text-align: right; }
.lp-total b { font-family: var(--en); font-size: 2rem; margin: 0 2px; }
.lp-total small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
.lp-chapters { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 14px; }
.lp-ch { display: grid; grid-template-columns: 64px 1fr; gap: 18px; margin: 0; align-items: start; }
.lp-ch-no { font-family: var(--en); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--brand); border-right: 1px solid var(--line); padding: 6px 0; text-align: center; }
.lp-ch-lead { font-size: .8rem; color: var(--muted); margin: 0; letter-spacing: .06em; }
.lp-ch h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 1.15rem; margin: 2px 0 6px; }
.lp-ch h3 .pill { font-weight: 500; color: var(--ink); background: #e9eff7; }
.lp-ch p { margin: 0; font-size: .93rem; }
.lp-axis { color: var(--ink); font-size: .85rem !important; margin-top: 6px !important; }

.lp-dark { background: linear-gradient(135deg, #2b3d63 0%, #435a86 100%); color: #e8eef6; border-radius: 22px; padding: 52px 40px; margin-top: 64px; }
.lp-dark h2, .lp-dark h3 { color: #fff; }
.lp-dark .eyebrow { color: #c9d5e6; } .lp-dark .eyebrow::before { background: #c9d5e6; }
.lp-dark .lp-no { color: #9fb2d1; }
.lp-dark .lp-pt { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 22px; }
.lp-dark .lp-cap { color: #b9c6da; } .lp-dark a { color: #fff; }
.lp-login { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 8px 18px; text-decoration: none; margin-bottom: 22px; font-size: .9rem; }

.lp-price { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.lp-price .card { margin: 0; }
.lp-yen { color: var(--ink); margin: 6px 0 14px; }
.lp-yen small { font-size: .85rem; color: var(--muted); } .lp-yen small:first-child { display: block; }
.lp-yen b { font-family: var(--en); font-size: 3rem; margin-right: 4px; }
.lp-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.lp-check li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 8px; }
.lp-calc label { margin-top: 0; }
.lp-calc-in { display: flex; align-items: center; gap: 8px; } .lp-calc-in input { max-width: 140px; font-size: 1.2rem; }
.lp-sum { font-family: var(--en); font-weight: 700; font-size: 2rem; color: var(--ink); margin: 0; }
.lp-calc .btn { margin-top: 14px; }

.lp-flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.lp-flow li { margin: 0; position: relative; } .lp-flow p:last-child { margin: 0; font-size: .9rem; }

.lp-subsidy { padding: 36px 34px; margin: 0; }
.lp-sub-name { color: var(--ink); font-size: 1.02rem; margin: 0 0 8px; }
.lp-sub-lead { font-weight: 700; color: var(--ink); }
.lp-tags { display: flex; gap: 8px; flex-wrap: wrap; } .lp-tags .pill { background: #e9eff7; color: var(--ink); padding: 3px 12px; }
.lp-warn { background: #fff8e6; border: 1px solid #f0d8a8; border-radius: 12px; padding: 16px 20px; margin-top: 20px; }
.lp-warn h3 { margin-top: 0; } .lp-warn p { margin: 0; font-size: .92rem; }
.lp-subsidy .btn { white-space: normal; }

.lp-faq { display: grid; gap: 10px; }
.lp-faq details { margin: 0; padding: 0; }
.lp-faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; position: relative; font-weight: 700; color: var(--ink); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "＋"; position: absolute; right: 18px; top: 15px; color: var(--brand2); }
.lp-faq details[open] summary::after { content: "－"; }
.lp-q { font-family: var(--en); margin-right: 8px; color: var(--brand2); }
.lp-faq details p { margin: 0; padding: 0 20px 18px; font-size: .93rem; }

.lp-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.lp-contact form { color: var(--text); margin: 0; } .lp-contact form h3 { color: var(--ink); margin-top: 0; }
.lp-contact form .lp-cap { color: var(--muted); } .lp-contact form a { color: var(--accent); }
.lp-tel { display: flex; flex-direction: column; gap: 6px; font-family: var(--en); font-size: 1.3rem; font-weight: 700; }
.lp-tel a { text-decoration: none; }

.lp-float { position: fixed; right: 16px; bottom: 16px; z-index: 30; display: none; box-shadow: 0 6px 20px rgba(43,61,99,.25); }
.lp footer.site { margin-top: 64px; }

@media (max-width: 960px) {
  .lp-nav, .lp-cta { display: none; } .lp-menu { display: block; margin-left: auto; }
  .lp-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 5vh; }
  .lp-flow { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .lp-grid3, .lp-price, .lp-contact, .lp-flow { grid-template-columns: 1fr; }
  .lp-example { grid-template-columns: 1fr; gap: 10px; } .lp-ex-arrow { transform: rotate(90deg); justify-self: start; }
  .lp-dark { padding: 40px 20px; border-radius: 16px; margin-left: -4px; margin-right: -4px; }
  .lp-sec { padding-top: 48px; }
  .lp-ch { grid-template-columns: 1fr; gap: 6px; } .lp-ch-no { border: 0; text-align: left; font-size: 1.6rem; padding: 0; }
  .lp-total { text-align: left; }
  .lp-float { display: inline-block; }
  .lp-subsidy { padding: 26px 20px; }
  .lp-hero-art .en-title { font-size: 2.3rem; }
}
