/* ─── tokens ─── */
:root {
  --bg: #fbf7f2;
  --paper: #fff;
  --ink: #26201b;
  --ink2: #56504a;
  --mute: #998f86;
  --line: #ebe4da;
  --brand: #e8390d;
  --brand-dark: #b82a09;
  --brand-soft: #fcebe3;
  --brand-softer: #fdf3ee;
  --green: #5a7a55;
  --blue: #4a6b85;
  --max: 1280px;
  --num: "Inter", "DM Serif Display", sans-serif;
  --sans:
    "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP",
    -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.7;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
details > summary::-webkit-details-marker {
  display: none;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
}

/* ─── nav ─── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 48px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-size: 15px;
  font-weight: 700;
}
.brand-sub {
  font-size: 13px;
  color: var(--mute);
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  align-items: center;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a.active {
  color: var(--brand);
  font-weight: 700;
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 10px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 6 Q 20 1 40 5 T 80 6 T 120 5 T 160 6 T 198 5' stroke='%23e8390d' stroke-width='2.5' fill='none' stroke-linecap='round'/></svg>")
    center/100% 100% no-repeat;
}
/* ドロワー下部の CTA ボタン（PC では非表示） */
.nav-drawer-cta { display: none; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(232, 57, 13, 0.25);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  white-space: nowrap;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(232, 57, 13, 0.35);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  color: var(--ink);
}
.nav-toggle:hover {
  background: var(--brand-softer);
}
.nav-toggle .nav-toggle-x {
  display: none;
}
body.nav-open .nav-toggle .nav-toggle-bars {
  display: none;
}
body.nav-open .nav-toggle .nav-toggle-x {
  display: block;
}

/* shared section + card primitives */
section.block {
  padding: 40px 0 60px;
}
.card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
}
.section-head {
  text-align: center;
  margin-bottom: 36px;
}
.section-head h2 {
  font-size: 38px;
  font-weight: 700;
  margin: 14px 0 12px;
  line-height: 1.3;
}
.section-head p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.9;
  margin: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}
.tag.solid {
  background: var(--brand);
  color: #fff;
}

/* スマホ専用の表示切り替えユーティリティ（PC では非表示／表示は base のまま） */
.sp-comma { display: none; }
.sp-hide { /* PC: 通常表示（<br> は改行） */ }

.squiggle {
  position: relative;
  display: inline-block;
}
.squiggle::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -4px;
  height: 10px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 6 Q 20 1 40 5 T 80 6 T 120 5 T 160 6 T 198 5' stroke='%23e8390d' stroke-width='2.5' fill='none' stroke-linecap='round'/></svg>")
    center/100% 100% no-repeat;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 20px rgba(232, 57, 13, 0.3);
  border: 0;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232, 57, 13, 0.4);
}
.btn-outline {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}
.btn:disabled,
.btn[disabled] {
  background: var(--line);
  color: var(--mute);
  border-color: var(--line);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

.pill-btn {
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: 1.5px solid transparent;
  transition: transform 0.15s;
  display: inline-block;
}
.pill-btn:hover {
  transform: translateY(-1px);
}
.pill-btn.primary {
  background: var(--brand);
  color: #fff;
}
.pill-btn.outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--ink);
}
.pill-btn.link {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 10px 18px;
  font-size: 14px;
}

/* ─── hero ─── */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-blob,
.hero-dot {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.hero-blob {
  top: -80px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: var(--brand-soft);
}
.hero-dot {
  top: 200px;
  right: 200px;
  width: 120px;
  height: 120px;
  background: #f7e6da;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 56px 0 80px;
}
.hero h1 {
  font-size: 54px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 24px 0;
}
.lead {
  font-size: 15.5px;
  line-height: 2.1;
  color: var(--ink2);
  max-width: 520px;
  margin: 0 0 32px;
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.note-small {
  margin-top: 16px;
  font-size: 14px;
  color: var(--mute);
  line-height: 1.8;
  max-width: 520px;
}

.hero-photo-wrap {
  position: relative;
}
.hero-photo {
  border-radius: 24px;
  overflow: hidden;
  transform: rotate(-1.5deg);
  aspect-ratio: 5/6;
  background: #e0d6cc;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.floating {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}
.float-1 {
  top: 32px;
  left: -16px;
  padding: 12px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  transform: rotate(-3deg);
}
.float-1 .dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.float-1 small {
  font-size: 13px;
  color: var(--mute);
  display: block;
}
.float-1 b {
  font-size: 14px;
  font-weight: 700;
}
.float-2 {
  bottom: 24px;
  right: -12px;
  padding: 14px 18px;
  transform: rotate(2deg);
}
.float-2 small {
  font-size: 13px;
  color: var(--mute);
  display: block;
  margin-bottom: 4px;
}
.float-2 b {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
  font-family: var(--num);
}

/* concerns */
.concerns-card {
  position: relative;
}
.concerns-ribbon {
  position: absolute;
  top: -18px;
  left: 32px;
  background: var(--brand);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}
.concerns-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  margin-top: 14px;
}
.concern {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px dashed var(--line);
}
.concern-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--brand-softer);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.concern-body {
  flex: 1;
}
.concern-who {
  display: inline-block;
  font-size: 13px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink2);
  font-weight: 600;
  margin-right: 8px;
  vertical-align: middle;
}
.concern-q {
  display: inline;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  vertical-align: middle;
}
.concern-a {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.8;
  margin-top: 6px;
}

.entry-route {
  margin-top: 32px;
  padding: 24px 28px;
  border-radius: 18px;
  background: var(--brand-softer);
  border: 1px dashed rgba(232, 57, 13, 0.33);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.entry-route .label {
  font-size: 13px;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.entry-route h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.6;
}
.entry-route p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.9;
  margin: 0;
}
.entry-route .routes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 240px;
}

/* services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
}
.svc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.svc-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.svc-icon svg {
  width: 28px;
  height: 28px;
}
.svc-scope {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.svc-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}
.svc-card p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.95;
  margin: 0;
}
.svc-note {
  margin-top: 24px;
  padding: 18px 24px;
  background: #fff;
  border-radius: 16px;
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.9;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.svc-note .bang {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-softer);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* workflow preview (homepage 4 cards) */
.wf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.wf-card {
  background: #fff;
  border-radius: 20px;
  padding: 26px 22px 22px;
  position: relative;
  border: 2px solid transparent;
}
.wf-card.first {
  border-color: var(--brand);
}
.wf-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.wf-circ {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-softer);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wf-circ svg {
  width: 28px;
  height: 28px;
}
.wf-step {
  font-size: 13px;
  color: var(--brand);
  font-weight: 700;
  font-family: var(--num);
  letter-spacing: 0.14em;
}
.wf-ja {
  font-size: 20px;
  font-weight: 700;
  margin-top: 2px;
}
.wf-summary {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.85;
  min-height: 64px;
}
.wf-foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.wf-total {
  font-size: 13px;
  color: var(--mute);
}
.wf-usp {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wf-usp::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.wf-arrow {
  position: absolute;
  top: 50%;
  right: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-50%);
  z-index: 2;
}
.wf-more {
  text-align: center;
  margin-top: 28px;
}
.wf-more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ─── workflow detail (page) ─── */
.wf-hero {
  padding: 48px 48px 16px;
  text-align: center;
}
.wf-section {
  padding: 24px 48px 0;
}
.wf-hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin: 18px 0 14px;
  line-height: 1.4;
}
.wf-hero p {
  font-size: 14.5px;
  color: var(--ink2);
  line-height: 2;
  max-width: 740px;
  margin: 24px auto 0;
}

.wf-tabs {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.wf-tabs button {
  padding: 14px 18px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: var(--ink2);
  font-family: inherit;
  text-align: center;
  transition: all 0.15s;
}
.wf-tabs button[aria-selected="true"] {
  background: var(--brand);
  color: #fff;
}
.wf-tabs .t-ja {
  font-size: 16px;
  font-weight: 700;
}
.wf-tabs .t-sub {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 3px;
}

.wf-legend {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}
.wf-legend .badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid rgba(232, 57, 13, 0.2);
}
.wf-legend .badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.wf-legend p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.95;
  margin: 0;
}

.timeline {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 39px;
  top: 24px;
  bottom: 24px;
  width: 3px;
  background: linear-gradient(
    180deg,
    var(--brand-soft),
    var(--brand) 50%,
    var(--brand-soft)
  );
  z-index: 0;
}
.tl-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  margin-bottom: 24px;
  position: relative;
}
.tl-node {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tl-node svg {
  width: 36px;
  height: 36px;
}
.tl-num {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--num);
}
.tl-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 32px;
}
.tl-h {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.tl-h .kicker {
  font-size: 14px;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-family: var(--num);
}
.tl-h h2 {
  font-size: 30px;
  font-weight: 700;
  margin: 4px 0 0;
}
.tl-total .lbl {
  font-size: 13px;
  color: var(--mute);
}
.tl-total .val {
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}
.tl-summary {
  font-size: 14px;
  color: var(--ink2);
  line-height: 2;
  margin: 0 0 18px;
}

.tl-tasks {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tl-tasks li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  margin: 4px 0;
  border-radius: 12px;
  border-left: 3px solid transparent;
}
.tl-tasks li.usp {
  background: var(--brand-softer);
  border-left-color: var(--brand);
}
.tl-tasks li.wait {
  background: var(--bg);
}
.tl-tasks .mk {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--ink2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
  font-family: var(--num);
}
.tl-tasks li.usp .mk {
  border-color: var(--brand);
  color: var(--brand);
}
.tl-tasks li.wait .mk {
  color: var(--mute);
}
.tl-tasks .t-text {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tl-tasks .t-text .t {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.65;
}
.tl-tasks li.usp .t-text .t {
  font-weight: 700;
}
.tl-tasks .chip {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 700;
}
.tl-tasks .chip-usp {
  background: var(--brand);
  color: #fff;
}
.tl-tasks .chip-wait {
  background: #fff;
  color: var(--mute);
  border: 1px solid var(--line);
}
.tl-tasks .dur {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--num);
  white-space: nowrap;
  margin-top: 2px;
}
.tl-tasks li.wait .dur {
  color: var(--mute);
}

.tl-after {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}
.tl-after .knot {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
}
.tl-after .knot span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}
.tl-after .panel {
  background: var(--brand);
  color: #fff;
  border-radius: 20px;
  padding: 24px 32px;
}
.tl-after .panel .small {
  font-size: 14px;
  font-weight: 700;
  opacity: 0.95;
}
.tl-after .panel .big {
  font-size: 18px;
  font-weight: 700;
  margin-top: 6px;
  line-height: 1.6;
}

