/* =========================================================
   東光精器株式会社 — Top Page
   Visual system: fresh azure + white, Noto Sans JP gothic
   ========================================================= */

:root {
  /* ---- color (default: 信頼感のある爽やかな青) ---- */
  --blue:        #1573e6;
  --blue-deep:   #0a4fb0;
  --blue-bright: #2e90ff;
  --blue-50:     #f1f6fd;
  --blue-100:    #dbeafb;
  --blue-200:    #b9d6f6;

  --ink:      #14233b;
  --ink-sub:  #5b6c84;
  --line:     #e4ebf4;
  --white:    #ffffff;
  --paper:    #f6f9fd;

  --maxw: 1160px;
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --shadow:    0 2px 8px rgba(20,35,59,.05);
  --shadow-lg: 0 24px 60px -24px rgba(11,79,176,.28);

  --ease: cubic-bezier(.22,.61,.36,1);

  --hero-grad: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 52%, var(--blue-bright) 100%);
}

/* color themes via [data-theme] (Tweaks) */
[data-theme="navy"] {
  --blue: #1f5fa8; --blue-deep: #123a6e; --blue-bright: #3a7fc4;
  --blue-50: #eef3f9; --blue-100: #d7e4f1; --blue-200: #b3cae3;
  --hero-grad: linear-gradient(135deg, #0d2c54 0%, #1f5fa8 55%, #3a7fc4 100%);
}
[data-theme="sky"] {
  --blue: #1aa0e6; --blue-deep: #0f6fb8; --blue-bright: #4cc3ff;
  --blue-50: #eef8fe; --blue-100: #d3edfb; --blue-200: #aaddf5;
  --hero-grad: linear-gradient(135deg, #0f6fb8 0%, #1aa0e6 50%, #4cc3ff 100%);
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.85;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.en { font-family: "Outfit", "Noto Sans JP", sans-serif; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: 32px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: 1280px; margin-inline: auto;
  height: 76px; padding-inline: 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--hero-grad);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 19px;
  box-shadow: 0 6px 16px -6px rgba(11,79,176,.6);
  letter-spacing: -.04em;
}
.brand__name { font-size: 18px; font-weight: 800; letter-spacing: .01em; line-height: 1.2; }
.brand__name small { display: block; font-size: 10px; font-weight: 500; letter-spacing: .18em; color: var(--ink-sub); }
.brand__logo { display: block; height: 30px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--blue); transition: right .3s var(--ease);
}
.nav a:hover { color: var(--blue); }
.nav a:hover::after { right: 0; }

.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  padding: 11px 22px; border-radius: 999px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(11,79,176,.7); }

