/* ================================================================
   伸和建装 — style.css
   ================================================================ */

/* ─── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', 'Noto Sans JP', sans-serif;
  font-weight: 300;
  background: #f0efeb;
  color: #1e1e1c;
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
  cursor: none; /* カスタムカーソル使用 */
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; cursor: none; }
button { cursor: none; }
/* 運用: 問い合わせフォームのスパム用ハニーポット（表示・レイアウトに影響しない） */
#contact-form {
  position: relative;
}
.hp-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none;
}
.img-missing {
  position: relative;
  min-height: 180px;
  background:
    linear-gradient(135deg, rgba(30,30,28,.08), rgba(30,30,28,.02)),
    var(--bg2);
}
.img-missing img { display: none; }
.img-missing::after {
  content: attr(aria-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--ink3);
  font-size: 11px;
  letter-spacing: .16em;
  text-align: center;
}

/* ─── TOKENS ──────────────────────────────────────────────────── */
:root {
  --bg:      #f0efeb;
  --bg2:     #e6e4de;
  --bg3:     #d0cdc6;
  --ink:     #1e1e1c;
  --ink2:    #5a5a56;
  --ink3:    #9a9890;
  --white:   #faf9f7;
  --dark:    #181816;
  --dark2:   #222220;
  --rule:    #d0cdc6;
  --ff-cond: 'Barlow Condensed', sans-serif;
  --ff-disp: 'Syne', sans-serif;
  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
}

/* ─── GRAIN OVERLAY ──────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 8000;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* (loader removed) */

/* ─── CUSTOM CURSOR ───────────────────────────────────────────── */
#c-dot {
  position: fixed;
  width: 5px; height: 5px;
  background: var(--ink);
  border-radius: 50%;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: background .2s, transform .15s;
  will-change: left, top;
}
#c-ring {
  position: fixed;
  width: 34px; height: 34px;
  border: 1px solid rgba(30,30,28,.28);
  border-radius: 50%;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  transition: width .35s var(--ease), height .35s var(--ease),
              border-color .25s, background .25s;
  will-change: left, top;
}
body.cursor-hover #c-ring {
  width: 52px; height: 52px;
  border-color: rgba(30,30,28,.55);
}
body.cursor-link #c-dot { transform: translate(-50%,-50%) scale(3); }
body.cursor-img  #c-ring {
  width: 72px; height: 72px;
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.06);
}

/* ─── LABEL ───────────────────────────────────────────────────── */
.label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink3);
}
.label--light { color: rgba(255,255,255,.35); }

/* ─── SCROLL REVEAL SYSTEM ───────────────────────────────────── */
.sr {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.sr.in { opacity: 1; transform: none; }

/* stagger delays */
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }

/* line-by-line reveal */
.line-wrap { overflow: hidden; }
.line-inner {
  display: block;
  transform: translateY(106%);
  transition: transform .95s var(--ease);
}
.line-wrap.in .line-inner { transform: translateY(0); }

/* clip-path reveal (横から展開) */
.cr {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s var(--ease);
}
.cr.in { clip-path: inset(0 0% 0 0); }

/* ─── HEADER ──────────────────────────────────────────────────── */
#hd {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
}
.hd-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 40px;
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.hd-bar.bg {
  background: rgba(24,24,22,.97);
  border-color: rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.logo {
  font-family: var(--ff-cond);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .16em;
  color: #fff;
  line-height: 1;
  position: relative;
}
.logo-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .24em;
  color: rgba(255,255,255,.22);
  display: block;
  margin-top: 4px;
}
.hd-nav {
  display: flex;
  align-items: center;
  gap: 38px;
}
.hd-nav a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .12em;
  color: rgba(255,255,255,.45);
  transition: color .25s;
  position: relative;
}
.hd-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: rgba(255,255,255,.5);
  transition: width .3s var(--ease);
}
.hd-nav a:hover { color: rgba(255,255,255,.9); }
.hd-nav a:hover::after { width: 100%; }
.hd-cta {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.14);
  padding: 9px 20px;
  transition: color .25s, border-color .25s, background .25s;
}
.hd-cta:hover {
  color: #fff;
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.05);
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: rgba(255,255,255,.7);
  transition: all .3s;
}
#mob {
  display: none;
  flex-direction: column;
  background: var(--dark);
  padding: 16px 32px 28px;
  border-top: 1px solid rgba(255,255,255,.05);
}
#mob a {
  color: rgba(255,255,255,.55);
  padding: 15px 0;
  font-size: 15px;
  font-weight: 300;
  border-bottom: 1px solid rgba(255,255,255,.05);
  letter-spacing: .04em;
  transition: color .2s;
}
#mob a:hover { color: #fff; }
#mob.open { display: flex; }

