/* ───────────────────────────────────────────────────────────
   寺田建設 — design tokens & global styles
   硬派・重厚・信頼感。ネイビー基調、骨太な英字、写真前提のレイアウト。
   ─────────────────────────────────────────────────────────── */

:root {
  --c-navy: #0a1f3a;
  --c-navy-deep: #061528;
  --c-navy-soft: #16304f;
  --c-accent: #1e4d8c;       /* 明るめネイビー — 堅実・建設業らしい青 */
  --c-ink: #0c0c0e;
  --c-paper: #ffffff;
  --c-bone: #eef1f5;
  --c-line: rgba(10,31,58,.14);
  --c-mute: #6d7280;

  --bg-text-light: rgba(10,31,58,.045);
  --bg-text-dark:  rgba(255,255,255,.045);

  --f-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --f-jp-serif: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --f-en: "Bebas Neue", "Anton", "Oswald", sans-serif;

  --max-w: 1280px;
  --gut: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-jp);
  font-weight: 400;
  color: var(--c-ink);
  background: var(--c-paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ─────────── テキストリンク共通 ─────────── */
.txt-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color .25s;
}
.txt-link:hover {
  text-decoration: none;
}

/* ─────────── レイアウト枠 ─────────── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gut); position: relative; }
.section { position: relative; padding: clamp(80px, 12vw, 160px) 0; }
.section--dark { background: var(--c-navy); color: #fff; }
.section--bone { background: var(--c-bone); }

/* セクション背景の極大・極薄テキスト */
.bg-text {
  position: absolute;
  font-family: var(--f-en);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.85;
  font-size: clamp(140px, 22vw, 320px);
  color: var(--bg-text-light);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}
.section--dark .bg-text { color: var(--bg-text-dark); }
.section > .wrap { position: relative; z-index: 1; }

/* ─────────── 見出しのあしらい ─────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-en);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: currentColor;
}
.eyebrow.no-line::before { display: none; }

.headline {
  font-family: var(--f-jp);
  font-weight: 700;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--c-ink);
  margin-top: 18px;
}
.section--dark .headline { color: #fff; }
.headline .en {
  display: block;
  font-family: var(--f-en);
  font-weight: 900;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 14px;
}

/* 縦バー付き見出し（h3クラス） */
.h-bar {
  position: relative;
  padding-left: 18px;
  font-weight: 700;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.5;
}
.h-bar::before {
  content: "";
  position: absolute; left: 0; top: 0.3em; bottom: 0.2em;
  width: 3px; background: var(--c-accent);
}

/* 番号大胆 */
.num-xl {
  font-family: var(--f-en);
  font-weight: 200;
  font-size: clamp(80px, 14vw, 200px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--c-accent);
  font-feature-settings: "tnum";
}

/* ─────────── ボタン ─────────── */
.btn {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 18px 28px 18px 32px;
  background: var(--c-navy);
  color: #fff;
  font-family: var(--f-en);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background .25s ease, gap .25s ease;
}
.btn:hover { background: var(--c-navy-deep); gap: 22px; }
.btn--ghost { background: transparent; color: inherit; border: 1px solid currentColor; }
.btn--ghost:hover { background: currentColor; color: var(--c-paper); }
.section--dark .btn--ghost:hover { color: var(--c-navy); }
.btn .arr {
  width: 28px; height: 1px; background: currentColor; position: relative;
}
.btn .arr::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ─────────── プレースホルダー写真 ─────────── */
.ph {
  position: relative;
  background:
    linear-gradient(135deg, rgba(10,31,58,.92), rgba(10,31,58,.68)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 24px);
  background-color: var(--c-navy-soft);
  color: rgba(255,255,255,.5);
  overflow: hidden;
  display: flex; align-items: flex-end; justify-content: flex-start;
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 80% 20%, rgba(184,160,106,.18), transparent 60%);
}
.ph__lbl {
  position: relative; z-index: 1;
  padding: 14px 18px;
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.ph__lbl::before {
  content: ""; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-accent);
  margin-right: 10px; vertical-align: middle;
}
.ph--bone {
  background:
    linear-gradient(135deg, rgba(120,135,160,.55), rgba(70,85,110,.5)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 2px, transparent 2px 22px);
  background-color: #aab4c4;
  color: rgba(255,255,255,.85);
}
.ph--steel {
  background:
    linear-gradient(135deg, rgba(60,70,86,.85), rgba(30,40,56,.85)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 24px);
  background-color: #2a3340;
  color: rgba(255,255,255,.5);
}