.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; background: var(--blue-deep); color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media image-slot { width: 100%; height: 100%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, rgba(8,55,124,.92) 0%, rgba(13,77,168,.72) 45%, rgba(11,79,176,.30) 100%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
}
.hero__inner {
  position: relative; z-index: 2; pointer-events: none;
  max-width: var(--maxw); margin-inline: auto; padding: 132px 32px 120px;
}
/* keep only interactive controls clickable so drops pass through to the image slot */
.hero__inner a, .hero__inner button { pointer-events: auto; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .22em; font-weight: 600;
  color: var(--blue-200); margin-bottom: 28px;
}
.hero__eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--blue-200); }
.hero h1 {
  font-size: clamp(34px, 6vw, 68px); font-weight: 900; line-height: 1.18;
  letter-spacing: -.01em; margin-bottom: 26px; text-wrap: balance;
}
.hero h1 .accent { color: #bfe0ff; }
.hero__lead {
  font-size: clamp(15px, 1.6vw, 19px); font-weight: 500; line-height: 2;
  color: rgba(255,255,255,.86); max-width: 540px; margin-bottom: 40px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; pointer-events: none;
  font-size: 10px; letter-spacing: .25em; color: rgba(255,255,255,.7);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero__scroll span { width: 1px; height: 44px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: scrolldown 1.8s var(--ease) infinite; }
@keyframes scrolldown { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* hero layout variant: centered */
[data-hero="center"] .hero__inner { text-align: center; padding-top: 150px; }
[data-hero="center"] .hero__media::after { background: linear-gradient(180deg, rgba(8,55,124,.78), rgba(11,79,176,.5)); }
[data-hero="center"] .hero__eyebrow { justify-content: center; }
[data-hero="center"] .hero__lead { margin-inline: auto; }
[data-hero="center"] .hero__actions { justify-content: center; }
[data-hero="center"] .hero__grid { mask-image: none; }

/* =========================================================
   BUTTONS  (reference-style pill + circle arrow)
   ========================================================= */
.btn {
  --bg: var(--blue); --fg: #fff;
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--bg); color: var(--fg);
  font-size: 15px; font-weight: 700; letter-spacing: .02em;
  padding: 6px 8px 6px 26px; border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn .ico {
  width: 38px; height: 38px; border-radius: 999px;
  background: rgba(255,255,255,.18); display: grid; place-items: center; flex: none;
  transition: transform .25s var(--ease), background .2s;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:hover .ico { transform: translateX(3px); }
.btn--white { --bg: #fff; --fg: var(--blue-deep); }
.btn--white .ico { background: var(--blue); color: #fff; }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost .ico { background: rgba(255,255,255,.16); }
.btn--lg { font-size: 16px; padding: 7px 10px 7px 30px; }

/* text/more link */
.more {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 700; color: var(--blue);
  transition: gap .2s var(--ease);
}
.more .ico { width: 32px; height: 32px; border-radius: 999px; border: 1.5px solid currentColor; display: grid; place-items: center; transition: background .2s, color .2s; }
.more svg { width: 14px; height: 14px; }
.more:hover { gap: 16px; }
.more:hover .ico { background: var(--blue); color: #fff; border-color: var(--blue); }

/* =========================================================
   FEATURE STRIP
   ========================================================= */
.featbar { background: var(--ink); }
.featbar__inner {
  max-width: var(--maxw); margin-inline: auto; padding: 0 32px;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.featbar__item {
  display: flex; align-items: center; gap: 16px;
  padding: 26px 8px; color: #fff;
}
.featbar__item + .featbar__item { border-left: 1px solid rgba(255,255,255,.1); padding-left: 32px; }
.featbar__num { font-size: 13px; font-weight: 700; color: var(--blue-bright); }
.featbar__ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; flex: none; color: var(--blue-200); }
.featbar__ic svg { width: 22px; height: 22px; }
.featbar__t { font-size: 16px; font-weight: 700; line-height: 1.4; }
.featbar__t small { display: block; font-size: 11px; font-weight: 400; color: rgba(255,255,255,.55); letter-spacing: .08em; margin-top: 2px; }

/* =========================================================
   SECTION SCAFFOLD
   ========================================================= */
section { padding: 120px 0; position: relative; }
.section--paper { background: var(--paper); }
.section--blue50 { background: var(--blue-50); }

.sec-head { margin-bottom: 56px; }
.sec-head--center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--blue);
  text-transform: uppercase; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--blue); border-radius: 2px; }
.sec-head--center .eyebrow::before { display: none; }
.sec-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 900; line-height: 1.25;
  letter-spacing: -.01em; color: var(--ink);
}
.sec-title .big-en {
  display: block; font-size: clamp(13px, 1.4vw, 16px); font-weight: 700;
  letter-spacing: .12em; color: var(--blue-200); margin-top: 8px;
}
.sec-lead { margin-top: 18px; font-size: 15px; color: var(--ink-sub); max-width: 560px; }
.sec-head--center .sec-lead { margin-inline: auto; }

/* big faint english watermark */
.watermark {
  position: absolute; top: 56px; right: 4%; z-index: 0;
  font-size: clamp(60px, 12vw, 150px); font-weight: 800; letter-spacing: -.03em;
  color: var(--blue);  opacity: .045; pointer-events: none; line-height: 1;
}

/* =========================================================
   BUSINESS CARDS  ★ 2カラム対応に変更
   ========================================================= */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
  margin-inline: auto;
}
.biz-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  display: flex; flex-direction: column;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.biz-card__media { position: relative; aspect-ratio: 16 / 11; background: var(--blue-50); }
.biz-card__media image-slot { width: 100%; height: 100%; }
.biz-card__no { position: absolute; top: 16px; left: 16px; z-index: 2; font-family: "Outfit", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: #fff; background: rgba(20,35,59,.55); backdrop-filter: blur(4px); padding: 4px 12px; border-radius: 999px; }
.biz-card__body { padding: 30px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.biz-card__en { font-family: "Outfit", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--blue); text-transform: uppercase; margin-bottom: 8px; }
.biz-card h3 { font-size: 22px; font-weight: 800; line-height: 1.4; margin-bottom: 12px; }
.biz-card p { font-size: 14px; color: var(--ink-sub); line-height: 1.9; flex: 1; }
.biz-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { font-size: 12px; font-weight: 600; color: var(--blue-deep); background: var(--blue-50); border: 1px solid var(--blue-100); padding: 4px 12px; border-radius: 999px; }

/* =========================================================
   PRODUCTS
   ========================================================= */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 1; }
.prod-card {
  background: #fff; border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.prod-card:hover .prod-card__media image-slot { transform: scale(1.04); }
.prod-card__media { aspect-ratio: 4 / 3; background: var(--blue-50); overflow: hidden; }
.prod-card__media image-slot { width: 100%; height: 100%; transition: transform .5s var(--ease); }
.prod-card__body { padding: 22px 24px 26px; }
.prod-card__cat { font-family: "Outfit", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--blue); margin-bottom: 6px; }
.prod-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.prod-card p { font-size: 13px; color: var(--ink-sub); line-height: 1.85; }

/* =========================================================
   EQUIPMENT / STATS
   ========================================================= */
.equip { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.equip__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.equip__media image-slot { width: 100%; height: 100%; }
.equip__body .sec-head { margin-bottom: 32px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px;
  position: relative; overflow: hidden;
}
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--blue); }
.stat__label { font-size: 12px; font-weight: 700; color: var(--ink-sub); margin-bottom: 6px; }
.stat__num { font-family: "Outfit", sans-serif; font-size: 40px; font-weight: 700; line-height: 1; color: var(--blue-deep); letter-spacing: -.02em; }
.stat__num small { font-size: 18px; font-weight: 600; margin-left: 2px; }
.stat__desc { font-size: 12px; color: var(--ink-sub); margin-top: 8px; }
.ph-note { font-size: 11px; color: var(--blue); background: var(--blue-50); border: 1px dashed var(--blue-200); border-radius: 6px; padding: 1px 7px; display: inline-block; }

/* =========================================================
   REASONS
   ========================================================= */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; z-index: 1; }
