/* =====================================================
   Ochiai Manufacturing — base styles
   ===================================================== */
:root {
  --c-bg:        #ffffff;
  --c-soft:      #f6f5f1;
  --c-soft-2:    #efece5;
  --c-line:      #e7e3da;
  --c-line-2:    #d9d4c8;
  --c-ink:       #14181d;
  --c-ink-2:     #2a2f36;
  --c-mute:      #6b7280;
  --c-mute-2:    #9aa0a7;
  --c-accent:    #e87526;
  --c-accent-2:  #d65f10;
  --c-accent-50: #fdf1e8;
  --c-dark:      #0f1419;
  --c-dark-2:    #1a2027;
  --c-dark-3:    #242b34;

  --ff-jp: "Noto Sans JP", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --ff-en: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ff-num: "Inter", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1280px;
  --pad: clamp(20px, 4vw, 56px);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(15, 20, 25, 0.04), 0 4px 14px rgba(15, 20, 25, 0.05);
  --shadow-md: 0 2px 6px rgba(15, 20, 25, 0.06), 0 18px 40px rgba(15, 20, 25, 0.08);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-jp);
  font-feature-settings: "palt";
  font-weight: 400;
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.75;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.35; letter-spacing: 0.04em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dt, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

/* ---------- helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.container--narrow { max-width: 920px; }

.section {
  padding: clamp(72px, 9vw, 128px) 0;
}
.section--light { background: var(--c-bg); }
.section--soft  { background: var(--c-soft); }
.section--dark  { background: var(--c-dark); color: #d8dce2; }

.eyebrow {
  font-family: var(--ff-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--c-mute);
  text-transform: uppercase;
  display: inline-block;
}
.eyebrow--accent { color: var(--c-accent); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.section-head--center { align-items: center; text-align: center; }
.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: 0.08em;
  font-weight: 700;
}
.section-title--light { color: #fff; }
.section-lead {
  color: var(--c-mute);
  font-size: clamp(14px, 1.1vw, 15px);
  line-height: 2;
  max-width: 720px;
}
.section-lead--light { color: #b3b9c2; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  font-family: var(--ff-jp);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.12em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn--lg { padding: 18px 34px; font-size: 15px; }
.btn--primary {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(232, 117, 38, 0.6);
}
.btn--primary:hover { background: var(--c-accent-2); transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(232, 117, 38, 0.7); }
.btn--ghost {
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.btn--outline {
  background: #fff;
  color: var(--c-accent);
  border-color: var(--c-accent);
}
.btn--outline:hover { background: var(--c-accent); color: #fff; }

.btn__arrow { display: inline-block; transition: transform .25s ease; font-family: var(--ff-en); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn__icon { display: inline-flex; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--c-ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  align-self: flex-start;
  white-space: nowrap;
  transition: color .2s ease;
}
.link-arrow:hover { color: var(--c-accent); }
.link-arrow span { transition: transform .2s ease; }
.link-arrow:hover span { transform: translateX(3px); }

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: stretch;
  gap: clamp(20px, 2vw, 36px);
  padding-left: clamp(16px, 2vw, 28px);
  height: 80px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand__mark { display: inline-flex; }
.brand__mark svg { width: 40px; height: 40px; border-radius: 6px; box-shadow: 0 4px 12px -4px rgba(20,24,29,0.25); }
.brand__wordmark {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  gap: 4px;
}
.brand__logo {
  font-family: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 800;
  font-size: 25px;
  letter-spacing: 0.12em;
  color: var(--c-ink);
  line-height: 1.05;
  position: relative;
  white-space: nowrap;
}
.brand__tagline {
  font-family: "Shippori Mincho B1", "Times New Roman", "Georgia", serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-ink-2);
  white-space: nowrap;
}
.brand__logo-dot {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--c-accent);
  margin: 0 1px 0 -2px;
  vertical-align: top;
  transform: translateY(2px);
}
.brand__logo em { font-style: normal; color: var(--c-accent); font-weight: 900; }
.brand__logo--light { color: #fff; }
.brand__kicker {
  font-family: var(--ff-en);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--c-mute);
  text-transform: uppercase;
}
.brand__kicker em { font-style: normal; color: var(--c-accent); margin: 0 4px; }

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 38px);
}
.primary-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--c-ink);
  letter-spacing: 0.1em;
  position: relative;
  padding: 10px 0;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .2s ease;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--c-accent);
  transition: width .25s ease, left .25s ease;
}
.primary-nav a:hover { color: var(--c-accent); }
.primary-nav a:hover::after { width: 100%; left: 0; }

.header-tel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 8px;
}
.header-tel__icon { color: var(--c-ink); display: inline-flex; }
.header-tel__body { display: flex; flex-direction: column; line-height: 1.2; }
.header-tel__num {
  font-family: var(--ff-num);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--c-ink);
}
.header-tel__sub {
  font-size: 11px;
  color: var(--c-mute);
  letter-spacing: 0.06em;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--c-accent);
  color: #fff;
  padding: 0 clamp(20px, 2vw, 32px);
  transition: background .25s ease;
}
.header-cta:hover { background: var(--c-accent-2); }
.header-cta__icon { display: inline-flex; }
.header-cta__body { display: flex; flex-direction: column; line-height: 1.25; }
.header-cta__title { font-weight: 700; font-size: 15px; letter-spacing: 0.12em; }
.header-cta__sub { font-size: 11px; letter-spacing: 0.08em; opacity: 0.9; }

/* --- Mobile nav (hamburger + drawer): shown at <=720px only --- */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  padding: 0;
  background: none;
  border: 0;
  border-left: 1px solid var(--c-line);
  color: var(--c-ink);
  cursor: pointer;
}
.nav-toggle__bars { display: block; position: relative; width: 22px; height: 16px; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s ease, opacity .18s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 7px; }
.nav-toggle__bars span:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--c-line);
  box-shadow: 0 18px 30px -18px rgba(20, 24, 29, 0.35);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line);
}
.mobile-nav a[aria-current="page"] { color: var(--c-accent); font-weight: 700; }
.mobile-nav__tel {
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
  background: var(--c-soft);
  border-bottom: 0;
}
.mobile-nav__tel svg { flex: 0 0 auto; color: var(--c-accent); }
.mobile-nav__tel-body { display: flex; flex-direction: column; line-height: 1.3; }
.mobile-nav__tel-body strong {
  font-family: var(--ff-num);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.04em;
}
.mobile-nav__tel-body small { font-size: 12px; color: var(--c-mute); letter-spacing: 0.04em; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: clamp(560px, 72vh, 760px);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  background: #0a0a0c;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 18% 50%, rgba(10,12,16,0.85), rgba(10,12,16,0.2) 70%, transparent 100%),
    linear-gradient(180deg, rgba(10,12,16,0.55) 0%, rgba(10,12,16,0.2) 50%, rgba(10,12,16,0.55) 100%);
}

.hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 110px) var(--pad) clamp(80px, 9vw, 130px);
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.hero__title {
  font-family: "Shippori Mincho B1", "Zen Old Mincho", serif;
  font-weight: 800;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 28px rgba(0,0,0,0.4);
  text-wrap: nowrap;
}
.hero__title .accent { color: var(--c-accent); }
.hero__lead {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 2;
  letter-spacing: 0.08em;
  color: #e7e9ec;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.hero__chip {
  position: absolute;
  right: var(--pad);
  bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.7);
}
.hero__chip-num { font-weight: 600; }
.hero__chip-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  position: relative;
}
.hero__chip-line::before {
  content: "";
  position: absolute;
  top: 0; left: -2px;
  width: 5px; height: 5px;
  background: var(--c-accent);
  border-radius: 50%;
  animation: scroll-dot 2.4s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%   { top: 0;    opacity: 1; }
  80%  { top: 100%; opacity: 0; }
  100% { top: 0;    opacity: 0; }
}

/* =====================================================
   STRENGTH
   ===================================================== */
.strength {
  position: relative;
  background:
    linear-gradient(rgba(15,19,24,0.58), rgba(15,19,24,0.64)),
    url(images/site/strength-bg.jpg) center/cover no-repeat;
}
.strength .section-head { margin-bottom: 52px; }
.strength .section-title { color: #fff; }
.strength .section-lead { color: #b6bcc4; }
.strength-rows {
  border-top: 1px solid rgba(255,255,255,0.14);
}
.strength-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.strength-row__photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0c1015;
}
.strength-row__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.strength-row__text {
  padding: 48px clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(16,21,27,0.66);
}
.strength-row:nth-child(even) .strength-row__photo { order: 2; }
.strength-row__num {
  font-family: var(--ff-en);
  font-weight: 800;
  font-size: 60px;
  line-height: 1;
  color: rgba(255,255,255,0.16);
  letter-spacing: 0.02em;
}
.strength-row__title {
  font-size: clamp(22px, 2vw, 26px);
  letter-spacing: 0.07em;
  margin: 14px 0 16px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
}
.strength-row__title::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--c-accent);
  flex: 0 0 auto;
}
.strength-row__text p {
  font-size: 15px;
  color: #aab0b9;
  line-height: 2;
  max-width: 460px;
}