/* ─── cases ─── */
.cases-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}
.cases-head h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 12px 0 0;
}
.cases-head a {
  font-size: 14px;
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: block;
}
.case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(38, 32, 27, 0.08);
}
.case-photo {
  aspect-ratio: 5/3;
  background: linear-gradient(135deg, #d9d4cd, #aea89f);
  position: relative;
  overflow: hidden;
}
.case-photo[data-tone="1"] {
  background: linear-gradient(135deg, #cfd8d9, #9faaad);
}
.case-photo[data-tone="2"] {
  background: linear-gradient(135deg, #dcd2c2, #a89c8a);
}
.case-photo[data-tone="3"] {
  background: linear-gradient(135deg, #c9d0cc, #8c9590);
}
.case-photo[data-tone="4"] {
  background: linear-gradient(135deg, #e0d6cc, #b3a594);
}
.case-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-body {
  padding: 20px;
}
.case-meta {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.case-date {
  font-size: 13px;
  color: var(--mute);
  font-family: var(--num);
}
.case-body h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 8px;
}
.case-body p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.7;
  margin: 0 0 10px;
}
.case-attrs {
  font-size: 13px;
  color: var(--mute);
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.case-skel {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}
.case-skel .case-photo {
  background: linear-gradient(135deg, #ece7df, #dfd8cc);
}
.case-skel .line {
  height: 12px;
  border-radius: 6px;
  background: #eee5d8;
  margin: 8px 0;
}
.case-skel .l1 {
  width: 80%;
}
.case-skel .l2 {
  width: 60%;
}
.case-skel .l3 {
  width: 40%;
}
.cases-empty {
  text-align: center;
  padding: 40px;
  color: var(--mute);
  font-size: 14px;
  grid-column: 1/-1;
}

/* cases list page filters */
.cases-filter-section {
  padding: 8px 0 24px;
}
/* PC では details の summary を隠して常に展開状態にする */
.filters-acc { display: block; }
.filters-acc > .filters-acc-summary { display: none; }
.filters-acc > .filters { display: grid; }

.filters {
  background: #fff;
  border-radius: 20px;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}
.filters .lbl {
  font-size: 14px;
  font-weight: 700;
  color: var(--mute);
  font-family: var(--num);
  letter-spacing: 0.16em;
}
.filters .rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.filters .row {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.filters .row .k {
  font-size: 13px;
  color: var(--mute);
  width: 80px;
}
.filters .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  border: 1px solid var(--line);
  color: #555;
  background: #fff;
  text-decoration: none;
  cursor: pointer;
}
.filters .chip.active {
  border: 1.5px solid var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}
.cases-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.case-row {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: 24px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.case-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(38, 32, 27, 0.08);
}
.case-row .thumb {
  border-radius: 14px;
  overflow: hidden;
}
.case-row .thumb .case-photo {
  aspect-ratio: 3/2;
}
.case-row h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 8px;
}
.case-row p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.85;
  margin: 0 0 10px;
}
.case-row .row-attrs {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--mute);
  align-items: center;
  flex-wrap: wrap;
}
.case-row .pipe {
  width: 1px;
  height: 12px;
  background: var(--line);
  display: inline-block;
}
.case-row .more {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}
.pager a,
.pager span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}
.pager .current {
  background: var(--brand);
  color: #fff;
}
.cases-count {
  font-size: 14px;
  color: var(--ink2);
  margin-bottom: 18px;
}
.cases-count b {
  color: var(--brand);
}

/* case detail */
.crumb {
  padding: 14px 0;
  font-size: 14px;
  color: var(--mute);
}
.crumb .here {
  color: var(--ink);
}
.detail-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.detail h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 24px;
  max-width: 900px;
}
.detail-lead {
  font-size: 16px;
  color: var(--ink2);
  line-height: 2.1;
  max-width: 780px;
  margin: 0 0 36px;
}
.detail-main-photo {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #dcd2c2, #a89c8a);
}
.detail-main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.profile-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 32px;
}
.profile-card dl {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 2.05;
  display: grid;
  grid-template-columns: 110px 1fr;
  row-gap: 6px;
  column-gap: 12px;
}
.profile-card dt {
  color: var(--mute);
  font-weight: 600;
}
.profile-card dd {
  margin: 0;
}
.profile-card dd b {
  color: var(--brand);
}
.detail-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.detail-photo {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #ebe5d8;
}
.detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.detail-photo:hover img {
  transform: scale(1.04);
}
@media (max-width: 768px) {
  .detail-photos { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
  .detail-photo { border-radius: 10px; }
}
.detail-photo { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: lb-fade 0.18s ease-out;
}
@keyframes lb-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lightbox[hidden] { display: none; }
.lightbox-stage {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 80px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  cursor: pointer;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}
.lightbox-close {
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 26px;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 34px;
  padding-bottom: 4px;
}
.lightbox-nav:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  letter-spacing: 0.05em;
}
@media (max-width: 768px) {
  .lightbox { padding: 16px; }
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .lightbox-nav { width: 44px; height: 44px; font-size: 28px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-img { max-height: calc(100vh - 60px); }
}
.story {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.story-row {
  display: grid;
  gap: 18px;
  align-items: flex-start;
}
.story-row.left {
  grid-template-columns: auto 1fr;
}
.story-row.right {
  grid-template-columns: 1fr auto;
}
.story-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.story-body {
  background: #fff;
  border-radius: 20px;
  padding: 22px 28px;
}
.story-row.right .story-body {
  background: var(--brand-softer);
  margin-left: 80px;
}
.story-row.left .story-body {
  margin-right: 80px;
}
.story-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
}
.story-body p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 2.05;
  margin: 0;
}
.voices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.voice {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  position: relative;
}
.voice.warm {
  background: var(--brand-softer);
}
.voice .ribbon {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--brand);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.voice .who {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 14px 0 18px;
}
.voice .who .name {
  font-size: 14px;
  font-weight: 700;
}
.voice .who .role {
  font-size: 14px;
  color: var(--mute);
}
.voice p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 2.05;
  margin: 0;
}
.voice .big {
  font-size: 18px;
  font-weight: 700;
  margin-top: 14px;
  margin-bottom: 14px;
}
.cta-band {
  background: var(--brand);
  color: #fff;
  border-radius: 24px;
  padding: 36px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band .small {
  font-size: 14px;
  opacity: 0.9;
}
.cta-band .big {
  font-size: 24px;
  font-weight: 700;
  margin-top: 6px;
  line-height: 1.55;
}
.cta-band .actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 240px;
}
.cta-band .actions a.white {
  padding: 14px 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.cta-band .actions a.ghost {
  padding: 12px 24px;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: 1.5px solid #fff;
}

/* ─── faq + offices ─── */
.entry-card {
  background: #fff;
  border-radius: 24px;
  padding: 48px 56px 40px;
}
.entry-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}
.entry-side .label {
  font-size: 14px;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.entry-side h2 {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 18px;
  line-height: 1.55;
}
.entry-side p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 2.05;
  margin: 0;
}
.entry-side .callout {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--brand-softer);
  border-radius: 12px;
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.85;
}
.entry-side .callout b {
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}
.entry-side .callout .fine {
  display: block;
  margin-top: 6px;
  color: var(--mute);
  font-size: 13px;
}
.entry-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.entry-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.entry-list li.muted {
  opacity: 0.78;
}
.entry-list .n {
  font-size: 24px;
  font-weight: 700;
  color: var(--brand);
  font-family: "DM Serif Display", "Shippori Mincho", serif;
  line-height: 1;
}
.entry-list li.muted .n {
  color: var(--mute);
}
.entry-list .q {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 10px;
}
.entry-list .q .quote {
  color: var(--mute);
  font-weight: 500;
}
.entry-list .go {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 4px 0 10px;
  flex-wrap: wrap;
}
.entry-list .go .pre {
  font-size: 14px;
  color: var(--brand);
  font-weight: 700;
}
.entry-list .go .where {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--brand);
  padding-bottom: 2px;
}
.entry-list li.muted .go .pre,
.entry-list li.muted .go .where {
  color: var(--mute);
  border-color: var(--mute);
}
.entry-list .go .then {
  font-size: 14px;
  color: var(--ink2);
}
.entry-list .sub {
  font-size: 14px;
  color: var(--ink2);
  line-height: 2;
  margin: 0;
}
.entry-foot {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.95;
}
.entry-foot b {
  color: var(--ink);
}
.entry-foot a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 6px;
}

.faq-groups {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-group .gh {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.faq-group .gh span.bar {
  width: 8px;
  height: 24px;
  background: var(--brand);
  border-radius: 4px;
}
.faq-group .gh h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
details.faq {
  background: #fff;
  border-radius: 16px;
  padding: 18px 24px;
}
details.faq summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 36px 1fr 24px;
  gap: 14px;
  align-items: flex-start;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.6;
}
details.faq summary .badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-family: "DM Serif Display", serif;
}
details.faq summary .toggle {
  color: var(--mute);
  font-size: 18px;
  line-height: 1;
  text-align: right;
}
details.faq[open] summary .toggle::before {
  content: "−";
}
details.faq:not([open]) summary .toggle::before {
  content: "＋";
}
details.faq .answer {
  display: grid;
  grid-template-columns: 36px 1fr 24px;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
details.faq .answer .badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-softer);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  font-family: "DM Serif Display", serif;
}
details.faq .answer .answer-body {
  font-size: 14px;
  color: var(--ink2);
  line-height: 2.05;
}
details.faq .answer .answer-body > *:first-child {
  margin-top: 0;
}
details.faq .answer .answer-body > *:last-child {
  margin-bottom: 0;
}
details.faq .answer .answer-body p {
  margin: 0 0 0.6em;
}
details.faq .answer .answer-body ul,
details.faq .answer .answer-body ol {
  margin: 0.4em 0 0.8em;
  padding-left: 1.4em;
}
details.faq .answer .answer-body li {
  margin: 0.2em 0;
}
details.faq .answer .answer-body h2,
details.faq .answer .answer-body h3,
details.faq .answer .answer-body h4 {
  margin: 0.8em 0 0.3em;
  font-weight: 700;
  color: var(--ink);
}
details.faq .answer .answer-body h2 {
  font-size: 16px;
}
details.faq .answer .answer-body h3 {
  font-size: 15px;
}
details.faq .answer .answer-body h4 {
  font-size: 14px;
}
details.faq .answer .answer-body a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
details.faq .answer .answer-body blockquote {
  margin: 0.4em 0;
  padding: 6px 12px;
  border-left: 3px solid var(--line);
  color: var(--ink2);
}
details.faq .answer .answer-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
details.faq .answer .answer-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1em 0;
}