/* ─── HERO ────────────────────────────────────────────────────── */
.hero {
  background: var(--dark);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
/* ─── ヒーロー右：溶接動画（入れ替え後） ─── */
.hero-img {
  position: absolute;
  top: 0; right: 0;
  width: 27%;
  height: 100%;
  overflow: hidden;
}
.hero-img img,
.hero-img video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .75;
  object-position: center top;
  will-change: transform;
}
.hero-img.is-media-unavailable video,
.hero-vid-strip.is-media-unavailable video {
  display: none;
}
/* ─── ヒーロー中央：CAD動画（入れ替え後・広め） ─── */
.hero-vid-strip {
  position: absolute;
  top: 0;
  left: 46%;
  width: 27%;
  height: 100%;
  overflow: hidden;
}
.hero-vid-strip video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: .82;
  will-change: transform;
}
/* 動画の左右になじませるグラデーション */
.hero-vid-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(24,24,22,.55) 0%,
      transparent 20%,
      transparent 80%,
      rgba(24,24,22,.35) 100%),
    linear-gradient(to top,
      rgba(24,24,22,.90) 0%,
      rgba(24,24,22,.20) 12%,
      transparent 22%);
}
/* ─── 縦の仕切り線 ─── */
.hero-vline {
  position: absolute;
  top: 0; bottom: 0;
  left: 46%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255,255,255,.12) 20%,
    rgba(255,255,255,.12) 80%,
    transparent 100%
  );
  z-index: 3;
}
/* 動画と動画の間の仕切り線 */
.hero-vline2 {
  left: 73%;
}
.hero-body {
  position: relative;
  z-index: 3;
  padding: 0 48px 72px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 48%;
  flex: 1;
  padding-top: 140px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  opacity: 0;
  transition: opacity .8s var(--ease) .6s;
}
.hero-eyebrow.in { opacity: 1; }
.hero-eyebrow .rule {
  width: 28px; height: 1px;
  background: rgba(255,255,255,.3);
}
.hero-co {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: .3em;
  color: rgba(255,255,255,.28);
  font-weight: 300;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero-lead {
  margin-top: 0;
  font-size: clamp(17px, 2vw, 22px);
  color: rgba(255,255,255,.82);
  line-height: 1.85;
  font-weight: 300;
  max-width: 460px;
  letter-spacing: .01em;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease) 1.0s, transform .8s var(--ease) 1.0s;
}
.hero-lead.in { opacity: 1; transform: none; }
.hero-sub {
  margin-top: 14px;
  font-size: 11px;
  color: rgba(255,255,255,.35);
  letter-spacing: .2em;
  font-weight: 300;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .8s var(--ease) 1.15s, transform .8s var(--ease) 1.15s;
}
.hero-sub.in { opacity: 1; transform: none; }
.hero-actions {
  margin-top: 44px;
  display: flex;
  gap: 28px;
  align-items: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease) 1.4s, transform .8s var(--ease) 1.4s;
}
.hero-actions.in { opacity: 1; transform: none; }
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dark);
  background: rgba(255,255,255,.92);
  padding: 13px 28px;
  transition: background .25s, letter-spacing .3s var(--ease);
}
.btn-white:hover {
  background: #fff;
  letter-spacing: .26em;
}
.btn-text {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding-bottom: 2px;
  transition: color .25s, border-color .25s;
}
.btn-text:hover { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.35); }

