/* Extracted from vi-line-company.html during refactoring. */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --ink: #0a0c10;
  --paper: #f5f3ee;
  --blue: #0057ff;
  --blue-d: #003baa;
  --teal: #00c49a;
  --muted: #6a6a6a;
  --border: rgba(10, 12, 16, 0.11);
  --display: "Bebas Neue", sans-serif;
  --mono: "Share Tech Mono", monospace;
  --body: "Noto Sans JP", sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(245, 243, 238, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 0.5px solid var(--border);
}
.logo {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--ink);
  transition:
    color 0.2s,
    opacity 0.2s;
}
.logo span {
  color: var(--blue);
  transition: color 0.2s;
}
.logo:hover,
.logo:focus-visible {
  color: var(--blue);
}
.logo:hover span,
.logo:focus-visible span {
  color: var(--blue);
}
.logo:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 6px;
}
.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  height: 100%;
}
.nav-links li {
  height: 100%;
}
.nav-links a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 18px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  border-bottom-color: var(--blue);
}
.nav-cta {
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  padding: 10px 22px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.nav-cta:hover {
  background: var(--blue-d);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 64px;
  overflow: hidden;
}
.hero-l {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px 80px 64px;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--blue);
}
h1 {
  font-family: var(--display);
  font-size: clamp(68px, 8.5vw, 120px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
h1 .ac {
  color: var(--blue);
}
.hero-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.95;
  font-weight: 300;
  max-width: 380px;
  margin-bottom: 40px;
}
.ctas {
  display: flex;
  gap: 14px;
  align-items: center;
}
.btn-p,
.btn-g {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--blue);
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 15px 30px;
  text-decoration: none;
  border: 2px solid var(--blue);
  cursor: pointer;
  transition:
    color 0.28s ease,
    border-color 0.28s ease;
}
.btn-p::before,
.btn-g::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.btn-p:hover,
.btn-g:hover,
.btn-p:focus-visible,
.btn-g:focus-visible {
  color: #fff;
  border-color: var(--blue);
}
.btn-p:hover::before,
.btn-g:hover::before,
.btn-p:focus-visible::before,
.btn-g:focus-visible::before {
  transform: scaleX(1);
}
.btn-p:focus-visible,
.btn-g:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
.mission-card {
  margin-top: 52px;
  padding-top: 34px;
  border-top: 0.5px solid var(--border);
  max-width: 560px;
  position: relative;
}
.mission-card::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 0;
  width: 3px;
  height: calc(100% - 34px);
  background: var(--blue);
}
.mission-inner {
  margin-left: 24px;
  padding: 26px 28px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 18px 44px rgba(10, 12, 16, 0.06);
  position: relative;
  overflow: hidden;
}
.mission-inner::after {
  content: "MISSION";
  position: absolute;
  right: -8px;
  bottom: -14px;
  font-family: var(--display);
  font-size: 88px;
  line-height: 1;
  color: rgba(0, 87, 255, 0.055);
  letter-spacing: 0.04em;
  pointer-events: none;
}
.mission-kicker {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--blue);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.mission-title {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.mission-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.mission-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.mission-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  border: 1px solid rgba(0, 87, 255, 0.26);
  padding: 6px 10px;
  background: rgba(245, 243, 238, 0.72);
}

/* hero right */
.hero-r {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 87, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 87, 255, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
}
.scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  animation: scan 5s linear infinite;
  opacity: 0.3;
}
@keyframes scan {
  from {
    top: 0;
  }
  to {
    top: 100%;
  }
}
.hero-cards {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 44px;
  gap: 14px;
}
.hcard {
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  padding: 24px 28px;
  position: relative;
  animation: fu 0.6s ease both;
}
.hcard:nth-child(2) {
  animation-delay: 0.1s;
  margin-left: 28px;
}
.hcard:nth-child(3) {
  animation-delay: 0.2s;
  margin-left: 14px;
}
@keyframes fu {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hcard-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--blue);
}
.hcard-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--teal);
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}
.hcard-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}
.hcard-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

.hero-blank {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 520px;
}

/* ── TICKER ── */
.ticker {
  background: var(--blue);
  overflow: hidden;
  padding: 11px 0;
}
.tick-inner {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: tick 22s linear infinite;
}
@keyframes tick {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.tick-item {
  font-family: var(--mono);
  font-size: 11px;
  color: #fff;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 60px;
}
.tick-dot {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
}

/* ── SECTION COMMON ── */
.sec {
  padding: 112px 64px;
}
.sec-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.sec-label::after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--blue);
}
.sec-h {
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.95;
  margin-bottom: 20px;
}
.sec-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
  font-weight: 300;
  max-width: 560px;
  margin-bottom: 56px;
}

/* ── SERVICE ── */
#service {
  background: var(--paper);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.svc-card {
  padding: 44px 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: #1a1d23;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  cursor: pointer;
}
.svc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 14, 0.18) 0%,
    rgba(8, 10, 14, 0.46) 48%,
    rgba(8, 10, 14, 0.82) 100%
  );
  z-index: 0;
}
.svc-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
  z-index: 2;
}
.svc-card > * {
  position: relative;
  z-index: 1;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(10, 12, 16, 0.18);
  border-color: rgba(255, 255, 255, 0.34);
}
.svc-card:hover::after {
  transform: scaleX(1);
}
.svc-num {
  font-family: var(--mono);
  font-size: 10px;
  color: #dfe9ff;
  letter-spacing: 0.18em;
  margin-bottom: 20px;
}
.svc-icon {
  font-size: 30px;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}
.svc-title {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.5;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.svc-desc {
  font-size: 13px;
  color: #eef2f8;
  line-height: 1.85;
  margin-bottom: 24px;
}
.svc-tags {
  display: none !important;
}
.services-grid .svc-card:nth-child(1) {
  background-image: url("../../media/image_07.jpg");
}
.services-grid .svc-card:nth-child(2) {
  background-image: url("../../media/image_03.jpg");
}
.services-grid .svc-card:nth-child(3) {
  background-image: url("../../media/image_14.jpg");
}
.tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border: 1px solid var(--border);
  color: var(--muted);
  text-transform: uppercase;
}

/* ── BUSINESS DIVISION INTRO ── */
.division-intro {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 0.5px solid var(--border);
}
.division-kicker {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.division-kicker::after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--blue);
}
.division-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.division-lead {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 620px;
  margin-bottom: 28px;
}
.division-intro h3 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
}
.division-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.division-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: #1a1d23;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 28px 28px 30px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.division-card::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 14, 0.18) 0%,
    rgba(8, 10, 14, 0.44) 48%,
    rgba(8, 10, 14, 0.8) 100%
  );
  z-index: 0;
}
.division-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 2;
}
.division-card > * {
  position: relative;
  z-index: 1;
}
.division-card:hover {
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(10, 12, 16, 0.18);
}
.division-card:hover::after {
  transform: scaleX(1);
}
.division-card .division-type {
  font-size: 14px;
  font-weight: 400;
  color: #dfe9ff;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.division-department-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.division-department {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.division-note {
  margin-top: 16px;
  font-size: 13px;
  color: #eef2f8;
  line-height: 1.75;
}
.division-grid .division-card:nth-child(1) {
  background-image: url("../../media/image_01.jpg");
}
.division-grid .division-card:nth-child(2) {
  background-image: url("../../media/image_16.jpg");
}
@media (max-width: 760px) {
  .division-intro h3 {
    font-size: 24px;
    margin-bottom: 18px;
  }
  .division-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .division-card {
    padding: 22px 20px;
    min-height: 200px;
  }
  .division-card .division-type {
    margin-bottom: 14px;
  }
  .division-department {
    font-size: 18px;
  }
}

/* ── NEWS / INTERVIEW ── */
#news {
  background: var(--ink);
}
#news .sec-label {
  color: var(--teal);
}
#news .sec-label::after {
  background: var(--teal);
}
#news .sec-h {
  color: #fff;
}
#news .sec-sub {
  color: rgba(255, 255, 255, 0.55);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.news-card {
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: background 0.25s;
}
.news-card:hover {
  background: rgba(255, 255, 255, 0.08);
}
.news-thumb {
  aspect-ratio: 16/9;
  background: rgba(0, 87, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.news-thumb-label {
  font-family: var(--display);
  font-size: 48px;
  color: rgba(0, 87, 255, 0.35);
  letter-spacing: 0.05em;
}
.news-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  background: var(--teal);
  color: var(--ink);
  padding: 4px 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.news-body {
  padding: 24px 26px;
}
.news-date {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.news-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.55;
  margin-bottom: 10px;
}
.news-excerpt {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
}
.news-more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
.btn-outline-w {
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  padding: 14px 36px;
  text-decoration: none;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.btn-outline-w:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* ── CONTACT ── */
#contact {
  background: var(--paper);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 56px;
}
.contact-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
}
.contact-info p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 36px;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cd-row {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cd-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--blue);
  letter-spacing: 0.15em;
  width: 78px;
  flex-shrink: 0;
}
.cd-val {
  font-size: 14px;
  color: var(--ink);
}
.cd-row-office {
  padding-left: 94px;
}
@media (max-width: 760px) {
  .cd-row-office {
    padding-left: 0;
  }
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--blue);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 0.5px solid var(--border);
  background: transparent;
  padding: 13px 16px;
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
}
.form-group textarea {
  height: 130px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.btn-submit {
  width: 100%;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 700;
  padding: 16px;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: 0.2s;
  font-family: var(--body);
}
.btn-submit:hover {
  background: var(--blue);
  border-color: var(--blue);
}

/* ── CAREERS TEASER ── */
.careers-teaser {
  background: var(--blue);
  color: #fff;
  padding: 100px 64px;
  text-align: center;
}
.careers-teaser .sec-label {
  color: rgba(255, 255, 255, 0.6);
  justify-content: center;
}
.careers-teaser .sec-label::after {
  background: rgba(255, 255, 255, 0.3);
}
.careers-teaser .sec-h {
  color: #fff;
  margin-bottom: 16px;
}
.careers-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
  font-weight: 300;
  line-height: 1.8;
}
.role-chips {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.role-chip {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 8px 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn-careers {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--blue);
  font-size: 14px;
  letter-spacing: 0.12em;
  font-weight: 700;
  padding: 18px 44px;
  text-decoration: none;
  transition: 0.2s;
}
.btn-careers:hover {
  background: var(--ink);
  color: #fff;
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 42px 64px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-logo {
  font-family: var(--display);
  font-size: 22px;
  color: #fff;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.footer-logo span {
  color: var(--blue);
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}
.footer-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s,
    transform 0.2s;
}
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #fff;
  border-color: rgba(0, 87, 255, 0.8);
  background: rgba(0, 87, 255, 0.16);
  transform: translateY(-2px);
}
.footer-nav a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.footer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  text-decoration: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: rgba(0, 87, 255, 0.9);
  background: rgba(0, 87, 255, 0.2);
  box-shadow: 0 10px 26px rgba(0, 87, 255, 0.22);
  transform: translateY(-2px);
}
.footer-social a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.footer-social img {
  width: 20px;
  height: 20px;
  display: block;
  filter: brightness(0) invert(1);
}
.footer-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.38);
  white-space: nowrap;
}
@media (max-width: 1024px) {
  footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 40px 36px;
    gap: 22px;
  }
  .footer-right {
    justify-content: center;
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 760px) {
  footer {
    padding: 34px 20px;
    display: grid;
  }
  .footer-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 4px 0 0;
  }
  .footer-nav a {
    width: 100%;
    padding: 0 10px;
  }
  .footer-copy {
    white-space: normal;
  }
}

