/* LPの配色と見出し、ボタンの作りを地域ページでも使う。 */
:root {
  --yellow: #F5C400;
  --yellow-light: #FFD740;
  --light: var(--yellow-light);
  --black: #111111;
  --white: #FFFFFF;
  --paper: #FAFAF5;
  --text: #1A1A1A;
  --muted: #666;
  --quiet: #EEF1F4;
  --line: rgba(0, 0, 0, .16);
  --shade: rgba(0, 0, 0, .12);
  --yellow-wash: color-mix(in srgb, var(--yellow) 20%, var(--white));
  --radius: 18px;
  --gutter: clamp(12px, 4vw, 36px);
  --panel-padding: clamp(16px, 3vw, 32px);
  --font: 'Noto Sans JP', sans-serif;
  --focus: var(--black);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--text); color: var(--text);
  font: 500 clamp(1rem, .96rem + .22vw, 1.0625rem)/1.8 var(--font);
}
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { color: var(--black); font-weight: 900; line-height: 1.35; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; z-index: 2; top: 0; left: 10px; padding: 8px 12px;
  background: var(--white); transform: translateY(-150%);
}
.skip:focus { transform: none; }

.page { width: min(100%, 1040px); margin-inline: auto; background: var(--paper); }
.topbar {
  --focus: var(--yellow);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px var(--gutter) 14px; background: var(--black); border-bottom: 2px solid var(--yellow);
}
.topbar img { width: clamp(122px, 23vw, 174px); }
.pill {
  display: inline-flex; justify-content: center; align-items: center; min-height: 44px;
  max-width: 100%; padding: 8px clamp(12px, 2.5vw, 26px); border: 2px solid var(--black);
  border-radius: 999px; background: linear-gradient(180deg, var(--yellow-light), var(--yellow));
  color: var(--black); box-shadow: 0 5px 0 var(--black);
  font-size: clamp(.875rem, 2.5vw, 1rem); font-weight: 900; line-height: 1.4;
  text-align: center; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pill:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--black); }
.pill:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--black); }
.topbar .pill { flex-shrink: 0; }
.breadcrumb { padding: 12px var(--gutter); font-size: .8125rem; font-weight: 700; }
.breadcrumb span { margin-inline: .4em; }

.hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center;
  gap: clamp(20px, 4vw, 44px); margin-inline: var(--gutter); padding: var(--panel-padding);
  border-radius: var(--radius); background: var(--white);
}
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(1.8rem, 4.3vw, 2.75rem); letter-spacing: .02em; text-wrap: balance; }
.hero-emphasis {
  background: linear-gradient(transparent 76%, var(--yellow-light) 76%, var(--yellow-light) 95%, transparent 95%);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.hero-copy p { max-width: 35em; margin-block: 14px 20px; }
.hero-art {
  width: 100%; aspect-ratio: 5 / 6; height: auto; border-radius: 20px;
  object-fit: cover; object-position: center 42%;
}

.content { display: grid; gap: clamp(18px, 3.4vw, 34px); padding: clamp(20px, 4vw, 40px) var(--gutter) 32px; }
.panel {
  min-width: 0; padding: var(--panel-padding); border-radius: var(--radius); background: var(--white);
}
.panel h2, .section-title { margin-bottom: 18px; font-size: clamp(1.3rem, 3.1vw, 1.875rem); }
.panel h2::after, .section-title::after {
  content: ''; display: block; width: 40px; height: 4px; margin-top: 8px;
  border-radius: 2px; background: var(--yellow);
}
.case-status, .card-status { font-weight: 900; }
.case-status { display: inline-block; padding: 3px 13px; border-radius: 999px; background: var(--yellow); }
.case-detail, .card-intro { margin-top: 6px; }
.case-detail { font-weight: 700; }
.case-groups { display: grid; gap: 16px; min-width: 0; margin-top: 18px; }
.case-groups > div { min-width: 0; }
.case-groups h3, .first-call h3 { margin-bottom: 8px; font-size: 1rem; }

.outcomes {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 390px;
  margin: 14px 0 0; padding: 0; list-style: none; text-align: center;
}
.outcomes li { position: relative; display: grid; justify-items: center; gap: 4px; font-size: .875rem; font-weight: 900; }
.outcomes li:not(:last-child)::after {
  position: absolute; top: 14px; inset-inline-start: calc(50% + 20px);
  width: calc(100% - 40px); height: 2px; background: var(--quiet); content: '';
}
.step-marker {
  display: grid; width: 30px; height: 30px; place-items: center;
  border-radius: 50%; background: var(--quiet); line-height: 1; color: var(--black);
}
.outcomes li[data-complete="true"] .step-marker { background: var(--yellow); }
.outcomes li[data-complete="false"] .step-label { color: var(--muted); }

.industry-list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  margin: 0; padding: 0; list-style: none;
}
.industry-list li {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  min-width: 0; padding-bottom: 10px; border-radius: var(--radius); background: var(--paper);
  text-align: center;
}
.industry-list img {
  width: 100%; height: auto; aspect-ratio: 5 / 4; border-radius: var(--radius) var(--radius) 0 0;
  object-fit: cover; object-position: center 42%; background: var(--quiet);
}
.industry-label, .chips li {
  padding: 4px 12px; border-radius: 999px; background: var(--yellow-wash);
  font-size: .875rem; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere;
}
.industry-label { display: inline-block; margin-inline: 8px; background: var(--yellow); font-weight: 900; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chips li { min-width: 0; max-width: 100%; }
.first-call, .assurance { padding: 12px 14px; border-radius: 14px; background: var(--paper); }
.first-call ul { margin: 8px 0 0; padding-left: 1.25em; }
.first-call li + li, .assurance li + li { margin-top: 3px; }
.title-part { display: inline-block; white-space: nowrap; }

.tablewrap { max-width: 100%; overflow-x: auto; border-radius: 14px; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: clamp(.72rem, 2vw, .95rem); }
th, td { padding: 8px 6px; overflow-wrap: anywhere; }
thead th { background: var(--yellow-wash); font-weight: 900; }
thead th:first-child { width: 40%; }
tbody tr:nth-child(even) { background: var(--paper); }
tbody th { text-align: left; font-weight: 700; }
td { text-align: right; font-variant-numeric: tabular-nums; }
.area-source { margin-top: 8px; color: var(--muted); font-size: .8125rem; line-height: 1.65; overflow-wrap: anywhere; }
.market-reading { display: grid; gap: 6px; margin-top: 14px; }

.process-list, .pricing-list { margin: 0; padding: 0; list-style: none; }
.process-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 20px; }
.process-intro { margin-bottom: 12px; }
.process-list li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.process-note { margin-top: 12px; font-weight: 700; }
.pricing-list li { padding: 9px 0; }
.pricing-list li + li { border-top: 1px solid var(--line); }
.pricing-list li:first-child { font-weight: 900; }
.guarantee { margin-top: 12px; padding: 12px 16px; border-radius: 14px; background: var(--yellow-wash); font-weight: 900; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { min-height: 44px; padding: 10px 0; cursor: pointer; font-weight: 900; }
.faq summary::marker { color: var(--black); }
.faq .a { padding: 0 0 12px 14px; border-left: 3px solid var(--yellow); }
.national-track p + p { margin-top: .45em; }
.closing {
  --focus: var(--yellow);
  padding: clamp(20px, 4vw, 38px) 14px; border-radius: var(--radius);
  background: var(--black); color: var(--white); text-align: center;
}
.closing h2 { margin-bottom: 16px; color: var(--white); font-size: clamp(1.2rem, 3vw, 1.6rem); }
.return { text-align: center; font-size: .875rem; font-weight: 700; }
.case-source { color: var(--muted); font-size: .8125rem; }
.footer { padding: 0 var(--gutter) 16px; text-align: center; font-size: .875rem; }

@media (max-width: 719px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(1.625rem, 6.2vw, 2.25rem); }
  .hero-art { aspect-ratio: 16 / 10; }
  .industry-list {
    grid-template-columns: none; grid-auto-flow: column;
    grid-auto-columns: clamp(180px, 76%, 244px); max-width: 100%;
    overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .industry-list li { scroll-snap-align: start; }
  .industry-list:focus-visible { outline-offset: -3px; }
}

@media (max-width: 540px) {
  .process-list { grid-template-columns: minmax(0, 1fr); }
  th, td { padding-inline: 3px; }
}

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