@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  /* Light theme: 研磨後の仕上げ面（白ベース）を主役に */
  --forge: #FAFAF7;     /* 背景主色。クリーム寄りの白 */
  --steel: #F2EFE8;     /* カード・セクション区切り */
  --graphite: #E6E1D6;  /* 強調ブロック */
  --polished: #15181B;  /* 本文テキスト（深いニアブラック） */
  --dust: #6B6760;      /* サブテキスト、メタ情報 */
  --machine: #D4CFC3;   /* 罫線、区切り */
  --brass: #8A6B3F;     /* CTA・強調ライン（真鍮、白背景向けにトーン調整） */
  --brass-2: #A37C44;   /* ホバー */
  --spark: #C4411A;     /* 火花アクセント */
  --ink: #15181B;       /* 暗色ブロック背景（採用バナー等）。BGパレットで微調整 */

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Menlo", "Consolas", monospace;

  --wrap: 1240px;
  --gap: 32px;
  --sec-pad: 160px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

html:lang(ja) {
  line-break: strict;
  word-break: normal;
  overflow-wrap: anywhere;
  font-kerning: auto;
  font-feature-settings: normal;
  text-autospace: normal;
}

body {
  margin: 0;
  background: var(--forge);
  color: var(--polished);
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p, li, dd {
  line-break: strict;
  word-break: normal;
  overflow-wrap: anywhere;
}

:where(article, .prose, .content) p { max-width: 42em; }

:lang(ja) em,
:lang(ja) strong,
:lang(ja) a,
:lang(ja) .latin,
:lang(ja) .mono {
  word-break: normal;
  overflow-wrap: anywhere;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-jp);
  font-weight: 900;
  margin: 0;
  letter-spacing: -0.01em;
}

:lang(ja) h1,
:lang(ja) h2,
:lang(ja) h3 {
  word-break: auto-phrase;
}

h1 { font-size: clamp(2.5rem, 6vw, 3rem); line-height: 1.20; }
h2 { font-size: 2rem; line-height: 1.30; font-weight: 700; }
h3 { font-size: 1.375rem; line-height: 1.40; font-weight: 700; }

p { margin: 0; }

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease-out;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol { margin: 0; padding: 0; list-style: none; }

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

::selection { background: var(--brass); color: var(--forge); }

.mono {
  font-family: var(--font-mono);
  font-weight: 700;
  font-feature-settings: "tnum";
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 48px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 72px;
  z-index: 100;
  background: rgba(250, 250, 247, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease-out, background .3s ease-out;
}
.site-header.is-scrolled {
  background: rgba(250, 250, 247, 0.92);
  border-bottom-color: var(--brass);
}

.header-inner {
  max-width: var(--wrap);
  height: 100%;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}
.brand-jp {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.brand-en {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--brass);
  text-transform: uppercase;
}

.site-nav { display: flex; align-items: center; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--polished);
  padding: 8px 0;
  transition: color .2s ease-out;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--brass);
  transition: right .25s ease-out;
}
.nav-links a:hover::after,
.nav-links a.is-current::after { right: 0; }
.nav-links a:hover { color: var(--brass-2); }

.nav-links .nav-cta {
  padding: 10px 20px;
  border: 1px solid var(--brass);
  color: var(--brass);
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover {
  background: var(--brass);
  color: var(--forge);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--machine);
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--polished);
  transition: transform .25s ease-out, opacity .25s ease-out;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.section-num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 32px;
}
.section-num .line {
  width: 48px;
  height: 1px;
  background: var(--brass);
}

.sec-en {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--dust);
  letter-spacing: 0.04em;
  margin: 0 0 16px;
}

.display {
  font-size: clamp(2.75rem, 6.5vw, 4.5rem);
  line-height: 1.10;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.sec-head {
  max-width: 860px;
  margin: 0 0 80px;
}
.sec-lead {
  margin-top: 32px;
  font-size: 1.25rem;
  line-height: 1.75;
  color: var(--polished);
  max-width: 42em;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 0 96px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--forge);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.7) brightness(1.05) contrast(0.95);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(250,250,247,.65) 0%, rgba(250,250,247,.88) 100%),
    radial-gradient(circle at 20% 20%, rgba(138,107,63,.10), transparent 50%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  width: 100%;
  margin: 0 auto;
  padding: 0 48px;
}

