/* 自動車整備 業種別見本A（鋼色ネイビー基調） */
:root {
  --base: #f6f7f8;
  --surface: #ffffff;
  --alt: #e9edf1;
  --ink: #20262e;
  --main: #16324a;
  --accent: #6d5510;
  --line: #ccd4dc;
  --cta: #9e3b26;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}
* { box-sizing: border-box; }
html { font-size: 16px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); line-height: 1.9; letter-spacing: 0.02em; background: var(--base); font-size: 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--main); }
.sample-banner { background: #333a42; color: #f2f4f6; font-size: 0.8rem; text-align: center; padding: 7px 12px; letter-spacing: 0.04em; }
header { background: var(--surface); border-bottom: 3px solid var(--main); padding: 16px 16px 10px; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 1080px; margin: 0 auto; }
header .logo { font-size: 1.4rem; font-weight: 800; letter-spacing: 0.06em; margin: 0; }
header .logo a { color: var(--main); text-decoration: none; }
header .logo small { display: block; font-size: 0.62rem; letter-spacing: 0.3em; color: var(--accent); font-weight: 700; }
.header-cta { margin: 0; }
.header-cta a { display: inline-flex; align-items: center; min-height: 48px; border: 2px solid var(--main); color: var(--main); font-weight: bold; padding: 8px 18px; border-radius: 4px; text-decoration: none; white-space: nowrap; background: var(--surface); }
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 12px auto 4px; padding: 0; max-width: 1080px; }
nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 700; }
nav a:hover { color: var(--cta); text-decoration: underline; }
.hero { position: relative; color: #fff; text-align: center; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,32,46,0.52), rgba(16,32,46,0.78)); }
.hero-inner { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 13vh 20px 11vh; }
.hero-en { letter-spacing: 0.4em; font-size: 0.75rem; font-weight: 700; color: #ffd9a0; margin: 0 0 14px; }
.hero h1 { font-size: 2.4rem; font-weight: 800; letter-spacing: 0.06em; margin: 0 0 10px; border: none; line-height: 1.4; }
.hero-concept { font-size: 1.55rem; font-weight: 800; letter-spacing: 0.04em; margin: 10px 0 18px; line-height: 1.6; }
.hero-facts { font-size: 0.95rem; color: #eef2f5; margin: 0 0 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 26px; padding: 0; list-style: none; }
.hero-badges li { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.65); border-radius: 999px; padding: 4px 16px; font-size: 0.9rem; font-weight: 700; }
.hero-actions { margin: 0; }
.photo-note { font-size: 0.75rem; color: #d7dee4; margin: 26px 0 0; }
.page-hero { position: relative; color: #fff; overflow: hidden; }
.page-hero img { width: 100%; height: 240px; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(16,32,46,0.55); }
.page-hero-inner { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 16px; }
.page-hero .sec-label { color: #ffd9a0; }
.page-hero h1 { font-size: 1.9rem; font-weight: 800; letter-spacing: 0.08em; margin: 0; border: none; color: #fff; }
main { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
section.block { padding: 80px 0; }
section.block.alt { background: var(--alt); margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding-left: calc(50vw - 50%); padding-right: calc(50vw - 50%); }
.sec-label { text-transform: uppercase; letter-spacing: 0.35em; font-size: 0.72rem; font-weight: 700; color: var(--accent); text-align: center; margin: 0 0 10px; }
h1 { font-size: 1.8rem; }
h2.sec-title { font-size: 1.65rem; font-weight: 800; letter-spacing: 0.04em; color: var(--main); text-align: center; margin: 0 0 14px; line-height: 1.5; }
.sec-rule { width: 48px; border: none; border-top: 3px solid var(--cta); margin: 0 auto 36px; }
.lead-center { text-align: center; max-width: 740px; margin: 0 auto 36px; }
.center { text-align: center; }
.concept-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.concept-grid img { border-radius: 6px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.concept-grid p { margin: 0 0 1em; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid.two { grid-template-columns: 1fr 1fr; }
.menu-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.menu-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.menu-card-body { padding: 18px 20px 20px; }
.menu-card h3 { font-size: 1.12rem; font-weight: 800; margin: 0 0 6px; color: var(--main); }
.menu-card p { margin: 0 0 10px; font-size: 0.95rem; }
.menu-meta { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 10px; gap: 8px; }
.menu-time { font-size: 0.85rem; color: #48525e; }
.menu-price { font-size: 1.12rem; font-weight: 800; color: var(--main); white-space: nowrap; }
.staff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.staff-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.staff-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.staff-body { padding: 20px 22px 22px; }
.staff-body h3 { font-size: 1.25rem; font-weight: 800; margin: 0 0 2px; color: var(--main); }
.staff-role { font-size: 0.85rem; color: var(--accent); font-weight: 700; letter-spacing: 0.12em; margin: 0 0 10px; }
.tag { display: inline-block; border: 1px solid var(--accent); color: var(--main); border-radius: 999px; font-size: 0.8rem; padding: 1px 10px; margin: 0 6px 8px 0; }
.staff-comment { border-left: 3px solid var(--cta); padding-left: 12px; margin: 12px 0 0; }
.flow { list-style: none; counter-reset: step; margin: 0 auto; padding: 0; max-width: 820px; }
.flow li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px 16px 74px; margin: 0 0 12px; position: relative; }
.flow li::before { content: counter(step); position: absolute; left: 20px; top: 16px; width: 38px; height: 38px; border-radius: 50%; background: var(--main); color: #fff; font-size: 1.05rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.flow b { color: var(--main); }
.flow p { margin: 2px 0 0; font-size: 0.95rem; }
.info-box { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 8px; padding: 20px 24px; max-width: 820px; margin: 0 auto 20px; }
.info-box h3 { color: var(--main); margin: 0 0 8px; font-size: 1.1rem; }
.info-box p { margin: 0 0 6px; font-size: 0.95rem; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 24px; max-width: 820px; margin: 0 auto; }
.faq dt { font-weight: bold; color: var(--main); margin-top: 14px; }
.faq dd { margin: 4px 0 14px; }
table { border-collapse: collapse; width: 100%; margin: 12px 0; background: var(--surface); }
th, td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
th { background: var(--alt); width: 32%; font-weight: bold; color: var(--main); }
td.price, th.price-h { text-align: right; white-space: nowrap; font-weight: bold; color: var(--main); width: auto; }
.access-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
.access-grid img { border-radius: 6px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; background: var(--surface); border: 2px solid var(--main); color: var(--main); padding: 11px 26px; border-radius: 4px; text-decoration: none; margin: 6px 6px 6px 0; font-weight: bold; }
.btn-main { background: var(--cta); border-color: var(--cta); color: #fff; }
.btn-ghost { background: transparent; border: 2px solid #fff; color: #fff; }
.tel-box { background: var(--main); color: #fff; border-radius: 10px; padding: 26px 16px; text-align: center; margin: 8px 0 88px; }
.tel-box p { margin: 0 0 6px; }
.tel-box a { color: #ffd9a0; font-size: 1.6rem; font-weight: 800; text-decoration: none; letter-spacing: 0.05em; }
.tel-box .small { font-size: 0.85rem; color: #dfe6ec; }
footer { background: var(--main); color: #dfe6ec; padding: 44px 20px 36px; font-size: 0.9rem; }
.footer-inner { max-width: 1080px; margin: 0 auto; }
.footer-logo { font-size: 1.3rem; font-weight: 800; letter-spacing: 0.06em; color: #fff; margin: 0 0 8px; }
footer nav ul { margin: 14px 0; }
footer nav a { color: #dfe6ec; }
.credits { font-size: 0.75rem; color: #b9c5cf; margin-top: 22px; line-height: 1.7; }
.cta-bar { display: none; }
.rv { opacity: 0; transform: translateY(14px); }
.rv.on { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } .rv.on { transition: none; } }
@media (max-width: 720px) {
  section.block { padding: 52px 0; }
  .hero-inner { padding: 10vh 16px 9vh; }
  .hero h1 { font-size: 1.8rem; }
  .hero-concept { font-size: 1.2rem; }
  .card-grid, .card-grid.two, .staff-grid, .concept-grid, .access-grid { grid-template-columns: 1fr; }
  .page-hero img { height: 180px; }
  th, td { padding: 9px 10px; font-size: 0.92rem; }
  .tel-box a { font-size: 1.3rem; }
  .header-cta a { padding: 6px 10px; font-size: 0.88rem; min-height: 44px; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .cta-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; background: var(--main); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -2px 8px rgba(0,0,0,0.25); }
  .cta-bar a { flex: 1; text-align: center; color: #fff; font-weight: bold; padding: 14px 4px; text-decoration: none; }
  .cta-bar .cta-tel { background: var(--cta); }
  .cta-bar .cta-map { background: var(--main); }
}

/* ================================================================
   インタラクション・フィードバック標準 v1（IF-STD v1 / 2026-11-18）
   仕様の正本: templates/motion-parts.md「インタラクション・フィードバック標準」
   ================================================================ */
:root {
  --if-dur: .2s;
  --if-ease: cubic-bezier(.25, .7, .3, 1);
  --if-focus: var(--cta, #9e3b26);
  --if-shadow: 0 8px 20px rgba(43, 36, 28, .16);
  --if-shadow-sm: 0 3px 8px rgba(43, 36, 28, .14);
}
a, button, [role="button"], summary {
  -webkit-tap-highlight-color: transparent;
  transition: color var(--if-dur) var(--if-ease),
    background-color var(--if-dur) var(--if-ease),
    border-color var(--if-dur) var(--if-ease),
    box-shadow var(--if-dur) var(--if-ease),
    opacity var(--if-dur) var(--if-ease),
    text-decoration-color var(--if-dur) var(--if-ease);
}
a:hover { text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:active, button:active, [role="button"]:active { opacity: .72; }
a:focus-visible, button:focus-visible, [role="button"]:focus-visible,
summary:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--if-focus);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .btn-main, .btn-sub, .btn-ghost, .btn-tel, .btn-light,
  .cta-tel, .cta-map, .cta-mail, .cta-price, .mail-big,
  button, input[type="submit"], input[type="button"], [role="button"],
  .card, .sample-card, .works-card, .staff-card, .feature-card,
  .svc-card, .stock-card, .set-card, .trio-card, .class-card {
    transition: color var(--if-dur) var(--if-ease),
      background-color var(--if-dur) var(--if-ease),
      border-color var(--if-dur) var(--if-ease),
      box-shadow var(--if-dur) var(--if-ease),
      opacity var(--if-dur) var(--if-ease),
      transform var(--if-dur) var(--if-ease);
  }
  .btn:hover, .btn-main:hover, .btn-sub:hover, .btn-ghost:hover,
  .btn-tel:hover, .btn-light:hover,
  .cta-tel:hover, .cta-map:hover, .cta-mail:hover, .cta-price:hover,
  .mail-big:hover, button:hover, [role="button"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--if-shadow);
  }
  .btn:active, .btn-main:active, .btn-sub:active, .btn-ghost:active,
  .btn-tel:active, .btn-light:active,
  .cta-tel:active, .cta-map:active, .cta-mail:active, .cta-price:active,
  .mail-big:active, button:active, [role="button"]:active {
    transform: translateY(0) scale(.98);
    box-shadow: var(--if-shadow-sm);
    opacity: 1;
  }
  .card:hover, .sample-card:hover, .works-card:hover, .staff-card:hover,
  .feature-card:hover, .svc-card:hover, .stock-card:hover, .set-card:hover,
  .trio-card:hover, .class-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--if-shadow);
  }
}
@media (prefers-reduced-motion: reduce) {
  a, button, [role="button"], summary,
  .card, .sample-card, .works-card, .staff-card, .feature-card,
  .svc-card, .stock-card, .set-card, .trio-card, .class-card {
    transition: none;
  }
}