/* ─── MARQUEE STRIP ───────────────────────────────────────────── */
.marquee {
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
  overflow: hidden;
  position: relative;
  z-index: 3;
}
.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 16px 28px;
  font-family: var(--ff-cond);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .14em;
  color: rgba(255,255,255,.22);
  text-transform: uppercase;
}
.marquee-sep {
  color: rgba(255,255,255,.1);
  font-size: 8px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── ABOUT ───────────────────────────────────────────────────── */
.about {
  background: var(--white);
  display: grid;
  grid-template-columns: 5fr 7fr;
}
.about-l {
  padding: 76px 48px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.about-l .label { margin-bottom: 28px; }
.about-h2 {
  font-family: var(--ff-cond);
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .04em;
  color: var(--ink);
}
.about-body {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--ink2);
  line-height: 2.05;
  font-weight: 300;
}
.about-pillars {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.about-pillar {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.ap-k {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink3);
  padding-top: 2px;
}
.ap-v {
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.75;
  font-weight: 300;
}
.about-note {
  margin-top: 22px;
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--ink3);
  text-transform: uppercase;
}
.about-r { display: flex; flex-direction: column; gap: 2px; }
/* ─ モザイクグリッド ─ */
.about-mosaic {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 2px;
  flex: 1;
  min-height: 380px;
}
.am-main, .am-sub {
  overflow: hidden;
  background: var(--bg2);
  position: relative;
}
.am-main img, .am-sub img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .88;
  transition: opacity .6s, transform .9s var(--ease);
}
.am-main:hover img,
.am-sub:hover img { opacity: 1; transform: scale(1.04); }
.about-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}
.spec {
  padding: 26px 28px;
  border-right: 1px solid var(--rule);
}
.spec:last-child { border-right: none; }
.spec-k {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 10px;
}
.spec-v {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.65;
}

/* ─── SERVICES ────────────────────────────────────────────────── */
.services {
  background: var(--bg);
  padding: 80px 0 0;
}
.svc-head {
  padding: 40px 48px 32px;
  border-bottom: 1px solid var(--rule);
}
.svc-title {
  font-family: var(--ff-disp);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 300;
  letter-spacing: .05em;
  color: var(--ink);
  margin-top: 10px;
  line-height: 1.2;
}
.svc-list {}
.svc-item {
  display: grid;
  grid-template-columns: 64px 1fr 1fr;
  border-bottom: 1px solid var(--rule);
  transition: background .3s;
  position: relative;
  overflow: hidden;
}
/* ホバー時に底辺からラインがせりあがる */
.svc-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.svc-item:hover { background: var(--white); }
.svc-item:hover::after { transform: scaleX(1); }
.svc-num {
  padding: 32px 20px;
  border-right: 1px solid var(--rule);
  font-family: var(--ff-disp);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .14em;
  color: var(--ink3);
  display: flex;
  align-items: flex-start;
  padding-top: 36px;
}
.svc-name-col {
  padding: 32px 40px 32px 36px;
  border-right: 1px solid var(--rule);
  display: flex;
  align-items: center;
}
.svc-name {
  font-family: var(--ff-disp);
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--ink);
  line-height: 1.5;
}
.svc-desc-col { padding: 32px 44px; display: flex; align-items: center; }
.svc-desc {
  font-size: 13px;
  color: var(--ink2);
  line-height: 2;
  font-weight: 300;
}
.svc-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 280px;
  gap: 1px;
  margin-top: 1px;
}
.svc-ph-item {
  background: var(--bg3);
  overflow: hidden;
  position: relative;
}
.svc-ph-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .78;
  transition: opacity .5s, transform .7s var(--ease);
}
.svc-ph-item:hover img { opacity: .9; transform: scale(1.05); }
/* 動画コマ */
.svc-ph-video video {
  width: 100%; height: 100%;
  object-fit: cover;
  /* 上端基準 → 下端（ウォーターマーク）クロップ */
  object-position: center top;
  opacity: .82;
  transition: opacity .5s;
}
.svc-ph-video:hover video { opacity: 1; }

