/* 游ゴシック：Windowsで細く見えないよう、Medium と Bold を明示して使う */
@font-face { font-family: "Yu Gothic M"; src: local("Yu Gothic Medium"), local("YuGothic-Medium"); font-weight: 100 500; }
@font-face { font-family: "Yu Gothic M"; src: local("Yu Gothic Bold"), local("YuGothic-Bold"); font-weight: 600 900; }

/* Layout idea: a bright product-site layout. Centered hero copy with service tags, then a large app window that shows
   incoming business text turning into data. Each service gets its own alternating block with a small product screen. */
:root {
  --bg: #FFFFFF;
  --bg-soft: #F6F3FC;
  --ink: #172033;
  --ink-2: #56617A;
  --line: #DCE3EE;
  --accent: #7722F5;
  --accent-deep: #5B14C9;
  --accent-tint: #F1E9FE;
  --green: #0A6B52;
  --mark: #FFE27A;
  --font-display: "Yu Gothic M", YuGothic, "游ゴシック体", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-body: "Yu Gothic M", YuGothic, "游ゴシック体", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 14px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.85; letter-spacing: 0.02em; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; word-break: auto-phrase; margin: 0; letter-spacing: 0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 34px; font-family: var(--font-display); font-weight: 700; font-size: 16px; text-decoration: none; border-radius: 999px; border: 2px solid var(--accent); transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-secondary { background: #fff; color: var(--accent); }
.btn-secondary:hover { background: var(--accent-tint); }
.btn-small { min-height: 42px; padding: 0 20px; font-size: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { font-family: var(--font-display); font-weight: 900; font-size: 23px; letter-spacing: 0.1em; text-decoration: none; color: var(--ink); }
.logo { display: flex; align-items: center; }
.logo img { display: block; height: 26px; width: auto; }
.tabs { display: flex; align-items: center; gap: 4px; }
.tab { padding: 8px 14px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.tab:hover { background: var(--accent-tint); color: var(--accent-deep); }
.tab.tab-sub { color: var(--ink-2); font-weight: 500; }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 14px; }
.header-right a.plain { text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.header-right a.plain:hover { color: var(--ink); }
@media (max-width: 1120px) { .header-right a.plain { display: none; } }
@media (max-width: 900px) {
  .site-header .wrap { flex-wrap: wrap; height: auto; gap: 0; padding-top: 12px; }
  .header-right { padding-bottom: 0; }
  .tabs { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; padding: 8px 0 10px; margin: 0 -6px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
}

/* Hero */
.hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 0; text-align: center; background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-soft) 72%, var(--bg) 72%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 28% 0; pointer-events: none; background-image: radial-gradient(circle, rgba(119,34,245,.13) 1.2px, transparent 1.4px); background-size: 22px 22px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.hero .wrap { position: relative; }
.hero-kicker { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.hero-kicker a { padding: 5px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 700; text-decoration: none; color: var(--ink-2); }
.hero-kicker a:hover { border-color: var(--accent); color: var(--accent); }
.hero h1 { margin-top: 26px; font-size: clamp(34px, 5.6vw, 68px); font-weight: 900; line-height: 1.3; }
.hero h1 span { display: inline-block; }
.hero-lead { margin: 22px auto 0; font-size: clamp(16px, 1.7vw, 19px); color: var(--ink-2); max-width: 34em; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--ink-2); }

/* App window */
.app { margin: clamp(48px, 6vw, 72px) auto 0; max-width: 1040px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 40px 80px -40px rgba(23,32,51,.35), 0 2px 6px rgba(23,32,51,.05); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.app-bar strong { font-family: var(--font-display); color: var(--ink); font-size: 14px; letter-spacing: .06em; }
.app-bar .crumb { color: var(--ink-2); }
.app-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--green); font-weight: 700; }
.app-bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.app-body { display: grid; grid-template-columns: 250px minmax(0, 1fr) 300px; min-height: 360px; }
.inbox { border-right: 1px solid var(--line); background: #FAFBFD; }
.inbox-head { padding: 12px 16px; font-size: 12px; font-weight: 700; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.inbox li { list-style: none; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; line-height: 1.6; }
.inbox li.on { background: var(--accent-tint); box-shadow: inset 3px 0 0 var(--accent); }
.inbox .from { font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 8px; }
.inbox .from time { font-weight: 400; color: var(--ink-2); font-size: 12px; }
.inbox .subj { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 700; padding: 0 8px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-deep); }
.chip.g { background: #E2F4EE; color: #0A6B52; }
.chip.y { background: #FFF4CC; color: #7A5B00; }
.chip.p { background: #E5EEFD; color: #1F4FB3; }
.mail { padding: 20px 24px; font-size: 14px; line-height: 1.95; }
.mail-meta { font-size: 12.5px; color: var(--ink-2); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px dashed var(--line); }
.mail-meta b { display: block; font-size: 15px; color: var(--ink); font-family: var(--font-display); margin-bottom: 2px; }
.mail p + p { margin-top: 8px; }
.hl { background: linear-gradient(transparent 58%, var(--mark) 58%) no-repeat; background-size: 100% 100%; padding: 0 1px; }
@media (prefers-reduced-motion: no-preference) {
  .app .hl { animation: sweep .45s ease-out both; }
  .app .hl:nth-of-type(1) { animation-delay: .6s; }
  .app .hl:nth-of-type(2) { animation-delay: .85s; }
  .app .hl:nth-of-type(3) { animation-delay: 1.1s; }
  .app .hl:nth-of-type(4) { animation-delay: 1.35s; }
  .app .hl:nth-of-type(5) { animation-delay: 1.6s; }
  @keyframes sweep { from { background-size: 0% 100%; } }
}
.extract { border-left: 1px solid var(--line); padding: 18px 20px; background: #fff; }
.extract-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--accent-deep); }
.extract-head span { font-size: 12px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 999px; padding: 1px 10px; }
.extract dl { margin: 12px 0 0; display: grid; gap: 8px; }
.extract dl div { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; }
.extract dt { font-size: 12px; color: var(--ink-2); }
.extract dd { margin: 0; font-weight: 700; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.extract .done { margin-top: 12px; font-size: 12px; color: var(--green); font-weight: 700; display: flex; align-items: center; gap: 6px; }
@media (max-width: 980px) {
  .app-body { grid-template-columns: 1fr; }
  .inbox { display: none; }
  .extract { border-left: 0; border-top: 1px solid var(--line); }
}

/* Proof */
.proof { padding: clamp(40px, 5vw, 56px) 0 0; }
.proof .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.proof-item { text-align: center; padding: 24px 16px; background: var(--bg-soft); border-radius: var(--radius); }
.proof-num { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.2; white-space: nowrap; color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.proof-num small { font-size: .48em; font-weight: 700; margin-left: 2px; }
.proof-label { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.proof-note { margin-top: 12px; text-align: right; font-size: 13px; color: var(--ink-2); }
@media (max-width: 760px) { .proof .wrap { grid-template-columns: 1fr; } }

/* Section shell */
.section { padding: clamp(80px, 10vw, 128px) 0; }
.section.soft { background: var(--bg-soft); }
.head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); }
.head .en { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--accent); letter-spacing: .08em; }
.head h2 { margin-top: 10px; font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; line-height: 1.45; }
.head p { margin-top: 16px; color: var(--ink-2); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; line-height: 1.5; }
.about .en { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--accent); letter-spacing: .08em; display: block; margin-bottom: 12px; }
.about-text { font-size: clamp(16px, 1.6vw, 18px); line-height: 2.1; color: var(--ink); word-break: auto-phrase; }
.about-text p + p { margin-top: .2em; }
.about-text .last { margin-top: 1em; font-family: var(--font-display); font-weight: 900; font-size: 1.2em; color: var(--accent-deep); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* Problems */
.problems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.problem { background: #fff; border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; gap: 16px; text-decoration: none; border: 1px solid var(--line); transition: border-color .15s ease; }
.problem:hover { border-color: var(--accent); }
.problem-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; }
.problem p { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.75; }
.problem .to { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--accent); }
.problems-close { margin-top: 36px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 1.8vw, 20px); }
@media (max-width: 1000px) { .problems { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .problems { grid-template-columns: 1fr; } }

/* Service features (alternating) */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 9vw, 112px); }
.feature.flip .feature-text { order: 2; }
.feature-name { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 900; font-size: 15px; color: var(--accent); }
.feature-name span { font-weight: 500; color: var(--ink-2); font-size: 14px; }
.feature h3 { margin-top: 12px; font-size: clamp(24px, 2.8vw, 34px); font-weight: 900; line-height: 1.45; }
.feature-text > p { margin-top: 16px; color: var(--ink-2); max-width: 30em; }
.checks { margin-top: 22px; display: grid; gap: 10px; }
.checks li { list-style: none; display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-weight: 700; font-size: 15px; }
.checks li::before { content: ""; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3L9.5 3.8' fill='none' stroke='%237722F5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
.feature .btn { margin-top: 28px; }
.screen { background: var(--bg-soft); border-radius: 20px; padding: clamp(20px, 3vw, 36px); }
.screen-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 48px -32px rgba(23,32,51,.35); overflow: hidden; font-size: 13px; }
.screen-top { padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--ink-2); display: flex; justify-content: space-between; gap: 8px; }
.rows li { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.rows li:last-child { border-bottom: 0; }
.rows .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows .who { font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split > div { padding: 14px 16px; }
.split > div + div { border-left: 1px solid var(--line); }
.fax { font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; background: #FBFBF7; line-height: 2; font-size: 12.5px; }
.fax .ttl { text-align: center; letter-spacing: .4em; font-weight: 700; margin-bottom: 6px; }
.mini dl { margin: 0; display: grid; gap: 6px; }
.mini dl div { display: grid; grid-template-columns: 4.5em 1fr; gap: 8px; font-size: 12.5px; }
.mini dt { color: var(--ink-2); }
.mini dd { margin: 0; font-weight: 700; }
.deal { padding: 16px; display: grid; gap: 12px; }
.deal-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.deal-name { font-family: var(--font-display); font-weight: 900; font-size: 15px; }
.stage { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.stage i { height: 6px; border-radius: 3px; background: var(--line); }
.stage i.on { background: var(--accent); }
.stage-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); }
.suggest { border-radius: 10px; background: var(--accent-tint); padding: 12px 14px; }
.suggest b { display: block; font-size: 12px; color: var(--accent-deep); }
.suggest p { font-weight: 700; margin-top: 2px; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-text { order: 0; }
}
@media (max-width: 520px) { .split { grid-template-columns: 1fr; } .split > div + div { border-left: 0; border-top: 1px solid var(--line); } }

.related { margin-top: clamp(64px, 8vw, 96px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; padding: 26px 30px; border-radius: var(--radius); background: var(--bg-soft); text-decoration: none; border: 1px solid transparent; }
.related:hover { border-color: var(--accent); }
.related-label { font-size: 13px; color: var(--ink-2); }
.related-label strong { display: block; font-family: var(--font-display); font-size: 19px; color: var(--ink); }
.related p { font-size: 14.5px; color: var(--ink-2); }
.related .more { font-size: 14px; font-weight: 700; color: var(--accent); white-space: nowrap; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }

/* Function list */
.funcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.func { background: #fff; border-radius: 12px; padding: 20px; display: grid; gap: 6px; align-content: start; }
.func h3 { font-size: 15.5px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.func h3 i { flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.func p { font-size: 14px; color: var(--ink-2); line-height: 1.75; }
.func .svc { font-size: 13px; font-weight: 700; color: var(--accent); }
@media (max-width: 1000px) { .funcs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .funcs { grid-template-columns: 1fr; } }

/* Reasons */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.reason { padding: 34px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.reason-num { font-family: var(--font-display); font-weight: 900; font-size: 15px; color: var(--accent); }
.reason h3 { margin-top: 14px; font-size: 20px; font-weight: 900; line-height: 1.5; }
.reason p { margin-top: 12px; color: var(--ink-2); font-size: 14.5px; }
.compare { margin-top: 16px; display: grid; gap: 8px; font-size: 14px; }
.compare div { padding: 10px 12px; border-radius: 8px; background: var(--bg-soft); }
.compare div.ours { background: var(--accent-tint); }
.compare strong { display: block; font-size: 14px; }
.compare span { color: var(--ink-2); }
@media (max-width: 900px) { .reasons { grid-template-columns: 1fr; } }

/* Cases */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: border-color .15s ease; }
.case:hover { border-color: var(--accent); }
.case-top { padding: 22px 24px; background: linear-gradient(135deg, var(--accent-tint), #FAF7FF); }
.case-svc { font-size: 13px; font-weight: 700; color: var(--accent); }
.case-num { margin-top: 4px; font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 3vw, 38px); line-height: 1.2; color: var(--accent-deep); white-space: nowrap; }
.case-num small { font-size: .45em; margin-left: 2px; }
.case-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-body h3 { font-size: 16.5px; font-weight: 900; line-height: 1.6; }
.case-body p { font-size: 14px; color: var(--ink-2); }
.case-meta { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.center-link { margin-top: 32px; text-align: center; }
.note { margin-top: 12px; text-align: center; font-size: 13px; color: var(--ink-2); }
@media (max-width: 900px) { .cases { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { counter-increment: step; background: #fff; border-radius: var(--radius); padding: 28px 22px; position: relative; }
.step::before { content: "STEP " counter(step); font-family: var(--font-display); font-weight: 900; font-size: 14px; color: var(--accent); letter-spacing: .06em; }
.step:not(:last-child)::after { content: ""; position: absolute; right: -13px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: translateY(-50%) rotate(45deg); }
.step h3 { margin-top: 8px; font-size: 19px; font-weight: 900; }
.step p { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.step .period { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--accent-deep); background: var(--accent-tint); padding: 2px 12px; border-radius: 999px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .step::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Message */
.message { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; max-width: 920px; margin: 0 auto; }
.portrait { aspect-ratio: 4 / 5; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); background: #E6E1F0; display: block; }
.message blockquote { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 2.1vw, 24px); line-height: 1.85; }
.msg-body { margin-top: 18px; display: grid; gap: 10px; font-size: 15px; line-height: 1.95; color: var(--ink); }
.message .who { margin-top: 22px; font-size: 14px; color: var(--ink-2); }
.message .text-link { display: inline-block; margin-top: 18px; }
.text-link { font-weight: 700; color: var(--accent); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
@media (max-width: 760px) { .message { grid-template-columns: 1fr; } .portrait { max-width: 240px; } }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 64px; position: relative; font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 14px; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 32px 22px 64px; color: var(--ink-2); }

/* Closing */
.closing { background: var(--accent); color: #fff; padding: clamp(72px, 9vw, 112px) 0; position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(255,255,255,.14) 1.2px, transparent 1.4px); background-size: 22px 22px; }
.closing .wrap { position: relative; }
.closing h2 { text-align: center; font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; line-height: 1.5; }
.closing .sub { text-align: center; margin-top: 14px; color: #E6DAFD; }
.entries { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.entry { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.entry:hover { box-shadow: 0 16px 32px -16px rgba(0,0,0,.35); }
.entry-for { font-size: 13px; color: var(--ink-2); }
.entry h3 { font-size: 20px; font-weight: 900; color: var(--accent-deep); }
.entry p { font-size: 14px; color: var(--ink-2); }
.entry .go { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 14px; color: var(--accent); }
@media (max-width: 860px) { .entries { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #140F24; color: #A9B3C7; font-size: 14px; padding: 44px 0 48px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: flex-end; }
.site-footer .logo { color: #fff; }
.site-footer .addr { margin-top: 12px; font-size: 13px; color: #A9B3C7; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 14px; }
.site-footer a { text-decoration: none; }
.site-footer nav a:hover { color: #fff; }

/* Mobile fixed CTA */
.mobile-cta { display: none; }
@media (max-width: 640px) {
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); }
  .mobile-cta .btn { min-height: 46px; padding: 0 10px; font-size: 14.5px; }
  body { padding-bottom: 72px; }
  .header-right .btn { min-height: 38px; padding: 0 14px; font-size: 14px; }
}

/* ---------- service pages ---------- */
.phero { background: var(--bg-soft); padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(119,34,245,.12) 1.2px, transparent 1.4px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.phero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.crumbs { font-size: 13px; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--accent); }
.svc-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--accent-deep); }
.svc-chip b { font-family: var(--font-display); font-weight: 900; color: var(--accent); }
.phero h1 { margin-top: 20px; font-size: clamp(32px, 4.4vw, 54px); font-weight: 900; line-height: 1.35; }
.phero h1 span { display: inline-block; }
.phero .lead { margin-top: 20px; font-size: clamp(15.5px, 1.5vw, 17.5px); color: var(--ink-2); max-width: 32em; }
.phero .actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.badges { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.badges span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
.badges span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3L9.5 3.8' fill='none' stroke='%237722F5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
@media (max-width: 960px) { .phero .wrap { grid-template-columns: 1fr; } }
.phero-photo { background-size: cover; background-position: right center; background-color: #DCD3EE; }
.ph-mailboost { background-image: url("svc-mailboost.jpg"); }
.ph-erpboost { background-image: url("svc-erpboost.jpg"); }
.ph-sfa { background-image: url("svc-sfa.jpg"); }
.ph-hr { background-image: url("svc-hr.jpg"); }
.phero-mock { position: relative; z-index: 1; }
.phero-mock > * { box-shadow: 0 40px 80px -36px rgba(40, 14, 100, .55); }
@media (min-width: 961px) {
  .phero.has-photo { padding-top: clamp(56px, 6vw, 80px); padding-bottom: clamp(56px, 6vw, 80px); }
  .phero.has-photo .wrap { position: static; }
  .phero.has-photo .wrap > div:first-child { position: relative; z-index: 1; }
  .phero.has-photo .phero-photo { position: absolute; top: 0; bottom: 0; right: 0; width: 50%; }
  .phero.has-photo .phero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg-soft) 0%, rgba(245, 242, 252, 0) 22%); }
  .phero.has-photo .phero-mock { zoom: .74; width: 100%; max-width: 640px; margin: 250px 0 0 -10%; }
}
@media (max-width: 960px) {
  .phero.has-photo .phero-photo { aspect-ratio: 16 / 10; border-radius: 18px; }
  .phero.has-photo .phero-mock { width: 92%; margin: -36px 0 0 auto; }
  .phero.has-photo .phero-photo { background-position: 78% 30%; }
}

.anchors { position: sticky; top: 72px; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.anchors .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; }
.anchors .wrap::-webkit-scrollbar { display: none; }
.anchors a { flex: none; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--ink-2); }
.anchors a:hover { background: var(--accent-tint); color: var(--accent-deep); }
@media (max-width: 900px) { .anchors { top: 0; position: relative; } }

.flowsteps { list-style: none; display: grid; gap: 0; }
.flowstep { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding: 36px 0; border-top: 1px solid var(--line); }
.flowstep:last-child { border-bottom: 1px solid var(--line); }
.flowstep .no { font-family: var(--font-display); font-weight: 900; font-size: 14px; color: var(--accent); letter-spacing: .06em; }
.flowstep h3 { margin-top: 8px; font-size: clamp(20px, 2.2vw, 25px); font-weight: 900; line-height: 1.5; }
.flowstep p { margin-top: 10px; color: var(--ink-2); max-width: 30em; }
@media (max-width: 860px) { .flowstep { grid-template-columns: 1fr; } }

.vis { background: var(--bg-soft); border-radius: 16px; padding: clamp(18px, 2.5vw, 28px); display: grid; gap: 10px; }
.vcard { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; line-height: 1.75; }
.vcard .cap { display: block; font-size: 12px; color: var(--ink-2); }
.vrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.varrow { display: grid; place-items: center; color: var(--accent); }
.warn { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 8px; background: #FFF4CC; color: #7A5B00; font-size: 12.5px; font-weight: 700; }
.okbtn { justify-self: end; display: inline-block; padding: 6px 14px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; }

.probgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.prob { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.prob .body { padding: 24px 22px; display: grid; gap: 8px; flex: 1; align-content: start; }
.prob h3 { font-size: 17.5px; font-weight: 900; line-height: 1.55; }
.prob p { font-size: 14px; color: var(--ink-2); }
.prob .fix { display: flex; gap: 10px; align-items: center; padding: 13px 22px; background: var(--accent-tint); color: var(--accent-deep); font-size: 14px; font-weight: 700; }
.prob .fix::before { content: "解決"; flex: none; font-size: 13px; padding: 1px 8px; border-radius: 999px; background: var(--accent); color: #fff; }
@media (max-width: 960px) { .probgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .probgrid { grid-template-columns: 1fr; } }

.engine { display: grid; gap: 18px; }
.engine-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.engine-in div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.engine-in b { display: block; font-family: var(--font-display); font-size: 16px; }
.engine-in span { font-size: 14px; color: var(--ink-2); }
.engine-out { justify-self: center; text-align: center; padding: 20px 40px; border-radius: 14px; background: var(--accent); color: #fff; }
.engine-out b { display: block; font-family: var(--font-display); font-size: 19px; }
.engine-out span { font-size: 14px; color: #E6DAFD; }
@media (max-width: 860px) { .engine-in { grid-template-columns: 1fr 1fr; } }

.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.metric { text-align: center; padding: 28px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.metric b { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.2; color: var(--accent-deep); white-space: nowrap; }
.metric b small { font-size: .5em; margin-left: 2px; }
.metric span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 760px) { .metrics { grid-template-columns: 1fr; } }

.casewide { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 20px; margin-top: 20px; }
.cw { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 14px; align-content: start; }
.cw .tag { font-size: 13px; font-weight: 700; color: var(--accent); }
.cw h3 { font-size: 20px; font-weight: 900; line-height: 1.55; }
.cw p { font-size: 14.5px; color: var(--ink-2); }
.cw .nums { display: flex; flex-wrap: wrap; gap: 14px 36px; padding-top: 14px; border-top: 1px solid var(--line); }
.cw .nums b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 24px; color: var(--accent-deep); }
.cw .nums span { font-size: 13px; color: var(--ink-2); }

.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.tbl { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
.tbl th, .tbl td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.tbl thead th { font-size: 14px; color: var(--ink-2); background: #FAFBFD; }
.tbl thead th.us { background: var(--accent); color: #fff; }
.tbl td.us { background: var(--accent-tint); font-weight: 700; }
.tbl tbody th { font-weight: 700; }
.tbl .sub { display: block; font-size: 13px; color: var(--ink-2); font-weight: 400; }

.dark { background: #140F24; color: #fff; }
.dark .head h2 { color: #fff; }
.dark .head p { color: #B8C2D6; }
.dark .head .en { color: #B892FF; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo > div { border: 1px solid #352B52; border-radius: var(--radius); padding: 28px; }
.duo h3 { font-size: 20px; font-weight: 900; }
.duo ul { margin-top: 14px; display: grid; gap: 8px; }
.duo li { list-style: none; display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 14.5px; color: #DCE3F0; }
.duo li::before { content: ""; width: 16px; height: 16px; margin-top: 5px; border-radius: 50%; background: rgba(184,146,255,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3L9.5 3.8' fill='none' stroke='%23B892FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
.lockline { margin-top: 16px; padding: 18px 22px; border-radius: 12px; background: #221A3A; font-size: 14.5px; color: #DCE3F0; }
.lockline b { color: #fff; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

.flowline { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 14px; counter-reset: fl; }
.flowline li { counter-increment: fl; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; display: grid; gap: 8px; align-content: start; }
.flowline li::before { content: counter(fl, decimal-leading-zero); font-family: var(--font-display); font-weight: 900; color: var(--accent); font-size: 15px; }
.flowline b { font-family: var(--font-display); font-size: 18px; }
.flowline span { font-size: 14px; color: var(--ink-2); }
.flowline .period { justify-self: start; font-size: 13px; font-weight: 700; color: var(--accent-deep); background: var(--accent-tint); padding: 2px 10px; border-radius: 999px; }
.flowline li.first3 { border-color: var(--accent); }
@media (max-width: 960px) { .flowline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .flowline { grid-template-columns: 1fr; } }

.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 14px; align-content: start; }
.panel-box .lbl { font-size: 14px; font-weight: 700; color: var(--accent); }
.panel-box h3 { font-size: 21px; font-weight: 900; line-height: 1.5; }
.panel-box p { color: var(--ink-2); font-size: 14.5px; }
.panel-box.hl-box { border: 2px solid var(--accent); }
.mini-list { display: grid; gap: 10px; }
.mini-list div { padding: 14px 16px; border-radius: 10px; background: var(--bg-soft); }
.mini-list b { display: block; font-size: 15px; }
.mini-list span { font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 860px) { .twocol { grid-template-columns: 1fr; } }

.bad-good { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bg-col { border-radius: var(--radius); padding: 28px; }
.bg-col.bad { background: #F4F5F7; }
.bg-col.good { background: var(--accent-tint); border: 2px solid var(--accent); }
.bg-col h3 { font-size: 18px; font-weight: 900; }
.bg-col ol { margin-top: 14px; padding-left: 1.3em; display: grid; gap: 6px; font-size: 14.5px; }
.bg-col .verdict { margin-top: 16px; font-weight: 700; font-size: 14.5px; }
.bg-col.bad .verdict { color: #8A3B3B; }
.bg-col.good .verdict { color: var(--accent-deep); }
@media (max-width: 760px) { .bad-good { grid-template-columns: 1fr; } }

.chat { display: grid; gap: 10px; padding: 16px; }
.bubble { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.7; }
.bubble.ai { background: var(--accent-tint); border-top-left-radius: 4px; }
.bubble.me { justify-self: end; background: #F1F3F6; border-top-right-radius: 4px; }
.bubble .who { display: block; font-size: 12px; font-weight: 700; color: var(--accent-deep); }

.three-axis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.axis { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: grid; gap: 10px; align-content: start; }
.axis .en2 { font-family: var(--font-display); font-weight: 900; font-size: 14px; color: var(--accent); letter-spacing: .06em; }
.axis h3 { font-size: 19px; font-weight: 900; line-height: 1.5; }
.axis p { font-size: 14px; color: var(--ink-2); }
@media (max-width: 860px) { .three-axis { grid-template-columns: 1fr; } }

.others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.other { display: grid; gap: 4px; padding: 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .15s ease; }
.other:hover { border-color: var(--accent); }
.other b { font-family: var(--font-display); font-size: 18px; }
.other span { font-size: 14px; color: var(--ink-2); }
.other .go { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--accent); }
@media (max-width: 860px) { .others { grid-template-columns: 1fr; } }
.tab[aria-current="page"] { background: var(--accent-tint); color: var(--accent-deep); }
.src-note { margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.app-body.two { grid-template-columns: minmax(0, var(--a)) minmax(0, var(--b)); min-height: 0; }
.app-body.two .inbox { display: block; }
.funcs.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .app-body.two { grid-template-columns: 1fr; } .app-body.two .inbox { display: none; } .app-body.two .extract { border-left: 0; border-top: 1px solid var(--line); } .funcs.three { grid-template-columns: 1fr; } }

/* ---------- cases / company / forms ---------- */
.simple-hero { background: var(--bg-soft); padding: clamp(48px, 7vw, 80px) 0 clamp(40px, 5vw, 56px); }
.simple-hero h1 { margin-top: 14px; font-size: clamp(30px, 4vw, 46px); font-weight: 900; line-height: 1.4; }
.simple-hero + .section { padding-top: clamp(36px, 5vw, 56px); }
@media (max-width: 900px) { .side .doclist { display: none; } }
.simple-hero .lead { margin-top: 16px; color: var(--ink-2); max-width: 40em; font-size: clamp(15px, 1.4vw, 17px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { appearance: none; font: inherit; font-size: 14px; font-weight: 700; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.caselist { display: grid; gap: 20px; }
.casecard { scroll-margin-top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-columns: 300px minmax(0, 1fr); overflow: hidden; }
.casecard[hidden] { display: none; }
.casecard:target { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.cc-side { background: linear-gradient(160deg, var(--accent-tint), #FAF7FF); padding: 28px; display: grid; gap: 14px; align-content: start; }
.cc-svc { justify-self: start; font-size: 13px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 999px; padding: 2px 12px; }
.cc-who { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.6; }
.cc-num b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 28px; line-height: 1.25; color: var(--accent-deep); }
.cc-num span { font-size: 13px; color: var(--ink-2); }
.cc-main { padding: 28px 32px; display: grid; gap: 16px; align-content: start; }
.cc-main h2 { font-size: clamp(19px, 2vw, 23px); font-weight: 900; line-height: 1.55; }
.cc-main dl { margin: 0; display: grid; gap: 12px; }
.cc-main dt { font-size: 13px; font-weight: 700; color: var(--accent); }
.cc-main dd { margin: 2px 0 0; font-size: 14.5px; color: var(--ink); }
.cc-main .voice { padding: 14px 16px; border-radius: 10px; background: var(--bg-soft); font-size: 14px; color: var(--ink-2); }
.cc-main .more-link { font-size: 14px; font-weight: 700; color: var(--accent); text-decoration: none; }
@media (max-width: 860px) { .casecard { grid-template-columns: 1fr; } }

.info-tbl { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.info-tbl th, .info-tbl td { text-align: left; vertical-align: top; padding: 18px 22px; border-bottom: 1px solid var(--line); line-height: 1.9; }
.info-tbl tr:last-child th, .info-tbl tr:last-child td { border-bottom: 0; }
.info-tbl th { width: 26%; min-width: 96px; background: #FAF9FD; color: var(--ink-2); font-weight: 700; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; align-content: start; }
.person-top { display: flex; gap: 20px; align-items: center; }
.person-top img { width: 112px; height: 140px; object-fit: cover; border-radius: 12px; flex: none; }
.person-top .role { font-size: 14px; font-weight: 700; color: var(--accent); }
.person-top b { display: block; font-family: var(--font-display); font-size: 23px; }
.person p { font-size: 14.5px; color: var(--ink-2); }
.person .lbl2 { font-size: 14px; font-weight: 700; }
@media (max-width: 860px) { .people { grid-template-columns: 1fr; } }
.msg-wrap { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; max-width: 1000px; margin: 0 auto; }
.msg-wrap img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.msg-wrap h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; line-height: 1.5; }
.msg-wrap .msg-body { margin-top: 20px; display: grid; gap: 14px; font-size: 15.5px; line-height: 2; }
.msg-wrap .sign { margin-top: 24px; font-size: 14px; color: var(--ink-2); }
.msg-wrap .sign b { display: block; font-family: var(--font-display); font-size: 19px; color: var(--ink); }
@media (max-width: 760px) { .msg-wrap { grid-template-columns: 1fr; } .msg-wrap img { max-width: 260px; } }
.vision { max-width: 820px; margin: 0 auto; font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 1.9vw, 21px); line-height: 2.1; word-break: auto-phrase; }
.vision .last { margin-top: .8em; font-weight: 900; font-size: 1.3em; color: var(--accent-deep); }
.biz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.biz > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; align-content: start; }
.biz h3 { font-size: 19px; font-weight: 900; }
.biz p { font-size: 14.5px; color: var(--ink-2); }
.biz .links { display: flex; flex-wrap: wrap; gap: 6px; }
.biz .links a { font-size: 14px; font-weight: 700; color: var(--accent-deep); background: var(--accent-tint); padding: 3px 12px; border-radius: 999px; text-decoration: none; }
@media (max-width: 860px) { .biz { grid-template-columns: 1fr; } }

.form-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 30px 60px -40px rgba(23,32,51,.35); }
.form-card h2 { font-size: 21px; font-weight: 900; }
.form-card .req-note { margin-top: 6px; font-size: 13px; color: var(--ink-2); }
form.lead-form { margin-top: 22px; display: grid; gap: 18px; }
form.lead-form[hidden], #form-head[hidden] { display: none; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .f-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field > label, .field > legend, fieldset.field > legend { font-size: 14px; font-weight: 700; padding: 0; }
.field .req { margin-left: 6px; font-size: 13px; color: #fff; background: var(--accent); border-radius: 4px; padding: 0 6px; vertical-align: 1px; }
.field .opt { margin-left: 6px; font-size: 13px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  font: inherit; font-size: 15px; width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #C9CFDB; border-radius: 10px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.choices { display: grid; gap: 8px; }
.choices.cols2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .choices.cols2 { grid-template-columns: 1fr; } }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid #C9CFDB; border-radius: 10px; cursor: pointer; font-size: 14.5px; line-height: 1.6; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }
.choice input { margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.choice small { display: block; font-size: 13px; color: var(--ink-2); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.consent input { margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; }
.consent a { color: var(--accent); }
.form-error { display: none; padding: 12px 14px; border-radius: 10px; background: #FDECEC; color: #9B1C1C; font-size: 14px; font-weight: 700; }
.form-error.show { display: block; }
.submit { min-height: 58px; width: 100%; font-size: 17px; cursor: pointer; }
.after-note { font-size: 13px; color: var(--ink-2); text-align: center; }
.thanks { display: none; text-align: center; padding: 24px 8px; }
.thanks.show { display: grid; gap: 14px; justify-items: center; }
.thanks .ok { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; }
.thanks h2 { font-size: 22px; }
.thanks p { color: var(--ink-2); max-width: 28em; }
.doclist { display: grid; gap: 10px; }
.doc { display: grid; gap: 4px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; padding: 14px 18px; }
.doc-cover { aspect-ratio: 210 / 297; border-radius: 6px; border: 1px solid var(--line); overflow: hidden; background: #fff; display: grid; grid-template-rows: 28% 1fr; }
.doc-cover i { background: var(--accent); }
.doc-cover span { padding: 6px; font-size: 8.5px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.doc b { font-family: var(--font-display); font-size: 16px; }
.doc p { font-size: 14px; color: var(--ink-2); }
.side-points { display: grid; gap: 14px; margin-top: 24px; }
.side-points div { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.side-points .n { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; }
.side-points b { display: block; font-size: 16px; }
.side-points span { font-size: 14px; color: var(--ink-2); }
.side h1 { margin-top: 14px; font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; line-height: 1.4; }
.side .lead { margin-top: 14px; color: var(--ink-2); }
.form-section { background: var(--bg-soft); padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); }

/* ---------- review round: shared fixes ---------- */
html { scroll-padding-top: 96px; }
@media (max-width: 1120px) { html { scroll-padding-top: 132px; scroll-padding-bottom: 90px; } }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.closing :focus-visible, .site-footer :focus-visible, .dark :focus-visible { outline-color: #fff; }
h1, h2 { font-feature-settings: "palt"; letter-spacing: .01em; }
.head .en, .about .en { text-transform: uppercase; letter-spacing: .16em; font-size: 13px; }
.note, .src-note, .crumbs, .after-note, .proof-note, .hero-note, .case-meta, .entry-for { font-size: 14px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "／"; margin-right: 6px; color: var(--ink-2); }
.problems-sub { margin-top: 10px; text-align: center; font-size: 14px; color: var(--ink-2); }
.problems-sub a { color: var(--accent); font-weight: 700; }
.case, .problem, .other, .entry, .service, .casecard, .cw { transition: transform .2s ease, box-shadow .2s ease, border-color .15s ease; }
.case:hover, .problem:hover, .other:hover, .service:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -24px rgba(60, 20, 140, .35); }
.entry:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .case, .problem, .other, .entry, .service { transition: none; } .case:hover, .problem:hover, .other:hover, .service:hover, .entry:hover { transform: none; } }
.closing { background: linear-gradient(135deg, #1E0B45 0%, #4A12A8 58%, #7722F5 100%); }
.closing .sub { color: #E3D6FF; }
.tbl-wrap:focus-visible { outline-offset: 2px; }

/* header: menu button and drawer */
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; }
.menu-btn .bars { width: 16px; height: 12px; position: relative; display: inline-block; }
.menu-btn .bars::before, .menu-btn .bars::after, .menu-btn .bars i { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; }
.menu-btn .bars::before { top: 0; } .menu-btn .bars i { top: 5px; } .menu-btn .bars::after { bottom: 0; }
.drawer { border-top: 1px solid var(--line); background: #fff; box-shadow: 0 24px 40px -24px rgba(23,32,51,.25); }
.drawer[hidden] { display: none; }
.site-header .drawer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; height: auto; align-items: start; padding-top: 24px; padding-bottom: 28px; flex-wrap: nowrap; }
.drawer { max-height: calc(100vh - 72px); overflow-y: auto; }
.drawer .col-h { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; letter-spacing: .06em; }
.drawer a.dl { display: block; padding: 10px 0; text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--line); }
.drawer a.dl small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-2); }
.drawer .btn { width: 100%; margin-top: 10px; }
@media (max-width: 1120px) { .menu-btn { display: inline-flex; } }
@media (max-width: 760px) { .site-header .drawer .wrap { grid-template-columns: 1fr; gap: 12px; } }
@media (max-width: 900px) {
  .tabs { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .header-right { gap: 8px; }
}
@media (max-width: 640px) { .header-right .btn-small { display: none; } }

/* footer columns */
.site-footer .ft { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 32px; align-items: start; }
.ft-cols { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 0 !important; }
.ft-cols span { display: block; font-size: 13px; color: #8E86A8; margin-bottom: 6px; letter-spacing: .06em; }
.ft-cols a { display: block; padding: 7px 0; font-size: 14px; color: #D9D3EA; }
.ft-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid #2A2142; font-size: 14px; }
@media (max-width: 760px) { .site-footer .ft { grid-template-columns: 1fr; } .ft-cols { grid-template-columns: 1fr 1fr; } }
.mobile-cta.off { transform: translateY(110%); }
.mobile-cta { transition: transform .25s ease; }

/* download covers and compact list on phones */
.doc-cover { background: linear-gradient(160deg, #2A0E5C, #5B14C9); border: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 8px; box-shadow: 0 12px 24px -12px rgba(40, 10, 90, .45); }
.doc-cover i { display: block; width: 46px; height: 11px; background: url("logo-white.png") left center / contain no-repeat; }
.doc-cover span { padding: 0; color: #fff; font-size: 10px; line-height: 1.35; word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 900px) { .side .doclist { display: grid !important; } .side .doc { padding: 12px 14px; } }

/* SFA self-diagnosis */
.diag { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: start; }
.diag-q { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.diag-q legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.diag .choice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border: 1px solid #C9CFDB; border-radius: 12px; cursor: pointer; background: #fff; font-size: 15px; }
.diag .choice:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }
.diag .choice input { margin-top: 5px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.diag-result { position: sticky; top: 150px; background: #fff; border: 2px solid var(--accent); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; }
.diag-result .lbl { justify-self: start; font-size: 13px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 999px; padding: 2px 12px; }
.diag-result h3 { font-size: 19px; font-weight: 900; line-height: 1.5; margin-top: 8px; }
.diag-result p { font-size: 14.5px; color: var(--ink-2); }
.diag-out[hidden], .diag-cta[hidden], .diag-empty[hidden] { display: none; }
@media (max-width: 860px) { .diag { grid-template-columns: 1fr; } .diag-result { position: static; } }

/* ERP estimator */
.calc { margin-top: 24px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: center; padding: 30px; border-radius: var(--radius); background: #140F24; color: #fff; }
.calc h3 { font-size: 21px; font-weight: 900; }
.calc p { margin-top: 10px; color: #CFC6E6; font-size: 14.5px; }
.calc-box { display: grid; gap: 12px; }
.calc-box label { font-weight: 700; font-size: 14px; }
.calc-in { display: flex; align-items: center; gap: 10px; }
.calc-in input { font: inherit; font-size: 20px; font-weight: 700; width: 180px; min-height: 52px; padding: 0 14px; border-radius: 10px; border: 1px solid #4B3F70; background: #221A3A; color: #fff; }
.calc-in input:focus { outline: 3px solid #B892FF; outline-offset: 2px; }
.calc-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.calc-out div { padding: 14px; border-radius: 10px; background: #221A3A; }
.calc-out span { display: block; font-size: 13px; color: #CFC6E6; }
.calc-out b { display: block; font-family: var(--font-display); font-size: 22px; font-variant-numeric: tabular-nums; }
.calc-out .hl-out { background: var(--accent); }
.calc-out .hl-out span { color: #EDE3FF; }
.calc-note { font-size: 13px !important; margin-top: 0 !important; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc-out { grid-template-columns: 1fr; } }

/* company mission / vision */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mv > div { padding: 28px; border-radius: var(--radius); background: var(--accent-tint); }
.mv-k { font-family: var(--font-display); font-weight: 900; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.mv p { margin-top: 8px; font-family: var(--font-display); font-weight: 900; font-size: clamp(19px, 2.2vw, 25px); line-height: 1.5; }
@media (max-width: 760px) { .mv { grid-template-columns: 1fr; } }
.nobr { white-space: nowrap; }
.mv { margin-bottom: clamp(28px, 4vw, 44px); }
.side-next { margin-top: 26px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; }
.side-next b { display: block; font-size: 14px; }
.side-next p { margin-top: 6px; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.pp { max-width: 820px; margin: 0 auto; display: grid; gap: clamp(28px, 3.5vw, 40px); }
.pp-item h2 { font-family: var(--font-display); font-size: clamp(18px, 2vw, 21px); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.pp-item p { margin-top: 14px; font-size: 15px; line-height: 1.95; color: var(--ink-2); }
.pp-item ul { margin-top: 10px; padding-left: 1.3em; display: grid; gap: 4px; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.pp-date { text-align: right; font-size: 14px; line-height: 1.9; color: var(--ink-2); }
@media (max-width: 600px) {
  .home .mission-c .about-text { font-size: 15px; line-height: 1.85; }
  .home .mission-c .about-text p + p { margin-top: 1em; }
  .home .mission-c .about-text .last { margin-top: 1.4em; }
  .pz { display: inline-block; }
}
@media (max-width: 600px) {
  .home .inds { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78vw, 320px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 4px 20px 12px; scrollbar-width: none; }
  .inds::-webkit-scrollbar { display: none; }
  .ind { scroll-snap-align: start; }
  .ind-art.ind-photo { height: 160px; }
  .ind-body { padding: 18px 18px 20px; }
  .inds-hint { display: block; margin-top: 6px; text-align: center; font-size: 14px; color: var(--ink-2); }
}
.inds-hint { display: none; }

/* Mailboost headline: two fixed lines */
.phero h1.two-line span { display: block; white-space: nowrap; }
.phero h1.two-line { font-size: clamp(26px, 3.7vw, 46px); }
/* ---------- round 2: headline, top page, floater ---------- */
.phero h1.one-line span { display: block; white-space: nowrap; }
.phero h1.one-line { font-size: clamp(21px, 2.75vw, 34px); }
h1, h2, h3, .btn { font-weight: 700; }

/* mission (centered, large) */
.mission-c { text-align: center; padding-top: clamp(88px, 11vw, 150px); padding-bottom: clamp(88px, 11vw, 150px); }
.mission-c .en { font-weight: 700; font-size: 14px; letter-spacing: .14em; color: var(--accent); }
.mission-c h2 { margin-top: 18px; font-size: clamp(30px, 5vw, 62px); line-height: 1.35; padding-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); max-width: 960px; margin-left: auto; margin-right: auto; }
.mission-c h2 span { display: inline-block; }
.mission-c h2 .ac { color: var(--accent); }
.mission-c .about-text { margin: clamp(28px, 4vw, 44px) auto 0; max-width: 760px; font-size: clamp(15.5px, 1.5vw, 17.5px); line-height: 2.3; color: var(--ink-2); }
.mission-c .about-text .last { color: var(--ink); font-size: 1.25em; font-weight: 700; }

/* industries */
.inds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ind { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease; }
.ind-art { display: grid; place-items: center; height: 170px; background: #ECE7F6; color: #6B5A96; transition: background-color .3s ease, color .3s ease; }
.ind-art svg { width: min(74%, 250px); height: auto; transition: transform .35s ease; }
.ind-body { display: grid; gap: 6px; padding: 22px 24px 24px; }
.ind-body b { font-family: var(--font-display); font-size: 20px; }
.ind-body > span { font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }
.ind-body em { margin-top: 6px; font-style: normal; font-size: 14px; font-weight: 700; color: var(--accent); }
.ind:hover, .ind:focus-visible { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 26px 48px -28px rgba(60, 20, 140, .45); }
.ind:hover .ind-art, .ind:focus-visible .ind-art { background: linear-gradient(135deg, #3A0F8A, #7722F5); color: #fff; }
.ind:hover .ind-art svg { transform: scale(1.06); }
.ind-photo { position: relative; overflow: hidden; display: block; }
.ind-photo::before { content: ""; position: absolute; inset: 0; background-size: cover; background-position: center 32%; transition: transform .45s ease; }
.ind-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(58, 15, 138, .78), rgba(119, 34, 245, .55)); opacity: 0; transition: opacity .3s ease; }
.ip-mfg::before { background-image: url("ind-mfg.jpg"); background-position: center 36%; }
.ip-food::before { background-image: url("ind-food.jpg"); }
.ip-logi::before { background-image: url("ind-logi.jpg"); }
.ip-it::before { background-image: url("ind-it.jpg"); }
.ip-hr::before { background-image: url("ind-hr.jpg"); background-position: 40% 30%; }
.ip-consul::before { background-image: url("ind-consul.jpg"); }
.ind:hover .ind-photo::before, .ind:focus-visible .ind-photo::before { transform: scale(1.06); }
.ind:hover .ind-photo::after, .ind:focus-visible .ind-photo::after { opacity: 1; }
.ind-photo { height: 200px; }
.ip-svcerp::before { background-image: url("svc-erpboost.jpg"); background-position: 70% 28%; }
.ip-svcmail::before { background-image: url("svc-mailboost.jpg"); background-position: 72% 34%; }
.ip-svcsfa::before { background-image: url("svc-sfa.jpg"); background-position: 72% 26%; }
.ip-svchr::before { background-image: url("svc-hr.jpg"); background-position: 75% 30%; }
.crop::before { background-size: 170%; }
.c-mfg::before { background-position: 62% 88%; }
.c-consul::before { background-position: 45% 92%; }
.c-food::before { background-position: 62% 62%; }
.c-it::before { background-position: 55% 95%; }
.case-photo { height: 170px; flex: none; }
.case:hover .case-photo::before { transform: scale(1.05); }
.cc-photo { height: 170px; margin: -28px -28px 4px; }
@media (max-width: 860px) { .cc-photo { height: 200px; } }
@media (max-width: 900px) { .inds { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ind-art { height: 150px; } }
@media (max-width: 520px) { .ind-art { height: 190px; } }
@media (max-width: 520px) { .inds { grid-template-columns: 1fr; } }

/* problem cards: color change on hover */
.problem { transition: background-color .25s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.problem p, .problem .to, .problem-icon { transition: color .25s ease, background-color .25s ease; }
.problem:hover, .problem:focus-visible { background: var(--accent); border-color: var(--accent); }
.problem:hover p, .problem:hover .to, .problem:focus-visible p, .problem:focus-visible .to { color: #fff; }
.problem:hover .problem-icon, .problem:focus-visible .problem-icon { background: rgba(255,255,255,.18); color: #fff; }

/* reasons: large side title + linked circles */
.why { position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; left: -22vw; top: 50%; width: 62vw; height: 62vw; max-width: 900px; max-height: 900px; transform: translateY(-50%); border-radius: 50%; background: #EFEBF7; }
.why-grid { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.why-side .en { font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.why-side h2 { margin-top: 12px; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.35; }
.why-side p { margin-top: 14px; color: var(--ink-2); }
.why-side .btn { margin-top: 26px; }
.why-list { list-style: none; display: grid; gap: clamp(40px, 5vw, 64px); }
.why-list li { position: relative; display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.why-ic { position: relative; z-index: 1; width: 132px; height: 132px; border-radius: 50%; background: #140F24; color: #fff; display: grid; place-items: center; transition: background-color .3s ease; }
.why-ic svg { color: #C9A9FF; }
.why-list li:hover .why-ic { background: var(--accent); }
.why-list li:hover .why-ic svg { color: #fff; }
.why-list li:not(:last-child)::before { content: ""; position: absolute; left: 65px; top: 132px; bottom: calc(-1 * clamp(40px, 5vw, 64px)); width: 2px; background: #CDB8F5; }
.why-no { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--accent); letter-spacing: .04em; }
.why-list h3 { margin-top: 4px; font-size: clamp(20px, 2.3vw, 27px); line-height: 1.5; }
.why-list p { margin-top: 10px; color: var(--ink-2); }
.why-list .compare { margin-top: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } .why::before { top: 0; transform: translateY(-45%); left: -30vw; width: 110vw; height: 110vw; } }
@media (max-width: 560px) { .why-list li { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; } .why-ic { width: 72px; height: 72px; } .why-ic svg { width: 28px; height: 28px; } .why-list li:not(:last-child)::before { left: 35px; top: 72px; } .why-list .compare { grid-template-columns: 1fr; } }

/* slide-in download card (left) */
.dl-float { position: fixed; left: 0; bottom: 96px; z-index: 35; transform: translateX(-110%); transition: transform .35s ease; }
.dl-float.in { transform: none; }
.dl-float[hidden] { display: none; }
.dl-float { cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none; }
.dl-float.dragging { cursor: grabbing; transition: none; }
.dl-float.dragging a { box-shadow: 0 30px 60px -20px rgba(23, 32, 51, .55); }
.dl-float.moved { bottom: auto; transform: none; }
.dl-float.moved a { border-left: 1px solid var(--line); border-radius: 16px; }
.dl-float a { cursor: inherit; -webkit-user-drag: none; }
.dl-float-grip { position: absolute; left: 50%; top: 5px; width: 34px; height: 4px; margin-left: -17px; border-radius: 2px; background: #D5CCE8; pointer-events: none; }
.dl-float a { display: flex; gap: 14px; align-items: center; width: 250px; padding: 14px 18px 14px 18px; background: #fff; border: 1px solid var(--line); border-left: 0; border-radius: 0 16px 16px 0; box-shadow: 0 20px 44px -18px rgba(23, 32, 51, .4); text-decoration: none; }
.dl-float a:hover { border-color: var(--accent); }
.dl-float-cover { flex: none; width: 58px; aspect-ratio: 1 / 1.414; border-radius: 5px; background: linear-gradient(160deg, #2A0E5C, #5B14C9); display: flex; flex-direction: column; justify-content: space-between; padding: 6px; }
.dl-float-cover i { display: block; width: 34px; height: 8px; background: url("logo-white.png") left center / contain no-repeat; }
.dl-float-cover span { color: #fff; font-size: 8.5px; font-weight: 700; line-height: 1.3; }
.dl-float-t { display: grid; gap: 2px; }
.dl-float-t b { font-size: 15px; line-height: 1.5; }
.dl-float-t small { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.dl-float-t em { margin-top: 4px; font-style: normal; font-size: 14px; font-weight: 700; color: var(--accent); }
.dl-float-x { position: absolute; right: -10px; top: -12px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; }
@media (max-width: 640px) { .dl-float { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .dl-float { transition: none; } .ind, .ind-art, .ind-art svg, .ind-photo::before, .ind-photo::after, .problem { transition: none; } }
/* ---------- round 3: natural line breaks ---------- */
body { line-break: strict; }
p, li, dd, td, th, blockquote, summary, legend { text-wrap: pretty; }
.head p, .lead, .hero-lead, .hero-note, .func p, .func h3, .prob p, .prob h3, .problem p, .checks li, .duo li, summary, .entry p, .axis p, .axis h3, .step p,
.flowline span, .flowline b, .after-note, .calc-note, .closing .sub, .mv p, .cc-who, .tbl td, .tbl th, .tbl .sub, .panel-box p, .panel-box h3, .mini-list span, .ind-body > span,
.why-list p, .message blockquote, .feature-text > p, .diag-empty, .diag-result p, .bg-col li, .related p, .case-body p, .case-body h3, .cw h3, .cc-main h2, .biz h3, .biz p,
.info-tbl td, .side-points span, .doc p, .req-note, .answer, .msg-body p, .cw p, .cc-main dd, .person p, .note, .src-note, .problems-sub, .choice, .compare span, .other span, .reason p {
  text-wrap: balance; word-break: auto-phrase;
}
.ft-cols a, .metric b, .calc-out b, .case-num, .cc-num b { white-space: nowrap; }
.flowstep p, .calc p, .panel-box .lbl, .panel-box li, .bg-col .verdict, .entry h3, .faq summary { text-wrap: balance; word-break: auto-phrase; }
@media (max-width: 420px) { .head h2, .about h2 { font-size: 23px; } .closing h2 { font-size: 24px; } }
/* top page service blocks: headline on one line */
.feature h3 { white-space: nowrap; text-wrap: nowrap; font-size: clamp(19px, 2.3vw, 29px); }
/* ---------- round 4: photo hero (home) and scroll motion ---------- */
.logo .lw { display: none; }
.home .site-header { position: fixed; left: 0; right: 0; top: 0; transition: background-color .25s ease, border-color .25s ease; }
.home .site-header.at-top:not(.menu-open) { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.home .site-header.at-top:not(.menu-open) .lk { display: none; }
.home .site-header.at-top:not(.menu-open) .lw { display: block; }
.home .site-header.at-top:not(.menu-open) .tab { color: #fff; }
.home .site-header.at-top:not(.menu-open) .tab.tab-sub, .home .site-header.at-top:not(.menu-open) .header-right a.plain { color: rgba(255,255,255,.82); }
.home .site-header.at-top:not(.menu-open) .tab:hover { background: rgba(255,255,255,.16); color: #fff; }
.home .site-header.at-top:not(.menu-open) .menu-btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }

.hero2 { position: relative; display: flex; align-items: flex-end; min-height: clamp(460px, 66vh, 600px); min-height: clamp(460px, 66svh, 600px); color: #fff; background: #140F24; overflow: hidden; }
.hero2-bg, .ph, .ph-band, .ph-shade { position: absolute; inset: 0; }
.ph { top: -40px; bottom: -40px; background-size: cover; background-position: center; will-change: transform; }
.ph-a { background-color: #172033; background-image: url("hero-left.jpg"); }
.ph-b { background-color: #43119B; background-image: url("hero-right.jpg"); clip-path: polygon(58% 0, 100% 0, 100% 100%, 46% 100%); }
.ph svg { position: absolute; width: 36%; max-width: 560px; height: auto; color: #fff; opacity: .2; top: 22%; }
.ph-a svg { left: 22%; top: 12%; width: 24%; opacity: .16; }
.ph-b svg { right: 6%; }
.hero2.has-photo .ph svg { display: none; }
.ph::after { content: ""; position: absolute; inset: 0; }
.hero2.has-photo .ph-a::after { background: linear-gradient(90deg, rgba(20, 26, 44, .5), rgba(20, 26, 44, .3)); }
.hero2.has-photo .ph-b::after { background: linear-gradient(90deg, rgba(74, 18, 168, .5), rgba(48, 10, 120, .62)); }
.hero2.has-photo .ph-a { background-position: right top; }
.hero2.has-photo .ph-b { background-position: left top; }
@media (min-width: 901px) {
  .ph-a { right: 35%; }
  .ph-b { left: 36%; clip-path: polygon(34.4% 0, 100% 0, 100% 100%, 15.6% 100%); }
}
@media (max-width: 900px) {
  .hero2.has-photo .ph-a { background-position: 9% top; }
  .ph-b { display: none; }
}
@media (max-width: 560px) {
  .hero2.has-photo .ph-a { background-position: 63% top; }

}
.ph-band { background: #7722F5; opacity: .78; clip-path: polygon(51% 0, 58% 0, 46% 100%, 39% 100%); }
.ph-shade { background: linear-gradient(to top, rgba(12, 7, 28, .88) 0%, rgba(12, 7, 28, .45) 42%, rgba(12, 7, 28, 0) 72%), linear-gradient(to bottom, rgba(12, 7, 28, .5) 0, rgba(12, 7, 28, 0) 160px); }
.ph-frame { position: absolute; inset: 16px; border: 1px solid rgba(255, 255, 255, .3); pointer-events: none; }
.hero2-in { position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: clamp(40px, 6vh, 64px); }
.hero2 h1 { font-size: clamp(30px, 3.9vw, 54px); font-weight: 900; line-height: 1.24; letter-spacing: .01em; }
.hero2 h1 .ln { display: block; overflow: hidden; padding: .05em 0; }
.hero2 h1 .ln > span { display: inline-block; white-space: nowrap; }
.hero2 h1 .mark { background: #7722F5; padding: 0 .2em .04em; margin-left: -.04em; }
.hero2-lead { margin-top: clamp(18px, 2.4vw, 28px); font-size: clamp(15.5px, 1.5vw, 18px); line-height: 2; color: #F1ECFA; }
.hero2-actions { margin-top: clamp(22px, 3vw, 32px); display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .75); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.hero2-note { margin-top: 14px; font-size: 14px; color: #D8CFEA; }
.hero2 :focus-visible { outline-color: #fff; }
.hero2-scroll { position: absolute; right: 34px; bottom: 40px; z-index: 1; writing-mode: vertical-rl; font-size: 13px; letter-spacing: .3em; color: rgba(255,255,255,.8); padding-bottom: 64px; }
.hero2-scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 54px; background: rgba(255,255,255,.7); transform-origin: top; }
@media (max-width: 900px) {
  .ph-b { clip-path: polygon(0 78%, 100% 60%, 100% 100%, 0 100%); }
  .ph-band { clip-path: polygon(0 73%, 100% 55%, 100% 60%, 0 78%); }
  .ph svg { width: 62%; top: 15%; }
  .ph-a svg { left: 19%; }
  .ph-b svg { display: none; }
  .hero2-scroll { display: none; }
  .ph-frame { inset: 10px; }
  .hero2-in { padding-top: 112px; padding-bottom: 56px; }
}
@media (max-width: 560px) { .hero2-actions .btn { flex: 1 1 100%; } }
.demo-sec { padding-bottom: clamp(56px, 7vw, 88px); }
.demo-sec .app { margin-top: 0; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero2 h1 .ln > span { animation: h2rise .75s cubic-bezier(.2, .7, .2, 1) both; }
  .js .hero2 h1 .ln:nth-child(2) > span { animation-delay: .09s; }
  .js .hero2 h1 .ln:nth-child(3) > span { animation-delay: .18s; }
  .js .hero2-lead, .js .hero2-actions, .js .hero2-note { animation: h2fade .6s ease both; animation-delay: .55s; }
  .js .hero2-actions { animation-delay: .65s; }
  .js .hero2-note { animation-delay: .75s; }
  .js .ph-band { animation: h2band .9s cubic-bezier(.2, .7, .2, 1) both; }
  .js .hero2-scroll::after { animation: h2line 2s ease-in-out infinite; }
  @keyframes h2rise { from { transform: translateY(108%); } to { transform: none; } }
  @keyframes h2fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  @keyframes h2band { from { transform: translateX(30%); opacity: 0; } to { transform: none; opacity: .78; } }
  @keyframes h2line { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
  /* scroll reveal (home only) */
  .js .home .head,
.js .home .mission-c h2 span,
.js .home .mission-c .about-text p,
.js .home .ind,
.js .home .problem,
.js .home .feature-text,
.js .home .feature .screen,
.js .home .func,
.js .home .why-side,
.js .home .why-list li,
.js .home .case,
.js .home .step,
.js .home .message,
.js .home .faq details,
.js .home .entry,
.js .home .demo-sec .app { transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1); }
  .js .home .head:not(.in),
.js .home .mission-c h2 span:not(.in),
.js .home .mission-c .about-text p:not(.in),
.js .home .ind:not(.in),
.js .home .problem:not(.in),
.js .home .feature-text:not(.in),
.js .home .feature .screen:not(.in),
.js .home .func:not(.in),
.js .home .why-side:not(.in),
.js .home .why-list li:not(.in),
.js .home .case:not(.in),
.js .home .step:not(.in),
.js .home .message:not(.in),
.js .home .faq details:not(.in),
.js .home .entry:not(.in),
.js .home .demo-sec .app:not(.in) { opacity: 0; transform: translateY(18px); }
  .js .home .app:not(.play) .hl { animation: none; background-size: 0 100%; }
}
.filter-status { margin: -12px 0 18px; font-size: 14px; color: var(--ink-2); }