/* =====================================================
   TECHNOLOGY
   ===================================================== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 162px));
  justify-content: center;
  gap: 16px;
}
.tech-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 28px 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  min-height: 156px;
}
.tech-card:hover {
  transform: none;
}
.tech-card__icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
}
.tech-card__icon svg { width: 100%; height: 100%; }
.tech-card__label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-ink);
}

.tech-card--cta {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: 8px auto 0;
  align-items: stretch;
  text-align: left;
  padding: 28px;
  gap: 14px;
  background: #fff;
}
.tech-card--cta:hover { transform: none; border-color: var(--c-line); box-shadow: none; }

/* dark variant (matches EQUIPMENT) */
.section--dark .tech-card {
  background: var(--c-dark-2);
  border-color: rgba(255,255,255,0.08);
}
.section--dark .tech-card__label { color: #d8dce2; }
.section--dark .tech-card__icon svg { stroke: #c8cdd5; }
.section--dark .tech-card:hover {
  border-color: rgba(255,255,255,0.08);
  box-shadow: none;
}
.section--dark .tech-card--cta {
  background: var(--c-dark-2);
  border-color: rgba(255,255,255,0.08);
}
.section--dark .tech-card--cta:hover { border-color: rgba(255,255,255,0.08); }
.section--dark .tech-card__cta-title { color: #fff; }
.section--dark .tech-card__cta-text { color: #b3b9c2; }
.tech-card__cta-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.08em;
}
.tech-card__cta-text {
  font-size: 13px;
  color: var(--c-mute);
  line-height: 1.95;
  flex: 1;
}

/* =====================================================
   EQUIPMENT (dark)
   ===================================================== */
.tech-equip { overflow: hidden; position: relative; }
.tech-equip > .container,
.tech-equip > .equipment__rail-wrap,
.tech-equip > .equipment__dots { position: relative; z-index: 1; }

/* dynamic blurred projection of the active equipment photo */
.te-bg { position: absolute; inset: 0; z-index: 0; }
.te-bg__layer {
  position: absolute;
  inset: -8%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(7px) saturate(1.12) brightness(0.94);
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease;
  will-change: opacity;
}
.te-bg__layer.is-active { opacity: 1; }
.te-bg__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(15,20,25,0.60), rgba(15,20,25,0.72));
}
.te-subhead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 28px);
  margin: clamp(56px, 7vw, 92px) 0 40px;
}
.te-subhead__title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.14em;
  white-space: nowrap;
  margin: 0;
}
.te-subhead__rule {
  height: 1px;
  width: clamp(40px, 12vw, 160px);
  background: rgba(255,255,255,0.18);
}
.equipment {
  position: relative;
  overflow: hidden;
  padding-right: 0;
}
.equipment::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 0% 30%, rgba(232,117,38,0.06), transparent 70%),
    linear-gradient(180deg, #0f1419 0%, #0a0d11 100%);
  z-index: 0;
}
.equipment > * { position: relative; z-index: 1; }
.equipment__head {
  max-width: 320px;
  padding: 0 var(--pad);
  margin-left: max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad)));
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 36px;
}
.equipment__head .section-title { font-size: clamp(28px, 3.2vw, 38px); }
.equipment__rail-wrap {
  position: relative;
}
.equipment__rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 0 var(--pad) 8px;
  padding-left: max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad)));
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.equipment__rail::-webkit-scrollbar { display: none; }
.eq-card {
  flex: 0 0 280px;
  background: #1a2027;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-md);
  overflow: hidden;
  scroll-snap-align: start;
  transition: border-color .25s ease, transform .25s ease;
}
.eq-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.16); }
.eq-card__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0f1419;
}
.eq-card__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.eq-card:hover .eq-card__photo img { transform: scale(1.05); }
.eq-card__body { padding: 18px 20px 20px; }
.eq-card__name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.eq-card__model {
  font-family: var(--ff-en);
  font-size: 12px;
  color: #8d949e;
  letter-spacing: 0.08em;
}

