/* =========================================================
   有限会社 大坪建設工業  Corporate Site
   Design system / global stylesheet
   ---------------------------------------------------------
   Palette : blue / white base, navy + grays as support
   Type    : Noto Sans JP only
             見出し 700–800 / サブ見出し 600–700 / 本文 400–500 / ボタン 700
             日本語の見出しを主役にし、英字は小さな補助ラベルとして使用
   ========================================================= */

:root {
  --white: #ffffff;
  --blue: #0a4da2;
  --blue-deep: #083c80;
  --navy: #0b1e3c;
  --ink: #22262c;
  --gray-700: #5b6069;
  --gray-500: #8a9099;
  --gray-300: #cfd4db;
  --gray-100: #f2f3f5;

  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;

  --gutter: clamp(20px, 5vw, 80px);
  --max: 1360px;
  --header-h: 88px;

  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .02em;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
/* keyboard users: jump past the header (visible only while focused) */
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 400; padding: 10px 16px; background: var(--navy); color: var(--white); font-size: 14px; font-weight: 700; border-radius: 4px; }
.skip-link:focus { top: 12px; outline: 2px solid var(--blue); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography helpers ---------- */
.en { font-family: var(--font); }
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--blue);
}
.lead {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--navy);
}
.body-text { max-width: 36em; }
.body-text + .body-text { margin-top: 1.4em; }
.mt-l { margin-top: clamp(40px, 5vw, 72px); }
.mt-m { margin-top: clamp(24px, 3vw, 40px); }

/* Section head: bold Japanese heading, small English label below, short blue bar. Centred. */
.sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.sec-head__jp {
  order: 1;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .04em;
  color: var(--navy);
}
.sec-head__en {
  order: 2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1.4;
}
.sec-head::after { content: ""; order: 3; width: 40px; height: 3px; background: var(--blue); margin-top: 8px; }
.sec-head--light .sec-head__en { color: var(--white); opacity: .85; }
.sec-head--light .sec-head__jp { color: var(--white); }
.sec-head--light::after { background: var(--white); }
.sec-head--sm .sec-head__jp { font-size: clamp(22px, 2.4vw, 30px); }
.sec-head--nobar::after { display: none; }
/* page title over a photo keeps its original left-aligned form */
.page-hero .sec-head { align-items: flex-start; text-align: left; }
.page-hero .sec-head__en { order: 0; }
/* short intro sentence directly under a centred heading */
.sec-intro { margin-inline: auto; text-align: center; }

/* Sub-section heading (JP) */
.h-sub {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--navy);
  line-height: 1.5;
}
.h-sub + * { margin-top: clamp(24px, 3vw, 40px); }
.h-sub .en { order: 2; display: block; font-size: 11px; letter-spacing: .08em; color: var(--blue); margin-top: 8px; font-weight: 700; }

/* "詳しく見る" link with extending line */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--navy);
}
.link-more::after {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
  transition: width .5s var(--ease-out);
}
.link-more:hover::after, a:hover > .link-more::after, a:hover .link-more::after { width: 64px; }
.link-more--light { color: var(--white); }

/* Primary button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 40px;
  background: var(--blue);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  transition: background .35s var(--ease-out), color .35s var(--ease-out);
}
.btn:hover { background: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--gray-100); }

/* Numbered circle (used in business lists) */
.circle-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .02em;
  flex: 0 0 auto;
  transition: background .35s, color .35s;
}

/* Pending content (data not yet provided by the company) */
.pending {
  padding: 28px 32px;
  background: var(--gray-100);
  border-left: 3px solid var(--blue);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
}

/* ---------- Opening (top page only) ----------
   video full-screen -> fades to white (1.3s) -> one quiet line fades in -> overlay fades out (1s) */
.intro { position: fixed; inset: 0; z-index: 300; background: var(--white); }
.intro__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  background: var(--white);
  transition: opacity 1.3s ease;
}
.intro.is-fading .intro__video { opacity: 0; }
.intro__copy {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 100%; margin: 0; padding: 0 var(--gutter);
  text-align: center;
  font-size: clamp(40px, 7.4vw, 112px);   /* same weight and presence as the company name on the photo */
  font-weight: 800;
  letter-spacing: .06em;
  text-indent: .06em;
  line-height: 1.3;
  color: #1e2430;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.intro.is-copy .intro__copy { opacity: 1; }
.intro.is-leaving { opacity: 0; pointer-events: none; transition: opacity 1s ease; }
/* page lock while the opening plays: overflow alone is not enough on iOS, so the body is pinned too */
html.intro-lock { overflow: hidden; height: 100%; }
html.intro-lock body { overflow: hidden; height: 100%; position: fixed; top: 0; left: 0; right: 0; }
.intro { touch-action: none; overscroll-behavior: none; }
.sp-only { display: none; }
@media (max-width: 767px) { .sp-only { display: inline; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
  color: var(--white);
  transition: background-color .45s var(--ease-out), color .45s var(--ease-out), height .45s var(--ease-out), box-shadow .45s;
}
.site-header.is-solid,
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .97);
  color: var(--navy);
  box-shadow: 0 1px 0 var(--gray-300);
}
.site-header.is-scrolled { height: calc(var(--header-h) - 16px); }
.site-header.is-menu-open { background: transparent; color: var(--white); box-shadow: none; z-index: 120; }

