/* =========================================================
   株式会社 岩黒製作所 コーポレートサイト（静的HTML版）
   2026年10月 制作
   色・書体は採用サイト（/recruit/）と共通
   ========================================================= */

:root {
  --ink: #222426;           /* 採用サイトと共通の文字色 */
  --ink-soft: #484e52;
  --muted: #646b70;         /* 白背景でコントラスト比 5.4:1 */
  --charcoal: #413c37;      /* 採用サイトと共通の焦げ茶 */
  --charcoal-deep: #2f2b27;
  --steel: #eceeee;         /* ステンレス・クリーンルームの淡いグレー */
  --steel-2: #f5f6f6;
  --line: #d4d8da;
  --line-dark: rgba(255,255,255,.18);
  --blue: #1f7fc4;          /* Tシャツのライトブルーに寄せたブランドブルー（文字コントラスト4.3） */
  --blue-deep: #125a8e;
  --white: #ffffff;

  --font-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-num: "Outfit", "Zen Kaku Gothic New", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;
  --col-gap: clamp(24px, 3vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.5; letter-spacing: .04em; font-feature-settings: "palt" 1; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-family: var(--font-num); letter-spacing: .01em; font-feature-settings: "tnum" 1; }
.nw { display: inline-block; white-space: nowrap; }
.ext-ico { width: 11px; height: 11px; display: inline-block; vertical-align: baseline; margin-left: 4px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand img { height: 30px; width: auto; }
.brand-sub { font-size: 11px; line-height: 1.45; color: var(--muted); letter-spacing: .04em; border-left: 1px solid var(--line); padding-left: 14px; }
.gnav { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 28px); }
.gnav a { text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: .06em; padding: 6px 0; position: relative; white-space: nowrap; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav .gnav-cta { background: var(--blue-text); color: #fff; padding: 10px 20px; border-radius: 2px; }
.gnav .gnav-cta::after { display: none; }
.gnav .gnav-cta:hover { background: var(--blue-deep); }
.menu-btn { display: none; }

@media (max-width: 1080px) { .brand-sub { display: none; } }
@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .brand img { height: 24px; }
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
    font: 700 13px/1 var(--font-jp); letter-spacing: .08em; padding: 0 14px; border-radius: 2px; cursor: pointer;
  }
  .menu-btn span { display: block; width: 16px; height: 10px; position: relative; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .2s, top .2s; }
  .menu-btn span::before { top: 0; } .menu-btn span::after { top: 8px; }
  .menu-btn[aria-expanded="true"] span::before { top: 4px; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] span::after { top: 4px; transform: rotate(-45deg); }
  .gnav {
    position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 28px;
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(34,36,38,.08);
    display: none;
  }
  .gnav.is-open { display: flex; }
  .gnav a { font-size: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .gnav a::after { display: none; }
  .gnav .gnav-cta { margin-top: 20px; text-align: center; border-bottom: 0; padding: 16px; }
}

/* ---------- 共通パーツ ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 0 28px;
  background: var(--blue-text); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15px; letter-spacing: .06em; border-radius: 2px;
  border: 1px solid var(--blue-text);
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn svg { width: 18px; height: 10px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.btn .ext-ico { width: 12px; height: 12px; margin: 0; }
.btn.line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.line:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: transparent; color: #fff; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn.ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.tlink { color: var(--blue-text); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.tlink:hover { color: var(--blue-deep); }
.dark .tlink { color: #fff; }

.section { padding: clamp(80px, 10vw, 136px) 0; }
.section.tight { padding: clamp(56px, 7vw, 96px) 0; }
.section.steel { background: var(--steel); }
.section.dark { background: var(--charcoal); color: #fff; }

.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px var(--col-gap); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(26px, 3vw, 38px); }
.sec-head .en { display: block; font-family: var(--font-num); font-weight: 400; font-size: 14px; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; line-height: 1.4; }
.dark .sec-head .en { color: rgba(255,255,255,.66); }
.sec-head p { color: var(--ink-soft); max-width: 40em; }
.dark .sec-head p { color: rgba(255,255,255,.82); }
.sec-head .side { display: grid; gap: 16px; justify-items: start; }
@media (max-width: 800px) { .sec-head { grid-template-columns: 1fr; } }

/* 大きな英字を見出しの背後に敷く（トップの主要セクションのみ） */
.big-en { display: block; font-family: var(--font-num); font-weight: 300; font-size: clamp(60px, 10vw, 148px); line-height: .82; letter-spacing: -.02em; color: var(--ink); opacity: .08; margin-bottom: -.3em; white-space: nowrap; user-select: none; }
.dark .big-en { color: #fff; opacity: .1; }

.prose p + p { margin-top: 1.15em; }
.prose { max-width: 38em; }

/* 区切り線つきの列（列幅を均等に保つ） */
.cols { display: grid; gap: 0 var(--col-gap); }
.cols > * { position: relative; }
.cols > * + *::before { content: ""; position: absolute; left: calc(var(--col-gap) / -2); top: 0; bottom: 0; width: 1px; background: var(--line); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rule-top { border-top: 2px solid var(--ink); }
.rule-top > * { padding-top: 26px; }
@media (max-width: 900px) {
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .cols-4 > :nth-child(odd)::before { display: none; }
  .cols-3 { grid-template-columns: 1fr; row-gap: 0; }
  .cols-3 > *::before { display: none !important; }
  .cols-3 > * + * { border-top: 1px solid var(--line); }
  .cols-3.rule-top > * { padding-bottom: 24px; }
}
@media (max-width: 760px) {
  .cols-2 { grid-template-columns: 1fr; }
  .cols-2 > *::before { display: none !important; }
  .cols-2 > * + * { border-top: 1px solid var(--line); margin-top: 28px; }
}
@media (max-width: 560px) {
  .cols-4 { grid-template-columns: 1fr; row-gap: 0; }
  .cols-4 > *::before { display: none !important; }
  .cols-4 > * + * { border-top: 1px solid var(--line); margin-top: 28px; }
}

/* ---------- トップ：冒頭（左に文字、右に写真の2分割） ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: min(calc(100vh - var(--header-h)), 820px); background: var(--charcoal); color: #fff; }
.hero-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 6vw, 96px) clamp(24px, 4vw, 64px) clamp(48px, 6vw, 96px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.hero-body .tag { font-size: 14px; letter-spacing: .06em; color: rgba(255,255,255,.8); }
.hero-body h1 { margin-top: 22px; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.45; letter-spacing: .02em; }
.hero-body h1 .line { display: block; }
.hero-body .lead { margin-top: 26px; color: rgba(255,255,255,.86); font-size: 15px; max-width: 30em; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { position: relative; overflow: hidden; background: var(--charcoal-deep); }
.hero-photo picture, .hero-photo img { width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; object-position: 30% 50%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo img { animation: hero-settle 6s cubic-bezier(.2,.7,.2,1) both; }
  .hero-body > * { animation: hero-line .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-body h1 { animation-delay: .08s; }
  .hero-body .lead { animation-delay: .2s; }
  .hero-body .hero-actions { animation-delay: .3s; }
}
@keyframes hero-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes hero-line { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; aspect-ratio: 16 / 10; }
  .hero-body { padding: 40px var(--gutter) 48px; }
}
@media (max-width: 560px) {
  .hero-photo { aspect-ratio: 4 / 3; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- お知らせ ---------- */
.news-bar { border-bottom: 1px solid var(--line); }
.news-bar .wrap { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 24px; align-items: start; padding-top: 26px; padding-bottom: 26px; }
.news-bar h2 { font-size: 17px; padding-top: 4px; }
.news-list li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 5px 0; }
.news-list time { font-family: var(--font-num); color: var(--muted); letter-spacing: .04em; }
.news-list a { text-decoration: none; }
.news-list a:hover { color: var(--blue-text); text-decoration: underline; }
.news-bar .more { margin-top: 6px; white-space: nowrap; }
@media (max-width: 800px) {
  .news-bar .wrap { grid-template-columns: 1fr; gap: 10px; }
  .news-list li { grid-template-columns: 1fr; gap: 0; padding: 8px 0; }
  .news-bar .more { justify-self: start; }
}

/* ---------- 私たちについて ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--col-gap) clamp(40px, 6vw, 96px); align-items: center; }
.intro h2 { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.55; }
.intro .label { display: block; font-size: 15px; letter-spacing: .06em; color: var(--muted); margin-bottom: 18px; font-weight: 700; }
.intro .prose { margin-top: 28px; color: var(--ink-soft); }
.intro .btn-row { margin-top: 36px; }
.intro-photo { margin-right: calc(var(--gutter) * -1); }
.intro-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
@media (min-width: 1297px) { .intro-photo { margin-right: calc((100vw - var(--wrap)) / -2); } }
@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; }
  .intro-photo { order: -1; margin-left: calc(var(--gutter) * -1); }
  .intro-photo img { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) { .intro .btn-row .btn { flex: 1 1 100%; } }

/* 数字で見る岩黒製作所 */
.facts { margin-top: clamp(72px, 9vw, 120px); }
.facts dl { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.facts dl > div { padding: 28px 0 30px; }
.facts dt { font-size: 14px; color: var(--ink-soft); letter-spacing: .04em; font-weight: 700; }
.facts dd { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.facts .v { display: block; color: var(--ink); font-family: var(--font-num); font-weight: 300; font-size: clamp(44px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -.01em; margin-bottom: 8px; }
.facts .v small { font-family: var(--font-jp); font-weight: 700; font-size: 16px; margin-left: 6px; letter-spacing: .04em; }
.facts .v.text { font-family: var(--font-jp); font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.35; letter-spacing: .04em; padding: 10px 0 6px; }
.facts .note { margin-top: 12px; font-size: 12px; color: var(--muted); }
@media (max-width: 900px) { .facts dl > div { padding: 24px 0; } }

/* ---------- 製品インデックス（型式番号を主役に） ---------- */
.models { border-top: 1px solid var(--line-dark); }
.model {
  display: grid; grid-template-columns: minmax(170px, 2.3fr) minmax(0, 4fr) minmax(0, 2.6fr) 48px;
  gap: 20px var(--col-gap); align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line-dark);
  text-decoration: none; color: #fff;
}
.model-no { font-family: var(--font-num); font-weight: 300; font-size: clamp(56px, 6.6vw, 100px); line-height: .9; letter-spacing: -.01em; white-space: nowrap; }
.model-no .cat { display: block; font-family: var(--font-jp); font-size: 13px; font-weight: 700; letter-spacing: .06em; color: rgba(255,255,255,.7); margin-bottom: 12px; line-height: 1.4; }
.model-no .series { font-family: var(--font-jp); font-size: 15px; font-weight: 700; margin-left: 8px; letter-spacing: .06em; }
.model-no.text { font-family: var(--font-jp); font-weight: 700; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.3; letter-spacing: .04em; white-space: normal; }
.model h3 { font-size: clamp(18px, 1.6vw, 21px); }
.model p { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.8; }
.model-img { background: var(--steel); border-radius: 2px; overflow: hidden; }
.model-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.model .go { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.model .go svg { width: 16px; height: 10px; fill: none; stroke: #fff; stroke-width: 1.6; }
.model:hover .go { background: var(--blue); border-color: var(--blue); }
.model:hover .model-img img { transform: scale(1.04); }
.model:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
@media (max-width: 960px) {
  .model { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .model-no { grid-column: 1 / -1; }
  .model .go { display: none; }
}
@media (max-width: 600px) {
  .model { grid-template-columns: minmax(0, 1fr) 120px; gap: 14px 16px; padding: 22px 0; }
  .model-no { font-size: 56px; }
  .model p { display: none; }
}

/* 小さい製品カード（トップの2段目） */
.models-sub { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.mcard { display: block; text-decoration: none; color: #fff; }
.mcard .model-img img { aspect-ratio: 4 / 3; }
.mcard .no { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; font-family: var(--font-num); font-weight: 300; font-size: 40px; line-height: 1; }
.mcard .no small { font-family: var(--font-jp); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.mcard .no.text { font-family: var(--font-jp); font-weight: 700; font-size: 22px; line-height: 1.4; }
.mcard h3 { margin-top: 8px; font-size: 15px; }
.mcard:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.mcard:hover .model-img img { transform: scale(1.04); }
@media (max-width: 900px) { .models-sub { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 明るい背景版（製品一覧ページ） */
.models.light { border-top-color: var(--line); }
.models.light .model { color: var(--ink); border-bottom-color: var(--line); }
.models.light .model-no .cat { color: var(--muted); }
.models.light .model p { color: var(--ink-soft); }
.models.light .model .go { border-color: var(--line); }
.models.light .model .go svg { stroke: var(--ink); }
.models.light .model:hover .go svg { stroke: #fff; }

/* 早見表 */
.finder-wrap { overflow-x: auto; }
.finder { width: 100%; min-width: 640px; border-top: 2px solid var(--ink); font-size: 15px; background: #fff; }
.finder th, .finder td { border-bottom: 1px solid var(--line); padding: 16px 14px; text-align: center; vertical-align: middle; }
.finder td + td, .finder th + td, .finder thead th + th { border-left: 1px solid var(--line); }
.finder thead th { font-size: 14px; background: var(--steel-2); }
.finder tbody th { text-align: left; background: var(--steel-2); white-space: nowrap; font-size: 14px; }
.finder a { font-family: var(--font-num); font-size: 18px; font-weight: 500; color: var(--blue-text); text-decoration: none; border-bottom: 1px solid currentColor; margin: 0 4px; }
.finder a.jp { font-family: var(--font-jp); font-size: 15px; font-weight: 700; }
.finder .none { color: #aab0b3; }
.compare { margin-top: clamp(48px, 6vw, 72px); }
.compare h3 { font-size: 18px; margin-bottom: 14px; }

/* ---------- 強み ---------- */
.strengths h3 { font-size: 20px; margin-top: 6px; }
.strengths .k { font-family: var(--font-num); color: var(--blue-text); font-size: 15px; letter-spacing: .08em; }
.strengths p { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }

/* ---------- ものづくりの流れ ---------- */
.flow .step { font-family: var(--font-num); font-size: 15px; letter-spacing: .08em; color: var(--blue-text); font-weight: 500; }
.flow h3 { font-size: 20px; margin-top: 4px; }
.flow p { margin-top: 10px; font-size: 14px; color: var(--ink-soft); line-height: 1.85; }
.flow figure { margin: 22px 0 0; }
.flow figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- サポート（納入後） ---------- */
.support { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--col-gap); align-items: center; }
.support-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.support h2 { font-size: clamp(24px, 2.6vw, 34px); }
.support .en { display: block; font-family: var(--font-num); font-size: 14px; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.support p { margin-top: 16px; color: var(--ink-soft); }
.support ul { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.support li { font-size: 14px; font-weight: 700; border: 1px solid var(--line); background: #fff; padding: 8px 10px; border-radius: 2px; text-align: center; display: flex; align-items: center; justify-content: center; }
@media (max-width: 960px) { .support ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .support li { font-size: 13px; padding: 8px 6px; } }
.support .btn-row { margin-top: 28px; }
@media (max-width: 860px) { .support { grid-template-columns: 1fr; } }

/* ---------- 採用 ---------- */
.recruit-band { position: relative; color: #fff; overflow: hidden; background: var(--charcoal-deep); }
.recruit-band picture, .recruit-band picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.recruit-band picture img { object-fit: cover; object-position: 50% 30%; }
.recruit-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(47,43,39,.94) 0%, rgba(47,43,39,.76) 46%, rgba(47,43,39,.2) 100%); }
.recruit-band .wrap { position: relative; z-index: 2; padding-top: clamp(80px, 10vw, 136px); padding-bottom: clamp(80px, 10vw, 136px); }
.recruit-band h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.55; letter-spacing: .04em; }
.recruit-band .label { display: block; font-size: 15px; letter-spacing: .06em; color: rgba(255,255,255,.82); margin-bottom: 16px; font-weight: 700; }
.recruit-band p { margin-top: 20px; max-width: 30em; color: rgba(255,255,255,.9); }
.recruit-band .btn-row { margin-top: 36px; }
@media (max-width: 760px) { .recruit-band::after { background: rgba(47,43,39,.82); } }

/* ---------- お問い合わせ ---------- */
.contact-split > div { padding-top: 28px; padding-bottom: 8px; }
.contact-split h3 { font-size: 20px; }
.contact-split p { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }
.contact-split .btn-row { margin-top: 22px; }
.tel-block { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 40px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tel-block .k { font-size: 14px; font-weight: 700; color: var(--ink-soft); margin-right: 12px; }
.tel-block .tel { font-family: var(--font-num); font-size: clamp(28px, 2.8vw, 36px); font-weight: 400; letter-spacing: .01em; line-height: 1.2; text-decoration: none; }
.tel-block a.tel:hover { color: var(--blue-text); }
.tel-block .note { font-size: 13px; color: var(--muted); }
.address-line { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 15px; color: var(--ink-soft); }
.note-s { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ---------- フッター ---------- */
.site-footer { background: var(--charcoal-deep); color: rgba(255,255,255,.86); font-size: 14px; }
.site-footer .wrap { padding-top: 72px; padding-bottom: 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.footer-brand img { height: 28px; width: auto; }
.footer-brand address { font-style: normal; margin-top: 24px; line-height: 2; }
.footer-brand a { text-decoration: none; }
.footer-brand .group { margin-top: 16px; color: rgba(255,255,255,.72); font-size: 13px; }
.footer-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 28px; align-content: start; }
.footer-nav a { text-decoration: none; display: block; padding: 5px 0; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-nav .h { font-weight: 700; color: #fff; margin-bottom: 4px; }
.footer-nav .h ~ .h { margin-top: 14px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; color: rgba(255,255,255,.7); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; } }

/* ---------- 下層ページ共通 ---------- */
.page-head { position: relative; color: #fff; background: var(--charcoal-deep); overflow: hidden; }
.page-head picture, .page-head picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-head picture img { object-fit: cover; }
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(47,43,39,.88) 0%, rgba(47,43,39,.58) 55%, rgba(47,43,39,.22) 100%); }
.page-head .wrap { position: relative; z-index: 2; min-height: clamp(300px, 34vw, 440px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 40px; padding-bottom: clamp(36px, 4vw, 56px); }
.page-head.plain { background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line); }
.page-head.plain::after { display: none; }
.page-head.plain .wrap { min-height: 0; padding-top: clamp(48px, 6vw, 80px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255,255,255,.88); }
.page-head.plain .crumbs, .p-hero .crumbs { color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.page-head h1 { margin-top: 16px; font-size: clamp(30px, 4vw, 50px); letter-spacing: .04em; }
.page-head h1 .en { display: block; font-family: var(--font-num); font-weight: 400; font-size: 15px; letter-spacing: .1em; opacity: .85; margin-top: 8px; }
.page-head .lead { margin-top: 18px; max-width: 40em; color: rgba(255,255,255,.9); }
.page-head.plain .lead { color: var(--ink-soft); }
@media (max-width: 760px) { .page-head::after { background: rgba(47,43,39,.7); } }

.local-nav { position: sticky; top: var(--header-h); z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.local-nav .wrap { position: relative; }
.local-nav ul { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.local-nav ul::-webkit-scrollbar { display: none; }
.local-nav a { display: block; white-space: nowrap; padding: 16px 0; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--ink-soft); }
.local-nav a:hover { color: var(--blue-text); }
@media (max-width: 760px) {
  .local-nav .wrap::after { content: ""; position: absolute; right: var(--gutter); top: 0; bottom: 0; width: 40px; background: linear-gradient(90deg, rgba(255,255,255,0), #fff); pointer-events: none; }
  .local-nav li:last-child { padding-right: 40px; }
}

.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px var(--col-gap); }
.split > header h2 { font-size: clamp(24px, 2.6vw, 34px); }
.split > header .en { display: block; font-family: var(--font-num); font-weight: 400; font-size: 14px; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ごあいさつ */
.creed { margin-top: 36px; border: 1px solid var(--line); padding: 28px 28px 26px; background: var(--steel-2); max-width: 320px; }
.creed > span { font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.creed p { margin-top: 10px; font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; line-height: 1.7; letter-spacing: .08em; }
.sign { margin-top: 40px; text-align: right; font-weight: 700; letter-spacing: .08em; }
.sign small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .06em; }
.sign .name { font-size: 22px; margin-left: 8px; }
@media (max-width: 860px) { .creed { margin-top: 20px; } }

/* MVV */
.mvv { display: grid; grid-template-columns: 210px minmax(0, 1fr); border-top: 2px solid var(--ink); }
.mvv dt { padding: 30px 0; border-bottom: 1px solid var(--line); }
.mvv dt b { display: block; font-family: var(--font-num); font-size: 30px; font-weight: 400; letter-spacing: .01em; line-height: 1.1; }
.mvv dt span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.mvv dd { padding: 30px 0 30px 40px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.mvv .statement { font-size: clamp(20px, 2.1vw, 28px); font-weight: 700; line-height: 1.6; letter-spacing: .04em; font-feature-settings: "palt" 1; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.values h3 { font-size: 19px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.values h3 .en { font-family: var(--font-num); font-weight: 400; font-size: 14px; color: var(--muted); letter-spacing: .02em; }
.values p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 760px) {
  .mvv { grid-template-columns: 1fr; }
  .mvv dt { border-bottom: 0; padding-bottom: 6px; }
  .mvv dd { border-left: 0; padding: 0 0 28px; }
  .values { grid-template-columns: 1fr; }
}
.heritage { margin-top: clamp(56px, 7vw, 88px); }
.heritage > h3 { font-size: clamp(19px, 1.8vw, 22px); }
.heritage > p { margin-top: 10px; color: var(--ink-soft); max-width: 44em; }
.mottos { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.mottos li { font-weight: 700; font-size: 16px; letter-spacing: .06em; border: 1px solid var(--line); background: #fff; padding: 10px 18px; border-radius: 2px; }
.principles { margin-top: 32px; }
.principles h4 { font-size: 19px; letter-spacing: .1em; }
.principles h4 .en { display: block; font-family: var(--font-num); font-weight: 400; font-size: 13px; color: var(--muted); letter-spacing: .02em; margin-top: 2px; }
.principles p { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }

/* 表 */
.table { width: 100%; border-top: 2px solid var(--ink); font-size: 15px; }
.table th, .table td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { width: 190px; font-weight: 700; background: var(--steel-2); }
.table td .sub { display: block; font-size: 13px; color: var(--muted); }
.table a { color: var(--blue-text); }
@media (max-width: 640px) {
  .table th, .table td { display: block; width: 100%; }
  .table th { padding: 14px 0 4px; border-bottom: 0; background: transparent; color: var(--muted); font-size: 13px; }
  .table td { padding: 0 0 14px; }
}

/* 沿革 */
.history { border-top: 2px solid var(--ink); }
.history .decade { display: grid; grid-template-columns: 150px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.history .decade h3 { font-family: var(--font-num); font-weight: 400; font-size: 26px; letter-spacing: .01em; padding: 20px 0; }
.history .decade h3 small { font-family: var(--font-jp); font-size: 14px; font-weight: 700; margin-left: 2px; }
.history dl { display: grid; grid-template-columns: 124px minmax(0, 1fr); padding: 20px 0; }
.history dt { font-family: var(--font-num); color: var(--ink-soft); font-weight: 500; padding: 4px 0; }
.history dd { padding: 4px 0; }
@media (max-width: 640px) {
  .history .decade { grid-template-columns: 1fr; }
  .history .decade h3 { padding: 16px 0 0; }
  .history dl { grid-template-columns: 96px minmax(0, 1fr); padding-top: 4px; }
}
.history-intro { margin-bottom: 40px; color: var(--ink-soft); }

/* アクセス */
.access { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--col-gap); align-items: start; }
.map { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; background: var(--steel); }
@media (max-width: 860px) { .access { grid-template-columns: 1fr; } }

/* 事業・設備 */
.biz2 h3 { font-size: 21px; }
.biz2 p { margin-top: 12px; color: var(--ink-soft); }
.chips { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; border: 1px solid var(--line); padding: 4px 12px; border-radius: 2px; background: #fff; }
.chips a { text-decoration: none; }
.chips a:hover { color: var(--blue-text); }

.scope { border-top: 2px solid var(--ink); }
.scope li { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 8px var(--col-gap); padding: 22px 0; border-bottom: 1px solid var(--line); }
.scope h3 { font-size: 18px; }
.scope p { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 760px) { .scope li { grid-template-columns: 1fr; } }

.equip-count { margin-bottom: 48px; border-top: 2px solid var(--ink); }
.equip-count li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.equip-count .num { font-size: 32px; font-weight: 400; line-height: 1; }
.equip-count .num small { font-family: var(--font-jp); font-size: 13px; font-weight: 700; margin-left: 2px; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--steel); }
.gallery figcaption { margin-top: 10px; font-size: 14px; font-weight: 700; line-height: 1.6; }
.gallery figcaption span { display: block; font-family: var(--font-num); font-weight: 400; color: var(--muted); font-size: 13px; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.other-equip { margin-top: 40px; padding: 24px 28px; background: var(--steel-2); border: 1px solid var(--line); }
.other-equip h3 { font-size: 16px; }
.other-equip ul { margin-top: 10px; columns: 3 220px; column-gap: 32px; font-size: 14px; }
.other-equip li { padding: 3px 0; }
.service h3 { font-size: 17px; }
.service p { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }

/* ---------- 製品詳細 ---------- */
.p-hero { position: relative; border-bottom: 1px solid var(--line); }
.p-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: var(--steel); }
.p-hero .wrap { position: relative; z-index: 1; padding-top: clamp(36px, 4.4vw, 56px); padding-bottom: clamp(48px, 6vw, 80px); }
.p-hero h1 { margin-top: 24px; }
.p-hero .cat { display: block; font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.p-hero .p-no { display: block; margin-top: 10px; font-family: var(--font-num); font-weight: 300; font-size: clamp(72px, 12.5vw, 196px); line-height: .86; letter-spacing: -.02em; white-space: nowrap; }
.p-hero .p-no .series { font-family: var(--font-jp); font-size: clamp(16px, 1.6vw, 22px); font-weight: 700; letter-spacing: .06em; margin-left: 10px; }
.p-hero .p-no.text { font-family: var(--font-jp); font-weight: 700; font-size: clamp(44px, 6vw, 80px); line-height: 1.2; letter-spacing: .04em; white-space: normal; }
.p-hero .p-name { display: block; margin-top: 18px; font-size: clamp(22px, 2.3vw, 30px); letter-spacing: .04em; }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px var(--col-gap); align-items: end; margin-top: 20px; }
.p-hero .lead { color: var(--ink-soft); max-width: 32em; padding-bottom: 8px; }
.p-figure { background: var(--steel); }
.p-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 860px) { .p-hero-grid { grid-template-columns: 1fr; } .p-hero::before { height: 22%; } }

.feature-head { font-size: clamp(19px, 1.9vw, 24px); margin-bottom: 24px; line-height: 1.6; }
.feature-list { display: grid; gap: 12px; border-top: 2px solid var(--ink); padding-top: 26px; }
.feature-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; font-size: 16px; }
.feature-list li::before { content: ""; width: 12px; height: 12px; margin-top: 9px; border: 2px solid var(--blue); border-radius: 50%; }

.parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px var(--col-gap); }
.parts figure { margin: 0; }
.parts img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--steel); }
.parts h3 { margin-top: 18px; font-size: 20px; display: flex; gap: 12px; align-items: baseline; }
.parts h3 .step { font-family: var(--font-num); font-weight: 500; color: var(--blue-text); font-size: 15px; letter-spacing: .08em; }
.parts ul { margin-top: 10px; display: grid; gap: 6px; }
.parts li, .bullets li { font-size: 15px; color: var(--ink-soft); padding-left: 16px; position: relative; }
.parts li::before, .bullets li::before { content: ""; position: absolute; left: 0; top: .9em; width: 7px; height: 1px; background: var(--ink-soft); }
.bullets { display: grid; gap: 6px; }
@media (max-width: 760px) { .parts { grid-template-columns: 1fr; } }

.spec-hint { display: none; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.spec-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec { width: 100%; min-width: 680px; border-top: 2px solid var(--ink); font-size: 15px; background: #fff; }
.spec th, .spec td { border-bottom: 1px solid var(--line); padding: 16px 18px; text-align: center; vertical-align: middle; }
.spec td + td, .spec th + td, .spec thead th + th { border-left: 1px solid var(--line); }
.spec thead th { font-family: var(--font-num); font-size: 18px; font-weight: 500; background: var(--steel-2); }
.spec tbody th, .spec thead th:first-child { text-align: left; width: 170px; background: var(--steel-2); font-weight: 700; font-family: var(--font-jp); font-size: 15px; position: sticky; left: 0; z-index: 1; }
.spec img { margin: 0 auto 6px; width: 110px; }
.spec small { display: block; color: var(--muted); font-size: 13px; }
.spec-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.spec.simple { min-width: 0; }
.spec.simple td { text-align: left; }
@media (max-width: 760px) {
  .spec-hint { display: block; }
  .spec td[colspan] { text-align: left; }
}
@media (max-width: 560px) {
  .spec.simple th, .spec.simple td { display: block; width: 100%; position: static; }
  .spec.simple th { border-bottom: 0; padding-bottom: 4px; }
  .spec.simple td { border-left: 0 !important; padding-top: 4px; }
}

.pharma-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.pharma-grid figure { margin: 0; }
.pharma-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pharma-grid figcaption { margin-top: 10px; font-weight: 700; }
@media (max-width: 860px) { .pharma-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.p-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; padding: 40px; background: var(--charcoal); color: #fff; }
.p-cta h2 { font-size: clamp(20px, 2vw, 26px); }
.p-cta p { margin-top: 8px; color: rgba(255,255,255,.86); font-size: 15px; }
.p-cta .note-s { color: rgba(255,255,255,.74); }
.p-cta-sub { margin-top: 18px; font-size: 15px; }
@media (max-width: 760px) { .p-cta { grid-template-columns: 1fr; padding: 32px 24px; } .p-cta .btn { flex: 1 1 100%; } }

.p-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.p-pager a { padding: 24px 0; text-decoration: none; display: block; }
.p-pager a:first-child { padding-right: 24px; }
.p-pager a + a { text-align: right; border-left: 1px solid var(--line); padding-left: 24px; }
.p-pager small { display: block; font-size: 13px; color: var(--muted); }
.p-pager b { font-family: var(--font-num); font-weight: 500; font-size: 21px; }
.p-pager span { display: block; font-size: 14px; }
.p-pager a:hover b, .p-pager a:hover span { color: var(--blue-text); }

/* お知らせ一覧 */
.news-full { border-top: 2px solid var(--ink); }
.news-full article { display: grid; grid-template-columns: 130px 110px minmax(0, 1fr); gap: 12px 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.news-full time { font-family: var(--font-num); color: var(--muted); }
.news-full .cat { font-size: 12px; border: 1px solid var(--line); padding: 2px 10px; height: fit-content; text-align: center; border-radius: 2px; }
.news-full h2 { font-size: 18px; }
.news-full .body { grid-column: 3; color: var(--ink-soft); font-size: 15px; }
.news-full .body p + p { margin-top: .8em; }
.news-full .body .btn { margin-top: 16px; }
@media (max-width: 700px) {
  .news-full article { grid-template-columns: auto 1fr; }
  .news-full h2, .news-full .body { grid-column: 1 / -1; }
}

/* お問い合わせページ */
.notice-box { border-left: 3px solid var(--blue); background: var(--steel-2); padding: 22px 26px; }
.notice-box h3 { font-size: 16px; }
.notice-box ul { margin-top: 10px; }

/* プライバシー */
.policy h2 { font-size: 19px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.policy p, .policy ul { margin-top: 12px; color: var(--ink-soft); }
.policy ul { display: grid; gap: 6px; padding-left: 1.2em; list-style: disc; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .local-nav, .menu-btn { display: none; }
  .hero, .page-head { color: #000; background: #fff; }
}

/* ---------- v2 追加：見出しの見た目合わせ・QA指摘の修正 ---------- */
.h3like { font-size: 20px; }
.contact-split h2.h3like { font-size: 20px; }
.notice-box h2.h3like { font-size: 16px; }
.tel-block p { display: flex; align-items: baseline; flex-wrap: wrap; }
.split > header .creed { margin-top: 36px; }
.p-hero h1 .cat, .p-hero h1 .p-no, .p-hero h1 .p-name { display: block; }
.p-hero h1 { font-weight: inherit; letter-spacing: normal; line-height: normal; }
.p-hero h1 .p-name { font-weight: 700; }

/* メニューボタンの折り返し防止（320px） */
.menu-btn { flex: none; white-space: nowrap; }
@media (max-width: 360px) {
  .brand img { height: 20px; }
  .menu-btn { padding: 0 10px; gap: 6px; }
}
/* 製品番号のはみ出し防止（320〜400px） */
@media (max-width: 400px) {
  .p-hero .p-no { font-size: 64px; white-space: normal; }
  .p-hero .p-no .series { display: inline-block; font-size: 16px; }
  .model-no { font-size: 52px; }
}
/* 暗い背景ではフォーカス枠を白に */
.dark :focus-visible, .hero :focus-visible, .recruit-band :focus-visible,
.p-cta :focus-visible, .site-footer :focus-visible, .page-head:not(.plain) :focus-visible { outline-color: #fff; }
/* 淡いグレー背景の補助文字のコントラスト確保 */
.section.steel, .p-hero { --muted: #5a6166; }
/* スマホメニュー：横向きの小さい画面でもスクロールできるように */
@media (max-width: 920px) {
  .gnav.is-open { max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }
}
.big-en { max-width: 100%; overflow: hidden; }
.hero-body h1 { font-size: clamp(28px, 2.9vw, 44px); }
.hero-body h1 .line { white-space: nowrap; }
.big-en { font-size: clamp(56px, 8.4vw, 124px); margin-bottom: -.1em; }
@media (max-width: 380px) { .hero-body h1 { font-size: 26px; } }
/* 製品詳細の冒頭：説明文に帯がかからないように、帯をやめて画像側だけに背景を敷く */
.p-hero::before { display: none; }
.p-hero-grid { align-items: center; }

/* ---------- v2.1：二次レビューの反映 ---------- */
/* 製品画像：白い撮影台に統一し、床のグラデーションを下端で白に溶かす */
.model-img, .p-figure { background: #fff; }
.model-img img, .p-figure img { mix-blend-mode: normal; object-fit: contain; padding: 5% 7%; -webkit-mask-image: linear-gradient(#000 70%, transparent 97%); mask-image: linear-gradient(#000 70%, transparent 97%); }
.mcard:last-child .model-img img, .models .model:has(.text) .model-img img { padding: 0; -webkit-mask-image: none; mask-image: none; object-fit: cover; }
.p-figure:has(img[src*="pharma"]) img { padding: 0; -webkit-mask-image: none; mask-image: none; aspect-ratio: 3 / 2; object-fit: cover; }

/* 工程：写真を上に置いて、上端をそろえる */
.flow figure { margin: 0 0 18px; }
@media (max-width: 560px) {
  .flow.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 28px; }
  .flow.cols-4 > * + * { border-top: 0; margin-top: 0; }
  .flow h3 { font-size: 17px; }
  .flow p { font-size: 13px; }
}

/* 4列の区切り線：各行の先頭には出さない */
.cols-4 > :nth-child(4n+1)::before { display: none; }

/* 製品番号・見出しの末尾1文字落ちを防ぐ */
.model h3, .mcard h3, .sec-head h2, .p-hero .p-name, .p-pager span { word-break: keep-all; overflow-wrap: anywhere; }

/* チップ：リンクのものだけ青く */
.chips li:has(a) { border-color: var(--blue); }
.chips a { color: var(--blue-text); font-weight: 700; display: inline-flex; gap: 6px; }
.chips a::after { content: "→"; font-family: var(--font-num); }

/* 製品詳細：要点の数字 */
.p-keys { display: flex; flex-wrap: wrap; gap: 16px 36px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.p-keys dt { font-size: 13px; color: var(--muted); font-weight: 700; min-height: 1.6em; }
.p-keys dd { font-size: 14px; font-weight: 700; }
.p-keys .num { font-family: var(--font-num); font-weight: 300; font-size: clamp(32px, 3vw, 44px); line-height: 1.1; margin-right: 4px; }

/* 特徴写真：元の大きさを超えて引き伸ばさない */
@media (min-width: 1080px) {
  .parts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
  .parts.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--col-gap); }
  .parts h3 { font-size: 18px; }
  .parts li { font-size: 14px; }
}
.pharma-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pharma-grid img { object-fit: contain; background: var(--steel-2); }
@media (max-width: 860px) { .pharma-grid { grid-template-columns: 1fr; } }

/* 背景の英字：縁取りにして軽く */
.big-en { margin-bottom: .04em; color: transparent; -webkit-text-stroke: 1px rgba(34,36,38,.22); opacity: 1; }
.dark .big-en { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.28); opacity: 1; }

/* 採用の帯：人物を右に寄せる */
.recruit-band picture img { object-position: 75% 30%; }

/* 縦に長い節は、左の見出しを追従させる */
@media (min-width: 861px) {
  .split > header { position: sticky; top: calc(var(--header-h) + 72px); align-self: start; }
}
.split-photo { margin-top: 32px; }
.split-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .split-photo { display: none; } }

/* 電話を主、FAXを従に */
.tel-block .tel.fax { font-size: 22px; color: var(--ink-soft); }
.contact-split .note-s { margin-top: 10px; }

/* 数字ブロックの高さそろえ */
.facts .v { min-height: 1.1em; display: flex; align-items: flex-end; }
.facts .v.text { min-height: calc(clamp(44px, 4.6vw, 64px) * 1.05); padding: 0; }

.service + .note-s { margin-top: 24px; }

/* フッター：下段にリンクを横並び */
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; color: #fff; }

/* 早見表・比較表：1列目を固定 */
.finder tbody th, .finder thead th:first-child { position: sticky; left: 0; z-index: 1; }
.compare-table { min-width: 620px; }
.compare-table td { text-align: left; }
.compare-table thead th { font-family: var(--font-jp); font-size: 15px; font-weight: 700; }
@media (max-width: 760px) { .finder-wrap + * {} .compare .spec-hint, .section .spec-hint { display: block; } }
@media (min-width: 761px) { .spec-hint { display: none !important; } }

/* スマホ：製品行は画像を全幅で上に */
@media (max-width: 600px) {
  .model { grid-template-columns: 1fr; gap: 12px; }
  .model-img { order: -1; }
  .model p { display: block; }
}
.finder thead th { white-space: nowrap; }
@media (max-width: 760px) {
  .spec tbody th, .spec thead th:first-child { width: 104px; min-width: 104px; padding: 14px 12px; font-size: 13px; }
  .finder tbody th { white-space: normal; min-width: 104px; font-size: 13px; }
  .spec td, .finder td { padding: 14px 12px; }
}
@media (max-width: 560px) {
  .equip-count.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .equip-count.cols-4 > * + * { margin-top: 0; border-top: 0; }
  .equip-count li { padding: 14px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
  .equip-count .num { font-size: 24px; }
}

/* ---------- v2.2：お問い合わせを1つのフォームに統一 ---------- */
.contact-one { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px var(--col-gap); align-items: center; padding-top: 28px; }
.contact-kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px var(--col-gap); }
.contact-kinds h3 { font-size: 17px; }
.contact-kinds p { margin-top: 6px; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 860px) { .contact-one { grid-template-columns: 1fr; } .contact-kinds { grid-template-columns: 1fr; } .contact-one .btn { width: 100%; } }
.contact-guide .contact-split { margin-top: 20px; }
.contact-guide .contact-split h3 { font-size: 17px; margin-bottom: 10px; }
.notice-list { margin-top: 28px; padding: 20px 24px; background: var(--steel-2); border-left: 3px solid var(--blue); font-size: 14px; }
.form-frame { margin-top: 40px; }
.form-frame iframe { display: block; width: 100%; height: 1400px; border: 1px solid var(--line); background: #fff; }
@media (max-width: 760px) { .form-frame iframe { height: 1600px; } }

/* ---------- v2.3：お問い合わせの入口を目的別に ---------- */
.contact-hub { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: clamp(48px, 6vw, 72px); }
.contact-hub a { position: relative; display: flex; flex-direction: column; height: 100%; padding: 24px 24px 64px; border: 1px solid var(--line); border-top: 3px solid var(--ink); background: #fff; text-decoration: none; transition: border-color .2s, background .2s; }
.contact-hub a:hover { border-color: var(--blue); background: var(--steel-2); }
.contact-hub .en { font-family: var(--font-num); font-size: 13px; letter-spacing: .08em; color: var(--blue-text); }
.contact-hub h2 { margin-top: 6px; font-size: 18px; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.contact-hub p { margin-top: 10px; font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.contact-hub .go { position: absolute; left: 24px; bottom: 22px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; }
.contact-hub .go svg { width: 14px; height: 9px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.contact-hub a:hover .go { background: var(--blue); border-color: var(--blue); }
.contact-hub a:hover .go svg { stroke: #fff; }
@media (max-width: 1000px) { .contact-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .contact-hub { grid-template-columns: 1fr; } .contact-hub a { padding-bottom: 24px; padding-right: 72px; } .contact-hub .go { left: auto; right: 20px; bottom: auto; top: 50%; transform: translateY(-50%); } }
.contact-split > div:target { background: var(--steel-2); }

/* v2.4 PTP訴求（選ばれる理由・設計支援・動画） */
.strengths.design h3 { font-size: 18px; margin-top: 0; }
.movie { position: relative; aspect-ratio: 16 / 9; background: var(--charcoal); }
.movie iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.split > header h2 { word-break: keep-all; overflow-wrap: anywhere; }
.spec.simple th { word-break: keep-all; }

/* v2.5 改行：文節の切れ目（ビルド時に<wbr>を挿入）でのみ改行。見出しは行の長さをそろえ、本文は最終行の1〜2文字残りを防ぐ */
body { word-break: keep-all; overflow-wrap: break-word; line-break: strict; }
h1, h2, h3, h4, .lead, .statement, .feature-head, .contact-hub h2, .p-cta h2, figcaption, th { text-wrap: balance; }
p, li, dd, td { text-wrap: pretty; }
.prose p, .lead { text-wrap: pretty; }
/* 長い本文（47文字以上の段落・項目）は行末までしっかり詰め、文節改行による行末のガタつきを避ける */
.long { word-break: keep-all; overflow-wrap: anywhere; }  /* 長い段落も文節の切れ目で改行（単語の途中で切らない） */
li:not(.long), dd:not(.long), figcaption, td:not(.long) { text-wrap: balance; }
.hero .lead.long, .hero .lead { word-break: keep-all; text-wrap: pretty; }
/* ヘッダー：グループ会社 イワクロを併記（主は岩黒製作所のロゴ） */
.brand-sub { font-size: 13px; font-weight: 700; color: var(--ink-soft); letter-spacing: .06em; line-height: 1.3; }
.brand-sub small { display: block; font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: .08em; margin-bottom: 2px; }
/* トップ写真：左にライン全体、右上に調整する技術者、右下にPTPシート */
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; }
.hero-collage picture { min-height: 0; overflow: hidden; }
.hero-collage .hc-a { grid-row: 1 / 3; }
.hero-collage .hc-a img { object-position: 62% 50%; }
.hero-collage .hc-b img { object-position: 40% 40%; }
.hero-collage .hc-c img { object-position: 50% 55%; }
@media (max-width: 900px) { .hero-collage { gap: 4px; } }
@media (max-width: 900px) { .hero-collage { aspect-ratio: 4 / 3; } }
/* トップ：PTP包装ラインの全景を横いっぱいに。文字は左側に重ね、写真の左を暗くして読みやすくする */
@media (min-width: 901px) {
  .hero.hero-full { position: relative; display: block; overflow: hidden; }
  .hero-full .hero-photo { position: absolute; inset: 0; }
  .hero-full .hero-photo img { object-position: 60% 55%; }
  .hero-full .hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43,39,35,.95) 0%, rgba(43,39,35,.88) 36%, rgba(43,39,35,.4) 56%, rgba(43,39,35,0) 72%); }
  .hero-full .hero-body { position: relative; z-index: 1; min-height: inherit; max-width: calc(max(var(--gutter), (100vw - var(--wrap)) / 2) + 560px); }
}
/* 実写の製品写真（photo-*）は背景ごと見せる：余白・下端のフェードなし */
.p-figure:has(img[src*="photo-"]) img, .model-img:has(img[src*="photo-"]) img { padding: 0; -webkit-mask-image: none; mask-image: none; object-fit: cover; }
/* 会社紹介の写真：分包ラインの全体＋重量確認のアップ（左下に重ねる） */
.intro-photo.duo { position: relative; padding-bottom: 12%; }
.intro-photo.duo .duo-main img { aspect-ratio: 16 / 11; object-position: 55% 55%; }
.duo-inset { position: absolute; left: -6%; bottom: 0; width: 42%; margin: 0; border: 6px solid #fff; background: #fff; box-shadow: 0 10px 30px rgba(34,36,38,.18); }
.duo-inset img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 50%; display: block; width: 100%; }
@media (max-width: 900px) { .intro-photo.duo { padding-bottom: 18%; } .duo-inset { left: var(--gutter); width: 46%; border-width: 4px; } .intro-photo.duo .duo-main img { aspect-ratio: 16 / 10; } }
.fn { font-size: .7em; vertical-align: super; line-height: 0; margin-left: 1px; }
/* イワクロの表記を全画面幅で表示（v2.6） */
@media (max-width: 1080px) { .brand-sub { display: block; font-size: 11px; padding-left: 12px; } .brand { gap: 12px; } .brand-sub small { font-size: 9px; } }
@media (max-width: 560px) {
  .menu-btn { padding: 0 12px; min-width: 44px; }
  .menu-btn .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .brand { gap: 10px; min-width: 0; }
  .brand img { height: 20px; }
  .brand-sub { font-size: 10px; padding-left: 10px; letter-spacing: .02em; white-space: nowrap; }
  .brand-sub small { font-size: 8.5px; margin-bottom: 1px; }
}
@media (max-width: 360px) { .brand img { height: 17px; } .brand { gap: 8px; } .brand-sub { padding-left: 8px; font-size: 9.5px; } }
@media (min-width: 921px) and (max-width: 1000px) { .gnav { gap: 16px; } .gnav a { font-size: 13px; } .gnav-cta { padding-left: 16px; padding-right: 16px; } }
/* v2.7 ヘッダー：イワクロを岩黒製作所のロゴと同じ文字の大きさに（「株式会社」は小さく、下端をそろえる） */
.brand-sub, .brand-sub small { all: unset; }
.brand-sub { display: inline-flex; align-items: baseline; gap: .3em; font-family: var(--font-jp); font-weight: 700; color: var(--ink); white-space: nowrap;
  font-size: 20px; line-height: 1; letter-spacing: .16em; border-left: 1px solid var(--line); padding: .25em 0 .25em .7em; }
.brand-sub small { font-size: .64em; letter-spacing: .04em; font-weight: 700; }
.brand { gap: 14px; }
@media (max-width: 1080px) { .brand-sub { font-size: 18px; } }
@media (max-width: 920px) { .brand-sub { font-size: 16px; } .brand { gap: 12px; } }
@media (max-width: 560px) { .brand-sub { font-size: 13px; letter-spacing: .1em; padding-left: .6em; } .brand { gap: 8px; } }
@media (max-width: 360px) { .brand-sub { font-size: 11px; } }
@media (min-width: 921px) and (max-width: 1080px) { .brand img { height: 26px; } .brand-sub { font-size: 17px; letter-spacing: .12em; } .brand { gap: 10px; } }
@media (min-width: 921px) and (max-width: 1000px) { .gnav { gap: 12px; } .gnav .gnav-cta { padding: 10px 12px; } }
/* ライン構成（包装機 → 検査 → 集積・結束） */
.line-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); counter-reset: none; }
.line-flow li { position: relative; padding: 26px 40px 8px 0; }
.line-flow li + li { padding-left: 40px; border-left: 1px solid var(--line); }
.line-flow li:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 34px; width: 16px; height: 16px; background: var(--white); border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: rotate(45deg); z-index: 1; }
.line-flow .step { font-family: var(--font-num); color: var(--blue-text); font-size: 15px; letter-spacing: .08em; }
.line-flow h3 { margin-top: 6px; font-size: 20px; }
.line-flow p { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 860px) {
  .line-flow { grid-template-columns: 1fr; }
  .line-flow li, .line-flow li + li { padding: 22px 0 26px; border-left: 0; }
  .line-flow li + li { border-top: 1px solid var(--line); }
  .line-flow li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -9px; transform: translateX(-50%) rotate(135deg); }
}
.sec-head .side p.long, .page-head .lead.long { word-break: keep-all; }
/* Technology（トップ）：細い線のグリッドと英字キーワードで、精密さ・先進性を表す */
.section.tech { background: var(--white); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; background-position: -1px -1px; }
.section.tech .sec-head, .section.tech .tech-list { position: relative; }
.tech-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: var(--white); border: 1px solid var(--ink); }
.tech-list li { padding: 30px 28px 34px; }
.tech-list li + li { border-left: 1px solid var(--line); }
.tech-list .tk { display: block; font-family: var(--font-num); font-weight: 300; font-size: 22px; letter-spacing: .02em; color: var(--blue-text); line-height: 1.2; }
.tech-list h3 { margin-top: 18px; font-size: 20px; }
.tech-list p { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 1000px) { .tech-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tech-list li:nth-child(3) { border-left: 0; } .tech-list li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .tech-list { grid-template-columns: 1fr; } .tech-list li + li { border-left: 0; border-top: 1px solid var(--line); } }
.section.tech { background-image: linear-gradient(rgba(31,127,196,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(31,127,196,.08) 1px, transparent 1px); background-size: 40px 40px; }

/* v2.8 process step lead */
.flow p.step-lead { margin-top: 8px; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.6; }
@media (max-width: 760px) { .flow p.step-lead { font-size: 14px; } }
@media (max-width: 760px) { .flow p:not(.step-lead) { word-break: keep-all; overflow-wrap: anywhere; text-wrap: pretty; } }
.gallery figcaption .eq-role { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; color: var(--ink-soft); line-height: 1.6; }
.flow-visit { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.9; }
.flow-visit .tlink { margin-left: 12px; white-space: nowrap; }
.sec-head .side .tlink + .tlink { margin-left: 20px; }
@media (max-width: 760px) { .flow-visit .tlink { display: inline-block; margin: 8px 0 0; } .sec-head .side .tlink + .tlink { margin-left: 0; display: inline-block; margin-top: 8px; } }
.sec-head .side .tlink + .tlink { margin-left: 0; margin-top: 12px; display: table; }

/* v2.9 after service */
#service .sub-h { margin: 48px 0 0; font-size: 15px; color: var(--blue-text); letter-spacing: .04em; }
#service .sec-head + .sub-h { margin-top: 8px; }
#service .sub-h + .service, #service .sub-h + .svc-flow { margin-top: 16px; }
.service.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc-flow { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.svc-flow li { display: flex; gap: 14px; padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); }
.svc-flow li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.svc-flow .num { font-family: var(--font-num); font-size: 28px; line-height: 1; color: var(--blue-text); }
.svc-flow h4 { font-size: 16px; }
.svc-flow p { margin-top: 6px; font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
@media (max-width: 860px) {
  .service.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .svc-flow { grid-template-columns: 1fr; }
  .svc-flow li + li { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) { .service.cols-4 > * + * { margin-top: 0; border-top: 0; padding-top: 0; } .service.cols-4 > li { padding-bottom: 20px; } }
.service.grid6 > :nth-child(3n+1)::before { display: none; }
.service.grid6 > :nth-child(n+4) { margin-top: 8px; }

/* v3.0 consultation */
.consult { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.consult li { display: flex; flex-direction: column; padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); }
.consult li:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.consult h3 { font-size: 18px; line-height: 1.6; padding-left: 18px; position: relative; }
.consult h3::before { content: ""; position: absolute; left: 0; top: .35em; bottom: .35em; width: 3px; background: var(--blue); }
.consult p { margin-top: 12px; font-size: 14px; color: var(--ink-soft); line-height: 1.85; flex: 1; }
.consult .tlink { margin-top: 16px; align-self: flex-start; font-size: 14px; }
@media (max-width: 900px) {
  .consult { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consult li, .consult li:not(:nth-child(3n+1)) { padding: 24px 20px 26px 0; border-left: 0; }
  .consult li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .consult { grid-template-columns: 1fr; }
  .consult li, .consult li:nth-child(even) { padding: 22px 0 24px; border-left: 0; }
  .consult h3 { font-size: 16px; }
}
/* v3.1 tech: 3 items */
.tech-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .tech-list { grid-template-columns: 1fr; } .tech-list li + li { border-left: 0; border-top: 1px solid var(--line); } .tech-list li:nth-child(3) { border-left: 0; } }
/* v3.2 vision line in recruit band */
.recruit-band p.vision { margin: 0 0 40px; padding-bottom: 20px; max-width: none; border-bottom: 1px solid rgba(255,255,255,.28); display: inline-block; font-size: clamp(15px, 1.4vw, 18px); font-weight: 700; letter-spacing: .06em; color: #fff; }
.recruit-band p.vision span { display: block; font-family: var(--font-num); font-weight: 400; font-size: 13px; letter-spacing: .1em; color: rgba(255,255,255,.7); margin-bottom: 6px; }

/* v3.3 slimmer home */
.consult.compact li { padding: 0 !important; border-left: 0 !important; }
.consult.compact li a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px 28px 24px 0; color: inherit; text-decoration: none; }
.consult.compact li:not(:nth-child(3n+1)) a { padding-left: 28px; border-left: 1px solid var(--line); }
.consult.compact .q { font-size: 17px; font-weight: 700; line-height: 1.6; padding-left: 16px; border-left: 3px solid var(--blue); }
.consult.compact .to { margin-top: auto; font-size: 13px; color: var(--blue-text); font-weight: 700; padding-left: 19px; }
.consult.compact li a svg { display: none; }
.consult.compact li a:hover .q { color: var(--blue-text); }
@media (max-width: 900px) { .consult.compact li a, .consult.compact li:not(:nth-child(3n+1)) a { padding: 20px 16px 20px 0; border-left: 0; } .consult.compact li:nth-child(even) a { padding-left: 16px; border-left: 1px solid var(--line); } }
@media (max-width: 600px) { .consult.compact li a, .consult.compact li:nth-child(even) a { padding: 16px 0; border-left: 0; flex-direction: row; justify-content: space-between; align-items: center; } .consult.compact .q { font-size: 15px; } .consult.compact .to { margin: 0; white-space: nowrap; padding-left: 12px; } }
.flow.compact p.step-lead { margin-top: 6px; }
.contact-mini { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); }
.contact-mini h2 { font-size: clamp(24px, 2.6vw, 32px); }
.contact-mini h2 .en { display: block; font-family: var(--font-num); font-weight: 400; font-size: 14px; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.contact-mini .cm-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-mini .cm-tel { margin-top: 20px; font-size: 15px; }
.contact-mini .cm-tel a { font-family: var(--font-num); font-size: 22px; font-weight: 500; color: var(--ink); margin-left: 8px; }
.contact-mini .cm-tel span { margin-left: 20px; color: var(--muted); font-family: var(--font-num); }
@media (max-width: 600px) { .contact-mini .cm-row .btn { width: 100%; justify-content: space-between; } .contact-mini .cm-tel span { display: block; margin: 6px 0 0; } }
@media (max-width: 600px) {
  .tech-list li { padding: 22px 20px 24px; }
  .tech-list .tk { font-size: 17px; }
  .tech-list h3 { margin-top: 10px; font-size: 18px; }
  .tech-list p { font-size: 14px; line-height: 1.8; }
}
#service .svc-photo { margin: 8px 0 0; }
#service .svc-photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
#service .svc-photo + .sub-h { margin-top: 40px; }
@media (max-width: 760px) { #service .svc-photo img { aspect-ratio: 16 / 9; } }
.p-figure:has(img[src*="photo-pharma"]) img { aspect-ratio: 4 / 3; object-position: 50% 30%; }
.model-img:has(img[src*="photo-pharma"]) img { object-position: 50% 25%; }
/* v3.2 tech: 上の余白を詰める */
.section.tech { padding-top: 72px; }
@media (max-width: 760px) { .section.tech { padding-top: 48px; } }
.section:has(+ .section.tech) { padding-bottom: 72px; }
@media (max-width: 760px) { .section:has(+ .section.tech) { padding-bottom: 48px; } }
/* v3.3 控えめなリンク（ボタンを減らす） */
.more { display: inline-flex; align-items: center; gap: 14px; font-weight: 700; font-size: 15px; letter-spacing: .04em; color: var(--ink); text-decoration: none; padding: 6px 0; }
.more::after { content: ""; width: 26px; height: 10px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M0 5h24M20 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M0 5h24M20 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center / contain; transition: transform .2s ease; }
.more:hover { color: var(--blue-text); }
.more:hover::after { transform: translateX(4px); }
.more { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: rgba(127,127,127,.5); }
.dark .more, .hero .more, .recruit-band .more { color: #fff; }
.btn-row:has(.more) { gap: 12px 36px; align-items: center; }
@media (prefers-reduced-motion: reduce) { .more::after { transition: none; } }
/* v3.3 ご相談：動詞ラベル付きの写真 */
.consult-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.consult-cards a { display: flex; flex-direction: column; gap: 14px; height: 100%; color: inherit; text-decoration: none; }
.consult-cards figure { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.consult-cards figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.consult-cards .verb { position: absolute; left: 0; bottom: 0; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .08em; padding: 7px 14px; }
.consult-cards .q { font-size: 17px; font-weight: 700; line-height: 1.6; }
.consult-cards .more { margin-top: auto; font-size: 13px; color: var(--blue-text); }
.consult-cards a:hover .q { color: var(--blue-text); }
@media (max-width: 900px) { .consult-cards { grid-template-columns: 1fr; gap: 24px; } .consult-cards a { display: grid; grid-template-columns: 42% 1fr; grid-template-rows: auto 1fr; gap: 6px 16px; } .consult-cards figure { grid-row: 1 / span 2; aspect-ratio: 4 / 3; } .consult-cards .q { font-size: 15px; } .consult-cards .verb { font-size: 12px; padding: 5px 10px; } }
.consult-cards figure picture { display: block; width: 100%; height: 100%; }
@media (max-width: 900px) { .consult-cards .more::after { display: none; } .consult-cards .more { font-size: 12px; } }
/* v3.4 トップ写真を明るく */
.hero-full .hero-photo img { filter: brightness(1.12) saturate(1.05); }
.hero-full .hero-photo::after { background: linear-gradient(90deg, rgba(43,39,35,.82) 0%, rgba(43,39,35,.7) 34%, rgba(43,39,35,.28) 54%, rgba(43,39,35,0) 68%); }

/* 値が1列だけの仕様表（No.872）は横スクロールさせず、画面幅に収める */
.spec:not(:has(td + td)) { min-width: 0; }
.spec-hint:has(+ .spec-wrap thead th:nth-child(2):last-child) { display: none !important; }

/* 事業・設備の工程説明は文章が長いので、スマホでは1列にして読みやすくする */
@media (max-width: 560px) {
  #process .flow.cols-4 { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  #process .flow figure img { aspect-ratio: 16 / 9; }
  #process .flow p { font-size: 14px; }
}

/* ===== よくある質問 ===== */
.faq { max-width: 52em; }
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 48px; }
.faq-nav a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink-soft); text-decoration: none; }
.faq-nav a:hover { border-color: var(--ink); color: var(--ink); }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: clamp(20px, 2.2vw, 24px); padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; display: flex; gap: 14px; align-items: baseline; padding: 20px 44px 20px 0; font-weight: 700; line-height: 1.6; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: rotate(45deg); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item summary:hover { color: var(--blue-deep); }
.faq-item .q { flex: none; font-family: var(--font-num); font-weight: 600; font-size: 18px; color: var(--blue-text); width: 1.2em; }
.faq-item .a { display: flex; gap: 14px; padding: 0 0 24px; }
.faq-item .a .q { color: var(--muted); }
.faq-item .a p { margin: 0; line-height: 1.9; }
.faq-more { margin-top: 48px; }
@media (prefers-reduced-motion: reduce) { .faq-item summary::after { transition: none; } }
/* ===== 製品の動画・カタログ ===== */
.p-video { max-width: 880px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--steel); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.p-video .note-s { margin-top: 10px; }
.p-catalog { margin-top: 24px; }

/* 早見表：スマホでは横スクロールの表をやめ、剤形ごとの一覧で見せる */
.finder-list { display: none; }
@media (max-width: 760px) {
  .finder-wrap, .finder-hint { display: none !important; }
  .finder-list { display: grid; gap: 20px; }
  .fl-group { border-top: 2px solid var(--ink); }
  .fl-group h3 { margin: 0; padding: 12px 0 8px; font-size: 16px; }
  .fl-group ul { list-style: none; margin: 0; padding: 0; }
  .fl-group li + li { border-top: 1px solid var(--line); }
  .fl-group a { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; column-gap: 10px; row-gap: 2px; padding: 12px 4px; text-decoration: none; color: var(--ink); }
  .fl-group a::after { content: "→"; grid-column: 3; grid-row: 1 / span 2; align-self: center; color: var(--blue-text); }
  .fl-pack { font-size: 13px; color: var(--muted); grid-column: 1 / span 2; }
  .fl-no { font-family: var(--font-num); font-size: 17px; color: var(--blue-text); grid-column: 1; grid-row: 2; }
  .fl-name { font-size: 14px; font-weight: 700; grid-column: 2; grid-row: 2; }
}

/* ===== 英語ページ（/en/）と言語切替 ===== */
.gnav .gnav-lang { font-family: var(--font-num); font-weight: 500; font-size: 13px; letter-spacing: .04em; color: var(--muted); padding-left: clamp(14px, 1.9vw, 28px); border-left: 1px solid var(--line); }
.gnav .gnav-lang:hover { color: var(--ink); }
.gnav .gnav-lang::after { display: none; }
@media (max-width: 1080px) { .gnav .gnav-lang { padding-left: 0; border-left: 0; font-size: 15px; } }
html[lang="en"] body { font-family: var(--font-num), var(--font-jp); letter-spacing: 0; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { font-weight: 500; letter-spacing: 0; }
html[lang="en"] .page-head h1 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.25; max-width: 21em; }
html[lang="en"] .page-head .lead { max-width: 46em; }
html[lang="en"] p, html[lang="en"] li, html[lang="en"] td { line-height: 1.75; }
html[lang="en"] .gnav a { font-weight: 500; letter-spacing: .02em; font-size: 15px; }
html[lang="en"] .model h3 .en-no { font-weight: 400; opacity: .7; white-space: nowrap; }
html[lang="en"] .table th { width: 220px; font-weight: 500; }
@media (min-width: 1081px) and (max-width: 1220px) { .gnav { gap: 13px; } .gnav a { font-size: 13px; letter-spacing: .03em; } .gnav .gnav-lang { padding-left: 13px; font-size: 12px; } .gnav .gnav-cta { padding: 10px 14px; } }

/* ===== 2026-11-10 見直し：読みやすさ・押しやすさ ===== */
:root { --blue-text: #176aa6; }   /* 文字・ボタン用の一段濃い青（白地で5.8:1）。飾りの線などは --blue のまま */
.footer-nav a { padding: 7px 0; }
.footer-links a, .crumbs a { display: inline-block; padding: 4px 0; }
.footer-brand address a { display: inline-block; padding: 3px 0; }
@media (max-width: 1080px) { .brand-sub small { font-size: 10px; } }
.equip-hall { margin: 0 0 40px; }
.equip-hall img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 2px; }
@media (max-width: 760px) { .equip-hall img { aspect-ratio: 16 / 9; } }
@media (max-width: 374px) { .brand-sub small { font-size: 8px; } }
.contact-hub h3 { margin-top: 6px; font-size: 18px; line-height: 1.4; }
html[lang="en"] .contact-hub { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { html[lang="en"] .contact-hub { grid-template-columns: 1fr; } }
