:root {
  --c-bg: #ffffff;
  --c-surface: #f5f6f7;
  --c-border: #e2e5e8;
  --c-text: #1a1d20;
  --c-text-mut: #5b6167;
  --c-accent: #123a6b;
  --c-accent-ink: #ffffff;
  --c-cta: #c05216;
  --c-cta-ink: #ffffff;

  --f-base: system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  --fs-h1: clamp(1.6rem, 4vw, 2.4rem);
  --fs-h2: clamp(1.3rem, 3vw, 1.8rem);
  --fs-body: 1rem;
  --lh-body: 1.8;

  --wrap: 1080px;
  --wrap-narrow: 760px;
  --sect-py: clamp(48px, 8vw, 96px);
  --radius: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-base);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea,
a {
  overflow-wrap: anywhere;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  line-height: 1.4;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: 1.08rem; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 12px;
  transform: translateY(-150%);
  background: var(--c-bg);
  color: var(--c-accent);
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #2878c7;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.section { padding-block: var(--sect-py); }

.section-surface { background: var(--c-surface); }

.section-heading {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading-left {
  margin-inline: 0;
  text-align: left;
}

.section-heading h2 { margin-bottom: 12px; }

.section-heading > p:last-child,
.muted { color: var(--c-text-mut); }

.prose p:last-child { margin-bottom: 0; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: filter .2s ease, transform .2s ease;
}

button.button {
  width: 100%;
  cursor: pointer;
}

.button:hover {
  filter: brightness(.92);
  transform: translateY(-1px);
}

.button-small {
  min-height: 40px;
  padding: 8px 18px;
  font-size: .82rem;
}

.button-cta {
  background: var(--c-cta);
  color: var(--c-cta-ink);
}

.button-accent {
  background: var(--c-accent);
  color: var(--c-accent-ink);
}

.button-light {
  background: var(--c-bg);
  color: var(--c-accent);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, .8);
  background: rgba(11, 28, 49, .18);
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 64px;
  border-bottom: 1px solid var(--c-border);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 3px 14px rgba(26, 29, 32, .06);
}

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

.site-logo {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--c-text);
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}

.site-logo small {
  color: var(--c-text-mut);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.global-nav { display: none; }

.header-cta {
  flex-shrink: 0;
  white-space: nowrap;
}

.hero {
  position: relative;
  display: grid;
  min-height: 80vh;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -3;
  background: #5f6b78;
  object-fit: cover;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(11, 28, 49, .56), rgba(11, 28, 49, .28)),
    linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1));
}

.hero-inner {
  align-self: center;
  padding-block: 72px 88px;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(1.7rem, 5vw, 3rem);
  line-height: 1.4;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .18);
}

.hero-lead {
  max-width: 620px;
  font-size: .98rem;
}

.button-row {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.business-info {
  padding-block: 28px;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface);
}

.business-info-heading h2 { margin-bottom: 20px; }

.business-info-list,
.company-list,
.access-list,
.footer-hours {
  margin-bottom: 0;
}

.business-info-list {
  display: grid;
  gap: 10px;
}

.business-info-list > div {
  padding: 13px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg);
}

.business-info-list dt {
  color: var(--c-text-mut);
  font-size: .82rem;
  font-weight: 700;
}

.business-info-list dd {
  margin: 2px 0 0;
  font-size: 1rem;
  font-weight: 700;
}

.about-layout,
.contact-layout,
.news-layout {
  display: grid;
  gap: 32px;
}

.interview-placeholder {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg);
}

.interview-placeholder h3 { margin-bottom: 8px; }
.interview-placeholder p { margin-bottom: 0; color: var(--c-text-mut); }

.company-panel,
.contact-panel {
  padding: 24px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg);
}

.company-panel > h3,
.contact-panel > h3 {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border);
}

.company-list > div,
.access-list > div,
.footer-hours > div {
  display: grid;
  grid-template-columns: minmax(74px, .45fr) 1fr;
  gap: 14px;
  padding-block: 12px;
  border-bottom: 1px solid var(--c-border);
}

.company-list dt,
.access-list dt,
.footer-hours dt {
  font-size: .83rem;
  font-weight: 700;
}

.company-list dd,
.access-list dd,
.footer-hours dd { margin: 0; }

.notice-box {
  margin-top: 48px;
  padding: 18px 20px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg);
  color: var(--c-text-mut);
  font-size: .82rem;
}

.notice-box strong { color: var(--c-accent); }
.notice-box p { margin: 4px 0 0; }

.service-grid,
.vehicle-grid { display: grid; gap: 16px; }

.service-card,
.vehicle-card {
  overflow: hidden;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg);
}

.service-card { padding: 24px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { margin-bottom: 0; color: var(--c-text-mut); font-size: .92rem; }

.service-icon-circle {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--c-accent);
}

.service-icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--c-accent-ink);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vehicle-card { position: relative; }

.vehicle-image-placeholder {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 10;
  place-items: center;
  background: var(--c-surface);
  color: var(--c-text-mut);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
}

.vehicle-badge,
.badge {
  width: fit-content;
  padding: 2px 9px;
  border-radius: 999px;
  background: #e8eef5;
  color: var(--c-accent);
  font-size: .68rem;
  font-weight: 700;
}