/* ── YOUTH / RECRUIT ENHANCEMENTS ── */
.hero-copy {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: -4px 0 14px;
}
.menu-btn {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  position: relative;
  cursor: pointer;
}
.menu-btn span {
  position: absolute;
  left: 10px;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: 0.25s;
}
.menu-btn span:first-child {
  top: 16px;
}
.menu-btn span:last-child {
  top: 25px;
}
.menu-btn.open span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}
.menu-btn.open span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.career-exp {
  background: #eae7df;
}
.career-layout {
  display: block;
}
.career-path {
  background: var(--ink);
  color: #fff;
  padding: 38px;
}
.path-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--teal);
  letter-spacing: 0.18em;
  margin-bottom: 34px;
}
.path-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 3px 12px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.path-step:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.path-step b {
  grid-row: 1/3;
  font-family: var(--display);
  font-size: 34px;
  color: var(--blue);
  font-weight: 400;
  line-height: 1;
}
.path-step span {
  font-size: 16px;
  font-weight: 700;
}
.path-step small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
}
.career-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.career-panel {
  background: #fff;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 8px 14px;
  align-items: center;
}
.career-panel > span {
  grid-row: 1/4;
  font-family: var(--display);
  font-size: 32px;
  color: var(--blue);
}
.career-panel h3 {
  font-size: 18px;
}
.career-panel p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.career-panel a {
  grid-column: 3;
  grid-row: 1/4;
  font-size: 11px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  nav {
    padding: 0 24px;
  }
  .nav-links a {
    padding: 0 10px;
    font-size: 10px;
  }
  .nav-cta {
    padding: 9px 14px;
  }
  .hero-l {
    padding: 72px 36px;
  }
  .hero-cards {
    padding: 52px 28px;
  }
  .sec {
    padding: 88px 36px;
  }
  .contact-grid {
    gap: 44px;
  }
  .careers-teaser {
    padding: 84px 36px;
  }
  footer {
    padding: 40px 36px;
  }
}
@media (max-width: 760px) {
  nav {
    height: 58px;
    padding: 0 16px;
  }
  .nav-cta {
    display: none;
  }
  .menu-btn {
    display: block;
    z-index: 102;
  }
  .nav-links {
    position: fixed;
    inset: 58px 0 auto 0;
    height: auto;
    background: rgba(245, 243, 238, 0.98);
    display: none;
    flex-direction: column;
    padding: 20px 16px 28px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    height: auto;
  }
  .nav-links a {
    height: auto;
    padding: 14px 4px;
    font-size: 12px;
    border-bottom: 1px solid var(--border);
  }
  .hero {
    display: block;
    padding-top: 58px;
    min-height: auto;
  }
  .hero-l {
    padding: 64px 20px 52px;
  }
  .hero-r {
    min-height: 470px;
  }
  h1 {
    font-size: clamp(64px, 22vw, 90px);
  }
  .hero-copy {
    font-size: 17px;
  }
  .hero-sub {
    font-size: 14px;
  }
  .ctas {
    flex-wrap: wrap;
  }
  .mission-card {
    margin-top: 40px;
    padding-top: 26px;
  }
  .mission-card::before {
    top: 26px;
    height: calc(100% - 26px);
  }
  .mission-inner {
    margin-left: 18px;
    padding: 22px;
  }
  .mission-title {
    font-size: 20px;
  }
  .mission-desc {
    font-size: 12px;
  }
  .mission-inner::after {
    font-size: 64px;
  }
  .hero-cards {
    padding: 44px 20px;
  }
  .hcard:nth-child(2),
  .hcard:nth-child(3) {
    margin-left: 0;
  }
  .hcard {
    padding: 20px 22px;
  }
  .hero-blank {
    min-height: 340px;
  }
  .sec {
    padding: 72px 20px;
  }
  .sec-h {
    font-size: 48px;
  }
  .sec-sub {
    font-size: 14px;
    margin-bottom: 38px;
  }
  .services-grid,
  .news-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .career-panels {
    grid-template-columns: 1fr;
  }
  .division-grid {
    grid-template-columns: 1fr;
  }
  .division-title {
    font-size: 24px;
  }
  .division-intro {
    margin-top: 42px;
    padding-top: 34px;
  }
  .division-card {
    padding: 24px 22px;
  }
  .svc-card {
    padding: 32px 24px;
  }
  .news-grid {
    gap: 12px;
  }
  .career-path {
    padding: 28px 22px;
  }
  .career-panel {
    padding: 22px;
    grid-template-columns: 40px 1fr;
  }
  .career-panel a {
    grid-column: 2;
    grid-row: auto;
    justify-self: start;
    margin-top: 8px;
  }
  .careers-teaser {
    padding: 72px 20px;
  }
  .careers-teaser .sec-h {
    font-size: 48px;
  }
  .role-chips {
    gap: 8px;
  }
  .role-chip {
    font-size: 11px;
    padding: 7px 12px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    gap: 42px;
  }
  footer {
    padding: 34px 20px;
    display: block;
  }
  .footer-nav {
    flex-wrap: wrap;
    margin: 24px 0;
  }
  .footer-social {
    margin: 0 0 18px;
  }
  .footer-copy {
    margin-top: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── HERO RIGHT VISUAL UPDATE ── */
.hero-r {
  background: var(--paper);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 64px 0 0 24px;
}
.hero-r .grid-bg,
.hero-r .scanline,
.hero-r .hero-blank {
  display: none !important;
}
.hero-visual {
  position: relative;
  width: 100%;
  height: calc(100vh - 64px);
  min-height: 620px;
  margin: 0;
}
.hero-visual::before,
.hero-visual::after,
.hero-visual-label,
.hero-visual-copy {
  display: none !important;
}
.hero-visual-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}
@media (max-width: 1024px) {
  .hero-r {
    padding: 58px 0 0 16px;
  }
  .hero-visual {
    min-height: 560px;
  }
}
@media (max-width: 760px) {
  .hero-r {
    display: block;
    padding: 0 0 48px;
    background: var(--paper);
  }
  .hero-visual {
    width: 100%;
    height: 360px;
    min-height: 0;
  }
}

/* ── HERO CENTER GAP FIX ── */
@media (min-width: 761px) {
  .hero {
    grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  }
  .hero-l {
    padding: 80px 28px 80px 64px;
  }
  .hero-sub {
    max-width: 440px;
  }
  .mission-card {
    max-width: 600px;
  }
  .hero-r {
    padding: 0;
  }
  .hero-visual {
    width: calc(100% + 36px);
    margin-left: -36px;
    height: calc(100vh - 64px);
    min-height: 620px;
  }
}
@media (min-width: 1200px) {
  .hero {
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  }
  .hero-visual {
    width: calc(100% + 64px);
    margin-left: -64px;
  }
}
@media (max-width: 1024px) and (min-width: 761px) {
  .hero-l {
    padding: 72px 22px 72px 36px;
  }
  .hero-r {
    padding: 0;
  }
  .hero-visual {
    width: calc(100% + 28px);
    margin-left: -28px;
    min-height: 560px;
  }
}

/* ── HERO IMAGE BLANK AREA FIX ── */
.hero-r {
  background: #dfe3e1;
}
.hero-visual {
  overflow: hidden;
}
.hero-visual-img {
  object-position: center 18%;
  transform: scale(1.34);
  transform-origin: center 18%;
}
.hero-visual::before {
  content: "";
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(245, 243, 238, 0.1) 0%,
      rgba(245, 243, 238, 0) 42%
    ),
    linear-gradient(
      180deg,
      rgba(10, 12, 16, 0.08) 0%,
      rgba(10, 12, 16, 0) 28%,
      rgba(0, 87, 255, 0.08) 100%
    );
  pointer-events: none;
}
.hero-visual::after {
  content: none !important;
  display: none !important;
}
@media (max-width: 760px) {
  .hero-visual-img {
    object-position: center 18%;
    transform: scale(1.22);
  }
  .hero-visual::after {
    content: none !important;
    display: none !important;
  }
}

