/* ==========================================================================
   案B BLACK SCAN
   Void #08090A / Panel #0E1012 / Line #262B30 / Bone #E6E8E3 / Steel #8C939A / Laser #FFC21A
   Display+Body: BIZ UDPGothic / Data: Martian Mono
   ========================================================================== */
:root {
  --bg: #08090A;
  --panel: #0E1012;
  --panel-2: #14171A;
  --line: #23282D;
  --line-2: #3A4148;
  --text: #E6E8E3;
  --muted: #8C939A;
  --laser: #FFC21A;
  --laser-2: #FFD55E;
  --laser-soft: rgb(255 194 26 / .1);
  --error: #FF7A66;
  --on-laser: #0A0A0A;
  --laser-text: var(--laser);
  --laser-line: var(--laser);
  --focus: var(--laser);
  --code-border: rgb(255 194 26 / .5);
  --grid-line: rgb(255 255 255 / .028);
  --header-bg: rgb(8 9 10 / .88);
  --btn2-bg: rgb(8 9 10 / .6);
  --view-glow: rgb(255 255 255 / .05);
  --section-panel: rgb(14 16 18 / .92);
  --soft-text: rgb(230 232 227 / .84);
  --cta-bar-bg: rgb(8 9 10 / .95);
  --laser-glow: rgb(255 194 26 / .35);
  --door-filter: grayscale(1) contrast(1.1) brightness(.62);
  --door-filter-hover: grayscale(.2) contrast(1.05) brightness(.8);
  --dot: rgb(8 9 10 / .55);
  --pc-ink: 230,232,227;
  --pc-a: 255,128,72;
  --pc-b: 90,176,255;
  --pc-laser: 255,194,26;
  --pc-label-bg: 12,14,16;
  --pc-dim: 255,194,26;
  --sans: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;
  --mono: "Martian Mono", ui-monospace, Menlo, monospace;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 64px;
  --ease: cubic-bezier(.3, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.9; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere;
  background-color: var(--bg);
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.45; font-feature-settings: "palt"; word-break: auto-phrase; }
table { border-collapse: collapse; width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
::selection { background: var(--laser); color: #000; }
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap--narrow { max-width: 840px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--laser); color: #000; }
.skip-link:focus { top: 12px; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.ln { display: block; }
.mono { font-family: var(--mono); font-stretch: 87.5%; }

/* crop marks */
.marks { position: relative; }
.marks::after {
  --m: var(--line-2); --s: 10px;
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  background:
    linear-gradient(var(--m), var(--m)) 0 0 / var(--s) 1px no-repeat, linear-gradient(var(--m), var(--m)) 0 0 / 1px var(--s) no-repeat,
    linear-gradient(var(--m), var(--m)) 100% 0 / var(--s) 1px no-repeat, linear-gradient(var(--m), var(--m)) 100% 0 / 1px var(--s) no-repeat,
    linear-gradient(var(--m), var(--m)) 0 100% / var(--s) 1px no-repeat, linear-gradient(var(--m), var(--m)) 0 100% / 1px var(--s) no-repeat,
    linear-gradient(var(--m), var(--m)) 100% 100% / var(--s) 1px no-repeat, linear-gradient(var(--m), var(--m)) 100% 100% / 1px var(--s) no-repeat;
}

/* type pieces */
.code { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 13px; font-weight: 700; color: var(--muted); }
.code__id { font-family: var(--mono); font-stretch: 87.5%; font-size: 11px; font-weight: 500; color: var(--laser-text); border: 1px solid var(--code-border); padding: 1px 7px; letter-spacing: .04em; }
.head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 880px; }
.title { font-size: clamp(24px, 1.1rem + 1.7vw, 38px); letter-spacing: .01em; text-wrap: balance; }
.lead { margin: 16px 0 0; color: var(--muted); font-size: 16px; }
.note { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.chip { display: inline-block; margin: 0; padding: 2px 9px; font-family: var(--mono); font-stretch: 87.5%; font-size: 11px; font-weight: 500; line-height: 1.7; letter-spacing: .02em; color: var(--text); border: 1px solid var(--line-2); background: var(--bg); white-space: nowrap; }
.chip--laser { color: var(--on-laser); background: var(--laser); border-color: var(--laser); font-family: var(--sans); font-weight: 700; font-size: 11.5px; }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--laser); padding-bottom: 3px; }
.textlink:hover { color: var(--laser-text); }
.textlink .icon { transition: transform .25s var(--ease); }
.textlink:hover .icon { transform: translateX(4px); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border: 1px solid transparent; font-weight: 700; font-size: 15px; line-height: 1.3; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn__icon { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn--primary { background: var(--laser); color: var(--on-laser); }
.btn--primary:hover { background: var(--laser-2); }
.btn--secondary { background: var(--btn2-bg); color: var(--text); border-color: var(--line-2); }
.btn--secondary:hover { border-color: var(--laser-line); color: var(--laser-text); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 13.5px; }
.btn--lg { min-height: 58px; padding-inline: 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__logo { display: block; height: 24px; width: auto; }
.brand__tag { font-size: 12px; color: var(--muted); white-space: nowrap; padding-left: 12px; border-left: 1px solid var(--line); }
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.menu { display: flex; }
.menu a { display: block; padding: 0 16px; line-height: var(--header-h); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; color: var(--muted); position: relative; transition: color .2s; }
.menu a:hover { color: var(--text); }
.menu a[aria-current="page"] { color: var(--text); }
.menu a[aria-current="page"]::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 2px; background: var(--laser); }
.site-nav__cta { display: flex; align-items: center; gap: 16px; }
.site-nav__login { font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-nav__login:hover { color: var(--laser-text); }
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: 8px; padding: 8px 12px; background: var(--panel); border: 1px solid var(--line-2); color: var(--text); font-weight: 700; font-size: 13px; cursor: pointer; }
.nav-toggle .icon { width: 20px; height: 20px; }
.nav-toggle .nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* hero */
.hero { border-bottom: 1px solid var(--line); overflow: hidden; }
.site-header__inner, .hero .wrap { --wrap: 1400px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 3.4vw, 52px); align-items: center; padding-block: clamp(40px, 5.6vw, 76px); min-height: min(calc(100svh - var(--header-h)), 880px); }
.hero__title { font-size: clamp(32px, 1rem + 3vw, 58px); line-height: 1.3; letter-spacing: -.005em; }
.hero__subtitle { margin: 22px 0 0; font-size: clamp(16px, .9rem + .4vw, 19px); font-weight: 700; color: var(--laser-text); }
.hero__lead { margin: 14px 0 0; color: var(--muted); max-width: 34em; }
.scan { position: relative; margin: 0; background: var(--panel); border: 1px solid var(--line); }
.scan__view { position: relative; aspect-ratio: 7 / 4.8; background: radial-gradient(80% 70% at 50% 55%, var(--view-glow), transparent 70%); border-bottom: 1px solid var(--line); }
.scan__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scan__hud { position: absolute; margin: 0; font-family: var(--mono); font-stretch: 87.5%; font-size: 11px; letter-spacing: .04em; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.scan__hud--tl { left: 16px; top: 12px; }
.scan__hud--tr { right: 16px; top: 12px; color: var(--laser-text); }
.scan__rec { width: 8px; height: 8px; background: var(--laser); border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) { .scan__rec { animation: b-blink 1.4s steps(2, end) infinite; } }
@keyframes b-blink { 50% { opacity: .2; } }
.scan__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.scan__step { position: relative; display: grid; align-content: start; gap: 3px; padding: 13px 14px 15px; border-left: 1px solid var(--line); min-width: 0; transition: opacity .35s, background-color .35s; }
.scan__step:first-child { border-left: 0; }
.scan__step::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--laser); transform: scaleX(0); transform-origin: left; }
.scan__no { font-family: var(--mono); font-stretch: 87.5%; font-size: 10.5px; font-weight: 600; color: var(--muted); }
.scan__name { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.scan__name::before { content: ""; flex: none; width: 8px; height: 8px; background: rgb(var(--pc-ink)); }
.scan__step[data-step="1"] .scan__name::before, .scan__step[data-step="2"] .scan__name::before { background: rgb(var(--pc-laser)); }
.scan__step[data-step="3"] .scan__name::before { background: rgb(var(--pc-a)); }
.scan__step[data-step="4"] .scan__name::before { background: rgb(var(--pc-b)); }
.scan__val { display: grid; font-family: var(--mono); font-stretch: 75%; font-size: 11px; line-height: 1.55; color: var(--muted); }
.js .scan__step { opacity: .34; }
.js .scan__step.is-active, .js .scan__step.is-done { opacity: 1; }
.js .scan__step.is-active { background: var(--laser-soft); }
.js .scan__step.is-active::before { transform: scaleX(1); transition: transform 1.3s linear; }
.js .scan__step.is-done .scan__no::after { content: " ✓"; color: var(--laser-text); }
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { opacity: 0; transform: translateY(10px); animation: b-in .7s var(--ease) forwards; }
  .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .hero__copy > :nth-child(3) { animation-delay: .16s; }
  .hero__copy > :nth-child(4) { animation-delay: .24s; }
  .hero__copy > :nth-child(5) { animation-delay: .32s; }
}
@keyframes b-in { to { opacity: 1; transform: none; } }

/* sections */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px) clamp(64px, 9vw, 120px); }
.section--panel { background-color: var(--section-panel); border-block: 1px solid var(--line); }

