/* トップページと目的別ページ(綴じ込みファイルと見出しシール) */
.lp { background: var(--bg); }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; padding: 8px 14px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.skip:focus { top: 10px; }
.skip:hover { color: var(--accent-ink); }
.lp-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.lp-wrap.narrow { max-width: 860px; }
.lp-top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.lp-top .lp-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.lp-nav { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; }
.lp-nav a:not(.btn) { color: var(--fg); text-decoration: none; font-weight: 600; font-size: .95rem; text-underline-offset: 5px; }
.lp-nav a:not(.btn):hover { color: var(--accent); text-decoration: underline; }
.lp-nav .lang { color: var(--muted); }
.btn.big { min-height: 52px; padding: 12px 26px; font-size: 1.05rem; border-radius: 11px; }

/* 一番上 */
.lp-hero { padding: 76px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 52px; align-items: center; }
.lp-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.05rem); line-height: 1.25; letter-spacing: -.02em; font-weight: 800; margin-bottom: 22px; }
.lp-hero .lead { font-size: 1.14rem; line-height: 1.85; color: var(--fg); max-width: 36em; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 12px; }
.lp .hint { color: var(--muted); font-size: .92rem; }

/* 見本: 見出しシールつきのファイル */
.binder { animation: binder-in .7s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes binder-in { from { transform: translateY(14px); opacity: .001; } }
.binder-tabs { display: flex; gap: 4px; padding-left: 18px; }
.btab { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 7px; border-radius: 9px 9px 0 0; background: var(--area-soft); color: var(--area); font-weight: 750; font-size: .86rem; transform: translateY(4px); }
.btab.on { background: var(--area); color: var(--surface); transform: none; padding-bottom: 11px; }
.binder-sheet { position: relative; background: var(--surface); border: 1.5px solid var(--area); border-radius: 14px; box-shadow: 0 2px 4px rgba(21, 26, 54, .05), 0 22px 48px -18px rgba(27, 35, 80, .32); overflow: hidden; }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 16px 20px 12px; border-bottom: 1px solid var(--line); }
.sheet-head b { font-size: 1.02rem; }
.sheet-head span { color: var(--area); font-weight: 700; font-size: .88rem; }
.sheet-rows { padding: 12px 14px; display: grid; gap: 6px; }
.sheet-row { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; font-size: .88rem; }
.sheet-row code { color: var(--area); font: 600 .78rem var(--f-mono); }
.sheet-row em { font-style: normal; font-size: .76rem; font-weight: 700; }
.sheet-row em.ok { color: var(--ok); } .sheet-row em.warn { color: var(--warn); } .sheet-row em.mute { color: var(--muted); }
.sheet-approve { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 13px 20px; border-top: 1px solid var(--line); background: var(--ok-soft); font-size: .88rem; }

/* 定義の一文(AI 検索にも答えやすいように) */
.lp-what { padding: 0 0 72px; }
.lp-what p { margin: 0; font-size: 1.08rem; line-height: 1.95; padding: 24px 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }

/* 区切り */
.lp-sec { padding: 92px 0; border-top: 1px solid var(--line); }
.lp-h { max-width: 760px; margin-bottom: 40px; }
.lp-h h2, .once h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.3; letter-spacing: -.015em; margin-bottom: 14px; }
.lp-h p, .lead-s { color: var(--muted); font-size: 1.06rem; line-height: 1.85; margin: 0; }

/* 5つの見出し */
.area-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 20px; }
.area-card { grid-column: span 2; display: flex; flex-direction: column; }
.area-card:nth-child(4) { grid-column: 2 / span 2; }
.area-tab { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px 7px; border-radius: 9px 9px 0 0; background: var(--area); color: var(--surface); font-weight: 750; margin-left: 16px; }
.area-tab.solo { margin: 18px 0 0; border-radius: 9px; }
.area-body { flex: 1; padding: 22px 24px 20px; background: var(--surface); border: 1.5px solid var(--area); border-radius: var(--r); }
.area-body h3 { font-size: 1.12rem; margin-bottom: 12px; }
.area-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.area-body li { position: relative; padding-left: 18px; color: var(--fg); font-size: .95rem; line-height: 1.7; }
.area-body li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 7px; height: 7px; border-radius: 2px; background: var(--area); }

/* 二度書かない */
.once-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.once-list { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.once-list > div { padding: 18px 22px; border-top: 1px solid var(--line); }
.once-list > div:first-child { border-top: 0; }
.once-list dt { color: var(--muted); font-size: .86rem; font-weight: 700; margin-bottom: 4px; }
.once-list dd { margin: 0; font-size: 1.04rem; font-weight: 650; }

/* 流れ */
.lp-sec.flow { background: var(--surface); }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.flow-steps li { padding: 24px 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); }
.flow-steps .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 14px; }
.flow-steps h3 { font-size: 1.1rem; }
.flow-steps p { color: var(--muted); margin: 0; line-height: 1.8; }
.flow-steps.vertical { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 8px; }
.flow-steps.vertical li { display: flex; gap: 14px; align-items: center; padding: 14px 18px; background: var(--surface); }
.flow-steps.vertical .num { margin: 0; flex: none; background: var(--area); }
.flow-steps.vertical p { color: var(--fg); }

