/* =====================================================
   about.css — About page styles
   Loaded after base.css + layout.css. Self-contained;
   does not depend on home.css or course.css.

   Sections:
     1. Shared header / em-underline / cta recipes
     2. .about-hero                  — breadcrumb + page title on cream
     3. .section-about-philosophy    — image + editorial mission
     4. .section-about-message       — founder portrait + letter
     5. .section-cta                 — partials/cta.php mirror
   ===================================================== */

/* =====================
   1. SHARED RECIPES — Used by multiple section headers
   The em-underline (gold SVG) is the site-wide convention for
   marking emphasized phrases inside section titles.
   ===================== */

/* Editorial section header — eyebrow + title + desc, centered */
.about-section-header {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.about-section-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  letter-spacing: 0.005em;
}
.about-section-title-em {
  position: relative;
  display: inline-block;
  font-style: normal;
  color: var(--text-main);
  white-space: nowrap;
}
.about-section-title-em::after {
  content: '';
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: -0.12em;
  height: 0.32em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 18' preserveAspectRatio='none'><path d='M4 12 Q 80 2, 160 8 T 316 6' fill='none' stroke='%23F59E0B' stroke-width='5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
.about-section-title-break-mobile { display: none; }
.about-section-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.95;
  margin-top: 1.25rem;
}
.about-section-desc em {
  font-style: normal;
  font-weight: 700;
  color: var(--text-main);
}
.about-section-desc-break-mobile { display: none; }

@media (max-width: 767px) {
  .about-section-header { margin-bottom: 2.75rem; }
  .about-section-desc { font-size: 0.9rem; }
  .about-section-title-break-mobile { display: inline; }
  .about-section-desc-break-mobile { display: inline; }
}

/* =====================
   2. ABOUT HERO — Two-column with background photograph
   Mirrors the course-hero rhythm: a photograph occupies the right ~55%
   of the section with cream gradient overlays feathering its left/top/
   bottom edges into the surrounding cream wash. The left half stays
   pure cream and carries the breadcrumb + headline content. A soft
   bottom fade feathers the hero into the white philosophy section.
   ===================== */
.about-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(500px, 68vh, 620px);
  padding: calc(var(--header-h) + var(--sp-xl)) 0 var(--sp-xl);
  background-color: var(--bg-cream);
}

/* Background photograph — constrained to the right side only */
.about-hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  z-index: 0;
}
.about-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 35%;
  display: block;
}

/* Cream gradient overlays — feather the image's left/top/bottom edges
   into the surrounding cream background (mirrors course-hero overlay). */
.about-hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  z-index: 1;
  background:
    linear-gradient(90deg,
      var(--bg-cream) 0%,
      rgba(250, 247, 243, 0.85) 8%,
      rgba(250, 247, 243, 0.4) 22%,
      transparent 42%),
    linear-gradient(180deg,
      var(--bg-cream) 0%,
      rgba(250, 247, 243, 0.6) 6%,
      transparent 16%),
    linear-gradient(0deg,
      var(--bg-cream) 0%,
      rgba(250, 247, 243, 0.6) 6%,
      transparent 16%);
  pointer-events: none;
}

/* Soft bottom feather into the white philosophy section below */
.about-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  background: linear-gradient(180deg, transparent 0%, var(--bg-white) 100%);
  pointer-events: none;
  z-index: 1;
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Text column — anchored left, width-capped for line length */
.about-hero-text {
  max-width: 540px;
}

.about-hero-breadcrumb {
  margin: 0 0 1.25rem;
}
.about-hero-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
}
.about-hero-breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.about-hero-breadcrumb-item + .about-hero-breadcrumb-item::before {
  content: '/';
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1;
}
.about-hero-breadcrumb-link {
  color: var(--text-light);
  transition: color var(--transition);
}
.about-hero-breadcrumb-link:hover {
  opacity: 1;
  color: var(--primary);
}
.about-hero-breadcrumb-current {
  font-weight: 700;
  color: var(--text-main);
}