.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.checklist__item { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; background: var(--panel); border: 1px solid var(--line); font-weight: 700; font-size: 16px; line-height: 1.7; }
.checklist__box { position: relative; flex: none; width: 20px; height: 20px; margin-top: 3px; border: 1.5px solid var(--laser-line); }
.checklist__box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 6px; height: 11px; border: solid var(--laser-text); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.resolve { margin-top: 32px; padding: 28px 32px; border-left: 3px solid var(--laser); background: linear-gradient(90deg, var(--laser-soft), transparent 70%); }
.resolve__main { font-size: clamp(18px, 1rem + .6vw, 23px); font-weight: 700; margin-bottom: 8px; }
.resolve p:last-child { margin: 0; color: var(--muted); }

.ruler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 0; row-gap: 48px; }
.ruler__step { position: relative; padding: 36px 28px 0 0; }
.ruler__step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px; border-top: 1px solid var(--line-2); background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 16px); background-size: 100% 5px; background-repeat: no-repeat; }
.ruler__step::after { content: ""; position: absolute; left: 0; top: -5px; width: 11px; height: 11px; background: var(--laser); }
.ruler__no { display: block; margin-bottom: 8px; font-family: var(--mono); font-stretch: 87.5%; font-size: 12px; font-weight: 600; color: var(--laser-text); letter-spacing: .06em; }
.ruler__step h3 { font-size: 19px; margin-bottom: 8px; }
.ruler__step p { margin: 0; color: var(--muted); font-size: 14.5px; }

