/* ============================================================
   frame.css — section background tones, decorative curves,
   shared section-heading blocks and card primitives.
   Curve strength: hero (strong, in image) > business (mid) > rest (weak)

   DEFERRED (2026-06-07, design-DNA pass): no new shared .c-* shelves yet.
   The home v5 consult-cta / external / trust bands still carry s-home-*
   naming and bespoke layout, so a generic CTA / card / section-heading
   component would be premature here. The disability page should build
   page-local sections using core.css tokens (--heading, --ink-strong,
   --muted, --surface-panel, --hairline, --shadow-panel, --fs-*). Promote
   a band to frame.css once the same pattern is confirmed on a 2nd page.
   The rules below are legacy/home primitives kept as-is for parity.
   ============================================================ */

/* ---- section tones ---- */
.section--disability { background: linear-gradient(180deg, var(--ibis-pale) 0%, #fff7f3 100%); }
.section--voices { background: var(--neutral); }
.section--area { background: var(--paper); }
.section--external { background: var(--neutral); padding-block: var(--section-y-tight); }
.section--contact { background: linear-gradient(180deg, var(--paper) 0%, var(--navy-pale) 100%); padding-block: var(--section-y-tight); }

/* ---- shared centered heading block ---- */
.voices__head,
.area__head,
.external__head,
.contact__head { text-align: center; max-width: 720px; margin-inline: auto; }

.voices__head,
.area__head,
.external__head,
.contact__head { margin-bottom: clamp(32px, 4.5vw, 48px); }

.voices__title,
.area__title,
.external__title,
.contact__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  color: var(--navy-deep);
  margin-top: 12px;
}
.voices__lead,
.area__lead,
.external__lead,
.contact__lead {
  color: var(--ink-soft);
  margin-top: 14px;
  font-size: 0.98rem;
}

/* ---- weak decorative wave for non-hero sections ---- */
.section--area::before,
.section--voices::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 120px;
  background: radial-gradient(120% 120px at 50% 0, rgba(43, 64, 117, 0.05), transparent 70%);
  pointer-events: none;
}

/* ---- shared card primitive ---- */
.service-card,
.note-panel,
.voice,
.area-qa-card,
.region-card,
.external-card,
.chatwork-card,
.contact-card,
.phone-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

/* ---- shared customer voice showcase ---- */
.c-voice-showcase {
  --voice-ink: var(--corp-ink, var(--heading));
  --voice-body: var(--corp-ink-body, var(--ink));
  --voice-muted: var(--corp-muted, var(--muted));
  --voice-navy: var(--corp-navy, var(--navy));
  --voice-navy-deep: var(--corp-navy-deep, var(--navy-deep));
  --voice-gold: var(--corp-gold, var(--gold));
  --voice-coral: var(--corp-ibis-accent, var(--ibis));
  --voice-coral-muted: #c55350;
  --voice-coral-muted-deep: #9d3f3d;
  --voice-line: var(--corp-line, var(--hairline));
  position: relative;
  overflow: hidden;
  overflow-anchor: none;
  padding-block: var(--corp-section-y, var(--section-y));
  background:
    radial-gradient(circle at 8% 16%, rgba(185, 135, 47, 0.09), transparent 32%),
    linear-gradient(180deg, #fffdf9 0%, var(--corp-paper, var(--paper)) 100%);
  color: var(--voice-body);
}

.c-voice-showcase__inner {
  position: relative;
  z-index: 1;
}

.c-voice-showcase__head {
  max-width: 760px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  text-align: center;
}

.c-voice-showcase__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--voice-gold);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-label);
  letter-spacing: 0.12em;
}

.c-voice-showcase__eyebrow::before,
.c-voice-showcase__eyebrow::after {
  content: "";
  width: 38px;
  height: 1px;
  background: rgba(185, 135, 47, 0.5);
}

.c-voice-showcase__title {
  margin-top: 10px;
  color: var(--voice-ink);
  font-size: var(--fs-section-title);
  line-height: var(--lh-heading);
  text-wrap: balance;
}

.c-voice-showcase__lead {
  max-width: 40em;
  margin: 14px auto 0;
  color: var(--voice-muted);
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
}

.c-voice-showcase__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
  align-items: start;
}

