/* WL合同会社 ─ 第六轮「高级感」重构：精密工程板（Precision Board）
   白×深海军蓝×青蓝。首屏／YonBIP／页脚用海军蓝整版铺色＋蓝图网格肌理，内容放在浮起的产品式面板与卡片上。
   青蓝 #1A84C2 对白底只有 4.1:1，只用于图形与大字；正文链接用 --link。
   字体：IBM Plex Sans JP（SIL OFL 1.1，自托管子集，许可证见 fonts/；无外部请求）。 */

@font-face { font-family: "IBM Plex Sans JP"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-jp-400.woff2?v=b7697351b3") format("woff2"); }
@font-face { font-family: "IBM Plex Sans JP"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-sans-jp-500.woff2?v=f2433ec046") format("woff2"); }
@font-face { font-family: "IBM Plex Sans JP"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/ibm-plex-sans-jp-700.woff2?v=0fb5ce2268") format("woff2"); }

:root {
  --white: #FFFFFF;
  --bg-soft: #F4F7FB;
  --ice: #E8F2FA;
  --navy: #0E2A4A;
  --navy-2: #163A63;
  --navy-deep: #091D35;
  --ink: #14202F;
  --muted: #4B5A6B;
  --muted-light: #A9BDD3;
  --cyan: #1A84C2;
  --cyan-light: #6FC0EC;
  --link: #0A5F92;
  --line: #DCE4EE;
  --line-strong: #C4D3E2;
  --f: "IBM Plex Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", "Noto Sans CJK JP", Meiryo, sans-serif;
  --gutter: clamp(20px, 4.5vw, 48px);
  --wrap: 1200px;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;
  --sh-1: 0 1px 2px rgba(9, 29, 53, .05), 0 6px 18px -6px rgba(9, 29, 53, .10);
  --sh-2: 0 2px 6px rgba(9, 29, 53, .08), 0 24px 48px -16px rgba(9, 29, 53, .30), 0 60px 120px -40px rgba(9, 29, 53, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --grid-light: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-4.9' fill='none' stroke='%230A5F92' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --check-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-tap-highlight-color: rgba(14, 42, 74, .14); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--f); font-size: 1rem; line-height: 1.9; letter-spacing: .02em;
  font-variant-numeric: tabular-nums; line-break: strict; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; text-autospace: normal;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: .22em; }
@media (hover: hover) { a:hover { color: var(--navy); } }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
h1, h2, h3 { word-break: auto-phrase; text-spacing-trim: trim-start; }
p { margin: 0 0 1em; }
p, li, dd { text-wrap: pretty; }
p, dd, ul:not([class]) > li, ol:not([class]) > li { max-width: 42em; }
table, dl { font-variant-numeric: tabular-nums; }
.phrase { display: inline-block; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 60; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; color: #fff; }
.container { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
:is(button, a, input, textarea, select, summary) { touch-action: manipulation; scroll-margin-top: 100px; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-sm); border: 1px solid transparent;
  font: inherit; font-weight: 700; letter-spacing: .04em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), translate .2s var(--ease);
}
.btn::after { content: ""; width: 14px; height: 14px; flex: none; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: translate .2s var(--ease); }
@media (hover: hover) { .btn:hover::after { translate: 3px 0; } }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 1px 2px rgba(9, 29, 53, .25), inset 0 1px 0 rgba(255, 255, 255, .08); }
@media (hover: hover) { .btn-navy:hover { background: var(--navy-2); color: #fff; } }
.btn-white { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 10px 26px -10px rgba(0, 0, 0, .45); }
@media (hover: hover) { .btn-white:hover { background: #EEF5FB; color: var(--navy); translate: 0 -1px; } }
.btn-outline-light { border-color: rgba(255, 255, 255, .42); color: #fff; background: rgba(255, 255, 255, .04); }
@media (hover: hover) { .btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; } }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(14, 42, 74, .08); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 72px; padding-inline: var(--gutter); max-width: 1320px; margin-inline: auto; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; font-weight: 700; white-space: nowrap; min-height: 44px; margin-right: auto; }
.brand-mark {
  position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none;
  border-radius: 10px; background: linear-gradient(150deg, var(--navy-2), var(--navy-deep)); color: #fff;
  font-size: .8rem; font-weight: 700; letter-spacing: .06em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 6px 12px -6px rgba(9, 29, 53, .6);
}
.brand-mark::after { content: ""; position: absolute; right: 6px; top: 6px; width: 5px; height: 5px; border-radius: 1px; background: var(--cyan-light); }
.brand-name { font-size: 1.05rem; letter-spacing: .06em; }
.header-cta { display: none; min-height: 44px; padding: 0 18px; font-size: .9rem; }
.menu-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--navy); font: inherit; font-weight: 700; cursor: pointer;
}
.js .menu-toggle { display: inline-flex; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: var(--navy); position: relative; transition: transform .2s ease-out, background-color .2s ease-out; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: flex; align-items: center; min-height: 50px; color: var(--ink); text-decoration: none; font-weight: 500; }
@media (hover: hover) { .site-nav a:hover { color: var(--link); } }
.js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px -16px rgba(9, 29, 53, .25); padding: 8px var(--gutter) 22px; max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; }
.js .site-nav.is-open { display: block; }
.site-nav li + li a { border-top: 1px solid var(--line); }
.site-nav .nav-contact a { margin-top: 14px; justify-content: center; border: 0; background: var(--navy); color: #fff; border-radius: var(--r-sm); font-weight: 700; }
@media (min-width: 700px) { .header-cta { display: inline-flex; } .site-nav .nav-contact { display: none; } }
@media (min-width: 1180px) {
  .js .menu-toggle { display: none; }
  .site-nav, .js .site-nav { display: block; position: static; padding: 0; border: 0; box-shadow: none; background: none; max-height: none; overflow: visible; }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav .nav-more { display: none; } /* 第七轮：桌面导航精简为 5 项，FAQ・会社概要留在手机菜单与页脚 */
  .site-nav li + li a { border: 0; }
  .site-nav a { min-height: 44px; padding: 0 11px; font-size: .9rem; position: relative; }
  .site-nav a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 7px; height: 2px; border-radius: 1px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
  @media (hover: hover) { .site-nav a:hover::after { transform: scaleX(1); } }
}

/* ヒーロー：海军蓝整版＋蓝图网格；右侧是浮起的「业务分解表」面板 */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: 56px; align-items: center;
  padding: clamp(56px, 9vw, 112px) max(var(--gutter), calc((100% - var(--wrap)) / 2)) clamp(72px, 9vw, 128px);
  background: linear-gradient(180deg, var(--navy-deep), var(--navy) 80%);
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grid-light); background-size: 48px 48px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(85% 90% at 72% 35%, #000 25%, transparent 80%); mask-image: radial-gradient(85% 90% at 72% 35%, #000 25%, transparent 80%);
}
.hero-left, .hero-right { min-width: 0; }
.hero-copy { max-width: 600px; }
.hero-label { display: inline-flex; align-items: center; gap: 12px; color: var(--cyan-light); font-weight: 500; font-size: .9rem; letter-spacing: .1em; margin: 0 0 24px; }
.hero-label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(2.2rem, 1rem + 3.3vw, 3.6rem); line-height: 1.24; font-weight: 700; letter-spacing: .01em; margin: 0 0 28px; }
.hero-lead { color: #C9D7E6; font-size: 1.0625rem; line-height: 1.95; max-width: 31em; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.hero-action-note { margin: 20px 0 0; color: var(--muted-light); font-size: .85rem; line-height: 1.8; max-width: 35em; }
.hero-right { position: relative; }
.hero-right::before { content: ""; position: absolute; inset: 22px -16px -20px 22px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.decompose { position: relative; margin: 0; background: #fff; color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--sh-2); overflow: hidden; }
.decompose-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.decompose-title { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 700; color: var(--navy); font-size: .98rem; letter-spacing: .04em; }
.decompose-title::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--cyan); }
.decompose-tag { flex: none; font-size: .78rem; font-weight: 500; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; letter-spacing: .06em; }
.decompose-head { display: none; }
.decompose-list { list-style: none; margin: 0; padding: 4px 22px; }
.decompose-list li { display: grid; gap: 4px; padding: 14px 0 14px 28px; border-top: 1px solid var(--line); position: relative; }
.decompose-list li:first-child { border-top: 0; }
.decompose-list li::before { content: ""; position: absolute; left: 3px; top: 21px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--cyan); z-index: 1; }
.decompose-list li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 34px; bottom: -15px; width: 1px; background: #BBD7EC; }
.d-step { font-weight: 700; color: var(--navy); }
.d-now { color: var(--muted); font-size: .9rem; }
.d-now::before { content: "いま："; font-weight: 700; }
.d-next { justify-self: start; font-size: .86rem; font-weight: 700; color: var(--link); background: var(--ice); border-radius: 6px; padding: 3px 10px; line-height: 1.65; }
.d-next::before { content: "見直し："; }
.decompose figcaption { padding: 12px 22px 14px; border-top: 1px solid var(--line); background: var(--bg-soft); font-size: .8rem; line-height: 1.7; color: var(--muted); }
@media (min-width: 560px) {
  .decompose-head { display: grid; grid-template-columns: 92px minmax(0, 1fr) minmax(0, 1.1fr); gap: 14px; padding: 10px 22px 9px 50px; font-size: .76rem; font-weight: 500; color: var(--muted); letter-spacing: .08em; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
  .decompose-list li { grid-template-columns: 92px minmax(0, 1fr) minmax(0, 1.1fr); gap: 14px; align-items: center; }
  .d-now::before, .d-next::before { content: none; }
  .decompose-list li::before { top: 50%; margin-top: -6px; }
  .decompose-list li:not(:last-child)::after { top: calc(50% + 7px); bottom: calc(-50% + 7px); }
}
@media (min-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; min-height: min(740px, calc(100svh - 72px)); }
}
@media (max-width: 699px) {
  .hero-actions > .btn { flex: 1 1 100%; padding-inline: 20px; }
  .hero-action-note { font-size: .82rem; }
  .hero-right::before { inset: 14px -8px -12px 14px; }
}

/* セクション共通 */
.section { padding-block: clamp(84px, 10vw, 140px); }
.section-head { display: grid; gap: 18px 64px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2, .company h2, .contact h2, .yonbip-text h2 { font-size: clamp(1.85rem, 1.05rem + 2.3vw, 2.85rem); line-height: 1.3; font-weight: 700; color: var(--navy); letter-spacing: .01em; margin: 0; }
.section-head h2::before, .yonbip-text h2::before { content: ""; display: block; width: 32px; height: 3px; border-radius: 2px; background: var(--cyan); margin-bottom: 24px; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.02rem; }
.table-note { font-size: .86rem; color: var(--muted); margin-top: 14px; }
@media (min-width: 1000px) {
  .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .section-head p { justify-self: end; max-width: 34em; }
}

/* 業務の棚卸し：左に写真（スクロール追従）、右に工程マトリクス */
.inventory .container { display: grid; gap: 28px; }
.inventory-head { display: contents; }
.inventory-head .section-head { margin-bottom: 8px; }
.inventory-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); background: var(--bg-soft); }
.inventory-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 72% 40%; }
.matrix { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); }
.matrix thead th { background: var(--bg-soft); color: var(--muted); text-align: left; padding: 13px 22px; font-size: .78rem; font-weight: 500; letter-spacing: .08em; border-bottom: 1px solid var(--line); }
.matrix tbody th { text-align: left; vertical-align: top; color: var(--navy); font-weight: 700; padding: 22px; width: 28%; border-top: 1px solid var(--line); line-height: 1.65; }
.matrix td { vertical-align: top; padding: 22px; border-top: 1px solid var(--line); font-size: .95rem; line-height: 1.85; }
.matrix td[data-label="よくある状態"] { color: var(--muted); }
.matrix tbody tr:first-child > * { border-top: 0; }
@media (hover: hover) { .matrix tbody tr { transition: background-color .2s var(--ease); } .matrix tbody tr:hover { background: #F7FAFD; } }
@media (min-width: 760px) {
  .matrix td[data-label="見直しの観点"]::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); margin: 0 .6em .1em 0; }
}
@media (max-width: 759px) {
  .matrix, .matrix tbody, .matrix tr, .matrix th, .matrix td { display: block; width: auto; }
  .matrix { border: 0; border-radius: 0; overflow: visible; box-shadow: none; background: none; }
  .matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .matrix tr { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 12px; overflow: hidden; box-shadow: var(--sh-1); }
  .matrix tbody th { border-top: 0; width: auto; padding: 18px 20px 6px; font-size: 1.02rem; }
  .matrix td { border-top: 0; padding: 6px 20px 14px; }
  .matrix td + td { border-top: 1px dashed var(--line); padding-top: 12px; padding-bottom: 18px; }
  .matrix td::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 500; letter-spacing: .08em; color: var(--link); margin-bottom: 2px; }
}
@media (min-width: 1000px) {
  .inventory .container { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head head" "photo matrix" "photo note"; column-gap: 56px; row-gap: 0; align-items: start; }
  .inventory .section-head { grid-area: head; margin-bottom: 56px; }
  .inventory-photo { grid-area: photo; position: sticky; top: 112px; }
  .inventory-photo img { aspect-ratio: 4 / 5; }
  .matrix { grid-area: matrix; }
  .inventory .table-note { grid-area: note; }
}

/* 通栏照片带：仓储照片去色后叠海军蓝（正片叠底），只承载一句理念 */
.band { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: clamp(380px, 44vw, 540px); background: var(--navy-deep); color: #fff; }
.band-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; filter: grayscale(1) contrast(1.12) brightness(1.08); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); mix-blend-mode: multiply; opacity: .7; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9, 29, 53, .9) 0%, rgba(9, 29, 53, .5) 50%, rgba(9, 29, 53, .06) 100%); }
.band-inner { padding-block: 80px; }
.band-statement { margin: 0 0 22px; font-size: clamp(1.8rem, 1rem + 2.7vw, 3.1rem); line-height: 1.38; font-weight: 700; letter-spacing: .02em; max-width: none; }
.band-sub { margin: 0; color: #C9D7E6; font-size: 1.02rem; max-width: 30em; }

/* 導入ステップ：节点＋连线的时间轴，卡片按子网格对齐 */
.steps { background: var(--bg-soft); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; position: relative; }
.flow::before { content: ""; position: absolute; left: 39px; top: 40px; bottom: 40px; width: 2px; background: linear-gradient(var(--cyan), var(--navy)); opacity: .35; }
.flow-step { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 22px 24px 80px; box-shadow: var(--sh-1); }
.flow-step::before { content: counter(step); position: absolute; left: 21px; top: 22px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; font-size: .95rem; box-shadow: 0 0 0 6px var(--ice); }
.flow-no { margin: 0 0 2px; font-size: .78rem; font-weight: 500; color: var(--link); letter-spacing: .12em; }
.flow-step h3 { font-size: 1.15rem; color: var(--navy); margin: 0 0 6px; line-height: 1.5; }
.flow-step dl { margin: 0; }
.flow-step dt { font-size: .76rem; font-weight: 500; color: var(--muted); letter-spacing: .1em; margin-top: 14px; }
.flow-step dd { margin: 4px 0 0; font-size: .93rem; line-height: 1.8; }
.flow-step dd:last-child { display: inline-block; font-weight: 700; color: var(--navy); background: var(--ice); border-radius: var(--r-sm); padding: 6px 12px; font-size: .9rem; line-height: 1.6; }
@media (min-width: 1100px) {
  .flow { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(6, auto); gap: 0 16px; padding-top: 70px; }
  .flow::before { left: 10%; right: 10%; top: 18px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--navy)); opacity: .4; }
  .flow-step { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; align-content: start; padding: 26px 22px 24px; }
  .flow-step::before { left: 50%; top: -70px; translate: -50% 0; }
  .flow-step dl { display: contents; }
  .flow-step dt { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
  .flow-step dd:last-child { justify-self: start; align-self: start; }
}

