:root {
  --bg: #ffffff;
  --surface: #f4f7fa;
  --surface-strong: #e9eef4;
  --text: #111821;
  --muted: #5c6875;
  --line: #d9e0e8;
  --brand: #075fcf;
  --brand-dark: #064997;
  --accent: #e82832;
  --dark: #111923;
  --shadow: 0 20px 60px rgba(15, 35, 58, 0.12);
  --radius: 8px;
  --container: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    system-ui,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 74px;
  padding: 10px clamp(18px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 224, 232, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--accent);
  border-radius: 7px;
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.brand-name {
  font-family: Arial, "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  color: #28323d;
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a,
.mobile-nav a {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.phone-link svg,
.button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.phone-link {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(232, 40, 50, 0.22);
}

.phone-link:hover,
.button:hover {
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--dark);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: #151f2a;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("./assets/hero-garage.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 13, 20, 0.78) 0%, rgba(8, 13, 20, 0.5) 42%, rgba(8, 13, 20, 0.04) 100%),
    linear-gradient(180deg, rgba(8, 13, 20, 0.02) 55%, rgba(8, 13, 20, 0.25) 100%);
}

.hero-content {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 126px) 0 clamp(64px, 8vw, 96px);
  color: #fff;
}

.hero h1 {
  max-width: 720px;
  margin: 0 0 12px;
  font-family: Arial, "Noto Sans JP", sans-serif;
  font-size: clamp(48px, 7vw, 102px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 940px;
  margin: 0 0 18px;
  font-size: clamp(30px, 3.5vw, 52px);
  line-height: 1.22;
  font-weight: 900;
}

.hero-lead span {
  display: block;
}

.hero-lead .lead-desktop-inline {
  display: inline;
}

.hero-lead .lead-mobile-only {
  display: none;
}

.hero-copy {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 2;
  font-weight: 600;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 18px 38px rgba(7, 95, 207, 0.28);
}

.button-primary:hover {
  background: var(--brand-dark);
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.12);
}

.button-outline {
  color: var(--brand);
  border: 1px solid rgba(7, 95, 207, 0.28);
  background: #fff;
}

.section {
  padding: clamp(66px, 8vw, 112px) 0;
}

.section-heading {
  width: var(--container);
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2,
.message-copy h2,
.access-card h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
}

.section-heading p {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 500;
}

.worries {
  background: linear-gradient(180deg, #fff 0%, var(--surface) 100%);
}

.worry-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.worry-card {
  min-height: 220px;
  padding: 24px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(17, 25, 35, 0.05);
}

.worry-card h3,
.service-list h3,
.service-feature h3,
.flow-list h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 900;
}

.worry-card p,
.service-list p,
.service-feature p,
.flow-list p,
.message-copy p,
.site-footer p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  font-weight: 500;
}

.icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: var(--brand);
}

.icon::before {
  content: "";
  width: 42px;
  height: 42px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.icon::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 4px;
  background: currentColor;
  border-radius: 2px;
  transform: rotate(-28deg);
}

.shine::before {
  border-radius: 10px;
}

.glass::before {
  width: 46px;
  height: 30px;
  border-radius: 8px 8px 16px 16px;
  transform: skewX(-10deg);
}

.clean::before {
  width: 30px;
  height: 42px;
  border-radius: 18px 18px 6px 6px;
}

.services {
  background: #fff;
}

.service-layout {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.service-feature,
.service-list article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(17, 25, 35, 0.06);
}

.service-feature {
  display: grid;
  grid-template-rows: auto auto;
}

.service-feature img {
  width: 100%;
  height: 430px;
  min-height: 0;
  object-fit: cover;
}

.service-feature div,
.service-list article {
  padding: 22px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.service-list img,
.service-visual {
  width: 100%;
  height: 180px;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 16px;
}

.service-visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e9f2ff 0%, #f8fafc 48%, #cfd9e6 100%);
}

.service-visual::before,
.service-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.glass-visual::before {
  width: 70%;
  height: 34%;
  left: 14%;
  top: 30%;
  border: 6px solid rgba(7, 95, 207, 0.75);
  border-radius: 18px 18px 42px 42px;
  transform: skewX(-12deg);
}

.glass-visual::after {
  width: 32px;
  height: 32px;
  right: 29%;
  top: 41%;
  border: 4px solid var(--accent);
  border-radius: 50%;
}

