@charset "UTF-8";

@font-face { font-family: 'Yomogi'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/yomogi-1.woff2') format('woff2'); unicode-range: U+667e-6680, U+6683-6684, U+6688, U+668b-668e, U+6690, U+6692, U+6698-669d, U+669f-66a0, U+66a2, U+66a4, U+66ad, U+66b1-66b3, U+66b5, U+66b8-66b9, U+66bb-66bc, U+66be-66c4, U+66c6, U+66c8-66c9, U+66cc, U+66ce-66cf, U+66d4, U+66da-66db, U+66dd, U+66df-66e0, U+66e6, U+66e8-66e9, U+66eb-66ec, U+66ee, U+66f5, U+66f7, U+66fa-66fc, U+6701, U+6705, U+6707, U+670c, U+670e-6710, U+6712-6716, U+6719, U+671c, U+671e, U+6720, U+6722, U+6725-6726, U+672e, U+6733, U+6735-6738, U+673e-673f, U+6741, U+6743, U+6745-6748, U+674c-674d, U+6753-6755, U+6759, U+675d-675e, U+6760, U+6762-6764, U+6766, U+676a, U+676c, U+676e, U+6770, U+6772-6774, U+6776-6777, U+677b-677c, U+6780-6781, U+6784-6785, U+6787, U+6789, U+678b-678c, U+678e-678f, U+6791-6793, U+6796, U+6798-6799, U+679b, U+67a1, U+67a4, U+67a6, U+67a9, U+67b0-67b5, U+67b7-67b9, U+67bb-67be, U+67c0-67c3, U+67c5-67c6, U+67c8-67c9, U+67ce, U+67d2, U+67d7-67d9, U+67db-67de, U+67e1-67e2, U+67e4, U+67e6-67e7, U+67e9, U+67ec, U+67ee-67f0, U+67f2, U+67f6-67f7, U+67f9-67fa, U+67fc, U+67fe, U+6801-6802, U+6805, U+6810, U+6814, U+6818-6819, U+681d, U+681f, U+6822, U+6827-6829, U+682b-682d, U+682f-6834, U+683b, U+683e-6840, U+6844-6846, U+6849-684a, U+684c-684e, U+6852-6854; }
@font-face { font-family: 'Yomogi'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/yomogi-2.woff2') format('woff2'); unicode-range: U+3d, U+5e, U+25cf, U+4e0e, U+4e5d, U+4e73, U+4e94, U+4f3c, U+5009, U+5145, U+51ac, U+5238, U+524a, U+53f3, U+547c, U+5802, U+5922, U+5a66, U+5c0e, U+5de6, U+5fd8, U+5feb, U+6797, U+685c, U+6b7b, U+6c5f-6c60, U+6cc9, U+6ce2, U+6d17, U+6e21, U+7167, U+7642, U+76db, U+8001, U+821e, U+8857, U+89d2, U+8b1b, U+8b70, U+8cb4, U+8cde, U+8f03, U+8f2a, U+968e, U+9b54, U+9e7f, U+9ebb, U+ff05, U+ff33; }
@font-face { font-family: 'Yomogi'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/yomogi-3.woff2') format('woff2'); unicode-range: U+40, U+4e86, U+4e95, U+4f01, U+4f1d, U+4fbf, U+5099, U+5171, U+5177, U+53cb, U+53ce, U+53f0, U+5668, U+5712, U+5ba4, U+5ca1, U+5f85, U+60f3, U+653e, U+65ad, U+65e9, U+6620, U+6750, U+6761, U+6b62, U+6b74, U+6e08, U+6e80, U+7248, U+7531, U+7533, U+753a, U+77f3, U+798f, U+7f6e, U+8449, U+88fd, U+89b3, U+8a55, U+8ac7, U+8b77, U+8db3, U+8efd, U+8fd4, U+9031-9032, U+9580, U+9589, U+96d1, U+985e; }
@font-face { font-family: 'Yomogi'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/yomogi-4.woff2') format('woff2'); unicode-range: U+3e, U+3005, U+4e0d, U+4e88, U+4ecb, U+4ee3, U+4ef6, U+4fdd, U+4fe1, U+500b, U+50cf, U+5186, U+5316, U+53d7, U+540c, U+544a, U+54e1, U+5728, U+58f2, U+5973, U+5b89, U+5c71, U+5e02, U+5e97, U+5f15, U+5fc3, U+5fdc, U+601d, U+611b, U+611f, U+671f, U+6728, U+6765, U+683c, U+6b21, U+6ce8, U+6d3b, U+6d77, U+7530, U+7740, U+7acb, U+7d50, U+826f, U+8f09, U+8fbc, U+9001, U+9053, U+91ce, U+9762, U+98df; }


/* ==========================================================================
   笹川建設興業株式会社 公式サイト
   ========================================================================== */

:root {
  --ink: #101822;
  --navy: #152a40;
  --navy-deep: #0b1724;
  --accent: #2fa24a;
  --accent-dark: #26833d;
  --accent-light: #a8e0b8;
  --text: #333c46;
  --muted: #6d7a87;
  --line: #e3e7eb;
  --bg: #ffffff;
  --bg-soft: #f5f6f7;

  --font-sans: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", "Times New Roman", serif;
  --font-display: var(--font-serif);

  --container: 1120px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .02em;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Typography helpers ---------- */

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::after {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--accent);
  opacity: .6;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--accent);
  opacity: .6;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(23px, 3.4vw, 34px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--ink);
  margin: 0 0 28px;
}

.lead {
  font-size: 15px;
  line-height: 2.2;
  color: var(--text);
  margin: 0 0 18px;
}

.note {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 900;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease), border-color .35s var(--ease);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand__mark { width: 38px; height: 38px; flex: 0 0 auto; display: block; }
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--ink);
  transition: color .35s var(--ease);
}
.brand__en {
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .35s var(--ease);
}

.nav { display: flex; align-items: center; gap: 6px; }
body.nav-open { overflow: hidden; }
.nav a {
  position: relative;
  display: block;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--ink);
  transition: color .25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: .3s var(--ease);
}
.nav-toggle span { top: 50%; margin-top: -.75px; }
.nav-toggle span::before { content: ""; top: -6px; }
.nav-toggle span::after { content: ""; top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* トップページ: ヒーロー上では透過ヘッダー */
body.is-top .site-header {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, .18);
}
body.is-top .site-header .brand__name { color: #fff; }
body.is-top .site-header .brand__en { color: rgba(255, 255, 255, .7); }
body.is-top .site-header .nav a { color: rgba(255, 255, 255, .92); }
body.is-top .nav-toggle { border-color: rgba(255, 255, 255, .4); }
body.is-top .nav-toggle span,
body.is-top .nav-toggle span::before,
body.is-top .nav-toggle span::after { background: #fff; }

body.is-top .site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--line);
}
body.is-top .site-header.is-scrolled .brand__name { color: var(--ink); }
body.is-top .site-header.is-scrolled .brand__en { color: var(--muted); }
body.is-top .site-header.is-scrolled .nav a { color: var(--ink); }
body.is-top .site-header.is-scrolled .nav-toggle { border-color: var(--line); }
body.is-top .site-header.is-scrolled .nav-toggle span,
body.is-top .site-header.is-scrolled .nav-toggle span::before,
body.is-top .site-header.is-scrolled .nav-toggle span::after { background: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(115deg, rgba(8, 18, 28, .92) 0%, rgba(8, 18, 28, .74) 46%, rgba(8, 18, 28, .5) 100%),
    linear-gradient(180deg, rgba(8, 18, 28, .5) 0%, rgba(8, 18, 28, .18) 38%, rgba(8, 18, 28, .6) 100%);
}
.hero .container { position: relative; z-index: 3; }