.hero-title {
  font-size: clamp(3.25rem, 10vw, 6.5rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 40px;
}

.hero-lead {
  font-size: 1.25rem;
  line-height: 1.75;
  color: var(--polished);
  max-width: 38em;
  margin: 0 0 64px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: 48px;
  padding: 32px 0;
  border-top: 1px solid var(--machine);
  border-bottom: 1px solid var(--machine);
  margin-bottom: 48px;
}
.hero-meta > div { display: flex; flex-direction: column; gap: 8px; }
.hero-meta .meta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--dust);
  text-transform: uppercase;
}
.hero-meta .meta-num {
  font-family: var(--font-mono);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--brass);
  letter-spacing: -0.03em;
}
.hero-meta sup {
  font-size: 0.55em;
  vertical-align: super;
  margin-left: 2px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 20px 48px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 0;
  border: 1px solid var(--polished);
  color: var(--polished);
  background: transparent;
  cursor: pointer;
  transition: background .25s ease-out, color .25s ease-out, border-color .25s ease-out;
  text-transform: uppercase;
  font-family: var(--font-mono);
  line-height: 1;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--forge);
}
.btn-secondary {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--forge);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--brass-2);
  border-color: var(--brass-2);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--forge);
}
.btn-lg { padding: 28px 64px; font-size: 16px; }

.hero-scroll {
  position: absolute;
  z-index: 1;
  right: 48px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--dust);
}
.hero-scroll .bar {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--brass), transparent);
  animation: scroll-bar 1.8s ease-in-out infinite;
}
@keyframes scroll-bar {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.section {
  padding: var(--sec-pad) 0;
  border-top: 1px solid var(--machine);
}

.section-products { background: var(--forge); }
.section-factory { background: var(--steel); }
.section-company { background: var(--forge); }
.section-recruit { background: var(--steel); }
.section-contact { background: var(--forge); }
.section-apply { background: var(--graphite); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--machine);
  border: 1px solid var(--machine);
}
.product-card {
  position: relative;
  background: var(--steel);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 320px;
  transition: background .25s ease-out;
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease-out;
}
.product-card:hover { background: var(--graphite); }
.product-card:hover::before { transform: scaleX(1); }

.product-card:first-child {
  grid-column: span 2;
  grid-template-columns: 1fr 1fr;
  display: grid;
  padding: 0;
}
.product-card:first-child::before {
  width: 50%;
}

.product-fig {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.product-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.1);
  transition: transform .5s ease-out, filter .5s ease-out;
}
.product-card:hover .product-fig img {
  transform: scale(1.03);
  filter: grayscale(0) contrast(1.1);
}

.product-body {
  padding: 48px;
}
.product-body.full { padding: 0; }

.product-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 700;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.product-title {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

/* --- Product blocks: 001 subcategories + 002-004 final + B/A --- */
.product-stack {
  display: flex;
  flex-direction: column;
  gap: 96px;
}
.product-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.product-block-head {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--machine);
}
.product-block-head .product-num {
  margin-bottom: 0;
}
.product-block-head .product-title {
  margin-bottom: 16px;
  font-size: 1.75rem;
  line-height: 1.3;
}
.product-block-head .product-desc {
  max-width: 42em;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--dust);
  margin: 0;
}

.sub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--machine);
  border: 1px solid var(--machine);
}
.sub-card {
  margin: 0;
  background: var(--steel);
  display: flex;
  flex-direction: column;
  transition: background .25s ease-out;
}
.sub-card:hover { background: var(--graphite); }
.sub-card .sub-image {
  overflow: hidden;
  aspect-ratio: 4/3;
}
.sub-card .sub-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.05);
  transition: transform .5s ease-out, filter .5s ease-out;
}
.sub-card:hover .sub-image img {
  transform: scale(1.03);
  filter: grayscale(0) contrast(1.05);
}
.sub-card figcaption {
  padding: 20px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--polished);
  border-top: 1px solid var(--machine);
}

.ba-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 32px;
  align-items: start;
}
.ba-final {
  margin: 0;
  background: var(--steel);
  border: 1px solid var(--machine);
}
.ba-final .sub-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.ba-final .sub-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.05);
}
.ba-final figcaption {
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--brass);
  text-transform: uppercase;
  border-top: 1px solid var(--machine);
}

.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--machine);
  border: 1px solid var(--machine);
}
.ba-pair figure {
  position: relative;
  margin: 0;
  background: var(--steel);
}
.ba-pair .sub-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.ba-pair .sub-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.05);
}
.ba-pair figcaption {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #FAFAF7;
  background: rgba(21,24,27,0.88);
}
.ba-pair figcaption.is-after {
  background: var(--brass);
  color: #FAFAF7;
}

.samples-cta {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--machine);
  text-align: right;
}
.samples-cta a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--polished);
  border: 1px solid var(--machine);
  text-decoration: none;
  transition: background .25s, color .25s, border-color .25s;
}
.samples-cta a:hover {
  background: var(--brass);
  border-color: var(--brass);
  color: #FAFAF7;
}