/* ── ZOOM SAFE HERO IMAGE CROP ── */
.hero-r {
  background: #05070a;
}
.hero-visual {
  overflow: hidden;
  background: #05070a;
}
.hero-visual-img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 165%;
  height: 165%;
  max-width: none;
  object-fit: cover;
  object-position: 58% 48%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
}
@media (min-width: 1440px) {
  .hero-visual-img {
    width: 158%;
    height: 158%;
    object-position: 58% 48%;
  }
}
@media (max-width: 1024px) {
  .hero-visual-img {
    width: 178%;
    height: 178%;
    object-position: 58% 48%;
  }
}
@media (max-width: 760px) {
  .hero-visual-img {
    width: 145%;
    height: 145%;
    object-position: 58% 48%;
  }
}

/* ── STRONG NO-GRAY HERO IMAGE CROP ── */
.hero-r {
  background: #05070a !important;
}
.hero-visual {
  overflow: hidden;
  background: #05070a !important;
}
.hero-visual-img {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 230% !important;
  height: 230% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: 66% 34% !important;
  transform: translate(-50%, -50%) !important;
  transform-origin: center center !important;
  filter: contrast(1.12) brightness(0.82);
}
.hero-visual::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.28) 0%, rgba(5, 7, 10, 0) 34%),
    linear-gradient(
      180deg,
      rgba(5, 7, 10, 0.18) 0%,
      rgba(5, 7, 10, 0) 32%,
      rgba(5, 7, 10, 0.22) 100%
    );
}
@media (max-width: 1024px) {
  .hero-visual-img {
    width: 250% !important;
    height: 250% !important;
    object-position: 66% 34% !important;
  }
}
@media (max-width: 760px) {
  .hero-visual-img {
    width: 190% !important;
    height: 190% !important;
    object-position: 64% 36% !important;
  }
}

/* ── HERO IMAGE PULLED BACK + BOTTOM ALIGN ── */
.hero-r {
  background: #05070a !important;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 86px 0 0 0 !important;
}
.hero-visual {
  overflow: hidden;
  background: #05070a !important;
  width: calc(100% + 48px);
  margin-left: -48px;
  height: 560px;
  min-height: 0 !important;
}
.hero-visual-img {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 175% !important;
  height: 175% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: 61% 41% !important;
  transform: translate(-50%, -50%) !important;
  transform-origin: center center !important;
  filter: contrast(1.08) brightness(0.88);
}
.hero-visual::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.22) 0%, rgba(5, 7, 10, 0) 32%),
    linear-gradient(
      180deg,
      rgba(5, 7, 10, 0.14) 0%,
      rgba(5, 7, 10, 0) 28%,
      rgba(5, 7, 10, 0.16) 100%
    );
}
@media (min-width: 1200px) {
  .hero-visual {
    width: calc(100% + 64px);
    margin-left: -64px;
  }
  .hero-visual-img {
    width: 168% !important;
    height: 168% !important;
    object-position: 61% 41% !important;
  }
}
@media (max-width: 1024px) {
  .hero-r {
    padding: 74px 0 0 0 !important;
  }
  .hero-visual {
    width: calc(100% + 32px);
    margin-left: -32px;
    height: 500px;
  }
  .hero-visual-img {
    width: 188% !important;
    height: 188% !important;
    object-position: 61% 42% !important;
  }
}
@media (max-width: 760px) {
  .hero-r {
    display: block;
    padding: 0 0 48px 0 !important;
    background: #05070a !important;
  }
  .hero-visual {
    width: 100%;
    margin-left: 0;
    height: 360px;
  }
  .hero-visual-img {
    width: 145% !important;
    height: 145% !important;
    object-position: 60% 42% !important;
    filter: contrast(1.06) brightness(0.9);
  }
}

/* ── HERO RIGHT IMAGE SLIDESHOW ── */
.hero-slideshow {
  position: relative;
}
.hero-slide {
  opacity: 0;
  animation: heroSlideFade 14s infinite;
  transition: opacity 0.8s ease;
}
.hero-slide:nth-child(1) {
  animation-delay: 0s;
}
.hero-slide:nth-child(2) {
  animation-delay: 7s;
}
@keyframes heroSlideFade {
  0% {
    opacity: 0;
  }
  7% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  57% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none !important;
    transition: none !important;
  }
  .hero-slide:first-child {
    opacity: 1;
  }
}

/* ── SLIDESHOW TIMING + SAME VIEWPORT CROP ── */
.hero-slideshow {
  display: block !important;
  overflow: hidden !important;
  background: #05070a !important;
}
.hero-slideshow .hero-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  filter: none !important;
}
.hero-slideshow .hero-slide:nth-child(1) {
  object-position: center center !important;
}
.hero-slideshow .hero-slide:nth-child(2) {
  object-position: center 68% !important;
}
@media (max-width: 760px) {
  .hero-slideshow .hero-slide:nth-child(2) {
    object-position: center 62% !important;
  }
}

/* ── HERO COPY / MISSION SWAP ── */
@media (min-width: 761px) {
  .mission-card {
    margin-top: 0;
    margin-bottom: 36px;
  }
  .hero-copy {
    margin-top: 0;
  }
}
@media (max-width: 760px) {
  .mission-card {
    margin-top: 0;
    margin-bottom: 34px;
  }
}

/* ── HERO SWAP STRUCTURE FIX ── */
@media (min-width: 761px) {
  .hero-l {
    gap: 0;
  }
  .mission-card {
    margin-top: 0;
    margin-bottom: 34px;
  }
  .mission-inner {
    box-shadow: 0 18px 44px rgba(10, 12, 16, 0.06);
  }
  .hero-copy {
    margin-top: 0;
  }
}
@media (max-width: 760px) {
  .mission-card {
    margin-top: 0;
    margin-bottom: 28px;
  }
}

/* ── HERO LEFT CONTENT SHIFT RIGHT ── */
@media (min-width: 761px) {
  .hero-l {
    padding-left: 96px;
    padding-right: 20px;
  }
}
@media (min-width: 1200px) {
  .hero-l {
    padding-left: 112px;
  }
}
@media (max-width: 1024px) and (min-width: 761px) {
  .hero-l {
    padding-left: 64px;
    padding-right: 18px;
  }
}

/* ── BUSINESS CONTENT CLEANUP ── */
.svc-tags {
  display: none !important;
}
.division-card::before {
  content: none !important;
  display: none !important;
}
.svc-card {
  transition:
    background 0.25s,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(10, 12, 16, 0.08);
}

/* ── CAREER PANEL NUMBER FIX ── */
.career-panel > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: #fff;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
}
@media (max-width: 760px) {
  .career-panel > span {
    width: 40px;
    height: 40px;
    font-size: 26px;
  }
}

/* ── CAREER CARD LAYOUT FIX ── */
.career-panels {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}
.career-panel {
  background: #fff !important;
  padding: 28px 32px !important;
  display: grid !important;
  grid-template-columns: 72px 1fr !important;
  grid-template-rows: auto auto auto !important;
  gap: 8px 22px !important;
  align-items: start !important;
  min-height: 190px !important;
}
.career-panel > span {
  grid-column: 1 !important;
  grid-row: 1 / 4 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 72px !important;
  height: 72px !important;
  background: var(--blue) !important;
  color: #fff !important;
  font-family: var(--display) !important;
  font-size: 38px !important;
  line-height: 1 !important;
}
.career-panel h3 {
  grid-column: 2 !important;
  grid-row: 1 !important;
  font-size: 22px !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}
.career-panel p {
  grid-column: 2 !important;
  grid-row: 2 !important;
  font-size: 13px !important;
  color: var(--muted) !important;
  line-height: 1.8 !important;
  margin: 0 !important;
}
.career-panel a {
  grid-column: 2 !important;
  grid-row: 3 !important;
  justify-self: start !important;
  align-self: end !important;
  margin-top: 14px !important;
  font-size: 12px !important;
  color: var(--ink) !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--ink) !important;
  padding-bottom: 4px !important;
  white-space: nowrap !important;
}
@media (max-width: 760px) {
  .career-panels {
    grid-template-columns: 1fr !important;
  }
  .career-panel {
    grid-template-columns: 56px 1fr !important;
    padding: 24px 22px !important;
    min-height: 0 !important;
  }
  .career-panel > span {
    width: 56px !important;
    height: 56px !important;
    font-size: 32px !important;
  }
}

/* ── CAREER NUMBER VISIBILITY FINAL FIX ── */
.career-panel > span {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  justify-content: center !important;
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  background: #0057ff !important;
  color: #fff !important;
  font-family: var(--display) !important;
  font-size: 38px !important;
  line-height: 1 !important;
  grid-column: 1 !important;
  grid-row: 1 / 4 !important;
}

/* ── COMPANY MOVIE / CM ── */
.company-movie {
  position: relative;
  overflow: hidden;
  background: #05070a;
  color: #fff;
}
.company-movie::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 87, 255, 0.34), transparent 32%),
    linear-gradient(135deg, rgba(0, 87, 255, 0.18), transparent 42%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size:
    auto,
    auto,
    44px 44px,
    44px 44px;
  pointer-events: none;
}
.company-movie .sec-label {
  color: var(--teal);
  position: relative;
  z-index: 1;
}
.company-movie .sec-label::after {
  background: var(--teal);
}
.company-movie-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 42px;
  align-items: center;
}
.company-movie-copy {
  max-width: 560px;
}
.company-movie .sec-h {
  color: #fff;
  margin-bottom: 24px;
}
.company-movie-lead {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.95;
  font-weight: 300;
  margin-bottom: 28px;
}
.company-movie-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}
.company-movie-point {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  padding: 16px 14px;
}
.company-movie-point b {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--teal);
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}
.company-movie-point span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}
.movie-frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
  padding: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}
.movie-frame::before {
  content: "COMPANY CM";
  position: absolute;
  left: 22px;
  top: -14px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #fff;
  background: var(--blue);
  padding: 7px 12px;
}
.movie-frame::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 92px;
  height: 92px;
  border-right: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  pointer-events: none;
}
.company-cm-video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #000;
}
.movie-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.movie-caption span:last-child {
  color: var(--teal);
}
@media (max-width: 1024px) {
  .company-movie-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .company-movie-copy {
    max-width: 720px;
  }
}
@media (max-width: 760px) {
  .company-movie-points {
    grid-template-columns: 1fr;
  }
  .movie-frame {
    padding: 8px;
  }
  .movie-caption {
    display: block;
    line-height: 1.8;
  }
}

