/* ============================================
   CONSTRUCTION GC TEMPLATE
   ゼネコン — 白・黒・グレー × 一本の碧の線、大判写真の雑誌レイアウト
============================================ */

:root {
  --white: #fafaf8; /* 地（わずかに温かい白） */
  --paper: #f0f0ed; /* 一段沈めた地 */
  --black: #111111; /* 黒（見出し・黒地のセクション） */
  --ink: #1f1f1f; /* 本文 */
  --gray: #6b6b6b; /* 補足文 */
  --gray-light: #a8a8a5;
  --line: #d9d9d5; /* 罫線 */
  --line-dark: rgba(255, 255, 255, 0.16); /* 黒地の罫線 */
  --accent: #0e8a8c; /* 碧（ごく細い線と数字だけに使う一色） */
  --font-en: "Montserrat", sans-serif; /* 欧文（細〜太） */
  --font-jp: "Noto Sans JP", sans-serif; /* 和文 */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  line-height: 1.95;
  letter-spacing: 0.04em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--black);
  color: #fff;
  font-size: 14px;
}
.skip-link:focus {
  top: 12px;
}

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

/* 改行の出し分け */
.sp {
  display: none;
}
@media (max-width: 767px) {
  .sp {
    display: inline;
  }
  .pc {
    display: none;
  }
}

.num {
  font-family: var(--font-en);
  font-feature-settings: "tnum";
}

/* ---------- 共通の見出し ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
}
.eyebrow span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}
/* 番号の後ろに碧の細線 */
.eyebrow span::after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--accent);
}
.eyebrow--light,
.eyebrow--light span {
  color: #fff;
}

.sec-head {
  margin-bottom: clamp(40px, 6vw, 72px);
  max-width: 760px;
}
.sec-head--row {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.sec-head--row .sec-head__lead {
  max-width: 380px;
}
.sec-head__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--black);
  word-break: keep-all;
}
.sec-head__lead {
  margin-top: 20px;
  color: var(--gray);
}

.sub-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding-bottom: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--black);
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  padding: 0 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.3s,
    color 0.3s,
    border-color 0.3s;
}
/* 矢印は細い線で */
.btn::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}
.btn:hover::after {
  width: 40px;
}
.btn--light {
  background: #fff;
  color: var(--black);
}
.btn--light:hover {
  background: var(--accent);
  color: #fff;
}
.btn--line {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}
.btn--line:hover {
  background: #fff;
  color: var(--black);
}
.btn--dark {
  background: var(--black);
  color: #fff;
}
.btn--dark:hover {
  background: var(--accent);
}

/* ============================================
   HEADER
============================================ */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition:
    color 0.35s,
    height 0.35s;
}
/* 白地はヘッダー自身ではなく疑似要素に敷く */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.35s;
}
.header.is-scrolled {
  color: var(--black);
}
.header.is-scrolled::before {
  opacity: 1;
}

.header__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.logo__en {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.32em;
}
.logo__jp {
  font-size: 12px;
  letter-spacing: 0.2em;
  padding-left: 12px;
  border-left: 1px solid currentColor;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 36px);
}
.nav__list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  position: relative;
  padding: 6px 0;
}
.nav__en {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}
.nav__list a:not(.nav__cta a)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}
.nav__list a:hover::after {
  transform: scaleX(1);
}
.nav__cta a {
  border: 1px solid currentColor;
  padding: 12px 22px;
  min-height: 44px;
  justify-content: center;
}
.nav__cta a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition:
    transform 0.35s var(--ease),
    top 0.35s var(--ease);
}
.nav-toggle span:first-child {
  top: 19px;
}
.nav-toggle span:last-child {
  top: 28px;
}
.nav-toggle[aria-expanded="true"] span:first-child {
  top: 24px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  top: 24px;
  transform: rotate(-45deg);
}

@media (max-width: 1023px) {
  .nav-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--black);
    color: #fff;
    display: flex;
    align-items: center;
    padding: 100px var(--gutter) 40px;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease-out,
      visibility 0.3s;
    overflow-y: auto;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
  }
  /* 項目は短く下から（16px）だけ */
  .nav .nav__list {
    transform: translateY(16px);
    transition: transform 0.3s var(--ease);
  }
  .nav.is-open .nav__list {
    transform: none;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .nav__list li {
    border-bottom: 1px solid var(--line-dark);
  }
  .nav__list a {
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: baseline;
    padding: 16px 0;
    font-size: 16px;
  }
  .nav__en {
    font-size: 11px;
  }
  .nav__cta {
    border-bottom: none !important;
    margin-top: 28px;
  }
  .nav__cta a {
    justify-content: center;
    padding: 14px;
  }
  /* メニューが開いている間はロゴとボタンを白に */
  .header.menu-open {
    color: #fff;
  }
  .header.menu-open::before {
    opacity: 0;
  }
}

