:root {
  --blue: #005bac;
  --blue-dark: #003f7d;
  --blue-deep: #002b55;
  --blue-pale: #e8f3ff;
  --gray-900: #17202a;
  --gray-700: #455564;
  --gray-500: #7b8794;
  --gray-200: #dfe7ef;
  --gray-100: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 22px 50px rgba(0, 43, 85, 0.13);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 rgba(0, 43, 85, 0.08);
}

.header-contact {
  color: var(--white);
  background: var(--blue-deep);
  font-size: 0.86rem;
}

.header-contact-inner {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  min-height: 34px;
  align-items: center;
}

.header-contact a {
  font-weight: 800;
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.logo-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  font-size: 1.35rem;
  font-weight: 900;
}

.logo-text {
  display: grid;
  line-height: 1.25;
}

.logo-text strong {
  font-size: 1.08rem;
}

.logo-text small {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--gray-700);
  font-size: 0.94rem;
  font-weight: 800;
}

.global-nav a {
  position: relative;
  padding: 28px 0;
}

.global-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.global-nav a:hover::after,
.global-nav a:focus-visible::after {
  transform: scaleX(1);
}

.global-nav .nav-contact {
  padding: 12px 20px;
  color: var(--white);
  background: var(--blue);
}

.global-nav .nav-contact::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid var(--gray-200);
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--blue-deep);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 116px);
  grid-template-columns: minmax(28px, 1fr) minmax(0, 560px) minmax(460px, 1.35fr);
  overflow: hidden;
  background: var(--gray-100);
}

.hero-copy {
  position: relative;
  z-index: 2;
  grid-column: 2;
  align-self: center;
  padding: 72px 48px 72px 0;
}

.hero-kicker,
.section-label {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(2.45rem, 5vw, 4.7rem);
  line-height: 1.16;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.45;
}

.hero-copy p:not(.hero-kicker) {
  max-width: 520px;
  color: var(--gray-700);
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.outline {
  color: var(--blue-deep);
  background: var(--white);
  border-color: var(--gray-200);
}

.button.full {
  width: 100%;
}

.hero-visual {
  grid-column: 3;
  min-height: 100%;
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(245, 247, 250, 0.92), rgba(245, 247, 250, 0.05) 44%),
    linear-gradient(180deg, rgba(0, 43, 85, 0.12), rgba(0, 43, 85, 0.34));
  z-index: 1;
}

.hero-scroll {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  writing-mode: vertical-rl;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.image-frame {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(0, 91, 172, 0.18), rgba(255, 255, 255, 0.08)),
    repeating-linear-gradient(-35deg, #eef4fa 0, #eef4fa 16px, #e4edf6 16px, #e4edf6 32px);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame.is-missing img {
  display: none;
}

.image-frame.is-missing::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--blue-dark);
  content: attr(data-placeholder);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  border: 1px solid rgba(0, 91, 172, 0.16);
}

.quick-links {
  position: relative;
  z-index: 4;
  display: grid;
  width: min(calc(100% - 48px), var(--container));
  grid-template-columns: repeat(4, 1fr);
  margin: -54px auto 0;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-links a {
  display: grid;
  gap: 2px;
  min-height: 108px;
  align-content: center;
  padding: 22px 26px;
  border-right: 1px solid var(--gray-200);
}

.quick-links a:last-child {
  border-right: 0;
}

.quick-links span,
.point-card span,
.service-grid span,
.vehicle-card span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-links strong {
  font-size: 1.16rem;
}

.section {
  padding: 96px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading p,
.lead-block p,
.business-copy p,
.area-inner p,
.company-section p,
.contact-section p,
.philosophy-section p,
.point-card p,
.service-grid p,
.vehicle-card p {
  color: var(--gray-700);
}

.lead-block {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 42px;
  margin-bottom: 44px;
  padding: 34px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.lead-title {
  color: var(--blue-deep) !important;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 900;
  line-height: 1.35;
}

.point-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.point-grid-four {
  grid-template-columns: repeat(4, 1fr);
}

.point-card {
  background: var(--white);
  box-shadow: 0 1px 0 var(--gray-200);
}

.point-card .image-frame {
  aspect-ratio: 4 / 3;
}

.point-card > div:last-child {
  padding: 24px 4px 0;
}

.business-section {
  background: var(--gray-100);
}

.business-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 54px;
  align-items: center;
}

.business-copy {
  padding: 20px 0;
}

.business-image {
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 900;
}

.text-link::after {
  margin-left: 10px;
  content: ">";
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 46px;
  background: var(--gray-200);
}

.service-grid article {
  min-height: 210px;
  padding: 28px;
  background: var(--white);
}

.area-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 43, 85, 0.95), rgba(0, 91, 172, 0.88)),
    repeating-linear-gradient(-30deg, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.1) 1px, transparent 1px, transparent 18px);
}