.reason { text-align: left; }
.reason__num {
  font-family: "Outfit", sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .1em;
  color: var(--blue); display: flex; align-items: center; gap: 12px; margin-bottom: 22px;
}
.reason__num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.reason__media { border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; margin-bottom: 22px; background: var(--blue-50); }
.reason__media image-slot { width: 100%; height: 100%; }
.reason h3 { font-size: 21px; font-weight: 800; margin-bottom: 12px; line-height: 1.4; }
.reason p { font-size: 14px; color: var(--ink-sub); line-height: 1.9; }

/* =========================================================
   RECRUIT BANNER
   ========================================================= */
.recruit { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.recruit__media { position: absolute; inset: 0; }
.recruit__media image-slot { width: 100%; height: 100%; }
.recruit__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, rgba(20,35,59,.95) 0%, rgba(20,35,59,.88) 34%, rgba(20,35,59,.45) 56%, rgba(20,35,59,0) 72%); }
.recruit__inner { position: relative; z-index: 2; padding: 72px 64px; max-width: 620px; pointer-events: none; }
.recruit__inner a, .recruit__inner button { pointer-events: auto; }
.recruit .eyebrow { color: var(--blue-200); }
.recruit .eyebrow::before { background: var(--blue-200); }
.recruit h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; line-height: 1.35; margin-bottom: 18px; }
.recruit p { font-size: 15px; color: rgba(255,255,255,.82); line-height: 2; margin-bottom: 34px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-wrap { max-width: 880px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.faq {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: border-color .25s, box-shadow .25s;
}
.faq[open] { border-color: var(--blue-200); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 28px;
  display: flex; align-items: center; gap: 18px; font-weight: 700; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-family: "Outfit", sans-serif; font-weight: 700; color: var(--blue); font-size: 20px; flex: none; }
.faq summary .qt { flex: 1; line-height: 1.5; }
.faq summary .chev { width: 26px; height: 26px; flex: none; border-radius: 999px; background: var(--blue-50); display: grid; place-items: center; transition: transform .3s var(--ease), background .25s; color: var(--blue); }
.faq summary .chev svg { width: 14px; height: 14px; }
.faq[open] summary .chev { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq__a { padding: 0 28px 26px 64px; font-size: 14px; color: var(--ink-sub); line-height: 1.95; }

/* =========================================================
   COMPANY PROFILE
   ========================================================= */
.profile { max-width: 860px; margin-inline: auto; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; position: relative; z-index: 1; }
.profile__row { display: grid; grid-template-columns: 200px 1fr; }
.profile__row + .profile__row { border-top: 1px solid var(--line); }
.profile__k { background: var(--blue-50); color: var(--blue-deep); font-weight: 700; font-size: 14px; padding: 22px 28px; }
.profile__v { padding: 22px 28px; font-size: 14px; color: var(--ink); line-height: 1.8; }
.profile__v .tbd { color: var(--ink-sub); }

/* =========================================================
   CTA
   ========================================================= */
.cta { background: var(--hero-grad); color: #fff; text-align: center; position: relative; overflow: hidden; }
/* optional background photo (filled via image-slot). Sits behind the gradient tint. */
.cta__media { position: absolute; inset: 0; z-index: 0; }
.cta__media image-slot { width: 100%; height: 100%; }
.cta__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(10,79,176,.90) 0%, rgba(21,115,230,.78) 52%, rgba(46,144,255,.62) 100%);
}
.cta__grid {
  position: absolute; inset: 0; z-index: 1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
}
.cta__inner { position: relative; z-index: 2; pointer-events: none; }
.cta__inner a, .cta__inner button { pointer-events: auto; }
.cta h2 { font-size: clamp(26px, 3.6vw, 42px); font-weight: 900; line-height: 1.3; margin-bottom: 18px; }
.cta p { font-size: 15px; color: rgba(255,255,255,.85); line-height: 2; max-width: 560px; margin: 0 auto 40px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cta__phone { margin-top: 36px; font-size: 14px; color: rgba(255,255,255,.8); }
.cta__phone strong { font-family: "Outfit", sans-serif; font-size: 30px; font-weight: 700; letter-spacing: .02em; display: block; color: #fff; margin-top: 4px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: #0c1a2e; color: rgba(255,255,255,.62); padding: 80px 0 36px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand .brand__mark { margin-bottom: 18px; }
.footer__brand .footer__logo { display: block; height: 30px; width: auto; margin-bottom: 18px; }
.footer__brand .fname { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.footer__brand p { font-size: 13px; line-height: 1.9; }
.footer h4 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; margin-bottom: 18px; }
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a { font-size: 13px; transition: color .2s, padding-left .2s; }
.footer__links a:hover { color: #fff; padding-left: 4px; }
.footer__copy { padding-top: 28px; font-size: 12px; color: rgba(255,255,255,.4); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  /* hidden base state applies ONLY when JS confirms it can reveal them */
  html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  html.js .reveal.in { opacity: 1; transform: none; }
  html.js .reveal[data-d="1"] { transition-delay: .08s; }
  html.js .reveal[data-d="2"] { transition-delay: .16s; }
  html.js .reveal[data-d="3"] { transition-delay: .24s; }
  html.js .reveal[data-d="4"] { transition-delay: .32s; }
  /* failsafe: if transitions are frozen, show content with no transition */
  html.js .reveal.show-now { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .hamburger { display: block; }
  .brand__logo { height: 22px; }
  .biz-grid { grid-template-columns: 1fr; max-width: 480px; }  /* ★ 1カラムに */
  .prod-grid, .reasons { grid-template-columns: repeat(2, 1fr); }
  .equip { grid-template-columns: 1fr; gap: 36px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .featbar__inner { grid-template-columns: 1fr; }
  .featbar__item + .featbar__item { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); padding-left: 8px; }
  .recruit__inner { padding: 48px 32px; }
  /* on stacked layouts text spans full width — use a vertical scrim so it stays legible over the photo */
  .recruit__media::after { background: linear-gradient(180deg, rgba(20,35,59,.92) 0%, rgba(20,35,59,.78) 46%, rgba(20,35,59,.55) 100%); }
}
@media (max-width: 620px) {
  section { padding: 80px 0; }
  .container { padding-inline: 22px; }
  .hero__inner { padding: 104px 22px 90px; }
  .biz-grid, .prod-grid, .reasons, .stat-grid { grid-template-columns: 1fr; }
  .biz-grid { max-width: 100%; }
  .profile__row { grid-template-columns: 1fr; }
  .profile__k { padding-bottom: 4px; }
  .profile__v { padding-top: 8px; }
  .footer__top { grid-template-columns: 1fr; }
  .faq summary { padding: 18px 20px; font-size: 15px; }
  .faq__a { padding: 0 20px 22px 52px; }
  .sec-head { margin-bottom: 40px; }
}

/* mobile nav drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200; background: rgba(255,255,255,.98);
  backdrop-filter: blur(8px); display: none; flex-direction: column; padding: 30px 28px;
}
.mobile-nav.open { display: flex; }
.mobile-nav__close { align-self: flex-end; background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--ink); }
.mobile-nav a { font-size: 20px; font-weight: 700; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .header-cta { display: inline-flex; margin-top: 24px; align-self: flex-start; }


/* =========================================================
   東光精器株式会社 — 下層ページ共通コンポーネント
   styles.css のトークン・コンポーネントを継承して拡張
   ========================================================= */

/* active nav item on subpages */
.nav a[aria-current="page"] { color: var(--blue); }
.nav a[aria-current="page"]::after { right: 0; }
.mobile-nav a[aria-current="page"] { color: var(--blue); }

/* =========================================================
   PAGE HERO (下層ページ見出しバンド)
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--blue-deep); color: #fff;
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media image-slot { width: 100%; height: 100%; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, rgba(8,55,124,.94) 0%, rgba(13,77,168,.82) 50%, rgba(11,79,176,.55) 100%);
}
.page-hero__grid {
  position: absolute; inset: 0; z-index: 1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
}
.page-hero__inner {
  position: relative; z-index: 2; pointer-events: none;
  max-width: var(--maxw); margin-inline: auto; padding: 78px 32px 64px;
}
.page-hero__inner a { pointer-events: auto; }
.page-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .22em; font-weight: 600;
  color: var(--blue-200); margin-bottom: 18px;
}
.page-hero__eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--blue-200); }
.page-hero h1 {
  font-size: clamp(28px, 4.4vw, 50px); font-weight: 900; line-height: 1.2;
  letter-spacing: -.01em; text-wrap: balance;
}
.page-hero__lead {
  margin-top: 20px; font-size: clamp(14px, 1.5vw, 17px); font-weight: 500;
  line-height: 1.95; color: rgba(255,255,255,.86); max-width: 620px;
}

/* breadcrumb */
.crumbs {
  background: var(--blue-50); border-bottom: 1px solid var(--line);
}
.crumbs__inner {
  max-width: var(--maxw); margin-inline: auto; padding: 14px 32px;
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--ink-sub);
}
.crumbs a { color: var(--blue); font-weight: 600; transition: color .2s; }
.crumbs a:hover { color: var(--blue-deep); }
.crumbs__sep { color: var(--blue-200); }
.crumbs__cur { color: var(--ink); font-weight: 700; }

/* =========================================================
   INTRO / LEAD BLOCK
   ========================================================= */
.lead-block { max-width: 760px; margin-bottom: 64px; }
.lead-block.center { margin-inline: auto; text-align: center; }
.lead-block h2 {
  font-size: clamp(22px, 3vw, 32px); font-weight: 900; line-height: 1.5;
  letter-spacing: -.01em; margin-bottom: 18px; text-wrap: balance;
}
.lead-block p { font-size: 15px; color: var(--ink-sub); line-height: 2; }

/* =========================================================
   FEATURE BLOCK (画像＋テキスト 交互レイアウト)
   ========================================================= */
.fblock {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.fblock + .fblock { margin-top: 96px; }
.fblock--rev .fblock__media { order: 2; }
.fblock__media {
  border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg); background: var(--blue-50); position: relative;
}
.fblock__media image-slot { width: 100%; height: 100%; }
.fblock__no {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  font-family: "Outfit", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  color: #fff; background: rgba(20,35,59,.55); backdrop-filter: blur(4px);
  padding: 5px 14px; border-radius: 999px;
}
.fblock__en {
  font-family: "Outfit", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .14em;
  color: var(--blue); text-transform: uppercase; margin-bottom: 10px; display: block;
}
.fblock h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; line-height: 1.4; margin-bottom: 16px; }
.fblock > div > p { font-size: 15px; color: var(--ink-sub); line-height: 2; }
.flist { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.flist li {
  display: flex; gap: 13px; align-items: flex-start;
  font-size: 14.5px; font-weight: 500; line-height: 1.7;
}
.flist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 999px;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231573e6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
  border: 1px solid var(--blue-100);
}
.fblock__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.fblock__note { font-size: 13px; color: var(--ink-sub); font-style: italic; margin: auto 0; }

/* =========================================================
   PROCESS FLOW
   ========================================================= */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.flow__item {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 24px 26px; counter-increment: step;
}
.flow__item::before {
  content: counter(step, decimal-leading-zero);
  font-family: "Outfit", sans-serif; font-size: 30px; font-weight: 800;
  color: var(--blue-100); line-height: 1; display: block; margin-bottom: 14px;
}
.flow__item::after {
  content: ""; position: absolute; top: 50%; right: -12px; width: 24px; height: 24px;
  transform: translateY(-50%); z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9d6f6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.flow__item:last-child::after { display: none; }
.flow__item h4 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.flow__item p { font-size: 13px; color: var(--ink-sub); line-height: 1.8; }

/* =========================================================
   SPEC TABLE (設備)
   ========================================================= */
.spec-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.spec-card + .spec-card { margin-top: 28px; }
.spec-card__head {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 28px; background: var(--blue-50); border-bottom: 1px solid var(--line);
}
.spec-card__ic {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: var(--hero-grad); display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 16px -6px rgba(11,79,176,.6);
}
.spec-card__ic svg { width: 24px; height: 24px; }
.spec-card__head h3 { font-size: 20px; font-weight: 800; }
.spec-card__head .en { font-family: "Outfit", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--blue); display: block; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 16px 28px; font-size: 14px; vertical-align: top; }
.spec-table th { width: 220px; background: #fff; color: var(--ink-sub); font-weight: 700; }
.spec-table tr + tr th, .spec-table tr + tr td { border-top: 1px solid var(--line); }
.spec-table td { color: var(--ink); }
.spec-card__body { display: grid; grid-template-columns: 300px 1fr; align-items: stretch; }
.spec-card__media { position: relative; background: var(--blue-50); border-right: 1px solid var(--line); overflow: hidden; min-height: 220px; }
.spec-card__media image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.spec-card__body .spec-table { align-self: start; }
@media (max-width: 720px) {
  .spec-card__body { grid-template-columns: 1fr; }
  .spec-card__media { border-right: 0; border-bottom: 1px solid var(--line); min-height: 200px; aspect-ratio: 16 / 9; }
}

/* =========================================================
   PRODUCT CATEGORY (製品 詳細)
   ========================================================= */
.prodcat { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.prodcat + .prodcat { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--line); }
.prodcat--rev .prodcat__media { order: 2; }
.prodcat__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--blue-50); box-shadow: var(--shadow); }
.prodcat__media image-slot { width: 100%; height: 100%; }
.prodcat__cat { font-family: "Outfit", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--blue); margin-bottom: 8px; }
.prodcat h3 { font-size: clamp(20px, 2.4vw, 27px); font-weight: 800; line-height: 1.4; margin-bottom: 14px; }
.prodcat p { font-size: 14.5px; color: var(--ink-sub); line-height: 1.95; }
.spec-list { list-style: none; margin-top: 22px; border-top: 1px solid var(--line); }
.spec-list li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.spec-list .k { font-weight: 700; color: var(--blue-deep); }
.spec-list .v { color: var(--ink-sub); }

/* product list cards (一覧 / カード形式) */
.plist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pcard:hover .pcard__media image-slot { transform: scale(1.04); }
.pcard__media { aspect-ratio: 4 / 3; background: var(--blue-50); overflow: hidden; }
.pcard__media image-slot { width: 100%; height: 100%; transition: transform .5s var(--ease); }
/* split media when a product has 2 photos */
.pcard__media.is-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.pcard__media.is-duo image-slot { width: 100%; height: 100%; }

/* product image slider (single card) */
.pslider { position: relative; }
.pslider__track { position: relative; width: 100%; height: 100%; }
.pslider__track > * {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease);
}
.pslider__track > .is-active { opacity: 1; visibility: visible; z-index: 1; }
.pslide image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.pslide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pslider--contain { background: #fff; min-height: 320px; }
.pslider--contain .pslide img { object-fit: contain; }
.pslide__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 10px 14px 12px; font-size: 12.5px; font-weight: 600; color: #fff;
  line-height: 1.4; text-align: center;
  background: linear-gradient(to top, rgba(10,35,59,.82), rgba(10,35,59,0));
  pointer-events: none;
}
.pslider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; cursor: pointer; z-index: 3;
  background: rgba(255,255,255,.4); border-radius: 50%;
  display: grid; place-items: center; padding: 0;
  box-shadow: 0 2px 10px rgba(10,79,176,.18); transition: background .2s, transform .2s;
}
.pslider__arrow:hover { background: rgba(255,255,255,.6); }
.pslider:hover .pslider__arrow { opacity: 1; }
.pslider__arrow--prev { left: 12px; }
.pslider__arrow--next { right: 12px; }
.pslider__arrow::before {
  content: ""; width: 0; height: 0; border-style: solid;
}
.pslider__arrow--prev::before { border-width: 7px 9px 7px 0; border-color: transparent var(--blue) transparent transparent; margin-right: 2px; }
.pslider__arrow--next::before { border-width: 7px 0 7px 9px; border-color: transparent transparent transparent var(--blue); margin-left: 2px; }
.pslider__dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 4; display: flex; justify-content: center; gap: 7px; pointer-events: none; }
.pslider__dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px rgba(10,79,176,.25); transition: background .2s, transform .2s; }
.pslider__dots span.is-active { background: rgba(21,115,230,.6); transform: scale(1.25); }
.pcard:hover .pslider__track image-slot { transform: none; }
.pcard__body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.pcard__body h3 { font-size: 19px; font-weight: 800; line-height: 1.45; margin-bottom: 10px; }
.pcard__body p { font-size: 13.5px; color: var(--ink-sub); line-height: 1.85; }
@media (max-width: 980px) { .plist { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .plist { grid-template-columns: 1fr; } }

/* industry chips */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.industry {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.industry__ic { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 14px; background: var(--blue-50); display: grid; place-items: center; color: var(--blue); }
.industry__ic svg { width: 26px; height: 26px; }
.industry h4 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.industry p { font-size: 12.5px; color: var(--ink-sub); line-height: 1.7; }

/* =========================================================
   RECRUIT PAGE
   ========================================================= */
.msg-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.msg-grid__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; background: var(--blue-50); box-shadow: var(--shadow-lg); }
.msg-grid__media image-slot { width: 100%; height: 100%; }
.msg-grid h3 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 900; line-height: 1.5; margin-bottom: 20px; text-wrap: balance; }
.msg-grid p { font-size: 15px; color: var(--ink-sub); line-height: 2.05; }
.msg-grid p + p { margin-top: 16px; }

