/* ==========================================================================
   大志建設 — site styles
   Built on 筆処 和灯 tokens — sumi / washi / vermilion
   ========================================================================== */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--fg-1);
  overflow-x: hidden;
  margin: 0;
}

body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: url("assets/washi-texture.svg");
  background-size: 420px 420px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}

#app { position: relative; z-index: 1; }
img { display: block; max-width: 100%; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  border-radius: var(--radius-xs);
  cursor: pointer; border: 1px solid transparent;
  transition: all var(--dur-base) var(--ease-ink);
  text-decoration: none; line-height: 1;
  user-select: none;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.btn:active { transform: translateY(1px); transition-duration: 60ms; }
.btn-primary { background: var(--sumi); color: var(--paper); border-color: var(--sumi); }
.btn-primary:hover { background: #000; border-color: #000; box-shadow: 3px 3px 0 var(--shu); }
.btn-outline { background: transparent; color: var(--sumi); border-color: var(--sumi); border-width: 2px; }
.btn-outline:hover { background: var(--sumi); color: var(--paper); box-shadow: 3px 3px 0 var(--shu); }
.btn-ghost { background: transparent; color: var(--sumi); }
.btn-ghost:hover { color: var(--shu); }
.btn-accent { background: var(--shu); color: var(--paper); }
.btn-accent:hover { background: #a3382f; }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-lg { padding: 18px 28px; font-size: 15px; }
.btn-arrow { transition: transform var(--dur-base) var(--ease-ink); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* --- Site nav ------------------------------------------------------------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  padding: 0 36px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(232, 226, 208, 0.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--sumi);
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--fg-1); }
.brand:hover { text-decoration: none; color: var(--fg-1); }
.brand-mark {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sumi); color: var(--paper);
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  border-radius: 2px;
  line-height: 1;
}
.brand-text {
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  letter-spacing: 0.04em; line-height: 1;
}
.brand-text small {
  display: block; font-family: var(--font-body); font-weight: 400;
  font-size: 9px; letter-spacing: 0.22em; color: var(--fg-3);
  margin-top: 5px; text-transform: uppercase;
}
.nav-links { display: flex; gap: 28px; }
.nav-link {
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  color: var(--fg-1); text-decoration: none;
  position: relative; padding: 6px 0;
  transition: color var(--dur-base) var(--ease-ink);
  white-space: nowrap;
}
.nav-link:hover { color: var(--shu); text-decoration: none; }
.nav-link.is-active { color: var(--shu); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 2px; background: var(--shu);
}
.nav-tel {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  color: var(--fg-1); text-decoration: none;
}
.nav-tel small { font-family: var(--font-body); font-size: 9px; letter-spacing: 0.2em; color: var(--fg-3); display: block; text-transform: uppercase; font-weight: 400; }
.nav-actions { display: flex; align-items: center; gap: 24px; }

/* --- Section wrappers ---------------------------------------------------- */
.section {
  position: relative;
  padding: var(--space-9) 0;
}
.section-inner {
  width: 100%; max-width: var(--container);
  margin: 0 auto; padding: 0 36px;
}
.section-inner.narrow { max-width: 880px; }

.eyebrow-row {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; color: var(--fg-3); text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow-row::before {
  content: ""; width: 32px; height: 1px; background: var(--shu);
}

.section-head { margin-bottom: var(--space-7); max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow-row { justify-content: center; }
.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-3xl); line-height: 1.15;
  letter-spacing: -0.01em; margin: 6px 0 14px;
}
.section-title .ja-large {
  display: block; font-size: 1.25em; line-height: 1.0;
}
.section-title .en {
  display: block; font-family: var(--font-body); font-weight: 400;
  font-size: 12px; letter-spacing: 0.22em;
  color: var(--fg-3); margin-top: 14px; text-transform: uppercase;
}
.section-sub {
  font-family: var(--font-body); font-size: var(--fs-md);
  color: var(--fg-2); margin: 0; line-height: 1.95;
}

/* --- HERO ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  padding: 80px 0 100px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-inner {
  position: relative; z-index: 3;
  width: 100%; max-width: var(--container);
  margin: 0 auto; padding: 0 36px;
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 80px; align-items: center;
}
.hero-paper {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 20% 30%, rgba(192, 136, 40, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 60% at 90% 80%, rgba(15, 13, 11, 0.14), transparent 55%),
    linear-gradient(160deg, rgba(15,13,11,0.04) 0%, transparent 50%);
  z-index: 0;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  letter-spacing: 0.28em; color: var(--shu); text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--shu);
}

.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(44px, 6.2vw, 84px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 32px;
}
.hero-title .ink-accent { position: relative; }
.hero-title .ink-accent::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: 0.10em;
  height: 0.30em; background: rgba(212, 154, 60, 0.36); z-index: -1;
}
.hero-title .shu-char {
  color: var(--paper);
  background: var(--shu);
  padding: 0 8px;
  display: inline-block;
}

.hero-lead {
  font-family: var(--font-body); font-size: 17px;
  line-height: 1.95; color: var(--fg-2);
  max-width: 38ch; margin: 0 0 40px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-meta {
  display: flex; align-items: stretch; gap: 32px;
  padding-top: 28px; border-top: 1px solid var(--paper-edge);
  max-width: 640px; flex-wrap: wrap;
}
.hero-meta-num {
  font-family: var(--font-display); font-weight: 700; font-size: 30px;
  line-height: 1.0; color: var(--fg-1); letter-spacing: -0.02em;
}
.hero-meta-num small { font-size: 14px; font-weight: 500; margin-left: 2px; color: var(--fg-2); }
.hero-meta-lbl {
  font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0.22em; color: var(--fg-3);
  margin-top: 8px; text-transform: uppercase;
}
.hero-meta-rule { width: 1px; background: var(--paper-edge); }

/* hero glyph (right side) */
.hero-glyph {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--paper-raised) 0%, var(--paper-sunk) 100%);
  border: 2px solid var(--sumi);
  box-shadow: 8px 8px 0 var(--sumi), var(--shadow-xl);
  border-radius: 0;
  padding: 40px;
  overflow: hidden;
}
.hero-glyph::before {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(246,241,231,0.20);
  pointer-events: none; z-index: 2;
}
.hero-glyph-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 0;
  mix-blend-mode: multiply;
}
.hero-glyph-char {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(180px, 26vw, 340px);
  line-height: 0.85; color: var(--sumi);
  position: relative; z-index: 1;
  letter-spacing: -0.05em;
}
.hero-glyph-vertical {
  position: absolute; top: 28px; right: 28px;
  writing-mode: vertical-rl;
  font-family: var(--font-display); font-weight: 500;
  font-size: 16px; letter-spacing: 0.55em;
  color: var(--ink-700);
}
.hero-glyph-romaji {
  position: absolute; bottom: 24px; left: 28px;
  font-family: var(--font-body); font-size: 10px;
  letter-spacing: 0.32em; color: var(--fg-3);
  text-transform: uppercase;
}
.hero-glyph-hanko {
  position: absolute; bottom: 36px; right: 36px;
  width: 54px; height: 54px;
  background: var(--shu); color: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
  border-radius: 2px;
  transform: rotate(-3deg);
  box-shadow: 0 2px 8px rgba(200, 69, 58, 0.32);
  line-height: 1;
}
.hero-glyph-hanko span { font-size: 14px; }
.hero-glyph-hanko span + span { margin-top: 3px; }