.area-section .section-label,
.area-section p {
  color: var(--white);
}

.area-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.large-text {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.25;
}

.lineup-section {
  background: var(--white);
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.vehicle-card {
  background: var(--gray-100);
}

.vehicle-card .image-frame {
  aspect-ratio: 16 / 10;
}

.vehicle-card > div:last-child {
  padding: 24px;
}

.company-section {
  background: var(--gray-100);
}

.philosophy-section {
  background: var(--white);
}

.message-section {
  background: var(--white);
}

.message-inner {
  max-width: 880px;
}

.message-inner p {
  color: var(--gray-700);
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 54px;
  align-items: start;
}

.company-image {
  aspect-ratio: 16 / 10;
  margin-top: 28px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  box-shadow: var(--shadow);
}

.company-table th,
.company-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--gray-200);
  text-align: left;
  vertical-align: top;
}

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

.company-table th {
  width: 180px;
  color: var(--blue-deep);
  background: var(--blue-pale);
  font-weight: 900;
}

.recruit-section {
  color: var(--white);
  background: var(--blue-deep);
}

.recruit-section .section-label {
  color: #b9dfff;
}

.recruit-section p {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.9);
}

.recruit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 34px;
}

.recruit-grid article {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.recruit-grid ul {
  padding-left: 1.2em;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.contact-section {
  padding: 92px 0;
  background: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 52px;
  align-items: center;
}

.contact-card {
  padding: 34px;
  color: var(--white);
  background: var(--blue);
  box-shadow: var(--shadow);
}

.contact-label {
  margin-bottom: 4px;
  color: #d7ecff !important;
  font-size: 0.86rem;
  font-weight: 900;
}

.contact-phone {
  display: block;
  margin-bottom: 24px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.2;
}

.contact-button {
  margin-top: 12px;
}

.site-footer {
  color: var(--white);
  background: var(--gray-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  padding: 44px 0;
}

.footer-logo {
  margin-bottom: 6px;
  font-size: 1.22rem;
  font-weight: 900;
}

.footer-grid p {
  margin-bottom: 0;
  color: #d6dde5;
}

.footer-grid nav {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 8px 24px;
  color: #d6dde5;
  font-weight: 700;
}

.copyright {
  margin: 0;
  padding: 18px 24px;
  color: #b8c2cc;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.84rem;
}

@media (max-width: 1040px) {
  .global-nav {
    gap: 14px;
    font-size: 0.88rem;
  }

  .hero {
    grid-template-columns: 24px minmax(0, 1fr);
    min-height: auto;
  }

  .hero-copy {
    grid-column: 2;
    padding: 78px 24px 52px 0;
  }

  .hero-visual {
    grid-column: 1 / -1;
    min-height: 360px;
  }

  .hero-visual::before {
    background: linear-gradient(180deg, rgba(0, 43, 85, 0.02), rgba(0, 43, 85, 0.24));
  }

  .quick-links,
  .point-grid,
  .point-grid-four,
  .vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .business-grid,
  .area-inner,
  .company-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .header-contact {
    display: none;
  }

  .header-inner {
    min-height: 68px;
  }

  .logo {
    min-width: 0;
  }

  .logo-mark {
    width: 42px;
    height: 42px;
  }

  .logo-text strong {
    font-size: 0.98rem;
  }

  .nav-toggle {
    display: block;
  }

  .global-nav {
    position: absolute;
    top: 68px;
    right: 15px;
    left: 15px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .global-nav.is-open {
    display: flex;
  }

  .global-nav a,
  .global-nav .nav-contact {
    padding: 12px 14px;
  }

  .global-nav a::after {
    display: none;
  }

  .hero {
    grid-template-columns: 15px minmax(0, 1fr);
  }

  .hero-copy {
    padding: 56px 15px 42px 0;
  }

  .hero-copy p:not(.hero-kicker) {
    font-size: 0.98rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 260px;
  }

  .hero-scroll {
    display: none;
  }

  .quick-links {
    width: 100%;
    grid-template-columns: 1fr;
    margin: 0;
  }

  .quick-links a {
    min-height: 82px;
    border-right: 0;
    border-bottom: 1px solid var(--gray-200);
  }

  .section,
  .contact-section {
    padding: 68px 0;
  }

  .lead-block,
  .point-grid,
  .point-grid-four,
  .vehicle-grid,
  .service-grid,
  .recruit-grid {
    grid-template-columns: 1fr;
  }

  .business-grid,
  .company-grid {
    gap: 34px;
  }

  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    padding-bottom: 8px;
  }

  .company-table td {
    padding-top: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.32rem;
  }

  .service-grid article,
  .vehicle-card > div:last-child,
  .contact-card {
    padding: 24px;
  }
}
