@charset "UTF-8";

/* =========================================================
   竹田重工所  ─ 洗練デザイン案 (demo)
   モノトーン / 明朝見出し × サンセリフ本文 / 余白と細罫
   ========================================================= */

:root {
  --ink:    #141414;
  --ink-2:  #2b2b2b;
  --gray:   #5f5f5f;
  --gray-2: #8c8a86;
  --line:   #e3e0db;
  --line-2: #d2cec8;
  --paper:  #f6f4f1;
  --paper-2:#efece7;
  --white:  #ffffff;

  --serif: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --sans:  "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
           "Yu Gothic", "YuGothic", Meiryo, sans-serif;

  --wrap: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 32px; }
.section { padding: clamp(72px, 11vw, 150px) 0; }
.section--paper { background: var(--paper); }

/* ---------- 共通: kicker / 見出し ---------- */
.kicker {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gray-2);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.kicker::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--gray-2);
}
.kicker--light { color: rgba(255,255,255,.7); }
.kicker--light::before { background: rgba(255,255,255,.6); }

.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.3;
  letter-spacing: .04em;
  color: var(--ink);
}

/* ---------- ボタン ---------- */
.btn {
  --b: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 38px;
  font-size: .9rem;
  letter-spacing: .12em;
  border: 1px solid var(--b);
  overflow: hidden;
  transition: color .45s var(--ease);
  z-index: 0;
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--b);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform .45s var(--ease);
  z-index: -1;
}
.btn:hover::after { transform: scaleX(0); transform-origin: right; }

.btn--solid { color: var(--white); }
.btn--solid:hover { color: var(--ink); }

.btn--ghost { --b: var(--ink); color: var(--ink); }
.btn--ghost::after { transform: scaleX(0); transform-origin: right; }
.btn--ghost:hover::after { transform: scaleX(1); transform-origin: left; }
.btn--ghost:hover { color: var(--white); }

.split > picture {
  min-width: 0;
}

.split > picture img {
  display: block;
  width: 100%;
  height: auto;
}

.btn--light { --b: rgba(255,255,255,.8); color: var(--white); }
.btn--light::after { background: var(--white); }
.btn--light:hover { color: var(--ink); }

/* ---------- テキストリンク ---------- */
.textlink {
  position: relative;
  font-size: .9rem;
  letter-spacing: .08em;
  padding-bottom: 4px;
  color: var(--ink);
  align-self: flex-end;
}
.textlink::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.textlink:hover::after { transform: scaleX(0); transform-origin: left; }
.textlink::before {
  content: "→"; margin-right: 8px;
  display: inline-block;
  transition: transform .4s var(--ease);
}
.textlink:hover::before { transform: translateX(6px); }

/* =========================================================
   ヘッダー / ナビ
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  height: var(--header-h);
  padding-inline: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.1;
  color: var(--white);
  transition: color .4s var(--ease);
}
/* ヘッダーのロゴ＋社名を横並びに */
.site-header .brand { display: flex; align-items: center; gap: 12px; }
.brand__logo {
  flex: none;
  width: 43px;
  height: 40px;
  /* 透過ヘッダー（ヒーロー上）では白版ロゴ */
  background: center / contain no-repeat url('images/logo-white.png');
}
/* スクロール後（白背景）は通常版ロゴ */
.site-header.is-scrolled .brand__logo { background-image: url('images/logo-dark.png'); }
.brand__en {
  display: block;
  font-family: var(--sans);
  font-size: .56rem;
  letter-spacing: .1em;
  line-height: 1.5;
  font-weight: 400;
  margin-top: 5px;
  opacity: .7;
}
.brand__tag { display: block; letter-spacing: .04em; opacity: .85; }
/* スマホではヘッダーロゴの英字を省略し、社名のみ表示 */
@media (max-width: 820px) {
  .site-header .brand__en { display: none; }
  .brand { font-size: 1.15rem; }
  .brand__logo { width: 35px; height: 32px; }
}