.hero__en {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  margin: 0 0 26px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5.4vw, 58px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .05em;
  margin: 0 0 30px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .3);
}
.hero__title span { color: var(--accent-light); }
.hero__text {
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 2.2;
  color: rgba(255, 255, 255, .88);
  margin: 0 0 44px;
  max-width: 34em;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 56px;
  background: linear-gradient(rgba(255, 255, 255, .7), transparent);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 210px;
  padding: 16px 30px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .12em;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn::after {
  content: "";
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: width .3s var(--ease);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn:hover::after { width: 26px; }

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .6);
  color: #fff;
}
.btn--ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}

.btn--outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.btn--outline:hover { background: var(--accent); color: #fff; }

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark .section-title { color: #fff; }
.section--dark .lead { color: rgba(255, 255, 255, .84); }
.section--tight { padding-top: clamp(48px, 6vw, 76px); padding-bottom: clamp(48px, 6vw, 76px); }

.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-title { margin-bottom: 22px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }

/* ---------- Page hero (下層ページ) ---------- */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(40px, 6vw, 72px);
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .28;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 23, 36, .72), rgba(11, 23, 36, .9));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero__en {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin: 0 0 14px;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.4vw, 42px);
  font-weight: 600;
  letter-spacing: .1em;
  margin: 0;
  line-height: 1.4;
}
.page-hero__text {
  margin: 22px 0 0;
  max-width: 46em;
  font-size: 14.5px;
  line-height: 2.15;
  color: rgba(255, 255, 255, .84);
}

