/* =========================================================
   ABB（Agent Boost Build） 共通スタイル
   対象: /abb/index.html（入口） /abb/abb-dev.html（開発代行型） /abb/abb-inhouse.html（内製型）
   ========================================================= */
:root {
  --navy: #12283C;
  --navy-2: #22405A;
  --teal: #0C7D84;
  --teal-d: #095E64;
  --teal-l: #ECF8F8;
  --bg: #F1F7F8;
  --line: #DBE6E9;
  --line-d: #C7DBE0;
  --tx: #263A48;
  --tx2: #39505F;
  --mute: #5C6F7C;
  --on-d: #A8BECD;
  --aqua: #4FCBD1;
  --mark: #A6E4E7;
  --en: 'Montserrat', 'Zen Kaku Gothic New', sans-serif;
  --jp: 'Zen Kaku Gothic New', sans-serif;
}
html { scroll-padding-top: 84px; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: #fff; }
body { font-family: var(--jp); color: var(--navy); font-size: 16px; line-height: 1.9; -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-d); text-decoration: underline; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
table { border-collapse: collapse; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.page { width: 100%; overflow-x: clip; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.nb { display: inline-block; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header-inner { max-width: 1160px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 24px; }
.site-logo { display: flex; align-items: center; }
.site-logo img { height: 46px; width: auto; display: block; }
.site-nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.site-nav a { font-size: 13.5px; color: var(--tx2); font-weight: 500; }
.site-nav a[aria-current="page"] { color: var(--teal); font-weight: 700; }
.site-nav a.nav-cta { font-weight: 700; color: #fff; background: var(--teal); padding: 10px 20px; border-radius: 2px; }
.site-nav a.nav-cta:hover { background: var(--teal-d); text-decoration: none; }
.nav-toggle { display: none; }

/* ---------- 進め方の切り替えバー（サービスページ） ---------- */
.type-switch { background: var(--navy); color: #fff; }
.type-switch .wrap { display: flex; align-items: stretch; gap: 0; }
.type-switch__label { display: flex; align-items: center; font-size: 12px; letter-spacing: .08em; color: var(--on-d); padding-right: 20px; white-space: nowrap; }
.type-switch a, .type-switch span.is-current { display: flex; align-items: baseline; gap: 8px; padding: 12px 22px; font-size: 12.5px; color: var(--on-d); border-left: 1px solid var(--navy-2); line-height: 1.5; }
.type-switch a:last-child, .type-switch span.is-current:last-child { border-right: 1px solid var(--navy-2); }
.type-switch b { font-size: 15px; color: #fff; font-weight: 700; }
.type-switch a:hover { background: var(--navy-2); text-decoration: none; }
.type-switch span.is-current { background: var(--teal); color: #D9F3F4; }
.type-switch a::after { content: "→"; color: var(--aqua); font-weight: 700; }

/* ---------- セクション・見出し ---------- */
.sec { background: #fff; }
.sec > .wrap { padding-top: 88px; padding-bottom: 88px; }
.sec--tint { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec--dark { background: var(--navy); color: #fff; }
section[id] { scroll-margin-top: 90px; }
.eyebrow { font-size: 11px; letter-spacing: .2em; color: var(--teal); font-weight: 700; margin-bottom: 18px; text-transform: uppercase; }
.sec--tint .eyebrow { color: #3E6E74; }
.sec--dark .eyebrow { color: var(--aqua); }
.h2 { font-family: var(--en); font-weight: 700; font-size: clamp(25px, 3.2vw, 38px); line-height: 1.5; letter-spacing: .01em; margin-bottom: 20px; }
.sec--dark .h2 { color: #fff; }
.h3 { font-size: 19px; font-weight: 700; line-height: 1.6; margin-bottom: 10px; }
.sub-h { font-family: var(--en); font-size: clamp(19px, 2vw, 23px); font-weight: 700; line-height: 1.6; margin: 64px 0 22px; padding-top: 28px; border-top: 2px solid var(--navy); }
.sec--dark .sub-h { border-top-color: var(--navy-2); color: #fff; }
.lead { font-size: 16.5px; line-height: 1.95; color: var(--tx2); max-width: 46em; margin-bottom: 44px; }
.sec--dark .lead { color: var(--on-d); }
.punch { margin-top: 40px; font-family: var(--en); font-size: clamp(17px, 1.9vw, 22px); font-weight: 600; line-height: 1.8; }
.punch mark { background: linear-gradient(transparent 62%, var(--mark) 62%); color: inherit; }
.sec--dark .punch { color: #fff; }
.sec--dark .punch mark { background: none; color: var(--aqua); }
.note { margin-top: 18px; font-size: 13px; line-height: 1.8; color: var(--mute); }
.note li { padding-left: 1.2em; text-indent: -1.2em; }
.sec--dark .note { color: #8299AB; }
.more { display: inline-block; margin-top: 24px; font-size: 15px; font-weight: 700; border-bottom: 2px solid var(--teal); padding-bottom: 2px; }
.more:hover { text-decoration: none; }

/* ---------- ボタン ---------- */
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-block; font-weight: 700; font-size: 16px; padding: 16px 28px; border-radius: 28px; border: 1px solid transparent; text-align: center; line-height: 1.5; }
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-d); color: #fff; }
.btn--white { background: #fff; color: var(--teal); border-color: var(--teal); }
.btn--white:hover { background: var(--teal-l); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.sec--dark .btn--primary:hover { background: #14A0A8; }
.sec--dark .btn--white { border-color: #fff; }

/* ---------- 入口ページ：ヒーロー＋選択 ---------- */
.entry { background: var(--bg); border-bottom: 1px solid var(--line); }
.entry > .wrap { padding-top: 48px; padding-bottom: 72px; }
.entry__head { max-width: 50em; margin-bottom: 32px; }
.badge { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--teal); border: 1px solid var(--teal); border-radius: 2px; padding: 1px 10px; margin-left: 12px; vertical-align: middle; background: #fff; }
.entry h1 { font-family: var(--en); font-weight: 900; font-size: clamp(27px, 3.7vw, 44px); line-height: 1.4; letter-spacing: .01em; margin-bottom: 22px; }
.entry h1 em { font-style: normal; color: var(--teal); }
.entry__lead { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.95; color: var(--tx); }
.entry__ask { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 700; letter-spacing: .1em; color: #3E6E74; margin-bottom: 18px; }
.entry__ask::after { content: ""; flex: 1; height: 1px; background: var(--line-d); }
/* カードへのアンカーボタン（スマホのみ表示。720px以下で display を切り替え） */
.choice-jump { display: none; }
.choice-jump__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 8px 10px; font-size: 16px; font-weight: 700; line-height: 1.4; color: #fff; background: var(--teal); border-radius: 28px; text-align: center; }
.choice-jump__btn::after { content: "↓"; font-family: var(--en); font-weight: 700; }
.choice-jump__btn:hover { color: #fff; background: var(--teal-d); text-decoration: none; }
.choice-jump__btn--inhouse { background: var(--navy); }
.choice-jump__btn--inhouse:hover { background: #0A1926; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.choice { /*display: grid; grid-template-columns: 34% minmax(0, 1fr);*/ background: #fff; color: var(--navy); border: 1px solid var(--line-d); border-radius: 30px; overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.choice:hover { color: var(--navy); text-decoration: none; border-color: var(--teal); box-shadow: 0 14px 34px rgba(18,40,60,.12); transform: translateY(-3px); }
.choice__media { position: relative; background: #17858C; min-height: 280px; }
.choice--inhouse .choice__media { background: #1F4E6B; }
.choice__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.choice__body { padding: 30px 28px 30px; display: flex; flex-direction: column; }
.choice__tag { align-self: flex-start; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: #fff; background: var(--teal); padding: 2px 14px; border-radius: 12px; margin-bottom: 12px; }
.choice--inhouse .choice__tag { background: var(--navy); }
.choice__title { font-family: var(--en); font-size: clamp(26px, 2.6vw, 32px); font-weight: 900; line-height: 1.35; margin-bottom: 14px; }
.choice__title small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--mute); }
.choice__lead { font-size: 16px; font-weight: 700; line-height: 1.8; margin-bottom: 16px; }
.choice__list { margin-bottom: 20px; display: grid; gap: 6px; }
.choice__list li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.75; color: var(--tx2); }
.choice__list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.choice__price { margin-top: auto; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--mute); line-height: 1.6; }
.choice__price b { font-family: var(--en); font-size: 21px; color: var(--navy); margin: 0 2px 0 6px; }
.choice__go { display: block; margin-top: 18px; padding: 14px 16px; background: var(--teal); color: #fff; font-weight: 700; font-size: 15.5px; text-align: center; border-radius: 20px; }
.choice:hover .choice__go { background: var(--teal-d); }
.choice--inhouse .choice__go { background: var(--navy); }
.choice--inhouse:hover .choice__go { background: #0A1926; }
.entry__foot { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: baseline; font-size: 15px; color: var(--tx2); }
.entry__foot a { font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.provider { margin-top: 18px; font-size: 12.5px; line-height: 1.7; color: var(--mute); }
.provider a { color: inherit; text-decoration: underline; }

/* ---------- サービスページ：ヒーロー ---------- */
.hero { background: var(--bg); border-bottom: 1px solid var(--line); }
.hero > .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; padding-top: 68px; padding-bottom: 68px; }
.hero h1 { font-family: var(--en); font-weight: 900; font-size: clamp(30px, 4.3vw, 52px); line-height: 1.35; letter-spacing: .01em; margin-bottom: 24px; }
.hero__lead { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.95; color: var(--tx); margin-bottom: 30px; max-width: 34em; }
.hero__media img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 54px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); margin-bottom: 32px; }
.stats > div { padding: 16px 0; }
.stats dt { font-size: 10.5px; letter-spacing: .14em; color: #3E6E74; font-weight: 700; margin-bottom: 4px; }
.stats dd { font-family: var(--en); font-size: 16px; font-weight: 700; line-height: 1.5; }
.stats dd small { font-family: var(--jp); font-size: 12px; color: var(--mute); font-weight: 500; }
.jump { border-bottom: 1px solid var(--line); }
.jump .wrap { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; }
.jump a { font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }

/* ---------- グリッド・カード ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 28px 26px 30px; }
.card p { font-size: 15px; line-height: 1.9; color: var(--tx2); }
.card__kicker { font-size: 12.5px; font-weight: 700; color: var(--teal); letter-spacing: .06em; margin-bottom: 6px; }
.card__no { font-family: var(--en); font-size: 34px; font-weight: 700; color: var(--teal); line-height: 1; margin-bottom: 16px; }
.card__tag { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--teal); background: var(--teal-l); padding: 2px 12px; border-radius: 12px; }
.sec--dark .card { background: transparent; border-color: var(--navy-2); }
.sec--dark .card .h3 { color: #fff; }
.sec--dark .card p { color: var(--on-d); }
.cells { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cells > * { background: #fff; padding: 28px 26px 30px; }
.cells p { font-size: 15px; line-height: 1.9; color: var(--tx2); }
.sec--dark .cells { background: var(--navy-2); border-color: var(--navy-2); }
.sec--dark .cells > * { background: var(--navy); }
.sec--dark .cells .h3 { color: #fff; }
.sec--dark .cells p { color: var(--on-d); }

/* ひとことで（3要素の足し算） */
.sum { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr); gap: 14px; align-items: stretch; }
.sum__item { background: var(--teal-l); border: 1px solid #BFE3E5; border-radius: 4px; padding: 24px 22px; text-align: center; }
.sum__item b { display: block; font-size: 19px; line-height: 1.6; margin-bottom: 6px; }
.sum__item span { font-size: 14.5px; line-height: 1.8; color: var(--tx2); }
.sum__plus { display: flex; align-items: center; font-family: var(--en); font-size: 26px; font-weight: 700; color: var(--teal); }

/* 3層（任せる／動かす／使う） */
.layers { display: grid; gap: 12px; counter-reset: layer; }
.layer { display: grid; grid-template-columns: 150px 270px minmax(0, 1fr) auto; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--teal); padding: 22px 26px; }
.layer:nth-child(2) { border-left-color: #2F6F9A; }
.layer:nth-child(3) { border-left-color: var(--navy); }
.layer__verb { font-family: var(--en); font-size: 24px; font-weight: 900; line-height: 1.4; }
.layer__name { font-size: 15.5px; font-weight: 700; line-height: 1.6; }
.layer p { font-size: 15px; line-height: 1.85; color: var(--tx2); }
.layer a { font-size: 13.5px; font-weight: 700; white-space: nowrap; }

/* チャット型 vs エージェント */
.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 40px; }
.kind { background: #fff; padding: 26px 24px 0; display: flex; flex-direction: column; }
.kind__name { font-size: 18px; font-weight: 700; line-height: 1.6; }
.kind__eg { font-size: 12.5px; color: var(--mute); margin-bottom: 14px; }
.kind__like { font-size: 14px; font-weight: 700; color: var(--teal); line-height: 1.7; margin-bottom: 10px; }
.kind__like small { display: block; font-size: 11px; letter-spacing: .1em; color: var(--mute); font-weight: 700; }
.kind p { font-size: 14.5px; line-height: 1.85; color: var(--tx2); margin-bottom: 20px; }
.kind__scope { margin: auto -24px 0; padding: 10px 24px; font-size: 14px; font-weight: 700; background: var(--bg); color: var(--tx2); text-align: center; }
.kind--agent { background: var(--teal-l); }
.kind--agent .kind__scope { background: var(--teal); color: #fff; }
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.vs__col { border: 1px solid var(--line); border-radius: 4px; padding: 26px 26px 24px; background: #fff; }
.vs__col--agent { border: 2px solid var(--teal); }
.vs__col .h3 { margin-bottom: 4px; }
.vs__how { font-size: 14px; color: var(--mute); margin-bottom: 18px; }
.vs__rows { display: grid; gap: 8px; margin-bottom: 18px; }
.vs__rows li { display: grid; grid-template-columns: 4.5em minmax(0,1fr) 1.5em minmax(0,1fr); gap: 8px; align-items: center; font-size: 14px; line-height: 1.6; padding: 8px 12px; background: var(--bg); border-radius: 2px; }
.vs__rows b { font-size: 13.5px; }
.vs__rows i { font-style: normal; color: var(--mute); text-align: center; }
.flow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 18px; }
.flow__cap { flex: 1 1 100%; font-size: 13px; font-weight: 700; color: var(--teal); }
.flow li { font-size: 13.5px; font-weight: 700; line-height: 1.5; padding: 8px 12px; background: var(--teal-l); border: 1px solid #BFE3E5; border-radius: 2px; }
.flow li + li:not(.flow__cap) { position: relative; margin-left: 14px; }
.flow li + li:not(.flow__cap)::before { content: "›"; position: absolute; left: -15px; top: 50%; transform: translateY(-54%); color: var(--teal); font-size: 18px; }
.flow li.flow__cap + li { margin-left: 0; }
.flow li.flow__cap + li::before { content: none; }
.flow__cap { padding: 0 !important; background: none !important; border: 0 !important; }
.vs__result { font-size: 15px; font-weight: 700; line-height: 1.7; padding-top: 14px; border-top: 1px solid var(--line); }
.vs__col--agent .vs__result { color: var(--teal); }

/* 標準搭載アプリ */
.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.app { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 28px 28px 26px; }
.app__sub { font-size: 14px; color: var(--teal); font-weight: 700; margin-bottom: 16px; }
.app dl > div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.7; }
.app dt { font-weight: 700; }
.app dd { color: var(--tx2); }
.app__good { margin-top: 14px; padding: 12px 14px; background: var(--teal-l); font-size: 14px; line-height: 1.75; border-radius: 2px; }
.app ol { counter-reset: st; }
.app ol li { counter-increment: st; position: relative; padding: 11px 0 11px 40px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.7; }
.app ol li::before { content: counter(st); position: absolute; left: 0; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff; font-family: var(--en); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.app ol b { display: block; }
.app ol span { color: var(--tx2); }

/* ステップ */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); padding: 22px 22px 24px; }
.step__no { font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--teal); }
.step .h3 { font-size: 18px; margin: 4px 0 8px; }
.step p { font-size: 14.5px; line-height: 1.85; color: var(--tx2); }
.step + .step::before { content: "›"; position: absolute; left: -13px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--teal); font-weight: 700; }
.sec--dark .step { background: #17324A; border-color: var(--navy-2); border-top-color: var(--aqua); }
.sec--dark .step__no { color: var(--aqua); }
.sec--dark .step .h3 { color: #fff; }
.sec--dark .step p { color: var(--on-d); }
.sec--dark .step + .step::before { color: var(--aqua); }

/* 表 */
.tbl-wrap { border: 1px solid var(--line); border-radius: 4px; background: #fff; overflow: hidden; }
.tbl { width: 100%; font-size: 15px; line-height: 1.8; text-align: left; }
.tbl th, .tbl td { padding: 16px 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 { background: var(--navy); color: #fff; font-size: 15px; font-weight: 700; border-bottom: 0; }
.tbl thead th.is-us { background: var(--teal); }
.tbl tbody th { width: 11.5em; font-weight: 700; background: var(--bg); }
.tbl td { color: var(--tx2); }
.tbl td.is-us { background: #F6FBFB; color: var(--navy); font-weight: 500; }
.tbl td b { color: var(--navy); }
.tbl .big { font-family: var(--en); font-size: 19px; font-weight: 700; color: var(--navy); }

/* 構成図 */
.arch { display: grid; grid-template-columns: minmax(0, .9fr) 54px minmax(0, 1.05fr) 54px minmax(0, 2fr); align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 28px; }
.arch__zone { display: flex; flex-direction: column; gap: 10px; border: 1px dashed var(--line-d); border-radius: 4px; padding: 14px; }
.arch__zone--azure { border: 2px solid #2F6F9A; background: #F3F8FC; }
.arch__cap { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--mute); }
.arch__zone--azure .arch__cap { color: #2F6F9A; }
.arch__box { flex: 1; display: flex; flex-direction: column; justify-content: center; background: var(--bg); border: 1px solid var(--line); border-radius: 2px; padding: 14px; font-size: 14px; line-height: 1.65; }
.arch__box b { font-size: 15.5px; }
.arch__box span { color: var(--tx2); }
.arch__box small { font-size: 12px; color: var(--mute); margin-top: 4px; }
.arch__box--launcher { background: var(--teal); border-color: var(--teal); color: #fff; }
.arch__box--launcher span { color: #D9F3F4; }
.arch__box--launcher small { color: #BFE9EB; }
.arch__zone--azure .arch__box { background: #fff; border-color: #C5DAE8; }
.arch__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; flex: 1; }
.arch__arrow { display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--teal); letter-spacing: .06em; }
.arch__arrow::after { content: "→"; font-size: 24px; line-height: 1; }
.arch__ops { margin-top: 12px; padding: 14px 18px; background: var(--navy); color: #fff; font-size: 14px; line-height: 1.8; border-radius: 2px; }
.arch__ops b { color: var(--aqua); margin-right: 8px; }

/* 3つの関門 */
.gates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gate { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.gate__head { background: var(--navy); color: #fff; padding: 14px 22px; }
.gate__head small { display: block; font-size: 12px; color: var(--aqua); font-weight: 700; letter-spacing: .06em; }
.gate__head b { font-size: 19px; }
.gate ul { padding: 18px 22px; display: grid; gap: 8px; flex: 1; }
.gate li { position: relative; padding-left: 16px; font-size: 14.5px; line-height: 1.75; color: var(--tx2); }
.gate li::before { content: ""; position: absolute; left: 0; top: .75em; width: 6px; height: 6px; background: var(--teal); border-radius: 50%; }
.gate__stop { margin: 0 22px 20px; padding: 10px 14px; background: var(--teal-l); font-size: 14px; line-height: 1.6; border-radius: 2px; }
.gate__stop small { display: block; font-size: 11px; font-weight: 700; color: var(--teal); letter-spacing: .1em; }
.gate__stop b { font-weight: 700; }
.callout { margin-top: 16px; padding: 18px 22px; border: 2px solid var(--teal); border-radius: 4px; background: #fff; font-size: 15px; line-height: 1.85; }
.callout b { color: var(--teal); margin-right: 10px; }

/* 役割別の例 */
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.roles > div { background: #fff; padding: 20px 20px 22px; }
.roles b { display: inline-block; font-size: 13px; color: #fff; background: var(--navy); padding: 1px 14px; border-radius: 12px; margin-bottom: 10px; }
.roles p { font-size: 14.5px; line-height: 1.8; color: var(--tx2); }

/* 料金 */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line-d); border-radius: 4px; padding: 30px 26px 26px; display: flex; flex-direction: column; }
.plan--feat { border: 2px solid var(--teal); box-shadow: 0 12px 30px rgba(12,125,132,.14); }
.plan__flag { position: absolute; top: -13px; left: 24px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 700; padding: 1px 14px; border-radius: 12px; }
.plan__name { font-size: 21px; font-weight: 700; line-height: 1.5; }
.plan__for { font-size: 14px; color: var(--teal); font-weight: 700; margin-bottom: 16px; }
.plan__price { font-family: var(--en); font-size: clamp(30px, 3vw, 38px); font-weight: 800; line-height: 1.2; letter-spacing: .01em; }
.plan__price small { font-family: var(--jp); font-size: 13px; font-weight: 500; color: var(--mute); margin-left: 4px; }
.plan__unit { font-size: 12px; color: var(--mute); margin-bottom: 2px; }
.plan__hours { margin: 16px 0 14px; padding: 8px 12px; background: var(--teal-l); font-size: 15px; font-weight: 700; text-align: center; border-radius: 2px; }
.plan p { font-size: 14.5px; line-height: 1.85; color: var(--tx2); margin-bottom: 18px; }
.plan__incl { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--tx2); }
.plan__incl::before { content: "✓ "; color: var(--teal); }
.plan .more { margin-top: 14px; align-self: flex-start; font-size: 14px; }
.strip { margin-top: 20px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 28px; align-items: center; background: #fff; border: 1px solid var(--line-d); border-radius: 4px; padding: 20px 26px; }
.strip__name { font-size: 17px; font-weight: 700; }
.strip__name small { display: block; font-size: 12.5px; color: var(--teal); }
.strip p { font-size: 14.5px; line-height: 1.8; color: var(--tx2); }
.strip__price { font-family: var(--en); font-size: 24px; font-weight: 800; white-space: nowrap; }
.strip__price small { font-family: var(--jp); font-size: 12px; font-weight: 500; color: var(--mute); }
.trial { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 2px solid var(--navy); border-radius: 4px; overflow: hidden; background: #fff; }
.trial__main { background: var(--navy); color: #fff; padding: 32px 30px; }
.trial__flag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--navy); background: var(--aqua); padding: 1px 14px; border-radius: 12px; margin-bottom: 12px; }
.trial__main .h3 { color: #fff; font-size: 22px; }
.trial__price { font-family: var(--en); font-size: clamp(34px, 3.6vw, 44px); font-weight: 800; line-height: 1.3; margin: 6px 0 12px; }
.trial__price small { font-family: var(--jp); font-size: 14px; font-weight: 500; color: var(--on-d); margin-left: 6px; }
.trial__main p { font-size: 14.5px; line-height: 1.9; color: var(--on-d); }
.trial__main p + p { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--navy-2); }
.trial__main p b { color: #fff; }
.trial__side { padding: 30px; display: grid; gap: 22px; align-content: start; }
.trial__side h4 { margin: 0 0 8px; font-size: 13px; letter-spacing: .08em; color: var(--teal); }
.checks { display: grid; gap: 6px; }
.checks li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.75; color: var(--tx); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.kv { display: grid; gap: 0; font-size: 14.5px; }
.kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); line-height: 1.7; }
.kv dt { color: var(--tx2); }
.kv dd { font-weight: 700; white-space: nowrap; }

/* セミナー */
.seminar { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.seminar__flow { display: grid; gap: 12px; }
.seminar__flow > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--teal); padding: 18px 22px; }
.seminar__flow b { font-family: var(--en); font-size: 15px; color: var(--teal); line-height: 1.5; }
.seminar__flow strong { display: block; font-size: 17px; }
.seminar__flow p { font-size: 14.5px; line-height: 1.85; color: var(--tx2); }
.seminar__box { background: var(--navy); color: #fff; border-radius: 4px; padding: 28px 26px; }
.seminar__box .h3 { color: #fff; font-size: 16px; margin-bottom: 2px; }
.seminar__price { font-family: var(--en); font-size: 28px; font-weight: 800; line-height: 1.4; color: var(--aqua); margin-bottom: 14px; }
.seminar__price small { font-family: var(--jp); font-size: 13px; font-weight: 500; color: var(--on-d); }
.seminar__box .checks li { color: #E3EDF2; }
.seminar__box .checks li::before { color: var(--aqua); }

/* ロードマップ */
.road { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--navy-2); }
.road > div { padding: 28px 26px 30px; border-left: 1px solid var(--navy-2); }
.road > div:first-child { border-left: 0; }
.road__when { font-family: var(--en); font-size: 22px; font-weight: 800; color: var(--aqua); line-height: 1.4; }
.road .h3 { color: #fff; margin: 2px 0 2px; }
.road__sub { font-size: 13.5px; color: var(--on-d); margin-bottom: 14px; }
.road li { position: relative; padding-left: 16px; font-size: 14.5px; line-height: 1.85; color: #D5E1E8; }
.road li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 6px; background: var(--aqua); border-radius: 50%; }

/* もう一方への案内 */
.other { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; border: 1px solid var(--line-d); border-left: 6px solid var(--navy); border-radius: 4px; background: #fff; padding: 30px 32px; }
.other .h3 { font-size: 21px; }
.other p { font-size: 15px; line-height: 1.9; color: var(--tx2); }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 4px; margin-top: 12px; }
.faq summary { padding: 20px 22px; font-size: 16px; font-weight: 700; line-height: 1.7; cursor: pointer; }
.faq details p { padding: 0 22px 22px; font-size: 15.5px; line-height: 1.95; color: var(--tx); }

/* CTA */
.cta .h2 { font-size: clamp(27px, 3.8vw, 44px); margin-bottom: 22px; }
.cta__lead { font-size: 16.5px; line-height: 1.95; color: var(--on-d); margin-bottom: 34px; max-width: 42em; }
.cta__note { margin-top: 20px; font-size: 13.5px; color: #8299AB; }

/* ABBフッター（共通フッターの上） */
.abb-foot { background: #0A1926; border-top: 1px solid #1B3448; }
.abb-foot .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.abb-foot a.abb-foot__brand { display: flex; align-items: baseline; gap: 10px; color: #fff; font-family: var(--en); }
.abb-foot__brand b { font-size: 24px; font-weight: 800; letter-spacing: .04em; }
.abb-foot__brand span { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--aqua); }
.abb-foot a.abb-foot__brand:hover { text-decoration: none; }
.abb-foot nav { display: flex; gap: 10px 24px; flex-wrap: wrap; }
.abb-foot a { font-size: 13px; color: var(--on-d); }

/* 追従CVバー（〜999px） */
.cta-bar { display: none; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1080px) {
  .choice { grid-template-columns: 1fr; }
  .choice__media { min-height: 0; height: 200px; }
  .layer { grid-template-columns: 130px minmax(0, 1fr); }
  .layer p, .layer a { grid-column: 1 / -1; }
  .layer a { justify-self: start; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step + .step::before { content: none; }
  .arch { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 20px; }
  .arch__arrow { flex-direction: row; gap: 8px; padding: 8px 0; }
  .arch__arrow::after { content: "↓"; }
}
@media (max-width: 999px) {
  .hero > .wrap { gap: 32px; }
  .stats { grid-template-columns: 1fr; }
  .stats > div { padding: 12px 0; }
  .stats > div + div { border-top: 1px solid var(--line-d); }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .trial, .seminar { grid-template-columns: 1fr; }
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(18,40,60,.08); transition: transform .2s ease;
  }
  .nav-open .cta-bar { transform: translateY(110%); }
  .cta-bar-inner { display: flex; gap: 8px; max-width: 640px; margin: 0 auto; }
  .cta-bar-btn { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 6px 10px; font-size: 14px; font-weight: 700; line-height: 1.35; text-align: center; border-radius: 2px; }
  .cta-bar-btn, .cta-bar-btn:hover { text-decoration: none; }
  .cta-bar-btn--doc { flex: 1 1 0; color: var(--teal); background: #fff; border: 1px solid var(--teal); border-radius: 28px; }
  .cta-bar-btn--cv { flex: 1.45 1 0; color: #fff; background: var(--teal); border: 1px solid var(--teal); border-radius: 28px; }
  .cta-bar-btn--cv:hover { color: #fff; background: var(--teal-d); }
  :root { --bmf-offset-bottom: 72px; }
}
@media (max-width: 900px) {
  .site-header-inner { padding: 10px 20px; }
  .site-logo img { height: 40px; }
  .nav-toggle {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    margin-left: auto; width: 44px; height: 44px; padding: 0; cursor: pointer;
    background: #fff; border: 1px solid var(--line-d); border-radius: 2px;
  }
  .nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
  .site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(18,40,60,.08);
    padding: 4px 20px 20px; max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav a { font-size: 15px; padding: 16px 4px; border-bottom: 1px solid #E5EDF0; color: var(--navy); }
  .site-nav a.nav-cta { margin-top: 18px; padding: 15px 20px; border: 0; text-align: center; }
  .hero > .wrap { grid-template-columns: 1fr; }
  .hero__media { max-width: 380px; margin: 0 auto; width: 100%; }
  .grid--3, .grid--4, .kinds, .gates, .road { grid-template-columns: 1fr; }
  .road > div { border-left: 0; border-top: 1px solid var(--navy-2); }
  .road > div:first-child { border-top: 0; }
  .sum { grid-template-columns: 1fr; }
  .sum__plus { justify-content: center; line-height: 1; }
  .vs, .apps { grid-template-columns: 1fr; }
  .other { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .sec > .wrap { padding-top: 60px; padding-bottom: 60px; }
  .entry > .wrap { padding-top: 40px; padding-bottom: 52px; }
  .hero > .wrap { padding-top: 44px; padding-bottom: 52px; }
  .entry__head { margin-bottom: 30px; }
  .badge { display: table; margin: 8px 0 0; }
  .choice-jump { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
  .choices { grid-template-columns: 1fr; gap: 18px; }
  .choice__media { height: 40vw; }
  .choice__body { padding: 24px 22px 24px; }
  .lead { margin-bottom: 32px; }
  .sub-h { margin-top: 48px; }
  .grid--2, .steps { grid-template-columns: 1fr; }
  .card, .cells > * { padding: 24px 22px 26px; }
  .btns .btn { display: block; width: 100%; }
  .type-switch__label { display: none; }
  .type-switch .wrap { padding: 0; }
  .type-switch a, .type-switch span.is-current { flex: 1 1 0; flex-direction: column; gap: 0; padding: 9px 16px; font-size: 11.5px; border-left: 0; }
  .type-switch a { border-left: 1px solid var(--navy-2); position: relative; padding-right: 30px; }
  .type-switch a::after { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
  .type-switch a:last-child, .type-switch span.is-current:last-child { border-right: 0; }
  .type-switch b { font-size: 14.5px; }
  .layer { grid-template-columns: 1fr; gap: 6px; padding: 20px; }
  .vs__rows li { grid-template-columns: 4em minmax(0,1fr) 1.2em minmax(0,1fr); font-size: 13px; padding: 8px 10px; }
  .app { padding: 24px 20px 22px; }
  .app dl > div { grid-template-columns: 1fr; gap: 0; }
  .arch__pair { grid-template-columns: 1fr; }
  .roles { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr; padding: 20px; }
  .trial__main, .trial__side { padding: 24px 20px; }
  .seminar__flow > div { grid-template-columns: 1fr; gap: 4px; }
  .faq summary { padding: 16px 18px; font-size: 15.5px; }
  .faq details p { padding: 0 18px 18px; }
  /* 表：行ごとのカード表示に */
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; width: 100% !important; }
  .tbl tbody th { padding: 10px 16px; border-bottom: 0; }
  .tbl td { padding: 10px 16px; border-bottom: 0; }
  .tbl tr { border-bottom: 1px solid var(--line); }
  .tbl tr:last-child { border-bottom: 0; }
  .tbl td::before { content: attr(data-label); display: block; font-size: 11.5px; font-weight: 700; color: var(--mute); letter-spacing: .04em; }
  .tbl td.is-us::before { color: var(--teal); }
}
@media (max-width: 360px) {
  .cta-bar-btn { font-size: 12.5px; padding: 6px; }
}