.factory-fig {
  margin: 0;
  position: relative;
  overflow: hidden;
}
.factory-fig img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.1);
}
.factory-fig figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 24px 32px;
  background: rgba(250,250,247,.92);
  backdrop-filter: blur(8px);
  border-left: 2px solid var(--brass);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cap-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--brass);
  text-transform: uppercase;
}
.cap-text { font-size: 14px; color: var(--polished); }

/* ---- 主要設備グリッド（工場紹介） ---- */
.page-factory .factory-fig + .sub-block { padding-top: 80px; }
.equipment-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--machine);
  border: 1px solid var(--machine);
}
.equipment-card {
  background: var(--steel);
  display: flex;
  transition: background .25s ease-out;
}
.equipment-card:hover { background: var(--graphite); }
.equipment-card figure {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.equipment-card .sub-image {
  overflow: hidden;
  aspect-ratio: 4/3;
}
.equipment-card .sub-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.05);
  transition: transform .5s ease-out, filter .5s ease-out;
}
.equipment-card:hover .sub-image img {
  transform: scale(1.03);
  filter: grayscale(0) contrast(1.05);
}
.equipment-card figcaption {
  padding: 20px 24px;
  border-top: 1px solid var(--machine);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.equipment-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--polished);
  line-height: 1.5;
}
.equipment-spec {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--dust);
}
@media (max-width: 960px) {
  .equipment-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .equipment-grid { grid-template-columns: 1fr; }
}

.sub-block {
  padding: 80px 0;
  border-top: 1px solid var(--machine);
}
.sub-block:first-of-type { border-top: none; padding-top: 0; }

.sub-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.sub-title {
  font-size: 2rem;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--machine);
}
.sub-body {
  max-width: 42em;
  line-height: 1.9;
}

.mvv { display: flex; flex-direction: column; gap: 0; }
.mvv-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 32px 0;
  border-top: 1px solid var(--machine);
}
.mvv-row:last-child { border-bottom: 1px solid var(--machine); }
.mvv-key {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--brass);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.mvv-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--dust);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.mvv-text {
  font-size: 1.25rem;
  line-height: 1.7;
  font-weight: 700;
  max-width: 38em;
}

.value-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.value-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  align-items: start;
}
.val-num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--brass);
  line-height: 1;
  padding-top: 4px;
  border-top: 2px solid var(--brass);
  width: 60px;
}
.val-head {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--polished);
}
.val-body {
  font-size: 15px;
  color: var(--dust);
  line-height: 1.8;
  max-width: 42em;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 96px;
}
.strength-card {
  position: relative;
  background: var(--steel);
  padding: 48px 32px;
  border: 1px solid var(--machine);
  transition: border-color .25s ease-out, transform .3s ease-out;
}
.strength-card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease-out;
}
.strength-card:hover { border-color: var(--brass); }
.strength-card:hover::before { transform: scaleX(1); }
.strength-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.strength-head {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--machine);
}
.strength-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.strength-body li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--dust);
  padding-left: 20px;
  position: relative;
}
.strength-body li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 10px; height: 1px;
  background: var(--brass);
}

.stat-block {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--machine);
  border-bottom: 1px solid var(--machine);
}
.stat-cell {
  padding: 56px 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 1px solid var(--machine);
}
.stat-cell:first-child { border-left: none; }
.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--brass);
  letter-spacing: -0.03em;
}
.stat-num sup { font-size: 0.5em; vertical-align: super; }
.stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dust);
}

.org-fig {
  margin: 0;
  padding: 48px;
  background: #FFFFFF;
  border: 1px solid var(--machine);
}
.org-fig img {
  margin: 0 auto;
  filter: contrast(1.05);
}

/* ===== 組織体制：プロフィールカード型 ===== */
/* .org-fig は上部の組織図画像を表示。.org-members はその下のメンバーカード。 */
.org-fig + .org-members { margin-top: 72px; }
.org-tier + .org-tier { margin-top: 72px; }
.org-tier-head {
  margin: 0 0 28px;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--polished);
}
.org-tier-head::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  margin-top: 10px;
  background: var(--brass);
}
/* Web: 3列固定 / Mobile: 2列 */
.org-grid {
  display: grid;
  gap: 40px 36px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.member-card { background: transparent; }

.member-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(120% 80% at 30% 25%, rgba(255,255,255,0.55), transparent 60%),
    linear-gradient(160deg, #DCDCD6 0%, #B8B3A7 60%, #8E8A80 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.member-photo-svg {
  width: 56%;
  height: auto;
  color: rgba(21, 24, 27, 0.22);
}

.member-info { padding: 18px 2px 0; }
.member-role {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--dust);
  margin: 0 0 10px;
  line-height: 1.5;
}
.member-name-jp {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--polished);
  margin: 0 0 6px;
  line-height: 1.3;
}
.member-name-en {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--dust);
  margin: 0;
}