/* ============================================
   HERO（写真のクロスフェード）
============================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  max-height: 1100px;
  color: #fff;
  overflow: hidden;
  background: var(--black);
}

.hero__slides {
  position: absolute;
  inset: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2.2s ease-in-out;
}
.hero__slide.is-active {
  opacity: 1;
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.72);
}
/* 表示中の写真だけ、ごくゆっくり引いていく */
.hero__slide.is-active img {
  animation: heroZoom 8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes heroZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: none;
  }
}
.hero__slide figcaption {
  position: absolute;
  right: var(--gutter);
  bottom: 36px;
  font-size: 12px;
  letter-spacing: 0.12em;
  opacity: 0.8;
}
.hero__slides::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0) 55%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--gutter) clamp(110px, 14vh, 150px);
}
.hero__label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero__label::before {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--accent);
}
.hero__en {
  display: block;
  font-family: var(--font-en);
  font-weight: 200;
  font-size: clamp(52px, 10.5vw, 156px);
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.hero__jp {
  display: block;
  margin-top: clamp(18px, 3vw, 32px);
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.8;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 4vw, 44px);
}

.hero__controls {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero__count {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.16em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__sep {
  width: 14px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
}
.hero__bar {
  position: relative;
  width: 120px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.hero__bar span {
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left;
  transform: scaleX(0);
}
.hero__pause {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s;
}
.hero__pause:hover {
  background: rgba(255, 255, 255, 0.15);
}
.hero__pause svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}
.hero__pause .i-play,
.hero__pause[aria-pressed="true"] .i-pause {
  display: none;
}
.hero__pause[aria-pressed="true"] .i-play {
  display: block;
}
.hero__pause-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@media (max-width: 767px) {
  .hero__slide figcaption {
    display: none;
  }
  .hero__label {
    font-size: 11px;
    letter-spacing: 0.16em;
  }
  .hero__label::before {
    width: 24px;
  }
  .hero__inner {
    padding-bottom: 104px;
  }
  .hero__actions .btn {
    flex: 1 1 auto;
    padding: 0 20px;
  }
  .hero__bar {
    width: 72px;
  }
}

/* ============================================
   FIGURES（数字）
============================================ */
.figures {
  border-bottom: 1px solid var(--line);
}
.figures__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.figure {
  padding: 40px 28px 36px;
  border-left: 1px solid var(--line);
}
.figure:first-child {
  border-left: none;
  padding-left: 0;
}
.figure dt {
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 0.08em;
}
.figure dd {
  margin-top: 6px;
  color: var(--black);
}
.figure .num {
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 300;
  line-height: 1.2;
}
.figure small {
  font-size: 14px;
  margin-left: 6px;
}
@media (max-width: 900px) {
  .figures__list {
    grid-template-columns: 1fr 1fr;
  }
  .figure:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }
  .figure:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .figure {
    padding: 26px 16px 24px;
  }
}

/* ============================================
   MESSAGE（左右非対称）
============================================ */
.message {
  display: grid;
  grid-template-columns: 7fr 6fr;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding: clamp(80px, 11vw, 160px) var(--gutter) clamp(80px, 11vw, 160px) 0;
}
.message__photo {
  aspect-ratio: 7 / 8;
  overflow: hidden;
}
.message__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
.message__body {
  max-width: 520px;
}
.message__title {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--black);
  margin-bottom: 32px;
  word-break: keep-all;
}
.message__body > p + p {
  margin-top: 1.2em;
}
.message__sign {
  margin-top: 40px !important;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-align: right;
}
.message__sign span {
  display: block;
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.12em;
}
@media (max-width: 860px) {
  .message {
    grid-template-columns: 1fr;
    padding: 0 0 80px;
  }
  .message__photo {
    aspect-ratio: 4 / 3;
  }
  .message__body {
    padding: 0 var(--gutter);
    max-width: none;
  }
}

