/* Mobile-first scan layout for /b2c/. Copy stays in the HTML; this only changes presentation. */
.b2c-page {
  --b2c-ink:#f5f0e3;
  --b2c-muted:#c5d4de;
  --b2c-line:#2a4a5c;
  --b2c-space: 48px;
  overflow-x: clip;
}
.b2c-page :is(p, li, h1, h2, h3, summary, strong, .b2c-hook, .b2c-old-lead, .b2c-reassure) {
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: normal;
  text-wrap: pretty;
}
.b2c-hook {
  margin: 0 0 14px;
  color: var(--b2c-ink);
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
.b2c-reassure { margin: 16px 0 0; color: var(--b2c-muted); font-size: clamp(.95rem, 1.2vw, 1.05rem); line-height: 1.7; }
.b2c-old-lead { margin: 0 0 20px; color: var(--b2c-muted); font-size: 1.05rem; line-height: 1.8; }
.b2c-nowrap { white-space: nowrap; }
.b2c-page .button.button-primary {
  width: auto;
  max-width: min(100%, 26rem);
  min-height: 56px;
  padding: 14px 22px;
  overflow: visible;
  font-size: 1.02rem;
  line-height: 1.45;
  text-align: center;
  white-space: normal;
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: normal;
  justify-content: center;
}
.b2c-page .button.button-primary:before,
.career-change .button.button-primary:before { content: none; display: none; }
.b2c-steps { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 8px 0 0; }
.b2c-page .b2c-steps article {
  margin: 0;
  padding: 20px 18px 18px;
  border: 1px solid var(--b2c-line);
  border-radius: 16px;
  background: #071824;
}
.b2c-page .b2c-steps article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 0 14px;
  padding: 0;
  border-radius: 999px;
  background: #d8c993;
  color: #061522;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}
.b2c-steps p { margin: 0; line-height: 1.7; }
.b2c-fold { margin: 8px 0 0; border-top: 1px solid var(--b2c-line); }
.b2c-page .b2c-fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 18px 2px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  list-style: none;
}
.b2c-fold summary::-webkit-details-marker { display: none; }
.b2c-fold summary::after { content: "+"; flex: none; width: 1.5rem; text-align: center; font-size: 1.4rem; line-height: 1; }
.b2c-fold[open] summary::after { content: "–"; }
.b2c-fold summary:focus-visible { outline: 2px solid #d8c993; outline-offset: 3px; }
.b2c-page .b2c-fold > :is(h3, p, ul) { margin-top: 0; }
.b2c-page .b2c-fold > p,
.b2c-page .b2c-fold > ul { margin-bottom: 16px; line-height: 1.8; }
.b2c-core > .b2c-fold,
.b2c-notes > .b2c-fold,
.b2c-paid > .b2c-fold { margin-top: 28px; }
.b2c-page .quest-map { display: block; overflow: visible; }
.b2c-tiles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; width: 100%; min-width: 0; }
.b2c-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  max-width: 100%;
  min-height: 148px;
  padding: 20px 18px;
  border: 1px solid #f0d88e57;
  border-radius: 16px;
  background: #071824;
  color: inherit;
  text-decoration: none;
}
.b2c-tile :is(h3, p, span) { min-width: 0; max-width: 100%; }
.b2c-tile h3 { margin: 0 0 10px; font-size: 1.05rem; line-height: 1.45; }
.b2c-tile p { margin: 0; color: var(--b2c-muted); font-size: .95rem; line-height: 1.65; }
.b2c-tile:focus-visible { outline: 2px solid #d8c993; outline-offset: 3px; }
.b2c-bubbles { display: grid; gap: 12px; margin: 20px 0; }
.b2c-bubbles p { margin: 0; max-width: 24rem; padding: 14px 18px; border-radius: 16px 16px 16px 4px; background: #123044; line-height: 1.6; }
.b2c-keys { margin: 8px 0 20px; padding-left: 1.3rem; }
.b2c-keys li { margin: 0 0 10px; line-height: 1.7; }
.b2c-card-row { display: flex; gap: 16px; margin: 20px 0 0; padding: 0 0 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
.b2c-card {
  display: flex;
  flex: 0 0 280px;
  flex-direction: column;
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid var(--b2c-line);
  border-radius: 16px;
  background: #071824;
  color: inherit;
  text-decoration: none;
}
.b2c-card img { display: block; width: 100%; height: auto; background: #061522; }
.b2c-paid-grid .b2c-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; background: #061522; }
.b2c-card strong { display: block; }
.b2c-card-body > span:not(.b2c-badge) { display: block; margin-top: 10px; line-height: 1.7; }
.b2c-card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 16px 16px 18px; }
.b2c-card strong { font-size: 1rem; line-height: 1.5; }
.b2c-page .b2c-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #123044;
  color: #d8c993;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.4;
}
.b2c-paid-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.b2c-paid-grid .b2c-card { flex: none; width: auto; min-width: 0; }
.b2c-actions { display: grid; gap: 12px; margin-top: 28px; justify-items: start; }
.b2c-reading .b2c-actions { margin-top: 32px; }
.b2c-sns-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.b2c-sns-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 16px 12px;
  border: 1px solid #f0d88e57;
  border-radius: 16px;
  background: #071824;
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}
.b2c-sticky {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(360px, calc(100% - 32px));
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  background: #44bfdc;
  color: #061722;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 24px #0008;
  opacity: 1;
}
.b2c-sticky[hidden] { display: none; }
.b2c-page main { padding-bottom: 28px; }
.b2c-page { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
.b2c-page .b2c-first { min-height: 100dvh; box-sizing: border-box; }
.b2c-page .b2c-stage,
.b2c-page .b2c-follow,
.b2c-page .quest-map,
.b2c-page .b2c-core,
.b2c-page .b2c-reading,
.b2c-page .b2c-notes,
.b2c-page .b2c-paid,
.b2c-page .b2c-final,
.b2c-page .b2c-sns {
  box-sizing: border-box;
  width: min(100% - 32px, 1040px);
  max-width: 100%;
  margin-inline: auto;
  margin-top: var(--b2c-space);
  min-width: 0;
}
.b2c-page .b2c-stage { margin-top: 0; width: min(100% - 32px, 920px); }
.b2c-page h2 {
  margin: 0 0 18px;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.35;
}
.b2c-page #faq-prep { margin: 0 0 8px; }
.b2c-page .b2c-hero-heading-lead,
.b2c-page .b2c-hero-heading-rest { display: block; }
.b2c-page .b2c-hero-heading {
  margin: 0;
  max-width: 100%;
  color: #f5f0e3;
  font-size: min(2rem, calc((100cqi - 8px) / 15));
  font-weight: 800;
  line-height: 1.35;
  text-wrap: wrap;
}
.b2c-page .b2c-sns > p { margin: 0 0 24px; line-height: 1.7; }
.b2c-page .b2c-sns-row .b2c-deco {
  display: block;
  min-width: 0;
  max-width: 100%;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.55;
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.b2c-page :is(h2, h3, details, .b2c-card) { scroll-margin-top: 80px; }
.b2c-page .b2c-sns-row a { flex-direction: column; gap: 6px; text-align: center; }
.b2c-page .b2c-sns-row svg { width: 22px; height: 22px; }
.b2c-page .b2c-first-copy { position: relative; z-index: 1; container-type: inline-size; padding: 8px 0 4px; }
@media (max-width: 720px) {
  .b2c-page { --b2c-space: 48px; }
  .b2c-page .world-motion-video,
  .b2c-page .scene-stars,
  .b2c-page .scene-status,
  .b2c-page .quest-map-head .b2c-deco,
  .b2c-page .quest-legend,
  .b2c-page .b2c-sns-row .b2c-deco { display: none !important; }
  .b2c-page .b2c-first {
    min-height: 0;
    padding: 48px 0;
  }
  .b2c-page #individual,
  .b2c-page #individual .b2c-stage { padding-top: 0; }
  .b2c-page .b2c-hook {
    margin-bottom: 12px;
    font-size: clamp(0.9375rem, 4vw, 1rem);
  }
  .b2c-page .b2c-hero-heading {
    font-size: clamp(1.75rem, 8vw, 1.875rem);
    line-height: 1.35;
  }
  .b2c-page .b2c-hero-heading-lead {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .b2c-page .b2c-first-copy > h1 + p { margin-top: 22px; }
  .b2c-page .b2c-reassure { margin-top: 13px; }
  .b2c-page .b2c-first .button.button-primary,
  .b2c-page .b2c-actions .button.button-primary { width: 100%; }
}
@media (min-width: 721px) {
  .b2c-page { --b2c-space: 72px; }
  .b2c-page .b2c-hero-heading-lead { white-space: nowrap; }
  .b2c-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .b2c-paid-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .b2c-page .b2c-steps article { padding: 24px 22px 22px; }
  .b2c-card-body { padding: 18px 18px 20px; }
}
@media (min-width: 1024px) {
  .b2c-page { --b2c-space: 88px; }
  .b2c-page { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .b2c-page .b2c-first-copy {
    max-width: min(52rem, 100%);
    padding: 28px 36px 26px;
    background: linear-gradient(90deg, #061522f2 0%, #061522e0 72%, #061522c4 100%);
    border-radius: 18px;
  }
  .b2c-page .b2c-hero-heading {
    font-size: min(3.5rem, calc((100cqi - 8px) / 15));
    line-height: 1.28;
  }
  .b2c-page .button.button-primary {
    width: auto;
    max-width: none;
    white-space: nowrap;
    min-height: 60px;
    padding: 16px 36px;
    font-size: 1.08rem;
  }
  .b2c-page .b2c-card-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    overflow: visible;
    scroll-snap-type: none;
  }
  .b2c-page .b2c-card-row .b2c-card { flex: none; width: auto; }
  .b2c-tile { padding: 24px 22px; }
  .b2c-card-body { padding: 20px 22px 22px; }
}
@media (min-width: 1280px) {
  .b2c-page .b2c-first-copy { max-width: min(54rem, 100%); }
}