@media (max-width: 720px) {
  .org-fig + .org-members { margin-top: 56px; }
  .org-tier + .org-tier { margin-top: 56px; }
  .org-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .member-name-jp { font-size: 1.25rem; }
}

.profile-list {
  margin: 0;
  border-top: 1px solid var(--machine);
}
.profile-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--machine);
}
.profile-row dt {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  padding-top: 4px;
}
.profile-row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--polished);
}
.profile-row dd a { border-bottom: 1px solid transparent; transition: border-color .2s ease-out; }
.profile-row dd a:hover { border-bottom-color: var(--brass); color: var(--brass-2); }

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 140px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--machine);
}
.tl-item {
  display: grid;
  grid-template-columns: 140px 40px 1fr;
  align-items: start;
  padding: 24px 0;
  position: relative;
  border-bottom: 1px solid var(--machine);
}
.tl-item:first-child { border-top: 1px solid var(--machine); }
.tl-item::after {
  content: "";
  position: absolute;
  left: 136px;
  top: 32px;
  width: 9px;
  height: 9px;
  background: var(--forge);
  border: 2px solid var(--brass);
}
.tl-year {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--brass);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.tl-body {
  grid-column: 3;
  padding-left: 24px;
}
.tl-body p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--polished);
  max-width: 42em;
}

.recruit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.job-card {
  background: var(--forge);
  border: 1px solid var(--machine);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .25s ease-out;
}
.job-card:hover { border-color: var(--brass); }
.job-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--brass);
  text-transform: uppercase;
}
.job-title { font-size: 1.75rem; }
.job-catch {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.7;
  color: var(--polished);
}
.job-body { color: var(--dust); line-height: 1.8; }

.job-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--machine);
}
.job-section-head {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 20px;
}
.job-desc {
  font-size: 15px;
  line-height: 1.9;
  color: var(--polished);
  max-width: 50em;
}
.job-desc + .job-desc { margin-top: 16px; }
.job-note {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--polished);
}
.job-req { border-top: 1px solid var(--machine); }
.job-req .profile-row {
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 18px 0;
}
.job-fine {
  display: inline-block;
  font-size: 13px;
  line-height: 1.7;
  color: var(--dust);
}
.job-pref {
  margin: 6px 0 0;
  padding-left: 1.2em;
  list-style: none;
}
.job-pref li {
  position: relative;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 4px;
}
.job-pref li::before {
  content: "・";
  position: absolute;
  left: -1.2em;
  width: 1.2em;
  text-align: center;
}
.job-pref li:last-child { margin-bottom: 0; }

@media (max-width: 720px) {
  .job-req .profile-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--machine);
}
.contact-card {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--steel);
  border-right: 1px solid var(--machine);
}
.contact-card:last-child { border-right: none; }
.contact-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--brass);
  text-transform: uppercase;
}
.contact-num {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--polished);
  letter-spacing: -0.02em;
  line-height: 1.1;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
  transition: color .2s ease-out, border-color .2s ease-out;
}
.contact-num:hover { color: var(--brass); border-bottom-color: var(--brass); }
.contact-note { font-size: 13px; color: var(--dust); }
.contact-desc { font-size: 15px; line-height: 1.8; color: var(--polished); max-width: 36em; }
.contact-card .btn { align-self: flex-start; margin-top: 8px; }

.apply-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  margin-top: 56px;
  padding: 48px 0;
  border-top: 1px solid var(--machine);
}
.apply-cta-lead {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--dust);
}

.site-footer {
  background: var(--forge);
  border-top: 1px solid var(--brass);
  padding: 96px 0 32px;
  color: var(--dust);
}
.foot-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--machine);
}
.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.foot-en {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--brass);
  text-transform: uppercase;
}
.foot-jp {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--polished);
}
.foot-motto {
  font-size: 13px;
  color: var(--dust);
}
.foot-addr {
  font-style: normal;
  font-size: 13px;
  line-height: 1.9;
  color: var(--dust);
}
.foot-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
}
.foot-nav a:hover { color: var(--brass); }
.foot-bottom {
  padding-top: 32px;
  font-size: 12px;
  color: var(--dust);
  display: flex;
  justify-content: space-between;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease-out, transform .7s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:lang(ja) label,
:lang(ja) input,
:lang(ja) textarea,
:lang(ja) select,
:lang(ja) button {
  line-break: strict;
  word-break: normal;
}
:lang(ja) input,
:lang(ja) textarea,
:lang(ja) select {
  line-height: 1.5;
}
:lang(ja) .form-help,
:lang(ja) .form-error {
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.subpage {
  padding: 160px 0 96px;
  min-height: 100vh;
  background: var(--forge);
}
.subpage .sub-hero {
  padding: 40px 0 80px;
  border-bottom: 1px solid var(--machine);
  margin-bottom: 64px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 720px;
}
.form-row { display: flex; flex-direction: column; gap: 10px; }
.form-row label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  display: flex;
  gap: 8px;
  align-items: center;
}
.form-row .req {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--spark);
  letter-spacing: 0.1em;
}
.form-row input,
.form-row textarea,
.form-row select {
  background: var(--steel);
  border: 1px solid var(--machine);
  color: var(--polished);
  font-family: var(--font-jp);
  font-size: 15px;
  padding: 16px 20px;
  border-radius: 0;
  transition: border-color .2s ease-out;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--brass);
}
.form-row textarea { min-height: 180px; resize: vertical; }
.form-help { font-size: 12px; color: var(--dust); }