.offices-card {
  background: #fff;
  border-radius: 24px;
  padding: 36px 40px;
}
.offices-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  gap: 24px;
  flex-wrap: wrap;
}
.offices-head h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 12px 0 4px;
}
.offices-head p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.85;
  margin: 0;
}
.offices-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--bg);
  border-radius: 999px;
  min-width: 280px;
  color: var(--mute);
  font-size: 14px;
}
.offices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-top: 14px;
}
.office {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
}
/* PC では <details> でも常に展開・summary をクリック不可に */
details.office > .office-h {
  list-style: none;
  cursor: default;
  pointer-events: none;
}
details.office > .office-h::-webkit-details-marker { display: none; }
details.office > ul { display: block; }
details.office .office-mark { display: none; }
.office-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.office-h .pin {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.office-h .area {
  font-size: 15px;
  font-weight: 700;
}
.office ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 320px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
/* スクロールバー（対応ブラウザのみ） */
.office ul::-webkit-scrollbar {
  width: 8px;
}
.office ul::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 8px;
}
.office li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.office li:last-child {
  border-bottom: 0;
}
.office li .detail {
  font-size: 13px;
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}
.offices-note {
  margin-top: 24px;
  padding: 16px 22px;
  background: var(--brand-softer);
  border-radius: 14px;
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.85;
}
.offices-note b {
  color: var(--ink);
}

/* ─── staff / area ─── */
.staff-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
}
.staff-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 36px;
}
.staff-grid h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 14px 0 12px;
}
.staff-grid p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.95;
  margin: 0;
}
.staff-members {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.staff-mem {
  text-align: center;
  padding: 20px 12px;
  background: var(--brand-softer);
  border-radius: 16px;
}
.staff-portrait {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: linear-gradient(160deg, #e8dcc8, #bda886);
  border: 3px solid #fff;
  position: relative;
  overflow: hidden;
}
.staff-portrait[data-tone="1"] {
  background: linear-gradient(160deg, #dce5e1, #9bb0a7);
}
.staff-portrait[data-tone="2"] {
  background: linear-gradient(160deg, #e6d6cc, #b89884);
}
.staff-portrait svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}
.staff-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.staff-mem .name {
  font-size: 15px;
  font-weight: 700;
}
.staff-mem .role {
  font-size: 13px;
  color: var(--ink2);
  margin-top: 4px;
}
/* 資格タグ（directus_users.tags） */
.staff-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 6px;
}
.voice .who .staff-tags {
  justify-content: flex-start;
  margin-top: 5px;
}
.staff-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-softer);
  border-radius: 999px;
  padding: 3px 10px;
  line-height: 1.5;
}

.area-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
}
.area-card h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 14px 0 12px;
}
.area-card p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.95;
  margin-bottom: 18px;
}
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.area-chip {
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-softer);
  color: var(--brand);
  font-weight: 600;
}
.area-map {
  background: var(--brand-softer);
  border-radius: 20px;
}
.area-map img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── footer ─── */
footer {
  background: #fff;
  padding: 48px 48px 32px;
  border-top: 1px solid var(--line);
  margin-top: 60px;
  font-family: var(--sans);
}
.foot-wrap {
  max-width: var(--max);
  margin: 0 auto;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  font-size: 14px;
}
.foot-brand {
  margin-bottom: 18px;
}
.foot-brand img {
  max-width: 220px;
  height: auto;
}
.foot-addr {
  color: var(--ink2);
  line-height: 2;
  margin: 0;
}
.foot-col-h {
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 14px;
  list-style: none;
  cursor: default;
  pointer-events: none;
}
.foot-col-h::-webkit-details-marker { display: none; }
.foot-col .foot-col-mark { display: none; }
details.foot-col > .foot-col-body { display: block; }
.foot-col a {
  display: block;
}
.foot-col a {
  margin: 8px 0;
  color: var(--ink2);
  text-decoration: none;
}
.foot-col a:hover {
  color: var(--brand);
}
.foot-bottom {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 18px;
  font-size: 13px;
  color: var(--mute);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ─── mobile drawer ─── */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(38, 32, 27, 0.4);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.2s;
}
.nav-drawer {
  display: none;
}
body.nav-open {
  overflow: hidden;
}
body.nav-open .nav-backdrop {
  display: block;
  opacity: 1;
}

/* ─── responsive ─── */
@media (max-width: 980px) {
  .wrap,
  footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .nav {
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    gap: 12px;
  }
  body.nav-open .nav {
    border-bottom-color: transparent;
    z-index: 110;
  }
  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
  }
  .brand-mark img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
  }
  .brand-name {
    font-size: 13.5px;
  }
  .brand-sub {
    font-size: 10px;
  }
  .nav-cta {
    display: none;
  }
  .hero-grid,
  .entry-route,
  .staff-grid,
  .area-card,
  .entry-grid,
  .detail-profile,
  .voices {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .services-grid,
  .cases-grid,
  .wf-grid,
  .staff-members,
  .offices-grid {
    grid-template-columns: 1fr 1fr;
  }
  .concerns-list {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .section-head h2 {
    font-size: 28px;
  }
  .detail h1,
  .wf-hero h1 {
    font-size: 32px;
  }
  .nav-cta {
    padding: 10px 14px;
    font-size: 14px;
  }
  .nav-cta span.cta-text {
    display: none;
  }
  .entry-route .routes {
    min-width: 0;
  }
  .wf-arrow {
    display: none;
  }
  .area-card,
  .entry-card,
  .offices-card,
  .staff-card,
  .tl-card {
    padding: 24px;
  }
  .case-row {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .case-row .thumb {
    max-width: none;
  }
  .timeline::before {
    display: none;
  }
  .tl-step,
  .tl-after {
    grid-template-columns: 1fr;
  }
  .tl-node {
    margin: 0 auto;
  }
  .filters {
    grid-template-columns: 1fr;
  }
  .story-row.left,
  .story-row.right {
    grid-template-columns: auto 1fr;
  }
  .story-row.left .story-body,
  .story-row.right .story-body {
    margin-left: 0;
    margin-right: 0;
  }

  /* drawer — full-screen overlay matching mobile design */
  .nav-links {
    display: flex;
    position: fixed;
    inset: 0;
    width: 100%;
    background: var(--bg);
    padding: 74px 20px 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 100;
    overflow-y: auto;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s;
  }
  body.nav-open .nav-links {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }
  .nav-links a {
    font-size: 17px;
    font-weight: 600;
    padding: 17px 6px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
  }
  .nav-links a .nav-label {
    position: relative;
    display: inline-block;
  }
  /* アクティブ項目：テキスト下の波線 */
  .nav-links a.active .nav-label::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 8px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 6 Q 20 1 40 5 T 80 6 T 120 5 T 160 6 T 198 5' stroke='%23e8390d' stroke-width='2.5' fill='none' stroke-linecap='round'/></svg>") center/100% 100% no-repeat;
    pointer-events: none;
  }
  .nav-links a::after {
    content: "›";
    position: static;
    background: none;
    height: auto;
    width: auto;
    font-size: 18px;
    color: var(--mute);
    font-weight: 400;
  }
  .nav-links a.active {
    color: var(--brand);
    font-weight: 700;
  }
  .nav-links a.active::after {
    content: "›";
    position: static;
    background: none;
    height: auto;
    width: auto;
    bottom: auto;
    left: auto;
    right: auto;
    font-size: 18px;
    color: var(--brand);
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: #fff;
    position: relative;
    z-index: 110;
  }
  body.nav-open .nav-toggle {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
  }
  .nav-backdrop {
    display: none !important;
  }
  /* ドロワー下部の CTA ボタン（.nav-links a を上書きするため詳細度を上げる） */
  .nav-links a.nav-drawer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
    padding: 15px 20px;
    border: 0;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
  }
  .nav-links a.nav-drawer-cta::after { content: none; }
}
@media (max-width: 600px) {
  .services-grid,
  .cases-grid,
  .wf-grid,
  .staff-members,
  .concerns-list,
  .offices-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 32px;
  }
  .card,
  .staff-card,
  .area-card,
  .entry-card,
  .offices-card {
    padding: 20px;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .cases-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hero-photo {
    transform: none;
  }
  .float-1 {
    display: none;
  }
  /* .float-2（年間200件+）はスマホでも表示。位置は写真右下に */
  .float-2 {
    bottom: 14px;
    right: 4px;
    padding: 12px 16px;
    transform: rotate(2deg);
    border-radius: 14px;
  }
  .float-2 small {
    font-size: 10px;
    margin-bottom: 3px;
  }
  .float-2 b {
    font-size: 19px;
  }
}

/* ─── services page ─── */
.svc-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
}
.svc-blob {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.svc-blob.b1 {
  top: -60px;
  right: -100px;
  width: 420px;
  height: 420px;
  background: var(--brand-soft);
}
.svc-blob.b2 {
  top: 160px;
  right: 240px;
  width: 90px;
  height: 90px;
  background: #f7e6da;
}
.svc-hero-inner {
  position: relative;
  z-index: 1;
}
.svc-hero h1 {
  font-size: 52px;
  font-weight: 700;
  margin: 20px 0 22px;
  line-height: 1.4;
  letter-spacing: -0.005em;
}
.svc-hero p {
  font-size: 15.5px;
  color: var(--ink2);
  line-height: 2.1;
  max-width: 720px;
  margin: 0;
}

/* 事業範囲 */
.scope-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
}
.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.scope-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}
.scope-pill .ic {
  display: inline-flex;
}
.scope-pill.yes {
  background: var(--brand-soft);
  color: var(--brand);
}
.scope-pill.no {
  background: var(--bg);
  color: var(--mute);
  border: 1px solid var(--line);
}
.scope-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.scope-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px dashed var(--line);
  align-items: flex-start;
}
.scope-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  flex-shrink: 0;
}
.scope-mark.yes {
  background: var(--brand);
  color: #fff;
}
.scope-mark.no {
  background: #fff;
  color: var(--mute);
  border: 1.5px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}
.scope-list .t {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 4px;
}
.scope-list .t.muted {
  color: var(--ink2);
}
.scope-list .d {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.85;
}
.scope-list .d.muted {
  color: var(--mute);
}