.about-hero-title {
  font-size: clamp(1.85rem, 3.8vw, 2.55rem);
  font-weight: 800;
  line-height: 1.5;
  color: var(--text-main);
  margin: 0 0 1.25rem;
  letter-spacing: 0.005em;
  /* Light text shadow keeps the headline crisp against the overlay's
     softer fade zone near the middle of the screen. */
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.about-hero-title-em {
  position: relative;
  display: inline-block;
  font-style: normal;
  color: var(--text-main);
  white-space: nowrap;
}
.about-hero-title-em::after {
  content: '';
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: -0.12em;
  height: 0.32em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 18' preserveAspectRatio='none'><path d='M4 12 Q 80 2, 160 8 T 316 6' fill='none' stroke='%23F59E0B' stroke-width='5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
.about-hero-title-break { display: inline; }

.about-hero-sub {
  font-size: 0.98rem;
  color: var(--text-light);
  line-height: 1.95;
  margin: 0;
  max-width: 500px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.about-hero-sub em {
  font-style: normal;
  font-weight: 700;
  color: var(--text-main);
}

/* ---- Responsive ----
   1023 → tablet: tighten image area, narrower text column
   767  → phone: image goes full-width as a soft backdrop with strong
          cream wash so full-width text remains legible. */
@media (max-width: 1023px) {
  .about-hero-visual,
  .about-hero-overlay { width: 50%; }
  .about-hero { min-height: clamp(440px, 58vh, 540px); }
  .about-hero-text { max-width: min(460px, 50%); }
  .about-hero-title { font-size: clamp(1.6rem, 3vw, 2.05rem); }
}
@media (max-width: 767px) {
  .about-hero-visual { width: 100%; }
  .about-hero-img { object-position: 60% 92%; }
  .about-hero-overlay {
    width: 100%;
    background:
      linear-gradient(
        180deg,
        rgba(250, 247, 243, 0.96) 0%,
        rgba(250, 247, 243, 0.88) 45%,
        rgba(250, 247, 243, 0.55) 100%
      );
  }
  .about-hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + var(--sp-lg));
    padding-bottom: var(--sp-lg);
    align-items: stretch;
  }
  .about-hero-text { max-width: 100%; }
  .about-hero-sub { font-size: 0.9rem; line-height: 1.85; max-width: 100%; }
  .about-hero-title { font-size: 1.45rem; line-height: 1.6; }
}
@media (max-width: 520px) {
  .about-hero-title { font-size: 1.4rem; line-height: 1.55; }
}

/* =====================
   3. PHILOSOPHY — Mission statement: image + editorial text
   Polaroid figure on the left (mirrors worries-figure recipe),
   philosophy headline + bio on the right.
   ===================== */
.section-about-philosophy {
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}
.about-philosophy-body {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 4.5rem;
  align-items: center;
}

/* ---- Polaroid figure (matches worries-figure recipe) ---- */
.about-philosophy-figure {
  position: relative;
  margin: 0;
  padding: 0.85rem 0.85rem 3.4rem;
  background: #fff;
  border: 1px solid var(--border-warm);
  border-radius: 6px;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.04),
    0 18px 38px rgba(35, 25, 15, 0.16);
  transform: rotate(-1.8deg);
  max-width: 360px;
}
/* Washi-tape decoration */
.about-philosophy-figure::before,
.about-philosophy-figure::after {
  content: '';
  position: absolute;
  width: 110px;
  height: 26px;
  background: linear-gradient(
    180deg,
    rgba(255, 238, 180, 0)    0%,
    rgba(255, 238, 180, 0.5) 14%,
    rgba(253, 230, 160, 0.55) 50%,
    rgba(255, 238, 180, 0.5) 86%,
    rgba(255, 238, 180, 0)  100%
  );
  box-shadow: 0 2px 5px rgba(35, 25, 15, 0.07);
  z-index: 3;
  pointer-events: none;
}
.about-philosophy-figure::before {
  top: -2px;
  left: -42px;
  transform: rotate(-42deg);
}
.about-philosophy-figure::after {
  bottom: -2px;
  right: -42px;
  transform: rotate(-42deg);
}
.about-philosophy-figure-frame {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f3efe9;
}
.about-philosophy-figure-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(0.97);
}
.about-philosophy-figure-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(20, 28, 50, 0.10) 100%);
  pointer-events: none;
}
.about-philosophy-figure-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.55rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.01em;
  transform: rotate(-1deg);
}

/* ---- Editorial text content ---- */
.about-philosophy-content {
  position: relative;
}
.about-philosophy-title {
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 800;
  line-height: 1.65;
  color: var(--text-main);
  margin: 0.85rem 0 1.5rem;
  letter-spacing: 0.005em;
}
.about-philosophy-title-em {
  position: relative;
  display: inline-block;
  font-style: normal;
  color: var(--text-main);
  white-space: nowrap;
}
.about-philosophy-title-em::after {
  content: '';
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: -0.12em;
  height: 0.32em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 18' preserveAspectRatio='none'><path d='M4 12 Q 80 2, 160 8 T 316 6' fill='none' stroke='%23F59E0B' stroke-width='5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

.about-philosophy-bio {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.95;
}
.about-philosophy-bio p { margin: 0; }
.about-philosophy-bio p + p { margin-top: 1rem; }
.about-philosophy-bio em {
  font-style: normal;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  padding: 0 0.1em;
  z-index: 0;
}
.about-philosophy-bio em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.08em;
  height: 0.3em;
  background: rgba(245, 158, 11, 0.22);
  z-index: -1;
}

