/* 逢妻精工（架空）— Web工房Pono 自主制作。スマホを基準に、広い画面で足していく */
:root {
  /* 色（テンプレートの色替えはここだけ） */
  --main: #111315; --main-2: #1B1E22; --main-3: #2A2F34;
  --accent: #FF5A1F; --accent-d: #E2470E; --accent-l: #FFEDE5;
  --bg: #FFFFFF; --bg-2: #F0F1F2; --bg-3: #E4E6E8;
  --text: #15171A; --sub: #555B62; --mute: #8C9298; --text-w: #F4F5F6; --sub-w: rgba(244,245,246,.66);
  --line: rgba(17,19,21,.14); --line-2: rgba(17,19,21,.3); --line-w: rgba(255,255,255,.14); --grid: rgba(255,255,255,.045);
  --ok: #1E8C5A; --ng: #D2331F;
  /* 書体 */
  --jp: "IBM Plex Sans JP", "Hiragino Sans", sans-serif; --en: "Barlow Condensed", "IBM Plex Sans JP", sans-serif; --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2,.75,.2,1); --hh: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--jp); font-size: 16px; line-height: 1.85; letter-spacing: .03em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 700; line-height: 1.45; margin: 0; letter-spacing: .04em; }
p { margin: 0; } ul, ol, dl, dd, fieldset, figure { margin: 0; padding: 0; list-style: none; border: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { display: block; }
[hidden] { display: none !important; }
.mono { font-family: var(--mono); letter-spacing: .06em; }
.num { font-family: var(--en); font-weight: 600; letter-spacing: .02em; }
.wrap { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 880px; }
.grid-bg { background-color: var(--main); color: var(--text-w); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.demo-bar { background: #000; color: rgba(255,255,255,.78); font-size: 12px; text-align: center; padding: 7px 14px; line-height: 1.6; }
.demo-bar a { text-decoration: underline; margin-left: 6px; color: #fff; }

/* ヘッダー */
.hd { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 20px; height: var(--hh); padding: 0 12px 0 20px; background: var(--main); color: var(--text-w); border-bottom: 1px solid var(--line-w); }
.lg { display: flex; align-items: center; gap: 10px; flex: none; }
.lg__m { width: 34px; height: 34px; }
.lg b { display: block; font-size: 19px; letter-spacing: .14em; line-height: 1.15; }
.lg small { display: block; font-family: var(--en); font-weight: 600; font-size: 11.5px; letter-spacing: .16em; color: var(--sub-w); line-height: 1.2; }
.lg small i { font-style: normal; margin-left: 6px; color: var(--accent); }
.hd__nav { display: none; }
.hd__tel { display: none; }
.hd__cta { display: none; }
.mb { margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; display: grid; place-content: center; gap: 6px; }
.mb i { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.is-open .mb i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.is-open .mb i:nth-child(2) { opacity: 0; }
.is-open .mb i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.dr { position: fixed; inset: var(--hh) 0 0; z-index: 55; background: var(--main); color: var(--text-w); padding: 12px 20px 40px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.is-open .dr { opacity: 1; visibility: visible; }
.dr nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-w); font-size: 19px; font-weight: 700; }
.dr nav small { display: block; font-family: var(--mono); font-size: 11px; color: var(--accent); font-weight: 400; letter-spacing: .1em; }
.dr__btns { display: grid; gap: 12px; margin-top: 28px; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 10px 24px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font-weight: 700; font-size: 15px; letter-spacing: .06em; line-height: 1.4; text-align: center; transition: background .25s, color .25s, border-color .25s; }
.btn .arw { width: 26px; height: 12px; flex: none; transition: transform .35s var(--ease); }
.btn:hover .arw { transform: translateX(5px); }
.btn--lg { min-height: 60px; font-size: 16px; padding: 12px 28px; }
.btn--full { width: 100%; }
.btn--ac { background: var(--accent); border-color: var(--accent); color: var(--main); }
.btn--ac:hover { background: var(--accent-d); border-color: var(--accent-d); }
.btn--dark { background: var(--main); border-color: var(--main); color: #fff; }
.btn--dark:hover { background: var(--main-3); }
.btn--line { background: transparent; border-color: currentColor; color: inherit; }
.btn--line:hover { background: rgba(255,255,255,.08); }
.btn:disabled { opacity: .4; cursor: default; }
.more { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; padding: 6px 0; border-bottom: 2px solid var(--accent); white-space: nowrap; }
.more .arw { width: 26px; height: 12px; transition: transform .35s var(--ease); }
.more:hover .arw { transform: translateX(5px); }

/* 見出し */
.sec { padding: 72px 0; }
.sec--t { padding-top: 40px; }
.sec--gray { background: var(--bg-2); }
.sec--dark { color: var(--text-w); }
.st { margin-bottom: 32px; }
.st__no { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--sub); margin-bottom: 10px; }
.st__no span:first-child { color: var(--accent); font-weight: 500; }
.st__no i { flex: 0 0 40px; height: 1px; background: currentColor; opacity: .5; position: relative; }
.st__no i::after { content: ""; position: absolute; right: 0; top: -3px; width: 1px; height: 7px; background: currentColor; }
.st h2 { font-size: clamp(23px, 6vw, 40px); }
.st__l { margin-top: 14px; color: var(--sub); max-width: 680px; }
.st--w .st__no, .st--w .st__l, .sec--dark .st__no, .sec--dark .st__l { color: var(--sub-w); }
.row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0 24px; }
.row .st { margin-bottom: 24px; }
.row .more { margin-bottom: 30px; }

/* 下層ページの見出し */
.ph { position: relative; overflow: hidden; padding: 40px 0 44px; }
.ph__img { position: absolute; inset: 0; }
.ph__img img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.ph__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--main) 15%, rgba(17,19,21,.4)); }
.ph__in { position: relative; }
.crumb { font-size: 11px; color: var(--sub-w); margin-bottom: 28px; }
.crumb a { text-decoration: underline; text-underline-offset: 3px; }
.ph__no { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--sub-w); }
.ph__no span { color: var(--accent); }
.ph__no i { width: 40px; height: 1px; background: currentColor; }
.ph h1 { margin-top: 10px; font-size: clamp(30px, 8vw, 54px); letter-spacing: .06em; }
.ph__l { margin-top: 16px; max-width: 720px; color: var(--sub-w); }
.ph--img { padding: 56px 0 64px; }