/* 6つのサービス */
.svc-detail-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.svc-row {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 380px 1fr;
}
.svc-row.flip {
  grid-template-columns: 1fr 380px;
}
.svc-row.flip .svc-row-photo {
  order: 2;
}
.svc-row-photo {
  position: relative;
  min-height: 280px;
}
.svc-row-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc-row-no {
  position: absolute;
  top: 18px;
  background: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-family: var(--num);
}
.svc-row-no.l {
  left: 18px;
}
.svc-row-no.r {
  right: 18px;
}
.svc-row-body {
  padding: 34px 38px;
}
.svc-row-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.svc-row-head .ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.svc-row-head .cat {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.svc-row-head h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 2px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.svc-row-head .usp-badge {
  font-size: 13px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}
.svc-row .lead {
  font-size: 14px;
  color: var(--ink2);
  line-height: 2;
  margin: 0 0 16px;
}
.svc-row .points {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.svc-row .points li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  padding: 6px 0;
  align-items: flex-start;
}
.svc-row .points .ck {
  display: inline-flex;
  margin-top: 4px;
}
.svc-row .points .tx {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.85;
}
.svc-row .meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}
.svc-row .meta .k {
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.svc-row .meta .v {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}
.svc-row .note {
  margin-top: 14px;
  padding: 10px 14px;
  background: var(--brand-softer);
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.8;
}

/* 取扱機種 */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}
.product-band {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--num);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 14px;
}
.product-body {
  padding: 20px 22px;
}
.product-body .en {
  font-size: 13px;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-family: var(--num);
  margin-bottom: 6px;
}
.product-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}
.product-body p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.85;
  margin: 0;
}
.products-note {
  margin-top: 18px;
  padding: 14px 22px;
  background: #fff;
  border-radius: 14px;
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.9;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.products-note .i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-softer);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* 制度の概要 */
.subsidy-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
}
.subsidy-h {
  font-size: 28px;
  font-weight: 700;
  margin: 14px 0 12px;
  line-height: 1.55;
}
.subsidy-lead {
  font-size: 14px;
  color: var(--ink2);
  line-height: 2.05;
  margin: 0 0 16px;
}
.subsidy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.subsidy-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px dashed var(--line);
  align-items: flex-start;
}
.subsidy-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  margin-top: 3px;
  flex-shrink: 0;
}
.subsidy-list .t {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.subsidy-list .d {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.85;
}
.subsidy-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.fee-box {
  background: var(--brand-softer);
  border-radius: 18px;
  padding: 28px;
}
.fee-box .kicker {
  font-size: 13px;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.fee-box .ttl {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 18px;
}
.fee-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px dashed rgba(232, 57, 13, 0.2);
  font-size: 14px;
}
.fee-row:first-of-type {
  border-top: 0;
}
.fee-row .k {
  color: var(--ink2);
}
.fee-row .v {
  font-weight: 700;
  color: var(--ink);
  text-align: right;
}
.fee-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.85;
}

@media (max-width: 980px) {
  .svc-hero {
    padding: 40px 0;
  }
  .svc-hero h1 {
    font-size: 34px;
  }
  .scope-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .scope-card,
  .subsidy-card {
    padding: 24px;
  }
  .svc-row,
  .svc-row.flip {
    grid-template-columns: 1fr;
  }
  .svc-row.flip .svc-row-photo {
    order: 0;
  }
  .svc-row-photo {
    min-height: 200px;
  }
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
  .subsidy-card {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .svc-row-body {
    padding: 24px;
  }
  .svc-hero h1 {
    font-size: 30px;
  }
}

/* ─── area page ─── */
.area-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 24px;
  text-align: center;
}
.area-hero-blob {
  position: absolute;
  top: -40px;
  left: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--brand-soft);
  z-index: 0;
  pointer-events: none;
}
.area-hero-inner {
  position: relative;
  z-index: 1;
}
.area-hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin: 18px 0 14px;
  line-height: 1.4;
}
.area-hero p {
  font-size: 14.5px;
  color: var(--ink2);
  line-height: 2;
  max-width: 680px;
  margin: 24px auto 0;
}

/* map + coverage */
.area-map-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
}
.area-map-frame {
  background: var(--brand-softer);
  border-radius: 18px;
  padding: 16px;
}
.area-map-frame svg {
  display: block;
  width: 100%;
  height: auto;
}
.area-coverage .kicker {
  font-size: 13px;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-family: var(--num);
  margin-bottom: 10px;
}
.area-coverage h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.55;
}
.area-coverage > p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 2;
  margin: 0 0 22px;
}
.area-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.area-stats .stat {
  background: var(--bg);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: center;
}
.area-stats .n {
  font-size: 26px;
  font-weight: 800;
  font-family: var(--num);
  line-height: 1;
}
.area-stats .l {
  font-size: 13px;
  color: var(--mute);
  margin-top: 6px;
}

/* region cards */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}
.area-region {
  background: #fff;
  border-radius: 20px;
  padding: 26px;
}
.area-region.featured {
  background: var(--brand);
  color: #fff;
}
.area-region-h {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.area-region-h .pin {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--brand-softer);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.area-region.featured .area-region-h .pin {
  background: rgba(255, 255, 255, 0.18);
}
.area-region-h .region {
  font-size: 18px;
  font-weight: 700;
}
.area-region-h .kind {
  font-size: 13px;
  color: var(--mute);
  margin-top: 2px;
}
.area-region.featured .area-region-h .kind {
  color: #fff;
  opacity: 0.85;
}
.area-region .area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.area-city {
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-softer);
  color: var(--brand);
  font-weight: 600;
}
.area-region.featured .area-city {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* visit policy */
.visit-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
}
.visit-intro h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 14px 0 12px;
  line-height: 1.55;
}
.visit-intro p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 2.05;
  margin: 0;
}
.visit-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.visit-box {
  background: var(--bg);
  border-radius: 16px;
  padding: 20px 22px;
}
.visit-box .vb-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vb-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.vb-t {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}
.vb-d {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.85;
}
.vb-e {
  font-size: 11px;
  color: var(--ink2);
  line-height: 1.5;
}

/* out of area */
.outarea-card {
  background: var(--brand-softer);
  border-radius: 24px;
  padding: 36px 40px;
  border: 1px dashed rgba(232, 57, 13, 0.33);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.outarea-card .kicker {
  font-size: 13px;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-family: var(--num);
  margin-bottom: 8px;
}
.outarea-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.55;
}
.outarea-card p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 2.05;
  margin: 0;
}
.outarea-card .fine {
  font-size: 14px;
  color: var(--mute);
}
.outarea-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

/* next step */
.nextstep-card {
  background: #fff;
  border-radius: 24px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.nextstep-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 14px 0 8px;
  line-height: 1.55;
}
.nextstep-card p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 2;
  margin: 0;
}

@media (max-width: 980px) {
  .area-hero h1 {
    font-size: 34px;
  }
  .area-map-card,
  .visit-card {
    padding: 24px;
  }
  .area-map-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .area-grid {
    grid-template-columns: 1fr;
  }
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .outarea-card,
  .nextstep-card {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .area-hero h1 {
    font-size: 28px;
  }
  .visit-boxes {
    grid-template-columns: 1fr;
  }
  .area-stats {
    grid-template-columns: 1fr 1fr 1fr;
  }
}


/* ─── 車椅子相談シート (consultation) ─── */
.cons-main {
  padding: 32px 0 80px;
  background: var(--bg);
}
.cons-section {
  padding: 0;
}
/* per-screen widths: input(wide) / confirm(mid) / complete(narrow) */
.cons-wide {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
}
.cons-mid {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 48px;
}
.cons-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 48px;
}

/* 3-step progress (input → confirm → complete) */
.cons-steps3 {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 560px;
  margin: 0 auto 8px;
  padding: 0;
}
.cons-steps3 li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  font-size: 12px;
  font-weight: 700;
  color: var(--mute);
}
.cons-steps3 li .d {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--num);
  font-size: 14px;
  font-weight: 700;
  background: #fff;
  color: var(--mute);
  border: 1.5px solid var(--line);
  position: relative;
  z-index: 1;
}
.cons-steps3 li em {
  font-style: normal;
  position: relative;
  z-index: 1;
}
.cons-steps3 li.done,
.cons-steps3 li.cur {
  color: var(--ink);
}
.cons-steps3 li.done .d,
.cons-steps3 li.cur .d {
  background: var(--brand);
  color: #fff;
  border: none;
}
.cons-steps3 li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.cons-steps3 li:first-child::before {
  display: none;
}
.cons-steps3 li.done::before,
.cons-steps3 li.cur::before {
  background: var(--brand);
}

.cons-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px 28px;
  margin-bottom: 14px;
}

.cons-alert {
  background: var(--brand-soft);
  border: 1.5px solid #f3c3b2;
  color: var(--brand-dark);
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

/* intro — white card with inline lead + red urgent box */
.cons-intro {
  background: #fff;
  border-radius: 18px;
  padding: 20px 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  margin: 0 0 18px;
}
.cons-intro-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.cons-intro-lead {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink2);
  margin: 0;
}
.cons-intro-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cons-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink2);
  background: var(--bg);
  border-radius: 999px;
  padding: 6px 12px;
}
.cons-chip svg {
  flex-shrink: 0;
}
.cons-urgent {
  background: #fdecec;
  border: 1.5px solid rgba(214, 40, 40, 0.2);
  border-radius: 14px;
  padding: 14px 18px;
  min-width: 240px;
}
.cons-urgent .hd {
  font-weight: 700;
  color: #d62828;
  font-size: 11.5px;
  line-height: 1.5;
  margin-bottom: 6px;
}
.cons-urgent p {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink2);
  margin: 0;
}

/* form shell */
.cons-form {
  margin-top: 0;
}