.form-actions {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--machine);
}
.form-actions .btn { cursor: pointer; border-radius: 0; }

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 48px;
}
.back-home::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--brass);
}
.back-home:hover { color: var(--brass-2); }

@media (max-width: 1024px) {
  :root { --sec-pad: 120px; }
  .wrap { padding: 0 32px; }
  .header-inner { padding: 0 32px; }
  .hero-inner { padding: 0 32px; }
  .hero-scroll { right: 24px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card:first-child { grid-template-columns: 1fr; grid-column: auto; }
  .product-card:first-child::before { width: 100%; }
  .strength-grid { grid-template-columns: 1fr; }
  .stat-block { grid-template-columns: 1fr; }
  .stat-cell { border-left: none; border-top: 1px solid var(--machine); }
  .stat-cell:first-child { border-top: none; }
  .recruit-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { border-right: none; border-bottom: 1px solid var(--machine); }
  .contact-card:last-child { border-bottom: none; }
  .foot-top { grid-template-columns: 1fr; gap: 40px; }
  .mvv-row { grid-template-columns: 1fr; gap: 16px; }
  .profile-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .profile-row dt { font-size: 11px; }
  .timeline::before { left: 80px; }
  .tl-item { grid-template-columns: 80px 20px 1fr; }
  .tl-item::after { left: 76px; }
  .tl-year { font-size: 15px; }
  .tl-body { padding-left: 12px; }
}

@media (max-width: 768px) {
  :root { --sec-pad: 96px; }
  .wrap { padding: 0 20px; }
  .header-inner { padding: 0 20px; }
  .hero-inner { padding: 0 20px; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--forge);
    border-top: 1px solid var(--machine);
    border-bottom: 1px solid var(--brass);
    padding: 16px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease-out;
  }
  .nav-links.is-open { max-height: 520px; }
  .nav-links li {
    border-top: 1px solid var(--machine);
  }
  .nav-links li:first-child { border-top: none; }
  .nav-links a {
    display: block;
    padding: 18px 24px;
    font-size: 14px;
  }
  .nav-links a::after { display: none; }
  .nav-links .nav-cta {
    margin: 12px 24px;
    padding: 14px;
    text-align: center;
    display: block;
  }

  .hero { padding: 120px 0 80px; min-height: auto; }
  .hero-title { font-size: 52px; line-height: 1.08; margin-bottom: 32px; }
  .hero-lead { font-size: 16px; margin-bottom: 40px; }
  .hero-meta {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 0;
    margin-bottom: 32px;
  }
  .hero-meta .meta-num { font-size: 2.25rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; min-width: 0; padding: 18px 32px; }
  .hero-scroll { display: none; }

  .display { font-size: 2.25rem; }
  .sec-head { margin-bottom: 56px; }
  .sec-lead { font-size: 1rem; }
  .section-num { margin-bottom: 24px; }

  .product-card, .product-body, .job-card, .contact-card { padding: 32px 24px; }
  .product-block-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .product-stack { gap: 64px; }
  .sub-grid { grid-template-columns: 1fr 1fr; }
  .ba-row { grid-template-columns: 1fr; gap: 16px; }
  .ba-pair { grid-template-columns: 1fr 1fr; }
  .samples-cta { text-align: center; }
  .samples-cta a {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
    font-size: 12px;
    letter-spacing: 0.15em;
  }
  .product-num, .strength-num { font-size: 36px; }
  .sub-block { padding: 56px 0; }
  .sub-title { font-size: 1.5rem; }
  .mvv-key { font-size: 22px; }
  .mvv-text { font-size: 1rem; }
  .value-list li { grid-template-columns: 56px 1fr; gap: 16px; }
  .val-num { font-size: 22px; }
  .org-fig { padding: 24px; }
  .strength-card { padding: 32px 24px; }
  .timeline::before { left: 60px; }
  .tl-item { grid-template-columns: 60px 16px 1fr; padding: 20px 0; }
  .tl-item::after { left: 56px; top: 26px; }
  .tl-year { font-size: 13px; }
  .tl-body { padding-left: 8px; }
  .tl-body p { font-size: 14px; }
  .foot-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---- Tentative (仮テキスト) ---- */
.tentative {
  color: var(--dust);
  font-style: italic;
  opacity: 0.85;
}
.tentative::before {
  content: "[仮] ";
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.75em;
  letter-spacing: 0.1em;
  color: var(--brass);
  margin-right: 4px;
}

/* ---- Hero brand (サイトタイトル = 企業名) ---- */
.hero-brand {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--dust);
  margin: 0 0 24px;
}