/* utility */
.divider { height: 1px; background: var(--c-line); }
.section--dark .divider { background: rgba(255,255,255,.12); }

/* タイポ ジャンプ率を強調するためのユーティリティ */
.cap {
  font-family: var(--f-en);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-mute);
}
.section--dark .cap { color: rgba(255,255,255,.55); }

/* fade in on view */
.fadein { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.fadein.in { opacity: 1; transform: none; }

/* ─────────── ヘッダー ─────────── */
header {
	background: transparent;
}

.hdr {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gut);
  transition: background .3s ease, color .3s ease, box-shadow .3s ease, padding .3s ease;
  color: #fff;
  gap: 30px;
}
.hdr--scrolled {
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--c-ink);
  box-shadow: 0 1px 0 var(--c-line);
  padding-top: 14px; padding-bottom: 14px;
}
.hdr--scrolled .hdr__logo-mark {
	background: transparent;
}
.hdr--scrolled .hdr__logo-text .en {
	color: var(--c-ink);
}
.hdr--scrolled .hdr__logo-text .jp {
	color: var(--c-ink);
}
.hdr--scrolled .hdr__nav a {
	color: var(--c-ink);
}
.hdr--scrolled .hdr__nav a .num {
	color: var(--c-ink);
}
.hdr--scrolled .hdr__nav .hdr__cta {
  color: #fff;
}
.hdr__logo { display: flex; align-items: center; gap: 6px; }
.hdr__logo-mark {
	width: 50px;
	height: 50px;
	position: relative;
	background: #FFFFFF;
}
.hdr__logo-mark::after {
	content: "";
    position: absolute;
    inset: 0;
	background-image: url("/wp-content/uploads/2026/06/terada_logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
@media (max-width: 1083px) {
.hdr__logo-mark {
    width: 44px;
    height: 44px;
}
}
.hdr__logo-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.hdr__logo-text .en {
	font-family: var(--f-en);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.18em;
	color: #FFFFFF;
	line-height: 1;
}
.hdr__logo-text .jp {
	font-size: 25px;
	font-weight: 500;
	letter-spacing: 0.08em;
	opacity: .75;
	color: #FFFFFF;
	line-height: 1;
	margin-bottom: 3px;
}
@media (max-width: 1082px) {
	.hdr__logo-text {
		justify-content: center;
		height: 40px;
		gap: 0;}
}
.hdr__nav { display: flex; align-items: center; gap: 32px; }
.hdr__nav a {
	font-family: var(--f-jp);
	font-weight: 500;
	font-size: 16px;
	letter-spacing: 0.08em;
	position: relative;
	padding: 6px 0;
	color: #FFFFFF;
}
.hdr__nav a .num {
	font-family: var(--f-en);
	font-size: 12px;
	opacity: .55;
	margin-right: 8px;
	vertical-align: 1px;
	letter-spacing: 0.1em;
	color: #FFFFFF;
}
.hdr__nav a:hover { color: var(--c-accent); }
.hdr__nav .hdr__cta {
  padding: 14px 22px;
  background: var(--c-accent);;
  color: #fff;
  font-family: var(--f-en);
  font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase;
  border-radius: 0;
  transition: background .25s;
}
@media (max-width: 1083px) {
.hdr__nav .hdr__cta {
	margin-top: 30px;
}
}
.hdr__cta:hover { background: #163d72; color: #fff; }
.hdr__burger { display: none; }

@media (max-width: 1083px) {
  .hdr__nav {
    position: fixed;
    top: 72px;
    right: 0;
    width: auto;
    height: 100vh;
    background: rgba(255,255,255,.96);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 100;
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
    align-items: baseline;
	gap: 0;
	}
  .hdr__burger {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border: 1px solid currentColor;
  }
}

@media (max-width: 1083px) {
  .hdr__nav.is-open {
    transform: translateX(0);
  }
}

/* ─────────── HERO ─────────── */
.hero {
  position: relative;
  min-height: 100vh;
  color: #fff;
  overflow: hidden;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(60px, 10vh, 120px);
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,21,40,.45) 0%, rgba(6,21,40,.3) 40%, rgba(6,21,40,.85) 100%),
    url("/wp-content/uploads/2026/06/fv.jpg") center/cover no-repeat;
}
@media (max-width: 1083px) {
.hero__bg {
	background:linear-gradient(180deg, rgba(6,21,40,.45) 0%, rgba(6,21,40,.3) 40%, rgba(6,21,40,.85) 100%),url("/wp-content/uploads/2026/06/fv.jpg") left/cover no-repeat;
}}
.hero__bg-text {
  position: absolute;
  bottom: -2vw; right: -1vw;
  font-family: var(--f-en);
  font-weight: 900;
  font-size: clamp(140px, 26vw, 380px);
  line-height: 0.85;
  color: rgba(255,255,255,.06);
  letter-spacing: -0.02em;
  white-space: nowrap;
  user-select: none; pointer-events: none;
}
.hero__content {
  position: relative; z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}
.hero__copy { max-width: 820px; }
.hero__catch {
  font-family: var(--f-jp);
  font-weight: 700;
  font-size: clamp(36px, 7vw, 92px);
  line-height: 1.18;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}
.hero__catch .accent {
  color: var(--c-accent);
  font-weight: 700;
}
.hero__catch .small {
  display: block;
  font-size: clamp(14px, 1.6vw, 22px);
  letter-spacing: 0.18em;
  color: rgba(255,255,255,.78);
  margin-top: 28px;
  line-height: 1.9;
}
.hero__sub {
  font-size: 16px;
  line-height: 2;
  color: rgba(255,255,255,.78);
  max-width: 560px;
  font-weight: 300;
}
.hero__meta {
  display: flex; flex-direction: column; gap: 28px;
  align-items: flex-end;
  text-align: right;
}
.hero__meta-item {
  font-family: var(--f-en);
  font-size: 11px; font-weight: 300; letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.hero__meta-item b {
  display: block;
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: 0.04em;
  color: #fff;
  margin-top: 4px;
}
.hero__scroll {
  position: absolute;
  left: var(--gut); bottom: 24px;
  font-family: var(--f-en);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: 12px;
  writing-mode: vertical-rl;
  z-index: 2;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(.2); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 900px) {
  .hero__content { grid-template-columns: 1fr; }
  .hero__meta { align-items: flex-start; text-align: left; }
}

/* ─────────── NEWS strip ─────────── */
.news {
  background: #fff;
  border-bottom: 1px solid var(--c-line);
}
.news__inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 40px;
  padding: 28px 0;
}
.news__lbl {
  grid-column: 1;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.news__lbl .en { font-family: var(--f-en); }
.news__lbl::before {
  content: ""; display: inline-block;
  width: 8px; height: 8px;
  background: var(--c-accent);
  margin-right: 12px; vertical-align: middle;
}
.news__empty { color: var(--c-mute); }
.news__list { grid-column: 2; display: flex; flex-direction: column; gap: 14px; }
.news__item {
  display: grid;
  grid-template-columns: 110px 90px 1fr;
  gap: 24px;
  align-items: center;
  font-size: 16px;
}
.news__item .date {
  font-family: var(--f-en); font-weight: 500;
  letter-spacing: 0.08em;
}
.news__item .tag {
  font-family: var(--f-jp); font-weight: 500;
  font-size: 14px; letter-spacing: 0.08em;
  padding: 4px 10px;
  border: 1px solid var(--c-line);
  text-align: center;
  color: var(--c-mute);
}
.news__item:hover .ttl { color: var(--c-navy); }
.news__more {
  font-family: var(--f-en); font-weight: 500;
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
}
.news__more::after { content: " →"; }

@media (max-width: 769px) {
  .news__inner {display:flex; flex-direction: column; align-items: baseline; gap: 20px;}
  .news__item { display: flex; 
	flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 10px;
font-size:16px;}
	.news__item .tag {padding: 2px 5px;
    font-size: 12px;}
}

/* ─────────── BUSINESS PARALLAX (fixed BG) ─────────── */
.biz-parallax {
  position: relative;
  min-height: 30vh;
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.biz-parallax__bg {
  position: absolute; inset: 0;
  background: url("assets/parallax-business.jpg") center/cover no-repeat;
  background-attachment: fixed;
  z-index: -2;
}
.biz-parallax__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,21,40,.55) 0%, rgba(6,21,40,.65) 100%);
  z-index: -1;
}
.biz-parallax__inner {
  padding: clamp(120px, 18vw, 220px) 0;
  position: relative; z-index: 1;
}
.biz-parallax__eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--f-en);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: #fff;
  margin-bottom: 32px;
  opacity: .85;
}
.biz-parallax__eyebrow .bar { width: 60px; height: 1px; background: currentColor; }
.biz-parallax__catch {
  font-family: var(--f-jp);
  font-weight: 700;
  font-size: clamp(34px, 6.4vw, 84px);
  line-height: 1.3;
  letter-spacing: 0.04em;
  margin-bottom: 36px;
}
.biz-parallax__catch .accent { color: var(--c-accent); }
.biz-parallax__lead {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 2.1;
  font-weight: 300;
  max-width: 560px;
  color: rgba(255,255,255,.85);
}

