/* ============================================
   合同会社THE AGENT コーポレートサイト 共通スタイル
   arsaga.jp 準拠デザイン（2026-09-06 改修）
   白ベース × グレー × 巨大英字タイポ（2026-09-07 紺→グレー変更）
   ============================================ */

:root {
  --c-bg: #ffffff;
  --c-bg-soft: #f6f6f6;
  --c-surface: #ffffff;
  --c-line: #e8e6e4;
  --c-ink: #222222;
  --c-text: #333333;
  --c-text-sub: #666666;
  --c-text-dim: #9a9a98;
  --c-accent: #6e6e73;
  --c-accent-deep: #4f4f54;
  --c-dark: #1b1b1d;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --w-content: 1160px;
  --shadow-card: 0 8px 32px rgba(27, 27, 31, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(27, 27, 31, 0.08); }

.header-tagline {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--c-text-sub);
  padding: 5px 28px 0;
  max-width: var(--w-content);
  margin: 0 auto;
  line-height: 1.4;
}

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--c-accent);
  z-index: 101;
}

.header-inner {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 6px 28px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 20px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink);
  transition: color 0.25s;
}

.header-nav a:hover,
.header-nav a.is-current { color: var(--c-accent); }

.header-nav .nav-contact {
  background: var(--c-accent);
  border: 1px solid var(--c-accent);
  padding: 14px 30px;
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  border-radius: 4px;
  transition: background 0.25s, border-color 0.25s;
}

.header-nav .nav-contact:hover {
  background: var(--c-accent-deep);
  border-color: var(--c-accent-deep);
  color: #ffffff;
}

.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--c-accent);
  border: 1px solid var(--c-accent);
  border-radius: 999px;
  padding: 16px 44px;
  color: #ffffff;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.btn-primary::after {
  content: "→";
  font-family: var(--font-en);
  transition: transform 0.3s;
}

.btn-primary:hover { background: var(--c-accent-deep); border-color: var(--c-accent-deep); }
.btn-primary:hover::after { transform: translateX(4px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: #ffffff;
  border: 1.5px solid var(--c-accent);
  border-radius: 999px;
  padding: 15px 44px;
  color: var(--c-accent);
  transition: background 0.3s, color 0.3s;
}

.btn-outline::after {
  content: "→";
  font-family: var(--font-en);
  transition: transform 0.3s;
}

.btn-outline:hover { background: var(--c-accent); color: #ffffff; }
.btn-outline:hover::after { transform: translateX(4px); }

/* ---------- Hero (top) ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 170px 0 160px;
  overflow: hidden;
  background: #fdfbfb;
}

/* 淡い赤ドットのぼかしテクスチャ */
.hero-dots {
  position: absolute;
  inset: -10%;
  z-index: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(120, 120, 126, 0.16) 0, transparent 7%),
    radial-gradient(circle at 28% 65%, rgba(120, 120, 126, 0.10) 0, transparent 6%),
    radial-gradient(circle at 45% 30%, rgba(120, 120, 126, 0.14) 0, transparent 5%),
    radial-gradient(circle at 58% 75%, rgba(120, 120, 126, 0.09) 0, transparent 8%),
    radial-gradient(circle at 70% 20%, rgba(120, 120, 126, 0.15) 0, transparent 6%),
    radial-gradient(circle at 82% 55%, rgba(120, 120, 126, 0.12) 0, transparent 7%),
    radial-gradient(circle at 92% 30%, rgba(120, 120, 126, 0.17) 0, transparent 5%),
    radial-gradient(circle at 88% 85%, rgba(120, 120, 126, 0.10) 0, transparent 6%),
    radial-gradient(circle at 35% 90%, rgba(120, 120, 126, 0.08) 0, transparent 7%),
    radial-gradient(circle at 65% 50%, rgba(120, 120, 126, 0.07) 0, transparent 9%),
    radial-gradient(circle at 15% 45%, rgba(120, 120, 126, 0.06) 0, transparent 10%),
    radial-gradient(circle at 50% 10%, rgba(120, 120, 126, 0.08) 0, transparent 8%);
  filter: blur(26px);
  animation: dotsFloat 24s ease-in-out infinite alternate;
}

@keyframes dotsFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(2%, -3%, 0) scale(1.06); }
}

.hero .container { position: relative; z-index: 2; }

.hero-title {
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--c-ink);
}

.hero-title small {
  font-size: 0.62em;
  font-weight: 700;
}

.hero-title .line { display: block; overflow: hidden; }