.equipment__nav {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}
.rail-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.rail-btn:hover { background: var(--c-accent); border-color: var(--c-accent); }

.equipment__dots {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 18px var(--pad) 0;
  padding-right: max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad)));
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: width .25s ease, background .25s ease;
}
.dot--active { width: 24px; border-radius: 999px; background: #fff; }

/* =====================================================
   Q / F / W (3-up)
   ===================================================== */
.qfw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.qfw-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px 32px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.qfw-card:hover { border-color: var(--c-line-2); box-shadow: var(--shadow-sm); }
.qfw-card__head { text-align: center; display: flex; flex-direction: column; gap: 8px; }
.qfw-card__title {
  font-size: 26px;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.qfw-card__photo {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-sm);
}
.qfw-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.qfw-card__photo--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  aspect-ratio: 16 / 9;
  background: var(--c-soft);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.qfw-card__photo--grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}
.qfw-card__text { color: var(--c-mute); font-size: 14px; line-height: 1.95; }
.qfw-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 0;
  border-top: 1px dashed var(--c-line);
  border-bottom: 1px dashed var(--c-line);
}
.qfw-card__list li {
  position: relative;
  padding-left: 26px;
  font-size: 13.5px;
  color: var(--c-ink-2);
  line-height: 1.7;
}
.qfw-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 16px; height: 8px;
  border-left: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  transform: rotate(-45deg);
}

/* =====================================================
   FLOW (4-step horizontal)
   ===================================================== */
.flow-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.flow-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 30px 26px 32px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.flow-node::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: var(--c-accent);
  border-radius: var(--r-md) var(--r-md) 0 0;
  opacity: 0.85;
}
.flow-node:hover {
  border-color: var(--c-line-2);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.flow-node:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -20px; top: 50%;
  width: 11px; height: 11px;
  border-top: 2px solid var(--c-line-2);
  border-right: 2px solid var(--c-line-2);
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}
.flow-node__no {
  font-family: var(--ff-en);
  font-weight: 800;
  font-size: 42px;
  line-height: 1;
  color: var(--c-accent);
  letter-spacing: 0.02em;
}
.flow-node__title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--c-ink);
}
.flow-node__text {
  font-size: 13px;
  color: var(--c-mute);
  line-height: 1.9;
}
@media (max-width: 900px) {
  .flow-line { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .flow-node:not(:last-child)::after { display: none; }
  .flow-node:nth-child(odd):not(:last-child)::after {
    display: block;
    right: -16px;
  }
}
@media (max-width: 560px) {
  .flow-line { grid-template-columns: 1fr; }
  .flow-node:not(:last-child)::after {
    display: block;
    right: 50%;
    top: auto;
    bottom: -16px;
    transform: translateX(50%) rotate(135deg);
  }
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.flow-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  position: relative;
}
.flow-steps li + li::before {
  content: "";
  position: absolute;
  left: 21px;
  top: -14px;
  width: 2px;
  height: 12px;
  background: var(--c-line-2);
}
.flow-steps__no {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-accent-50);
  color: var(--c-accent);
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}
.flow-steps h4 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.flow-steps p {
  font-size: 13px;
  color: var(--c-mute);
  line-height: 1.85;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.works-grid figure {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--c-soft);
}
.works-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.works-grid figure:hover img { transform: scale(1.05); }