/* ヘッダー: スクロール後 */
.site-header.is-scrolled {
  background: rgba(255,255,255,.97);
  border-color: var(--line);
}
.site-header.is-scrolled .brand { color: var(--ink); }
.site-header.is-scrolled .gnav__list a { color: var(--ink-2); }
.site-header.is-scrolled .gnav__sns-link { color: var(--ink-2); }
.site-header.is-scrolled .gnav__cta { border-color: var(--ink); color: var(--ink); }
.site-header.is-scrolled .burger span,
.site-header.is-scrolled .burger span::before,
.site-header.is-scrolled .burger span::after { background: var(--ink); }

.gnav { display: flex; align-items: center; gap: 40px; }
.gnav__list { display: flex; gap: 30px; }
.gnav__actions { display: flex; align-items: center; gap: 16px; }
.gnav__sns { display: flex; align-items: center; gap: 12px; }
.gnav__sns-link {
  display: flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  line-height: 0;
  color: rgba(255,255,255,.85);
  cursor: pointer;
  text-decoration: none;
  transition: color .3s var(--ease), opacity .3s var(--ease);
}
.gnav__sns-link svg {
  display: block;
  flex: none;
  width: 22px;
  height: 22px;
  overflow: visible;
}
.gnav__sns-link svg { width: 22px; height: 22px; }
.gnav__sns-link:hover { opacity: .65; }
.gnav__list a {
  position: relative;
  font-size: .82rem;
  letter-spacing: .08em;
  color: rgba(255,255,255,.85);
  transition: color .4s var(--ease);
  padding: 6px 0;
}
.gnav__list a span {
  font-size: .6rem;
  letter-spacing: .1em;
  margin-right: 6px;
  opacity: .55;
}
.gnav__list a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.gnav__list a:hover::after,
.gnav__list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.gnav__cta {
  font-size: .8rem;
  letter-spacing: .1em;
  padding: 11px 22px;
  border: 1px solid rgba(255,255,255,.7);
  color: var(--white);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.gnav__cta:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ハンバーガー */
.nav-toggle { display: none; }
.burger { display: none; width: 40px; height: 40px; position: relative; cursor: pointer; }
.nav-overlay { display: none; }
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  position: absolute; left: 8px;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: transform .35s var(--ease), opacity .35s var(--ease), background .4s var(--ease);
}
.burger span { top: 19px; }
.burger span::before { top: -7px; }
.burger span::after  { top: 7px; }

/* =========================================================
   ヒーロー
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.72) 0%, rgba(15,15,15,.55) 45%, rgba(10,10,10,.8) 100%),
    repeating-linear-gradient(115deg, #2a2a2a 0 38px, #232323 38px 76px),
    radial-gradient(120% 80% at 70% 20%, #3a3a3a 0%, #1a1a1a 70%);
  transform: scale(1.08);
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero__inner { position: relative; max-width: var(--wrap); width: 100%; margin-inline: auto; padding: 0 32px; }
.hero__catch {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  line-height: 1.18;
  letter-spacing: .06em;
  margin: 8px 0 30px;
}
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span {
  display: block;
  transform: translateY(110%);
  animation: lineUp 1s var(--ease) forwards;
}
.reveal-line:nth-child(1) > span { animation-delay: .25s; }
.reveal-line:nth-child(2) > span { animation-delay: .42s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero__lead {
  font-size: clamp(.95rem, 2vw, 1.12rem);
  line-height: 2;
  color: rgba(255,255,255,.85);
  opacity: 0;
  animation: fadeUp 1s var(--ease) .7s forwards;
}
.hero__actions {
  margin-top: 44px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease) .85s forwards;
}
.hero .btn--solid { --b: var(--white); color: var(--ink); }
.hero .btn--solid:hover { color: var(--white); }
.hero .btn--ghost { --b: rgba(255,255,255,.75); color: var(--white); }

.hero__scroll {
  position: absolute; left: 32px; bottom: 30px;
  font-size: .62rem; letter-spacing: .3em;
  color: rgba(255,255,255,.7);
  display: flex; align-items: center; gap: 14px;
  writing-mode: vertical-rl;
  opacity: 0; animation: fadeUp 1s var(--ease) 1.1s forwards;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 56px;
  background: linear-gradient(rgba(255,255,255,.7), transparent);
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine { 0%{transform:scaleY(0);transform-origin:top} 45%{transform:scaleY(1);transform-origin:top} 55%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

.hero__index {
  position: absolute; right: -10px; bottom: 40px;
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: .8rem; letter-spacing: .35em;
  color: rgba(255,255,255,.4);
}

/* =========================================================
   イントロ
   ========================================================= */
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 90px);
}
.intro__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.6;
  letter-spacing: .05em;
  color: var(--ink);
}
.intro__body p { margin-bottom: 26px; color: var(--gray); }
.intro__body .textlink { align-self: auto; }

