/* ==========================================================
   大島精密工業株式会社 — Corporate Site
   紺・黒・灰・シルバーを基調に、暖色（アンバー）を1色だけ差す
   ========================================================== */

:root {
  --navy-950: #070b16;
  --navy-900: #0a1020;
  --navy-800: #0e1a33;
  --navy-700: #16264a;
  --navy-600: #22365f;

  --ink: #0d1220;
  --text: #2a3140;
  --muted: #667085;

  --gray-50: #f5f6f8;
  --gray-100: #eceef2;
  --gray-200: #dde0e6;
  --gray-300: #c4c9d2;
  --silver: #aab2bf;

  --accent: #e2872f;
  --accent-hi: #f2a24f;
  --accent-ink: #b0540c; /* 明るい背景上の文字用 */
  --accent-dim: rgba(226, 135, 47, 0.14);

  --on-dark: #2a3140;
  --on-dark-muted: #667085;
  --line-dark: #dde0e6;
  --sky: #eef1f6;
  --shadow-shape: rgba(22, 38, 74, 0.14);

  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --cond: "Barlow Condensed", "Noto Sans JP", sans-serif;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --gutter: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.95;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Custom cursor: arrow (fine pointers only) ---------- */
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label, .has-cursor .btn { cursor: none; }
.has-cursor input[type="text"], .has-cursor input[type="email"], .has-cursor input[type="tel"], .has-cursor textarea { cursor: text; }
.cursor-arrow, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; opacity: 0; will-change: transform; }
.has-cursor .cursor-arrow, .has-cursor .cursor-ring { opacity: 1; }
.cursor-arrow { width: 26px; height: 26px; margin: -2px 0 0 -2px; }
.cursor-arrow svg { width: 100%; height: 100%; filter: drop-shadow(0 1px 1.5px rgba(10, 16, 32, .35)); }
.cursor-arrow path { fill: var(--navy-800); stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; transition: fill .3s; }
.cursor-arrow.is-link path { fill: var(--accent); }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  border: 1px solid rgba(22, 38, 74, 0.35);
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s, opacity .2s;
}
.cursor-ring.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: var(--accent-dim); border-color: var(--accent); }
.cursor-ring.is-hidden, .cursor-arrow.is-hidden { opacity: 0 !important; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 76px;
  transition: background .4s, backdrop-filter .4s, height .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent; color: var(--ink);
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.site-header.is-scrolled {
  height: 64px; background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--gray-200);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand__mark { width: 38px; height: 38px; color: var(--accent); flex: none; transition: transform .8s var(--ease); }
.brand:hover .brand__mark { transform: rotate(90deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__ja { font-family: var(--serif); font-weight: 700; font-size: 19px; letter-spacing: .12em; }
.brand__en { font-family: var(--cond); font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }

.gnav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.gnav a.gnav__link { position: relative; font-size: 14px; letter-spacing: .12em; padding: 8px 0; color: var(--text); transition: color .3s; }
.gnav a.gnav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.gnav a.gnav__link:hover, .gnav a.gnav__link[aria-current="page"] { color: var(--ink); }
.gnav a.gnav__link:hover::after, .gnav a.gnav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.gnav__cta {
  position: relative; overflow: hidden; display: inline-flex; align-items: center;
  padding: 11px 26px; border: 1px solid var(--accent); color: var(--accent-ink); font-size: 15px; font-weight: 500; letter-spacing: .14em;
  transition: color .4s;
}
.gnav__cta::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; }
.gnav__cta:hover { color: var(--navy-900); }
.gnav__cta:hover::before { transform: translateY(0); }
.gnav__cta { z-index: 0; }

.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 0; position: relative; color: var(--ink); }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease); }
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 22px; }
.menu-btn span:nth-child(3) { top: 28px; }
.menu-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; z-index: 0; overflow: hidden; display: inline-flex; align-items: center; gap: 14px;
  padding: 21px 42px; font-size: 17.5px; letter-spacing: .14em; line-height: 1.4; border: 1px solid transparent;
  transition: color .45s var(--ease), border-color .45s;
  background: none;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-101%); transition: transform .55s var(--ease); }
.btn__arrow { width: 30px; height: 11px; transition: transform .45s var(--ease); flex: none; }
.btn:hover .btn__arrow { transform: translateX(8px); }
.btn:hover::before { transform: translateX(0); }