.crumbs {
  display: flex;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .6);
  margin: 0 0 20px;
}
.crumbs a:hover { color: #fff; }
.crumbs > * + *::before { content: "/"; margin-right: 10px; opacity: .5; }

/* ---------- Belief cards (私たちの考え方) ---------- */

.belief-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.belief {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  padding: 38px 32px 34px;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.belief:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(16, 24, 34, .45); }
.belief__num {
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--accent);
  margin-bottom: 18px;
}
.belief__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 18px;
  letter-spacing: .04em;
}
.belief__text { font-size: 14px; line-height: 2.05; color: var(--text); margin: 0; }

/* ---------- Service list (事業内容) ---------- */

.service-list { border-top: 1px solid var(--line); }
.service {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 28px;
  align-items: baseline;
  padding: 30px 8px;
  border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease);
}
.service:hover { background: rgba(47, 162, 74, .05); }
.service__num {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .04em;
  line-height: 1;
}
.service__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: .05em;
}
.service__text { margin: 0; font-size: 14px; color: var(--text); }
.section--dark .service-list { border-top-color: rgba(255, 255, 255, .2); }
.section--dark .service { border-bottom-color: rgba(255, 255, 255, .2); }
.section--dark .service__title { color: #fff; }
.section--dark .service__text { color: rgba(255, 255, 255, .8); }
.section--dark .service:hover { background: rgba(255, 255, 255, .05); }

/* ---------- 採用バナー ---------- */

.recruit-banner img { display: block; width: 100%; height: auto; }

/* ---------- 動画セクション ---------- */

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #05090d;
  border: 1px solid rgba(255, 255, 255, .16);
  overflow: hidden;
}
.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Works gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery__item { position: relative; overflow: hidden; background: var(--navy-deep); }
.gallery__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .8s var(--ease), opacity .5s var(--ease);
}
.gallery__item--tall img { aspect-ratio: 3 / 4; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 20px 16px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .06em;
  color: #fff;
  background: linear-gradient(transparent, rgba(8, 18, 28, .82));
}

/* ---------- Works highlight (トップ) ---------- */

.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.highlight-grid img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  padding: clamp(64px, 8vw, 104px) 0;
  color: #fff;
  text-align: center;
  overflow: hidden;
  background: var(--navy-deep);
}
.cta-band__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; }
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 28, .8), rgba(8, 18, 28, .92));
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .06em;
  margin: 0 0 20px;
}
.cta-band__text { max-width: 44em; margin: 0 auto 36px; color: rgba(255, 255, 255, .84); font-size: 14.5px; }

/* ---------- Info table (会社概要) ---------- */

.info-table { border-top: 1px solid var(--line); }
.info-table__row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  padding: 22px 6px;
  border-bottom: 1px solid var(--line);
}
.info-table__row dt {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--ink);
}
.info-table__row dd { margin: 0; font-size: 14.5px; line-height: 2; }

/* ---------- Access / Map ---------- */

.access-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.map-frame {
  position: relative;
  min-height: 380px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-soft);
}
.map-frame::before {
  content: "地図を読み込んでいます…";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--muted);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

.access-info { display: flex; flex-direction: column; justify-content: center; }
.access-info__row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.access-info__row:first-child { border-top: 1px solid var(--line); }
.access-info__label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--accent);
  margin: 0 0 6px;
}
.access-info__value { margin: 0; font-size: 14.5px; line-height: 2; }
.access-info__value a { border-bottom: 1px solid var(--accent); }

