:root {
  --ink: #132033;
  --muted: #647086;
  --line: #dbe3ee;
  --paper: #ffffff;
  --soft: #f3f6fa;
  --navy: #132033;
  --blue: #146c94;
  --gold: #d8a64a;
  --shadow: 0 20px 48px rgba(19, 32, 51, 0.14);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.logo { font-size: 20px; font-weight: 900; }
.site-nav { display: flex; justify-content: center; gap: 4px; }
.site-nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--blue); background: #eaf5f9; }
.site-nav .nav-contact { color: #fff; background: var(--blue); }
.site-nav .nav-contact:hover,
.site-nav .nav-contact[aria-current="page"] { color: #fff; background: var(--navy); }
.menu-button { display: none; }
.language-switch {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
}
.language-switch button {
  border: 0;
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}
.language-switch button.is-active { color: #fff; background: var(--navy); }

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(19, 32, 51, 0.86), rgba(19, 32, 51, 0.44), rgba(19, 32, 51, 0.08));
}
.hero img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 90px clamp(20px, 6vw, 72px);
  color: #fff;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 20px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.12;
}
h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.28;
}
h3 { font-size: 22px; line-height: 1.35; }
.hero-copy p { max-width: 680px; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.primary { color: #fff; background: var(--blue); box-shadow: 0 14px 28px rgba(20, 108, 148, 0.25); }
.ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.14); }

.section, .page-hero { padding: 78px clamp(20px, 6vw, 72px); }
.page-hero { color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.page-hero p { max-width: 820px; font-size: 18px; }
.section-title { max-width: 820px; margin-bottom: 30px; }
.muted { background: var(--soft); }

.feature-grid, .cards-2, .vehicle-grid, .price-grid, .timeline {
  display: grid;
  gap: 18px;
}
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2, .vehicle-grid, .price-grid, .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.feature-grid article,
.cards-2 article,
.vehicle-grid article,
.price-card,
.timeline article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(19, 32, 51, 0.05);
}
.company-section {
  background: #fff;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid #c7c7c7;
  background: #fff;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 18px;
}
.company-table th,
.company-table td {
  border-bottom: 1px solid #c7c7c7;
  padding: 22px 26px;
  vertical-align: top;
}
.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: 0;
}
.company-table th {
  width: 34%;
  color: #333;
  background: #dedede;
  text-align: center;
  font-weight: 900;
}
.company-table td {
  color: #333;
  background: #fff;
  font-weight: 700;
}
.history-title {
  margin-top: 60px;
}
.history-table th {
  width: 22%;
}
.safety-management {
  background: #fff;
}
.safety-policy {
  border-left: 5px solid var(--blue);
  padding: 26px;
  background: var(--soft);
}
.safety-policy ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 24px;
  font-weight: 700;
}
.safety-subtitle {
  margin-top: 58px;
}
.safety-table thead th {
  background: var(--navy);
  color: #fff;
}
.safety-table td {
  text-align: center;
}
.safety-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.safety-card-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(19, 32, 51, 0.05);
}
.safety-card-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}
.safety-list {
  max-width: 1000px;
}
.feature-grid span,
.timeline span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
}
.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding: 15px 16px 15px 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}
.check-list li::before {
  position: absolute;
  left: 17px;
  color: var(--blue);
  content: "✓";
  font-weight: 900;
}
.vehicle-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  font-size: 24px;
  font-weight: 900;
}
.detail-button {
  width: 100%;
  margin-top: 12px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--blue);
  background: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.detail-button:hover {
  color: #fff;
  background: var(--blue);
}
.vehicle-details-section {
  padding-top: 0;
}
.vehicle-detail {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: linear-gradient(135deg, #ffffff, #f6f9fc);
  box-shadow: var(--shadow);
  scroll-margin-top: 110px;
}
.vehicle-detail + .vehicle-detail {
  margin-top: 28px;
}
.vehicle-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.vehicle-detail-header span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  font-weight: 900;
}
.vehicle-detail-header h3 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
}
.vehicle-detail ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vehicle-detail li {
  position: relative;
  padding-left: 28px;
}
.vehicle-detail li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "●";
  font-size: 13px;
}
.vehicle-detail-lead {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: 18px;
  font-weight: 700;
}
.vehicle-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 24px;
  align-items: start;
}
.vehicle-detail h4 {
  margin: 0 0 12px;
  font-size: 22px;
}
.spec-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #fff;
}
.spec-box dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
}
.spec-box dt,
.spec-box dd {
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.spec-box dt {
  color: var(--muted);
  font-weight: 900;
}
.spec-box dd {
  font-weight: 900;
}
.equipment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.equipment-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--blue);
  background: #eaf5f9;
  font-weight: 900;
}
.vehicle-quote {
  margin-top: 24px;
}
.price-card.highlight { border-color: var(--gold); box-shadow: var(--shadow); }
.badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--gold);
  font-weight: 900;
}
.price {
  color: var(--blue);
  font-size: 32px;
  font-weight: 900;
}
.cta { text-align: center; }
.form-section { background: var(--soft); }
.contact-info-grid {
  max-width: 980px;
  margin: 0 auto 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.contact-info-card,
.estimate-notes {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(19, 32, 51, 0.05);
}
.contact-info-card h2 {
  color: var(--blue);
}
.estimate-notes {
  max-width: 980px;
  margin: 0 auto 26px;
}
.estimate-notes ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  font-weight: 700;
}
.contact-form {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow);
}
.form-heading {
  margin-bottom: 4px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
label { display: grid; gap: 7px; font-weight: 900; }
label span {
  display: flex;
  align-items: center;
  gap: 8px;
}
label b {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-style: normal;
}
label b[data-i18n="optionalLabel"] {
  background: var(--muted);
}
label em {
  font-style: normal;
}
.full-field {
  display: grid;
}
input, select, textarea {
  width: 100%;
  border: 1px solid #c9d4e3;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}
textarea { resize: vertical; }
.form-note { color: var(--muted); font-size: 14px; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 72px);
  color: #fff;
  background: var(--navy);
}
.site-footer p { margin: 0; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav, .language-switch { grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; }
  .feature-grid, .vehicle-grid, .price-grid, .timeline, .safety-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .site-header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
  .menu-button {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 14px;
    color: var(--blue);
    background: #fff;
    font-weight: 900;
  }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { border-radius: 8px; }
  .language-switch { width: 100%; }
  .hero { min-height: 650px; }
  .hero::after { background: linear-gradient(0deg, rgba(19, 32, 51, 0.88), rgba(19, 32, 51, 0.12)); }
  h1 { font-size: 39px; }
  .feature-grid, .cards-2, .vehicle-grid, .price-grid, .timeline, .split, .safety-card-grid { grid-template-columns: 1fr; }
  .contact-info-grid,
  .form-grid { grid-template-columns: 1fr; }
  .vehicle-detail-grid { grid-template-columns: 1fr; }
  .spec-box dl { grid-template-columns: 1fr; }
  .spec-box dt { padding-bottom: 0; border-bottom: 0; }
  .spec-box dd { padding-top: 2px; }
  .table-wrap { overflow-x: visible; border: 0; }
  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }
  .company-table tr {
    margin-bottom: 12px;
    border: 1px solid #c7c7c7;
  }
  .company-table th,
  .company-table td {
    border-bottom: 1px solid #c7c7c7;
    padding: 14px 16px;
    text-align: left;
    font-size: 16px;
  }
  .company-table td {
    border-bottom: 0;
  }
  .site-footer { display: grid; }
}