/* =========================================================
   数値
   ========================================================= */
.metrics { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: clamp(48px, 7vw, 88px) 32px;
  gap: 24px;
}
.metric { text-align: center; position: relative; }
.metric + .metric::before {
  content: ""; position: absolute; left: 0; top: 10%;
  height: 80%; width: 1px; background: var(--line);
}
.metric__num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1;
  letter-spacing: .02em;
  color: var(--ink);
}
.metric__num i { font-style: normal; font-size: .32em; margin-left: 6px; letter-spacing: .1em; }
.metric__label { margin-top: 16px; font-size: .82rem; letter-spacing: .08em; color: var(--gray-2); }
.metrics__note { padding-top: 0; font-size: .72rem; color: var(--gray-2); text-align: center; }

/* =========================================================
   事業内容 (editorial list)
   ========================================================= */
.biz {
  display: grid;
  grid-template-columns: 64px 220px 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding: 34px 8px;
  border-top: 1px solid var(--line);
  transition: padding-left .45s var(--ease);
}
.biz-list > li:last-child .biz { border-bottom: 1px solid var(--line); }
.biz:hover { padding-left: 24px; }
.biz__no { font-family: var(--serif); font-size: 1.1rem; color: var(--gray-2); }
.biz__media { overflow: hidden; }
.biz__media .ph { aspect-ratio: 16/10; transition: transform .6s var(--ease); }
.biz:hover .biz__media .ph { transform: scale(1.06); }
.biz__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  letter-spacing: .04em;
  color: var(--ink);
  margin-bottom: 10px;
}
.biz__text { font-size: .92rem; color: var(--gray); max-width: 42ch; }
.biz__arrow {
  font-size: 1.3rem; color: var(--gray-2);
  transition: transform .45s var(--ease), color .45s var(--ease);
}
.biz:hover .biz__arrow { transform: translateX(10px); color: var(--ink); }

/* =========================================================
   製作実績
   ========================================================= */
.works__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
}
.work { display: block; margin: 0; overflow: hidden; color: inherit; }
.work__img { aspect-ratio: 3/2; transition: transform .7s var(--ease); }
.work:hover .work__img { transform: scale(1.05); }
.work__cap {
  margin-top: 16px;
  font-size: .9rem;
  letter-spacing: .04em;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 12px;
}
.work__cat {
  font-size: .68rem; letter-spacing: .12em;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  color: var(--gray);
}

/* =========================================================
   強み
   ========================================================= */
.strength__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.pillar {
  padding: clamp(36px, 4vw, 56px) clamp(20px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.pillar:first-child { border-left: 1px solid var(--line); }
.pillar__no {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--line-2);
  line-height: 1;
  margin-bottom: 28px;
}
.pillar__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: .04em;
  color: var(--ink);
  margin-bottom: 14px;
}
.pillar__text { font-size: .9rem; color: var(--gray); }

/* =========================================================
   採用
   ========================================================= */