.btn--primary { background: var(--accent); color: var(--navy-900); font-weight: 500; }
.btn--primary::before { background: var(--navy-800); }
.btn--primary:hover { color: #fff; }
.btn--ghost { border-color: rgba(22, 38, 74, .45); color: var(--ink); background: rgba(255,255,255,.6); }
.btn--ghost::before { background: var(--navy-800); }
.btn--ghost:hover { color: #fff; border-color: var(--navy-800); }
.btn--dark { border-color: var(--navy-900); color: var(--navy-900); }
.btn--dark::before { background: var(--navy-900); }
.btn--dark:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 104px; overflow: hidden; isolation: isolate; color: var(--ink);
  background:
    linear-gradient(rgba(22,38,74,.045) 1px, transparent 1px) 0 0 / 100% 88px,
    linear-gradient(90deg, rgba(22,38,74,.045) 1px, transparent 1px) 0 0 / 88px 100%,
    linear-gradient(165deg, #ffffff 0%, #f6f8fb 55%, #e9eef6 100%);
}
.hero__art { position: absolute; z-index: 0; left: 0; bottom: 110px; width: min(56vw, 880px); pointer-events: none; color: var(--navy-600); opacity: .55; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding-bottom: clamp(28px, 4vh, 52px); }
.hero__copy {
  position: relative; z-index: 3; margin-right: clamp(-70px, -4vw, -24px); padding: clamp(30px, 3.6vw, 56px) clamp(28px, 3.6vw, 56px);
  background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,.9); box-shadow: 0 30px 60px -36px rgba(22,38,74,.35);
}
.hero__copy::before { content: ""; position: absolute; left: -1px; top: -1px; width: 64px; height: 3px; background: var(--accent); }
.hero__visual { position: relative; z-index: 2; width: min(100%, 70vh); aspect-ratio: 1; justify-self: center; }
.hero__visual .hero__dial { position: absolute; z-index: 0; left: 50%; top: 50%; width: 132%; max-width: none; transform: translate(-50%, -50%); color: var(--navy-600); opacity: .42; pointer-events: none; }
.hero__dial g.spin { transform-origin: 200px 200px; animation: spin 140s linear infinite; }
.hero__visual > .shp--circle { position: absolute; inset: 0; z-index: 1; }
.hero__visual .shp--tri { position: absolute; z-index: 3; width: 30%; right: -7%; bottom: -3%; }
.hero__visual .shp--hex { position: absolute; z-index: 3; width: 25%; right: -4%; top: 2%; }
.eyebrow { font-family: var(--cond); font-size: 14px; letter-spacing: .32em; text-transform: uppercase; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 16px; }
.eyebrow::before { content: ""; width: 44px; height: 1px; background: currentColor; }
.hero h1 {
  font-family: var(--serif); font-weight: 700; font-size: clamp(40px, 5.2vw, 78px); line-height: 1.28; color: var(--ink);
  letter-spacing: .06em; font-feature-settings: "palt"; margin: 22px 0 24px;
}
.hero__lead { max-width: 560px; color: var(--text); font-size: clamp(14.5px, 1.1vw, 16px); line-height: 2.05; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero__stats { position: relative; z-index: 2; border-top: 1px solid var(--gray-200); background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero__stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 22px 0 22px 28px; border-left: 1px solid var(--gray-200); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-family: var(--cond); font-weight: 500; font-size: clamp(27px, 3vw, 42px); line-height: 1.1; color: var(--ink); letter-spacing: .02em; white-space: nowrap; }
.stat__num small { font-size: .42em; letter-spacing: .12em; color: var(--accent-ink); margin-left: 6px; font-family: var(--sans); }
.stat__label { font-size: 12.5px; letter-spacing: .14em; color: var(--muted); margin-top: 4px; line-height: 1.6; }

.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s var(--ease) forwards; }
.draw--d1 { animation-delay: .3s; } .draw--d2 { animation-delay: .9s; } .draw--d3 { animation-delay: 1.5s; }
.fade-in { opacity: 0; animation: fadeIn 1.2s ease forwards; animation-delay: 2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Shape system: circle / triangle / hexagon / parallelogram + one offset shadow ---------- */
.shp { position: relative; }
.shp__fx { filter: drop-shadow(12px 12px 0 var(--shadow-shape)); }
.shp__in { position: relative; overflow: hidden; background: var(--gray-100); }
.shp__in img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.shp:hover .shp__in img { transform: scale(1.06); }
.shp--circle .shp__in { aspect-ratio: 1; clip-path: circle(50% at 50% 50%); }
.shp--tri .shp__in { aspect-ratio: 1.15; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.shp--hex .shp__in { aspect-ratio: 1.155; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.shp--para .shp__in { aspect-ratio: 4 / 3; clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%); }
.shp--tri .shp__in img { object-position: 50% 70%; }

/* slideshow (inside the hero circle) */
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,16,32,.78) 0%, rgba(10,16,32,.38) 34%, rgba(10,16,32,0) 62%); }
.slide__cap { position: absolute; left: 0; right: 0; bottom: 15%; z-index: 2; text-align: center; color: #fff; padding: 0 12% 0 24%; }
.slide__en { display: block; font-family: var(--cond); font-size: clamp(12px, 1vw, 14px); letter-spacing: .34em; text-transform: uppercase; color: #ffd9ae; }
.slide__ja { display: block; margin-top: 6px; font-family: var(--serif); font-weight: 700; font-size: clamp(16px, 1.6vw, 24px); letter-spacing: .1em; line-height: 1.5; text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.slide.is-active .slide__cap { animation: capIn 1.1s .35s var(--ease) both; }
@keyframes capIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.slides__dots { position: absolute; z-index: 4; left: 0; right: 0; bottom: 7%; display: flex; justify-content: center; gap: 10px; }
.slides__dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1px solid #fff; background: transparent; transition: background .3s, transform .3s; }
.slides__dots button.is-active { background: var(--accent); border-color: var(--accent); transform: scale(1.25); }

/* photo collage: shapes overlapping inside one box */
.collage { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin-inline: auto; }
.collage .shp { position: absolute; }
.collage .c1 { width: 70%; left: 0; top: 4%; }
.collage .c2 { width: 40%; right: 0; top: 0; }
.collage .c3 { width: 42%; right: 4%; bottom: 0; }
.collage--b .c1 { left: auto; right: 0; }
.collage--b .c2 { left: 0; right: auto; }
.collage--b .c3 { right: auto; left: 8%; }

/* gallery (same shapes, caption below) */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 5vw, 72px) clamp(24px, 4vw, 56px); }
.gal { text-align: center; }
.gal .shp { width: min(100%, 300px); margin: 0 auto; }
.gal figcaption { margin-top: 26px; }
.gal h3 { font-family: var(--serif); font-weight: 700; font-size: 19px; letter-spacing: .08em; color: var(--ink); }
.gal p { margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.85; }

/* banner: wide photo, slanted edge, frosted card on top */
.banner { position: relative; isolation: isolate; padding: clamp(90px, 12vw, 170px) 0 clamp(110px, 14vw, 190px); overflow: hidden; }
.banner__bg { position: absolute; inset: 0; z-index: -1; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 70px), 0 100%); }
.banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.banner__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,0) 60%); }
.banner__card { max-width: 560px; padding: clamp(28px, 4vw, 52px); background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 30px 60px -34px rgba(10,16,32,.5); border-top: 3px solid var(--accent); }
.banner__card p { margin-top: 18px; color: var(--text); }
.banner .shp--circle { position: absolute; right: clamp(20px, 7vw, 120px); bottom: clamp(60px, 8vw, 120px); width: clamp(180px, 24vw, 340px); }