.room-visual {
  background: linear-gradient(135deg, #18202b 0%, #485769 100%);
}

.room-visual::before {
  width: 78%;
  height: 40%;
  left: 11%;
  bottom: 18%;
  background: linear-gradient(135deg, #101820, #323f4d);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.room-visual::after {
  width: 44px;
  height: 44px;
  right: 18%;
  top: 20%;
  border: 5px solid rgba(255, 255, 255, 0.78);
}

.used-visual {
  background:
    linear-gradient(135deg, rgba(7, 95, 207, 0.2), rgba(255, 255, 255, 0.82)),
    repeating-linear-gradient(90deg, #f9fbfd 0 24px, #eef3f8 24px 48px);
}

.used-visual::before {
  width: 74%;
  height: 32%;
  left: 13%;
  bottom: 28%;
  background: #1b2734;
  border-radius: 44px 58px 14px 14px;
}

.used-visual::after {
  width: 72%;
  height: 16%;
  left: 14%;
  bottom: 25%;
  border: 5px solid #fff;
  border-top: 0;
}

.message-band {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
  padding: clamp(70px, 8vw, 116px) 0;
}

.message-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.message-copy p {
  font-size: 16px;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--brand);
  font-weight: 900;
  border-bottom: 2px solid currentColor;
}

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

.flow-list {
  width: var(--container);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.flow-list li {
  position: relative;
  min-height: 214px;
  padding: 24px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.flow-list span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
}

.access {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 20px;
  align-items: stretch;
  padding: clamp(70px, 8vw, 112px) 0;
}

.access-map {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.access-map img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.access-card {
  padding: clamp(28px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(17, 25, 35, 0.08);
}

.access-card dl {
  margin: 28px 0 0;
  display: grid;
  gap: 18px;
}

.access-card dl div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.access-card dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.access-card dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 800;
}

.access-card dd a {
  color: var(--brand);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 28px;
  align-items: end;
  padding: 44px clamp(20px, 5vw, 60px);
  color: #fff;
  background: var(--dark);
}

.footer-brand {
  display: block;
  color: #fff;
  font-family: Arial, "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.site-footer p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 800;
}

.site-footer small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

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

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    inset: 74px 12px auto;
    display: grid;
    gap: 2px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .mobile-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav a {
    padding: 14px;
    font-size: 15px;
    font-weight: 900;
  }

  .hero {
    min-height: 74svh;
  }

  .hero h1 {
    font-size: clamp(44px, 12vw, 76px);
  }

  .hero-lead {
    font-size: clamp(26px, 7vw, 44px);
  }

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

  .service-layout,
  .message-band,
  .access {
    grid-template-columns: 1fr;
  }

  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 1120px);
  }

  .site-header {
    min-height: 66px;
    padding: 9px 14px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  .brand-name {
    max-width: 118px;
    font-size: 16px;
    line-height: 1;
  }

  .phone-link {
    width: 44px;
    padding: 0;
  }

  .phone-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .mobile-nav {
    top: 66px;
  }

  .hero {
    min-height: 76svh;
    align-items: end;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(8, 13, 20, 0.12) 0%, rgba(8, 13, 20, 0.7) 44%, rgba(8, 13, 20, 0.9) 100%),
      linear-gradient(90deg, rgba(8, 13, 20, 0.5), rgba(8, 13, 20, 0.18));
  }

  .hero-bg {
    background-position: 62% center;
  }

  .hero-content {
    padding-top: 110px;
    padding-bottom: 42px;
  }

  .hero-lead .lead-desktop-inline {
    display: none;
  }

  .hero-lead .lead-mobile-only {
    display: block;
  }

  .hero-copy {
    font-size: 14px;
    line-height: 1.8;
  }

  .hero-cta,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading {
    text-align: left;
  }

  .worry-grid,
  .service-list,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .worry-card,
  .flow-list li {
    min-height: auto;
  }

  .service-feature img {
    height: 230px;
    min-height: 0;
    object-fit: cover;
  }

  .service-list img,
  .service-visual {
    height: 190px;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .message-image img {
    height: 240px;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .access-map img {
    height: 220px;
    min-height: 0;
    object-fit: cover;
  }

  .message-band {
    padding: 58px 0;
  }

  .access {
    padding: 58px 0;
  }

  .access-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
