/* サンプル板金テクノデモ / 学習用サイト
   色は :root、スマホ表示は下部の @media を編集してください。 */
:root {
  --ink: #12171e;
  --white: #ffffff;
  --paper: #f1f3f5;
  --accent: #1553eb;
  --accent-light: #82a8ff;
  --muted: #606973;
  --line: #d7dce2;
  --dark-line: #3b434d;
  --max: 1328px;
  --gutter: clamp(24px, 4.5vw, 80px);
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --nav-top: 80px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1rem/1.9 var(--font-jp); -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
figure, dl, dd, p, h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: white; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.section-dark :focus-visible, .hero :focus-visible { outline-color: #a6c0ff; }
.container { width: min(calc(100% - var(--gutter) * 2), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(88px, 9.5vw, 152px); }
.section-gray { background: var(--paper); }
.section-dark { background: var(--ink); color: var(--white); }
h1, h2, h3 { font-weight: 800; line-height: 1.4; letter-spacing: -.055em; }
h2 { font-size: clamp(2.5rem, 4.5vw, 4.375rem); }
.phrase { display: inline-block; max-width: 100%; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 300; padding: 12px 20px; background: white; color: var(--ink); }
.skip-link:focus { top: 12px; }
.section-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font: 600 .875rem/1.6 var(--font-en); letter-spacing: .1em; color: var(--accent); margin-bottom: 28px; }
.section-kicker span { color: var(--muted); font: 500 .8125rem/1.7 var(--font-jp); letter-spacing: .03em; }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 64px; margin-bottom: 64px; }
.section-intro { padding-bottom: 8px; color: var(--muted); line-height: 2; }
.section-intro .text-link { margin-top: 20px; color: var(--ink); }
.micro-label { font: 600 .875rem/1.5 var(--font-en); letter-spacing: .09em; color: var(--accent); }
.section-dark .section-kicker, .section-dark .micro-label { color: var(--accent-light); }
.section-dark .section-kicker span { color: #bfc6d0; }
.blue-period { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 60px; padding: 17px 25px; border: 1px solid transparent; font-size: .9375rem; font-weight: 700; line-height: 1.7; transition: background .25s, color .25s, border-color .25s; }
.button > span, .text-link > span { font-family: Arial, sans-serif; font-size: 1.5rem; font-weight: 400; transition: transform .25s; }
.button-primary { background: var(--accent); color: white; }
.button-white { background: white; color: var(--ink); }
.text-link { display: inline-flex; justify-content: space-between; align-items: center; gap: 28px; min-height: 48px; padding: 7px 0; border: 0; border-bottom: 1px solid currentColor; background: none; font-size: .9375rem; font-weight: 700; line-height: 1.7; text-align: left; }

/* 上部の架空サイト注意書きとナビゲーション */
.fiction-banner { padding: 8px 24px; background: #e9edf2; color: #49515b; font-size: .75rem; line-height: 1.75; text-align: center; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1600px; margin-inline: auto; padding: 23px 36px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { position: relative; display: block; width: 32px; height: 36px; transform: skewY(-12deg); flex-shrink: 0; }
.brand-mark i { position: absolute; height: 32px; width: 9px; background: currentColor; left: 1px; top: 0; }
.brand-mark i:last-child { width: 23px; height: 9px; left: 9px; top: 23px; background: var(--accent); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.4; }
.brand-copy strong { font-size: 1.0625rem; font-weight: 800; letter-spacing: -.025em; }
.brand-copy strong span { display: inline-block; }
.brand-copy small { font: 600 .75rem/1.5 var(--font-en); letter-spacing: .09em; margin-top: 3px; }
.global-nav { display: flex; align-items: center; gap: 23px; font-size: .875rem; font-weight: 700; line-height: 1.5; }
.global-nav > a { padding-block: 12px; white-space: nowrap; }
.global-nav .nav-contact { margin-block: -23px; min-height: 87px; display: flex; align-items: center; gap: 18px; padding: 20px 25px; background: var(--accent); color: white; }
.nav-contact > span { font-size: 1.4rem; }
.menu-button { display: none; flex-shrink: 0; min-width: 52px; min-height: 50px; padding: 7px; background: transparent; border: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; font: 600 .75rem/1.2 var(--font-en); letter-spacing: .07em; }
.menu-lines { width: 25px; height: 19px; position: relative; }
.menu-lines i { width: 25px; height: 2px; background: currentColor; position: absolute; left: 0; top: 4px; transition: transform .25s; }
.menu-lines i:last-child { top: 12px; }
.menu-button[aria-expanded="true"] .menu-lines i { top: 8px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-lines i:last-child { transform: rotate(-45deg); }
.menu-backdrop { position: fixed; inset: 0; border: 0; padding: 0; background: rgba(10,15,23,.55); z-index: 90; }
body.menu-open { overflow: hidden; }

/* ファーストビュー。PCは全幅写真、スマホは右側の加工点を残してトリミング。 */
.hero { min-height: min(800px, 83svh); min-height: clamp(640px, 81svh, 820px); position: relative; display: flex; flex-direction: column; justify-content: center; background: #111922; color: white; isolation: isolate; }
.hero-image { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; animation: hero-photo-in 1.8s ease-out both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,15,24,.63), rgba(8,15,24,.24) 55%, rgba(8,15,24,.03)), linear-gradient(0deg, rgba(8,15,24,.72), transparent 40%); }
.hero-content { padding-block: 80px 92px; }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; font: 500 .9375rem/1.5 var(--font-en); letter-spacing: .17em; margin-bottom: 34px; }
.blue-rule { width: 32px; height: 3px; background: #407cff; }
.hero h1 { font-size: clamp(3.375rem, 6.5vw, 6.25rem); line-height: 1.28; font-weight: 900; letter-spacing: -.06em; }
.hero h1 > span { display: block; animation: rise-in .85s both; }
.hero h1 > span:last-child { animation-delay: .12s; }
.hero-lead { margin-top: 26px; font-size: 1.0625rem; font-weight: 500; line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 38px; }
.hero-bottom { position: relative; margin-top: auto; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.3); display: flex; justify-content: space-between; align-items: center; gap: 24px; font: 500 .8125rem/1.5 var(--font-en); letter-spacing: .1em; }
.hero-bottom p { margin-left: auto; }
.image-note { margin-left: 15px; font: 400 .75rem/1.7 var(--font-jp); letter-spacing: 0; color: #d6dce6; }
.scroll-cue { display: flex; gap: 25px; min-height: 28px; align-items: center; margin-left: 35px; }
.scroll-cue > span { font: 400 1.375rem Arial, sans-serif; }

/* 1個・3素材・5工法の数字を読み取りやすく整理 */
.capability-strip { border-bottom: 1px solid var(--line); }
.capability-inner { display: flex; align-items: center; justify-content: space-between; gap: 70px; padding-block: 30px 34px; }
.capability-label { font: 600 1.25rem/1.2 var(--font-en); letter-spacing: .03em; }
.capability-facts { display: grid; grid-template-columns: repeat(3, 1fr); width: 75%; }
.capability-facts li { padding-left: 35px; border-left: 1px solid var(--line); }
.capability-facts p { display: flex; align-items: baseline; gap: 16px; }
.capability-facts b { font: 600 4.5rem/.95 var(--font-en); letter-spacing: -.04em; }
.capability-facts p > span { font-size: 1rem; font-weight: 700; }
.capability-facts small { display: block; color: var(--muted); font-size: .8125rem; margin-top: 12px; }

/* 強み：番号＋写真＋短い見出し。写真の差し替えはHTMLの src を変更。 */
.strength-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 30px; align-items: start; }
.strength-card:nth-child(2) { margin-top: 72px; }
.photo { position: relative; overflow: hidden; background: #dce0e5; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.3,1); }
.strength-photo { aspect-ratio: 1.13; }
.strength-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,13,23,.55), transparent 50%); }
.strength-card:first-child img { object-position: 75% center; }
.strength-card:nth-child(3) img { object-position: 44% center; }
.photo-number { position: absolute; z-index: 1; left: 22px; bottom: -4px; font: 600 6.5rem/1 var(--font-en); letter-spacing: -.045em; color: white; }
.strength-copy { padding-top: 24px; }
.strength-copy .micro-label { margin-bottom: 17px; }
.strength-copy h3 { font-size: clamp(1.75rem, 2.6vw, 2.5625rem); line-height: 1.5; }
.strength-copy > p:last-child { color: var(--muted); margin-top: 18px; font-size: 1rem; line-height: 1.85; }
.image-credit { font-size: .75rem; color: var(--muted); margin-top: 24px; }
.materials { margin-top: 68px; padding: 38px 0; border-block: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.materials h3 { font-size: 1.375rem; margin-top: 7px; }
.materials ul { display: grid; grid-template-columns: repeat(3,1fr); width: 60%; }
.materials li { padding-left: 28px; border-left: 1px solid var(--line); }
.materials li > span { font: 500 .875rem var(--font-en); color: var(--muted); letter-spacing: .05em; display: block; }
.materials strong { display: block; font-size: 1.375rem; line-height: 1.7; margin-top: 4px; }

/* 製造工程。JavaScriptがないときも、6工程の本文は読み取れます。 */
.processes { overflow: clip; }
.display-heading { font: 600 clamp(6.25rem, 16vw, 14.5rem)/.82 var(--font-en); letter-spacing: -.035em; }
.process-heading .section-kicker { margin-bottom: 38px; }
.process-heading-bottom { display: flex; justify-content: space-between; align-items: end; gap: 44px; margin-top: 42px; margin-bottom: 52px; }
.process-heading-bottom h3 { font-size: clamp(1.625rem, 2.5vw, 2.5rem); }
.process-heading-bottom p { color: #bfc6d0; font-size: .9375rem; line-height: 1.85; }
.process-hint { font-size: .8125rem; }
.process-controls { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); border-top: 1px solid var(--dark-line); border-left: 1px solid var(--dark-line); }
.process-controls button { position: relative; text-align: left; background: transparent; border: 0; border-right: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); padding: 20px; min-height: 112px; color: #c7ced8; transition: background .25s, color .25s; }
.process-controls button > span { display: block; color: #92a0b3; font: 500 1.375rem var(--font-en); margin-bottom: 9px; }
.process-controls button strong { font-size: .9375rem; font-weight: 700; }
.process-controls button:not(:last-child)::after { content: "→"; position: absolute; top: 19px; right: 17px; color: #95a0b0; }
.process-controls button[aria-selected="true"] { background: var(--accent); color: white; }
.process-controls button[aria-selected="true"] > span, .process-controls button[aria-selected="true"]::after { color: white; }
.process-panel { display: grid; grid-template-columns: 1.4fr 1fr; min-height: 450px; background: #1c232c; margin-top: 28px; }
.process-ready .process-panel { margin-top: 0; animation: panel-in .45s both; }
.process-photo { position: relative; min-width: 0; overflow: hidden; min-height: 450px; background: #273240; }
.process-photo > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
#step-laser .process-photo > img { object-position: 78% center; }
.process-photo figcaption { position: absolute; bottom: 0; right: 0; padding: 10px 14px; background: rgba(10,16,25,.75); color: white; font-size: .75rem; }
.process-copy { padding: clamp(30px, 4.5vw, 64px); align-self: center; min-width: 0; }
.process-code { font: 500 1rem/1.5 var(--font-en); letter-spacing: .08em; color: #9abbff; margin-bottom: 25px; }
.process-copy h3 { font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1.45; }
.process-copy > p:not(.process-code) { color: #c7ced7; margin-top: 25px; line-height: 1.9; }
.process-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 30px; }
.process-tags li { padding: 5px 10px; border: 1px solid #4f5b6c; font-size: .75rem; color: #e1e6ef; }
.technology-section { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; margin-top: 75px; }
.technology-section h3 { margin-top: 13px; font-size: 1.5rem; letter-spacing: -.03em; }
.technology-list { border-top: 1px solid var(--dark-line); }
.technology-list details { border-bottom: 1px solid var(--dark-line); }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.technology-list summary { display: flex; gap: 24px; align-items: center; padding: 20px 0; font-weight: 700; font-size: 1.125rem; }
.technology-list summary > span { font: 500 .9375rem var(--font-en); color: #9eacbe; }
.technology-list summary > i { margin-left: auto; }
.technology-list details > p { padding: 0 40px 23px; color: #c7ced7; }
.technology-list summary > i, .role-toggle { display: block; width: 24px; height: 24px; position: relative; flex-shrink: 0; }
.technology-list summary > i::before, .technology-list summary > i::after, .role-toggle::before, .role-toggle::after { content: ""; width: 14px; height: 1px; background: currentColor; position: absolute; top: 12px; left: 5px; }
.technology-list summary > i::after, .role-toggle::after { transform: rotate(90deg); transition: transform .25s; }
details[open] > summary i::after { transform: rotate(0); }

/* 加工事例。4分割の元画像はCSSで各区画を見せています。 */
.fiction-note { font-size: .8125rem; color: var(--muted); line-height: 1.9; }
.works-note { max-width: 850px; margin: -25px 0 40px; }
.work-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 58px 36px; }
.work-card { min-width: 0; }
.work-visual { position: relative; overflow: hidden; aspect-ratio: 1.775; background-image: url("images/work-cases.png"); background-repeat: no-repeat; background-size: 200% 200%; background-color: #293139; }
.visual-cover { background-position: left top; }
.visual-frame { background-position: right top; }
.visual-bracket { background-position: left bottom; }
.visual-proto { background-position: right bottom; }
.work-visual > span { position: absolute; bottom: 0; left: 0; background: white; padding: 10px 19px 8px; color: var(--ink); font: 600 1rem/1.5 var(--font-en); letter-spacing: .1em; }
.work-body { padding-top: 23px; }
.work-body > small { font-size: .75rem; color: var(--accent); }
.work-body h3 { font-size: clamp(1.25rem, 1.7vw, 1.625rem); margin: 6px 0 21px; letter-spacing: -.03em; }
.work-body dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 15px; padding: 10px 0; border-top: 1px solid #d2d8df; font-size: .875rem; }
.work-body dt { color: var(--muted); }
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-top: 62px; margin-top: 80px; border-top: 1px solid #c8cfd8; }
.products h3 { font-size: 1.75rem; margin-top: 14px; }
.products > div > p:last-child { font-size: .875rem; color: var(--muted); margin-top: 20px; }
.product-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 30px; }
.product-list li { display: flex; align-items: center; min-height: 62px; border-bottom: 1px solid #c8cfd8; font-weight: 500; }
.product-list li::before { content: "/"; color: var(--accent); font-family: var(--font-en); margin-right: 13px; }

/* 設備の全仕様を保持。狭い画面では表の内側だけ横スクロール。 */
.equipment-photo { height: clamp(270px, 28vw, 410px); margin-bottom: 22px; }
.equipment-photo img { object-position: 50% 55%; }
.equipment-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(9,15,23,.6)); }
.equipment-photo figcaption { position: absolute; bottom: 23px; left: 30px; right: 30px; z-index: 1; color: white; display: flex; align-items: end; justify-content: space-between; gap: 20px; font: 500 2.5rem/1 var(--font-en); }
.equipment-photo small { font: 400 .75rem/1.6 var(--font-jp); }
.table-wrap { overflow-x: auto; margin-top: 30px; border-top: 2px solid var(--ink); }
table { width: 100%; min-width: 980px; border-collapse: collapse; }
th, td { padding: 24px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: .875rem; line-height: 1.7; }
thead th { background: var(--paper); color: var(--muted); font-weight: 500; font-size: .8125rem; padding-block: 16px; }
tbody th { font-size: .9375rem; font-weight: 700; }
tbody th b { font: 500 1.25rem var(--font-en); color: var(--accent); margin-right: 18px; }
.table-hint { display: none; color: var(--muted); font-size: .75rem; text-align: right; margin-top: 12px; }

/* ご依頼の流れと会社概要 */
.flow-list { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); border-top: 1px solid #a4afbb; }
.flow-list li { padding: 26px 15px 0 0; position: relative; }
.flow-list li:not(:last-child)::after { content: "→"; position: absolute; top: 26px; right: 20px; color: var(--accent); }
.flow-list b { font: 500 2.75rem/1 var(--font-en); color: var(--accent); display: block; }
.flow-list li > span { display: block; margin-top: 22px; font-size: 1rem; font-weight: 700; }
.flow-list small { font-size: .8125rem; color: var(--muted); }
.company-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.company h2 { font-size: clamp(2.125rem, 3.5vw, 3.5rem); }
.company-location { font: 600 clamp(3.375rem,6vw,6.25rem)/.92 var(--font-en); letter-spacing: -.015em; margin: 42px 0 27px; color: #cbd1d8; }
.company .fiction-note { max-width: 370px; }
.company-list { border-top: 2px solid var(--ink); }
.company-list > div { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.company-list dt { font-size: .875rem; color: var(--muted); }
.company-list dd { min-width: 0; }

/* 採用：職人の写真を全幅に使い、募集詳細は開閉式で整理。 */
.recruit-hero { position: relative; color: white; background: #242c34; min-height: 600px; display: flex; align-items: center; isolation: isolate; }
.recruit-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; z-index: -2; }
.recruit-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,17,27,.8), rgba(10,17,27,.28) 60%, rgba(10,17,27,.05)), linear-gradient(0deg, rgba(10,17,27,.38), transparent 30%); }
.recruit-hero-copy { padding-block: 82px; }
.recruit-hero .section-kicker, .recruit-hero .section-kicker span { color: white; }
.recruit-hero h2 { font-weight: 900; font-size: clamp(3rem, 5.7vw, 5.375rem); }
.recruit-hero .button { margin-top: 40px; min-width: 245px; }
.recruit-image-note { position: absolute; bottom: 20px; right: var(--gutter); font-size: .75rem; color: white; }
.recruit-content { padding-block: 72px 120px; }
.recruit-intro { display: grid; grid-template-columns: .55fr 1.45fr; gap: 70px; }
.recruit-intro .micro-label { padding-top: 10px; }
.recruit-intro h3 { font-size: clamp(1.5rem, 2.65vw, 2.5rem); }
.recruit-intro div > p { color: var(--muted); margin-top: 22px; max-width: 780px; }
.recruit-notice { background: var(--paper); border-left: 3px solid var(--accent); padding: 21px 25px; font-size: .875rem; margin: 46px 0 34px; }
.roles { scroll-margin-top: 110px; border-top: 1px solid var(--ink); }
.role { border-bottom: 1px solid var(--line); }
.role summary { display: flex; align-items: center; gap: 30px; padding: 29px 0; }
.role-number { font: 500 1.375rem var(--font-en); color: var(--accent); }
.role-name { min-width: 0; }
.role-name small { display: block; font: 500 .8125rem/1.5 var(--font-en); letter-spacing: .06em; color: var(--muted); margin-bottom: 5px; }
.role-name strong { font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; }
.role-tag { margin-left: auto; font-size: .8125rem; color: var(--muted); }
.role-toggle { margin-left: 20px; }
.role-body { padding: 0 55px 35px; max-width: 1030px; }
.role-body > p { color: var(--muted); }
.job-conditions { margin: 24px 0; }
.job-conditions > div { display: grid; grid-template-columns: 160px 1fr; gap: 22px; border-top: 1px solid var(--line); padding-block: 13px; font-size: .875rem; }
.job-conditions dt { color: var(--muted); }

/* フォーム：本物の情報を送信・保存しない体験用。入力は16px以上でiPhoneの自動拡大を防ぎます。 */
.contact-display { font: 600 clamp(6rem, 15vw, 14rem)/.85 var(--font-en); letter-spacing: -.02em; padding-bottom: 50px; margin-bottom: 60px; border-bottom: 1px solid var(--dark-line); }
.contact-layout { display: grid; grid-template-columns: .95fr 1.05fr; align-items: start; gap: 80px; }
.contact h2 { font-size: clamp(2.25rem,3.65vw,3.75rem); }
.contact-copy > p:not(.section-kicker) { color: #bac3cf; margin-top: 28px; max-width: 390px; }
.contact-meta { display: flex; flex-direction: column; gap: 11px; border-top: 1px solid var(--dark-line); padding-top: 25px; margin-top: 45px; max-width: 390px; }
.contact-meta > span { font-size: .8125rem; color: #bbc5d2; }
.contact-meta strong { font-size: 1.125rem; }
.contact-meta small { color: #bbc5d2; font-size: .8125rem; }
.contact-form { background: white; color: var(--ink); padding: 38px; min-width: 0; }
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-size: .875rem; font-weight: 700; margin-bottom: 8px; }
.form-row label span, .form-row label em { margin-left: 10px; font-size: .75rem; color: var(--accent); font-style: normal; font-weight: 500; }
input, textarea, select { width: 100%; min-width: 0; padding: 13px 14px; min-height: 50px; background: #f3f5f7; color: var(--ink); border: 1px solid #cbd2db; border-radius: 0; font-size: 1rem; line-height: 1.7; }
input::placeholder, textarea::placeholder { color: #697380; opacity: 1; }
textarea { resize: vertical; }
.form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.submit-button { width: 100%; }
.form-note { font-size: .75rem; color: var(--muted); margin-top: 16px; }
.error-message { display: block; font-size: .8125rem; color: #b32a24; line-height: 1.7; margin-top: 4px; }
.error-message:empty { display: none; }
.has-error input, .has-error textarea { border-color: #b32a24; }
.form-success { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; background: #edf3ff; border-left: 3px solid var(--accent); padding: 20px; }
.form-success > span { font-size: .875rem; }
.site-footer { background: var(--ink); color: white; padding-bottom: 32px; }
.footer-inner { border-top: 1px solid var(--dark-line); padding-top: 52px; display: flex; justify-content: space-between; gap: 60px; }
.footer-inner > div > p { color: #b8c1ce; font-size: .8125rem; margin-top: 24px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 46px; font-size: .875rem; }
.footer-links a { display: flex; align-items: center; min-height: 42px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 26px; border-top: 1px solid var(--dark-line); margin-top: 47px; padding-top: 28px; }
.footer-bottom small { font-size: .75rem; color: #b8c1ce; }

/* 動き：スクロールを妨げず、一度だけ軽く表示。JSが無効でも本文は見えます。 */
.reveal.is-waiting { opacity: 0; transform: translateY(28px); }
.reveal { transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1); }
@keyframes rise-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-photo-in { from { opacity: .6; transform: scale(1.045); } to { opacity: 1; transform: scale(1); } }
@keyframes panel-in { from { opacity: .35; } to { opacity: 1; } }
@media (hover: hover) {
  .button-primary:hover { background: #0e3ec0; }
  .button-white:hover { background: var(--accent); color: white; }
  .button:hover > span, .text-link:hover > span { transform: translate(3px,-2px); }
  .text-link:hover, .global-nav > a:not(.nav-contact):hover, .footer-links a:hover { color: var(--accent-light); }
  .section:not(.section-dark) .text-link:hover, .global-nav > a:not(.nav-contact):hover { color: var(--accent); }
  .strength-card:hover .photo img { transform: scale(1.045); }
  .process-controls button:not([aria-selected="true"]):hover { background: #2c3745; color: white; }
  summary:hover { color: var(--accent); }
  .section-dark summary:hover { color: var(--accent-light); }
}

/* タブレット・小さなPC。ナビを早めにメニューへ切り替え、窮屈な横並びを防ぎます。 */
@media (max-width: 1179px) {
  .header-inner { padding: 15px var(--gutter); }
  .menu-button { display: flex; }
  .global-nav { display: none; position: fixed; top: var(--nav-top); right: 0; left: 0; padding: 20px var(--gutter) 30px; background: white; overflow-y: auto; overscroll-behavior: contain; max-height: calc(100dvh - var(--nav-top)); box-shadow: 0 20px 35px rgba(10,20,40,.12); }
  .global-nav.open { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
  .global-nav > a { display: block; padding: 20px 5px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .global-nav .nav-contact { grid-column: 1/-1; min-height: 58px; margin: 22px 0 0; padding: 18px 22px; justify-content: space-between; }
  .section-heading, .contact-layout, .company-layout { gap: 38px; }
  .table-hint { display: block; }
  .contact-form { padding: 30px; }
  .form-split { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 1050px) {
  .strength-grid { grid-template-columns: 1fr; gap: 42px; }
  .strength-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .strength-card:nth-child(2) { margin-top: 0; }
  .strength-card:nth-child(2) .strength-photo { order: 2; }
  .strength-photo { aspect-ratio: 1.2; }
  .strength-copy { padding-top: 0; }
  .strength-copy h3 { font-size: 2.25rem; }
  .capability-inner { gap: 30px; }
  .capability-facts { width: 78%; }
  .capability-facts li { padding-left: 23px; }
  .materials ul { width: 62%; }
  .materials li { padding-left: 18px; }
  .process-copy { padding: 32px; }
  .process-copy h3 { font-size: 2.25rem; }
  .process-photo { min-height: 420px; }
  .process-controls button { padding: 15px 10px; }
  .process-controls button::after { display: none; }
  .process-heading-bottom { display: block; }
  .process-heading-bottom p { margin-top: 22px; }
  .flow-list { grid-template-columns: repeat(3,minmax(0,1fr)); row-gap: 28px; }
  .flow-list li:nth-child(3)::after { display: none; }
  .footer-inner { gap: 35px; }
  .footer-links { gap: 4px 28px; }
  .footer-brand .brand-copy strong span { display: block; }
}

/* スマホ：見出しの .phrase ごとに自然な改行。320px幅まで横にはみ出さない設計。 */
@media (max-width: 760px) {
  :root { --gutter: 22px; }
  html { scroll-padding-top: 96px; }
  .section { padding-block: 78px; }
  h2 { font-size: clamp(2rem, 8.5vw, 3rem); line-height: 1.5; }
  .section-kicker { gap: 13px; margin-bottom: 20px; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; margin-bottom: 38px; }
  .section-intro { font-size: 1rem; line-height: 1.95; padding: 0; }
  .desktop-break { display: none; }
  .fiction-banner { text-align: left; padding: 8px var(--gutter); }
  .header-inner { padding-block: 11px; gap: 14px; }
  .brand { gap: 10px; }
  .brand-mark { width: 27px; height: 32px; transform: skewY(-12deg) scale(.85); transform-origin: left center; }
  .brand-copy strong { font-size: .9375rem; line-height: 1.4; letter-spacing: 0; }
  .brand-copy strong span { display: block; }
  .brand-copy small { display: none; }
  .menu-button { min-width: 48px; }
  .global-nav.open { grid-template-columns: 1fr; padding-block: 6px 22px; }
  .global-nav > a { font-size: .9375rem; padding-block: 14px; min-height: 50px; }
  .global-nav .nav-contact { margin-top: 17px; }
  .hero { min-height: 610px; }
  .hero-image img { object-position: 74% center; }
  .hero::after { background: linear-gradient(90deg, rgba(7,14,24,.62), rgba(7,14,24,.18)), linear-gradient(0deg, rgba(7,14,24,.82), rgba(7,14,24,.12) 65%); }
  .hero-content { padding-block: 64px 46px; }
  .hero-eyebrow { font-size: .8125rem; margin-bottom: 29px; gap: 12px; }
  .blue-rule { width: 25px; }
  .hero h1 { font-size: clamp(2rem, 9.4vw, 3.75rem); line-height: 1.4; letter-spacing: -.055em; }
  .hero-lead { margin-top: 22px; font-size: 1rem; line-height: 1.95; }
  .hero-actions { margin-top: 30px; gap: 16px 24px; }
  .button { min-height: 56px; padding: 15px 20px; font-size: .875rem; }
  .hero-bottom { display: grid; grid-template-columns: 1fr auto; gap: 5px 15px; padding-block: 16px; font-size: .75rem; }
  .hero-bottom p { margin-left: 0; grid-column: 1; font-size: .75rem; letter-spacing: .03em; }
  .hero-bottom > span { font-size: .75rem; }
  .image-note { margin-left: 9px; }
  .scroll-cue { margin: 0; gap: 12px; grid-column: 2; grid-row: 1/3; }
  .capability-inner { display: block; padding-block: 29px; }
  .capability-label { display: none; }
  .capability-facts { width: 100%; }
  .capability-facts li { padding-left: 16px; }
  .capability-facts li:first-child { border: 0; padding-left: 0; }
  .capability-facts p { gap: 7px; flex-wrap: wrap; }
  .capability-facts b { font-size: 3.375rem; }
  .capability-facts p > span { font-size: .8125rem; }
  .capability-facts small { font-size: .75rem; line-height: 1.7; padding-right: 8px; }
  .strength-grid { gap: 48px; }
  .strength-card { display: block; }
  .strength-photo { aspect-ratio: 1.25; }
  .strength-copy { padding-top: 22px; }
  .strength-copy h3 { font-size: clamp(1.875rem, 7.7vw, 2.625rem); line-height: 1.45; }
  .strength-copy .micro-label { margin-bottom: 12px; }
  .strength-copy > p:last-child { margin-top: 15px; }
  .photo-number { font-size: 5.5rem; }
  .materials { display: block; margin-top: 42px; padding-block: 28px; }
  .materials ul { width: 100%; margin-top: 24px; }
  .materials li { padding-left: 12px; }
  .materials li:first-child { border: 0; padding-left: 0; }
  .materials strong { font-size: 1rem; }
  .materials li > span { font-size: .75rem; }
  .display-heading { font-size: clamp(3.125rem, 17vw, 8rem); }
  .process-heading .section-kicker { margin-bottom: 28px; }
  .process-heading-bottom { margin: 28px 0 30px; }
  .process-heading-bottom h3 { font-size: 1.75rem; }
  .process-heading-bottom p { margin-top: 16px; font-size: .875rem; }
  .process-controls { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .process-controls button { padding: 14px 12px; min-height: 96px; }
  .process-controls button strong { font-size: .875rem; }
  .process-controls button > span { font-size: 1.25rem; margin-bottom: 7px; }
  .process-panel { grid-template-columns: 1fr; min-height: 0; }
  .process-photo { aspect-ratio: 1.4; min-height: 0; }
  .process-copy { padding: 29px 25px 34px; }
  .process-copy h3 { font-size: 2rem; }
  .process-code { margin-bottom: 18px; }
  .process-copy > p:not(.process-code) { margin-top: 18px; }
  .process-tags { margin-top: 23px; }
  .technology-section { grid-template-columns: 1fr; gap: 27px; margin-top: 44px; }
  .technology-section h3 { font-size: 1.375rem; margin-top: 8px; }
  .technology-list summary { padding-block: 19px; gap: 20px; font-size: 1rem; }
  .technology-list details > p { padding-inline: 0; font-size: 1rem; }
  .works-note { margin: -5px 0 28px; font-size: .8125rem; }
  .work-grid { grid-template-columns: 1fr; gap: 40px; }
  .work-body { padding-top: 17px; }
  .work-body h3 { font-size: 1.25rem; margin-bottom: 17px; }
  .work-body dl > div { grid-template-columns: 106px 1fr; gap: 10px; font-size: .875rem; }
  .products { grid-template-columns: 1fr; gap: 22px; margin-top: 48px; padding-top: 38px; }
  .products h3 { font-size: 1.5rem; }
  .product-list { gap: 0 22px; }
  .product-list li { min-height: 56px; font-size: .9375rem; }
  .equipment-photo { height: 300px; }
  .equipment-photo figcaption { left: 18px; right: 18px; bottom: 18px; display: block; font-size: 1.375rem; }
  .equipment-photo small { display: block; margin-top: 10px; }
  .flow-list { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 24px; }
  .flow-list li { padding-top: 23px; }
  .flow-list li:nth-child(3)::after { display: block; }
  .flow-list li:nth-child(even)::after { display: none; }
  .flow-list b { font-size: 2.25rem; }
  .flow-list li > span { margin-top: 16px; font-size: .9375rem; }
  .company-layout { grid-template-columns: 1fr; gap: 30px; }
  .company h2 { font-size: clamp(2rem, 8.2vw, 3rem); }
  .company-location { font-size: 3.625rem; margin: 27px 0 20px; }
  .company .fiction-note { max-width: none; }
  .company-list > div { grid-template-columns: 66px 1fr; gap: 16px; padding-block: 19px; }
  .company-list dd { font-size: .9375rem; }
  .recruit-hero { min-height: 520px; }
  .recruit-hero > img { object-position: 58% center; }
  .recruit-hero::after { background: linear-gradient(90deg,rgba(10,17,27,.76),rgba(10,17,27,.24)), linear-gradient(0deg,rgba(10,17,27,.45),transparent 50%); }
  .recruit-hero-copy { padding-block: 60px 80px; }
  .recruit-hero h2 { font-size: clamp(2.75rem, 10vw, 3.875rem); }
  .recruit-hero .button { margin-top: 30px; min-width: 215px; }
  .recruit-image-note { left: var(--gutter); right: var(--gutter); font-size: .75rem; }
  .recruit-content { padding-block: 44px 72px; }
  .recruit-intro { grid-template-columns: 1fr; gap: 18px; }
  .recruit-intro h3 { font-size: clamp(1.375rem, 5.7vw, 1.875rem); }
  .recruit-intro .micro-label { padding-top: 0; }
  .recruit-intro div > p { margin-top: 18px; }
  .recruit-notice { padding: 17px 18px; margin: 28px 0; font-size: .8125rem; }
  .role summary { gap: 17px; padding-block: 23px; }
  .role-name strong { font-size: 1.125rem; }
  .role-name small { font-size: .75rem; }
  .role-tag { display: none; }
  .role-toggle { margin-left: auto; }
  .role-body { padding: 0 0 27px; }
  .job-conditions > div { grid-template-columns: 83px 1fr; gap: 16px; }
  .role-body .text-link { font-size: .875rem; gap: 16px; }
  .contact-display { font-size: clamp(4.75rem, 20vw, 8.25rem); padding-bottom: 30px; margin-bottom: 36px; }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .contact h2 { font-size: clamp(2rem, 8.2vw, 3rem); }
  .contact-copy > p:not(.section-kicker) { margin-top: 23px; max-width: none; }
  .contact-meta { margin-top: 28px; max-width: none; }
  .contact-form { padding: 26px 20px; }
  .footer-inner { flex-direction: column; gap: 26px; padding-top: 36px; }
  .footer-brand .brand-copy small { display: block; font-size: .75rem; letter-spacing: .02em; }
  .footer-brand .brand-mark { width: 27px; }
  .footer-links { gap: 0 26px; }
  .footer-bottom { flex-direction: column; gap: 17px; padding-top: 23px; margin-top: 28px; }
}
@media (max-width: 420px) {
  :root { --gutter: 20px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero-actions .button { width: 100%; max-width: 340px; }
  .hero h1 { font-size: clamp(2rem, 9.4vw, 2.5rem); }
  .hero-bottom { gap: 7px; }
  .hero-bottom p { display: flex; flex-wrap: wrap; gap: 4px 10px; }
  .image-note { margin: 0; }
  .scroll-cue { gap: 8px; font-size: .6875rem; }
  .capability-facts li { padding-left: 12px; }
  .capability-facts p > span { font-size: .75rem; }
  .capability-facts b { font-size: 3rem; }
  .capability-facts small { padding-right: 8px; }
  .process-controls button { padding: 13px 8px; }
}
@media (max-width: 380px) {
  .process-controls { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .process-controls button { min-height: 87px; padding: 12px 15px; }
  .capability-facts p { gap: 4px; }
  .capability-facts p > span { letter-spacing: -.025em; }
  .capability-facts b { font-size: 2.75rem; }
  .footer-brand .brand-copy small { max-width: 225px; }
}
/* OSの「視差効果を減らす」を尊重し、全アニメーションを停止します。 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.is-waiting { opacity: 1; transform: none; }
}
@media print {
  .menu-button, .menu-backdrop, .hero-actions, .contact-form { display: none !important; }
  .site-header { position: static; }
  .reveal.is-waiting { opacity: 1; transform: none; }
}
