:root {
  --bg: #FFFFFF;
  --bg-alt: #F6F7F8;
  --ink: #111214;
  --ink-sub: #63666B;
  --line: #E1E2E5;
  --brand: #0066CC;
  --on-brand: #FFFFFF;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-1: 0 1px 3px rgba(17,18,20,.06);
  --shadow-2: 0 16px 40px rgba(17,18,20,.08);
  --section-pad: 128px;
  --font-head: "Inter","Noto Sans JP",sans-serif;
  --font-body: "Noto Sans JP",sans-serif;
  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 32px;
  --space-5: 48px; --space-6: 64px; --space-7: 96px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.8;
  overflow-x: clip; overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.35; margin: 0; text-wrap: balance; word-break: keep-all; line-break: strict; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
.container { max-width: 1140px; margin-inline: auto; padding-inline: var(--space-3); }
.section { padding-block: var(--section-pad); }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 720px; margin-bottom: var(--space-6); }
.section__title { font-size: clamp(28px, 4.2vw, 44px); font-weight: 700; }
.section__lead { color: var(--ink-sub); margin-top: var(--space-2); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 28px; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn--primary { background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-1); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
/* 統計値の和文接尾辞（例: 20「年以上」）。欧文数字と和文の見た目サイズ差を揃える */
.stat-suffix { font-size: .55em; margin-left: 2px; letter-spacing: .02em; }

/* ── signature ── */
:root {
  --bg-alt: color-mix(in srgb, var(--brand) 7%, var(--bg));
}
.section__head { position: relative; }
.section__head::before { content: ""; display: block; width: 48px; height: 3px; margin-bottom: var(--space-2); background: var(--brand); }

/* ── nav:simple ── */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: 64px; flex-wrap: wrap; padding-block: 8px; position: relative; }
.nav__logo { font-family: var(--font-head); font-weight: 700; font-size: 20px; text-decoration: none; }
.nav__links { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.nav__links .btn { min-height: 40px; padding: 8px 20px; }
.nav__link { text-decoration: none; font-size: 15px; color: var(--ink-sub); padding: 8px 0; }
.nav__link:hover { color: var(--ink); }
.nav__drawer { display: none; }
.nav__burger { list-style: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 40px; height: 40px; cursor: pointer; }
.nav__burger::-webkit-details-marker { display: none; }
.nav__burger span { display: block; flex-shrink: 0; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav__burger span + span { margin-top: 5px; }
.nav__drawer:not([open]) .nav__drawer-panel { display: none; }
.nav__drawer-panel { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-3); background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-1); box-sizing: border-box; }
.nav__drawer-link { text-decoration: none; font-size: 15px; color: var(--ink-sub); padding: 10px 4px; }
.nav__drawer-link:hover { color: var(--ink); }
.nav__drawer-panel .btn { align-self: flex-start; min-height: 40px; padding: 8px 20px; }
@media (max-width: 640px) { .nav__link { display: none; } .nav__drawer { display: block; } }

/* ── hero:slice-lockup ── */
.slhero { --sl-bg: #0B0B0E; --sl-fg: #F2F2F4; --sl-tint: white; --sl-lead: rgba(255,255,255,.62); --sl-ghost-line: rgba(255,255,255,.28); position: relative; min-height: 88svh; display: flex; align-items: center; background: var(--sl-bg); color: var(--sl-fg); overflow: clip; isolation: isolate; padding-block: var(--space-6); }
.slhero__inner { width: 100%; }
.slhero__eyebrow { font-family: var(--font-head); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 12px; color: color-mix(in srgb, var(--brand) 78%, var(--sl-tint)); margin: 0 0 14px; }
.slhero__lockup { position: relative; font-family: var(--font-head); font-weight: 800; letter-spacing: -.03em; font-size: clamp(36px, 8vw, 104px); line-height: .92; height: .92em; }
.slhero__band { position: absolute; inset: 0; white-space: nowrap; color: var(--sl-fg); will-change: transform; }
.slhero__band:nth-child(1) { clip-path: inset(0 0 80% 0); }
.slhero__band:nth-child(2) { clip-path: inset(20% 0 60% 0); }
.slhero__band:nth-child(3) { clip-path: inset(40% 0 40% 0); color: color-mix(in srgb, var(--brand) 85%, var(--sl-tint)); }
.slhero__band:nth-child(4) { clip-path: inset(60% 0 20% 0); }
.slhero__band:nth-child(5) { clip-path: inset(80% 0 0 0); }
.slhero__lead { color: var(--sl-lead); max-width: 46ch; line-height: 1.8; font-size: clamp(15px, 1.4vw, 18px); margin: 28px 0; }
.slhero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.slhero .btn--ghost { color: var(--sl-fg); border-color: var(--sl-ghost-line); }
.slhero .btn--ghost:hover { border-color: var(--sl-fg); }
@media (max-width: 768px) { .slhero { min-height: 82svh; } }

/* ── social-proof:stats ── */
.proof-stats { padding-block: var(--space-6); border-block: 1px solid var(--line); background: color-mix(in srgb, var(--brand) 5%, var(--bg)); }
.proof-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-3); margin: 0; text-align: center; }
.proof-stats__stat { display: flex; flex-direction: column; gap: 4px; }
.proof-stats__value { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.1; }
.proof-stats__label { font-size: 13px; color: var(--ink-sub); }
.proof-stats__note { text-align: center; font-size: 12px; color: var(--ink-sub); margin-top: var(--space-3); }

