:root {
  --navy: #06235c;
  --blue: #0b5ea8;
  --sky: #eaf5ff;
  --orange: #f36b1d;
  --orange-dark: #d94f0b;
  --green: #43a047;
  --rose: #df476c;
  --ink: #172033;
  --muted: #657084;
  --line: #d9e2ed;
  --paper: #ffffff;
  --soft: #f6f9fc;
  --shadow: 0 20px 45px rgba(13, 35, 78, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  min-height: 88px;
  padding: 12px 54px;
  background: #fff;
  border-bottom: 1px solid rgba(217, 226, 237, 0.82);
  box-shadow: 0 8px 24px rgba(13, 35, 78, 0.06);
}

.brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  line-height: 1;
  min-width: 180px;
}

.brand-logo {
  width: 158px;
  height: auto;
}

.brand-sub {
  display: none;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 44px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.nav a {
  padding: 10px 0;
}

.nav a:hover {
  color: var(--orange);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
}

.header-cta {
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  color: #fff;
  background: var(--orange);
  box-shadow: 0 12px 24px rgba(243, 107, 29, 0.24);
}

.header-cta span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--orange);
  background: #fff;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
}

.header-cta.line-header-cta {
  min-height: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.header-cta.line-header-cta img {
  width: 190px;
  height: auto;
  max-width: none;
}

.menu-toggle {
  display: none;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #111;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  overflow: hidden;
  transition: opacity 0.18s ease;
}

.menu-toggle span {
  display: block;
  position: relative;
  z-index: 1;
  width: 34px;
  height: 3px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 468px;
  overflow: hidden;
  padding: 42px 42px 110px;
  background: #eef8ff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.98) 30%, rgba(255, 255, 255, 0.82) 43%, rgba(255, 255, 255, 0.18) 63%, rgba(255, 255, 255, 0) 82%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.38));
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.repair-copy h2,
.contact h2 {
  margin: 0;
  color: var(--navy);
  line-height: 1.18;
}

.hero h1 {
  font-size: 45px;
}

.hero h1 .accent {
  color: var(--orange);
}

.lead {
  margin: 18px 0 0;
  color: #33415c;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-actions svg {
  width: 21px;
  height: 21px;
  margin-right: 8px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button.primary {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 14px 26px rgba(243, 107, 29, 0.24);
}

.button.secondary {
  color: #fff;
  background: var(--navy);
  border: 2px solid var(--navy);
}

.button.line {
  color: #fff;
  background: #06a94d;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
}

.hero-stats div {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-stats dt {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.hero-visual {
  position: absolute;
  inset: 0 0 0 34%;
  z-index: 0;
  min-height: 100%;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.hero-visual img,
.hero-visual video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 44%;
}

.hero-visual video {
  pointer-events: none;
}

.budget-tag {
  display: none;
  position: absolute;
  left: 22px;
  right: auto;
  bottom: 22px;
  display: grid;
  gap: 4px;
  width: 300px;
  padding: 18px 20px;
  color: var(--navy);
  background: #fff;
  border: 2px solid rgba(6, 35, 92, 0.2);
  border-radius: 8px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.14);
}

.budget-tag span {
  width: fit-content;
  padding: 4px 10px;
  color: #fff;
  background: var(--navy);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
}

.budget-tag strong {
  color: var(--orange);
  font-size: 28px;
  line-height: 1;
}

.budget-tag small {
  font-size: 15px;
  font-weight: 800;
}

.promise-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(100% - 48px, 1440px);
  max-width: none;
  margin: -36px auto 0;
  padding: 0 0 34px;
  transform: none;
}

.promise-strip article {
  display: block;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(13, 35, 78, 0.08);
}

.promise-strip article:first-child {
  border-radius: 8px;
}

.promise-strip article:last-child {
  border-radius: 8px;
}

.promise-banner img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #e9f4ff;
}

.icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: var(--navy);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.icon-blue {
  background: #e9f4ff;
}

.icon-orange {
  background: #e9f4ff;
}

.icon-green {
  background: #e9f4ff;
}

.icon-rose {
  background: #e9f4ff;
}

.promise-strip h2,
.recommend-card h3,
.stock-item h3,
.flow-list h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.35;
}

.promise-strip h2 {
  font-size: 16px;
}

.promise-strip p,
.recommend-card p,
.stock-item p,
.repair-copy p,
.flow-list p,
.contact p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.promise-strip p {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.55;
}

.section {
  padding: 86px 44px;
}

.section-heading {
  max-width: 1180px;
  margin: 0 auto 28px;
}

.section-heading h2,
.repair-copy h2,
.contact h2 {
  font-size: 34px;
}

.recommend {
  background: var(--soft);
}

.recommend-grid,
.stock-layout,
.flow-list {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
}

.recommend-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1320px;
  align-items: start;
}

.recommend-card,
.stock-item,
.flow-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.recommend-card {
  min-height: 245px;
  padding: 24px;
}

.recommend-card.image-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(13, 35, 78, 0.08);
}

.recommend-card.image-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.image-card-copy {
  position: absolute;
  left: clamp(28px, 3.1vw, 44px);
  right: clamp(28px, 3.1vw, 44px);
  bottom: clamp(16px, 2.5vw, 34px);
  margin: 0;
  color: #40506a;
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 800;
  line-height: 1.75;
}

.round-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
}

.round-icon.blue {
  background: var(--blue);
}