/* ── COMPANY PAGE ── */
.company-page {
  padding-top: 64px;
  background: var(--paper);
}
.company-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: #05070a;
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: stretch;
}
.company-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(0, 87, 255, 0.45), transparent 32%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size:
    auto,
    44px 44px,
    44px 44px;
}
.company-hero-copy {
  position: relative;
  z-index: 1;
  padding: 120px 64px 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.company-hero-kicker {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.company-hero-kicker::after {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--teal);
}
.company-hero h1 {
  color: #fff;
  font-size: clamp(76px, 10vw, 142px);
  margin-bottom: 28px;
}
.company-hero h1 span {
  color: var(--blue);
}
.company-hero-lead {
  font-size: 16px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.74);
  max-width: 620px;
  font-weight: 300;
}
.company-hero-panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 84px 64px 84px 24px;
}
.company-hero-card {
  width: 100%;
  max-width: 460px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  padding: 34px;
}
.company-hero-card .label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--teal);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.company-hero-card strong {
  display: block;
  font-size: 27px;
  line-height: 1.55;
  margin-bottom: 16px;
}
.company-hero-card p {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.64);
}
.company-main {
  background: var(--paper);
}
.company-section {
  padding: 104px 64px;
  border-bottom: 0.5px solid var(--border);
}
.company-wrap {
  max-width: 1180px;
  margin: 0 auto;
}
.company-two {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 64px;
  align-items: start;
}
.company-section-title {
  font-family: var(--display);
  font-size: clamp(46px, 6vw, 78px);
  line-height: 0.95;
  margin-bottom: 18px;
}
.company-section-title span {
  color: var(--blue);
}
.company-intro {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.95;
  max-width: 560px;
}
.company-statement {
  background: #fff;
  border: 1px solid var(--border);
  padding: 36px 40px;
  box-shadow: 0 18px 44px rgba(10, 12, 16, 0.06);
  position: relative;
  overflow: hidden;
}
.company-statement::after {
  content: "VI-LINE";
  position: absolute;
  right: -8px;
  bottom: -16px;
  font-family: var(--display);
  font-size: 92px;
  letter-spacing: 0.05em;
  color: rgba(0, 87, 255, 0.055);
}
.company-statement h2 {
  font-size: 30px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}
.profile-list {
  border-top: 1px solid var(--border);
}
.profile-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.profile-key {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.profile-val {
  font-size: 15px;
  line-height: 1.9;
}
.profile-val small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin-top: 2px;
}
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.business-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 28px;
  min-height: 150px;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.business-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--blue);
}
.business-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 38px rgba(10, 12, 16, 0.08);
  border-color: rgba(0, 87, 255, 0.28);
}
.business-card b {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--blue);
  letter-spacing: 0.18em;
  display: block;
  margin-bottom: 16px;
}
.business-card span {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}
.office-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.office-card {
  background: #05070a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 34px;
  position: relative;
  overflow: hidden;
}
.office-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 12% 16%,
    rgba(0, 87, 255, 0.32),
    transparent 32%
  );
  pointer-events: none;
}
.office-card h3 {
  position: relative;
  font-size: 24px;
  margin-bottom: 18px;
}
.office-card p {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.9;
}
.history-line {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
.history-line:last-child {
  border-bottom: 1px solid var(--border);
}
.history-year {
  font-family: var(--display);
  font-size: 42px;
  color: var(--blue);
  line-height: 1;
}
.history-body h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.history-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
}
.company-cta {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 88px 64px;
}
.company-cta .sec-label {
  color: rgba(255, 255, 255, 0.68);
  justify-content: center;
}
.company-cta .sec-label::after {
  background: rgba(255, 255, 255, 0.34);
}
.company-cta h2 {
  font-family: var(--display);
  font-size: clamp(46px, 6vw, 78px);
  line-height: 0.96;
  margin-bottom: 20px;
}
.company-cta p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 34px;
}
.company-cta .btn-careers {
  background: #fff;
  color: var(--blue);
}
.company-cta .btn-careers:hover {
  background: var(--ink);
  color: #fff;
}
@media (max-width: 1024px) {
  .company-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .company-hero-copy {
    padding: 100px 36px 42px;
  }
  .company-hero-panel {
    padding: 0 36px 74px;
    justify-content: flex-start;
  }
  .company-section {
    padding: 88px 36px;
  }
  .company-two {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .business-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .company-page {
    padding-top: 58px;
  }
  .company-hero-copy {
    padding: 72px 20px 36px;
  }
  .company-hero-panel {
    padding: 0 20px 56px;
  }
  .company-hero-card {
    padding: 26px 22px;
  }
  .company-section {
    padding: 72px 20px;
  }
  .company-statement {
    padding: 28px 22px;
  }
  .company-statement h2 {
    font-size: 23px;
  }
  .profile-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }
  .business-grid,
  .office-grid {
    grid-template-columns: 1fr;
  }
  .history-line {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .company-cta {
    padding: 72px 20px;
  }
}

/* ── COMPANY PAGE FINAL UPDATE ── */
.company-page {
  padding-top: 64px;
  background: var(--paper);
}
.company-hero {
  position: relative !important;
  min-height: 560px !important;
  display: flex !important;
  align-items: center !important;
  background: #05070a url("../../media/rogo2.jpg") center center / contain
    no-repeat !important;
  color: #fff !important;
  isolation: isolate;
}
.company-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 87, 255, 0.24), transparent 34%),
    linear-gradient(
      90deg,
      rgba(5, 7, 10, 0.88),
      rgba(5, 7, 10, 0.64) 45%,
      rgba(5, 7, 10, 0.88)
    ),
    linear-gradient(
      180deg,
      rgba(5, 7, 10, 0.78),
      rgba(5, 7, 10, 0.38) 48%,
      rgba(5, 7, 10, 0.84)
    ) !important;
  z-index: 0 !important;
  pointer-events: none !important;
}
.company-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.company-hero-copy {
  position: relative !important;
  z-index: 1 !important;
  width: min(100%, 1280px) !important;
  margin: 0 auto !important;
  padding: 128px 48px 110px !important;
  display: block !important;
}
.company-hero-kicker {
  color: var(--teal) !important;
}
.company-hero h1 {
  color: #fff !important;
  font-size: clamp(78px, 11vw, 150px) !important;
  margin-bottom: 28px !important;
}
.company-hero-lead {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 13px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 7, 10, 0.42);
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.7 !important;
  max-width: none !important;
  backdrop-filter: blur(10px);
}
.company-main {
  background: var(--paper);
}
.company-section {
  padding: 86px 48px !important;
  border-bottom: 0.5px solid var(--border);
}
.company-wrap {
  max-width: 1280px !important;
  margin: 0 auto !important;
}
.company-two {
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr) !important;
  gap: 44px !important;
}
.company-intro {
  display: none !important;
}
.profile-key {
  font-family: var(--body) !important;
  font-size: 14px !important;
  color: var(--blue) !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: none !important;
}
.history-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}
.history-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  padding: 24px 26px 24px 30px;
  min-height: 144px;
  box-shadow: 0 16px 36px rgba(10, 12, 16, 0.055);
  overflow: hidden;
}
.history-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--blue);
}
.history-card:nth-child(4n + 2),
.history-card:nth-child(4n + 3) {
  background: #f0eee8;
}
.history-date {
  font-family: var(--display);
  font-size: 42px;
  color: var(--blue);
  line-height: 0.95;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}
.history-card p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.85;
  font-weight: 500;
}
.access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.access-card {
  background: #05070a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  box-shadow: 0 22px 58px rgba(10, 12, 16, 0.16);
}
.access-info {
  padding: 28px 30px 24px;
}
.access-info h3 {
  font-size: 24px;
  margin-bottom: 12px;
}
.access-info p {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
}
.map-frame {
  height: 430px;
  background: #111;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.9) contrast(1.02);
}
.company-cta {
  background: var(--blue) !important;
  color: #fff !important;
  text-align: center !important;
  padding: 90px 48px !important;
}
.company-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.company-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  min-height: 78px;
  padding: 0 34px;
  background: #fff;
  color: var(--blue);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border: 2px solid #fff;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s,
    border-color 0.2s;
}
.company-shortcut:hover,
.company-shortcut:focus-visible {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-3px);
}
.company-shortcut.is-outline {
  background: #fff;
  color: var(--blue);
  border-color: #fff;
}
.company-shortcut.is-outline:hover,
.company-shortcut.is-outline:focus-visible {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
@media (max-width: 1024px) {
  .company-hero-copy {
    padding: 112px 36px 92px !important;
  }
  .company-section {
    padding: 78px 36px !important;
  }
  .company-two {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .history-board,
  .access-grid {
    grid-template-columns: 1fr;
  }
  .map-frame {
    height: 390px;
  }
}
@media (max-width: 760px) {
  .company-page {
    padding-top: 58px;
  }
  .company-hero {
    min-height: 440px !important;
    background-size: 95% auto !important;
  }
  .company-hero-copy {
    padding: 84px 20px 72px !important;
  }
  .company-hero-lead {
    font-size: 15px !important;
    min-height: 48px;
  }
  .company-section {
    padding: 64px 20px !important;
  }
  .history-card {
    padding: 22px 22px 22px 26px;
    min-height: 0;
  }
  .history-date {
    font-size: 34px;
  }
  .map-frame {
    height: 350px;
  }
  .company-cta {
    padding: 72px 20px !important;
  }
  .company-shortcut {
    width: 100%;
    min-width: 0;
    min-height: 68px;
  }
}

/* ── COMPANY PAGE CONFIRMED FIX: hero / timeline / access ── */
.company-hero {
  justify-content: flex-start !important;
  align-items: center !important;
}
.company-hero-copy {
  width: min(100%, 760px) !important;
  max-width: 760px !important;
  margin: 0 !important;
  padding: 128px 0 110px 72px !important;
  display: block !important;
}
.company-hero h1 {
  text-align: left !important;
  transform: none !important;
}
.company-hero-lead {
  margin-left: 0 !important;
}

/* 会社沿革：カード2列ではなく、年表として見える縦ライン形式 */
.history-board {
  display: none !important;
}
.history-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 4px 0 4px;
}
.history-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 174px;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(0, 87, 255, 0.18),
    var(--blue),
    rgba(0, 87, 255, 0.18)
  );
}
.history-item {
  position: relative;
  display: grid;
  grid-template-columns: 138px 72px minmax(0, 1fr);
  align-items: start;
  min-height: 104px;
  padding: 0 0 30px;
}
.history-item:last-child {
  padding-bottom: 0;
}
.history-date {
  font-family: var(--display);
  font-size: 38px;
  line-height: 1;
  color: var(--blue);
  letter-spacing: 0.04em;
  padding-top: 3px;
  white-space: nowrap;
}
.history-node {
  position: relative;
  min-height: 42px;
}
.history-node::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 27px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--paper);
  border: 4px solid var(--blue);
  box-shadow: 0 0 0 8px rgba(0, 87, 255, 0.08);
  z-index: 1;
}
.history-body {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  padding: 22px 26px;
  box-shadow: 0 16px 36px rgba(10, 12, 16, 0.055);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.history-body::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -9px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-left: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transform: rotate(45deg);
}
.history-item:nth-child(even) .history-body {
  background: #f0eee8;
}
.history-item:nth-child(even) .history-body::before {
  background: #f0eee8;
}
.history-item:hover .history-body {
  transform: translateX(8px);
  border-color: rgba(0, 87, 255, 0.34);
  box-shadow: 0 22px 50px rgba(10, 12, 16, 0.09);
}
.history-body p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.85;
  font-weight: 500;
}