/* ============================================
   BUSINESS（番号付きの行）
============================================ */
.business {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--paper);
}
.biz-list {
  border-top: 1px solid var(--black);
}
.biz {
  display: grid;
  grid-template-columns: 64px 1.1fr 1.4fr 220px;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
/* 行の下に碧の線が伸びる */
.biz::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.biz:hover::after {
  transform: scaleX(1);
}
.biz__no {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  align-self: start;
  padding-top: 8px;
}
.biz__en {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  color: var(--black);
}
.biz__title {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.biz__text {
  color: #444;
}
.biz__img {
  aspect-ratio: 10 / 7;
  overflow: hidden;
}
.biz__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition:
    filter 0.6s,
    transform 0.8s var(--ease);
}
.biz:hover .biz__img img {
  filter: grayscale(0);
  transform: scale(1.03);
}
@media (max-width: 960px) {
  .biz {
    grid-template-columns: 48px 1fr;
    gap: 14px 16px;
  }
  .biz__text,
  .biz__img {
    grid-column: 2;
  }
  .biz__img {
    max-width: 420px;
  }
}

/* ============================================
   SPREAD（全幅写真＋引用）
============================================ */
.spread {
  position: relative;
  background: var(--black);
  color: #fff;
}
.spread__photo {
  height: clamp(420px, 70vw, 820px);
  overflow: hidden;
}
.spread__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.62);
}
.spread::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
}
.spread__quote {
  z-index: 1;
}
.spread__quote {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(36px, 6vw, 80px);
  max-width: 960px;
  border-left: 1px solid var(--accent);
  padding-left: clamp(18px, 3vw, 32px);
}
.spread__quote p {
  font-size: clamp(17px, 2.1vw, 26px);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.06em;
}
.spread__quote cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 13px;
  opacity: 0.8;
}

/* ============================================
   WORKS（絞り込み＋グリッド）
============================================ */
.works {
  padding: clamp(80px, 10vw, 140px) 0;
}
.filter {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--line);
}
.filter__btn {
  flex: 1 1 auto;
  min-height: 56px;
  padding: 10px 18px;
  background: none;
  border: none;
  border-right: 1px solid var(--line);
  cursor: pointer;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.4;
  position: relative;
  color: var(--gray);
  transition: color 0.3s;
}
.filter__btn:last-child {
  border-right: none;
}
.filter__btn span {
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 400;
}
.filter__btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.filter__btn:hover,
.filter__btn[aria-pressed="true"] {
  color: var(--black);
}
.filter__btn[aria-pressed="true"]::after {
  transform: scaleX(1);
}
.filter__status {
  font-size: 13px;
  color: var(--gray);
  margin: 16px 0 28px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: clamp(16px, 2vw, 28px);
}
.work--wide {
  grid-column: span 2;
}
.work.is-hidden {
  display: none;
}
.work.is-in {
  animation: workIn 0.6s var(--ease) both;
}
@keyframes workIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
.work__btn {
  display: block;
  width: 100%;
  height: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}
.work__btn img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1);
  transition:
    filter 0.6s,
    opacity 0.6s;
}
.work--wide .work__btn img {
  aspect-ratio: auto;
  height: calc(100% - 92px);
  min-height: 260px;
}
.work__btn:hover img,
.work__btn:focus-visible img {
  filter: grayscale(0);
}
.work__meta {
  display: block;
  padding: 16px 0 0;
  border-top: 1px solid transparent;
}
.work__cat {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.work__title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-top: 4px;
  line-height: 1.6;
}
.work__sub {
  display: block;
  font-size: 14px;
  color: var(--gray);
}
@media (max-width: 960px) {
  .works-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .filter__btn {
    flex: 1 1 33%;
    border-bottom: 1px solid var(--line);
    padding: 8px 12px;
  }
  .works-grid {
    grid-template-columns: 1fr;
  }
  .work--wide {
    grid-column: auto;
  }
  .work__btn img,
  .work--wide .work__btn img {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
  }
}

