/* 地域Web集客サポート 共通スタイル（外部CDN不使用） */
:root {
  --ink: #1d2a26;
  --ink-2: #4b5a55;
  --ink-3: #7b8884;
  --line: #dfe5e2;
  --bg: #f6f7f4;
  --card: #ffffff;
  --brand: #1f6b54;
  --brand-2: #e8f2ee;
  --accent: #c8752b;
  --accent-2: #fbf1e6;
  --danger: #b3261e;
  --danger-2: #fdecea;
  --ok: #1e7a3c;
  --ok-2: #e7f5ec;
  --warn: #8a5a00;
  --warn-2: #fff6dd;
  --info: #22577a;
  --info-2: #e8f1f8;
  --admin: #263238;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 40, 30, .06), 0 4px 16px rgba(20, 40, 30, .05);
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.75; font-size: 16px; }
a { color: var(--brand); }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .6em; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.3rem; } h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
small, .muted { color: var(--ink-3); }
.container { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }

/* ---- banners ---- */
.envbar { background: var(--warn-2); color: var(--warn); font-size: .82rem; text-align: center; padding: 6px 12px; border-bottom: 1px solid #f0dca2; }
.envbar strong { font-weight: 700; }

/* ---- header ---- */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.brand-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--brand); display: inline-grid; place-items: center; color: #fff; font-size: .8rem; }
.site-nav { display: flex; gap: 18px; align-items: center; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: .92rem; }
.site-nav a:hover { color: var(--brand); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font: inherit; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--card); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); gap: 4px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 8px 0; }
}

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 8px; border: 1px solid var(--brand); background: var(--brand); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.3; min-height: 44px; }
.btn:hover { filter: brightness(1.07); }
.btn[disabled], .btn.is-busy { opacity: .55; cursor: not-allowed; }
.btn-outline { background: #fff; color: var(--brand); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink-2); }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-danger { background: var(--danger); border-color: var(--danger); }
.btn-sm { padding: 5px 12px; font-size: .88rem; min-height: 34px; }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---- hero / sections ---- */
.hero { background: linear-gradient(180deg, var(--brand-2), var(--bg)); padding: 56px 0 40px; }
.hero h1 { font-size: clamp(1.5rem, 4.2vw, 2.3rem); letter-spacing: .01em; }
.hero .lead { font-size: 1.05rem; color: var(--ink-2); max-width: 680px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--brand); background: #fff; border: 1px solid #cfe2da; padding: 2px 10px; border-radius: 99px; margin-bottom: 12px; }
.section { padding: 48px 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { text-align: left; margin-bottom: 24px; }
.section-title p { color: var(--ink-2); margin: 0; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 8px 0 8px 28px; position: relative; border-bottom: 1px dashed var(--line); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 7px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.steps li::before { content: "STEP " counter(s); display: block; font-size: .75rem; font-weight: 700; color: var(--accent); margin-bottom: 4px; }

/* ---- cards ---- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card h2, .card h3 { margin-top: 0; }
.card + .card { margin-top: 16px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.card-head h2, .card-head h3 { margin: 0; }
.plan { display: flex; flex-direction: column; }
.plan .price { font-size: 1.6rem; font-weight: 700; color: var(--ink); }
.plan .price small { font-size: .85rem; font-weight: 400; }
.plan ul { padding-left: 1.2em; flex: 1; }
.deliverable { display: flex; gap: 12px; }
.deliverable .icon { flex: 0 0 40px; height: 40px; border-radius: 10px; background: var(--brand-2); color: var(--brand); display: grid; place-items: center; font-weight: 700; }
.stat { display: block; text-decoration: none; color: inherit; }
.stat .num { font-size: 1.8rem; font-weight: 700; line-height: 1.2; }
.stat .label { font-size: .85rem; color: var(--ink-2); }
.stat.alert .num { color: var(--danger); }

/* ---- notices ---- */
.notice { border-radius: 8px; padding: 12px 14px; margin: 0 0 16px; border: 1px solid; font-size: .94rem; }
.notice-info { background: var(--info-2); border-color: #c5dbec; color: var(--info); }
.notice-warn { background: var(--warn-2); border-color: #f0dca2; color: var(--warn); }
.notice-error, .flash-error { background: var(--danger-2); border-color: #f3c3bf; color: var(--danger); }
.notice-ok, .flash-success { background: var(--ok-2); border-color: #bfe3cb; color: var(--ok); }
.demo-tag { display: inline-block; background: var(--accent-2); color: var(--accent); border: 1px solid #efd3b4; border-radius: 6px; font-size: .75rem; font-weight: 700; padding: 0 6px; vertical-align: middle; }
.placeholder { outline: 2px dashed #e0b35e; outline-offset: 2px; border-radius: 4px; }
mark.check { background: #fff1c7; color: #6b4600; padding: 0 2px; border-radius: 3px; }

/* ---- badges ---- */
.badge { display: inline-block; font-size: .78rem; padding: 2px 9px; border-radius: 99px; background: #eef1ef; color: var(--ink-2); white-space: nowrap; font-weight: 600; }
.b-ok, .b-approved, .b-active, .b-sent, .b-succeeded, .b-processed, .b-cancel_accepted { background: var(--ok-2); color: var(--ok); }
.b-warn, .b-pending_client, .b-review, .b-needs_review, .b-trialing, .b-mock, .b-queued, .b-onboarding, .b-awaiting_payment, .b-cancel_received { background: var(--warn-2); color: var(--warn); }
.b-error, .b-failed, .b-past_due, .b-revision_requested { background: var(--danger-2); color: var(--danger); }
.b-info, .b-admin_review, .b-generating, .b-running, .b-received { background: var(--info-2); color: var(--info); }
.b-muted, .b-archived, .b-canceled, .b-none, .b-closed, .b-skipped, .b-ignored, .b-paused { background: #eef1ef; color: var(--ink-3); }

/* ---- forms ---- */
.form { display: grid; gap: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.req { color: #fff; background: var(--danger); font-size: .7rem; padding: 1px 6px; border-radius: 4px; margin-left: 6px; vertical-align: 2px; }
.opt { color: var(--ink-3); font-size: .78rem; margin-left: 6px; }
input[type=text], input[type=email], input[type=url], input[type=password], input[type=number], input[type=search], input[type=date], select, textarea {
  width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #c9d2ce; border-radius: 8px; background: #fff; color: var(--ink); min-height: 44px;
}
textarea { min-height: 110px; resize: vertical; }
textarea.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88rem; min-height: 320px; }
input:focus, select:focus, textarea:focus { outline: 3px solid #b9dccd; border-color: var(--brand); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background: #fffafa; }
.field .err { color: var(--danger); font-size: .88rem; margin-top: 4px; }
.field .help { color: var(--ink-3); font-size: .85rem; margin-top: 4px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; }
.check-row input { width: 20px; height: 20px; margin-top: 4px; flex: 0 0 auto; }
.inline-form { display: inline; }
.form-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.form-row .field { flex: 1 1 180px; }

/* ---- tables ---- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f3f5f4; font-weight: 600; color: var(--ink-2); white-space: nowrap; font-size: .85rem; }
tr:last-child td { border-bottom: 0; }
td.num { text-align: right; font-variant-numeric: tabular-nums; }
.empty { text-align: center; color: var(--ink-3); padding: 32px 16px; }
dl.kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 16px; margin: 0; }
dl.kv dt { color: var(--ink-3); font-size: .88rem; }
dl.kv dd { margin: 0; word-break: break-all; }
@media (max-width: 600px) { dl.kv { grid-template-columns: 1fr; } dl.kv dt { margin-top: 8px; } }

/* ---- app layout (portal / admin) ---- */
.app { display: grid; grid-template-columns: 230px 1fr; min-height: calc(100vh - 60px); }
.sidebar { background: var(--card); border-right: 1px solid var(--line); padding: 16px 10px; }
.sidebar a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: .94rem; }
.sidebar a:hover { background: var(--bg); }
.sidebar a.active { background: var(--brand-2); color: var(--brand); font-weight: 700; }
.sidebar .group { font-size: .74rem; color: var(--ink-3); margin: 14px 12px 4px; letter-spacing: .05em; }
.main { padding: 24px; min-width: 0; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head h1 { margin: 0; font-size: 1.4rem; }
.breadcrumb { font-size: .85rem; color: var(--ink-3); margin-bottom: 4px; }
.breadcrumb a { color: var(--ink-3); }
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { display: none; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar.open { display: block; }
  .main { padding: 16px; }
}
.admin .site-header { background: var(--admin); border-bottom-color: #11191c; }
.admin .site-header .brand, .admin .site-header .site-nav a, .admin .site-header .who { color: #e8eeee; }
.admin .brand-mark { background: #f2a33a; color: var(--admin); }
.admin .sidebar a.active { background: #e6ecee; color: var(--admin); }
.admin .nav-toggle { color: #fff; border-color: #4b5a60; }
.area-label { font-size: .72rem; border: 1px solid currentColor; padding: 0 6px; border-radius: 4px; opacity: .85; }
.who { font-size: .85rem; color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
.who form { margin: 0; }
.linkbtn { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }

/* ---- document body ---- */
.doc-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.doc-body h3 { font-size: 1.05rem; border-left: 4px solid var(--brand); padding-left: 10px; margin-top: 1.4em; }
.doc-body h4 { font-size: .98rem; margin-top: 1.2em; }
.doc-body .q { color: var(--brand); }
.flags { background: var(--warn-2); border: 1px solid #f0dca2; border-radius: 8px; padding: 10px 14px; }
.flags ul { margin: 6px 0 0; padding-left: 1.2em; font-size: .9rem; }
.evidence { font-size: .88rem; }
.evidence li { margin-bottom: 6px; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { padding: 8px 0 8px 18px; border-left: 2px solid var(--line); position: relative; font-size: .9rem; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.pre { white-space: pre-wrap; word-break: break-word; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; background: #f3f5f4; border: 1px solid var(--line); border-radius: 8px; padding: 12px; max-height: 420px; overflow: auto; }
details summary { cursor: pointer; font-weight: 600; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs a { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-size: .88rem; background: #fff; }
.tabs a.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.admin .tabs a.active { background: var(--admin); border-color: var(--admin); }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); background: var(--card); padding: 28px 0; font-size: .88rem; color: var(--ink-2); margin-top: 40px; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.cta-band { background: var(--brand); color: #fff; border-radius: 14px; padding: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 4px; }
.cta-band p { margin: 0; opacity: .9; }
.cta-band .btn { background: #fff; color: var(--brand); border-color: #fff; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.faq details + details { margin-top: 10px; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: spin .8s linear infinite; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
.mt-0 { margin-top: 0; } .mt { margin-top: 16px; } .mb-0 { margin-bottom: 0; } .mb { margin-bottom: 16px; }
.right { text-align: right; } .nowrap { white-space: nowrap; }
.field label.label-normal, label.label-normal { font-weight: 400; }
.brand, .nav-toggle, .linkbtn, .who > * { white-space: nowrap; }
.site-header .container { flex-wrap: nowrap; }
@media (max-width: 600px) {
  .who .who-name, .area-label { display: none; }
  .brand { font-size: .95rem; }
  .who { gap: 8px; }
}

/* =====================================================================
   公開ページ（LP）— ダイナミックデザイン。body.lp 配下のみに適用
   ===================================================================== */
body.lp {
  --lp-deep: #0c3b2e;
  --lp-deep-2: #12543f;
  --lp-mint: #3fd1a0;
  --lp-lime: #d6f36b;
  --lp-orange: #ff7a2f;
  --lp-orange-2: #ff9b4a;
  --lp-cream: #fbf8f2;
  background: var(--lp-cream);
  overflow-x: hidden;
}
body.lp .sp { display: none; }
@media (max-width: 600px) { body.lp .sp { display: inline; } }

/* ---- header ---- */
.lp-header { background: rgba(255,255,255,.82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(12,59,46,.08); }
body.lp .brand-mark { background: linear-gradient(135deg, var(--lp-deep-2), var(--lp-mint)); }
body.lp .site-nav .btn-accent { background: linear-gradient(135deg, var(--lp-orange), var(--lp-orange-2)); border: 0; box-shadow: 0 6px 18px rgba(255,122,47,.35); }

/* ---- buttons ---- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 1rem; line-height: 1.2; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; min-height: 52px; }
.lp-btn svg { width: 20px; height: 20px; transition: transform .2s ease; }
.lp-btn:hover svg { transform: translateX(4px); }
.lp-btn-primary { color: #fff; background: linear-gradient(135deg, var(--lp-orange) 0%, var(--lp-orange-2) 100%); box-shadow: 0 10px 28px rgba(255,122,47,.42), inset 0 -2px 0 rgba(0,0,0,.08); }
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255,122,47,.5); }
.lp-btn-glass { color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.lp-btn-glass:hover { background: rgba(255,255,255,.2); }
.lp-btn-line { color: var(--lp-deep); background: #fff; border: 2px solid var(--lp-deep); }
.lp-btn-line:hover { background: var(--lp-deep); color: #fff; }
.lp-btn-xl { padding: 20px 40px; font-size: 1.15rem; }

/* ---- hero ---- */
.lp-hero { position: relative; color: #fff; background: radial-gradient(1200px 600px at 85% -10%, #1d7a5c 0%, transparent 60%), linear-gradient(160deg, var(--lp-deep) 0%, #0a2f25 60%, #082820 100%); padding: 72px 0 120px; overflow: hidden; isolation: isolate; }
.lp-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: float 14s ease-in-out infinite; }
.blob.b1 { width: 420px; height: 420px; background: var(--lp-mint); top: -120px; right: -80px; }
.blob.b2 { width: 360px; height: 360px; background: var(--lp-orange); bottom: -160px; left: -120px; opacity: .35; animation-delay: -5s; }
.blob.b3 { width: 260px; height: 260px; background: var(--lp-lime); top: 40%; left: 45%; opacity: .18; animation-delay: -9s; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(30px,-20px) scale(1.06); } 66% { transform: translate(-20px,25px) scale(.96); } }
.lp-hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.lp-pill { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #e4fff4; }
.lp-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-lime); box-shadow: 0 0 0 0 rgba(214,243,107,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(214,243,107,.7); } 70% { box-shadow: 0 0 0 10px rgba(214,243,107,0); } 100% { box-shadow: 0 0 0 0 rgba(214,243,107,0); } }
.lp-hero-title { font-size: clamp(2rem, 5.2vw, 3.5rem); line-height: 1.28; font-weight: 800; letter-spacing: -.01em; margin: 22px 0 20px; }
.lp-hero-title .hl { background: linear-gradient(90deg, var(--lp-lime), var(--lp-mint)); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; white-space: nowrap; }
.lp-hero-title .placeholder { outline-color: rgba(255,255,255,.5); }
.lp-hero-lead { font-size: 1.08rem; color: rgba(255,255,255,.82); max-width: 560px; }
.lp-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 22px; }
.lp-hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; color: rgba(255,255,255,.78); }
.lp-hero-points li::before { content: "✓"; color: var(--lp-lime); font-weight: 800; margin-right: 6px; }
.lp-hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; }
.lp-hero-wave svg { width: 100%; height: 100%; display: block; fill: var(--lp-cream); }

/* hero visual (画面イメージ) */
.lp-hero-visual { position: relative; min-height: 380px; perspective: 1200px; }
.mock-card { background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.35); padding: 18px; }
.mock-main { position: relative; transform: rotateY(-12deg) rotateX(6deg) rotate(1deg); animation: bob 7s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: rotateY(-12deg) rotateX(6deg) rotate(1deg) translateY(0); } 50% { transform: rotateY(-10deg) rotateX(5deg) rotate(.5deg) translateY(-12px); } }
.mock-head { display: flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; color: var(--ink-3); margin-bottom: 12px; }
.mock-dots { display: inline-flex; gap: 5px; } .mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: #ffbd4a; display: block; } .mock-dots i:first-child { background: #ff6b5e; } .mock-dots i:last-child { background: #3fd17a; }
.mock-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.mock-tabs span { font-size: .72rem; padding: 4px 10px; border-radius: 999px; background: #eef3f0; color: var(--ink-2); font-weight: 600; }
.mock-tabs span.on { background: var(--lp-deep); color: #fff; }
.mock-line { height: 9px; border-radius: 6px; background: linear-gradient(90deg, #e7ece9, #f1f4f2); margin-bottom: 10px; }
.w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; } .w95 { width: 95%; }
.mock-check { display: inline-block; font-size: .78rem; font-weight: 700; background: #fff1c7; color: #6b4600; padding: 3px 8px; border-radius: 6px; margin: 4px 0 12px; }
.mock-actions { display: flex; gap: 8px; margin-top: 14px; }
.mock-btn { font-size: .78rem; font-weight: 700; padding: 8px 14px; border-radius: 10px; border: 1.5px solid #cfd8d4; color: var(--ink-2); }
.mock-btn.ok { background: var(--lp-deep-2); border-color: var(--lp-deep-2); color: #fff; }
.mock-chip { position: absolute; display: flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 14px; font-weight: 700; font-size: .85rem; box-shadow: 0 16px 40px rgba(0,0,0,.28); animation: chip 6s ease-in-out infinite; }
.mock-chip small { color: var(--ink-3); font-weight: 600; }
.mock-chip .ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #dcf7ea; color: #13865a; font-size: .85rem; }
.mock-chip .ic.warn { background: #fff1c7; color: #a06a00; } .mock-chip .ic.blue { background: #e1edff; color: #2a5ec9; }
.chip-a { top: -18px; right: -6px; animation-delay: -1s; }
.chip-b { bottom: 96px; left: -48px; animation-delay: -3s; }
.chip-c { bottom: -12px; right: 24px; animation-delay: -4.5s; }
@keyframes chip { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.mock-caption { position: absolute; bottom: -46px; left: 0; font-size: .72rem; color: rgba(255,255,255,.5); margin: 0; }

/* ---- marquee ---- */
.lp-marquee { background: var(--lp-lime); color: var(--lp-deep); overflow: hidden; padding: 14px 0; transform: rotate(-1.2deg); margin: -10px -20px 0; position: relative; z-index: 2; box-shadow: 0 10px 30px rgba(12,59,46,.12); }
.lp-marquee .track { display: flex; gap: 28px; width: max-content; animation: marquee 32s linear infinite; font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- sections ---- */
.lp-section { padding: 96px 0; position: relative; }
.lp-section-tint { background: linear-gradient(180deg, #eef6f1 0%, #f6faf7 100%); }
.lp-heading { margin-bottom: 44px; }
.lp-heading h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 800; line-height: 1.35; letter-spacing: -.01em; margin: 6px 0 12px; color: var(--lp-deep); }
.lp-heading p { color: var(--ink-2); max-width: 640px; margin: 0; }
.lp-kicker { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .2em; color: var(--lp-orange); }
.lp-heading-light h2 { color: #fff; }

/* problems */
.lp-problems { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.lp-problem { position: relative; background: #fff; border-radius: 20px; padding: 28px 22px 22px; box-shadow: 0 2px 0 rgba(12,59,46,.06), 0 18px 40px rgba(12,59,46,.06); transition: transform .25s ease, box-shadow .25s ease; overflow: hidden; }
.lp-problem:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 26px 50px rgba(12,59,46,.12); }
.lp-problem .num { font-size: 3rem; font-weight: 900; line-height: 1; background: linear-gradient(135deg, var(--lp-mint), var(--lp-deep-2)); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 10px; }
.lp-problem p { margin: 0; font-weight: 700; font-size: 1.05rem; }
.lp-problem::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(63,209,160,.18), transparent 70%); }
.lp-target { margin-top: 36px; background: var(--lp-deep); color: #fff; border-radius: 24px; padding: 28px 32px; display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; }
.lp-target-label { font-weight: 800; font-size: 1.1rem; color: var(--lp-lime); }
.lp-target ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lp-target li { padding-left: 28px; position: relative; }
.lp-target li::before { content: "→"; position: absolute; left: 0; color: var(--lp-mint); font-weight: 800; }
@media (max-width: 700px) { .lp-target { grid-template-columns: 1fr; padding: 24px; } }

/* bento */
.lp-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento { position: relative; background: #fff; border-radius: 24px; padding: 28px; box-shadow: 0 18px 40px rgba(12,59,46,.07); transition: transform .25s ease, box-shadow .25s ease; overflow: hidden; }
.bento:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(12,59,46,.13); }
.bento h3 { font-size: 1.3rem; font-weight: 800; color: var(--lp-deep); margin: 16px 0 8px; }
.bento p { color: var(--ink-2); margin: 0; }
.bento-lg { grid-row: span 2; background: linear-gradient(160deg, var(--lp-deep-2), var(--lp-deep)); color: #fff; }
.bento-lg h3 { color: #fff; font-size: 1.6rem; } .bento-lg p { color: rgba(255,255,255,.8); }
.bento-wide { grid-column: span 2; display: flex; gap: 20px; align-items: flex-start; }
.bento-wide h3 { margin-top: 0; }
.bento-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; flex: 0 0 54px; }
.bento-icon svg { width: 28px; height: 28px; }
.c1 { background: rgba(214,243,107,.18); color: var(--lp-lime); }
.c2 { background: #fff0e6; color: var(--lp-orange); }
.c3 { background: #e5f8f0; color: #15946a; }
.c4 { background: #e9efff; color: #3b63d1; }
.bento-deco { display: flex; align-items: flex-end; gap: 10px; height: 110px; margin-top: 36px; }
.bento-deco span { flex: 1; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--lp-lime), var(--lp-mint)); opacity: .85; transform-origin: bottom; animation: grow 3.5s ease-in-out infinite; }
.bento-deco span:nth-child(1) { height: 35%; } .bento-deco span:nth-child(2) { height: 55%; animation-delay: -.5s; } .bento-deco span:nth-child(3) { height: 45%; animation-delay: -1s; }
.bento-deco span:nth-child(4) { height: 70%; animation-delay: -1.5s; } .bento-deco span:nth-child(5) { height: 60%; animation-delay: -2s; } .bento-deco span:nth-child(6) { height: 85%; animation-delay: -2.5s; }
@keyframes grow { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(.8); } }
@media (max-width: 860px) { .lp-bento { grid-template-columns: 1fr 1fr; } .bento-lg { grid-row: auto; grid-column: span 2; } }
@media (max-width: 560px) { .lp-bento { grid-template-columns: 1fr; } .bento-lg, .bento-wide { grid-column: auto; } .bento-wide { flex-direction: column; } }

/* safety */
.lp-safety { position: relative; padding: 96px 0; background: linear-gradient(135deg, #0a2f25, var(--lp-deep) 55%, #10513d); color: #fff; overflow: hidden; }
.lp-safety::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); right: -200px; top: -200px; box-shadow: 0 0 0 80px rgba(255,255,255,.02), 0 0 0 160px rgba(255,255,255,.015); }
.lp-safety-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.safe { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 30px 26px; backdrop-filter: blur(4px); transition: background .25s ease, transform .25s ease; }
.safe:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.safe-no { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--lp-lime); color: var(--lp-deep); font-weight: 900; font-size: 1.3rem; margin-bottom: 16px; }
.safe h3 { font-size: 1.2rem; font-weight: 800; }
.safe p { color: rgba(255,255,255,.75); margin: 0; }
@media (max-width: 800px) { .lp-safety-grid { grid-template-columns: 1fr; } }

/* flow */
.lp-flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; position: relative; counter-reset: none; }
.lp-flow::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 3px; background: repeating-linear-gradient(90deg, var(--lp-mint) 0 12px, transparent 12px 22px); z-index: 0; }
.lp-flow li { position: relative; z-index: 1; text-align: center; }
.flow-no { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%; background: #fff; border: 3px solid var(--lp-mint); color: var(--lp-deep); font-weight: 900; font-size: 1.5rem; box-shadow: 0 10px 24px rgba(12,59,46,.12); transition: transform .3s ease, background .3s ease; }
.lp-flow li:hover .flow-no { transform: scale(1.1) rotate(-6deg); background: var(--lp-lime); }
.lp-flow p { font-weight: 700; margin: 0; }
@media (max-width: 860px) { .lp-flow::before { display: none; } .lp-flow li { text-align: left; display: flex; gap: 16px; align-items: center; } .flow-no { margin: 0; flex: 0 0 56px; width: 56px; height: 56px; font-size: 1.2rem; } }

/* plans */
.lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: stretch; }
.lp-plan { background: #fff; border-radius: 26px; padding: 32px 26px; display: flex; flex-direction: column; box-shadow: 0 18px 44px rgba(12,59,46,.08); border: 2px solid transparent; transition: transform .25s ease, box-shadow .25s ease; }
.lp-plan:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(12,59,46,.14); }
.lp-plan.is-center { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--lp-orange), var(--lp-mint)) border-box; transform: scale(1.03); }
.lp-plan.is-center:hover { transform: scale(1.03) translateY(-6px); }
.lp-plan h3 { font-size: 1.25rem; font-weight: 800; color: var(--lp-deep); }
.lp-price { font-size: 2.1rem; font-weight: 900; color: var(--lp-deep); margin: 6px 0 12px; line-height: 1.2; }
.lp-price small { font-size: .9rem; font-weight: 600; color: var(--ink-3); }
.lp-price .placeholder { font-size: 1.3rem; }
.lp-plan-desc { color: var(--ink-2); font-size: .94rem; }
.lp-plan ul { list-style: none; padding: 16px 0 0; margin: 0 0 24px; border-top: 1px dashed #d7e2dc; flex: 1; }
.lp-plan li { padding: 6px 0 6px 28px; position: relative; }
.lp-plan li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--lp-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.lp-plan .lp-btn { width: 100%; }

/* faq */
.lp-faq details { background: #fff; border-radius: 18px; margin-bottom: 12px; box-shadow: 0 8px 24px rgba(12,59,46,.06); overflow: hidden; }
.lp-faq summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 20px 22px; font-weight: 700; cursor: pointer; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq .q { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--lp-deep); color: var(--lp-lime); font-weight: 900; }
.lp-faq .a-mark { background: var(--lp-orange); color: #fff; }
.lp-faq .plus { margin-left: auto; width: 22px; height: 22px; position: relative; flex: 0 0 22px; }
.lp-faq .plus::before, .lp-faq .plus::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 2.5px; border-radius: 2px; background: var(--lp-deep); transition: transform .25s ease; }
.lp-faq .plus::after { transform: rotate(90deg); }
.lp-faq details[open] .plus::after { transform: rotate(0); }
.lp-faq .a { display: flex; gap: 14px; padding: 0 22px 20px; }
.lp-faq .a p { margin: 4px 0 0; color: var(--ink-2); }

/* cta */
.lp-cta { position: relative; padding: 110px 0; text-align: center; color: #fff; background: linear-gradient(135deg, var(--lp-deep) 0%, #0f4a38 100%); overflow: hidden; isolation: isolate; }
.lp-cta h2 { font-size: clamp(1.8rem, 4.4vw, 3rem); font-weight: 900; line-height: 1.3; margin: 10px 0 14px; }
.lp-cta p { color: rgba(255,255,255,.8); }
.lp-cta .lp-btn { margin-top: 18px; }
.lp-notice { font-size: .82rem; max-width: 640px; margin: 32px auto 0; color: rgba(255,255,255,.55) !important; }

/* footer */
.lp-footer { background: #071f18; color: rgba(255,255,255,.7); border-top: 0; margin-top: 0; padding: 44px 0 90px; }
.lp-footer a { color: rgba(255,255,255,.85); }
.lp-footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: #fff; margin-bottom: 18px; font-size: 1.05rem; }
.lp-footer .placeholder { outline-color: rgba(255,200,100,.6); }

/* sticky CTA (mobile) */
.lp-sticky-cta { display: none; }
@media (max-width: 760px) {
  .lp-sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; text-align: center; padding: 15px; border-radius: 999px; color: #fff; font-weight: 800; text-decoration: none; background: linear-gradient(135deg, var(--lp-orange), var(--lp-orange-2)); box-shadow: 0 12px 30px rgba(255,122,47,.45); transform: translateY(140%); transition: transform .35s ease; }
  .lp-sticky-cta.show { transform: translateY(0); }
}

/* hero responsive */
@media (max-width: 900px) {
  .lp-hero { padding: 48px 0 100px; }
  .lp-hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .lp-hero-visual { min-height: 0; max-width: 420px; margin: 0 auto; width: 100%; }
  .chip-b { left: -8px; }
  .lp-section, .lp-safety { padding: 72px 0; }
  .lp-plan.is-center, .lp-plan.is-center:hover { transform: none; }
}

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; } .js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal[data-delay="3"] { transition-delay: .3s; } .js .reveal[data-delay="4"] { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .blob, .mock-main, .mock-chip, .lp-marquee .track, .bento-deco span, .lp-pill .dot { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
/* LP 横はみ出し対策 */
.lp-hero-inner > * { min-width: 0; }
@media (max-width: 900px) {
  .lp-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .lp-hero-title { font-size: clamp(1.75rem, 8vw, 2.4rem); }
  .lp-hero-title .hl { white-space: normal; }
  .lp-hero-visual { padding: 0 20px; }
  .chip-a { right: 4px; } .chip-b { left: 0; bottom: 70px; } .chip-c { right: 16px; }
  .lp-hero-cta .lp-btn { width: 100%; }
}
html:has(body.lp) { overflow-x: clip; }

/* =====================================================================
   LP 第3版：動き・相談導線の強化
   ===================================================================== */
/* スクロール進捗バー */
.lp-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 50; pointer-events: none; }
.lp-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--lp-lime), var(--lp-mint), var(--lp-orange)); transform-origin: 0 50%; transform: scaleX(0); }

/* ヒーロー：マウス追従の光・きらめき */
.lp-hero .spotlight { position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 30%), rgba(214,243,107,.16), transparent 60%); transition: background .1s; }
.spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 3px rgba(214,243,107,.8); opacity: 0; animation: spark 5s ease-in-out infinite; }
.spark.s1 { top: 18%; left: 12%; } .spark.s2 { top: 30%; left: 52%; animation-delay: -1s; } .spark.s3 { top: 70%; left: 30%; animation-delay: -2.2s; }
.spark.s4 { top: 14%; left: 82%; animation-delay: -3s; } .spark.s5 { top: 62%; left: 88%; animation-delay: -4s; }
@keyframes spark { 0%,100% { opacity: 0; transform: translateY(0) scale(.4); } 40% { opacity: 1; transform: translateY(-14px) scale(1); } 70% { opacity: 0; transform: translateY(-28px) scale(.6); } }

/* タイプライター */
.lp-typer { margin: 22px 0 -6px; font-size: 1.02rem; color: rgba(255,255,255,.85); min-height: 1.8em; }
.typer-label { color: var(--lp-lime); font-weight: 700; margin-right: 4px; }
.typer { font-weight: 700; color: #fff; border-bottom: 2px solid rgba(214,243,107,.6); }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--lp-lime); margin-left: 3px; vertical-align: -3px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ボタンの光が走る演出 */
.lp-btn-shine { position: relative; overflow: hidden; }
.lp-btn-shine::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite; }
@keyframes shine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
[data-magnetic] { will-change: transform; }

/* 画面イメージ：原稿作成→要確認→承認 を自動再生（9秒周期） */
.scene { position: relative; transform-style: preserve-3d; transition: transform .2s ease-out; }
.mock-main { animation: none; transform: rotateY(-10deg) rotateX(5deg); }
.mock-live { margin-left: auto; font-size: .68rem; color: #13865a; background: #dcf7ea; padding: 2px 8px; border-radius: 999px; animation: livefade 9s infinite; }
@keyframes livefade { 0%, 60% { opacity: 1; } 66%, 100% { opacity: 0; } }
.mock-line.type { transform-origin: left center; animation: typeline 9s ease-out infinite; }
.t1 { width: 80%; } .t2 { width: 95%; animation-delay: .25s !important; } .t3 { width: 60%; animation-delay: .5s !important; }
.t4 { width: 90%; animation-delay: 1.4s !important; } .t5 { width: 70%; animation-delay: 1.65s !important; }
@keyframes typeline { 0% { transform: scaleX(0); } 12%, 92% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.mock-check.pop { animation: checkpop 9s ease-out infinite; }
@keyframes checkpop { 0%, 10% { opacity: 0; transform: scale(.6); } 15% { opacity: 1; transform: scale(1.12); } 18%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.mock-main { position: relative; overflow: visible; }
.fake-cursor { position: absolute; width: 26px; height: 26px; left: 70%; top: 30%; animation: cursor 9s ease-in-out infinite; filter: drop-shadow(0 4px 6px rgba(0,0,0,.25)); }
@keyframes cursor { 0%, 30% { left: 75%; top: 25%; opacity: 0; } 36% { opacity: 1; } 52% { left: 16%; top: 86%; } 56% { left: 16%; top: 86%; transform: scale(.82); } 60% { transform: scale(1); } 80% { left: 16%; top: 86%; opacity: 1; } 90%, 100% { left: 40%; top: 105%; opacity: 0; } }
.mock-btn.press { animation: press 9s ease-in-out infinite; }
@keyframes press { 0%, 54% { transform: scale(1); box-shadow: none; } 56% { transform: scale(.92); } 60% { transform: scale(1.04); box-shadow: 0 0 0 6px rgba(63,209,160,.35); } 70%, 100% { transform: scale(1); box-shadow: none; } }
.mock-toast { position: absolute; left: 50%; top: 42%; transform: translate(-50%, 10px); background: var(--lp-deep); color: #fff; font-weight: 800; padding: 10px 18px; border-radius: 12px; font-size: .9rem; box-shadow: 0 14px 30px rgba(0,0,0,.3); opacity: 0; animation: toast 9s ease-out infinite; white-space: nowrap; }
@keyframes toast { 0%, 58% { opacity: 0; transform: translate(-50%, 10px) scale(.9); } 62% { opacity: 1; transform: translate(-50%, 0) scale(1.05); } 65%, 84% { opacity: 1; transform: translate(-50%, 0) scale(1); } 90%, 100% { opacity: 0; transform: translate(-50%, -10px); } }
.chip-a { animation: chipa 9s ease-out infinite; }
@keyframes chipa { 0%, 60% { opacity: 0; transform: translateY(14px) scale(.8); } 65% { opacity: 1; transform: translateY(-4px) scale(1.06); } 68%, 92% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 0; } }

/* スクロールのヒント */
.lp-scroll-hint { position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; z-index: 2; }
.lp-scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.wave-a { animation: wave 10s ease-in-out infinite alternate; transform-origin: center; }
@keyframes wave { to { transform: scaleY(1.25) translateX(-20px); } }

/* 見出しの文字アニメーション（JSで1文字ずつ分割） */
.split .ch { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(6deg); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.split.in .ch, .reveal.in .split .ch { opacity: 1; transform: none; }

/* お悩みフリップカード */
.lp-flips { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.flip { all: unset; display: block; cursor: pointer; perspective: 1000px; min-height: 210px; border-radius: 22px; }
.flip:focus-visible { outline: 3px solid var(--lp-orange); outline-offset: 4px; }
.flip-inner { position: relative; display: block; width: 100%; height: 100%; min-height: 210px; transition: transform .7s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; }
.flip:hover .flip-inner, .flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 26px 22px; border-radius: 22px; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 18px 40px rgba(12,59,46,.08); }
.flip-front { background: #fff; }
.flip-back { background: linear-gradient(150deg, var(--lp-deep-2), var(--lp-deep)); color: #fff; transform: rotateY(180deg); justify-content: center; }
.flip .num { font-size: 3rem; font-weight: 900; line-height: 1; background: linear-gradient(135deg, var(--lp-mint), var(--lp-deep-2)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.flip-text { font-weight: 700; font-size: 1.05rem; line-height: 1.6; }
.flip-hint { margin-top: auto; font-size: .8rem; color: var(--lp-orange); font-weight: 700; }
.flip-badge { display: inline-block; align-self: flex-start; font-size: .75rem; font-weight: 800; background: var(--lp-lime); color: var(--lp-deep); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }

/* 相談セクション */
.lp-consult { background: radial-gradient(800px 400px at 0% 0%, #fff3e9, transparent 60%), var(--lp-cream); }
.lp-consult-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.lp-topics { display: grid; gap: 12px; }
.topic { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 18px; padding: 16px 20px; text-decoration: none; color: var(--ink); box-shadow: 0 8px 24px rgba(12,59,46,.07); border: 2px solid transparent; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.topic:hover { transform: translateX(8px); border-color: var(--lp-orange); box-shadow: 0 14px 30px rgba(255,122,47,.18); }
.topic-ic { font-size: 1.6rem; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: #fff3e9; flex: 0 0 50px; transition: transform .3s ease; }
.topic:hover .topic-ic { transform: rotate(-10deg) scale(1.1); }
.topic strong { display: block; font-size: 1.05rem; }
.topic small { color: var(--ink-3); }
.topic-go { margin-left: auto; font-size: 1.3rem; font-weight: 800; color: var(--lp-orange); transition: transform .25s ease; }
.topic:hover .topic-go { transform: translateX(4px); }
.chat { background: #fff; border-radius: 26px; box-shadow: 0 30px 70px rgba(12,59,46,.16); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--lp-deep); color: #fff; }
.chat-head small { display: block; color: rgba(255,255,255,.65); font-size: .75rem; }
.chat-avatar { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; background: linear-gradient(135deg, var(--lp-mint), var(--lp-lime)); color: var(--lp-deep); }
.chat-online { margin-left: auto; font-size: .75rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.chat-online::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lp-lime); animation: pulse 2s infinite; }
.chat-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; min-height: 380px; background: linear-gradient(180deg, #f7faf8, #fff); }
.bubble { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: .94rem; line-height: 1.6; opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .4s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.bubble.me { align-self: flex-end; background: var(--lp-orange); color: #fff; border-bottom-right-radius: 6px; }
.bubble.you { align-self: flex-start; background: #eaf4ef; color: var(--ink); border-bottom-left-radius: 6px; }
.bubble.show { opacity: 1; transform: none; }
.typing { align-self: flex-start; display: none; gap: 4px; background: #eaf4ef; padding: 12px 14px; border-radius: 16px; }
.typing.show { display: inline-flex; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #7aa592; animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-cta { display: block; text-align: center; padding: 16px; font-weight: 800; color: var(--lp-orange); text-decoration: none; border-top: 1px solid #eef1ef; transition: background .2s; }
.chat-cta:hover { background: #fff6ef; }
@media (max-width: 900px) { .lp-consult-inner { grid-template-columns: 1fr; } .chat-body { min-height: 340px; } }
.js .chat:not(.played) .bubble { opacity: 0; }
html:not(.js) .bubble { opacity: 1; transform: none; }

/* 安全セクションの波紋 */
.lp-safety-rings { position: absolute; left: 50%; top: 50%; pointer-events: none; }
.lp-safety-rings span { position: absolute; left: -200px; top: -200px; width: 400px; height: 400px; border-radius: 50%; border: 1px solid rgba(214,243,107,.25); animation: ripple 6s linear infinite; }
.lp-safety-rings span:nth-child(2) { animation-delay: -2s; } .lp-safety-rings span:nth-child(3) { animation-delay: -4s; }
@keyframes ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }

/* 流れ：スクロールで線が伸びる */
.lp-flow::before { display: none; }
.flow-track { position: absolute; top: 33px; left: 10%; right: 10%; height: 4px; border-radius: 4px; background: #dfe9e4; z-index: 0; }
.flow-fill { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--lp-mint), var(--lp-orange)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.lp-flow li.lit .flow-no { background: var(--lp-lime); border-color: var(--lp-deep-2); }
@media (max-width: 860px) { .flow-track { display: none; } }
.lp-inline-cta { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; background: #fff; border-radius: 999px; padding: 14px 14px 14px 28px; box-shadow: 0 14px 40px rgba(12,59,46,.1); width: fit-content; margin-left: auto; margin-right: auto; }
.lp-inline-cta span { font-weight: 800; color: var(--lp-deep); }
@media (max-width: 600px) { .lp-inline-cta { border-radius: 22px; padding: 20px; text-align: center; } .lp-inline-cta .lp-btn { width: 100%; } }
.lp-price-foot { text-align: center; margin-top: 28px; color: var(--ink-2); font-weight: 700; }

/* カードの3D傾き（JSで --rx/--ry を設定） */
[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); transition: transform .25s ease-out, box-shadow .25s ease; }
.bento[data-tilt]:hover, .safe[data-tilt]:hover, .lp-plan[data-tilt]:hover { --ty: -6px; }
.lp-plan.is-center[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)) scale(1.03); }

/* CTA：ボタンの波紋 */
.lp-cta-btnwrap { position: relative; display: inline-block; margin-top: 10px; }
.lp-cta-btnwrap .ring { position: absolute; inset: 0; border-radius: 999px; border: 2px solid rgba(255,155,74,.8); animation: ring 2.4s ease-out infinite; pointer-events: none; }
.lp-cta-btnwrap .ring.r2 { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.35, 1.7); opacity: 0; } }
.lp-cta { background: linear-gradient(120deg, #0a2f25, var(--lp-deep-2), #0a2f25); background-size: 200% 200%; animation: bgmove 12s ease-in-out infinite; }
@keyframes bgmove { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* 追従ボタン */
.lp-sticky-cta .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #fff; margin-right: 8px; vertical-align: 1px; animation: pulse 2s infinite; }

@media (prefers-reduced-motion: reduce) {
  .spark, .caret, .lp-btn-shine::after, .mock-line.type, .mock-check.pop, .fake-cursor, .mock-btn.press, .mock-toast, .chip-a, .mock-live,
  .lp-scroll-hint span, .wave-a, .lp-safety-rings span, .lp-cta-btnwrap .ring, .lp-cta, .typing i, .chat-online::before { animation: none !important; }
  .fake-cursor, .mock-toast { display: none; }
  .split .ch { opacity: 1; transform: none; }
  .bubble { opacity: 1 !important; transform: none !important; }
  .flip-inner { transition: none; }
}
.bento[data-tilt]:hover, .safe[data-tilt]:hover, .lp-plan[data-tilt]:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
.lp-plan.is-center[data-tilt]:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px) scale(1.03); }
/* ヒーロー調整（重なり・3D表示の乱れ対策） */
.lp-hero-title { font-size: clamp(1.9rem, 4.2vw, 3.05rem); }
.lp-hero-title .hl { white-space: normal; }
.scene { transform-style: flat; }
.scene[data-tilt] { transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.mock-main { transform: rotate(-1.5deg); }
.mock-line { background: linear-gradient(90deg, #d5e0da, #e6ece9); height: 10px; }
.chip-a { top: -22px; right: 0; }
.chip-b { bottom: -26px; left: -20px; } .chip-c { bottom: auto; top: 46%; right: -26px; }
@media (max-width: 900px) { .chip-b { left: 0; bottom: -22px; } .chip-c { right: 0; } }
@media (max-width: 600px) { .lp-typer { font-size: .92rem; min-height: 3.6em; } }

/* =====================================================================
   LP：ロゴ・お客様ポータル紹介・お問い合わせ
   ===================================================================== */
.lp-brand { gap: 10px; }
.lp-brand img { width: 38px; height: 38px; flex: 0 0 38px; }
.lp-wordmark { display: flex; flex-direction: column; line-height: 1.15; }
.lp-wordmark small { font-size: .58rem; letter-spacing: .2em; color: #12543f; font-weight: 800; }
.lp-wordmark span { font-size: 1.02rem; font-weight: 800; color: #0c3b2e; letter-spacing: .02em; }
@media (max-width: 420px) { .lp-wordmark span { font-size: .9rem; } .lp-wordmark small { font-size: .5rem; } }
.portal .site-header .brand img, .portal .brand img { width: 30px; height: 30px; }

.lp-portal { background: radial-gradient(900px 420px at 100% 0%, #e7f6ef, transparent 60%), var(--lp-cream); overflow: hidden; }
.portal-wrap { display: grid; grid-template-columns: 1.45fr 1fr; gap: 44px; align-items: start; }
.portal-shots { position: relative; padding-right: 70px; }
.portal-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.portal-tabs button { font: inherit; font-weight: 700; font-size: .88rem; padding: 8px 16px; border-radius: 999px; border: 2px solid #cfe0d7; background: #fff; color: var(--lp-deep); cursor: pointer; transition: all .2s; }
.portal-tabs button:hover { border-color: var(--lp-mint); }
.portal-tabs button.on { background: var(--lp-deep); border-color: var(--lp-deep); color: #fff; }
.browser { background: #fff; border-radius: 16px; box-shadow: 0 30px 70px rgba(12,59,46,.18); overflow: hidden; border: 1px solid #e3ebe7; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f5f3; border-bottom: 1px solid #e3ebe7; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ffbd4a; } .browser-bar i:first-child { background: #ff6b5e; } .browser-bar i:nth-child(3) { background: #3fd17a; }
.browser-bar span { margin-left: 12px; font-size: .75rem; color: var(--ink-3); background: #fff; border-radius: 999px; padding: 2px 14px; }
.browser-view { position: relative; aspect-ratio: 1920 / 1140; background: #f6f7f4; }
.browser-view .shot { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.02); transition: opacity .5s ease, transform .6s ease; }
.browser-view .shot.on { opacity: 1; transform: none; }
.phone { position: absolute; right: 0; bottom: -30px; width: 150px; border-radius: 26px; background: #0c3b2e; padding: 8px; box-shadow: 0 24px 50px rgba(12,59,46,.35); transform: rotate(4deg); animation: chip 7s ease-in-out infinite; }
.phone img { display: block; width: 100%; height: auto; border-radius: 19px; aspect-ratio: 390 / 780; object-fit: cover; object-position: top; }
.phone-notch { position: absolute; top: 12px; left: 50%; width: 46px; height: 6px; margin-left: -23px; border-radius: 6px; background: #0c3b2e; z-index: 1; }
.portal-note { font-size: .78rem; color: var(--ink-3); margin: 44px 0 0; }
.portal-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.portal-features li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: 0 8px 24px rgba(12,59,46,.07); transition: transform .25s ease; }
.portal-features li:hover { transform: translateX(6px); }
.pf-ic { flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #e5f8f0; color: #15946a; font-weight: 900; }
.portal-features strong { color: var(--lp-deep); font-size: 1.02rem; }
.portal-features p { margin: 2px 0 0; font-size: .9rem; color: var(--ink-2); }
@media (max-width: 960px) { .portal-wrap { grid-template-columns: 1fr; } .portal-shots { padding-right: 0; } .phone { width: 110px; right: -6px; bottom: -40px; } }
@media (max-width: 600px) { .phone { display: none; } .portal-note { margin-top: 14px; } }

.lp-subhero { background: linear-gradient(160deg, var(--lp-deep), #082820); color: #fff; padding: 56px 0 44px; }
.lp-subhero h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 900; margin: 6px 0 10px; }
.lp-subhero p { color: rgba(255,255,255,.8); margin: 0; }

.lp-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.lp-footer-brand img { width: 40px; height: 40px; }
.lp-footer .lp-wordmark small { color: var(--lp-mint); } .lp-footer .lp-wordmark span { color: #fff; }
.lp-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.lp-footer-op { margin: 6px 0 14px; }
.lp-footer-cta { padding: 12px 22px; min-height: 44px; font-size: .92rem; }
.lp-copy { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; color: rgba(255,255,255,.5); }
@media (max-width: 700px) { .lp-footer-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .phone { animation: none; } .browser-view .shot { transition: none; } }
.portal-note { padding-right: 90px; } @media (max-width: 960px) { .portal-note { padding-right: 120px; } } @media (max-width: 600px) { .portal-note { padding-right: 0; } }
.bento-full { grid-column: 1 / -1; display: flex; gap: 20px; align-items: flex-start; background: linear-gradient(120deg, #fff, #fff8f0); }
.bento-full h3 { margin-top: 4px; }
.c5 { background: #fff4d6; color: #e0a100; }
.bento-new { display: inline-block; font-size: .7rem; font-weight: 900; letter-spacing: .1em; background: var(--lp-orange); color: #fff; padding: 2px 8px; border-radius: 6px; }
@media (max-width: 560px) { .bento-full { flex-direction: column; } }
.conn-msgs { margin: 6px 0 0; padding-left: 1.2em; } .conn-msgs li { margin: 2px 0; }
.preview-bar { background: #7a3b00; color: #fff; padding: 8px 16px; font-size: .9rem; text-align: center; } .preview-bar a { color: #fff; text-decoration: underline; margin-left: 8px; }
.file-list { list-style: none; padding: 0; margin: 6px 0 0; font-size: .9rem; }
.file-list li { margin: 2px 0; }
.req-item { border-top: 1px solid var(--line); padding: 14px 0; }
.req-item:first-of-type { border-top: 0; padding-top: 0; }
.req-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 4px; }
.pre-wrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.b-received { } .b-in_progress { background: var(--info-2); color: var(--info); } .b-done { background: var(--ok-2); color: var(--ok); } .b-on_hold { background: var(--warn-2); color: var(--warn); }
input[type=file] { font: inherit; max-width: 100%; }
.btn-block { width: 100%; justify-content: center; }
.bank-box summary { cursor: pointer; color: var(--accent); font-size: .92rem; }

/* 無料お試し */
.lp-trial-chip { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin-top: 18px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: #fff; text-decoration: none; font-size: .92rem; line-height: 1.5; }
.lp-trial-chip .txt { min-width: 0; }
.lp-trial-chip svg { flex: none; width: 16px; height: 16px; transition: transform .2s ease; }
.lp-trial-chip:hover svg { transform: translateX(3px); }
.lp-trial-chip:hover { background: rgba(255,255,255,.2); color: #fff; }
.lp-trial-chip .tag { background: var(--lp-lime); color: var(--lp-deep); font-weight: 800; font-size: .78rem; padding: 3px 10px; border-radius: 999px; flex: none; white-space: nowrap; }
.lp-trial-chip strong { color: var(--lp-lime); }
.lp-plan { position: relative; }
.lp-plan.has-trial { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--lp-lime), var(--lp-mint)) border-box; }
.lp-plan-ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--lp-orange); color: #fff; font-weight: 800; font-size: .82rem; padding: 6px 16px; border-radius: 999px; box-shadow: 0 8px 18px rgba(255,122,47,.35); }
.lp-trial-note { margin: 4px 0 10px; padding: 8px 12px; border-radius: 10px; background: #f3fbe0; color: var(--lp-deep); font-size: .88rem; }
.lp-cta-trial { margin-top: 14px; }
.lp-cta-trial a { color: var(--lp-lime); font-weight: 700; }
.trial-opt { background: #f3fbe0; border-radius: 10px; padding: 12px 14px; }
.legal-table th { width: 30%; white-space: nowrap; vertical-align: top; background: var(--bg-2, #f6f8f7); }
@media (max-width: 640px) { .legal-table th, .legal-table td { display: block; width: auto; white-space: normal; } }

@media (max-width: 640px) { .lp-trial-chip { border-radius: 18px; align-items: flex-start; } .lp-trial-chip .tag { margin-top: 1px; } .lp-trial-chip svg { margin-top: 3px; } }
.input-prefix { display: flex; align-items: center; gap: 6px; }
.input-prefix input { flex: 1; }

/* コラム */
.col-list { display: grid; gap: 18px; }
.col-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.col-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(12,59,46,.10); }
.col-card h2 { font-size: 1.15rem; margin: 6px 0 8px; color: var(--lp-deep); }
.col-card p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.col-date { font-size: .82rem; color: var(--muted); }
.col-article { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px clamp(18px, 4vw, 44px); }
.col-article h1 { font-size: clamp(1.4rem, 3.2vw, 1.9rem); line-height: 1.45; margin: 6px 0 18px; color: var(--lp-deep); }
.col-body { font-size: 1.02rem; line-height: 1.95; }
.col-body h2 { font-size: 1.3rem; margin: 2em 0 .7em; padding: 10px 14px; border-left: 5px solid var(--lp-mint, #3fd1a0); background: #f3f8f5; border-radius: 0 10px 10px 0; color: var(--lp-deep); }
.col-body h3 { font-size: 1.1rem; margin: 1.6em 0 .5em; color: var(--lp-deep); }
.col-body ul, .col-body ol { padding-left: 1.4em; }
.col-body li { margin: .3em 0; }
.col-toc { background: #f7faf8; border-radius: 14px; padding: 16px 20px; margin: 0 0 24px; font-size: .95rem; }
.col-toc strong { display: block; margin-bottom: 6px; }
.col-toc ol { margin: 0; padding-left: 1.3em; }
.col-cta { margin-top: 36px; padding: 26px; border-radius: 18px; background: var(--lp-deep, #0c3b2e); color: #fff; text-align: center; }
.col-cta p { color: rgba(255,255,255,.85); }
.col-cta .lp-btn { margin-top: 8px; }

/* ===== 工務店向けページ（/komuten） ===== */
.kt-hero { padding-bottom: 110px; }
.kt-hero-card { background: rgba(255,255,255,.96); color: var(--lp-deep); border-radius: 22px; padding: 24px 24px 18px; box-shadow: 0 30px 60px rgba(0,0,0,.28); }
.kt-hc-head { font-weight: 800; margin: 0 0 12px; font-size: 1.05rem; }
.kt-hero-card ul { list-style: none; margin: 0; padding: 0; }
.kt-hero-card li { padding: 11px 0; border-top: 1px solid #e6efe9; font-size: .95rem; line-height: 1.6; color: #1d2a26; }
.kt-tag { display: inline-block; font-size: .72rem; font-weight: 800; padding: 2px 9px; border-radius: 999px; margin-right: 8px; vertical-align: 1px; }
.kt-tag.kt-t1 { background: #fff1e6; color: #b5501a; } .kt-tag.kt-t2 { background: #e7f6ef; color: #12543f; }
.kt-tag.kt-t3 { background: #eef3ff; color: #2c4fa3; } .kt-tag.kt-t4 { background: #f4f9d9; color: #4d5c12; }
.kt-hc-foot { margin: 10px 0 0; font-size: .82rem; color: #5b6b65; }
.kt-grid { display: grid; gap: 18px; }
.kt-grid-1 { grid-template-columns: 1fr; } .kt-grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); } .kt-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.kt-card { background: #fff; border-radius: 18px; padding: 22px 22px 20px; box-shadow: 0 14px 34px rgba(12,59,46,.07); }
.kt-card p { margin: 6px 0 0; font-weight: 700; color: var(--lp-deep); line-height: 1.7; }
.kt-num { font-weight: 900; color: var(--lp-orange); letter-spacing: .05em; }
.kt-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.kt-steps li { background: #fff; border-radius: 16px; padding: 20px 18px; line-height: 1.75; box-shadow: 0 10px 26px rgba(12,59,46,.06); border-top: 5px solid var(--lp-mint); }
.kt-steps li b { display: block; color: var(--lp-deep); font-size: 1.1rem; margin-bottom: 6px; }
.kt-note { text-align: center; margin: 26px auto 0; max-width: 760px; color: var(--ink-2); }
.kt-checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.kt-checks li { background: #fff; border-radius: 14px; padding: 14px 18px 14px 48px; position: relative; font-weight: 700; color: var(--lp-deep); }
.kt-checks li::before { content: "✓"; position: absolute; left: 18px; top: 13px; width: 20px; height: 20px; border-radius: 50%; background: var(--lp-mint); color: #fff; font-size: .8rem; display: grid; place-items: center; }
.kt-plan { background: #fff; border-radius: 20px; padding: 24px; box-shadow: 0 14px 34px rgba(12,59,46,.07); }
.kt-plan h3 { margin: 0 0 6px; color: var(--lp-deep); font-weight: 800; }
@media (max-width: 900px) {
  .kt-grid-2, .kt-grid-3 { grid-template-columns: 1fr; }
  .kt-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .kt-steps { grid-template-columns: 1fr; } }
.kt-hero .lp-hero-title { font-size: clamp(1.8rem, 4vw, 2.75rem); }
@media (max-width: 560px) { .kt-hero .lp-hero-title { font-size: 1.62rem; } }

/* ===== お客様ポータル：使い方 ===== */
.help-toc { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 24px; margin-top: 16px; }
.help-toc ol { margin: 6px 0 0; padding-left: 1.3em; line-height: 1.9; }
.help-sec { font-size: 1.2rem; border-left: 5px solid #1f6b54; padding-left: 10px; }
.help-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; align-items: start; margin-top: 14px; }
.help-no { margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: #c8752b; }
.help-item h3 { margin: 2px 0 6px; font-size: 1.15rem; }
.help-item ol { margin: 8px 0 0; padding-left: 1.3em; line-height: 1.85; }
.help-video video { width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; background: #0c3b2e; display: block; }
.help-novideo { aspect-ratio: 16 / 9; border-radius: 10px; background: #eef3f1; display: grid; place-items: center; color: #5b6b65; }
@media (max-width: 860px) { .help-item { grid-template-columns: 1fr; } }

/* ===== 管理画面：一斉送信 ===== */
.check-wrap { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.check-inline { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; }
.mail-preview { background: #f7f9f8; border: 1px solid #e3e9e6; border-radius: 8px; padding: 14px 16px; font-family: inherit; line-height: 1.8; white-space: pre-wrap; }
ul.cols { columns: 3 220px; margin: 0; padding-left: 1.2em; }