/* hero ticker — services scroll */
.hero-ticker {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 18px 0;
  background: var(--sumi); color: var(--paper);
  overflow: hidden;
  white-space: nowrap;
  z-index: 4;
  border-top: 1px solid rgba(246, 241, 231, 0.08);
}
.hero-ticker-track {
  display: inline-flex; gap: 48px;
  animation: tick 30s linear infinite;
  font-family: var(--font-display); font-weight: 500; font-size: 18px;
  letter-spacing: 0.12em;
  padding-left: 48px;
}
.hero-ticker-track span { display: inline-flex; align-items: center; gap: 48px; }
.hero-ticker-track .dot { width: 6px; height: 6px; background: var(--shu); border-radius: 50%; }
@keyframes tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- ABOUT ---------------------------------------------------------------- */
.about { background: linear-gradient(180deg, transparent 0%, rgba(212, 154, 60, 0.06) 50%, transparent 100%); }
.about-grid {
  display: block;
}
.about-side { display: none; }
.about-philosophy-row {
  display: flex; align-items: flex-start; gap: 20px;
}
.about-philosophy {
  padding-left: 16px;
  border-left: 4px solid var(--shu);
}
.about-philosophy-main {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 3.5vw, 44px);
  line-height: 1.3; letter-spacing: -0.01em;
  color: var(--sumi);
  white-space: nowrap;
}
.about-philosophy-main .col-accent {
  color: var(--shu);
}
.about-vertical-sub {
  margin-top: 24px;
  font-family: var(--font-body); font-size: 12px; letter-spacing: 0.22em;
  color: var(--fg-3); text-transform: uppercase;
  padding-left: 12px;
}
.about-side-hanko {
  position: absolute; top: -8px; left: -8px;
  width: 44px; height: 44px;
  background: var(--shu); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  border-radius: 2px;
  transform: rotate(-4deg);
}
.about-copy p {
  font-size: 16px; line-height: 2.0; color: var(--fg-1); margin: 0 0 22px;
}
.about-copy .lead {
  font-size: 19px; line-height: 1.85; color: var(--fg-1); font-weight: 500;
  font-family: var(--font-display);
}
.about-copy em { font-style: normal; color: var(--shu); font-weight: 600; }
.about-signature {
  display: flex; align-items: center; gap: 16px;
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid var(--paper-edge);
}
.about-signature-name {
  font-family: var(--font-hand); font-weight: 600; font-size: 22px;
  color: var(--fg-1);
}
.about-signature-role {
  font-family: var(--font-body); font-size: 11px; letter-spacing: 0.22em;
  color: var(--fg-3); text-transform: uppercase; margin-top: 4px;
}