/* ─── WORKS ───────────────────────────────────────────────────── */
.works {
  background: var(--white);
  padding: 96px 48px;
}
.works-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2px;
}
.works-h2 {
  font-family: var(--ff-disp);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 300;
  letter-spacing: .05em;
  line-height: 1.2;
  color: var(--ink);
  margin-top: 10px;
}
.works-note {
  font-size: 12px;
  color: var(--ink2);
  line-height: 1.9;
  font-weight: 300;
  max-width: 200px;
  text-align: right;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 300px 220px 280px 210px;
  gap: 2px;
}
.wi {
  position: relative;
  overflow: hidden;
  background: var(--bg2);
}
.wi img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .8;
  transition: opacity .6s, transform .8s var(--ease);
}
.wi:hover img { opacity: .92; transform: scale(1.06); }
.wi-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 22px;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 100%);
  transform: translateY(8px);
  opacity: 0;
  transition: opacity .35s, transform .4s var(--ease);
}
.wi:hover .wi-info { opacity: 1; transform: translateY(0); }
.wi-title {
  font-family: var(--ff-cond);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: .06em;
  color: #fff;
  line-height: 1.3;
}
.wi-cat {
  font-size: 10px;
  letter-spacing: .16em;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
  text-transform: uppercase;
}
/* ─── Block 1 (rows 1-2) ─── */
.wi-1 { grid-column: 1 / 6;  grid-row: 1; }
.wi-2 { grid-column: 6 / 9;  grid-row: 1; }
.wi-3 { grid-column: 9 / 13; grid-row: 1 / 3; }
.wi-4 { grid-column: 1 / 4;  grid-row: 2; }
.wi-5 { grid-column: 4 / 6;  grid-row: 2; }
.wi-6 { grid-column: 6 / 9;  grid-row: 2; }
/* ─── Block 2 (rows 3-4) ─── */
.wi-7  { grid-column: 1 / 5;  grid-row: 3; }
.wi-8  { grid-column: 5 / 9;  grid-row: 3; }
.wi-9  { grid-column: 9 / 13; grid-row: 3 / 5; }
.wi-10 { grid-column: 1 / 4;  grid-row: 4; }
.wi-11 { grid-column: 4 / 7;  grid-row: 4; }
.wi-12 { grid-column: 7 / 9;  grid-row: 4; }
.works-foot {
  border-top: 1px solid var(--rule);
  margin-top: 2px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.works-foot p { font-size: 11px; color: var(--ink3); letter-spacing: .04em; }
.text-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s, letter-spacing .3s var(--ease);
}
.text-link:hover {
  color: var(--ink2);
  border-color: var(--ink2);
  letter-spacing: .24em;
}

/* ─── RECRUIT ──────────────────────────────────────────────────── */
.recruit {
  background: var(--dark);
}

/* 写真帯 */
.rc-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 340px;
  gap: 1px;
}
.rc-ph {
  overflow: hidden;
  background: var(--dark2);
  position: relative;
}
.rc-ph img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .70;
  transition: opacity .6s, transform .9s var(--ease);
}
.rc-ph:hover img { opacity: .88; transform: scale(1.04); }

/* テキストエリア */
.rc-body-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,.06);
}
.rc-lead-col {
  padding: 72px 56px;
  border-right: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
}
.rc-h2 {
  font-family: var(--ff-cond);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1.15;
  color: #fff;
  margin: 18px 0 28px;
}
.rc-lead-body {
  font-size: 13px;
  color: rgba(255,255,255,.38);
  line-height: 2.1;
  font-weight: 300;
}

/* カード */
.rc-cards {
  display: grid;
  grid-template-rows: 1fr 1fr;
}
.rc-card {
  padding: 44px 52px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
}
.rc-card:last-child { border-bottom: none; }
.rc-card-h {
  font-family: var(--ff-cond);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 400;
  letter-spacing: .05em;
  line-height: 1.35;
  color: #fff;
  margin: 14px 0 14px;
}
.rc-card-h small {
  font-size: .7em;
  color: rgba(255,255,255,.35);
  font-weight: 300;
  letter-spacing: .08em;
}
.rc-card-body {
  font-size: 13px;
  color: rgba(255,255,255,.35);
  line-height: 2;
  font-weight: 300;
  flex: 1;
}
.rc-cta {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  color: rgba(255,255,255,.4);
  border-bottom: 1px solid rgba(255,255,255,.14);
  padding-bottom: 3px;
  width: fit-content;
  transition: color .25s, border-color .25s, letter-spacing .3s var(--ease);
}
.rc-cta:hover {
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.4);
  letter-spacing: .2em;
}