.features__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.module { background: var(--panel); border: 1px solid var(--line); padding: clamp(22px, 3vw, 32px); }
.module__title { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 700; }
.module__title .icon { color: var(--laser-text); }
.feature { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.feature:last-child { border-bottom: 0; padding-bottom: 0; }
.feature__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 1px solid var(--line-2); color: var(--laser-text); }
.feature__icon .icon { width: 22px; height: 22px; }
.feature h4 { font-size: 16px; margin-bottom: 2px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--panel); border: 1px solid var(--line); }
.table-wrap.marks::after { display: none; }
.sheet th, .sheet td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.sheet tbody tr:last-child th, .sheet tbody tr:last-child td { border-bottom: 0; }
.sheet thead th { font-size: 12px; font-weight: 700; color: var(--muted); background: var(--panel-2); padding-block: 10px; }
.sheet tbody th { font-size: 16px; white-space: nowrap; }
.sheet tbody td { color: var(--muted); font-size: 14.5px; }
.sheet__price { white-space: nowrap; color: var(--text) !important; }
.sheet .num { font-family: var(--mono); font-stretch: 87.5%; font-weight: 600; font-size: 22px; color: var(--text); letter-spacing: -.01em; }
.sheet .yen { font-size: 13px; margin: 0 8px 0 2px; color: var(--text); }
.sheet__note { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); white-space: normal; }
.sheet--plans { min-width: 700px; }
.sheet--plans th, .sheet--plans td { text-align: center; vertical-align: middle; }
.sheet--plans tbody th { text-align: left; font-size: 14.5px; font-weight: 700; white-space: normal; width: 28%; }
.sheet--plans thead tr:nth-child(2) th { font-size: 16px; color: var(--text); background: transparent; padding-block: 16px; }
.sheet__group td, .sheet__group th { border-bottom: 0 !important; padding: 16px 20px 0 !important; background: transparent !important; }
.sheet--plans .is-featured { background: var(--laser-soft); }
.sheet--plans thead tr:nth-child(2) .is-featured { box-shadow: inset 0 2px 0 var(--laser); }
.sheet--plans .yen { margin-right: 0; }
.tbd { color: var(--muted); font-weight: 700; }
.mark { display: inline-grid; place-items: center; width: 26px; height: 26px; }
.mark .icon { width: 16px; height: 16px; }
.mark--yes { background: var(--laser); color: var(--on-laser); }
.mark--no { color: var(--line-2); }

.benefits__grid { display: grid; gap: 16px; }
.benefits__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.benefits__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.benefit { padding: 28px; background: var(--panel); border: 1px solid var(--line); }
.benefit h3 { font-size: 19px; margin: 16px 0 10px; }
.benefit p:last-child { margin: 0; color: var(--muted); font-size: 14.5px; }

.cta-section { padding-top: clamp(24px, 4vw, 48px); }
.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: center; overflow: hidden; padding: clamp(32px, 5vw, 64px); background: var(--panel); border: 1px solid var(--line-2); }
.cta__laser { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--laser); box-shadow: 0 0 24px 4px var(--laser-glow); opacity: .9; }
@media (prefers-reduced-motion: no-preference) { .cta__laser { animation: b-sweep 5s linear infinite; } }
@keyframes b-sweep { from { transform: translateX(0); } to { transform: translateX(1400px); } }
.cta__copy, .cta__actions { position: relative; z-index: 1; }
.cta__title { font-size: clamp(21px, .9rem + 1.3vw, 31px); line-height: 1.5; }
.cta__copy p { margin: 14px 0 0; color: var(--muted); max-width: 40em; }
.cta__actions { display: grid; gap: 12px; }

.crosslink { border-top: 1px solid var(--line); background: var(--panel); }
.crosslink__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 36px; }
.crosslink__eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 700; color: var(--laser-text); }
.crosslink__title { margin: 0; font-size: 18px; font-weight: 700; }
.crosslink__text { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* top page */
.doors__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.door { display: flex; flex-direction: column; text-decoration: none; background: var(--panel); border: 1px solid var(--line); transition: border-color .25s; }
.door:hover { border-color: var(--line-2); }
.door__media { position: relative; display: block; aspect-ratio: 16 / 8; overflow: hidden; border-bottom: 1px solid var(--line); }
.door__media img { width: 100%; height: 100%; object-fit: cover; filter: var(--door-filter); transition: filter .5s, transform .8s var(--ease); }
.door__media::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--dot) 1px, transparent 1.4px); background-size: 5px 5px; pointer-events: none; }
.door:hover .door__media img { filter: var(--door-filter-hover); transform: scale(1.03); }
.door__media .chip { position: absolute; left: 16px; top: 16px; z-index: 1; }
.door__body { display: flex; flex-direction: column; flex: 1; padding: 28px; }
.door__title { display: block; font-size: clamp(22px, 1rem + 1vw, 28px); font-weight: 700; line-height: 1.45; }
.door__list { display: grid; gap: 6px; margin: 16px 0 24px; color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.door__list span { position: relative; padding-left: 18px; }
.door__list span::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border: 1px solid var(--laser-line); }
.door__cta { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; font-weight: 700; color: var(--laser-text); }
.door__cta .icon { transition: transform .25s var(--ease); }
.door:hover .door__cta .icon { transform: translateX(5px); }
.glance__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--panel); border: 1px solid var(--line); }
.glance__grid li { padding: 28px 24px; border-left: 1px solid var(--line); }
.glance__grid li:first-child { border-left: 0; }
.glance__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border: 1px solid var(--line-2); color: var(--laser-text); }
.glance__icon .icon { width: 26px; height: 26px; }
.glance__grid h3 { font-size: 17px; margin-bottom: 8px; }
.glance__grid p { margin: 0; color: var(--muted); font-size: 14px; }
.story__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.story__copy > p { color: var(--muted); }
.story__links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
.datasheet { margin: 0; background: var(--panel); border: 1px solid var(--line); }
.datasheet__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.datasheet__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel); }
.datasheet__img img { width: 100%; height: 100%; object-fit: cover; }
.datasheet__img .chip { position: absolute; left: 14px; bottom: 14px; }
.datasheet__caption { padding: 10px 20px; font-size: 12px; font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--panel-2); }
.datasheet__rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.datasheet__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 20px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.datasheet__rows div:nth-child(odd) { border-right: 1px solid var(--line); }
.datasheet__rows div:nth-last-child(-n+2) { border-bottom: 0; }
.datasheet__rows dt { color: var(--muted); }
.datasheet__rows dd { margin: 0; font-family: var(--mono); font-stretch: 87.5%; font-weight: 500; white-space: nowrap; }