.brand { display: flex; align-items: center; gap: 12px; line-height: 1.15; }
.brand__text { display: flex; flex-direction: column; }
.brand__mark { width: auto; height: 52px; flex: 0 0 auto; }
/* the mark is always shown in its original colours (no white silhouette over the hero) */
.site-header.is-scrolled .brand__mark { height: 44px; }
.site-footer .brand__mark { height: 56px; }
.brand__jp { font-size: 20px; font-weight: 700; letter-spacing: .04em; }
.brand__jp small { font-size: 11px; font-weight: 700; letter-spacing: .04em; margin-right: 6px; opacity: .9; }
.brand__en { font-size: 9px; font-weight: 500; letter-spacing: .12em; opacity: .75; margin-top: 3px; }

.menu-btn {
  display: flex; align-items: center; gap: 12px;
  height: 44px; padding: 0 0 0 8px;
  position: relative; z-index: 110;
  color: inherit;
}
.menu-btn__label { font-size: 10px; font-weight: 700; letter-spacing: .14em; line-height: 1; opacity: .85; }
.menu-btn__label::before { content: "MENU"; }
.menu-btn[aria-expanded="true"] .menu-btn__label::before { content: "CLOSE"; }
.menu-btn__lines { position: relative; display: block; width: 26px; height: 44px; }
.menu-btn__lines i {
  position: absolute; left: 0; width: 26px; height: 1.5px; background: currentColor;
  transition: transform .4s var(--ease-inout), top .4s var(--ease-inout), opacity .3s;
}
.menu-btn__lines i:nth-child(1) { top: 15px; }
.menu-btn__lines i:nth-child(2) { top: 22px; }
.menu-btn__lines i:nth-child(3) { top: 29px; }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.menu-btn:hover .menu-btn__label { opacity: 1; }

/* Full-screen menu (opened from the hamburger on every screen size) */
.site-menu {
  position: fixed; inset: 0; z-index: 105;
  background: var(--blue); color: var(--white);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease-out), visibility 0s .45s;
  overflow-y: auto;
}
.site-menu.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease-out); }
.site-menu__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.site-menu nav a { display: flex; align-items: baseline; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); transition: opacity .3s; }
.site-menu nav a:hover { opacity: .7; }
.site-menu nav a[aria-current="page"] { border-bottom-color: rgba(255,255,255,.55); }
.site-menu nav .jp { order: 1; font-size: 20px; font-weight: 700; letter-spacing: .04em; }
.site-menu nav .en { order: 2; font-size: 10px; font-weight: 500; letter-spacing: .1em; opacity: .6; }
.site-menu__info { margin-top: 40px; font-size: 12px; line-height: 1.9; opacity: .85; font-style: normal; }
.site-menu__info .tel { font-size: 22px; font-weight: 700; letter-spacing: .02em; opacity: 1; display: inline-block; margin-top: 4px; }
.site-menu__info .hours { display: inline-block; margin-top: 4px; }

@media (min-width: 1024px) {
  .site-menu { display: flex; align-items: center; padding-block: var(--header-h) 40px; }
  .site-menu__inner {
    width: 100%; max-width: 1040px; min-height: 0; margin: 0 auto;
    flex-direction: row; align-items: center; justify-content: space-between; gap: 80px;
  }
  .site-menu nav { flex: 0 1 560px; }
  .site-menu nav a { padding: 22px 0; gap: 18px; }
  .site-menu nav .jp { font-size: 28px; }
  .site-menu nav .en { font-size: 11px; }
  .site-menu__info { margin-top: 0; flex: 0 0 auto; font-size: 13px; line-height: 2; padding-left: 48px; border-left: 1px solid rgba(255,255,255,.2); }
  .site-menu__info .tel { font-size: 26px; }
}
@media (max-width: 767px) {
  .menu-btn__label { display: none; }
  .menu-btn { padding-left: 0; }
}
@media (max-width: 767px) {
  .brand { gap: 8px; }
  .brand__mark { height: 40px; }
  .site-header.is-scrolled .brand__mark { height: 34px; }
  .brand__jp { font-size: 17px; }
  .brand__en { font-size: 8px; letter-spacing: .1em; }
}