.recruit {
  position: relative;
  color: var(--white);
  overflow: hidden;
  padding: clamp(90px, 14vw, 180px) 0;
}
.recruit__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12,12,12,.85), rgba(20,20,20,.55)),
    repeating-linear-gradient(115deg, #292929 0 38px, #212121 38px 76px);
}
.recruit__inner { position: relative; max-width: 640px; }
.recruit__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 5.2vw, 2.7rem);
  line-height: 1.5;
  letter-spacing: .03em;
  margin-bottom: 22px;
  word-break: keep-all;
}
.recruit__text { color: rgba(255,255,255,.8); margin-bottom: 38px; }

/* =========================================================
   CTA
   ========================================================= */
.cta { text-align: center; }
.cta__inner { max-width: 720px; margin-inline: auto; }
.cta .kicker { justify-content: center; }
.cta .kicker::before { display: none; }
.cta__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.55rem, 5vw, 2.8rem);
  line-height: 1.5;
  letter-spacing: .03em;
  color: var(--ink);
  margin-bottom: 22px;
  word-break: keep-all;
}
.cta__text { color: var(--gray); margin-bottom: 40px; }
.cta__tel { margin-top: 30px; font-size: .9rem; letter-spacing: .06em; color: var(--gray); }
.cta__tel a { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }

/* =========================================================
   フッター
   ========================================================= */
.site-footer { background: var(--ink); color: rgba(255,255,255,.65); padding-top: 80px; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.brand--footer { color: var(--white); display: flex; align-items: center; gap: 12px; }
.brand--footer .brand__logo { background-image: url('images/logo-white.png'); }
.site-footer__desc { margin-top: 20px; font-size: .85rem; line-height: 1.9; }
.site-footer__nav { display: flex; flex-direction: column; gap: 12px; }
.site-footer__nav a { font-size: .88rem; transition: color .3s var(--ease); width: max-content; }
.site-footer__nav a:hover { color: var(--white); }
.site-footer__contact p { font-size: .85rem; margin-bottom: 8px; }
.site-footer__sns { display: flex; gap: 18px; margin-top: 16px; }
.site-footer__sns a {
  font-size: .8rem; letter-spacing: .06em;
  padding-bottom: 3px; border-bottom: 1px solid rgba(255,255,255,.3);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.site-footer__sns a:hover { color: var(--white); border-color: var(--white); }
.site-footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 26px; padding-bottom: 30px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .75rem; letter-spacing: .06em;
}
.site-footer__bottom small { color: rgba(255,255,255,.45); }
.site-footer__back { color: rgba(255,255,255,.6); transition: color .3s var(--ease); }
.site-footer__back:hover { color: var(--white); }

/* 右下の最新情報 */
.latest-popup {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  width: min(290px, calc(100vw - 44px));
  padding: 20px 22px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line-2);
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.latest-popup.is-dragging { cursor: grabbing; }
.latest-popup.is-hidden { display: none; }
.latest-popup__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.latest-popup__label {
  font-size: .66rem;
  letter-spacing: .16em;
  color: var(--gray-2);
  text-transform: uppercase;
}
.latest-popup__close {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gray);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.latest-popup__close:hover { color: var(--ink); }
.latest-popup-toggle {
  display: none;
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  padding: 11px 16px;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .08em;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
  cursor: pointer;
}
.latest-popup.is-hidden + .latest-popup-toggle { display: block; }
.latest-popup-toggle:hover { background: var(--ink); color: var(--white); }
.latest-popup__title {
  margin-top: 7px;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}
.latest-popup__empty {
  margin-top: 13px;
  font-size: .8rem;
  color: var(--gray);
}
.latest-popup__link {
  display: inline-flex;
  gap: 8px;
  margin-top: 13px;
  padding-bottom: 2px;
  font-size: .8rem;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}
.latest-popup__link:hover { opacity: .65; }

/* 最新情報一覧 */
.news-list { border-top: 1px solid var(--ink); }
.news-list__item { border-bottom: 1px solid var(--line); }
.news-list__item a,
.news-list__item > div {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 8px;
}
.news-list__date { font-size: .82rem; color: var(--gray-2); letter-spacing: .06em; }
.news-list__title { color: var(--ink); }
.news-list__arrow { color: var(--gray); }
.news-list__empty { padding: 34px 8px; color: var(--gray); }

/* =========================================================
   プレースホルダー
   ========================================================= */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(45deg, #dedbd6 0 14px, #e9e6e1 14px 28px);
  border: 1px solid var(--line);
}
.ph::after {
  content: "PHOTO";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .68rem; letter-spacing: .3em; color: var(--gray-2);
}
/* 実画像を入れる場合（img.ph） */
img.ph {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: none;
  border: none;
}
img.ph::after { content: none; }

/* 認定バッジ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-2);
  padding: 9px 18px;
  font-size: .76rem;
  letter-spacing: .1em;
  color: var(--gray);
}
.badge--light { border-color: rgba(255,255,255,.45); color: rgba(255,255,255,.85); }

/* =========================================================
   下層ページ ─ ページ見出し / パンくず
   ========================================================= */
.page-hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(70px, 11vw, 130px)) 0 clamp(50px, 8vw, 90px);
}
.page-hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,12,12,.78), rgba(18,18,18,.62)),
    repeating-linear-gradient(115deg, #2a2a2a 0 38px, #232323 38px 76px),
    radial-gradient(120% 90% at 75% 10%, #383838 0%, #1a1a1a 72%);
}
.page-hero__inner { position: relative; }
.page-hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  letter-spacing: .07em;
  line-height: 1.25;
}
.page-hero__en {
  display: block;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .3em;
  color: rgba(255,255,255,.6);
  margin-top: 14px;
  text-transform: uppercase;
}