/* page hero / contact / prose */
.page-hero { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-hero__title { font-size: clamp(30px, 1.3rem + 2.6vw, 52px); }
.page-hero__lead { margin: 14px 0 0; color: var(--muted); max-width: 40em; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; align-items: start; }
.contact__aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact__aside .module p { color: var(--muted); font-size: 14px; }
.contact__form { background: var(--panel); border: 1px solid var(--line); padding: clamp(22px, 4vw, 44px); }
.form { display: grid; gap: 28px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.form__field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.form__label { font-size: 13.5px; font-weight: 700; padding: 0; }
.req { margin-left: 8px; font-family: var(--mono); font-stretch: 87.5%; font-size: 10px; font-weight: 600; color: var(--on-laser); background: var(--laser); padding: 1px 6px; vertical-align: 1px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea { width: 100%; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 0; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--laser-line); box-shadow: 0 0 0 3px rgb(255 194 26 / .18); }
.form textarea { resize: vertical; min-height: 170px; }
.form__choices { display: grid; gap: 8px; }
.choice { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line-2); cursor: pointer; font-size: 14.5px; line-height: 1.7; transition: border-color .2s; }
.choice:hover { border-color: var(--muted); }
.choice:has(input:checked) { border-color: var(--laser-line); background: var(--laser-soft); }
.choice input { accent-color: var(--laser); width: 17px; height: 17px; margin: 4px 0 0; flex: none; }
.choice a { color: var(--laser-text); }
.form__error { display: none; margin: 0; font-size: 13px; font-weight: 700; color: var(--error); }
.has-error .form__error { display: block; }
.has-error input, .has-error textarea, .has-error .choice { border-color: var(--error); }
.form__submit { display: grid; justify-items: start; gap: 12px; padding-top: 8px; }
.form__note { margin: 0; font-size: 12px; color: var(--muted); }
.form-sent { padding: 36px; border: 1px solid var(--laser-line); background: var(--laser-soft); }
.form-sent__title { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.form-sent p { color: var(--muted); }
.prose { background: var(--panel); border: 1px solid var(--line); padding: clamp(24px, 5vw, 56px); }
.prose p, .prose li { color: var(--soft-text); }
.prose h2 { font-size: 18px; margin: 40px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.prose ul { margin: 0 0 1em; }
.prose li { position: relative; padding-left: 20px; margin: 4px 0; }
.prose li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border: 1px solid var(--laser-line); }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: 64px 40px; }
.footer__name { margin: 0; line-height: 0; }
.footer__logo { height: 36px; width: auto; }
.footer__tag { margin: 12px 0 0; font-weight: 700; font-size: 13px; }
.footer__desc { margin: 12px 0 0; color: var(--muted); font-size: 13px; max-width: 32em; }
.footer__heading { margin: 0 0 12px; font-family: var(--mono); font-stretch: 87.5%; font-size: 11px; color: var(--laser-text); }
.footer__nav ul { display: grid; gap: 6px; }
.footer__nav a { font-size: 14px; text-decoration: none; color: var(--soft-text); }
.footer__nav a:hover { color: var(--laser-text); }
.footer__company { margin: 0; display: grid; gap: 16px; align-content: start; }
.footer__company dt { font-family: var(--mono); font-stretch: 87.5%; font-size: 11px; color: var(--laser-text); }
.footer__company dd { margin: 4px 0 0; font-size: 14px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-block: 20px 32px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.footer__bottom p { margin: 0; }
.cta-bar { display: none; }

/* 生成画像の図版 */
.pair { margin: 32px 0 0; }
.pair__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pair__item { position: relative; background: var(--panel); border: 1px solid var(--line); padding: 8px; }
.pair__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pair__label { position: absolute; left: 20px; top: 20px; z-index: 1; }
.pair__caption { margin-top: 10px; font-size: 12px; color: var(--muted); }
.wide-figure { margin: 0 0 32px; background: var(--panel); border: 1px solid var(--line); padding: 8px; }
.wide-figure img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 62%; }
.wide-figure figcaption { padding: 10px 6px 2px; font-size: 12px; color: var(--muted); }
.plans .wide-figure { margin: 32px 0 0; }
.fieldwork { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 48px 0 0; padding: 0; list-style: none; }
.fieldwork__item { background: var(--panel); border: 1px solid var(--line); padding: 8px; }
.fieldwork figure { margin: 0; }
.fieldwork img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fieldwork figcaption { display: flex; align-items: baseline; gap: 10px; padding: 10px 6px 4px; font-weight: 700; font-size: 14.5px; }
.fieldwork .ruler__no { margin: 0; }
.module__img { display: block; margin: -8px -8px 16px; overflow: hidden; }
.module__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* reveal */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* responsive */
@media (max-width: 1180px) {
  .brand__tag { display: none; }
  .menu a { padding: 0 10px; }
  .menu a[aria-current="page"]::after { left: 10px; right: 10px; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line-2); }
  .site-nav.is-open { display: flex; }
  .menu { flex-direction: column; }
  .menu a { padding: 0; line-height: 56px; font-size: 16px; color: var(--text); border-bottom: 1px solid var(--line); }
  .menu a[aria-current="page"]::after { display: none; }
  .menu a[aria-current="page"] { color: var(--laser-text); }
  .site-nav__cta { justify-content: space-between; padding-top: 16px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .checklist, .features__grid, .benefits__grid--3, .benefits__grid--4, .doors__grid, .story__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .ruler { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance__grid li:nth-child(3) { border-left: 0; }
  .glance__grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cta { grid-template-columns: minmax(0, 1fr); }
  .cta__actions { grid-auto-flow: row; justify-items: start; }
  .contact__aside { position: static; }
  .crosslink__inner { flex-direction: column; align-items: flex-start; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .page-owners .site-footer, .page-agents .site-footer { padding-bottom: 76px; }
  .cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: var(--cta-bar-bg); border-top: 1px solid var(--line-2); }
  .cta-bar .btn { min-height: 48px; padding-inline: 10px; font-size: 14px; }
  .nav-open .cta-bar { display: none; }
}
@media (max-width: 600px) {
  .actions .btn, .cta__actions, .cta__actions .btn { width: 100%; }
  .scan__view { aspect-ratio: 4 / 3.4; }
  .scan__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scan__step { border-left: 0; border-top: 1px solid var(--line); }
  .scan__step:nth-child(even) { border-left: 1px solid var(--line); }
  .scan__step:nth-child(-n+2) { border-top: 0; }
  .ruler { grid-template-columns: minmax(0, 1fr); }
  .glance__grid { grid-template-columns: minmax(0, 1fr); }
  .glance__grid li { border-left: 0; border-top: 1px solid var(--line); }
  .glance__grid li:first-child { border-top: 0; }
  .datasheet__rows { grid-template-columns: minmax(0, 1fr); }
  .pair__grid, .fieldwork { grid-template-columns: minmax(0, 1fr); }
  .wide-figure img { aspect-ratio: 16 / 10; }
  .datasheet__rows div:nth-child(odd) { border-right: 0; }
  .datasheet__rows div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .form__submit, .form__submit .btn { width: 100%; }
  .sheet:not(.sheet--plans) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sheet:not(.sheet--plans), .sheet:not(.sheet--plans) tbody, .sheet:not(.sheet--plans) tr, .sheet:not(.sheet--plans) th, .sheet:not(.sheet--plans) td { display: block; }
  .sheet:not(.sheet--plans) tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .sheet:not(.sheet--plans) tbody tr:last-child { border-bottom: 0; }
  .sheet:not(.sheet--plans) th, .sheet:not(.sheet--plans) td { padding: 2px 0; border: 0; }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   案B LIGHT — 白ベース
   Paper #F4F5F3 / Panel #FFFFFF / Line #DCDFDA / Ink #16191C / Steel #5A6168 / Laser #FFC21A（面・線のみ）
   ========================================================================== */
:root {
  --bg: #F4F5F3;
  --panel: #FFFFFF;
  --panel-2: #EEF0ED;
  --line: #DCDFDA;
  --line-2: #B3B8B2;
  --text: #16191C;
  --muted: #5A6168;
  --laser: #FFC21A;
  --laser-2: #FFD24D;
  --laser-soft: rgb(255 194 26 / .16);
  --error: #C8321E;
  --on-laser: #111315;
  --laser-text: #7A5200;
  --laser-line: #E0A400;
  --focus: #16191C;
  --code-border: #E0A400;
  --grid-line: rgb(22 25 28 / .045);
  --header-bg: rgb(255 255 255 / .9);
  --btn2-bg: #FFFFFF;
  --view-glow: rgb(255 194 26 / .07);
  --section-panel: #FFFFFF;
  --soft-text: #30353A;
  --cta-bar-bg: rgb(255 255 255 / .96);
  --laser-glow: rgb(255 194 26 / .22);
  --door-filter: saturate(.85) brightness(1.02);
  --door-filter-hover: saturate(1) brightness(1.04);
  --dot: rgb(255 255 255 / .22);
  --pc-ink: 26,30,34;
  --pc-a: 226,90,34;
  --pc-b: 37,99,235;
  --pc-laser: 240,160,0;
  --pc-label-bg: 255,255,255;
  --pc-dim: 150,98,0;
}
.scan { box-shadow: 0 24px 48px -32px rgb(22 25 28 / .35); }
.chip { background: #FFFFFF; }
.checklist__item, .module, .benefit, .door, .glance__grid, .datasheet, .contact__form, .prose, .table-wrap, .cta { box-shadow: 0 1px 2px rgb(22 25 28 / .04); }
.resolve { background: linear-gradient(90deg, rgb(255 194 26 / .2), rgb(255 255 255 / 0) 75%); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea, .choice { background: #FAFBF9; }
.sheet--plans .is-featured { background: rgb(255 194 26 / .12); }
.door__media .chip--laser, .datasheet__img .chip--laser { box-shadow: 0 2px 8px rgb(22 25 28 / .18); }

/* ==========================================================================
   WordPress 固有の追加（静的デザイン design-b-scan-light には無い分）
   ========================================================================== */
/* ハニーポット（自動投稿よけ）は画面外へ */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 入力エラーの一覧 */
.form-alert { margin-bottom: 24px; padding: 18px 20px; background: rgb(200 50 30 / .06); border: 1px solid var(--error); color: var(--error); }
.form-alert__title { margin: 0 0 6px; font-weight: 700; }
.form-alert p:last-child, .form-alert ul:last-child { margin-bottom: 0; }
.form-alert ul { padding-left: 1.2em; list-style: disc; }

/* 管理バー表示時に固定ヘッダーが隠れないように */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.admin-bar .site-nav { top: calc(var(--header-h) + 32px); }

/* ブロックエディタで書いた本文（プライバシーポリシー等） */
.prose .wp-block-heading { margin-top: 40px; }
.prose ul { list-style: none; padding-left: 0; }
.prose img { max-width: 100%; height: auto; }
.prose a { color: var(--laser-text); }

/* ==========================================================================
   B-PROJECT アクセント（ピンク×ブルー）＋ ビフォーアフターの「現像」演出
   ========================================================================== */
:root {
  --bpro-pink: #E974A9;
  --bpro-blue: #00AEE9;
  --bpro-pink-ink: #C93C7E;          /* 白地で読ませる文字・細線用 */
  --bpro-blue-ink: #0089B8;
  --bpro-grad: linear-gradient(90deg, var(--bpro-pink) 0%, #A98BC9 52%, var(--bpro-blue) 100%);
  /* 点群の A案／B案 を B-PROJECT カラーに合わせる */
  --pc-a: 214,74,143;
  --pc-b: 0,138,190;
}

/* ヘッダー上端とフッター上端にブランドのグラデーション */
.site-header::before,
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--bpro-grad); z-index: 1;
}
.site-footer { position: relative; }

/* ステップ表示の A案／B案 見出しもブランドカラーに追従（--pc-a/--pc-b 経由） */
.scan__step[data-step="3"].is-active, .scan__step[data-step="4"].is-active { background: rgb(var(--pc-a) / .07); }
.scan__step[data-step="4"].is-active { background: rgb(var(--pc-b) / .07); }
.scan__step[data-step="3"]::before { background: rgb(var(--pc-a)); }
.scan__step[data-step="4"]::before { background: rgb(var(--pc-b)); }

/* 現況 → デザインプランの「現像」 */
.develop { position: relative; display: block; overflow: hidden; background: var(--panel-2); }
.develop > img { display: block; width: 100%; }
.develop__mono { filter: grayscale(1) contrast(1.02) brightness(1.03); }
.develop__color { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; clip-path: inset(0 100% 0 0); transition: clip-path 2.2s var(--ease); }
.develop__edge {
  position: absolute; top: 0; bottom: 0; left: 0; width: 3px; opacity: 0;
  background: linear-gradient(180deg, var(--bpro-pink), var(--bpro-blue));
  box-shadow: 0 0 18px rgb(233 116 169 / .55), 0 0 26px rgb(0 174 233 / .35);
}
.is-developed .develop__color { clip-path: inset(0 0 0 0); }
.is-developed .develop__edge { left: 100%; animation: kbs-edge 2.2s var(--ease); }
@keyframes kbs-edge { 0% { opacity: 0 } 10% { opacity: 1 } 86% { opacity: 1 } 100% { opacity: 0 } }
html:not(.js) .develop__color { clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  .develop__color { clip-path: none !important; transition: none; }
  .develop__edge { display: none; }
}

/* 配置先ごとの調整 */
.pair__item .develop img { aspect-ratio: 16 / 10; object-fit: cover; }
.pair__item .develop__color { aspect-ratio: auto; }
.datasheet__img .develop { position: absolute; inset: 0; }
.datasheet__img .develop img { height: 100%; object-fit: cover; }

/* 「現況→デザインプラン」ラベルの矢印 */
.pair__grid { position: relative; }
.pair__arrow {
  position: absolute; left: 50%; top: 50%; z-index: 2; translate: -50% -50%;
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--bpro-grad); color: #fff; border: 2px solid var(--panel);
  box-shadow: 0 6px 18px rgb(22 25 28 / .18);
}
.pair__arrow .icon { width: 22px; height: 22px; }
@media (max-width: 600px) { .pair__arrow { rotate: 90deg; width: 38px; height: 38px; } .pair__arrow .icon { width: 19px; height: 19px; } }

/* CTA のスイープラインもブランドカラーに */
.cta__laser { width: 3px; background: linear-gradient(180deg, var(--bpro-pink), var(--bpro-blue)); box-shadow: 0 0 24px 4px rgb(233 116 169 / .3); }

/* --------------------------------------------------------------------------
   B-PROJECT カラーの展開（2026-09-21）
   方針: 黄色（--laser）は主アクセントのまま。ピンク×ブルーは「線・角・点」に
   だけ宿らせる。面には塗らない（彩度が高く、黄色とケンカするため）。
   意味づけ: ピンク＝美容室オーナー側 / ブルー＝不動産業者側。
   -------------------------------------------------------------------------- */
:root {
  /* 白地で文字に使える濃度（本文サイズで 4.5:1 以上） */
  --bpro-pink-text: #B3336F;
  --bpro-blue-text: #00708F;
  --bpro-violet: #A98BC9;                       /* グラデーションの中間色 */
  /* 区切り線用の極薄グラデーション */
  --bpro-hair: linear-gradient(90deg, rgb(233 116 169 / .55) 0%, rgb(169 139 201 / .38) 52%, rgb(0 174 233 / .55) 100%);
}

/* 1. セクションの区切りにブランドのヘアライン ------------------------------ */
/* 既存の 1px 罫線そのものを border-image で塗る（重ね線にならない） */
.hero, .page-hero, .section--panel { border-image: var(--bpro-hair) 1; }

/* 2. ヘッダーの現在地インジケータ（上端の3pxグラデと呼応させる） ----------- */
.menu a[aria-current="page"]::after { background: var(--bpro-grad); }

/* 3. トップの2つの入口 — 立場の色 ------------------------------------------ */
.door::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; z-index: 2;
  background: var(--door-accent, var(--bpro-grad)); opacity: .85; transition: opacity .25s;
}
.door:hover::before { opacity: 1; }
.door--owners { --door-accent: linear-gradient(90deg, var(--bpro-pink), rgb(233 116 169 / .2)); --door-line: var(--bpro-pink); }
.door--agents { --door-accent: linear-gradient(90deg, var(--bpro-blue), rgb(0 174 233 / .2));  --door-line: var(--bpro-blue); }
.door--owners .door__cta { color: var(--bpro-pink-text); }
.door--agents .door__cta { color: var(--bpro-blue-text); }
.door--owners .door__list span::before { border-color: var(--bpro-pink); }
.door--agents .door__list span::before { border-color: var(--bpro-blue); }
/* ホバーでトンボ（crop marks）もブランド色に */
.door.marks:hover::after { --m: var(--door-line); }

/* 4. 相互リンクは「相手の立場」の色 ---------------------------------------- */
.crosslink { position: relative; border-top-color: transparent; }
.crosslink::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: var(--cross-accent, var(--bpro-hair));
}
.audience-owners .crosslink { --cross-accent: linear-gradient(90deg, var(--bpro-blue), rgb(0 174 233 / .12)); }
.audience-agents .crosslink { --cross-accent: linear-gradient(90deg, var(--bpro-pink), rgb(233 116 169 / .12)); }
.audience-owners .crosslink__eyebrow { color: var(--bpro-blue-text); }
.audience-agents .crosslink__eyebrow { color: var(--bpro-pink-text); }

/* 5. アイコン枠の対角にトンボ風のかぎ線 ------------------------------------ */
.feature__icon, .glance__icon { position: relative; }
.feature__icon::before, .glance__icon::before,
.feature__icon::after,  .glance__icon::after { content: ""; position: absolute; width: 9px; height: 9px; }
.feature__icon::before, .glance__icon::before {
  left: -1px; top: -1px; border-left: 2px solid var(--bpro-pink); border-top: 2px solid var(--bpro-pink);
}
.feature__icon::after, .glance__icon::after {
  right: -1px; bottom: -1px; border-right: 2px solid var(--bpro-blue); border-bottom: 2px solid var(--bpro-blue);
}

/* 6. モジュール見出しの罫線の出だし ---------------------------------------- */
.module__title { position: relative; }
.module__title::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 1px; background: var(--bpro-grad);
}
.module--owner .module__title::after { background: linear-gradient(90deg, var(--bpro-pink), rgb(233 116 169 / .2)); }
.module--agent .module__title::after { background: linear-gradient(90deg, var(--bpro-blue),  rgb(0 174 233 / .2)); }
.module--owner .module__title .icon { color: var(--bpro-pink-text); }
.module--agent .module__title .icon { color: var(--bpro-blue-text); }

/* 7. 課題→解決のブロックの縦罫 -------------------------------------------- */
.resolve { position: relative; border-left-color: transparent; }
.resolve::before {
  content: ""; position: absolute; left: -3px; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--bpro-pink), var(--bpro-blue));
}