/* ---------- Hero (top page) ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}
.hero__media, .hero__media video, .hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__media img { transform: scale(1.02); }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,30,60,.62) 0%, rgba(11,30,60,.28) 55%, rgba(11,30,60,.08) 100%),
    linear-gradient(0deg, rgba(11,30,60,.55) 0%, rgba(11,30,60,0) 45%),
    linear-gradient(180deg, rgba(11,30,60,.35) 0%, rgba(11,30,60,0) 28%);
}
.hero__content {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(88px, 14vh, 160px);
  max-width: 900px;
}
.hero__eyebrow {
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
  letter-spacing: .06em;
  opacity: .9;
  margin-bottom: 22px;
}
.hero__title { display: flex; flex-direction: column; }
.hero__co { font-size: clamp(15px, 1.4vw, 20px); font-weight: 700; letter-spacing: .1em; margin-bottom: 8px; }
.hero__jp {
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.2;
  letter-spacing: .04em;
  font-weight: 800;
}
.hero__en {
  font-size: clamp(11px, .95vw, 13px);
  font-weight: 500;
  letter-spacing: .12em;
  margin-top: 14px;
  opacity: .85;
}
.hero__lead {
  margin-top: 30px;
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: .04em;
}
.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 0;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10px; font-weight: 500; letter-spacing: .16em;
}
.hero__scroll i {
  display: block; width: 1px; height: 72px; overflow: hidden; position: relative;
  background: rgba(255,255,255,.25);
}
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--white);
  animation: scrollLine 2.2s var(--ease-inout) infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 55% { top: 0; } 100% { top: 100%; } }

/* page-load sequence */
/* Still-photo hero: company name centred on the photo (the opening keeps its own catchphrase) */
.hero--still .hero__overlay {
  background:
    linear-gradient(180deg, rgba(11,30,60,.22) 0%, rgba(11,30,60,.10) 45%, rgba(11,30,60,.30) 100%);
}
.hero__content--centre {
  top: 0; right: 0; bottom: 0; left: 0; max-width: none;
  display: flex; align-items: center; justify-content: center;
  padding: 0 var(--gutter);
}
.hero__brand {
  margin: 0;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(11,30,60,.5);
}
.hero__brand-co {
  font-size: clamp(48px, 10.5vw, 160px);   /* same size and weight as the company name */
  font-weight: 800;
  letter-spacing: .06em;
  text-indent: .06em;
  line-height: 1.15;
  margin-bottom: 0;
}
.hero__brand-name {
  white-space: nowrap;   /* six characters must stay on one line even on 375px phones */
  font-size: clamp(48px, 10.5vw, 160px);
  font-weight: 800;
  letter-spacing: .06em;
  text-indent: .06em;
  line-height: 1.15;
}
.hero--still [data-load] { transform: none; }   /* fade only, so the line does not move when it takes over from the opening */