/* =====================================================
   WORKS — infinite marquee ribbons
   ===================================================== */
.works-ribbons {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.works-more {
  margin-top: clamp(36px, 4vw, 52px);
  display: flex;
  justify-content: center;
}
.ribbon {
  position: relative;
  overflow: hidden;
  padding: 16px 0;
}
.ribbon::before,
.ribbon::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(48px, 10%, 160px);
  z-index: 3;
  pointer-events: none;
}
.ribbon::before { left: 0;  background: linear-gradient(to right, var(--c-soft), rgba(246,245,241,0)); }
.ribbon::after  { right: 0; background: linear-gradient(to left,  var(--c-soft), rgba(246,245,241,0)); }
.ribbon__track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: ribbon-l 52s linear infinite;
  will-change: transform;
}
.ribbon--rev .ribbon__track { animation-name: ribbon-r; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
@keyframes ribbon-l { from { transform: translateX(0); }      to { transform: translateX(-50%); } }
@keyframes ribbon-r { from { transform: translateX(-50%); }   to { transform: translateX(0); } }

.rib-card {
  flex: 0 0 clamp(220px, 24vw, 300px);
  aspect-ratio: 4 / 3;
  margin: 0;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease, border-color .45s ease;
}
.rib-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.rib-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-line-2);
  z-index: 4;
}
.rib-card:hover img { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  .ribbon { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ribbon__track { animation: none; }
}
@media (max-width: 560px) {
  .rib-card { flex-basis: 200px; }
}

/* =====================================================
   WORKS mosaic (legacy, unused)
   ===================================================== */
.works-mosaic {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  grid-auto-flow: dense;
}
.works-cell {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-line);
  background: #fff;
  padding: 10px;
}
.works-cell--feature {
  grid-column: span 2;
  grid-row: span 2;
  padding: 18px;
}
.works-cell img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  transition: transform .5s ease;
}
.works-cell:hover img { transform: scale(1.04); }
@media (max-width: 900px) {
  .works-mosaic { grid-template-columns: repeat(3, 1fr); }
  .works-cell--feature { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 560px) {
  .works-mosaic { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .works-cell--feature { grid-column: span 2; grid-row: span 2; }
}

/* =====================================================
   PAGE HERO (sub pages)
   ===================================================== */
.page-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
  background: #0a0a0c;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 80% at 18% 50%, rgba(10,12,16,0.82), rgba(10,12,16,0.35) 70%, rgba(10,12,16,0.3) 100%),
    linear-gradient(180deg, rgba(10,12,16,0.55), rgba(10,12,16,0.7));
}
.page-hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 84px) var(--pad) clamp(56px, 7vw, 92px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}
.crumbs a { color: rgba(255,255,255,0.7); transition: color .2s ease; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { color: rgba(255,255,255,0.4); }
.page-hero__title {
  font-family: "Shippori Mincho B1", "Zen Old Mincho", serif;
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 60px);
  letter-spacing: 0.08em;
  line-height: 1.25;
}
.page-hero__lead {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 2;
  letter-spacing: 0.06em;
  color: #d4d8de;
  max-width: 640px;
}

/* =====================================================
   CONTACT CHANNELS (phone block on contact page)
   ===================================================== */