/* 8. 導入メリットのラベルは左から ピンク → ブルー -------------------------- */
.benefit .chip { border-left: 2px solid var(--bpro-pink); padding-left: 8px; }
.benefit:nth-child(even) .chip { border-left-color: var(--bpro-blue); }

/* 9. テキストリンクはホバーでブランドの下線に ------------------------------ */
.textlink { position: relative; }
.textlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--bpro-grad); opacity: 0; transition: opacity .25s;
}
.textlink:hover::after { opacity: 1; }

/* 10. セカンダリボタンはホバーでブランドの線が引かれる --------------------- */
.btn--secondary { position: relative; overflow: hidden; }
.btn--secondary:hover { border-color: var(--line-2); color: var(--text); }
.btn--secondary::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--bpro-grad); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.btn--secondary:hover::after, .btn--secondary:focus-visible::after { transform: scaleX(1); }

/* 11. フォームの「操作中」はブルー（選択済みの面は黄色のまま） ------------- */
.form input:focus, .form textarea:focus {
  border-color: var(--bpro-blue); box-shadow: 0 0 0 3px rgb(0 174 233 / .18);
}
.choice:focus-within { border-color: var(--bpro-blue); }
.choice input { accent-color: var(--bpro-blue-text); }

/* 12. 選択テキスト -------------------------------------------------------- */
::selection { background: rgb(233 116 169 / .28); color: inherit; }