/* ── features:bento ── */
.feat-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.feat-bento__cell { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-4); box-shadow: var(--shadow-1); }
.section--alt .feat-bento__cell { background: var(--bg); }
.feat-bento__cell--wide { grid-column: span 2; grid-row: span 1; background: color-mix(in srgb, var(--brand) 8%, var(--bg-alt)); }
.feat-bento__title { font-size: 20px; font-weight: 700; }
.feat-bento__body { color: var(--ink-sub); margin-top: var(--space-2); font-size: 15px; }
@media (max-width: 820px) { .feat-bento { grid-template-columns: 1fr; } .feat-bento__cell--wide { grid-column: auto; } }

/* ── sticky-cutaway:stack ── */
.cut { --cut-tint: white; position: relative; }
.cut__scene { position: relative; }
.cut__sticky { position: sticky; top: 0; min-height: 100svh; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; padding: 6vh 0; }
.cut__eyebrow { font-family: var(--font-head); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 12px; color: var(--brand); margin: 0 0 10px; }
.cut__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(26px, 4vw, 48px); line-height: 1.1; margin: 0; }
.cut__lead { color: var(--ink-sub); max-width: 44ch; line-height: 1.8; margin: 16px 0 0; }
.cut__step { color: var(--ink-sub); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-head); font-weight: 700; margin: 16px 0 6px; opacity: .5; transition: opacity .3s, color .3s; }
.cut__step.is-active { opacity: 1; color: var(--brand); }
.cut__stack { position: relative; height: min(62vh, 520px); }
.cut__layer { position: absolute; left: 0; right: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, color-mix(in srgb, var(--bg-alt) 88%, var(--brand)), var(--bg-alt)); padding: 18px 20px; box-shadow: var(--shadow-2); overflow: clip; }
.section--alt .cut__layer, .cut__layer { }
.cut__layer h3 { font-family: var(--font-head); font-weight: 800; font-size: 18px; margin: 0 0 4px; display: flex; align-items: center; gap: 10px; }
.cut__tag { font-size: 11px; color: var(--brand); border: 1px solid color-mix(in srgb, var(--brand) 45%, var(--line)); border-radius: 999px; padding: 2px 9px; font-weight: 700; }
.cut__layer p { color: var(--ink-sub); font-size: 13px; line-height: 1.7; margin: 6px 0 0; }
.cut__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cut__chips span { font-size: 11px; color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); border: 1px solid var(--line); border-radius: 8px; padding: 3px 9px; }
.cut__plane { position: absolute; left: -2%; right: -2%; height: 2px; top: 0; z-index: 6; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brand) 90%, var(--cut-tint)), transparent); box-shadow: 0 0 26px 2px color-mix(in srgb, var(--brand) 60%, transparent); }
.cut__stack.is-static { height: auto; display: grid; gap: 12px; }
.cut__stack.is-static .cut__layer { position: static; }
@media (max-width: 860px) { .cut__sticky { grid-template-columns: 1fr; gap: 22px; min-height: auto; position: static; padding: 4vh 0; } .cut__stack { height: auto; display: grid; gap: 12px; } .cut__stack .cut__layer { position: static; } .cut__plane { display: none; } }