/* ─── CONTACT STRIP（お問い合わせ直上・電話誘導） ───────────── */
.contact-strip {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--rule);
}
.contact-strip__bg {
  position: absolute;
  inset: -24px -12px -24px -12px;
  background-image: url("photos/about.jpg");
  background-size: cover;
  background-position: center 38%;
  filter: blur(12px) saturate(0.92);
  transform: scale(1.06);
}
.contact-strip__scrim {
  position: absolute;
  inset: 0;
  background: rgba(250, 249, 247, 0.9);
}
.contact-strip__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 36px) clamp(24px, 4vw, 48px);
  padding: clamp(26px, 4vw, 42px) clamp(32px, 5vw, 56px);
  max-width: 1360px;
  margin: 0 auto;
}
.contact-strip__head {
  flex: 1 1 200px;
  min-width: 180px;
}
.contact-strip__en {
  font-family: var(--ff-cond), 'Barlow Condensed', sans-serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink);
  line-height: 1.05;
}
.contact-strip__sub {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1.65;
}
.contact-strip__phone {
  display: flex;
  align-items: center;
  gap: 12px 16px;
  flex: 2 1 320px;
  min-width: 240px;
  color: var(--ink);
}
.contact-strip__telico {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  color: var(--ink);
}
.contact-strip__waves {
  flex-shrink: 0;
}
.contact-strip__handset {
  flex-shrink: 0;
}
.contact-strip__num {
  font-size: clamp(28px, 4.8vw, 46px);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  line-height: 1;
}
.contact-strip__num:hover {
  color: var(--ink2);
  border-color: var(--ink3);
}
.contact-strip__hours {
  flex: 0 1 220px;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.75;
}
.contact-strip__hours p {
  margin: 0;
}
.contact-strip__hours p + p {
  margin-top: 2px;
}
.contact-strip__hl {
  font-weight: 500;
}

/* ─── CONTACT ──────────────────────────────────────────────────── */
.contact {
  background: var(--white);
  display: grid;
  grid-template-columns: 5fr 7fr;
  border-bottom: 1px solid var(--rule);
}
.ct-l {
  padding: 96px 56px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.ct-h2 {
  font-family: var(--ff-cond);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1.15;
  color: var(--ink);
  margin-top: 24px;
}
.ct-desc {
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink2);
  line-height: 2;
  font-weight: 300;
  max-width: 300px;
}
.ct-meta {
  margin-top: auto;
  padding-top: 48px;
}
.ct-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
}
.ct-row:first-child { border-top: 1px solid var(--rule); }
.ct-k {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink3);
}
.ct-v {
  font-size: 13px;
  color: var(--ink);
  font-weight: 400;
  text-align: right;
}
.ct-v a {
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.ct-v a:hover {
  color: var(--ink2);
  border-color: var(--ink3);
}

/* 電話でのお問い合わせをやや強調（Tel 行のみ） */
.ct-row-tel {
  align-items: center;
}
.ct-row-tel .ct-v {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 500;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.ct-row-tel .ct-v a {
  font-weight: 500;
}
.ct-row-tel .ct-k {
  font-size: 10px;
  letter-spacing: 0.26em;
}
.ct-r { padding: 96px 56px; }

/* フォーム — アンダーラインスタイル */
.f-field {
  border-bottom: 1px solid var(--rule);
  padding: 18px 0 10px;
  transition: border-color .25s;
}
.f-field:first-of-type { border-top: 1px solid var(--rule); }
.f-field:focus-within { border-color: var(--ink); }
.f-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 8px;
  display: flex;
  gap: 4px;
  transition: color .25s;
}
.f-field:focus-within .f-label { color: var(--ink); }
.f-req { color: var(--ink2); }
.f-field input,
.f-field select,
.f-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'DM Sans', 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  padding: 4px 0 10px;
  resize: none;
  -webkit-appearance: none;
  appearance: none;
}
.f-field input::placeholder,
.f-field textarea::placeholder { color: var(--bg3); }
.f-field textarea { min-height: 90px; }
.f-row2 { display: grid; grid-template-columns: 1fr 1fr; }
.f-row2 .f-field:first-child { border-right: 1px solid var(--rule); padding-right: 28px; }
.f-row2 .f-field:last-child  { padding-left: 28px; }
.f-submit {
  margin-top: 28px;
  width: 100%;
  background: var(--dark);
  color: rgba(255,255,255,.8);
  border: none;
  padding: 18px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .25s, color .25s, letter-spacing .3s var(--ease);
}
.f-submit:hover {
  background: #2a2a28;
  color: #fff;
  letter-spacing: .3em;
}
.submit-arrow { transition: transform .3s var(--ease); }
.f-submit:hover .submit-arrow { transform: translateX(5px); }