/* --- SERVICES ------------------------------------------------------------- */
.services {
  background: var(--sumi); color: var(--paper); position: relative;
}
.services::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("assets/washi-texture.svg");
  opacity: 0.06; pointer-events: none; mix-blend-mode: screen;
}
.services > * { position: relative; z-index: 1; }
.services .section-title { color: var(--paper); }
.services .section-sub { color: rgba(246, 241, 231, 0.72); }
.services .eyebrow-row { color: rgba(246, 241, 231, 0.55); }
.services .eyebrow-row::before { background: var(--shu); }

.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid rgba(246, 241, 231, 0.14);
  border-left: 1px solid rgba(246, 241, 231, 0.14);
}
.service-card {
  position: relative;
  padding: 36px 32px 32px;
  border-right: 1px solid rgba(246, 241, 231, 0.14);
  border-bottom: 1px solid rgba(246, 241, 231, 0.14);
  display: flex; flex-direction: column; gap: 14px;
  min-height: 280px;
  transition: background var(--dur-base) var(--ease-ink);
  cursor: default;
  overflow: hidden;
}
.service-card:hover { background: rgba(246, 241, 231, 0.04); }
.service-card:hover .service-card-bg { opacity: 0.28; transform: scale(1.04); }
.service-card-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.14;
  mix-blend-mode: luminosity;
  transition: opacity var(--dur-base) var(--ease-ink), transform var(--dur-slow) var(--ease-ink);
  z-index: 0;
}
.service-card > *:not(.service-card-bg) { position: relative; z-index: 1; }
.service-num {
  font-family: var(--font-body); font-size: 11px; font-weight: 400;
  letter-spacing: 0.2em; color: var(--shu);
  text-transform: uppercase;
}
.service-char {
  font-family: var(--font-display); font-weight: 700;
  font-size: 56px; line-height: 1.0;
  color: var(--paper); letter-spacing: -0.02em;
  margin: 8px 0 4px;
}
.service-char small {
  display: block; font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0.22em; color: rgba(246, 241, 231, 0.5);
  margin-top: 10px; text-transform: uppercase; font-weight: 400;
}
.service-desc {
  font-family: var(--font-body); font-size: 13px; line-height: 1.85;
  color: rgba(246, 241, 231, 0.72); margin: auto 0 0; padding-top: 12px;
}
.service-card .corner {
  position: absolute; top: 14px; right: 14px;
  width: 10px; height: 10px;
  border-top: 1px solid rgba(246, 241, 231, 0.4);
  border-right: 1px solid rgba(246, 241, 231, 0.4);
}