/* アクセス：崩れにくい横長カードへ */
.access-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 28px !important;
}
.access-card {
  display: grid !important;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr) !important;
  min-height: 420px;
}
.access-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px 40px !important;
}
.map-frame {
  height: 100% !important;
  min-height: 420px !important;
}
.map-frame iframe {
  min-height: 420px !important;
}

@media (max-width: 1024px) {
  .company-hero-copy {
    padding: 112px 36px 92px !important;
    width: 100% !important;
    max-width: 720px !important;
  }
  .history-timeline::before {
    left: 154px;
  }
  .history-item {
    grid-template-columns: 124px 62px minmax(0, 1fr);
  }
  .history-node::before {
    left: 22px;
  }
}
@media (max-width: 760px) {
  .company-hero-copy {
    padding: 84px 20px 72px !important;
  }
  .history-timeline::before {
    left: 10px;
  }
  .history-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    min-height: 0;
    padding-bottom: 22px;
  }
  .history-date {
    grid-column: 2;
    font-size: 34px;
    margin-bottom: 10px;
  }
  .history-node {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .history-node::before {
    left: 1px;
    top: 8px;
  }
  .history-body {
    grid-column: 2;
    padding: 20px 22px;
  }
  .history-body::before {
    display: none;
  }
  .history-item:hover .history-body {
    transform: none;
  }
  .access-card {
    grid-template-columns: 1fr !important;
    min-height: 0;
  }
  .map-frame,
  .map-frame iframe {
    height: 360px !important;
    min-height: 360px !important;
  }
}

/* ── COMPANY PAGE WIDTH / HISTORY READABILITY FIX ── */
.company-section {
  padding-left: clamp(28px, 3.2vw, 56px) !important;
  padding-right: clamp(28px, 3.2vw, 56px) !important;
}
.company-wrap {
  width: min(100%, 1480px) !important;
  max-width: 1480px !important;
}
.company-two {
  grid-template-columns: minmax(190px, 0.38fr) minmax(0, 1.62fr) !important;
  gap: clamp(32px, 4vw, 68px) !important;
}
.profile-row {
  grid-template-columns: 190px minmax(0, 1fr) !important;
  gap: 28px !important;
  padding: 26px 0 !important;
}
.profile-val {
  font-size: 16px !important;
  line-height: 1.95 !important;
}
.history-timeline {
  width: 100% !important;
}
.history-timeline::before {
  left: 184px !important;
}
.history-item {
  grid-template-columns: 146px 78px minmax(0, 1fr) !important;
  min-height: 118px !important;
  padding-bottom: 34px !important;
}
.history-date {
  font-size: 46px !important;
  letter-spacing: 0.045em !important;
}
.history-node::before {
  left: 30px !important;
  width: 20px !important;
  height: 20px !important;
}
.history-body {
  padding: 26px 34px !important;
}
.history-body p {
  font-size: 17px !important;
  line-height: 1.9 !important;
  font-weight: 600 !important;
  letter-spacing: 0.015em !important;
}
.access-grid {
  width: 100% !important;
}
.access-card {
  grid-template-columns: minmax(320px, 0.36fr) minmax(0, 0.64fr) !important;
  min-height: 450px !important;
}
.access-info {
  padding: 42px 44px !important;
}
.access-info h3 {
  font-size: 27px !important;
}
.access-info p {
  font-size: 15px !important;
  line-height: 1.95 !important;
}
.map-frame,
.map-frame iframe {
  min-height: 450px !important;
}
@media (min-width: 1500px) {
  .company-wrap {
    width: min(100%, 1540px) !important;
    max-width: 1540px !important;
  }
}
@media (max-width: 1180px) {
  .company-two {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }
  .history-timeline::before {
    left: 166px !important;
  }
  .history-item {
    grid-template-columns: 132px 68px minmax(0, 1fr) !important;
  }
  .history-node::before {
    left: 24px !important;
  }
  .access-card {
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr) !important;
  }
}
@media (max-width: 760px) {
  .company-section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .profile-row {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 22px 0 !important;
  }
  .profile-val {
    font-size: 15px !important;
  }
  .history-timeline::before {
    left: 10px !important;
  }
  .history-item {
    grid-template-columns: 34px minmax(0, 1fr) !important;
    gap: 10px !important;
    min-height: 0 !important;
    padding-bottom: 24px !important;
  }
  .history-date {
    grid-column: 2 !important;
    font-size: 36px !important;
    margin-bottom: 10px !important;
  }
  .history-node {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
  }
  .history-node::before {
    left: 1px !important;
    top: 8px !important;
    width: 18px !important;
    height: 18px !important;
  }
  .history-body {
    grid-column: 2 !important;
    padding: 22px 20px !important;
  }
  .history-body p {
    font-size: 15px !important;
    line-height: 1.85 !important;
  }
  .access-card {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }
  .access-info {
    padding: 30px 24px !important;
  }
  .map-frame,
  .map-frame iframe {
    height: 380px !important;
    min-height: 380px !important;
  }
}

/* ── LAYOUT BUGFIX: 会社概要・会社沿革の競合CSSを統一 ── */

/* 会社概要：左列をラベル幅に固定、右列にコンテンツを広く */
.company-two {
  display: grid !important;
  grid-template-columns: 220px minmax(0, 1fr) !important;
  gap: 56px !important;
  align-items: start !important;
}