/* stepper (JS only) — connected circle + connector + label, in white card */
.cons-stepper {
  background: #fff;
  border-radius: 18px;
  padding: 22px 28px 18px;
  margin-bottom: 12px;
}
.cons-stepper .cs-row {
  display: flex;
  align-items: flex-start;
}
.cs-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0;
  width: 72px;
  flex: 0 1 72px;
  min-width: 38px;
}
.cs-node .cs-c {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--num);
  background: #fff;
  color: var(--mute);
  border: 1.5px solid var(--line);
  transition: all 0.15s;
}
.cs-node .cs-l {
  font-size: 11px;
  font-weight: 600;
  color: var(--mute);
  line-height: 1.35;
  text-align: center;
  max-width: 72px;
}
.cs-node.done .cs-c,
.cs-node.cur .cs-c {
  background: var(--brand);
  color: #fff;
  border: none;
}
.cs-node.cur .cs-c {
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.cs-node.cur .cs-l {
  font-weight: 700;
  color: var(--ink);
}
.cs-node.done .cs-l {
  color: var(--ink2);
}
.cs-con {
  flex: 1;
  height: 2px;
  background: var(--line);
  margin-top: 17px;
  border-radius: 2px;
  min-width: 8px;
}
.cs-con.on {
  background: var(--brand);
}

.cons-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.cons-progress .lbl {
  font-family: var(--num);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
}
.cons-progress .bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.cons-progress .fill {
  display: block;
  height: 100%;
  background: var(--brand);
  border-radius: 999px;
  transition: width 0.2s;
}
.cons-progress .rest {
  font-size: 12.5px;
  color: var(--ink2);
  white-space: nowrap;
}

/* step content card */
.cons-step {
  background: #fff;
  border-radius: 22px;
  padding: 30px 40px 34px;
  margin-bottom: 16px;
}
.cons-js .cons-step {
  display: none;
}
.cons-js .cons-step.is-active {
  display: block;
  min-height: 360px;
}
.cons-stephead {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.cons-stephead .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--brand-softer);
  color: var(--brand);
  font-family: var(--num);
  font-size: 19px;
  font-weight: 800;
  flex-shrink: 0;
}
.cons-stephead h2 {
  font-size: 25px;
  font-weight: 700;
  margin: 2px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cons-stephead p {
  font-size: 13.5px;
  color: var(--ink2);
  line-height: 1.8;
  margin: 8px 0 0;
}

/* proxy panel (URL ?proxy=1 only) */
.cons-proxy-panel {
  background: #eef2f5;
  border: 1.5px solid rgba(74, 107, 133, 0.2);
  border-radius: 18px;
  padding: 24px 28px;
  margin-bottom: 16px;
}
.pp-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}
.pp-tag {
  display: inline-block;
  background: #4a6b85;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 8px;
}
.pp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pp-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

/* field */
.cons-field {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.cf-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.cf-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}
.cf-req {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  padding: 2px 8px;
  border-radius: 6px;
}
.cf-opt {
  font-size: 11px;
  font-weight: 700;
  color: var(--mute);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 6px;
}
.cf-hint {
  font-size: 12px;
  color: var(--mute);
  font-weight: 600;
}
.cf-help {
  font-size: 12.5px;
  color: var(--ink2);
  line-height: 1.8;
  margin: 6px 0 0;
}

.cf-options {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.cf-options.cols-1 {
  grid-template-columns: 1fr;
}
.cf-options.cols-2 {
  grid-template-columns: 1fr 1fr;
}
.cf-options.cols-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.cf-opt-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 48px;
  padding: 11px 16px;
  text-align: left;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink2);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all 0.12s;
}
.cf-opt-btn input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.cf-opt-btn .mark {
  width: 22px;
  height: 22px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #fff;
  flex-shrink: 0;
  position: relative;
  transition: all 0.12s;
}
.cf-opt-btn input[type="radio"] + .mark {
  border-radius: 50%;
}
.cf-opt-btn:hover {
  border-color: var(--brand);
}
.cf-opt-btn.sel {
  border: 2px solid var(--brand);
  background: var(--brand-softer);
  color: var(--ink);
  font-weight: 700;
}
.cf-opt-btn.sel .mark {
  border-color: var(--brand);
  background: var(--brand);
}
.cf-opt-btn.sel .mark::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.cf-opt-btn input[type="radio"].sel + .mark::after,
.cf-opt-btn input[type="radio"]:checked + .mark::after {
  left: 7px;
  top: 7px;
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  transform: none;
}
.cf-other {
  margin-top: 10px;
  display: none;
}
.cons-field input[type="text"],
.cons-field input[type="tel"],
.cons-field input[type="email"],
.cons-field input[type="date"],
.cons-field input[type="datetime-local"],
.cons-field textarea,
.cf-other input,
.pp-grid input {
  width: 100%;
  min-height: 48px;
  font-family: inherit;
  font-size: 15px;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-sizing: border-box;
}
.cons-field textarea {
  resize: vertical;
  line-height: 1.8;
}
.cons-field input:focus,
.cons-field textarea:focus,
.cf-other input:focus,
.pp-grid input:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.cons-field.has-err .cf-label::after {
  content: " ●";
  color: var(--brand);
}
.cons-field.has-err input,
.cons-field.has-err textarea {
  border-color: var(--brand);
}
.cf-err {
  color: var(--brand-dark);
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 8px;
}
.cf-note {
  font-size: 12.5px;
  color: var(--mute);
  margin-top: 10px;
  line-height: 1.7;
}

/* dropzone */
.cons-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 40px 24px;
  margin-top: 22px;
  border: 2px dashed rgba(232, 57, 13, 0.33);
  border-radius: 16px;
  background: var(--brand-softer);
  cursor: pointer;
  transition: border-color 0.12s;
}
.cons-dropzone:hover {
  border-color: var(--brand);
}
.cons-dropzone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.dz-ic {
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
  border-radius: 16px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dz-main {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}
.dz-sub {
  font-size: 12.5px;
  color: var(--ink2);
  line-height: 1.8;
}
.cons-photo-examples {
  margin-top: 20px;
}
.cons-photo-examples .hd {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.cons-photo-examples ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
}
.cons-photo-examples li {
  font-size: 13px;
  color: var(--ink2);
  padding-left: 20px;
  position: relative;
}
.cons-photo-examples li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* privacy + consent */
.cons-privacy {
  font-size: 13.5px;
  line-height: 2;
  color: var(--ink2);
  background: var(--bg);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 22px 0 16px;
}
.cons-consent {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 20px 22px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  text-align: left;
}
.cons-consent input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.cons-consent .box {
  width: 28px;
  height: 28px;
  border: 2px solid var(--line);
  border-radius: 8px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.12s;
}
.cons-consent .t {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.cons-consent.sel {
  border: 2px solid var(--brand);
  background: var(--brand-softer);
}
.cons-consent.sel .box {
  background: var(--brand);
  border-color: var(--brand);
}
.cons-consent.sel .box::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 4px;
  width: 7px;
  height: 13px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.cons-consent.has-err {
  border-color: var(--brand);
}

/* footer nav */
.cons-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.cons-nav-note {
  flex: 1;
  text-align: right;
  font-size: 12px;
  color: var(--mute);
  line-height: 1.6;
}
.cons-nav .btn {
  flex-shrink: 0;
}
.cons-nav .btn[hidden] {
  display: none;
}

/* confirm */
.cons-confirm-head {
  text-align: center;
  margin-bottom: 8px;
  padding-top: 20px;
}
.cons-confirm-head h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 14px 0 10px;
}
.cons-confirm-head p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.9;
  max-width: 620px;
  margin: 0 auto;
}
.cons-review-list {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cons-review .cr-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.cr-head-l {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cr-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-softer);
  color: var(--brand);
  font-family: var(--num);
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}
.cons-review h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}
.cr-edit {
  font-size: 12.5px;
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.cons-review dl {
  margin: 0;
  display: grid;
  grid-template-columns: 180px 1fr;
  row-gap: 2px;
  column-gap: 16px;
}
.cons-review dt {
  font-size: 12.5px;
  color: var(--mute);
  font-weight: 600;
  padding: 8px 0;
  border-top: 1px dashed var(--line);
}
.cons-review dd {
  font-size: 13.5px;
  margin: 0;
  padding: 8px 0;
  border-top: 1px dashed var(--line);
  color: var(--ink);
  font-weight: 500;
  white-space: pre-wrap;
  word-break: break-word;
}
.cons-review dd.empty {
  color: var(--mute);
  font-weight: 400;
}
.cr-photos {
  font-size: 13.5px;
  color: var(--ink2);
  margin: 0;
}
.cons-consent-recap {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  background: #eef3ec;
  border-radius: 18px;
  padding: 18px 28px;
}
.cons-consent-recap .ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--green);
  flex-shrink: 0;
}
.cons-confirm-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0 8px;
  flex-wrap: wrap;
}