/* 支援内容：不等大的便当格（主模块海军蓝、收尾模块冰蓝） */
.modules { display: grid; gap: 18px; }
.module { position: relative; overflow: hidden; isolation: isolate; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 38px); box-shadow: var(--sh-1); transition: translate .3s var(--ease), box-shadow .3s var(--ease); }
@media (hover: hover) { .module:hover { translate: 0 -3px; box-shadow: 0 2px 6px rgba(9, 29, 53, .06), 0 24px 44px -18px rgba(9, 29, 53, .28); } }
.module-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--ice); color: var(--link); margin-bottom: 24px; }
.module-icon svg { width: 26px; height: 26px; }
.module h3 { font-size: 1.28rem; color: var(--navy); margin: 0 0 12px; line-height: 1.5; }
.module p { color: var(--muted); margin-bottom: 0; }
.module ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.module li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--navy); font-size: .95rem; line-height: 1.7; }
.module li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: .12em; border-radius: 50%; background: var(--ice) var(--check) center / 12px no-repeat; }
.module-wide:not(.module-tint) { background: linear-gradient(160deg, var(--navy-2), var(--navy-deep) 70%); color: #fff; border-color: transparent; }
.module-wide:not(.module-tint)::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grid-light); background-size: 32px 32px; -webkit-mask-image: radial-gradient(70% 90% at 100% 100%, #000, transparent 70%); mask-image: radial-gradient(70% 90% at 100% 100%, #000, transparent 70%); }
.module-wide:not(.module-tint) h3, .module-wide:not(.module-tint) li { color: #fff; }
.module-wide:not(.module-tint) p { color: #C9D7E6; }
.module-wide:not(.module-tint) .module-icon { background: rgba(255, 255, 255, .1); color: var(--cyan-light); }
.module-wide:not(.module-tint) li::before { background: rgba(255, 255, 255, .14) var(--check-white) center / 12px no-repeat; }
.module-tint { background: var(--ice); border-color: #D2E5F3; }
.module-tint .module-icon, .module-tint li::before { background-color: #fff; }
@media (min-width: 900px) {
  .modules { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .module-wide { grid-column: span 2; }
  .module-wide ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; }
}

/* YonBIP：海军蓝整版；产品资料表是浮在上面的白卡 */
.yonbip { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: linear-gradient(180deg, var(--navy), var(--navy-deep)); }
.yonbip::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--grid-light); background-size: 48px 48px; -webkit-mask-image: radial-gradient(80% 70% at 85% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(80% 70% at 85% 30%, #000 20%, transparent 75%); }
.yonbip-grid { display: grid; gap: 44px; margin-bottom: 64px; }
.yonbip-text h2 { color: #fff; margin-bottom: 26px; }
.yonbip-text p { color: #C9D7E6; }
.yonbip .text-link { color: var(--cyan-light); }
@media (hover: hover) { .yonbip .text-link:hover { color: #fff; } }
.bip-map { margin: 0; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); align-self: start; }
.bip-domains { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bip-domains li { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-weight: 500; font-size: .9rem; text-align: center; line-height: 1.5; }
.bip-base { margin: 12px 0 0; padding: 18px; border-radius: 10px; background: linear-gradient(90deg, #136DA3, #0F5C8C); color: #fff; font-weight: 700; text-align: center; letter-spacing: .04em; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
.bip-map figcaption { margin-top: 14px; font-size: .8rem; line-height: 1.7; color: var(--muted-light); }
@media (min-width: 640px) { .bip-domains { grid-template-columns: repeat(5, minmax(0, 1fr)); } .bip-domains li { font-size: .84rem; } }
@media (min-width: 1000px) {
  .yonbip-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
  .bip-domains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bip-domains li { font-size: .9rem; }
}
.spec { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; color: var(--ink); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); }
.spec caption { caption-side: top; text-align: left; font-weight: 700; color: #fff; padding-bottom: 14px; font-size: 1.1rem; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 18px 24px; border-top: 1px solid var(--line); }
.spec tr:first-child > * { border-top: 0; }
.spec th { width: 28%; color: var(--navy); font-weight: 700; background: var(--bg-soft); }

/* 補助金 */
.subsidy { background: #fff; }
.subsidy-grid { display: grid; gap: 32px; }
.kv { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); }
.kv caption, .size caption { caption-side: top; text-align: left; font-weight: 700; color: var(--navy); padding-bottom: 12px; font-size: 1.05rem; line-height: 1.6; }
.kv th, .kv td { padding: 16px 22px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.kv tr:first-child > * { border-top: 0; }
.kv th { width: 26%; color: var(--navy); font-weight: 700; background: var(--bg-soft); font-size: .95rem; }
.size { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); }
.size thead th { background: var(--navy); color: #fff; padding: 13px 18px; text-align: left; font-size: .84rem; font-weight: 500; letter-spacing: .06em; }
.size thead th + th { text-align: right; }
.size tbody th { text-align: left; padding: 14px 18px; border-top: 1px solid var(--line); font-weight: 700; color: var(--navy); font-size: .93rem; }
.size td { padding: 14px 18px; border-top: 1px solid var(--line); text-align: right; white-space: nowrap; font-weight: 500; }
@media (max-width: 699px) {
  .spec, .spec tbody, .spec tr, .spec th, .spec td, .kv, .kv tbody, .kv tr, .kv th, .kv td { display: block; width: auto; }
  .spec caption, .kv caption { display: block; }
  .spec th, .kv th { padding-bottom: 6px; border-top: 1px solid var(--line); }
  .spec td, .kv td { border-top: 0; padding-top: 4px; }
  .spec tr:first-child th, .kv tr:first-child th { border-top: 0; }
}
@media (min-width: 1000px) { .subsidy-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; } }
.timeline-title { font-size: 1.2rem; color: var(--navy); margin: 72px 0 20px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.timeline li { position: relative; display: grid; gap: 6px; padding: 22px 24px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md); }
.timeline li:first-child { background: linear-gradient(160deg, var(--navy-2), var(--navy-deep)); border-color: transparent; box-shadow: var(--sh-1); }
.timeline time { font-weight: 700; color: var(--navy); font-size: 1.12rem; letter-spacing: .02em; }
.timeline span { color: var(--muted); font-size: .92rem; }
.timeline li:first-child time { color: #fff; }
.timeline li:first-child span { color: #C9D7E6; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .timeline li:not(:last-child)::after { content: ""; position: absolute; left: 100%; top: 50%; width: 18px; height: 2px; background: var(--line-strong); }
}
.cautions { margin-top: 44px; background: #FBFCFE; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px clamp(22px, 3vw, 36px) 16px; }
.cautions h3 { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; color: var(--navy); margin: 0 0 14px; }
.cautions h3::before { content: "!"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .82rem; font-weight: 700; flex: none; }
.cautions ul { margin: 0 0 10px; padding-left: 1.2em; }
.cautions li { margin-bottom: .6em; }
.cautions li::marker { color: var(--cyan); }
.policy-source { width: min(var(--wrap), 100% - var(--gutter) * 2); margin: 28px auto 0; font-size: .88rem; color: var(--muted); }
.policy-source a { display: inline-flex; align-items: center; min-height: 44px; }

/* FAQ */
.faq { background: var(--bg-soft); padding-block: clamp(72px, 8vw, 112px); }
.faq-grid { display: grid; gap: 14px 18px; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 24px; align-self: start; transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.qa[open] { box-shadow: var(--sh-1); border-color: var(--line-strong); }
.qa summary { cursor: pointer; position: relative; list-style: none; padding: 22px 40px 22px 0; min-height: 48px; font-weight: 700; color: var(--navy); font-size: 1.02rem; line-height: 1.65; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 2px; margin-top: -1px; border-radius: 1px; background: var(--cyan); transition: transform .25s var(--ease); }
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::after { transform: rotate(0deg); }
.qa p { margin: 0 0 22px; color: var(--muted); }
@media (min-width: 900px) { .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 会社概要＋相談メモ */
.closing { background: #fff; }
.closing-grid { display: grid; gap: 24px; }
.company, .contact { border-radius: var(--r-lg); padding: clamp(26px, 4vw, 48px); }
.company h2, .contact h2 { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.05rem); margin-bottom: 22px; }
.company { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(165deg, var(--navy-2), var(--navy-deep) 75%); color: #fff; box-shadow: var(--sh-1); }
.company::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grid-light); background-size: 32px 32px; -webkit-mask-image: radial-gradient(80% 60% at 100% 100%, #000, transparent 70%); mask-image: radial-gradient(80% 60% at 100% 100%, #000, transparent 70%); }
.company h2 { color: #fff; }
.company .company-table { width: 100%; border: 0; border-radius: 0; box-shadow: none; background: none; border-collapse: collapse; }
.company .company-table tr { display: block; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.company .company-table th, .company .company-table td { display: block; width: auto; padding: 0; border: 0; background: none; text-align: left; }
.company .company-table th { font-size: .78rem; font-weight: 500; color: var(--muted-light); letter-spacing: .1em; margin-bottom: 4px; }
.company .company-table td { color: #fff; }
.company .text-link { color: var(--cyan-light); }
@media (hover: hover) { .company .text-link:hover { color: #fff; } }
.contact { background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.contact-lead { color: var(--muted); }
.contact-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field { display: grid; gap: 6px; margin-bottom: 20px; }
.field label { font-weight: 700; font-size: .93rem; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field :is(input, select, textarea):focus-visible { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(26, 132, 194, .2); }
fieldset[disabled] .field input, fieldset[disabled] .field select, fieldset[disabled] .field textarea { background: #F6F8FA; border-color: #D3DCE6; cursor: not-allowed; }
@media (min-width: 1000px) { .closing-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } }

/* 相談用メモ（第四轮的准备工具，样式随新视觉调整） */
:root { --prep-accent: #0E2A4A; --prep-line: #DCE4EE; }
.prep-intro { margin: 0 0 12px; font-size: 1rem; line-height: 1.85; }
.prep-privacy { color: var(--muted); font-size: .875rem; padding-bottom: 24px; border-bottom: 1px solid var(--prep-line); margin-bottom: 24px; }
.prep-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
.prep-form .field :is(input, select, textarea) { font-size: 1rem; line-height: 1.7; min-width: 0; }
.prep-form textarea { resize: vertical; }
.required { font-size: .76rem; margin-left: 8px; padding: 1px 8px; border-radius: 6px; background: var(--ice); color: var(--link); font-weight: 700; }
.field-hint { margin: 0 0 4px; font-size: .875rem; color: var(--muted); line-height: 1.8; }
.prep-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.prep-actions :is(button, a) { min-height: 48px; white-space: normal; padding-block: 10px; touch-action: manipulation; }
.prep-actions .btn::after { content: none; }
.prep-secondary { color: var(--prep-accent); background: transparent; border: 0; padding: 8px 2px; font: inherit; text-decoration: underline; text-underline-offset: .25em; cursor: pointer; }
.prep-error { color: #9C301B; margin: 0; font-size: .875rem; }
.prep-error:empty, .prep-status:empty { display: none; }
.prep-form [aria-invalid="true"] { border-width: 2px; border-color: #9C301B; }
.prep-result { border-top: 2px solid var(--prep-line); padding-top: 24px; margin-top: 28px; }
.prep-result h3 { font-family: inherit; font-size: 1.25rem; color: var(--navy); margin: 0 0 10px; }
.prep-result p { font-size: .92rem; }
.prep-result textarea { display: block; width: 100%; padding: 16px; margin-bottom: 16px; background: var(--bg-soft); color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.8; border: 1px solid var(--prep-line); border-radius: 10px; }
.prep-status { margin-top: 16px; font-size: .92rem; font-weight: 700; }
@media (max-width: 699px) {
  .prep-actions { gap: 8px 18px; }
  .prep-actions > :first-child { width: 100%; }
}
#contact { scroll-margin-top: 100px; }

/* フッター */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-deep); color: #C9D7E6; padding-top: 88px; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--grid-light); background-size: 48px 48px; -webkit-mask-image: radial-gradient(60% 80% at 100% 0%, #000, transparent 70%); mask-image: radial-gradient(60% 80% at 100% 0%, #000, transparent 70%); }
.site-footer a { color: #C9D7E6; }
@media (hover: hover) { .site-footer a:hover { color: #fff; } }
.footer-grid { display: grid; gap: 40px; padding-bottom: 52px; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.2rem; color: #fff; margin-bottom: 16px; }
.footer-brand .brand-mark { background: #fff; color: var(--navy); box-shadow: none; }
.footer-brand .brand-mark::after { background: var(--cyan); }
.footer-title { font-weight: 500; color: #fff; margin-bottom: 12px; font-size: .84rem; letter-spacing: .12em; }
.footer-steps { margin: 0; padding-left: 1.4em; }
.footer-steps li { margin-bottom: .35em; }
.footer-steps li::marker { color: var(--cyan-light); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.footer-links a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
@media (hover: hover) { .footer-links a:hover { text-decoration: underline; } }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 22px 30px; font-size: .84rem; color: var(--muted-light); }
.footer-bottom p { margin: 0 0 .4em; }
.footer-bottom small { font-size: .84rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.2fr .9fr 1fr; gap: 56px; } }

/* 动效：首屏面板上浮（只动位移，不推迟首屏绘制）；其余区块随滚动浮现（scroll-driven，不支持的浏览器直接显示） */
@keyframes wl-float-in { from { translate: 0 22px; } to { translate: 0 0; } }
@keyframes wl-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .decompose { animation: wl-float-in .9s var(--ease) both; }
  @supports (animation-timeline: view()) {
    .section-head, .inventory-photo, .matrix, .band-inner, .flow-step, .module, .bip-map, .spec, .subsidy-grid > *, .timeline li, .cautions, .qa, .company, .contact {
      animation: wl-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 220px;
    }
  }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* 渐变底的纯色兜底（渐变失效时仍保证对比度，也让对比度检测按真实底色计算） */
.hero { background-color: var(--navy-deep); }
.brand-mark { background-color: var(--navy-2); }
.footer-brand .brand-mark { background: #fff; }
.module-wide:not(.module-tint), .timeline li:first-child, .company { background-color: var(--navy-2); }
.yonbip { background-color: var(--navy); }
.bip-base { background-color: #136DA3; }
.skip:hover { color: #fff; }
/* 图标与小标题同排（图标放进 h3，避免「图标方块压在标题上方」的模板式卡片） */
.module h3 { display: flex; align-items: center; gap: 16px; }
.module h3 .module-icon { flex: none; margin: 0; }
.module h3 + p { margin-top: 0; }

/* 深色区上的投影一律用中性黑（impeccable：深底上的彩色模糊阴影＝生成式 UI 的「发光」特征） */
:root { --sh-dark: 0 2px 6px rgba(0, 0, 0, .18), 0 30px 60px -22px rgba(0, 0, 0, .5); }
.decompose, .spec { box-shadow: var(--sh-dark); }
.brand-mark { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 4px 10px -4px rgba(0, 0, 0, .35); }
/* 表格标题在深底上：白底只铺在表体，标题落在海军蓝上 */
.spec { background: transparent; }
.spec tbody { background: #fff; }
.module-wide:not(.module-tint), .timeline li:first-child, .company { box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 6px 18px -6px rgba(0, 0, 0, .18); }

/* ==== 第八轮：多页面（自动生成，勿手改） ==== */
:root { --more-wrap: var(--wrap); --more-gutter: var(--gutter); --more-ink: var(--link); }
.yonbip .more-link { color: #FFFFFF; }
.site-nav a[aria-current] { color: var(--link); }
.site-nav a[aria-current]::after { transform: scaleX(1); }
.more-row { width: min(var(--more-wrap), 100% - var(--more-gutter) * 2); margin: clamp(28px, 4vw, 44px) auto 0; }
.more-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--more-ink); font-weight: 700;
  text-decoration: none; border-bottom: 1px solid currentColor; }
.more-link::after { content: ""; width: 14px; height: 14px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: translate .2s ease-out; }
.more-link:hover::after { translate: 3px 0; }
@media (prefers-reduced-motion: reduce) { .more-link::after { transition: none; } }
@media (min-width: 900px) { .footer-grid.footer-grid-3 { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }
.footer-grid-3 .footer-links { grid-template-columns: minmax(0, 1fr); }
/* ==== 第八轮：多页面 结束 ==== */

/* ご相談フォーム：送信対応（2026-10-08） */
.prep-form { position: relative; }
.prep-form [hidden] { display: none !important; }
.prep-form .field-check label { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; line-height: 1.7; cursor: pointer; }
.prep-form .field-check input[type="checkbox"] { flex: none; width: 20px !important; height: 20px !important; min-width: 0 !important; min-height: 0 !important; margin: 4px 0 0; padding: 0; accent-color: var(--prep-accent, currentColor); cursor: pointer; }
.prep-form .field-check input[aria-invalid="true"] { outline: 2px solid #9C301B; outline-offset: 2px; }
.prep-form .hp { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.prep-form [data-send][disabled] { opacity: .7; cursor: progress; }
.prep-send-error { margin: 0 0 14px; }
.prep-privacy a, .prep-result a, .hero-action-note a, .prep-form noscript a { overflow-wrap: anywhere; }
.site-footer a[href^="mailto:"] { color: inherit; text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
main a[href^="mailto:"], .site-footer a[href^="mailto:"] { padding-block: 4px; }
