/* Standalone Car World stylesheet. No external CSS libraries are required. */
:root {
  --red: #d10f13;
  --black: #111;
  --gray: #f4f4f2;
  --line: #ddd;
  --wrap: min(1180px, calc(100% - 48px));
}

/* Vehicle archive and detail. */
.vehicleArchive, .vehicleSingle { padding: 84px 0 120px; background: #f5f5f2; }
.vehicleArchiveTitle { margin-bottom: 42px; }
.vehicleArchiveTitle h1 { margin: 10px 0 12px; font-size: clamp(34px, 4vw, 52px); }
.vehicleArchiveTitle > p:last-child { color: #555; }
.vehicleArchiveGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.vehicleCard { overflow: hidden; background: #fff; box-shadow: 0 8px 28px rgb(0 0 0 / 8%); }
.vehicleCardImage { position: relative; display: block; overflow: hidden; background: #eee; }
.vehicleCardImage img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.vehicleCard:hover .vehicleCardImage img { transform: scale(1.035); }
.vehicleSold { position: absolute; top: 14px; left: 14px; padding: 7px 13px; color: #fff; background: #333; font-weight: 800; }
.vehicleCardBody { padding: 24px; }
.vehicleCode { margin: 0 0 7px; color: #777; font-size: 12px; letter-spacing: .04em; }
.vehicleCard h2 { min-height: 3.2em; margin: 0 0 18px; font-size: 20px; line-height: 1.6; }
.vehicleCard dl, .vehicleQuick { margin: 0; }
.vehicleCard dl > div, .vehicleQuick > div { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; border-top: 1px solid #e3e3e3; font-size: 14px; }
.vehicleCard dt, .vehicleQuick dt { color: #666; }
.vehiclePrices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0; }
.vehiclePrices p { margin: 0; padding: 12px; background: #f5f5f2; }
.vehiclePrices span, .vehiclePriceBox span { display: block; color: #666; font-size: 12px; }
.vehiclePrices strong { display: block; margin-top: 4px; font-size: 18px; }
.vehicleMore { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid #ddd; color: var(--red); font-weight: 800; }
.vehicleBreadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 35px; color: #777; font-size: 12px; }
.vehicleSingleHeader { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.vehicleSingleHeader h1 { margin: 10px 0 8px; font-size: clamp(30px, 4vw, 48px); line-height: 1.35; }
.vehicleSingleHeader h1 { font-size: clamp(30px, 3.2vw, 42px); }
.vehicleGrade { max-width: 980px; margin: 0 0 12px; color: #444; font-size: clamp(16px, 1.8vw, 22px); font-weight: 700; line-height: 1.65; }
.vehicleStatus { flex: 0 0 auto; padding: 10px 18px; color: #fff; background: #24834d; font-weight: 800; }
.vehicleStatus.sold { background: #555; }
.vehicleHero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, .8fr); gap: 36px; align-items: start; }
.vehicleMainImage { background: #e9e9e6; }
.vehicleMainImage img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.vehicleThumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 64px)); gap: 7px; margin-top: 10px; }
.vehicleThumb { overflow: hidden; padding: 0; border: 3px solid transparent; background: #ddd; cursor: pointer; }
.vehicleThumb.active { border-color: var(--red); }
.vehicleThumb img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.vehicleImageCaption { margin: 10px 0 0; padding: 12px 14px; background: #f4f4f4; color: #333; font-size: 15px; line-height: 1.7; }

/* Stock search and compact list. */
.vehicleSearch { margin: 0 0 30px; border: 1px solid #d8d8d8; background: #fff; box-shadow: 0 5px 18px rgb(0 0 0 / 5%); }
.vehicleSearchHeading { display: flex; align-items: baseline; gap: 16px; padding: 17px 22px; color: #fff; background: #333; }
.vehicleSearchHeading strong { font-size: 20px; }
.vehicleSearchHeading span { font-size: 14px; }
.vehicleSearchFields { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 14px; padding: 22px; }
.vehicleSearchFields label { display: block; }
.vehicleSearchFields label > span { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 800; }
.vehicleSearchFields input, .vehicleSearchFields select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #bbb; border-radius: 0; background: #fff; color: #222; font: inherit; font-size: 16px; }
.vehicleSearchActions { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 0 22px 22px; }
.vehicleSearchActions button { min-width: 260px; min-height: 50px; border: 0; color: #fff; background: var(--red); font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.vehicleSearchActions a { font-size: 14px; font-weight: 700; text-decoration: underline; }
.vehicleResultBar { display: flex; align-items: baseline; gap: 6px; margin-bottom: 14px; padding: 15px 18px; border-top: 3px solid var(--red); background: #fff; }
.vehicleResultBar strong { color: var(--red); font-size: 24px; }
.vehicleResultBar span { font-size: 15px; }
.vehicleArchiveGrid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.vehicleCard { display: grid; grid-template-columns: 270px minmax(0, 1fr) 230px; min-height: 205px; border: 1px solid #ddd; box-shadow: none; }
.vehicleCardImage { height: 100%; min-height: 205px; }
.vehicleCardImage img { height: 100%; aspect-ratio: auto; object-fit: cover; }
.vehicleCardBody { padding: 18px 20px; }
.vehicleMaker { margin: 0 0 4px; color: var(--red); font-size: 13px; font-weight: 800; }
.vehicleCard h2 { min-height: 0; margin: 0 0 5px; font-size: 20px; line-height: 1.45; }
.vehicleCardGrade { display: -webkit-box; overflow: hidden; margin: 0 0 7px; color: #555; font-size: 14px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.vehicleCard .vehicleCode { margin-bottom: 10px; }
.vehicleCardSpecs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #e3e3e3; }
.vehicleCardSpecs > div { display: grid; grid-template-columns: 72px 1fr; gap: 7px; justify-content: initial; padding: 7px 8px 7px 0; border-top: 0; border-bottom: 1px solid #eee; font-size: 13px; }
.vehicleCardSpecs dt { color: #666; }
.vehicleCardSpecs dd { margin: 0; font-weight: 700; }
.vehicleCardSide { display: flex; flex-direction: column; padding: 18px; border-left: 1px solid #e2e2e2; background: #fafafa; }
.vehicleCardSide .vehiclePrices { display: block; margin: 0; }
.vehicleCardSide .vehiclePrices p { padding: 10px 0; background: transparent; }
.vehicleCardSide .vehiclePrices p + p { border-top: 1px solid #ddd; }
.vehicleCardSide .vehiclePrices strong { color: var(--red); font-size: 21px; }
.vehicleCardSide .vehicleMore { margin-top: auto; padding: 13px 14px; border: 0; color: #fff; background: var(--red); font-size: 14px; }

@media (max-width: 900px) {
  .vehicleSearchFields { grid-template-columns: 1fr 1fr; }
  .vehicleCard { grid-template-columns: 220px minmax(0, 1fr); }
  .vehicleCardSide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 220px; align-items: center; gap: 20px; border-top: 1px solid #e2e2e2; border-left: 0; }
  .vehicleCardSide .vehiclePrices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .vehicleCardSide .vehiclePrices p + p { border-top: 0; }
}
@media (max-width: 640px) {
  .vehicleArchiveTitle { margin-bottom: 28px; }
  .vehicleSearchHeading { display: block; }
  .vehicleSearchHeading span { display: block; margin-top: 4px; }
  .vehicleSearchFields { grid-template-columns: 1fr; padding: 18px; }
  .vehicleSearchActions { align-items: stretch; flex-direction: column; gap: 14px; padding: 0 18px 18px; text-align: center; }
  .vehicleSearchActions button { width: 100%; min-width: 0; }
  .vehicleCard { grid-template-columns: 132px minmax(0, 1fr); min-height: 0; }
  .vehicleCardImage { min-height: 150px; }
  .vehicleCardBody { padding: 14px; }
  .vehicleCard h2 { font-size: 17px; }
  .vehicleCardGrade { font-size: 13px; -webkit-line-clamp: 2; }
  .vehicleCard .vehicleCode { font-size: 10px; }
  .vehicleCardSpecs { grid-template-columns: 1fr; }
  .vehicleCardSpecs > div { grid-template-columns: 64px 1fr; padding: 5px 0; font-size: 12px; }
  .vehicleCardSide { display: block; padding: 14px; }
  .vehicleCardSide .vehiclePrices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .vehicleCardSide .vehiclePrices strong { font-size: 18px; }
  .vehicleCardSide .vehicleMore { margin-top: 10px; }
}
.vehicleSummary { padding: 28px; background: #fff; box-shadow: 0 8px 28px rgb(0 0 0 / 8%); }
.vehiclePriceBox { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.vehiclePriceBox p { margin: 0; padding: 15px; background: #f2f2ef; }
.vehiclePriceBox .total { color: #fff; background: var(--red); }
.vehiclePriceBox .total span { color: #fff; }
.vehiclePriceBox strong { display: block; margin-top: 5px; font-size: 22px; }
.vehicleSummary .btn { width: 100%; margin-top: 12px; justify-content: space-between; }
.vehicleReservation { border: 2px solid #222; background: #fff; }
.vehicleDetails, .vehicleWarranty, .vehicleEquipment, .vehicleDescription, .vehicleRelated { margin-top: 70px; padding: 42px; background: #fff; }
.vehicleSectionTitle { margin-bottom: 28px; }
.vehicleSectionTitle h2 { margin: 7px 0 0; font-size: 30px; }
.vehicleDetails dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid #ddd; }
.vehicleDetails dl > div { display: grid; grid-template-columns: 145px 1fr; border-bottom: 1px solid #ddd; }
.vehicleDetails dl > div:nth-child(odd) { border-right: 1px solid #ddd; }
.vehicleDetails dt, .vehicleDetails dd { margin: 0; padding: 17px 18px; }
.vehicleDetails dt { background: #f3f3f1; font-weight: 800; }
.vehicleEquipment ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.vehicleEquipment li { padding: 10px 15px; background: #f1f1ef; }
.vehicleDescription > div:last-child { font-size: 16px; line-height: 2; }
.vehicleWarranty > p { margin: 0; font-size: 16px; line-height: 2; }
.vehicleRelatedGrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.vehicleRelatedGrid article { min-width: 0; background: #f5f5f2; }
.vehicleRelatedGrid a { display: block; height: 100%; padding-bottom: 16px; }
.vehicleRelatedGrid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.vehicleRelatedGrid h3 { margin: 14px 14px 8px; font-size: 15px; line-height: 1.55; }
.vehicleRelatedGrid p { margin: 0 14px 10px; color: var(--red); font-weight: 800; }
.vehicleRelatedGrid span { margin: 0 14px; font-size: 13px; font-weight: 800; }
.vehicleBack { margin: 45px 0 0; }
.vehicleBack a { font-weight: 800; }
@media (max-width: 980px) {
  .vehicleArchiveGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vehicleHero { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .vehicleArchive, .vehicleSingle { padding: 55px 0 85px; }
  .vehicleArchiveGrid { grid-template-columns: 1fr; }
  .vehicleSingleHeader { align-items: start; flex-direction: column; }
  .vehicleThumbs { grid-template-columns: repeat(4, 1fr); }
  .vehicleSummary { padding: 22px 18px; }
  .vehicleDetails, .vehicleWarranty, .vehicleEquipment, .vehicleDescription, .vehicleRelated { margin-top: 42px; padding: 28px 18px; }
  .vehicleRelatedGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vehicleDetails dl { grid-template-columns: 1fr; }
  .vehicleDetails dl > div:nth-child(odd) { border-right: 0; }
  .vehicleDetails dl > div { grid-template-columns: 110px 1fr; }
  .vehicleDetails dt, .vehicleDetails dd { padding: 14px 12px; }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: #111;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  letter-spacing: 0.02em;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  width: 100%;
}
.wrap {
  width: var(--wrap);
  margin: auto;
}
.headerTop {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font:
    italic 34px Impact,
    "Arial Black",
    sans-serif;
  letter-spacing: -0.04em;
  display: flex;
  align-items: baseline;
}
.logo b {
  color: var(--red);
}
.logo small {
  font: 8px Arial;
  letter-spacing: 0.18em;
  color: #777;
  margin-left: 12px;
}
.actions {
  display: flex;
  gap: 8px;
}
.phone {
  font-weight: 800;
  font-size: 18px;
  padding: 4px 18px;
}
.phone small {
  display: block;
  color: #777;
  font-size: 9px;
}
.btn {
  min-height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  font-size: 12px;
  font-weight: 700;
  transition: 0.2s;
}
.btn:hover {
  filter: brightness(0.9);
  transform: translateY(-1px);
}
.red {
  background: var(--red);
  color: #fff;
}
.black {
  background: #111;
  color: #fff;
}
.white {
  background: #fff;
}
.outline,
.ghost {
  border: 1px solid #ffffffaa;
  color: #fff;
  background: #0003;
}
.large {
  min-height: 58px;
  padding-inline: 30px;
}
.nav {
  height: 48px;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav nav {
  display: flex;
  gap: 21px;
  font-size: 10px;
  font-weight: 700;
}
.nav nav a:first-child {
  color: var(--red);
}
.nav > div {
  display: flex;
  gap: 14px;
  font-size: 9px;
  color: #555;
}
.menu {
  display: none;
}
.hero {
  height: min(720px, 72vh);
  min-height: 570px;
  position: relative;
  color: #fff;
  overflow: hidden;
}
.hero > img {
  height: 100%;
  object-fit: cover;
}
.shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #080808c9 0%,
    #08080860 42%,
    transparent 75%
  );
}
.heroCopy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.eyebrow {
  font: 700 10px Arial;
  letter-spacing: 0.22em;
}
.hero h1,
.about h2,
.heading h2,
.center h2,
.contact h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}
.hero h1 {
  font-size: clamp(40px, 5.2vw, 70px);
  line-height: 1.35;
  font-weight: 500;
  margin: 24px 0 18px;
}
.heroCopy > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 2;
}
.heroCopy > div {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}
.slideNo {
  position: absolute;
  right: 4%;
  bottom: 30px;
  font: 11px Arial;
}
.slideNo b {
  font-size: 16px;
}
.section {
  padding-block: 105px;
}
.accent {
  color: var(--red);
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}
.heading h2,
.center h2 {
  font-size: 35px;
  margin: 8px 0 0;
}
.more {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
}
.more:hover {
  color: var(--red);
}
.cars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.car {
  border: 1px solid var(--line);
}
.carImg {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.carImg img {
  height: 100%;
  width: 500%;
  max-width: none;
  object-fit: cover;
}
.p0 img {
  transform: translateX(0);
}
.p1 img {
  transform: translateX(-20%);
}
.p2 img {
  transform: translateX(-40%);
}
.p3 img {
  transform: translateX(-60%);
}
.p4 img {
  transform: translateX(-80%);
}
.carBody {
  padding: 17px;
}
.carBody > small {
  font: 700 8px Arial;
  color: var(--red);
}
.carBody h3 {
  font-size: 13px;
  margin: 8px 0 17px;
}
.car dl {
  display: flex;
  margin: 0 0 18px;
  font-size: 9px;
}
.car dl div {
  width: 50%;
}
.car dt {
  color: #888;
}
.car dd {
  margin: 4px 0 0;
  font-weight: 700;
}
.carBody > a,
.services a {
  font-size: 9px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}
.about {
  background: linear-gradient(90deg, var(--gray) 0 58%, #e7e7e5 58%);
  padding: 95px 0;
}
.aboutIn {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 8%;
  align-items: center;
}
.aboutIn > div {
  padding-left: 4%;
}
.about h2 {
  font-size: 33px;
  line-height: 1.6;
  margin: 18px 0;
}
.aboutIn > div > p:not(.eyebrow) {
  color: #555;
  line-height: 2;
  font-size: 12px;
}
.about .more {
  width: max-content;
  margin-top: 28px;
}
.about figure {
  margin: 0;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.about figure img {
  height: 100%;
  object-fit: cover;
}
.center {
  text-align: center;
  margin-bottom: 50px;
}
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}
.services article {
  padding: 32px;
  border-right: 1px solid var(--line);
}
.services article:last-child {
  border: 0;
}
.services article > small {
  color: #999;
}
.services i {
  display: block;
  color: var(--red);
  font-size: 30px;
  font-style: normal;
  margin: 28px 0 20px;
}
.services h3 {
  font-family: "Yu Mincho", serif;
}
.services p {
  min-height: 64px;
  color: #666;
  font-size: 10px;
  line-height: 1.9;
}
.news {
  background: var(--gray);
  padding: 90px 0;
}
.newsList {
  border-top: 1px solid #bbb;
}
.newsList a {
  min-height: 74px;
  border-bottom: 1px solid #ccc;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  padding: 0 18px;
  font-size: 12px;
}
.newsList time {
  color: #777;
}
.newsList a:hover strong {
  color: var(--red);
}
.blogGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.posts {
  border-top: 1px solid var(--line);
}
.posts > a {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.postImg {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #efefec;
}
.postImg img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transform: none;
}
.q1 img {
  transform: translateX(-33.3%);
}
.q2 img {
  transform: translateX(-66.6%);
}
.posts time {
  font-size: 9px;
  color: #888;
}
.posts h3 {
  font-size: 12px;
  margin: 7px 0;
}
.posts small {
  font-size: 7px;
  color: var(--red);
}
.shop {
  background: #fafafa;
  padding: 105px 0;
}
.shop iframe {
  width: 100%;
  height: 380px;
  border: 0;
  filter: grayscale(0.35);
}
.shopData {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  padding: 34px 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
}
.shopName {
  font:
    25px "Yu Mincho",
    serif;
}
.shopName small {
  display: block;
  font: 9px Arial;
  color: #777;
}
.shopData address {
  font-style: normal;
  font-size: 11px;
  line-height: 1.8;
}
.shopData > div > a {
  font-weight: 800;
}
.shopData > div p {
  font-size: 10px;
  line-height: 1.7;
}
.contact {
  background: var(--red);
  color: #fff;
  padding: 80px 0;
}
.contact > .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact h2 {
  font-size: 33px;
  margin: 12px 0;
}
.contact p {
  font-size: 11px;
  line-height: 1.8;
}
.contact .wrap > div:last-child {
  display: flex;
  gap: 10px;
}
.contact .btn {
  min-width: 240px;
}
footer {
  background: #111;
  color: #fff;
  padding: 60px 0 20px;
}
.footerIn {
  display: grid;
  grid-template-columns: 230px 1fr auto;
  gap: 50px;
  align-items: start;
}
.footerIn nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  font-size: 9px;
  color: #bbb;
}
.footerIn > div {
  display: grid;
  gap: 12px;
  font-size: 10px;
}
.copy {
  border-top: 1px solid #333;
  margin-top: 50px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  font: 8px Arial;
  color: #888;
}
.copy a {
  color: #fff;
}
@media (max-width: 1000px) {
  .nav nav {
    gap: 11px;
    font-size: 8px;
  }
  .nav > div {
    display: none;
  }
  .cars {
    grid-template-columns: repeat(3, 1fr);
  }
  .car:nth-child(n + 4) {
    display: none;
  }
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
  .shopData {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact > .wrap {
    gap: 30px;
  }
  .contact .wrap > div:last-child {
    flex-direction: column;
  }
  .footerIn {
    grid-template-columns: 210px 1fr;
  }
  .footerIn > div {
    grid-column: 2;
  }
}
@media (max-width: 760px) {
  :root {
    --wrap: calc(100% - 32px);
  }
  .headerTop {
    height: 72px;
  }
  .logo {
    font-size: 26px;
  }
  .logo small,
  .actions,
  .nav {
    display: none;
  }
  .menu {
    display: block;
    position: relative;
  }
  .menu summary {
    font-size: 10px;
    font-weight: 700;
    border: 1px solid;
    padding: 9px;
    list-style: none;
  }
  .menu[open] nav {
    position: absolute;
    right: 0;
    top: 40px;
    background: #fff;
    width: 220px;
    padding: 12px;
    display: grid;
    box-shadow: 0 12px 30px #0002;
  }
  .menu nav a {
    font-size: 10px;
    padding: 9px;
    border-bottom: 1px solid #eee;
  }
  .hero {
    height: 650px;
    min-height: 0;
  }
  .hero > img {
    object-position: 65%;
  }
  .shade {
    background: linear-gradient(90deg, #000c, #0002);
  }
  .hero h1 {
    font-size: 37px;
  }
  .heroCopy > div {
    flex-direction: column;
    width: 100%;
  }
  .heroCopy .btn {
    width: 290px;
  }
  .section {
    padding-block: 74px;
  }
  .heading h2,
  .center h2 {
    font-size: 28px;
  }
  .cars {
    display: flex;
    overflow-x: auto;
    margin-right: -16px;
  }
  .car {
    min-width: 78%;
  }
  .car:nth-child(n + 4) {
    display: block;
  }
  .about {
    background: var(--gray);
    padding: 70px 0;
  }
  .aboutIn {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .aboutIn > div {
    padding: 0;
  }
  .about figure {
    order: -1;
  }
  .about h2 {
    font-size: 27px;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .services article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .newsList a {
    grid-template-columns: 1fr auto;
    padding: 16px 8px;
  }
  .newsList time {
    grid-column: 1;
    font-size: 9px;
  }
  .newsList span {
    grid-area: 1/2/3;
  }
  .blogGrid {
    grid-template-columns: 1fr;
  }
  .posts > a {
    grid-template-columns: 110px 1fr;
  }
  .shop iframe {
    height: 300px;
  }
  .shopData {
    grid-template-columns: 1fr;
    padding: 26px 20px;
  }
  .shopData .btn {
    width: 100%;
  }
  .contact > .wrap {
    display: block;
  }
  .contact .wrap > div:last-child {
    margin-top: 28px;
  }
  .contact .btn {
    width: 100%;
    min-width: 0;
  }
  .footerIn {
    display: block;
  }
  .footerIn nav {
    grid-template-columns: repeat(2, 1fr);
    margin: 38px 0;
  }
  .footerIn > div {
    display: flex;
    gap: 16px;
  }
  .copy {
    margin-top: 35px;
  }
}

/* Keep the OMA MESI-inspired news layout even when legacy Customizer CSS remains. */
body.home .topNews .newsCards {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  border: 0 !important;
}
body.home .topNews .newsCards a,
body.home .topNews .newsCards a:nth-child(2) {
  grid-template-columns: 112px minmax(0, 1fr) 38px !important;
  min-height: 88px !important;
  padding: 20px 22px 20px 26px !important;
  border: 0 !important;
  background: #fff !important;
}
body.home .topNews .newsCards time {
  font-size: 13px !important;
  letter-spacing: .04em;
}
body.home .topNews .newsCards strong {
  font-size: 16px !important;
  line-height: 1.6 !important;
}
body.home .topNews .newsCards span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 16px;
}
@media (max-width: 760px) {
  body.home .topNews .newsCards a,
  body.home .topNews .newsCards a:nth-child(2) {
    grid-template-columns: 78px minmax(0, 1fr) 34px !important;
    min-height: 76px !important;
    padding: 14px 12px 14px 16px !important;
  }
  body.home .topNews .newsCards time { font-size: 11px !important; }
  body.home .topNews .newsCards strong { font-size: 14px !important; }
  body.home .topNews .newsCards span { width: 30px; height: 30px; }
}

.logo {
  display: block;
  width: 205px;
  font: inherit;
  letter-spacing: 0;
}

.logo img {
  width: 100%;
  height: auto;
}

.footerLogo {
  width: 200px;
  padding: 0;
  background: transparent;
}

@media (max-width: 760px) {
  .logo {
    width: 165px;
  }
}

.stockPhoto {
  display: block;
  background: #eee;
}

.stockPhoto img {
  width: 100%;
  height: 122%;
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
  transform: none;
}

.carBody h3 {
  min-height: 2.8em;
  line-height: 1.4;
}

.white {
  color: #111;
}

.services article {
  padding: 0;
  overflow: hidden;
}

.servicePhoto {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #eee;
}

.servicePhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.serviceBody {
  padding: 25px 28px 28px;
}

.serviceBody small {
  color: #d10f13;
  font: 700 10px Arial, sans-serif;
  letter-spacing: .12em;
}

.serviceBody h3 {
  margin-top: 12px;
}

@media (max-width: 760px) {
  .servicePhoto {
    aspect-ratio: 16 / 9;
  }
}

.cars {
  display: flex;
  grid-template-columns: none;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.cars::-webkit-scrollbar { display: none; }

.autoCars {
  scroll-behavior: smooth;
  outline: none;
}

.autoCars:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 6px;
}

.heroSlides {
  position: absolute;
  inset: 0;
}

.heroSlides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 1s ease, transform 6s ease;
}

.heroSlides img.active {
  opacity: 1;
  transform: scale(1);
}

.heroPagination {
  position: absolute;
  z-index: 3;
  right: 4%;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.heroPagination button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #ffffff70;
  background: transparent;
  color: #ffffffa0;
  font: 9px Arial, sans-serif;
  cursor: pointer;
}

.heroPagination button.active {
  width: 45px;
  border-color: #fff;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.car {
  display: block !important;
  flex: 0 0 calc((100% - 48px) / 5);
  min-width: 0;
  scroll-snap-align: start;
}

.posts.textOnly > a {
  grid-template-columns: 1fr;
  min-height: 112px;
  padding-inline: 4px;
}

.partsCustom {
  background: #090909;
  color: #fff;
  overflow: hidden;
}

.partsCustomIn {
  min-height: 390px;
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: stretch;
}

.partsCustomCopy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 8% 56px 2%;
}

.partsCustomCopy h2 {
  margin: 12px 0 18px;
  font: 500 34px "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.partsCustomCopy > p:last-child {
  margin: 0;
  color: #d2d2d2;
  font-size: 12px;
  line-height: 2;
}

.partsCustom figure {
  margin: 0;
  min-width: 0;
  position: relative;
}

.partsCustom figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #090909 0%, transparent 30%);
}

.partsCustom figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footerSocials {
  display: flex !important;
  grid-template-columns: none;
  flex-wrap: wrap;
  gap: 12px !important;
}

.footerSocials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #3b3b3b;
  transition: border-color .2s, background .2s;
}

.footerSocials a:hover {
  border-color: var(--red);
  background: #1b1b1b;
}

.footerSocials img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.footerSocials a:last-child img {
  width: 24px;
  height: 24px;
  border-radius: 5px;
}

.header .nav { justify-content: center; }

.heading .sectionLink {
  min-height: 44px;
  padding-inline: 22px;
  color: #fff;
}
.topCtaButton {
  min-height: 44px;
  padding-inline: 22px;
  color: #fff;
}
.about .topCtaButton {
  width: max-content;
  margin-top: 28px;
}
.heroCopy .btn.red, .actions .btn.red { color: #fff; }

/* Reference-inspired editorial treatment */
.about {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #f5f5f2 0 55%, #e9e9e6 55%);
}

.aboutWord {
  position: absolute;
  top: 24px;
  left: max(24px, calc((100vw - 1180px) / 2));
  color: #111;
  opacity: .035;
  font: 900 clamp(76px, 11vw, 164px)/1 Arial, sans-serif;
  letter-spacing: -.07em;
  white-space: nowrap;
}

.aboutIn { position: relative; z-index: 1; gap: 10%; }
.about h2 { font-size: clamp(34px, 3.3vw, 49px); line-height: 1.55; }
.about figure {
  aspect-ratio: 1.15 / 1;
  border-radius: 50% 0 0 50% / 50% 0 0 50%;
  box-shadow: -24px 28px 0 #d10f1310;
}
.about figure img { object-position: 42% center; }

.serviceSection { position: relative; overflow: hidden; }
.serviceWord {
  position: absolute;
  top: 38px;
  right: 0;
  color: var(--red);
  opacity: .045;
  font: 900 clamp(76px, 12vw, 174px)/1 Arial, sans-serif;
  letter-spacing: -.07em;
  pointer-events: none;
}
.serviceSection .center, .serviceSection .services { position: relative; z-index: 1; }
.serviceSection .services { border: 0; gap: 18px; }
.serviceSection .services article {
  position: relative;
  border: 1px solid #e1e1df;
  background: #fff;
  transition: transform .3s ease, box-shadow .3s ease;
}
.serviceSection .services article:nth-child(even) { transform: translateY(24px); }
.serviceSection .services article:hover { box-shadow: 0 20px 45px #00000014; }
.serviceSection .servicePhoto { aspect-ratio: 4 / 3; }
.serviceSection .servicePhoto img { transition: transform .55s ease; }
.serviceSection article:hover .servicePhoto img { transform: scale(1.035); }
.serviceSection .serviceBody { position: relative; min-height: 188px; padding: 30px; }
.serviceSection .serviceBody small {
  position: absolute;
  right: 18px;
  top: -45px;
  color: #fff;
  text-shadow: 0 2px 18px #0007;
  font: 700 58px/1 Arial, sans-serif;
  letter-spacing: -.06em;
}
.serviceSection .serviceBody h3 { margin: 0 0 16px; font-size: 21px; }
.serviceSection .serviceBody p { min-height: 0; font-size: 11px; }

.editorialSection { position: relative; overflow: hidden; }
.editorialWord {
  position: absolute;
  top: 28px;
  right: max(20px, calc((100vw - 1180px) / 2));
  color: var(--red);
  opacity: .045;
  font: 900 clamp(72px, 11vw, 158px)/1 Arial, sans-serif;
  letter-spacing: -.07em;
  pointer-events: none;
}
.editorialSection > .wrap { position: relative; z-index: 1; }
.newsCards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.newsCards a {
  position: relative;
  min-height: 210px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  border: 1px solid #dededb;
  background: #fff;
  transition: transform .3s ease, box-shadow .3s ease;
}
.newsCards a:nth-child(2) { transform: translateY(20px); }
.newsCards a:hover { box-shadow: 0 20px 45px #00000012; }
.newsCards small { color: var(--red); font: 700 42px/1 Arial, sans-serif; opacity: .25; }
.newsCards time { margin: 26px 0 12px; color: #777; font-size: 10px; }
.newsCards strong { font-size: 14px; line-height: 1.7; }
.newsCards span { margin-top: auto; align-self: flex-end; color: var(--red); }

.blogSection { background: #fff; }
.blogSection .blogGrid { position: relative; z-index: 1; }
.blogSection .posts { display: grid; gap: 12px; border: 0; }
.blogSection .posts > a {
  min-height: 128px;
  padding: 14px;
  border: 1px solid #dededb;
  background: #fff;
  transition: box-shadow .3s ease, transform .3s ease;
}
.blogSection .posts > a:hover { box-shadow: 0 16px 36px #00000010; transform: translateY(-2px); }
.blogSection .posts.textOnly > a { padding: 24px; }

.contactIn { display: grid !important; grid-template-columns: 1.4fr .9fr 1fr; gap: 55px; }
.contactPhone { display: flex; flex-direction: column; justify-content: center; }
.contactPhone small { font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.contactPhone > a { margin: 8px 0 12px; color: #fff; font: 700 clamp(24px, 2.2vw, 34px)/1 Arial, sans-serif; }
.contactPhone p { margin: 0; }
.lineContact { display: flex !important; align-items: center; gap: 18px !important; }
.lineQrLink { display: block; flex: 0 0 122px; }
.lineQrLink img { display: block; width: 122px; height: 122px; padding: 7px; background: #fff; object-fit: contain; }
.lineContact strong { font: 700 18px Arial, sans-serif; }
.lineContact p { margin: 7px 0 0; }
.lineContact p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

.mobileCta { display: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .serviceSection .servicePhoto img { transition: none; }
}

@media (max-width: 1000px) {
  .car { flex-basis: calc((100% - 24px) / 3); }
  .serviceSection .services article:nth-child(even) { transform: none; }
  .newsCards a:nth-child(2) { transform: none; }
  .contactIn { grid-template-columns: 1fr 1fr !important; }
  .contactLead { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { padding-bottom: 62px; }
  .cars { margin-right: -16px; }
  .car { flex-basis: 78%; }
  .heroSlides img { object-position: 58% center; }
  .heroPagination { right: 16px; bottom: 18px; gap: 4px; }
  .heroPagination button { width: 22px; }
  .heroPagination button.active { width: 34px; }
  .partsCustomIn { min-height: 0; grid-template-columns: 1fr; }
  .partsCustomCopy { padding: 62px 0 35px; }
  .partsCustomCopy h2 { font-size: 28px; }
  .partsCustom figure { height: 260px; }
  .partsCustom figure::before { background: linear-gradient(180deg, #090909 0%, transparent 35%); }
  .about { padding-top: 58px; }
  .aboutWord { top: 18px; left: 16px; font-size: 62px; }
  .about figure {
    aspect-ratio: 4 / 3;
    border-radius: 34% 0 0 34% / 50% 0 0 50%;
    box-shadow: -12px 14px 0 #d10f1310;
  }
  .about h2 { font-size: 29px; }
  .serviceWord { top: 24px; font-size: 68px; }
  .serviceSection .services { gap: 16px; }
  .serviceSection .serviceBody { min-height: 0; }
  .serviceSection .serviceBody small { top: -41px; font-size: 52px; }
  .heading { align-items: center; gap: 16px; }
  .heading .sectionLink { flex: 0 0 auto; min-height: 38px; padding-inline: 14px; gap: 10px; font-size: 9px; }
  .topCtaButton { flex: 0 0 auto; min-height: 38px; padding-inline: 14px; gap: 10px; font-size: 9px; }
  .editorialWord { top: 20px; right: 16px; font-size: 64px; }
  .newsCards { grid-template-columns: 1fr; }
  .newsCards a { min-height: 170px; padding: 25px; }
  .newsCards small { font-size: 36px; }
  .blogSection .blogGrid { display: grid; }
  .contactIn { grid-template-columns: 1fr !important; gap: 32px !important; }
  .contactLead { grid-column: auto; }
  .lineContact { justify-content: flex-start; }
  .mobileCta {
    position: fixed;
    z-index: 50;
    left: 0;
    right: 0;
    bottom: 0;
    height: 62px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #111;
    color: #fff;
    box-shadow: 0 -4px 18px #0003;
  }
  .mobileCta a {
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
  }
  .mobileCta a:first-child { background: var(--red); }
  .mobileCta a:last-child { background: #06c755; }
  .mobileCta a + a { border-left: 1px solid #ffffff45; }
}

/* Keep the opened mobile menu above the hero slideshow. */
@media (max-width: 760px) {
  .header { position: relative; z-index: 100; }
}

/* Fixed-page typography follows the homepage's font and section rhythm. */
.pageMain { padding: 88px 0 110px; background: #f7f7f5; }
.pageMain > .wrap { width: min(980px, calc(100% - 48px)); }
.pageTitle { padding-bottom: 32px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.pageTitle .eyebrow { margin: 0 0 14px; }
.pageTitle h1 { margin: 0; font-size: clamp(32px, 3.3vw, 46px); line-height: 1.45; font-weight: 800; }
.pageContent { padding: 48px 54px; background: #fff; }
.pageContent > :first-child { margin-top: 0; }
.pageContent h2 { margin: 46px 0 18px; padding-left: 16px; border-left: 3px solid var(--red); font-size: 21px; line-height: 1.5; }
.pageContent p, .pageContent li { font-size: 14px; line-height: 1.95; }
.pageContent p { margin: 0 0 18px; }
.pageContent ul { margin: 0 0 22px; padding-left: 1.5em; }
@media (max-width: 760px) {
  .pageMain { padding: 56px 0 75px; }
  .pageMain > .wrap { width: calc(100% - 32px); }
  .pageTitle { padding-bottom: 22px; margin-bottom: 24px; }
  .pageTitle h1 { font-size: 29px; }
  .pageContent { padding: 28px 20px; }
  .pageContent h2 { margin-top: 36px; font-size: 18px; }
}

/* Larger navigation type for the site's primary audience. */
.header .nav { height: 58px; }
.nav nav { gap: clamp(14px, 1.5vw, 26px); font-size: 14px; line-height: 1.5; }
.phone small { font-size: 12px; line-height: 1.5; }
.actions .btn { font-size: 14px; }
.footerIn nav { gap: 18px 24px; font-size: 14px; line-height: 1.7; }
.footerIn nav a { display: inline-block; padding-block: 3px; }
.copy { font-size: 11px; line-height: 1.6; }
@media (max-width: 1000px) and (min-width: 761px) {
  .nav nav { gap: 11px; font-size: 12px; }
}
@media (max-width: 760px) {
  body.menuOpen { overflow: hidden; }
  .menu { z-index: 110; }
  .menu summary {
    position: relative;
    z-index: 113;
    display: grid;
    place-items: center;
    width: 58px;
    height: 52px;
    padding: 7px 6px 5px;
    border: 2px solid #111;
    background: #fff;
    cursor: pointer;
  }
  .menu summary::-webkit-details-marker { display: none; }
  .menuIcon { display: grid; gap: 5px; width: 25px; }
  .menuIcon i { display: block; height: 2px; background: #111; transition: transform .2s ease, opacity .2s ease; }
  .menuLabel { font-size: 10px; font-weight: 800; line-height: 1; letter-spacing: .08em; }
  .menuLabel span:last-child { display: none; }
  .menu[open] summary { position: fixed; top: 15px; right: 16px; border-color: #fff; color: #fff; background: #111; }
  .menu[open] .menuIcon i { background: #fff; }
  .menu[open] .menuIcon i:first-child { transform: translateY(7px) rotate(45deg); }
  .menu[open] .menuIcon i:nth-child(2) { opacity: 0; }
  .menu[open] .menuIcon i:last-child { transform: translateY(-7px) rotate(-45deg); }
  .menu[open] .menuLabel span:first-child { display: none; }
  .menu[open] .menuLabel span:last-child { display: inline; }
  .menu[open]::before {
    content: "";
    position: fixed;
    z-index: 110;
    inset: 0;
    background: rgb(0 0 0 / 58%);
  }
  .menuPanel {
    position: fixed;
    z-index: 112;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(90vw, 390px);
    padding: 25px 22px 30px;
    overflow-y: auto;
    background: #f4f4f2;
    box-shadow: -12px 0 36px rgb(0 0 0 / 25%);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s ease;
  }
  .menu[open] .menuPanel { transform: translateX(0); visibility: visible; }
  .menuTitle { margin: 8px 76px 20px 2px; font-size: 24px; font-weight: 800; }
  .menu[open] nav { position: static; display: grid; width: auto; padding: 0; background: transparent; box-shadow: none; }
  .menu nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 13px 14px;
    border-bottom: 1px solid #ccc;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
  }
  .menu nav a:first-child { border-top: 1px solid #ccc; }
  .menu nav .menuStock { margin: 8px 0; border: 0; color: #fff; background: var(--red); }
  .menuContact { display: grid; gap: 10px; margin-top: 24px; }
  .menuTel { display: grid; place-items: center; min-height: 68px; color: #fff; background: #111; font-size: 22px; font-weight: 800; }
  .menuTel small { font-size: 12px; font-weight: 700; }
  .menuContact > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .menuContact > div a { display: grid; place-items: center; min-height: 58px; padding: 8px; color: #fff; background: var(--red); font-size: 15px; font-weight: 800; }
  .menuContact > div a:last-child { background: #111; }
  .footerIn nav { gap: 12px 20px; font-size: 14px; line-height: 1.7; }
  .mobileCta a { font-size: 14px; }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .menuPanel, .menuIcon i { transition: none; }
}

/* Company page */
.companyPage h2 { margin: 0; font-size: clamp(28px, 3.3vw, 46px); line-height: 1.45; }
.companyPage p { line-height: 1.9; }
.companyHero { padding: 72px 0; background: #f4f4f2; }
.companyHeroIn { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 70px; }
.companyHero h1 { margin: 14px 0 22px; font-size: clamp(38px, 4.3vw, 62px); line-height: 1.25; }
.companyLead { margin: 0; font-size: 17px; font-weight: 600; }
.companyHero figure { margin: 0; overflow: hidden; }
.companyHero img { aspect-ratio: 16 / 10; object-fit: cover; }
.companyIntro { padding: 100px 0; }
.narrowCompany { width: min(820px, calc(100% - 48px)); }
.companyIntro h2 { margin: 15px 0 34px; }
.companyIntro p:not(.eyebrow) { margin: 0 0 20px; font-size: 16px; }
.companyServices { padding: 100px 0; background: #111; color: #fff; }
.companyServices .center h2, .companyAccess .center h2, .companyLinks .center h2 { margin-top: 12px; }
.companyServiceGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 50px; background: #444; }
.companyServiceGrid article { min-height: 260px; padding: 36px 32px; background: #1b1b1b; }
.companyServiceGrid article > span { color: var(--red); font: 700 14px/1 Arial, sans-serif; }
.companyServiceGrid h3 { margin: 22px 0 14px; font-size: 21px; }
.companyServiceGrid p { margin: 0; color: #ccc; font-size: 14px; }
.companyServiceLink { display: flex; justify-content: center; margin-top: 42px; }
.companyServiceLink .btn { min-width: 310px; }
.companyInfo { padding: 100px 0; background: #f4f4f2; }
.companyInfoGrid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; }
.companyInfoGrid h2 { margin-top: 12px; }
.companyInfo dl { margin: 0; border-top: 1px solid #ccc; }
.companyInfo dl > div { display: grid; grid-template-columns: 150px 1fr; border-bottom: 1px solid #ccc; }
.companyInfo dt, .companyInfo dd { margin: 0; padding: 20px 16px; font-size: 15px; line-height: 1.75; }
.companyInfo dt { font-weight: 800; }
.companyInfo dd a { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.companyPartners { padding: 100px 0; background: #fff; }
.companyPartners .center h2 { margin-top: 12px; }
.companyPartnerList { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
.companyPartnerList a { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 18px 22px; border: 1px solid #d7d7d7; background: #fff; transition: border-color .2s ease, transform .2s ease; }
.companyPartnerList a:hover { transform: translateY(-2px); border-color: var(--red); }
.companyPartnerList strong { font-size: 17px; line-height: 1.5; }
.companyPartnerList span { flex: 0 0 auto; margin-left: 16px; color: var(--red); font-size: 20px; font-weight: 800; }
.companyAccess { padding: 100px 0; }
.companyAccess iframe { width: 100%; height: 440px; margin-top: 50px; border: 0; }
.companyAccessGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.companyAccessGrid > div { padding: 28px 30px; background: #f4f4f2; }
.companyAccessGrid h3 { margin: 0 0 10px; font-size: 18px; }
.companyAccessGrid p { margin: 0; font-size: 14px; }
.companyMapLink { display: flex; justify-content: center; margin-top: 30px; }
.companyLinks { padding: 100px 0; background: #f4f4f2; }
.companyLinkGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 50px; }
.companyLinkGrid a { display: flex; flex-direction: column; justify-content: space-between; min-height: 155px; padding: 30px; border: 1px solid #ddd; background: #fff; transition: transform .2s ease, border-color .2s ease; }
.companyLinkGrid a:hover { transform: translateY(-3px); border-color: var(--red); }
.companyLinkGrid strong { font-size: 22px; }
.companyLinkGrid span { color: var(--red); font-size: 13px; font-weight: 700; }
.companyContact { padding: 85px 0; text-align: center; color: #fff; background: #1a1a1a; }
.companyContact h2 { margin: 14px 0 20px; }
.companyContact p:not(.eyebrow) { margin: 0 auto; max-width: 680px; font-size: 15px; }
.companyContact > .wrap > div { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.companyContact .btn { min-width: 260px; }
.companyContact .btn.white { color: #111; background: #fff; }

@media (max-width: 900px) {
  .companyHeroIn { gap: 36px; }
  .companyServiceGrid { grid-template-columns: repeat(2, 1fr); }
  .companyInfoGrid { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 760px) {
  .companyPage h2 { font-size: 28px; }
  .companyHero { padding: 45px 0 0; }
  .companyHeroIn { grid-template-columns: 1fr; gap: 34px; width: 100%; }
  .companyHeroIn > div { width: calc(100% - 32px); margin: auto; }
  .companyHero h1 { margin: 10px 0 18px; font-size: 34px; }
  .companyLead { font-size: 15px; }
  .companyHero img { aspect-ratio: 4 / 3; }
  .companyIntro, .companyServices, .companyInfo, .companyPartners, .companyAccess, .companyLinks { padding: 68px 0; }
  .narrowCompany { width: calc(100% - 32px); }
  .companyIntro h2 { margin-bottom: 25px; }
  .companyIntro p:not(.eyebrow) { font-size: 15px; }
  .companyServiceGrid { grid-template-columns: 1fr; margin-top: 35px; }
  .companyServiceGrid article { min-height: 0; padding: 30px 24px; }
  .companyServiceLink .btn { min-width: 0; width: 100%; }
  .companyInfoGrid { gap: 30px; }
  .companyInfo dl > div { grid-template-columns: 100px 1fr; }
  .companyInfo dt, .companyInfo dd { padding: 16px 10px; font-size: 14px; }
  .companyAccess iframe { height: 330px; margin-top: 35px; }
  .companyAccessGrid, .companyLinkGrid { grid-template-columns: 1fr; }
  .companyPartnerList { grid-template-columns: 1fr; gap: 10px; margin-top: 35px; }
  .companyPartnerList a { min-height: 64px; padding: 16px 18px; }
  .companyAccessGrid > div { padding: 24px 22px; }
  .companyLinkGrid { margin-top: 35px; }
  .companyLinkGrid a { min-height: 125px; padding: 25px; }
  .companyContact { padding: 68px 0 90px; }
  .companyContact > .wrap > div { flex-direction: column; }
  .companyContact .btn { width: 100%; min-width: 0; }
}

/* Keep the primary navigation available while scrolling. */
.header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: #fff;
  box-shadow: 0 3px 14px rgb(0 0 0 / 8%);
}
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
}
@media (max-width: 600px) {
  body.admin-bar .header { top: 0; }
}

/* Category-driven home posts and post archives. */
.topNews { border-bottom: 1px solid #ddd; background: #f4f4f2; }
.topNews > .wrap { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1.45fr); gap: clamp(58px, 8vw, 128px); align-items: start; }
.topNewsHeading { display: block; margin: 0; padding-top: 52px; }
.topNewsHeading .eyebrow { display: none; }
.topNewsHeading h2 { margin: 0; font-size: 35px; }
.topNewsHeading > a { width: min(100%, 320px); min-height: 60px; margin-top: 36px; justify-content: space-between; color: #fff; }
.topNews .newsCards { display: grid; grid-template-columns: 1fr; gap: 10px; border: 0; }
.topNews .newsCards a,
.topNews .newsCards a:nth-child(2) {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 24px;
  align-items: center;
  min-height: 88px;
  padding: 20px 26px;
  border: 0;
  background: #fff;
  transform: none;
  box-shadow: none;
}
.topNews .newsCards a small { display: none; }
.topNews .newsCards time { margin: 0; font-size: 12px; }
.topNews .newsCards strong { min-width: 0; font-size: 15px; line-height: 1.6; }
.topNews .newsCards span { margin: 0; justify-self: end; align-self: center; }
.topNews .emptyPosts { margin: 0; border-bottom: 1px solid #ddd; background: transparent; }
.partsCustomCopy .btn { margin-top: 22px; }
.partsLatest { padding: 70px 0 90px; }
.partsPostGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.partsPost { overflow: hidden; background: #fff; box-shadow: 0 8px 28px rgb(0 0 0 / 8%); }
.partsPostImage { display: block; overflow: hidden; }
.partsPostImage img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.partsPost:hover .partsPostImage img { transform: scale(1.035); }
.partsPost > div { padding: 24px; }
.partsPost time, .archiveGrid time, .postSingle time { color: #777; font-size: 12px; }
.partsPost h3 { margin: 10px 0 22px; font-size: 19px; line-height: 1.6; }
.partsMore, .archiveMore { color: var(--red); font-size: 13px; font-weight: 800; }
.emptyPosts { grid-column: 1 / -1; padding: 30px; text-align: center; background: #fff; }
.categoryArchive, .postSingle { padding: 90px 0 120px; background: #f7f7f5; }
.archiveTitle { margin-bottom: 45px; padding-bottom: 28px; border-bottom: 1px solid #ddd; }
.archiveTitle h1, .postSingle h1 { margin: 12px 0 0; font-size: clamp(32px, 3.5vw, 48px); }
.archiveGrid { display: grid; gap: 24px; }
.archiveGrid article { display: grid; grid-template-columns: 320px 1fr; background: #fff; }
.archiveImage img { height: 100%; min-height: 220px; object-fit: cover; }
.archiveGrid article > div { padding: 28px 32px; }
.archiveGrid h2 { margin: 9px 0 12px; font-size: 23px; }
.archiveGrid p { color: #555; font-size: 14px; line-height: 1.8; }
.postNarrow { width: min(850px, calc(100% - 48px)); }
.postSingle article { padding: 55px; background: #fff; }
.postSingle h1 { margin-bottom: 12px; }
.postSingle figure { margin: 38px 0; }
.postSingle figure img { display: block; width: 100%; height: auto; max-height: 680px; object-fit: contain; background: #f2f2ef; }
.postBody { font-size: 16px; line-height: 2; }
.postBody img { height: auto; }
@media (max-width: 760px) {
  .topNews > .wrap { grid-template-columns: 1fr; gap: 28px; }
  .topNewsHeading { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding-top: 0; }
  .topNewsHeading h2 { font-size: 28px; }
  .topNewsHeading > a { width: auto; margin-top: 0; }
  .topNews .newsCards a,
  .topNews .newsCards a:nth-child(2) { grid-template-columns: 82px minmax(0, 1fr) 20px; min-height: 68px; padding: 13px 16px; }
  .topNews .newsCards strong { font-size: 14px; }
  .partsLatest { padding: 50px 0 70px; }
  .partsPostGrid { grid-template-columns: 1fr; }
  .categoryArchive, .postSingle { padding: 55px 0 90px; }
  .archiveGrid article { grid-template-columns: 1fr; }
  .archiveImage img { min-height: 0; aspect-ratio: 16 / 10; }
  .archiveGrid article > div { padding: 24px 20px; }
  .archiveGrid h2 { font-size: 20px; }
  .postNarrow { width: calc(100% - 32px); }
  .postSingle article { padding: 30px 20px; }
}

/* Keep stock results as one compact list at tablet widths. */
@media (max-width: 980px) {
  .vehicleArchiveGrid { grid-template-columns: 1fr; }
}

/* Hitokoto and photo album. */
.homeGallery, .galleryArchive, .gallerySingle { background: #f4f0e7; }
.homeGallery { position: relative; overflow: hidden; padding: 95px 0 105px; }
.galleryWord { position: absolute; top: 24px; right: -8px; color: rgb(69 54 29 / 7%); font: 900 clamp(76px, 13vw, 188px)/1 Arial, sans-serif; letter-spacing: -.075em; pointer-events: none; }
.homeGalleryHeading { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.homeGalleryHeading h2, .specialArchiveTitle h1 { margin: 8px 0 10px; font-size: clamp(34px, 4vw, 52px); }
.homeGalleryHeading p:last-child, .specialArchiveTitle > p:last-child { margin: 0; color: #5f5a50; line-height: 1.8; }
.homeGalleryHeading .more { flex: 0 0 auto; }
.galleryMarquee { position: relative; z-index: 1; width: 100%; overflow-x: auto; overflow-y: hidden; padding: 18px 0 32px; cursor: grab; scrollbar-width: none; touch-action: pan-x; }
.galleryMarquee::-webkit-scrollbar { display: none; width: 0; height: 0; }
.galleryMarquee.is-dragging { cursor: grabbing; user-select: none; }
.galleryRail { display: flex; width: max-content; }
.galleryRailGroup { display: flex; align-items: start; gap: 26px; padding: 0 13px; }
.galleryRailGroup > * { animation: galleryCardFloat 3.8s ease-in-out infinite alternate; }
.galleryRailGroup > *:nth-child(2n) { animation-delay: -.9s; animation-duration: 4.4s; }
.galleryRailGroup > *:nth-child(3n) { animation-delay: -1.8s; animation-duration: 3.4s; }

@keyframes galleryCardFloat {
  from { translate: 0 2px; }
  to { translate: 0 -5px; }
}

/* Contact and reservation */
.contactIn { grid-template-columns: 1.15fr minmax(215px, .95fr) 1.05fr 1fr !important; gap: 30px !important; }
.contactPhone > a { display: inline-block; white-space: nowrap; word-break: keep-all; font-size: clamp(25px, 2.15vw, 33px) !important; }
.topContactForm { display: flex; flex-direction: column; justify-content: center; }
.topContactForm > strong { font: 700 18px Arial, sans-serif; }
.topContactForm > p { margin: 7px 0 14px; }
.topContactForm > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.topContactForm .btn { min-width: 0; padding-inline: 12px; }
.topContactForm .btn.white { color: #111; }
.formPage { background: #f4f4f1; }
.formHero { padding: 95px 0 72px; text-align: center; background: #fff; }
.formHero h1 { margin: 10px 0 20px; font-size: clamp(38px, 5vw, 62px); }
.formHero p:last-child { margin: 0; font-size: 16px; line-height: 1.9; }
.contactChoices { padding: 55px 0; }
.contactChoiceGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contactChoice { position: relative; display: flex; min-height: 215px; padding: 30px; flex-direction: column; justify-content: center; color: #fff; background: #191919; transition: transform .2s, box-shadow .2s; }
.contactChoice:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgb(0 0 0 / 12%); }
.contactChoice > span { margin-bottom: 18px; color: #ff4a4a; font: 700 11px/1 Arial, sans-serif; letter-spacing: .16em; }
.contactChoice strong { font-size: 20px; }
.contactChoice b { margin-top: 12px; font: 700 clamp(23px, 2.4vw, 33px)/1 Arial, sans-serif; }
.contactChoice p { margin: 12px 0 0; color: #ccc; }
.contactChoice small { margin-top: 12px; color: #bbb; line-height: 1.7; }
.contactChoice i { position: absolute; right: 26px; bottom: 24px; color: #fff; font-size: 21px; font-style: normal; }
.formChoice { background: var(--red); }
.formChoice > span { color: #fff; }
.lineChoice { background: #06c755; }
.lineChoice > span { color: #fff; }
.formSection { padding: 30px 0 110px; scroll-margin-top: 140px; }
.narrowForm { max-width: 880px; }
.formHeading { margin-bottom: 35px; text-align: center; }
.formHeading h2 { margin: 9px 0 15px; font-size: clamp(29px, 4vw, 42px); }
.formHeading p:last-child { margin: 0; color: #666; }
.requiredMark, .formRow label > span { display: inline-block; padding: 3px 7px; color: #fff; background: var(--red); font-size: 10px; font-weight: 700; }
.customerForm { padding: 48px 55px; background: #fff; box-shadow: 0 12px 40px rgb(0 0 0 / 6%); }
.formRow { display: grid; grid-template-columns: 210px 1fr; gap: 24px; align-items: start; padding: 20px 0; border-bottom: 1px solid #ddd; }
.formRow > label { padding-top: 13px; font-size: 14px; font-weight: 700; }
.formRow input, .formRow select, .formRow textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #bbb; border-radius: 0; color: #111; background: #fff; font: inherit; }
.formRow textarea { min-height: 180px; resize: vertical; }
.formRow input:focus, .formRow select:focus, .formRow textarea:focus { border-color: #111; outline: 2px solid rgb(209 15 19 / 15%); outline-offset: 1px; }
.formConsent { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 28px 0 22px; font-size: 14px; }
.formConsent input { width: 20px; height: 20px; }
.formConsent a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.formSubmit { width: min(100%, 360px); margin: 0 auto; display: flex; border: 0; cursor: pointer; font-size: 14px; }
.formTrap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.formNotice { margin-bottom: 25px; padding: 22px 25px; border-left: 5px solid; background: #fff; }
.formNotice.success { border-color: #16843c; }
.formNotice.error { border-color: var(--red); }
.formNotice strong { font-size: 19px; }
.formNotice p { margin: 8px 0 0; }

@media (max-width: 1050px) {
  .contactIn { grid-template-columns: 1fr 1fr !important; }
  .contactLead { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .contactIn { grid-template-columns: 1fr !important; gap: 32px !important; }
  .contactLead { grid-column: auto; }
  .formHero { padding: 65px 0 52px; }
  .formHero p:last-child { font-size: 14px; }
  .contactChoices { padding: 35px 0; }
  .contactChoiceGrid { grid-template-columns: 1fr; gap: 10px; }
  .contactChoice { min-height: 150px; padding: 24px; }
  .formSection { padding: 20px 0 85px; }
  .customerForm { padding: 25px 20px; }
  .formRow { grid-template-columns: 1fr; gap: 9px; padding: 17px 0; }
  .formRow > label { padding-top: 0; }
  .formConsent { align-items: flex-start; }
}
.galleryRailGroup:first-child { padding-left: 13px; }
.polaroidCard { width: clamp(220px, 23vw, 292px); flex: 0 0 auto; padding: 11px 11px 20px; background: #fff; box-shadow: 0 10px 25px rgb(69 54 29 / 16%); transform: rotate(var(--card-angle)); transition: transform .25s ease, box-shadow .25s ease; }
.polaroidCard:hover { z-index: 2; box-shadow: 0 16px 34px rgb(69 54 29 / 22%); transform: rotate(0deg) translateY(-5px); }
.polaroidCard > a { display: block; }
.galleryLightboxTrigger { position: relative; display: block; width: 100%; padding: 0; border: 0; color: inherit; background: transparent; cursor: zoom-in; }
.polaroidPhoto { overflow: hidden; background: #e6e1d8; }
.polaroidPhoto img { width: 100%; aspect-ratio: 1 / .82; object-fit: cover; transition: transform .35s ease; }
.polaroidCard:hover .polaroidPhoto img { transform: scale(1.025); }
.polaroidCard p { min-height: 3.2em; margin: 14px 6px 8px; color: #292722; font-size: 14px; line-height: 1.6; }
.galleryCardInfo { display: block; }
.galleryDetailButton { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin: 16px 5px 0; padding: 5px 6px 5px 17px; border: 1px solid rgb(209 15 19 / 35%); border-radius: 999px; color: var(--red); background: #fff; transition: color .2s, background .2s, border-color .2s; }
.galleryDetailButton b { font-size: 12px; letter-spacing: .06em; }
.galleryDetailButton i { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: #fff; background: var(--red); font-size: 14px; font-style: normal; transition: transform .2s; }
.galleryCardInfo:hover .galleryDetailButton { border-color: var(--red); color: #fff; background: var(--red); }
.galleryCardInfo:hover .galleryDetailButton i { color: var(--red); background: #fff; transform: translateX(2px); }
.galleryExploreCard { display: flex; width: clamp(220px, 23vw, 292px); min-height: 320px; flex: 0 0 auto; padding: 34px 30px; flex-direction: column; justify-content: center; align-self: stretch; color: #fff; background: var(--red); box-shadow: 0 15px 30px rgb(69 54 29 / 16%); }
.galleryExploreCard small { margin-bottom: 18px; font: 700 11px/1 Arial, sans-serif; letter-spacing: .16em; }
.galleryExploreCard strong { font-size: clamp(23px, 2.2vw, 30px); line-height: 1.45; }
.galleryExploreCard span { display: flex; align-items: center; justify-content: space-between; margin-top: 45px; padding-top: 15px; border-top: 1px solid rgb(255 255 255 / 50%); font-size: 14px; font-weight: 700; }
.galleryExploreCard i { font-size: 22px; font-style: normal; transition: transform .2s; }
.galleryExploreCard:hover i { transform: translateX(6px); }
.polaroidTags { display: flex; flex-wrap: wrap; gap: 5px 9px; margin: 0 6px; color: var(--red); font-size: 12px; font-weight: 700; }
.galleryEmpty { padding: 35px; background: #fff; text-align: center; }
.galleryArchive { min-height: 70vh; padding: 85px 0 120px; }
.specialArchiveTitle { margin-bottom: 55px; }
.galleryAlbumGrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 38px 25px; align-items: start; }
.galleryAlbumGrid .polaroidCard { width: auto; }
.galleryArchive .navigation, .hitokotoArchive .navigation { margin-top: 65px; }
.gallerySingle { padding: 85px 0 120px; }
.gallerySingleWrap { width: min(920px, calc(100% - 48px)); }
.gallerySingle h1 { margin: 8px 0 10px; font-size: clamp(30px, 4vw, 48px); }
.gallerySingle time { color: #777; font-size: 13px; }
.gallerySingle figure { margin: 38px 0 30px; padding: 18px 18px 46px; background: #fff; box-shadow: 0 14px 38px rgb(69 54 29 / 15%); }
.gallerySingle figure img { width: 100%; max-height: 760px; object-fit: contain; background: #eeeae2; }
.gallerySingleZoom { width: 100%; }
.galleryLightbox[hidden] { display: none; }
.galleryLightbox { position: fixed; z-index: 10000; inset: 0; display: grid; padding: 65px 24px 24px; place-items: center; background: rgb(0 0 0 / 91%); }
.galleryLightboxCanvas { width: 100%; height: 100%; }
.galleryLightbox img { display: block; width: 100%; height: 100%; object-fit: contain; }
.galleryLightboxClose { position: absolute; z-index: 2; top: 14px; right: 18px; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #ffffff88; border-radius: 50%; color: #fff; background: #111; font-size: 29px; line-height: 1; cursor: pointer; }
body.lightboxOpen { overflow: hidden; }
.gallerySingleComment { padding: 28px 32px; background: #fff; font-size: 16px; line-height: 2; }
.gallerySingleTags, .hitokotoTags { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 20px; color: var(--red); font-size: 14px; font-weight: 700; }
.galleryBack { display: inline-block; margin-top: 42px; font-weight: 800; }
.hitokotoArchive { min-height: 70vh; padding: 85px 0 120px; background: #f6f6f4; }
.hitokotoWrap { width: min(760px, calc(100% - 48px)); }
.hitokotoTimeline { display: grid; gap: 16px; }
.hitokotoPost { padding: 24px 26px; border: 1px solid #ddd; background: #fff; }
.hitokotoPost header { display: flex; align-items: center; gap: 12px; }
.hitokotoMark { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 50%; color: #fff; background: #111; font-size: 13px; font-weight: 900; }
.hitokotoPost header > div { display: grid; gap: 2px; }
.hitokotoPost .hitokotoMeta { display: block; padding-bottom: 13px; border-bottom: 1px solid #e5e5e5; }
.hitokotoPost time { color: #777; font-size: 12px; }
.hitokotoBody { margin-top: 18px; font-size: 16px; line-height: 1.9; }
.hitokotoBody > :first-child { margin-top: 0; }
.hitokotoBody > :last-child { margin-bottom: 0; }
.hitokotoImage { display: block; overflow: hidden; margin-top: 18px; border-radius: 8px; }
.hitokotoImage img { max-height: 560px; object-fit: cover; }
.hitokotoGoodRow { display: flex; justify-content: flex-end; margin-top: 20px; padding-top: 17px; border-top: 1px solid #eee; }
.hitokotoGood { display: inline-flex; min-width: 118px; min-height: 46px; padding: 7px 15px; align-items: center; justify-content: center; gap: 8px; border: 1px solid #d10f13; border-radius: 999px; color: #d10f13; background: #fff; font: inherit; cursor: pointer; transition: color .2s, background .2s, transform .2s; }
.hitokotoGood span { font-size: 19px; line-height: 1; }
.hitokotoGood em { font-size: 12px; font-style: normal; font-weight: 800; letter-spacing: .08em; }
.hitokotoGood b { display: grid; min-width: 24px; height: 24px; padding: 0 6px; place-items: center; border-radius: 999px; color: #fff; background: #d10f13; font-size: 11px; }
.hitokotoGood:hover { color: #fff; background: #d10f13; transform: translateY(-2px); }
.hitokotoGood:hover b { color: #d10f13; background: #fff; }
.hitokotoGood.is-liked { color: #fff; background: #d10f13; cursor: default; opacity: 1; }
.hitokotoGood.is-liked b { color: #d10f13; background: #fff; }
.hitokotoGood.has-error { animation: hitokotoGoodError .22s linear 3; }
@keyframes hitokotoGoodError { 50% { translate: 3px 0; } }
.hitokotoSinglePost { margin-top: 20px; }

@media (max-width: 980px) {
  .galleryAlbumGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .homeGallery { padding: 65px 0 75px; }
  .galleryWord { top: 18px; right: -4px; font-size: 72px; }
  .homeGalleryHeading { align-items: start; flex-direction: column; width: calc(100% - 32px); margin-bottom: 24px; }
  .galleryRailGroup { gap: 17px; padding: 0 9px; }
  .galleryRailGroup:first-child { padding-left: 9px; }
  .polaroidCard { width: 220px; padding: 9px 9px 17px; }
  .galleryArchive, .gallerySingle, .hitokotoArchive { padding: 58px 0 85px; }
  .galleryAlbumGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 12px; }
  .galleryAlbumGrid .polaroidCard { padding: 7px 7px 14px; }
  .galleryAlbumGrid .polaroidCard p { min-height: 0; margin: 10px 3px 6px; font-size: 12px; }
  .galleryAlbumGrid .polaroidTags { margin-inline: 3px; font-size: 10px; }
  .specialArchiveTitle { margin-bottom: 38px; }
  .gallerySingleWrap, .hitokotoWrap { width: calc(100% - 32px); }
  .gallerySingle figure { margin: 28px 0 20px; padding: 10px 10px 30px; }
  .gallerySingleComment { padding: 22px 20px; font-size: 15px; }
  .hitokotoPost { padding: 20px 18px; }
  .hitokotoBody { font-size: 15px; }
  .hitokotoGood { min-width: 126px; min-height: 48px; }
}

/* Give the homepage more breathing room on phones. */
@media (max-width: 760px) {
  body.home .about { padding: 76px 0 94px; }
  body.home .about h2 { margin: 20px 0 28px; line-height: 1.6; }
  body.home .aboutIn > div > p:not(.eyebrow) { margin: 0 0 25px; line-height: 1.95; }
  body.home .about .topCtaButton { margin-top: 14px; }
  body.home .homeGallery { padding: 82px 0 96px; }
  body.home .galleryWord { top: 23px; right: 0; font-size: 58px; }
  body.home .homeGalleryHeading { gap: 24px; margin-bottom: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .polaroidCard, .polaroidPhoto img { transition: none; }
  .galleryRailGroup > * { animation: none; }
}

/* Refined garage editorial styling. The original logo and layout stay intact. */
body.home { background: #f8f7f3; }
body.home .header { border-bottom: 1px solid rgb(17 17 17 / 7%); }
body.home .hero .shade {
  background:
    linear-gradient(90deg, rgb(8 8 8 / 88%) 0%, rgb(8 8 8 / 57%) 39%, rgb(8 8 8 / 5%) 72%),
    linear-gradient(0deg, rgb(0 0 0 / 28%) 0%, transparent 38%);
}
body.home .heroCopy .eyebrow { display: flex; align-items: center; gap: 14px; font-size: 11px; }
body.home .heroCopy .eyebrow::before { width: 44px; height: 2px; content: ""; background: var(--red); }
body.home .hero h1 { max-width: 760px; letter-spacing: .025em; text-shadow: 0 4px 28px rgb(0 0 0 / 38%); }
body.home .heroCopy > p:not(.eyebrow) { font-size: 16px; text-shadow: 0 2px 14px rgb(0 0 0 / 42%); }
body.home .heroCopy .btn { border-radius: 999px; font-size: 14px; box-shadow: 0 10px 30px rgb(0 0 0 / 18%); }
body.home .heroCopy .btn span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: rgb(255 255 255 / 17%); }
body.home .eyebrow { font-size: 11px; letter-spacing: .25em; }
body.home .heading h2,
body.home .center h2,
body.home .homeGalleryHeading h2 { position: relative; letter-spacing: .035em; }
body.home .heading h2::after,
body.home .center h2::after,
body.home .homeGalleryHeading h2::after { display: block; width: 48px; height: 3px; margin-top: 15px; content: ""; background: var(--red); }
body.home .center h2::after { margin-inline: auto; }
body.home .sectionLink,
body.home .topCtaButton { min-height: 54px; padding: 0 12px 0 25px; border-radius: 999px; gap: 18px; font-size: 13px; box-shadow: 0 8px 22px rgb(209 15 19 / 16%); }
body.home .sectionLink span,
body.home .topCtaButton span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: var(--red); background: #fff; }
body.home #stock { position: relative; }
body.home #stock::before { position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); content: ""; background: #fff; }
body.home .autoCars { gap: 22px; padding: 8px 4px 32px; }
body.home .autoCars .car { overflow: hidden; border: 0; border-radius: 8px; background: #fff; box-shadow: 0 12px 34px rgb(25 22 16 / 9%); transition: transform .28s ease, box-shadow .28s ease; }
body.home .autoCars .car:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgb(25 22 16 / 14%); }
body.home .autoCars .stockPhoto img { transition: transform .5s ease; }
body.home .autoCars .car:hover .stockPhoto img { transform: scale(1.04); }
body.home .autoCars .carBody { padding: 22px; }
body.home .autoCars .carBody > small { font-size: 10px; letter-spacing: .15em; }
body.home .autoCars .carBody h3 { margin-block: 10px 20px; font-size: 16px; line-height: 1.55; }
body.home .autoCars .car dl { font-size: 12px; }
body.home .autoCars .carBody > a { display: flex; justify-content: space-between; padding-top: 15px; border-top: 1px solid #e5e2dc; color: var(--red); font-size: 13px; font-weight: 800; }
body.home .topNews .newsCards a { border-radius: 7px !important; box-shadow: 0 9px 25px rgb(25 22 16 / 5%) !important; transition: transform .25s ease, box-shadow .25s ease; }
body.home .topNews .newsCards a:hover { transform: translateX(5px) !important; box-shadow: 0 14px 32px rgb(25 22 16 / 10%) !important; }
body.home .about { background: linear-gradient(120deg, #eeece5 0%, #f8f7f3 62%, #ebe8df 100%); }
body.home .about figure { overflow: hidden; border-radius: 48% 8px 8px 48% / 50% 8px 8px 50%; box-shadow: -28px 30px 0 rgb(209 15 19 / 7%), 0 22px 48px rgb(25 22 16 / 12%); }
body.home .aboutIn > div > p:not(.eyebrow) { max-width: 560px; color: #494740; font-size: 15px; }
body.home .serviceSection .services article { overflow: hidden; border: 0; border-radius: 8px; box-shadow: 0 12px 34px rgb(25 22 16 / 8%); }
body.home .partsCustomIn { box-shadow: 0 18px 50px rgb(0 0 0 / 12%); }
body.home .homeGallery { background: linear-gradient(135deg, #f0eadf, #faf7f0 55%, #ebe4d7); }
body.home .polaroidCard { border-radius: 3px; box-shadow: 0 15px 30px rgb(69 54 29 / 16%); }

@media (max-width: 760px) {
  body.home .heroCopy .eyebrow::before { width: 28px; }
  body.home .heroCopy > p:not(.eyebrow) { font-size: 15px; }
  body.home .heroCopy .btn { font-size: 13px; }
  body.home .heading h2::after,
  body.home .center h2::after,
  body.home .homeGalleryHeading h2::after { width: 36px; margin-top: 10px; }
  body.home .sectionLink,
  body.home .topCtaButton { min-height: 44px; padding-left: 17px; gap: 11px; font-size: 11px; }
  body.home .sectionLink span,
  body.home .topCtaButton span { width: 28px; height: 28px; }
  body.home .autoCars { gap: 16px; }
  body.home .autoCars .carBody { padding: 18px; }
  body.home .about figure { border-radius: 26% 4px 4px 26% / 35% 4px 4px 35%; }
}

/* Car-shaped page-top link. */
.copy .pageTopLink { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 4px 2px 5px; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.copy .pageTopLink::after { position: absolute; right: 0; bottom: 2px; width: 100%; height: 1px; content: ""; background: linear-gradient(90deg, transparent, #777 20%, #777 80%, transparent); }
.pageTopCar { width: 52px; height: auto; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.pageTopCar circle { fill: #111; stroke: #fff; }
.pageTopCar .carAccentLine { stroke: var(--red); stroke-width: 3; }
.copy .pageTopLink b { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; color: #111; background: #fff; font-size: 13px; transition: color .2s, background .2s, transform .2s; }
.copy .pageTopLink:hover .pageTopCar { transform: translateX(7px); }
.copy .pageTopLink:hover b { color: #fff; background: var(--red); transform: translateY(-2px); }
@media (max-width: 760px) {
  .copy .pageTopLink { font-size: 10px; }
  .pageTopCar { width: 45px; }
}

/* Owner's blog archive: readable text list without thumbnails. */
.ownersBlogArchive { background: #f5f4f0; }
.ownersBlogList { border-top: 1px solid #ccc; }
.ownersBlogList article { display: grid; grid-template-columns: 130px minmax(0, 1fr) 46px; gap: 30px; align-items: center; padding: 30px 22px; border-bottom: 1px solid #ccc; background: #fff; transition: transform .2s, box-shadow .2s; }
.ownersBlogList article:hover { position: relative; z-index: 1; transform: translateX(5px); box-shadow: 0 12px 28px rgb(0 0 0 / 7%); }
.ownersBlogList time { color: #777; font-size: 13px; letter-spacing: .06em; }
.ownersBlogList h2 { margin: 0 0 8px; font-size: 21px; line-height: 1.55; }
.ownersBlogList p { margin: 0; color: #555; font-size: 14px; line-height: 1.8; }
.ownersBlogMore { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff; background: var(--red); font-weight: 800; }
@media (max-width: 760px) {
  .ownersBlogList article { grid-template-columns: 1fr 38px; gap: 10px 16px; padding: 23px 18px; }
  .ownersBlogList time { grid-column: 1 / -1; }
  .ownersBlogList h2 { font-size: 18px; }
  .ownersBlogList p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  body.home .homeGallery { padding: 82px 0 96px; }
  body.home .galleryWord { top: 23px; right: 0; font-size: 58px; }
}
/* WordPress archive pagination */
.navigation.pagination {
  margin: 48px auto 20px;
  text-align: center;
}

.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 8px 15px;
  border: 2px solid #d90d12;
  border-radius: 4px;
  background: #d90d12;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.navigation.pagination a.page-numbers:hover,
.navigation.pagination a.page-numbers:focus-visible,
.navigation.pagination .page-numbers.current {
  border-color: #8f0004;
  background: #8f0004;
  color: #fff;
}

.navigation.pagination a.page-numbers:hover {
  transform: translateY(-2px);
}

.navigation.pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  color: #d90d12;
}

@media (max-width: 767px) {
  .navigation.pagination {
    margin-top: 36px;
  }

  .navigation.pagination .nav-links {
    gap: 7px;
  }

  .navigation.pagination .page-numbers {
    min-width: 46px;
    min-height: 46px;
    padding: 7px 11px;
    font-size: 16px;
  }
}