/* complete */
.cons-complete-hero {
  background: #fff;
  border-radius: 24px;
  padding: 48px 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cons-complete-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #eef3ec;
  z-index: 0;
}
.cons-complete-hero > * {
  position: relative;
  z-index: 1;
}
.cc-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.cons-complete-hero h1 {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.5;
}
.cons-complete-hero p {
  font-size: 14.5px;
  color: var(--ink2);
  line-height: 2;
  margin: 0;
}
.cc-receipt {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 28px auto 0;
  padding: 20px 40px;
  background: var(--brand-softer);
  border-radius: 18px;
}
.cc-receipt .lbl {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.1em;
}
.cc-receipt .no {
  font-family: var(--num);
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.cc-receipt .at {
  font-size: 12px;
  color: var(--mute);
}
.cons-next {
  background: #fff;
  border-radius: 20px;
  padding: 28px 32px;
  margin-top: 16px;
}
.cons-next h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 18px;
}
.cons-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}
.cons-flow li {
  counter-increment: flow;
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 4px;
  align-items: start;
  padding-bottom: 20px;
  position: relative;
}
.cons-flow li:last-child {
  padding-bottom: 0;
}
.cons-flow li::before {
  content: counter(flow);
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--num);
  font-weight: 700;
  font-size: 13px;
  position: relative;
  z-index: 1;
  align-self: start;
}
.cons-flow li b {
  grid-column: 2;
  grid-row: 1;
}
.cons-flow li span {
  grid-column: 2;
  grid-row: 2;
}
.cons-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}
.cons-flow li b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 4px;
}
.cons-flow li span {
  font-size: 12.5px;
  color: var(--ink2);
  line-height: 1.8;
}
.cons-complete-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}
.cc-contact {
  background: #eef2f5;
  border-radius: 18px;
  padding: 24px 26px;
}
.cc-contact .hd {
  font-size: 13px;
  font-weight: 700;
  color: #4a6b85;
  margin-bottom: 8px;
}
.cc-contact .mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
}
.cc-contact .note {
  font-size: 12px;
  color: var(--ink2);
  margin-top: 6px;
  line-height: 1.7;
}
.cc-actions {
  background: #fff;
  border-radius: 18px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.cc-back {
  text-align: center;
  margin-top: 24px;
}
.cc-back a {
  font-size: 13px;
  color: var(--ink2);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 860px) {
  .cons-wide,
  .cons-mid,
  .cons-narrow {
    padding: 0 20px;
  }
  .cons-intro {
    grid-template-columns: 1fr;
  }
  .cons-urgent {
    min-width: 0;
  }
  .cons-step {
    padding: 24px 22px 28px;
  }
  .cons-stephead .num {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 17px;
  }
  .cons-stephead h2 {
    font-size: 21px;
  }
  .cons-review dl {
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .cons-review dd {
    border-top: 0;
    padding-top: 0;
    padding-bottom: 10px;
  }
  .pp-grid {
    grid-template-columns: 1fr;
  }
  .cf-options.cols-2,
  .cf-options.cols-3 {
    grid-template-columns: 1fr;
  }
  .cons-photo-examples ul {
    grid-template-columns: 1fr;
  }
  .cons-nav {
    flex-direction: column;
    align-items: stretch;
  }
  .cons-nav-note {
    order: 3;
    text-align: center;
  }
  .cons-complete-grid {
    grid-template-columns: 1fr;
  }
  .cons-confirm-head h1 {
    font-size: 26px;
  }
  .cons-complete-hero {
    padding: 36px 24px 32px;
  }
  .cons-complete-hero h1 {
    font-size: 24px;
  }
}

/* ═══════════════════════════════════════════════════════════
   印刷用フォーム（cpp-* = consultation print page）
   ?mode=print の空欄シート、および完了画面の控え（cpp-receipt）。
   A4 縦・モノクロ・インク節約。デザイン C 案 C_PrintForm に準拠。
   ═══════════════════════════════════════════════════════════ */

@page {
  size: A4 portrait;
  margin: 10mm;
}

.cpp-main {
  background: #e8e6e2;
  padding: 28px 0;
  min-height: 60vh;
}
.cpp-toolbar {
  max-width: 794px;
  margin: 0 auto 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  gap: 12px;
  flex-wrap: wrap;
}
.cpp-toolbar .info {
  font-size: 13px;
  color: #555;
}
.cpp-toolbar .actions {
  display: flex;
  gap: 8px;
}

.cpp-page {
  width: 794px;
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  color: #1a1a1a;
  padding: 36px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
  box-sizing: border-box;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", -apple-system, sans-serif;
}
.cpp-page .cpp-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: 12px;
  margin-bottom: 14px;
  gap: 16px;
}
.cpp-page .cpp-head h1 {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: 22px;
  letter-spacing: .04em;
  margin: 0;
  font-weight: 700;
}
.cpp-meta {
  font-size: 10.5px;
  color: #777;
  margin-top: 4px;
}
.cpp-recept {
  text-align: right;
  font-size: 10.5px;
  color: #777;
  white-space: nowrap;
}
.cpp-recept .row {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  margin-bottom: 6px;
}
.cpp-recept .lbl {
  border: 1px solid #1a1a1a;
  padding: 3px 10px;
  color: #1a1a1a;
}
.cpp-recept .slot {
  border: 1px solid #c9c9c9;
  padding: 3px 28px;
}
.cpp-recept .slot.filled {
  color: #1a1a1a;
  font-weight: 700;
  padding: 3px 14px;
}
.cpp-note {
  font-size: 10.5px;
  color: #777;
  line-height: 1.7;
  margin: 0 0 12px;
}

.cpp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
}
.cpp-sec {
  margin-bottom: 10px;
  break-inside: avoid;
  page-break-inside: avoid;
}
.cpp-sec-h {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0f0f0;
  padding: 5px 10px;
  border-left: 3px solid #1a1a1a;
}
.cpp-sec-h .n {
  font-size: 10.5px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
}
.cpp-sec-h .t {
  font-size: 12.5px;
  font-weight: 700;
}
.cpp-sec-body {
  padding: 8px 10px;
}

.cpp-q {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dotted #c9c9c9;
  align-items: start;
}
.cpp-q:last-child {
  border-bottom: 0;
}
.cpp-q-l {
  font-size: 11px;
  font-weight: 600;
  padding-top: 2px;
  line-height: 1.45;
}
.cpp-q-l .req {
  color: #c00;
  font-size: 9px;
  margin-left: 3px;
}
.cpp-q-r {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  padding-top: 2px;
}