/* =====================================================
   マルチページ版（11_ライトカラー）専用追記
   ===================================================== */

/* ---- ページ単位のヒーロー（サブページ共通） ---- */
.page-hero {
  position: relative;
  padding: 200px 0 80px;
  background: var(--forge);
  border-bottom: 1px solid var(--machine);
}
.page-hero .section-num { margin-bottom: 24px; }
.page-hero .display { margin-top: 8px; }
.page-lead {
  margin-top: 32px;
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--dust);
  max-width: 42em;
}
/* ---- サブページ共通：セクション余白の調整 ---- */
.page-hero + .section { padding-top: 96px; }

.section-form { background: var(--forge); }

/* ---- 受付完了ページのアクション（コンパクト） ---- */
.thanks-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---- ページ間ナビ（前へ／次へ） ---- */
.page-nav {
  margin-top: 120px;
  padding-top: 32px;
  border-top: 1px solid var(--machine);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.page-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  color: var(--polished);
  border-bottom: 1px solid transparent;
  transition: color .2s ease-out, border-color .25s ease-out;
}
.page-nav a:hover,
.page-nav a:focus-visible {
  color: var(--brass);
  border-bottom-color: var(--brass);
}
.page-nav-prev { margin-right: auto; }
.page-nav-next { margin-left: auto; }

/* =====================================================
   トップページ：物語型LP 専用スタイル
   ===================================================== */

/* セクション間の差し色（背景の濃淡で章を区切る） */
.section-intro              { background: var(--forge); }
.section-products-preview   { background: var(--steel); }
.section-factory            { background: var(--graphite); }
.section-strengths          { background: var(--forge); }
.section-recruit-banner     { background: var(--ink); padding: 0; }
.section-contact-cta        { background: var(--steel); }

/* ---- イントロ（What we do） ---- */
.intro-lead {
  font-size: 1.25rem;
  line-height: 2.0;
  color: var(--polished);
  max-width: 42em;
}
.intro-lead + .intro-lead { margin-top: 32px; }

/* ---- セクション末尾の「→ 詳しく見る」リンク ---- */
.sec-more {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--machine);
}
.sec-more a {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: color .2s ease-out, border-color .25s ease-out;
}
.sec-more a:hover {
  color: var(--brass-2);
  border-bottom-color: var(--brass-2);
}

/* ---- 製品プレビュー（4カードを横並びで） ---- */
.product-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--machine);
  border: 1px solid var(--machine);
}
.product-preview-grid li {
  background: var(--forge);
  display: flex;
  flex-direction: column;
}
.product-preview-grid figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-preview-grid .sub-image {
  background: var(--steel);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.product-preview-grid .sub-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease-out;
}
.product-preview-grid li:hover .sub-image img { transform: scale(1.05); }
.product-preview-grid figcaption {
  padding: 24px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  color: var(--polished);
  border-top: 1px solid var(--machine);
}

.stat-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}
.stat-figure {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 56px 48px;
  background: var(--forge);
  border: 1px solid var(--machine);
  border-left: 4px solid var(--brass);
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--brass);
}
.stat-num {
  font-size: clamp(5rem, 14vw, 9rem);
  line-height: 0.9;
  font-weight: 700;
  color: var(--polished);
  letter-spacing: -0.04em;
}
.stat-sub {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--dust);
  margin-top: 8px;
}
.stat-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.3;
  font-weight: 900;
  margin: 0 0 24px;
}
.stat-body {
  font-size: 1.0625rem;
  line-height: 1.95;
  color: var(--polished);
  max-width: 32em;
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.industry-tags li {
  padding: 8px 16px;
  background: var(--forge);
  border: 1px solid var(--machine);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--polished);
}