/* ---------- President greeting ---------- */

.greeting { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.greeting__body { font-size: 17.5px; line-height: 2.05; }
.greeting__body p { margin: 0 0 20px; }
.greeting__sign { margin-top: 40px; text-align: right; }
.greeting__sign-block { display: inline-block; text-align: left; }
.greeting__sign-block p.greeting__sign-name {
  font-family: "Yuji Syuku", var(--font-serif);
  font-size: 26px;
  letter-spacing: .12em;
  color: var(--ink);
  margin: 0 0 6px;
}
.greeting__sign-block p.greeting__sign-role {
  font-family: "Yuji Syuku", var(--font-serif);
  font-size: 23px;
  letter-spacing: .2em;
  color: var(--ink);
  margin: 0 0 0 29px;
}

/* 直筆サイン風の署名（images/sign.png が用意できたらそれに差し替わる） */
.signature {
  margin-top: 8px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px;
}
.signature__name {
  display: inline-block;
  font-family: "Yomogi", var(--font-serif);
  font-size: clamp(30px, 3.9vw, 46px);
  line-height: 1.35;
  letter-spacing: .02em;
  color: #16324f;
  white-space: nowrap;
}
/* 1文字ずつわずかに傾けて、手書きの揺らぎを出す */
.signature__name span { display: inline-block; }
.signature__name span:nth-child(1) { transform: rotate(-1.2deg) translateY(-1px); }
.signature__name span:nth-child(2) { transform: rotate(.9deg) translateY(1px); }
.signature__name span:nth-child(4) { transform: rotate(1.2deg) translateY(-1px); }
.signature__name span:nth-child(5) { transform: rotate(-.9deg) translateY(1px); }
.signature__img { display: none; width: min(300px, 60%); height: auto; }
.signature.has-sign .signature__name { display: none; }
.signature.has-sign .signature__img { display: block; }

.greeting__photo { position: relative; order: -1; }
.greeting__photo img { width: 100%; object-fit: cover; }
.greeting__photo figcaption { font-size: 11.5px; color: var(--muted); margin-top: 12px; letter-spacing: .08em; }

/* ---------- Timeline (一日のスケジュール) ---------- */

.schedule-band {
  position: relative;
  color: #fff;
  overflow: hidden;
  padding: clamp(64px, 8vw, 104px) 0;
}
.schedule-band__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.schedule-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 28, .82), rgba(8, 18, 28, .9) 55%, rgba(8, 18, 28, .95));
}
.schedule-band .container { position: relative; z-index: 2; }
.schedule-band .section-title { color: #fff; }
/* 暗い背景の上では既定の文字色が沈むため、コントラストを確保する */
.schedule-band .eyebrow,
.cta-band .eyebrow,
.section--dark .eyebrow,
.page-hero .eyebrow { color: var(--accent-light); }
.schedule-band .eyebrow::after,
.schedule-band .eyebrow--center::before,
.cta-band .eyebrow::after,
.cta-band .eyebrow--center::before,
.section--dark .eyebrow::after,
.section--dark .eyebrow--center::before { background: var(--accent-light); opacity: .8; }
.schedule-band .lead,
.section--dark .lead { color: rgba(255, 255, 255, .9); }
.schedule-band .note,
.section--dark .note,
.cta-band .note { color: rgba(255, 255, 255, .72); }
.schedule-band .section-head,
.cta-band .container { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }

.timeline { border-top: 1px solid rgba(255, 255, 255, .22); }
.timeline__row {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 28px;
  padding: 24px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}
.timeline__time {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent-light);
  line-height: 1.3;
}
.timeline__title {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  letter-spacing: .06em;
  margin: 0 0 8px;
  color: #fff;
}
.timeline__text { margin: 0; font-size: clamp(13.5px, 1.5vw, 15px); line-height: 2.1; color: rgba(255, 255, 255, .86); }

/* ---------- Lists ---------- */

.dot-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 14.5px;
  line-height: 2;
}
.dot-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.05em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.section--dark .dot-list li,
.schedule-band .dot-list li { color: rgba(255, 255, 255, .88); }