/* ---------- モーダル ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.86);
  animation: fadeIn 0.35s both;
}
.modal__panel {
  position: relative;
  width: min(1080px, 100%);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  background: var(--white);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  animation: modalIn 0.3s var(--ease) both;
  outline: none;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
}
@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
}
.modal__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}
.modal__body {
  padding: clamp(28px, 4vw, 48px);
}
.modal__cat {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
}
.modal__title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  margin: 6px 0 24px;
  padding-right: 40px;
}
.modal__spec {
  border-top: 1px solid var(--black);
}
.modal__spec div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.modal__spec dt {
  color: var(--gray);
}
.modal__note {
  margin-top: 24px;
  font-size: 14px;
  color: #444;
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--black);
  border: none;
  color: #fff;
  cursor: pointer;
}
.modal__close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}
.modal__close:hover {
  background: var(--accent);
}
body.modal-open {
  overflow: hidden;
}
@media (max-width: 800px) {
  .modal {
    padding: 0;
    align-items: end;
  }
  .modal__panel {
    grid-template-columns: 1fr;
    max-height: 92vh;
    max-height: 92dvh;
  }
  .modal__img img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

/* ============================================
   APPROACH（黒地：環境・BIM/DX）
============================================ */
.approach {
  background: var(--black);
  color: #e6e6e3;
  padding: clamp(80px, 10vw, 140px) 0;
}
.approach .eyebrow,
.approach .eyebrow span {
  color: #fff;
}
.approach .sec-head__title {
  color: #fff;
}
.approach__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
}
.approach__col {
  border-top: 1px solid var(--line-dark);
  padding-top: 28px;
}
.approach__title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.approach__title span {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 200;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 8px;
}
.kpi {
  margin-top: 32px;
}
.kpi div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 14px;
}
.kpi dd {
  font-family: var(--font-en);
  color: #fff;
  white-space: nowrap;
}
.kpi .num {
  font-size: 30px;
  font-weight: 300;
  color: #5fc4c4;
  margin-right: 4px;
}
.dx-list {
  margin-top: 32px;
}
.dx-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 14px;
}
.dx-list__v {
  color: #fff;
  font-weight: 500;
  text-align: right;
}
.approach__photo {
  margin-top: clamp(56px, 8vw, 96px);
}
.approach__photo img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  filter: grayscale(1) brightness(0.85);
}
.approach__photo figcaption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--gray-light);
}
@media (max-width: 860px) {
  .approach__grid {
    grid-template-columns: 1fr;
  }
  .approach__photo img {
    aspect-ratio: 4 / 3;
  }
  .dx-list li {
    flex-direction: column;
    gap: 2px;
  }
  .dx-list__v {
    text-align: left;
  }
}

/* ============================================
   SAFETY
============================================ */
.safety {
  padding: clamp(80px, 10vw, 140px) 0;
}
.safety__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.safety__big {
  margin-top: 36px;
  font-family: var(--font-en);
  color: var(--black);
  line-height: 1;
}
.safety__big .num {
  font-size: clamp(72px, 10vw, 140px);
  font-weight: 200;
  letter-spacing: -0.02em;
}
.safety__unit {
  font-size: 18px;
  margin-left: 8px;
  color: var(--accent);
}
.safety__cap {
  margin-top: 12px;
  font-size: 13px;
  color: var(--gray);
}
.iso {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.iso li {
  border: 1px solid var(--black);
  padding: 8px 14px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.iso span {
  display: block;
  font-family: var(--font-jp);
  font-size: 11px;
  font-weight: 400;
  color: var(--gray);
}
.safety__list {
  counter-reset: s;
  border-top: 1px solid var(--black);
}
.safety__list li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 12px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.safety__list li::before {
  content: counter(s, decimal-leading-zero);
  grid-row: span 2;
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--accent);
  padding-top: 4px;
}
.safety__list h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.safety__list p {
  color: #444;
}
@media (max-width: 860px) {
  .safety__inner {
    grid-template-columns: 1fr;
  }
  .safety__list li {
    grid-template-columns: 40px 1fr;
  }
}

/* ============================================
   COMPANY
============================================ */
.company {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--paper);
}
.company__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--black);
  font-size: 14px;
}
.spec-table th,
.spec-table td {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
}
.spec-table th {
  width: 150px;
  font-weight: 500;
  color: var(--gray);
  padding-right: 20px;
}
@media (max-width: 600px) {
  /* スマホでは見出しと内容を縦に積む */
  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
  }
  .spec-table th {
    padding: 14px 0 0;
    border-bottom: none;
    font-size: 13px;
  }
  .spec-table td {
    padding: 2px 0 14px;
  }
}

.history__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.history__title span {
  display: block;
  font-family: var(--font-en);
  font-size: 34px;
  font-weight: 200;
  letter-spacing: 0;
  line-height: 1.2;
}
.history__list {
  position: relative;
  border-left: 1px solid var(--line);
  margin-left: 4px;
}
.history__list li {
  position: relative;
  padding: 0 0 22px 28px;
}
.history__list li::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 9px;
  width: 7px;
  height: 7px;
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: 50%;
}
.history__year {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--black);
}
.history__list p {
  font-size: 14px;
  color: #444;
}
@media (max-width: 960px) {
  .company__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   RECRUIT
============================================ */
.recruit {
  padding-bottom: clamp(80px, 10vw, 140px);
}
.recruit__hero {
  position: relative;
  height: clamp(460px, 62vw, 760px);
  overflow: hidden;
  background: var(--black);
  color: #fff;
}
.recruit__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.55);
}
.recruit__copy {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(40px, 6vw, 80px);
}
.recruit__en {
  font-family: var(--font-en);
  font-weight: 200;
  font-size: clamp(44px, 8vw, 112px);
  line-height: 1;
}
.recruit__jp {
  margin-top: 20px;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.7;
}
.recruit__inner {
  padding-top: clamp(56px, 8vw, 100px);
}
.recruit__lead {
  max-width: 760px;
  font-size: 16px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.recruit__cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  margin-bottom: clamp(64px, 8vw, 100px);
}
.spec-table--compact th {
  width: 110px;
}
.day__list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.day__list time {
  font-family: var(--font-en);
  font-weight: 500;
  color: var(--accent);
}
@media (max-width: 960px) {
  .recruit__cols {
    grid-template-columns: 1fr;
  }
}

.voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
  margin-bottom: clamp(72px, 9vw, 120px);
}
/* 2人目だけ下げて、段違いに並べる */
.voice:nth-child(2) {
  margin-top: 64px;
}
.voice img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  filter: grayscale(1);
}
.voice__body {
  padding-top: 18px;
}
.voice__role {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.06em;
}
.voice__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.voice__text {
  font-size: 14px;
  color: #333;
}
@media (max-width: 860px) {
  .voices {
    grid-template-columns: 1fr;
  }
  .voice {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 18px;
  }
  .voice:nth-child(2) {
    margin-top: 0;
  }
  .voice__body {
    padding-top: 0;
  }
}

/* ---------- フォーム ---------- */
.form-block {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--black);
}
.form-block__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.form-block__title span {
  display: block;
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 200;
  letter-spacing: 0;
  line-height: 1.2;
}
.form-block__lead {
  margin: 14px 0 32px;
  color: var(--gray);
  font-size: 14px;
}
.form__row {
  margin-bottom: 22px;
  border: none;
}
.form__row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form label,
.form legend {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}
.req {
  display: inline-block;
  margin-left: 10px;
  font-size: 11px;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0 6px;
  line-height: 1.6;
  vertical-align: 1px;
}
.form input:not([type="radio"]),
.form select,
.form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font-size: 16px;
  background: #fff;
  border: 1px solid #c9c9c5;
  border-radius: 0;
  transition: border-color 0.3s;
}
.form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form .is-invalid {
  border-color: #b3261e !important;
}
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.form .radio {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 400;
  margin: 0;
  cursor: pointer;
}
.radio input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.form .btn {
  width: 100%;
  margin-top: 8px;
}
.form__msg {
  margin-top: 16px;
  font-size: 14px;
  color: var(--accent);
  min-height: 1.5em;
}
@media (max-width: 600px) {
  .form__row--half {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* ============================================
   CONTACT & ACCESS
============================================ */
.contact {
  padding-top: clamp(80px, 10vw, 140px);
  background: var(--paper);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  padding-bottom: clamp(80px, 10vw, 140px);
}
.contact__intro .sec-head__title {
  margin-bottom: 24px;
}
.contact__intro p {
  color: #444;
}
.contact__tel {
  margin-top: 32px;
  border-top: 1px solid var(--black);
  padding-top: 20px;
}
.contact__tel span {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gray);
}
.contact__tel a {
  font-family: var(--font-en);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 300;
  color: var(--black);
  letter-spacing: 0.04em;
}
.contact__tel small {
  display: block;
  font-size: 13px;
  color: var(--gray);
}
@media (max-width: 900px) {
  .contact__inner {
    grid-template-columns: 1fr;
  }
}

.access {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  background: var(--white);
}
.access__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(1);
}
.access__info {
  padding: clamp(36px, 5vw, 64px) var(--gutter);
}
.access__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.access__title span {
  display: block;
  font-family: var(--font-en);
  font-size: 34px;
  font-weight: 200;
  letter-spacing: 0;
  line-height: 1.2;
}
.access__info dl div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.access__info dt {
  font-size: 12px;
  color: var(--gray);
}
@media (max-width: 900px) {
  .access {
    grid-template-columns: 1fr;
  }
  .access__map iframe {
    min-height: 300px;
  }
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--black);
  color: #cfcfcb;
  padding: 72px 0 28px;
  font-size: 14px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer__logo {
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 14px;
}
.footer__logo span {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.4em;
  color: var(--accent);
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 4px 48px;
}
.footer__nav a {
  display: inline-block;
  padding: 8px 0;
}
.footer__nav a:hover {
  color: #fff;
}
.footer__copy {
  max-width: var(--container);
  margin: 56px auto 0;
  padding: 20px var(--gutter) 0;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gray-light);
}

/* ============================================
   スクロールリビール（下から静かに）
   JSが動いたとき（html.js）だけ隠す
============================================ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================
   動きを減らす設定
============================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .hero__slide.is-active img {
    animation: none;
  }
}