@media (max-width: 1023px) {
  .about-philosophy-body {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 560px;
    margin: 0 auto;
  }
  .about-philosophy-figure {
    max-width: 320px;
    margin: 0 auto;
  }
}
@media (max-width: 767px) {
  .about-philosophy-figure {
    max-width: 280px;
    padding: 0.7rem 0.7rem 2.8rem;
  }
  .about-philosophy-figure-caption { font-size: 1.3rem; bottom: 0.5rem; }
  .about-philosophy-title { font-size: 1.2rem; line-height: 1.75; }
  .about-philosophy-bio { font-size: 0.9rem; }
}

/* =====================
   4. MESSAGE — Founder portrait + letter
   Mirrors the homepage instructor recipe: polaroid portrait with
   certified stamp + signature caption on the left, a quote-led
   editorial bio on the right with credentials and CTA.
   ===================== */
.section-about-message {
  position: relative;
  overflow: hidden;
}
.section-about-message::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(245, 158, 11, 0.09) 1px, transparent 1.2px);
  background-size: 28px 28px;
  opacity: 0.55;
  pointer-events: none;
}

.about-message-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 4.5rem;
  align-items: start;
}

/* ---- Portrait (polaroid with stamp + signature) ---- */
.about-portrait {
  position: relative;
  margin: 0;
  padding: 0.85rem 0.85rem 3.4rem;
  background: #fff;
  border: 1px solid var(--border-warm);
  border-radius: 6px;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.04),
    0 18px 38px rgba(35, 25, 15, 0.16);
  transform: rotate(1.8deg);
  max-width: 360px;
}
.about-portrait::before,
.about-portrait::after {
  content: '';
  position: absolute;
  width: 110px;
  height: 26px;
  background: linear-gradient(
    180deg,
    rgba(255, 238, 180, 0)    0%,
    rgba(255, 238, 180, 0.5) 14%,
    rgba(253, 230, 160, 0.55) 50%,
    rgba(255, 238, 180, 0.5) 86%,
    rgba(255, 238, 180, 0)  100%
  );
  box-shadow: 0 2px 5px rgba(35, 25, 15, 0.07);
  z-index: 3;
  pointer-events: none;
}
.about-portrait::before {
  top: -2px;
  right: -42px;
  transform: rotate(42deg);
}
.about-portrait::after {
  bottom: -2px;
  left: -42px;
  transform: rotate(42deg);
}

.about-portrait-stamp {
  position: absolute;
  top: -1.35rem;
  left: -1.35rem;
  z-index: 4;
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  transform: rotate(-12deg);
  border: 3px solid #fff;
  padding: 0.35rem;
}
.about-portrait-stamp-tag {
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  opacity: 0.95;
  margin-bottom: 0.18rem;
  text-transform: uppercase;
}
.about-portrait-stamp-level {
  font-family: var(--font-ja);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.05;
}
.about-portrait-stamp-level sup {
  font-size: 0.55em;
  vertical-align: super;
}

.about-portrait-frame {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f3efe9;
}
.about-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(0.97);
}
.about-portrait-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(20, 28, 50, 0.10) 100%);
  pointer-events: none;
}

.about-portrait-caption {
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.85rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.about-portrait-sig {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  transform: rotate(-2deg);
}
.about-portrait-meta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-align: right;
}

/* ---- Letter content (name + quote + bio + cta) ---- */
.about-message-profile {
  position: relative;
}