.env-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.env {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.env:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.env__ic { width: 48px; height: 48px; border-radius: 13px; background: var(--hero-grad); color: #fff; display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 6px 16px -6px rgba(11,79,176,.6); }
.env__ic svg { width: 24px; height: 24px; }
.env h4 { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.env p { font-size: 13.5px; color: var(--ink-sub); line-height: 1.85; }

/* jobs table */
.jobs { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.jobs__row { display: grid; grid-template-columns: 220px 1fr; }
.jobs__row + .jobs__row { border-top: 1px solid var(--line); }
.jobs__k { background: var(--blue-50); color: var(--blue-deep); font-weight: 700; font-size: 14px; padding: 22px 28px; }
.jobs__v { padding: 22px 28px; font-size: 14px; color: var(--ink); line-height: 1.9; }

/* =========================================================
   HISTORY TIMELINE
   ========================================================= */
.timeline { max-width: 760px; margin-inline: auto; position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--blue-100); }
.tl { position: relative; padding-bottom: 34px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: -32px; top: 6px; width: 14px; height: 14px; border-radius: 999px; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--blue-100); }
.tl__year { font-family: "Outfit", sans-serif; font-size: 15px; font-weight: 700; color: var(--blue-deep); letter-spacing: .04em; }
.tl__body { font-size: 14.5px; color: var(--ink-sub); line-height: 1.85; margin-top: 4px; }

/* =========================================================
   ACCESS
   ========================================================= */
.access { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: stretch; }
.access__map {
  border-radius: var(--r-lg); overflow: hidden; min-height: 340px; position: relative;
  background: var(--blue-50); border: 1px solid var(--line);
  display: grid; place-items: center;
}
.access__map iframe { width: 100%; height: 100%; border: 0; position: absolute; inset: 0; }
.access__placeholder { text-align: center; color: var(--blue); padding: 24px; }
.access__placeholder svg { width: 42px; height: 42px; margin: 0 auto 12px; display: block; }
.access__placeholder .ph-note { margin-top: 8px; }
.access__info { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px 34px; }
.access__info h3 { font-size: 19px; font-weight: 800; margin-bottom: 20px; }
.access__row { padding: 14px 0; border-top: 1px solid var(--line); }
.access__row:first-of-type { border-top: 0; padding-top: 0; }
.access__row .k { font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: .04em; margin-bottom: 4px; }
.access__row .v { font-size: 14.5px; color: var(--ink); line-height: 1.8; }

/* =========================================================
   CONTACT FORM
   ========================================================= */
.form-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 44px 44px 48px; box-shadow: var(--shadow);
}
.field { margin-bottom: 26px; }
.field:last-of-type { margin-bottom: 0; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 9px; }
.req { font-size: 11px; font-weight: 700; color: #c0392b; background: #fff0f0; border-radius: 5px; padding: 2px 8px; margin-left: 8px; letter-spacing: .04em; }
.opt { font-size: 11px; font-weight: 600; color: var(--ink-sub); background: var(--blue-50); border-radius: 5px; padding: 2px 8px; margin-left: 8px; }
.input, .textarea, .select {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--blue-50); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 14px 16px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.input::placeholder, .textarea::placeholder { color: #9aa8bd; }
.input:focus, .textarea:focus, .select:focus { outline: 0; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--blue-50); }
.textarea { resize: vertical; min-height: 150px; line-height: 1.8; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6c84' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 46px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-chip { position: relative; }
.radio-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-chip span {
  display: block; font-size: 14px; font-weight: 600; color: var(--ink-sub);
  background: var(--blue-50); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 10px 22px; cursor: pointer; transition: .2s;
}
.radio-chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.radio-chip input:focus-visible + span { box-shadow: 0 0 0 4px var(--blue-100); }
.file-drop {
  border: 1.5px dashed var(--blue-200); border-radius: var(--r-sm); background: var(--blue-50);
  padding: 26px; text-align: center; color: var(--ink-sub); font-size: 13.5px; cursor: pointer; transition: .2s;
}
.file-drop:hover { border-color: var(--blue); background: #fff; }
.file-drop svg { width: 30px; height: 30px; color: var(--blue); margin: 0 auto 10px; display: block; }
.file-drop input { display: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--ink-sub); line-height: 1.7; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.consent a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.form .btn { width: 100%; justify-content: center; margin-top: 30px; cursor: pointer; border: 0; font-size: 16px; }
.form .btn { padding-left: 30px; }

/* contact side panel */
.contact-aside { display: flex; flex-direction: column; gap: 20px; }
.aside-card { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--r-lg); padding: 30px 28px; }
.aside-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.aside-card p { font-size: 13px; color: var(--ink-sub); line-height: 1.85; margin-bottom: 16px; }
.aside-card .tel { font-family: "Outfit", sans-serif; font-size: 30px; font-weight: 700; color: var(--blue-deep); letter-spacing: .02em; line-height: 1.1; }
.aside-card .hours { font-size: 12.5px; color: var(--ink-sub); margin-top: 8px; }
.aside-card--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.aside-card--dark h3 { color: #fff; }
.aside-card--dark p { color: rgba(255,255,255,.78); }

/* =========================================================
   SUB CTA BAND (下層ページ末尾)
   ========================================================= */
.subcta { background: var(--hero-grad); color: #fff; text-align: center; position: relative; overflow: hidden; padding: 96px 0; }
.subcta__grid {
  position: absolute; inset: 0; z-index: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
}
.subcta__inner { position: relative; z-index: 1; }
.subcta h2 { font-size: clamp(24px, 3.2vw, 38px); font-weight: 900; line-height: 1.3; margin-bottom: 16px; }
.subcta p { font-size: 15px; color: rgba(255,255,255,.86); line-height: 1.95; max-width: 540px; margin: 0 auto 36px; }
.subcta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* =========================================================
   FAQ category nav (faq page)
   ========================================================= */
.faq-cat { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.faq-cat a {
  font-size: 13.5px; font-weight: 700; color: var(--blue-deep);
  background: #fff; border: 1.5px solid var(--blue-100); border-radius: 999px; padding: 9px 22px;
  transition: .2s;
}
.faq-cat a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.faq-group { margin-bottom: 52px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group__title {
  font-size: 19px; font-weight: 800; margin-bottom: 20px; padding-left: 16px;
  border-left: 4px solid var(--blue); line-height: 1.3;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .fblock, .prodcat, .msg-grid, .access, .form-layout { grid-template-columns: 1fr; gap: 36px; }
  .fblock--rev .fblock__media, .prodcat--rev .prodcat__media { order: 0; }
  .fblock + .fblock { margin-top: 64px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow__item:nth-child(2)::after { display: none; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .env-grid { grid-template-columns: 1fr; }
  .msg-grid__media { aspect-ratio: 16 / 10; }
  .form { padding: 34px 28px 38px; }
}
@media (max-width: 620px) {
  .page-hero__inner { padding: 54px 22px 46px; }
  .flow { grid-template-columns: 1fr; }
  .flow__item::after { display: none !important; }
  .industries { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .jobs__row { grid-template-columns: 1fr; }
  .jobs__k { padding-bottom: 6px; }
  .jobs__v { padding-top: 8px; }
  .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table th { padding-bottom: 4px; }
  .spec-table td { padding-top: 4px; }
  .spec-table tr + tr td { border-top: 0; }
}


/* ===== BAKED IMAGES ===== */
.hero__media img,.page-hero__media img,.cta__media img,.spec-card__media img,
.biz-card__media img,.fblock__media img,.prod-card__media img,.pcard__media img,
.equip__media img,.reason__media img,.recruit__media img,.msg-grid__media img{
  width:100%;height:100%;object-fit:cover;display:block;
}
.hero__media img,.page-hero__media img,.cta__media img{position:absolute;inset:0;}
.spec-card__media > img,.pslider__track > img{position:absolute;inset:0;}
.pslide img{position:absolute;inset:0;}
.prod-card__media img,.pcard__media img{transition:transform .5s var(--ease);}
.prod-card:hover .prod-card__media img,.pcard:hover .pcard__media img{transform:scale(1.04);}


<!-- ============================================================
  追加CSS（テーマのCSSに追記）
  CF7 が <div class="wpcf7"> でフォームを包むため、グリッドの直接の子が
  <form> ではなく <div> になります。その分の補正です。
============================================================

.form-layout > .wpcf7 { min-width: 0; }
.form-layout > .wpcf7 > .form { height: 100%; }
.wpcf7 .wpcf7-spinner { display: block; margin: 12px auto 0; }

============================================================ -->


<!-- ============================================================
  プライバシーポリシー
============================================================ -->
.privacy-policy { line-height: 1.9; }
.privacy-policy h2 { margin: 3em 0 1em; font-size: 1.15rem; padding-left: .7em; border-left: 3px solid currentColor; }
.privacy-policy ul, .privacy-policy ol { padding-left: 1.4em; margin: 1em 0; }
.privacy-policy li { margin-bottom: .5em; }
.privacy-policy .pp-table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95em; }
.privacy-policy .pp-table th,
.privacy-policy .pp-table td { border: 1px solid rgba(128,128,128,.3); padding: .9em 1em; text-align: left; vertical-align: top; }
.privacy-policy .pp-table th { width: 26%; white-space: nowrap; font-weight: 600; }
.privacy-policy .pp-date { margin-top: 3em; font-size: .9em; opacity: .75; }
@media (max-width: 600px) {
  .privacy-policy .pp-table th, .privacy-policy .pp-table td { display: block; width: auto; }
  .privacy-policy .pp-table th { border-bottom: none; }
}