.contact-channels {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.contact-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 32px clamp(36px, 6vw, 72px);
  box-shadow: var(--shadow-sm);
}
.contact-channel__label { font-size: 13px; letter-spacing: 0.18em; color: var(--c-mute); }
.contact-channel__tel {
  font-family: var(--ff-num);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 40px);
  letter-spacing: 0.05em;
  color: var(--c-ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.contact-channel__tel svg { color: var(--c-accent); width: 28px; height: 28px; }
.contact-channel__sub { font-size: 12px; color: var(--c-mute-2); letter-spacing: 0.06em; }
.contact-form-head { margin-bottom: 8px; }

/* =====================================================
   EQUIPMENT LIST (detail page tables)
   ===================================================== */
.eq-group { margin-bottom: clamp(40px, 5vw, 60px); }
.eq-group:last-of-type { margin-bottom: 0; }
.eq-group__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--c-ink);
}
.eq-group__no {
  font-family: var(--ff-en);
  font-weight: 800;
  font-size: 22px;
  color: var(--c-accent);
  letter-spacing: 0.04em;
  line-height: 1;
}
.eq-group__title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-ink);
}
.eq-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.eq-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}
.eq-table thead th {
  text-align: left;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--c-mute);
  padding: 10px 16px;
  border-bottom: 1px solid var(--c-line-2);
  white-space: nowrap;
}
.eq-table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-ink-2);
  line-height: 1.6;
  vertical-align: top;
}
.eq-table tbody tr:hover { background: rgba(232,117,38,0.04); }
.eq-table td:first-child { font-weight: 600; color: var(--c-ink); }
.eq-table .num { text-align: center; white-space: nowrap; width: 56px; }
.eq-table thead th.num { text-align: center; }
.eq-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--c-mute);
  line-height: 1.85;
}

/* =====================================================
   CONTACT FORM
   ===================================================== */
.req {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--c-accent);
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  vertical-align: middle;
}
.contact-section .section-lead .req { vertical-align: 1px; }
.contact-form {
  margin-top: 44px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink-2);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-form input,
.contact-form textarea {
  font-family: var(--ff-jp);
  font-size: 15px;
  color: var(--c-ink);
  background: #fff;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea { resize: vertical; line-height: 1.7; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--c-mute-2); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(232,117,38,0.14);
}
.contact-form input:user-invalid,
.contact-form textarea:user-invalid {
  border-color: #d8513a;
  box-shadow: 0 0 0 3px rgba(216,81,58,0.12);
}
.form-urgency { margin-top: 24px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-chip { position: relative; cursor: pointer; }
.radio-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink-2);
  background: #fff;
  border: 1px solid var(--c-line-2);
  border-radius: 999px;
  transition: all .18s ease;
}
.radio-chip input:checked + span {
  color: #fff;
  background: var(--c-accent);
  border-color: var(--c-accent);
}
.radio-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(232,117,38,0.2); }
.form-privacy {
  margin: 24px 0 0;
  font-size: 13px;
  color: var(--c-mute);
  line-height: 1.8;
}
.form-submit { margin-top: 24px; display: flex; justify-content: center; }
.form-submit .btn { min-width: 320px; justify-content: center; }
.form-success {
  margin-top: 28px;
  padding: 24px 26px;
  background: var(--c-accent-50);
  border: 1px solid #f2cba9;
  border-radius: var(--r-md);
  text-align: center;
}
.form-success strong { display: block; font-size: 17px; color: var(--c-ink); margin-bottom: 8px; }
.form-success p { margin: 0; font-size: 14px; color: var(--c-ink-2); line-height: 1.85; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .form-submit .btn { min-width: 0; width: 100%; }
}

/* =====================================================
   COMPANY
   ===================================================== */
.company__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.company__media {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
}
.company__media img { width: 100%; height: 100%; object-fit: cover; }
.company__badge {
  position: absolute;
  right: 20px; bottom: 20px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  letter-spacing: 0.1em;
  font-family: var(--ff-en);
}
.company__badge span { font-size: 11px; opacity: 0.9; letter-spacing: 0.2em; margin-bottom: 4px; }
.company__badge strong { font-size: 32px; font-weight: 800; letter-spacing: 0.06em; }