/* --- STRENGTHS ----------------------------------------------------------- */
.strengths {
  padding: var(--space-9) 0;
}
.strengths-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 32px;
}
.strength-card {
  background: var(--paper-raised);
  border: 2px solid var(--sumi);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  transition: transform var(--dur-base) var(--ease-ink), box-shadow var(--dur-base) var(--ease-ink);
  display: flex; flex-direction: column; gap: 14px;
}
.strength-card:hover { transform: translateY(-3px); box-shadow: 4px 4px 0 var(--sumi), var(--shadow-md); }
.strength-card::after {
  content: ""; position: absolute; top: 0; left: 0;
  width: 100%; height: 5px; background: var(--shu);
}
.strength-num {
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  letter-spacing: 0.32em; color: var(--shu);
}
.strength-figure {
  font-family: var(--font-display); font-weight: 700;
  font-size: 52px; line-height: 1.0; color: var(--fg-1);
  letter-spacing: -0.03em;
}
.strength-figure small {
  font-family: var(--font-body); font-size: 15px;
  font-weight: 500; margin-left: 4px; color: var(--fg-2);
}
.strength-title {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  line-height: 1.5; color: var(--fg-1); margin: 4px 0;
}
.strength-desc {
  font-family: var(--font-body); font-size: 13px; line-height: 1.85;
  color: var(--fg-2); margin: 0;
}

/* --- WORKS / Process band ------------------------------------------------ */
.works {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.works-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 18px;
  margin-top: 32px;
}
.work-card {
  position: relative;
  background: var(--sumi); color: var(--paper);
  border-radius: 0;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-ink), box-shadow var(--dur-base) var(--ease-ink);
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(15,13,11,0.36); }
.work-card.tall { grid-row: span 2; }
.work-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.work-bg-char {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(140px, 18vw, 260px);
  color: rgba(246, 241, 231, 0.10);
  line-height: 0.8;
}
.work-bg-pattern { /* sumi gradient overlay */
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 13, 11, 0) 20%, rgba(15, 13, 11, 0.92) 100%),
    radial-gradient(circle at 30% 30%, rgba(184, 50, 40, 0.14), transparent 50%);
}
.work-tag {
  display: inline-flex; gap: 8px; align-items: center;
  font-family: var(--font-body); font-size: 10px; font-weight: 500;
  letter-spacing: 0.22em; color: rgba(246, 241, 231, 0.7);
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative; z-index: 2;
}
.work-tag::before {
  content: ""; width: 16px; height: 1px; background: var(--shu);
}
.work-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; line-height: 1.35;
  color: var(--paper); margin: 0;
  position: relative; z-index: 2;
}
.work-card.tall .work-title { font-size: 28px; }
.work-meta {
  display: flex; gap: 16px; margin-top: 14px;
  font-family: var(--font-body); font-size: 11px;
  color: rgba(246, 241, 231, 0.6); letter-spacing: 0.04em;
  position: relative; z-index: 2;
}
.work-meta span { display: inline-flex; align-items: center; gap: 6px; }
.work-meta span + span::before {
  content: ""; display: inline-block; width: 3px; height: 3px;
  background: rgba(246, 241, 231, 0.4); border-radius: 50%; margin-right: 10px;
}

.works-foot {
  margin-top: 40px; display: flex; justify-content: center;
}