@media (max-width: 900px) {
  /* iOS は background-attachment: fixed が不安定なので解除 */
  .biz-parallax__bg { background-attachment: scroll; }
}


.biz__head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}
.biz__head-lead {
  font-size: 17px;
  line-height: 2.1;
  color: var(--c-mute);
  max-width: 560px;
}
.biz__list { display: flex; flex-direction: column; }
.biz__item {
  display: grid;
  grid-template-columns: 100px 1fr 1.1fr;
  gap: 40px;
  padding: 44px 0;
  border-top: 1px solid var(--c-line);
  align-items: center;
}
.biz__item:last-child { border-bottom: 1px solid var(--c-line); }
.biz__num {
  font-family: var(--f-en);
  font-weight: 400;
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--c-accent);
}
.biz__name { display: flex; flex-direction: column; gap: 6px; }
.biz__name .en {
  font-family: var(--f-en); font-weight: 400;
  font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-mute);
  opacity: .8;
}
.biz__name .jp {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700; letter-spacing: 0.02em;
}
.biz__desc {
  font-size: 16px; line-height: 1.9;
  color: var(--c-mute);
}

@media (max-width: 769px) {
  .biz__head { grid-template-columns: 1fr; gap: 30px; margin-bottom: 30px;}
  .biz__item { grid-template-columns: 60px 1fr; gap: 16px; padding: 28px 0; }
  .biz__num { font-size: 36px; }
  .biz__desc { display: none; }
}