.hero [data-load] { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.hero.is-ready [data-load] { opacity: 1; transform: none; }
.hero.is-ready [data-load="1"] { transition-delay: .15s; }
.hero.is-ready [data-load="2"] { transition-delay: .35s; }
.hero.is-ready [data-load="3"] { transition-delay: .55s; }
.hero.is-ready [data-load="4"] { transition-delay: .75s; }
.hero.is-ready [data-load="5"] { transition-delay: 1.1s; }

@media (max-width: 767px) {
  .hero { min-height: 100svh; }
  .hero__content { bottom: 96px; }
  .hero__overlay { background: linear-gradient(0deg, rgba(11,30,60,.7) 0%, rgba(11,30,60,.15) 60%, rgba(11,30,60,.3) 100%); }
  .hero__jp { font-size: clamp(32px, 9vw, 44px); }
  .hero__scroll { right: auto; left: var(--gutter); }
  .hero__scroll i { height: 48px; }
}

/* ---------- Generic sections ---------- */
.section { padding-block: clamp(80px, 10vw, 150px); }
.section--tight { padding-block: clamp(64px, 8vw, 110px); }
.section--gray { background: var(--gray-100); }
.section--navy { background: var(--navy); color: var(--white); }
.section + .section { padding-top: 0; }
.section--gray + .section, .section + .section--gray { padding-top: clamp(80px, 10vw, 150px); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.split--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split__sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.stack { display: flex; flex-direction: column; align-items: center; }
.stack__head { text-align: center; }
.stack__head .body-text { margin-inline: auto; margin-top: 20px; }
.stack > * + * { width: 100%; max-width: 880px; margin-top: clamp(32px, 4vw, 56px); }
.stack .philosophy__statement, .stack .message__quote { text-align: center; }
/* body copy under a centred heading: the paragraph block sits on the centre line (text itself stays left-aligned) */
.stack > * + * .body-text { margin-inline: auto; }
@media (max-width: 899px) {
  .split, .split--reverse { grid-template-columns: 1fr; gap: 40px; }
  .split__sticky { position: static; }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

/* Photo with slow drift */
.photo { position: relative; overflow: hidden; background: var(--gray-100); }
.photo img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.photo--drift img { transform: scale(1.12) translateY(var(--drift, 0px)); }

/* ---------- Business section (top page) ---------- */
.biz { position: relative; }
.biz__intro { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(40px, 5vw, 64px); }
.biz__intro { text-align: center; }
.biz__intro .lead { margin-top: clamp(28px, 4vw, 48px); }
.biz__intro .body-text { margin-inline: auto; text-align: left; }
.biz__intro .body-text { margin-top: 20px; }

.biz-stage-wrap { position: relative; height: 420vh; }
.biz-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
/* Each circle = blue disc + white line-art symbol (pale-blue accent line) + small number and name. */
.biz-circle {
  position: absolute;
  left: 0; top: 0;
  width: 100px; height: 100px;            /* set by JS */
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  --accent: #a9c9ff;   /* accent line on the blue disc */
  --num: rgba(255,255,255,.85);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  will-change: transform, width, height;
  pointer-events: none;
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out);
}
.biz-circle.is-active { pointer-events: auto; }
.biz-circle.is-active:hover { background: var(--navy); --num: var(--white); }
.biz-circle__inner { display: flex; flex-direction: column; align-items: center; }
.biz-circle__num {
  font-size: calc(var(--d, 160px) * .07);
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--num);
  line-height: 1;
  transition: color .4s var(--ease-out);
}
.biz-circle__icon {
  display: block;
  width: calc(var(--d, 160px) * .34);
  height: calc(var(--d, 160px) * .34);
  margin: calc(var(--d, 160px) * .025) 0 calc(var(--d, 160px) * .02);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.biz-circle__icon .ac { stroke: var(--accent); transition: stroke .4s var(--ease-out); }
.biz-circle__name {
  font-size: calc(var(--d, 160px) * .078);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.4;
  padding-inline: calc(var(--d, 160px) * .12);
}

.biz-stage__core, .biz-stage__hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  text-align: center; pointer-events: none; opacity: 0; width: min(70vw, 480px); z-index: 5;
}
.biz-stage__core { color: var(--white); }
.biz-stage__core .en { display: block; font-size: clamp(11px, 1vw, 13px); font-weight: 700; letter-spacing: .12em; opacity: .85; }
.biz-stage__core .jp {
  display: block; margin-top: 16px; font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 800; letter-spacing: .04em; line-height: 1.6;
}
.biz-stage__hub { color: var(--navy); }
.biz-stage__hub .en { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--blue); }
.biz-stage__hub .jp { display: block; margin-top: 8px; font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; letter-spacing: .04em; line-height: 1.3; }
.biz-stage__hub .note { display: block; margin-top: 14px; font-size: 12px; font-weight: 500; color: var(--gray-700); letter-spacing: .02em; }
.biz-stage__hub.is-on-blue { color: var(--white); }
.biz-stage__hub.is-on-blue .en { color: var(--white); opacity: .85; }

.biz__after { padding-block: clamp(48px, 6vw, 96px); display: flex; justify-content: center; }

/* mobile list (final state on small screens) */
.biz-list { display: none; border-top: 1px solid var(--gray-300); }
.biz-list li { border-bottom: 1px solid var(--gray-300); }
.biz-list a { display: flex; align-items: center; gap: 20px; padding: 18px var(--gutter); }
.biz-list .circle-num { width: 48px; height: 48px; font-size: 14px; background: var(--blue); color: var(--white); border-color: var(--blue); }
.biz-list .name { font-size: 16px; font-weight: 700; letter-spacing: .02em; color: var(--navy); }
.biz-list .arrow { margin-left: auto; width: 24px; height: 1px; background: var(--navy); }

@media (max-width: 767px) {
  .biz-stage-wrap { height: 300vh; }
  .biz-list { display: block; }
  .biz-circle__num { font-size: calc(var(--d, 100px) * .085); }
  .biz-circle__icon { width: calc(var(--d, 100px) * .36); height: calc(var(--d, 100px) * .36); margin: calc(var(--d, 100px) * .02) 0; }
  .biz-circle__name { font-size: calc(var(--d, 100px) * .1); line-height: 1.3; padding-inline: calc(var(--d, 100px) * .05); }
  .biz-stage__hub { width: 52vw; }
  .biz-stage__hub .jp { font-size: 22px; }
  .biz-stage__hub .note { display: none; }
}

/* reduced motion: static final state */
@media (prefers-reduced-motion: reduce) {
  .biz-stage-wrap { height: auto; }
  .biz-stage { position: relative; }
  .hero [data-load], .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll i::after { animation: none; }
  .photo--drift img { transform: none; }
}