/* 13. フッターの小見出しに、左から右へグラデーションを散らす -------------- */
.footer__heading, .footer__company dt { display: flex; align-items: center; gap: 7px; }
.footer__heading::before, .footer__company dt::before {
  content: ""; flex: none; width: 5px; height: 5px; background: var(--bpro-pink);
}
.footer__nav + .footer__nav .footer__heading::before { background: var(--bpro-violet); }
.footer__company dt::before { background: var(--bpro-blue); }

/* 14. 横スクロールする表のつまみ ------------------------------------------ */
.table-wrap { scrollbar-width: thin; scrollbar-color: var(--bpro-violet) transparent; }

@media (prefers-reduced-motion: reduce) {
  .btn--secondary::after, .textlink::after { transition: none; }
}

/* ==========================================================================
   v2 — B-PROJECT のピンク×ブルーをキーカラーに（2026-09-24 提出 / 2026-10-19 採用）
   v1 は「黄色が主役・ピンク×ブルーは線と点」だった。v2 はそれを反転させ、
   黄色を全廃して B-PROJECT の2色を主役に据える。
     ブルー #00AEE9 … アクション（ボタン・リンク・罫線・チェック・入力）
     ピンク #E974A9 … 強調（見どころ・おすすめ・ラベル・図面番号）
     グラデ pink→blue … 節目（ヘッダー/フッター・主ボタン・セクション区切り・CTA）
   文字は原色だと白地で 2.5〜2.8:1 しか出ないので、必ず *-text を使う。
   原色は「面」と「線」専用。面に載せる文字は濃色（--on-laser）。
   ========================================================================== */