.crumb {
  border-bottom: 1px solid var(--line);
  font-size: .76rem;
  letter-spacing: .06em;
  color: var(--gray-2);
}
.crumb__inner { padding: 18px 0; }
.crumb a { transition: color .3s var(--ease); }
.crumb a:hover { color: var(--ink); }
.crumb span { margin: 0 10px; color: var(--line-2); }

/* ページ導入リード */
.lead-block { max-width: 760px; margin-bottom: clamp(40px, 6vw, 70px); }
.lead-block .section-title { margin-bottom: 24px; }
.lead-block p { color: var(--gray); }

/* =========================================================
   下層ページ ─ 仕様テーブル
   ========================================================= */
.spec { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.spec th, .spec td {
  text-align: left;
  vertical-align: top;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
  line-height: 1.8;
}
.spec th {
  width: 26%;
  white-space: nowrap;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink);
}
.spec td { color: var(--gray); }
.spec--data { border-top: 1px solid var(--ink); }
.spec--data thead th {
  background: var(--ink);
  color: var(--white);
  width: auto;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: .08em;
  white-space: nowrap;
  font-size: .82rem;
}
.spec--data td { color: var(--ink-2); }
.table-scroll { overflow-x: auto; }

/* =========================================================
   下層ページ ─ 設備グリッド
   ========================================================= */
.eq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.eq {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.eq__media .ph { aspect-ratio: 4/3; border: none; }
.eq__body { padding: 24px 22px 28px; }
.eq__no { font-family: var(--serif); font-size: .9rem; color: var(--gray-2); }
.eq__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .04em;
  color: var(--ink);
  margin: 6px 0 8px;
}
.eq__text { font-size: .82rem; color: var(--gray); line-height: 1.7; }

/* =========================================================
   下層ページ ─ チェックリスト / ステップ
   ========================================================= */