.hero-title .line > span {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-title .line:nth-child(2) > span { transition-delay: 0.14s; }

body.is-loaded .hero-title .line > span { transform: none; }

.hero-lead {
  margin-top: 36px;
  max-width: 620px;
  color: var(--c-ink);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 2.1;
}

/* 画面下端の巨大英字 */
.hero-giant {
  position: absolute;
  left: 0; right: 0;
  bottom: -0.14em;
  z-index: 1;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(64px, 9.2vw, 132px);
  letter-spacing: 0.02em;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 0 40px rgba(27, 27, 29, 0.06);
  white-space: nowrap;
  text-align: center;
  pointer-events: none;
  user-select: none;
}

/* ---------- Marquee band ---------- */
.marquee {
  overflow: hidden;
  padding: 34px 0;
  background: var(--c-bg);
}

.marquee-track {
  display: flex;
  gap: 110px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee-track span {
  font-family: var(--font-en);
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
  color: #efedeb;
}

.marquee.reverse .marquee-track { animation-direction: reverse; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Page hero (下層) ---------- */
.page-hero {
  position: relative;
  padding: 190px 0 90px;
  overflow: hidden;
  background: #fdfbfb;
}

.page-hero .hero-dots { filter: blur(30px); }

.page-hero .container { position: relative; z-index: 2; }

.page-hero .hero-en {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--c-accent);
  margin-bottom: 18px;
}

.page-hero h1 {
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-ink);
}

.page-hero .page-lead {
  margin-top: 26px;
  max-width: 640px;
  color: var(--c-text);
  font-weight: 500;
}

/* ---------- Sections ---------- */
.section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.section-soft { background: var(--c-bg-soft); }

.section-head { margin-bottom: 60px; position: relative; z-index: 2; }

/* 「事業内容 / SOLUTION」形式 */
.section-title {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-ink);
}

.section-title .en {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--c-text-sub);
}

.section-title .en::before {
  content: "/ ";
  color: var(--c-accent);
}

.section-desc {
  margin-top: 22px;
  max-width: 680px;
  color: var(--c-text-sub);
}

/* 背景の巨大英字（セクション右上に重ねる） */
.section-giant {
  position: absolute;
  top: 44px;
  right: -0.06em;
  z-index: 1;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(70px, 10vw, 150px);
  letter-spacing: 0.01em;
  line-height: 0.9;
  color: var(--c-accent);
  opacity: 0.9;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.section-giant.ghost { color: #ececea; opacity: 1; }
.section-soft .section-giant.ghost { color: #e7e5e3; }

/* ---------- Solution cards（ダーク写真カード） ---------- */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.solution-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3 / 3.6;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, box-shadow 0.3s;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(27, 27, 31, 0.2);
}

.solution-photo {
  position: absolute;
  inset: 0;
}

.solution-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.solution-card:hover .solution-photo img { transform: scale(1.05); }

.solution-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 20, 22, 0.06) 30%, rgba(20, 20, 22, 0.82) 100%);
}

.solution-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #f0eeec;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.is-visible .solution-photo::after { transform: scaleX(0); }

.solution-body {
  position: relative;
  z-index: 3;
  padding: 26px 26px 26px;
  color: #ffffff;
  width: 100%;
}

.solution-num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.75);
}

.solution-card h3 {
  margin-top: 8px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.solution-card .en {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 4px;
}

.solution-card p.desc {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

.solution-card .more {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #ffffff;
}

.solution-card .more::after {
  content: "→";
  transition: transform 0.3s;
}

.solution-card:hover .more::after { transform: translateX(4px); }

/* ---------- Feature rows（下層 事業詳細） ---------- */
.feature-list { display: grid; gap: 20px; position: relative; z-index: 2; }

.feature-row {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  padding: 36px 36px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
}

.feature-row h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--c-ink);
  padding-left: 14px;
  border-left: 3px solid var(--c-accent);
}

.feature-row p {
  font-size: 13.5px;
  color: var(--c-text-sub);
}

/* ---------- Flow ---------- */
.flow-list { counter-reset: flow; display: grid; gap: 16px; position: relative; z-index: 2; }

.flow-item {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 26px 32px;
  display: grid;
  grid-template-columns: 64px 200px 1fr;
  gap: 24px;
  align-items: baseline;
  counter-increment: flow;
}

.flow-item::before {
  content: "0" counter(flow);
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.08em;
}

.flow-item h3 { font-size: 15px; font-weight: 700; color: var(--c-ink); }
.flow-item p { font-size: 13.5px; color: var(--c-text-sub); }

/* ---------- Works（写真オーバーレイカード） ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.work-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, box-shadow 0.3s;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(27, 27, 31, 0.2);
}

.work-photo {
  position: absolute;
  inset: 0;
}

.work-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-card:hover .work-photo img { transform: scale(1.05); }

.work-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 20, 22, 0) 35%, rgba(20, 20, 22, 0.85) 100%);
}

.work-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #f0eeec;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.is-visible .work-photo::after { transform: scaleX(0); }

.work-pickup {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  background: var(--c-accent);
  color: #ffffff;
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  border-radius: 999px;
  padding: 6px 16px;
}

.work-body {
  position: relative;
  z-index: 3;
  padding: 24px 26px;
  color: #ffffff;
  width: 100%;
}

.work-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.work-tags span {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 3px 12px;
  backdrop-filter: blur(4px);
}

.work-card h3 {
  margin-top: 12px;
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.work-card p.desc {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Partner（ロゴウォール） ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
  z-index: 2;
}

.partner-tile {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(27, 27, 31, 0.05);
}

.partner-tile .partner-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-ink);
}

.partner-tile .partner-role {
  font-size: 11px;
  color: var(--c-text-dim);
  letter-spacing: 0.06em;
}

.partner-tile.is-placeholder {
  border-style: dashed;
  background: transparent;
  box-shadow: none;
}

.partner-tile.is-placeholder .partner-name { color: var(--c-text-dim); font-weight: 400; font-size: 12px; }

/* ---------- Company dark tiles ---------- */
.company-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.company-tile {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--c-dark);
  color: #ffffff;
  padding: 44px 30px 40px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow-card);
}

