/* REPAIRMAN — public site (/site, /site/work, /site/store) v5
   REPAIRMAN's own editorial line, recomposed: a layered photo
   stage (the car's trouble and the home's trouble in one frame)
   over an ink panel that carries the promise in oversized type;
   sections each with their own composition — a wash band for the
   creed, staggered scene grids with quiet oversized family
   glyphs, an ink-black customer section with a paired photo, a
   flow set in oversized light numerals. v4's finish carries over
   (one type scale, one photo grade, hairline detailing). Motion
   stays the quiet スッ glide plus a slight hero drift. */
:root {
  --ink: #0a1e3c;
  --text: #26364f;
  --muted: #5a6b84;
  --faint: #8a99b0;
  --line: #d5dde8;
  --line-soft: #e6ecf3;
  --paper: #ffffff;
  --wash: #f2f5f9;
  --ghost: #e9eef5;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px;
  --r-card: 18px;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --shadow-card: 0 1px 2px rgba(10,30,60,.05), 0 6px 18px rgba(10,30,60,.05);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
::selection { background: rgba(10,30,60,.92); color: #fff; }
img { display: block; }
figure { margin: 0; }

.wrap { max-width: 540px; margin: 0 auto; padding: 0 22px calc(env(safe-area-inset-bottom, 0px) + 8px); }
.wrap-in { max-width: 540px; margin: 0 auto; padding-left: 22px; padding-right: 22px; width: 100%; }

/* ---- header: the wordmark is the face ---- */
.topbar {
  display: flex; align-items: center; gap: 9px;
  padding-top: calc(env(safe-area-inset-top, 0px) + 16px); padding-bottom: 14px;
}
.topbar .mark { width: 30px; height: 30px; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(10,30,60,.06), 0 1px 4px rgba(10,30,60,.14); }
.topbar .wm { font-size: 15px; font-weight: 800; letter-spacing: .05em; color: var(--ink); line-height: 1; }
.topbar .wm-jp { font-size: 9.5px; font-weight: 600; letter-spacing: .26em; color: var(--faint); margin-left: 7px; }
a.topbar:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---- hero: a composed photo stage over an ink panel ----
   The main frame is the car's trouble; a smaller framed panel of
   the home's trouble overlaps it, so 車も家も reads in the first
   screen. The promise sits below on ink, in oversized type. */
.hero { position: relative; background: var(--paper); }
.hero-stage { position: relative; height: 344px; }
.hero-main { position: absolute; left: 0; top: 0; width: 78%; height: 292px; overflow: hidden; }
.hero-main img {
  width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%;
  transform: scale(1.08); will-change: transform;
}
.hero-main::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,16,12,.10) 0%, rgba(18,16,12,0) 34%, rgba(18,16,12,.18) 100%);
}
.hero-sub {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  width: 47%; max-width: 248px; border: 3px solid #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 14px 34px rgba(18,16,12,.30);
}
.hero-sub img { width: 100%; aspect-ratio: 44 / 52; object-fit: cover; }
.hero-panel {
  position: relative; z-index: 3; margin-top: -28px;
  background: var(--ink); color: #fff;
  border-radius: 22px 22px 0 0; padding: 32px 0 34px;
}
.hero .eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .24em; color: rgba(255,255,255,.82); }
.hero h1 {
  font-size: 36px; font-weight: 800; letter-spacing: .02em; line-height: 1.32;
  margin-top: 13px;
}
.hero .lead { font-size: 13.5px; line-height: 1.8; color: rgba(255,255,255,.9); margin-top: 13px; max-width: 30em; }
.hero .scope { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: #fff; margin-top: 14px; }
.hero-cta { margin-top: 22px; display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.btn-solid {
  display: inline-block; background: #fff; color: var(--ink);
  font-size: 14.5px; font-weight: 800; letter-spacing: .02em;
  padding: 13px 22px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(10,30,60,.05), 0 4px 18px rgba(18,16,12,.35);
  transition: transform .25s var(--ease);
}
.btn-solid:active { transform: scale(.98); }
.btn-solid:focus-visible { outline: 2px solid rgba(255,255,255,.9); outline-offset: 3px; }
.cta-note { font-size: 11.5px; color: rgba(255,255,255,.75); }
.status {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 22px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.94);
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
  padding: 6px 12px 6px 10px; border-radius: 999px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.status .dot { width: 6px; height: 6px; border-radius: 999px; background: #fff; flex: none; }

/* LP hero: one frame, full width — a partner at a real job. */
.hero--lp .hero-stage { height: 296px; }
.hero--lp .hero-main { width: 100%; height: 296px; }
.hero--lp .hero-main img { object-position: 50% 42%; }
/* Store headline is one character too wide for two lines at 36px;
   set it a step smaller rather than let 。 orphan onto a third. */
.hero h1.narrow { font-size: 33px; }

/* ---- creed: a quiet band of wash ---- */
.creed { margin: 0 -22px; padding: 42px 22px 38px; background: var(--wash); }
.creed-big { font-size: 25px; font-weight: 800; line-height: 1.5; letter-spacing: .015em; color: var(--ink); }
.creed-tx { font-size: 13.5px; line-height: 1.9; color: var(--muted); margin-top: 14px; }

/* ---- shared section furniture ---- */
.cap { font-size: 11px; font-weight: 700; letter-spacing: .24em; color: var(--faint); }
section h2 { font-size: 21px; font-weight: 800; line-height: 1.48; letter-spacing: .02em; color: var(--ink); margin-top: 10px; }
.kick { font-size: 10.5px; font-weight: 700; letter-spacing: .24em; color: var(--faint); }

/* ---- scenes: two families, staggered grids, oversized quiet
   family glyphs behind the headings ---- */
.scenes { margin-top: 48px; }
.scenes h2 { position: relative; z-index: 0; }
.scenes h2::before {
  position: absolute; right: -2px; top: 50%; z-index: -1;
  transform: translateY(-56%);
  font-size: 102px; font-weight: 800; line-height: 1; letter-spacing: 0;
  color: var(--ghost);
}
.scenes h2:not(.fam)::before { content: "車"; }
.scenes h2.fam::before { content: "家"; }
.scenes .grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px;
}
.scenes .grid .tile:nth-child(even) { margin-top: 16px; }
.scenes h2.fam { margin-top: 32px; }
.tile { position: relative; border-radius: 16px; overflow: hidden; background: var(--wash); }
.tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 12px 11px;
  font-size: 12.5px; font-weight: 700; color: #fff; letter-spacing: .03em;
  background: linear-gradient(180deg, rgba(18,16,12,0) 0%, rgba(18,16,12,.68) 100%);
}
.scenes-note { font-size: 12px; line-height: 1.7; color: var(--faint); margin-top: 14px; }

/* ---- representative prices ---- */
.prices { margin-top: 56px; }
.price-list { list-style: none; margin-top: 12px; }
.price-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-top: 1px solid var(--line-soft);
}
.price-list li:first-child { border-top: 0; }
.price-list .p-name { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.price-list .p-val { font-size: 15px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-list .p-plus { font-size: 11px; font-weight: 600; color: var(--muted); margin-left: 5px; }

/* ---- reception areas (launch gate, 2026-11-01) ---- */
.areas { margin-top: 48px; }
.areas .area-line { font-size: 13.5px; line-height: 1.8; color: var(--ink); margin-top: 10px; }
.areas .area-line b { font-weight: 800; }

/* ---- story sections (one per audience) ---- */
.story { margin-top: 56px; }
.story .ph {
  margin: 0 -22px 22px; overflow: hidden; background: var(--wash);
}
.story .ph img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.story h2 { margin-top: 8px; }
.story-tx { font-size: 13.5px; line-height: 1.9; color: var(--muted); margin-top: 12px; }
.merits { list-style: none; margin-top: 18px; }
.merits li { padding: 12px 0 12px 17px; border-top: 1px solid var(--line-soft); position: relative; }
.merits li::before {
  content: ""; position: absolute; left: 0; top: 20px;
  width: 7px; height: 7px; border-radius: 999px; background: var(--ink);
}
.merits .m-ttl { font-size: 14.5px; font-weight: 800; color: var(--ink); letter-spacing: .02em; }
.merits .m-tx { font-size: 12.5px; line-height: 1.7; color: var(--muted); margin-top: 3px; }

/* Customer story on ink: the mechanic's photograph full-bleed at
   the top, a smaller home-repair frame overlapping its lower
   edge — the two worlds in one section. */
.story--ink {
  margin: 64px -22px 0; padding: 0 22px 32px;
  background: var(--ink); color: #fff;
}
.story--ink .ph-stack { position: relative; margin: 0 -22px; }
.story--ink .ph { margin: 0; }
.story--ink .ph-sub {
  position: absolute; right: 16px; bottom: -24px; z-index: 2;
  width: 33%; border: 3px solid #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.38);
}
.story--ink .ph-sub img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.story--ink .kick { margin-top: 48px; color: rgba(255,255,255,.55); }
.story--ink h2 { color: #fff; }
.story--ink .merits li { border-top-color: rgba(255,255,255,.14); }
.story--ink .merits li::before { background: #fff; }
.story--ink .merits .m-ttl { color: #fff; }
.story--ink .merits .m-tx { color: rgba(255,255,255,.66); }
.story--ink .lane.primary { background: #fff; border-color: #fff; }
.story--ink .lane.primary .ttl { color: var(--ink); }
.story--ink .lane.primary .sub { color: var(--muted); }
.story--ink .lane.primary .chev { color: var(--faint); }
.story--ink + .flow { margin-top: 40px; }

/* ---- entry lanes ---- */
.lane {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 17px 18px 16px; background: var(--paper);
  box-shadow: var(--shadow-card); margin-top: 20px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.lane:active { transform: scale(.99); box-shadow: 0 1px 2px rgba(10,30,60,.05); }
.lane:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.lane .tx { flex: 1 1 auto; min-width: 0; }
.lane .ttl { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: .02em; line-height: 1.45; }
.lane .sub { font-size: 12.5px; line-height: 1.65; color: var(--muted); margin-top: 3px; }
.lane .chev { flex: none; width: 20px; height: 20px; color: var(--faint); }
.lane.primary { background: var(--ink); border-color: var(--ink); }
.lane.primary .ttl { color: #fff; }
.lane.primary .sub { color: rgba(255,255,255,.72); }
.lane.primary .chev { color: rgba(255,255,255,.6); }

/* ---- how it works: oversized quiet numerals ---- */
.flow { margin-top: 56px; }
.flow ol { list-style: none; margin-top: 10px; }
.flow li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.flow li:first-child { border-top: 0; }
.flow .num {
  flex: none; min-width: 36px;
  font-size: 31px; font-weight: 300; line-height: 1.05; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.flow .ft { flex: 1 1 auto; font-size: 13.5px; font-weight: 700; color: var(--ink); padding-top: 6px; }
.flow .fs { font-size: 12.5px; line-height: 1.65; color: var(--muted); margin-top: 2px; font-weight: 400; }

/* ---- LP blocks (work / store) ---- */
.points { margin-top: 48px; }
.scope-tx { font-size: 13.5px; line-height: 1.95; color: var(--muted); margin-top: 12px; }
.close {
  margin: 56px -22px 0; padding: 38px 22px 42px;
  background: var(--ink); color: #fff;
}
.close-big { font-size: 21px; font-weight: 800; line-height: 1.5; letter-spacing: .02em; }
.close .btn-solid { margin-top: 20px; }
.close .cta-note { margin-top: 14px; }

/* ---- footer ---- */
.foot { margin-top: 60px; border-top: 1px solid var(--line-soft); padding: 20px 0 26px; }
.foot .xlinks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 16px; }
.foot .xlinks a {
  font-size: 12px; font-weight: 700; letter-spacing: .03em; color: var(--ink);
  padding: 4px 0;
}
.foot .xlinks a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.foot .op { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.foot .op b { color: var(--ink); font-weight: 800; letter-spacing: .08em; }
.foot .cp { font-size: 10.5px; color: var(--faint); margin-top: 8px; letter-spacing: .05em; }

/* ---- quiet reveal motion (スッ) ---- */
.rv { opacity: 0; transform: translateY(10px); }
.rv.in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
  .rv.in { transition: none; }
  .lane, .btn-solid { transition: none; }
  .hero-main img { transform: none; }
}

/* the platform's core line, as the hero panel's sign-off (2026-11-04) */
.hero-copy { margin-top: 20px; font-size: 13px; font-weight: 800; letter-spacing: .14em; color: #fff; }