/* ---- 採用バナー（暗背景の差し色セクション） ---- */
.recruit-banner {
  position: relative;
  padding: 160px 48px;
  background: var(--ink);
  color: var(--forge);
  overflow: hidden;
}
.recruit-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(138,107,63,.18), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(196,65,26,.10), transparent 50%);
  pointer-events: none;
}
.recruit-banner-inner {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
}
.recruit-banner .section-num,
.recruit-banner .sec-en { color: var(--brass-2); }
.recruit-banner .sec-en { color: rgba(250,250,247,.6); }
.recruit-banner .display { color: var(--forge); margin: 16px 0 32px; }
.recruit-banner-body {
  font-size: 1.125rem;
  line-height: 1.9;
  color: rgba(250,250,247,.78);
  max-width: 38em;
  margin-bottom: 56px;
}
.recruit-banner-cta { display: flex; flex-wrap: wrap; gap: 16px; }
.recruit-banner .btn-primary { color: var(--forge); border-color: var(--forge); }
.recruit-banner .btn-primary:hover { background: var(--brass); border-color: var(--brass); color: var(--forge); }

.btn-outline-light {
  color: var(--forge);
  border-color: rgba(250,250,247,.4);
}
.btn-outline-light:hover {
  background: var(--forge);
  border-color: var(--forge);
  color: var(--polished);
}

/* ---- お問い合わせCTA（電話 + フォーム） ---- */
.contact-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--machine);
  border: 1px solid var(--machine);
}
.contact-cta-card {
  position: relative;
  background: var(--forge);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  align-items: center;
  color: var(--polished);
  transition: background .25s ease-out;
}
.contact-cta-card:hover { background: var(--graphite); }
.contact-cta-card .contact-label { color: var(--brass); }
.contact-cta-card .contact-num {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--polished);
  align-self: center;
}
.contact-cta-card .contact-hours {
  font-size: 12px;
  color: var(--dust);
  letter-spacing: 0.04em;
}
.contact-cta-arrow {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--brass);
  border-bottom: 1px solid var(--brass);
  padding-bottom: 4px;
  transition: color .2s ease-out, border-color .2s ease-out;
}
.contact-cta-card-form:hover .contact-cta-arrow {
  color: var(--brass-2);
  border-bottom-color: var(--brass-2);
}

/* ---- LPトップ専用：レスポンシブ ---- */
@media (max-width: 960px) {
  .stat-block { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .product-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recruit-banner { padding: 112px 32px; }
  .contact-cta-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .intro-lead { font-size: 1rem; line-height: 1.95; }
  .stat-figure { padding: 40px 28px; }
  .stat-title { font-size: 1.5rem; }
  .recruit-banner { padding: 80px 24px; }
  .recruit-banner-body { font-size: 1rem; }
  .contact-cta-card { padding: 40px 28px; }
}

/* ---- 中央寄せフォーム用ラッパー ---- */
.form-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.form-wrap .form { max-width: none; }
.form-wrap .form-actions { justify-content: center; }
.form-wrap .confirm-actions { justify-content: center; }

/* ---- 電話お問い合わせ：独立セクション（中央寄せ・存在感） ---- */
.contact-phone-block {
  max-width: 720px;
  margin: 0 auto 80px;
  padding: 56px 48px;
  background: var(--steel);
  border: 1px solid var(--machine);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.contact-phone-block .contact-label { color: var(--brass); }
.contact-phone-block .contact-num {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  align-self: center;
  border-bottom: 1px solid transparent;
}
.contact-phone-block .contact-hours {
  font-size: 13px;
  color: var(--dust);
  letter-spacing: 0.04em;
}

/* ---- フォーム導入「またはメールフォームから」 ---- */
.form-divider {
  max-width: 720px;
  margin: 0 auto 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--dust);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.form-divider::before,
.form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--machine);
}

/* ---- フォーム：エラー表示／確認画面／ハニーポット ---- */
.form-alert {
  max-width: 720px;
  margin: 0 auto 32px;
  padding: 24px 28px;
  background: #FBEEEA;
  border-left: 4px solid var(--spark);
  color: var(--polished);
}
.form-alert-title {
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--spark);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.form-alert ul {
  margin: 0;
  padding-left: 1.25em;
  list-style: disc;
  font-size: 14px;
  line-height: 1.7;
}
.form-row.has-error label {
  color: var(--spark);
}
.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea {
  border-color: var(--spark);
  box-shadow: 0 0 0 1px var(--spark) inset;
}

/* honeypot：人間からは見えないがDOMにはある */
.hp {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* 確認画面 */
.confirm-list {
  max-width: 720px;
  margin: 0 auto 48px;
  border-top: 1px solid var(--machine);
}
.confirm-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--machine);
}
.confirm-row dt {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  padding-top: 4px;
}
.confirm-row dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  word-break: break-word;
}
.confirm-multiline {
  white-space: normal;
}
.confirm-actions {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0;
  border-top: 0;
  justify-content: center;
}
.confirm-actions .btn {
  flex: 0 0 280px;
  max-width: 100%;
  padding: 20px 24px;
}