/* 安全 */
.sec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 40px; margin-bottom: 40px; }
.sec-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--line); }
.sec-item h3 { font-size: 1.06rem; margin-bottom: 4px; }
.sec-item p { color: var(--muted); margin: 0; line-height: 1.8; }
.sec-ic { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--area-soft); color: var(--area); flex: none; }
.lp-table { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.role-table, .cmp-table { width: 100%; border-collapse: collapse; }
.role-table th, .role-table td, .cmp-table th, .cmp-table td { padding: 13px 16px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.role-table thead th, .cmp-table thead th { border-top: 0; background: var(--surface2); font-size: .86rem; color: var(--muted); }
.role-table tbody th, .cmp-table tbody th { font-weight: 700; }
.cmp-table td.us { font-weight: 650; color: var(--accent); background: var(--accent-soft); }
.cmp-table thead th:last-child { color: var(--accent); background: var(--accent-soft); }

/* 目的から探す: 索引のように並べる */
.purpose-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.purpose { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; align-items: start; padding: 18px 4px; border-top: 1px solid var(--line); color: var(--fg); text-decoration: none; }
.purpose .sec-ic { grid-row: span 2; width: 36px; height: 36px; border-radius: 9px; }
.purpose b { font-size: 1.04rem; }
.purpose > span:last-child { color: var(--muted); font-size: .9rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.purpose:hover b { color: var(--area); text-decoration: underline; text-underline-offset: 4px; }

/* よくある質問 */
.faq { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { font-size: 1.06rem; font-weight: 700; cursor: pointer; }
.faq p { color: var(--muted); margin: 10px 0 0; line-height: 1.85; }

/* 最後の呼びかけ */
.lp-cta { padding: 84px 0; text-align: center; background: var(--shell); color: #fff; }
.lp-cta h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); color: #fff; }
.lp-cta p { color: #c9cfe8; margin-bottom: 22px; }
.btn.on-dark { background: #fff; color: var(--shell); border-color: #fff; }
.btn.on-dark:hover { background: #e9ecf8; color: var(--shell); border-color: #e9ecf8; }
.lp-foot { padding: 36px 0 48px; border-top: 1px solid var(--line); }
.lp-foot .lp-wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.lp-foot nav { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.lp-foot p { margin: 0; color: var(--muted); font-size: .9rem; }

/* 目的別ページ */
.for-hero { padding-bottom: 56px; }
.for-hero h1 { margin-top: 14px; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.for-body h2 { font-size: 1.45rem; margin: 48px 0 16px; }
.for-body h2:first-child { margin-top: 0; }
.pain { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pain li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); color: var(--fg); }
.pain .ic { color: var(--muted); flex: none; margin-top: 3px; }
.get { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.get li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.get .ic { color: var(--area); flex: none; margin-top: 3px; }
.related { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.related a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line2); border-radius: 999px; color: var(--fg); text-decoration: none; font-size: .92rem; background: var(--surface); }
.related a:hover { border-color: var(--accent); color: var(--accent); }

@media (prefers-reduced-motion: reduce) { .binder { animation: none; } }
@media (prefers-color-scheme: dark) { .binder-sheet { box-shadow: 0 2px 4px rgba(0, 0, 0, .3); } }
@media (max-width: 980px) {
  .hero-grid, .once-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .area-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-card, .area-card:nth-child(4) { grid-column: auto; }
  .flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .purpose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .lp-hero { padding: 44px 0 56px; }
  .lp-sec { padding: 64px 0; }
  .lp-wrap { padding: 0 16px; }
  .lp-what { padding-bottom: 52px; }
  .lp-what p { padding: 18px 18px; font-size: 1rem; }
  .area-list, .flow-steps, .sec-grid, .purpose-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-btns { flex-direction: column; align-items: stretch; gap: 8px; }
  .hero-btns .btn, .lp-cta .btn { width: 100%; }
  .lp-nav a:not(.btn):not(.lang) { display: none; }
  .binder-tabs { padding-left: 6px; gap: 2px; }
  .btab { padding: 7px 8px 6px; font-size: .76rem; gap: 4px; }
  .btab .ic { display: none; }
  .sheet-row { grid-template-columns: 62px minmax(0, 1fr); }
  .sheet-row em { grid-column: 2; }
}

/* 料金(すべて税込)。3枚を並べ、スマホでは縦に */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.price-card { padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.price-card h3 { font-size: 1.1rem; margin: 0 0 8px; }
.price-n { margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.price-n b { font: 800 1.9rem/1.1 var(--f-display); }
.price-n span { color: var(--muted); font-size: .9rem; }
.price-card ul { margin: 0; padding-left: 1.2em; line-height: 1.8; }
.price-note { color: var(--muted); font-size: .92rem; margin: 20px 0 0; line-height: 1.8; }
@media (max-width: 860px) { .price-grid { grid-template-columns: minmax(0, 1fr); } }