.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
.benefit {
  display: flex;
  gap: 14px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  font-size: 14.5px;
  align-items: baseline;
}
.benefit svg { flex: 0 0 auto; width: 16px; height: 16px; color: var(--accent); }

/* ---------- Salary / figure ---------- */

.figure-box {
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
}
.figure-box__label { font-size: 12.5px; letter-spacing: .16em; color: var(--muted); margin: 0 0 12px; }
.figure-box__value {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.3;
}
.figure-box__value span { font-size: .55em; margin-left: 4px; }
.figure-box__value--sm { font-size: clamp(21px, 3vw, 32px); letter-spacing: .01em; }
.figure-box__value--text {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.9vw, 18px);
  font-weight: 600;
  line-height: 2.05;
  letter-spacing: .04em;
  color: var(--ink);
  margin: 0;
}

/* ---------- Form ---------- */

.form { display: grid; gap: 24px; }
.form__row { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--ink);
}
.field .req {
  display: inline-block;
  margin-left: 8px;
  font-size: 10px;
  letter-spacing: .1em;
  color: #b4472f;
  border: 1px solid #e0b3a8;
  padding: 1px 6px;
  vertical-align: middle;
}
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { min-height: 190px; resize: vertical; line-height: 1.9; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 162, 74, .14);
}
.field.is-error input, .field.is-error textarea { border-color: #c0503a; }
.field__error { font-size: 12px; color: #b4472f; display: none; }
.field.is-error .field__error { display: block; }

.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.form__notice {
  display: none;
  margin-top: 8px;
  padding: 16px 20px;
  border: 1px solid var(--accent);
  background: rgba(47, 162, 74, .07);
  font-size: 13.5px;
  line-height: 1.9;
}
.form__notice.is-visible { display: block; }

/* ---------- Contact split ---------- */

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-side { background: var(--bg-soft); border: 1px solid var(--line); padding: 32px 28px; }
.contact-side__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--ink);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.contact-side .tel {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: .06em;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}
.contact-side ul li { font-size: 14px; line-height: 2; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .74); padding: 66px 0 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.footer-brand { display: flex; align-items: flex-start; gap: 14px; }
.footer-brand__mark { width: 46px; height: 46px; flex: 0 0 auto; }
.footer-brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .08em;
  color: #fff;
  line-height: 1.5;
  margin: 0 0 4px;
}
.footer-brand__en { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin: 0; }
.footer-brand__addr { font-size: 13px; line-height: 2; margin: 18px 0 0; }
.footer-brand__addr a { border-bottom: 1px solid rgba(255, 255, 255, .35); }

.footer-col h4 {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin: 0 0 18px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { font-size: 13.5px; transition: color .25s var(--ease); }
.footer-col ul a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-size: 11.5px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .5);
}

/* ---------- Utilities ---------- */

.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mt-64 { margin-top: 64px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.sp-only { display: none; }

/* JSが無効・読み込み失敗でも内容が消えないよう、表示制御は html.js がある場合のみ行う */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(26px); }
html.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- 施工実績ページのみ字体を変更 ---------- */
body.page-works {
  --font-display: "Noto Sans JP", system-ui, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}
body.page-works .section-title,
body.page-works .service__title,
body.page-works .page-hero__title,
body.page-works .gallery__cap { font-weight: 700; letter-spacing: .04em; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .belief-grid { grid-template-columns: 1fr; gap: 18px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .greeting { grid-template-columns: 1fr; }
  .greeting__body { font-size: 16px; }
  .greeting__photo { max-width: 560px; }
  .greeting__sign-block p.greeting__sign-name { font-size: 22px; }
  .greeting__sign-block p.greeting__sign-role { font-size: 19px; margin-left: 25px; }
  .access-grid { grid-template-columns: 1fr; }
  .map-frame { min-height: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  body { font-size: 14.5px; line-height: 1.95; }
  :root { --header-h: 66px; }

  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11, 23, 36, .97);
    padding: 20px 0;
    transform: translateX(100%);
    transition: transform .42s var(--ease);
    overflow-y: auto;
  }
  body.nav-open .nav { transform: translateX(0); }
  .nav a {
    color: #fff !important;
    padding: 20px 28px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--accent-light) !important; }

  .brand__name { font-size: 14.5px; }
  .brand__en { font-size: 9px; }
  .brand__mark { width: 34px; height: 34px; }

  .grid-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery__item img { aspect-ratio: 3 / 4; }
  .gallery__item--tall img { aspect-ratio: 3 / 4; }
  .gallery__cap { padding: 22px 14px 12px; font-size: 12.5px; }
  .highlight-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .info-table__row { grid-template-columns: 1fr; gap: 6px; padding: 18px 4px; }
  .service { grid-template-columns: 62px 1fr; gap: 18px; padding: 24px 4px; }
  .service__num { font-size: 21px; }
  .timeline__row { grid-template-columns: 1fr; gap: 8px; padding: 20px 4px; }
  .form__row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sp-only { display: inline; }
  .hero { min-height: 92svh; }
  .hero__en { font-size: 10px; letter-spacing: .16em; }
  .hero__scroll { display: none; }
  .btn { min-width: 0; width: 100%; }
  .hero__actions { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bg { animation: none; }
  .hero__video { display: none !important; }
  html.js .reveal,
  html.js .reveal.is-in { opacity: 1; transform: none; transition: none; }
}