.link-inline {
  color: var(--brass);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-inline:hover { color: var(--brass-2); }

/* ---- レスポンシブ（共通） ---- */
@media (max-width: 960px) {
  .confirm-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
}
@media (max-width: 640px) {
  .page-hero { padding: 144px 0 64px; }
  .page-lead { font-size: 1rem; }
  .page-nav { margin-top: 80px; flex-wrap: wrap; }
  .form-alert { padding: 20px; }
  .contact-phone-block { padding: 40px 24px; margin-bottom: 56px; }
  .form-divider { margin-bottom: 32px; gap: 12px; }
  .confirm-actions .btn { flex: 0 0 100%; }
}

/* ============================================================
   ヘッダのSKK表記
   ============================================================ */
.brand-skk {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brass);
  margin-bottom: 2px;
}

/* お問い合わせCTAのアイコン */
.nav-cta-ico {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -3px;
  color: currentColor;
  flex-shrink: 0;
}
.nav-links .nav-cta {
  display: inline-flex;
  align-items: center;
}

/* ============================================================
   テーマ切替（追従ボタン・2系統独立）
   ── ACCENT: アクセント色（CTAや見出し下線等）
   ・data-theme="a" : 黄土／真鍮（A1・一旦UI非表示）
   ・data-theme="b" : 鉄紺グレー（A2・一旦UI非表示）
   ・data-theme="c" : シルバー系モノクロ（A3・一旦UI非表示）
   ・data-theme="d" (既定) : 磨かれたステンレス／ミラーポリッシュ
   ・data-theme="e"        : 磨かれたステンレス／クロームブルー
   ・data-theme="f"        : 磨かれたステンレス／プラチナサテン
   ・data-theme="g"        : 鏡面シルバーメタリック（最も光沢の強い純シルバー）
   ── BACKGROUND: 面の色（body／セクション／カード）
   ・data-bg="warm"        : クリーム寄り温白
   ・data-bg="cool"        : 寒色寄りクリーン白
   ・data-bg="pure" (既定) : 完全純白＋淡グレー
   ・data-bg="mono"        : 中間ニュートラルグレー
   ============================================================ */
/* A1〜A3 は一旦コメントアウト（CSS変数も無効化）
html[data-theme="b"] {
  --brass:    #3E5571;
  --brass-2:  #547090;
  --spark:    #2C3E50;
}
html[data-theme="c"] {
  --brass:    #5E5A53;
  --brass-2:  #7C7872;
  --spark:    #3F3D38;
}
*/
html[data-theme="d"] {
  --brass:    #6E7E8E;
  --brass-2:  #97A6B5;
  --spark:    #4A5868;
}
html[data-theme="e"] {
  --brass:    #557388;
  --brass-2:  #7894A8;
  --spark:    #34536A;
}
html[data-theme="f"] {
  --brass:    #878B90;
  --brass-2:  #ABAFB4;
  --spark:    #5C6065;
}
html[data-theme="g"] {
  --brass:    #8E97A2;
  --brass-2:  #BAC3CE;
  --spark:    #555E69;
}

html[data-bg="cool"] {
  --forge:    #F8FAFB;
  --steel:    #ECEFF2;
  --graphite: #DDE2E6;
  --machine:  #C8CFD6;
  --ink:      #10141A;
}
html[data-bg="pure"] {
  --forge:    #FFFFFF;
  --steel:    #F5F5F5;
  --graphite: #E8E8E8;
  --machine:  #D5D5D5;
  --ink:      #1A1A1A;
}
html[data-bg="mono"] {
  --forge:    #F4F4F2;
  --steel:    #EAEAE8;
  --graphite: #DCDCD9;
  --machine:  #C9C9C5;
  --ink:      #1E1E1C;
}

/* ---- Company: ご挨拶（MESSAGE）---- */
.message-block p { margin-bottom: 26px; }
.message-block p:last-child { margin-bottom: 0; }
.message-block + .message-block { margin-top: 52px; }
.message-sign {
  margin-top: 56px;
  font-size: 15px;
  color: var(--polished);
  letter-spacing: 0.04em;
}
.message-sign-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-left: 8px;
}
.message-profile {
  margin-top: 112px;
  padding-top: 72px;
  border-top: 1px solid var(--machine);
}
.message-profile-head {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 32px;
}

/* ---- Company: 企業理念モットー ---- */
.philosophy-motto {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--brass);
  margin-bottom: 40px;
}

/* ---- Company: 事業内容リスト ---- */
.profile-biz {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: biz;
}
.profile-biz li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 6px;
}
.profile-biz li:last-child { margin-bottom: 0; }
.profile-biz li::before {
  counter-increment: biz;
  content: counter(biz) ".";
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  color: var(--brass);
  font-weight: 700;
}