/* ---------- Company (top page) ---------- */
.company { padding-block: clamp(80px, 10vw, 150px) 0; }
.company__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: center;
}
.company__text .lead { margin-top: 0; }
.company__text .body-text { margin-top: 20px; }
.company__text .link-more { margin-top: 36px; }
.company__photo { height: clamp(360px, 62vh, 720px); margin-right: calc(var(--gutter) * -1); }
.company__facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gray-300);
  margin-top: clamp(56px, 7vw, 96px);
}
.company__facts div { padding: 26px 24px 26px 0; border-right: 1px solid var(--gray-300); }
.company__facts div + div { padding-left: 32px; }
.company__facts div:last-child { border-right: 0; }
.company__facts dt { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--gray-700); }
.company__facts dd { margin-top: 6px; font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.7; }
@media (max-width: 899px) {
  .company__grid { grid-template-columns: 1fr; gap: 48px; }
  .company__photo { margin-inline: calc(var(--gutter) * -1); height: 60vw; }
  .company__facts { grid-template-columns: 1fr; }
  .company__facts div { border-right: 0; border-bottom: 1px solid var(--gray-300); padding: 18px 0 !important; }
  .company__facts div:last-child { border-bottom: 0; }
}

/* ---------- Recruit band (top page) ---------- */
.recruit-band {
  position: relative;
  height: clamp(520px, 78vh, 800px);
  margin-top: clamp(80px, 10vw, 150px);
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}
.recruit-band .photo { position: absolute; inset: 0; }
.recruit-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,30,60,.28) 0%, rgba(11,30,60,.5) 45%, rgba(11,30,60,.7) 100%);
}
.recruit-band__content {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(56px, 9vh, 110px); z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.recruit-band__en { order: 2; margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; opacity: .85; }
.recruit-band__jp { order: 1; font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: .04em; line-height: 1.3; }
.recruit-band__lead { order: 3; margin-top: 26px; font-size: clamp(17px, 1.8vw, 24px); font-weight: 700; line-height: 1.7; letter-spacing: .04em; }
.recruit-band__text { order: 4; margin-top: 14px; max-width: 34em; font-size: 14px; font-weight: 500; opacity: .92; }
.recruit-band .link-more { order: 5; margin-top: 32px; }

/* ---------- Contact band ---------- */
.contact-band { background: var(--blue); color: var(--white); padding-block: clamp(72px, 9vw, 130px); }
.contact-band__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact-band__text { margin-top: 26px; font-size: 14px; font-weight: 500; opacity: .92; max-width: 36em; }
.contact-band__info { width: 100%; max-width: 1040px; margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1.15fr .95fr 1.6fr 1fr; border-top: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); }
.contact-band__info > div { padding: 24px 16px; border-right: 1px solid rgba(255,255,255,.25); }
.contact-band__info > div:last-child { border-right: 0; }
.contact-band__info dt { font-size: 12px; font-weight: 700; letter-spacing: .06em; opacity: .75; }
.contact-band__info dd { margin-top: 8px; font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.contact-band__info dd.tel { font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: .02em; line-height: 1.1; white-space: nowrap; }
.contact-band .btn { margin-top: 32px; }
@media (max-width: 899px) {
  .contact-band__info { grid-template-columns: 1fr; border-bottom: 0; }
  .contact-band__info > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); padding: 18px 0; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--gray-300); padding-block: clamp(56px, 7vw, 96px) 32px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 40px; }
.site-footer .brand { color: var(--navy); align-self: flex-start; }
.site-footer__addr { margin-top: 22px; font-size: 13px; line-height: 1.9; color: var(--gray-700); font-style: normal; }
.site-footer__nav a { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; color: var(--navy); }
.site-footer__nav .jp { order: 1; font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.site-footer__nav .en { order: 2; font-size: 10px; font-weight: 500; color: var(--gray-700); letter-spacing: .08em; }
.site-footer__nav a:hover .jp { color: var(--blue); }
.site-footer__sub h3 { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--gray-700); margin-bottom: 8px; }
.site-footer__sub a { display: block; font-size: 13px; font-weight: 500; color: var(--gray-700); letter-spacing: .02em; padding: 4px 0; }
.site-footer__sub a:hover { color: var(--blue); }
.site-footer__sub .num { color: var(--blue); margin-right: 8px; font-weight: 700; }
.site-footer__bottom {
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--gray-300);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 11px; font-weight: 500; letter-spacing: .04em; color: var(--gray-700);
}
@media (max-width: 767px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Sub pages: page hero ---------- */
.page-hero {
  position: relative;
  height: clamp(400px, 56vh, 620px);
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}
.page-hero .photo { position: absolute; inset: 0; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,30,60,.66) 0%, rgba(11,30,60,.3) 60%, rgba(11,30,60,.15) 100%),
              linear-gradient(0deg, rgba(11,30,60,.4) 0%, rgba(11,30,60,0) 50%),
              linear-gradient(180deg, rgba(11,30,60,.4) 0%, rgba(11,30,60,0) 32%);
}
.page-hero__content { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 7vh, 72px); z-index: 2; }
.page-hero__num { font-size: 12px; font-weight: 700; letter-spacing: .1em; margin-bottom: 12px; opacity: .85; }
.page-hero__title { font-size: clamp(28px, 3.4vw, 46px); font-weight: 800; letter-spacing: .04em; line-height: 1.3; }
.page-hero__sub { margin-top: 12px; font-size: 12px; font-weight: 500; letter-spacing: .1em; opacity: .8; }
/* company page: on phones the photo is not cropped vertically, so it starts below the header to keep the building sign in view */
@media (max-width: 1023px) {
  .page-hero--sign { height: calc(clamp(400px, 56vh, 620px) + var(--header-h)); }
  .page-hero--sign .photo { top: var(--header-h); }
}
/* logo instead of a photo (welfare / travel): light plate, logo centred above the title */
.page-hero--logo { background: var(--gray-100); color: var(--navy); }
.page-hero--logo::after { display: none; }
.page-hero--logo .page-hero__logo {
  position: absolute; left: var(--gutter); right: var(--gutter);
  top: calc(var(--header-h) + 20px); bottom: clamp(150px, 24vh, 200px);
  display: flex; align-items: center; justify-content: center;
}
.page-hero--logo .page-hero__logo img { width: auto; height: auto; max-width: min(64%, 520px); max-height: 100%; }
.page-hero--logo .page-hero__num, .page-hero--logo .page-hero__sub { opacity: 1; color: var(--blue); }
.page-hero--plain { height: auto; color: var(--navy); background: var(--white); padding-top: calc(var(--header-h) + clamp(48px, 7vw, 100px)); }
.page-hero--plain::after { display: none; }
.page-hero--plain .page-hero__content { position: static; padding-bottom: clamp(32px, 5vw, 64px); }