/* タイトル：左列220px内に収まるフォントサイズに固定（折り返し防止） */
.company-section-title {
  font-family: var(--display) !important;
  font-size: clamp(36px, 3.2vw, 52px) !important;
  line-height: 1 !important;
  margin-bottom: 12px !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

@media (max-width: 1024px) {
  .company-two {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .company-section-title {
    font-size: clamp(40px, 6vw, 60px) !important;
  }
}

/* profile-row：キー列幅を固定して揃える */
.profile-row {
  display: grid !important;
  grid-template-columns: 160px minmax(0, 1fr) !important;
  gap: 20px !important;
  padding: 22px 0 !important;
  border-bottom: 1px solid var(--border) !important;
}
@media (max-width: 760px) {
  .profile-row {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    padding: 18px 0 !important;
  }
}

/* 会社沿革：縦ライン・ノード位置を統一 */
.history-timeline {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 4px 0 !important;
  width: 100% !important;
}
.history-timeline::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 174px !important;
  width: 2px !important;
  background: linear-gradient(
    180deg,
    rgba(0, 87, 255, 0.18),
    var(--blue),
    rgba(0, 87, 255, 0.18)
  ) !important;
}
.history-item {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 138px 72px minmax(0, 1fr) !important;
  align-items: start !important;
  min-height: 104px !important;
  padding: 0 0 30px !important;
}
.history-item:last-child {
  padding-bottom: 0 !important;
}
.history-date {
  font-family: var(--display) !important;
  font-size: 38px !important;
  line-height: 1 !important;
  color: var(--blue) !important;
  letter-spacing: 0.04em !important;
  padding-top: 3px !important;
  white-space: nowrap !important;
  grid-column: 1 !important;
  grid-row: auto !important;
  margin-bottom: 0 !important;
}
.history-node {
  position: relative !important;
  min-height: 42px !important;
  grid-column: 2 !important;
  grid-row: auto !important;
}
.history-node::before {
  content: "" !important;
  position: absolute !important;
  top: 8px !important;
  left: 27px !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: var(--paper) !important;
  border: 4px solid var(--blue) !important;
  box-shadow: 0 0 0 8px rgba(0, 87, 255, 0.08) !important;
  z-index: 1 !important;
}
.history-body {
  grid-column: 3 !important;
  grid-row: auto !important;
  position: relative !important;
  background: #fff !important;
  border: 1px solid var(--border) !important;
  padding: 22px 26px !important;
  box-shadow: 0 16px 36px rgba(10, 12, 16, 0.055) !important;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease !important;
}
.history-body::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 20px !important;
  left: -9px !important;
  width: 16px !important;
  height: 16px !important;
  background: #fff !important;
  border-left: 1px solid var(--border) !important;
  border-bottom: 1px solid var(--border) !important;
  transform: rotate(45deg) !important;
}
.history-item:nth-child(even) .history-body {
  background: #f0eee8 !important;
}
.history-item:nth-child(even) .history-body::before {
  background: #f0eee8 !important;
}
.history-item:hover .history-body {
  transform: translateX(8px) !important;
  border-color: rgba(0, 87, 255, 0.34) !important;
  box-shadow: 0 22px 50px rgba(10, 12, 16, 0.09) !important;
}
.history-body p {
  font-size: 15px !important;
  color: var(--ink) !important;
  line-height: 1.9 !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

@media (max-width: 1180px) {
  .history-timeline::before {
    left: 152px !important;
  }
  .history-item {
    grid-template-columns: 116px 72px minmax(0, 1fr) !important;
    min-height: 90px !important;
  }
}
@media (max-width: 760px) {
  .history-timeline::before {
    left: 10px !important;
  }
  .history-item {
    grid-template-columns: 34px minmax(0, 1fr) !important;
    min-height: 0 !important;
    padding-bottom: 24px !important;
    gap: 0 10px !important;
  }
  .history-date {
    grid-column: 2 !important;
    grid-row: 1 !important;
    font-size: 32px !important;
    padding-top: 0 !important;
    margin-bottom: 6px !important;
  }
  .history-node {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
  }
  .history-node::before {
    left: 1px !important;
    top: 6px !important;
    width: 16px !important;
    height: 16px !important;
  }
  .history-body {
    grid-column: 2 !important;
    grid-row: 2 !important;
    padding: 18px 18px !important;
  }
  .history-body::before {
    display: none !important;
  }
  .history-item:hover .history-body {
    transform: none !important;
  }
}

/* ── REVEAL SAFEGUARD: モバイルでコンテンツが消えるのを防ぐ ── */
@media (max-width: 760px) {
  .company-section .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── COMPANY TICKER ── */
.company-ticker {
  overflow: hidden;
  padding: 11px 0;
  background: var(--blue);
}
.company-tick-inner {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: companyTick 28s linear infinite;
}
@keyframes companyTick {
  to {
    transform: translateX(-50%);
  }
}
.company-tick-item {
  display: inline-flex;
  align-items: center;
  gap: 60px;
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.company-tick-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

/* ══ 会社概要レイアウト 最終確定（競合解消） ══ */
.company-wrap.company-two {
  display: grid !important;
  grid-template-columns: 200px minmax(0, 1fr) !important;
  gap: 56px !important;
  align-items: start !important;
}
.company-wrap.company-two .company-section-title {
  font-family: var(--display) !important;
  font-size: clamp(32px, 2.8vw, 48px) !important;
  line-height: 1 !important;
  margin-bottom: 10px !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}
.profile-list {
  border-top: 1px solid var(--border) !important;
}
.profile-row {
  display: grid !important;
  grid-template-columns: 120px minmax(0, 1fr) !important;
  gap: 24px !important;
  padding: 22px 0 !important;
  border-bottom: 1px solid var(--border) !important;
  align-items: baseline !important;
}
.profile-key {
  font-family: var(--mono) !important;
  font-size: 11px !important;
  color: var(--blue) !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  padding-top: 2px !important;
}
.profile-val {
  font-size: 15px !important;
  line-height: 1.9 !important;
}
.profile-val small {
  display: block !important;
  color: var(--muted) !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
  margin-top: 2px !important;
}
@media (max-width: 1024px) {
  .company-wrap.company-two {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .company-wrap.company-two .company-section-title {
    font-size: clamp(40px, 6vw, 60px) !important;
  }
}
@media (max-width: 760px) {
  .profile-row {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    padding: 18px 0 !important;
  }
  .company-section .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── REPRESENTATIVE CARD：会社概要右側 ── */
.profile-list {
  position: relative !important;
}
.representative-card {
  position: absolute;
  top: 30px;
  right: 18px;
  width: 220px;
  padding: 14px 14px 16px;
  background: #fff;
  border: 2px solid var(--blue);
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(10, 12, 16, 0.08);
  z-index: 3;
}
.representative-card::before {
  content: "REPRESENTATIVE";
  position: absolute;
  top: -13px;
  left: 14px;
  padding: 3px 8px;
  background: var(--paper);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
}
.representative-photo-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  background: #fff;
  border: 1px solid rgba(10, 12, 16, 0.08);
  overflow: hidden;
}
.representative-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 24%;
  background: #fff;
}
.representative-copy {
  margin-top: 12px;
  color: var(--ink);
  line-height: 1.5;
}
.representative-company {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.representative-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
@media (max-width: 1180px) {
  .representative-card {
    position: static;
    width: min(100%, 240px);
    margin: 28px 0 0 auto;
  }
}
@media (max-width: 760px) {
  .representative-card {
    width: 100%;
    max-width: 240px;
    margin: 24px 0 0;
    padding: 14px;
  }
  .representative-title {
    font-size: 14px;
  }
}

/* ── HEADER / FOOTER LOGO COMPANY NAME ONLY FIX ── */
.header-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  height: 100% !important;
  color: var(--ink) !important;
  text-decoration: none !important;
}
.header-brand-logo {
  display: block !important;
  width: 92px !important;
  height: 34px !important;
  object-fit: contain !important;
}
.header-brand-name {
  font-family: var(--body) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: var(--ink) !important;
  white-space: nowrap !important;
}
.footer-brand {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}
.footer-company-name {
  font-family: var(--body) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: #fff !important;
  white-space: nowrap !important;
}
@media (max-width: 760px) {
  .header-brand-logo {
    width: 76px !important;
    height: 30px !important;
  }
  .header-brand-name {
    font-size: 11px !important;
    letter-spacing: 0.04em !important;
  }
  .footer-brand {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
  .footer-company-name {
    font-size: 12px !important;
  }
}

/* ── 会社概要：左から右へ順番に表示 ── */
.profile-list.company-profile-sequence .profile-row {
  opacity: 0;
  transform: translateX(-32px);
}

.profile-list.company-profile-sequence.is-visible .profile-row,
.profile-list.company-profile-sequence.reveal-visible .profile-row,
.profile-list.company-profile-sequence.visible .profile-row {
  animation: companyProfileSlideIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.profile-list.company-profile-sequence.is-visible .profile-row:nth-of-type(1),
.profile-list.company-profile-sequence.reveal-visible
  .profile-row:nth-of-type(1),
.profile-list.company-profile-sequence.visible .profile-row:nth-of-type(1) {
  animation-delay: 0.05s;
}

.profile-list.company-profile-sequence.is-visible .profile-row:nth-of-type(2),
.profile-list.company-profile-sequence.reveal-visible
  .profile-row:nth-of-type(2),
.profile-list.company-profile-sequence.visible .profile-row:nth-of-type(2) {
  animation-delay: 0.18s;
}

.profile-list.company-profile-sequence.is-visible .profile-row:nth-of-type(3),
.profile-list.company-profile-sequence.reveal-visible
  .profile-row:nth-of-type(3),
.profile-list.company-profile-sequence.visible .profile-row:nth-of-type(3) {
  animation-delay: 0.31s;
}

.profile-list.company-profile-sequence.is-visible .profile-row:nth-of-type(4),
.profile-list.company-profile-sequence.reveal-visible
  .profile-row:nth-of-type(4),
.profile-list.company-profile-sequence.visible .profile-row:nth-of-type(4) {
  animation-delay: 0.44s;
}

.profile-list.company-profile-sequence.is-visible .profile-row:nth-of-type(5),
.profile-list.company-profile-sequence.reveal-visible
  .profile-row:nth-of-type(5),
.profile-list.company-profile-sequence.visible .profile-row:nth-of-type(5) {
  animation-delay: 0.57s;
}

@keyframes companyProfileSlideIn {
  from {
    opacity: 0;
    transform: translateX(-32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-list.company-profile-sequence .profile-row {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}

/* ── 会社沿革：各項目が画面に入った時に下から浮き上がる ── */
/* history-timeline全体ではなく、14個のhistory-item単位で個別に発火させる */
.history-timeline .history-item.card-pop {
  opacity: 0 !important;
  transform: translate3d(0, 28px, 0) !important;
  transition:
    opacity 0.42s ease-out,
    transform 0.42s ease-out !important;
  transition-delay: 0s !important;
  will-change: opacity, transform;
}

.history-timeline .history-item.card-pop.is-visible {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
}

/* 表示後のホバー演出は既存のまま残す */
.history-timeline .history-item.card-pop.is-visible:hover .history-body {
  transform: translateX(8px) !important;
  border-color: rgba(0, 87, 255, 0.34) !important;
  box-shadow: 0 22px 50px rgba(10, 12, 16, 0.09) !important;
}

/* モバイルでも会社沿革のcard-popだけは個別アニメーションを有効にする */
@media (max-width: 760px) {
  .history-timeline .history-item.card-pop {
    opacity: 0 !important;
    transform: translate3d(0, 24px, 0) !important;
    transition:
      opacity 0.42s ease-out,
      transform 0.42s ease-out !important;
  }

  .history-timeline .history-item.card-pop.is-visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
  }

  .history-timeline .history-item.card-pop.is-visible:hover .history-body {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .history-timeline .history-item.card-pop {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── アクセス情報：会社沿革と同じ画面内表示アニメーション ── */
/* アクセス見出し、名古屋事務所カード、安城事務所カードを
   history-item.card-pop と同じく、画面に入ったタイミングで個別に発火させる */
.access-heading-pop.card-pop,
.access-grid .access-card.card-pop {
  opacity: 0 !important;
  transform: translate3d(0, 28px, 0) !important;
  transition:
    opacity 0.42s ease-out,
    transform 0.42s ease-out !important;
  transition-delay: 0s !important;
  will-change: opacity, transform;
}

.access-heading-pop.card-pop.is-visible,
.access-grid .access-card.card-pop.is-visible {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
}

@media (max-width: 760px) {
  .access-heading-pop.card-pop,
  .access-grid .access-card.card-pop {
    opacity: 0 !important;
    transform: translate3d(0, 24px, 0) !important;
    transition:
      opacity 0.42s ease-out,
      transform 0.42s ease-out !important;
  }

  .access-heading-pop.card-pop.is-visible,
  .access-grid .access-card.card-pop.is-visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .access-heading-pop.card-pop,
  .access-grid .access-card.card-pop {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* v-company-home-motif: HOMEページと同じ背景モチーフでCompany全体を統一 */
.company-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 4%, rgba(0, 87, 255, 0.11), transparent 32%),
    radial-gradient(
      circle at 88% 36%,
      rgba(0, 196, 154, 0.08),
      transparent 30%
    ),
    linear-gradient(180deg, #f7fbff 0%, #edf5ff 48%, #f8fbff 100%);
}

.company-page::before {
  content: "";
  position: fixed;
  inset: 64px 0 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      transparent 0 18%,
      rgba(0, 87, 255, 0.055) 18.12%,
      transparent 18.78% 50%,
      rgba(0, 196, 154, 0.045) 50.12%,
      transparent 50.82% 78%,
      rgba(255, 255, 255, 0.34) 78.12%,
      transparent 78.8%
    ),
    linear-gradient(90deg, rgba(0, 87, 255, 0.032) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 87, 255, 0.026) 1px, transparent 1px),
    radial-gradient(circle, rgba(0, 87, 255, 0.13) 1px, transparent 1.7px);
  background-size:
    auto,
    64px 64px,
    64px 64px,
    26px 26px;
  opacity: 0.58;
}

.company-page > * {
  position: relative;
  z-index: 1;
}

/* Hero背景にimage_11.jpgを使用 */
.company-hero {
  background:
    linear-gradient(
      90deg,
      rgba(5, 7, 10, 0.68) 0%,
      rgba(5, 7, 10, 0.42) 42%,
      rgba(255, 255, 255, 0.08) 100%
    ),
    url("../../media/image_11.jpg") center center / cover no-repeat !important;
}

.company-hero::before {
  background:
    linear-gradient(
      115deg,
      transparent 0 16%,
      rgba(0, 87, 255, 0.11) 16.12%,
      transparent 16.7% 48%,
      rgba(0, 196, 154, 0.07) 48.12%,
      transparent 48.74% 76%,
      rgba(255, 255, 255, 0.08) 76.12%,
      transparent 76.7%
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.046) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    radial-gradient(circle, rgba(0, 196, 154, 0.2) 1px, transparent 1.7px) !important;
  background-size:
    auto,
    44px 44px,
    44px 44px,
    26px 26px !important;
  opacity: 0.78;
}

.company-hero-card {
  border-color: rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(6px);
}

/* 青い横流しラベルはHOMEと同じグラデーション帯にする */
.company-ticker {
  background: linear-gradient(
    90deg,
    var(--blue),
    #0087ff 52%,
    #00abc4
  ) !important;
}

/* 各セクションをカードではなく同じ背景面に乗っているように見せる */
.company-section {
  position: relative;
  border-bottom: 1px solid rgba(0, 87, 255, 0.16) !important;
  background: transparent !important;
}

.company-section::before {
  content: "";
  position: absolute;
  left: clamp(22px, 4vw, 64px);
  right: clamp(22px, 4vw, 64px);
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(0, 87, 255, 0.14),
    transparent 34%,
    rgba(0, 196, 154, 0.12)
  );
  pointer-events: none;
}

.company-section:first-of-type::before {
  display: none;
}

.company-wrap {
  position: relative;
  z-index: 1;
}

/* 会社概要、沿革、アクセスの部品をHOMEのTechnology Field系の色味へ寄せる */
.profile-list,
.history-timeline,
.access-grid {
  position: relative;
}

.profile-list {
  border-top: 1px solid rgba(0, 87, 255, 0.18) !important;
}

.profile-row {
  border-bottom: 1px solid rgba(0, 87, 255, 0.14) !important;
}

.profile-key,
.sec-label,
.history-date {
  color: var(--blue) !important;
}

.representative-card,
.company-statement,
.history-body {
  border-color: rgba(0, 87, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.62) !important;
  box-shadow: 0 18px 44px rgba(0, 87, 255, 0.07) !important;
  backdrop-filter: blur(5px);
}

.history-timeline::before {
  background: linear-gradient(
    180deg,
    rgba(0, 87, 255, 0.16),
    var(--blue),
    rgba(0, 196, 154, 0.18)
  ) !important;
}

.history-node::before {
  background: #f7fbff !important;
  box-shadow: 0 0 0 8px rgba(0, 87, 255, 0.075) !important;
}

/* アクセス情報は暗色カード感を弱め、HOMEの青白背景に馴染ませる */
.access-card {
  color: #07182f !important;
  border: 1px solid rgba(0, 87, 255, 0.14) !important;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.76),
      rgba(235, 246, 255, 0.58)
    ),
    radial-gradient(circle at 92% 18%, rgba(0, 196, 154, 0.1), transparent 28%) !important;
  box-shadow: 0 20px 52px rgba(0, 87, 255, 0.08) !important;
}

.access-info h3 {
  color: #07182f !important;
}

.access-info p {
  color: #4c5f78 !important;
}

.map-frame {
  background: rgba(0, 87, 255, 0.06) !important;
  border-top: 1px solid rgba(0, 87, 255, 0.12);
}

/* CTAはHOMEの採用エリアと馴染む明るい青系に調整 */
.company-cta {
  background:
    radial-gradient(circle at 82% 22%, rgba(0, 87, 255, 0.2), transparent 32%),
    radial-gradient(
      circle at 14% 82%,
      rgba(0, 196, 154, 0.12),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.78),
      rgba(235, 246, 255, 0.62)
    ) !important;
  color: #07182f !important;
  border-top: 1px solid rgba(0, 87, 255, 0.18);
  border-bottom: 1px solid rgba(0, 87, 255, 0.18);
}

.company-cta .company-section-title,
.company-cta h2,
.company-cta p {
  color: #07182f !important;
}

.company-shortcut {
  background: var(--blue) !important;
  color: #fff !important;
  border-color: var(--blue) !important;
  box-shadow: 0 18px 42px rgba(0, 87, 255, 0.2);
}

.company-shortcut:hover,
.company-shortcut:focus-visible {
  background: #07182f !important;
  color: #fff !important;
  border-color: #07182f !important;
}

/* モバイルでも背景モチーフが重く見えないように薄める */
@media (max-width: 760px) {
  .company-page::before {
    background-size:
      auto,
      42px 42px,
      42px 42px,
      22px 22px;
    opacity: 0.42;
  }

  .company-section::before {
    left: 20px;
    right: 20px;
  }
}

/* ── COMPANY MESSAGE：代表メッセージ ── */
.company-message-section .company-section-title {
  font-size: clamp(30px, 2.5vw, 40px) !important;
  line-height: 1.12 !important;
}

.company-message-section .company-section-title span {
  display: block;
}

.company-message-card {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 4.2vw, 56px);
  border: 1px solid rgba(0, 87, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(237, 247, 255, 0.68)),
    radial-gradient(circle at 94% 16%, rgba(0, 87, 255, 0.12), transparent 28%),
    radial-gradient(circle at 8% 92%, rgba(0, 196, 154, 0.1), transparent 28%);
  box-shadow: 0 22px 56px rgba(0, 87, 255, 0.08);
  backdrop-filter: blur(6px);
}

.company-message-card::before {
  content: "MESSAGE";
  position: absolute;
  right: -12px;
  bottom: -22px;
  font-family: var(--display);
  font-size: clamp(72px, 11vw, 150px);
  line-height: 0.8;
  letter-spacing: 0.03em;
  color: rgba(0, 87, 255, 0.055);
  pointer-events: none;
}

.company-message-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--teal));
}

.company-message-body,
.company-message-signature {
  position: relative;
  z-index: 1;
}

.company-message-body {
  max-width: 880px;
}

.company-message-body p {
  font-size: 15.5px;
  line-height: 2.15;
  color: #203047;
  letter-spacing: 0.03em;
}

.company-message-body p + p {
  margin-top: 18px;
}

.company-message-signature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 56px);
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 87, 255, 0.14);
}