/* ── proof-lens:wall ── */
.plens { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-alt); padding: 18px; overflow: clip; min-height: 360px; cursor: crosshair; }
.section--alt .plens { background: var(--bg); }
.plens__wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.plens__item { display: flex; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; background: color-mix(in srgb, var(--ink) 3%, transparent); }
.plens__item b { font-weight: 600; font-size: 14px; }
.plens__item span { font-size: 12px; color: var(--ink-sub); white-space: nowrap; }
.plens--live .plens__wall--base .plens__item { opacity: .45; } /* 減光はJS有効(非タッチ)時のみ。JS無しは初期不透明1で全可読(degrade-visible) */
.plens__wall--hot { position: absolute; inset: 18px; z-index: 2; pointer-events: none; -webkit-mask-image: radial-gradient(circle 150px at var(--lx,46%) var(--ly,42%), #000 56%, transparent 72%); mask-image: radial-gradient(circle 150px at var(--lx,46%) var(--ly,42%), #000 56%, transparent 72%); }
.plens__wall--hot .plens__item { opacity: 1; border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); background: color-mix(in srgb, var(--brand) 14%, var(--bg-alt)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 35%, transparent); }
.plens__wall--hot .plens__item span { color: color-mix(in srgb, var(--brand) 70%, var(--ink)); }
.plens__ring { position: absolute; width: 300px; height: 300px; border-radius: 50%; left: var(--lx,46%); top: var(--ly,42%); transform: translate(-50%,-50%); z-index: 3; pointer-events: none; border: 1px solid color-mix(in srgb, var(--brand) 45%, transparent); box-shadow: 0 0 60px color-mix(in srgb, var(--brand) 22%, transparent) inset; opacity: 0; transition: opacity .3s; }
.plens:hover .plens__ring { opacity: 1; }
.plens__hint { margin-top: 12px; font-size: 12px; color: var(--ink-sub); }
@media (max-width: 900px) { .plens__wall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .plens { cursor: default; } .plens__wall { grid-template-columns: 1fr; } .plens__ring { display: none; } .plens__wall--hot { -webkit-mask-image: none; mask-image: none; position: static; inset: auto; display: none; } .plens__wall--base .plens__item { opacity: 1; } }

/* ── pricing:tiers ── */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-3); align-items: stretch; }
.pricing__tier { position: relative; display: flex; flex-direction: column; gap: var(--space-3); background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-4); box-shadow: var(--shadow-1); }
.section--alt .pricing__tier { background: var(--bg); }
.pricing__tier--featured { border-color: var(--brand); border-width: 2px; }
.pricing__badge { position: absolute; top: -12px; left: var(--space-4); background: var(--brand); color: var(--on-brand); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 12px; }
.pricing__name { font-size: 18px; font-weight: 700; }
.pricing__price { font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; }
.pricing__unit { font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--ink-sub); margin-left: 6px; }
.pricing__features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink-sub); flex-grow: 1; }
.pricing__features li { padding-left: 24px; position: relative; }
.pricing__features li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 8px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }

/* ── faq:accordion ── */
.faq { max-width: 780px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { font-family: var(--font-head); font-weight: 700; font-size: 16px; padding: var(--space-3) 40px var(--space-3) 0; cursor: pointer; list-style: none; position: relative; min-height: 44px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq__item[open] .faq__q::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a { color: var(--ink-sub); font-size: 15px; padding: 0 0 var(--space-3); max-width: 44em; }

/* ── contact-form:form ── */
.cform { --cform-err: var(--form-err, #c0392b); max-width: 640px; }
.cform__form { display: flex; flex-direction: column; gap: var(--space-3); }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__row { display: flex; flex-direction: column; gap: 6px; }
.cform__label { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--ink-sub); }
.cform__input { width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.section--alt .cform__input { background: var(--bg-alt); }
.cform__input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.cform__actions { margin-top: var(--space-2); }
.cform__msg { font-size: 14px; margin: 0; }
.cform__msg.is-ok { color: var(--brand); }
.cform__msg.is-err { color: var(--cform-err); }
.cform__note { font-size: 12px; color: var(--ink-sub); margin: 0; }
.cform__recaptcha-note { font-size: 11px; color: var(--ink-sub); margin: 0; line-height: 1.6; }
.cform__recaptcha-note a { color: inherit; text-decoration: underline; }
.grecaptcha-badge { visibility: hidden; }

/* ── footer:simple ── */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-block: var(--space-6) var(--space-4); }
.footer__inner { display: flex; flex-direction: column; gap: var(--space-3); }
.footer__logo { font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.footer__links { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.footer__link { font-size: 14px; color: var(--ink-sub); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer__link:hover { color: var(--ink); }
.footer__note { font-size: 13px; color: var(--ink-sub); }
.footer__copy { font-size: 12px; color: var(--ink-sub); margin-top: var(--space-2); }

/* ── reveal ── */
html.sf-reveal :is(.section__head, .feat-bento__cell, .feat-cards__card, .feat-alt__row, .proof-stats__stat, .proof-voices__card, .pricing__tier, .gallery__item, .steps__item, .contact__row, .faq__item, .logos__item, .cta-band__inner) { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
html.sf-reveal :is(.section__head, .feat-bento__cell, .feat-cards__card, .feat-alt__row, .proof-stats__stat, .proof-voices__card, .pricing__tier, .gallery__item, .steps__item, .contact__row, .faq__item, .logos__item, .cta-band__inner).sf-in { opacity: 1; transform: none; }