.company__body { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.company__body .section-title { font-size: clamp(26px, 3vw, 38px); }
.company__lead { font-size: 16px; line-height: 2; letter-spacing: 0.06em; margin-top: 6px; }
.company__text { font-size: 14px; color: var(--c-mute); line-height: 2; }

.company__info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--c-line);
  margin: 12px 0 12px;
  width: 100%;
}
.company__info > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 14px;
  align-items: baseline;
}
.company__info dt { color: var(--c-mute); letter-spacing: 0.1em; font-weight: 600; }
.company__info dd { color: var(--c-ink); }

/* =====================================================
   COMPANY DETAIL PAGE (overview / history / access)
   ===================================================== */
.company-detail {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.company-detail__media {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
}
.company-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.company-detail__body { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.company-detail__body .company__info { margin-top: 10px; }
.company-detail__body .company__info > div { grid-template-columns: 120px 1fr; }

.timeline {
  position: relative;
  margin-top: 12px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--c-line-2);
}
.timeline-item {
  position: relative;
  padding-left: 40px;
  padding-bottom: clamp(28px, 3.2vw, 40px);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item__dot {
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--c-accent);
  box-shadow: 0 0 0 4px var(--c-bg);
  z-index: 1;
}
.timeline-item__year {
  font-family: var(--ff-en);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--c-accent);
  margin-bottom: 8px;
}
.timeline-item__text {
  font-size: 15px;
  color: var(--c-mute);
  line-height: 1.9;
}

.access-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.access-map {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-line);
  min-height: 380px;
  background: var(--c-soft);
}
.access-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.access-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.access-info__list {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: 1px solid var(--c-line);
}
.access-info__list > div {
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line);
}
.access-info__list dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-accent);
  margin-bottom: 6px;
}
.access-info__list dd { font-size: 15px; color: var(--c-ink); line-height: 1.8; }

@media (max-width: 900px) {
  .company-detail { grid-template-columns: 1fr; gap: 28px; }
  .access-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .timeline-item { padding-left: 32px; }
}

/* =====================================================
   FAQ
   ===================================================== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  transition: border-color .2s ease;
}
.faq-item:hover { border-color: var(--c-line-2); }
.faq-item details { padding: 0; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  gap: 18px;
  align-items: center;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__q {
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: 18px;
  color: var(--c-accent);
}
.faq-item__chev {
  font-family: var(--ff-en);
  font-size: 22px;
  font-weight: 300;
  color: var(--c-mute);
  text-align: center;
  transition: transform .25s ease;
}
.faq-item details[open] .faq-item__chev { transform: rotate(45deg); color: var(--c-accent); }
.faq-item__a {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 18px;
  align-items: start;
  padding: 0 28px 24px 28px;
  border-top: 1px dashed var(--c-line);
  padding-top: 20px;
  margin: 0 0 0 0;
}
.faq-item__a-mark {
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: 18px;
  color: var(--c-ink-2);
}
.faq-item__a p {
  font-size: 14px;
  color: var(--c-mute);
  line-height: 2;
}

/* =====================================================
   CONTACT CTA
   ===================================================== */