/* --- COMPANY -------------------------------------------------------------- */
.company {
  background: var(--paper-raised);
  padding: var(--space-9) 0;
  border-top: 1px solid var(--paper-edge);
  border-bottom: 1px solid var(--paper-edge);
}
.company-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 72px; align-items: start;
}
.company-left {
  position: sticky; top: calc(var(--nav-h) + 24px);
}
.company-vertical {
  writing-mode: vertical-rl;
  font-family: var(--font-display); font-weight: 700;
  font-size: 36px; letter-spacing: 0.45em;
  color: var(--fg-1);
  display: inline-block;
  padding-right: 8px;
  border-right: 1px solid var(--paper-edge);
}
.company-side-en {
  font-family: var(--font-body); font-size: 11px; letter-spacing: 0.22em;
  color: var(--fg-3); text-transform: uppercase; margin-top: 18px;
}
.company-side-hanko {
  margin-top: 32px;
  width: 64px; height: 64px;
  background: var(--shu); color: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  border-radius: 2px;
  transform: rotate(-3deg);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table tr {
  border-bottom: 1px solid var(--paper-edge);
}
.company-table tr:first-child { border-top: 1px solid var(--paper-edge); }
.company-table th, .company-table td {
  text-align: left; vertical-align: top;
  padding: 22px 12px;
  font-family: var(--font-body); font-size: 14px; line-height: 1.8;
}
.company-table th {
  width: 200px;
  font-family: var(--font-display); font-weight: 600; color: var(--fg-1);
  font-size: 14px;
}
.company-table th small {
  display: block; font-family: var(--font-body); font-weight: 400;
  font-size: 9px; letter-spacing: 0.2em; color: var(--fg-3);
  margin-top: 4px; text-transform: uppercase;
}
.company-table td { color: var(--fg-2); }
.company-table td strong { color: var(--fg-1); font-weight: 500; }
.company-table .pill {
  display: inline-block;
  padding: 3px 10px; margin: 2px 4px 2px 0;
  font-size: 11px; letter-spacing: 0.06em;
  background: var(--paper); border: 1px solid var(--paper-edge);
  border-radius: var(--radius-pill);
  color: var(--fg-1);
}
.company-license {
  margin-top: 22px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius-md);
  display: flex; align-items: center; gap: 20px;
}
.company-license-mark {
  width: 52px; height: 52px;
  background: var(--sumi); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  border-radius: 2px;
  flex-shrink: 0;
}
.company-license-text strong {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: 15px; color: var(--fg-1);
}
.company-license-text span {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--fg-2); letter-spacing: 0.04em;
  margin-top: 4px; display: block;
}

/* --- CONTACT ------------------------------------------------------------- */
.contact {
  background: var(--paper);
  padding: var(--space-9) 0;
  position: relative;
  overflow: hidden;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}
.contact-left-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1; margin: 8px 0 28px;
}
.contact-left-title span { color: var(--shu); }
.contact-channels {
  display: flex; flex-direction: column; gap: 16px;
  margin-top: 32px;
}
.contact-channel {
  display: flex; align-items: center; gap: 20px;
  padding: 24px;
  background: var(--paper-raised);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius-md);
  text-decoration: none; color: var(--fg-1);
  transition: all var(--dur-base) var(--ease-ink);
}
.contact-channel:hover {
  border-color: var(--sumi);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.contact-channel-icon {
  width: 48px; height: 48px;
  background: var(--sumi); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px; flex-shrink: 0;
}
.contact-channel-body { flex: 1; }
.contact-channel-label {
  font-family: var(--font-body); font-size: 10px;
  letter-spacing: 0.22em; color: var(--fg-3);
  text-transform: uppercase; margin-bottom: 4px;
}
.contact-channel-value {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  color: var(--fg-1); letter-spacing: 0.02em;
}
.contact-channel-sub {
  font-family: var(--font-body); font-size: 12px; color: var(--fg-2);
  margin-top: 2px;
}
.contact-channel-arrow {
  color: var(--fg-3); transition: transform var(--dur-base) var(--ease-ink);
}
.contact-channel:hover .contact-channel-arrow {
  color: var(--shu); transform: translateX(4px);
}

.contact-form {
  background: var(--paper-raised);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius-md);
  padding: 36px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.field { display: block; }
.field-full { grid-column: 1 / -1; }
.field-lbl {
  display: block;
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  color: var(--fg-1); margin-bottom: 10px; letter-spacing: 0.05em;
}
.field-lbl .req {
  display: inline-block; margin-left: 8px;
  font-size: 9px; padding: 2px 6px;
  background: var(--shu); color: var(--paper);
  border-radius: 2px; letter-spacing: 0.12em;
  vertical-align: middle; font-weight: 500;
}
.field-lbl .opt {
  font-weight: 400; color: var(--fg-3); margin-left: 8px; font-size: 11px;
}
.input, .textarea, .select {
  width: 100%; box-sizing: border-box;
  padding: 14px 14px;
  font-family: var(--font-body); font-size: 14px;
  background: var(--paper); color: var(--fg-1);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast) var(--ease-ink);
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--sumi); }
.textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg-2) 50%),
                    linear-gradient(135deg, var(--fg-2) 50%, transparent 50%);
  background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.contact-actions {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.contact-actions .caption {
  margin: 0; font-size: 11px; color: var(--fg-3); line-height: 1.6;
  font-family: var(--font-body);
}

.contact-success {
  grid-column: 1 / -1;
  text-align: center; padding: 48px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.contact-success-mark {
  width: 64px; height: 64px;
  background: var(--shu); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  border-radius: 2px; transform: rotate(-4deg);
  line-height: 1.1;
}
.contact-success h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  margin: 8px 0 4px;
}
.contact-success p {
  font-family: var(--font-body); font-size: 14px; color: var(--fg-2);
  margin: 0;
}

/* --- FOOTER -------------------------------------------------------------- */
.site-footer {
  background: var(--sumi); color: var(--paper);
  padding: var(--space-8) 36px var(--space-5);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  bottom: -40px; right: -20px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 320px; line-height: 0.8;
  color: rgba(246, 241, 231, 0.04);
  pointer-events: none;
  content: "志";
}
.footer-inner {
  position: relative;
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 2fr; gap: 64px;
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(246, 241, 231, 0.12);
}
.footer-brand {
  display: flex; align-items: flex-start; gap: 18px;
}
.footer-brand-mark {
  width: 56px; height: 56px;
  background: var(--paper); color: var(--sumi);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 28px;
  border-radius: 2px;
}
.footer-name {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  line-height: 1.2; margin-bottom: 4px;
}
.footer-rom {
  font-family: var(--font-body); font-size: 10px;
  letter-spacing: 0.22em; color: rgba(246, 241, 231, 0.55);
  text-transform: uppercase;
}
.footer-addr {
  font-family: var(--font-body); font-size: 13px;
  color: rgba(246, 241, 231, 0.7); margin-top: 16px;
  line-height: 1.7;
}
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 12px; }
.footer-h {
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  margin-bottom: 6px; color: var(--paper);
  position: relative; padding-bottom: 8px;
}
.footer-h::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 18px; height: 1px; background: var(--shu);
}
.footer-cols a {
  font-family: var(--font-body); font-size: 13px;
  color: rgba(246, 241, 231, 0.72); text-decoration: none;
  transition: color var(--dur-fast) var(--ease-ink);
}
.footer-cols a:hover { color: var(--paper); text-decoration: none; }
.footer-cols .row {
  font-family: var(--font-body); font-size: 13px;
  color: rgba(246, 241, 231, 0.72); line-height: 1.8;
}