/* ヒーロー */
.hero { position: relative; padding: 36px 0 0; overflow: hidden; }
.hero__in { display: grid; gap: 32px; }
.hero__k { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--sub-w); }
.hero__k i { width: 8px; height: 8px; background: var(--accent); flex: none; }
.hero__t { margin-top: 18px; font-size: clamp(31px, 8.6vw, 66px); line-height: 1.32; letter-spacing: .03em; }
.hero__t span { display: block; clip-path: inset(0 100% 0 0); animation: wipe 1.1s var(--ease) forwards .2s; }
.hero__t span + span { animation-delay: .45s; }
.hero__t span:last-child { color: var(--accent); }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
.hero__d { margin-top: 18px; color: var(--sub-w); max-width: 560px; }
.hero__btns { display: grid; gap: 12px; margin-top: 28px; }
.hero__v { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--line-w); }
.hero__v::before, .hero__v::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--accent); z-index: 3; }
.hero__v::before { top: -7px; left: -7px; border-right: 0; border-bottom: 0; }
.hero__v::after { bottom: -7px; right: -7px; border-left: 0; border-top: 0; }
.hero__ph { position: absolute; inset: 0; overflow: hidden; }
.hero__ph img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(17,19,21,.2), rgba(17,19,21,.85)); }
.hero__tag { position: absolute; left: 12px; bottom: 10px; z-index: 2; font-size: 10.5px; color: var(--sub-w); }
.dw { position: absolute; inset: 4% 3% 7%; width: 94%; height: 89%; z-index: 2; }
.dw text { font-family: var(--mono); font-size: 14px; fill: var(--accent); stroke: none; }
.dw text.sec { fill: #fff; font-size: 16px; font-weight: 500; }
.dw__ln { stroke: #fff; stroke-width: 1.8; }
.dw .d { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease) forwards .5s; }
.dw__cl { stroke: rgba(255,255,255,.45); stroke-width: 1; stroke-dasharray: 14 4 2 4; opacity: 0; animation: fadeIn .8s forwards .3s; }
.dw__ht { color: rgba(255,255,255,.5); fill: url(#ht); opacity: 0; animation: fadeIn .8s forwards 1.8s; }
.dw__dm { color: var(--accent); stroke: var(--accent); stroke-width: 1; opacity: 0; animation: fadeIn .8s forwards 2s; }
.dw__dm path:first-child { stroke: rgba(255,90,31,.55); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.hero__spec { display: grid; grid-template-columns: 1fr 1fr; margin-top: 36px; border-top: 1px solid var(--line-w); }
.hero__spec li { padding: 16px 12px 18px 0; border-bottom: 1px solid var(--line-w); }
.hero__spec li:nth-child(odd) { border-right: 1px solid var(--line-w); }
.hero__spec li:nth-child(even) { padding-left: 14px; }
.hero__spec small { display: block; font-size: 12px; color: var(--sub-w); }
.hero__spec b { font-size: 34px; line-height: 1.2; }
.hero__spec em { font-style: normal; font-family: var(--jp); font-size: 12px; font-weight: 500; margin-left: 4px; color: var(--sub-w); }

/* サービス */
.svs { display: grid; gap: 16px; }
.sv { display: grid; align-content: start; grid-template-columns: 112px 1fr; gap: 16px; padding: 14px; border: 1px solid var(--line); background: var(--bg); transition: border-color .3s, box-shadow .3s; position: relative; }
.sv:hover { border-color: var(--main); box-shadow: 6px 6px 0 var(--accent); }
.sv__img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-3); }
.sv__img img { width: 100%; height: 100%; object-fit: cover; }
.sv__img span { position: absolute; left: 0; top: 0; background: var(--main); color: #fff; font-size: 11px; padding: 2px 7px; }
.sv__en { font-size: 10.5px; color: var(--accent); }
.sv h3 { font-size: 19px; }
.sv__b > p:not(.sv__en) { font-size: 14px; color: var(--sub); margin-top: 4px; line-height: 1.7; }
.sv__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sv__chips li { font-size: 11px; padding: 1px 8px; border: 1px solid var(--line-2); }
.sv__more { display: none; }

/* 数字 */
.nums { padding: 48px 0; }
.nums__in { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; }
.nums li { border-left: 2px solid var(--accent); padding-left: 14px; }
.nums small { display: block; font-size: 12.5px; color: var(--sub-w); }
.nums b { font-size: 46px; line-height: 1.1; }
.nums em { font-style: normal; font-size: 14px; margin-left: 4px; color: var(--sub-w); }

/* 診断の帯 */
.chk-band { background: var(--accent-l); }
.chk-band__in { display: grid; gap: 32px; }
.chk-band__d { color: var(--sub); margin: -12px 0 24px; }
.chk-band__q { background: var(--bg); border: 1px solid var(--main); padding: 24px 20px; box-shadow: 8px 8px 0 var(--main); }
.chk-band__q > .mono { font-size: 13px; color: var(--accent-d); font-weight: 500; margin-bottom: 14px; }
.chk-band__mats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chk-band__mats a { display: grid; place-items: center; min-height: 56px; border: 1px solid var(--line-2); font-weight: 700; font-size: 15px; transition: background .2s, color .2s; }
.chk-band__mats a:hover { background: var(--main); color: #fff; }
.chk-band__s { margin-top: 12px; font-size: 12.5px; color: var(--sub); }

/* 加工事例カード */
.wks { display: grid; gap: 20px; }
.wk { display: block; background: var(--bg); border: 1px solid var(--line); position: relative; transition: border-color .3s, box-shadow .3s; scroll-margin-top: calc(var(--hh) + 20px); }
a.wk:hover { border-color: var(--main); box-shadow: 6px 6px 0 var(--accent); }
.wk:target { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.wk__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--main); }
.wk__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.wk:hover .wk__img img { transform: scale(1.04); }
.wk__no { position: absolute; left: 0; top: 0; background: var(--main); color: #fff; font-size: 11px; padding: 3px 10px; }
.wk__ind { position: absolute; right: 10px; bottom: 10px; background: rgba(17,19,21,.82); color: #fff; font-size: 12px; padding: 2px 10px; }
.wk__b { padding: 18px 18px 22px; }
.wk__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.wk__tags li { font-size: 11.5px; font-weight: 700; color: var(--accent-d); border: 1px solid var(--accent); padding: 0 8px; line-height: 1.8; }
.wk h3 { font-size: 19px; }
.wk__lead { font-size: 14px; color: var(--sub); margin-top: 6px; line-height: 1.7; }
.wk__spec { display: grid; grid-template-columns: 1fr 1fr; margin-top: 14px; border-top: 1px solid var(--line); }
.wk__spec div { padding: 7px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.wk__spec div:nth-child(odd) { padding-right: 10px; }
.wk__spec dt { font-size: 11px; color: var(--mute); line-height: 1.4; }
.wk__spec dd { font-size: 13.5px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.wks--top .wk__spec div:nth-child(n+4) { display: none; }
/* スマホのトップは事例を横にスワイプ */
.wks--top { grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; width: auto; margin-right: 0; padding: 0 20px 12px; margin-left: 0; scroll-padding-left: 20px; scrollbar-width: thin; }
.wks--top .wk { scroll-snap-align: start; }
.wk__pir { margin-top: 16px; display: grid; gap: 0; counter-reset: p; }
.wk__pir li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line-2); position: relative; }
.wk__pir b { display: grid; place-items: center; height: 26px; font-size: 12.5px; background: var(--bg-2); }
.wk__pir li:nth-child(3) b { background: var(--main); color: #fff; }
.wk__pir p { font-size: 14px; line-height: 1.75; }

/* 絞り込み */
.flt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 18px; background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 18px; }
.flt__r, .eqf__r { min-width: 0; }
.flt__h { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.flt__h small { font-weight: 400; color: var(--sub); }
.fl { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
.fl::-webkit-scrollbar { display: none; }
.fl button { flex: none; min-height: 42px; padding: 6px 16px; border: 1px solid var(--line-2); background: var(--bg); font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.fl button.is-on { background: var(--main); border-color: var(--main); color: #fff; }
.cnt { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 18px; font-size: 14px; }
.cnt b.num { font-size: 32px; line-height: 1; }
.cnt span { color: var(--sub); }
.cnt__rs { border: 0; background: none; padding: 4px 0; text-decoration: underline; color: var(--accent-d); font-size: 13.5px; }
.empty { border: 1px dashed var(--line-2); padding: 36px 20px; text-align: center; }
.empty .mono { color: var(--accent-d); font-size: 13px; margin-bottom: 10px; }
.empty__b { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }

/* 設備（トップ） */
.eqrs { border-top: 1px solid var(--main); }
.eqr { display: grid; grid-template-columns: 1fr auto 24px; align-items: center; gap: 2px 14px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease), background .3s; }
.eqr:hover { background: var(--bg-2); padding-left: 12px; padding-right: 12px; }
.eqr__en { grid-column: 1 / -1; font-size: 10.5px; color: var(--accent-d); }
.eqr b { font-size: 21px; }
.eqr__n em { font-family: var(--en); font-weight: 600; font-style: normal; font-size: 32px; margin-right: 2px; }
.eqr__n { font-size: 13px; }
.eqr__list { grid-column: 1 / 3; font-size: 13px; color: var(--sub); line-height: 1.6; }
.eqr i { grid-row: 2 / 4; grid-column: 3; width: 24px; color: var(--accent); }
.eqr i svg { width: 24px; }

/* 流れ */
.flow { display: grid; gap: 0; counter-reset: f; }
.flow li { position: relative; padding: 0 0 26px 30px; }
.flow li::before { content: ""; position: absolute; left: 5px; top: 8px; width: 11px; height: 11px; border: 2px solid var(--accent); background: var(--main); }
.flow li::after { content: ""; position: absolute; left: 10px; top: 24px; bottom: 2px; width: 1px; background: var(--line-w); }
.flow li:last-child::after { display: none; }
.flow span { font-size: 11px; color: var(--accent); }
.flow h3 { font-size: 19px; margin: 2px 0 4px; }
.flow p { font-size: 14px; color: var(--sub-w); line-height: 1.75; }

/* 写真＋文 */
.split { display: grid; gap: 32px; align-items: center; }
.split__img { position: relative; }
.split__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__cap { position: absolute; left: 0; bottom: 0; background: var(--main); color: #fff; font-size: 11px; padding: 4px 12px; }
.split__d { color: var(--sub); margin: -10px 0 22px; }

/* 採用の帯 */
.rec { position: relative; background: var(--main); color: var(--text-w); overflow: hidden; }
.rec__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.rec::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,19,21,.9), rgba(17,19,21,.35)); }
.rec__in { position: relative; z-index: 1; padding: 120px 0 64px; }
.rec__k { font-size: 12px; color: var(--accent); }
.rec__t { font-size: clamp(27px, 7vw, 48px); margin: 12px 0 16px; }
.rec__d { color: var(--sub-w); max-width: 560px; margin-bottom: 28px; }

/* お知らせ */
.news__l li { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.news__l time { font-size: 13px; color: var(--sub); }
.news__l .tag { justify-self: start; font-size: 11.5px; border: 1px solid var(--line-2); padding: 0 8px; }
.news__l p { grid-column: 1 / -1; font-size: 15px; }

/* フッターCTA */
.fcta { padding: 64px 0; border-top: 4px solid var(--accent); }
.fcta__in { display: grid; gap: 32px; }
.fcta__k { font-size: 12px; color: var(--accent); }
.fcta__t { font-size: clamp(28px, 7vw, 46px); margin: 12px 0 16px; }
.fcta__d { color: var(--sub-w); max-width: 560px; }
.fcta__btns { display: grid; gap: 12px; align-content: start; }
.fcta__tel { display: block; padding: 14px 0 0; border-top: 1px solid var(--line-w); margin-top: 6px; }
.fcta__tel small { display: block; font-size: 12px; color: var(--sub-w); }
.fcta__tel b { font-size: 36px; line-height: 1.2; }

/* フッター（図面の表題欄ふう） */
.ft { background: var(--main-2); color: var(--text-w); padding: 48px 0 calc(96px + env(safe-area-inset-bottom)); }
.ft__top { display: grid; gap: 24px; margin-bottom: 32px; }
.lg--w { color: #fff; }
.ft__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; font-size: 14px; }
.ft__nav a { padding: 8px 0; }
.tb { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid rgba(255,255,255,.5); }
.tb__c { grid-column: 1 / -1; padding: 8px 12px; border-bottom: 1px solid var(--line-w); min-width: 0; }
.tb__c span { display: block; font-size: 10.5px; color: var(--sub-w); }
.tb__c b { display: block; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.tb__c--s { grid-column: auto; }
.tb__c--s:nth-of-type(odd) { border-right: 1px solid var(--line-w); }
.tb__c--s:nth-last-child(-n+2) { border-bottom: 0; }
.tb__proj svg { width: 52px; height: 24px; color: #fff; margin-top: 4px; }
.ft__bt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 24px; font-size: 12px; color: var(--sub-w); }
.ft__bt a { text-decoration: underline; }

/* スマホ下の固定ボタン */
.spb { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr 2fr; background: var(--main); border-top: 1px solid var(--line-w); padding-bottom: env(safe-area-inset-bottom); transform: translateY(110%); transition: transform .35s var(--ease); }
.spb.is-on { transform: none; }
.spb a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; color: #fff; font-size: 12px; font-weight: 700; border-right: 1px solid var(--line-w); }
.spb svg { width: 22px; height: 22px; }
.spb a.is-main { background: var(--accent); color: var(--main); flex-direction: row; gap: 8px; font-size: 15px; border: 0; }

/* モーダル */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(17,19,21,.7); }
.modal__b { width: min(460px, 100%); background: var(--bg); padding: 32px 24px 26px; text-align: center; border-top: 4px solid var(--accent); }
.modal__k { font-size: 12px; color: var(--accent-d); }
.modal__t { font-size: 19px; font-weight: 700; margin: 6px 0 12px; }
.modal__d { font-size: 14.5px; color: var(--sub); margin-bottom: 22px; text-align: left; }

/* 出現 */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* ===== 設備一覧 ===== */
.eqf { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.eqf__g { display: grid; gap: 16px; }
.eqf__m select, .fd select, .fd input:not([type=checkbox]):not([type=radio]):not([type=file]), .fd textarea { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid var(--line-2); background: var(--bg); border-radius: 0; font-size: 16px; }
.fd select, .eqf__m select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.eqf__m .flt__h, .eqf__size legend { display: block; }
.eqf__size { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: end; gap: 6px; }
.eqf__size legend { padding: 0; }
.eqf__size label span { display: block; font-size: 11.5px; color: var(--sub); }
.eqf__size input { width: 100%; min-height: 50px; padding: 8px 10px; border: 1px solid var(--line-2); background: var(--bg); border-radius: 0; font-family: var(--en); font-size: 19px; font-weight: 600; }
.eqf__size i { font-style: normal; padding-bottom: 12px; color: var(--mute); }
.eqf__hint { font-size: 12.5px; color: var(--sub); }
.eqbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 22px 0 14px; }
.eqbar .cnt { margin: 0; }
.vt { display: inline-flex; border: 1px solid var(--line-2); }
.vt button { min-height: 40px; padding: 4px 16px; border: 0; background: var(--bg); font-size: 13.5px; }
.vt button.is-on { background: var(--main); color: #fff; }
.eqs { display: grid; gap: 18px; }
.eq { border: 1px solid var(--line); background: var(--bg); display: grid; }
.eq__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--main); }
.eq__img img { width: 100%; height: 100%; object-fit: cover; }
.eq__cat { position: absolute; left: 0; top: 0; background: var(--main); color: #fff; font-size: 10.5px; padding: 3px 10px; }
.eq__qty { position: absolute; right: 0; bottom: 0; background: var(--accent); color: var(--main); padding: 0 12px; font-size: 13px; font-weight: 700; }
.eq__qty b { font-size: 26px; margin-right: 2px; }
.eq__b { padding: 18px 18px 20px; }
.eq h3 { font-size: 18.5px; }
.eq__note { font-size: 14px; color: var(--sub); margin-top: 4px; line-height: 1.7; }
.eq__fig { width: 100%; max-width: 340px; margin: 14px 0 4px; background: var(--bg-2); }
.eq__fig .env { fill: rgba(17,19,21,.04); stroke: var(--main); stroke-width: 1.2; }
.eq__fig .work { fill: rgba(255,90,31,.28); stroke: var(--accent); stroke-width: 1.2; transition: width .4s var(--ease), height .4s var(--ease); }
.eq__fig .dm { stroke: var(--sub); stroke-width: .8; fill: none; }
.eq__fig text { font-family: var(--mono); font-size: 11px; fill: var(--sub); }
.eq__fit { display: inline-block; margin: 0 0 6px; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--main); background: var(--accent-l); border-left: 3px solid var(--accent); padding: 2px 10px; }
.eq__spec div { display: grid; grid-template-columns: 88px 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.eq__spec dt { color: var(--sub); }
.eq__mats { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.eq__mats li { font-size: 11.5px; padding: 0 8px; border: 1px dashed var(--line-2); color: var(--mute); text-decoration: line-through; }
.eq__mats li.is-on { border-style: solid; border-color: var(--main); color: var(--text); text-decoration: none; }
.eq.is-hit .eq__mats li.is-pick { background: var(--main); color: #fff; }
.tblw { overflow-x: auto; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl thead th { background: var(--main); color: #fff; font-weight: 500; font-size: 13px; white-space: nowrap; }
.tbl tbody th { font-weight: 700; }
.tbl td.num { font-size: 20px; }
.pts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pts li { background: var(--bg); padding: 18px 16px; }
.pts b { display: block; font-size: 16px; }
.pts span { font-size: 13px; color: var(--sub); line-height: 1.6; display: block; margin-top: 4px; }

/* ===== かんたん診断 ===== */
.ck { display: grid; gap: 28px; }
.q { padding: 0 0 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--hh) + 12px); }
.q legend { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 19px; font-weight: 700; margin-bottom: 14px; padding: 0; }
.q legend .mono { font-size: 13px; color: #fff; background: var(--main); padding: 1px 8px; font-weight: 500; }
.q__a { font-style: normal; font-size: 13px; font-weight: 500; color: var(--ok); }
.q__o { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ch { position: relative; display: block; }
.ch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ch span { display: block; height: 100%; min-height: 64px; padding: 10px 12px; border: 1px solid var(--line-2); background: var(--bg); transition: border-color .2s, background .2s, box-shadow .2s; cursor: pointer; }
.ch b { display: block; font-size: 15.5px; line-height: 1.4; }
.ch small { display: block; font-size: 12px; color: var(--sub); line-height: 1.5; margin-top: 2px; }
.ch input:checked + span { border-color: var(--main); background: var(--main); color: #fff; box-shadow: 4px 4px 0 var(--accent); }
.ch input:checked + span small { color: var(--sub-w); }
.ch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.ch--ic span { text-align: center; }
.ch--ic svg { width: 44px; height: 44px; margin: 0 auto 4px; }
.ck__rs { width: 100%; }
.ck__r { background: var(--main); color: var(--text-w); padding: 24px 20px 26px; border-top: 4px solid var(--accent); scroll-margin-top: calc(var(--hh) + 12px); }
.ck__wait { text-align: center; }
.ck__wait > .mono { font-size: 12px; color: var(--accent); }
.ck__prog { position: relative; width: 120px; height: 120px; margin: 14px auto; }
.ck__prog svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ck__prog circle { fill: none; stroke: var(--line-w); stroke-width: 5; }
.ck__prog .bar { stroke: var(--accent); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .5s var(--ease); }
.ck__prog b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 32px; }
.ck__wt { color: var(--sub-w); font-size: 14.5px; }
.ck__rk { font-size: 12px; color: var(--accent); }
.ck__verdict { font-size: 23px; font-weight: 700; line-height: 1.45; margin-top: 6px; }
.ck__verdict.is-ask { color: #FFC4AE; }
.ck__sum { font-size: 13px; color: var(--sub-w); margin-top: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--line-w); }
.ck__h { font-size: 13px; color: var(--sub-w); font-weight: 500; margin: 18px 0 8px; }
.ck__methods li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--line-w); }
.ck__methods b { font-size: 16px; }
.ck__methods small { grid-column: 1 / -1; font-size: 12.5px; color: var(--sub-w); line-height: 1.6; }
.lv { display: inline-flex; gap: 3px; align-items: center; font-size: 12px; font-weight: 700; }
.lv i { width: 14px; height: 6px; background: var(--line-w); }
.lv i.on { background: var(--accent); }
.lv em { font-style: normal; margin-left: 6px; min-width: 4.2em; }
.ck__eq { display: flex; flex-wrap: wrap; gap: 6px; }
.ck__eq a { font-size: 12.5px; padding: 3px 10px; border: 1px solid var(--line-w); text-decoration: none; transition: border-color .2s; }
.ck__eq a:hover { border-color: var(--accent); }
.ck__eq li.none { font-size: 13px; color: var(--sub-w); }
.ck__dl { margin: 16px 0 6px; }
.ck__dl div { padding: 10px 0; border-bottom: 1px solid var(--line-w); }
.ck__dl dt { font-size: 12.5px; color: var(--sub-w); }
.ck__dl dd { font-size: 14.5px; line-height: 1.7; }
.ck__notes { margin: 12px 0 20px; }
.ck__notes li { position: relative; padding-left: 16px; font-size: 13px; color: var(--sub-w); line-height: 1.7; margin-bottom: 6px; }
.ck__notes li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; background: var(--accent); }
.ck__fine { font-size: 11.5px; color: var(--sub-w); margin-top: 12px; }

/* ===== 見積もりフォーム ===== */
.qt { display: grid; gap: 32px; }
.qf__prog { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.qf__prog li { padding: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--mute); position: relative; line-height: 1.5; }
.qf__prog li b { display: block; font-size: 12px; font-weight: 500; }
.qf__prog li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; }
.qf__prog li.is-on { color: var(--text); }
.qf__prog li.is-on::after { background: var(--accent); }
.qf__prog li.is-done { color: var(--sub); }
.qf__prog li.is-done::after { background: var(--main); }
.qf__note { background: var(--accent-l); border-left: 3px solid var(--accent); padding: 10px 14px; font-size: 14px; margin-bottom: 20px; }
.qf__p, .ent__p { display: none; }
.qf__p.is-on, .ent__p.is-on { display: block; animation: fadeIn .4s; }
.fd { display: block; margin-bottom: 22px; }
.fd__h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14.5px; font-weight: 700; margin-bottom: 8px; }
.req { font-style: normal; font-size: 11px; font-weight: 700; background: var(--main); color: #fff; padding: 0 6px; line-height: 1.7; }
.err { font-style: normal; font-size: 13px; font-weight: 700; color: var(--ng); }
.fd.is-err input, .fd.is-err select, .fd.is-err textarea, .fd.is-err .dz { border-color: var(--ng); background: #FFF6F4; }
.fd__s { font-size: 12.5px; color: var(--sub); margin-top: 8px; }
.fd textarea { line-height: 1.7; resize: vertical; }
.fg2 { display: grid; gap: 0 16px; }
.dz { position: relative; display: grid; justify-items: center; gap: 6px; padding: 28px 16px; border: 2px dashed var(--line-2); background: var(--bg-2); text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.dz:hover, .dz.is-over { border-color: var(--accent); background: var(--accent-l); }
.dz input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dz svg { width: 44px; height: 44px; color: var(--accent-d); }
.dz b { font-size: 15.5px; }
.dz u { text-decoration: none; color: var(--accent-d); border-bottom: 2px solid var(--accent); margin-left: 4px; }
.dz small { font-size: 12px; color: var(--sub); line-height: 1.6; }
.dz__pc { display: none; }
.fls { display: grid; gap: 8px; margin-top: 12px; }
.fls li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line-2); background: var(--bg); }
.fls li.is-bad { border-color: var(--ng); background: #FFF6F4; }
.fls .ty { font-family: var(--mono); font-size: 10.5px; font-weight: 500; background: var(--main); color: #fff; padding: 2px 6px; min-width: 44px; text-align: center; }
.fls .ty.is-3d { background: var(--accent); color: var(--main); }
.fls .nm { min-width: 0; }
.fls .nm b { display: block; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; line-height: 1.5; }
.fls .nm small { font-family: var(--mono); font-size: 11.5px; color: var(--sub); }
.fls .nm small.bad { color: var(--ng); font-family: var(--jp); font-weight: 700; }
.fls button { border: 0; background: none; width: 40px; height: 40px; font-size: 20px; color: var(--sub); }
.ck1 { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0; font-size: 14.5px; cursor: pointer; line-height: 1.6; }
.ck1 input { width: 20px; height: 20px; flex: none; margin: 2px 0 0; accent-color: var(--accent-d); }
.ck1 .err { display: block; }
.pts2 { display: grid; gap: 14px; margin: 26px 0 0; }
.pt { border: 1px solid var(--main); padding: 0 16px 0; background: var(--bg); }
.pt__h { display: flex; justify-content: space-between; align-items: center; margin: 0 -16px 16px; padding: 6px 8px 6px 16px; background: var(--main); color: #fff; }
.pt__h .mono { font-size: 12.5px; }
.pt__x { border: 1px solid var(--line-w); background: none; color: #fff; font-size: 12.5px; padding: 2px 12px; min-height: 32px; }
.pts2 .pt:only-child .pt__x { display: none; }
.pt__g { display: grid; gap: 0 14px; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty input { flex: 1; height: 50px; font-family: var(--en); font-size: 20px; font-weight: 600; }
.qty em { font-style: normal; font-size: 14px; }
.qty__q { display: flex; gap: 6px; margin-top: 8px; }
.qty__q button { flex: 1; min-height: 38px; border: 1px solid var(--line-2); background: var(--bg-2); font-family: var(--en); font-weight: 600; font-size: 16px; }
.addp { width: 100%; min-height: 52px; margin: 14px 0 28px; border: 1px dashed var(--main); background: var(--bg); font-weight: 700; font-size: 15px; }
.addp small { font-weight: 400; color: var(--sub); }
.addp:disabled { opacity: .4; cursor: default; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: inline-flex; align-items: center; min-height: 46px; padding: 6px 16px; border: 1px solid var(--line-2); background: var(--bg); font-size: 14.5px; cursor: pointer; transition: background .2s, color .2s; }
.seg input:checked + span { background: var(--main); border-color: var(--main); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.due__d { margin-top: 10px; max-width: 260px; }
.qf__nav { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 28px; }
.qf__ct { font-weight: 700; margin-bottom: 16px; }
.conf { border-top: 2px solid var(--main); }
.conf dl div, .conf > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.conf dt, .conf .ct { font-size: 12.5px; color: var(--sub); font-weight: 700; }
.conf dd { font-size: 15px; overflow-wrap: anywhere; white-space: pre-wrap; }
.conf ul li { font-size: 14px; overflow-wrap: anywhere; }
.conf .cpart { padding: 10px 12px; background: var(--bg-2); margin-top: 6px; font-size: 14px; line-height: 1.7; }
.conf .cpart b { font-family: var(--mono); font-size: 12px; color: var(--accent-d); margin-right: 8px; }
.qa { display: grid; gap: 16px; align-content: start; }
.qa__b { border: 1px solid var(--line); padding: 20px; }
.qa__b .mono { font-size: 11.5px; color: var(--accent-d); }
.qa__b h2 { font-size: 17px; margin-bottom: 10px; }
.qa__b li { font-size: 14px; color: var(--sub); line-height: 1.7; padding: 8px 0; border-bottom: 1px solid var(--line); }
.qa__b li b { display: block; color: var(--text); font-size: 14.5px; }
.qa__b > p { font-size: 14px; color: var(--sub); }
.qa__tel { background: var(--main); color: #fff; border: 0; }
.qa__tel p { font-size: 13px; color: var(--sub-w) !important; }
.qa__tel a { font-size: 34px; display: block; line-height: 1.3; }
.qa__tel small { font-size: 12px; color: var(--sub-w); }

/* ===== 品質 ===== */
.qflow { display: grid; gap: 12px; }
.qflow li { position: relative; padding: 18px 18px 18px 64px; border: 1px solid var(--line); background: var(--bg); }
.qflow span { position: absolute; left: 0; top: 0; bottom: 0; width: 48px; display: grid; place-items: center; background: var(--main); color: #fff; font-size: 14px; }
.qflow h3 { font-size: 17px; }
.qflow p { font-size: 14px; color: var(--sub); line-height: 1.7; }
.tools { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.tools li { font-size: 13px; padding: 2px 10px; border: 1px solid var(--line-2); background: var(--bg); }
.trc { display: grid; gap: 14px; }
.trc__i { border-top: 3px solid var(--main); padding: 18px 0 0; }
.trc__i .mono { font-size: 12px; color: var(--accent-d); }
.trc__i h3 { font-size: 19px; margin: 2px 0 6px; }
.trc__i p:last-child { color: var(--sub); font-size: 14.5px; }
.certs { display: grid; gap: 14px; }
.cert { position: relative; border: 1px dashed rgba(255,255,255,.4); padding: 24px 20px 20px; }
.cert__tag { position: absolute; right: 12px; top: 12px; font-size: 11px; font-weight: 700; background: var(--accent); color: var(--main); padding: 0 8px; }
.cert b { font-size: 26px; display: block; }
.cert p { font-size: 15px; }
.cert small { display: block; font-size: 12.5px; color: var(--sub-w); margin-top: 8px; }
.certs__n { font-size: 12.5px; color: var(--sub-w); margin-top: 16px; }
.ng { display: grid; gap: 0; counter-reset: n; }
.ng li { counter-increment: n; display: grid; grid-template-columns: 40px 1fr; gap: 0 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ng li::before { content: counter(n); grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--accent); font-family: var(--en); font-weight: 700; font-size: 20px; }
.ng b { font-size: 17px; }
.ng p { color: var(--sub); font-size: 14.5px; }

/* ===== 採用 ===== */
.jobs { display: grid; gap: 14px; }
.job { border: 1px solid var(--line); padding: 22px 20px; position: relative; }
.job__no { position: absolute; right: 16px; top: 10px; font-size: 34px; color: var(--bg-3); font-family: var(--en); font-weight: 700; }
.job h3 { font-size: 19px; padding-right: 48px; }
.job > p:not(.job__no) { font-size: 14.5px; color: var(--sub); margin-top: 8px; }
.job__t { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.job__t li { font-size: 12px; background: var(--bg-2); padding: 1px 9px; }
.day { display: grid; gap: 28px; }
.day__s { color: var(--sub); margin-top: -18px; font-size: 14.5px; }
.day__img { margin-top: 20px; max-width: 420px; }
.day__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.tl { border-left: 2px solid var(--main); margin-left: 4px; }
.tl li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 0 0 22px 18px; }
.tl li::before { content: ""; position: absolute; left: -7px; top: 9px; width: 12px; height: 12px; background: var(--accent); }
.tl time { font-size: 22px; line-height: 1.3; }
.tl h3 { font-size: 16.5px; }
.tl p { font-size: 14px; color: var(--sub); line-height: 1.7; }
.grow { display: grid; gap: 0; border-top: 1px solid var(--main); }
.grow li { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.grow span { font-size: 13px; color: var(--accent-d); font-weight: 500; }
.lic { margin-top: 28px; padding: 18px; background: var(--bg-2); }
.lic ul { display: flex; flex-wrap: wrap; gap: 6px; }
.lic li { font-size: 13px; padding: 2px 10px; background: var(--bg); border: 1px solid var(--line); }
.spec { border-top: 2px solid var(--main); }
.spec div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 13px; font-weight: 700; color: var(--sub); }
.spec dd { font-size: 15px; }
.ent { border: 1px solid var(--line); padding: 22px 18px; }

/* ===== 会社 ===== */
.msg { display: grid; gap: 40px; }
.msg p { margin-bottom: 16px; }
.msg__sign { font-weight: 700; text-align: right; }
.hist { display: grid; gap: 0; border-left: 1px solid var(--main); margin-left: 4px; }
.hist li { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding: 10px 0 10px 18px; }
.hist li::before { content: ""; position: absolute; left: -5px; top: 21px; width: 9px; height: 9px; background: var(--main); }
.hist b { font-size: 26px; line-height: 1.3; color: var(--accent-d); }
.hist p { padding-top: 4px; }
.acc { display: grid; gap: 28px; }
.map { position: relative; min-height: 260px; display: grid; place-items: center; text-align: center; overflow: hidden; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__r { stroke: rgba(255,255,255,.35); stroke-width: 10; }
.map__s { stroke: rgba(255,255,255,.18); stroke-width: 3; }
.map__p { fill: var(--accent); }
.map__p2 { stroke: var(--accent); stroke-width: 1.5; }
.map .mono { position: relative; font-size: 13px; margin-top: 90px; }
.map small { position: relative; font-size: 12.5px; color: var(--sub-w); padding: 0 20px; }

/* ===== タブレット ===== */
@media (min-width: 600px) {
  .wrap { width: min(1240px, calc(100% - 64px)); }
  .hd__cta { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; margin-left: auto; background: var(--accent); color: var(--main); font-weight: 700; font-size: 14px; }
  .mb { margin-left: 4px; }
  .hero__btns { display: flex; flex-wrap: wrap; }
  .hero__spec { grid-template-columns: repeat(4, 1fr); }
  .hero__spec li { border-right: 1px solid var(--line-w); padding-left: 16px !important; }
  .hero__spec li:last-child { border-right: 0; }
  .nums__in { grid-template-columns: repeat(4, 1fr); }
  .chk-band__mats { grid-template-columns: repeat(6, 1fr); }
  .wks { grid-template-columns: 1fr 1fr; }
  .wks--top { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; padding: 0; width: min(1240px, calc(100% - 64px)); margin: 0 auto; }
  .svs { grid-template-columns: 1fr 1fr; }
  .sv { grid-template-columns: 1fr; padding: 0 0 22px; }
  .sv__img { aspect-ratio: 4 / 3; }
  .sv__b { padding: 0 20px; }
  .sv__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; font-weight: 700; }
  .sv__more .arw { width: 24px; color: var(--accent); }
  .fl { flex-wrap: wrap; overflow: visible; }
  .eqs { grid-template-columns: 1fr 1fr; }
  .eqf__g { grid-template-columns: 220px 1fr; align-items: end; }
  .flow { grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
  .flow li { padding: 26px 0 0; border-top: 1px solid var(--line-w); }
  .flow li::before { left: 0; top: -6px; }
  .flow li::after { display: none; }
  .fg2, .pt__g { grid-template-columns: 1fr 1fr; }
  .fd--w { grid-column: 1 / -1; }
  .conf dl div, .conf > div, .spec div { grid-template-columns: 180px 1fr; gap: 16px; }
  .jobs, .trc, .certs { grid-template-columns: 1fr 1fr; }
  .pts { grid-template-columns: repeat(4, 1fr); }
  .grow { grid-template-columns: repeat(4, 1fr); border-top: 0; gap: 14px; }
  .grow li { border: 0; border-top: 3px solid var(--main); }
  .news__l li { grid-template-columns: 110px 90px 1fr; }
  .news__l p { grid-column: auto; }
  .ft__top { grid-template-columns: auto 1fr; align-items: center; }
  .ft__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 24px; }
  .tb { grid-template-columns: repeat(4, 1fr); }
  .tb__c { grid-column: auto; border-right: 1px solid var(--line-w); }
  .tb__c:nth-child(1), .tb__c:nth-child(2) { grid-column: span 2; }
  .tb__c:nth-child(3), .tb__c:nth-child(4) { grid-column: span 2; }
  .tb__c:nth-child(2n) { border-right: 0; }
  .tb__c--s { grid-column: auto !important; border-bottom: 0; }
  .tb__c--s:nth-of-type(odd) { border-right: 1px solid var(--line-w); }
  .tb__c--s:last-child { border-right: 0; }
}

/* ===== PC ===== */
@media (min-width: 1080px) {
  :root { --hh: 76px; }
  body { font-size: 16.5px; }
  .hd { padding: 0 28px; gap: 28px; }
  .lg__m { width: 40px; height: 40px; }
  .lg b { font-size: 21px; }
  .sec { padding: 112px 0; }
  .sec--t { padding-top: 56px; }
  .st { margin-bottom: 48px; }
  .ph { padding: 56px 0 72px; }
  .ph--img { padding: 80px 0 104px; }
  .hero { padding: 64px 0 0; }
  .hero__in { grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
  .hero__t { font-size: clamp(38px, 3.6vw, 54px); }
  .hero__spec { margin-top: 64px; }
  .hero__spec b { font-size: 46px; }
  .svs { grid-template-columns: repeat(4, 1fr); }
  .chk-band__in { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .chk-band__mats { grid-template-columns: repeat(3, 1fr); }
  .chk-band__q { padding: 32px; }
  .wks { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .wks--top { grid-template-columns: repeat(4, 1fr); }
  .eqr { grid-template-columns: 160px 200px 110px 1fr 28px; gap: 24px; padding: 24px 0; }
  .eqr__en { grid-column: auto; font-size: 12px; }
  .eqr__list { grid-column: auto; }
  .eqr i { grid-row: auto; grid-column: auto; }
  .flow { grid-template-columns: repeat(6, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .rec__in { padding: 200px 0 112px; }
  .news { display: grid; grid-template-columns: 280px 1fr; gap: 48px; }
  .fcta { padding: 96px 0; }
  .fcta__in { grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: center; }
  .ft { padding-bottom: 40px; }
  .spb { display: none; }
  .eqs { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .eqf { grid-template-columns: 1fr; padding: 24px 28px; }
  .eqf__g { grid-template-columns: 260px 1fr; gap: 28px; }
  .ck { grid-template-columns: 1fr 400px; gap: 48px; align-items: start; }
  .ck__r { position: sticky; top: calc(var(--hh) + 20px); max-height: calc(100vh - var(--hh) - 40px); overflow-y: auto; padding: 28px 26px; }
  .q__o { grid-template-columns: repeat(3, 1fr); }
  .q--ic .q__o, .q--4 .q__o { grid-template-columns: repeat(4, 1fr); }
  .qt { grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
  .qa { position: sticky; top: calc(var(--hh) + 20px); }
  .dz { padding: 40px 20px; }
  .dz__pc { display: block; }
  .dz__sp { display: none; }
  .qflow { grid-template-columns: repeat(5, 1fr); }
  .qflow li { padding: 64px 18px 20px; }
  .qflow span { bottom: auto; right: 0; width: auto; height: 44px; justify-content: start; padding-left: 18px; }
  .trc { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .jobs { grid-template-columns: repeat(4, 1fr); }
  .day { grid-template-columns: 420px 1fr; gap: 72px; align-items: start; }
  .msg { grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: start; }
  .hist { grid-template-columns: repeat(7, 1fr); border-left: 0; border-top: 1px solid var(--main); margin-left: 0; }
  .hist li { grid-template-columns: 1fr; padding: 22px 12px 0 0; }
  .hist li::before { left: 0; top: -5px; }
  .hist p { font-size: 14.5px; }
  .acc { grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
  .map { min-height: 380px; }
  .ent { padding: 32px; }
}
@media (min-width: 1240px) {
  .hd__nav { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; font-weight: 500; }
  .hd__nav a { position: relative; padding: 6px 0; }
  .hd__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .hd__nav a:hover::after, .hd__nav a.is-cur::after { transform: scaleX(1); }
  .hd__cta { margin-left: 0; height: 48px; padding: 0 22px; }
  .mb, .dr { display: none; }
}
@media (min-width: 1400px) {
  .hd__tel { display: block; line-height: 1.25; }
  .hd__tel small { display: block; font-size: 10.5px; color: var(--sub-w); }
  .hd__tel { font-family: var(--en); font-weight: 600; font-size: 21px; }
}
/* スクリーンショット用（?shot）：動きを止めて最終の見た目に */
.is-shot *, .is-shot *::before, .is-shot *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}
.wk__spec div:nth-child(5) { grid-column: 1 / -1; }
.is-shot .spb { display: none; }
.eqf .fl { flex-wrap: wrap; overflow: visible; }