/* 極端に縦長のビューポートではヒーローを伸ばしすぎない */
@media (min-height: 1300px) {
  .hero { min-height: 900px; }
}

@media print {
  .site-header, .cta-band, .hero__scroll { display: none; }
}

/* ---------- 施工実績: 分類カード ---------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: #ccd6dd;
  box-shadow: 0 22px 44px -26px rgba(16, 24, 34, .5);
}
.cat-card__media { position: relative; overflow: hidden; background: var(--bg-soft); }
.cat-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.cat-card:hover .cat-card__media img { transform: scale(1.05); }
.cat-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding: 20px 22px 22px;
}
.cat-card__num {
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--accent);
  margin: 0;
}
.cat-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .05em;
  color: var(--ink);
  margin: 0;
}
.cat-card__more {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--muted);
  transition: color .3s var(--ease);
}
.cat-card__more::after {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--accent);
  transition: width .3s var(--ease);
}
.cat-card:hover .cat-card__more { color: var(--accent); }
.cat-card:hover .cat-card__more::after { width: 28px; }

/* 写真が未入稿の枠 */
.ph {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 4 / 3;
  background: #eef1f3;
  color: #93a1ac;
  font-size: 12px;
  letter-spacing: .18em;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed #cbd5dc;
}
.ph small {
  font-size: 9.5px;
  letter-spacing: .3em;
  color: #b4c0c9;
}

/* ---------- 施工実績: 写真ギャラリー ---------- */

.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gal-item {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--navy-deep);
}
.gal-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .8s var(--ease), opacity .4s var(--ease);
}
.gal-item:hover img { transform: scale(1.05); opacity: .9; }
.gal-item:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.gal-item--empty { background: transparent; }
.gal-item .ph { height: 100%; }

/* ---------- ライトボックス ---------- */

.lightbox { display: none; }
.lightbox.is-open {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 12, 18, .95);
}
.lightbox__img {
  max-width: min(1120px, 92vw);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 30px 90px -30px rgba(0, 0, 0, .85);
}
.lightbox__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  margin: 0;
  padding: 0 90px;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .85);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; margin-top: -25px; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
body.lightbox-open { overflow: hidden; }

/* ---------- 前後の工事へ ---------- */

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pager__link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.pager__link:hover { border-color: var(--accent); background: rgba(47, 162, 74, .04); }
.pager__link--next { text-align: right; align-items: flex-end; }
.pager__dir {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
}
.pager__title {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--ink);
}
.pager__all { margin-top: 28px; }

/* ---------- 施工実績ページ群のレスポンシブ ---------- */

@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card__body { padding: 18px 18px 20px; }
  .cat-card__title { font-size: 16px; }
  .gal-grid { gap: 10px; }
  .pager { grid-template-columns: 1fr; }
  .pager__link--next { text-align: left; align-items: flex-start; }
  .lightbox__nav { width: 42px; height: 42px; margin-top: -21px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__close { top: 10px; right: 10px; width: 42px; height: 42px; }
  .lightbox__cap { bottom: 12px; padding: 0 16px; }
  .lightbox__img { max-height: 76vh; }
}