.checks { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.checks li {
  position: relative;
  padding-left: 26px;
  color: var(--gray);
  font-size: .95rem;
}
.checks li::before {
  content: "";
  position: absolute; left: 0; top: .7em;
  width: 9px; height: 9px;
  background: var(--ink);
}

.flow { counter-reset: flow; border-top: 1px solid var(--line); }
.flow li {
  counter-increment: flow;
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
}
.flow li::before {
  content: counter(flow, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--line-2);
  line-height: 1;
}
.flow__time {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: .04em;
}
.flow__body h3 { font-size: 1.05rem; font-family: var(--serif); font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.flow__body p { font-size: .9rem; color: var(--gray); }

/* 2カラム情報ブロック */
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
.split.company-message {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}
.split.company-message > picture {
  display: block;
  width: 100%;
  min-width: 0;
}
.split.company-message > div {
  min-width: 0;
}
.split.company-message > picture img {
  display: block;
  width: 100%;
  height: auto;
}
/* 採用ページ：代表メッセージは画像と本文を横並びにする */
.recruit-message {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.recruit-message picture,
.recruit-message img {
  min-width: 0;
}
.recruit-message picture {
  display: block;
}
.recruit-message img {
  display: block;
  width: 100%;
  height: auto;
}
.info-card { border: 1px solid var(--line); padding: clamp(26px, 3vw, 38px); background: var(--white); }
.info-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: .04em;
  color: var(--ink);
  margin-bottom: 18px;
}
.quote {
  border-left: 2px solid var(--ink);
  padding: 8px 0 8px 26px;
  margin-top: 28px;
  font-size: .95rem;
  color: var(--gray);
}
.note { font-size: .76rem; color: var(--gray-2); margin-top: 18px; }

/* =========================================================
   製作実績アーカイブ（CSV連携）
   ========================================================= */
.works-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: clamp(32px, 5vw, 48px);
}
.works-filter__field { display: flex; flex-direction: column; gap: 6px; }
.works-filter__label {
  font-size: .72rem; letter-spacing: .14em; color: var(--gray-2);
  text-transform: uppercase;
}
.works-filter select {
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-2);
  padding: 11px 38px 11px 14px;
  min-width: 200px;
  cursor: pointer;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gray) 50%),
    linear-gradient(135deg, var(--gray) 50%, transparent 50%);
  background-position: calc(100% - 18px) center, calc(100% - 13px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.works-filter select:focus { outline: none; border-color: var(--ink); }
.works-count { font-size: .85rem; color: var(--gray-2); margin-bottom: 24px; }

.works-archive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}
.wcard { display: block; color: inherit; }
.wcard__media { overflow: hidden; background: var(--paper-2); }
.wcard__media img,
.wcard__media .ph { aspect-ratio: 4 / 3; transition: transform .6s var(--ease); }
.wcard:hover .wcard__media img { transform: scale(1.05); }
.wcard__info { padding-top: 16px; }
.wcard__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.wcard__cat {
  font-size: .68rem; letter-spacing: .1em;
  padding: 4px 10px; border: 1px solid var(--line-2); color: var(--gray);
}
.wcard__year { font-size: .8rem; color: var(--gray-2); letter-spacing: .04em; }
.wcard__title {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.05rem; letter-spacing: .03em; color: var(--ink); line-height: 1.5;
}
.wcard__note { font-size: .82rem; color: var(--gray); margin-top: 6px; }
.works-empty { color: var(--gray-2); padding: 40px 0; }

@media (max-width: 900px) { .works-archive { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .works-archive { grid-template-columns: 1fr; }
  .works-filter select { min-width: 0; width: 100%; }
  .works-filter__field { flex: 1 1 100%; }
}

/* =========================================================
   事業フロー（テスト）─ 特長グリッド & 製作の流れ
   ========================================================= */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feat {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(24px, 2.4vw, 34px) clamp(16px, 1.6vw, 22px);
  text-align: center;
}
.feat__no { font-family: var(--serif); font-size: 1.4rem; color: var(--line-2); line-height: 1; }
.feat__title {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.02rem; letter-spacing: .03em; color: var(--ink);
  margin: 12px 0 8px;
}
.feat__text { font-size: .78rem; line-height: 1.7; letter-spacing: 0; color: var(--gray); }

/* 製作の流れ（画像＋テキストの左右交互） */
.flow-steps { display: grid; gap: clamp(44px, 6vw, 80px); }
.flowstep {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}
.flowstep:nth-child(even) .flowstep__media { order: 2; }
.flowstep__media { overflow: hidden; }
.flowstep__media .ph,
.flowstep__media img.ph { aspect-ratio: 4 / 3; }
.flowstep__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.flowstep__no {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1; color: var(--line-2);
}
.flowstep__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: .04em; color: var(--ink);
}
.flowstep__text { color: var(--gray); font-size: .95rem; }
.flowstep__callout {
  margin-top: 20px;
  border-left: 2px solid var(--ink);
  background: var(--paper);
  padding: 16px 20px;
}
.flowstep__callout h4 {
  font-family: var(--serif); font-weight: 600; font-size: .98rem;
  color: var(--ink); margin-bottom: 6px;
}
.flowstep__callout p { font-size: .85rem; color: var(--gray); }
.flowstep__callout a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.flowstep__callout a:hover { opacity: .65; }