/* 実写画像が入った場合は、プレースホルダーのオーバーレイを無効化 */
.ph--img::before { display: none; }
.ph--img .ph__lbl {
  background: rgba(10, 31, 58, .85);
  color: #fff;
}


.str__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
}
.str__row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}
.str__row:last-child { margin-bottom: 0; }
.str__row--reverse { grid-template-columns: 1fr 1.15fr; }
.str__row--reverse .str__photo { order: 2; }
.str__photo {
  position: relative;
  aspect-ratio: 4 / 3;
}
.str__photo .ph { width: 100%; height: 100%; }
.str__photo-num {
  position: absolute;
  font-family: var(--f-en);
  font-weight: 200;
  font-size: clamp(80px, 10vw, 160px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,.92);
}
.str__row:nth-child(odd) .str__photo-num { left: -20px; bottom: -36px; color: var(--c-navy); }
.str__row--reverse .str__photo-num { right: -20px; bottom: -36px; color: var(--c-navy); }
.str__txt { padding: 0 20px; }
.str__no {
  font-family: var(--f-en); font-weight: 700;
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 18px;
}
.str__ttl {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700; line-height: 1.45;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.str__body {
  font-size: 16px; line-height: 2;
  color: var(--c-mute);
  margin-bottom: 24px;
}
.str__pts {
  display: flex; flex-direction: column; gap: 12px;
  border-top: 1px solid var(--c-line);
  padding-top: 24px;
}
.str__pts li {
  list-style: none;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  font-size: 16px;
  align-items: baseline;
}
.str__pts li::before {
  content: counter(strpts, decimal-leading-zero);
  font-family: var(--f-en); font-weight: 700;
  font-size: 13px; letter-spacing: 0.1em;
  color: var(--c-accent);
}
.str__pts { counter-reset: strpts; }
.str__pts li { counter-increment: strpts; }

@media (max-width: 900px) {
  .str__head { grid-template-columns: 1fr; gap: 24px; }
  .str__row, .str__row--reverse { grid-template-columns: 1fr; gap: 30px; margin-bottom: 60px; }
  .str__row--reverse .str__photo { order: 0; }
  .str__txt { padding: 0; }
}

/* ─────────── WORKS — Latest single feature card ─────────── */
.works__feature {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  background: #fff;
  align-items: stretch;
  transition: transform .35s ease;
}
.works__feature:hover { transform: translateY(-4px); }
.works__feature-photo { position: relative; }
.works__feature-photo .ph {
  width: 100%; height: 100%;
  aspect-ratio: 4 / 3;
}
.works__feature-info {
  padding: clamp(32px, 5vw, 72px);
  display: flex; flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.works__feature .cat {
  font-family: var(--f-en); font-weight: 400;
  font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 4px;
}
.works__feature .ttl {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.works__feature .meta {
  font-size: 16px;
  color: var(--c-mute);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.works__feature-link {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--c-ink);
  margin-top: 8px;
  transition: gap .25s, color .25s;
}
.works__feature-link .arr {
  display: inline-block;
  width: 36px; height: 1px;
  background: currentColor;
  position: relative;
}
.works__feature-link .arr::after {
  content: "";
  position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.works__feature:hover .works__feature-link {
  color: var(--c-accent);
  gap: 20px;
}

@media (max-width: 800px) {
  .works__feature { grid-template-columns: 1fr; }
}


.works {
  background: var(--c-bone);
}
.works__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}
.works__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}
.works__card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  transition: transform .35s ease;
}
.works__card:hover { transform: translateY(-6px); }
.works__card .ph { aspect-ratio: 4 / 3; }
.works__card--big { grid-row: span 2; }
.works__card--big .ph { aspect-ratio: 4 / 5; }
.works__card-info { padding: 22px 24px 28px; }
.works__card .cat {
  font-family: var(--f-en); font-weight: 500;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 10px;
}
.works__card .ttl {
  font-size: 17px; font-weight: 700;
  line-height: 1.55;
  margin-bottom: 8px;
}
.works__card .meta {
  font-size: 16px; color: var(--c-mute);
  letter-spacing: 0.04em;
}
.works__card--big .ttl { font-size: 22px; }

@media (max-width: 900px) {
  .works__head { grid-template-columns: 1fr; gap: 24px; }
  .works__grid { grid-template-columns: 1fr 1fr; }
  .works__card--big { grid-row: auto; grid-column: span 2; }
}

/* ─────────── PHOTO BAND (息継ぎ) ─────────── */
.band {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  height: clamp(280px, 32vw, 460px);
  gap: 0;
}
.band .ph { width: 100%; height: 100%; }
.band__item { position: relative;}
.band__lbl {
	position: absolute;
	bottom: 0px;
	left: 0px;
	background: var(--c-navy-deep);
	color: #fff;
    padding: 14px 18px;
    font-family: var(--f-en);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
}
.band__lbl::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-accent);
    margin-right: 10px;
    vertical-align: middle;
}
@media (max-width: 769px) {
	.band__lbl {padding: 5px;}
}
/* ─────────── MESSAGE ─────────── */
.msg {
  background: var(--c-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.msg__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}
.msg__photo {
  aspect-ratio: 3 / 4;
}
.msg__photo .ph { height: 100%; }
.msg__txt { position: relative; }
.msg__quote {
  font-family: var(--f-jp);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.7;
  letter-spacing: 0.04em;
	color: var(--c-paper);
  margin-bottom: 40px;
}
.msg__quote .accent {
  font-weight: 700;
  color: var(--c-accent);
}
.msg__body {
  font-size: 16px;
  line-height: 2.1;
  color: rgba(255,255,255,.78);
  font-weight: 300;
  margin-bottom: 36px;
  max-width: 640px;
}
.msg__sign {
  display: flex; align-items: baseline; gap: 24px;
  font-family: var(--f-jp);
}
.msg__sign .role {
  font-family: var(--f-en); font-weight: 300;
  font-size: 14px; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.24em;
}
.msg__sign .name {
  font-size: 24px; font-weight: 700; letter-spacing: 0.16em;color: var(--c-paper);
}

@media (max-width: 900px) {
  .msg__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ─────────── FLOW ─────────── */
.flow__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-line);
  border-left: 1px solid var(--c-line);
}
.flow__step {
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 36px 28px 40px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  transition: background .3s, color .3s;
}
.flow__step:hover { background: var(--c-navy); color: #fff; }
.flow__step:hover .flow__num { color: var(--c-accent); }
.flow__step:hover .flow__desc { color: rgba(255,255,255,.75); }
.flow__num {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 13px; letter-spacing: 0.24em;
  color: var(--c-accent);
}
.flow__num span {
  display: block;
  font-weight: 200;
  font-size: 64px;
  line-height: 1;
  color: var(--c-ink);
  margin-top: 8px;
  transition: color .3s;
}
.flow__step:hover .flow__num span { color: #fff; }
.flow__ttl {
  font-size: 18px; font-weight: 700;
  line-height: 1.5;
  margin-top: 8px;
}
.flow__desc {
  font-size: 13px; line-height: 1.9;
  color: var(--c-mute);
}

@media (max-width: 900px) {
  .flow__list { grid-template-columns: 1fr 1fr; }
}

/* ─────────── RECRUIT ─────────── */
.rec {
  background: var(--c-navy-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.rec__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(6,21,40,.85), rgba(22,48,79,.6)),
    repeating-linear-gradient(45deg, rgba(184,160,106,.04) 0 2px, transparent 2px 24px);
}
.rec__bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 90% 30%, rgba(184,160,106,.18), transparent 60%);
}
.rec__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.rec__txt .headline { color: #fff; }
.rec__lead {
	font-size: 16px;
	line-height: 2;
	color: rgba(255, 255, 255, .6);
	margin: 32px 0 40px;
	font-weight: 300;
	max-width: 520px;
}
.rec__photo { aspect-ratio: 5 / 4; position: relative; }
.rec__photo .ph { height: 100%; }
.rec__stat {
  position: absolute; right: -20px; top: -36px;
  background: var(--c-accent);
  color: #fff;
  padding: 18px 24px;
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--f-en);
}
.rec__stat .num {
  font-weight: 700; font-size: 40px; line-height: 1;
  letter-spacing: 0.02em;
}
.rec__stat .lbl {
  font-size: 10px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
}