:root {
  /* アクション色そのものを差し替える（既存の --laser 系を総取り替え） */
  --laser: #00AEE9;
  --laser-2: #3CC4F0;
  --laser-soft: rgb(0 174 233 / .10);
  --on-laser: #07242E;                  /* ブルー/ピンクの面に載る濃色。#00AEE9 上で 7.3:1 */
  --laser-text: #00708F;                /* 白地の文字。5.65:1 */
  --laser-line: #00AEE9;
  --laser-glow: rgb(0 174 233 / .3);
  --code-border: var(--bpro-pink);
  --focus: #00708F;
  --view-glow: rgb(0 174 233 / .09);
  --grid-line: rgb(22 25 28 / .05);
  /* 点群: 測量フェーズをバイオレットにして A案(ピンク)/B案(ブルー)と分ける */
  --pc-laser: 142,124,195;
  --pc-dim: 110,95,160;
  --bpro-wash: radial-gradient(58% 80% at 4% 0%, rgb(233 116 169 / .16), transparent 62%),
               radial-gradient(58% 90% at 98% 34%, rgb(0 174 233 / .17), transparent 64%);
}

/* --- ボタン ---------------------------------------------------------------
   ピンク→ブルーのグラデーションをボタンに敷くと、幅が狭いぶん中間の紫だけが
   出て濁る（ロゴはピンクのBとブルーのTが離れているから成立している）。
   そこで主ボタンはブルー単色にし、グラデーションは幅のある帯だけに使う。
   ピンクは「強調」側（ラベル・おすすめ列・必須・図面番号・ウォッシュ）で担当。
   -------------------------------------------------------------------------- */