.c-voice-card {
  position: relative;
  min-width: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(29, 45, 86, 0.12);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 252, 246, 0.92)),
    radial-gradient(circle at 100% 0%, rgba(185, 135, 47, 0.12), transparent 44%);
  box-shadow: 0 14px 34px rgba(29, 45, 86, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.c-voice-card.is-active {
  border-color: rgba(223, 95, 88, 0.36);
  box-shadow: 0 18px 44px rgba(29, 45, 86, 0.11);
}

.c-voice-card.is-active::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: -15px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(223, 95, 88, 0.64), rgba(185, 135, 47, 0.36));
}

.c-voice-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.c-voice-card__number {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: var(--voice-navy);
  font-weight: var(--fw-heavy);
  line-height: var(--lh-solid);
}

.c-voice-card__number span {
  color: var(--voice-gold);
  font-size: var(--fs-caption);
  font-weight: var(--fw-label);
  letter-spacing: 0.08em;
}

.c-voice-card__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-voice-card__tags li {
  padding: 4px 10px;
  border: 1px solid rgba(185, 135, 47, 0.28);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.88);
  color: #8d631f;
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  line-height: var(--lh-button);
}

.c-voice-card__main {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 20px;
}

.c-voice-card__avatar {
  margin: 0;
  width: 96px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(29, 45, 86, 0.12);
  border-radius: 50%;
  background: #fff;
}

.c-voice-card__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-voice-card__copy {
  min-width: 0;
}

.c-voice-card__quote {
  margin: 0;
  color: var(--voice-navy-deep);
  font-family: var(--font-serif);
  font-size: var(--fs-card-title);
  font-weight: var(--fw-heading);
  line-height: var(--lh-card);
  text-wrap: balance;
}

.c-voice-card__meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  color: var(--voice-muted);
  font-size: var(--fs-caption);
  line-height: var(--lh-note);
}

.c-voice-card__meta strong {
  color: var(--voice-body);
  font-weight: var(--fw-bold);
}

.c-voice-card__support {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(29, 45, 86, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--voice-navy);
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  line-height: var(--lh-button);
}

.c-voice-card__support .tkg-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.c-voice-card__preview {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--voice-line);
  color: var(--voice-body);
  font-size: var(--fs-note);
  line-height: var(--lh-body);
}

.c-voice-card__preview p + p {
  margin-top: 0.65em;
}

.c-voice-card__details {
  margin-top: auto;
  padding-top: 18px;
}

.c-voice-card__details > summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(43, 64, 117, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--voice-navy);
  cursor: pointer;
  font-size: var(--fs-note);
  font-weight: var(--fw-bold);
  line-height: var(--lh-button);
  list-style: none;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.c-voice-card__details > summary::-webkit-details-marker {
  display: none;
}

.c-voice-card__details > summary:hover,
.c-voice-card__details > summary:focus-visible,
.c-voice-card.is-active .c-voice-card__details > summary {
  border-color: rgba(223, 95, 88, 0.42);
  color: var(--voice-coral);
  background: #fff;
}

.c-voice-card__details > summary:focus-visible {
  outline: 3px solid rgba(223, 95, 88, 0.25);
  outline-offset: 3px;
}

.c-voice-card__details > summary .tkg-icon {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.c-voice-card__details[open] > summary .tkg-icon {
  transform: rotate(90deg);
}

.c-voice-card.is-active .c-voice-card__details > summary .tkg-icon {
  transform: rotate(90deg);
}

.c-voice-card__detail-body {
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--voice-line);
}

.c-voice-card__story {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-voice-card__story li {
  display: grid;
  grid-template-columns: 36px minmax(88px, 0.34fr) minmax(0, 1fr);
  gap: 10px 12px;
  align-items: start;
  padding: 12px;
  border-left: 2px solid rgba(185, 135, 47, 0.44);
  background: rgba(255, 250, 242, 0.7);
}

.c-voice-card__story-num {
  color: var(--voice-gold);
  font-size: var(--fs-caption);
  font-weight: var(--fw-heavy);
  line-height: var(--lh-note);
}

.c-voice-card__story-label {
  color: var(--voice-navy);
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  line-height: var(--lh-note);
}

.c-voice-card__story-text {
  color: var(--voice-body);
  font-size: var(--fs-caption);
  line-height: var(--lh-note);
}

.c-voice-card__body {
  margin-top: 16px;
  color: var(--voice-body);
  font-size: var(--fs-note);
  line-height: var(--lh-body);
}

.c-voice-card__body p + p {
  margin-top: 0.75em;
}

.c-voice-showcase__panels {
  margin-top: clamp(22px, 3vw, 34px);
}

.c-voice-showcase:not(.has-active-panel) .c-voice-showcase__panels,
.c-voice-showcase__panels:empty,
.c-voice-showcase-panel[hidden] {
  display: none;
}

.c-voice-showcase-panel {
  padding: clamp(26px, 3.4vw, 42px);
  border: 1px solid rgba(29, 45, 86, 0.13);
  border-radius: var(--radius-panel);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 252, 246, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(185, 135, 47, 0.12), transparent 36%);
  box-shadow: 0 18px 44px rgba(29, 45, 86, 0.09);
}