/* line mask reveal for headings */
.mask { display: block; overflow: hidden; padding-bottom: .08em; }
.mask > span { display: block; transform: translateY(105%); animation: maskUp 1.2s var(--ease) forwards; }
.mask:nth-child(2) > span { animation-delay: .12s; }
.mask:nth-child(3) > span { animation-delay: .24s; }
@keyframes maskUp { to { transform: translateY(0); } }
.hero .eyebrow, .hero__lead, .hero__actions { opacity: 0; transform: translateY(18px); animation: riseIn 1.1s var(--ease) forwards; }
.hero .eyebrow { animation-delay: .1s; } .hero__lead { animation-delay: .55s; } .hero__actions { animation-delay: .75s; }
@keyframes riseIn { to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(84px, 11vw, 160px) 0; position: relative; }
.section--light { background: var(--gray-50); }
.section--white { background: #fff; }
.section--dark { background: var(--sky); color: var(--text); }
.section--deep { background: var(--gray-50); color: var(--text); }

.sec-label { display: flex; align-items: center; gap: 18px; font-family: var(--cond); font-size: 15px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent-ink); }
.sec-label b { font-weight: 600; }
.sec-label::after { content: ""; width: 64px; height: 1px; background: currentColor; opacity: .6; }
.sec-title { font-family: var(--serif); font-weight: 700; font-size: clamp(27px, 3.6vw, 44px); line-height: 1.55; letter-spacing: .06em; color: var(--ink); margin-top: 18px; font-feature-settings: "palt"; }
.sec-lead { max-width: 640px; margin-top: 22px; color: var(--muted); }
.sec-head { margin-bottom: clamp(44px, 6vw, 80px); }

.ico { width: 48px; height: 48px; }

/* reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Trouble cards ---------- */
.trouble { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.trouble__item { position: relative; padding: 40px 34px 44px; background: #fff; border: 1px solid var(--gray-200); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.trouble__item::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.trouble__item:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(10, 16, 32, .35); }
.trouble__item:hover::before { transform: scaleX(1); }
.trouble__item .ico { color: var(--navy-700); margin-bottom: 26px; transition: color .4s, transform .5s var(--ease); }
.trouble__item:hover .ico { color: var(--accent-ink); transform: translateY(-3px); }
.trouble__item h3 { font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.6; letter-spacing: .05em; color: var(--ink); margin-bottom: 14px; }
.trouble__item p { font-size: 14.5px; color: var(--muted); line-height: 1.95; }

/* ---------- Reasons ---------- */
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.reason { position: relative; padding: 44px 30px 48px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); transition: background .5s; overflow: hidden; }
.reason { background: #fff; }
.reason:hover { background: #fffaf3; }
.reason__no { font-family: var(--cond); font-size: 15px; letter-spacing: .28em; color: var(--accent-ink); }
.reason .ico { margin: 30px 0 28px; color: var(--navy-700); transition: color .4s, transform .6s var(--ease); }
.reason:hover .ico { color: var(--accent-ink); transform: translateY(-4px) scale(1.06); }
.reason h3 { font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.6; letter-spacing: .06em; color: var(--ink); margin-bottom: 14px; }
.reason p { font-size: 14px; line-height: 1.95; color: var(--on-dark-muted); }
.reason::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.reason:hover::after { transform: scaleX(1); }

/* ---------- Capability numbers ---------- */
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--gray-300); }
.spec { padding: 34px 28px 34px 0; border-bottom: 1px solid var(--gray-300); }
.spec:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--gray-300); }
.spec__label { font-size: 13px; letter-spacing: .18em; color: var(--muted); }
.spec__value { font-family: var(--cond); font-weight: 500; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.15; color: var(--ink); letter-spacing: .01em; margin-top: 6px; white-space: nowrap; }
.spec__value small { display: block; font-family: var(--sans); font-size: 13px; letter-spacing: .14em; color: var(--accent-ink); margin: 4px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.chip { padding: 8px 18px; border: 1px solid var(--gray-300); font-size: 14px; letter-spacing: .1em; color: var(--ink); background: #fff; transition: border-color .3s, background .3s, color .3s; }
.chip:hover { border-color: var(--accent); background: var(--accent-dim); }

/* ---------- Flow ---------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.flow::before { content: ""; position: absolute; left: 8%; right: 8%; top: 38px; height: 1px; background: var(--gray-300); }
.section--dark .flow::before, .section--deep .flow::before { background: var(--line-dark); }
.flow__step { position: relative; text-align: center; padding: 0 10px; }
.flow__icon { width: 76px; height: 76px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--gray-50); border: 1px solid var(--gray-300); color: var(--navy-700); position: relative; z-index: 1; transition: background .4s, color .4s, border-color .4s, transform .5s var(--ease); }
.section--white .flow__icon { background: #fff; }
.flow__step:hover .flow__icon { background: var(--navy-800); color: #ffc98a; border-color: var(--navy-800); transform: translateY(-4px); }
.flow__icon .ico { width: 34px; height: 34px; }
.flow__no { font-family: var(--cond); font-size: 13px; letter-spacing: .26em; color: var(--accent-ink); }
.flow__name { margin-top: 2px; font-family: var(--serif); font-weight: 700; font-size: 16.5px; letter-spacing: .06em; color: var(--ink); line-height: 1.6; }

/* ---------- Clients ---------- */
.clients { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.clients li { padding: 26px 28px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); font-size: 15.5px; letter-spacing: .08em; color: var(--ink); background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 12px; transition: background .4s, padding .45s var(--ease); }
.clients li::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: 0; transform: scale(.3); transition: opacity .4s, transform .4s var(--ease); flex: none; }
.clients li:hover { background: #fffaf3; padding-left: 38px; }
.clients li:hover::after { opacity: 1; transform: none; }
.note { margin-top: 16px; font-size: 12.5px; letter-spacing: .1em; color: var(--on-dark-muted); }
.section--light .note, .section--white .note { color: var(--muted); }

.services { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 56px; align-items: center; }
.services__label { font-family: var(--cond); letter-spacing: .26em; font-size: 14px; color: var(--accent-ink); margin-right: 14px; text-transform: uppercase; }
.services li { padding: 8px 20px; border: 1px solid var(--gray-300); color: var(--ink); background: #fff; font-size: 14.5px; letter-spacing: .12em; transition: border-color .3s, background .3s; }
.services li:hover { border-color: var(--accent); background: var(--accent-dim); }

/* ---------- News ---------- */
.news { border-top: 1px solid var(--gray-300); }
.news li { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--gray-300); transition: padding .45s var(--ease); }
.news li:hover { padding-left: 14px; }
.news time { font-family: var(--cond); font-size: 16px; letter-spacing: .14em; color: var(--accent-ink); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: #f3f5f9; color: var(--ink); text-align: center; padding: clamp(88px, 11vw, 150px) 0; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255,255,255,.93), rgba(243,245,249,.86)); }
.cta .hero__dial { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(120vw, 1200px); transform: translate(-50%, -50%); color: var(--navy-600); opacity: .12; pointer-events: none; }
.cta h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 3.8vw, 46px); line-height: 1.7; letter-spacing: .08em; font-feature-settings: "palt"; color: var(--ink); }
.cta p.cta__lead { margin: 22px auto 0; max-width: 600px; color: var(--text); font-size: 15px; }
@media (min-width: 760px) { .cta p.cta__lead { max-width: none; white-space: nowrap; font-size: clamp(13px, 1.9vw, 16px); } }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.cta__tel { margin-top: 36px; font-family: var(--cond); letter-spacing: .2em; font-size: 15px; color: var(--muted); }
.cta__tel a { font-size: 30px; color: var(--ink); letter-spacing: .1em; margin-left: 10px; transition: color .3s; }
.cta__tel a:hover { color: var(--accent-ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--gray-50); border-top: 1px solid var(--gray-200); color: var(--muted); padding: 80px 0 32px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--gray-200); }
.footer__brand .brand__ja { color: var(--ink); font-size: 21px; }
.footer__brand address { font-style: normal; margin-top: 22px; line-height: 2; }
.footer__nav h4, .footer__contact h4 { font-family: var(--cond); font-weight: 500; letter-spacing: .28em; text-transform: uppercase; font-size: 13px; color: var(--accent-ink); margin-bottom: 18px; }
.footer__nav li + li { margin-top: 6px; }
.footer__nav a, .footer__contact a { transition: color .3s, padding .4s var(--ease); display: inline-block; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--ink); padding-left: 8px; }
.footer__bottom { padding-top: 26px; font-size: 12px; letter-spacing: .1em; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Sub page hero ---------- */
.page-hero { position: relative; overflow: hidden; color: var(--ink); padding: 150px 0 84px; isolation: isolate;
  background:
    linear-gradient(rgba(22,38,74,.045) 1px, transparent 1px) 0 0 / 100% 88px,
    linear-gradient(90deg, rgba(22,38,74,.045) 1px, transparent 1px) 0 0 / 88px 100%,
    linear-gradient(165deg, #ffffff 0%, #f6f8fb 55%, #e9eef6 100%);
}
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.page-hero__visual { position: relative; width: min(100%, 360px); justify-self: center; }
.page-hero__visual .hero__dial { position: absolute; left: 50%; top: 50%; width: 138%; max-width: none; transform: translate(-50%, -50%); color: var(--navy-600); opacity: .38; z-index: 0; pointer-events: none; }
.page-hero__visual .shp { position: relative; z-index: 1; }
.crumbs { font-size: 12.5px; letter-spacing: .12em; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.page-hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 5vw, 62px); letter-spacing: .1em; line-height: 1.4; margin-top: 22px; font-feature-settings: "palt"; }
.page-hero__en { font-family: var(--cond); font-size: clamp(54px, 10vw, 150px); line-height: 1; letter-spacing: .06em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(22,38,74,.12); position: absolute; left: var(--gutter); bottom: 4px; z-index: -1; white-space: nowrap; }
.page-hero p.page-hero__lead { margin-top: 20px; max-width: 600px; color: var(--text); font-size: 15px; }

/* ---------- Info table / timeline ---------- */
.info { border-top: 1px solid var(--gray-300); }
.info__row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--gray-300); }
.info__row dt { font-size: 14px; letter-spacing: .18em; color: var(--muted); }
.info__row dd { color: var(--ink); }
.info__row dd small { display: block; color: var(--muted); font-size: 13px; }