.breadcrumb { border-bottom: 1px solid var(--gray-300); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px 14px; padding-block: 14px; font-size: 12px; font-weight: 500; color: var(--gray-700); letter-spacing: .02em; }
.breadcrumb li + li::before { content: "/"; margin-right: 14px; color: var(--gray-300); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 0 24px; }
@media (min-width: 600px) { .breadcrumb .back-link + ol { padding-left: 24px; border-left: 1px solid var(--gray-300); } }
/* "前のページに戻る" (top: breadcrumb bar / bottom: bar above the contact band) */
.back-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--navy); white-space: nowrap;
  padding-block: 14px;
}
.back-link::before { content: ""; width: 28px; height: 1px; background: currentColor; transition: width .3s var(--ease-out); }
.back-link:hover { color: var(--blue); }
.back-link:hover::before { width: 40px; }
.back-bar { border-top: 1px solid var(--gray-300); }
.back-bar .container { display: flex; justify-content: flex-start; }
.back-bar .back-link { padding-block: 18px; }

/* in-page sub navigation */
.subnav { border-bottom: 1px solid var(--gray-300); position: sticky; top: calc(var(--header-h) - 16px); background: rgba(255,255,255,.97); z-index: 50; }
.subnav ul { display: flex; gap: clamp(20px, 3vw, 40px); overflow-x: auto; padding-block: 16px; -webkit-overflow-scrolling: touch; }
.subnav a { white-space: nowrap; font-size: 14px; letter-spacing: .04em; color: var(--gray-700); font-weight: 700; }
.subnav a:hover { color: var(--blue); }
.anchor-target { scroll-margin-top: calc(var(--header-h) + 48px); }

/* ---------- Business overview rows ---------- */
.biz-rows { border-top: 1px solid var(--gray-300); }
.biz-row { border-bottom: 1px solid var(--gray-300); }
.biz-row__link {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 360px;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(32px, 4vw, 56px);
}
.biz-row__title { font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: .04em; color: var(--navy); line-height: 1.4; }
.biz-row__text { margin-top: 12px; font-size: 14px; max-width: 34em; }
.biz-row .link-more { margin-top: 22px; }
.biz-row__photo { aspect-ratio: 3 / 2; }
.biz-row__photo img { transition: transform 1.2s var(--ease-out); }
.biz-row__link:hover .biz-row__photo img { transform: scale(1.05); }
/* partner-company logo instead of a photo: centred on a white tile of the same 3:2 shape */
.biz-row__photo--logo { background: var(--white); border: 1px solid var(--gray-300); display: flex; align-items: center; justify-content: center; padding: 14% 16%; }
.biz-row__photo--logo img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.biz-row__link:hover .biz-row__photo--logo img { transform: none; }
.biz-row__link:hover .circle-num { background: var(--blue); color: var(--white); }
@media (max-width: 899px) {
  .biz-row__link { grid-template-columns: 64px minmax(0, 1fr); }
  .biz-row__photo { grid-column: 1 / -1; }
}

/* ---------- Business detail ---------- */
.detail-lead { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; line-height: 1.6; letter-spacing: .04em; color: var(--navy); }
.detail-body { margin-top: 32px; }
.work-list { border-top: 1px solid var(--gray-300); }
.work-list li { display: flex; gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--gray-300); font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--navy); }
.work-list li::before { content: ""; flex: 0 0 8px; width: 8px; height: 8px; background: var(--blue); transform: translateY(-2px); }
.detail-side h3 { font-size: 15px; letter-spacing: .04em; color: var(--navy); font-weight: 700; margin-bottom: 16px; padding-left: 12px; border-left: 3px solid var(--blue); line-height: 1.4; }
.detail-photo { aspect-ratio: 16 / 9; }
.detail-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 28px; }
.detail-side .spec dd { font-size: 14px; }