.round-icon.green {
  background: var(--green);
}

.round-icon.rose {
  background: var(--rose);
}

.mascot-card {
  display: grid;
  grid-template-rows: 282px auto;
  overflow: hidden;
  padding: 0;
}

.mascot-card img {
  width: 100%;
  height: 282px;
  padding: 14px 10px 0;
  object-fit: contain;
  object-position: center bottom;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.mascot-card div {
  padding: 22px;
}

.stock {
  background: #fff;
}

.stock-layout {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stock-item {
  padding: 24px;
}

.stock-photo {
  aspect-ratio: 1024 / 400;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eaf2fb;
}

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

.car-plate {
  height: 118px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 78%, rgba(0, 0, 0, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  position: relative;
}

.car-plate::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 70%;
  height: 36px;
  transform: translateX(-50%);
  border-radius: 22px 22px 7px 7px;
  background: currentColor;
}

.car-plate::after {
  content: "";
  position: absolute;
  left: 23%;
  bottom: 18px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1c2535;
  box-shadow: 152px 0 0 #1c2535;
}

.car-plate.navy {
  color: var(--navy);
  background-color: #eaf2fb;
}

.car-plate.silver {
  color: #bac5cf;
  background-color: #eef3f6;
}

.car-plate.white {
  color: #fff;
  background-color: #dae8f4;
}

.stock-item strong {
  display: block;
  margin-top: 16px;
  color: var(--orange-dark);
  font-size: 18px;
}

.repair {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(360px, 1.1fr);
  gap: 44px;
  align-items: center;
  background: var(--navy);
}

.repair .eyebrow,
.repair-copy h2,
.repair-copy p {
  color: #fff;
}

.repair-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.repair-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.repair-list li {
  min-height: 82px;
  padding: 25px;
  color: var(--navy);
  background: #fff;
  border-left: 6px solid var(--orange);
  border-radius: 8px;
  font-size: 18px;
  font-weight: 900;
}

.flow {
  background: var(--soft);
}

.flow-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1500px;
  padding: 0;
  list-style: none;
}

.flow-list li {
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

.flow-image-list li {
  background: transparent;
  border: 0;
  box-shadow: 0 18px 38px rgba(13, 35, 78, 0.08);
}

.flow-image-list img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.flow-list span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 24px;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 54px 44px;
  color: #fff;
  background: #0a4d8b;
}

.contact .eyebrow,
.contact h2,
.contact p {
  color: #fff;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-image-cta {
  display: block;
  line-height: 0;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.contact-image-cta:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.contact-image-cta img {
  width: auto;
  height: 70px;
  max-width: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 44px;
  color: #d8e6f5;
  background: #061a42;
}

.footer p {
  margin: 0;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 520px;
    padding-right: 30px;
  }

  .hero-copy {
    max-width: 560px;
  }

  .hero-visual {
    left: 32%;
  }

  .recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .promise-strip article:first-child,
  .promise-strip article:last-child {
    border-radius: 8px;
  }

  .promise-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 40px, 920px);
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 66px;
    padding: 10px 20px;
    gap: 14px;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .brand-logo {
    width: 128px;
  }

  .brand-sub {
    font-size: 11px;
  }

  .header-cta {
    display: none;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px 20px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 28px rgba(13, 35, 78, 0.12);
  }

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

  .nav a {
    padding: 15px 4px;
    border-bottom: 1px solid rgba(217, 226, 237, 0.7);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
    padding: 30px 20px 74px;
    background: #eef8ff;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 50%, rgba(255, 255, 255, 0.2) 100%);
  }

  .hero-copy {
    max-width: none;
  }

  .hero h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-stats,
  .promise-strip,
  .recommend-grid,
  .stock-layout,
  .repair,
  .repair-list,
  .flow-list,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    position: relative;
    inset: auto;
    height: 280px;
    margin: 26px -20px -34px;
    border-radius: 0;
  }

  .hero-visual img,
  .hero-visual video {
    min-height: 280px;
    object-position: center 40%;
  }

  .budget-tag {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
  }

  .promise-strip {
    width: calc(100% - 40px);
    padding: 0;
    margin-top: -26px;
  }

  .recommend-grid {
    gap: 18px;
    max-width: 520px;
  }

  .image-card-copy {
    left: clamp(26px, 8vw, 44px);
    right: clamp(26px, 8vw, 44px);
    bottom: 20px;
    font-size: clamp(13px, 3.7vw, 15px);
    line-height: 1.7;
  }

  .promise-strip article {
    border-radius: 8px;
    border-right: 1px solid var(--line);
  }

  .section,
  .repair,
  .contact {
    padding: 58px 20px;
  }

  .section-heading h2,
  .repair-copy h2,
  .contact h2 {
    font-size: 28px;
  }

  .contact-actions,
  .footer {
    flex-direction: column;
  }

  .contact-image-cta img {
    height: auto;
    width: min(100%, 280px);
  }

  .footer {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .site-header {
    grid-template-columns: 1fr auto;
    justify-items: stretch;
  }

  .header-cta {
    width: 100%;
  }

  .hero h1 {
    font-size: 30px;
  }

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

  .promise-strip article {
    padding: 0;
  }

  .icon {
    width: 46px;
    height: 46px;
  }

  .icon svg {
    width: 24px;
    height: 24px;
  }

  .budget-tag strong {
    font-size: 24px;
  }

  .image-card-copy {
    bottom: 18px;
  }
}