.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--gray-300); }
.timeline li { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 14px 0 26px; }
.timeline li::before { content: ""; position: absolute; left: -34px; top: 24px; width: 13px; height: 13px; border-radius: 50%; background: var(--gray-50); border: 1px solid var(--navy-700); transition: background .4s, border-color .4s, transform .4s var(--ease); }
.section--white .timeline li::before { background: #fff; }
.timeline li:hover::before { background: var(--accent); border-color: var(--accent); transform: scale(1.3); }
.timeline__year { font-family: var(--cond); font-size: 22px; letter-spacing: .1em; color: var(--ink); line-height: 1.6; }
.timeline__year small { font-size: 14px; color: var(--muted); letter-spacing: .12em; margin-left: 4px; }
.timeline__text { padding-top: 4px; color: var(--ink); }

/* two-column */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.sticky { position: sticky; top: 110px; }

/* map */
.map { position: relative; width: 100%; aspect-ratio: 16 / 10; background: var(--gray-200); border: 1px solid var(--gray-300); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); transition: filter .6s; }
.map:hover iframe { filter: grayscale(0); }

/* ---------- Heat treatment panel ---------- */
.panel { background: var(--sky); color: var(--text); border-top: 3px solid var(--accent); padding: clamp(32px, 5vw, 64px); position: relative; overflow: hidden; }
.panel h3 { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); letter-spacing: .08em; color: var(--ink); margin-bottom: 8px; }
.panel__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 30px; border-top: 1px solid var(--line-dark); }
.panel__list li { padding: 20px 0 20px 28px; border-bottom: 1px solid var(--line-dark); position: relative; color: var(--ink); letter-spacing: .1em; transition: padding .4s var(--ease); }
.panel__list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; background: var(--accent); transition: width .4s var(--ease); }
.panel__list li:hover { padding-left: 44px; }
.panel__list li:hover::before { width: 28px; }
.panel .note { color: var(--on-dark-muted); }

/* ---------- Equipment ---------- */
.machines { border-top: 1px solid var(--gray-300); }
.machine { display: grid; grid-template-columns: 150px 1fr 90px; gap: 26px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--gray-300); transition: padding .45s var(--ease); }
.machine:hover { padding-left: 12px; }
.machine__name { font-family: var(--cond); font-weight: 500; font-size: 26px; letter-spacing: .06em; color: var(--ink); line-height: 1.2; }
.machine__bar { height: 6px; background: var(--gray-200); position: relative; }
.machine__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--navy-700), var(--navy-600)); transition: width 1.4s var(--ease); transition-delay: .2s; }
.machine:hover .machine__bar i { background: var(--accent); }
.is-visible .machine__bar i, .machine.is-visible .machine__bar i { width: var(--w); }
.machine__count { text-align: right; font-family: var(--cond); font-size: 28px; color: var(--ink); line-height: 1; }
.machine__count small { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-left: 4px; }
.machines__total { display: flex; justify-content: space-between; align-items: baseline; padding: 26px 0 0; }
.machines__total span { font-size: 14px; letter-spacing: .16em; color: var(--muted); }
.machines__total b { font-family: var(--cond); font-weight: 500; font-size: 54px; color: var(--ink); line-height: 1; }
.machines__total b small { font-family: var(--sans); font-size: 15px; color: var(--accent-ink); margin-left: 6px; }