.company-message-closing {
  max-width: 640px;
  min-width: 0;
}

.company-message-closing-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2.1vw, 34px);
  line-height: 1.55;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.company-message-closing-text {
  margin: 18px 0 0;
  color: #4e6178;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.05em;
}

.company-message-person {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 0 0 auto;
}

.company-message-photo-wrap {
  width: 116px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 87, 255, 0.18);
  box-shadow: 0 16px 34px rgba(10, 12, 16, 0.08);
}

.company-message-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 28%;
}

.company-message-profile {
  min-width: 210px;
  padding: 16px 0;
  text-align: left;
}

.company-message-company {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.company-message-name {
  display: block;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@media (max-width: 1024px) {
  .company-message-section .company-section-title span {
    display: inline;
  }

  .company-message-section .company-section-title {
    font-size: clamp(40px, 6vw, 60px) !important;
  }
}

@media (max-width: 760px) {
  .company-message-card {
    padding: 32px 24px;
  }

  .company-message-card::before {
    right: -8px;
    bottom: -14px;
    font-size: 72px;
  }

  .company-message-body p {
    font-size: 14.5px;
    line-height: 2;
  }

  .company-message-signature {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 22px;
    margin-top: 30px;
    padding-top: 24px;
  }

  .company-message-closing-title {
    font-size: clamp(22px, 7vw, 30px);
    line-height: 1.55;
  }

  .company-message-closing-text {
    font-size: 14px;
    line-height: 1.9;
  }

  .company-message-person {
    gap: 16px;
  }

  .company-message-photo-wrap {
    width: 96px;
    flex: 0 0 96px;
  }

  .company-message-profile {
    min-width: 0;
    padding: 10px 0;
  }

  .company-message-company {
    font-size: 10px;
  }

  .company-message-name {
    font-size: 17px;
    line-height: 1.5;
  }
}

@media (max-width: 420px) {
  .company-message-signature {
    display: block;
  }

  .company-message-closing {
    margin-bottom: 24px;
  }

  .company-message-person {
    display: block;
  }

  .company-message-photo-wrap {
    width: 112px;
    margin-bottom: 14px;
  }
}


/* アクセス情報：所在地ラベル・Googleマップ導線 */
.access-address {
  margin-top: 14px;
}

.access-address-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 12px;
  border: 1px solid rgba(0, 87, 255, 0.22);
  background: rgba(0, 87, 255, 0.07);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.access-address p {
  margin: 0;
}

.access-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 24px;
  padding: 12px 18px;
  border: 1px solid rgba(0, 87, 255, 0.18);
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0, 87, 255, 0.18);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.access-map-link:hover {
  transform: translateY(-2px);
  background: #004be0;
  box-shadow: 0 18px 42px rgba(0, 87, 255, 0.24);
}

.access-note {
  margin: 22px 0 0;
  padding: 18px 22px;
  border: 1px solid rgba(0, 87, 255, 0.14);
  background: rgba(255, 255, 255, 0.62);
  color: #4c5f78;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
  box-shadow: 0 16px 40px rgba(0, 87, 255, 0.06);
  backdrop-filter: blur(5px);
}

.access-note::before {
  content: "INFO";
  display: inline-flex;
  margin-right: 12px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

@media (max-width: 760px) {
  .access-map-link {
    width: 100%;
  }

  .access-note {
    padding: 16px 18px;
    font-size: 13px;
  }

  .access-note::before {
    display: block;
    margin: 0 0 6px;
  }
}


/* ── COMPANY PAGE: 会社沿革のホバー演出を無効化 ──
   会社沿革はクリック要素ではないため、ユーザーがクリックできると誤認しないよう
   hover時の浮き上がり・影・枠色変化を通常状態のままにする。
*/
.history-item:hover .history-body,
.history-timeline .history-item.card-pop.is-visible:hover .history-body {
  transform: none !important;
  border-color: var(--border) !important;
  box-shadow: 0 16px 36px rgba(10, 12, 16, 0.055) !important;
}

.history-item:nth-child(even):hover .history-body {
  background: #f0eee8 !important;
}

.history-item:hover,
.history-body:hover {
  cursor: default !important;
}

/* === Mobile shared menu/footer layout fix === */
@media (max-width: 760px) {
  .menu-btn {
    display: block !important;
    position: relative !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    cursor: pointer !important;
    z-index: 2147483003 !important;
    pointer-events: auto !important;
  }

  .menu-btn span {
    display: block !important;
    position: absolute !important;
    left: 10px !important;
    width: 22px !important;
    height: 1.5px !important;
    background: var(--ink, #0a0c10) !important;
    opacity: 1 !important;
    transform: none !important;
    transform-origin: center !important;
    transition: top 0.25s, transform 0.25s, opacity 0.2s !important;
  }

  .menu-btn span:nth-child(1) {
    top: 13px !important;
  }

  .menu-btn span:nth-child(2) {
    top: 20px !important;
  }

  .menu-btn span:nth-child(3) {
    top: 27px !important;
  }

  .menu-btn span:nth-child(n + 4) {
    display: none !important;
  }

  .menu-btn.open span:nth-child(1),
  body.mobile-menu-open .menu-btn span:nth-child(1) {
    top: 20px !important;
    transform: rotate(45deg) !important;
  }

  .menu-btn.open span:nth-child(2),
  body.mobile-menu-open .menu-btn span:nth-child(2) {
    top: 20px !important;
    opacity: 0 !important;
    transform: scaleX(0) !important;
  }

  .menu-btn.open span:nth-child(3),
  body.mobile-menu-open .menu-btn span:nth-child(3) {
    top: 20px !important;
    transform: rotate(-45deg) !important;
  }

  body.mobile-menu-open {
    overflow: hidden !important;
  }

  body.mobile-menu-open > nav,
  body.mobile-menu-open nav {
    height: var(--mobile-menu-offset, 58px) !important;
    min-height: 58px !important;
    padding: 0 16px !important;
    background: rgba(245, 243, 238, 0.92) !important;
    backdrop-filter: blur(14px) !important;
    border-bottom: 0.5px solid var(--border, rgba(10, 12, 16, 0.11)) !important;
    z-index: 2147483000 !important;
    isolation: isolate !important;
    overflow: visible !important;
  }

  body.mobile-menu-open .header-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    height: 100% !important;
    color: var(--ink, #0a0c10) !important;
    text-decoration: none !important;
  }

  body.mobile-menu-open .header-brand-logo {
    display: block !important;
    width: 76px !important;
    height: 30px !important;
    object-fit: contain !important;
  }

  body.mobile-menu-open .header-brand-name {
    font-family: var(--body, "Noto Sans JP", sans-serif) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    color: var(--ink, #0a0c10) !important;
    white-space: nowrap !important;
  }

  body.mobile-menu-open .nav-cta {
    display: none !important;
  }

  body.mobile-menu-open .nav-links.open {
    position: fixed !important;
    inset: var(--mobile-menu-offset, 58px) 0 auto 0 !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: calc(100vh - var(--mobile-menu-offset, 58px)) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 20px 16px 28px !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
    background: rgba(245, 243, 238, 0.98) !important;
    border-bottom: 1px solid var(--border, rgba(10, 12, 16, 0.11)) !important;
    box-shadow: none !important;
    opacity: 1 !important;
    transform: none !important;
    z-index: 2147483001 !important;
    pointer-events: auto !important;
    visibility: visible !important;
  }

  body.mobile-menu-open .nav-links.open li {
    position: relative !important;
    z-index: 2147483002 !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    pointer-events: auto !important;
  }

  body.mobile-menu-open .nav-links.open a {
    position: relative !important;
    z-index: 2147483002 !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    padding: 14px 4px !important;
    box-sizing: border-box !important;
    color: var(--muted, #6a6a6a) !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--border, rgba(10, 12, 16, 0.11)) !important;
    box-shadow: none !important;
    font-size: 12px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    pointer-events: auto !important;
  }

  body.mobile-menu-open .nav-links.open a.active,
  body.mobile-menu-open .nav-links.open a:hover,
  body.mobile-menu-open .nav-links.open a:focus-visible {
    color: var(--ink, #0a0c10) !important;
    background: transparent !important;
    border-bottom-color: var(--blue, #0057ff) !important;
  }

  body > footer,
  footer {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    align-items: center !important;
    gap: 24px !important;
    width: 100% !important;
    padding: 48px 20px 50px !important;
    margin: 0 !important;
    background: var(--ink, #0a0c10) !important;
    color: #fff !important;
    text-align: center !important;
    border-top: 12px solid var(--blue, #0057ff) !important;
    box-sizing: border-box !important;
  }

  footer .footer-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
    color: #fff !important;
  }

  footer .footer-logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    color: #fff !important;
    font-family: var(--display, "Bebas Neue", sans-serif) !important;
    font-size: 22px !important;
    line-height: 1 !important;
    letter-spacing: 0.14em !important;
    white-space: nowrap !important;
  }

  footer .footer-logo span {
    color: var(--blue, #0057ff) !important;
  }

  footer .footer-company-name {
    margin: 0 !important;
    color: #fff !important;
    font-family: var(--body, "Noto Sans JP", sans-serif) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
  }

  footer .footer-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: min(100%, 654px) !important;
    margin: 0 !important;
    padding: 0 10px !important;
    list-style: none !important;
    box-sizing: border-box !important;
  }

  footer .footer-nav li {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  footer .footer-nav a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 54px !important;
    height: 54px !important;
    padding: 0 10px !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    background: rgba(255, 255, 255, 0.035) !important;
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.18em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  footer .footer-nav a:hover,
  footer .footer-nav a:focus-visible {
    color: #fff !important;
    border-color: rgba(0, 87, 255, 0.85) !important;
    background: rgba(0, 87, 255, 0.18) !important;
    transform: none !important;
  }

  footer .footer-right {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 24px !important;
    width: 100% !important;
    margin: 18px 0 0 !important;
  }

  footer .footer-social {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  footer .footer-social a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 62px !important;
    height: 62px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.055) !important;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  footer .footer-social a:hover,
  footer .footer-social a:focus-visible {
    border-color: rgba(0, 87, 255, 0.9) !important;
    background: rgba(0, 87, 255, 0.2) !important;
    transform: none !important;
  }

  footer .footer-social img {
    display: block !important;
    width: 28px !important;
    height: 28px !important;
    filter: brightness(0) invert(1) !important;
  }

  footer .footer-copy {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.52) !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    text-align: center !important;
    white-space: normal !important;
  }
}


/* アクセス情報：名古屋事務所の写真を情報欄と地図の間へ配置 */
.access-card--with-photo {
  grid-template-columns: minmax(340px, 0.23fr) minmax(240px, 0.27fr) minmax(0, 0.5fr) !important;
}

.access-photo {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  background: rgba(0, 87, 255, 0.06);
  border-left: 1px solid rgba(0, 87, 255, 0.12);
}

.access-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 1180px) {
  .access-card--with-photo {
    grid-template-columns: minmax(280px, 0.28fr) minmax(220px, 0.28fr) minmax(0, 0.44fr) !important;
  }
}

@media (max-width: 960px) {
  .access-card--with-photo {
    grid-template-columns: 1fr 1fr !important;
  }

  .access-card--with-photo .access-info {
    grid-column: 1 / -1;
  }

  .access-photo {
    min-height: 340px;
    border-left: 0;
    border-top: 1px solid rgba(0, 87, 255, 0.12);
  }
}

@media (max-width: 760px) {
  .access-card--with-photo {
    grid-template-columns: 1fr !important;
  }

  .access-card--with-photo .access-info {
    grid-column: auto;
  }

  .access-photo {
    min-height: 300px;
  }
}