.cpp-box {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  white-space: nowrap;
  margin-bottom: 2px;
}
.cpp-box::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1.2px solid #1a1a1a;
  border-radius: 2px;
  flex-shrink: 0;
}
.cpp-blank {
  display: inline-block;
  width: 100%;
  min-width: 120px;
  border-bottom: 1px solid #c9c9c9;
  height: 16px;
  flex: 1;
}
.cpp-blank.tall {
  height: 38px;
  border-bottom: 1px solid #c9c9c9;
  background-image: linear-gradient(to bottom, transparent calc(50% - 1px), #c9c9c9 calc(50% - 1px), #c9c9c9 50%, transparent 50%);
}
.cpp-blank.w80 {
  width: 80px;
  min-width: 80px;
  flex: 0 0 auto;
}
.cpp-blank.w120 {
  width: 120px;
  min-width: 120px;
  flex: 0 0 auto;
}

.cpp-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
}
.cpp-consent {
  border: 1px solid #1a1a1a;
  padding: 8px 12px;
}
.cpp-consent h3 {
  font-size: 11px;
  font-weight: 700;
  margin: 0 0 5px;
}
.cpp-consent p {
  font-size: 9.5px;
  color: #777;
  line-height: 1.6;
  margin: 0 0 6px;
}
.cpp-consent .sign {
  font-size: 11px;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cpp-consent .sign .big-box {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1.5px solid #1a1a1a;
  flex-shrink: 0;
}
.cpp-internal {
  border: 1px dashed #777;
  padding: 8px 12px;
  background: #fafafa;
}
.cpp-internal .lbl {
  font-size: 10px;
  font-weight: 700;
  color: #777;
  margin-bottom: 5px;
}
.cpp-internal .row {
  font-size: 10px;
  color: #777;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  line-height: 1.9;
}

.cpp-bottom {
  margin-top: 10px;
  font-size: 9px;
  color: #777;
  text-align: center;
  border-top: 1px solid #c9c9c9;
  padding-top: 6px;
}

/* 入力画面の印刷シート導線 */
.cons-print-link {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--ink2, #555);
}
.cons-print-link a {
  color: var(--brand, #e8390d);
  font-weight: 700;
  text-decoration: underline;
}

/* 完了画面の控え（画面ではプレビュー、印刷時はこれだけ残す） */
.cpp-receipt {
  width: 794px;
  max-width: 100%;
  margin: 24px auto 0;
  background: #fff;
  color: #1a1a1a;
  padding: 32px 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
  box-sizing: border-box;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", -apple-system, sans-serif;
}
.cpp-r-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: 12px;
  margin-bottom: 12px;
  gap: 16px;
}
.cpp-r-head h1 {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: 20px;
  margin: 0;
  font-weight: 700;
  letter-spacing: .04em;
}
.cpp-r-sec {
  margin-top: 10px;
  break-inside: avoid;
  page-break-inside: avoid;
}
.cpp-r-sec h2 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  background: #f0f0f0;
  padding: 4px 10px;
  border-left: 3px solid #1a1a1a;
  margin: 0 0 6px;
  font-size: 12.5px;
  font-weight: 700;
}
.cpp-r-sec h2 .n {
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
}
.cpp-r-sec .row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px;
  padding: 4px 8px;
  border-bottom: 1px dotted #c9c9c9;
  font-size: 11.5px;
}
.cpp-r-sec .row:last-child {
  border-bottom: 0;
}
.cpp-r-sec .row .l {
  font-weight: 600;
  color: #333;
}
.cpp-r-sec .row .v {
  color: #111;
  word-break: break-word;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════
   単票モード（cps-* = consultation single page）
   ?mode=single — PDF風 A4 レイアウトのまま実際に入力できる 1 ページフォーム。
   PC: 2 カラム A4 風／スマホ: 1 カラム縦並びにフォールバック。
   ═══════════════════════════════════════════════════════════ */
.cps-section {
  background: #e8e6e2;
  padding: 28px 0;
}
.cps-section .cpp-toolbar {
  max-width: 920px;
}
.cps-alert {
  max-width: 920px;
  margin: 0 auto 14px;
}

.cps-form {
  display: block;
}
.cps-page {
  width: 920px;
  max-width: 100%;
  padding: 36px 40px;
  margin: 0 auto;
}

/* 単票内のセクション見出しはやや余白を広めに */
.cps-sec {
  margin-bottom: 14px;
}

/* 質問行：印刷版より入力欄に余裕を持たせる */
.cps-q {
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 8px 0;
  align-items: start;
}
.cps-q.has-err .cps-q-l {
  color: #c00;
}
.cps-q .cps-hint {
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  color: #777;
  font-weight: 500;
}
.cps-q .cps-help {
  font-size: 10.5px;
  color: #777;
  margin: 0 0 6px;
  line-height: 1.5;
  flex-basis: 100%;
}

/* 入力欄：下線基調、フォーカス時にブランド色 */
.cps-q input[type=text],
.cps-q input[type=tel],
.cps-q input[type=email],
.cps-q input[type=date],
.cps-q input[type=datetime-local],
.cps-q textarea,
.cps-other input[type=text] {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #c9c9c9;
  background: transparent;
  padding: 4px 2px;
  font: inherit;
  color: #1a1a1a;
  border-radius: 0;
  box-sizing: border-box;
  font-family: inherit;
}
.cps-q textarea {
  border: 1px solid #c9c9c9;
  padding: 6px 8px;
  resize: vertical;
  line-height: 1.55;
  background: #fafafa;
}
.cps-q input:focus,
.cps-q textarea:focus,
.cps-other input:focus {
  outline: none;
  border-color: var(--brand, #e8390d);
  background: #fff;
}
.cps-q.has-err input,
.cps-q.has-err textarea {
  border-color: #c00;
  background: #fff5f3;
}

/* 選択肢：印刷の □ をクリック可能なラベル風に */
.cps-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  width: 100%;
}
.cps-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  cursor: pointer;
  padding: 3px 4px;
  user-select: none;
  line-height: 1.4;
}
.cps-opt input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.cps-opt .mark {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1.2px solid #1a1a1a;
  border-radius: 2px;
  flex-shrink: 0;
  background: #fff;
  position: relative;
  transition: background .12s, border-color .12s;
}
.cps-opt input[type=radio] + .mark {
  border-radius: 50%;
}
.cps-opt.sel .mark,
.cps-opt input:checked + .mark {
  border-color: var(--brand, #e8390d);
  background: var(--brand, #e8390d);
}
.cps-opt.sel .mark::after,
.cps-opt input:checked + .mark::after {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M5 12l5 5L20 7' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80% 80%;
}
.cps-opt input[type=radio]:checked + .mark::after {
  background-image: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  margin: auto;
  inset: 0;
}
.cps-opt:focus-within .mark {
  box-shadow: 0 0 0 2px rgba(232, 57, 13, .25);
}
.cps-opt .txt {
  white-space: nowrap;
}
.cps-other {
  margin-top: 6px;
  width: 100%;
}

/* エラーメッセージ */
.cps-err {
  color: #c00;
  font-size: 10.5px;
  margin-top: 4px;
  font-weight: 600;
}

/* 代理入力パネル */
.cps-proxy {
  border: 1px dashed #777;
  background: #fafafa;
  padding: 10px 14px;
  margin: 0 0 14px;
}
.cps-proxy .pp-head {
  font-size: 11px;
  font-weight: 700;
  color: #555;
  margin-bottom: 6px;
}
.cps-proxy .pp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
}
.cps-proxy label {
  display: flex;
  flex-direction: column;
  font-size: 10.5px;
  color: #555;
  font-weight: 600;
  gap: 3px;
}
.cps-proxy input {
  border: 0;
  border-bottom: 1px solid #c9c9c9;
  padding: 4px 2px;
  background: transparent;
  font: inherit;
}

/* 写真添付・同意・送信 */
.cps-photos-lead {
  font-size: 11px;
  color: #777;
  margin: 0 0 8px;
  line-height: 1.55;
}
.cps-dropzone {
  display: block;
  border: 1.5px dashed #c9c9c9;
  background: #fafafa;
  padding: 14px 16px;
  text-align: center;
  cursor: pointer;
  border-radius: 4px;
}
.cps-dropzone:hover {
  border-color: var(--brand, #e8390d);
  background: #fff;
}
.cps-dropzone input[type=file] {
  display: block;
  margin: 0 auto;
  font-size: 12px;
}
.cps-dropzone .dz-main {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 4px;
}
.cps-dropzone .dz-sub {
  display: block;
  font-size: 10.5px;
  color: #777;
}

.cps-sec .cpp-sec-h .t em {
  font-style: normal;
  font-size: 10px;
  color: #777;
  margin-left: 6px;
  font-weight: 600;
}
.cps-consent-sec .cpp-sec-h .t em {
  color: #c00;
}

.cps-privacy {
  font-size: 11px;
  color: #555;
  line-height: 1.7;
  margin: 0 0 10px;
}
.cps-consent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1.5px solid #c9c9c9;
  border-radius: 4px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}
.cps-consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cps-consent .box {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1.5px solid #1a1a1a;
  border-radius: 3px;
  background: #fff;
  position: relative;
  flex-shrink: 0;
}
.cps-consent.sel .box {
  background: var(--brand, #e8390d);
  border-color: var(--brand, #e8390d);
}
.cps-consent.sel .box::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M5 12l5 5L20 7' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80% 80%;
}
.cps-consent.sel {
  border-color: var(--brand, #e8390d);
  background: #fff5f3;
}
.cps-consent.has-err {
  border-color: #c00;
  background: #fff5f3;
}

.cps-actions {
  max-width: 920px;
  margin: 18px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  flex-wrap: wrap;
}
.cps-actions .btn-primary {
  margin-left: auto;
}

/* スマホ向け：A4 風 2 カラムを 1 カラムに、左ラベル幅も縮める */
@media (max-width: 860px) {
  .cps-section {
    padding: 16px 0;
  }
  .cps-page {
    padding: 18px 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  }
  .cps-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .cps-page .cpp-head {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
  .cps-page .cpp-recept {
    text-align: left;
  }
  .cps-page .cpp-recept .row {
    justify-content: flex-start;
  }
  .cps-q {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }
  .cps-q .cpp-q-l {
    font-size: 12px;
  }
  .cps-q .cpp-q-r {
    padding-top: 4px;
  }
  .cps-opt {
    font-size: 13px;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
  }
  .cps-opt.sel {
    border-color: var(--brand, #e8390d);
    background: #fff5f3;
  }
  .cps-proxy .pp-grid {
    grid-template-columns: 1fr;
  }
  .cps-actions {
    flex-direction: column;
  }
  .cps-actions .btn,
  .cps-actions .btn-primary {
    width: 100%;
    margin-left: 0;
  }
}

/* ═══════════════════════════════════════════════════════════
   モバイル最適化（スマホデザインに合わせた最終調整）
   ─ 20px ガター、フルワイドのボタン、コンパクトなカード、
     フッターのアコーディオン、ワークフローの縦タイムライン維持。
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  /* 横ガター 20px に統一 */
  .wrap,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* セクション余白の圧縮（スマホはより詰める） */
  section.block {
    padding: 20px 0 28px;
  }
  .section-head {
    margin-bottom: 22px;
  }
  .section-head h2 {
    font-size: 26px;
    line-height: 1.5;
  }
  .hero h1 {
    line-height: 1.45;
  }
  /* ワークフロー preview カードの最小高さを解除 */
  .wf-summary {
    min-height: 0;
  }
  /* concerns カードの ribbon を小さく */
  .concerns-ribbon {
    top: -14px;
    left: 18px;
    padding: 6px 14px;
    font-size: 12px;
  }
  /* entry-route 内側の余白を小さく */
  .entry-route {
    padding: 22px 18px;
    margin-top: 24px;
  }
  .entry-route h3 {
    font-size: 16px;
  }
  .entry-route p {
    font-size: 12.5px;
    line-height: 1.95;
  }
  .entry-route .routes {
    min-width: 0;
    width: 100%;
  }
  /* svc-note の余白圧縮 */
  .svc-note {
    margin-top: 16px;
    padding: 14px 16px;
    font-size: 12.5px;
  }

  /* ヒーロー H1：スマホでは「車椅子を、一緒に。」を 1 行に */
  .hero h1 .sp-comma { display: inline; }
  .hero h1 .sp-hide { display: none; }

  /* concerns：「ご家族」チップの後ろで改行 */
  .concern-who {
    display: inline-block;
    margin-bottom: 6px;
    margin-right: 0;
  }
  .concern-q {
    display: block;
  }

  /* サービスページ：WHAT WE DO の h3 をデザイン指示に合わせて 18px に */
  .svc-row-head h3 {
    font-size: 18px;
    gap: 8px;
  }
  /* メタ情報：項目数（2 or 3）に応じて自動的に分割数を変える */
  .svc-row .meta:has(> :nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
  }
  /* サービスページ：SUBSIDY セクション下部のボタンをフルワイドで縦積み */
  .subsidy-actions {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
  }
  .subsidy-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* ホームページのサービスカード：デザイン仕様（46px アイコン左、scope + title をその右に縦並び） */
  .svc-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    column-gap: 12px;
    row-gap: 0;
    padding: 20px;
    border-radius: 16px;
    align-items: start;
  }
  .svc-head {
    display: contents;
  }
  .svc-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    align-self: center;
  }
  .svc-icon svg {
    width: 25px;
    height: 25px;
  }
  .svc-scope {
    grid-column: 2;
    grid-row: 1;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
    align-self: end;
  }
  .svc-card h3 {
    grid-column: 2;
    grid-row: 2;
    font-size: 16px;
    margin: 2px 0 0;
    line-height: 1.4;
    align-self: start;
  }
  .svc-card p {
    grid-column: 1 / -1;
    margin: 12px 0 0;
    font-size: 12.5px;
    line-height: 1.9;
  }

  /* CTA：縦積み・フルワイド */
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-row .btn {
    width: 100%;
    justify-content: center;
  }
  .btn {
    padding: 15px 22px;
    min-height: 44px;
  }

  /* タグ・チップの圧縮 */
  .tag {
    padding: 6px 12px;
    font-size: 12px;
  }

  /* ヒーロー余白（.wrap の左右 padding を保持しつつ縦のみ調整） */
  .hero-grid {
    padding-top: 28px;
    padding-bottom: 36px;
    gap: 22px;
  }
  .lead {
    font-size: 14px;
    line-height: 1.95;
    margin-bottom: 22px;
  }

  /* カード角丸・余白 */
  .card,
  .scope-card,
  .subsidy-card,
  .area-map-card,
  .visit-card,
  .outarea-card,
  .nextstep-card,
  .offices-card,
  .entry-card,
  .area-card,
  .staff-card,
  .tl-card,
  .case-card,
  .case-row,
  .svc-card {
    border-radius: 18px;
  }
  .card {
    padding: 24px 20px;
  }

  /* サービスページの見出し */
  .svc-hero h1 {
    font-size: 30px;
    line-height: 1.45;
  }
  .area-hero h1 {
    line-height: 1.45;
  }

  /* ワークフローページ：左右余白の調整と H1 縮小 */
  .wf-hero {
    padding: 28px 20px 8px;
  }
  .wf-hero h1 {
    font-size: 26px;
    line-height: 1.45;
    margin: 12px 0 12px;
  }
  .wf-hero p {
    font-size: 13px;
    line-height: 1.95;
    margin-top: 16px;
  }
  .wf-section {
    padding: 16px 20px 0;
  }
  .wf-tabs button {
    padding: 12px 10px;
  }
  .wf-tabs .t-ja {
    font-size: 14px;
  }
  .wf-tabs .t-sub {
    font-size: 10.5px;
    margin-top: 2px;
  }
  .wf-legend {
    padding: 16px 18px;
    gap: 12px;
    border-radius: 14px;
    align-items: flex-start;
  }
  .wf-legend .badge {
    font-size: 11.5px;
    padding: 6px 12px;
    gap: 7px;
  }
  .wf-legend .badge::before {
    width: 7px;
    height: 7px;
  }
  .wf-legend p {
    font-size: 12px;
    line-height: 1.9;
  }

  /* ワークフロー：縦タイムラインを維持（デザインに合わせる） */
  .timeline::before {
    display: block;
    left: 23px;
    top: 20px;
    bottom: 60px;
  }
  .tl-step,
  .tl-after {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }
  .tl-node {
    width: 48px;
    height: 48px;
    margin: 0;
  }
  /* tl-after の knot を 48px 列にフィット → ＋マークが縦線中央に */
  .tl-after .knot {
    width: 48px;
  }
  .tl-node svg {
    width: 24px;
    height: 24px;
  }
  .tl-num {
    width: 22px;
    height: 22px;
    font-size: 11px;
    top: -8px;
  }
  .tl-card {
    padding: 18px;
    border-radius: 16px;
  }
  .tl-h h2 {
    font-size: 22px;
  }

  /* FAQ */
  details.faq {
    padding: 16px;
    border-radius: 14px;
  }
  details.faq summary {
    font-size: 14px;
    gap: 11px;
  }
  details.faq summary .badge,
  details.faq .answer .badge {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
  details.faq .answer .answer-body {
    font-size: 12.5px;
    line-height: 1.95;
  }

  /* Q&Aページ：最初の窓口セクション
     PC の H2 改行（<br>）はスマホでは無効化。フォントサイズは維持。 */
  .entry-side h2 {
    font-size: 20px;
    line-height: 1.55;
    margin: 0 0 12px;
  }
  .entry-side h2 br { display: none; }
  .entry-side .label {
    margin-bottom: 10px;
  }
  .entry-side p {
    font-size: 12.5px;
    line-height: 1.95;
  }
  .entry-side .callout {
    font-size: 12px;
    line-height: 1.85;
    padding: 12px 14px;
  }
  .entry-side .callout .fine {
    font-size: 11px;
  }
  /* 01/02/03 項目のレイアウト（番号と質問を 1 行に） */
  .entry-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 10px;
    row-gap: 0;
    padding: 18px 0;
  }
  .entry-list li > div {
    display: contents;
  }
  .entry-list .n {
    grid-column: 1;
    grid-row: 1;
    align-self: baseline;
    font-size: 20px;
    line-height: 1;
  }
  .entry-list .q {
    grid-column: 2;
    grid-row: 1;
    align-self: baseline;
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
  }
  .entry-list .go {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 8px 0;
    display: block;
    line-height: 1.7;
  }
  .entry-list .go .pre {
    font-size: 12px;
  }
  .entry-list .go .where {
    font-size: 15px;
    border-bottom-width: 2px;
    padding-bottom: 1px;
  }
  .entry-list .go .then {
    font-size: 12px;
  }
  .entry-list .sub {
    grid-column: 1 / -1;
    grid-row: 3;
    font-size: 12px;
    line-height: 1.9;
  }
  /* ※65歳以上で〜やその先の流れは縦並びに */
  .entry-foot {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
    padding-top: 18px;
    font-size: 12.5px;
    line-height: 1.9;
  }
  .entry-card {
    padding: 24px 20px 20px;
    border-radius: 18px;
  }

  /* お近くの福祉事務所：オフィスカードをアコーディオン化 */
  .offices-card {
    padding: 24px 20px;
    border-radius: 18px;
  }
  .offices-head {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 14px;
  }
  .offices-head h2 {
    font-size: 22px;
    margin: 8px 0 4px;
  }
  .offices-head p {
    font-size: 12.5px;
    line-height: 1.9;
  }
  .offices-search {
    min-width: 0;
    padding: 9px 14px;
  }
  details.office > .office-h {
    cursor: pointer;
    pointer-events: auto;
    margin-bottom: 0;
    padding: 4px 0;
  }
  details.office .office-mark {
    display: block;
    width: 14px;
    height: 14px;
    position: relative;
    color: var(--mute);
    flex-shrink: 0;
    margin-left: auto;
  }
  details.office .office-mark::before,
  details.office .office-mark::after {
    content: "";
    position: absolute;
    background: currentColor;
  }
  details.office .office-mark::before {
    left: 0; right: 0; top: 50%;
    height: 1.5px;
    transform: translateY(-50%);
  }
  details.office .office-mark::after {
    top: 0; bottom: 0; left: 50%;
    width: 1.5px;
    transform: translateX(-50%);
    transition: transform 0.2s;
  }
  details.office[open] > .office-h .office-mark::after {
    transform: translateX(-50%) scaleY(0);
  }
  details.office:not([open]) > ul {
    display: none;
  }
  details.office[open] > ul {
    display: block;
    margin-top: 10px;
    max-height: none;
  }
  .office {
    padding: 14px 18px;
    border-radius: 14px;
  }
  .office li {
    font-size: 12px;
    padding: 9px 0;
  }
  .office li .detail {
    font-size: 10.5px;
  }
  .offices-note {
    font-size: 11.5px;
    padding: 12px 16px;
    margin-top: 16px;
  }

  /* 事例ページ：絞り込みアコーディオン */
  .cases-filter-section {
    padding: 0 0 20px;
  }
  .filters-acc {
    background: #fff;
    border-radius: 16px;
    padding: 4px 18px;
  }
  .filters-acc > .filters-acc-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    font-size: 13px;
    font-weight: 700;
  }
  .filters-acc > .filters-acc-summary::-webkit-details-marker { display: none; }
  .filters-acc-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .filters-acc-mark {
    width: 14px;
    height: 14px;
    position: relative;
    color: var(--mute);
    flex-shrink: 0;
  }
  .filters-acc-mark::before,
  .filters-acc-mark::after {
    content: "";
    position: absolute;
    background: currentColor;
  }
  .filters-acc-mark::before {
    left: 0;
    right: 0;
    top: 50%;
    height: 1.5px;
    transform: translateY(-50%);
  }
  .filters-acc-mark::after {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1.5px;
    transform: translateX(-50%);
    transition: transform 0.2s;
  }
  details.filters-acc[open] > .filters-acc-summary > .filters-acc-mark::after {
    transform: translateX(-50%) scaleY(0);
  }
  details.filters-acc:not([open]) > .filters {
    display: none;
  }
  /* 展開時の中身は縦並び・余白圧縮 */
  details.filters-acc[open] > .filters {
    display: flex;
    flex-direction: column;
    background: transparent;
    border-radius: 0;
    padding: 4px 0 16px;
    gap: 12px;
  }
  .filters .lbl {
    display: none;
  }
  .filters .rows {
    gap: 12px;
  }
  .filters .row {
    display: block;
  }
  .filters .row .k {
    display: block;
    width: auto;
    font-size: 11px;
    color: var(--mute);
    margin-bottom: 7px;
  }
  .filters .row .chip {
    margin: 3px 6px 3px 0;
    font-size: 12.5px;
    padding: 6px 11px;
  }
  .filters .pill-btn.primary {
    width: 100%;
    text-align: center;
    padding: 12px 18px;
    font-size: 13px;
  }

  /* 事例一覧カード（縦並び・画像上） */
  .case-row {
    padding: 0;
    overflow: hidden;
    gap: 0;
  }
  .case-row .thumb {
    border-radius: 0;
  }
  .case-row > div {
    padding: 18px 18px 0;
  }
  .case-row h3 {
    font-size: 17px;
  }
  .case-row .more {
    margin: 14px 18px 18px;
    text-align: center;
    padding: 11px 18px;
  }

  /* 相談シート（コンサルテーション） */
  .cons-main {
    padding: 20px 0 60px;
  }
  .cons-wide,
  .cons-mid,
  .cons-narrow {
    padding: 0 20px;
  }
  .cons-card {
    padding: 20px;
    border-radius: 16px;
  }
  .cons-steps3 li {
    font-size: 10.5px;
  }
  .cons-steps3 li .d {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  /* 相談シート：単票モードの案内文をスマホでは非表示（印刷用シートの案内のみ残す場合は HTML 側で対応） */
  .cons-print-link {
    display: none;
  }
  /* 相談シート：ステッパー（番号 + ラベル）を非表示。プログレスバーのみ表示 */
  .cons-stepper {
    display: none !important;
  }
  /* 相談シート：ナビボタンを右寄せ・自然な幅に */
  .cons-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    column-gap: 10px;
  }
  .cons-nav .btn {
    width: auto;
    flex: 0 0 auto;
    min-height: 48px;
    margin-left: auto;
  }
  .cons-nav #cons-prev {
    margin-left: 0;
    margin-right: auto;
  }
  .cons-nav-note {
    flex: 0 0 100%;
    order: 3;
    text-align: center;
  }

  /* フッター余白とブランドマーク */
  footer {
    padding: 32px 20px 28px;
    margin-top: 40px;
  }
  .foot-brand {
    margin-bottom: 14px;
  }
  .foot-brand img {
    max-width: 180px;
  }
  .foot-addr {
    font-size: 12.5px;
    line-height: 1.95;
    margin-bottom: 8px;
  }
  .foot-bottom {
    font-size: 11px;
    margin-top: 18px;
    padding-top: 16px;
  }

  /* フッターアコーディオン */
  .foot-col {
    border-top: 1px solid var(--line);
    margin: 0;
  }
  .foot-col-h {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 2px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    margin: 0;
    list-style: none;
  }
  .foot-col-h::-webkit-details-marker {
    display: none;
  }
  .foot-col .foot-col-mark {
    display: block;
    width: 16px;
    height: 16px;
    position: relative;
    color: var(--mute);
    flex-shrink: 0;
  }
  details.foot-col:not([open]) > .foot-col-body {
    display: none;
  }
  .foot-col-h {
    cursor: pointer;
    pointer-events: auto;
  }
  .foot-col-mark::before,
  .foot-col-mark::after {
    content: "";
    position: absolute;
    background: currentColor;
    transition: transform 0.2s;
  }
  .foot-col-mark::before {
    left: 0;
    right: 0;
    top: 50%;
    height: 1.5px;
    transform: translateY(-50%);
  }
  .foot-col-mark::after {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1.5px;
    transform: translateX(-50%);
  }
  details.foot-col[open] .foot-col-mark::after {
    transform: translateX(-50%) scaleY(0);
  }
  .foot-col-body {
    padding: 0 2px 12px;
  }
  .foot-col-body a {
    display: block;
    padding: 7px 0;
    margin: 0;
    font-size: 12.5px;
    color: var(--ink2);
    text-decoration: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   @media print — A4 縦で印刷シート／控えのみが残るように
   ═══════════════════════════════════════════════════════════ */
@media print {
  html, body {
    background: #fff !important;
    color: #1a1a1a !important;
  }

  /* サイト共通の非表示要素 */
  header.nav,
  footer,
  .nav-backdrop,
  .nav-toggle,
  .nav-links,
  .cpp-toolbar,
  .cons-print-link,
  .dx-debug,
  #dx-debug,
  #cons-stepper,
  .cons-progress,
  .cps-actions,
  .cps-alert {
    display: none !important;
  }

  /* 印刷用フォーム本体（背景・影なし、ページに敷き詰める） */
  .cpp-main {
    background: #fff !important;
    padding: 0 !important;
  }
  .cpp-page,
  .cpp-receipt {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  /* 完了画面：画面用パーツを隠し、控えだけを A4 に印刷 */
  .cons-complete-hero,
  .cons-next,
  .cons-complete-grid,
  .cc-back,
  .cons-steps3,
  .cons-alert {
    display: none !important;
  }
  .cpp-receipt {
    display: block !important;
  }
}