/* Works (施工実績) on each business page */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 36px) clamp(16px, 2vw, 28px); }
.works-item__photo { aspect-ratio: 4 / 3; background: var(--gray-100); overflow: hidden; }
.works-item__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease-out); }
.works-item:hover .works-item__photo img { transform: scale(1.03); }
.works-item figcaption { margin-top: 12px; font-size: 14px; font-weight: 500; line-height: 1.7; color: var(--ink); }
.works-pending { max-width: 880px; margin-inline: auto; }
.works-pending .pending { background: var(--white); }
.works-pending__note { margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--gray-700); text-align: center; }
@media (max-width: 899px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .works-grid { grid-template-columns: 1fr; gap: 28px; } }

.pager { border-top: 1px solid var(--gray-300); border-bottom: 1px solid var(--gray-300); display: grid; grid-template-columns: 1fr 1fr; }
.pager a { display: flex; flex-direction: column; gap: 6px; padding: 30px var(--gutter); transition: background .3s; }
.pager a:hover { background: var(--gray-100); }
.pager a + a { border-left: 1px solid var(--gray-300); text-align: right; align-items: flex-end; }
.pager .lbl { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--gray-700); }
.pager .ttl { font-size: 16px; font-weight: 700; color: var(--navy); }
.pager .num { color: var(--blue); margin-right: 8px; }
@media (max-width: 599px) { .pager { grid-template-columns: 1fr; } .pager a + a { border-left: 0; border-top: 1px solid var(--gray-300); } }

/* ---------- Company page ---------- */
.spec { border-top: 1px solid var(--gray-300); }
.spec > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--gray-300); }
.spec dt { font-size: 15px; font-weight: 700; letter-spacing: .04em; color: var(--navy); }
.spec dd { font-size: 15px; font-weight: 500; }
.spec dd ul li { position: relative; padding-left: 16px; }
.spec dd ul li::before { content: ""; position: absolute; left: 0; top: 14px; width: 6px; height: 1px; background: var(--blue); }
@media (max-width: 599px) { .spec > div { grid-template-columns: 1fr; gap: 4px; } }

.philosophy__statement { font-size: clamp(26px, 3.2vw, 42px); font-weight: 800; line-height: 1.6; letter-spacing: .06em; color: var(--navy); }
.philosophy__text { margin-top: 32px; }

.timeline { border-top: 1px solid var(--gray-300); }
.timeline > div { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--gray-300); }
.timeline dt { font-size: 16px; font-weight: 700; color: var(--blue); letter-spacing: .02em; }
.timeline dd { font-size: 15px; font-weight: 500; }
@media (max-width: 599px) { .timeline > div { grid-template-columns: 1fr; gap: 4px; } }

.representative { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.representative__name { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; letter-spacing: .08em; color: var(--navy); }
.representative__role { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--gray-700); margin-bottom: 6px; }
.representative__portrait { aspect-ratio: 3 / 4; background: var(--gray-100); display: flex; align-items: flex-end; padding: 20px; font-size: 11px; font-weight: 500; letter-spacing: .1em; color: var(--gray-500); }
@media (max-width: 767px) { .representative { grid-template-columns: 1fr; } }

.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-pair .photo { aspect-ratio: 4 / 3; }
@media (max-width: 599px) { .photo-pair { grid-template-columns: 1fr; } }

.purpose__title { font-size: 15px; font-weight: 700; color: var(--navy); padding-left: 12px; border-left: 3px solid var(--blue); line-height: 1.4; margin-bottom: 16px; }
.purpose__list { list-style: decimal; padding-left: 1.6em; columns: 2; column-gap: 40px; font-size: 14px; font-weight: 500; }
.purpose__list li { padding: 3px 0; break-inside: avoid; }
@media (max-width: 599px) { .purpose__list { columns: 1; } }

.message__quote { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; line-height: 1.5; letter-spacing: .04em; color: var(--navy); }
.message__text { margin-top: 28px; }
.message__sign { margin-top: 28px; font-size: 15px; font-weight: 700; color: var(--navy); letter-spacing: .06em; text-align: right; }

.group-list { border-top: 1px solid var(--gray-300); }
.group-item { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--gray-300); }
.group-item__tag { font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: .06em; }
.group-item__title { margin-top: 6px; font-size: clamp(20px, 2vw, 26px); font-weight: 700; color: var(--navy); letter-spacing: .04em; line-height: 1.4; }
.group-item__info { margin-top: 20px; border-top: 1px solid var(--gray-300); }
.group-item__info > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--gray-300); font-size: 14px; }
.group-item__info dt { font-weight: 700; color: var(--navy); }
.group-item__info dd { font-weight: 500; }
.group-item__links { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 32px; }
@media (max-width: 767px) { .group-item { grid-template-columns: 1fr; gap: 16px; } }