/* ─── FOOTER ──────────────────────────────────────────────────── */
footer {
  background: var(--dark);
  padding: 52px 40px 36px;
}
.ft-accent {
  width: 100%; height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,.12), transparent);
  margin-bottom: 48px;
}
.ft-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.ft-logo {
  font-family: var(--ff-cond);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .18em;
  color: rgba(255,255,255,.65);
}
.ft-logo-sub {
  font-size: 9px;
  letter-spacing: .22em;
  color: rgba(255,255,255,.16);
  margin-top: 7px;
  font-weight: 300;
}
.ft-info {
  margin-top: 18px;
  font-size: 11px;
  line-height: 1.9;
  color: rgba(255,255,255,.24);
}
.ft-info a {
  color: rgba(255,255,255,.36);
  transition: color .2s;
}
.ft-info a:hover { color: rgba(255,255,255,.65); }
.ft-info a[href^='tel:'] {
  font-size: clamp(14px, 1.65vw, 17px);
  font-weight: 500;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,.5);
}
.ft-info a[href^='tel:']:hover { color: rgba(255,255,255,.8); }
.ft-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.ft-links a {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .08em;
  color: rgba(255,255,255,.22);
  transition: color .2s;
}
.ft-links a:hover { color: rgba(255,255,255,.6); }
.ft-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ft-copy { font-size: 10px; letter-spacing: .1em; color: rgba(255,255,255,.14); }
.ft-policy {
  font-size: 10px;
  letter-spacing: .1em;
  color: rgba(255,255,255,.14);
  transition: color .2s;
}
.ft-policy:hover { color: rgba(255,255,255,.45); }

/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  /* ヒーロー：タブレットでは動画帯を隠してシンプルな2分割に */
  .hero-vid-strip { display: none; }
  .hero-vline2    { display: none; }
  .hero-img { width: 52%; }
  .hero-body { max-width: 52%; }
  .svc-item { grid-template-columns: 56px 1fr; }
  .svc-desc-col { display: none; }
  .about { grid-template-columns: 1fr; }
  .about-r { border-top: 1px solid var(--rule); }
  .about-mosaic { grid-template-rows: 200px 160px; }
  .works-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(8, 200px);
  }
  .wi-1  { grid-column: 1/2; grid-row: 1; }
  .wi-2  { grid-column: 2/3; grid-row: 1; }
  .wi-3  { grid-column: 1/3; grid-row: 2; }
  .wi-4  { grid-column: 1/2; grid-row: 3; }
  .wi-5  { grid-column: 2/3; grid-row: 3; }
  .wi-6  { grid-column: 1/3; grid-row: 4; }
  .wi-7  { grid-column: 1/2; grid-row: 5; }
  .wi-8  { grid-column: 2/3; grid-row: 5; }
  .wi-9  { grid-column: 1/3; grid-row: 6; }
  .wi-10 { grid-column: 1/2; grid-row: 7; }
  .wi-11 { grid-column: 2/3; grid-row: 7; }
  .wi-12 { grid-column: 1/3; grid-row: 8; }
  .contact { grid-template-columns: 1fr; }
  .ct-l { border-right: none; border-bottom: 1px solid var(--rule); }
  .ct-meta { margin-top: 36px; }
}
@media (max-width: 768px) {
  body { cursor: auto; }
  #c-dot, #c-ring { display: none; }
  .hd-bar { padding: 0 22px; }
  .hd-nav, .hd-cta { display: none; }
  .burger { display: flex; }
  .hero-img { width: 100%; opacity: .18; }
  .hero-vline { display: none; }
  .hero-body { padding: 120px 22px 56px; max-width: 100%; }
  .hero-lead {
    font-size: clamp(15px, 4vw, 19px);
    max-width: 100%;
  }
  .svc-head { grid-template-columns: 1fr; gap: 20px; padding: 0 22px 40px; }
  .svc-intro { justify-self: start; }
  .svc-item { grid-template-columns: 44px 1fr; }
  .svc-num { padding: 30px 14px; }
  .svc-name-col { padding: 30px 20px; border-right: none; }
  .svc-photos { grid-template-columns: 1fr 1fr; height: auto; }
  .svc-ph-item { height: 160px; }
  .about-l { padding: 52px 22px; }
  .about-l .label { margin-bottom: 22px; }
  .about-body { margin-top: 18px; line-height: 1.9; }
  .about-pillars { margin-top: 24px; }
  .about-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 180px; }
  .am-main { grid-column: 1/3; grid-row: 1; }
  .am-sm1  { grid-column: 1; grid-row: 2; }
  .about-mosaic { grid-template-columns: 1fr 1fr; min-height: 240px; }
  .about-specs { grid-template-columns: 1fr 1fr; }
  .spec:last-child { grid-column: 1/-1; border-right: none; border-top: 1px solid var(--rule); }
  .works { padding: 72px 22px; }
  .works-head { flex-direction: column; gap: 16px; }
  .works-note { text-align: left; max-width: 100%; }
  .works-grid { grid-template-columns: 1fr; grid-template-rows: repeat(12, 200px); }
  .wi-1,.wi-2,.wi-3,.wi-4,.wi-5,.wi-6,
  .wi-7,.wi-8,.wi-9,.wi-10,.wi-11,.wi-12 { grid-column: 1; grid-row: auto; }
  .recruit { grid-template-columns: 1fr; }
  .rc-item { padding: 60px 22px; border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
  .rc-item:last-child { border-bottom: none; }
  .contact { grid-template-columns: 1fr; }
  .ct-l, .ct-r { padding: 60px 22px; }
  .f-row2 { grid-template-columns: 1fr; }
  .f-row2 .f-field:first-child { border-right: none; padding-right: 0; }
  .f-row2 .f-field:last-child  { padding-left: 0; }
  footer { padding: 44px 22px 30px; }
  .contact-strip__inner {
    flex-direction: column;
    align-items: stretch;
    padding-left: 22px;
    padding-right: 22px;
    gap: 22px;
  }
  .contact-strip__hours {
    flex-basis: auto;
  }
  .contact-strip__num {
    font-size: clamp(26px, 8vw, 36px);
  }
  .ft-top { flex-direction: column; gap: 28px; }
  .ft-links { gap: 18px; }
  .marquee-track { animation-duration: 18s; }
}

