@font-face { font-family: "Noto Sans JP"; src: url("./fonts/noto-sans-jp-japanese-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans JP"; src: url("./fonts/noto-sans-jp-japanese-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("./fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("./fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
.drawing-tools { padding: 16px; }
.drawing-tools label { display: block; margin-bottom: 12px; }
.drawing-tools input { width: 100%; box-sizing: border-box; }
.drawing-tools p, .drawing-guarantee, #drawing-approval-flow { font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.request-drawing { height: auto; overflow: visible; border: 1px solid #D9D9D9; padding: 12px; margin: 18px 0; }
.request-drawing svg { display: block; width: 100%; height: auto; margin-bottom: 20px; }
.request-drawing text { fill: #111; stroke: none; font-size: 3.3px; }
.request-drawing .view-title { font-weight: 700; font-size: 3.8px; }
.request-drawing .dimtext { paint-order: stroke; stroke: #fff; stroke-width: .9px; stroke-linejoin: round; }
.request-drawing .part { fill: #f1f1f1; stroke: #111; stroke-width: .5; stroke-linejoin: round; }
.request-drawing .hole { fill: #fff; stroke: #111; stroke-width: .35; }
.request-drawing .hbadge { fill: #0B455C; stroke: none; }
.request-drawing .hbadge-t { fill: #fff; font-size: 3.5px; font-weight: 700; }
.request-drawing .ext, .request-drawing .dimline, .request-drawing .bend-angle-arc { fill: none; stroke: #222; stroke-width: .18; }
.request-drawing .center { fill: none; stroke: #222; stroke-width: .15; stroke-dasharray: 5 1 1 1; }
.request-drawing .tangent { fill: none; stroke: #111; stroke-width: .25; }
.request-drawing .bend-line { fill: none; stroke: #111; stroke-width: .3; stroke-dasharray: 6 1.2 1.2 1.2; }
.request-drawing .bend-extension { fill: none; stroke: #444; stroke-width: .18; stroke-dasharray: 4 1 1 1; }
.dbe-preview-table td { overflow-wrap: anywhere; white-space: pre-wrap; }
#bent-fields label:has(#bend-angle), #angle-presets { grid-column: 1 / -1; }
button:disabled { opacity: .45; cursor: not-allowed; }
:root {
  --dou-navy: #0B455C;
  --dou-blue: #076E9D;
  --dou-teal: #23ABC3;
  --dou-ink: #231815;
  --dou-sub: #4C4E51;
  --dou-line: #D9D9D9;
  --dou-gray: #F3F3F3;
  --dou-pale: #E9F1F5;
  --cu: #C77B3B;
  --cu-deep: #8D4E2E;
  --cu-on-navy: #F0B27A;
  --ok: #1B7F5C;
  --ng: #C0392B;
  --f-sans: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --f-en: "Poppins", Arial, sans-serif;
  --wrap: 1120px;
  --gut: 40px;
  --header-h: 82px;
  --sec-y: 112px;
  --radius: 4px;
  --ease-rise: cubic-bezier(.2,.7,.2,1);
  --ease-line: cubic-bezier(.6,0,.2,1);
  --ease-pop: cubic-bezier(.3,1.4,.5,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--dou-ink); background: #fff; font-family: var(--f-sans); font-size: 17px; line-height: 1.9; overflow-x: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--dou-teal); outline-offset: 3px; }

.dbe-header { min-height: var(--header-h); padding: 0 max(24px, calc((100vw - 1280px) / 2)); display: flex; align-items: center; gap: 28px; background: #fff; border-bottom: 1px solid var(--dou-line); position: sticky; top: 0; z-index: 20; }
.dbe-brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; text-decoration: none; white-space: nowrap; color: var(--dou-navy); }
.dbe-brand-mark { width: 24px; height: 30px; display: inline-flex; flex-direction: column; justify-content: space-between; }
.dbe-brand-mark i { display: block; height: 8px; transform: skewY(-24deg); }
.dbe-brand-mark i:nth-child(1) { width: 15px; background: var(--cu); }
.dbe-brand-mark i:nth-child(2) { width: 24px; background: var(--dou-blue); }
.dbe-brand-mark i:nth-child(3) { width: 18px; background: var(--dou-teal); }
.dbe-brand-name { font-family: var(--f-en); font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.dbe-brand-sub { color: var(--dou-sub); font-size: 12px; }
.dbe-nav { min-width: 0; margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 2.2vw, 31px); white-space: nowrap; }
.dbe-nav a { color: var(--dou-ink); font-size: 15px; text-decoration: none; }
.dbe-nav a:hover { color: var(--dou-blue); }
.dbe-nav-cta { padding: 9px 18px; border-radius: 999px; background: var(--dou-blue); color: #fff !important; font-weight: 700; }
.dbe-motion-toggle { flex: 0 0 auto; min-height: 38px; padding: 5px 11px; color: var(--dou-blue); background: #fff; border: 1px solid var(--dou-line); border-radius: 999px; font-size: 12px; cursor: pointer; }
.dbe-progress { max-width: var(--wrap); height: 54px; margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; position: relative; }
.dbe-progress-line { position: absolute; left: 62px; right: 62px; top: 27px; height: 1px; background: var(--dou-line); }
.dbe-progress a { display: flex; align-items: center; justify-content: center; gap: 8px; position: relative; z-index: 1; text-decoration: none; background: #fff; color: var(--dou-sub); font-size: 13px; }
.dbe-progress b { width: 29px; height: 29px; display: grid; place-items: center; color: var(--dou-blue); background: #fff; border: 1px solid var(--dou-blue); border-radius: 50%; font-family: var(--f-en); font-size: 11px; }
.dbe-progress a:hover b { color: #fff; background: var(--dou-blue); }

.dbe-section-shell { width: min(var(--wrap), calc(100% - 2 * var(--gut))); margin: 0 auto; }
.dbe-hero { min-height: 650px; padding-top: 85px; padding-bottom: 78px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr); align-items: center; gap: 60px; }
.dbe-kicker { margin: 0 0 22px; color: var(--dou-blue); font-family: var(--f-en); font-size: 12px; font-weight: 700; letter-spacing: .1em; line-height: 1.2; }
.dbe-hero h1 { max-width: 650px; margin: 0; color: var(--dou-navy); font-size: clamp(42px, 5.8vw, 72px); font-weight: 700; letter-spacing: .015em; line-height: 1.16; }
.dbe-hero h1 span { color: var(--dou-blue); }
.dbe-hero-lead { max-width: 560px; margin: 28px 0 0; color: var(--dou-sub); font-size: 18px; line-height: 2; }
.dbe-hero-actions { margin-top: 35px; display: flex; flex-wrap: wrap; gap: 13px; }
.dbe-button { min-height: 56px; padding: 13px 26px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: var(--radius); font-size: 16px; font-weight: 700; line-height: 1.3; text-decoration: none; cursor: pointer; transition: transform .3s var(--ease-pop), background-color .2s ease, color .2s ease, border-color .2s ease; }
.dbe-button:active { transform: scale(.98); }
.dbe-button-primary { background: var(--dou-blue); color: #fff; }
.dbe-button-primary:hover { background: var(--dou-navy); }
.dbe-button-secondary { color: var(--dou-blue); background: #fff; border-color: var(--dou-blue); }
.dbe-button-secondary:hover { color: var(--dou-navy); border-color: var(--dou-navy); }
.dbe-hero-figure { min-width: 0; padding: 10px; }
.dbe-hero-svg { width: 100%; height: auto; display: block; overflow: visible; }
.dbe-drawing-grid { fill: none; stroke: #DCE7EA; stroke-width: 1; }
.dbe-hero-plate path { fill: var(--cu); stroke: var(--cu-deep); stroke-width: 3; }
.dbe-hero-plate circle { fill: #fff; stroke: var(--cu-deep); stroke-width: 3; }
.dbe-drawing-dimensions { fill: none; stroke: var(--dou-blue); stroke-width: 2; }
.dbe-drawing-dimensions text { fill: var(--dou-navy); stroke: none; font-family: var(--f-en), var(--f-sans); font-size: 16px; font-weight: 700; }
.dbe-hero-label rect { fill: var(--dou-navy); }
.dbe-hero-label text { fill: #fff; font-family: var(--f-en); font-size: 12px; letter-spacing: .08em; }

.dbe-section { padding: var(--sec-y) 0; scroll-margin-top: calc(var(--header-h) + 32px); }
.dbe-section-gray { background: var(--dou-gray); }
.dbe-entrances { border-top: 1px solid var(--dou-line); }
.dbe-section-head { max-width: 760px; margin-bottom: 44px; }
.dbe-section-head h2 { margin: 0; color: var(--dou-navy); font-size: clamp(31px, 4vw, 48px); letter-spacing: .01em; line-height: 1.25; }
.dbe-section-head > p:not(.dbe-kicker) { max-width: 680px; margin: 17px 0 0; color: var(--dou-sub); }
.dbe-section-rule { width: 100%; height: 1px; margin-top: 25px; display: block; background: var(--dou-line); transform-origin: left; }
.dbe-entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dbe-entry-card { min-height: 250px; padding: 25px 25px 28px; display: flex; flex-direction: column; position: relative; border-top: 3px solid var(--dou-blue); border-bottom: 1px solid var(--dou-line); text-decoration: none; background: #fff; transition: border-color .2s ease, transform .3s var(--ease-pop); }
.dbe-entry-card:hover { border-color: var(--dou-navy); transform: translateY(-5px); }
.dbe-entry-card-muted { border-top-color: var(--dou-line); color: var(--dou-sub); background: var(--dou-gray); }
.dbe-entry-no { color: var(--dou-blue); font-family: var(--f-en); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.dbe-entry-icon { width: 44px; height: 44px; margin: 29px 0 19px; display: grid; place-items: center; color: var(--dou-navy); border: 1px solid var(--dou-teal); font-family: var(--f-en); font-size: 19px; }
.dbe-entry-card h3 { margin: 0; color: var(--dou-navy); font-size: 24px; line-height: 1.3; }
.dbe-entry-card p { max-width: 270px; margin: 9px 0 0; color: var(--dou-sub); line-height: 1.75; }
.dbe-card-arrow { margin-top: auto; align-self: flex-end; color: var(--dou-blue); font-family: var(--f-en); font-size: 25px; transition: transform .3s var(--ease-pop); }
.dbe-entry-card:hover .dbe-card-arrow { transform: translate(8px, -4px); }
.dbe-entry-tag { margin-top: auto; align-self: flex-start; padding: 4px 10px; color: var(--dou-sub); border: 1px solid var(--dou-line); font-size: 13px; }
.dbe-howto { margin-top: 67px; padding-top: 25px; display: flex; align-items: center; gap: 19px; border-top: 1px solid var(--dou-line); }
.dbe-howto div { min-width: 150px; display: flex; flex-direction: column; gap: 3px; }
.dbe-howto b { color: var(--dou-blue); font-family: var(--f-en); font-size: 12px; letter-spacing: .08em; }
.dbe-howto span { color: var(--dou-navy); font-weight: 700; }
.dbe-howto i { height: 1px; flex: 1; background: var(--dou-teal); }

.dbe-flow-section { position: relative; }
.dbe-flow-section::before { content: ""; width: 1px; height: 70px; position: absolute; top: 0; left: max(20px, calc((100vw - var(--wrap)) / 2 + 40px)); background: var(--dou-teal); }
.dbe-current-workspace { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: 35px; align-items: start; }
.dbe-current-input { min-width: 0; }
.dbe-big-field { display: block; color: var(--dou-navy); font-weight: 700; }
.dbe-unit-field { min-width: 0; display: block; position: relative; }
.dbe-big-field .dbe-unit-field { margin-top: 10px; }
.dbe-big-field input { width: 100%; height: 102px; padding: 8px 62px 8px 17px; color: var(--dou-navy); background: #fff; border: 2px solid var(--dou-navy); border-radius: var(--radius); font-family: var(--f-en); font-size: 54px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.dbe-unit-field b { position: absolute; top: 50%; right: 17px; color: var(--dou-blue); transform: translateY(-50%); font-family: var(--f-en); font-size: 18px; pointer-events: none; }
.dbe-segment-group { margin-top: 29px; }
.dbe-field-caption { display: block; margin-bottom: 8px; color: var(--dou-sub); font-size: 14px; font-weight: 700; }
.dbe-segments { display: flex; }
.dbe-segment { min-height: 48px; flex: 1; padding: 5px 10px; color: var(--dou-navy); background: #fff; border: 1px solid var(--dou-line); border-right-width: 0; font-size: 15px; cursor: pointer; }
.dbe-segment:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.dbe-segment:last-child { border-right-width: 1px; border-radius: 0 var(--radius) var(--radius) 0; }
.dbe-segment.is-selected { color: #fff; background: var(--dou-blue); border-color: var(--dou-blue); }
.dbe-segments-location .dbe-segment { font-size: 14px; }
.dbe-current-note { min-height: 31px; margin: 25px 0 0; color: var(--dou-blue); font-size: 16px; }
.dbe-candidates-panel { min-width: 0; }
.dbe-panel-heading { min-height: 42px; display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--dou-navy); }
.dbe-panel-heading span { color: var(--dou-navy); font-size: 21px; font-weight: 700; }
.dbe-panel-heading small { color: var(--dou-sub); font-size: 14px; }
.dbe-candidate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 17px; }
.dbe-candidate { min-width: 0; min-height: 270px; padding: 19px 16px 16px; display: flex; flex-direction: column; border: 1px solid var(--dou-line); background: #fff; transition: border-color .2s ease, opacity .2s ease, transform .3s var(--ease-pop); }
.dbe-candidate.is-standard { border-top: 3px solid var(--dou-blue); background: var(--dou-pale); transform: translateY(-10px); }
.dbe-candidate:hover { border-color: var(--dou-blue); }
.dbe-candidate-label { color: var(--dou-blue); font-size: 14px; font-weight: 700; }
.dbe-candidate-use { min-height: 23px; margin-top: 3px; color: var(--cu-deep); font-size: 16px; font-weight: 700; }
.dbe-candidate-size { margin-top: 15px; color: var(--dou-navy); font-family: var(--f-en); font-size: clamp(21px, 2.1vw, 30px); font-weight: 700; line-height: 1.2; white-space: nowrap; }
.dbe-candidate-cross { width: 100%; height: 54px; margin: 18px 0 15px; display: grid; place-items: center; position: relative; }
.dbe-candidate-cross::before { content: ""; width: var(--cross-w, 76%); height: var(--cross-t, 18px); display: block; background: var(--cu); border: 2px solid var(--cu-deep); transition: width .4s ease, height .4s ease; }
.dbe-candidate-current { margin: auto 0 13px; color: var(--dou-sub); font-size: 16px; line-height: 1.5; }
.dbe-candidate-stock { margin: 8px 0 0; color: var(--dou-blue); font-size: 16px; line-height: 1.5; }
.dbe-candidate-parallel { display: block; margin-top: 6px; color: var(--dou-blue); font-size: 16px; line-height: 1.5; }
.dbe-candidate button { width: 100%; min-height: 48px; padding: 7px 8px; color: #fff; background: var(--dou-navy); border: 0; border-radius: var(--radius); font-size: 16px; font-weight: 700; cursor: pointer; }
.dbe-candidate button:hover { background: var(--dou-blue); }
.dbe-warning { margin-top: 37px; padding: 17px 20px; display: grid; grid-template-columns: max-content 1fr; gap: 22px; border-left: 3px solid var(--cu); background: #fff; }
.dbe-warning b { color: var(--dou-navy); font-size: 14px; }
.dbe-warning p { margin: 0; color: var(--dou-sub); font-size: 16px; line-height: 1.75; }

.dbe-design-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); gap: 39px; align-items: start; }
.dbe-drawing-stage { min-width: 0; padding: 18px 21px 21px; background: #fff; border: 1px solid var(--dou-line); }
.dbe-drawing-topline { display: flex; justify-content: space-between; padding-bottom: 10px; color: var(--dou-blue); border-bottom: 1px solid var(--dou-line); font-family: var(--f-en); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.dbe-drawing-stage svg { width: 100%; height: auto; display: block; }
.dbe-drawing-stage svg text { font-family: var(--f-en), var(--f-sans); }
.dbe-drawing-stage svg.bent-drawing text { font-size: 14px !important; }
.dbe-field-note { display: block; margin-top: 5px; color: var(--dou-sub); font-size: 12px; line-height: 1.35; }
.dbe-design-form { min-width: 0; padding: 0 0 20px; }
.dbe-form-group { padding: 0 0 25px; margin-bottom: 25px; border-bottom: 1px solid var(--dou-line); }
.dbe-form-group-title { margin-bottom: 14px; color: var(--dou-navy); font-size: 18px; font-weight: 700; }
.dbe-shape-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.dbe-shape-tile { min-height: 80px; padding: 7px 3px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; color: var(--dou-sub); background: #fff; border: 1px solid var(--dou-line); cursor: pointer; }
.dbe-shape-tile b { color: var(--dou-blue); font-family: var(--f-en); font-size: 13px; }
.dbe-shape-tile span { font-size: 12px; white-space: normal; overflow-wrap: anywhere; text-align: center; max-width: 100%; }
.dbe-shape-tile { min-width: 0; }
.dbe-shape-tile i { width: 30px; height: 18px; display: block; position: relative; border: 2px solid currentColor; }
.dbe-shape-tile i::after, .dbe-shape-tile i::before { content: ""; width: 5px; height: 5px; position: absolute; top: 5px; border: 1px solid currentColor; border-radius: 50%; background: #fff; }
.dbe-shape-tile i::before { left: -3px; }.dbe-shape-tile i::after { right: -3px; }
.dbe-shape-tile.is-selected { color: var(--dou-navy); border: 2px solid var(--dou-blue); background: var(--dou-pale); }
.dbe-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 13px; }
.dbe-design-form label, .dbe-request-form label { min-width: 0; display: flex; flex-direction: column; gap: 6px; color: var(--dou-sub); font-size: 14px; font-weight: 700; }
input, select, textarea { width: 100%; min-height: 52px; padding: 10px 13px; color: var(--dou-ink); background: #fff; border: 1px solid #AEBFC5; border-radius: var(--radius); font-size: 18px; }
textarea { resize: vertical; line-height: 1.7; }
.dbe-design-form input, .dbe-design-form select, .dbe-request-form input, .dbe-request-form textarea { font-size: 18px; }
.dbe-design-form .dbe-unit-field input { padding-right: 54px; }
.dbe-shape-field.is-hidden { display: none; }
.is-hidden { display: none !important; }
.dbe-validation { min-height: 36px; margin: 0 0 14px; color: var(--ng); font-size: 16px; line-height: 1.65; }
.dbe-validation:empty { min-height: 0; }
.dbe-validation div::before { content: "!"; width: 18px; height: 18px; margin-right: 6px; display: inline-grid; place-items: center; color: #fff; background: var(--ng); border-radius: 50%; font-family: var(--f-en); font-size: 12px; font-weight: 700; }
.dbe-full-button { width: 100%; }

.dbe-estimate-section { color: #fff; background: var(--dou-navy); }
.dbe-section-head-inverse h2 { color: #fff; }.dbe-section-head-inverse > p:not(.dbe-kicker) { color: #D7E7ED; }.dbe-section-head-inverse .dbe-kicker { color: var(--cu-on-navy); }.dbe-section-head-inverse .dbe-section-rule { background: #4D7A8A; }
.dbe-estimate-result { min-height: 310px; padding: 35px 40px 39px; background: #fff; color: var(--dou-ink); border-top: 4px solid var(--cu); }
.dbe-empty-result { margin: 0; color: var(--dou-sub); }
.dbe-result-kicker { margin: 0; color: var(--cu-deep); font-family: var(--f-en); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.dbe-price { margin: 10px 0 7px; color: var(--dou-navy); font-family: var(--f-en), var(--f-sans); font-size: clamp(42px, 7vw, 80px); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; border-bottom: 4px solid var(--cu); display: inline-block; }
.dbe-result-grid { max-width: 700px; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--dou-line); border-bottom: 1px solid var(--dou-line); }
.dbe-result-stat { padding: 13px 18px 14px 0; border-right: 1px solid var(--dou-line); }.dbe-result-stat + .dbe-result-stat { padding-left: 18px; }.dbe-result-stat:last-child { border-right: 0; }
.dbe-result-stat b { display: block; color: var(--dou-navy); font-family: var(--f-en), var(--f-sans); font-size: 22px; font-variant-numeric: tabular-nums; }.dbe-result-stat span { color: var(--dou-sub); font-size: 14px; }
.dbe-result-note { margin: 17px 0 0; color: var(--dou-sub); font-size: 16px; }.dbe-result-actions { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 12px; }.dbe-estimate-result .dbe-button-primary { background: var(--cu); }.dbe-estimate-result .dbe-button-primary:hover { background: var(--cu-deep); }.dbe-estimate-result .dbe-button-secondary { color: var(--dou-navy); }

.dbe-request-layout { display: grid; grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr); gap: 42px; align-items: start; }
.dbe-request-summary { min-height: 285px; padding: 21px; background: #fff; border-top: 3px solid var(--dou-blue); }.dbe-summary-label { color: var(--dou-blue); font-family: var(--f-en); font-size: 12px; font-weight: 700; letter-spacing: .08em; }.dbe-summary-empty { margin: 32px 0 0; color: var(--dou-sub); font-size: 15px; }.dbe-summary-title { margin: 29px 0 5px; color: var(--dou-navy); font-size: 20px; font-weight: 700; }.dbe-summary-line { margin: 3px 0; color: var(--dou-sub); font-size: 14px; }.dbe-request-form { padding: 27px 29px 29px; background: #fff; border: 1px solid var(--dou-line); }.dbe-request-form .dbe-field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.dbe-request-form > label { margin-top: 17px; }.dbe-check { min-height: 48px; flex-direction: row !important; align-items: center; gap: 9px !important; color: var(--dou-navy) !important; }.dbe-check input { width: 22px; min-height: 22px; accent-color: var(--dou-blue); }.dbe-request-preview { display: none; margin-top: 23px; padding: 18px; border-top: 2px solid var(--dou-navy); background: var(--dou-gray); }.dbe-request-preview.is-visible { display: block; }.dbe-preview-title { margin: 0 0 10px; color: var(--dou-navy); font-weight: 700; }.dbe-preview-table { width: 100%; border-collapse: collapse; font-size: 14px; }.dbe-preview-table th, .dbe-preview-table td { padding: 7px 8px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--dou-line); }.dbe-preview-table th { width: 32%; color: var(--dou-sub); font-weight: 400; }.dbe-debug { display: none; }
.dbe-footer { padding: 28px max(24px, calc((100vw - 1120px) / 2)); display: flex; justify-content: space-between; color: var(--dou-sub); border-top: 1px solid var(--dou-line); font-size: 13px; }
.dbe-visually-hidden { width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; position: absolute !important; clip: rect(0, 0, 0, 0) !important; overflow: hidden !important; white-space: nowrap !important; border: 0 !important; }
.dbe-rise { opacity: 1; transform: none; }.dbe-ready .dbe-rise { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease-rise), transform 1s var(--ease-rise); }.dbe-ready .dbe-rise.dbe-in-view { opacity: 1; transform: none; }.dbe-ready .dbe-section-rule { transform: scaleX(0); transition: transform .75s var(--ease-line); }.dbe-ready .dbe-section-rule.dbe-in-view, .dbe-ready .dbe-in-view .dbe-section-rule { transform: scaleX(1); }
.dbe-motion-paused *, .dbe-motion-paused *::before, .dbe-motion-paused *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
@media (prefers-reduced-motion: reduce) { .dbe-ready .dbe-rise, .dbe-ready .dbe-rise.dbe-in-view { opacity: 1; transform: none; } .dbe-ready .dbe-section-rule, .dbe-ready .dbe-section-rule.dbe-in-view { transform: scaleX(1); } }

@media (max-width: 900px) {
  :root { --gut: 24px; --sec-y: 82px; }
  .dbe-header { min-height: 102px; padding: 13px var(--gut); display: grid; grid-template-columns: 1fr auto; gap: 7px 14px; }
  .dbe-nav { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; justify-content: flex-start; gap: 18px; overflow-x: auto; scrollbar-width: none; }
  .dbe-nav::-webkit-scrollbar { display: none; }.dbe-nav a { font-size: 14px; }.dbe-nav-cta { margin-left: auto; }.dbe-motion-toggle { align-self: center; }
  .dbe-hero { min-height: 0; padding-top: 60px; grid-template-columns: 1fr; gap: 36px; }.dbe-hero-figure { max-width: 610px; margin: 0 auto; }
  .dbe-current-workspace { grid-template-columns: 1fr; }.dbe-candidate-grid { grid-template-columns: repeat(3, 1fr); }.dbe-design-layout { grid-template-columns: 1fr; }.dbe-drawing-stage { order: -1; }.dbe-request-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --gut: 16px; --sec-y: 65px; --header-h: 102px; }
  body { font-size: 17px; }.dbe-brand-name { font-size: 17px; }.dbe-brand-sub { display: none; }.dbe-motion-toggle { font-size: 11px; padding: 4px 9px; }.dbe-nav { gap: 14px; }.dbe-nav a { font-size: 13px; }.dbe-nav-cta { padding: 7px 11px; }
  .dbe-progress { height: 49px; padding: 0 9px; }.dbe-progress-line { left: 31px; right: 31px; top: 24px; }.dbe-progress a { gap: 4px; font-size: 11px; }.dbe-progress b { width: 26px; height: 26px; font-size: 10px; }
  .dbe-hero { padding-top: 50px; padding-bottom: 52px; }.dbe-hero h1 { font-size: clamp(37px, 11vw, 48px); }.dbe-hero-lead { font-size: 17px; }.dbe-hero-actions { flex-direction: column; }.dbe-hero-actions .dbe-button { width: 100%; }.dbe-hero-figure { padding: 0; }
  .dbe-section-head { margin-bottom: 31px; }.dbe-section-head h2 { font-size: clamp(29px, 9vw, 40px); }.dbe-entry-grid { grid-template-columns: 1fr; gap: 10px; }.dbe-entry-card { min-height: 185px; }.dbe-entry-icon { margin-top: 18px; }.dbe-howto { margin-top: 43px; gap: 8px; }.dbe-howto div { min-width: 0; }.dbe-howto span { font-size: 13px; }.dbe-flow-section::before { left: 22px; }
  .dbe-big-field input { height: 88px; font-size: 48px; }.dbe-candidate-grid { grid-template-columns: 1fr; gap: 10px; }.dbe-candidate { min-height: 0; }.dbe-candidate.is-standard { transform: none; }.dbe-candidate-cross { height: 40px; margin: 12px 0; }.dbe-warning { display: block; }.dbe-warning p { margin-top: 8px; }
  .dbe-drawing-stage { padding: 12px; }.dbe-drawing-stage svg { min-height: 230px; }.dbe-shape-tiles { gap: 4px; }.dbe-shape-tile { min-height: 72px; }.dbe-shape-tile span { font-size: 13px; }.dbe-field-grid, .dbe-request-form .dbe-field-grid { grid-template-columns: 1fr 1fr; }.dbe-request-form .dbe-field-grid label:last-child { grid-column: 1 / -1; }.dbe-request-form { padding: 19px 16px; }
  .dbe-estimate-result { padding: 25px 18px; }.dbe-price { max-width: 100%; font-size: clamp(32px, 9.8vw, 43px); letter-spacing: -.05em; white-space: normal; }.dbe-result-grid { grid-template-columns: 1fr; }.dbe-result-stat, .dbe-result-stat + .dbe-result-stat { padding: 10px 0; border-right: 0; border-bottom: 1px solid var(--dou-line); }.dbe-result-stat:last-child { border-bottom: 0; }.dbe-result-actions { flex-direction: column; }.dbe-result-actions .dbe-button { width: 100%; }.dbe-footer { padding: 24px var(--gut); display: block; }.dbe-footer span { display: block; }
}

.dbe-parallel-note { margin: 8px 0 0; color: var(--dou-sub); font-size: 16px; }
.dbe-design-form #developed-length { background: #f1f3f4; color: #59636b; cursor: not-allowed; }
.dbe-drawing-stage svg.bent-drawing text { font-size: 12px !important; }
/* 曲げ品のタイル: L形・Z形を線で描く(直線品の穴の丸は出さない) */
.dbe-shape-tile[data-shape="B1"] i, .dbe-shape-tile[data-shape="B2"] i { width: 30px; height: 22px; border: 0; border-radius: 0; background: center / contain no-repeat; transform: none; }
.dbe-shape-tile[data-shape="B1"] i::before, .dbe-shape-tile[data-shape="B1"] i::after, .dbe-shape-tile[data-shape="B2"] i::before, .dbe-shape-tile[data-shape="B2"] i::after { display: none; }
.dbe-shape-tile[data-shape="B1"] i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 22'%3E%3Cpath d='M6 2V19H28' fill='none' stroke='%23076E9D' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.dbe-shape-tile[data-shape="B2"] i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 22'%3E%3Cpath d='M1 4H15V18H29' fill='none' stroke='%23076E9D' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E"); }
#bent-fields .bend-angle-field { grid-column: 1 / -1; }
#bent-fields { margin-bottom: 22px; }
.bent-fields-heading { grid-column: 1 / -1; margin-top: 2px; color: var(--dou-navy); font-size: 15px; font-weight: 700; }
.dbe-design-form .bend-angle-field.dbe-check { min-height: 48px; flex-direction: row; align-items: center; gap: 9px; }
@media (max-width: 600px) { .dbe-design-form label:has(#plating), .dbe-design-form label:has(#temper) { grid-column: 1 / -1; } }
#bent-fields { margin-top: 18px; }
/* 候補の印: 確認済みは紺、推定は灰色(色だけに頼らず文字で書く) */
.dbe-candidate-use.is-confirmed { color: var(--dou-navy); font-weight: 700; }
.dbe-candidate-use.is-estimate { color: var(--dou-sub); font-weight: 400; }
.dbe-warning p + p { margin-top: 10px; }
.dbe-copper-note { margin: 14px 0 0; color: var(--dou-sub); font-size: 14px; line-height: 1.7; }
.dbe-copper-note b { color: var(--dou-navy); }
.dbe-copper-stale { margin: 6px 0 0; padding: 8px 12px; border-left: 3px solid var(--dou-navy); background: #F3F3F3; color: var(--dou-navy); font-size: 14px; line-height: 1.7; font-weight: 700; }

/* R24: 設計画面の図(印刷用の図と同じ線・文字)と、選んでいる入力欄の寸法の強調 */
#drawing svg { display: block; width: 100%; height: auto; }
#drawing text { fill: #111; stroke: none; font-size: 3.3px; font-family: var(--f-sans); }
#drawing .view-title { font-weight: 700; font-size: 3.8px; }
#drawing .dimtext { paint-order: stroke; stroke: #fff; stroke-width: .9px; stroke-linejoin: round; }
#drawing .part { fill: #f1f1f1; stroke: #111; stroke-width: .5; stroke-linejoin: round; }
#drawing .hole { fill: #fff; stroke: #111; stroke-width: .35; }
#drawing .hbadge { fill: #0B455C; stroke: none; }
#drawing .hbadge-t { fill: #fff; font-size: 3.5px; font-weight: 700; }
#drawing .ext, #drawing .dimline, #drawing .bend-angle-arc { fill: none; stroke: #222; stroke-width: .18; }
#drawing .center { fill: none; stroke: #222; stroke-width: .15; stroke-dasharray: 5 1 1 1; }
#drawing .tangent { fill: none; stroke: #111; stroke-width: .25; }
#drawing .bend-line { fill: none; stroke: #111; stroke-width: .3; stroke-dasharray: 6 1.2 1.2 1.2; }
#drawing .bend-extension { fill: none; stroke: #444; stroke-width: .18; stroke-dasharray: 4 1 1 1; }
#drawing [data-dim] { transition: opacity .15s; }
#drawing.dim-focus [data-dim]:not(.is-on) { opacity: .42; }
#drawing [data-dim].is-on .dimline, #drawing [data-dim].is-on .ext, #drawing [data-dim].is-on .bend-angle-arc { stroke: #E5640D; stroke-width: .5; }
#drawing [data-dim].is-on text { fill: #E5640D; font-weight: 700; stroke-width: 1.2px; }
#drawing [data-dim].is-on .hole { fill: #FFE1CC; stroke: #E5640D; stroke-width: .6; }
.dbe-focus-note { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: #0B455C; }
.dbe-shape-field:focus-within, .dbe-form-group label:focus-within { color: #C4510A; }
.dbe-design-form input:focus, .dbe-design-form select:focus { outline: 3px solid #E5640D; outline-offset: 1px; }

/* R24b: 図面を見ながら入力できるよう、図面を画面に固定(PC=右側の入力欄の横に追従、スマホ=画面の下に固定) */
.dbe-drawing-stage { position: sticky; top: 112px; align-self: start; }
.dbe-candidate { border-top: 3px solid var(--dou-line); }
.dbe-candidate.is-standard { transform: none; border-top-color: var(--dou-blue); }
#header .header_buttons .header_button-sekkei, #header .header_buttons-lt .header_button-sekkei { box-shadow: none; }
@media (max-width: 900px) {
  .dbe-drawing-stage { order: 1; top: auto; bottom: 0; z-index: 20; padding: 8px 12px; box-shadow: 0 -4px 14px rgba(0,0,0,.14); }
  .dbe-drawing-stage .dbe-drawing-topline { padding-bottom: 4px; }
  .dbe-drawing-stage svg, #drawing svg { max-height: 30vh; min-height: 0; }
  .dbe-focus-note { margin-top: 4px; font-size: 12px; line-height: 1.4; }
}
@media (min-width: 901px) { #drawing svg { max-height: calc(100vh - 230px); } }
.dbe-design-layout + .drawing-tools { margin-top: 24px; }

/* R31: 穴の入力は「数→位置→間隔→各穴の大きさ」を場所ごとのブロックにまとめる */
#hole-group.is-hidden { display: none !important; }
.hole-help { margin: -4px 0 14px; font-size: 13px; line-height: 1.6; color: #4A5D66; }
.hole-block { display: grid; gap: 12px; margin: 0 0 14px; padding: 14px 16px 16px; border: 1px solid #C9D6DC; border-left: 4px solid #0B455C; border-radius: 12px; background: #F7FAFB; }
.hole-block.is-hidden { display: none !important; }
.hole-block-title { margin: 0; color: #0B455C; font-size: 16px; font-weight: 700; }
.hole-block-fields:empty { display: none; }
.hole-block-fields > #individual-pitches { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.hole-block-fields > #individual-pitches input { min-width: 0; }
.hole-field-off { display: none !important; }
.hole-lines-wrap { display: grid; gap: 4px; }
.hole-lines-wrap.is-hidden { display: none !important; }
.hole-lines-title span { font-size: 12.5px; line-height: 1.5; color: #4A5D66; }
.hole-lines-title span:empty, .hole-lines-title:has(span:empty) { display: none; }
.hole-lines { display: grid; }
.hole-line { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0 10px; align-items: start; padding: 12px 0; border-top: 1px solid #D5E0E5; }
.hole-line:first-child { border-top: 0; padding-top: 4px; }
.hole-line.row-off, .row-off { display: none !important; }
.hole-no { width: 26px; height: 26px; border-radius: 50%; background: #0B455C; color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.hole-line-body { display: grid; gap: 10px; min-width: 0; }
.hole-line-field:empty { display: none; }
.hole-line-field label { max-width: 320px; }
.hole-line-note { margin: 0; font-size: 13px; color: #4A5D66; }
.hole-line-note.is-hidden { display: none !important; }
.hole-size-box { display: grid; gap: 4px; }
.hole-size-title { font-size: 14px; font-weight: 700; color: var(--dou-sub); }
.hole-size-row { display: flex; gap: 8px; flex-wrap: wrap; }
.hole-size-row > select { flex: 1 1 10em; min-width: 0; }
.hole-ori { flex: 0 0 8.5em; }
.hole-ori select { width: 100%; }
.hole-line select { min-height: 46px; padding: 6px 10px; font-size: 16px; }
.hole-ori.no-slot { display: none; }
.hole-block-note { margin: 0; font-size: 12.5px; line-height: 1.5; color: #4A5D66; }
.hole-block-note.is-hidden { display: none !important; }
@media (max-width: 600px) {
  .hole-block { padding: 12px 12px 14px; }
  .hole-ori { flex: 1 1 100%; }
}
.field-error { border-color: #C0392B !important; box-shadow: 0 0 0 2px rgba(192, 57, 43, .28); }
.dbe-validation .has-target { cursor: pointer; }
.dbe-validation .has-target u { white-space: nowrap; font-size: 13px; color: #0B455C; }
.hole-lines-title { line-height: 1.5; }


/* R31修正(2026-11-19): 穴入力の使いやすさ */
/* 長円の向き: 見える名前を付ける */
.hole-ori { display: flex; flex-direction: column; gap: 2px; }
.hole-ori-title { font-size: 12px; font-weight: 700; line-height: 1.4; color: var(--dou-sub); }
.hole-size-row { align-items: flex-end; }
.hole-line-field { display: grid; gap: 10px; }
/* エラー: 直す欄のすぐ下の一言と、「入力欄へ」のボタン */
.dbe-design-form .field-error-msg { display: block; margin-top: 2px; color: var(--ng); font-size: 13px; font-weight: 400; line-height: 1.5; }
.dbe-validation .field-jump { margin: 0; padding: 2px 4px; border: 0; background: none; font: inherit; font-size: 13px; color: #0B455C; text-decoration: underline; white-space: nowrap; cursor: pointer; }
.dbe-validation .field-jump:focus-visible { outline: 3px solid #E5640D; outline-offset: 2px; }
/* 図の開閉ボタンはスマホ(900px以下)だけ */
.drawing-toggle { display: none; }
@media (max-width: 900px) {
  html { scroll-padding-bottom: 120px; }
  :root:has(.dbe-drawing-stage.is-open) { scroll-padding-bottom: 56vh; }
  .dbe-drawing-topline { align-items: center; }
  .drawing-toggle { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 14px; border: 1px solid var(--dou-blue); border-radius: 18px; background: #fff; color: var(--dou-navy); font: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0; cursor: pointer; }
  .drawing-toggle:focus-visible { outline: 3px solid #E5640D; outline-offset: 2px; }
  .dbe-drawing-stage:not(.is-open) #drawing { display: none; }
  .dbe-drawing-stage:not(.is-open) .dbe-focus-note { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .dbe-drawing-stage.is-open #drawing { max-height: 46vh; overflow: auto; }
  .dbe-drawing-stage.is-open #drawing::before { content: "左右にスライドして見られます"; display: block; position: sticky; left: 0; font-size: 12px; line-height: 1.6; color: #4A5D66; }
  .dbe-drawing-stage.is-open #drawing svg { max-height: none; min-width: 600px; }
}
/* R31修正2: 板厚で大きさが変わった一言・S4の上下間隔は1行ぶんの幅 */
.hole-size-note { margin: 2px 0 0; font-size: 13px; line-height: 1.5; color: #C4510A; }
.hole-block-fields > label:has(#qpitch) { grid-column: 1 / -1; max-width: 320px; }