.site-footer__sub-h { margin-top: 20px; }

.map { width: 100%; height: clamp(360px, 52vh, 560px); background: var(--gray-100); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.access { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); }
.access__addr { font-style: normal; font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.8; }
.access__addr .en { display: block; font-size: 11px; letter-spacing: .04em; color: var(--gray-700); margin-top: 8px; font-weight: 500; }
.access__list { margin-top: 28px; }
.access__list li { padding: 12px 0; border-top: 1px solid var(--gray-300); font-size: 14px; font-weight: 500; }
.access__list li:last-child { border-bottom: 1px solid var(--gray-300); }
@media (max-width: 899px) { .access { grid-template-columns: 1fr; } }

/* ---------- Recruit page ---------- */
.recruit-intro { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.recruit-intro .photo { aspect-ratio: 4 / 5; margin-right: calc(var(--gutter) * -1); }
@media (max-width: 899px) { .recruit-intro { grid-template-columns: 1fr; } .recruit-intro .photo { margin-inline: calc(var(--gutter) * -1); aspect-ratio: 3/2; } }

.job-fields { border-top: 1px solid var(--gray-300); }
.job-fields > div { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--gray-300); }
.job-fields dt { font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--navy); line-height: 1.6; }
.job-fields dt .num { color: var(--blue); margin-right: 10px; }
.job-fields dd { font-size: 14px; }
@media (max-width: 599px) { .job-fields > div { grid-template-columns: 1fr; gap: 6px; } }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--gray-300); border-bottom: 1px solid var(--gray-300); }
.steps li { counter-increment: step; padding: 32px 32px 32px 0; border-right: 1px solid var(--gray-300); }
.steps li + li { padding-left: 32px; }
.steps li:last-child { border-right: 0; }
.steps li::before { content: "0" counter(step); display: block; font-size: 24px; font-weight: 700; color: var(--blue); margin-bottom: 10px; line-height: 1; }
.steps h3 { font-size: 17px; font-weight: 700; color: var(--navy); letter-spacing: .04em; }
.steps p { margin-top: 10px; font-size: 14px; }
@media (max-width: 767px) { .steps { grid-template-columns: 1fr; } .steps li { border-right: 0; border-bottom: 1px solid var(--gray-300); padding: 26px 0 !important; } .steps li:last-child { border-bottom: 0; } }

/* ---------- Contact page ---------- */
.contact-map .map { height: clamp(320px, 46vh, 480px); }
.contact-map__addr { margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.8; font-style: normal; }
.contact-map__link { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--blue); }
.contact-map__link::after { content: ""; width: 24px; height: 1px; background: currentColor; }
.contact-map__link:hover { color: var(--navy); }
.contact-form-wrap { max-width: 960px; }
.contact-grid .lead { font-size: clamp(20px, 1.8vw, 26px); }
/* column-level sub heading next to the map stays left-aligned */
.contact-map .h-sub { align-items: flex-start; text-align: left; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 140px); align-items: start; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; gap: 56px; } }
.contact-info { border-top: 1px solid var(--gray-300); }
.contact-info > div { padding: 20px 0; border-bottom: 1px solid var(--gray-300); }
.contact-info dt { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--gray-700); }
.contact-info dd { margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.contact-info dd.tel { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; }
.contact-info dd.tel a:hover { color: var(--blue); }

.form__row { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--gray-300); align-items: start; }
.form__row:first-child { border-top: 1px solid var(--gray-300); }
.form__label { font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--navy); padding-top: 12px; display: flex; gap: 10px; align-items: baseline; }
.form__req { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--white); background: var(--blue); padding: 2px 6px; line-height: 1.4; }
.form__opt { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--gray-700); border: 1px solid var(--gray-300); padding: 1px 6px; line-height: 1.4; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea, .form select {
  width: 100%; border: 1px solid var(--gray-300); background: var(--white); padding: 14px 16px; border-radius: 0; -webkit-appearance: none; line-height: 1.6; transition: border-color .3s;
}
.form textarea { min-height: 200px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--blue); outline: none; }
.form .is-error input, .form .is-error textarea, .form .is-error select { border-color: #b3261e; }
.form__error { display: none; margin-top: 8px; font-size: 12px; font-weight: 500; color: #b3261e; }
.form .is-error .form__error { display: block; }
.form__note { margin-top: 20px; font-size: 12px; color: var(--gray-700); }
.form__actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.form__status { font-size: 13px; font-weight: 500; color: var(--navy); }
.form__status.is-error { color: #b3261e; }
@media (max-width: 599px) { .form__row { grid-template-columns: 1fr; gap: 8px; } .form__label { padding-top: 0; } }

/* contact form honeypot: hidden from people, present for bots */
.form__hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