.rec__inner-v {
  position: relative;
}
.rec__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}
.rec__head .headline { color: #fff; }
.rec__head .headline .jp { color: #fff; }
.rec__lead {
  font-size: 16px; line-height: 2;
  color: #fff;
  letter-spacing: 0.04em;
}
.rec__body {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}
/* ========== INFO TABLE（共通テーブル） ==========
 * 会社概要・採用情報で共有する表コンポーネント
 * .info-table--light : 明るい背景（会社概要）
 * .info-table        : 暗い背景（採用情報） デフォルト
 * ================================================= */
.info-table {
  border-top: 1px solid rgba(255,255,255,.18);
  width: 100%;
}
.info-table--light {
  border-top: 1px solid var(--c-line);
}
.info-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  align-items: center;
}
.info-table--light .info-row {
  border-bottom: 1px solid var(--c-line);
}
.info-th {
  display: flex; flex-direction: column;
  gap: 4px;
}
.info-th-en {
  font-family: var(--f-en); font-weight: 400;
  font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--c-accent-soft, rgba(184,160,106,.9));
}
.info-table--light .info-th-en {
  color: var(--c-mute);
}
.info-th-jp {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.06em;
}
.info-table--light .info-th-jp {
  color: var(--c-ink);
}
.info-td {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255,255,255,.86);
  letter-spacing: 0.04em;
  white-space: pre-line;
}
.info-table--light .info-td {
  color: var(--c-ink);
}
.info-td b { font-weight: 700; }
.info-td a {
	font-size: 16px;
	font-weight: 700;
}
.info-note {
  margin-top: 32px;
  font-size: 14px;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.04em;
}
.info-table--light .info-note {
  color: var(--c-mute);
}