.c-voice-showcase-panel__selected {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--voice-muted);
  font-size: var(--fs-caption);
  font-weight: var(--fw-label);
  line-height: var(--lh-note);
}

.c-voice-showcase-panel__selected strong {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(43, 64, 117, 0.08);
  color: var(--voice-navy);
  font-size: var(--fs-caption);
  letter-spacing: 0.04em;
}

.c-voice-showcase-panel__top {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: center;
}

.c-voice-showcase-panel__avatar {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-voice-showcase-panel__avatar img {
  display: block;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(29, 45, 86, 0.12);
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.c-voice-showcase-panel__main {
  min-width: 0;
}

.c-voice-showcase-panel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.c-voice-showcase-panel__tags li {
  padding: 4px 10px;
  border: 1px solid rgba(185, 135, 47, 0.28);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.88);
  color: #8d631f;
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  line-height: var(--lh-button);
}

.c-voice-showcase-panel__quote {
  margin: 0;
  color: var(--voice-navy-deep);
  font-family: var(--font-serif);
  font-size: var(--fs-subsection-title);
  font-weight: var(--fw-heading);
  line-height: var(--lh-card);
  text-wrap: balance;
}

.c-voice-showcase-panel__meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--voice-muted);
  font-size: var(--fs-note);
  line-height: var(--lh-note);
}

.c-voice-showcase-panel__meta strong {
  color: var(--voice-body);
  font-weight: var(--fw-bold);
}

.c-voice-showcase-panel__detail {
  margin-top: clamp(22px, 3vw, 32px);
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid var(--voice-line);
}

.c-voice-showcase-panel__detail .c-voice-card__story {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.c-voice-showcase-panel__detail .c-voice-card__story li {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 8px 12px;
  min-height: 100%;
  padding: 14px;
}

.c-voice-showcase-panel__detail .c-voice-card__story-text {
  grid-column: 2;
}

.c-voice-showcase-panel__detail .c-voice-card__body {
  max-width: 76ch;
  margin-top: 20px;
}

.c-voice-showcase__more {
  margin-top: clamp(24px, 3vw, 34px);
  text-align: center;
}

.c-voice-showcase--minimal .c-voice-card {
  padding: 18px;
}

.c-voice-showcase--minimal .c-voice-card__main {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
}

.c-voice-showcase--minimal .c-voice-card__avatar {
  width: 72px;
}

.c-voice-showcase--minimal .c-voice-card__support,
.c-voice-showcase--minimal .c-voice-card__preview,
.c-voice-showcase--minimal .c-voice-card__details {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .c-voice-card__details > summary,
  .c-voice-card__details > summary .tkg-icon,
  .c-voice-card {
    transition: none;
  }
}

@media (min-width: 861px) {
  .c-voice-showcase.is-enhanced .c-voice-card__detail-body {
    display: none;
  }
}

@media (max-width: 860px) {
  .c-voice-showcase__grid {
    grid-template-columns: 1fr;
  }

  .c-voice-showcase__panels {
    display: none;
  }

  .c-voice-card {
    scroll-margin-top: calc(var(--header-h, 72px) + 96px);
    overflow-anchor: none;
  }

  .c-voice-card.is-active::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .c-voice-showcase__head {
    text-align: left;
  }

  .c-voice-showcase__eyebrow {
    justify-content: flex-start;
  }

  .c-voice-showcase__eyebrow::after {
    display: none;
  }

  .c-voice-card {
    padding: 18px;
  }

  .c-voice-card__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .c-voice-card__tags {
    justify-content: flex-start;
  }

  .c-voice-card__main {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
  }

  .c-voice-card__avatar {
    width: 72px;
  }

  .c-voice-card__story li {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .c-voice-card__story-text {
    grid-column: 2;
  }

  .c-voice-showcase-panel__top {
    grid-template-columns: 1fr;
  }

  .c-voice-showcase-panel__avatar {
    justify-content: flex-start;
  }
}