@media (max-width: 980px) {
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .flowstep { grid-template-columns: 1fr; gap: 20px; }
  .flowstep:nth-child(even) .flowstep__media { order: 0; }
  .flowstep__media { order: -1; }
}
@media (max-width: 560px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* セクション見出し下のリード文 */
.section-head .section__lead {
  margin-top: 16px;
  max-width: 760px;
  color: var(--gray);
  font-size: .95rem;
}
.section-head--row .section__lead { margin-top: 12px; }

/* 職種カードの「目安年数」ラベル */
.pillar__years {
  display: inline-block;
  margin-left: 12px;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--gray);
  border: 1px solid var(--line-2);
  padding: 2px 9px;
  vertical-align: middle;
  white-space: nowrap;
}

/* 社員の声カードの職種ラベル */
.voice__role {
  display: inline-block;
  margin-left: 10px;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--white);
  background: var(--gray-700);
  padding: 3px 10px;
  vertical-align: middle;
}
.info-card .card__text { font-size: .9rem; color: var(--gray); margin-bottom: 12px; }
.info-card .card__text:last-child { margin-bottom: 0; }

/* SDGs宣言書 */
.sdgs-doc { margin: 0; text-align: center; }
.sdgs-doc img {
  display: inline-block;
  width: 100%;
  max-width: 860px;
  height: auto;
  aspect-ratio: auto;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}
.sdgs-doc figcaption {
  margin-top: 16px;
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--gray-2);
}

/* アクセスマップ */
.map {
  aspect-ratio: 21 / 9;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-alt, var(--paper-2));
}
@media (max-width: 600px) { .map { aspect-ratio: 4 / 3; } }

/* =========================================================
   下層ページ ─ フォーム
   ========================================================= */