@media (max-width: 800px) {
  .info-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }
}

/* rec__table → info-table に統合 */
.rec__photo-col {
  position: sticky;
  top: 100px;
  aspect-ratio: 3 / 4;
}
.rec__photo-col .ph {
  width: 100%; height: 100%;
}
/* rec__row/th/td → info-row/th/td に統合 */

@media (max-width: 769px) {
  .rec__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 0; }
  .rec__row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .rec__body { grid-template-columns: 1fr; gap: 32px; }
  .rec__photo-col { position: static; aspect-ratio: 4 / 3; }
	.rec__lead {
		margin: 0;
	}
}



/* ─────────── COMPANY ─────────── */
.cmp__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}
.cmp__map {
}

/* cmp__table → info-table--light に統合 */

@media (max-width: 900px) {
  .cmp__inner { grid-template-columns: 1fr; gap: 40px; }
  .cmp__table th { width: 110px; }
}

/* ─────────── CTA ─────────── */
.cta {
  background: var(--c-bone);
  position: relative;
}
.cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px var(--gut);
}
.cta__head {
  display: flex; flex-direction: column; gap: 14px;
}
.cta__head .en {
  font-family: var(--f-en); font-weight: 900;
  font-size: clamp(40px, 6vw, 72px); line-height: 0.9;
  letter-spacing: -0.01em;
}
.cta__head .jp {
  font-size: 16px; color: var(--c-mute);
  letter-spacing: 0.04em;
}
.cta__btns {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.cta__btn {
  display: flex; flex-direction: column; gap: 4px;
  padding: 22px 32px;
  background: var(--c-navy);
  color: #fff;
  min-width: 220px;
  transition: background .25s;
}
@media (max-width: 769px) {
  .cta__btn { width: 100%; }
	a[href*="tel:"] {
    text-decoration: none;
}
}
.cta__btn:hover { background: var(--c-navy-deep); }
.cta__btn--accent { background: var(--c-accent); color: #fff; }
.cta__btn--accent:hover { background: #163d72; color: #fff; }
.cta__btn .lbl {
  font-family: var(--f-en); font-weight: 500;
  font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--c-paper);
  opacity: .7;
}
.cta__btn .val {
  font-family: var(--f-en); font-weight: 500;
  font-size: 22px; letter-spacing: 0.04em;
  color: var(--c-paper);
}

@media (max-width: 800px) {
  .cta__inner { grid-template-columns: 1fr; }
}

/* ─────────── FOOTER ─────────── */
.ftr {
  background: var(--c-navy-deep);
  color: rgba(255,255,255,.7);
  padding: 80px 0 40px;
}
@media (max-width: 768px) {
.ftr {
    padding: 40px 0 20px;
}
}
.ftr__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  margin-bottom: 80px;
}
.ftr__brand .mark {
  width: 56px;
  height: 56px;
  position: relative;
  margin-bottom: 10px;
  background-color: #FFFFFF;
}
.ftr__brand .mark::after {
	content: "";
    position: absolute;
    inset: 0;
    background-image: url("/wp-content/uploads/2026/06/terada_logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.ftr__brand .name {
	font-family: var(--f-en);
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.18em;
	color: #fff;
	margin-top: 15px;
	margin-bottom: 6px;
	line-height: 1;
}
.ftr__brand .jp {
	font-size: 25px;
	letter-spacing: 0.06em;
	color: rgba(255,255,255,.6);
	margin-bottom: 24px;
	line-height: 1;
}
.ftr__brand .address {
  font-size: 16px; letter-spacing: 0.06em; color: rgba(255,255,255,.6);
  margin-bottom: 24px;
}
.ftr__brand p { font-size: 16px; line-height: 1.9; }
.ftr__col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ftr__col a {
	font-size: 16px;
	transition: color .2s;
	color:rgba(255,255,255,.6);
}
@media (max-width: 768px) {
.ftr__col ul{
    flex-direction: row;
    flex-wrap: wrap;
}
	.ftr__col ul li{
		width: calc(50% - 6px);
		z-index: 2;
}
}
.ftr__bg {
	font-family: var(--f-en);
	font-weight: 900;
	font-size: clamp(80px, 18vw, 240px);
	line-height: 0.85;
	color: rgba(255,255,255,.04);
	letter-spacing: -0.01em;
	text-align: center;
	position: absolute;
	bottom: 15px;
}
@media (max-width: 768px) {
	.ftr__bg {
		top: auto;
		bottom: 10px;
		left: 50%;
		transform: translateX(-50%);
		width: 100%;
	}
}
.ftr__bottom {
  display: inline-flex; justify-content: space-between; align-items: center;
  padding: 24px 0 365px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 14px;
  font-family: var(--f-en); letter-spacing: 0.18em;
  color: rgba(255,255,255,.6);
}

@media (max-width: 768px) {
  .ftr__top { grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px;}
  .ftr__bottom { flex-direction: column; gap: 14px;  padding-bottom: 0; width: 100%; }
}
@media (max-width: 768px) {
	.ftr__brand .name {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    gap: 10px;
		margin-top: 0;
    line-height: 1;
  }
	.ftr_name {
		display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
	}
  .ftr_name .text {
	  display: flex;
	  flex-direction: column;
	  height: stretch;
	  gap: 4px; /* ← nameとjpの縦gap */
	justify-content: center;}
	.ftr__brand .mark {
		margin-bottom: 0;
	}
	.ftr__brand .jp {
		margin-bottom: 0;
    line-height: 1;
	}
}
/* ==============================================
   施工事例ページ
   ============================================== */
.works-detail {
	padding-bottom: 80px;
}

.works-detail__item {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-top: 1px solid #ddd;
}

.works-detail__item dt,
.works-detail__item dd {
  padding: 16px;
  border-bottom: 1px solid #ddd;
  margin: 0;
}
@media screen and (max-width: 768px) {
	.works-detail__item {grid-template-columns: 1fr;}

.works-detail__item dt,
.works-detail__item dd {width: 100%;}
}
.works-detail__item dt {
  background: #f7f7f7;
  font-weight: 600;
}

.works-detail__point {
	margin: 40px 0;
}

@media screen and (min-width: 768px) and (max-width: 999px) {
    a[href*="tel:"] {
        pointer-events: auto;
        cursor: pointer;
    }
}
@media screen and (min-width: 1000px) {
    a[href*="tel:"] {
        pointer-events: auto;
        cursor: pointer;
		font-size: 16px;
    }
}
/* ==============================================
   　共通パンくず
   ============================================== */
.breadcrumb {
  padding: 18px var(--gut) 0;
  font-size: 14px;
  color: #1e1e1e;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
}

/* 矢印 */
.breadcrumb__item::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 12px;
  margin: 0 12px;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.5; /* ← ここで少し薄く */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12'%3E%3Cpath d='M2 1l4 5-4 5' stroke='currentColor' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.breadcrumb__item:last-child::after {
  display: none;
}

.breadcrumb__item--current {
  color: #1e1e1e;
}

.row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }
}

.col-4 {
  width: 33.333%;
}

@media (max-width: 768px) {
  .col-4 {
    width: 100%;
  }
}

.col {
  flex: 1;
  min-width: 0;
}

#business,
#works,
#message,
#company,
#recruit {
  overflow-x: hidden;
}

@media (max-width: 768px) {
  #business .bg-text {
    top: 5% !important;
  }
	  #company .bg-text {
    top: 2% !important;
  }	  #recruit .bg-text {
    top: 2% !important;
  }
}
.works__feature-photo.ph--img {
  aspect-ratio: 4 / 3;
}