.about-message-name {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px dashed var(--border-warm);
}
.about-message-name-ja {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  line-height: 1.3;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.about-message-name-en {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.about-message-role {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0.4rem 0 0.85rem;
  letter-spacing: 0.02em;
}
.about-message-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.about-message-credentials li {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  background: var(--bg-warm);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}
.about-message-credentials li sup {
  font-size: 0.7em;
  vertical-align: super;
}

/* Pull-quote with gold accent rail */
.about-message-quote {
  position: relative;
  margin: 0 0 1.65rem 0.25rem;
  padding: 0.4rem 0 0.4rem 1.5rem;
  border-left: 3px solid var(--accent);
}
.about-message-quote-mark {
  position: absolute;
  /* top/left are offset by the padding below so the glyph stays put while the
     box gains headroom — without it mobile WebKit clips the transformed glyph
     (line-height:1 hugs the box, which becomes the layer's clip on iOS, and
     Caveat's tall ascenders overflow it). The generous padding-top keeps the
     whole glyph inside the layer; top compensates so it stays put. */
  top: -2.5rem;
  left: 0.45rem;
  padding: 1.4rem 0.4rem 0.4rem;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.55;
  pointer-events: none;
  transform: rotate(-4deg);
}
.about-message-quote p {
  position: relative;
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text-main);
  font-weight: 700;
  margin: 0;
}
.about-message-quote em {
  font-style: normal;
  color: var(--primary);
}

.about-message-bio {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.95;
  margin-bottom: 1.5rem;
}
.about-message-bio p { margin: 0; }
.about-message-bio p + p { margin-top: 0.95rem; }
.about-message-bio em {
  font-style: normal;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  padding: 0 0.1em;
  z-index: 0;
}
.about-message-bio em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.08em;
  height: 0.3em;
  background: rgba(245, 158, 11, 0.22);
  z-index: -1;
}


@media (max-width: 1023px) {
  .about-message-body {
    grid-template-columns: 1fr;
    gap: 2.75rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .about-portrait {
    max-width: 320px;
    margin: 0 auto;
  }
}
@media (max-width: 767px) {
  .about-portrait {
    max-width: 280px;
    padding: 0.7rem 0.7rem 2.8rem;
  }
  .about-portrait-stamp {
    width: 4.5rem;
    height: 4.5rem;
    top: -1rem;
    left: -1rem;
  }
  .about-portrait-stamp-tag { font-size: 0.42rem; }
  .about-portrait-stamp-level { font-size: 0.78rem; }
  .about-portrait-caption {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.7rem;
  }
  .about-portrait-sig { font-size: 1.45rem; }
  .about-portrait-meta { font-size: 0.68rem; }

  .about-message-name-ja { font-size: 1.25rem; gap: 0.5rem; }
  .about-message-name-en { font-size: 0.78rem; }
  .about-message-quote p { font-size: 1rem; }
  .about-message-quote-mark { font-size: 3.6rem; left: 0.2rem; top: -2.25rem; }
  .about-message-quote { padding-left: 1.15rem; }
  .about-message-bio { font-size: 0.88rem; }
}

/* =====================
   5. BOTTOM CTA — Mirrored from home.css so partials/cta.php renders
      correctly without needing home.css loaded on this page.
   ===================== */
.section-cta {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-cream);
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(420px, 56vh, 560px);
  padding: clamp(var(--sp-xl), 8vw, var(--sp-2xl)) 0;
}
.cta-visual { position: absolute; inset: 0; z-index: 0; }
.cta-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 50%;
  display: block;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(250, 247, 243, 0.96) 0%,
      rgba(250, 247, 243, 0.92) 30%,
      rgba(250, 247, 243, 0.78) 46%,
      rgba(250, 247, 243, 0.35) 62%,
      rgba(250, 247, 243, 0)    80%
    );
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; width: 100%; }
.cta-content { max-width: min(540px, 50%); }
.cta-header { position: relative; z-index: 1; margin: 0 0 1.75rem; }
.cta-title {
  font-size: clamp(1.55rem, 1.55vw + 1.1rem, 2.25rem);
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 0.5rem;
}
.cta-title-em {
  position: relative;
  display: inline-block;
  font-style: normal;
  color: var(--text-main);
  white-space: nowrap;
}
.cta-title-em::after {
  content: '';
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: -0.12em;
  height: 0.32em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 18' preserveAspectRatio='none'><path d='M4 12 Q 80 2, 160 8 T 316 6' fill='none' stroke='%23F59E0B' stroke-width='5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
.cta-title-break { display: inline; }
.cta-header-desc {
  font-size: clamp(0.86rem, 0.35vw + 0.78rem, 1rem);
  color: var(--text-light);
  line-height: 1.95;
  margin-top: 1.1rem;
}
.cta-header-desc em {
  font-style: normal;
  font-weight: 700;
  color: var(--text-main);
}
.cta-header-desc sup { font-size: 0.6em; vertical-align: super; }
.cta-header-break { display: inline; }
.cta-body { position: relative; z-index: 1; }
.cta-action { margin: 0 0 1.25rem; }
.cta-btn:hover { transform: none; }
.cta-btn-arrow {
  display: inline-block;
  margin-left: 0.35em;
  transition: transform var(--transition);
}
.cta-btn:hover .cta-btn-arrow { transform: translateX(4px); }
.cta-btn-note {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
}
.cta-checks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.4rem 1.25rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.cta-checks li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
}
.cta-check-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 174, 239, 0.12);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}
.cta-alt {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 1.85rem 0 0;
}
.cta-alt-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-ja);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  padding-bottom: 2px;
}
.cta-alt-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.cta-alt-link:hover { opacity: 1; }
.cta-alt-link:hover::after { transform: scaleX(1); }
.cta-alt-arrow {
  display: inline-block;
  margin-left: 0.35em;
  transition: transform var(--transition);
}
.cta-alt-link:hover .cta-alt-arrow { transform: translateX(4px); }