.inspect { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.inspect__item { background: #fff; border: 1px solid var(--gray-200); padding: 38px 32px 42px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); position: relative; overflow: hidden; }
.inspect__item:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(10,16,32,.35); }
.inspect__item .ico { width: 56px; height: 56px; color: var(--navy-700); margin-bottom: 26px; transition: color .4s; }
.inspect__item:hover .ico { color: var(--accent-ink); }
.inspect__item h3 { font-family: var(--serif); font-weight: 700; font-size: 21px; letter-spacing: .08em; color: var(--ink); }
.inspect__item p { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- Form ---------- */
.form { background: #fff; border: 1px solid var(--gray-200); padding: clamp(28px, 5vw, 64px); }
.field { margin-bottom: 34px; }
.field__label { display: flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .1em; color: var(--ink); font-weight: 500; margin-bottom: 10px; }
.req { font-size: 11px; letter-spacing: .1em; padding: 1px 8px; color: #fff; background: var(--accent-ink); line-height: 1.7; font-weight: 400; }
.opt { font-size: 11px; letter-spacing: .1em; padding: 1px 8px; color: var(--muted); border: 1px solid var(--gray-300); line-height: 1.7; font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; padding: 14px 16px; background: var(--gray-50); border: 1px solid transparent; border-bottom: 1px solid var(--gray-300); border-radius: 0; outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s; line-height: 1.7;
}
.field textarea { min-height: 200px; resize: vertical; }
.field input:focus, .field textarea:focus { background: #fff; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(22, 38, 74, .08); }
.field.has-error input, .field.has-error textarea { border-color: #b3261e; background: #fdf3f2; }
.field__error { display: none; margin-top: 8px; font-size: 13px; color: #b3261e; }
.field.has-error .field__error { display: block; }
.field__hint { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radios label { position: relative; }
.radios input { position: absolute; opacity: 0; inset: 0; }
.radios span { display: inline-block; padding: 10px 24px; border: 1px solid var(--gray-300); font-size: 14px; letter-spacing: .1em; transition: background .3s, color .3s, border-color .3s; background: #fff; }
.radios label:hover span { border-color: var(--navy-700); }
.radios input:checked + span { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.radios input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.agree { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; }
.agree input { margin-top: 7px; accent-color: var(--accent-ink); width: 16px; height: 16px; }
.privacy { background: var(--gray-50); padding: 22px 26px; font-size: 13px; line-height: 1.9; color: var(--muted); margin-bottom: 30px; }
.privacy b { color: var(--ink); display: block; margin-bottom: 4px; letter-spacing: .08em; }
.form__submit { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.demo-note { font-size: 12.5px; color: var(--muted); }
.thanks { display: none; text-align: center; padding: 48px 0; }
.thanks.is-shown { display: block; animation: riseIn .9s var(--ease) both; }
.thanks h3 { font-family: var(--serif); font-size: 26px; letter-spacing: .1em; color: var(--ink); margin-bottom: 14px; }
.contact-side dl { border-top: 1px solid var(--gray-300); }
.contact-side dl > div { padding: 22px 0; border-bottom: 1px solid var(--gray-300); }
.contact-side dt { font-size: 12.5px; letter-spacing: .2em; color: var(--muted); }
.contact-side dd { color: var(--ink); margin-top: 2px; }
.contact-side .tel { font-family: var(--cond); font-size: 36px; letter-spacing: .1em; line-height: 1.3; color: var(--ink); transition: color .3s; }
.contact-side .tel:hover { color: var(--accent-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .flow::before { display: none; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .spec:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .spec:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--gray-300); }
  .clients { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .gnav {
    position: fixed; inset: 0; background: #fff; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 0 var(--gutter); gap: 8px; transform: translateY(-100%); visibility: hidden; transition: transform .6s var(--ease), visibility .6s;
  }
  .menu-open .gnav { transform: none; visibility: visible; }
  .gnav a.gnav__link { font-family: var(--serif); font-size: 28px; letter-spacing: .12em; padding: 12px 0; color: var(--ink); }
  .gnav__cta { margin-top: 24px; font-size: 16px; padding: 14px 30px; }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header { z-index: 120; }
  .menu-btn { position: relative; z-index: 130; }
  .brand { position: relative; z-index: 130; }

  .hero { padding-top: 96px; }
  .hero__art { width: 150vw; left: -30vw; bottom: auto; top: 90px; opacity: .22; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__copy { margin-right: 0; }
  .hero__visual { width: min(84vw, 460px); margin: 8px auto 28px; }
  .stat__num { font-size: 26px; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__visual { width: min(62vw, 300px); margin-top: 10px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .banner .shp--circle { display: none; }
  .hero__stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 20px 0 20px 20px; border-top: 1px solid var(--gray-200); }
  .stat:nth-child(1), .stat:nth-child(2) { border-top: 0; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }

  .trouble { grid-template-columns: 1fr; }
  .split, .split--even { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .inspect { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .info__row { grid-template-columns: 1fr; gap: 4px; }
  .machine { grid-template-columns: 100px 1fr 64px; gap: 16px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .reasons { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .clients { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .specs { grid-template-columns: 1fr; }
  .spec:nth-child(2n) { padding-left: 0; border-left: 0; }
  .news li { grid-template-columns: 1fr; gap: 2px; }
  .timeline li { grid-template-columns: 1fr; gap: 0; }
  .panel__list { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: space-between; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
  .brand__en { display: none; }
  .page-hero { padding: 132px 0 64px; }
  .cta__tel a { display: block; margin: 6px 0 0; }
  .hero__copy { padding: 28px 22px; }
  .btn { font-size: 16.5px; padding: 19px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; }
  .draw { stroke-dashoffset: 0; }
  .fade-in, .mask > span { opacity: 1; transform: none; }
  .slide.is-active img { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- tuning ---------- */
.hero .eyebrow { letter-spacing: .2em; font-size: 13px; gap: 12px; }
.hero .eyebrow::before { width: 30px; }
.hero__actions .btn { padding: 20px 30px; }
.hero__copy { background: rgba(255, 255, 255, .5); }
@media (min-width: 861px) { .hero__copy { padding: 40px 44px; } .hero__visual { width: min(100%, 74vh); } }
.hero__art { opacity: .95; }
.cta .hero__dial path[opacity] { display: none; }
@media (max-width: 600px) { .slide__cap { padding: 0 10%; bottom: 17%; } .slide__ja { font-size: 15px; } }

/* ================= v3: navy header/footer, new shapes, equipment cards ================= */
.site-header { background: rgba(10, 16, 32, .88); color: #fff; }
.site-header.is-scrolled { background: rgba(10, 16, 32, .97); border-bottom-color: rgba(255,255,255,.12); }
.brand__en { color: #9aa6bd; }
.gnav a.gnav__link { color: #d3dae7; }
.gnav a.gnav__link:hover, .gnav a.gnav__link[aria-current="page"] { color: #fff; }
.gnav__cta { color: #ffc98a; border-color: var(--accent-hi); }
.gnav__cta:hover { color: var(--navy-900); }
.menu-btn { color: #fff; }
.site-footer { background: var(--navy-900); border-top: 0; color: #aab3c5; }
.footer__grid { border-bottom-color: rgba(255,255,255,.14); }
.footer__brand .brand__ja { color: #fff; }
.footer__brand .brand__mark { color: var(--accent-hi); }
.footer__nav h4, .footer__contact h4 { color: #ffc98a; }
.footer__nav a:hover, .footer__contact a:hover { color: #fff; }
@media (max-width: 860px) {
  .gnav { background: var(--navy-950); }
  .gnav a.gnav__link { color: #fff; }
  .menu-open .site-header { background: transparent; }
}

/* hero: wide strip between header and headline card */
.hero { padding-top: 76px; }
.hero__band { position: relative; z-index: 2; margin: 22px auto 26px; }
.hero__band .shp__in { aspect-ratio: auto; height: clamp(104px, 16vh, 160px); clip-path: polygon(2.5% 0, 100% 0, 97.5% 100%, 0 100%); }
.hero__band .shp__in img { object-position: 50% 42%; }
.hero__band::after { content: ""; position: absolute; left: var(--gutter); top: 0; width: 64px; height: 3px; background: var(--accent); }
@media (min-width: 861px) { .hero__visual { width: min(100%, 58vh); } .hero__grid { padding-bottom: 28px; } }

/* more shapes */
.shp--round .shp__in { aspect-ratio: 4 / 3; border-radius: 18px; }
.shp--wide .shp__in { aspect-ratio: 16 / 7; clip-path: polygon(3.5% 0, 100% 0, 96.5% 100%, 0 100%); }
.shp--wide { width: 100%; }

/* quality: one big image + two supporting images in a tidy grid */
.trio { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vw, 40px); margin-top: clamp(36px, 5vw, 60px); }
.trio .shp:first-child { grid-column: 1 / -1; }
.trio .shp:first-child .shp__in { aspect-ratio: 21 / 9; }
.trio .shp--para .shp__in { aspect-ratio: 16 / 9; }

/* page hero with a wide photo behind the title */
.page-hero--photo { padding: 170px 0 110px; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 38%, rgba(255,255,255,.45) 72%, rgba(255,255,255,.2) 100%); }
.page-hero--photo .page-hero__grid { grid-template-columns: 1fr; }
.page-hero--photo .page-hero__en { -webkit-text-stroke-color: rgba(22,38,74,.16); }

/* gallery: rounded rectangles; 3 or 4 columns */
.gallery--4 { grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 44px) clamp(18px, 2.4vw, 32px); }
.gal .shp--round { width: 100%; max-width: none; }
.gal .shp__fx { filter: drop-shadow(10px 10px 0 var(--shadow-shape)); }

/* equipment cards */
.mcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 40px); }
.mcard { background: #fff; border: 1px solid var(--gray-200); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.mcard:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(10,16,32,.35); }
.mcard__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(160deg, var(--navy-800), var(--navy-600)); }
.mcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mcard:hover .mcard__img img { transform: scale(1.05); }
.mcard__img--none { display: grid; place-items: center; color: #fff; font-family: var(--cond); font-size: 64px; letter-spacing: .08em; }
.mcard__img--none small { display: block; font-family: var(--sans); font-size: 12.5px; letter-spacing: .2em; color: #b9c3d8; text-align: center; margin-top: 4px; }
.mcard__body { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 20px 24px 22px; border-top: 3px solid var(--accent); }
.mcard__name { font-family: var(--cond); font-weight: 500; font-size: 32px; line-height: 1.1; letter-spacing: .06em; color: var(--ink); }
.mcard__sub { margin-top: 6px; font-size: 12.5px; letter-spacing: .08em; color: var(--muted); }
.mcard__count { font-family: var(--cond); font-weight: 500; font-size: 46px; line-height: 1; color: var(--accent-ink); white-space: nowrap; }
.mcard__count small { font-family: var(--sans); font-size: 15px; margin-left: 4px; color: var(--ink); }
.mtotal { display: flex; justify-content: space-between; align-items: baseline; margin-top: 36px; padding: 24px 28px; background: var(--navy-800); color: #fff; }
.mtotal span { letter-spacing: .16em; font-size: 14px; color: #c6cfe0; }
.mtotal b { font-family: var(--cond); font-weight: 500; font-size: 52px; line-height: 1; }
.mtotal b small { font-family: var(--sans); font-size: 15px; margin-left: 6px; color: #ffc98a; }

@media (max-width: 1080px) { .gallery--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .mcards { grid-template-columns: repeat(2, 1fr); }
  .hero__band { margin: 14px auto 8px; }
  .trio .shp:first-child .shp__in { aspect-ratio: 16 / 9; }
  .page-hero--photo { padding: 130px 0 80px; }
}
@media (max-width: 600px) {
  .mcards { grid-template-columns: 1fr; }
  .gallery--4 { grid-template-columns: 1fr 1fr; }
  .trio { grid-template-columns: 1fr; }
  .mcard__name { font-size: 28px; }
  .shp--wide .shp__in { aspect-ratio: 16 / 9; }
}
.hero__band { width: 100%; }
.mcard__img { display: grid; place-items: center; color: #fff; font-family: var(--cond); font-size: 64px; letter-spacing: .08em; }
.mcard__img > img { position: absolute; inset: 0; }
.mcard__img > span small { display: block; font-family: var(--sans); font-size: 12.5px; letter-spacing: .2em; color: #b9c3d8; text-align: center; margin-top: 4px; }
.hero .hero__band .shp__in { aspect-ratio: auto; }

/* v4: part shape guide, inspection cards */
.shape-guide { margin-top: clamp(44px, 6vw, 72px); padding: clamp(24px, 3.4vw, 40px); background: #fff; border: 1px solid var(--gray-200); border-top: 3px solid var(--accent); }
.shape-guide__head b { display: block; font-family: var(--serif); font-size: 19px; letter-spacing: .08em; color: var(--ink); }
.shape-guide__head span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.shape-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); margin-top: 26px; }
.shape-card { text-align: center; }
.shape-card__art { background: var(--gray-50); padding: 18px 10px; color: var(--navy-700); transition: color .4s, background .4s; }
.shape-card:hover .shape-card__art { color: var(--accent-ink); background: #fffaf3; }
.shape-card svg { width: 100%; height: 86px; }
.shape-card figcaption { margin-top: 10px; font-size: 13.5px; letter-spacing: .08em; color: var(--ink); }
.icards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.icard .mcard__img { aspect-ratio: 4 / 3; }
.icard__name { font-family: var(--serif); font-weight: 700; font-size: 19px; letter-spacing: .08em; }
.icard .mcard__body { align-items: flex-start; padding: 18px 20px 22px; }
.icard .mcard__sub { line-height: 1.8; font-size: 13px; }
@media (max-width: 1080px) { .icards { grid-template-columns: repeat(2, 1fr); } .shape-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .icards { grid-template-columns: 1fr; } }

/* v5: taller exterior band */
.hero .hero__band .shp__in { height: clamp(156px, 24vh, 240px); }
.hero__band .shp__in img { object-position: 50% 38%; }
@media (max-width: 860px) { .hero .hero__band .shp__in { height: clamp(130px, 22vh, 200px); } }

/* v6: machine photo cards */
.mcard__img { aspect-ratio: 4 / 3; }
.mcard__img--photo { background: #fff; border-bottom: 1px solid var(--gray-100); }
.mcard__img--photo img { object-fit: contain; }

/* v7: logo (circle) and equipment total */
.brand__mark { width: 46px; height: 46px; border-radius: 50%; background: #fff; object-fit: cover; flex: none; box-shadow: 0 0 0 2px rgba(255,255,255,.18); transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: scale(1.08); }
.brand__mark--lg { width: 104px; height: 104px; box-shadow: 0 0 0 3px rgba(255,255,255,.14); }
.brand--footer { gap: 20px; }
.footer__brand .brand__ja { font-size: 20px; }
.footer__brand .brand__en { color: #9aa6bd; }
.brand__ja { white-space: nowrap; }
@media (max-width: 420px) { .brand__ja { font-size: 16px; letter-spacing: .06em; } .brand__mark { width: 40px; height: 40px; } .brand { gap: 10px; } }
.mtotal span { font-family: var(--sans); font-weight: 500; font-size: 32px; letter-spacing: .06em; color: #fff; }
.mtotal b { font-weight: 700; font-size: 64px; }
.mtotal b small { font-weight: 700; font-size: 22px; }
@media (max-width: 600px) { .mtotal span { font-size: 22px; } .mtotal b { font-size: 48px; } }

/* v8: equipment total row = same size as machine names, count emphasised */
.mtotal span { font-family: var(--cond); font-weight: 500; font-size: 32px; letter-spacing: .06em; color: #fff; line-height: 1.1; }
.mtotal b { font-weight: 700; font-size: 64px; letter-spacing: .02em; }
.mtotal b small { font-weight: 700; font-size: 22px; }
@media (max-width: 600px) { .mtotal span { font-size: 24px; } .mtotal b { font-size: 52px; } }

/* v9: header logo with company text, ISO card */
.brand__mark--md { width: 56px; height: 56px; }
.site-header.is-scrolled .brand__mark--md { width: 50px; height: 50px; }
.brand__mark--md { transition: width .4s var(--ease), height .4s var(--ease), transform .6s var(--ease); }
@media (max-width: 420px) { .brand__mark--md { width: 46px; height: 46px; } }
.iso { margin-top: 34px; max-width: 400px; background: #fff; border: 1px solid var(--gray-200); border-top: 3px solid var(--accent); padding: 24px 26px 8px; box-shadow: 0 24px 48px -34px rgba(10,16,32,.35); }
.iso__head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-200); }
.iso__badge { font-family: var(--cond); font-weight: 600; font-size: 18px; letter-spacing: .14em; color: #fff; background: var(--navy-800); padding: 4px 12px; line-height: 1.5; }
.iso__title { font-size: 14px; letter-spacing: .08em; color: var(--ink); font-weight: 500; }
.iso__list > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
.iso__list > div:last-child { border-bottom: 0; }
.iso__list dt { font-size: 13px; letter-spacing: .14em; color: var(--muted); }
.iso__list dd { color: var(--ink); font-size: 14.5px; }
.iso__empty { color: var(--gray-300) !important; }
.iso__badge { white-space: nowrap; font-size: 16px; letter-spacing: .1em; }
.iso__title { font-size: 13px; letter-spacing: .04em; }

/* v10: contact type radios — always 5 across */
.radios { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.radios span { display: block; width: 100%; padding: 12px 4px; text-align: center; white-space: nowrap; letter-spacing: .04em; }
@media (max-width: 600px) { .radios { gap: 4px; } .radios span { font-size: 12px; padding: 11px 0; letter-spacing: 0; } }

/* v11: client names stay on one line */
.clients li { white-space: nowrap; padding: 26px 22px; letter-spacing: .04em; font-size: clamp(13.5px, 1.2vw, 15.5px); }
.clients li:hover { padding-left: 30px; }
@media (max-width: 1080px) { .clients li { font-size: 15px; letter-spacing: .06em; } }
@media (max-width: 400px) { .clients li { font-size: 14px; letter-spacing: .02em; padding: 22px 16px; } }
.services li.services__label { background: none; }


/* ===== WordPress用の追加スタイル ===== */
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.form-alert{margin:0 0 24px;padding:16px 20px;border:1px solid #c0392b;background:#fdf1ef;color:#8e2a1f;font-size:14.5px;line-height:1.8}
.news a{color:inherit;text-decoration:none;background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .4s}
.news a:hover{background-size:100% 1px}
.news-more{margin-top:20px;text-align:right;font-size:14px}
.news-more a{color:var(--navy-700,#1c2b4a);text-decoration:underline;text-underline-offset:4px}
.entry{max-width:820px;margin:0 auto;line-height:2;font-size:16px}
.entry h2{font-family:var(--serif);font-size:26px;margin:2.2em 0 .8em;letter-spacing:.06em}
.entry h3{font-size:20px;margin:2em 0 .6em}
.entry p{margin:0 0 1.4em}
.entry ul,.entry ol{margin:0 0 1.4em 1.4em}
.entry img{max-width:100%;height:auto}
.entry a{text-decoration:underline;text-underline-offset:4px}
.entry__date{display:block;color:var(--muted,#667);font-size:14px;margin-bottom:8px;letter-spacing:.08em}
.pager{display:flex;gap:10px;justify-content:center;margin-top:48px}
.pager a,.pager span{min-width:42px;padding:8px 12px;border:1px solid #c9d0dc;text-align:center;text-decoration:none}
.pager .current{background:var(--navy-900,#0a1020);color:#fff;border-color:var(--navy-900,#0a1020)}
.news--full li{padding:20px 0}