.btn--primary { background: var(--bpro-blue); color: var(--on-laser); }
.btn--primary:hover { background: var(--laser-2); }
/* 大きい主ボタンだけ、左端にロゴのピンクを差す */
.btn--primary.btn--lg { position: relative; box-shadow: inset 4px 0 0 0 var(--bpro-pink); }
/* 副ボタンはブルーの輪郭で「操作できる」ことを示す */
.btn--secondary { border-color: rgb(0 174 233 / .55); }
.btn--secondary:hover { border-color: var(--bpro-blue); color: var(--bpro-blue-text); }

/* --- ヒーロー/下層見出し/CTA に2色のウォッシュを敷く ----------------------- */
.hero, .page-hero { background-image: var(--bpro-wash); }
.cta { background-image: radial-gradient(42% 110% at 0% 50%, rgb(233 116 169 / .10), transparent 60%),
                        radial-gradient(42% 110% at 100% 50%, rgb(0 174 233 / .10), transparent 60%); }
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--bpro-grad); z-index: 2; }
.hero__subtitle { color: var(--bpro-pink-text); }

/* --- ヘッダー/フッター: 上端の帯を4pxに、下端にもヘアライン --------------- */
.site-header::before, .site-footer::before { height: 4px; }
.site-header { border-bottom-color: transparent; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bpro-hair); }
.cta-bar { border-top: 0; box-shadow: inset 0 3px 0 0 transparent; }
.cta-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--bpro-grad); }

/* --- ピンクの担当: 図面番号・強調ラベル・おすすめ列 ----------------------- */
.code__id { color: var(--bpro-pink-text); border-color: var(--bpro-pink); }
.chip--laser { background: var(--bpro-pink); border-color: var(--bpro-pink); color: var(--on-laser); }
.req { background: var(--bpro-pink); color: var(--on-laser); }
.sheet--plans .is-featured { background: rgb(233 116 169 / .10); }
.sheet--plans thead tr:nth-child(2) .is-featured { box-shadow: inset 0 2px 0 var(--bpro-pink); }
.resolve { background: linear-gradient(90deg, rgb(233 116 169 / .13), rgb(0 174 233 / .05) 60%, transparent 85%); }

/* --- ブルーの担当: チェック・目印・入力 ---------------------------------- */
.mark--yes { background: var(--bpro-blue); color: var(--on-laser); }
.checklist__box { border-color: var(--bpro-blue); }
.checklist__box::after { border-color: var(--bpro-blue-text); }
.scan__rec { background: var(--bpro-blue); }
.form-sent { border-color: var(--bpro-blue); background: rgb(0 174 233 / .09); }
.choice:has(input:checked) { border-color: var(--bpro-blue); background: rgb(0 174 233 / .09); }
.choice input { accent-color: var(--bpro-blue); }
::selection { background: rgb(0 174 233 / .26); color: inherit; }

/* --- サービスの流れ: STEP の目印をピンク → ブルーへ送る ------------------- */
.ruler__step::after { background: var(--step-dot, var(--bpro-pink)); }
.ruler__step:nth-child(1)::after { --step-dot: #E974A9; }
.ruler__step:nth-child(2)::after { --step-dot: #D177B5; }
.ruler__step:nth-child(3)::after { --step-dot: #A98BC9; }
.ruler__step:nth-child(4)::after { --step-dot: #7B9AD6; }
.ruler__step:nth-child(5)::after { --step-dot: #3EA8E0; }
.ruler__step:nth-child(6)::after { --step-dot: #00AEE9; }
.ruler__no { color: var(--muted); }

/* --- テキストリンクは常時グラデーションの下線 ----------------------------- */
.textlink { border-bottom-color: transparent; }
.textlink::after { opacity: 1; height: 2px; }
.textlink:hover { color: var(--bpro-blue-text); }

/* --- アイコン枠はブルー、かぎ線はそのまま ピンク/ブルー ------------------- */
.feature__icon, .glance__icon { border-color: rgb(0 174 233 / .4); color: var(--bpro-blue-text); }
.module__title .icon { color: var(--bpro-blue-text); }

/* --- 2つの入口はより強く立場の色を出す ------------------------------------ */
.door::before { height: 4px; opacity: 1; }
.door--owners:hover { border-color: var(--bpro-pink); }
.door--agents:hover { border-color: var(--bpro-blue); }
.door--owners .chip--laser { background: var(--bpro-pink); border-color: var(--bpro-pink); }
.door--agents .chip--laser { background: var(--bpro-blue); border-color: var(--bpro-blue); }
.crosslink::before { height: 3px; }

/* --- 画像まわりのラベル: 現況=ブルー / デザインプラン=ピンク -------------- */
.pair__item:first-child .chip { border-left: 2px solid var(--bpro-blue); padding-left: 8px; }
.datasheet__img:first-child .chip { border-left: 2px solid var(--bpro-blue); padding-left: 8px; }

/* --- 本文リンク（プライバシーポリシー等） --------------------------------- */
.prose a, .choice a { color: var(--bpro-blue-text); }
.prose li::before, .door__list span::before { border-color: var(--bpro-blue); }
.door--owners .door__list span::before { border-color: var(--bpro-pink); }