@media (max-width: 1023px) {
  .cta-img { object-position: 86% 50%; }
  .cta-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(250, 247, 243, 0.97) 0%,
        rgba(250, 247, 243, 0.93) 38%,
        rgba(250, 247, 243, 0.70) 58%,
        rgba(250, 247, 243, 0.25) 82%,
        rgba(250, 247, 243, 0)    100%
      );
  }
  .section-cta { min-height: clamp(400px, 50vh, 520px); }
  .cta-content { max-width: min(460px, 60%); }
}
@media (max-width: 767px) {
  .cta-img { object-position: 70% 92%; }
  .cta-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(250, 247, 243, 0.96) 0%,
        rgba(250, 247, 243, 0.90) 50%,
        rgba(250, 247, 243, 0.55) 100%
      );
  }
  .section-cta {
    min-height: auto;
    padding: var(--sp-xl) 0;
    align-items: stretch;
  }
  .cta-content { max-width: 100%; }
  .cta-header { margin-bottom: 1.5rem; }
}
@media (max-width: 520px) {
  .cta-header-break { display: none; }
  .cta-btn { width: 100%; }
  .cta-btn-note { font-size: 0.74rem; }
  .cta-checks { gap: 0.4rem 0.95rem; margin-top: 1rem; }
  .cta-checks li { font-size: 0.75rem; }
  .cta-alt { margin-top: 1.5rem; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .cta-btn-arrow,
  .cta-alt-arrow { transition: none; }
}
/* Compliance substantiation footnote (打消し表示) for the 84/98 pass-rate stats */
.stat-note {
  max-width: 760px;
  margin: 1rem 0 0;
  font-size: 0.68rem;
  line-height: 1.6;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.stat-note.text-center { margin-left: auto; margin-right: auto; }

/* =====================================================================
   Support grid (6 features) — restored on the about page.
   Mirrors the home implementation; tokens live in base.css.
   ===================================================================== */
.about-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.about-support-card {
  position: relative;
  padding: 1.85rem 1.5rem 1.65rem;
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-md);
  overflow: hidden;
}
.about-support-card-num {
  position: absolute;
  top: 0.65rem;
  right: 1rem;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.18;
  line-height: 1;
  letter-spacing: -0.02em;
  pointer-events: none;
  transform: rotate(-4deg);
}
.about-support-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 174, 239, 0.10);
  color: var(--primary);
  margin-bottom: 1rem;
}
.about-support-card-icon svg { width: 24px; height: 24px; }
.about-support-card-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.55;
  color: var(--text-main);
  margin: 0 0 0.65rem;
  letter-spacing: 0.005em;
}
.about-support-card-title span { display: inline-block; }
.about-support-card-body {
  font-size: 0.86rem;
  color: var(--text-light);
  line-height: 1.85;
  margin: 0;
}
@media (max-width: 900px) {
  .about-support-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .about-support-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .about-support-card { padding: 1.5rem 1.35rem 1.35rem; }
  .about-support-card-num { font-size: 2.2rem; }
}

/* ===== Hero proof stat band ===== */
.about-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 460px;
  margin: 1.75rem 0 0;
}
.about-hero-stat {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 1rem;
  padding: 1rem 0.75rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}
.about-hero-stat-num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(1.6rem, 5vw, 2.3rem);
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.about-hero-stat-pct { font-size: 0.5em; margin-left: 0.06em; }
.about-hero-stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.35;
}
@media (max-width: 520px) {
  .about-hero-stats { max-width: 100%; gap: 0.5rem; }
  .about-hero-stat { padding: 0.75rem 0.4rem; }
  .about-hero-stat-label { font-size: 0.62rem; }
}