.vehicle-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.vehicle-body { position: relative; padding: 18px 20px 20px; }
.vehicle-body h3 { margin-bottom: 6px; padding-right: 32px; }

.vehicle-meta {
  margin-bottom: 8px;
  color: var(--c-text-mut);
  font-size: .78rem;
}

.vehicle-meta span { margin-inline: 5px; color: var(--c-border); }

.vehicle-price {
  margin-bottom: 0;
  color: var(--c-text);
  font-size: 1.4rem;
  font-weight: 750;
  line-height: 1.25;
}

.vehicle-price small { margin-left: 3px; font-size: .75rem; }

.vehicle-favorite {
  position: absolute;
  right: 20px;
  bottom: 20px;
  color: var(--c-accent);
  font-size: 1.65rem;
  line-height: 1;
}

.section-action {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--c-border);
  text-align: center;
}

.section-action p { color: var(--c-text-mut); }

.news-list { border-top: 1px solid var(--c-border); }

.news-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--c-border);
}

.news-list time { color: var(--c-text-mut); font-size: .84rem; }
.news-list h3 { grid-column: 1 / -1; margin: 4px 0 0; font-size: .95rem; }
.news-list a { text-decoration-color: var(--c-border); text-underline-offset: 5px; }

.recruit-banner {
  padding-block: var(--sect-py);
  background: var(--c-accent);
  color: var(--c-accent-ink);
  text-align: center;
}

.recruit-inner { display: grid; gap: 24px; }
.recruit-inner h2 { margin-bottom: 12px; }
.recruit-inner p:last-child { margin-bottom: 0; color: rgba(255, 255, 255, .86); }
.recruit-inner .button { width: 100%; }

.map-embed {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  aspect-ratio: 16 / 10;
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.access-list { margin-bottom: 0; }

.form-note { margin-bottom: 20px; color: var(--c-text-mut); font-size: .85rem; }
.form-note span { display: block; }

.contact-phone-hours {
  margin-top: 16px;
  margin-bottom: 0;
}

/* お客様対応は電話のみ（メール・フォームでのやり取りは行わない方針）。
   電話番号を大きく表示し、モバイルではタップでそのまま発信できる tel: リンクにする */
.contact-phone-link {
  display: flex;
  width: 100%;
  min-height: 72px;
  align-items: center;
  justify-content: center;
}

.contact-phone-number {
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: .02em;
}

.site-footer {
  padding-top: 52px;
  background: #101820;
  color: #bdc4ca;
}

.footer-grid { display: grid; gap: 36px; }

.footer-logo { margin-bottom: 14px; color: #e8ebee; font-weight: 700; }

.footer-logo small {
  display: block;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.site-footer address { font-size: .82rem; font-style: normal; }
.site-footer h2 { margin-bottom: 8px; color: #e8ebee; font-size: .9rem; }

.footer-hours > div {
  grid-template-columns: 72px 1fr;
  border-color: rgba(232, 235, 238, .16);
  font-size: .75rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  font-size: .8rem;
}

.footer-nav a { text-underline-offset: 4px; }

.footer-bottom {
  margin-top: 42px;
  padding-block: 18px;
  border-top: 1px solid rgba(232, 235, 238, .16);
}

.footer-bottom p { margin: 0; }

@media (min-width: 768px) {
  .wrap { width: min(100% - 64px, var(--wrap)); }

  .global-nav {
    display: flex;
    align-items: center;
    gap: clamp(6px, 1vw, 18px);
    font-size: .72rem;
    font-weight: 700;
  }

  .global-nav a { text-decoration: none; }
  .global-nav a:hover { color: var(--c-accent); text-decoration: underline; text-underline-offset: 5px; }
  .button-row { display: flex; flex-wrap: wrap; }
  .hero { min-height: 70vh; }
  .hero-buttons .button { min-width: 210px; }

  .business-info-inner {
    display: grid;
    grid-template-columns: minmax(170px, .65fr) 2fr;
    align-items: center;
    gap: 36px;
  }

  .business-info-heading h2 { margin-bottom: 0; }
  .business-info-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .business-info-list > div { min-height: 100%; padding: 16px 18px; }
  .business-info-list dd { margin-top: 4px; }

  .about-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    align-items: start;
    gap: clamp(40px, 7vw, 80px);
  }

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

  .news-layout {
    grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
    gap: clamp(40px, 7vw, 80px);
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr);
    align-items: start;
    gap: clamp(32px, 6vw, 64px);
  }

  button.button { width: auto; min-width: 220px; }

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

@media (min-width: 960px) {
  .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 360px) {
  .wrap { width: min(100% - 28px, var(--wrap)); }
  .company-panel,
  .contact-panel,
  .service-card { padding: 18px; }
  .footer-nav { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .button,
  form { display: none !important; }

  .hero { min-height: auto; color: var(--c-text); }
  .hero-image,
  .hero-overlay { display: none; }
  .recruit-banner { background: #fff; color: var(--c-text); }
  .section,
  .hero-inner { padding-block: 24px; }
}