.footer-bottom {
  position: relative;
  max-width: var(--container); margin: 0 auto;
  padding-top: var(--space-5);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-body); font-size: 11px;
  color: rgba(246, 241, 231, 0.45); letter-spacing: 0.08em;
  flex-wrap: wrap; gap: 16px;
}
.footer-socials { display: flex; gap: 14px; }
.footer-socials a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(246, 241, 231, 0.2); border-radius: 50%;
  color: rgba(246, 241, 231, 0.7);
  transition: all var(--dur-base) var(--ease-ink);
}
.footer-socials a:hover {
  background: var(--shu); border-color: var(--shu); color: var(--paper);
}

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav-tel { display: none; }
  .nav-links { gap: 22px; }
  .nav-link { font-size: 12.5px; }
}
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-glyph { aspect-ratio: 16/10; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-vertical { writing-mode: horizontal-tb; flex-direction: row; font-size: 28px; }
  .strengths-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 240px 240px; }
  .work-card.tall { grid-row: auto; }
  .company-grid { grid-template-columns: 1fr; gap: 32px; }
  .company-left { position: static; }
  .company-vertical { writing-mode: horizontal-tb; font-size: 28px; border-right: none; border-bottom: 1px solid var(--paper-edge); padding: 0 0 12px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 940px) {
  .nav-links { display: none; }
}
@media (max-width: 720px) {
  .nav-tel { display: none; }
  .site-nav { padding: 0 20px; }
  .section { padding: var(--space-8) 0; }
  .section-inner { padding: 0 20px; }
  .hero { padding: 48px 0 80px; }
  .hero-inner { padding: 0 20px; gap: 32px; }
  .hero-meta { gap: 20px; }
  .hero-meta-rule { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .strengths-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; grid-template-rows: repeat(5, 220px); }
  .contact-form { grid-template-columns: 1fr; padding: 24px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .company-table th { width: 130px; font-size: 13px; }
  .company-table th, .company-table td { padding: 16px 8px; font-size: 13px; }
}