.contact-cta {
  position: relative;
  isolation: isolate;
  color: #fff;
  padding: clamp(80px, 10vw, 140px) var(--pad);
  text-align: center;
  overflow: hidden;
}
.contact-cta__bg { position: absolute; inset: 0; z-index: -1; }
.contact-cta__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.4) saturate(0.9);
}
.contact-cta__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,20,25,0.6), rgba(15,20,25,0.85));
}
.contact-cta__inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.contact-cta__title {
  font-size: clamp(30px, 4.5vw, 54px);
  letter-spacing: 0.08em;
  line-height: 1.4;
}
.contact-cta__text {
  font-size: 15px;
  color: #d4d8de;
  line-height: 2;
  letter-spacing: 0.06em;
}
.contact-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: 16px;
}
.contact-cta__tel { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.contact-cta__tel-label { font-size: 12px; letter-spacing: 0.2em; color: #b3b9c2; }
.contact-cta__tel-num {
  font-family: var(--ff-num);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 0.06em;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.contact-cta__tel-sub { font-size: 12px; color: #9aa0a7; letter-spacing: 0.08em; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--c-dark);
  color: #b6bcc4;
  padding: 72px 0 28px;
  font-size: 13px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.site-footer__name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.08em;
}
.site-footer__addr {
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.9;
  color: #8d949e;
}
.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.site-footer__nav h5 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  font-weight: 600;
}
.site-footer__nav ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer__nav a {
  font-size: 13px;
  color: #b6bcc4;
  transition: color .2s ease;
  position: relative;
}
.site-footer__nav a:hover { color: #fff; }
.site-footer__bottom {
  padding-top: 24px;
  text-align: center;
  font-family: var(--ff-en);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #6b7280;
}
/* <small> defaults to ~0.83em, which dropped this to 9px. */
.site-footer__bottom small { font-size: inherit; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1280px) {
  .primary-nav { gap: clamp(14px, 1.6vw, 24px); }
  .primary-nav a { font-size: 14px; letter-spacing: 0.06em; }
  .brand__kicker { display: none; }
}
@media (max-width: 1100px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; height: 72px; }
  .header-tel { display: none; }
  .strength-row { grid-template-columns: 1fr; }
  .strength-row:nth-child(even) .strength-row__photo { order: 0; }
  .tech-grid { grid-template-columns: repeat(3, minmax(120px, 162px)); }
  .tech-card--cta { grid-column: 1 / -1; }
  .qfw-grid { grid-template-columns: 1fr; }
  .company__grid { grid-template-columns: 1fr; gap: 36px; }
  .site-footer__top { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav:not([hidden]) { display: flex; }
  .site-header__inner {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    padding-left: 14px;
    height: 64px;
  }
  /* Brand must shrink or the header overflows the viewport (horizontal scroll). */
  .brand { gap: 10px; }
  .brand__mark svg { width: 32px; height: 32px; }
  .brand__logo { font-size: 19px; letter-spacing: 0.08em; }
  .brand__tagline { font-size: 9.5px; }
  /* Icon-only CTA. Label stays in the DOM for screen readers. */
  .header-cta { padding: 0 16px; }
  .header-cta__body {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .tech-grid { grid-template-columns: repeat(2, minmax(120px, 162px)); }
  .tech-card--cta { grid-column: 1 / -1; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: 40px; }
  .section-title { font-size: 26px; }
  .equipment__nav { display: none; }
  /* Tap targets: footer links were 19px tall. */
  .site-footer__nav ul { gap: 2px; }
  .site-footer__nav a { display: flex; align-items: center; min-height: 44px; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 40px; }

  /* Works ribbons: the marquee does not survive a phone viewport.
     At 375px only ~1.7 of the 18 cards are on screen, so the rest sit far
     outside it — lazily loaded images never get requested until they slide in,
     and two 3900px-wide animated layers make the scroll speed stutter.
     Stop the animation and lay the cards out as a static two-column grid. */
  .works-ribbons { gap: 10px; }
  .ribbon { overflow: visible; padding: 0; }
  .ribbon::before,
  .ribbon::after { display: none; }
  .ribbon__track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: auto;
    animation: none;
    will-change: auto;
  }
  /* Each track holds its 9 photos twice over, for the seamless loop.
     The grid has no loop, so the second half would just be duplicates. */
  .ribbon__track .rib-card:nth-child(n + 7) { display: none; }
  .rib-card { padding: 10px; }
  .rib-card:hover { transform: none; }
  .rib-card:hover img { transform: none; }
}
@media (max-width: 560px) {
  .brand__tagline { display: none; }
  .brand__logo { font-size: 18px; }
  /* .btn is nowrap by default, which overflows on long labels (recruit.html). */
  .btn { white-space: normal; text-align: center; }
  .btn--lg { padding: 16px 22px; }
}