.form { max-width: 760px; }
.form__row { margin-bottom: 30px; }
.form__label {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  color: var(--ink);
  margin-bottom: 12px;
}
.form__label .req {
  font-family: var(--sans);
  font-weight: 400;
  font-size: .64rem;
  letter-spacing: .12em;
  color: var(--white);
  background: var(--ink-2);
  padding: 3px 9px;
  margin-left: 10px;
  vertical-align: middle;
}
.form__label .opt {
  font-family: var(--sans);
  font-weight: 400;
  font-size: .64rem;
  letter-spacing: .12em;
  color: var(--gray);
  border: 1px solid var(--line-2);
  padding: 2px 9px;
  margin-left: 10px;
  vertical-align: middle;
}
.field {
  width: 100%;
  padding: 15px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-2);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--paper-2);
}
textarea.field { min-height: 170px; resize: vertical; }
.form__note { font-size: .78rem; color: var(--gray-2); margin-top: 8px; }
.form__submit { margin-top: 38px; text-align: center; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { display: none; margin: 0 0 28px; padding: 16px 20px; font-size: .9rem; line-height: 1.7; border: 1px solid var(--line); }
.form__status.is-visible { display: block; }
.form__status--ok { border-color: var(--ink); background: var(--paper); color: var(--ink); }
.form__status--err { border-color: #b23; background: #fdf3f3; color: #922; }

/* =========================================================
   スクロール演出
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-line > span, .hero__lead, .hero__actions, .hero__scroll, .hero__bg {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 980px) {
  .gnav__list { gap: 22px; }
  .gnav { gap: 26px; }
  .biz { grid-template-columns: 48px 160px 1fr auto; gap: 24px; }
}

@media (max-width: 820px) {
  :root { --header-h: 68px; }

  /* ナビをドロワー化 */
  .burger { display: block; }
  .gnav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 360px);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .5s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,.12);
  }
  .gnav__list { flex-direction: column; gap: 0; width: 100%; }
  .gnav__actions { flex-direction: column; align-items: stretch; width: 100%; gap: 18px; }
  .gnav__sns { gap: 18px; margin-top: 26px; }
  .gnav__sns-link { width: 28px; height: 28px; color: var(--ink-2); }
  .gnav__sns-link svg { width: 21px; height: 21px; }
  .gnav__list a {
    color: var(--ink-2);
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .gnav__list a::after { display: none; }
  .gnav__cta {
    margin-top: 28px;
    color: var(--ink);
    border-color: var(--ink);
    width: 100%;
    text-align: center;
  }
  /* 背景を暗くするオーバーレイ（メニューと背景の同化を防ぐ） */
  .gnav { z-index: 2; }
  .brand, .burger { position: relative; z-index: 3; }
  .nav-overlay {
    display: block;
    position: fixed; inset: 0;
    background: rgba(15, 15, 15, .55);
    opacity: 0; visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s var(--ease);
    z-index: 1; border: 0; cursor: pointer;
  }
  .nav-toggle:checked ~ .nav-overlay { opacity: 1; visibility: visible; }

  .nav-toggle:checked ~ .gnav { transform: translateX(0); }
  .nav-toggle:checked ~ .burger span { background: transparent; }
  .nav-toggle:checked ~ .burger span::before { transform: translateY(7px) rotate(45deg); background: var(--ink); }
  .nav-toggle:checked ~ .burger span::after  { transform: translateY(-7px) rotate(-45deg); background: var(--ink); }

  .intro__grid { grid-template-columns: 1fr; gap: 36px; }
  .metric + .metric::before { display: none; }
  .biz {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 30px 0;
  }
  .biz:hover { padding-left: 0; }
  .biz__no { font-size: 1rem; }
  .biz__media { order: -1; }
  .biz__media .ph { aspect-ratio: 16/9; }
  .biz__arrow { display: none; }
  .strength__grid { grid-template-columns: 1fr; border-left: 1px solid var(--line); }
  .pillar { border-right: 1px solid var(--line); }

  .eq-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .spec th { width: 32%; padding: 18px 16px; }
  .spec td { padding: 18px 16px; }
}

@media (max-width: 600px) {
  .latest-popup { right: 14px; bottom: 14px; padding: 16px 18px; }
  .latest-popup-toggle { right: 14px; bottom: 14px; }
  .news-list__item a,
  .news-list__item > div { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .news-list__date { grid-column: 1 / -1; }
  .wrap, .site-header__inner, .hero__inner { padding-inline: 22px; }
  .metrics__grid { grid-template-columns: 1fr; gap: 40px; }
  .metric + .metric { padding-top: 40px; border-top: 1px solid var(--line); }
  .works__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .hero__index { display: none; }
  .hero__catch { font-size: clamp(1.8rem, 8.4vw, 2.6rem); letter-spacing: .02em; }
  .hero__scroll { display: none; }

  .eq-grid { grid-template-columns: 1fr; }
  .spec, .spec--data { display: block; }
  .spec tbody, .spec tr { display: block; }
  .spec th, .spec td { display: block; width: 100%; border-bottom: none; padding: 12px 14px; }
  .spec th { padding-bottom: 0; }
  .spec td { padding-top: 6px; }
  .spec tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .spec--data thead { display: none; }
  .flow li { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .flow li::before { position: absolute; right: 0; top: 22px; }
  .form__submit .btn { width: 100%; justify-content: center; }
}

@media (max-width: 600px) {
  .split.company-message { grid-template-columns: 1fr; }
}