.company-tile::before {
  content: "";
  position: absolute;
  top: -46px; right: -46px;
  width: 150px; height: 150px;
  background: repeating-linear-gradient(45deg, rgba(120, 120, 126, 0.55) 0 8px, transparent 8px 20px);
  border-radius: 50%;
  opacity: 0.5;
}

.company-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(27, 27, 31, 0.24);
}

.company-tile .en {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.62);
}

.company-tile h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.company-tile .arrow {
  position: absolute;
  right: 24px; bottom: 24px;
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 15px;
  transition: background 0.3s, border-color 0.3s;
}

.company-tile:hover .arrow { background: var(--c-accent); border-color: var(--c-accent); }

/* ---------- Company table ---------- */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 2;
}

.company-table th,
.company-table td {
  border-bottom: 1px solid var(--c-line);
  padding: 24px 28px;
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}

.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }

.company-table th {
  width: 210px;
  color: var(--c-text-dim);
  font-size: 13px;
  letter-spacing: 0.1em;
  background: #f8f7f6;
}

.company-table td { font-size: 14.5px; color: var(--c-text); }

.placeholder {
  color: var(--c-text-dim);
  background: #f0eeec;
  padding: 2px 10px;
  font-size: 12.5px;
  border-radius: 3px;
}

/* ---------- Map ---------- */
.map-embed {
  margin-top: 40px;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 2;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(0.25);
}

/* ---------- CTA band（ダーク＋赤ボタン） ---------- */
.cta-band {
  background: var(--c-dark);
  color: #f2f2f2;
  padding: 110px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: repeating-linear-gradient(45deg, rgba(120, 120, 126, 0.4) 0 10px, transparent 10px 26px);
  border-radius: 50%;
  opacity: 0.5;
}

.cta-band .section-en {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: #a9a9ae;
  margin-bottom: 14px;
}

.cta-band h2 {
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.cta-band p {
  margin-top: 18px;
  color: #b9b9bc;
  font-size: 14px;
}

/* ---------- Contact page ---------- */
.contact-block {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  padding: 48px 48px;
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.contact-block + .contact-block { margin-top: 24px; }

.contact-block h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: var(--c-ink);
  padding-left: 14px;
  border-left: 3px solid var(--c-accent);
}

.contact-block p { color: var(--c-text-sub); font-size: 14px; }

/* ---------- Footer（白ベース） ---------- */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--c-line);
  color: var(--c-text);
  padding: 80px 0 40px;
}

.footer-inner {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-logo img {
  height: 22px;
  width: auto;
}

.footer-address {
  margin-top: 24px;
  font-size: 12.5px;
  color: var(--c-text-sub);
  font-style: normal;
  line-height: 2;
}

.footer-nav {
  display: flex;
  gap: 64px;
}

.footer-nav .col h4 {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--c-accent);
  margin-bottom: 18px;
}

.footer-nav .col li { margin-bottom: 10px; }

.footer-nav .col a {
  font-size: 13px;
  color: var(--c-text);
  transition: color 0.25s;
}

.footer-nav .col a:hover { color: var(--c-accent); }

.footer-copy {
  max-width: var(--w-content);
  margin: 64px auto 0;
  padding: 24px 28px 0;
  border-top: 1px solid var(--c-line);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--c-text-dim);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-dots { animation: none; }
  .marquee-track { animation: none; }
  .hero-title .line > span { transform: none; transition: none; }
  .solution-photo::after,
  .work-photo::after { display: none; }
  .site-header { transition: none; }
  .site-header.is-hidden { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { aspect-ratio: 16 / 11; }
  .works-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .company-tiles { grid-template-columns: 1fr; }
  .map-embed iframe { height: 300px; }
  .feature-row { grid-template-columns: 1fr; gap: 14px; padding: 28px 24px; }
  .flow-item { grid-template-columns: 48px 1fr; }
  .flow-item p { grid-column: 2; }
  .footer-nav { gap: 36px; flex-wrap: wrap; }
  .section-giant { font-size: clamp(56px, 13vw, 90px); top: 30px; }
  .header-tagline { display: none; }
}

@media (max-width: 720px) {
  .header-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-line);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    display: none;
  }
  .header-nav.is-open { display: flex; }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--c-ink);
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    cursor: pointer;
    padding: 8px;
  }
  .section { padding: 76px 0; }
  .page-hero { padding: 150px 0 64px; }
  .company-table th { width: 110px; padding: 20px 16px; }
  .company-table td { padding: 20px 16px; }
  .contact-block { padding: 32px 24px; }
}