/* ─── 404（運用・メインサイトのカーソル指定を無効化） ─────────── */
.error-body {
  cursor: auto;
  min-height: 100svh;
}
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: clamp(48px, 12vw, 96px) 24px;
  text-align: center;
  color: var(--ink);
}
.error-page__title {
  font-family: var(--ff-cond);
  font-size: clamp(56px, 14vw, 120px);
  font-weight: 400;
  letter-spacing: .12em;
  line-height: 1;
  margin-bottom: 20px;
  color: var(--ink);
}
.error-page__lead {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink2);
  line-height: 1.9;
  margin-bottom: 36px;
  max-width: 360px;
}
.error-page__link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink2);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px;
  transition: color .2s, border-color .2s;
}
.error-page__link:hover {
  color: var(--ink);
  border-color: var(--ink3);
}

/* ─── PARTNER CTA ──────────────────────────────────────────────── */
.partner-cta {
  background: #111110;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 48px 6vw;
}
.partner-cta__inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}
.partner-cta__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 40px;
}
.partner-cta__divider {
  width: 1px;
  background: rgba(255,255,255,.1);
  margin: 16px 0;
}
.partner-cta__icon {
  color: rgba(255,255,255,.4);
}
.partner-cta__title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
}
.partner-cta__desc {
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.85;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  max-width: 360px;
}
.partner-cta__btn {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-decoration: none;
  transition: background .2s, border-color .2s;
  width: fit-content;
}
.partner-cta__btn:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.6);
}
@media (max-width: 700px) {
  .partner-cta__inner {
    flex-direction: column;
  }
  .partner-cta__divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }
  .partner-cta__item {
    padding: 28px 16px;
  }
}

/* ─── FLOATING CTA ─────────────────────────────────────────────── */
#float-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s;
}
#float-cta.float-cta--show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.float-cta__tel {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 18px;
  background: #1a1a18;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: .04em;
  transition: background .2s;
  white-space: nowrap;
}
.float-cta__tel:hover { background: #252523; }
.float-cta__contact {
  display: flex;
  align-items: center;
  padding: 11px 22px;
  background: #fff;
  color: #111110;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: .06em;
  transition: background .2s;
  white-space: nowrap;
}
.float-cta__contact:hover { background: #e8e8e6; }
@media (max-width: 600px) {
  #float-cta {
    bottom: 16px;
    right: 12px;
    left: 12px;
    flex-direction: column;
    gap: 6px;
  }
  .float-cta__tel,
  .float-cta__contact {
    width: 100%;
    justify-content: center;
  }
}
